summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: f7ea2cf32a162a7ed3ee0781ae212620e575ea71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

export CPPFLAGS
export CFLAGS
export LDFLAGS

autoreconf -i

case "$1" in
  "--noconfigure")
    exit 0;
    ;;
  "--rpmconfigure")
    shift
    eval "`rpm --eval %configure`" "$@"
    ;;
  *)
    ./configure "$@"
    ;;
esac