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
6 +# Process this file with autoconf to produce a configure script.
9 +AC_INIT(crossguid, 2.6.2)
10 +AC_CONFIG_SRCDIR([.])
13 +# Checks for programs.
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
27 +AC_CHECK_TYPES([ptrdiff_t])
30 +# Checks for library functions.
31 +AC_CHECK_FUNCS([memmove strchr])
33 +#AC_CONFIG_FILES([Makefile])
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
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
53 +exec_prefix=${prefix}
55 +includedir=${prefix}/include
58 +Description: CrossGuid is a minimal, cross platform, C++ GUID library.
60 +Libs: -L${libdir} -lcrossguid -luuid
61 +Cflags: -I${includedir} -DGUID_LIBUUID