Enable sudo for i686-apple-darwin9 binaries

This commit is contained in:
Christophe Grenier 2009-12-11 08:56:51 +01:00
parent afb7622b84
commit c0100379de

View file

@ -5,7 +5,8 @@
VER_E2FSPROGS= VER_E2FSPROGS=
VER_PROGSREISERFS=0.3.1-rc8 VER_PROGSREISERFS=0.3.1-rc8
VER_NTFSPROGS=2.0.0 VER_NTFSPROGS=2.0.0
VER_LIBEWF=20080501 #VER_LIBEWF=20080501
VER_LIBEWF=20090510
crosscompile_target= crosscompile_target=
prefix=/usr/ prefix=/usr/
if [ "$CC" = "gcc295" ]; if [ "$CC" = "gcc295" ];
@ -19,7 +20,7 @@ else
compiledir=$1 compiledir=$1
if [ "$1" != "$CC" ]; if [ "$1" != "$CC" ];
then then
VER_E2FSPROGS=1.41.4 VER_E2FSPROGS=1.41.8
crosscompile_target=$1 crosscompile_target=$1
TESTDISKCC=$crosscompile_target-gcc TESTDISKCC=$crosscompile_target-gcc
fi fi
@ -217,6 +218,9 @@ then
# but users may be unable to navigate... # but users may be unable to navigate...
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --enable-sudo --with-sudo-bin=/usr/bin/sudo $confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --enable-sudo --with-sudo-bin=/usr/bin/sudo
;; ;;
i686-apple-darwin9)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --enable-sudo --with-sudo-bin=/usr/bin/sudo
;;
i586-pc-msdosdjgpp) i586-pc-msdosdjgpp)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --without-iconv $confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --without-iconv
;; ;;