Fresh pull from upstream (stable) package feed
[librecmc/package-feed.git] / sound / svox / patches / 0001-autoconf-building-of-library-using-libtool.patch
1 From 9fe1aa475b2667446b081623abc5c6f6083a76e6 Mon Sep 17 00:00:00 2001
2 From: Mathieu Parent <math.parent@gmail.com>
3 Date: Sat, 24 Oct 2009 17:03:37 +0200
4 Subject: [PATCH 1/7] autoconf building of library (using libtool)
5
6 ---
7  pico/Makefile.am  |   36 ++++++++++++++++++++++++++++++++++++
8  pico/autogen.sh   |   36 ++++++++++++++++++++++++++++++++++++
9  pico/configure.in |   16 ++++++++++++++++
10  3 files changed, 88 insertions(+), 0 deletions(-)
11  create mode 100644 pico/Makefile.am
12  create mode 100755 pico/autogen.sh
13  create mode 100644 pico/configure.in
14
15 --- /dev/null
16 +++ b/pico/Makefile.am
17 @@ -0,0 +1,36 @@
18 +## Makefile.am -- Process this file with automake to produce Makefile.in
19 +
20 +ACLOCAL_AMFLAGS = -I m4
21 +
22 +lib_LTLIBRARIES = libttspico.la
23 +libttspico_la_SOURCES = \
24 +       lib/picoacph.c \
25 +       lib/picoapi.c \
26 +       lib/picobase.c \
27 +       lib/picocep.c \
28 +       lib/picoctrl.c \
29 +       lib/picodata.c \
30 +       lib/picodbg.c \
31 +       lib/picoextapi.c \
32 +       lib/picofftsg.c \
33 +       lib/picokdbg.c \
34 +       lib/picokdt.c \
35 +       lib/picokfst.c \
36 +       lib/picoklex.c \
37 +       lib/picoknow.c \
38 +       lib/picokpdf.c \
39 +       lib/picokpr.c \
40 +       lib/picoktab.c \
41 +       lib/picoos.c \
42 +       lib/picopal.c \
43 +       lib/picopam.c \
44 +       lib/picopr.c \
45 +       lib/picorsrc.c \
46 +       lib/picosa.c \
47 +       lib/picosig.c \
48 +       lib/picosig2.c \
49 +       lib/picospho.c \
50 +       lib/picotok.c \
51 +       lib/picotrns.c \
52 +       lib/picowa.c
53 +
54 --- /dev/null
55 +++ b/pico/autogen.sh
56 @@ -0,0 +1,38 @@
57 +#!/bin/sh
58 +
59 +#created by aclocal
60 +rm -rf autom4te.cache
61 +rm -f aclocal.m4
62 +
63 +#created by libtoolize
64 +rm -rf m4
65 +mkdir m4
66 +rm -f ltmain.sh
67 +
68 +#created by autoconf
69 +rm -f configure
70 +
71 +#created by automake
72 +rm -f install-sh missing depcomp Makefile.in config.guess config.sub
73 +rm -f INSTALL COPYING compile
74 +
75 +#created by ./configure
76 +rm -rf .deps
77 +rm -f Makefile config.log config.status libtool
78 +
79 +if [ "$1" = "clean" ]; then
80 +    exit
81 +fi
82 +
83 +IPATHS="-I lib"
84 +
85 +libtoolize
86 +aclocal $IPATHS
87 +automake --add-missing
88 +autoconf $IPATHS
89 +
90 +rm -rf autom4te.cache
91 +
92 +echo "Now run ./configure and then make."
93 +exit 0
94 +
95 --- /dev/null
96 +++ b/pico/configure.in
97 @@ -0,0 +1,16 @@
98 +dnl Process this file with autoconf to produce a configure script.
99 +
100 +AC_PREREQ(2.59)
101 +
102 +AC_INIT([svox], [1.0], [math.parent@gmail.com])
103 +
104 +AM_INIT_AUTOMAKE([1.9 foreign])
105 +
106 +AC_PROG_CC
107 +LT_INIT
108 +AC_PROG_LIBTOOL
109 +
110 +AC_CONFIG_FILES([Makefile])
111 +AC_OUTPUT
112 +
113 +AC_CONFIG_MACRO_DIR([m4])