Build with autogen same as rpm.spec.
authorjbj <devnull@localhost>
Thu, 1 Jun 2000 15:40:30 +0000 (15:40 +0000)
committerjbj <devnull@localhost>
Thu, 1 Jun 2000 15:40:30 +0000 (15:40 +0000)
CVS patchset: 3793
CVS date: 2000/06/01 15:40:30

autogen.sh

index d998e60..7c7e79b 100755 (executable)
@@ -29,7 +29,14 @@ if [ "$1" = "--noconfigure" ]; then
 fi
 
 if [ X"$@" = X  -a "X`uname -s`" = "XLinux" ]; then
-    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var "$@"
+    if [ -d /usr/share/man ]; then
+       mandir=/usr/share/man
+       infodir=/usr/share/info
+    else
+       mandir=/usr/man
+       infodir=/usr/info
+    fi
+    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} "$@"
 else
     ./configure "$@"
 fi