[xiph-cvs] cvs commit: vorbis-tools configure.in

Michael Smith msmith at xiph.org
Fri Jul 5 22:11:22 PDT 2002



msmith      02/07/05 22:11:22

  Modified:    .        configure.in
  Log:
  Fix for #155 - configure not accepting --mandir correctly.

Revision  Changes    Path
1.42      +7 -3      vorbis-tools/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/configure.in,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- configure.in	2002/07/02 16:45:14	1.41
+++ configure.in	2002/07/06 05:11:21	1.42
@@ -134,10 +134,14 @@
 dnl Work around FHS stupidity
 dnl --------------------------------------------------
 
-if test "$prefix" = "/usr"; then
-    MANDIR='$(datadir)/man'
+if test -z "$mandir"; then
+    if test "$prefix" = "/usr"; then
+        MANDIR='$(datadir)/man'
+    else
+        MANDIR='$(prefix)/man'
+    fi
 else
-    MANDIR='$(prefix)/man'
+    MANDIR=$mandir
 fi
 AC_SUBST(MANDIR)
 

<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