Merge branch 'master' of git.unix7.org:ziggi/cworker
This commit is contained in:
183
Makefile
183
Makefile
@@ -1,7 +1,7 @@
|
|||||||
# Makefile.in generated by automake 1.16.3 from Makefile.am.
|
# Makefile.in generated by automake 1.16.1 from Makefile.am.
|
||||||
# Makefile. Generated from Makefile.in by configure.
|
# Makefile. Generated from Makefile.in by configure.
|
||||||
|
|
||||||
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -86,8 +86,8 @@ POST_INSTALL = :
|
|||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
build_triplet = x86_64-pc-linux-gnu
|
build_triplet = amd64-unknown-freebsd12.4
|
||||||
host_triplet = x86_64-pc-linux-gnu
|
host_triplet = amd64-unknown-freebsd12.4
|
||||||
sbin_PROGRAMS = cworker$(EXEEXT)
|
sbin_PROGRAMS = cworker$(EXEEXT)
|
||||||
noinst_PROGRAMS = $(am__EXEEXT_1)
|
noinst_PROGRAMS = $(am__EXEEXT_1)
|
||||||
subdir = .
|
subdir = .
|
||||||
@@ -103,21 +103,40 @@ mkinstalldirs = $(install_sh) -d
|
|||||||
CONFIG_HEADER = defines.h
|
CONFIG_HEADER = defines.h
|
||||||
CONFIG_CLEAN_FILES = config.h
|
CONFIG_CLEAN_FILES = config.h
|
||||||
CONFIG_CLEAN_VPATH_FILES =
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
am__EXEEXT_1 = cfparser_test$(EXEEXT) clparser_test$(EXEEXT)
|
am__EXEEXT_1 = cfparser_test$(EXEEXT) clparser_test$(EXEEXT) \
|
||||||
|
cflexer_test$(EXEEXT) cfparser_test$(EXEEXT) \
|
||||||
|
cllexer_test$(EXEEXT) clparser_test$(EXEEXT) \
|
||||||
|
jlexer_test$(EXEEXT) jparser_test$(EXEEXT) \
|
||||||
|
rcache_test$(EXEEXT)
|
||||||
am__installdirs = "$(DESTDIR)$(sbindir)"
|
am__installdirs = "$(DESTDIR)$(sbindir)"
|
||||||
PROGRAMS = $(noinst_PROGRAMS) $(sbin_PROGRAMS)
|
PROGRAMS = $(noinst_PROGRAMS) $(sbin_PROGRAMS)
|
||||||
am__objects_1 = cflexer.$(OBJEXT) cfparser.$(OBJEXT) cllexer.$(OBJEXT) \
|
am__objects_1 = cflexer.$(OBJEXT) cfparser.$(OBJEXT) cllexer.$(OBJEXT) \
|
||||||
clparser.$(OBJEXT) jlexer.$(OBJEXT) jparser.$(OBJEXT) \
|
clparser.$(OBJEXT) jlexer.$(OBJEXT) jparser.$(OBJEXT) \
|
||||||
logger.$(OBJEXT) massert.$(OBJEXT) rcache.$(OBJEXT)
|
logger.$(OBJEXT) massert.$(OBJEXT) rcache.$(OBJEXT)
|
||||||
|
am_cflexer_test_OBJECTS = cflexer_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
cflexer_test_OBJECTS = $(am_cflexer_test_OBJECTS)
|
||||||
|
cflexer_test_LDADD = $(LDADD)
|
||||||
am_cfparser_test_OBJECTS = cfparser_test.$(OBJEXT) $(am__objects_1)
|
am_cfparser_test_OBJECTS = cfparser_test.$(OBJEXT) $(am__objects_1)
|
||||||
cfparser_test_OBJECTS = $(am_cfparser_test_OBJECTS)
|
cfparser_test_OBJECTS = $(am_cfparser_test_OBJECTS)
|
||||||
cfparser_test_LDADD = $(LDADD)
|
cfparser_test_LDADD = $(LDADD)
|
||||||
|
am_cllexer_test_OBJECTS = cllexer_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
cllexer_test_OBJECTS = $(am_cllexer_test_OBJECTS)
|
||||||
|
cllexer_test_LDADD = $(LDADD)
|
||||||
am_clparser_test_OBJECTS = clparser_test.$(OBJEXT) $(am__objects_1)
|
am_clparser_test_OBJECTS = clparser_test.$(OBJEXT) $(am__objects_1)
|
||||||
clparser_test_OBJECTS = $(am_clparser_test_OBJECTS)
|
clparser_test_OBJECTS = $(am_clparser_test_OBJECTS)
|
||||||
clparser_test_LDADD = $(LDADD)
|
clparser_test_LDADD = $(LDADD)
|
||||||
am_cworker_OBJECTS = main.$(OBJEXT) cworker.$(OBJEXT) $(am__objects_1)
|
am_cworker_OBJECTS = main.$(OBJEXT) cworker.$(OBJEXT) $(am__objects_1)
|
||||||
cworker_OBJECTS = $(am_cworker_OBJECTS)
|
cworker_OBJECTS = $(am_cworker_OBJECTS)
|
||||||
cworker_LDADD = $(LDADD)
|
cworker_LDADD = $(LDADD)
|
||||||
|
am_jlexer_test_OBJECTS = jlexer_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
jlexer_test_OBJECTS = $(am_jlexer_test_OBJECTS)
|
||||||
|
jlexer_test_LDADD = $(LDADD)
|
||||||
|
am_jparser_test_OBJECTS = jparser_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
jparser_test_OBJECTS = $(am_jparser_test_OBJECTS)
|
||||||
|
jparser_test_LDADD = $(LDADD)
|
||||||
|
am_rcache_test_OBJECTS = rcache_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
rcache_test_OBJECTS = $(am_rcache_test_OBJECTS)
|
||||||
|
rcache_test_LDADD = $(LDADD)
|
||||||
AM_V_P = $(am__v_P_$(V))
|
AM_V_P = $(am__v_P_$(V))
|
||||||
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
|
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
|
||||||
am__v_P_0 = false
|
am__v_P_0 = false
|
||||||
@@ -145,17 +164,21 @@ AM_V_CCLD = $(am__v_CCLD_$(V))
|
|||||||
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
|
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
|
||||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
am__v_CCLD_1 =
|
am__v_CCLD_1 =
|
||||||
SOURCES = $(cfparser_test_SOURCES) $(clparser_test_SOURCES) \
|
SOURCES = $(cflexer_test_SOURCES) $(cfparser_test_SOURCES) \
|
||||||
$(cworker_SOURCES)
|
$(cllexer_test_SOURCES) $(clparser_test_SOURCES) \
|
||||||
DIST_SOURCES = $(cfparser_test_SOURCES) $(clparser_test_SOURCES) \
|
$(cworker_SOURCES) $(jlexer_test_SOURCES) \
|
||||||
$(cworker_SOURCES)
|
$(jparser_test_SOURCES) $(rcache_test_SOURCES)
|
||||||
|
DIST_SOURCES = $(cflexer_test_SOURCES) $(cfparser_test_SOURCES) \
|
||||||
|
$(cllexer_test_SOURCES) $(clparser_test_SOURCES) \
|
||||||
|
$(cworker_SOURCES) $(jlexer_test_SOURCES) \
|
||||||
|
$(jparser_test_SOURCES) $(rcache_test_SOURCES)
|
||||||
am__can_run_installinfo = \
|
am__can_run_installinfo = \
|
||||||
case $$AM_UPDATE_INFO_DIR in \
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
n|no|NO) false;; \
|
n|no|NO) false;; \
|
||||||
*) (install-info --version) >/dev/null 2>&1;; \
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
esac
|
esac
|
||||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
||||||
defines.h.in
|
$(LISP)defines.h.in
|
||||||
# Read a list of newline-separated strings from the standard input,
|
# Read a list of newline-separated strings from the standard input,
|
||||||
# and print each of them once, without duplicates. Input order is
|
# and print each of them once, without duplicates. Input order is
|
||||||
# *not* preserved.
|
# *not* preserved.
|
||||||
@@ -192,31 +215,28 @@ am__post_remove_distdir = $(am__remove_distdir)
|
|||||||
DIST_ARCHIVES = $(distdir).tar.gz
|
DIST_ARCHIVES = $(distdir).tar.gz
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
DIST_TARGETS = dist-gzip
|
DIST_TARGETS = dist-gzip
|
||||||
# Exists only to be overridden by the user if desired.
|
|
||||||
AM_DISTCHECK_DVI_TARGET = dvi
|
|
||||||
distuninstallcheck_listfiles = find . -type f -print
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||||
distcleancheck_listfiles = find . -type f -print
|
distcleancheck_listfiles = find . -type f -print
|
||||||
ACLOCAL = ${SHELL} '/dat2/home/ziggi/projects/cworker/missing' aclocal-1.16
|
ACLOCAL = ${SHELL} /home/ziggi/Projects/jcomp/missing aclocal
|
||||||
AMTAR = $${TAR-tar}
|
AMTAR = $${TAR-tar}
|
||||||
AM_DEFAULT_VERBOSITY = 1
|
AM_DEFAULT_VERBOSITY = 1
|
||||||
APP_CACHEDIR = /dat2/home/ziggi/projects/cworker/cache
|
APP_CACHEDIR = /home/ziggi/Projects/jcomp/cache
|
||||||
APP_CONFIGDIR = /dat2/home/ziggi/projects/cworker/
|
APP_CONFIGDIR = /home/ziggi/Projects/jcomp/
|
||||||
APP_DATABASEDIR = /dat2/home/ziggi/projects/cworker/data
|
APP_DATABASEDIR = /home/ziggi/Projects/jcomp/data
|
||||||
APP_LIBDIR = /dat2/home/ziggi/projects/cworker/lib
|
APP_LIBDIR = /home/ziggi/Projects/jcomp/lib
|
||||||
APP_LOGDIR = /dat2/home/ziggi/projects/cworker/log
|
APP_LOGDIR = /home/ziggi/Projects/jcomp/log
|
||||||
APP_RUNDIR = /dat2/home/ziggi/projects/cworker/run
|
APP_RUNDIR = /home/ziggi/Projects/jcomp/run
|
||||||
APP_USER = root
|
APP_USER = ziggi
|
||||||
AUTOCONF = ${SHELL} '/dat2/home/ziggi/projects/cworker/missing' autoconf
|
AUTOCONF = ${SHELL} /home/ziggi/Projects/jcomp/missing autoconf
|
||||||
AUTOHEADER = ${SHELL} '/dat2/home/ziggi/projects/cworker/missing' autoheader
|
AUTOHEADER = ${SHELL} /home/ziggi/Projects/jcomp/missing autoheader
|
||||||
AUTOMAKE = ${SHELL} '/dat2/home/ziggi/projects/cworker/missing' automake-1.16
|
AUTOMAKE = ${SHELL} /home/ziggi/Projects/jcomp/missing automake
|
||||||
AWK = gawk
|
AWK = gawk
|
||||||
CC = clang
|
CC = clang
|
||||||
CCDEPMODE = depmode=none
|
CCDEPMODE = depmode=none
|
||||||
CFLAGS = -g -O2
|
CFLAGS = -g -O2
|
||||||
CP =
|
CP = /usr/local/bin/gcp
|
||||||
CPP = clang -E
|
|
||||||
CPPFLAGS =
|
CPPFLAGS =
|
||||||
CYGPATH_W = echo
|
CYGPATH_W = echo
|
||||||
DEFS = -DHAVE_CONFIG_H
|
DEFS = -DHAVE_CONFIG_H
|
||||||
@@ -224,11 +244,9 @@ DEPDIR = .deps
|
|||||||
ECHO_C =
|
ECHO_C =
|
||||||
ECHO_N = -n
|
ECHO_N = -n
|
||||||
ECHO_T =
|
ECHO_T =
|
||||||
EGREP = /bin/grep -E
|
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
GREP = /bin/grep
|
|
||||||
HAVE_CP = true
|
HAVE_CP = true
|
||||||
INSTALL = /bin/install -c
|
INSTALL = /usr/bin/install -c
|
||||||
INSTALL_DATA = ${INSTALL} -m 644
|
INSTALL_DATA = ${INSTALL} -m 644
|
||||||
INSTALL_PROGRAM = ${INSTALL}
|
INSTALL_PROGRAM = ${INSTALL}
|
||||||
INSTALL_SCRIPT = ${INSTALL}
|
INSTALL_SCRIPT = ${INSTALL}
|
||||||
@@ -237,8 +255,8 @@ LDFLAGS =
|
|||||||
LIBOBJS =
|
LIBOBJS =
|
||||||
LIBS =
|
LIBS =
|
||||||
LTLIBOBJS =
|
LTLIBOBJS =
|
||||||
MAKEINFO = ${SHELL} '/dat2/home/ziggi/projects/cworker/missing' makeinfo
|
MAKEINFO = ${SHELL} /home/ziggi/Projects/jcomp/missing makeinfo
|
||||||
MKDIR_P = /bin/mkdir -p
|
MKDIR_P = /usr/local/bin/gmkdir -p
|
||||||
OBJEXT = o
|
OBJEXT = o
|
||||||
PACKAGE = cworker
|
PACKAGE = cworker
|
||||||
PACKAGE_BUGREPORT =
|
PACKAGE_BUGREPORT =
|
||||||
@@ -251,47 +269,47 @@ PATH_SEPARATOR = :
|
|||||||
SET_MAKE =
|
SET_MAKE =
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
STRIP =
|
STRIP =
|
||||||
VALGRIND = /bin/valgrind
|
VALGRIND = /usr/local/bin/valgrind
|
||||||
VERSION = 0.0.1
|
VERSION = 0.0.1
|
||||||
abs_builddir = /dat2/home/ziggi/projects/cworker
|
abs_builddir = /home/ziggi/Projects/jcomp
|
||||||
abs_srcdir = /dat2/home/ziggi/projects/cworker
|
abs_srcdir = /home/ziggi/Projects/jcomp
|
||||||
abs_top_builddir = /dat2/home/ziggi/projects/cworker
|
abs_top_builddir = /home/ziggi/Projects/jcomp
|
||||||
abs_top_srcdir = /dat2/home/ziggi/projects/cworker
|
abs_top_srcdir = /home/ziggi/Projects/jcomp
|
||||||
ac_ct_CC = clang
|
ac_ct_CC = clang
|
||||||
am__include = include
|
am__include = include
|
||||||
am__leading_dot = .
|
am__leading_dot = .
|
||||||
am__quote =
|
am__quote =
|
||||||
am__tar = $${TAR-tar} chof - "$$tardir"
|
am__tar = $${TAR-tar} chof - "$$tardir"
|
||||||
am__untar = $${TAR-tar} xf -
|
am__untar = $${TAR-tar} xf -
|
||||||
app_cachedir = /dat2/home/ziggi/projects/cworker/cache
|
app_cachedir = /home/ziggi/Projects/jcomp/cache
|
||||||
app_configdir = /dat2/home/ziggi/projects/cworker/
|
app_configdir = /home/ziggi/Projects/jcomp/
|
||||||
app_databasedir = /dat2/home/ziggi/projects/cworker/data
|
app_databasedir = /home/ziggi/Projects/jcomp/data
|
||||||
app_libdir = /dat2/home/ziggi/projects/cworker/lib
|
app_libdir = /home/ziggi/Projects/jcomp/lib
|
||||||
app_logdir = /dat2/home/ziggi/projects/cworker/log
|
app_logdir = /home/ziggi/Projects/jcomp/log
|
||||||
app_name = cworker
|
app_name = cworker
|
||||||
app_rundir = /dat2/home/ziggi/projects/cworker/run
|
app_rundir = /home/ziggi/Projects/jcomp/run
|
||||||
app_user = root
|
app_user = ziggi
|
||||||
bindir = ${exec_prefix}/bin
|
bindir = ${exec_prefix}/bin
|
||||||
build = x86_64-pc-linux-gnu
|
build = amd64-unknown-freebsd12.4
|
||||||
build_alias =
|
build_alias =
|
||||||
build_cpu = x86_64
|
build_cpu = amd64
|
||||||
build_os = linux-gnu
|
build_os = freebsd12.4
|
||||||
build_vendor = pc
|
build_vendor = unknown
|
||||||
builddir = .
|
builddir = .
|
||||||
datadir = ${datarootdir}
|
datadir = ${datarootdir}
|
||||||
datarootdir = ${prefix}/share
|
datarootdir = ${prefix}/share
|
||||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||||
dvidir = ${docdir}
|
dvidir = ${docdir}
|
||||||
exec_prefix = ${prefix}
|
exec_prefix = ${prefix}
|
||||||
host = x86_64-pc-linux-gnu
|
host = amd64-unknown-freebsd12.4
|
||||||
host_alias =
|
host_alias =
|
||||||
host_cpu = x86_64
|
host_cpu = amd64
|
||||||
host_os = linux-gnu
|
host_os = freebsd12.4
|
||||||
host_vendor = pc
|
host_vendor = unknown
|
||||||
htmldir = ${docdir}
|
htmldir = ${docdir}
|
||||||
includedir = ${prefix}/include
|
includedir = ${prefix}/include
|
||||||
infodir = ${datarootdir}/info
|
infodir = ${datarootdir}/info
|
||||||
install_sh = ${SHELL} /dat2/home/ziggi/projects/cworker/install-sh
|
install_sh = ${SHELL} /home/ziggi/Projects/jcomp/install-sh
|
||||||
libdir = ${exec_prefix}/lib
|
libdir = ${exec_prefix}/lib
|
||||||
libexecdir = ${exec_prefix}/libexec
|
libexecdir = ${exec_prefix}/libexec
|
||||||
localedir = ${datarootdir}/locale
|
localedir = ${datarootdir}/locale
|
||||||
@@ -340,7 +358,14 @@ common_SOURCES = \
|
|||||||
#VALGRIND_OPT = --tool=memcheck
|
#VALGRIND_OPT = --tool=memcheck
|
||||||
bin_TESTS = \
|
bin_TESTS = \
|
||||||
cfparser_test \
|
cfparser_test \
|
||||||
clparser_test
|
clparser_test \
|
||||||
|
cflexer_test \
|
||||||
|
cfparser_test \
|
||||||
|
cllexer_test \
|
||||||
|
clparser_test \
|
||||||
|
jlexer_test \
|
||||||
|
jparser_test \
|
||||||
|
rcache_test
|
||||||
|
|
||||||
#TESTS = $(bin_TESTS)
|
#TESTS = $(bin_TESTS)
|
||||||
cflexer_test_SOURCES = cflexer_test.c $(common_SOURCES)
|
cflexer_test_SOURCES = cflexer_test.c $(common_SOURCES)
|
||||||
@@ -451,10 +476,18 @@ uninstall-sbinPROGRAMS:
|
|||||||
clean-sbinPROGRAMS:
|
clean-sbinPROGRAMS:
|
||||||
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
||||||
|
|
||||||
|
cflexer_test$(EXEEXT): $(cflexer_test_OBJECTS) $(cflexer_test_DEPENDENCIES) $(EXTRA_cflexer_test_DEPENDENCIES)
|
||||||
|
@rm -f cflexer_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(cflexer_test_OBJECTS) $(cflexer_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
cfparser_test$(EXEEXT): $(cfparser_test_OBJECTS) $(cfparser_test_DEPENDENCIES) $(EXTRA_cfparser_test_DEPENDENCIES)
|
cfparser_test$(EXEEXT): $(cfparser_test_OBJECTS) $(cfparser_test_DEPENDENCIES) $(EXTRA_cfparser_test_DEPENDENCIES)
|
||||||
@rm -f cfparser_test$(EXEEXT)
|
@rm -f cfparser_test$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(cfparser_test_OBJECTS) $(cfparser_test_LDADD) $(LIBS)
|
$(AM_V_CCLD)$(LINK) $(cfparser_test_OBJECTS) $(cfparser_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
cllexer_test$(EXEEXT): $(cllexer_test_OBJECTS) $(cllexer_test_DEPENDENCIES) $(EXTRA_cllexer_test_DEPENDENCIES)
|
||||||
|
@rm -f cllexer_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(cllexer_test_OBJECTS) $(cllexer_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
clparser_test$(EXEEXT): $(clparser_test_OBJECTS) $(clparser_test_DEPENDENCIES) $(EXTRA_clparser_test_DEPENDENCIES)
|
clparser_test$(EXEEXT): $(clparser_test_OBJECTS) $(clparser_test_DEPENDENCIES) $(EXTRA_clparser_test_DEPENDENCIES)
|
||||||
@rm -f clparser_test$(EXEEXT)
|
@rm -f clparser_test$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(clparser_test_OBJECTS) $(clparser_test_LDADD) $(LIBS)
|
$(AM_V_CCLD)$(LINK) $(clparser_test_OBJECTS) $(clparser_test_LDADD) $(LIBS)
|
||||||
@@ -463,6 +496,18 @@ cworker$(EXEEXT): $(cworker_OBJECTS) $(cworker_DEPENDENCIES) $(EXTRA_cworker_DEP
|
|||||||
@rm -f cworker$(EXEEXT)
|
@rm -f cworker$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(cworker_OBJECTS) $(cworker_LDADD) $(LIBS)
|
$(AM_V_CCLD)$(LINK) $(cworker_OBJECTS) $(cworker_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
jlexer_test$(EXEEXT): $(jlexer_test_OBJECTS) $(jlexer_test_DEPENDENCIES) $(EXTRA_jlexer_test_DEPENDENCIES)
|
||||||
|
@rm -f jlexer_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(jlexer_test_OBJECTS) $(jlexer_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
jparser_test$(EXEEXT): $(jparser_test_OBJECTS) $(jparser_test_DEPENDENCIES) $(EXTRA_jparser_test_DEPENDENCIES)
|
||||||
|
@rm -f jparser_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(jparser_test_OBJECTS) $(jparser_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
rcache_test$(EXEEXT): $(rcache_test_OBJECTS) $(rcache_test_DEPENDENCIES) $(EXTRA_rcache_test_DEPENDENCIES)
|
||||||
|
@rm -f rcache_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(rcache_test_OBJECTS) $(rcache_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
mostlyclean-compile:
|
mostlyclean-compile:
|
||||||
-rm -f *.$(OBJEXT)
|
-rm -f *.$(OBJEXT)
|
||||||
|
|
||||||
@@ -589,10 +634,6 @@ dist-xz: distdir
|
|||||||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||||
$(am__post_remove_distdir)
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
dist-zstd: distdir
|
|
||||||
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
|
|
||||||
$(am__post_remove_distdir)
|
|
||||||
|
|
||||||
dist-tarZ: distdir
|
dist-tarZ: distdir
|
||||||
@echo WARNING: "Support for distribution archives compressed with" \
|
@echo WARNING: "Support for distribution archives compressed with" \
|
||||||
"legacy program 'compress' is deprecated." >&2
|
"legacy program 'compress' is deprecated." >&2
|
||||||
@@ -635,8 +676,6 @@ distcheck: dist
|
|||||||
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
||||||
*.zip*) \
|
*.zip*) \
|
||||||
unzip $(distdir).zip ;;\
|
unzip $(distdir).zip ;;\
|
||||||
*.tar.zst*) \
|
|
||||||
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
|
|
||||||
esac
|
esac
|
||||||
chmod -R a-w $(distdir)
|
chmod -R a-w $(distdir)
|
||||||
chmod u+w $(distdir)
|
chmod u+w $(distdir)
|
||||||
@@ -652,7 +691,7 @@ distcheck: dist
|
|||||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
@@ -817,18 +856,18 @@ uninstall-am: uninstall-sbinPROGRAMS
|
|||||||
clean-cscope clean-generic clean-local clean-noinstPROGRAMS \
|
clean-cscope clean-generic clean-local clean-noinstPROGRAMS \
|
||||||
clean-sbinPROGRAMS cscope cscopelist-am ctags ctags-am dist \
|
clean-sbinPROGRAMS cscope cscopelist-am ctags ctags-am dist \
|
||||||
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
||||||
dist-xz dist-zip dist-zstd distcheck distclean \
|
dist-xz dist-zip distcheck distclean distclean-compile \
|
||||||
distclean-compile distclean-generic distclean-hdr \
|
distclean-generic distclean-hdr distclean-tags distcleancheck \
|
||||||
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
distdir distuninstallcheck dvi dvi-am html html-am info \
|
||||||
dvi-am html html-am info info-am install install-am \
|
info-am install install-am install-data install-data-am \
|
||||||
install-data install-data-am install-dvi install-dvi-am \
|
install-dvi install-dvi-am install-exec install-exec-am \
|
||||||
install-exec install-exec-am install-html install-html-am \
|
install-html install-html-am install-info install-info-am \
|
||||||
install-info install-info-am install-man install-pdf \
|
install-man install-pdf install-pdf-am install-ps \
|
||||||
install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
|
install-ps-am install-sbinPROGRAMS install-strip installcheck \
|
||||||
install-strip installcheck installcheck-am installdirs \
|
installcheck-am installdirs maintainer-clean \
|
||||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
|
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||||
tags tags-am uninstall uninstall-am uninstall-sbinPROGRAMS
|
uninstall-am uninstall-sbinPROGRAMS
|
||||||
|
|
||||||
.PRECIOUS: Makefile
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|||||||
19
Makefile.am
19
Makefile.am
@@ -58,17 +58,14 @@ valgrind: $(bin_TESTS)
|
|||||||
|
|
||||||
bin_TESTS = \
|
bin_TESTS = \
|
||||||
cfparser_test \
|
cfparser_test \
|
||||||
clparser_test
|
clparser_test \
|
||||||
|
cflexer_test \
|
||||||
|
cfparser_test \
|
||||||
|
cllexer_test \
|
||||||
# cflexer_test \
|
clparser_test \
|
||||||
# cfparser_test \
|
jlexer_test \
|
||||||
# cllexer_test \
|
jparser_test \
|
||||||
# clparser_test \
|
rcache_test
|
||||||
# jlexer_test \
|
|
||||||
# jparser_test \
|
|
||||||
# rcache_test
|
|
||||||
|
|
||||||
noinst_PROGRAMS = $(bin_TESTS)
|
noinst_PROGRAMS = $(bin_TESTS)
|
||||||
#TESTS = $(bin_TESTS)
|
#TESTS = $(bin_TESTS)
|
||||||
|
|||||||
107
Makefile.in
107
Makefile.in
@@ -1,7 +1,7 @@
|
|||||||
# Makefile.in generated by automake 1.16.3 from Makefile.am.
|
# Makefile.in generated by automake 1.16.1 from Makefile.am.
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -103,21 +103,40 @@ mkinstalldirs = $(install_sh) -d
|
|||||||
CONFIG_HEADER = defines.h
|
CONFIG_HEADER = defines.h
|
||||||
CONFIG_CLEAN_FILES = config.h
|
CONFIG_CLEAN_FILES = config.h
|
||||||
CONFIG_CLEAN_VPATH_FILES =
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
am__EXEEXT_1 = cfparser_test$(EXEEXT) clparser_test$(EXEEXT)
|
am__EXEEXT_1 = cfparser_test$(EXEEXT) clparser_test$(EXEEXT) \
|
||||||
|
cflexer_test$(EXEEXT) cfparser_test$(EXEEXT) \
|
||||||
|
cllexer_test$(EXEEXT) clparser_test$(EXEEXT) \
|
||||||
|
jlexer_test$(EXEEXT) jparser_test$(EXEEXT) \
|
||||||
|
rcache_test$(EXEEXT)
|
||||||
am__installdirs = "$(DESTDIR)$(sbindir)"
|
am__installdirs = "$(DESTDIR)$(sbindir)"
|
||||||
PROGRAMS = $(noinst_PROGRAMS) $(sbin_PROGRAMS)
|
PROGRAMS = $(noinst_PROGRAMS) $(sbin_PROGRAMS)
|
||||||
am__objects_1 = cflexer.$(OBJEXT) cfparser.$(OBJEXT) cllexer.$(OBJEXT) \
|
am__objects_1 = cflexer.$(OBJEXT) cfparser.$(OBJEXT) cllexer.$(OBJEXT) \
|
||||||
clparser.$(OBJEXT) jlexer.$(OBJEXT) jparser.$(OBJEXT) \
|
clparser.$(OBJEXT) jlexer.$(OBJEXT) jparser.$(OBJEXT) \
|
||||||
logger.$(OBJEXT) massert.$(OBJEXT) rcache.$(OBJEXT)
|
logger.$(OBJEXT) massert.$(OBJEXT) rcache.$(OBJEXT)
|
||||||
|
am_cflexer_test_OBJECTS = cflexer_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
cflexer_test_OBJECTS = $(am_cflexer_test_OBJECTS)
|
||||||
|
cflexer_test_LDADD = $(LDADD)
|
||||||
am_cfparser_test_OBJECTS = cfparser_test.$(OBJEXT) $(am__objects_1)
|
am_cfparser_test_OBJECTS = cfparser_test.$(OBJEXT) $(am__objects_1)
|
||||||
cfparser_test_OBJECTS = $(am_cfparser_test_OBJECTS)
|
cfparser_test_OBJECTS = $(am_cfparser_test_OBJECTS)
|
||||||
cfparser_test_LDADD = $(LDADD)
|
cfparser_test_LDADD = $(LDADD)
|
||||||
|
am_cllexer_test_OBJECTS = cllexer_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
cllexer_test_OBJECTS = $(am_cllexer_test_OBJECTS)
|
||||||
|
cllexer_test_LDADD = $(LDADD)
|
||||||
am_clparser_test_OBJECTS = clparser_test.$(OBJEXT) $(am__objects_1)
|
am_clparser_test_OBJECTS = clparser_test.$(OBJEXT) $(am__objects_1)
|
||||||
clparser_test_OBJECTS = $(am_clparser_test_OBJECTS)
|
clparser_test_OBJECTS = $(am_clparser_test_OBJECTS)
|
||||||
clparser_test_LDADD = $(LDADD)
|
clparser_test_LDADD = $(LDADD)
|
||||||
am_cworker_OBJECTS = main.$(OBJEXT) cworker.$(OBJEXT) $(am__objects_1)
|
am_cworker_OBJECTS = main.$(OBJEXT) cworker.$(OBJEXT) $(am__objects_1)
|
||||||
cworker_OBJECTS = $(am_cworker_OBJECTS)
|
cworker_OBJECTS = $(am_cworker_OBJECTS)
|
||||||
cworker_LDADD = $(LDADD)
|
cworker_LDADD = $(LDADD)
|
||||||
|
am_jlexer_test_OBJECTS = jlexer_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
jlexer_test_OBJECTS = $(am_jlexer_test_OBJECTS)
|
||||||
|
jlexer_test_LDADD = $(LDADD)
|
||||||
|
am_jparser_test_OBJECTS = jparser_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
jparser_test_OBJECTS = $(am_jparser_test_OBJECTS)
|
||||||
|
jparser_test_LDADD = $(LDADD)
|
||||||
|
am_rcache_test_OBJECTS = rcache_test.$(OBJEXT) $(am__objects_1)
|
||||||
|
rcache_test_OBJECTS = $(am_rcache_test_OBJECTS)
|
||||||
|
rcache_test_LDADD = $(LDADD)
|
||||||
AM_V_P = $(am__v_P_@AM_V@)
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
am__v_P_0 = false
|
am__v_P_0 = false
|
||||||
@@ -145,17 +164,21 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
|||||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
am__v_CCLD_1 =
|
am__v_CCLD_1 =
|
||||||
SOURCES = $(cfparser_test_SOURCES) $(clparser_test_SOURCES) \
|
SOURCES = $(cflexer_test_SOURCES) $(cfparser_test_SOURCES) \
|
||||||
$(cworker_SOURCES)
|
$(cllexer_test_SOURCES) $(clparser_test_SOURCES) \
|
||||||
DIST_SOURCES = $(cfparser_test_SOURCES) $(clparser_test_SOURCES) \
|
$(cworker_SOURCES) $(jlexer_test_SOURCES) \
|
||||||
$(cworker_SOURCES)
|
$(jparser_test_SOURCES) $(rcache_test_SOURCES)
|
||||||
|
DIST_SOURCES = $(cflexer_test_SOURCES) $(cfparser_test_SOURCES) \
|
||||||
|
$(cllexer_test_SOURCES) $(clparser_test_SOURCES) \
|
||||||
|
$(cworker_SOURCES) $(jlexer_test_SOURCES) \
|
||||||
|
$(jparser_test_SOURCES) $(rcache_test_SOURCES)
|
||||||
am__can_run_installinfo = \
|
am__can_run_installinfo = \
|
||||||
case $$AM_UPDATE_INFO_DIR in \
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
n|no|NO) false;; \
|
n|no|NO) false;; \
|
||||||
*) (install-info --version) >/dev/null 2>&1;; \
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
esac
|
esac
|
||||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
||||||
defines.h.in
|
$(LISP)defines.h.in
|
||||||
# Read a list of newline-separated strings from the standard input,
|
# Read a list of newline-separated strings from the standard input,
|
||||||
# and print each of them once, without duplicates. Input order is
|
# and print each of them once, without duplicates. Input order is
|
||||||
# *not* preserved.
|
# *not* preserved.
|
||||||
@@ -192,8 +215,6 @@ am__post_remove_distdir = $(am__remove_distdir)
|
|||||||
DIST_ARCHIVES = $(distdir).tar.gz
|
DIST_ARCHIVES = $(distdir).tar.gz
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
DIST_TARGETS = dist-gzip
|
DIST_TARGETS = dist-gzip
|
||||||
# Exists only to be overridden by the user if desired.
|
|
||||||
AM_DISTCHECK_DVI_TARGET = dvi
|
|
||||||
distuninstallcheck_listfiles = find . -type f -print
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||||
@@ -216,7 +237,6 @@ CC = @CC@
|
|||||||
CCDEPMODE = @CCDEPMODE@
|
CCDEPMODE = @CCDEPMODE@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CP = @CP@
|
CP = @CP@
|
||||||
CPP = @CPP@
|
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
@@ -224,9 +244,7 @@ DEPDIR = @DEPDIR@
|
|||||||
ECHO_C = @ECHO_C@
|
ECHO_C = @ECHO_C@
|
||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
GREP = @GREP@
|
|
||||||
HAVE_CP = @HAVE_CP@
|
HAVE_CP = @HAVE_CP@
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -340,7 +358,14 @@ common_SOURCES = \
|
|||||||
@HAVE_VALGRIND_TRUE@VALGRIND_OPT = --tool=memcheck
|
@HAVE_VALGRIND_TRUE@VALGRIND_OPT = --tool=memcheck
|
||||||
bin_TESTS = \
|
bin_TESTS = \
|
||||||
cfparser_test \
|
cfparser_test \
|
||||||
clparser_test
|
clparser_test \
|
||||||
|
cflexer_test \
|
||||||
|
cfparser_test \
|
||||||
|
cllexer_test \
|
||||||
|
clparser_test \
|
||||||
|
jlexer_test \
|
||||||
|
jparser_test \
|
||||||
|
rcache_test
|
||||||
|
|
||||||
#TESTS = $(bin_TESTS)
|
#TESTS = $(bin_TESTS)
|
||||||
cflexer_test_SOURCES = cflexer_test.c $(common_SOURCES)
|
cflexer_test_SOURCES = cflexer_test.c $(common_SOURCES)
|
||||||
@@ -451,10 +476,18 @@ uninstall-sbinPROGRAMS:
|
|||||||
clean-sbinPROGRAMS:
|
clean-sbinPROGRAMS:
|
||||||
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
||||||
|
|
||||||
|
cflexer_test$(EXEEXT): $(cflexer_test_OBJECTS) $(cflexer_test_DEPENDENCIES) $(EXTRA_cflexer_test_DEPENDENCIES)
|
||||||
|
@rm -f cflexer_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(cflexer_test_OBJECTS) $(cflexer_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
cfparser_test$(EXEEXT): $(cfparser_test_OBJECTS) $(cfparser_test_DEPENDENCIES) $(EXTRA_cfparser_test_DEPENDENCIES)
|
cfparser_test$(EXEEXT): $(cfparser_test_OBJECTS) $(cfparser_test_DEPENDENCIES) $(EXTRA_cfparser_test_DEPENDENCIES)
|
||||||
@rm -f cfparser_test$(EXEEXT)
|
@rm -f cfparser_test$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(cfparser_test_OBJECTS) $(cfparser_test_LDADD) $(LIBS)
|
$(AM_V_CCLD)$(LINK) $(cfparser_test_OBJECTS) $(cfparser_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
cllexer_test$(EXEEXT): $(cllexer_test_OBJECTS) $(cllexer_test_DEPENDENCIES) $(EXTRA_cllexer_test_DEPENDENCIES)
|
||||||
|
@rm -f cllexer_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(cllexer_test_OBJECTS) $(cllexer_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
clparser_test$(EXEEXT): $(clparser_test_OBJECTS) $(clparser_test_DEPENDENCIES) $(EXTRA_clparser_test_DEPENDENCIES)
|
clparser_test$(EXEEXT): $(clparser_test_OBJECTS) $(clparser_test_DEPENDENCIES) $(EXTRA_clparser_test_DEPENDENCIES)
|
||||||
@rm -f clparser_test$(EXEEXT)
|
@rm -f clparser_test$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(clparser_test_OBJECTS) $(clparser_test_LDADD) $(LIBS)
|
$(AM_V_CCLD)$(LINK) $(clparser_test_OBJECTS) $(clparser_test_LDADD) $(LIBS)
|
||||||
@@ -463,6 +496,18 @@ cworker$(EXEEXT): $(cworker_OBJECTS) $(cworker_DEPENDENCIES) $(EXTRA_cworker_DEP
|
|||||||
@rm -f cworker$(EXEEXT)
|
@rm -f cworker$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(cworker_OBJECTS) $(cworker_LDADD) $(LIBS)
|
$(AM_V_CCLD)$(LINK) $(cworker_OBJECTS) $(cworker_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
jlexer_test$(EXEEXT): $(jlexer_test_OBJECTS) $(jlexer_test_DEPENDENCIES) $(EXTRA_jlexer_test_DEPENDENCIES)
|
||||||
|
@rm -f jlexer_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(jlexer_test_OBJECTS) $(jlexer_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
jparser_test$(EXEEXT): $(jparser_test_OBJECTS) $(jparser_test_DEPENDENCIES) $(EXTRA_jparser_test_DEPENDENCIES)
|
||||||
|
@rm -f jparser_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(jparser_test_OBJECTS) $(jparser_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
rcache_test$(EXEEXT): $(rcache_test_OBJECTS) $(rcache_test_DEPENDENCIES) $(EXTRA_rcache_test_DEPENDENCIES)
|
||||||
|
@rm -f rcache_test$(EXEEXT)
|
||||||
|
$(AM_V_CCLD)$(LINK) $(rcache_test_OBJECTS) $(rcache_test_LDADD) $(LIBS)
|
||||||
|
|
||||||
mostlyclean-compile:
|
mostlyclean-compile:
|
||||||
-rm -f *.$(OBJEXT)
|
-rm -f *.$(OBJEXT)
|
||||||
|
|
||||||
@@ -589,10 +634,6 @@ dist-xz: distdir
|
|||||||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||||
$(am__post_remove_distdir)
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
dist-zstd: distdir
|
|
||||||
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
|
|
||||||
$(am__post_remove_distdir)
|
|
||||||
|
|
||||||
dist-tarZ: distdir
|
dist-tarZ: distdir
|
||||||
@echo WARNING: "Support for distribution archives compressed with" \
|
@echo WARNING: "Support for distribution archives compressed with" \
|
||||||
"legacy program 'compress' is deprecated." >&2
|
"legacy program 'compress' is deprecated." >&2
|
||||||
@@ -635,8 +676,6 @@ distcheck: dist
|
|||||||
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
||||||
*.zip*) \
|
*.zip*) \
|
||||||
unzip $(distdir).zip ;;\
|
unzip $(distdir).zip ;;\
|
||||||
*.tar.zst*) \
|
|
||||||
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
|
|
||||||
esac
|
esac
|
||||||
chmod -R a-w $(distdir)
|
chmod -R a-w $(distdir)
|
||||||
chmod u+w $(distdir)
|
chmod u+w $(distdir)
|
||||||
@@ -652,7 +691,7 @@ distcheck: dist
|
|||||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
@@ -817,18 +856,18 @@ uninstall-am: uninstall-sbinPROGRAMS
|
|||||||
clean-cscope clean-generic clean-local clean-noinstPROGRAMS \
|
clean-cscope clean-generic clean-local clean-noinstPROGRAMS \
|
||||||
clean-sbinPROGRAMS cscope cscopelist-am ctags ctags-am dist \
|
clean-sbinPROGRAMS cscope cscopelist-am ctags ctags-am dist \
|
||||||
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
||||||
dist-xz dist-zip dist-zstd distcheck distclean \
|
dist-xz dist-zip distcheck distclean distclean-compile \
|
||||||
distclean-compile distclean-generic distclean-hdr \
|
distclean-generic distclean-hdr distclean-tags distcleancheck \
|
||||||
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
distdir distuninstallcheck dvi dvi-am html html-am info \
|
||||||
dvi-am html html-am info info-am install install-am \
|
info-am install install-am install-data install-data-am \
|
||||||
install-data install-data-am install-dvi install-dvi-am \
|
install-dvi install-dvi-am install-exec install-exec-am \
|
||||||
install-exec install-exec-am install-html install-html-am \
|
install-html install-html-am install-info install-info-am \
|
||||||
install-info install-info-am install-man install-pdf \
|
install-man install-pdf install-pdf-am install-ps \
|
||||||
install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
|
install-ps-am install-sbinPROGRAMS install-strip installcheck \
|
||||||
install-strip installcheck installcheck-am installdirs \
|
installcheck-am installdirs maintainer-clean \
|
||||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
|
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||||
tags tags-am uninstall uninstall-am uninstall-sbinPROGRAMS
|
uninstall-am uninstall-sbinPROGRAMS
|
||||||
|
|
||||||
.PRECIOUS: Makefile
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|||||||
63
aclocal.m4
vendored
63
aclocal.m4
vendored
@@ -1,6 +1,6 @@
|
|||||||
# generated automatically by aclocal 1.16.3 -*- Autoconf -*-
|
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -14,13 +14,13 @@
|
|||||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
|
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
|
||||||
[m4_warning([this file was generated for autoconf 2.69.
|
[m4_warning([this file was generated for autoconf 2.71.
|
||||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||||
If you have problems, you may need to regenerate the build system entirely.
|
If you have problems, you may need to regenerate the build system entirely.
|
||||||
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
||||||
|
|
||||||
# Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
|
|||||||
[am__api_version='1.16'
|
[am__api_version='1.16'
|
||||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||||
dnl require some minimum version. Point them to the right macro.
|
dnl require some minimum version. Point them to the right macro.
|
||||||
m4_if([$1], [1.16.3], [],
|
m4_if([$1], [1.16.1], [],
|
||||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
|||||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||||
[AM_AUTOMAKE_VERSION([1.16.3])dnl
|
[AM_AUTOMAKE_VERSION([1.16.1])dnl
|
||||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||||
|
|
||||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|||||||
|
|
||||||
# AM_CONDITIONAL -*- Autoconf -*-
|
# AM_CONDITIONAL -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|||||||
Usually this means the macro was only invoked conditionally.]])
|
Usually this means the macro was only invoked conditionally.]])
|
||||||
fi])])
|
fi])])
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -332,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
|
|||||||
|
|
||||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -371,9 +371,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||||||
done
|
done
|
||||||
if test $am_rc -ne 0; then
|
if test $am_rc -ne 0; then
|
||||||
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
|
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
|
||||||
for automatic dependency tracking. If GNU make was not used, consider
|
for automatic dependency tracking. Try re-running configure with the
|
||||||
re-running the configure script with MAKE="gmake" (or whatever is
|
|
||||||
necessary). You can also try re-running configure with the
|
|
||||||
'--disable-dependency-tracking' option to at least be able to build
|
'--disable-dependency-tracking' option to at least be able to build
|
||||||
the package (albeit without support for automatic dependency tracking).])
|
the package (albeit without support for automatic dependency tracking).])
|
||||||
fi
|
fi
|
||||||
@@ -400,7 +398,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||||||
|
|
||||||
# Do all the work for Automake. -*- Autoconf -*-
|
# Do all the work for Automake. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -477,9 +475,9 @@ _AM_IF_OPTION([no-define],,
|
|||||||
# Some tools Automake needs.
|
# Some tools Automake needs.
|
||||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||||
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
|
AM_MISSING_PROG([ACLOCAL], [aclocal])
|
||||||
AM_MISSING_PROG([AUTOCONF], [autoconf])
|
AM_MISSING_PROG([AUTOCONF], [autoconf])
|
||||||
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
|
AM_MISSING_PROG([AUTOMAKE], [automake])
|
||||||
AM_MISSING_PROG([AUTOHEADER], [autoheader])
|
AM_MISSING_PROG([AUTOHEADER], [autoheader])
|
||||||
AM_MISSING_PROG([MAKEINFO], [makeinfo])
|
AM_MISSING_PROG([MAKEINFO], [makeinfo])
|
||||||
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||||
@@ -597,7 +595,7 @@ for _am_header in $config_headers :; do
|
|||||||
done
|
done
|
||||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -618,7 +616,7 @@ if test x"${install_sh+set}" != xset; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST([install_sh])])
|
AC_SUBST([install_sh])])
|
||||||
|
|
||||||
# Copyright (C) 2003-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2003-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -639,7 +637,7 @@ AC_SUBST([am__leading_dot])])
|
|||||||
|
|
||||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -682,7 +680,7 @@ AC_SUBST([am__quote])])
|
|||||||
|
|
||||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -703,7 +701,12 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
|
|||||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||||
if test x"${MISSING+set}" != xset; then
|
if test x"${MISSING+set}" != xset; then
|
||||||
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
case $am_aux_dir in
|
||||||
|
*\ * | *\ *)
|
||||||
|
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
||||||
|
*)
|
||||||
|
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
# Use eval to expand $SHELL
|
# Use eval to expand $SHELL
|
||||||
if eval "$MISSING --is-lightweight"; then
|
if eval "$MISSING --is-lightweight"; then
|
||||||
@@ -716,7 +719,7 @@ fi
|
|||||||
|
|
||||||
# Helper functions for option handling. -*- Autoconf -*-
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -745,7 +748,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
|||||||
AC_DEFUN([_AM_IF_OPTION],
|
AC_DEFUN([_AM_IF_OPTION],
|
||||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -792,7 +795,7 @@ AC_LANG_POP([C])])
|
|||||||
# For backward compatibility.
|
# For backward compatibility.
|
||||||
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -811,7 +814,7 @@ AC_DEFUN([AM_RUN_LOG],
|
|||||||
|
|
||||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -892,7 +895,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|||||||
rm -f conftest.file
|
rm -f conftest.file
|
||||||
])
|
])
|
||||||
|
|
||||||
# Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -952,7 +955,7 @@ AC_SUBST([AM_BACKSLASH])dnl
|
|||||||
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -980,7 +983,7 @@ fi
|
|||||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||||
|
|
||||||
# Copyright (C) 2006-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -999,7 +1002,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|||||||
|
|
||||||
# Check how to create a tarball. -*- Autoconf -*-
|
# Check how to create a tarball. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2004-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2004-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|||||||
6
compile
6
compile
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@@ -53,7 +53,7 @@ func_file_conv ()
|
|||||||
MINGW*)
|
MINGW*)
|
||||||
file_conv=mingw
|
file_conv=mingw
|
||||||
;;
|
;;
|
||||||
CYGWIN* | MSYS*)
|
CYGWIN*)
|
||||||
file_conv=cygwin
|
file_conv=cygwin
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -67,7 +67,7 @@ func_file_conv ()
|
|||||||
mingw/*)
|
mingw/*)
|
||||||
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||||
;;
|
;;
|
||||||
cygwin/* | msys/*)
|
cygwin/*)
|
||||||
file=`cygpath -m "$file" || echo "$file"`
|
file=`cygpath -m "$file" || echo "$file"`
|
||||||
;;
|
;;
|
||||||
wine/*)
|
wine/*)
|
||||||
|
|||||||
134
config.guess
vendored
134
config.guess
vendored
@@ -2,7 +2,7 @@
|
|||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright 1992-2018 Free Software Foundation, Inc.
|
# Copyright 1992-2018 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2018-02-24'
|
timestamp='2018-08-29'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -84,8 +84,6 @@ if test $# != 0; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap 'exit 1' 1 2 15
|
|
||||||
|
|
||||||
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
||||||
# compiler to aid in system detection is discouraged as it requires
|
# compiler to aid in system detection is discouraged as it requires
|
||||||
# temporary files to be created and, as you can see below, it is a
|
# temporary files to be created and, as you can see below, it is a
|
||||||
@@ -96,34 +94,39 @@ trap 'exit 1' 1 2 15
|
|||||||
|
|
||||||
# Portable tmp directory creation inspired by the Autoconf team.
|
# Portable tmp directory creation inspired by the Autoconf team.
|
||||||
|
|
||||||
set_cc_for_build='
|
tmp=
|
||||||
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
# shellcheck disable=SC2172
|
||||||
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
|
||||||
: ${TMPDIR=/tmp} ;
|
trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
|
||||||
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
|
||||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
set_cc_for_build() {
|
||||||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
: "${TMPDIR=/tmp}"
|
||||||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
# shellcheck disable=SC2039
|
||||||
dummy=$tmp/dummy ;
|
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||||
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
|
||||||
case $CC_FOR_BUILD,$HOST_CC,$CC in
|
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
||||||
,,) echo "int x;" > "$dummy.c" ;
|
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
|
||||||
for c in cc gcc c89 c99 ; do
|
dummy=$tmp/dummy
|
||||||
if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
|
case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
|
||||||
CC_FOR_BUILD="$c"; break ;
|
,,) echo "int x;" > "$dummy.c"
|
||||||
fi ;
|
for driver in cc gcc c89 c99 ; do
|
||||||
done ;
|
if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
|
||||||
if test x"$CC_FOR_BUILD" = x ; then
|
CC_FOR_BUILD="$driver"
|
||||||
CC_FOR_BUILD=no_compiler_found ;
|
break
|
||||||
fi
|
fi
|
||||||
;;
|
done
|
||||||
,,*) CC_FOR_BUILD=$CC ;;
|
if test x"$CC_FOR_BUILD" = x ; then
|
||||||
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
CC_FOR_BUILD=no_compiler_found
|
||||||
esac ; set_cc_for_build= ;'
|
fi
|
||||||
|
;;
|
||||||
|
,,*) CC_FOR_BUILD=$CC ;;
|
||||||
|
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
||||||
# (ghazi@noc.rutgers.edu 1994-08-24)
|
# (ghazi@noc.rutgers.edu 1994-08-24)
|
||||||
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
|
if test -f /.attbin/uname ; then
|
||||||
PATH=$PATH:/.attbin ; export PATH
|
PATH=$PATH:/.attbin ; export PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -138,7 +141,7 @@ Linux|GNU|GNU/*)
|
|||||||
# We could probably try harder.
|
# We could probably try harder.
|
||||||
LIBC=gnu
|
LIBC=gnu
|
||||||
|
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
cat <<-EOF > "$dummy.c"
|
cat <<-EOF > "$dummy.c"
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#if defined(__UCLIBC__)
|
#if defined(__UCLIBC__)
|
||||||
@@ -199,7 +202,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
|
|||||||
os=netbsdelf
|
os=netbsdelf
|
||||||
;;
|
;;
|
||||||
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
| grep -q __ELF__
|
| grep -q __ELF__
|
||||||
then
|
then
|
||||||
@@ -237,7 +240,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
|
|||||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||||
# contains redundant information, the shorter form:
|
# contains redundant information, the shorter form:
|
||||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
echo "$machine-${os}${release}${abi}"
|
echo "$machine-${os}${release}${abi-}"
|
||||||
exit ;;
|
exit ;;
|
||||||
*:Bitrig:*:*)
|
*:Bitrig:*:*)
|
||||||
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||||
@@ -389,20 +392,15 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
|
|||||||
echo i386-pc-auroraux"$UNAME_RELEASE"
|
echo i386-pc-auroraux"$UNAME_RELEASE"
|
||||||
exit ;;
|
exit ;;
|
||||||
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
||||||
eval "$set_cc_for_build"
|
UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
|
||||||
SUN_ARCH=i386
|
case `isainfo -b` in
|
||||||
# If there is a compiler, see if it is configured for 64-bit objects.
|
32)
|
||||||
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
echo i386-pc-solaris2"$UNAME_REL"
|
||||||
# This test works for both compilers.
|
;;
|
||||||
if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
|
64)
|
||||||
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
echo x86_64-pc-solaris2"$UNAME_REL"
|
||||||
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
;;
|
||||||
grep IS_64BIT_ARCH >/dev/null
|
esac
|
||||||
then
|
|
||||||
SUN_ARCH=x86_64
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
|
|
||||||
exit ;;
|
exit ;;
|
||||||
sun4*:SunOS:6*:*)
|
sun4*:SunOS:6*:*)
|
||||||
# According to config.sub, this is the proper way to canonicalize
|
# According to config.sub, this is the proper way to canonicalize
|
||||||
@@ -482,7 +480,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
|
|||||||
echo clipper-intergraph-clix"$UNAME_RELEASE"
|
echo clipper-intergraph-clix"$UNAME_RELEASE"
|
||||||
exit ;;
|
exit ;;
|
||||||
mips:*:*:UMIPS | mips:*:*:RISCos)
|
mips:*:*:UMIPS | mips:*:*:RISCos)
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
sed 's/^ //' << EOF > "$dummy.c"
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#include <stdio.h> /* for printf() prototype */
|
#include <stdio.h> /* for printf() prototype */
|
||||||
@@ -579,7 +577,7 @@ EOF
|
|||||||
exit ;;
|
exit ;;
|
||||||
*:AIX:2:3)
|
*:AIX:2:3)
|
||||||
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
sed 's/^ //' << EOF > "$dummy.c"
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
#include <sys/systemcfg.h>
|
#include <sys/systemcfg.h>
|
||||||
|
|
||||||
@@ -660,7 +658,7 @@ EOF
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if [ "$HP_ARCH" = "" ]; then
|
if [ "$HP_ARCH" = "" ]; then
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
sed 's/^ //' << EOF > "$dummy.c"
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
|
|
||||||
#define _HPUX_SOURCE
|
#define _HPUX_SOURCE
|
||||||
@@ -700,7 +698,7 @@ EOF
|
|||||||
esac
|
esac
|
||||||
if [ "$HP_ARCH" = hppa2.0w ]
|
if [ "$HP_ARCH" = hppa2.0w ]
|
||||||
then
|
then
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
|
|
||||||
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
|
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
|
||||||
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
|
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
|
||||||
@@ -726,7 +724,7 @@ EOF
|
|||||||
echo ia64-hp-hpux"$HPUX_REV"
|
echo ia64-hp-hpux"$HPUX_REV"
|
||||||
exit ;;
|
exit ;;
|
||||||
3050*:HI-UX:*:*)
|
3050*:HI-UX:*:*)
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
sed 's/^ //' << EOF > "$dummy.c"
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
int
|
int
|
||||||
@@ -840,14 +838,19 @@ EOF
|
|||||||
*:BSD/OS:*:*)
|
*:BSD/OS:*:*)
|
||||||
echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
|
echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
|
||||||
exit ;;
|
exit ;;
|
||||||
|
arm:FreeBSD:*:*)
|
||||||
|
UNAME_PROCESSOR=`uname -p`
|
||||||
|
set_cc_for_build
|
||||||
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_PCS_VFP
|
||||||
|
then
|
||||||
|
echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
|
||||||
|
else
|
||||||
|
echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
|
||||||
|
fi
|
||||||
|
exit ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
||||||
case "$UNAME_PROCESSOR" in
|
|
||||||
amd64)
|
|
||||||
UNAME_PROCESSOR=x86_64 ;;
|
|
||||||
i386)
|
|
||||||
UNAME_PROCESSOR=i586 ;;
|
|
||||||
esac
|
|
||||||
echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
|
echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
|
||||||
exit ;;
|
exit ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
@@ -894,8 +897,8 @@ EOF
|
|||||||
# other systems with GNU libc and userland
|
# other systems with GNU libc and userland
|
||||||
echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
|
echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
|
||||||
exit ;;
|
exit ;;
|
||||||
i*86:Minix:*:*)
|
*:Minix:*:*)
|
||||||
echo "$UNAME_MACHINE"-pc-minix
|
echo "$UNAME_MACHINE"-unknown-minix
|
||||||
exit ;;
|
exit ;;
|
||||||
aarch64:Linux:*:*)
|
aarch64:Linux:*:*)
|
||||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||||
@@ -922,7 +925,7 @@ EOF
|
|||||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||||
exit ;;
|
exit ;;
|
||||||
arm*:Linux:*:*)
|
arm*:Linux:*:*)
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
| grep -q __ARM_EABI__
|
| grep -q __ARM_EABI__
|
||||||
then
|
then
|
||||||
@@ -971,7 +974,7 @@ EOF
|
|||||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||||
exit ;;
|
exit ;;
|
||||||
mips:Linux:*:* | mips64:Linux:*:*)
|
mips:Linux:*:* | mips64:Linux:*:*)
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
sed 's/^ //' << EOF > "$dummy.c"
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
#undef CPU
|
#undef CPU
|
||||||
#undef ${UNAME_MACHINE}
|
#undef ${UNAME_MACHINE}
|
||||||
@@ -1046,11 +1049,7 @@ EOF
|
|||||||
echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
|
echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
|
||||||
exit ;;
|
exit ;;
|
||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
if objdump -f /bin/sh | grep -q elf32-x86-64; then
|
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
|
||||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
|
|
||||||
else
|
|
||||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
|
|
||||||
fi
|
|
||||||
exit ;;
|
exit ;;
|
||||||
xtensa*:Linux:*:*)
|
xtensa*:Linux:*:*)
|
||||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||||
@@ -1289,7 +1288,7 @@ EOF
|
|||||||
exit ;;
|
exit ;;
|
||||||
*:Darwin:*:*)
|
*:Darwin:*:*)
|
||||||
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||||
eval "$set_cc_for_build"
|
set_cc_for_build
|
||||||
if test "$UNAME_PROCESSOR" = unknown ; then
|
if test "$UNAME_PROCESSOR" = unknown ; then
|
||||||
UNAME_PROCESSOR=powerpc
|
UNAME_PROCESSOR=powerpc
|
||||||
fi
|
fi
|
||||||
@@ -1362,6 +1361,7 @@ EOF
|
|||||||
# "uname -m" is not consistent, so use $cputype instead. 386
|
# "uname -m" is not consistent, so use $cputype instead. 386
|
||||||
# is converted to i386 for consistency with other x86
|
# is converted to i386 for consistency with other x86
|
||||||
# operating systems.
|
# operating systems.
|
||||||
|
# shellcheck disable=SC2154
|
||||||
if test "$cputype" = 386; then
|
if test "$cputype" = 386; then
|
||||||
UNAME_MACHINE=i386
|
UNAME_MACHINE=i386
|
||||||
else
|
else
|
||||||
@@ -1473,7 +1473,7 @@ EOF
|
|||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-functions 'time-stamp)
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
# time-stamp-start: "timestamp='"
|
# time-stamp-start: "timestamp='"
|
||||||
# time-stamp-format: "%:y-%02m-%02d"
|
# time-stamp-format: "%:y-%02m-%02d"
|
||||||
# time-stamp-end: "'"
|
# time-stamp-end: "'"
|
||||||
|
|||||||
6
config.h
6
config.h
@@ -2,8 +2,8 @@
|
|||||||
#ifndef CONFIG_H_QWER
|
#ifndef CONFIG_H_QWER
|
||||||
#define CONFIG_H_QWER
|
#define CONFIG_H_QWER
|
||||||
|
|
||||||
static const char *srv_runpath = "/dat2/home/ziggi/projects/cworker/run/cworker.pid";
|
static const char *srv_runpath = "/home/ziggi/Projects/jcomp/run/cworker.pid";
|
||||||
static const char *srv_logpath = "/dat2/home/ziggi/projects/cworker/log/cworker.log";
|
static const char *srv_logpath = "/home/ziggi/Projects/jcomp/log/cworker.log";
|
||||||
static const char *srv_configpath = "/dat2/home/ziggi/projects/cworker//cworker.conf";
|
static const char *srv_configpath = "/home/ziggi/Projects/jcomp//cworker.conf";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
363
config.status
363
config.status
@@ -16,14 +16,16 @@ export SHELL
|
|||||||
|
|
||||||
# Be more Bourne compatible
|
# Be more Bourne compatible
|
||||||
DUALCASE=1; export DUALCASE # for MKS sh
|
DUALCASE=1; export DUALCASE # for MKS sh
|
||||||
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
as_nop=:
|
||||||
|
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
||||||
|
then :
|
||||||
emulate sh
|
emulate sh
|
||||||
NULLCMD=:
|
NULLCMD=:
|
||||||
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
||||||
# is contrary to our usage. Disable this feature.
|
# is contrary to our usage. Disable this feature.
|
||||||
alias -g '${1+"$@"}'='"$@"'
|
alias -g '${1+"$@"}'='"$@"'
|
||||||
setopt NO_GLOB_SUBST
|
setopt NO_GLOB_SUBST
|
||||||
else
|
else $as_nop
|
||||||
case `(set -o) 2>/dev/null` in #(
|
case `(set -o) 2>/dev/null` in #(
|
||||||
*posix*) :
|
*posix*) :
|
||||||
set -o posix ;; #(
|
set -o posix ;; #(
|
||||||
@@ -33,46 +35,46 @@ esac
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Reset variables that may have inherited troublesome values from
|
||||||
|
# the environment.
|
||||||
|
|
||||||
|
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
||||||
|
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
||||||
|
# side effect of setting IFS to empty, thus disabling word splitting.)
|
||||||
|
# Quoting is to prevent editors from complaining about space-tab.
|
||||||
as_nl='
|
as_nl='
|
||||||
'
|
'
|
||||||
export as_nl
|
export as_nl
|
||||||
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
IFS=" "" $as_nl"
|
||||||
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
||||||
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
PS1='$ '
|
||||||
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
PS2='> '
|
||||||
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
PS4='+ '
|
||||||
# but without wasting forks for bash or zsh.
|
|
||||||
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
# Ensure predictable behavior from utilities with locale-dependent output.
|
||||||
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
LC_ALL=C
|
||||||
as_echo='print -r --'
|
export LC_ALL
|
||||||
as_echo_n='print -rn --'
|
LANGUAGE=C
|
||||||
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
export LANGUAGE
|
||||||
as_echo='printf %s\n'
|
|
||||||
as_echo_n='printf %s'
|
# We cannot yet rely on "unset" to work, but we need these variables
|
||||||
else
|
# to be unset--not just set to an empty or harmless value--now, to
|
||||||
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
||||||
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
# also avoids known problems related to "unset" and subshell syntax
|
||||||
as_echo_n='/usr/ucb/echo -n'
|
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
||||||
else
|
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
||||||
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
do eval test \${$as_var+y} \
|
||||||
as_echo_n_body='eval
|
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
||||||
arg=$1;
|
done
|
||||||
case $arg in #(
|
|
||||||
*"$as_nl"*)
|
# Ensure that fds 0, 1, and 2 are open.
|
||||||
expr "X$arg" : "X\\(.*\\)$as_nl";
|
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
||||||
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
||||||
esac;
|
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
||||||
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
||||||
'
|
|
||||||
export as_echo_n_body
|
|
||||||
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
||||||
fi
|
|
||||||
export as_echo_body
|
|
||||||
as_echo='sh -c $as_echo_body as_echo'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# The user is always right.
|
# The user is always right.
|
||||||
if test "${PATH_SEPARATOR+set}" != set; then
|
if ${PATH_SEPARATOR+false} :; then
|
||||||
PATH_SEPARATOR=:
|
PATH_SEPARATOR=:
|
||||||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
||||||
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
||||||
@@ -81,13 +83,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# IFS
|
|
||||||
# We need space, tab and new line, in precisely that order. Quoting is
|
|
||||||
# there to prevent editors from complaining about space-tab.
|
|
||||||
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
||||||
# splitting by setting IFS to empty value.)
|
|
||||||
IFS=" "" $as_nl"
|
|
||||||
|
|
||||||
# Find who we are. Look in the path if we contain no directory separator.
|
# Find who we are. Look in the path if we contain no directory separator.
|
||||||
as_myself=
|
as_myself=
|
||||||
case $0 in #((
|
case $0 in #((
|
||||||
@@ -96,8 +91,12 @@ case $0 in #((
|
|||||||
for as_dir in $PATH
|
for as_dir in $PATH
|
||||||
do
|
do
|
||||||
IFS=$as_save_IFS
|
IFS=$as_save_IFS
|
||||||
test -z "$as_dir" && as_dir=.
|
case $as_dir in #(((
|
||||||
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
||||||
done
|
done
|
||||||
IFS=$as_save_IFS
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
@@ -109,30 +108,10 @@ if test "x$as_myself" = x; then
|
|||||||
as_myself=$0
|
as_myself=$0
|
||||||
fi
|
fi
|
||||||
if test ! -f "$as_myself"; then
|
if test ! -f "$as_myself"; then
|
||||||
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
||||||
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
||||||
# suppresses any "Segmentation fault" message there. '((' could
|
|
||||||
# trigger a bug in pdksh 5.2.14.
|
|
||||||
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
||||||
do eval test x\${$as_var+set} = xset \
|
|
||||||
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
||||||
done
|
|
||||||
PS1='$ '
|
|
||||||
PS2='> '
|
|
||||||
PS4='+ '
|
|
||||||
|
|
||||||
# NLS nuisances.
|
|
||||||
LC_ALL=C
|
|
||||||
export LC_ALL
|
|
||||||
LANGUAGE=C
|
|
||||||
export LANGUAGE
|
|
||||||
|
|
||||||
# CDPATH.
|
|
||||||
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
||||||
|
|
||||||
|
|
||||||
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
||||||
@@ -145,13 +124,14 @@ as_fn_error ()
|
|||||||
as_status=$1; test $as_status -eq 0 && as_status=1
|
as_status=$1; test $as_status -eq 0 && as_status=1
|
||||||
if test "$4"; then
|
if test "$4"; then
|
||||||
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
||||||
$as_echo "$as_me:${as_lineno-5844}: error: $2" >&$4
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
||||||
fi
|
fi
|
||||||
$as_echo "$as_me: error: $2" >&2
|
printf "%s\n" "$as_me: error: $2" >&2
|
||||||
as_fn_exit $as_status
|
as_fn_exit $as_status
|
||||||
} # as_fn_error
|
} # as_fn_error
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# as_fn_set_status STATUS
|
# as_fn_set_status STATUS
|
||||||
# -----------------------
|
# -----------------------
|
||||||
# Set $? to STATUS, without forking.
|
# Set $? to STATUS, without forking.
|
||||||
@@ -178,18 +158,20 @@ as_fn_unset ()
|
|||||||
{ eval $1=; unset $1;}
|
{ eval $1=; unset $1;}
|
||||||
}
|
}
|
||||||
as_unset=as_fn_unset
|
as_unset=as_fn_unset
|
||||||
|
|
||||||
# as_fn_append VAR VALUE
|
# as_fn_append VAR VALUE
|
||||||
# ----------------------
|
# ----------------------
|
||||||
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
||||||
# advantage of any shell optimizations that allow amortized linear growth over
|
# advantage of any shell optimizations that allow amortized linear growth over
|
||||||
# repeated appends, instead of the typical quadratic growth present in naive
|
# repeated appends, instead of the typical quadratic growth present in naive
|
||||||
# implementations.
|
# implementations.
|
||||||
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
||||||
|
then :
|
||||||
eval 'as_fn_append ()
|
eval 'as_fn_append ()
|
||||||
{
|
{
|
||||||
eval $1+=\$2
|
eval $1+=\$2
|
||||||
}'
|
}'
|
||||||
else
|
else $as_nop
|
||||||
as_fn_append ()
|
as_fn_append ()
|
||||||
{
|
{
|
||||||
eval $1=\$$1\$2
|
eval $1=\$$1\$2
|
||||||
@@ -201,12 +183,13 @@ fi # as_fn_append
|
|||||||
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
||||||
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
||||||
# must be portable across $(()) and expr.
|
# must be portable across $(()) and expr.
|
||||||
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
||||||
|
then :
|
||||||
eval 'as_fn_arith ()
|
eval 'as_fn_arith ()
|
||||||
{
|
{
|
||||||
as_val=$(( $* ))
|
as_val=$(( $* ))
|
||||||
}'
|
}'
|
||||||
else
|
else $as_nop
|
||||||
as_fn_arith ()
|
as_fn_arith ()
|
||||||
{
|
{
|
||||||
as_val=`expr "$@" || test $? -eq 1`
|
as_val=`expr "$@" || test $? -eq 1`
|
||||||
@@ -237,7 +220,7 @@ as_me=`$as_basename -- "$0" ||
|
|||||||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||||||
X"$0" : 'X\(//\)$' \| \
|
X"$0" : 'X\(//\)$' \| \
|
||||||
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
$as_echo X/"$0" |
|
printf "%s\n" X/"$0" |
|
||||||
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
||||||
s//\1/
|
s//\1/
|
||||||
q
|
q
|
||||||
@@ -259,6 +242,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|||||||
as_cr_digits='0123456789'
|
as_cr_digits='0123456789'
|
||||||
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
||||||
|
|
||||||
|
|
||||||
|
# Determine whether it's possible to make 'echo' print without a newline.
|
||||||
|
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
||||||
|
# for compatibility with existing Makefiles.
|
||||||
ECHO_C= ECHO_N= ECHO_T=
|
ECHO_C= ECHO_N= ECHO_T=
|
||||||
case `echo -n x` in #(((((
|
case `echo -n x` in #(((((
|
||||||
-n*)
|
-n*)
|
||||||
@@ -272,6 +259,12 @@ case `echo -n x` in #(((((
|
|||||||
ECHO_N='-n';;
|
ECHO_N='-n';;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# For backward compatibility with old third-party macros, we provide
|
||||||
|
# the shell variables $as_echo and $as_echo_n. New code should use
|
||||||
|
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
||||||
|
as_echo='printf %s\n'
|
||||||
|
as_echo_n='printf %s'
|
||||||
|
|
||||||
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
||||||
if test -d conf$$.dir; then
|
if test -d conf$$.dir; then
|
||||||
rm -f conf$$.dir/conf$$.file
|
rm -f conf$$.dir/conf$$.file
|
||||||
@@ -313,7 +306,7 @@ as_fn_mkdir_p ()
|
|||||||
as_dirs=
|
as_dirs=
|
||||||
while :; do
|
while :; do
|
||||||
case $as_dir in #(
|
case $as_dir in #(
|
||||||
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
||||||
*) as_qdir=$as_dir;;
|
*) as_qdir=$as_dir;;
|
||||||
esac
|
esac
|
||||||
as_dirs="'$as_qdir' $as_dirs"
|
as_dirs="'$as_qdir' $as_dirs"
|
||||||
@@ -322,7 +315,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|||||||
X"$as_dir" : 'X\(//\)[^/]' \| \
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
||||||
X"$as_dir" : 'X\(//\)$' \| \
|
X"$as_dir" : 'X\(//\)$' \| \
|
||||||
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
$as_echo X"$as_dir" |
|
printf "%s\n" X"$as_dir" |
|
||||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
s//\1/
|
s//\1/
|
||||||
q
|
q
|
||||||
@@ -381,7 +374,7 @@ exec 6>&1
|
|||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by cworker $as_me 0.0.1, which was
|
This file was extended by cworker $as_me 0.0.1, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.71. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
CONFIG_HEADERS = $CONFIG_HEADERS
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
||||||
@@ -427,20 +420,20 @@ $config_commands
|
|||||||
|
|
||||||
Report bugs to the package provider."
|
Report bugs to the package provider."
|
||||||
|
|
||||||
ac_cs_config="'--enable-devel-mode'"
|
ac_cs_config='--enable-devel-mode'
|
||||||
ac_cs_version="\
|
ac_cs_version="\
|
||||||
cworker config.status 0.0.1
|
cworker config.status 0.0.1
|
||||||
configured by ./configure, generated by GNU Autoconf 2.69,
|
configured by ./configure, generated by GNU Autoconf 2.71,
|
||||||
with options \"$ac_cs_config\"
|
with options \"$ac_cs_config\"
|
||||||
|
|
||||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||||
This config.status script is free software; the Free Software Foundation
|
This config.status script is free software; the Free Software Foundation
|
||||||
gives unlimited permission to copy, distribute and modify it."
|
gives unlimited permission to copy, distribute and modify it."
|
||||||
|
|
||||||
ac_pwd='/dat2/home/ziggi/projects/cworker'
|
ac_pwd='/home/ziggi/Projects/jcomp'
|
||||||
srcdir='.'
|
srcdir='.'
|
||||||
INSTALL='/bin/install -c'
|
INSTALL='/usr/bin/install -c'
|
||||||
MKDIR_P='/bin/mkdir -p'
|
MKDIR_P='/usr/local/bin/gmkdir -p'
|
||||||
AWK='gawk'
|
AWK='gawk'
|
||||||
test -n "$AWK" || AWK=awk
|
test -n "$AWK" || AWK=awk
|
||||||
# The default lists apply if the user does not specify any file.
|
# The default lists apply if the user does not specify any file.
|
||||||
@@ -470,15 +463,15 @@ do
|
|||||||
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
||||||
ac_cs_recheck=: ;;
|
ac_cs_recheck=: ;;
|
||||||
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
||||||
$as_echo "$ac_cs_version"; exit ;;
|
printf "%s\n" "$ac_cs_version"; exit ;;
|
||||||
--config | --confi | --conf | --con | --co | --c )
|
--config | --confi | --conf | --con | --co | --c )
|
||||||
$as_echo "$ac_cs_config"; exit ;;
|
printf "%s\n" "$ac_cs_config"; exit ;;
|
||||||
--debug | --debu | --deb | --de | --d | -d )
|
--debug | --debu | --deb | --de | --d | -d )
|
||||||
debug=: ;;
|
debug=: ;;
|
||||||
--file | --fil | --fi | --f )
|
--file | --fil | --fi | --f )
|
||||||
$ac_shift
|
$ac_shift
|
||||||
case $ac_optarg in
|
case $ac_optarg in
|
||||||
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||||
'') as_fn_error $? "missing file argument" ;;
|
'') as_fn_error $? "missing file argument" ;;
|
||||||
esac
|
esac
|
||||||
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
||||||
@@ -486,7 +479,7 @@ do
|
|||||||
--header | --heade | --head | --hea )
|
--header | --heade | --head | --hea )
|
||||||
$ac_shift
|
$ac_shift
|
||||||
case $ac_optarg in
|
case $ac_optarg in
|
||||||
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||||
esac
|
esac
|
||||||
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
||||||
ac_need_defaults=false;;
|
ac_need_defaults=false;;
|
||||||
@@ -495,7 +488,7 @@ do
|
|||||||
as_fn_error $? "ambiguous option: \`$1'
|
as_fn_error $? "ambiguous option: \`$1'
|
||||||
Try \`$0 --help' for more information.";;
|
Try \`$0 --help' for more information.";;
|
||||||
--help | --hel | -h )
|
--help | --hel | -h )
|
||||||
$as_echo "$ac_cs_usage"; exit ;;
|
printf "%s\n" "$ac_cs_usage"; exit ;;
|
||||||
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
||||||
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
||||||
ac_cs_silent=: ;;
|
ac_cs_silent=: ;;
|
||||||
@@ -521,7 +514,7 @@ fi
|
|||||||
if $ac_cs_recheck; then
|
if $ac_cs_recheck; then
|
||||||
set X /bin/sh './configure' '--enable-devel-mode' $ac_configure_extra_args --no-create --no-recursion
|
set X /bin/sh './configure' '--enable-devel-mode' $ac_configure_extra_args --no-create --no-recursion
|
||||||
shift
|
shift
|
||||||
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
|
\printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
|
||||||
CONFIG_SHELL='/bin/sh'
|
CONFIG_SHELL='/bin/sh'
|
||||||
export CONFIG_SHELL
|
export CONFIG_SHELL
|
||||||
exec "$@"
|
exec "$@"
|
||||||
@@ -533,7 +526,7 @@ exec 5>>config.log
|
|||||||
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
||||||
## Running $as_me. ##
|
## Running $as_me. ##
|
||||||
_ASBOX
|
_ASBOX
|
||||||
$as_echo "$ac_log"
|
printf "%s\n" "$ac_log"
|
||||||
} >&5
|
} >&5
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -551,7 +544,7 @@ do
|
|||||||
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||||
"config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;;
|
"config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;;
|
||||||
|
|
||||||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "6283" 5;;
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -561,9 +554,9 @@ done
|
|||||||
# We use the long form for the default assignment because of an extremely
|
# We use the long form for the default assignment because of an extremely
|
||||||
# bizarre bug on SunOS 4.1.3.
|
# bizarre bug on SunOS 4.1.3.
|
||||||
if $ac_need_defaults; then
|
if $ac_need_defaults; then
|
||||||
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
||||||
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
|
||||||
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Have a temporary directory for convenience. Make it in the build tree
|
# Have a temporary directory for convenience. Make it in the build tree
|
||||||
@@ -590,7 +583,7 @@ $debug ||
|
|||||||
{
|
{
|
||||||
tmp=./conf$$-$RANDOM
|
tmp=./conf$$-$RANDOM
|
||||||
(umask 077 && mkdir "$tmp")
|
(umask 077 && mkdir "$tmp")
|
||||||
} || as_fn_error $? "cannot create a temporary directory in ." "6322" 5
|
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
||||||
ac_tmp=$tmp
|
ac_tmp=$tmp
|
||||||
|
|
||||||
# Set up the scripts for CONFIG_FILES section.
|
# Set up the scripts for CONFIG_FILES section.
|
||||||
@@ -619,43 +612,40 @@ S["am__EXEEXT_FALSE"]=""
|
|||||||
S["am__EXEEXT_TRUE"]="#"
|
S["am__EXEEXT_TRUE"]="#"
|
||||||
S["LTLIBOBJS"]=""
|
S["LTLIBOBJS"]=""
|
||||||
S["app_name"]="cworker"
|
S["app_name"]="cworker"
|
||||||
S["app_cachedir"]="/dat2/home/ziggi/projects/cworker/cache"
|
S["app_cachedir"]="/home/ziggi/Projects/jcomp/cache"
|
||||||
S["APP_CACHEDIR"]="/dat2/home/ziggi/projects/cworker/cache"
|
S["APP_CACHEDIR"]="/home/ziggi/Projects/jcomp/cache"
|
||||||
S["app_databasedir"]="/dat2/home/ziggi/projects/cworker/data"
|
S["app_databasedir"]="/home/ziggi/Projects/jcomp/data"
|
||||||
S["APP_DATABASEDIR"]="/dat2/home/ziggi/projects/cworker/data"
|
S["APP_DATABASEDIR"]="/home/ziggi/Projects/jcomp/data"
|
||||||
S["app_user"]="root"
|
S["app_user"]="ziggi"
|
||||||
S["APP_USER"]="root"
|
S["APP_USER"]="ziggi"
|
||||||
S["app_libdir"]="/dat2/home/ziggi/projects/cworker/lib"
|
S["app_libdir"]="/home/ziggi/Projects/jcomp/lib"
|
||||||
S["APP_LIBDIR"]="/dat2/home/ziggi/projects/cworker/lib"
|
S["APP_LIBDIR"]="/home/ziggi/Projects/jcomp/lib"
|
||||||
S["app_rundir"]="/dat2/home/ziggi/projects/cworker/run"
|
S["app_rundir"]="/home/ziggi/Projects/jcomp/run"
|
||||||
S["APP_RUNDIR"]="/dat2/home/ziggi/projects/cworker/run"
|
S["APP_RUNDIR"]="/home/ziggi/Projects/jcomp/run"
|
||||||
S["app_logdir"]="/dat2/home/ziggi/projects/cworker/log"
|
S["app_logdir"]="/home/ziggi/Projects/jcomp/log"
|
||||||
S["APP_LOGDIR"]="/dat2/home/ziggi/projects/cworker/log"
|
S["APP_LOGDIR"]="/home/ziggi/Projects/jcomp/log"
|
||||||
S["app_configdir"]="/dat2/home/ziggi/projects/cworker/"
|
S["app_configdir"]="/home/ziggi/Projects/jcomp/"
|
||||||
S["APP_CONFIGDIR"]="/dat2/home/ziggi/projects/cworker/"
|
S["APP_CONFIGDIR"]="/home/ziggi/Projects/jcomp/"
|
||||||
S["SYSTEMD_FALSE"]="#"
|
S["SYSTEMD_FALSE"]=""
|
||||||
S["SYSTEMD_TRUE"]=""
|
S["SYSTEMD_TRUE"]="#"
|
||||||
S["LINUX_OS_FALSE"]="#"
|
S["LINUX_OS_FALSE"]=""
|
||||||
S["LINUX_OS_TRUE"]=""
|
S["LINUX_OS_TRUE"]="#"
|
||||||
S["FREEBSD_OS_FALSE"]=""
|
S["FREEBSD_OS_FALSE"]="#"
|
||||||
S["FREEBSD_OS_TRUE"]="#"
|
S["FREEBSD_OS_TRUE"]=""
|
||||||
S["host_os"]="linux-gnu"
|
S["CP"]="/usr/local/bin/gcp"
|
||||||
S["host_vendor"]="pc"
|
|
||||||
S["host_cpu"]="x86_64"
|
|
||||||
S["host"]="x86_64-pc-linux-gnu"
|
|
||||||
S["build_os"]="linux-gnu"
|
|
||||||
S["build_vendor"]="pc"
|
|
||||||
S["build_cpu"]="x86_64"
|
|
||||||
S["build"]="x86_64-pc-linux-gnu"
|
|
||||||
S["CP"]=""
|
|
||||||
S["HAVE_CP"]="true"
|
S["HAVE_CP"]="true"
|
||||||
S["LIBOBJS"]=""
|
S["LIBOBJS"]=""
|
||||||
|
S["host_os"]="freebsd12.4"
|
||||||
|
S["host_vendor"]="unknown"
|
||||||
|
S["host_cpu"]="amd64"
|
||||||
|
S["host"]="amd64-unknown-freebsd12.4"
|
||||||
|
S["build_os"]="freebsd12.4"
|
||||||
|
S["build_vendor"]="unknown"
|
||||||
|
S["build_cpu"]="amd64"
|
||||||
|
S["build"]="amd64-unknown-freebsd12.4"
|
||||||
S["HAVE_VALGRIND_FALSE"]=""
|
S["HAVE_VALGRIND_FALSE"]=""
|
||||||
S["HAVE_VALGRIND_TRUE"]="#"
|
S["HAVE_VALGRIND_TRUE"]="#"
|
||||||
S["VALGRIND"]="/bin/valgrind"
|
S["VALGRIND"]="/usr/local/bin/valgrind"
|
||||||
S["EGREP"]="/bin/grep -E"
|
|
||||||
S["GREP"]="/bin/grep"
|
|
||||||
S["CPP"]="clang -E"
|
|
||||||
S["am__fastdepCC_FALSE"]=""
|
S["am__fastdepCC_FALSE"]=""
|
||||||
S["am__fastdepCC_TRUE"]="#"
|
S["am__fastdepCC_TRUE"]="#"
|
||||||
S["CCDEPMODE"]="depmode=none"
|
S["CCDEPMODE"]="depmode=none"
|
||||||
@@ -683,15 +673,15 @@ S["am__leading_dot"]="."
|
|||||||
S["SET_MAKE"]=""
|
S["SET_MAKE"]=""
|
||||||
S["AWK"]="gawk"
|
S["AWK"]="gawk"
|
||||||
S["mkdir_p"]="$(MKDIR_P)"
|
S["mkdir_p"]="$(MKDIR_P)"
|
||||||
S["MKDIR_P"]="/bin/mkdir -p"
|
S["MKDIR_P"]="/usr/local/bin/gmkdir -p"
|
||||||
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
||||||
S["STRIP"]=""
|
S["STRIP"]=""
|
||||||
S["install_sh"]="${SHELL} /dat2/home/ziggi/projects/cworker/install-sh"
|
S["install_sh"]="${SHELL} /home/ziggi/Projects/jcomp/install-sh"
|
||||||
S["MAKEINFO"]="${SHELL} '/dat2/home/ziggi/projects/cworker/missing' makeinfo"
|
S["MAKEINFO"]="${SHELL} /home/ziggi/Projects/jcomp/missing makeinfo"
|
||||||
S["AUTOHEADER"]="${SHELL} '/dat2/home/ziggi/projects/cworker/missing' autoheader"
|
S["AUTOHEADER"]="${SHELL} /home/ziggi/Projects/jcomp/missing autoheader"
|
||||||
S["AUTOMAKE"]="${SHELL} '/dat2/home/ziggi/projects/cworker/missing' automake-1.16"
|
S["AUTOMAKE"]="${SHELL} /home/ziggi/Projects/jcomp/missing automake"
|
||||||
S["AUTOCONF"]="${SHELL} '/dat2/home/ziggi/projects/cworker/missing' autoconf"
|
S["AUTOCONF"]="${SHELL} /home/ziggi/Projects/jcomp/missing autoconf"
|
||||||
S["ACLOCAL"]="${SHELL} '/dat2/home/ziggi/projects/cworker/missing' aclocal-1.16"
|
S["ACLOCAL"]="${SHELL} /home/ziggi/Projects/jcomp/missing aclocal"
|
||||||
S["VERSION"]="0.0.1"
|
S["VERSION"]="0.0.1"
|
||||||
S["PACKAGE"]="cworker"
|
S["PACKAGE"]="cworker"
|
||||||
S["CYGPATH_W"]="echo"
|
S["CYGPATH_W"]="echo"
|
||||||
@@ -771,7 +761,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|||||||
else
|
else
|
||||||
cat
|
cat
|
||||||
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
||||||
|| as_fn_error $? "could not setup config files machinery" "6454" 5
|
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
||||||
fi # test -n "$CONFIG_FILES"
|
fi # test -n "$CONFIG_FILES"
|
||||||
|
|
||||||
# Set up the scripts for CONFIG_HEADERS section.
|
# Set up the scripts for CONFIG_HEADERS section.
|
||||||
@@ -788,16 +778,16 @@ D["PACKAGE_BUGREPORT"]=" \"\""
|
|||||||
D["PACKAGE_URL"]=" \"\""
|
D["PACKAGE_URL"]=" \"\""
|
||||||
D["PACKAGE"]=" \"cworker\""
|
D["PACKAGE"]=" \"cworker\""
|
||||||
D["VERSION"]=" \"0.0.1\""
|
D["VERSION"]=" \"0.0.1\""
|
||||||
D["STDC_HEADERS"]=" 1"
|
D["HAVE_STDIO_H"]=" 1"
|
||||||
D["HAVE_SYS_TYPES_H"]=" 1"
|
|
||||||
D["HAVE_SYS_STAT_H"]=" 1"
|
|
||||||
D["HAVE_STDLIB_H"]=" 1"
|
D["HAVE_STDLIB_H"]=" 1"
|
||||||
D["HAVE_STRING_H"]=" 1"
|
D["HAVE_STRING_H"]=" 1"
|
||||||
D["HAVE_MEMORY_H"]=" 1"
|
|
||||||
D["HAVE_STRINGS_H"]=" 1"
|
|
||||||
D["HAVE_INTTYPES_H"]=" 1"
|
D["HAVE_INTTYPES_H"]=" 1"
|
||||||
D["HAVE_STDINT_H"]=" 1"
|
D["HAVE_STDINT_H"]=" 1"
|
||||||
|
D["HAVE_STRINGS_H"]=" 1"
|
||||||
|
D["HAVE_SYS_STAT_H"]=" 1"
|
||||||
|
D["HAVE_SYS_TYPES_H"]=" 1"
|
||||||
D["HAVE_UNISTD_H"]=" 1"
|
D["HAVE_UNISTD_H"]=" 1"
|
||||||
|
D["STDC_HEADERS"]=" 1"
|
||||||
D["HAVE_ARPA_INET_H"]=" 1"
|
D["HAVE_ARPA_INET_H"]=" 1"
|
||||||
D["HAVE_FCNTL_H"]=" 1"
|
D["HAVE_FCNTL_H"]=" 1"
|
||||||
D["HAVE_LIMITS_H"]=" 1"
|
D["HAVE_LIMITS_H"]=" 1"
|
||||||
@@ -816,7 +806,6 @@ D["HAVE_FORK"]=" 1"
|
|||||||
D["HAVE_VFORK"]=" 1"
|
D["HAVE_VFORK"]=" 1"
|
||||||
D["HAVE_WORKING_VFORK"]=" 1"
|
D["HAVE_WORKING_VFORK"]=" 1"
|
||||||
D["HAVE_WORKING_FORK"]=" 1"
|
D["HAVE_WORKING_FORK"]=" 1"
|
||||||
D["HAVE_STDLIB_H"]=" 1"
|
|
||||||
D["HAVE_MALLOC"]=" 1"
|
D["HAVE_MALLOC"]=" 1"
|
||||||
D["HAVE_CLOCK_GETTIME"]=" 1"
|
D["HAVE_CLOCK_GETTIME"]=" 1"
|
||||||
D["HAVE_DUP2"]=" 1"
|
D["HAVE_DUP2"]=" 1"
|
||||||
@@ -824,13 +813,13 @@ D["HAVE_MEMSET"]=" 1"
|
|||||||
D["HAVE_MKDIR"]=" 1"
|
D["HAVE_MKDIR"]=" 1"
|
||||||
D["HAVE_SETLOCALE"]=" 1"
|
D["HAVE_SETLOCALE"]=" 1"
|
||||||
D["HAVE_SOCKET"]=" 1"
|
D["HAVE_SOCKET"]=" 1"
|
||||||
D["APP_CONFIGDIR"]=" \"/dat2/home/ziggi/projects/cworker/\""
|
D["APP_CONFIGDIR"]=" \"/home/ziggi/Projects/jcomp/\""
|
||||||
D["APP_LOGDIR"]=" \"/dat2/home/ziggi/projects/cworker/log\""
|
D["APP_LOGDIR"]=" \"/home/ziggi/Projects/jcomp/log\""
|
||||||
D["APP_RUNDIR"]=" \"/dat2/home/ziggi/projects/cworker/run\""
|
D["APP_RUNDIR"]=" \"/home/ziggi/Projects/jcomp/run\""
|
||||||
D["APP_LIBDIR"]=" \"/dat2/home/ziggi/projects/cworker/lib\""
|
D["APP_LIBDIR"]=" \"/home/ziggi/Projects/jcomp/lib\""
|
||||||
D["APP_USER"]=" \"root\""
|
D["APP_USER"]=" \"ziggi\""
|
||||||
D["APP_DATABASEDIR"]=" \"/dat2/home/ziggi/projects/cworker/data\""
|
D["APP_DATABASEDIR"]=" \"/home/ziggi/Projects/jcomp/data\""
|
||||||
D["APP_CACHEDIR"]=" \"/dat2/home/ziggi/projects/cworker/cache\""
|
D["APP_CACHEDIR"]=" \"/home/ziggi/Projects/jcomp/cache\""
|
||||||
for (key in D) D_is_set[key] = 1
|
for (key in D) D_is_set[key] = 1
|
||||||
FS = ""
|
FS = ""
|
||||||
}
|
}
|
||||||
@@ -863,7 +852,7 @@ D["APP_CACHEDIR"]=" \"/dat2/home/ziggi/projects/cworker/cache\""
|
|||||||
}
|
}
|
||||||
{ print }
|
{ print }
|
||||||
_ACAWK
|
_ACAWK
|
||||||
as_fn_error $? "could not setup config headers machinery" "6588" 5
|
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
||||||
fi # test -n "$CONFIG_HEADERS"
|
fi # test -n "$CONFIG_HEADERS"
|
||||||
|
|
||||||
|
|
||||||
@@ -876,7 +865,7 @@ do
|
|||||||
esac
|
esac
|
||||||
case $ac_mode$ac_tag in
|
case $ac_mode$ac_tag in
|
||||||
:[FHL]*:*);;
|
:[FHL]*:*);;
|
||||||
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "6601" 5;;
|
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
||||||
:[FH]-) ac_tag=-:-;;
|
:[FH]-) ac_tag=-:-;;
|
||||||
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
||||||
esac
|
esac
|
||||||
@@ -904,9 +893,9 @@ do
|
|||||||
[\\/$]*) false;;
|
[\\/$]*) false;;
|
||||||
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
||||||
esac ||
|
esac ||
|
||||||
as_fn_error 1 "cannot find input file: \`$ac_f'" "6629" 5;;
|
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
||||||
esac
|
esac
|
||||||
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
||||||
as_fn_append ac_file_inputs " '$ac_f'"
|
as_fn_append ac_file_inputs " '$ac_f'"
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -914,24 +903,24 @@ do
|
|||||||
# use $as_me), people would be surprised to read:
|
# use $as_me), people would be surprised to read:
|
||||||
# /* config.h. Generated by config.status. */
|
# /* config.h. Generated by config.status. */
|
||||||
configure_input='Generated from '`
|
configure_input='Generated from '`
|
||||||
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
||||||
`' by configure.'
|
`' by configure.'
|
||||||
if test x"$ac_file" != x-; then
|
if test x"$ac_file" != x-; then
|
||||||
configure_input="$ac_file. $configure_input"
|
configure_input="$ac_file. $configure_input"
|
||||||
{ $as_echo "$as_me:${as_lineno-6643}: creating $ac_file" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
||||||
$as_echo "$as_me: creating $ac_file" >&6;}
|
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
||||||
fi
|
fi
|
||||||
# Neutralize special characters interpreted by sed in replacement strings.
|
# Neutralize special characters interpreted by sed in replacement strings.
|
||||||
case $configure_input in #(
|
case $configure_input in #(
|
||||||
*\&* | *\|* | *\\* )
|
*\&* | *\|* | *\\* )
|
||||||
ac_sed_conf_input=`$as_echo "$configure_input" |
|
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
||||||
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
||||||
*) ac_sed_conf_input=$configure_input;;
|
*) ac_sed_conf_input=$configure_input;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $ac_tag in
|
case $ac_tag in
|
||||||
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
||||||
|| as_fn_error $? "could not create $ac_file" "6656" 5 ;;
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -941,7 +930,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|||||||
X"$ac_file" : 'X\(//\)[^/]' \| \
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
||||||
X"$ac_file" : 'X\(//\)$' \| \
|
X"$ac_file" : 'X\(//\)$' \| \
|
||||||
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
$as_echo X"$ac_file" |
|
printf "%s\n" X"$ac_file" |
|
||||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
s//\1/
|
s//\1/
|
||||||
q
|
q
|
||||||
@@ -965,9 +954,9 @@ $as_echo X"$ac_file" |
|
|||||||
case "$ac_dir" in
|
case "$ac_dir" in
|
||||||
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||||
*)
|
*)
|
||||||
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
||||||
# A ".." for each directory in $ac_dir_suffix.
|
# A ".." for each directory in $ac_dir_suffix.
|
||||||
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
||||||
case $ac_top_builddir_sub in
|
case $ac_top_builddir_sub in
|
||||||
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||||
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
||||||
@@ -1026,8 +1015,8 @@ ac_sed_dataroot='
|
|||||||
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
||||||
*datarootdir*) ac_datarootdir_seen=yes;;
|
*datarootdir*) ac_datarootdir_seen=yes;;
|
||||||
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
||||||
{ $as_echo "$as_me:${as_lineno-6754}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
||||||
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
||||||
ac_datarootdir_hack='
|
ac_datarootdir_hack='
|
||||||
s&@datadir@&${datarootdir}&g
|
s&@datadir@&${datarootdir}&g
|
||||||
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
||||||
@@ -1070,15 +1059,15 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|||||||
$ac_datarootdir_hack
|
$ac_datarootdir_hack
|
||||||
"
|
"
|
||||||
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
||||||
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "6793" 5
|
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
|
|
||||||
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
||||||
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
||||||
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
||||||
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
||||||
{ $as_echo "$as_me:${as_lineno-6799}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
||||||
which seems to be undefined. Please make sure it is defined" >&5
|
which seems to be undefined. Please make sure it is defined" >&5
|
||||||
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
||||||
which seems to be undefined. Please make sure it is defined" >&2;}
|
which seems to be undefined. Please make sure it is defined" >&2;}
|
||||||
|
|
||||||
rm -f "$ac_tmp/stdin"
|
rm -f "$ac_tmp/stdin"
|
||||||
@@ -1086,7 +1075,7 @@ which seems to be undefined. Please make sure it is defined" >&2;}
|
|||||||
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
||||||
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
||||||
esac \
|
esac \
|
||||||
|| as_fn_error $? "could not create $ac_file" "6809" 5
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
;;
|
;;
|
||||||
:H)
|
:H)
|
||||||
#
|
#
|
||||||
@@ -1094,22 +1083,22 @@ which seems to be undefined. Please make sure it is defined" >&2;}
|
|||||||
#
|
#
|
||||||
if test x"$ac_file" != x-; then
|
if test x"$ac_file" != x-; then
|
||||||
{
|
{
|
||||||
$as_echo "/* $configure_input */" \
|
printf "%s\n" "/* $configure_input */" >&1 \
|
||||||
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
||||||
} >"$ac_tmp/config.h" \
|
} >"$ac_tmp/config.h" \
|
||||||
|| as_fn_error $? "could not create $ac_file" "6820" 5
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
||||||
{ $as_echo "$as_me:${as_lineno-6822}: $ac_file is unchanged" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
||||||
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
|
||||||
else
|
else
|
||||||
rm -f "$ac_file"
|
rm -f "$ac_file"
|
||||||
mv "$ac_tmp/config.h" "$ac_file" \
|
mv "$ac_tmp/config.h" "$ac_file" \
|
||||||
|| as_fn_error $? "could not create $ac_file" "6827" 5
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
$as_echo "/* $configure_input */" \
|
printf "%s\n" "/* $configure_input */" >&1 \
|
||||||
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
||||||
|| as_fn_error $? "could not create -" "6832" 5
|
|| as_fn_error $? "could not create -" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
# Compute "$ac_file"'s index in $config_headers.
|
# Compute "$ac_file"'s index in $config_headers.
|
||||||
_am_arg="$ac_file"
|
_am_arg="$ac_file"
|
||||||
@@ -1127,7 +1116,7 @@ $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|||||||
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
||||||
X"$_am_arg" : 'X\(//\)$' \| \
|
X"$_am_arg" : 'X\(//\)$' \| \
|
||||||
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
$as_echo X"$_am_arg" |
|
printf "%s\n" X"$_am_arg" |
|
||||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
s//\1/
|
s//\1/
|
||||||
q
|
q
|
||||||
@@ -1147,8 +1136,8 @@ $as_echo X"$_am_arg" |
|
|||||||
s/.*/./; q'`/stamp-h$_am_stamp_count
|
s/.*/./; q'`/stamp-h$_am_stamp_count
|
||||||
;;
|
;;
|
||||||
|
|
||||||
:C) { $as_echo "$as_me:${as_lineno-6870}: executing $ac_file commands" >&5
|
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
||||||
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -1174,7 +1163,7 @@ esac
|
|||||||
for am_mf
|
for am_mf
|
||||||
do
|
do
|
||||||
# Strip MF so we end up with the name of the file.
|
# Strip MF so we end up with the name of the file.
|
||||||
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
|
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
|
||||||
# Check whether this is an Automake generated Makefile which includes
|
# Check whether this is an Automake generated Makefile which includes
|
||||||
# dependency-tracking related rules and includes.
|
# dependency-tracking related rules and includes.
|
||||||
# Grep'ing the whole file directly is not great: AIX grep has a line
|
# Grep'ing the whole file directly is not great: AIX grep has a line
|
||||||
@@ -1186,7 +1175,7 @@ $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|||||||
X"$am_mf" : 'X\(//\)[^/]' \| \
|
X"$am_mf" : 'X\(//\)[^/]' \| \
|
||||||
X"$am_mf" : 'X\(//\)$' \| \
|
X"$am_mf" : 'X\(//\)$' \| \
|
||||||
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
$as_echo X"$am_mf" |
|
printf "%s\n" X"$am_mf" |
|
||||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
s//\1/
|
s//\1/
|
||||||
q
|
q
|
||||||
@@ -1208,7 +1197,7 @@ $as_echo X"$am_mf" |
|
|||||||
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
||||||
X"$am_mf" : 'X\(//\)$' \| \
|
X"$am_mf" : 'X\(//\)$' \| \
|
||||||
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
$as_echo X/"$am_mf" |
|
printf "%s\n" X/"$am_mf" |
|
||||||
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
||||||
s//\1/
|
s//\1/
|
||||||
q
|
q
|
||||||
@@ -1222,26 +1211,24 @@ $as_echo X/"$am_mf" |
|
|||||||
q
|
q
|
||||||
}
|
}
|
||||||
s/.*/./; q'`
|
s/.*/./; q'`
|
||||||
{ echo "$as_me:6945: cd "$am_dirpart" \
|
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
|
||||||
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
||||||
| $MAKE -f - am--depfiles" >&5
|
| $MAKE -f - am--depfiles" >&5
|
||||||
(cd "$am_dirpart" \
|
(cd "$am_dirpart" \
|
||||||
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
||||||
| $MAKE -f - am--depfiles) >&5 2>&5
|
| $MAKE -f - am--depfiles) >&5 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
echo "$as_me:6952: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } || am_rc=$?
|
(exit $ac_status); } || am_rc=$?
|
||||||
done
|
done
|
||||||
if test $am_rc -ne 0; then
|
if test $am_rc -ne 0; then
|
||||||
{ { $as_echo "$as_me:${as_lineno-6956}: error: in \`$ac_pwd':" >&5
|
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||||
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
||||||
for automatic dependency tracking. If GNU make was not used, consider
|
for automatic dependency tracking. Try re-running configure with the
|
||||||
re-running the configure script with MAKE=\"gmake\" (or whatever is
|
|
||||||
necessary). You can also try re-running configure with the
|
|
||||||
'--disable-dependency-tracking' option to at least be able to build
|
'--disable-dependency-tracking' option to at least be able to build
|
||||||
the package (albeit without support for automatic dependency tracking).
|
the package (albeit without support for automatic dependency tracking).
|
||||||
See \`config.log' for more details" "6964" 5; }
|
See \`config.log' for more details" "$LINENO" 5; }
|
||||||
fi
|
fi
|
||||||
{ am_dirpart=; unset am_dirpart;}
|
{ am_dirpart=; unset am_dirpart;}
|
||||||
{ am_filepart=; unset am_filepart;}
|
{ am_filepart=; unset am_filepart;}
|
||||||
|
|||||||
1507
config.sub
vendored
1507
config.sub
vendored
File diff suppressed because it is too large
Load Diff
95
cworker.c
95
cworker.c
@@ -4,15 +4,15 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/wait.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
|
||||||
#include <cllexer.h>
|
#include <cllexer.h>
|
||||||
#include <clparser.h>
|
#include <clparser.h>
|
||||||
@@ -27,7 +27,69 @@
|
|||||||
|
|
||||||
int log_fd = 0;
|
int log_fd = 0;
|
||||||
|
|
||||||
static int cworker_readconf(cworker_t* worker) {
|
static int mkdirall(const char* path, mode_t mode) {
|
||||||
|
char buffer[1024];
|
||||||
|
size_t psize = strlen(path);
|
||||||
|
if (psize == 0) return 0;
|
||||||
|
if (psize == 1 && path[0] == '/') {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
for (int i = 1; i < psize; i++) {
|
||||||
|
if (path[i] == '/') {
|
||||||
|
strncpy(buffer, path, i);
|
||||||
|
buffer[i] = '\0';
|
||||||
|
if (mkdir(buffer, mode) < 0) {
|
||||||
|
if (errno != EEXIST) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
char* path_last(const char* path) {
|
||||||
|
char buffer[1024];
|
||||||
|
size_t psize = strlen(path);
|
||||||
|
strcpy(buffer, path);
|
||||||
|
buffer[psize] = '\0';
|
||||||
|
if (buffer[psize - 1] == '/') {
|
||||||
|
buffer[--psize] = '\0';
|
||||||
|
}
|
||||||
|
size_t pos = psize;
|
||||||
|
for (size_t i = 1; i < psize; i++) {
|
||||||
|
if (buffer[i] == '/') pos = i;
|
||||||
|
}
|
||||||
|
char* b = &buffer[++pos];
|
||||||
|
int bsize = strlen(b);
|
||||||
|
char* res = malloc(bsize + 1);
|
||||||
|
strcpy(res, b);
|
||||||
|
//printf("\n%s\n", res);
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
char* path_file(const char* path) {
|
||||||
|
char buffer[1024];
|
||||||
|
size_t psize = strlen(path);
|
||||||
|
strcpy(buffer, path);
|
||||||
|
buffer[psize] = '\0';
|
||||||
|
//if (buffer[psize - 1] == '/') {
|
||||||
|
// buffer[--psize] = '\0';
|
||||||
|
//}
|
||||||
|
size_t pos = psize;
|
||||||
|
for (size_t i = 1; i < psize; i++) {
|
||||||
|
if (buffer[i] == '/') pos = i;
|
||||||
|
}
|
||||||
|
char* b = &buffer[++pos];
|
||||||
|
int bsize = strlen(b);
|
||||||
|
char* res = malloc(bsize + 1);
|
||||||
|
strcpy(res, b);
|
||||||
|
//printf("\n%s\n", res);
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static int cworker_readconf(const cworker_t* worker) {
|
||||||
log_debug("reading configiration");
|
log_debug("reading configiration");
|
||||||
|
|
||||||
int conf_fd = -1;
|
int conf_fd = -1;
|
||||||
@@ -58,7 +120,7 @@ static int cworker_readconf(cworker_t* worker) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cworker_readopts(cworker_t* worker, char** argv, int argc) {
|
static int cworker_readopts(const cworker_t* worker, char** argv, int argc) {
|
||||||
log_debug("reading options");
|
log_debug("reading options");
|
||||||
|
|
||||||
cllexer_t lexer;
|
cllexer_t lexer;
|
||||||
@@ -77,9 +139,13 @@ static int cworker_readopts(cworker_t* worker, char** argv, int argc) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cworker_openlog(cworker_t* worker) {
|
static int cworker_openlog(const cworker_t* worker) {
|
||||||
log_debug("redirect output");
|
log_debug("redirect output");
|
||||||
|
|
||||||
|
if (mkdirall(srv_logpath, S_IRWXU|S_IRGRP|S_IXGRP) < 0) {
|
||||||
|
log_error("creating log dir error: %s %s", strerror(errno), srv_logpath);
|
||||||
|
}
|
||||||
|
|
||||||
if ((log_fd = open(srv_logpath, O_WRONLY|O_APPEND|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP)) < 0) {
|
if ((log_fd = open(srv_logpath, O_WRONLY|O_APPEND|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP)) < 0) {
|
||||||
log_error("open log file error %s %s", strerror(errno), srv_logpath);
|
log_error("open log file error %s %s", strerror(errno), srv_logpath);
|
||||||
return -1;
|
return -1;
|
||||||
@@ -90,8 +156,13 @@ static int cworker_openlog(cworker_t* worker) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cworker_writepid(cworker_t* worker) {
|
int cworker_writepid(const cworker_t* worker) {
|
||||||
log_debug("write pid file");
|
log_debug("write pid file");
|
||||||
|
|
||||||
|
if (mkdirall(srv_runpath, S_IRWXU|S_IRGRP|S_IXGRP) < 0) {
|
||||||
|
log_error("createing run dir error: %s %s", strerror(errno), srv_runpath);
|
||||||
|
}
|
||||||
|
|
||||||
int pid_fd = -1;
|
int pid_fd = -1;
|
||||||
if ((pid_fd = open(srv_runpath, O_WRONLY|O_TRUNC|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP)) < 0) {
|
if ((pid_fd = open(srv_runpath, O_WRONLY|O_TRUNC|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP)) < 0) {
|
||||||
log_error("open pid file error %s %s", strerror(errno), srv_runpath);
|
log_error("open pid file error %s %s", strerror(errno), srv_runpath);
|
||||||
@@ -131,7 +202,7 @@ int cworker_init(cworker_t* worker, char** argv, int argc) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cworker_detach(cworker_t* worker) {
|
int cworker_detach(const cworker_t* worker) {
|
||||||
log_debug("detach service");
|
log_debug("detach service");
|
||||||
|
|
||||||
int childpid = -1;
|
int childpid = -1;
|
||||||
@@ -141,22 +212,22 @@ int cworker_detach(cworker_t* worker) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (childpid == 0) {
|
if (childpid == 0) {
|
||||||
|
log_debug("service forkerd");
|
||||||
|
return 0;
|
||||||
// child
|
// child
|
||||||
} else {
|
} else {
|
||||||
// parent
|
// parent
|
||||||
int status = 0;
|
|
||||||
waitpid(childpid, &status, 0);
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cworker_build(cworker_t* worker) {
|
int cworker_build(const cworker_t* worker) {
|
||||||
log_debug("build service");
|
log_debug("build service");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cworker_run(cworker_t* worker) {
|
int cworker_run(const cworker_t* worker) {
|
||||||
log_debug("run service");
|
log_debug("run service");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
10
cworker.h
10
cworker.h
@@ -10,11 +10,11 @@ typedef struct {
|
|||||||
|
|
||||||
int cworker_init(cworker_t* worker, char** argv, int argc);
|
int cworker_init(cworker_t* worker, char** argv, int argc);
|
||||||
|
|
||||||
int cworker_detach(cworker_t* worker);
|
int cworker_detach(const cworker_t* worker);
|
||||||
int cworker_writepid(cworker_t* worker);
|
int cworker_writepid(const cworker_t* worker);
|
||||||
int cworker_configure(cworker_t* worker);
|
int cworker_configure(const cworker_t* worker);
|
||||||
int cworker_build(cworker_t* worker);
|
int cworker_build(const cworker_t* worker);
|
||||||
int cworker_run(cworker_t* worker);
|
int cworker_run(const cworker_t* worker);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
26
defines.h
26
defines.h
@@ -2,25 +2,25 @@
|
|||||||
/* defines.h.in. Generated from configure.ac by autoheader. */
|
/* defines.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
/* location of cache dir */
|
/* location of cache dir */
|
||||||
#define APP_CACHEDIR "/dat2/home/ziggi/projects/cworker/cache"
|
#define APP_CACHEDIR "/home/ziggi/Projects/jcomp/cache"
|
||||||
|
|
||||||
/* location of configuration files for ${PACKAGE} */
|
/* location of configuration files for ${PACKAGE} */
|
||||||
#define APP_CONFIGDIR "/dat2/home/ziggi/projects/cworker/"
|
#define APP_CONFIGDIR "/home/ziggi/Projects/jcomp/"
|
||||||
|
|
||||||
/* location of database dir */
|
/* location of database dir */
|
||||||
#define APP_DATABASEDIR "/dat2/home/ziggi/projects/cworker/data"
|
#define APP_DATABASEDIR "/home/ziggi/Projects/jcomp/data"
|
||||||
|
|
||||||
/* location of libs */
|
/* location of libs */
|
||||||
#define APP_LIBDIR "/dat2/home/ziggi/projects/cworker/lib"
|
#define APP_LIBDIR "/home/ziggi/Projects/jcomp/lib"
|
||||||
|
|
||||||
/* location of ${PACKAGE} logdir */
|
/* location of ${PACKAGE} logdir */
|
||||||
#define APP_LOGDIR "/dat2/home/ziggi/projects/cworker/log"
|
#define APP_LOGDIR "/home/ziggi/Projects/jcomp/log"
|
||||||
|
|
||||||
/* location of pid file */
|
/* location of pid file */
|
||||||
#define APP_RUNDIR "/dat2/home/ziggi/projects/cworker/run"
|
#define APP_RUNDIR "/home/ziggi/Projects/jcomp/run"
|
||||||
|
|
||||||
/* effective user */
|
/* effective user */
|
||||||
#define APP_USER "root"
|
#define APP_USER "ziggi"
|
||||||
|
|
||||||
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
||||||
#define HAVE_ARPA_INET_H 1
|
#define HAVE_ARPA_INET_H 1
|
||||||
@@ -54,9 +54,6 @@
|
|||||||
to 0 otherwise. */
|
to 0 otherwise. */
|
||||||
#define HAVE_MALLOC 1
|
#define HAVE_MALLOC 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#define HAVE_MEMORY_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `memset' function. */
|
/* Define to 1 if you have the `memset' function. */
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
|
||||||
@@ -75,6 +72,9 @@
|
|||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#define HAVE_STDINT_H 1
|
#define HAVE_STDINT_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#define HAVE_STDIO_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#define HAVE_STDLIB_H 1
|
#define HAVE_STDLIB_H 1
|
||||||
|
|
||||||
@@ -149,7 +149,9 @@
|
|||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#define PACKAGE_VERSION "0.0.1"
|
#define PACKAGE_VERSION "0.0.1"
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
#define STDC_HEADERS 1
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||||
@@ -167,7 +169,7 @@
|
|||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
/* #undef mode_t */
|
/* #undef mode_t */
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define as a signed integer type capable of holding a process identifier. */
|
||||||
/* #undef pid_t */
|
/* #undef pid_t */
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
|
|||||||
12
defines.h.in
12
defines.h.in
@@ -53,9 +53,6 @@
|
|||||||
to 0 otherwise. */
|
to 0 otherwise. */
|
||||||
#undef HAVE_MALLOC
|
#undef HAVE_MALLOC
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `memset' function. */
|
/* Define to 1 if you have the `memset' function. */
|
||||||
#undef HAVE_MEMSET
|
#undef HAVE_MEMSET
|
||||||
|
|
||||||
@@ -74,6 +71,9 @@
|
|||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#undef HAVE_STDIO_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
@@ -148,7 +148,9 @@
|
|||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
#undef mode_t
|
#undef mode_t
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define as a signed integer type capable of holding a process identifier. */
|
||||||
#undef pid_t
|
#undef pid_t
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
|
|||||||
1
logger.c
1
logger.c
@@ -7,6 +7,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
#define _CLOCK_SOURCE CLOCK_MONOTONIC
|
#define _CLOCK_SOURCE CLOCK_MONOTONIC
|
||||||
//#define CLOCK_SOURCE CLOCK_REALTIME_PRECISE
|
//#define CLOCK_SOURCE CLOCK_REALTIME_PRECISE
|
||||||
|
|||||||
8
main.c
8
main.c
@@ -17,10 +17,10 @@ int main(int argc, char **argv) {
|
|||||||
log_error("cannot init service");
|
log_error("cannot init service");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (cworker_detach(&worker) < 0) {
|
//if (cworker_detach(&worker) < 0) {
|
||||||
log_error("cannot detach service");
|
//log_error("cannot detach service");
|
||||||
return 1;
|
//return 1;
|
||||||
}
|
//}
|
||||||
if (cworker_writepid(&worker) < 0) {
|
if (cworker_writepid(&worker) < 0) {
|
||||||
log_error("cannot build service");
|
log_error("cannot build service");
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
2
missing
2
missing
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||||
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
Reference in New Issue
Block a user