[xiph-cvs] cvs commit: ao ao.m4

Stan Seibert volsung at xiph.org
Mon Aug 20 14:11:39 PDT 2001



volsung     01/08/20 14:11:39

  Modified:    .        ao.m4
  Log:
  Fix to ao.m4 macro so that it tests the prefixes correctly now.

Revision  Changes    Path
1.7       +2 -2      ao/ao.m4

Index: ao.m4
===================================================================
RCS file: /usr/local/cvsroot/ao/ao.m4,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ao.m4	2001/03/26 22:33:44	1.6
+++ ao.m4	2001/08/20 21:11:38	1.7
@@ -13,11 +13,11 @@
 AC_ARG_WITH(ao-prefix,[  --with-ao-prefix=PFX   Prefix where libao is installed (optional)], ao_prefix="$withval", ao_prefix="")
 AC_ARG_ENABLE(aotest, [  --disable-aotest       Do not try to compile and run a test ao program],, enable_aotest=yes)
 
-  if test "x$ao_prefix" != "xNONE" ; then
+  if test "x$ao_prefix" != "x"; then
     ao_args="$ao_args --prefix=$ao_prefix"
     AO_CFLAGS="-I$ao_prefix/include"
     AO_LIBS="-L$ao_prefix/lib"
-  elif test "$prefix" != ""; then
+  elif test "x$prefix" != "xNONE"; then
     ao_args="$ao_args --prefix=$prefix"
     AO_CFLAGS="-I$prefix/include"
     AO_LIBS="-L$prefix/lib"

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