0001-autoconf-building-of-library-using-libtool.patch 2.3 KB

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