forked from OphidiaBigData/ophidia-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
586 lines (531 loc) · 17.2 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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
#
# Ophidia Server
# Copyright (C) 2012-2023 CMCC Foundation
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
AC_PREREQ([2.60])
AC_INIT([ophidia-server], [1.8.0], [ophidia-info@cmcc.it])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign])
# Checks for programs.
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_PROG_CC_STDC
AM_PROG_CC_C_O
LT_INIT([disable-static])
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h inttypes.h limits.h locale.h memory.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/ioctl.h sys/socket.h sys/time.h sys/timeb.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_FUNC_MKTIME
AC_FUNC_REALLOC
AC_FUNC_STRERROR_R
AC_FUNC_STRTOD
AC_CHECK_FUNCS([ftime gethostbyname gettimeofday localtime_r memmove memset mkdir realpath select socket strcasecmp strchr strdup strerror strncasecmp strndup strrchr strstr strtol])
CFLAGS="-DWITH_DOM"
CPPFLAGS="-DWITH_DOM"
CXXFLAGS="-DWITH_DOM"
AX_CODE_COVERAGE
AX_LIB_MYSQL([5.6])
if test -n $HAVE_MYSQL; then
AC_MSG_NOTICE([MySQL libraries available])
else
AC_MSG_ERROR([MySQL libraries not found! Aborting configure!])
fi
optimization="no"
AC_ARG_ENABLE(optimization,
[ --enable-optimization turn on optimization flags],
[optimization="yes"
AC_MSG_NOTICE("Optimization activated")],
[optimization="no"]
)
matheval_support=no
MATHEVAL_CONFIG=
AC_ARG_WITH(matheval_path,
[ --with-matheval-path=PATH Set the MathEval library directory],
[
matheval_path="$withval"
matheval_support=yes
MATHEVAL_CONFIG="${withval}/pkgconfig/libmatheval.pc"
],
[
MATHEVAL_CONFIG="/usr/local/lib/pkgconfig/libmatheval.pc"
echo -n "checking for $MATHEVAL_CONFIG... "
if test -e "$MATHEVAL_CONFIG" ; then
matheval_support=yes
fi
echo "$matheval_support"
]
)
if test "x${matheval_support}" = "xyes"; then
MATHEVAL_CFLAGS="`pkg-config $MATHEVAL_CONFIG --cflags`"
MATHEVAL_LIBS="`pkg-config $MATHEVAL_CONFIG --libs`"
if test "x${MATHEVAL_LIBS}" != "x"; then
AC_SUBST(MATHEVAL_CFLAGS)
AC_SUBST(MATHEVAL_LIBS)
AC_MSG_NOTICE(Matheval enabled)
else
AC_MSG_NOTICE(Matheval disabled)
matheval_support=no
fi
else
AC_MSG_NOTICE(Matheval disabled)
fi
AM_CONDITIONAL([MATHEVAL_SUPPORT], [test "x$matheval_support" = "xyes"])
AC_ARG_ENABLE(debug,
[ --enable-debug Enable debug. (Disabled by default)],
[ debug="yes"],
[ debug="no"]
)
if test "x$debug" = "xyes"; then
AC_MSG_WARN("Debug activated")
OPT="-g3 -Wall -Wextra -O0 -DLOCAL_FRAMEWORK -DUSE_MPI"
else
OPT="-O3"
fi
AC_ARG_ENABLE(webaccess,
[ --enable-webaccess Enable Web Access. (Disabled by default)],
[ webaccess="yes"],
[ webaccess="no"]
)
if test "x$webaccess" = "xyes"; then
AC_MSG_NOTICE(Web Access activated)
fi
AM_CONDITIONAL([OPH_WEB_ACCESS], [test "x$webaccess" = "xyes"])
AC_ARG_WITH(interface_type,
[ --with-interface-type=TYPE Interface type: SSL],
[
interface_type="$withval"
],
[
interface_type="ssl"
])
if test "x${interface_type}" = "xssl"; then
INTERFACE_TYPE=$interface_type
elif test "x${interface_type}" = "xgsi"; then
INTERFACE_TYPE=$interface_type
else
AC_MSG_ERROR(Unsupported interface type)
fi
AC_SUBST(INTERFACE_TYPE)
AM_CONDITIONAL([INTERFACE_TYPE_IS_SSL], [test "x$interface_type" = "xssl"])
AM_CONDITIONAL([INTERFACE_TYPE_IS_GSI], [test "x$interface_type" = "xgsi"])
AC_ARG_WITH(globus-libs,
[ --with-globus-libs=GLOBUS_LIB_LOCATION Set the Globus library location],
[GLOBUS_LIB="$withval"]
)
AC_SUBST(GLOBUS_LIB)
if test -n $GLOBUS_LIB; then
AC_MSG_NOTICE([Globus library in: $GLOBUS_LIB])
fi
AC_ARG_WITH(globus-include,
[ --with-globus-include=GLOBUS_INCLUDE_LOCATION Set the Globus header location],
[GLOBUS_INCLUDE="$withval"]
)
AC_SUBST(GLOBUS_INCLUDE)
if test -n $GLOBUS_INCLUDE; then
AC_MSG_NOTICE([Globus includes: $GLOBUS_INCLUDE])
fi
gsi_plugin_threads_enable=0
GSI_PLUGIN_THREADS=$gsi_plugin_threads_enable
AC_SUBST(GSI_PLUGIN_THREADS)
#Enable VOMS
voms_enable=0
AC_ARG_ENABLE(voms,
[ --enable-voms Enables support for VOMS on GLITE],
[voms_enable=1],
[voms_enable=0])
VOMS=$voms_enable
AC_SUBST(VOMS)
#Set VOMS libs path
AC_ARG_WITH(voms-libs, [ --with-voms-libs=VOMS_LIBS Sets the VOMS libraries path], [ VOMS_LIBS="$withval" ] )
if test -z "$VOMS_LIBS" && test $voms_enable = 1; then
AC_MSG_ERROR([no VOMS libraries directory found])
else
AC_MSG_NOTICE([VOMS libraries directory: $VOMS_LIBS])
VOMS_DEFINE="GLITE_VOMS"
fi
AC_SUBST(VOMS_LIBS)
AC_SUBST(VOMS_DEFINE)
#Set VOMS include path
AC_ARG_WITH(voms-include, [ --with-voms-include=VOMS_INCLUDE Sets the VOMS include path], [ VOMS_INCLUDE="$withval" ] )
if test -z "$VOMS_INCLUDE" && test $voms_enable = 1; then
AC_MSG_ERROR([no VOMS include directory found])
else
AC_MSG_NOTICE([VOMS includes: $VOMS_INCLUDE])
fi
AC_SUBST(VOMS_INCLUDE)
# Set servers default listening port number
ws_port=11732
AC_ARG_WITH(ws-port,
[ --with-ws-port=NUMBER Set server listening port number (default: 11732)],
[
ws_port="$withval"
]
)
PLUGIN_DEFAULT_PORT=$ws_port
AC_SUBST(PLUGIN_DEFAULT_PORT)
ws_hostname=$HOSTNAME
AC_ARG_WITH(ws-hostname,
[ --with-ws-hostname=HOSTNAME Set server FQDN (default: hostname)],
[
ws_hostname="$withval"
]
)
PLUGIN_DEFAULT_HOSTNAME=$ws_hostname
AC_SUBST(PLUGIN_DEFAULT_HOSTNAME)
ws_protocol="https"
AC_ARG_WITH(ws-protocol,
[ --with-ws-protocol=PROTOCOL Set web service protocol (default: https)],
[
ws_protocol="$withval"
]
)
PLUGIN_DEFAULT_PROTOCOL=$ws_protocol
AC_SUBST(PLUGIN_DEFAULT_PROTOCOL)
ws_notifier="framework"
AC_ARG_WITH(ws-notifier,
[ --with-ws-notifier=username Set notifier user (default: framework)],
[
ws_notifier="$withval"
]
)
OPH_NOTIFIER=$ws_notifier
AC_SUBST(OPH_NOTIFIER)
AUTHORIZATION="$prefix/authz/dn.dat"
AC_SUBST(AUTHORIZATION)
AUTHORIZATION_FILE="$prefix/authz/dn.dat"
AC_SUBST(AUTHORIZATION_FILE)
BLACK_LIST="$prefix/authz/black_dn.dat"
AC_SUBST(BLACK_LIST)
BLACK_LIST_FILE="$prefix/authz/black_dn.dat"
AC_SUBST(BLACK_LIST_FILE)
AUTHORIZED_VO="$prefix/authz/vo.dat"
AC_SUBST(AUTHORIZED_VO)
AUTHORIZED_VO_FILE="$prefix/authz/vo.dat"
AC_SUBST(AUTHORIZED_VO_FILE)
OPH_SERVER_LOCATION=$prefix
AC_SUBST(OPH_SERVER_LOCATION)
AC_ARG_WITH(framework_path,
[ --with-framework-path=PATH Location of oph-analytics-framework],
[
framework_path="$withval"
],
[
framework_path="/usr/local/ophidia/oph-cluster/oph-analytics-framework"
])
OPH_FRAMEWORK_LOCATION=${framework_path}
AC_SUBST(OPH_FRAMEWORK_LOCATION)
AC_ARG_WITH(ophidiaio_server_path,
[ --with-ophidiaio-server-path=PATH Location of oph-io-server],
[
ophidiaio_server_path="$withval"
],
[
ophidiaio_server_path="/usr/local/ophidia/oph-cluster/oph-io-server"
])
OPH_IOSERVER_LOCATION=${ophidiaio_server_path}
AC_SUBST(OPH_IOSERVER_LOCATION)
AC_ARG_WITH(extra_path,
[ --with-extra-path=PATH Location of extra packages, e.g. SLURM],
[
extra_path="$withval"
],
[
extra_path="/usr/local/ophidia/extra"
])
OPH_EXTRA_LOCATION=${extra_path}
AC_SUBST(OPH_EXTRA_LOCATION)
AC_ARG_WITH(web_server_url,
[ --with-web-server-url=URL Location of web server],
[
web_server_url="$withval"
],
[
web_server_url="http://127.0.0.1"
])
OPH_WEB_SERVER=${web_server_url}
AC_SUBST(OPH_WEB_SERVER)
AC_ARG_WITH(web_server_path,
[ --with-web-server-path=PATH Location of web server],
[
web_server_path="$withval"
],
[
web_server_path="/var/www/html"
])
OPH_WEB_SERVER_LOCATION=${web_server_path}
AC_SUBST(OPH_WEB_SERVER_LOCATION)
PKG_CHECK_MODULES(XML, libxml-2.0 >= 2.4)
AC_ARG_WITH(libxml_header_path,
[ --with-libxml-header-path=PATH Location of libxml2 include directory],
[
libxml_header_path="-I$withval"
],
[
libxml_header_path="$XML_CFLAGS"
])
AC_ARG_WITH(libxml_lib_path,
[ --with-libxml-lib-path=PATH Location of libxml2.a],
[
libxml_lib_path="-L$withval -lxml2"
],
[
libxml_lib_path="$XML_LIBS"
])
LIBXML_INCLUDE="$libxml_header_path"
AC_SUBST(LIBXML_INCLUDE)
LIBXML_LIB="$libxml_lib_path"
AC_SUBST(LIBXML_LIB)
PKG_CHECK_MODULES(CURL, libcurl >= 0.23)
AC_ARG_WITH(libcurl_header_path,
[ --with-libcurl-header-path=PATH Location of libcurl include directory],
[
libcurl_header_path="-I$withval"
],
[
libcurl_header_path="$CURL_CFLAGS"
])
AC_ARG_WITH(libcurl_lib_path,
[ --with-libcurl-lib-path=PATH Location of libcurl.a],
[
libcurl_lib_path="-L$withval -lcurl"
],
[
libcurl_lib_path="$CURL_LIBS"
])
LIBCURL_INCLUDE="$libcurl_header_path"
AC_SUBST(LIBCURL_INCLUDE)
LIBCURL_LIB="$libcurl_lib_path"
AC_SUBST(LIBCURL_LIB)
PKG_CHECK_MODULES(OPENSSL, openssl >= 1.0.0)
AC_ARG_WITH(libopenssl_header_path,
[ --with-libopenssl-header-path=PATH Location of openssl include directory],
[
libopenssl_header_path="-I$withval"
],
[
libopenssl_header_path="$OPENSSL_CFLAGS"
])
AC_ARG_WITH(libopenssl_lib_path,
[ --with-libopenssl-lib-path=PATH Location of openssl],
[
libopenssl_lib_path="-L$withval -lssl -lcrypto"
],
[
libopenssl_lib_path="$OPENSSL_LIBS"
])
LIBSSL_INCLUDE="$libopenssl_header_path"
AC_SUBST(LIBSSL_INCLUDE)
LIBSSL_LIB="$libopenssl_lib_path"
AC_SUBST(LIBSSL_LIB)
#Disable SSH
SSH_SUPPORT=
AC_ARG_ENABLE(ssh_lib,
[ --enable-ssh-lib Enable libSSH to submit commands to the cluster. (Disabled by default)],
[ ssh_lib="yes" ],
[ ssh_lib="no" ]
)
AM_CONDITIONAL([SSH_SUPPORT], [test "x$ssh_lib" = "xyes"])
if test "x${ssh_lib}" = "xyes"; then
PKG_CHECK_MODULES(SSH2, libssh2 >= 0.23)
AC_ARG_WITH(libssh2_header_path,
[ --with-libssh2-header-path=PATH Location of libssh2 include directory],
[
libssh2_header_path="-I$withval"
],
[
libssh2_header_path="$SSH2_CFLAGS"
])
AC_ARG_WITH(libssh2_lib_path,
[ --with-libssh2-lib-path=PATH Location of libssh2],
[
libssh2_lib_path="-L$withval -lssh2"
],
[
libssh2_lib_path="$SSH2_LIBS"
])
LIBSSH2_INCLUDE="$libssh2_header_path"
AC_SUBST(LIBSSH2_INCLUDE)
LIBSSH2_LIB="$libssh2_lib_path"
AC_SUBST(LIBSSH2_LIB)
fi
have_soapcpp2=no
SOAPCPP2_PROG=
AC_ARG_WITH(soapcpp2_path,
[ --with-soapcpp2-path=PATH Set the soapcpp2 root dir],
[
soapcpp2_path="$withval"
have_soapcpp2=yes
SOAPCPP2_PROG="${withval}/bin/soapcpp2"
],
[
AC_PATH_PROG([SOAPCPP2_PROG], soapcpp2)
if test -n "$SOAPCPP2_PROG" ; then
have_soapcpp2=yes
fi
]
)
AM_CONDITIONAL([MAKE_WSDL], [test "x${have_soapcpp2}" = "xyes"])
PKG_CHECK_MODULES(JANSSON, jansson >= 2.3)
AC_ARG_WITH(jansson_header_path,
[ --with-jansson-header-path=PATH Location of Jansson include directory],
[
jansson_header_path="-I$withval"
],
[
jansson_header_path="$JANSSON_CFLAGS"
])
AC_ARG_WITH(jansson_lib_path,
[ --with-jansson-lib-path=PATH Location of jansson lib],
[
jansson_lib_path="-L$withval -ljansson"
],
[
jansson_lib_path="$JANSSON_LIBS"
])
JANSSON_INCLUDE="$jansson_header_path"
AC_SUBST(JANSSON_INCLUDE)
JANSSON_LIB="$jansson_lib_path"
AC_SUBST(JANSSON_LIB)
JANSSON_LIBDIR=`pkg-config --variable=libdir jansson`
AC_SUBST(JANSSON_LIBDIR)
AC_ARG_ENABLE(openid, [ --disable-openid Disable OpenID. (Enabled by default)], [ openid="no" ], [ openid="yes" ])
if test "x$openid" = "xyes"; then
openid=no
CJOSE_CONFIG=
AC_ARG_WITH(cjose_path,
[ --with-cjose-path=PATH Set the cjose library directory],
[
cjose_path="$withval"
openid=yes
CJOSE_CONFIG="${withval}/pkgconfig/cjose.pc"
],
[
CJOSE_CONFIG="/usr/local/lib/pkgconfig/cjose.pc"
echo -n "checking for $CJOSE_CONFIG... "
if test -e "$CJOSE_CONFIG" ; then
openid=yes
fi
echo "$openid"
]
)
if test "x${openid}" = "xyes"; then
CJOSE_CFLAGS="`pkg-config $CJOSE_CONFIG --cflags`"
CJOSE_LIBS="`pkg-config $CJOSE_CONFIG --libs`"
if test "x${CJOSE_LIBS}" != "x"; then
AC_SUBST(CJOSE_CFLAGS)
AC_SUBST(CJOSE_LIBS)
AC_MSG_NOTICE(OpenID enabled)
else
AC_MSG_NOTICE(OpenID disabled)
openid=no
fi
else
AC_MSG_NOTICE(OpenID disabled)
fi
fi
AM_CONDITIONAL([OPENID_SUPPORT], [test "x$openid" = "xyes"])
OPH_OPENID_SUPPORT=$openid
AC_SUBST(OPH_OPENID_SUPPORT)
AC_ARG_ENABLE(aaa, [ --disable-aaa Disable AAA. (Enabled by default)], [ aaa="no" ], [ aaa="yes" ])
if test "x$aaa" = "xyes"; then
AC_MSG_NOTICE(AAA enabled)
else
AC_MSG_NOTICE(AAA disabled)
fi
AM_CONDITIONAL([AAA_SUPPORT], [test "x$aaa" = "xyes"])
OPH_AAA_SUPPORT=$aaa
AC_SUBST(OPH_AAA_SUPPORT)
#Disable direct output in case of single tasks
direct_output=yes
AC_ARG_ENABLE(direct_output,
[ --disable-direct-output Disable direct output of workflows with single task],
[direct_output=no],
[direct_output=yes])
AM_CONDITIONAL([DIRECT_OUTPUT], [test "x$direct_output" = "xyes"])
OPH_DIRECT_OUTPUT=$direct_output
AC_SUBST(OPH_DIRECT_OUTPUT)
case "${host}" in
*-*-solaris*) PLATFORM=SUN_OS
SAMPLE_EXTRA_LIBS="-lxnet -lsocket -lnsl"
;;
*-*-sysv5*) PLATFORM=UNIXWARE ;;
*-*-UnixWare*) PLATFORM=UNIXWARE ;;
*-*-unixware*) PLATFORM=UNIXWARE ;;
*-*-sco3.2v5*) PLATFORM=OPENSERVER
SAMPLE_EXTRA_LIBS="-lsocket"
;;
*-*-linux*) PLATFORM=LINUX
if test "x$debug" = "xyes"; then
OPT="-g3 -Wall -Wextra -O0 -DLOCAL_FRAMEWORK -DUSE_MPI"
else
OPT="-O3"
fi
if test "x$optimization" = "xyes" ; then
CFLAGS="-O3 -finline-functions -funswitch-loops -fgcse-after-reload -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fivopts -ftree-vectorize -ftracer -fgcse-sm -fgcse-las -fgcse-after-reload -funroll-loops -freorder-blocks-and-partition -fweb"
fi
;;
*-*-cygwin*) PLATFORM=CYGWIN
;;
*-*-freebsd*) PLATFORM=FREEBSD ;;
*-*-irix*) PLATFORM=IRIX
;;
*-*-aix*) PLATFORM=AIX
case "${host}" in
*-*-aix4.1*) osver=AIX41;;
*-*-aix4.2*) osver=AIX42;;
*-*-aix4.3*) osver=AIX43;;
*-*-aix4.*) osver=AIX43;;
esac;;
*-sequent-*) PLATFORM=PTX ;;
*-*-hp*) PLATFORM=HP_UX ;
case "${host}" in
*-*-hpux11*) osver=HPUX11;;
*-*-hpux10*) osver=HPUX10;;
*) osver=HPUX11;;
esac;;
*-*-mvs*) PLATFORM=OS390 ;;
*-*-os400*) PLATFORM=OS400 ;;
*-*-OS400*) PLATFORM=OS400 ;;
*-*-osf*) PLATFORM=TRU64
OPT="-g3"
REENTRANT="1"
;;
*-apple-*) PLATFORM=__APPLE__
OPT="-g3"
;;
*) PLATFORM=UNKNOWN ;;
esac
AC_SUBST(SAMPLE_EXTRA_LIBS)
AC_SUBST(PLATFORM)
AC_SUBST(OPT)
AC_SUBST(REENTRANT)
AM_CONDITIONAL(VOMS, test $voms_enable = 1)
AC_CONFIG_FILES([etc/oph_server], [chmod 0755 etc/oph_server])
AC_OUTPUT([Makefile src/Makefile test/Makefile etc/server.conf etc/oph_server.service etc/web/env.php etc/oph_server_logrotate etc/rms/slurm.conf])