From d0615e9641047afab2706be1ce7537e35c3c6242 Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 13 Feb 2005 03:01:09 +0000 Subject: - 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 --- autogen.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'autogen.sh') 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 -- cgit v1.2.3