Comment 160 for bug 233901

Revision history for this message
In , Jehan-procaccia (jehan-procaccia) wrote :

no,
in fact I use rpmbuild , which read a firefox.spec and automatically untar, patch, compile, and create an rpm package.
the build section in the firefox.spec file contains:
%build

export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | %{__sed} s/-O2/-Os/`
MAKE="gmake %{?_smp_mflags}" make -f client.mk build

Indeed I don't see any autoconf nor ./configure in here !
I'am lost in all those pre-conf files -> client.mak , client.mk, configure.in, configure etc ...
running autoconf manually generate an error, but maybe running it in the flow of the rpm .spec file will allow it to run ?
what do you recommend ?, remember, I just want to enabled ldap autoconfig calls for firefox .

[root@b008-02 mozilla]# pwd
/usr/src/redhat/BUILD/mozilla
[root@b008-02 mozilla]# autoconf
build/autoconf/altoptions.m4:156: error: m4_defn: undefined macro: _m4_divert_diversion
build/autoconf/altoptions.m4:153: MOZ_READ_MOZCONFIG is expanded from...
build/autoconf/altoptions.m4:156: the top level
autom4te: /usr/bin/m4 failed with exit status: 1