~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# @HEADER
2
 
# @HEADER
3
 
 
4
 
#
5
 
#  Refer to packages/new_package/README for suggestions on 
6
 
#  adding a new package.  
7
 
#
8
 
 
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])
13
 
 
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.
22
 
 
23
 
AM_MAINTAINER_MODE
24
 
 
25
 
# Specify required version of automake.
26
 
 
27
 
AM_INIT_AUTOMAKE(1.10 no-define tar-ustar)
28
 
 
29
 
# Specify required version of autoconf.
30
 
 
31
 
AC_PREREQ(2.61)
32
 
 
33
 
# Must indicate for packages that can be configured from the package level that the 
34
 
# configure/build process is happening within Trilinos.
35
 
 
36
 
ac_configure_args="$ac_configure_args --with-trilinos"
37
 
 
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."
43
 
 
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)
45
 
 
46
 
TAC_ARG_ENABLE_FEATURE(amesos, [Build amesos, a direct sparse solver package], AMESOS, no)
47
 
 
48
 
TAC_ARG_ENABLE_FEATURE(anasazi, [Build anasazi, an eigenvalue solver package], ANASAZI, no)
49
 
 
50
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(aztecoo, [Build aztecoo, a linear solver and preconditioner package], AZTECOO)
51
 
 
52
 
TAC_ARG_ENABLE_FEATURE(belos, [Build belos, a linear solver package], BELOS, no)
53
 
 
54
 
TAC_ARG_ENABLE_FEATURE(claps, [Build claps, a domain decomposition preconditioner package], CLAPS, no)
55
 
 
56
 
TAC_ARG_ENABLE_FEATURE(didasko, [Build didasko, a Trilinos tutorial package], DIDASKO, no)
57
 
 
58
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(epetra, [Build epetra, a basic linear algebra package], EPETRA)
59
 
 
60
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(epetraext, [Build epetraext, an epetra extensions package], EPETRAEXT)
61
 
 
62
 
#The external package is a mechanism for adding external packages to the Trilinos
63
 
#build process.
64
 
TAC_ARG_ENABLE_FEATURE(external, [Build external package in packages/external], EXTERNAL, no)
65
 
 
66
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(ifpack, [Build ifpack, an algebraic preconditioner package], IFPACK)
67
 
 
68
 
TAC_ARG_ENABLE_FEATURE(fei, [Build fei, a sparse linear-system assembly package], FEI, no)
69
 
 
70
 
TAC_ARG_ENABLE_FEATURE(intrepid, [Build intrepid, a discretization package], INTREPID, no)
71
 
 
72
 
TAC_ARG_ENABLE_FEATURE(isorropia, [Build isorropia, a repartitioning/rebalancing package], ISORROPIA, no)
73
 
 
74
 
TAC_ARG_ENABLE_FEATURE(kokkos, [Build kokkos, a sparse kernels package], KOKKOS, no)
75
 
 
76
 
TAC_ARG_ENABLE_FEATURE(komplex, [Build komplex, a complex linear solver package], KOMPLEX, no)
77
 
 
78
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(loca, [Build loca, a bifurcation analysis package], LOCA)
79
 
 
80
 
TAC_ARG_ENABLE_FEATURE(meros, [Build meros, a segregated preconditioner package], MEROS, no)
81
 
 
82
 
TAC_ARG_ENABLE_FEATURE(moertel, [Build moertel, a mortar methods package], MOERTEL, no)
83
 
 
84
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(ml, [Build ml, a multi-level preconditioner package], ML)
85
 
 
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)
89
 
 
90
 
TAC_ARG_ENABLE_DEFAULT_FEATURE(nox, [Build nox, a nonlinear solver package], NOX)
91
 
 
92
 
TAC_ARG_ENABLE_FEATURE(phalanx, [Build phalanx, a nonlinear expression assembly kernel], PHALANX, no)
93
 
 
94
 
TAC_ARG_ENABLE_FEATURE(phdmesh, [Build phdMesh, a Parallel Heterogneous Dynamic unstructured Mesh package], PHDMESH, no)
95
 
 
96
 
TAC_ARG_ENABLE_FEATURE(pliris, [Build pliris, a dense direct solver package], PLIRIS, no)
97
 
 
98
 
