glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +26 -4
- data/ext/glib2/glib2.def +3 -1
- data/ext/glib2/rbgcompat.h +0 -15
- data/ext/glib2/rbglib.h +11 -3
- data/ext/glib2/rbglib_source.c +6 -1
- data/ext/glib2/rbgobj_boxed.c +65 -48
- data/ext/glib2/rbgobj_convert.c +29 -14
- data/ext/glib2/rbgobj_value.c +42 -0
- data/ext/glib2/rbgobject.c +7 -4
- data/ext/glib2/rbgobject.h +15 -9
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +6 -1
- data/lib/gnome2-win32-binary-build-task.rb +40 -10
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
- data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
- data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
- data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
- data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
- data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
- data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
- data/vendor/local/include/glib-2.0/gmodule.h +7 -11
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
- data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
- data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +2 -41
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0.def +0 -2
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gobject-2.0.def +0 -4
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +33 -197
- data/ext/glib2/rbgobj_fundamental.c +0 -43
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +0 -177
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
- data/vendor/local/gnutls.README.txt +0 -6
- data/vendor/local/include/gcrypt-module.h +0 -226
- data/vendor/local/include/gcrypt.h +0 -1826
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
- data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/gnutls/extra.h +0 -137
- data/vendor/local/include/gpg-error.h +0 -651
- data/vendor/local/include/libtasn1.h +0 -246
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgcrypt.def +0 -237
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
- data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
- data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
- data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
- data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
- data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
- data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
- data/vendor/local/share/info/gcrypt.info +0 -6243
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/libtasn1.info +0 -2993
- data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
- data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
- data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
- data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
- data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
- data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
- data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
- data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
- data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
- data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
- data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
- data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
- data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
- data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
- data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
- data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
- data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
- data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
- data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -1,65 +0,0 @@
|
|
1
|
-
# gpg-error.m4 - autoconf macro to detect libgpg-error.
|
2
|
-
# Copyright (C) 2002, 2003, 2004 g10 Code GmbH
|
3
|
-
#
|
4
|
-
# This file is free software; as a special exception the author gives
|
5
|
-
# unlimited permission to copy and/or distribute it, with or without
|
6
|
-
# modifications, as long as this notice is preserved.
|
7
|
-
#
|
8
|
-
# This file is distributed in the hope that it will be useful, but
|
9
|
-
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
10
|
-
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
11
|
-
|
12
|
-
dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION,
|
13
|
-
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
|
14
|
-
dnl Test for libgpg-error and define GPG_ERROR_CFLAGS and GPG_ERROR_LIBS
|
15
|
-
dnl
|
16
|
-
AC_DEFUN([AM_PATH_GPG_ERROR],
|
17
|
-
[ AC_ARG_WITH(gpg-error-prefix,
|
18
|
-
AC_HELP_STRING([--with-gpg-error-prefix=PFX],
|
19
|
-
[prefix where GPG Error is installed (optional)]),
|
20
|
-
gpg_error_config_prefix="$withval", gpg_error_config_prefix="")
|
21
|
-
if test x$gpg_error_config_prefix != x ; then
|
22
|
-
if test x${GPG_ERROR_CONFIG+set} != xset ; then
|
23
|
-
GPG_ERROR_CONFIG=$gpg_error_config_prefix/bin/gpg-error-config
|
24
|
-
fi
|
25
|
-
fi
|
26
|
-
|
27
|
-
AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no)
|
28
|
-
min_gpg_error_version=ifelse([$1], ,0.0,$1)
|
29
|
-
AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version)
|
30
|
-
ok=no
|
31
|
-
if test "$GPG_ERROR_CONFIG" != "no" ; then
|
32
|
-
req_major=`echo $min_gpg_error_version | \
|
33
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
|
34
|
-
req_minor=`echo $min_gpg_error_version | \
|
35
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
|
36
|
-
gpg_error_config_version=`$GPG_ERROR_CONFIG $gpg_error_config_args --version`
|
37
|
-
major=`echo $gpg_error_config_version | \
|
38
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
|
39
|
-
minor=`echo $gpg_error_config_version | \
|
40
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
|
41
|
-
if test "$major" -gt "$req_major"; then
|
42
|
-
ok=yes
|
43
|
-
else
|
44
|
-
if test "$major" -eq "$req_major"; then
|
45
|
-
if test "$minor" -ge "$req_minor"; then
|
46
|
-
ok=yes
|
47
|
-
fi
|
48
|
-
fi
|
49
|
-
fi
|
50
|
-
fi
|
51
|
-
if test $ok = yes; then
|
52
|
-
GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags`
|
53
|
-
GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs`
|
54
|
-
AC_MSG_RESULT([yes ($gpg_error_config_version)])
|
55
|
-
ifelse([$2], , :, [$2])
|
56
|
-
else
|
57
|
-
GPG_ERROR_CFLAGS=""
|
58
|
-
GPG_ERROR_LIBS=""
|
59
|
-
AC_MSG_RESULT(no)
|
60
|
-
ifelse([$3], , :, [$3])
|
61
|
-
fi
|
62
|
-
AC_SUBST(GPG_ERROR_CFLAGS)
|
63
|
-
AC_SUBST(GPG_ERROR_LIBS)
|
64
|
-
])
|
65
|
-
|
@@ -1,108 +0,0 @@
|
|
1
|
-
dnl Autoconf macros for libgcrypt
|
2
|
-
dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
|
3
|
-
dnl
|
4
|
-
dnl This file is free software; as a special exception the author gives
|
5
|
-
dnl unlimited permission to copy and/or distribute it, with or without
|
6
|
-
dnl modifications, as long as this notice is preserved.
|
7
|
-
dnl
|
8
|
-
dnl This file is distributed in the hope that it will be useful, but
|
9
|
-
dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
10
|
-
dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
11
|
-
|
12
|
-
|
13
|
-
dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION,
|
14
|
-
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
|
15
|
-
dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS.
|
16
|
-
dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed
|
17
|
-
dnl with the API version to also check the API compatibility. Example:
|
18
|
-
dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed
|
19
|
-
dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using
|
20
|
-
dnl this features allows to prevent build against newer versions of libgcrypt
|
21
|
-
dnl with a changed API.
|
22
|
-
dnl
|
23
|
-
AC_DEFUN([AM_PATH_LIBGCRYPT],
|
24
|
-
[ AC_ARG_WITH(libgcrypt-prefix,
|
25
|
-
AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
|
26
|
-
[prefix where LIBGCRYPT is installed (optional)]),
|
27
|
-
libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
|
28
|
-
if test x$libgcrypt_config_prefix != x ; then
|
29
|
-
if test x${LIBGCRYPT_CONFIG+set} != xset ; then
|
30
|
-
LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
|
31
|
-
fi
|
32
|
-
fi
|
33
|
-
|
34
|
-
AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
35
|
-
tmp=ifelse([$1], ,1:1.2.0,$1)
|
36
|
-
if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
|
37
|
-
req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
|
38
|
-
min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
|
39
|
-
else
|
40
|
-
req_libgcrypt_api=0
|
41
|
-
min_libgcrypt_version="$tmp"
|
42
|
-
fi
|
43
|
-
|
44
|
-
AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version)
|
45
|
-
ok=no
|
46
|
-
if test "$LIBGCRYPT_CONFIG" != "no" ; then
|
47
|
-
req_major=`echo $min_libgcrypt_version | \
|
48
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
|
49
|
-
req_minor=`echo $min_libgcrypt_version | \
|
50
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
|
51
|
-
req_micro=`echo $min_libgcrypt_version | \
|
52
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
|
53
|
-
libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
|
54
|
-
major=`echo $libgcrypt_config_version | \
|
55
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
|
56
|
-
minor=`echo $libgcrypt_config_version | \
|
57
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
|
58
|
-
micro=`echo $libgcrypt_config_version | \
|
59
|
-
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
|
60
|
-
if test "$major" -gt "$req_major"; then
|
61
|
-
ok=yes
|
62
|
-
else
|
63
|
-
if test "$major" -eq "$req_major"; then
|
64
|
-
if test "$minor" -gt "$req_minor"; then
|
65
|
-
ok=yes
|
66
|
-
else
|
67
|
-
if test "$minor" -eq "$req_minor"; then
|
68
|
-
if test "$micro" -ge "$req_micro"; then
|
69
|
-
ok=yes
|
70
|
-
fi
|
71
|
-
fi
|
72
|
-
fi
|
73
|
-
fi
|
74
|
-
fi
|
75
|
-
fi
|
76
|
-
if test $ok = yes; then
|
77
|
-
AC_MSG_RESULT([yes ($libgcrypt_config_version)])
|
78
|
-
else
|
79
|
-
AC_MSG_RESULT(no)
|
80
|
-
fi
|
81
|
-
if test $ok = yes; then
|
82
|
-
# If we have a recent libgcrypt, we should also check that the
|
83
|
-
# API is compatible
|
84
|
-
if test "$req_libgcrypt_api" -gt 0 ; then
|
85
|
-
tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
|
86
|
-
if test "$tmp" -gt 0 ; then
|
87
|
-
AC_MSG_CHECKING([LIBGCRYPT API version])
|
88
|
-
if test "$req_libgcrypt_api" -eq "$tmp" ; then
|
89
|
-
AC_MSG_RESULT([okay])
|
90
|
-
else
|
91
|
-
ok=no
|
92
|
-
AC_MSG_RESULT([does not match. want=$req_libgcrypt_api got=$tmp])
|
93
|
-
fi
|
94
|
-
fi
|
95
|
-
fi
|
96
|
-
fi
|
97
|
-
if test $ok = yes; then
|
98
|
-
LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
|
99
|
-
LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
|
100
|
-
ifelse([$2], , :, [$2])
|
101
|
-
else
|
102
|
-
LIBGCRYPT_CFLAGS=""
|
103
|
-
LIBGCRYPT_LIBS=""
|
104
|
-
ifelse([$3], , :, [$3])
|
105
|
-
fi
|
106
|
-
AC_SUBST(LIBGCRYPT_CFLAGS)
|
107
|
-
AC_SUBST(LIBGCRYPT_LIBS)
|
108
|
-
])
|
@@ -1,161 +0,0 @@
|
|
1
|
-
dnl Autoconf macros for libgnutls-extra
|
2
|
-
dnl $id$
|
3
|
-
|
4
|
-
# Modified for LIBGNUTLS_EXTRA -- nmav
|
5
|
-
# Configure paths for LIBGCRYPT
|
6
|
-
# Shamelessly stolen from the one of XDELTA by Owen Taylor
|
7
|
-
# Werner Koch 99-12-09
|
8
|
-
|
9
|
-
dnl AM_PATH_LIBGNUTLS_EXTRA([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
|
10
|
-
dnl Test for libgnutls-extra, and define LIBGNUTLS_EXTRA_CFLAGS and LIBGNUTLS_EXTRA_LIBS
|
11
|
-
dnl
|
12
|
-
AC_DEFUN([AM_PATH_LIBGNUTLS_EXTRA],
|
13
|
-
[dnl
|
14
|
-
dnl Get the cflags and libraries from the libgnutls-extra-config script
|
15
|
-
dnl
|
16
|
-
AC_ARG_WITH(libgnutls-extra-prefix,
|
17
|
-
[ --with-libgnutls-extra-prefix=PFX Prefix where libgnutls-extra is installed (optional)],
|
18
|
-
libgnutls_extra_config_prefix="$withval", libgnutls_extra_config_prefix="")
|
19
|
-
|
20
|
-
if test x$libgnutls_extra_config_prefix != x ; then
|
21
|
-
if test x${LIBGNUTLS_EXTRA_CONFIG+set} != xset ; then
|
22
|
-
LIBGNUTLS_EXTRA_CONFIG=$libgnutls_extra_config_prefix/bin/libgnutls-extra-config
|
23
|
-
fi
|
24
|
-
fi
|
25
|
-
|
26
|
-
AC_PATH_PROG(LIBGNUTLS_EXTRA_CONFIG, libgnutls-extra-config, no)
|
27
|
-
min_libgnutls_version=ifelse([$1], ,0.1.0,$1)
|
28
|
-
AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version)
|
29
|
-
no_libgnutls=""
|
30
|
-
if test "$LIBGNUTLS_EXTRA_CONFIG" = "no" ; then
|
31
|
-
no_libgnutls=yes
|
32
|
-
else
|
33
|
-
LIBGNUTLS_EXTRA_CFLAGS=`$LIBGNUTLS_EXTRA_CONFIG $libgnutls_extra_config_args --cflags`
|
34
|
-
LIBGNUTLS_EXTRA_LIBS=`$LIBGNUTLS_EXTRA_CONFIG $libgnutls_extra_config_args --libs`
|
35
|
-
libgnutls_extra_config_version=`$LIBGNUTLS_EXTRA_CONFIG $libgnutls_extra_config_args --version`
|
36
|
-
|
37
|
-
|
38
|
-
ac_save_CFLAGS="$CFLAGS"
|
39
|
-
ac_save_LIBS="$LIBS"
|
40
|
-
CFLAGS="$CFLAGS $LIBGNUTLS_EXTRA_CFLAGS"
|
41
|
-
LIBS="$LIBS $LIBGNUTLS_EXTRA_LIBS"
|
42
|
-
dnl
|
43
|
-
dnl Now check if the installed libgnutls is sufficiently new. Also sanity
|
44
|
-
dnl checks the results of libgnutls-extra-config to some extent
|
45
|
-
dnl
|
46
|
-
rm -f conf.libgnutlstest
|
47
|
-
AC_TRY_RUN([
|
48
|
-
#include <stdio.h>
|
49
|
-
#include <stdlib.h>
|
50
|
-
#include <string.h>
|
51
|
-
#include <gnutls/extra.h>
|
52
|
-
|
53
|
-
int
|
54
|
-
main ()
|
55
|
-
{
|
56
|
-
system ("touch conf.libgnutlstest");
|
57
|
-
|
58
|
-
if( strcmp( gnutls_extra_check_version(NULL), "$libgnutls_extra_config_version" ) )
|
59
|
-
{
|
60
|
-
printf("\n*** 'libgnutls-extra-config --version' returned %s, but LIBGNUTLS_EXTRA (%s)\n",
|
61
|
-
"$libgnutls_extra_config_version", gnutls_extra_check_version(NULL) );
|
62
|
-
printf("*** was found! If libgnutls-extra-config was correct, then it is best\n");
|
63
|
-
printf("*** to remove the old version of LIBGNUTLS_EXTRA. You may also be able to fix the error\n");
|
64
|
-
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
65
|
-
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
66
|
-
printf("*** required on your system.\n");
|
67
|
-
printf("*** If libgnutls-extra-config was wrong, set the environment variable LIBGNUTLS_EXTRA_CONFIG\n");
|
68
|
-
printf("*** to point to the correct copy of libgnutls-extra-config, and remove the file config.cache\n");
|
69
|
-
printf("*** before re-running configure\n");
|
70
|
-
}
|
71
|
-
else if ( strcmp(gnutls_extra_check_version(NULL), LIBGNUTLS_EXTRA_VERSION ) )
|
72
|
-
{
|
73
|
-
printf("\n*** LIBGNUTLS_EXTRA header file (version %s) does not match\n", LIBGNUTLS_EXTRA_VERSION);
|
74
|
-
printf("*** library (version %s). This is may be due to a different version of gnutls\n", gnutls_extra_check_version(NULL) );
|
75
|
-
printf("*** and gnutls-extra.\n");
|
76
|
-
}
|
77
|
-
else
|
78
|
-
{
|
79
|
-
if ( gnutls_extra_check_version( "$min_libgnutls_version" ) )
|
80
|
-
{
|
81
|
-
return 0;
|
82
|
-
}
|
83
|
-
else
|
84
|
-
{
|
85
|
-
printf("no\n*** An old version of LIBGNUTLS_EXTRA (%s) was found.\n",
|
86
|
-
gnutls_extra_check_version(NULL) );
|
87
|
-
printf("*** You need a version of LIBGNUTLS_EXTRA newer than %s. The latest version of\n",
|
88
|
-
"$min_libgnutls_version" );
|
89
|
-
printf("*** LIBGNUTLS_EXTRA is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
|
90
|
-
printf("*** \n");
|
91
|
-
printf("*** If you have already installed a sufficiently new version, this error\n");
|
92
|
-
printf("*** probably means that the wrong copy of the libgnutls-extra-config shell script is\n");
|
93
|
-
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
94
|
-
printf("*** of LIBGNUTLS_EXTRA, but you can also set the LIBGNUTLS_EXTRA_CONFIG environment to point to the\n");
|
95
|
-
printf("*** correct copy of libgnutls-extra-config. (In this case, you will have to\n");
|
96
|
-
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
97
|
-
printf("*** so that the correct libraries are found at run-time))\n");
|
98
|
-
}
|
99
|
-
}
|
100
|
-
return 1;
|
101
|
-
}
|
102
|
-
],, no_libgnutls=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
103
|
-
CFLAGS="$ac_save_CFLAGS"
|
104
|
-
LIBS="$ac_save_LIBS"
|
105
|
-
fi
|
106
|
-
|
107
|
-
if test "x$no_libgnutls" = x ; then
|
108
|
-
AC_MSG_RESULT(yes)
|
109
|
-
ifelse([$2], , :, [$2])
|
110
|
-
else
|
111
|
-
if test -f conf.libgnutlstest ; then
|
112
|
-
:
|
113
|
-
else
|
114
|
-
AC_MSG_RESULT(no)
|
115
|
-
fi
|
116
|
-
if test "$LIBGNUTLS_EXTRA_CONFIG" = "no" ; then
|
117
|
-
echo "*** The libgnutls-extra-config script installed by LIBGNUTLS_EXTRA could not be found"
|
118
|
-
echo "*** If LIBGNUTLS_EXTRA was installed in PREFIX, make sure PREFIX/bin is in"
|
119
|
-
echo "*** your path, or set the LIBGNUTLS_EXTRA_CONFIG environment variable to the"
|
120
|
-
echo "*** full path to libgnutls-extra-config."
|
121
|
-
else
|
122
|
-
if test -f conf.libgnutlstest ; then
|
123
|
-
:
|
124
|
-
else
|
125
|
-
echo "*** Could not run libgnutls test program, checking why..."
|
126
|
-
CFLAGS="$CFLAGS $LIBGNUTLS_EXTRA_CFLAGS"
|
127
|
-
LIBS="$LIBS $LIBGNUTLS_EXTRA_LIBS"
|
128
|
-
AC_TRY_LINK([
|
129
|
-
#include <stdio.h>
|
130
|
-
#include <stdlib.h>
|
131
|
-
#include <string.h>
|
132
|
-
#include <gnutls/extra.h>
|
133
|
-
], [ return !!gnutls_extra_check_version(NULL); ],
|
134
|
-
[ echo "*** The test program compiled, but did not run. This usually means"
|
135
|
-
echo "*** that the run-time linker is not finding LIBGNUTLS_EXTRA or finding the wrong"
|
136
|
-
echo "*** version of LIBGNUTLS_EXTRA. If it is not finding LIBGNUTLS_EXTRA, you'll need to set your"
|
137
|
-
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
138
|
-
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
139
|
-
echo "*** is required on your system"
|
140
|
-
echo "***"
|
141
|
-
echo "*** If you have an old version installed, it is best to remove it, although"
|
142
|
-
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
143
|
-
echo "***" ],
|
144
|
-
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
145
|
-
echo "*** exact error that occured. This usually means LIBGNUTLS_EXTRA was incorrectly installed"
|
146
|
-
echo "*** or that you have moved LIBGNUTLS_EXTRA since it was installed. In the latter case, you"
|
147
|
-
echo "*** may want to edit the libgnutls-extra-config script: $LIBGNUTLS_EXTRA_CONFIG" ])
|
148
|
-
CFLAGS="$ac_save_CFLAGS"
|
149
|
-
LIBS="$ac_save_LIBS"
|
150
|
-
fi
|
151
|
-
fi
|
152
|
-
LIBGNUTLS_EXTRA_CFLAGS=""
|
153
|
-
LIBGNUTLS_EXTRA_LIBS=""
|
154
|
-
ifelse([$3], , :, [$3])
|
155
|
-
fi
|
156
|
-
rm -f conf.libgnutlstest
|
157
|
-
AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
|
158
|
-
AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
|
159
|
-
])
|
160
|
-
|
161
|
-
dnl *-*wedit:notab*-* Please keep this as the last line.
|
@@ -1,160 +0,0 @@
|
|
1
|
-
dnl Autoconf macros for libgnutls
|
2
|
-
dnl $id$
|
3
|
-
|
4
|
-
# Modified for LIBGNUTLS -- nmav
|
5
|
-
# Configure paths for LIBGCRYPT
|
6
|
-
# Shamelessly stolen from the one of XDELTA by Owen Taylor
|
7
|
-
# Werner Koch 99-12-09
|
8
|
-
|
9
|
-
dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
|
10
|
-
dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS
|
11
|
-
dnl
|
12
|
-
AC_DEFUN([AM_PATH_LIBGNUTLS],
|
13
|
-
[dnl
|
14
|
-
dnl Get the cflags and libraries from the libgnutls-config script
|
15
|
-
dnl
|
16
|
-
AC_ARG_WITH(libgnutls-prefix,
|
17
|
-
[ --with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional)],
|
18
|
-
libgnutls_config_prefix="$withval", libgnutls_config_prefix="")
|
19
|
-
|
20
|
-
if test x$libgnutls_config_prefix != x ; then
|
21
|
-
if test x${LIBGNUTLS_CONFIG+set} != xset ; then
|
22
|
-
LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
|
23
|
-
fi
|
24
|
-
fi
|
25
|
-
|
26
|
-
AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, no)
|
27
|
-
min_libgnutls_version=ifelse([$1], ,0.1.0,$1)
|
28
|
-
AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version)
|
29
|
-
no_libgnutls=""
|
30
|
-
if test "$LIBGNUTLS_CONFIG" = "no" ; then
|
31
|
-
no_libgnutls=yes
|
32
|
-
else
|
33
|
-
LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
|
34
|
-
LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
|
35
|
-
libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
|
36
|
-
|
37
|
-
|
38
|
-
ac_save_CFLAGS="$CFLAGS"
|
39
|
-
ac_save_LIBS="$LIBS"
|
40
|
-
CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
|
41
|
-
LIBS="$LIBS $LIBGNUTLS_LIBS"
|
42
|
-
dnl
|
43
|
-
dnl Now check if the installed libgnutls is sufficiently new. Also sanity
|
44
|
-
dnl checks the results of libgnutls-config to some extent
|
45
|
-
dnl
|
46
|
-
rm -f conf.libgnutlstest
|
47
|
-
AC_TRY_RUN([
|
48
|
-
#include <stdio.h>
|
49
|
-
#include <stdlib.h>
|
50
|
-
#include <string.h>
|
51
|
-
#include <gnutls/gnutls.h>
|
52
|
-
|
53
|
-
int
|
54
|
-
main ()
|
55
|
-
{
|
56
|
-
system ("touch conf.libgnutlstest");
|
57
|
-
|
58
|
-
if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
|
59
|
-
{
|
60
|
-
printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
|
61
|
-
"$libgnutls_config_version", gnutls_check_version(NULL) );
|
62
|
-
printf("*** was found! If libgnutls-config was correct, then it is best\n");
|
63
|
-
printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
|
64
|
-
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
65
|
-
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
66
|
-
printf("*** required on your system.\n");
|
67
|
-
printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
|
68
|
-
printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
|
69
|
-
printf("*** before re-running configure\n");
|
70
|
-
}
|
71
|
-
else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
|
72
|
-
{
|
73
|
-
printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
|
74
|
-
printf("*** library (version %s)\n", gnutls_check_version(NULL) );
|
75
|
-
}
|
76
|
-
else
|
77
|
-
{
|
78
|
-
if ( gnutls_check_version( "$min_libgnutls_version" ) )
|
79
|
-
{
|
80
|
-
return 0;
|
81
|
-
}
|
82
|
-
else
|
83
|
-
{
|
84
|
-
printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
|
85
|
-
gnutls_check_version(NULL) );
|
86
|
-
printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
|
87
|
-
"$min_libgnutls_version" );
|
88
|
-
printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
|
89
|
-
printf("*** \n");
|
90
|
-
printf("*** If you have already installed a sufficiently new version, this error\n");
|
91
|
-
printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
|
92
|
-
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
93
|
-
printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
|
94
|
-
printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
|
95
|
-
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
96
|
-
printf("*** so that the correct libraries are found at run-time))\n");
|
97
|
-
}
|
98
|
-
}
|
99
|
-
return 1;
|
100
|
-
}
|
101
|
-
],, no_libgnutls=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
102
|
-
CFLAGS="$ac_save_CFLAGS"
|
103
|
-
LIBS="$ac_save_LIBS"
|
104
|
-
fi
|
105
|
-
|
106
|
-
if test "x$no_libgnutls" = x ; then
|
107
|
-
AC_MSG_RESULT(yes)
|
108
|
-
ifelse([$2], , :, [$2])
|
109
|
-
else
|
110
|
-
if test -f conf.libgnutlstest ; then
|
111
|
-
:
|
112
|
-
else
|
113
|
-
AC_MSG_RESULT(no)
|
114
|
-
fi
|
115
|
-
if test "$LIBGNUTLS_CONFIG" = "no" ; then
|
116
|
-
echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
|
117
|
-
echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
|
118
|
-
echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
|
119
|
-
echo "*** full path to libgnutls-config."
|
120
|
-
else
|
121
|
-
if test -f conf.libgnutlstest ; then
|
122
|
-
:
|
123
|
-
else
|
124
|
-
echo "*** Could not run libgnutls test program, checking why..."
|
125
|
-
CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
|
126
|
-
LIBS="$LIBS $LIBGNUTLS_LIBS"
|
127
|
-
AC_TRY_LINK([
|
128
|
-
#include <stdio.h>
|
129
|
-
#include <stdlib.h>
|
130
|
-
#include <string.h>
|
131
|
-
#include <gnutls/gnutls.h>
|
132
|
-
], [ return !!gnutls_check_version(NULL); ],
|
133
|
-
[ echo "*** The test program compiled, but did not run. This usually means"
|
134
|
-
echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
|
135
|
-
echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
|
136
|
-
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
137
|
-
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
138
|
-
echo "*** is required on your system"
|
139
|
-
echo "***"
|
140
|
-
echo "*** If you have an old version installed, it is best to remove it, although"
|
141
|
-
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
142
|
-
echo "***" ],
|
143
|
-
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
144
|
-
echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
|
145
|
-
echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
|
146
|
-
echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG" ])
|
147
|
-
CFLAGS="$ac_save_CFLAGS"
|
148
|
-
LIBS="$ac_save_LIBS"
|
149
|
-
fi
|
150
|
-
fi
|
151
|
-
LIBGNUTLS_CFLAGS=""
|
152
|
-
LIBGNUTLS_LIBS=""
|
153
|
-
ifelse([$3], , :, [$3])
|
154
|
-
fi
|
155
|
-
rm -f conf.libgnutlstest
|
156
|
-
AC_SUBST(LIBGNUTLS_CFLAGS)
|
157
|
-
AC_SUBST(LIBGNUTLS_LIBS)
|
158
|
-
])
|
159
|
-
|
160
|
-
dnl *-*wedit:notab*-* Please keep this as the last line.
|