]>
Commit | Line | Data |
---|---|---|
ecd40ee4 LDM |
1 | #!/bin/sh -e |
2 | ||
3 | autoreconf --install --symlink | |
4 | ||
1dcac911 | 5 | MYCFLAGS="-g" |
ecd40ee4 LDM |
6 | |
7 | libdir() { | |
8 | echo $(cd $1/$(gcc -print-multi-os-directory); pwd) | |
9 | } | |
10 | ||
11 | args="--prefix=/usr \ | |
12 | --sysconfdir=/etc \ | |
13 | --libdir=$(libdir /usr/lib)" | |
14 | ||
c931d00b | 15 | if [ -z "$NOCONFIGURE" ]; then |
a66a0c37 | 16 | exec ./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" "$@" |
c931d00b | 17 | fi |