-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfigure.ac
431 lines (392 loc) · 17.1 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# autoconf/automake basis
AC_PREREQ([2.5])
AC_INIT([bios], [0.1.0], [[email protected]])
PACKAGE_VENDOR="Eaton"
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
# Sub-makefiles: do not forget to update SUBDIRS list in root Makefile.am
AC_CONFIG_FILES([Makefile tools/Makefile docs/examples/Makefile database/mysql/Makefile])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects])
AC_CANONICAL_HOST
AC_ARG_WITH([package-vendor],
[AS_HELP_STRING([--with-package-vendor=ARG],
[name of the entity which distributes this build
of the package (default is '$PACKAGE_VENDOR')])],
[PACKAGE_VENDOR="${withval}"
AC_MSG_NOTICE([Using requested PACKAGE_VENDOR='$PACKAGE_VENDOR'])]
# This may be left empty by explicit request
)
ci_tests=false
AC_ARG_ENABLE(ci-tests,
[AS_HELP_STRING([--enable-ci-tests],
[turn on build of CI test programs along with "all"])],
[AS_CASE(["x$enableval"],
["xyes"],[ci_tests=true],
["xno"],[ci_tests=false],
[*],[AC_MSG_ERROR([bad value ${enableval} for --enable-ci-tests])])])
AM_CONDITIONAL([ENABLE_CI_TESTS], [test "x${ci_tests}" = xtrue])
# display source/build paths of interest to us
AC_MSG_NOTICE([Determining source code paths:])
AC_MSG_NOTICE(AS_HELP_STRING([Value of srcdir:], ['$srcdir']))
_curdir_abs="`pwd`"
AC_MSG_NOTICE(AS_HELP_STRING([Value of _curdir_abs:], ['$_curdir_abs']))
AS_CASE(["x$srcdir"],
[x/*], [_srcdir_abs="$srcdir"],
[*], [_srcdir_abs="$_curdir_abs/$srcdir"
AS_IF([test -d "$_srcdir_abs"],
[_srcdir_abs="`cd "$_srcdir_abs" && pwd || echo "$_srcdir_abs"`"])
])
AC_MSG_NOTICE(AS_HELP_STRING([Value of _srcdir_abs:], ['$_srcdir_abs']))
AS_IF([test -d "$_srcdir_abs/.git"],
[AC_MSG_NOTICE([Getting current Git workspace attributes...])
# The script would need a git... can detect one or use the set envvar
# So let's help it if we can
AC_PATH_PROGS([GIT], [git])
AS_IF([test -n "$GIT" -a -x "$GIT"], [export GIT])
AC_PATH_PROGS([DATE], [gdate date])
AS_IF([test -n "$DATE" -a -x "$DATE"], [export DATE])
AS_IF([(cd "$_srcdir_abs" && $GDETAILSH ) > "$_curdir_abs/.git_details.tmp"],
[AS_IF([test -s "$_curdir_abs/.git_details.tmp"],
[AS_IF([test -s "$_curdir_abs/.git_details"],
[AS_IF([diff -bu "$_curdir_abs/.git_details" \
"$_curdir_abs/.git_details.tmp" | \
egrep -v '^(\-\-\-|\+\+\+|[ @]|[\+\-]PACKAGE_BUILD_TSTAMP)' \
>/dev/null 2>&1],
[AC_MSG_NOTICE([Got new workspace metadata to replace the old copy])
mv -f "$_curdir_abs/.git_details.tmp" "$_curdir_abs/.git_details"],
[AC_MSG_NOTICE([Got new workspace metadata but no significant changes against the old copy])]
)],
[AC_MSG_NOTICE([Got new workspace metadata and had no old stashed away, using freely])
mv -f "$_curdir_abs/.git_details.tmp" "$_curdir_abs/.git_details"])
], [AC_MSG_NOTICE([No Git metadata was detected (empty output)])
rm -f "$_curdir_abs/.git_details.tmp"])
], [AC_MSG_NOTICE([No Git metadata was detected (script errored out)])
rm -f "$_curdir_abs/.git_details.tmp"])
], [AC_MSG_NOTICE([No Git workspace was detected ($_srcdir_abs/.git directory missing)])
])
# From old copy or a new generation, we may have the file with metadata...
# We no longer cook (most of) this data into config.h because it does get
# obsolete quickly during development. Rather, the build products that
# need (test, display) this information should use or convert the file.
# The Makefile takes care to keep it current as long as possible.
# Also, for display in the end of execution, try to "source" the values.
AS_IF([test -s "$_curdir_abs/.git_details"],
[AC_MSG_NOTICE([Getting Git details into PACKAGE_* macros...])
source "$_curdir_abs/.git_details" && for V in \
PACKAGE_GIT_ORIGIN PACKAGE_GIT_BRANCH PACKAGE_GIT_TAGGED \
PACKAGE_GIT_TSTAMP PACKAGE_GIT_HASH_S PACKAGE_GIT_HASH_L \
PACKAGE_GIT_STATUS PACKAGE_BUILD_TSTAMP \
PACKAGE_GIT_TSTAMP_ISO8601 PACKAGE_BUILD_TSTAMP_ISO8601 \
PACKAGE_BUILD_HOST_UNAME PACKAGE_BUILD_HOST_NAME \
PACKAGE_BUILD_HOST_OS ; do
eval $V='$'${V}_ESCAPED || eval $V=""
done
AS_IF([test -z "$PACKAGE_GIT_HASH_S"], [source "$_curdir_abs/.git_details"])
AS_IF([test -n "$PACKAGE_GIT_HASH_S" -a x"$PACKAGE_GIT_HASH_S" != x'""' \
-a -n "$PACKAGE_GIT_TSTAMP" -a x"$PACKAGE_GIT_TSTAMP" != x'""'],
[AC_MSG_NOTICE([Setting PACKAGE_STRING and PACKAGE_VERSION to include Git hash '$PACKAGE_GIT_HASH_S' and commit timestamp '$PACKAGE_GIT_TSTAMP'...])
PACKAGE_STRING="$PACKAGE_STRING.$PACKAGE_GIT_TSTAMP~$PACKAGE_GIT_HASH_S"
PACKAGE_VERSION="$PACKAGE_VERSION.$PACKAGE_GIT_TSTAMP~$PACKAGE_GIT_HASH_S"
_FIX_PACKAGE_STRING=y
_FIX_PACKAGE_VERSION=y
### Rather don't fix the VERSION as it influences the
### tarball name in "make distcheck", install paths, etc.
#VERSION="$VERSION.$PACKAGE_GIT_TSTAMP~$PACKAGE_GIT_HASH_S"
#_FIX_VERSION=y
])
], [AC_MSG_NOTICE([No Git details detected ($_curdir_abs/.git_details file missing), they will be missing from REST API and other reports])
])
### Allow to revise the packaging strings in config.h
m4_define([__AC_UNDEFINE],[_AC_DEFINE([#ifdef $1
#undef $1
#endif])])
# General substitutions for all these packaging variables
AS_IF([test x"$_FIX_PACKAGE_NAME" = xy],
[AC_MSG_NOTICE([Overriding PACKAGE_NAME='$PACKAGE_NAME'])
__AC_UNDEFINE([PACKAGE_NAME])
AC_DEFINE_UNQUOTED([PACKAGE_NAME],
["$PACKAGE_NAME"],
[Packaging metadata: distro source code name])
])
AS_IF([test x"$_FIX_PACKAGE_VERSION" = xy],
[AC_MSG_NOTICE([Overriding PACKAGE_VERSION='$PACKAGE_VERSION'])
__AC_UNDEFINE([PACKAGE_VERSION])
AC_DEFINE_UNQUOTED([PACKAGE_VERSION],
["$PACKAGE_VERSION"],
[Packaging metadata: distro source code/packaged release version])
])
AS_IF([test x"$_FIX_VERSION" = xy],
[AC_MSG_NOTICE([Overriding VERSION='$VERSION'])
__AC_UNDEFINE([VERSION])
AC_DEFINE_UNQUOTED([VERSION],
["$VERSION"],
[Version number of package])
])
AS_IF([test x"$_FIX_PACKAGE_STRING" = xy],
[AC_MSG_NOTICE([Overriding PACKAGE_STRING='$PACKAGE_STRING'])
__AC_UNDEFINE([PACKAGE_STRING])
AC_DEFINE_UNQUOTED([PACKAGE_STRING],
["$PACKAGE_STRING"],
[Packaging metadata: distro source code name+version])
])
AS_IF([test x"$_FIX_PACKAGE_URL" = xy],
[AC_MSG_NOTICE([Overriding PACKAGE_URL='$PACKAGE_URL'])
__AC_UNDEFINE([PACKAGE_URL])
AC_DEFINE_UNQUOTED([PACKAGE_URL],
["$PACKAGE_URL"],
[Packaging metadata: distro contact (website)])
])
AS_IF([test x"$_FIX_PACKAGE_BUGREPORT" = xy],
[AC_MSG_NOTICE([Overriding PACKAGE_BUGREPORT='$PACKAGE_BUGREPORT'])
__AC_UNDEFINE([PACKAGE_BUGREPORT])
AC_DEFINE_UNQUOTED([PACKAGE_BUGREPORT],
["$PACKAGE_BUGREPORT"],
[Packaging metadata: distro contact (email/tracker)])
])
AC_MSG_NOTICE([Overriding PACKAGE_VENDOR='$PACKAGE_VENDOR'])
AC_DEFINE_UNQUOTED([PACKAGE_VENDOR],
["$PACKAGE_VENDOR"],
[Packaging metadata: name of the entity which distributes this build of the package])
AC_PROG_INSTALL
AC_PROG_LN_S
PKG_PROG_PKG_CONFIG
# Checks for optional programs.
dnl script is in m4
#doxygen
AC_PROG_TRY_DOXYGEN
AS_IF([test -z "$DOXYGEN"],
[AC_MSG_NOTICE([
-----------------------------------------
No Doxygen program found - continuing
without Doxygen documentation support.
-----------------------------------------
])
HAVE_DOXYGEN=0],
[HAVE_DOXYGEN=1])
myDOXDIR="docs/doxygen"
mydoxylog="doxylog.txt"
mysrcDIR="src"
dnl the directory to search source file that must be included in documentation
AM_CONDITIONAL([HAVE_DOXYGEN],[test -n "$DOXYGEN"])
AC_SUBST([HAVE_DOXYGEN])
AC_SUBST([myDOXDIR])
AC_SUBST([mydoxylog])
AC_SUBST([mysrcDIR])
# astyle
dnl ASTYLE would have the absolute path, use AC_CHECK_PROGS for relative
AC_PATH_PROGS([ASTYLE], [astyle])
AM_CONDITIONAL([HAVE_ASTYLE], [test -n "${ASTYLE}"])
dnl Documentation generation
# asciidoc
AC_PATH_PROGS([ASCIIDOC], [asciidoc])
# a2x
dnl TODO MVY a2x - is it ok?
AC_PATH_PROGS([A2X], [a2x])
AS_IF([test -z "$ASCIIDOC" -a -z "$A2X"],
[AC_MSG_NOTICE([
-----------------------------------------
No asciidoc or a2x program found - continuing
without ASCIIDOC documentation support.
-----------------------------------------
])
])
AM_CONDITIONAL([HAVE_ASCIIDOC],[test -n "$ASCIIDOC"])
AM_CONDITIONAL([HAVE_A2X],[test -n "$A2X"])
# sed is great!
AC_CHECK_PROGS([SED], [sed])
# sourced from an m4/*.m4 include file during configure script compilation
gl_VISIBILITY
# see daemon(7)
AC_ARG_WITH([systemdsystemunitdir],
[AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,
[with_systemdsystemunitdir=auto])
AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitdir" = "xauto"], [
def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
AS_IF([test "x$def_systemdsystemunitdir" = "x"],
[AS_IF([test "x$with_systemdsystemunitdir" = "xyes"],
[AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])
with_systemdsystemunitdir=no],
[with_systemdsystemunitdir="$def_systemdsystemunitdir"])])
AS_IF([test "x$with_systemdsystemunitdir" != "xno"],
[AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystemunitdir" != "xno"])
# same logic as above, for presets (list of svcs enabled/disabled by default)
AC_ARG_WITH([systemdsystempresetdir],
[AS_HELP_STRING([--with-systemdsystempresetdir=DIR], [Directory for systemd preset files])],,
[with_systemdsystempresetdir=auto])
AS_IF([test "x$with_systemdsystempresetdir" = "xyes" -o "x$with_systemdsystempresetdir" = "xauto"], [
def_systemdsystempresetdir=$($PKG_CONFIG --variable=systemdsystempresetdir systemd)
AS_IF([test "x$def_systemdsystempresetdir" = "x"],
[AS_IF([test "x$with_systemdsystempresetdir" = "xyes"],
[AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])
with_systemdsystempresetdir=no],
[with_systemdsystempresetdir="$def_systemdsystempresetdir"])])
AS_IF([test "x$with_systemdsystempresetdir" != "xno"],
[AC_SUBST([systemdsystempresetdir], [$with_systemdsystempresetdir])])
AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystempresetdir" != "xno"])
# Note: default path for "systemd-tmpfiles" packaged configs is currently
# hardcoded per http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
#systemdtmpfilesdir = /usr/lib/tmpfiles.d/
AC_ARG_WITH([systemdtmpfilesdir],
[AS_HELP_STRING([--with-systemdtmpfilesdir=DIR], [Directory for systemd preset files])],,
[with_systemdtmpfilesdir=auto])
AS_IF([test "x$with_systemdtmpfilesdir" = "xyes" -o "x$with_systemdtmpfilesdir" = "xauto"], [
def_systemdtmpfilesdir=$($PKG_CONFIG --variable=systemdtmpfilesdir systemd)
# NOTE: The variable queried above might not exist at all
AS_IF([test "x$def_systemdtmpfilesdir" = "x"],
[with_systemdtmpfilesdir="/usr/lib/tmpfiles.d"],
[with_systemdtmpfilesdir="$def_systemdtmpfilesdir"])])
AS_IF([test "x$with_systemdtmpfilesdir" != "xno"],
[AC_SUBST([systemdtmpfilesdir], [$with_systemdtmpfilesdir])])
AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdtmpfilesdir" != "xno"])
AC_ARG_WITH([ftydatadir],
[AS_HELP_STRING([--with-ftydatadir=DIR], [Directory for deployment specific mutable data])],,
[with_ftydatadir=/var/lib/fty])
AC_SUBST([ftydatadir], [$with_ftydatadir])
AS_CASE([$host_cpu],
[x86_64 | i?86],
[
OVERLAY_PATH=/run/initramfs/mnt/root-rw/overlay
IMAGES_PATH=/run/initramfs/mnt/disk/rootfs
URC3_DOWNLOADROOT=/run/initramfs/mnt/disk/recovery
URC3_DOWNLOADROOTFW_UBOOT=
URC3_DOWNLOADROOTFW_UIMAGE=
URC3_DOWNLOADROOTFW_MODULES=
URC3_DOWNLOADROOTFW_OVALOADER='$DOWNLOADROOT'
URC3_DEPLOYMENTROOT=/run/initramfs/mnt/disk
URC3_DEPLOYMENTROOTFW_UBOOT=
URC3_DEPLOYMENTROOTFW_UIMAGE=
URC3_DEPLOYMENTROOTFW_MODULES=
URC3_DEPLOYMENTROOTFW_OVALOADER='$DEPLOYMENTROOT'
],
[
OVERLAY_PATH=/mnt/nand/overlay
IMAGES_PATH=/mnt/nand/rootfs
URC3_DOWNLOADROOT=/mnt/mmc/recovery
URC3_DOWNLOADROOTFW_UBOOT='$DOWNLOADROOT'
URC3_DOWNLOADROOTFW_UIMAGE='$DOWNLOADROOT'
URC3_DOWNLOADROOTFW_MODULES='$DOWNLOADROOTFW_UIMAGE/modules'
URC3_DOWNLOADROOTFW_OVALOADER=
URC3_DEPLOYMENTROOT=/mnt/nand
URC3_DEPLOYMENTROOTFW_UBOOT='$DEPLOYMENTROOT'
URC3_DEPLOYMENTROOTFW_UIMAGE='$DEPLOYMENTROOT'
URC3_DEPLOYMENTROOTFW_MODULES='$DEPLOYMENTROOTFW_UIMAGE/modules'
URC3_DEPLOYMENTROOTFW_OVALOADER=
]
)
URC3_DOWNLOADROOT_OSIMAGE='$DOWNLOADROOT/rootfs'
URC3_DEPLOYMENTROOT_OSIMAGE='$DEPLOYMENTROOT/rootfs'
AC_SUBST(OVERLAY_PATH)
AC_SUBST(IMAGES_PATH)
AC_SUBST(URC3_DOWNLOADROOT)
AC_SUBST(URC3_DOWNLOADROOT_OSIMAGE)
AC_SUBST(URC3_DOWNLOADROOTFW_UBOOT)
AC_SUBST(URC3_DOWNLOADROOTFW_UIMAGE)
AC_SUBST(URC3_DOWNLOADROOTFW_MODULES)
AC_SUBST(URC3_DOWNLOADROOTFW_OVALOADER)
AC_SUBST(URC3_DEPLOYMENTROOT)
AC_SUBST(URC3_DEPLOYMENTROOT_OSIMAGE)
AC_SUBST(URC3_DEPLOYMENTROOTFW_UBOOT)
AC_SUBST(URC3_DEPLOYMENTROOTFW_UIMAGE)
AC_SUBST(URC3_DEPLOYMENTROOTFW_MODULES)
AC_SUBST(URC3_DEPLOYMENTROOTFW_OVALOADER)
dnl XXX: Evaluate the path variables here, so that we can bake them into
dnl scripts. This is against the recommendation in the autoconf manual,
dnl but in our packaging, we use DESTDIR rather than changing the prefix
dnl variable
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
eval sysconfdir=$sysconfdir
eval libdir=$libdir
eval bindir=$bindir
eval sbindir=$sbindir
eval libexecdir=$libexecdir
eval datarootdir=$datarootdir
eval datadir=$datadir
eval ftydatadir=$ftydatadir
eval localstatedir=$localstatedir
AC_DEFUN([AC_DATAROOTDIR_CHECKED])
AC_CONFIG_FILES([
obs/preinstallimage-bios.sh
setup/20-th-names.sh
setup/20-rcmysql-transient.sh
tools/db-init
tools/disable-root-account
tools/enable-root-account
tools/envvars-ExecStartPre.sh
tools/ethtool-static-nolink
tools/fty-route
tools/ifplug-dhcp-autoconf.sh
tools/generate-release-details.sh
tools/setup-nut-users-ExecStartPre.sh
tools/factory-reset-live.sh
tools/run-test-doc.sh
tools/run-user-script
tools/run-ssh-action
tools/start-db-services
tools/ssl-ExecStartPre.sh
tools/tntnet-ExecStartPre.sh
tools/update-rc3
tools/udhcpc-override.sh
tools/verify-fs
], [ chmod +x "$ac_file" ])
AC_CONFIG_FILES([
docs/examples/rsyslog.d/05-bash.conf
docs/examples/rsyslog.d/10-ipc.conf
docs/examples/sudoers.d/fty_00_base
docs/examples/nut-server.service.d/configure-nut-users.conf
docs/examples/update-rc3.d/90-local-paths.rc3.conf
systemd/bios-networking.service
systemd/bios-reset-button.service
systemd/bios-ssh-last-resort.service
systemd/bios-target-watchdog.service
systemd/biostimer-compress-logs.service
systemd/biostimer-loghost-rsyslog-netconsole.service
systemd/biostimer-verify-fs.service
systemd/fty-core.conf
systemd/fty-db-engine-pre.service
systemd/fty-db-engine.service
systemd/fty-db-init.service
systemd/fty-db-init.conf
systemd/fty-license-accepted.service
systemd/fty-license-accepted.path
systemd/fty-envvars.service
systemd/fty-hostname-setup.service
systemd/[email protected]
systemd/ifplug-dhcp-autoconf.service
systemd/ipc-meta-setup.service
])
AC_MSG_NOTICE([
Summary:
Version: ${PACKAGE_NAME} ${VERSION}
Git origin URL: ${PACKAGE_GIT_ORIGIN}
Git branch: ${PACKAGE_GIT_BRANCH}
Git tag: ${PACKAGE_GIT_TAGGED}
Git last-commit tstamp: ${PACKAGE_GIT_TSTAMP} ${PACKAGE_GIT_TSTAMP_ISO8601}
Git last-commit hash(S): ${PACKAGE_GIT_HASH_S}
Git last-commit hash(L): ${PACKAGE_GIT_HASH_L}
Git status (uncommitted files): '${PACKAGE_GIT_STATUS}'
Build-host 'uname -a': ${PACKAGE_BUILD_HOST_UNAME}
Build-host system name: ${PACKAGE_BUILD_HOST_NAME}
Build-host OS/kernel: ${PACKAGE_BUILD_HOST_OS}
Build-host timestamp: ${PACKAGE_BUILD_TSTAMP} ${PACKAGE_BUILD_TSTAMP_ISO8601}
prefix: ${prefix}
sysconf dir: ${sysconfdir}
datarootdir: ${datarootdir}
includedir: ${includedir}
lib dir: ${libdir}
a2x: ${A2X:-none}
astyle: ${ASTYLE:-none}
asciidoc: ${ASCIIDOC:-none}
doxygen: ${DOXYGEN:-none}
ENABLE_CI_TESTS: ${ci_tests}
PKG_CONFIG: ${PKG_CONFIG}
SYSTEMDSYSTEMUNITDIR: ${systemdsystemunitdir}
SYSTEMDSYSTEMPRESETDIR: ${systemdsystempresetdir}
SYSTEMDTMPFILESDIR: ${systemdtmpfilesdir}
absolute SRC DIR: ${_srcdir_abs}
absolute CUR DIR: ${_curdir_abs}
])
unset _srcdir_abs
AC_OUTPUT