jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / libcrossguid / patches / 01-useautoconf.patch
blobf269222a58c845b6a32f4c69f479d001a27083c0
1 diff -uNr a/configure.ac b/configure.ac
2 --- a/configure.ac 1970-01-01 08:00:00.000000000 +0800
3 +++ b/configure.ac 2016-01-15 00:54:51.743552575 +0800
4 @@ -0,0 +1,31 @@
5 +# -*- Autoconf -*-
6 +# Process this file with autoconf to produce a configure script.
8 +AC_PREREQ([2.69])
9 +AC_INIT(crossguid, 2.6.2)
10 +AC_CONFIG_SRCDIR([.])
11 +AM_INIT_AUTOMAKE
12 +LT_INIT
13 +# Checks for programs.
14 +AC_PROG_CXX
15 +AC_PROG_CC
16 +AC_PROG_RANLIB
18 +# Checks for libraries.
20 +# Checks for header files.
21 +AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
23 +# Checks for typedefs, structures, and compiler characteristics.
24 +AC_CHECK_HEADER_STDBOOL
25 +AC_C_INLINE
26 +AC_TYPE_SIZE_T
27 +AC_CHECK_TYPES([ptrdiff_t])
30 +# Checks for library functions.
31 +AC_CHECK_FUNCS([memmove strchr])
32 +#AM_INIT_AUTOMAKE
33 +#AC_CONFIG_FILES([Makefile])
34 +AC_OUTPUT([Makefile
35 + ])
36 diff -uNr a/Makefile.am b/Makefile.am
37 --- a/Makefile.am 1970-01-01 08:00:00.000000000 +0800
38 +++ b/Makefile.am 2016-01-15 00:54:51.749827287 +0800
39 @@ -0,0 +1,8 @@
40 +lib_LTLIBRARIES=libcrossguid.la
41 +libcrossguid_la_SOURCES=guid.cpp
42 +libcrossguid_la_LDFLAGS = -version-info 1:0:0
43 +AM_CPPFLAGS=-I$(top_srcdir) -std=c++11 -DGUID_LIBUUID
44 +crossguidincludedir=$(includedir)
45 +crossguidinclude_HEADERS=guid.h
46 +pkgconfigdir = $(libdir)/pkgconfig
47 +pkgconfig_DATA = crossguid.pc
48 diff -uNr crossguid/crossguid.pc crossguid2/crossguid.pc
49 --- crossguid/crossguid.pc 1970-01-01 08:00:00.000000000 +0800
50 +++ crossguid2/crossguid.pc 2016-01-15 00:54:51.773077123 +0800
51 @@ -0,0 +1,10 @@
52 +prefix=/usr/
53 +exec_prefix=${prefix}
54 +libdir=%LIBDIR%
55 +includedir=${prefix}/include
57 +Name: CrossGuid
58 +Description: CrossGuid is a minimal, cross platform, C++ GUID library.
59 +Version: %VERSION%
60 +Libs: -L${libdir} -lcrossguid -luuid
61 +Cflags: -I${includedir} -DGUID_LIBUUID