[xiph-cvs] cvs commit: vorbis acinclude.m4
Jeff Squyres
jsquyres at xiph.org
Tue Feb 27 18:31:01 PST 2001
jsquyres 01/02/27 18:31:01
Modified: . acinclude.m4
Log:
Make AM_PATH_OGG a bit smarter -- have it check the $prefix for the ogg
libraries as well. This means that the user doesn't have to specify
--with-ogg-prefix (good for us lazy folks!) if they've already specified
a --prefix where the ogg libraries live.
Revision Changes Path
1.3 +4 -0 vorbis/acinclude.m4
Index: acinclude.m4
===================================================================
RCS file: /usr/local/cvsroot/vorbis/acinclude.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- acinclude.m4 2000/11/06 00:06:45 1.2
+++ acinclude.m4 2001/02/28 02:31:01 1.3
@@ -20,6 +20,10 @@
ogg_args="$ogg_args --prefix=$ogg_prefix"
OGG_CFLAGS="-I$ogg_prefix/include"
OGG_LIBS="-L$ogg_prefix/lib"
+ elif test "$prefix" != ""; then
+ ogg_args="$ogg_args --prefix=$prefix"
+ OGG_CFLAGS="-I$prefix/include"
+ OGG_LIBS="-L$prefix/lib"
fi
OGG_LIBS="$OGG_LIBS -logg"
--- >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