TAC_ARG_ENABLE_FEATURE(pytrilinos, [Build PyTrilinos, a Python wrapper package], PYTRILINOS, no)
99
 
 
100
 
TAC_ARG_ENABLE_FEATURE(rbgen, [Build rbgen], RBGEN, no)
101
 
 
102
 
TAC_ARG_ENABLE_FEATURE(rythmos, [Build rythmos, a transient integration package], RYTHMOS, no)
103
 
 
104
 
TAC_ARG_ENABLE_FEATURE(sacado, [Build sacado, an automatic differentation package], SACADO, no)
105
 
 
106
 
TAC_ARG_ENABLE_FEATURE(sundance, [Build Sundance, a system for development of parallel finite-element solutions of PDEs], SUNDANCE, no)
107
 
 
108
 
TAC_ARG_ENABLE_FEATURE(teuchos, [Build teuchos, a tools package], TEUCHOS, no)
109
 
 
110
 
TAC_ARG_ENABLE_FEATURE(pamgen, [Build pamgen, a tools package], PAMGEN, no)
111
 
 
112
 
TAC_ARG_ENABLE_FEATURE(rtop, [Build RTOp, a vector reduction/transformation operator package], RTOP, no)
113
 
 
114
 
TAC_ARG_ENABLE_FEATURE(threadpool, [Build ThreadPool], THREADPOOL, no)
115
 
 
116
 
TAC_ARG_ENABLE_FEATURE(thyra, [Build thyra, an abstract linear solver package], THYRA, no)
117
 
 
118
 
TAC_ARG_ENABLE_FEATURE(stratimikos, [Build stratimikos, a linear solver strategy package], STRATIMIKOS, no)
119
 
 
120
 
TAC_ARG_ENABLE_FEATURE(moocho, [Build moocho, an optimization package], MOOCHO, no)
121
 
 
122
 
TAC_ARG_ENABLE_FEATURE(tpetra, [Build tpetra, a templated linear algebra package], TPETRA, no)
123
 
 
124
 
TAC_ARG_ENABLE_FEATURE(trilinoscouplings, [Build trilinoscouplings, a package of interfaces between Trilinos packages], TRILINOSCOUPLINGS, no)
125
 
 
126
 
TAC_ARG_ENABLE_FEATURE(triutils, [Build triutils, a utility package], TRIUTILS, no)
127
 
 
128
 
TAC_ARG_ENABLE_FEATURE(galeri, [Build galeri, a gallery package], GALERI, no)
129
 
 
130
 
TAC_ARG_ENABLE_FEATURE(webtrilinos, [Build WebTrilinos, a web interface package], WEBTRILINOS, no)
131
 
 
132
 
TAC_ARG_ENABLE_FEATURE(zoltan, [Build zoltan, a partitioning and load balancing package], ZOLTAN, no)
133
 
 
134
 
TAC_ARG_ENABLE_FEATURE(shared, [Build shared libraries in addition to static libraries], SHARED, no)
135
 
 
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)
139
 
 
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])
166
 
  BUILD_TEUCHOS=yes
167
 
  if test "X$ac_cv_use_teuchos_explicit" != "Xyes"; then
168
 
    ac_configure_args="$ac_configure_args --enable-teuchos"
169
 
  fi
170
 
else
171
 
  BUILD_TEUCHOS=no
172
 
fi
173
 
AM_CONDITIONAL(BUILD_TEUCHOS, test "X$BUILD_TEUCHOS" != "Xno")
174
 
 
175
 
 
176
 
if test "X$ac_cv_use_pamgen" != "Xno" ; then
177
 
  AC_CONFIG_SUBDIRS([packages/pamgen])
178
 
  BUILD_PAMGEN=yes
179
 
  if test "X$ac_cv_use_pamgen_explicit" != "Xyes"; then
180
 
    ac_configure_args="$ac_configure_args --enable-teuchos"
181
 
  fi
182
 
else
183
 
  BUILD_PAMGEN=no
184
 
fi
185
 
AM_CONDITIONAL(BUILD_PAMGEN, test "X$BUILD_PAMGEN" != "Xno")
186
 
 
187
 
 
188
 
 
189
 
 
190
 
 
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])
199
 
  BUILD_RTOP=yes
200
 
  if test "X$ac_cv_use_rtop_explicit" != "Xyes"; then
