chiark / gitweb /
udev: fix rules sort order
[elogind.git] / autogen.sh
index 7a09c44dbc4d2502869881cac3c676849e181e6f..fba3dc08b84666f04d916b5d3464db50ff086bfb 100755 (executable)
@@ -21,6 +21,7 @@ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
     echo "Activated pre-commit hook."
 fi
 
+gtkdocize
 intltoolize --force --automake
 autoreconf --force --install --symlink
 
@@ -29,12 +30,18 @@ libdir() {
 }
 
 args="\
---with-rootprefix= \
 --sysconfdir=/etc \
 --localstatedir=/var \
 --libdir=$(libdir /usr/lib) \
+--libexecdir=/usr/lib \
+--enable-gtk-doc"
+
+if [ ! -L /bin ]; then
+args="$args \
+--with-rootprefix= \
 --with-rootlibdir=$(libdir /lib) \
---libexecdir=/usr/lib"
+"
+fi
 
 if [ "x$1" != "xc" ]; then
     echo