diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2010-04-29 17:15:10 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2010-04-29 17:15:10 -0400 |
commit | c3f602cd3cfcff610deb8f0e788151408d2f037d (patch) | |
tree | 613b861704cf2e91a0677e6e688515a4831d3a22 | |
parent | 3d60f0e09c2c0f292d4316595dab9f0c4aeb5831 (diff) | |
download | pam_rps-c3f602cd3cfcff610deb8f0e788151408d2f037d.tar.gz pam_rps-c3f602cd3cfcff610deb8f0e788151408d2f037d.tar.xz pam_rps-c3f602cd3cfcff610deb8f0e788151408d2f037d.zip |
- need this for the 'archive' target
-rwxr-xr-x | autogen | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#!/bin/sh +if test -x /lib64 ; then + libdir=/lib64 +else + libdir=/lib +fi +if test `id -un` = "nalin" ; then + CFLAGS=`rpm --eval '%{optflags} -Wall -Wextra -Wno-unused' 2> /dev/null` + if test -n "$CFLAGS" ; then + export CFLAGS + fi + echo "Going to configure with $flags!" + mandir=${TMPDIR:-/var/tmp}/autogen-man-tmp +else + flags= + mandir=/usr/share/man +fi +set -x -e +rm -fr autom4te.cache +autoreconf -i -f +./configure --libdir=$libdir --sysconfdir=/etc --mandir=$mandir $flags "$@" --enable-maintainer-mode |