201
 
    ac_configure_args="$ac_configure_args --enable-rtop"
202
 
  fi
203
 
else
204
 
  BUILD_RTOP=no
205
 
fi
206
 
AM_CONDITIONAL(BUILD_RTOP, test "X$BUILD_RTOP" != "Xno")
207
 
 
208
 
if test "X$ac_cv_use_threadpool" != "Xno" ||
209
 
        test "X$ac_cv_use_phdmesh" != "Xno"; then
210
 
  AC_CONFIG_SUBDIRS([packages/ThreadPool])
211
 
  BUILD_THREADPOOL=yes
212
 
  if test "X$ac_cv_use_threadpool_explicit" != "Xyes"; then
213
 
    ac_configure_args="$ac_configure_args --enable-threadpool"
214
 
  fi
215
 
else
216
 
  BUILD_THREADPOOL=no
217
 
fi
218
 
AM_CONDITIONAL(BUILD_THREADPOOL, test "X$BUILD_THREADPOOL" != "Xno")
219
 
 
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])
226
 
  BUILD_THYRA=yes
227
 
  if test "X$ac_cv_use_thyra_explicit" != "Xyes"; then
228
 
    ac_configure_args="$ac_configure_args --enable-thyra"
229
 
  fi
230
 
else
231
 
  BUILD_THYRA=no
232
 
fi
233
 
AM_CONDITIONAL(BUILD_THYRA, test "X$BUILD_THYRA" != "Xno")
234
 
 
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"
241
 
  fi
242
 
else
243
 
  BUILD_STRATIMIKOS=no
244
 
fi
245
 
AM_CONDITIONAL(BUILD_STRATIMIKOS, test "X$BUILD_STRATIMIKOS" != "Xno")
246
 
 
247
 
if test "X$ac_cv_use_kokkos" != "Xno" ||
248
 
        test "X$ac_cv_use_tpetra" != "Xno"; then
249
 
  AC_CONFIG_SUBDIRS([packages/kokkos])
250
 
  BUILD_KOKKOS=yes
251
 
  if test "X$ac_cv_use_kokkos_explicit" != "Xyes"; then
252
 
    ac_configure_args="$ac_configure_args --enable-kokkos"
253
 
  fi
254
 
else
255
 
  BUILD_KOKKOS=no
256
 
fi
257
 
AM_CONDITIONAL(BUILD_KOKKOS, test "X$BUILD_KOKKOS" != "Xno")
258
 
 
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])
276
 
  BUILD_EPETRA=yes
277
 
  if test "X$ac_cv_use_epetra_explicit" != "Xyes"; then
278
 
    ac_configure_args="$ac_configure_args --enable-epetra"
279
 
  fi
280
 
else
281
 
  BUILD_EPETRA=no
282
 
fi
283
 
AM_CONDITIONAL(BUILD_EPETRA, test "X$BUILD_EPETRA" != "Xno")
284
 
 
285
 
if test "X$ac_cv_use_fei" != "Xno"; then
286
 
  AC_CONFIG_SUBDIRS([packages/fei])
287
 
  BUILD_FEI=yes
288
 
else
289
 
  BUILD_FEI=no
290
 
fi
291
 
AM_CONDITIONAL(BUILD_FEI, test "X$BUILD_FEI" != "Xno")
292
 
 
293
 
if test "X$ac_cv_use_pliris" != "Xno"; then
294
 
  AC_CONFIG_SUBDIRS([packages/pliris])
295
 
  BUILD_PLIRIS=yes
296
 
  if test "X$ac_cv_use_pliris_explicit" != "Xyes"; then
297
 
    ac_configure_args="$ac_configure_args --enable-pliris"
298
 
  fi
299
 
else
300
 
  BUILD_PLIRIS=no
301
 
fi
302
 
AM_CONDITIONAL(BUILD_PLIRIS, test "X$BUILD_PLIRIS" != "Xno")
303
 
                                                                                                    
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])
312
 
  BUILD_TRIUTILS=yes
313
 
  if test "X$ac_cv_use_triutils_explicit" != "Xyes"; then
314
 
    ac_configure_args="$ac_configure_args --enable-triutils"
315
 
  fi
316
 
else
317
 
  BUILD_TRIUTILS=no
318
 
fi
319
 
