1 diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
2 --- liblzf-3.6.ORIG/bootstrap.sh 1970-01-01 00:00:00.000000000 +0000
3 +++ liblzf-3.6/bootstrap.sh 2014-03-13 08:10:49.132000000 +0000
9 +#aclocal-1.10 -I config
11 +libtoolize --automake
12 +automake --add-missing --copy --foreign
13 +#automake-1.10 --add-missing --copy
15 diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
16 --- liblzf-3.6.ORIG/config.h.in 2014-03-13 08:10:30.234000000 +0000
17 +++ liblzf-3.6/config.h.in 2014-03-13 08:10:49.133000000 +0000
19 -/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
20 +/* config.h.in. Generated from configure.ac by autoheader. */
22 -/* Define to empty if the keyword does not work. */
24 +/* Define to 1 if you have the <dlfcn.h> header file. */
27 +/* Define to 1 if you have the <errno.h> header file. */
30 +/* Define to 1 if you have the <fcntl.h> header file. */
33 +/* Define to 1 if you have the <getopt.h> header file. */
36 +/* Define to 1 if you have the `getopt_long' function. */
37 +#undef HAVE_GETOPT_LONG
39 +/* Define to 1 if you have the <inttypes.h> header file. */
40 +#undef HAVE_INTTYPES_H
42 +/* Define to 1 if you have the <limits.h> header file. */
45 +/* Define to 1 if you have the <memory.h> header file. */
48 +/* Define to 1 if you have the <stdint.h> header file. */
51 +/* Define to 1 if you have the <stdio.h> header file. */
54 +/* Define to 1 if you have the <stdlib.h> header file. */
57 +/* Define to 1 if you have the <strings.h> header file. */
58 +#undef HAVE_STRINGS_H
60 +/* Define to 1 if you have the <string.h> header file. */
63 -/* Define if you have the ANSI C header files. */
64 +/* Define to 1 if you have the <sys/stat.h> header file. */
65 +#undef HAVE_SYS_STAT_H
67 +/* Define to 1 if you have the <sys/types.h> header file. */
68 +#undef HAVE_SYS_TYPES_H
70 +/* Define to 1 if you have the <unistd.h> header file. */
73 +/* Define to the sub-directory in which libtool stores uninstalled libraries.
77 +/* Define to the address where bug reports for this package should be sent. */
78 +#undef PACKAGE_BUGREPORT
80 +/* Define to the full name of this package. */
83 +/* Define to the full name and version of this package. */
84 +#undef PACKAGE_STRING
86 +/* Define to the one symbol short name of this package. */
87 +#undef PACKAGE_TARNAME
89 +/* Define to the home page for this package. */
92 +/* Define to the version of this package. */
93 +#undef PACKAGE_VERSION
95 +/* Define to 1 if you have the ANSI C header files. */
98 -/* The number of bytes in a int. */
100 +/* Number of bits in a file offset, on hosts where this is settable. */
101 +#undef _FILE_OFFSET_BITS
103 +/* Define for large files, on AIX-style hosts. */
106 -/* The number of bytes in a long. */
108 +/* Define to empty if `const' does not conform to ANSI C. */
111 -/* The number of bytes in a short. */
113 +/* Define to `__inline__' or `__inline' if that's what the C compiler
114 + calls it, or to nothing if 'inline' is not supported under any name. */
118 diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
119 --- liblzf-3.6.ORIG/configure.ac 2014-03-13 08:10:30.233000000 +0000
120 +++ liblzf-3.6/configure.ac 2014-03-13 08:10:49.133000000 +0000
123 -AC_CONFIG_SRCDIR([lzfP.h])
126 +AC_CONFIG_AUX_DIR(config)
129 +AM_CONFIG_HEADER(config.h)
130 +AC_CHECK_HEADERS(getopt.h)
134 +dnl uncomment when tagging
141 +if test "A" = A$RELEASE; then
142 + VER_PATCH=${VER_PATCH}_`date '+20%y%m%d%H'`
145 +AM_INIT_AUTOMAKE(liblzf,$VER_ARCHITECTURE.$VER_MAJOR.$VER_MINOR,"http://software.schmorp.de/pkg/liblzf")
146 +AC_SUBST(VER_ARCHITECTURE)
151 +LIBRARY_VERSION="1:0:0"
153 +AC_SUBST(LIBRARY_VERSION)
159 +AC_CACHE_CHECK([for maximum warnings compiler flag],
162 + *gcc*) ac_cv_cwflag="-Wall -pedantic -pipe -O3 -funroll-all-loops";;
166 +AC_SUBST([CWFLAG], [$ac_cv_cwflag])
170 +AC_CHECK_HEADERS([limits.h])
171 +AC_CHECK_HEADERS([errno.h])
172 +AC_CHECK_HEADERS([fcntl.h])
173 +AC_CHECK_HEADERS([stdio.h])
176 +AC_CONFIG_SRCDIR([lzf_c.c])
179 +if test "${prefix}" = NONE ; then
180 + liblzf_prefix=/usr/local
182 + liblzf_prefix=${prefix}
185 -AC_CONFIG_HEADER(config.h)
193 AC_CHECK_HEADERS(getopt.h)
194 AC_CHECK_FUNCS(getopt_long)
195 +AC_SUBST(ac_aux_dir)
197 -if test "$GCC" = yes; then
198 - CFLAGS="$CFLAGS -O3 -funroll-all-loops"
200 - AC_MSG_RESULT(no gcc)
203 -AC_CONFIG_FILES([Makefile])
205 +AC_OUTPUT(Makefile liblzf.pc)
206 diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
207 --- liblzf-3.6.ORIG/liblzf.pc.in 1970-01-01 00:00:00.000000000 +0000
208 +++ liblzf-3.6/liblzf.pc.in 2014-03-13 08:10:49.134000000 +0000
211 +exec_prefix=@exec_prefix@
213 +includedir=@includedir@
216 +Description: Small data compression library
217 +URL: http://oldhome.schmorp.de/marc/liblzf.html
219 +Libs: -L${libdir} -llzf
220 +Cflags: -I${includedir}
221 diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
222 --- liblzf-3.6.ORIG/Makefile.am 1970-01-01 00:00:00.000000000 +0000
223 +++ liblzf-3.6/Makefile.am 2014-03-13 08:12:06.195000000 +0000
225 +$(PROGRAMS): $(LDEPS)
229 +h_sources = lzf.h lzfP.h
230 +c_sources = lzf_c.c \
236 +library_includedir="$(includedir)"
239 +INCLUDES = -I$(includedir) -DLOCALEDIR=\"$(localedir)\"
241 +library_include_HEADERS = $(h_sources)
243 +lib_LTLIBRARIES = liblzf.la
245 +liblzf_la_SOURCES = $(c_sources)
246 +liblzf_la_LDFLAGS = -no-undefined -version-info $(LIBRARY_VERSION)
250 +lzf_LDADD = $(LDADDS) liblzf.la
254 +AUX_DIST = $(ac_aux_dir)/config.guess \
255 + $(ac_aux_dir)/config.sub \
256 + $(ac_aux_dir)/install-sh \
257 + $(ac_aux_dir)/ltmain.sh \
258 + $(ac_aux_dir)/missing \
259 + $(ac_aux_dir)/ltconfig \
260 + $(ac_aux_dir)/ltmain.sh
262 +MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
263 + stamp-h.in $(AUX_DIST)
265 +ACLOCAL = aclocal -I $(ac_aux_dir)
270 + if [ -a $(ac_aux_dir) ]; then \
271 + echo "config exist!"; \
273 + mkdir $(ac_aux_dir); \
275 + (if [ -a $(ac_aux_dir)/depcomp ]; then \
276 + echo "depcomp exist!"; \
278 + touch $(ac_aux_dir)/depcomp; \
280 + for file in $(AUX_DIST) $(AUX_DIST_EXTRA); do \
281 + cp $$file $(distdir)/$$file; \
294 +EXTRA_DIST = $(docfiles) $(csCLZFfiles) bootstrap.sh
296 +pkgconfigdir = $(libdir)/pkgconfig
297 +pkgconfig_DATA = liblzf.pc
299 diff -uNr liblzf-3.6.ORIG/Makefile.in liblzf-3.6/Makefile.in
300 --- liblzf-3.6.ORIG/Makefile.in 2014-03-13 08:10:30.233000000 +0000
301 +++ liblzf-3.6/Makefile.in 2014-03-13 08:13:08.090000000 +0000
303 $(INSTALL) -m 755 lzf $(bindir)
304 $(INSTALL) -d $(includedir)
305 $(INSTALL_DATA) lzf.h $(includedir)
306 + $(INSTALL_DATA) lzfP.h $(includedir)
307 $(INSTALL) -d $(libdir)
308 $(INSTALL_DATA) liblzf.a $(libdir)