]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/avr-libc/avr-libc-1.0.3/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / avr-libc / avr-libc-1.0.3 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- avr-libc-1.0/./configure.in~configure
7 +++ avr-libc-1.0/./configure.in
8 @@ -26,8 +26,9 @@
9  # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
10  # POSSIBILITY OF SUCH DAMAGE.
11  
12 -AC_PREREQ(2.13)
13 -AC_INIT(libc)
14 +AC_PREREQ(2.57)
15 +AC_INIT
16 +AC_CONFIG_SRCDIR([libc])
17  
18  dnl Default to --enable-multilib
19  AC_ARG_ENABLE(multilib,
20 @@ -132,7 +133,7 @@
21  AC_SUBST(avrlib_basedir)
22  
23  # Determine the host, build, and target systems
24 -AC_CANONICAL_SYSTEM
25 +AC_CANONICAL_TARGET([])
26  
27  dnl NOTE: Don't put a '-' in the version number or rpm will puke 
28  dnl when building the package.
29 @@ -357,17 +358,16 @@
30  fi
31  
32  dnl the top Makefile must be the last of the list
33 -AC_OUTPUT(crt1/Makefile libc/Makefile libc/stdlib/Makefile
34 +AC_CONFIG_FILES([crt1/Makefile libc/Makefile libc/stdlib/Makefile
35            libc/pmstring/Makefile libc/string/Makefile libc/misc/Makefile
36            libc/stdio/Makefile
37            libm/Makefile libm/fplib/Makefile avr-libc.spec
38            doc/Makefile doc/examples/Makefile
39            doc/api/Makefile doc/api/doxygen.config
40 -          Makefile,
41 -[if test -n "$CONFIG_FILES"; then
42 +          Makefile])
43 +AC_CONFIG_COMMANDS([default],[[if test -n "$CONFIG_FILES"; then
44    . ${avrlib_basedir}/config-ml.in
45 -fi],  
46 -srcdir=${srcdir}
47 +fi]],[[srcdir=${srcdir}
48  host=${host}
49  target=${target}
50  with_multisubdir=${with_multisubdir}
51 @@ -375,4 +375,5 @@
52  CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
53  avrlib_basedir=${avrlib_basedir}
54  CC="${CC}"
55 -)
56 +]])
57 +AC_OUTPUT