AM_CONDITIONAL(BUILD_TRIUTILS, test "X$BUILD_TRIUTILS" != "Xno")
320
 
 
321
 
if test "X$ac_cv_use_galeri" != "Xno" ||
322
 
        test "X$ac_cv_use_webtrilinos" != "Xno"; then
323
 
  AC_CONFIG_SUBDIRS([packages/galeri])
324
 
  BUILD_GALERI=yes
325
 
  if test "X$ac_cv_use_galeri_explicit" != "Xyes"; then
326
 
    ac_configure_args="$ac_configure_args --enable-galeri"
327
 
  fi
328
 
else
329
 
  BUILD_GALERI=no
330
 
fi
331
 
AM_CONDITIONAL(BUILD_GALERI, test "X$BUILD_GALERI" != "Xno")
332
 
 
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])
337
 
  BUILD_IFPACK=yes
338
 
  if test "X$ac_cv_use_ifpack_explicit" != "Xyes"; then
339
 
    ac_configure_args="$ac_configure_args --enable-ifpack"
340
 
  fi
341
 
else
342
 
  BUILD_IFPACK=no
343
 
fi
344
 
AM_CONDITIONAL(BUILD_IFPACK, test "X$BUILD_IFPACK" != "Xno")
345
 
 
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])
353
 
  BUILD_AZTECOO=yes
354
 
  if test "X$ac_cv_use_aztecoo_explicit" != "Xyes"; then
355
 
    ac_configure_args="$ac_configure_args --enable-aztecoo"
356
 
  fi
357
 
else
358
 
  BUILD_AZTECOO=no
359
 
fi
360
 
AM_CONDITIONAL(BUILD_AZTECOO, test "X$BUILD_AZTECOO" != "Xno")
361
 
 
362
 
if test "X$ac_cv_use_claps" != "Xno"; then
363
 
  AC_CONFIG_SUBDIRS([packages/claps])
364
 
  BUILD_CLAPS=yes
365
 
  if test "X$ac_cv_use_claps_explicit" != "Xyes"; then
366
 
    ac_configure_args="$ac_configure_args --enable-claps"
367
 
  fi
368
 
else
369
 
  BUILD_CLAPS=no
370
 
fi
371
 
AM_CONDITIONAL(BUILD_CLAPS, test "X$BUILD_CLAPS" != "Xno")
372
 
 
373
 
if test "X$ac_cv_use_komplex" != "Xno"; then
374
 
  AC_CONFIG_SUBDIRS([packages/komplex])
375
 
  BUILD_KOMPLEX=yes
376
 
  if test "X$ac_cv_use_komplex_explicit" != "Xyes"; then
377
 
    ac_configure_args="$ac_configure_args --enable-komplex"
378
 
  fi
379
 
else
380
 
  BUILD_KOMPLEX=no
381
 
fi
382
 
AM_CONDITIONAL(BUILD_KOMPLEX, test "X$BUILD_KOMPLEX" != "Xno")
383
 
 
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])
389
 
  BUILD_AMESOS=yes
390
 
  if test "X$ac_cv_use_amesos_explicit" != "Xyes"; then
391
 
    ac_configure_args="$ac_configure_args --enable-amesos"
392
 
  fi
393
 
else
394
 
  BUILD_AMESOS=no
395
 
fi
396
 
AM_CONDITIONAL(BUILD_AMESOS, test "X$BUILD_AMESOS" != "Xno")
397
 
 
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])
404
 
  BUILD_EPETRAEXT=yes
405
 
  if test "X$ac_cv_use_epetraext_explicit" != "Xyes"; then
406
 
    ac_configure_args="$ac_configure_args --enable-epetraext"
407
 
  fi
408
 
else
409
 
  BUILD_EPETRAEXT=no
410
 
fi
411
 
AM_CONDITIONAL(BUILD_EPETRAEXT, test "X$BUILD_EPETRAEXT" != "Xno")
412
 
 
413
 
if test "X$ac_cv_use_belos" != "Xno"; then
414
 
  AC_CONFIG_SUBDIRS([packages/belos])
415
 
  BUILD_BELOS=yes
416
 
  if test "X$ac_cv_use_belos_explicit" != "Xyes"; then
417
 
    ac_configure_args="$ac_configure_args --enable-belos"
418
 
  fi
419
 
else
420
 
  BUILD_BELOS=no
