diff options
author | jbj <devnull@localhost> | 2005-02-13 03:01:09 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2005-02-13 03:01:09 +0000 |
commit | d0615e9641047afab2706be1ce7537e35c3c6242 (patch) | |
tree | 5e2b81d0ec04ec15dbcb60c5f779e74883e898c2 /autogen.sh | |
parent | 66a6ab533f9f0a293a049dd7f154cedfc614a331 (diff) | |
download | librpm-tizen-d0615e9641047afab2706be1ce7537e35c3c6242.tar.gz librpm-tizen-d0615e9641047afab2706be1ce7537e35c3c6242.tar.bz2 librpm-tizen-d0615e9641047afab2706be1ce7537e35c3c6242.zip |
- macosx: change to --prefix=/usr rather than /opt/local.
- use waitpid rather than SIGCHLD reaper.
- rip out DB_PRIVATE revert if not NPTL, it's not the right thing to do.
CVS patchset: 7761
CVS date: 2005/02/13 03:01:09
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index 518c9f6d3..4a44ea961 100755 --- a/autogen.sh +++ b/autogen.sh @@ -30,8 +30,9 @@ esac [ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" && exit 1 [ "`automake --version | head -1 | sed -e 's/1\.4[a-z]/1.4/'`" != "$AMV" ] && echo "$USAGE" # && exit 1 +myopts= if [ X"$@" = X -a "X`uname -s`" = "XDarwin" -a -d /opt/local ]; then - export myprefix=/opt/local + export myopts="--prefix=/usr --disable-nls" export CPPFLAGS="-I${myprefix}/include" fi @@ -80,5 +81,5 @@ if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then fi ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} ${enable_posixmutexes} "$@" else - ./configure --prefix=${myprefix} "$@" + ./configure ${myopts} "$@" fi |