forked from LLNL/libROM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
599 lines (528 loc) · 16.9 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
587
588
589
590
591
592
593
594
595
596
597
598
599
dnl
dnl Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
dnl Produced at the Lawrence Livermore National Laboratory
dnl Written by William Arrighi [email protected]
dnl CODE-686965
dnl All rights reserved.
dnl
dnl This file is part of libROM.
dnl For details, see https://computation.llnl.gov/librom
dnl Please also read README_BSD_NOTICE.
dnl
dnl Redistribution and use in source and binary forms, with or without
dnl modifications, are permitted provided that the following conditions are
dnl met:
dnl
dnl o Redistributions of source code must retain the above copyright notice,
dnl this list of conditions and the disclaimer below.
dnl o Redistribution in binary form must reproduce the above copyright
dnl notice, this list of conditions and the disclaimer (as noted below) in
dnl the documentation and/or other materials provided with the
dnl distribution.
dnl o Neither the name of the LLNS/LLNL nor the names of its contributors
dnl may be used to endorse or promote products derived from this software
dnl without specific prior written permission.
dnl
dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
dnl ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
dnl LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
dnl DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
dnl (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
dnl SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
dnl CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
dnl LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
dnl OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OR
dnl SUCH DAMAGE.
dnl
dnl Description: autoconf configuration file
AC_INIT(libROM, 0.1)
# Initialize Automake
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects])
AC_CONFIG_HEADER(CAROM_config.h:config/CAROM_config.h.in)
dnl
dnl Autoheader stuff
AH_TOP([
#ifndef INCLUDED_CAROM_CONFIG_H
#define INCLUDED_CAROM_CONFIG_H
#define CAROM_VERSION_MAJOR 0
#define CAROM_VERSION_MINOR 1
#define CAROM_VERSION_PATCHLEVEL 0
])
AH_BOTTOM([
#endif
])
AC_ARG_ENABLE([check_assertions],
[AS_HELP_STRING([--enable-check-assertions],
[build with assertion checking on (default is disabled; is enabled for when debugging is enabled)])],
[user_specified_check_assertions="yes"],
[enable_check_assertions="no"]
)
AC_ARG_WITH([CXX],
[AS_HELP_STRING([--with-CXX=ARG],[manually set C++ compiler to ARG])]
)
AC_ARG_WITH([FC],
[AS_HELP_STRING([--with-FC=ARG],[manually set Fortran compiler to ARG])]
)
AC_ARG_WITH([AR],
[AS_HELP_STRING([--with-AR=ARG],[manually set AR to ARG])]
)
dnl
dnl Initialize common macros to empty strings
dnl
INC_PATH=
LIB_PATH=
LIB_NAME=
dnl
dnl Guess the machine architecture and set the variable ARCH
dnl
CASC_GUESS_ARCH
CASC_AC_LOG_VAR(ARCH)
dnl
dnl Set up the C++ compiler.
dnl
if test -n "$with_CXX"; then
CXX=$with_CXX
else
case "$host_os" in
linux*) CCC=" g++ ";;
solaris*) CCC=" g++ ";;
osf*) CCC=" g++ ";;
*) CCC=
esac
fi
CASC_AC_LOG_VAR(with_CXX CXX CCC, before running compiler search)
AC_PROG_CXX($CCC)
CASC_AC_LOG_VAR(with_CXX CXX CCC, after running compiler search)
dnl
dnl Check for C++11 support (required for Elemental)
dnl
AX_CXX_COMPILE_STDCXX_11([], [mandatory])
dnl
dnl Check for Fortran compiler (required to detect Fortran name-mangling
dnl convention); prefer a Fortran 90 compiler for LAPACK & BLAS.
dnl
if test -n "$with_FC"; then
FC=$with_FC
else
case "$host_os" in
linux*) FCC=" gfortran ";;
solaris*) FCC=" gfortran ";;
osf*) FCC=" gfortran ";;
*) FCC=
esac
fi
CASC_AC_LOG_VAR(with_FC FC FCC, before running compiler search)
dnl The intention behind this search order for Fortran compilers is to
dnl put the user-specified compiler (if available) first. If the OS is
dnl detected properly, then common OSes will put gfortran first. If
dnl the OS is exotic, then the OS detection above will set FCC to the
dnl empty string, in which case, the search order proceeds from
dnl (probably) rarer compilers to more common compilers. Fewer
dnl systems have IBM's xl compilers than PGI. If a system has a PGI
dnl compiler, it usually also has a Intel compiler, but the reverse
dnl isn't necessarily true. Intel compilers are still pretty common,
dnl but flang is not. However, flang is free, and the xl, PGI, and
dnl Intel compilers generally require a license, so we put flang after
dnl the compilers that require a license, and before gfortran, which
dnl is very common.
AC_PROG_FC([$FCC xlflang xlf90 pg90 ifort flang gfortran])
CASC_AC_LOG_VAR(with_FC FC FCC, after running compiler search)
dnl Determine Fortran libraries for linking; on some systems, these
dnl are needed for linking LAPACK, which is Fortran-based. This logic
dnl doesn't work on the CORAL EA systems, which use a beta xl compiler
case "$FC" in
*xlf) ;;
*xlf90) ;;
*xlf-gpu) ;;
*) dnl This branch should include xlflang, for which Fortran linkage
dnl detection works.
AC_FC_LIBRARY_LDFLAGS
SPLIT_LIBS_STRING(FCLIBS,fc_LIB_PATH,fc_LIB_NAME)
;;
esac
dnl
dnl Generate macro wrappers for Fortran functions to make the Fortran
dnl name-mangling convention portable.
dnl
AC_FC_WRAPPERS
dnl
dnl A way to manually add flags to the loader (ld) command.
dnl
AC_ARG_WITH([extra-ld-flags],
[AS_HELP_STRING([--with-extra-ld-flags=STRING],
[Specify additional flags for the loader.])],
,with_extra_ld_flags='no')
case "$with_extra_ld_flags" in
no)
: No op
;;
yes)
: No op
;;
*)
LDFLAGS="$LDFLAGS $with_extra_ld_flags"
;;
esac
dnl
dnl Find ranlib
dnl
AC_PROG_RANLIB
dnl
dnl Find ar for archiving
dnl
AC_CHECK_PROGS(AR, $with_AR ar,)
if test -z "$AR"; then
AC_MSG_ERROR([ar archiver not found - specify with --with-AR=ARG])
fi
dnl
dnl Determine what compilers are being used.
dnl
CASC_INFO_CC_CXX_ID
# Warn user about unsupported compilers:
case $CXX_ID in
gnu|xlc|intel) ;;
*)
AC_MSG_WARN([
You are using a C++ compiler unsupported by CAROM
You are on your own!
])
;;
esac
dnl
dnl Check various C++ compiler features.
dnl
case $CXX_ID in
gnu)
CXXFLAGS="-Wall -Wextra -Wconversion $CXXFLAGS"
case $ARCH in
IRIX64)
CXXFLAGS="-mabi=64 $CXXFLAGS"
;;
solaris)
;;
CYGWIN)
CXXFLAGS="$CXXFLAGS"
;;
esac
;;
xlc)
CXXFLAGS="-qrtti -g $CXXFLAGS"
;;
intel)
# Ignore some Intel warnings that seem harmless and very hard to get rid of
CXXFLAGS="$CXXFLAGS -Wall -w1 -wd981 -wd383 -wd1418 -wd522"
;;
*)
;;
esac
AC_ARG_ENABLE([opt],
[AS_HELP_STRING([--enable-opt=STRING],
[Set compiler optimization switches.])],
[case "$enable_opt" in
no) opt_switches= ;;
yes)
case $CXX_ID in
gnu) opt_switches="-O2" ;;
intel) opt_switches="-O3" ;;
xlc) opt_switches="-O3" ;;
*) opt_switches="-O" ;;
esac ;;
*) opt_switches="$enable_opt" ;;
esac],
opt_switches=)
if test -n "$opt_switches" ; then
CXXFLAGS="$opt_switches $CXXFLAGS"
fi
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug=STRING],[Set compiler debug switches.])],
[case "$enable_debug" in
no) debug_switches= ;;
yes)
case $CXX_ID in
*) debug_switches="-g" ;;
esac ;;
*) debug_switches="$enable_debug" ;;
esac
],
debug_switches=-g)
case "$enable_debug" in
no) ;;
*)
# Enable assertion checking and disable inlining when debugging is enabled
# if user does not override.
if test "$user_specified_check_assertions" != "yes"; then
enable_check_assertions="yes"
fi
esac
dnl
dnl Check if compiling with assertions on
dnl
if test "$enable_check_assertions" = "yes"; then
AC_DEFINE([DEBUG_CHECK_ASSERTIONS],[1],[Enable assertion checking])
fi
if test -n "$debug_switches" ; then
CXXFLAGS="$debug_switches $CXXFLAGS"
fi
CASC_AC_LOG_VAR(debug_switches opt_switches)
dnl Add linkage to Fortran libraries, which is required because
dnl LAPACK is written in Fortran, and it is being linked by a
dnl C++ compiler, which does not include Fortran libraries by default
LIB_PATH="$fc_LIB_PATH $LIB_PATH"
LIB_NAME="$fc_LIB_NAME $LIB_PATH"
dnl
dnl Set variables for lapack support
dnl
CASC_SUPPORT_LAPACK
if test "${lapack_PREFIX+set}" = set ||
test "${lapack_INCLUDES+set}" = set ||
test "${lapack_LIBS+set}" = set ; then
SPLIT_LIBS_STRING(lapack_LIBS,lapack_LIB_PATH,lapack_LIB_NAME)
LIB_PATH="$lapack_LIB_PATH $LIB_PATH"
LIB_NAME="$lapack_LIB_NAME $LIB_NAME"
INC_PATH="$lapack_INCLUDES $INC_PATH"
else
AC_MSG_ERROR([LAPACK is required.])
fi
CASC_AC_LOG_VAR(lapack_LIB_PATH lapack_LIB_NAME LIB_PATH LIB_NAME)
dnl
dnl Determine the proper MPI include and lib paths.
dnl
if test "${with_mpi-include+set}" = set || test "${with_mpi-lib-dirs+set}" = set || test "${with_mpi_libs+set}" = set; then
CASC_FIND_MPI
if test -n "$MPIINCLUDE" -o -n "$MPILIBS" -o -n "$MPILIBDIRS"; then
INC_PATH="$MPIINCLUDE $INC_PATH"
LIB_NAME="$MPILIBS $LIB_NAME"
LIB_PATH="$MPILIBDIRS $LIB_PATH"
CASC_AC_LOG_VAR(MPIINCLUDE MPILIBS MPILIBDIRS, After successfully finding MPI using casc_find_mpi)
fi
fi
dnl
dnl Support linking with Z lib if HDF requires it
dnl
CHECK_ZLIB()
SPLIT_LIBS_STRING(zlib_LIBS,zlib_LIB_PATH,zlib_LIB_NAME)
LIB_PATH="$zlib_LIB_PATH $LIB_PATH"
LIB_NAME="$zlib_LIB_NAME $LIB_NAME"
INC_PATH="$zlib_INCLUDES $INC_PATH"
dnl
dnl Support linking with SZ lib if HDF requires it
dnl
CHECK_SZLIB()
SPLIT_LIBS_STRING(szlib_LIBS,szlib_LIB_PATH,szlib_LIB_NAME)
LIB_PATH="$szlib_LIB_PATH $LIB_PATH"
LIB_NAME="$szlib_LIB_NAME $LIB_NAME"
INC_PATH="$szlib_INCLUDES $INC_PATH"
dnl
dnl Set variables for hdf5 support
dnl
CASC_SUPPORT_HDF5
if test "${hdf5_PREFIX+set}" = set; then
SPLIT_LIBS_STRING(hdf5_LIBS,hdf5_LIB_PATH,hdf5_LIB_NAME)
LIB_PATH="$hdf5_LIB_PATH $LIB_PATH"
LIB_NAME="$hdf5_LIB_NAME $LIB_NAME"
INC_PATH="$hdf5_INCLUDES $INC_PATH"
else
AC_MSG_ERROR([HDF5 not found - you must specify a valid location via --with-hdf5=PATH.])
fi
CASC_AC_LOG_VAR(
[hdf5_INCLUDES INC_PATH hdf5_LIB_PATH hdf5_LIB_NAME LIB_PATH LIB_NAME])
# Defines elemental_PREFIX elemental_INCLUDES and elemental_LIBS if
# with-elemental is specified.
AC_ARG_WITH(elemental,
[ --with-elemental[=PATH] Use Elemental and optionally specify where Elemental is installed.],
[],
[with_elemental=no])
case "$with_elemental" in
no)
AC_MSG_NOTICE([configuring without Elemental support])
: Do nothing
;;
yes)
# Elemental install path was not specified.
# Look in a couple of standard locations to probe if
# Elemental header files are there.
AC_MSG_CHECKING([for Elemental installation])
for dir in /usr /usr/local; do
if test -f ${dir}/include/El.hpp; then
elemental_PREFIX=${dir}
elemental_INCLUDES="-I${elemental_PREFIX}/include"
if test -e ${dir}/lib/libEl.dylib -o -e ${dir}/lib/libEl.so -o -e ${dir}/lib/libEl.a; then
elemental_LIBS="-L${elemental_PREFIX}/lib -lEl"
elif test -e ${dir}/lib64/libEl.dylib -o -e ${dir}/lib64/libEl.so -o -e ${dir}/lib64/libEl.a; then
elemental_LIBS="-L${elemental_PREFIX}/lib64 -lEl"
else
AC_MSG_ERROR([Elemental's libEl not found in $elemental_PREFIX])
fi
break
fi
done
AC_MSG_RESULT([$elemental_PREFIX])
;;
*)
# Elemental install path was specified.
AC_MSG_CHECKING([for Elemental installation])
if test -f ${with_elemental}/include/El.hpp; then
elemental_PREFIX=$with_elemental
elemental_INCLUDES="-I${elemental_PREFIX}/include"
if test -e ${with_elemental}/lib/libEl.dylib -o -e ${with_elemental}/lib/libEl.so -o -e ${with_elemental}/lib/libEl.a; then
elemental_LIBS="-L${elemental_PREFIX}/lib -lEl"
elif test -e ${with_elemental}/lib64/libEl.dylib -o -e ${with_elemental}/lib64/libEl.so -o -e ${with_elemental}/lib64/libEl.a; then
elemental_LIBS="-L${elemental_PREFIX}/lib64 -lEl"
else
AC_MSG_ERROR([Elemental's libEl not found in $elemental_PREFIX])
fi
AC_MSG_RESULT([$elemental_PREFIX])
else
AC_MSG_RESULT([$elemental_PREFIX])
AC_MSG_ERROR([Elemental not found in $with_elemental])
fi
;;
esac
if test "x${with_elemental}" != xno; then
if test "${elemental_PREFIX+set}" = set; then
SPLIT_LIBS_STRING(elemental_LIBS,elemental_LIB_PATH,elemental_LIB_NAME)
LIB_PATH="$elemental_LIB_PATH $LIB_PATH"
LIB_NAME="$elemental_LIB_NAME $LIB_NAME"
INC_PATH="$elemental_INCLUDES $INC_PATH"
CXXFLAGS="$CXXFLAGS -DCAROM_HAS_ELEMENTAL"
else
AC_MSG_NOTICE([Elemental not found - disabling distributed QR decomposition code])
fi
CASC_AC_LOG_VAR(
[elemental_INCLUDES INC_PATH elemental_LIB_PATH elemental_LIB_NAME LIB_PATH LIB_NAME])
fi
dnl
dnl Detect Google Test Framework support
dnl
AC_ARG_WITH(gtest,
[ --with-gtest[=PATH] Use Google Test Framework and optionally specify where Google Test is installed.],
, with_gtest=no)
case "$with_gtest" in
no)
AC_MSG_NOTICE([configuring without Google Test Framework support])
: Do nothing
;;
yes)
# Google Test Framework install path was not specified.
# Look in a couple of standard locations to probe if
# Google Test Framework header files are there.
AC_MSG_CHECKING([for Google Test Framework installation])
for dir in /usr /usr/local; do
if test -f ${dir}/include/gtest/gtest.h; then
gtest_PREFIX=${dir}
break
fi
done
AC_MSG_RESULT([$gtest_PREFIX])
;;
*)
# Google Test Framework install path was specified.
AC_MSG_CHECKING([for Google Test Framework installation])
if test -f ${with_gtest}/include/gtest/gtest.h; then
gtest_PREFIX=$with_gtest
gtest_INCLUDES="-I${gtest_PREFIX}/include"
gtest_LIBS="-L${gtest_PREFIX}/lib -lgtest -lpthread"
AC_MSG_RESULT([$gtest_PREFIX])
else
AC_MSG_RESULT([$gtest_PREFIX])
AC_MSG_ERROR([Google Test Framework not found in $with_gtest])
fi
;;
esac
if test "x${with_gtest}" != xno; then
if test "${gtest_PREFIX+set}" = set; then
SPLIT_LIBS_STRING(gtest_LIBS,gtest_LIB_PATH,gtest_LIB_NAME)
LIB_PATH="$gtest_LIB_PATH $LIB_PATH"
LIB_NAME="$gtest_LIB_NAME $LIB_NAME"
INC_PATH="$gtest_INCLUDES $INC_PATH"
CXXFLAGS="$CXXFLAGS -DCAROM_HAS_GTEST"
else
AC_MSG_NOTICE([Google Test Framework not found - disabling unit tests.])
fi
CASC_AC_LOG_VAR(
[gtest_INCLUDES INC_PATH gtest_LIB_PATH gtest_LIB_NAME LIB_PATH LIB_NAME])
fi
dnl
dnl Support rpath syntax by adding it to the LIB_PATH variable.
dnl
CASC_AC_LOG_VAR(LIB_PATH, before adding rpath syntax)
CASC_LIBS_ADD_RPATH(LIB_PATH,LIB_PATH,1)
CASC_AC_LOG_VAR(LIB_PATH, after adding rpath syntax)
dnl
dnl Set DOXYGEN_BIN to the doxygen binary.
dnl
CASC_PATH_PROG(DOXYGEN_BIN,doxygen)
CASC_AC_LOG_VAR(DOXYGEN_BIN)
dnl
dnl Set DOT_PATH to the directory of the dot binary, for use with doxygen.
dnl
AC_ARG_WITH([dot-dir],
[AS_HELP_STRING([--with-dot-dir=DIR],
[Specify bin directory where dot binaries live.])],,
unset with_dot_dir)
if test "${with_dot_dir}" = yes || test ! "${with_dot_dir+set}" = set; then
# Find dot path, and use if found
DOT_PATH=`which dot >& /dev/null`
if test -z "${DOT_PATH}"; then
unset DOT_PATH
HAVE_DOT=NO
else
[DOT_PATH=`echo $DOT_PATH | sed 's!/[^/]\{1,\}$!!']`
HAVE_DOT=YES
fi
elif test "${with_dot_dir}" = no; then
# Disable dot.
unset DOT_PATH
HAVE_DOT=NO
else
# Make sure valid path is specified. Enable dot.
if test ! -d ${with_dot_dir}; then
AC_MSG_WARN([
Invalid path given for dot executable: ${with_dot_dir}.
Path does not exist.
You can expect doxygen documentation generation to not work properly.
]);
fi
DOT_PATH=${with_dot_dir}
HAVE_DOT=YES
fi
CASC_AC_LOG_VAR(with_dot_dir HAVE_DOT DOT_PATH)
AC_SUBST(HAVE_DOT)
AC_SUBST(DOT_PATH)
dnl
dnl Set the directory for doxygen documentation.
dnl
AC_ARG_WITH([dox-output-dir],
[AS_HELP_STRING([--with-dox-output-dir=DIR],
[Specify full where Doxygen documentation is generated. Default is the docs
directory in the compile tree.])])
if test -n "$with_dox_output_dir"; then
if echo "$with_dox_output_dir" | grep -v '^/' ; then
AC_MSG_ERROR(You must give a full path with --with-dox-output-dir=DIR)
fi
dox_output_dir="$with_dox_output_dir"
# Make sure dox_output_dir ends with / so because the doxygen
# configuration files simply append a subdirectory name.
[dox_output_dir="`echo $dox_output_dir | sed 's:\([^/]\)$:\1/:'`"]
fi
AC_SUBST(dox_output_dir)
dnl
dnl Set ROM_PERL to the perl binary for use in doxygen.
dnl
CASC_PATH_PROG(ROM_PERL,perl)
CASC_AC_LOG_VAR(ROM_PERL)
AC_SUBST(AR)
AC_SUBST(CXX)
AC_SUBST(CXXFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(INC_PATH)
AC_SUBST(LIB_PATH)
AC_SUBST(LIB_NAME)
AC_CONFIG_FILES([
Makefile
docs/Makefile
docs/Doxyfile
])
AC_OUTPUT