421
 
fi
422
 
AM_CONDITIONAL(BUILD_BELOS, test "X$BUILD_BELOS" != "Xno")
423
 
 
424
 
if test "X$ac_cv_use_anasazi" != "Xno"; then
425
 
  AC_CONFIG_SUBDIRS([packages/anasazi])
426
 
  BUILD_ANASAZI=yes
427
 
  if test "X$ac_cv_use_anasazi_explicit" != "Xyes"; then
428
 
    ac_configure_args="$ac_configure_args --enable-anasazi"
429
 
  fi
430
 
else
431
 
  BUILD_ANASAZI=no
432
 
fi
433
 
AM_CONDITIONAL(BUILD_ANASAZI, test "X$BUILD_ANASAZI" != "Xno")
434
 
 
435
 
if test "X$ac_cv_use_rbgen" != "Xno"; then
436
 
  AC_CONFIG_SUBDIRS([packages/rbgen])
437
 
  BUILD_RBGEN=yes
438
 
  if test "X$ac_cv_use_rbgen_explicit" != "Xyes"; then
439
 
    ac_configure_args="$ac_configure_args --enable-rbgen"
440
 
  fi
441
 
else
442
 
  BUILD_RBGEN=no
443
 
fi
444
 
AM_CONDITIONAL(BUILD_RBGEN, test "X$BUILD_RBGEN" != "Xno")
445
 
 
446
 
if test "X$ac_cv_use_intrepid" != "Xno"; then
447
 
  AC_CONFIG_SUBDIRS([packages/intrepid])
448
 
  BUILD_INTREPID=yes
449
 
  if test "X$ac_cv_use_intrepid_explicit" != "Xyes"; then
450
 
    ac_configure_args="$ac_configure_args --enable-intrepid"
451
 
  fi
452
 
else
453
 
  BUILD_INTREPID=no
454
 
fi
455
 
AM_CONDITIONAL(BUILD_INTREPID, test "X$BUILD_INTREPID" != "Xno")
456
 
 
457
 
if test "X$ac_cv_use_meros" != "Xno"; then
458
 
  AC_CONFIG_SUBDIRS([packages/meros])
459
 
  BUILD_MEROS=yes
460
 
  if test "X$ac_cv_use_meros_explicit" != "Xyes"; then
461
 
    ac_configure_args="$ac_configure_args --enable-meros"
462
 
  fi
463
 
else
464
 
  BUILD_MEROS=no
465
 
fi
466
 
AM_CONDITIONAL(BUILD_MEROS, test "X$BUILD_MEROS" != "Xno")
467
 
 
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])
474
 
  BUILD_ML=yes
475
 
  if test "X$ac_cv_use_ml_explicit" != "Xyes"; then
476
 
    ac_configure_args="$ac_configure_args --enable-ml"
477
 
  fi
478
 
else
479
 
  BUILD_ML=no
480
 
fi
481
 
AM_CONDITIONAL(BUILD_ML, test "X$BUILD_ML" != "Xno")
482
 
 
483
 
if test "X$ac_cv_use_sacado" != "Xno" ||
484
 
   test "X$ac_cv_use_phalanx" != "Xno"; then
485
 
  AC_CONFIG_SUBDIRS([packages/sacado])
486
 
  BUILD_SACADO=yes
487
 
  if test "X$ac_cv_use_sacado_explicit" != "Xyes"; then
488
 
    ac_configure_args="$ac_configure_args --enable-sacado"
489
 
  fi
490
 
else
491
 
  BUILD_SACADO=no
492
 
fi
493
 
AM_CONDITIONAL(BUILD_SACADO, test "X$BUILD_SACADO" != "Xno")
494
 
 
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])
499
 
  BUILD_NOX=yes
500
 
  if test "X$ac_cv_use_nox_explicit" != "Xyes"; then
501
 
    ac_configure_args="$ac_configure_args --enable-nox"
502
 
  fi
503
 
else
504
 
  BUILD_NOX=no
505
 
fi
506
 
AM_CONDITIONAL(BUILD_NOX, test "X$BUILD_NOX" != "Xno")
507
 
 
508
 
if test "X$ac_cv_use_phalanx" != "Xno"; then
509
 
  AC_CONFIG_SUBDIRS([packages/phalanx])
