source: scripts_home/scripts/untested/blfs-patches/flac-1.1.2-gas.patch@ 1c9c5c3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago

r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive

  • Property mode set to 100644
File size: 888 bytes
RevLine 
[fd5b1fe]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-07-24
3Initial Package Version: 1.1.2
4Upstream Status: Unknown
5Origin: Gentoo
6Description:
7
8--- configure.in 2005-02-03 06:03:25.000000000 +0100
9+++ /tmp/configure.in 2005-02-19 14:11:56.714378040 +0100
10@@ -184,14 +184,17 @@
11 fi
12
13 # only matters for PowerPC
14-AC_CHECK_PROGS(AS, as)
15-AC_CHECK_PROGS(GAS, gas)
16-AM_CONDITIONAL(FLaC__HAS_AS, test -n "$AS")
17-AM_CONDITIONAL(FLaC__HAS_GAS, test -n "$GAS")
18-if test -n "$AS" ; then
19+AC_CHECK_PROGS(AS, as, as)
20+AC_CHECK_PROGS(AS, gas, gas)
21+
22+test "$AS" = "as" && as --version | grep GNU >/dev/null && AS=gas
23+
24+AM_CONDITIONAL(FLaC__HAS_AS, test "$AS" = "as" )
25+AM_CONDITIONAL(FLaC__HAS_GAS, test "$AS" = "gas" )
26+if test "$AS" = "as" ; then
27 AC_DEFINE(FLAC__HAS_AS)
28 fi
29-if test -n "$GAS" ; then
30+if test "$AS" = "gas" ; then
31 # funniest. macro. ever.
32 AC_DEFINE(FLAC__HAS_GAS)
33 fi
Note: See TracBrowser for help on using the repository browser.