chiark / gitweb /
unit: properly update references to units which are merged
[elogind.git] / autogen.sh
index 4c834b6..3b9dd1f 100755 (executable)
@@ -48,10 +48,6 @@ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
     echo "Activated pre-commit hook."
 fi
 
-if type -p colorgcc > /dev/null ; then
-   export CC=colorgcc
-fi
-
 libdir() {
     echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
 }
@@ -72,11 +68,12 @@ else
 
     if [ "x$1" != "xac" ]; then
         CFLAGS="$CFLAGS -g -O0" ./configure \
+          --with-rootprefix= \
           --sysconfdir=/etc \
           --localstatedir=/var \
+          --libdir=$(libdir /usr/lib) \
+          --with-rootlibdir=$(libdir /lib) \
           --libexecdir=/usr/lib \
-          --libdir=$(libdir /usr/local/lib) \
-          --with-rootprefix= \
           "$@"
         make clean
     fi