Brian Jackson <[EMAIL PROTECTED]> wrote: 
>Sure you can.
>
>econf --with-pgsql-includes=/usr/include --with-modules="gmysql ldap"
>$myconf
>

No i can't! :)

--with-modules="gmysql ldap"

The value for with-modules depends on the IUSE flags:

src_compile() {
        local myconf=""
        local modules=""

        use static && myconf="$myconf --enable-static-binaries"
        use mysql && modules="gmysql $modules"
        use postgres && modules="gpgsql $modules"
        use ldap && modules="$modules ldap"

        use postgres && myconf="$myconf --with-pgsql-includes=/usr/include"

        myconf="$myconf --with-modules=\"$modules\""
 
         # this does not work
        #econf $myconf
         # this works
        econf "--with-pgsql-includes=/usr/include --with-modules=\"gmysql
ldap\""
        emake || die "emake failed"
}

Cu
--
written with FeLaMiMail
nice to know:
http://marc.theaimsgroup.com/?l=php-dev&m=99802412523010&w=2



--
[EMAIL PROTECTED] mailing list

Reply via email to