]> git.pld-linux.org Git - packages/rpm.git/commitdiff
define %%configure2_50 to easer integration of autoconf 2.50
authorArtur Frysiak <artur@frysiak.net>
Tue, 22 May 2001 14:41:24 +0000 (14:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.52

rpm.macros

index 5eb3cafb37999a38756ad12a0c47e9976c9d7970..f4ca3849dd70e7157c77d6c78244ba010ce8ce7e 100644 (file)
        --infodir=%{_infodir} \
 }
 
+#----------------------------------------------------------------
+%configure2_50 { \
+ if [ -n "$LINGUAS" ]; then unset LINGUAS; fi; \
+ ./configure \
+       LDFLAGS="${LDFLAGS:-%rpmldflags}" \
+       CFLAGS="${CFLAGS:-%rpmcflags}" \
+       CXXFLAGS="${CXXFLAGS:-%rpmcflags}" \
+       FFLAGS="${FFLAGS:-%rpmcflags}" \
+       --build=%{_target_platform} \
+       --prefix=%{_prefix} \
+       --exec-prefix=%{_exec_prefix} \
+       --bindir=%{_bindir} \
+       --sbindir=%{_sbindir} \
+       --sysconfdir=%{_sysconfdir} \
+       --datadir=%{_datadir} \
+       --includedir=%{_includedir} \
+       --libdir=%{_libdir} \
+       --libexecdir=%{_libexecdir} \
+       --localstatedir=%{_localstatedir} \
+       --sharedstatedir=%{_sharedstatedir} \
+       --mandir=%{_mandir} \
+       --infodir=%{_infodir} \
+}
+
 #------------------------------------------------------------------------------
 # The GNUconfigure macro does the following:
 #       update config.guess and config.sub.
This page took 0.07469 seconds and 4 git commands to generate.