Commit 89e6ef02 authored by Sjoerd Simons's avatar Sjoerd Simons

New upstream version 0.4.4

parent ebce888a
Mathias Hasselmann <mathias@openismus.com>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# ===========================
# -- CONFIGURATION OPTIONS --
# ===========================
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
TESTS_ENVIRONMENT = $(top_srcdir)/tests/test-runner.sh
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
# ============================
# -- DIRECTORY DECLARATIONS --
# ============================
libepc_includedir = $(includedir)/libepc-1.0/libepc
libepc_ui_includedir = $(includedir)/libepc-ui-1.0/libepc-ui
pkgconfigdir = $(libdir)/pkgconfig
gtkdoc_builddir=$(top_builddir)/docs/reference/libepc
gtkdoc_distdir=$(top_distdir)/docs/reference/libepc
gtkdoc_srcdir=$(top_srcdir)/docs/reference/libepc
# ==================
# -- TARGET LISTS --
# ==================
lib_LTLIBRARIES = \
libepc/libepc-1.0.la \
libepc-ui/libepc-ui-1.0.la
noinst_LTLIBRARIES = \
tests/libepc-tests.la
noinst_PROGRAMS = \
examples/list-resources \
examples/lookup-resource \
examples/service-browser \
examples/simple-publisher \
examples/consumer-ui \
examples/publisher-ui \
examples/server-credentials \
$(TESTS)
TESTS = \
tests/test-consumer-by-info \
tests/test-consumer-by-name \
tests/test-dispatcher-local-collision \
tests/test-dispatcher-multiple-services \
tests/test-dispatcher-rename \
tests/test-dispatcher-reset \
tests/test-dispatcher-simple-service \
tests/test-dispatcher-subtypes \
tests/test-dispatcher-unique \
tests/test-expand-name \
tests/test-progress-hooks \
tests/test-publisher-bookmarks \
tests/test-publisher-change-name \
tests/test-publisher-libsoup-494128 \
tests/test-publisher-unique \
tests/test-service-type
# ================
# -- FILE LISTS --
# ================
libepc_headers = \
$(srcdir)/libepc/consumer.h \
$(srcdir)/libepc/contents.h \
$(srcdir)/libepc/dispatcher.h \
$(srcdir)/libepc/protocol.h \
$(srcdir)/libepc/publisher.h \
$(srcdir)/libepc/service-info.h \
$(srcdir)/libepc/service-monitor.h \
$(srcdir)/libepc/service-type.h \
$(srcdir)/libepc/shell.h \
$(srcdir)/libepc/tls.h
libepc_include_HEADERS = \
$(libepc_headers) \
libepc/enums.h \
libepc/marshal.h
libepc_ui_include_HEADERS = \
$(srcdir)/libepc-ui/password-dialog.h \
$(srcdir)/libepc-ui/progress-window.h
pkgconfig_DATA = \
libepc-1.0.pc \
libepc-ui-1.0.pc
dist_noinst_SCRIPTS = \
$(srcdir)/tests/test-runner.sh
dist_noinst_DATA = \
$(srcdir)/examples/publisher.ui
$(srcdir)/gtk-doc.make \
$(gtkdoc_srcdir)/libepc-1.0-docs.xml \
$(gtkdoc_srcdir)/libepc-1.0-sections.txt \
$(srcdir)/intltool-extract.in \
$(srcdir)/intltool-merge.in \
$(srcdir)/intltool-update.in
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
BUILT_SOURCES = \
libepc/enums.c \
libepc/enums.h \
libepc/marshal.c \
libepc/marshal.h
libepc_libepc_1_0_la_SOURCES = \
$(libepc_include_HEADERS) \
libepc/consumer.c \
libepc/contents.c \
libepc/dispatcher.c \
libepc/enums.c \
libepc/enums.c.in \
libepc/enums.h.in \
libepc/marshal.c \
libepc/marshal.list \
libepc/protocol.c \
libepc/publisher.c \
libepc/service-info.c \
libepc/service-monitor.c \
libepc/service-type.c \
libepc/shell.c \
libepc/tls.c
libepc_ui_libepc_ui_1_0_la_SOURCES = \
$(libepc_ui_include_HEADERS) \
libepc-ui/password-dialog.c \
libepc-ui/progress-window.c
tests_libepc_tests_la_SOURCES = \
tests/framework.c \
tests/framework.h
# ====================
# -- COMPILER FLAGS --
# ====================
AM_CFLAGS = \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED) \
-DLOCALEDIR=\"$(localedir)\" \
-DGETTEXT_PACKAGE=\"@GETTEXT_PACKAGE@\"
example_epc_cflags = $(AM_CFLAGS) $(LIBEPC_CFLAGS)
example_epc_libs = libepc/libepc-1.0.la $(LIBEPC_LIBS)
example_epc_ui_cflags = $(example_epc_cflags) $(LIBEPC_UI_CFLAGS)
example_epc_ui_libs = $(example_epc_libs) libepc-ui/libepc-ui-1.0.la $(LIBEPC_UI_LIBS)
libepc_libepc_1_0_la_CFLAGS = $(AM_CFLAGS) $(LIBEPC_CFLAGS) -DG_LOG_DOMAIN=\"libepc\"
libepc_libepc_1_0_la_LDFLAGS = $(LIBEPC_LIBS) -version-info $(LT_VERSION_INFO)
libepc_ui_libepc_ui_1_0_la_CFLAGS = $(AM_CFLAGS) $(LIBEPC_UI_CFLAGS) -DG_LOG_DOMAIN=\"libepc-ui\"
libepc_ui_libepc_ui_1_0_la_LDFLAGS = $(LIBEPC_UI_LIBS) -version-info $(LT_VERSION_INFO)
libepc_ui_libepc_ui_1_0_la_LIBADD = libepc/libepc-1.0.la
examples_list_resources_CFLAGS = $(example_epc_cflags)
examples_list_resources_LDADD = $(example_epc_libs)
examples_lookup_resource_CFLAGS = $(example_epc_cflags)
examples_lookup_resource_LDADD = $(example_epc_libs)
examples_service_browser_CFLAGS = $(example_epc_cflags)
examples_service_browser_LDADD = $(example_epc_libs)
examples_simple_publisher_CFLAGS = $(example_epc_cflags)
examples_simple_publisher_LDADD = $(example_epc_libs)
examples_consumer_ui_CFLAGS = $(example_epc_ui_cflags) $(AVAHI_UI_CFLAGS)
examples_consumer_ui_LDADD = $(example_epc_ui_libs) $(AVAHI_UI_LIBS)
examples_publisher_ui_CFLAGS = $(example_epc_ui_cflags) $(AVAHI_UI_CFLAGS) -rdynamic
examples_publisher_ui_LDADD = $(example_epc_ui_libs) $(AVAHI_UI_LIBS)
examples_server_credentials_CFLAGS = $(example_epc_ui_cflags)
examples_server_credentials_LDADD = $(example_epc_ui_libs)
test_epc_libs = tests/libepc-tests.la $(example_epc_libs)
test_epc_ui_libs = tests/libepc-tests.la $(example_epc_ui_libs)
tests_libepc_tests_la_CFLAGS = $(example_epc_cflags)
tests_test_consumer_by_info_CFLAGS = $(example_epc_cflags)
tests_test_consumer_by_info_LDADD = $(test_epc_libs)
tests_test_consumer_by_name_CFLAGS = $(example_epc_cflags)
tests_test_consumer_by_name_LDADD = $(test_epc_libs)
tests_test_dispatcher_local_collision_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_local_collision_LDADD = $(test_epc_libs)
tests_test_dispatcher_multiple_services_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_multiple_services_LDADD = $(test_epc_libs)
tests_test_dispatcher_rename_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_rename_LDADD = $(test_epc_libs)
tests_test_dispatcher_reset_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_reset_LDADD = $(test_epc_libs)
tests_test_dispatcher_simple_service_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_simple_service_LDADD = $(test_epc_libs)
tests_test_dispatcher_subtypes_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_subtypes_LDADD = $(test_epc_libs)
tests_test_dispatcher_unique_CFLAGS = $(example_epc_cflags)
tests_test_dispatcher_unique_LDADD = $(test_epc_libs)
tests_test_expand_name_CFLAGS = $(example_epc_cflags)
tests_test_expand_name_LDADD = $(test_epc_libs)
tests_test_progress_hooks_CFLAGS = $(example_epc_ui_cflags)
tests_test_progress_hooks_LDADD = $(test_epc_ui_libs)
tests_test_publisher_bookmarks_CFLAGS = $(example_epc_cflags)
tests_test_publisher_bookmarks_LDADD = $(test_epc_libs)
tests_test_publisher_change_name_CFLAGS = $(example_epc_cflags)
tests_test_publisher_change_name_LDADD = $(test_epc_libs)
tests_test_publisher_libsoup_494128_CFLAGS = $(example_epc_cflags)
tests_test_publisher_libsoup_494128_LDADD = $(test_epc_libs)
tests_test_publisher_unique_CFLAGS = $(example_epc_cflags)
tests_test_publisher_unique_LDADD = $(test_epc_libs)
tests_test_service_type_CFLAGS = $(example_epc_cflags)
tests_test_service_type_LDADD = $(test_epc_libs)
# ==================
# -- CUSTOM RULES --
# ==================
libepc/marshal.h: $(srcdir)/libepc/marshal.list
{ echo '/* Generated by $(GLIB_GENMARSHAL) from $< */' && \
$(GLIB_GENMARSHAL) $< --header --prefix=_epc_marshal; } > $@ || \
{ rm -f $@; false; }
libepc/marshal.c: $(srcdir)/libepc/marshal.list
{ echo '/* Generated by $(GLIB_GENMARSHAL) from $< */' && \
echo '#include "marshal.h"' && \
$(GLIB_GENMARSHAL) $< --body --prefix=_epc_marshal; } > $@ || \
{ rm -f $@; false; }
libepc/enums.h.tmp: $(srcdir)/libepc/enums.h.in $(libepc_headers)
$(GLIB_MKENUMS) --template $< $(libepc_headers) > $@ || { rm -f $@; false; }
libepc/enums.h.stamp: libepc/enums.h.tmp
cmp -s $< libepc/enums.h || cp $< libepc/enums.h; touch $@
libepc/enums.h: libepc/enums.h.stamp
libepc/enums.c.tmp: $(srcdir)/libepc/enums.c.in $(libepc_headers)
$(GLIB_MKENUMS) --template $< $(libepc_headers) > $@ || { rm -f $@; false; }
libepc/enums.c.stamp: libepc/enums.c.tmp
cmp -s $< libepc/enums.c || cp $< libepc/enums.c; touch $@
libepc/enums.c: libepc/enums.c.stamp
# =========================
# -- GTK-DOC INTEGRATION --
# =========================
all-local: $(lib_LTLIBRARIES)
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) all
clean-local:
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) clean
rm -f $(BUILT_SOURCES) examples/.libs/*
rm -f libepc/*.stamp libepc/*.tmp
rm -f tests/*.err tests/*.out
distclean-local:
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) distclean
docs: $(lib_LTLIBRARIES)
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) docs
install-data-local:
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) install-data
uninstall-local:
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) uninstall
dist-hook:
mkdir -p $(gtkdoc_distdir)
cp $(gtkdoc_srcdir)/Makefile.am $(gtkdoc_srcdir)/Makefile.in $(gtkdoc_distdir)
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) \
distdir="../../../$(gtkdoc_distdir)" \
top_distdir="../../../$(top_distdir)" \
dist-hook
.PHONY: docs
SUBDIRS = po
# =====================
# -- LOCAL OVERRIDES --
# =====================
-include Makefile.local
This diff is collapsed.
Release 0.4.4
==============
* Correct the libepc-1.0 pkg-config file to mention gnutls
(David King) Bug #668882
Release 0.4.3
==============
* Correct the libepc-ui-1.0 pkg-config file.
(Michael Biebl) Bug #664502
Release 0.4.2
==============
* Build:
- examples: Fix linker problems.
(Murray Cumming)
- Avoid use of deprecated G_CONST_RETURN.
(Ionut Biru) Bug #660558
Release 0.4.1
==============
* Really use gtk+ 3 in libepc-ui.
(Murray Cumming) Bug #657679 (Frederic Peters)
Release 0.4.0
==============
* Use avahi-ui-gtk3, and therefore GTK+ 3, instead of avahi-ui, which
used GTK+ 2. This is an ABI change, but libepc is still an unstable
library anyway.
Bug #649404 (Christopher Dale)
* Fix compilation with GSEAL_ENABLE defined.
(David King)
Release 0.3.11
==============
* Change a string and add a translator comment. (Murray Cumming)
Bug #589339 (Luca Ferretti)
* Fix build failure on kFreeBSD. (Josselin Mouette) Bug #592474
(Petr Salinger)
* Use gtk_widget_get_visible() on GTK+ >= 2.19.7. (Andre Klapper,
David King) Bug #612108.
* Modernise autotools configuration. (David King) Bug #613316.
* Fix some compiler warnings. (David King)
Translation Updates
-------------------
Italian (Luca Ferretti)
Spanish (Jorge González)
Swedish (Daniel Nylander)
Polish (Piotr Drąg)
German (Mario Blättermann)
Danish (Joe Hansen)
Czech (Marek Černocký)
Slovenian (Matej Urbančič)
Simplified Chinese (YunQiang Su)
Galician (Fran Diéguez)
French (Bruno Brouard)
Release 0.3.10
==============
* epc_shell_create_service_browser(): Fix a warning about
no return value, possibly avoiding a crash elsewhere.
(Murray Cumming) Bug #583000 (Vincent Untz).
Release 0.3.9
=============
* epc_shell_create_service_browser(): Avoid overwriting a GError.
(Murray Cumming)
* Build: Use single GTK+ includes. (Cosimo Cecchi)
* Tests: Get default address of system D-Bus from pkg-config.
(Mathias Hasselmann)
Release 0.3.8
=============
* Drop redundant epc_gettext() function. (Mathias Hasselmann).
* Make unit tests more robust. (Mathias Hasselmann).
Release 0.3.7
=============
* Fix the examples and tests build on some platforms
(Götz Waschk, Murray Cumming) Bug #556689.
Release 0.3.6
=============
* Build Fixes:
- Add check for gthread. (Brian Pepple) Bug #553181.
- Properly express dependencies of libepc-ui-1.0.la.
(Mathias Hasselmann)
* Avoid a crash. (Murray Cumming) Bug #540631.
* Avoid a crash. (Mathias Hasselmann) Bug #539630.
Release 0.3.5
=============
* Upgrade the test suite to handle multiple active network interfaces.
* Plugged two small memory leaks in EpcDispatcher and EpcPublisher.
* Specify charset for the publisher's TOC (#523992).
* Small build fixes.
Translation Updates
-------------------
British English (Philip Withnall)
Finnish (Ilkka Tuohela)
French (Quevi Jessye)
Greek (Giannis Katsampiris)
Swedish (Daniel Nylander)
Release 0.3.4
=============
Major Changes
-------------
* Optional support for libsoup 2.4. Initial patch by Dan Winship.
* Localization support via intltool (#510465, Luca Ferretti).
Minor Changes
-------------
* Support authentication credentials in lookup-resource example.
* Separate between primary and secondary message in EpcPasswordDialog to
match appearance of GtkMessageDialog. Correct label alignment issues.
Translation Updates
-------------------
Catalan (Gil Forcada)
German (Mathias Hasselmann)
Spanish (Jorge González)
Swedish (Daniel Nylander)
Release 0.3.3
=============
* Use correct libtool version information (#509503).
Release 0.3.2
=============
* Build with latest gio version (#508272, Emilio Pozuelo Monfort).
* Explictly add copyright statements to make licensecheck happy.
Reported by Pedro Fragoso.
Release 0.3.1
=============
* Alternate collision handling strategy, that establishes illusion
of a single service, when the same resource is available multiple
times.
* Use correct libdir on x86_64 (#502531, Brian Pepple).
* Use proper gtk-doc syntax for linking to functions.
* Improve parallel building of documentation.
* Get MIME type of files from gio when available.
* Correctly interpret protocol list passed to epc_service_monitor_new.
* Fix some minor memory leaks.
Release 0.3
===========
Major Changes
-------------
* Implement streaming capabilities.
* Provide EpcServiceMonitor by extracting EpcConsumer code.
* Support for dynamic ZeroConf bookmarks.
* Allow custom service path for publishing contents.
* Use one single AvahiClient for filtering out our own services.
* Allow plain-text authentication in HTTPS mode.
* Use a time based UUID as serial for self-signed certificates (#500251).
* Don't care anymore about GDK's broken threading support.
* Implement locking for HTTP request handlers.
* Add functions to allow usage of EpcPublisher as local key/value store.
* Fore server shutdown in epc_publisher_quit and disconnect clients.
* More examples, for instance for desktop usage of EpcPublisher.
* Drop "reauthenticate" signal in EpcConsumer.
* Make EpcProgressWindow more versatile.
Other Changes
-------------
* Many documentation improvements from Murray Cumming.
* Add epc_publisher_expand_name for constructing service names.
* Depend on gnutls 1.4 instead of 1.6 (#500251).
* Show message on root page when no resources have been published yet.
* Properly passing authentication settings to libsoup.
* Add error argument to epc_shell_get_host_name.
* Support zero terminated strings in epc_contents_new.
* Introduce epc_contents_new_dup.
* Use simpler directory hierarchy for storing certificates.
* Drop epc_shell_ref and epc_shell_unref and use g_atexit for cleanup.
* Replace the global _epc_debug variable by epc_shell_get_debug_level.
* Also document the EPC_DEBUG environment variable.
* Change some function signatures for consistency.
* Improve memory handling of EpcContents.
* Add epc_publisher_get_url and epc_publisher_list.
* Introduce epc_protocol_from_name.
* Reuse epc_publisher_list function for HTTP request handlers.
* Move progress reporting from EpcTls to EpcSell.
* Rename EpcEntropyWindow to EpcProgressWindow.
* Add error reporting to epc_publisher_run and epc_publisher_run_async.
Release 0.2
===========
First public release of the Easy Publish and Consume Library.
Publish and Consume Library
Copyright (C) 2007, 2008 Openismus GmbH
ABSTRACT
========
The Easy Publish and Consume library provides an easy method to:
* publish data per HTTPS
* announce that information via DNS-SD
* find that information
* and finally consume it
You can use this library as key/value store published to the network,
using encryption, authentication and service discovery.
REQUIREMENTS
============
The libepc library depends on:
* avahi-client >= 0.6
* avahi-glib >= 0.6
* glib >= 2.12
* gmodule-2.0 >= 2.0
* gobject >= 2.4
* gnutls >= 1.4
* libsoup >= 2.2
* libuuid >= 0.36 [1]
Additionally libepc-ui uses:
* gtk+ >= 2.10
And finally the examples need:
* avahi-ui >= 0.6
[1] NOTICE: Currently Debian, Ubuntu and derivates have the development
files of libuuid in the "uuid-dev" package instead of "libuuid-dev",
which would be the expected package name (IMHO). Well, but surprisingly
there are no naming conventions for development packages, as I was told
on #debian-devel.
SOURCE CODE
===========
* Examples: http://svn.gnome.org/viewvc/libepc/trunk/examples/
* Tarballs: http://ftp.gnome.org/pub/gnome/sources/libepc/
* Subversion: http://svn.gnome.org/svn/libepc/trunk/
BUG REPORTS
===========
* http://bugzilla.gnome.org/enter_bug.cgi?product=libepc
PROJECTS USING THE LIBRARY
==========================
* Glom - http://www.glom.org/
Database designer and user interface
LICENSE
=======
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
This diff is collapsed.
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2009-10-06.20; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand `-c -o'.
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file `INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
esac
ofile=
cfile=
eat=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we strip `-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
This diff is collapsed.
/* config.h.in. Generated from configure.ac by autoheader. */
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS