From: Mike Hommey <mh@glandium.org>
Date: Wed, 24 Feb 2010 16:16:50 +0100
Subject: Simplify how js/src/configure is called from main configure

https://bugzilla.mozilla.org/show_bug.cgi?id=548273
---
 configure.in |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index 9361511..6efb76f 100644
--- a/configure.in
+++ b/configure.in
@@ -8569,9 +8569,7 @@ if test -z "$MOZ_NATIVE_NSPR"; then
     ac_configure_args="$ac_configure_args --with-nspr-libs='$NSPR_LIBS'"
 fi
 ac_configure_args="$ac_configure_args --with-dist-dir=../../dist"
-ac_configure_args="$ac_configure_args --includedir=$dist/include"
-ac_configure_args="$ac_configure_args --bindir=$dist/bin"
-ac_configure_args="$ac_configure_args --libdir=$dist/lib"
+ac_configure_args="$ac_configure_args --prefix=$dist"
 ac_configure_args="$ac_configure_args --with-sync-build-files=$_topsrcdir"
 if test "$MOZ_MEMORY"; then
    ac_configure_args="$ac_configure_args --enable-jemalloc"  
