5
# Refer to packages/new_package/README for suggestions on
6
# adding a new package.
9
# Process this file with autoconf to produce a configure script.
10
AC_INIT(Trilinos, 9.0.3, maherou@sandia.gov)
11
AC_CONFIG_SRCDIR([packages/epetra/src/Epetra_Object.h])
12
AM_CONFIG_HEADER([Trilinos_config.h:Trilinos_config.h.in])
14
# AM_MAINTAINER_MODE turns off maintainer-only makefile targets by
15
# default, and changes configure to understand a
16
# --enable-maintainer-mode option. --enable-maintainer-mode turns the
17
# maintainer-only targets back on. The maintainer-only makefile
18
# targets permit end users to clean automatically-generated files such
19
# as configure, which means they have to have autoconf and automake
20
# installed to repair the damage. AM_MAINTAINER_MODE makes it a bit
21
# harder for users to shoot themselves in the foot.
25
# Specify required version of automake.
27
AM_INIT_AUTOMAKE(1.10 no-define tar-ustar)
29
# Specify required version of autoconf.
33
# Must indicate for packages that can be configured from the package level that the
34
# configure/build process is happening within Trilinos.
36
ac_configure_args="$ac_configure_args --with-trilinos"
38
echo "NOTE: If a package is not enabled based on the"
39
echo "configure options, but is required by another"
40
echo "package that has been enabled, it will"
41
echo "automatically be configured and built, even if"
42
echo "the list below does not indicate so."
44
TAC_ARG_ENABLE_FEATURE_SUB( default, packages, [Build all default packages unless explicitly disabled. When this option is disabled, only packages explicitly enabled and packages needed to satisfy the dependencies of enabled packages will be built], DEFAULT_PACKAGES, yes)
46
TAC_ARG_ENABLE_FEATURE(amesos, [Build amesos, a direct sparse solver package], AMESOS, no)
48
TAC_ARG_ENABLE_FEATURE(anasazi, [Build anasazi, an eigenvalue solver package], ANASAZI, no)
50
TAC_ARG_ENABLE_DEFAULT_FEATURE(aztecoo, [Build aztecoo, a linear solver and preconditioner package], AZTECOO)
52
TAC_ARG_ENABLE_FEATURE(belos, [Build belos, a linear solver package], BELOS, no)
54
TAC_ARG_ENABLE_FEATURE(claps, [Build claps, a domain decomposition preconditioner package], CLAPS, no)
56
TAC_ARG_ENABLE_FEATURE(didasko, [Build didasko, a Trilinos tutorial package], DIDASKO, no)
58
TAC_ARG_ENABLE_DEFAULT_FEATURE(epetra, [Build epetra, a basic linear algebra package], EPETRA)
60
TAC_ARG_ENABLE_DEFAULT_FEATURE(epetraext, [Build epetraext, an epetra extensions package], EPETRAEXT)
62
#The external package is a mechanism for adding external packages to the Trilinos
64
TAC_ARG_ENABLE_FEATURE(external, [Build external package in packages/external], EXTERNAL, no)
66
TAC_ARG_ENABLE_DEFAULT_FEATURE(ifpack, [Build ifpack, an algebraic preconditioner package], IFPACK)
68
TAC_ARG_ENABLE_FEATURE(fei, [Build fei, a sparse linear-system assembly package], FEI, no)
70
TAC_ARG_ENABLE_FEATURE(intrepid, [Build intrepid, a discretization package], INTREPID, no)
72
TAC_ARG_ENABLE_FEATURE(isorropia, [Build isorropia, a repartitioning/rebalancing package], ISORROPIA, no)
74
TAC_ARG_ENABLE_FEATURE(kokkos, [Build kokkos, a sparse kernels package], KOKKOS, no)
76
TAC_ARG_ENABLE_FEATURE(komplex, [Build komplex, a complex linear solver package], KOMPLEX, no)
78
TAC_ARG_ENABLE_DEFAULT_FEATURE(loca, [Build loca, a bifurcation analysis package], LOCA)
80
TAC_ARG_ENABLE_FEATURE(meros, [Build meros, a segregated preconditioner package], MEROS, no)
82
TAC_ARG_ENABLE_FEATURE(moertel, [Build moertel, a mortar methods package], MOERTEL, no)
84
TAC_ARG_ENABLE_DEFAULT_FEATURE(ml, [Build ml, a multi-level preconditioner package], ML)
86
## #np# - Copy the next line, and change the name. Place the line in
87
## #np# - alphabetical order based on package name.
88
TAC_ARG_ENABLE_DEFAULT_FEATURE(new_package, [Build new_package, a working package prototype], NEW_PACKAGE)
90
TAC_ARG_ENABLE_DEFAULT_FEATURE(nox, [Build nox, a nonlinear solver package], NOX)
92
TAC_ARG_ENABLE_FEATURE(phalanx, [Build phalanx, a nonlinear expression assembly kernel], PHALANX, no)
94
TAC_ARG_ENABLE_FEATURE(phdmesh, [Build phdMesh, a Parallel Heterogneous Dynamic unstructured Mesh package], PHDMESH, no)
96
TAC_ARG_ENABLE_FEATURE(pliris, [Build pliris, a dense direct solver package], PLIRIS, no)
98
TAC_ARG_ENABLE_FEATURE(pytrilinos, [Build PyTrilinos, a Python wrapper package], PYTRILINOS, no)
100
TAC_ARG_ENABLE_FEATURE(rbgen, [Build rbgen], RBGEN, no)
102
TAC_ARG_ENABLE_FEATURE(rythmos, [Build rythmos, a transient integration package], RYTHMOS, no)
104
TAC_ARG_ENABLE_FEATURE(sacado, [Build sacado, an automatic differentation package], SACADO, no)
106
TAC_ARG_ENABLE_FEATURE(sundance, [Build Sundance, a system for development of parallel finite-element solutions of PDEs], SUNDANCE, no)
108
TAC_ARG_ENABLE_FEATURE(teuchos, [Build teuchos, a tools package], TEUCHOS, no)
110
TAC_ARG_ENABLE_FEATURE(pamgen, [Build pamgen, a tools package], PAMGEN, no)
112
TAC_ARG_ENABLE_FEATURE(rtop, [Build RTOp, a vector reduction/transformation operator package], RTOP, no)
114
TAC_ARG_ENABLE_FEATURE(threadpool, [Build ThreadPool], THREADPOOL, no)
116
TAC_ARG_ENABLE_FEATURE(thyra, [Build thyra, an abstract linear solver package], THYRA, no)
118
TAC_ARG_ENABLE_FEATURE(stratimikos, [Build stratimikos, a linear solver strategy package], STRATIMIKOS, no)
120
TAC_ARG_ENABLE_FEATURE(moocho, [Build moocho, an optimization package], MOOCHO, no)
122
TAC_ARG_ENABLE_FEATURE(tpetra, [Build tpetra, a templated linear algebra package], TPETRA, no)
124
TAC_ARG_ENABLE_FEATURE(trilinoscouplings, [Build trilinoscouplings, a package of interfaces between Trilinos packages], TRILINOSCOUPLINGS, no)
126
TAC_ARG_ENABLE_FEATURE(triutils, [Build triutils, a utility package], TRIUTILS, no)
128
TAC_ARG_ENABLE_FEATURE(galeri, [Build galeri, a gallery package], GALERI, no)
130
TAC_ARG_ENABLE_FEATURE(webtrilinos, [Build WebTrilinos, a web interface package], WEBTRILINOS, no)
132
TAC_ARG_ENABLE_FEATURE(zoltan, [Build zoltan, a partitioning and load balancing package], ZOLTAN, no)
134
TAC_ARG_ENABLE_FEATURE(shared, [Build shared libraries in addition to static libraries], SHARED, no)
136
AC_ARG_ENABLE(aztecoo-teuchos,
137
[AC_HELP_STRING([--enable-aztecoo-teuchos],[Enable AztecOO Teuchos::ParameterList interface. Default is no. Requires Teuchos package.])],
138
ac_cv_use_aztecoo_teuchos=$enableval, ac_cv_use_aztecoo_teuchos=no)
140
if test "X$ac_cv_use_teuchos" != "Xno" ||
141
test "X$ac_cv_use_thyra" != "Xno" ||
142
test "X$ac_cv_use_stratimikos" != "Xno" ||
143
test "X$ac_cv_use_tpetra" != "Xno" ||
144
test "X$ac_cv_use_loca" != "Xno" ||
145
test "X$ac_cv_use_galeri" != "Xno" ||
146
test "X$ac_cv_use_amesos" != "Xno" ||
147
test "X$ac_cv_use_anasazi" != "Xno" ||
148
test "X$ac_cv_use_intrepid" != "Xno" ||
149
test "X$ac_cv_use_aztecoo_teuchos" != "Xno" ||
150
test "X$ac_cv_use_epetraext" != "Xno" ||
151
test "X$ac_cv_use_meros" != "Xno" ||
152
test "X$ac_cv_use_moocho" != "Xno" ||
153
test "X$ac_cv_use_nox" != "Xno" ||
154
test "X$ac_cv_use_phalanx" != "Xno" ||
155
test "X$ac_cv_use_rbgen" != "Xno" ||
156
test "X$ac_cv_use_rtop" != "Xno" ||
157
test "X$ac_cv_use_rythmos" != "Xno" ||
158
test "X$ac_cv_use_sacado" != "Xno" ||
159
test "X$ac_cv_use_sundance" != "Xno" ||
160
test "X$ac_cv_use_isorropia" != "Xno" ||
161
test "X$ac_cv_use_moertel" != "Xno" ||
162
test "X$ac_cv_use_webtrilinos" != "Xno" ||
163
test "X$ac_cv_use_ifpack" != "Xno" ||
164
test "X$ac_cv_use_belos" != "Xno"; then
165
AC_CONFIG_SUBDIRS([packages/teuchos])
167
if test "X$ac_cv_use_teuchos_explicit" != "Xyes"; then
168
ac_configure_args="$ac_configure_args --enable-teuchos"
173
AM_CONDITIONAL(BUILD_TEUCHOS, test "X$BUILD_TEUCHOS" != "Xno")
176
if test "X$ac_cv_use_pamgen" != "Xno" ; then
177
AC_CONFIG_SUBDIRS([packages/pamgen])
179
if test "X$ac_cv_use_pamgen_explicit" != "Xyes"; then
180
ac_configure_args="$ac_configure_args --enable-teuchos"
185
AM_CONDITIONAL(BUILD_PAMGEN, test "X$BUILD_PAMGEN" != "Xno")
191
if test "X$ac_cv_use_rtop" != "Xno" ||
192
test "X$ac_cv_use_moocho" != "Xno" ||
193
test "X$ac_cv_use_meros" != "Xno" ||
194
test "X$ac_cv_use_rythmos" != "Xno" ||
195
test "X$ac_cv_use_stratimikos" != "Xno" ||
196
test "X$ac_cv_use_sundance" != "Xno" ||
197
test "X$ac_cv_use_thyra" != "Xno"; then
198
AC_CONFIG_SUBDIRS([packages/rtop])
200
if test "X$ac_cv_use_rtop_explicit" != "Xyes"; then
201
ac_configure_args="$ac_configure_args --enable-rtop"
206
AM_CONDITIONAL(BUILD_RTOP, test "X$BUILD_RTOP" != "Xno")
208
if test "X$ac_cv_use_threadpool" != "Xno" ||
209
test "X$ac_cv_use_phdmesh" != "Xno"; then
210
AC_CONFIG_SUBDIRS([packages/ThreadPool])
212
if test "X$ac_cv_use_threadpool_explicit" != "Xyes"; then
213
ac_configure_args="$ac_configure_args --enable-threadpool"
218
AM_CONDITIONAL(BUILD_THREADPOOL, test "X$BUILD_THREADPOOL" != "Xno")
220
if test "X$ac_cv_use_thyra" != "Xno" ||
221
test "X$ac_cv_use_meros" != "Xno" ||
222
test "X$ac_cv_use_rythmos" != "Xno" ||
223
test "X$ac_cv_use_sundance" != "Xno" ||
224
test "X$ac_cv_use_stratimikos" != "Xno"; then
225
AC_CONFIG_SUBDIRS([packages/thyra])
227
if test "X$ac_cv_use_thyra_explicit" != "Xyes"; then
228
ac_configure_args="$ac_configure_args --enable-thyra"
233
AM_CONDITIONAL(BUILD_THYRA, test "X$BUILD_THYRA" != "Xno")
235
if test "X$ac_cv_use_stratimikos" != "Xno" ||
236
test "X$ac_cv_use_sundance" != "Xno"; then
237
AC_CONFIG_SUBDIRS([packages/stratimikos])
238
BUILD_STRATIMIKOS=yes
239
if test "X$ac_cv_use_stratimikos_explicit" != "Xyes"; then
240
ac_configure_args="$ac_configure_args --enable-stratimikos"
245
AM_CONDITIONAL(BUILD_STRATIMIKOS, test "X$BUILD_STRATIMIKOS" != "Xno")
247
if test "X$ac_cv_use_kokkos" != "Xno" ||
248
test "X$ac_cv_use_tpetra" != "Xno"; then
249
AC_CONFIG_SUBDIRS([packages/kokkos])
251
if test "X$ac_cv_use_kokkos_explicit" != "Xyes"; then
252
ac_configure_args="$ac_configure_args --enable-kokkos"
257
AM_CONDITIONAL(BUILD_KOKKOS, test "X$BUILD_KOKKOS" != "Xno")
259
if test "X$ac_cv_use_epetra" != "Xno" || test "X$ac_cv_use_ifpack" != "Xno" ||
260
test "X$ac_cv_use_triutils" != "Xno" ||
261
test "X$ac_cv_use_galeri" != "Xno" ||
262
test "X$ac_cv_use_amesos" != "Xno" ||
263
test "X$ac_cv_use_aztecoo" != "Xno" ||
264
test "X$ac_cv_use_new_package" != "Xno" ||
265
test "X$ac_cv_use_meros" != "Xno" ||
266
test "X$ac_cv_use_epetraext" != "Xno" ||
267
test "X$ac_cv_use_belos" != "Xno" ||
268
test "X$ac_cv_use_claps" != "Xno" ||
269
test "X$ac_cv_use_isorropia" != "Xno" ||
270
test "X$ac_cv_use_meros" != "Xno" ||
271
test "X$ac_cv_use_moertel" != "Xno" ||
272
test "X$ac_cv_use_sundance" != "Xno" ||
273
test "X$ac_cv_use_webtrilinos" != "Xno" ||
274
test "X$ac_cv_use_komplex" != "Xno"; then
275
AC_CONFIG_SUBDIRS([packages/epetra])
277
if test "X$ac_cv_use_epetra_explicit" != "Xyes"; then
278
ac_configure_args="$ac_configure_args --enable-epetra"
283
AM_CONDITIONAL(BUILD_EPETRA, test "X$BUILD_EPETRA" != "Xno")
285
if test "X$ac_cv_use_fei" != "Xno"; then
286
AC_CONFIG_SUBDIRS([packages/fei])
291
AM_CONDITIONAL(BUILD_FEI, test "X$BUILD_FEI" != "Xno")
293
if test "X$ac_cv_use_pliris" != "Xno"; then
294
AC_CONFIG_SUBDIRS([packages/pliris])
296
if test "X$ac_cv_use_pliris_explicit" != "Xyes"; then
297
ac_configure_args="$ac_configure_args --enable-pliris"
302
AM_CONDITIONAL(BUILD_PLIRIS, test "X$BUILD_PLIRIS" != "Xno")
304
if test "X$ac_cv_use_triutils" != "Xno" ||
305
test "X$ac_cv_use_moertel" != "Xno" ||
306
test "X$ac_cv_use_komplex" != "Xno" ||
307
test "X$ac_cv_use_sundance" != "Xno" ||
308
test "X$ac_cv_use_webtrilinos" != "Xno" ||
309
test "X$ac_cv_use_meros" != "Xno" ||
310
test "X$ac_cv_use_aztecoo" != "Xno"; then
311
AC_CONFIG_SUBDIRS([packages/triutils])
313
if test "X$ac_cv_use_triutils_explicit" != "Xyes"; then
314
ac_configure_args="$ac_configure_args --enable-triutils"
319
AM_CONDITIONAL(BUILD_TRIUTILS, test "X$BUILD_TRIUTILS" != "Xno")
321
if test "X$ac_cv_use_galeri" != "Xno" ||
322
test "X$ac_cv_use_webtrilinos" != "Xno"; then
323
AC_CONFIG_SUBDIRS([packages/galeri])
325
if test "X$ac_cv_use_galeri_explicit" != "Xyes"; then
326
ac_configure_args="$ac_configure_args --enable-galeri"
331
AM_CONDITIONAL(BUILD_GALERI, test "X$BUILD_GALERI" != "Xno")
333
if test "X$ac_cv_use_ifpack" != "Xno" ||
334
test "X$ac_cv_use_sundance" != "Xno" ||
335
test "X$ac_cv_use_webtrilinos" != "Xno"; then
336
AC_CONFIG_SUBDIRS([packages/ifpack])
338
if test "X$ac_cv_use_ifpack_explicit" != "Xyes"; then
339
ac_configure_args="$ac_configure_args --enable-ifpack"
344
AM_CONDITIONAL(BUILD_IFPACK, test "X$BUILD_IFPACK" != "Xno")
346
if test "X$ac_cv_use_aztecoo" != "Xno" ||
347
test "X$ac_cv_use_moertel" != "Xno" ||
348
test "X$ac_cv_use_meros" != "Xno" ||
349
test "X$ac_cv_use_sundance" != "Xno" ||
350
test "X$ac_cv_use_webtrilinos" != "Xno" ||
351
test "X$ac_cv_use_komplex" != "Xno"; then
352
AC_CONFIG_SUBDIRS([packages/aztecoo])
354
if test "X$ac_cv_use_aztecoo_explicit" != "Xyes"; then
355
ac_configure_args="$ac_configure_args --enable-aztecoo"
360
AM_CONDITIONAL(BUILD_AZTECOO, test "X$BUILD_AZTECOO" != "Xno")
362
if test "X$ac_cv_use_claps" != "Xno"; then
363
AC_CONFIG_SUBDIRS([packages/claps])
365
if test "X$ac_cv_use_claps_explicit" != "Xyes"; then
366
ac_configure_args="$ac_configure_args --enable-claps"
371
AM_CONDITIONAL(BUILD_CLAPS, test "X$BUILD_CLAPS" != "Xno")
373
if test "X$ac_cv_use_komplex" != "Xno"; then
374
AC_CONFIG_SUBDIRS([packages/komplex])
376
if test "X$ac_cv_use_komplex_explicit" != "Xyes"; then
377
ac_configure_args="$ac_configure_args --enable-komplex"
382
AM_CONDITIONAL(BUILD_KOMPLEX, test "X$BUILD_KOMPLEX" != "Xno")
384
if test "X$ac_cv_use_amesos" != "Xno" ||
385
test "X$ac_cv_use_sundance" != "Xno" ||
386
test "X$ac_cv_use_webtrilinos" != "Xno" ||
387
test "X$ac_cv_use_moertel" != "Xno"; then
388
AC_CONFIG_SUBDIRS([packages/amesos])
390
if test "X$ac_cv_use_amesos_explicit" != "Xyes"; then
391
ac_configure_args="$ac_configure_args --enable-amesos"
396
AM_CONDITIONAL(BUILD_AMESOS, test "X$BUILD_AMESOS" != "Xno")
398
if test "X$ac_cv_use_epetraext" != "Xno" ||
399
test "X$ac_cv_use_moertel" != "Xno" ||
400
test "X$ac_cv_use_sundance" != "Xno" ||
401
test "X$ac_cv_use_webtrilinos" != "Xno" ||
402
( test "X$ac_cv_use_thyra" != "Xno" && test "X$ac_cv_use_aztecoo" != "Xno" ); then
403
AC_CONFIG_SUBDIRS([packages/epetraext])
405
if test "X$ac_cv_use_epetraext_explicit" != "Xyes"; then
406
ac_configure_args="$ac_configure_args --enable-epetraext"
411
AM_CONDITIONAL(BUILD_EPETRAEXT, test "X$BUILD_EPETRAEXT" != "Xno")
413
if test "X$ac_cv_use_belos" != "Xno"; then
414
AC_CONFIG_SUBDIRS([packages/belos])
416
if test "X$ac_cv_use_belos_explicit" != "Xyes"; then
417
ac_configure_args="$ac_configure_args --enable-belos"
422
AM_CONDITIONAL(BUILD_BELOS, test "X$BUILD_BELOS" != "Xno")
424
if test "X$ac_cv_use_anasazi" != "Xno"; then
425
AC_CONFIG_SUBDIRS([packages/anasazi])
427
if test "X$ac_cv_use_anasazi_explicit" != "Xyes"; then
428
ac_configure_args="$ac_configure_args --enable-anasazi"
433
AM_CONDITIONAL(BUILD_ANASAZI, test "X$BUILD_ANASAZI" != "Xno")
435
if test "X$ac_cv_use_rbgen" != "Xno"; then
436
AC_CONFIG_SUBDIRS([packages/rbgen])
438
if test "X$ac_cv_use_rbgen_explicit" != "Xyes"; then
439
ac_configure_args="$ac_configure_args --enable-rbgen"
444
AM_CONDITIONAL(BUILD_RBGEN, test "X$BUILD_RBGEN" != "Xno")
446
if test "X$ac_cv_use_intrepid" != "Xno"; then
447
AC_CONFIG_SUBDIRS([packages/intrepid])
449
if test "X$ac_cv_use_intrepid_explicit" != "Xyes"; then
450
ac_configure_args="$ac_configure_args --enable-intrepid"
455
AM_CONDITIONAL(BUILD_INTREPID, test "X$BUILD_INTREPID" != "Xno")
457
if test "X$ac_cv_use_meros" != "Xno"; then
458
AC_CONFIG_SUBDIRS([packages/meros])
460
if test "X$ac_cv_use_meros_explicit" != "Xyes"; then
461
ac_configure_args="$ac_configure_args --enable-meros"
466
AM_CONDITIONAL(BUILD_MEROS, test "X$BUILD_MEROS" != "Xno")
468
if test "X$ac_cv_use_ml" != "Xno" ||
469
test "X$ac_cv_use_sundance" != "Xno" ||
470
test "X$ac_cv_use_webtrilinos" != "Xno" ||
471
test "X$ac_cv_use_meros" != "Xno" ||
472
test "X$ac_cv_use_moertel" != "Xno"; then
473
AC_CONFIG_SUBDIRS([packages/ml])
475
if test "X$ac_cv_use_ml_explicit" != "Xyes"; then
476
ac_configure_args="$ac_configure_args --enable-ml"
481
AM_CONDITIONAL(BUILD_ML, test "X$BUILD_ML" != "Xno")
483
if test "X$ac_cv_use_sacado" != "Xno" ||
484
test "X$ac_cv_use_phalanx" != "Xno"; then
485
AC_CONFIG_SUBDIRS([packages/sacado])
487
if test "X$ac_cv_use_sacado_explicit" != "Xyes"; then
488
ac_configure_args="$ac_configure_args --enable-sacado"
493
AM_CONDITIONAL(BUILD_SACADO, test "X$BUILD_SACADO" != "Xno")
495
if test "X$ac_cv_use_nox" != "Xno" ||
496
test "X$ac_cv_use_sundance" != "Xno" ||
497
test "X$ac_cv_use_loca" != "Xno"; then
498
AC_CONFIG_SUBDIRS([packages/nox])
500
if test "X$ac_cv_use_nox_explicit" != "Xyes"; then
501
ac_configure_args="$ac_configure_args --enable-nox"
506
AM_CONDITIONAL(BUILD_NOX, test "X$BUILD_NOX" != "Xno")
508
if test "X$ac_cv_use_phalanx" != "Xno"; then
509
AC_CONFIG_SUBDIRS([packages/phalanx])
511
if test "X$ac_cv_use_phalanx_explicit" != "Xyes"; then
512
ac_configure_args="$ac_configure_args --enable-phalanx"
517
AM_CONDITIONAL(BUILD_PHALANX, test "X$BUILD_PHALANX" != "Xno")
519
if test "X$ac_cv_use_phdmesh" != "Xno"; then
520
AC_CONFIG_SUBDIRS([packages/phdmesh])
522
if test "X$ac_cv_use_phdmesh_explicit" != "Xyes"; then
523
ac_configure_args="$ac_configure_args --enable-phdmesh"
528
AM_CONDITIONAL(BUILD_PHDMESH, test "X$BUILD_PHDMESH" != "Xno")
530
if test "X$ac_cv_use_isorropia" != "Xno"; then
531
AC_CONFIG_SUBDIRS([packages/isorropia])
533
if test "X$ac_cv_use_isorropia_explicit" != "Xyes"; then
534
ac_configure_args="$ac_configure_args --enable-isorropia"
539
AM_CONDITIONAL(BUILD_ISORROPIA, test "X$BUILD_ISORROPIA" != "Xno")
541
## #np# - Copy the next section, and change package name
542
if test "X$ac_cv_use_new_package" != "Xno"; then
543
AC_CONFIG_SUBDIRS([packages/new_package])
544
BUILD_NEW_PACKAGE=yes
545
if test "X$ac_cv_use_new_package_explicit" != "Xyes"; then
546
ac_configure_args="$ac_configure_args --enable-new_package"
551
AM_CONDITIONAL(BUILD_NEW_PACKAGE, test "X$BUILD_NEW_PACKAGE" != "Xno")
553
if test "X$ac_cv_use_sundance" != "Xno"; then
554
AC_CONFIG_SUBDIRS([packages/Sundance])
556
if test "X$ac_cv_use_sundance_explicit" != "Xyes"; then
557
ac_configure_args="$ac_configure_args --enable-sundance"
562
AM_CONDITIONAL(BUILD_SUNDANCE, test "X$BUILD_SUNDANCE" != "Xno")
564
if test "X$ac_cv_use_moertel" != "Xno"; then
565
AC_CONFIG_SUBDIRS([packages/moertel])
567
if test "X$ac_cv_use_moertel_explicit" != "Xyes"; then
568
ac_configure_args="$ac_configure_args --enable-moertel"
573
AM_CONDITIONAL(BUILD_MOERTEL, test "X$BUILD_MOERTEL" != "Xno")
575
if test "X$ac_cv_use_pytrilinos" != "Xno" ||
576
test "X$ac_cv_use_webtrilinos" != "Xno" ||
577
test "X$ac_cv_use_shared" != "Xno"; then
578
AC_CONFIG_SUBDIRS([packages/PyTrilinos])
580
#Below we have to list all packages that depend on pytrilinos
581
#because if pytrilinos is being configured only because shared is
582
#enabled, we don't need to enable pytrilinos. Note that adding
583
#additional dependent packages would result in a statement like
584
#if pytrilinos_explicit != yes && (webtrilinos != no || packageB != no)
585
if test "X$ac_cv_use_pytrilinos_explicit" != "Xyes" &&
586
test "X$ac_cv_use_webtrilinos" != "Xno"; then
587
ac_configure_args="$ac_configure_args --enable-pytrilinos"
589
if test "X$ac_cv_use_shared" != "Xyes"; then
590
ac_configure_args="$ac_configure_args --enable-shared"
595
AM_CONDITIONAL(BUILD_PYTRILINOS, test "X$BUILD_PYTRILINOS" != "Xno")
597
if test "X$ac_cv_use_rythmos" != "Xno"; then
598
AC_CONFIG_SUBDIRS([packages/rythmos])
600
if test "X$ac_cv_use_rythmos_explicit" != "Xyes"; then
601
ac_configure_args="$ac_configure_args --enable-rythmos"
606
AM_CONDITIONAL(BUILD_RYTHMOS, test "X$BUILD_RYTHMOS" != "Xno")
608
if test "X$ac_cv_use_tpetra" != "Xno"; then
609
AC_CONFIG_SUBDIRS([packages/tpetra])
611
if test "X$ac_cv_use_tpetra_explicit" != "Xyes"; then
612
ac_configure_args="$ac_configure_args --enable-tpetra"
617
AM_CONDITIONAL(BUILD_TPETRA, test "X$BUILD_TPETRA" != "Xno")
619
if test "X$ac_cv_use_trilinoscouplings" != "Xno"; then
620
AC_CONFIG_SUBDIRS([packages/trilinoscouplings])
621
BUILD_TRILINOSCOUPLINGS=yes
622
if test "X$ac_cv_use_trilinoscouplings_explicit" != "Xyes"; then
623
ac_configure_args="$ac_configure_args --enable-trilinoscouplings"
626
BUILD_TRILINOSCOUPLINGS=no
628
AM_CONDITIONAL(BUILD_TRILINOSCOUPLINGS, test "X$BUILD_TRILINOSCOUPLINGS" != "Xno")
630
if test "X$ac_cv_use_didasko" != "Xno"; then
631
AC_CONFIG_SUBDIRS([packages/didasko])
633
if test "X$ac_cv_use_didasko_explicit" != "Xyes"; then
634
ac_configure_args="$ac_configure_args --enable-didasko"
639
AM_CONDITIONAL(BUILD_DIDASKO, test "X$BUILD_DIDASKO" != "Xno")
641
if test "X$ac_cv_use_webtrilinos" != "Xno"; then
642
AC_CONFIG_SUBDIRS([packages/WebTrilinos])
643
BUILD_WEBTRILINOS=yes
644
if test "X$ac_cv_use_webtrilinos_explicit" != "Xyes"; then
645
ac_configure_args="$ac_configure_args --enable-webtrilinos"
650
AM_CONDITIONAL(BUILD_WEBTRILINOS, test "X$BUILD_WEBTRILINOS" != "Xno")
652
if test "X$ac_cv_use_zoltan" != "Xno" ||
653
test "X$ac_cv_use_isorropia" != "Xno"; then
654
AC_CONFIG_SUBDIRS([packages/zoltan])
656
if test "X$ac_cv_use_zoltan_explicit" != "Xyes"; then
657
ac_configure_args="$ac_configure_args --enable-zoltan"
662
AM_CONDITIONAL(BUILD_ZOLTAN, test "X$BUILD_ZOLTAN" != "Xno")
664
if test "X$ac_cv_use_external" != "Xno"; then
665
AC_CONFIG_SUBDIRS([packages/external])
667
if test "X$ac_cv_use_external_explicit" != "Xyes"; then
668
ac_configure_args="$ac_configure_args --enable-external"
673
AM_CONDITIONAL(BUILD_EXTERNAL, test "X$BUILD_EXTERNAL" != "Xno")
675
if test "X$ac_cv_use_moocho" != "Xno"; then
676
AC_CONFIG_SUBDIRS([packages/moocho])
678
if test "X$ac_cv_use_moocho_explicit" != "Xyes"; then
679
ac_configure_args="$ac_configure_args --enable-moocho"
684
AM_CONDITIONAL(BUILD_MOOCHO, test "X$BUILD_MOOCHO" != "Xno")
688
CAN'T FIND THE OPTION YOU NEED?
690
The options listed above are specific to the top Trilinos
691
level. These options are limited to deciding which packages
692
should be built. All other options such as compilers and
693
compiler flags are set at the package level. For a list of
694
all options for all packages, type "configure --help=recursive".
695
The output for this command is bulky. Consider using the
696
"more" or "grep" command to find a specific option.
698
To view a list of options for a specific package, cd to
699
"Trilinos/package/package_name" (replacing "package_name"
700
with the name of the package) and type "configure --help".
702
THE TRILINOS USER GUIDE contains a lot of additional information
703
about configuring and building Trilinos, as well as other
704
topics that will be helpful for Trilinos Users. The Trilinos
705
User Guide, as well as other useful documents, can be found at:
707
http://trilinos.sandia.gov/documentation.html
712
Makefile.export.trilinos