510
 
  BUILD_PHALANX=yes
511
 
  if test "X$ac_cv_use_phalanx_explicit" != "Xyes"; then
512
 
    ac_configure_args="$ac_configure_args --enable-phalanx"
513
 
  fi
514
 
else
515
 
  BUILD_PHALANX=no
516
 
fi
517
 
AM_CONDITIONAL(BUILD_PHALANX, test "X$BUILD_PHALANX" != "Xno")
518
 
 
519
 
if test "X$ac_cv_use_phdmesh" != "Xno"; then
520
 
  AC_CONFIG_SUBDIRS([packages/phdmesh])
521
 
  BUILD_PHDMESH=yes
522
 
  if test "X$ac_cv_use_phdmesh_explicit" != "Xyes"; then
523
 
    ac_configure_args="$ac_configure_args --enable-phdmesh"
524
 
  fi
525
 
else
526
 
  BUILD_PHDMESH=no
527
 
fi
528
 
AM_CONDITIONAL(BUILD_PHDMESH, test "X$BUILD_PHDMESH" != "Xno")
529
 
 
530
 
if test "X$ac_cv_use_isorropia" != "Xno"; then
531
 
  AC_CONFIG_SUBDIRS([packages/isorropia])
532
 
  BUILD_ISORROPIA=yes
533
 
  if test "X$ac_cv_use_isorropia_explicit" != "Xyes"; then
534
 
    ac_configure_args="$ac_configure_args --enable-isorropia"
535
 
  fi
536
 
else
537
 
  BUILD_ISORROPIA=no
538
 
fi
539
 
AM_CONDITIONAL(BUILD_ISORROPIA, test "X$BUILD_ISORROPIA" != "Xno")
540
 
 
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"
547
 
  fi
548
 
else
549
 
  BUILD_NEW_PACKAGE=no
550
 
fi
551
 
AM_CONDITIONAL(BUILD_NEW_PACKAGE, test "X$BUILD_NEW_PACKAGE" != "Xno")
552
 
 
553
 
if test "X$ac_cv_use_sundance" != "Xno"; then
554
 
  AC_CONFIG_SUBDIRS([packages/Sundance])
555
 
  BUILD_SUNDANCE=yes
556
 
  if test "X$ac_cv_use_sundance_explicit" != "Xyes"; then
557
 
    ac_configure_args="$ac_configure_args --enable-sundance"
558
 
  fi
559
 
else
560
 
  BUILD_SUNDANCE=no
561
 
fi
562
 
AM_CONDITIONAL(BUILD_SUNDANCE, test "X$BUILD_SUNDANCE" != "Xno")
563
 
 
564
 
if test "X$ac_cv_use_moertel" != "Xno"; then
565
 
  AC_CONFIG_SUBDIRS([packages/moertel])
566
 
  BUILD_MOERTEL=yes
567
 
  if test "X$ac_cv_use_moertel_explicit" != "Xyes"; then
568
 
    ac_configure_args="$ac_configure_args --enable-moertel"
569
 
  fi
570
 
else
571
 
  BUILD_MOERTEL=no
572
 
fi
573
 
AM_CONDITIONAL(BUILD_MOERTEL, test "X$BUILD_MOERTEL" != "Xno")
574
 
 
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])
579
 
  BUILD_PYTRILINOS=yes
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"
588
 
  fi
589
 
  if test "X$ac_cv_use_shared" != "Xyes"; then
590
 
    ac_configure_args="$ac_configure_args --enable-shared"
591
 
  fi
592
 
else
593
 
  BUILD_PYTRILINOS=no
594
 
fi
595
 
AM_CONDITIONAL(BUILD_PYTRILINOS, test "X$BUILD_PYTRILINOS" != "Xno")
596
 
 
597
 
if test "X$ac_cv_use_rythmos" != "Xno"; then
598
 
  AC_CONFIG_SUBDIRS([packages/rythmos])
599
 
  BUILD_RYTHMOS=yes
600
 
  if test "X$ac_cv_use_rythmos_explicit" != "Xyes"; then
601
 
    ac_configure_args="$ac_configure_args --enable-rythmos"
602
 
  fi
603
 
else
604
 
  BUILD_RYTHMOS=no
605
 
fi
606
 
