platform.in (%configure): Do not run libtoolize

With libtool >=1.9b, the libtool script will complain if it was built
from mismatched ltmain.sh and libtool m4 macro versions.

To avoid libtool version mismatch disaster, %configure itself
no longer calls libtoolize.  Note that autoreconf, unlike %configure,
runs libtoolize in proper order.
This commit is contained in:
Дмитрий Левин 2009-04-23 22:15:41 +00:00
parent 0b94ae2a35
commit c5b740c8d8
2 changed files with 0 additions and 4 deletions

View File

@ -190,9 +190,6 @@ BuildRoot.
÷ÓÐÏÍÏÇÁÔÅÌØÎÙÅ ÍÁËÒÏÓÙ %configure.
%__libtoolize:
ĐŐÔŘ Ë ÓËŇÉĐÔŐ libtoolize;
%_configure_script:
ÐÕÔØ Ë ÓËÒÉÐÔÕ configure;

View File

@ -46,7 +46,6 @@
%{?_disable_static:export lt_cv_prog_cc_static_works=no ;} \
%{?_enable_static:export lt_cv_prog_cc_static_works=yes ;} \
export lt_cv_deplibs_check_method=pass_all ; \
%{?__libtoolize:[ -f configure.ac -o -f configure.in ] && %{__libtoolize} --copy --force ;} \
%{_configure_script} %{?_configure_target:%{_configure_target}} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\