AM_CONDITIONAL(BUILD_RYTHMOS, test "X$BUILD_RYTHMOS" != "Xno")
607
 
 
608
 
if test "X$ac_cv_use_tpetra" != "Xno"; then
609
 
  AC_CONFIG_SUBDIRS([packages/tpetra])
610
 
  BUILD_TPETRA=yes
611
 
  if test "X$ac_cv_use_tpetra_explicit" != "Xyes"; then
612
 
    ac_configure_args="$ac_configure_args --enable-tpetra"
613
 
  fi
614
 
else
615
 
  BUILD_TPETRA=no
616
 
fi
617
 
AM_CONDITIONAL(BUILD_TPETRA, test "X$BUILD_TPETRA" != "Xno")
618
 
 
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"
624
 
  fi
625
 
else
626
 
  BUILD_TRILINOSCOUPLINGS=no
627
 
fi
628
 
AM_CONDITIONAL(BUILD_TRILINOSCOUPLINGS, test "X$BUILD_TRILINOSCOUPLINGS" != "Xno")
629
 
 
630
 
if test "X$ac_cv_use_didasko" != "Xno"; then
631
 
  AC_CONFIG_SUBDIRS([packages/didasko])
632
 
  BUILD_DIDASKO=yes
633
 
  if test "X$ac_cv_use_didasko_explicit" != "Xyes"; then
634
 
    ac_configure_args="$ac_configure_args --enable-didasko"
635
 
  fi
636
 
else
637
 
  BUILD_DIDASKO=no
638
 
fi
639
 
AM_CONDITIONAL(BUILD_DIDASKO, test "X$BUILD_DIDASKO" != "Xno")
640
 
 
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"
646
 
  fi
647
 
else
648
 
  BUILD_WEBTRILINOS=no
649
 
fi
650
 
AM_CONDITIONAL(BUILD_WEBTRILINOS, test "X$BUILD_WEBTRILINOS" != "Xno")
651
 
 
652
 
if test "X$ac_cv_use_zoltan" != "Xno" ||
653
 
        test "X$ac_cv_use_isorropia" != "Xno"; then
654
 
  AC_CONFIG_SUBDIRS([packages/zoltan])
655
 
  BUILD_ZOLTAN=yes
656
 
  if test "X$ac_cv_use_zoltan_explicit" != "Xyes"; then
657
 
    ac_configure_args="$ac_configure_args --enable-zoltan"
658
 
  fi
659
 
else
660
 
  BUILD_ZOLTAN=no
661
 
fi
662
 
AM_CONDITIONAL(BUILD_ZOLTAN, test "X$BUILD_ZOLTAN" != "Xno")
663
 
 
664
 
if test "X$ac_cv_use_external" != "Xno"; then
665
 
  AC_CONFIG_SUBDIRS([packages/external])
666
 
  BUILD_EXTERNAL=yes
667
 
  if test "X$ac_cv_use_external_explicit" != "Xyes"; then
668
 
    ac_configure_args="$ac_configure_args --enable-external"
669
 
  fi
670
 
else
671
 
  BUILD_EXTERNAL=no
672
 
fi
673
 
AM_CONDITIONAL(BUILD_EXTERNAL, test "X$BUILD_EXTERNAL" != "Xno")
674
 
 
675
 
if test "X$ac_cv_use_moocho" != "Xno"; then
676
 
  AC_CONFIG_SUBDIRS([packages/moocho])
677
 
  BUILD_MOOCHO=yes
678
 
  if test "X$ac_cv_use_moocho_explicit" != "Xyes"; then
679
 
    ac_configure_args="$ac_configure_args --enable-moocho"
680
 
  fi
681
 
else
682
 
  BUILD_MOOCHO=no
683
 
fi
684
 
AM_CONDITIONAL(BUILD_MOOCHO, test "X$BUILD_MOOCHO" != "Xno")
685
 
 
686
 
AC_ARG_ENABLE(,[
687
 
 
688
 
CAN'T FIND THE OPTION YOU NEED?
689
 
 
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.
697
 
 
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".
701
 
 
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:
706
 
 
707
 
  http://trilinos.sandia.gov/documentation.html
708
 
 
709
 
])
710
 
AC_CONFIG_FILES([
711
 
                Makefile
712
 
                Makefile.export.trilinos
713
 
                packages/Makefile])
714
 
 AC_OUTPUT