~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/external/sample/configure

  • 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
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for sample 1.0d.
4
 
#
5
 
# Report bugs to <jmwille@sandia.gov>.
6
 
#
7
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
 
# This configure script is free software; the Free Software Foundation
10
 
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
14
 
 
15
 
# Be more Bourne compatible
16
 
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
 
  emulate sh
19
 
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
 
  # is contrary to our usage.  Disable this feature.
22
 
  alias -g '${1+"$@"}'='"$@"'
23
 
  setopt NO_GLOB_SUBST
24
 
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
27
 
esac
28
 
 
29
 
fi
30
 
 
31
 
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
 
# The user is always right.
43
 
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
60
 
fi
61
 
 
62
 
 
63
 
# IFS
64
 
# We need space, tab and new line, in precisely that order.  Quoting is
65
 
# there to prevent editors from complaining about space-tab.
66
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
 
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
 
IFS=" ""        $as_nl"
71
 
 
72
 
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
74
 
  *[\\/]* ) as_myself=$0 ;;
75
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
 
for as_dir in $PATH
77
 
do
78
 
  IFS=$as_save_IFS
79
 
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
82
 
IFS=$as_save_IFS
83
 
 
84
 
     ;;
85
 
esac
86
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
 
# in which case we are not to be found in the path.
88
 
if test "x$as_myself" = x; then
89
 
  as_myself=$0
90
 
fi
91
 
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
94
 
fi
95
 
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99
 
done
100
 
PS1='$ '
101
 
PS2='> '
102
 
PS4='+ '
103
 
 
104
 
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
151
 
 
152
 
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
155
 
 
156
 
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
158
 
  as_have_required=yes
159
 
else
160
 
  as_have_required=no
161
 
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
 
do
226
 
  IFS=$as_save_IFS
227
 
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
229
 
         /*)
230
 
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
 
           done;;
233
 
       esac
234
 
done
235
 
IFS=$as_save_IFS
236
 
 
237
 
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
 
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
440
 
  sed -n '
441
 
    p
442
 
    /[$]LINENO/=
443
 
  ' <$as_myself |
444
 
    sed '
445
 
      s/[$]LINENO.*/&-/
446
 
      t lineno
447
 
      b
448
 
      :lineno
449
 
      N
450
 
      :loop
451
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452
 
      t loop
453
 
      s/-\n.*//
454
 
    ' >$as_me.lineno &&
455
 
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
458
 
 
459
 
  # Don't try to exec as it changes $[0], causing all sort of problems
460
 
  # (the dirname of $[0] is not the place where we might find the
461
 
  # original and so on.  Autoconf is especially sensitive to this).
462
 
  . "./$as_me.lineno"
463
 
  # Exit status is that of the last command.
464
 
  exit
465
 
}
466
 
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
 
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
476
 
-n*)
477
 
  case `echo 'x\c'` in
478
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
480
 
  esac;;
481
 
*)
482
 
  ECHO_N='-n';;
483
 
esac
484
 
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
 
rm -f conf$$ conf$$.exe conf$$.file
493
 
if test -d conf$$.dir; then
494
 
  rm -f conf$$.dir/conf$$.file
495
 
else
496
 
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
498
 
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507
 
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
510
 
else
511
 
  as_ln_s='cp -p'
512
 
fi
513
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
 
rmdir conf$$.dir 2>/dev/null
515
 
 
516
 
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
518
 
else
519
 
  test -d ./-p && rmdir ./-p
520
 
  as_mkdir_p=false
521
 
fi
522
 
 
523
 
if test -x / >/dev/null 2>&1; then
524
 
  as_test_x='test -x'
525
 
else
526
 
  if ls -dL / >/dev/null 2>&1; then
527
 
    as_ls_L_option=L
528
 
  else
529
 
    as_ls_L_option=
530
 
  fi
531
 
  as_test_x='
532
 
    eval sh -c '\''
533
 
      if test -d "$1"; then
534
 
        test -d "$1/.";
535
 
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
538
 
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
 
        ???[sx]*):;;*)false;;esac;fi
541
 
    '\'' sh
542
 
  '
543
 
fi
544
 
as_executable_p=$as_test_x
545
 
 
546
 
# Sed expression to map a string onto a valid CPP name.
547
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
 
 
549
 
# Sed expression to map a string onto a valid variable name.
550
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
 
 
552
 
 
553
 
 
554
 
exec 7<&0 </dev/null 6>&1
555
 
 
556
 
# Name of the host.
557
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
 
# so uname gets run too.
559
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
 
 
561
 
#
562
 
# Initializations.
563
 
#
564
 
ac_default_prefix=/usr/local
565
 
ac_clean_files=
566
 
ac_config_libobj_dir=.
567
 
LIBOBJS=
568
 
cross_compiling=no
569
 
subdirs=
570
 
MFLAGS=
571
 
MAKEFLAGS=
572
 
SHELL=${CONFIG_SHELL-/bin/sh}
573
 
 
574
 
# Identity of this package.
575
 
PACKAGE_NAME='sample'
576
 
PACKAGE_TARNAME='sample'
577
 
PACKAGE_VERSION='1.0d'
578
 
PACKAGE_STRING='sample 1.0d'
579
 
PACKAGE_BUGREPORT='jmwille@sandia.gov'
580
 
 
581
 
ac_subst_vars='SHELL
582
 
PATH_SEPARATOR
583
 
PACKAGE_NAME
584
 
PACKAGE_TARNAME
585
 
PACKAGE_VERSION
586
 
PACKAGE_STRING
587
 
PACKAGE_BUGREPORT
588
 
exec_prefix
589
 
prefix
590
 
program_transform_name
591
 
bindir
592
 
sbindir
593
 
libexecdir
594
 
datarootdir
595
 
datadir
596
 
sysconfdir
597
 
sharedstatedir
598
 
localstatedir
599
 
includedir
600
 
oldincludedir
601
 
docdir
602
 
infodir
603
 
htmldir
604
 
dvidir
605
 
pdfdir
606
 
psdir
607
 
libdir
608
 
localedir
609
 
mandir
610
 
DEFS
611
 
ECHO_C
612
 
ECHO_N
613
 
ECHO_T
614
 
LIBS
615
 
build_alias
616
 
host_alias
617
 
target_alias
618
 
MAINTAINER_MODE_TRUE
619
 
MAINTAINER_MODE_FALSE
620
 
MAINT
621
 
build
622
 
build_cpu
623
 
build_vendor
624
 
build_os
625
 
host
626
 
host_cpu
627
 
host_vendor
628
 
host_os
629
 
target
630
 
target_cpu
631
 
target_vendor
632
 
target_os
633
 
INSTALL_PROGRAM
634
 
INSTALL_SCRIPT
635
 
INSTALL_DATA
636
 
am__isrc
637
 
CYGPATH_W
638
 
PACKAGE
639
 
VERSION
640
 
ACLOCAL
641
 
AUTOCONF
642
 
AUTOMAKE
643
 
AUTOHEADER
644
 
MAKEINFO
645
 
install_sh
646
 
STRIP
647
 
INSTALL_STRIP_PROGRAM
648
 
mkdir_p
649
 
AWK
650
 
SET_MAKE
651
 
am__leading_dot
652
 
AMTAR
653
 
am__tar
654
 
am__untar
655
 
ac_aux_dir
656
 
LIBOBJS
657
 
LTLIBOBJS'
658
 
ac_subst_files=''
659
 
      ac_precious_vars='build_alias
660
 
host_alias
661
 
target_alias'
662
 
 
663
 
 
664
 
# Initialize some variables set by options.
665
 
ac_init_help=
666
 
ac_init_version=false
667
 
# The variables have the same names as the options, with
668
 
# dashes changed to underlines.
669
 
cache_file=/dev/null
670
 
exec_prefix=NONE
671
 
no_create=
672
 
no_recursion=
673
 
prefix=NONE
674
 
program_prefix=NONE
675
 
program_suffix=NONE
676
 
program_transform_name=s,x,x,
677
 
silent=
678
 
site=
679
 
srcdir=
680
 
verbose=
681
 
x_includes=NONE
682
 
x_libraries=NONE
683
 
 
684
 
# Installation directory options.
685
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
686
 
# and all the variables that are supposed to be based on exec_prefix
687
 
# by default will actually change.
688
 
# Use braces instead of parens because sh, perl, etc. also accept them.
689
 
# (The list follows the same order as the GNU Coding Standards.)
690
 
bindir='${exec_prefix}/bin'
691
 
sbindir='${exec_prefix}/sbin'
692
 
libexecdir='${exec_prefix}/libexec'
693
 
datarootdir='${prefix}/share'
694
 
datadir='${datarootdir}'
695
 
sysconfdir='${prefix}/etc'
696
 
sharedstatedir='${prefix}/com'
697
 
localstatedir='${prefix}/var'
698
 
includedir='${prefix}/include'
699
 
oldincludedir='/usr/include'
700
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701
 
infodir='${datarootdir}/info'
702
 
htmldir='${docdir}'
703
 
dvidir='${docdir}'
704
 
pdfdir='${docdir}'
705
 
psdir='${docdir}'
706
 
libdir='${exec_prefix}/lib'
707
 
localedir='${datarootdir}/locale'
708
 
mandir='${datarootdir}/man'
709
 
 
710
 
ac_prev=
711
 
ac_dashdash=
712
 
for ac_option
713
 
do
714
 
  # If the previous option needs an argument, assign it.
715
 
  if test -n "$ac_prev"; then
716
 
    eval $ac_prev=\$ac_option
717
 
    ac_prev=
718
 
    continue
719
 
  fi
720
 
 
721
 
  case $ac_option in
722
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723
 
  *)    ac_optarg=yes ;;
724
 
  esac
725
 
 
726
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
727
 
 
728
 
  case $ac_dashdash$ac_option in
729
 
  --)
730
 
    ac_dashdash=yes ;;
731
 
 
732
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
733
 
    ac_prev=bindir ;;
734
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735
 
    bindir=$ac_optarg ;;
736
 
 
737
 
  -build | --build | --buil | --bui | --bu)
738
 
    ac_prev=build_alias ;;
739
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
740
 
    build_alias=$ac_optarg ;;
741
 
 
742
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
743
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744
 
    ac_prev=cache_file ;;
745
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747
 
    cache_file=$ac_optarg ;;
748
 
 
749
 
  --config-cache | -C)
750
 
    cache_file=config.cache ;;
751
 
 
752
 
  -datadir | --datadir | --datadi | --datad)
753
 
    ac_prev=datadir ;;
754
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
755
 
    datadir=$ac_optarg ;;
756
 
 
757
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758
 
  | --dataroo | --dataro | --datar)
759
 
    ac_prev=datarootdir ;;
760
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762
 
    datarootdir=$ac_optarg ;;
763
 
 
764
 
  -disable-* | --disable-*)
765
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766
 
    # Reject names that are not valid shell variable names.
767
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
768
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
769
 
   { (exit 1); exit 1; }; }
770
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
771
 
    eval enable_$ac_feature=no ;;
772
 
 
773
 
  -docdir | --docdir | --docdi | --doc | --do)
774
 
    ac_prev=docdir ;;
775
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
776
 
    docdir=$ac_optarg ;;
777
 
 
778
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
779
 
    ac_prev=dvidir ;;
780
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
781
 
    dvidir=$ac_optarg ;;
782
 
 
783
 
  -enable-* | --enable-*)
784
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785
 
    # Reject names that are not valid shell variable names.
786
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
787
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
788
 
   { (exit 1); exit 1; }; }
789
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
790
 
    eval enable_$ac_feature=\$ac_optarg ;;
791
 
 
792
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
793
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
794
 
  | --exec | --exe | --ex)
795
 
    ac_prev=exec_prefix ;;
796
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
797
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
798
 
  | --exec=* | --exe=* | --ex=*)
799
 
    exec_prefix=$ac_optarg ;;
800
 
 
801
 
  -gas | --gas | --ga | --g)
802
 
    # Obsolete; use --with-gas.
803
 
    with_gas=yes ;;
804
 
 
805
 
  -help | --help | --hel | --he | -h)
806
 
    ac_init_help=long ;;
807
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
808
 
    ac_init_help=recursive ;;
809
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
810
 
    ac_init_help=short ;;
811
 
 
812
 
  -host | --host | --hos | --ho)
813
 
    ac_prev=host_alias ;;
814
 
  -host=* | --host=* | --hos=* | --ho=*)
815
 
    host_alias=$ac_optarg ;;
816
 
 
817
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
818
 
    ac_prev=htmldir ;;
819
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
820
 
  | --ht=*)
821
 
    htmldir=$ac_optarg ;;
822
 
 
823
 
  -includedir | --includedir | --includedi | --included | --include \
824
 
  | --includ | --inclu | --incl | --inc)
825
 
    ac_prev=includedir ;;
826
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
827
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
828
 
    includedir=$ac_optarg ;;
829
 
 
830
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
831
 
    ac_prev=infodir ;;
832
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
833
 
    infodir=$ac_optarg ;;
834
 
 
835
 
  -libdir | --libdir | --libdi | --libd)
836
 
    ac_prev=libdir ;;
837
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
838
 
    libdir=$ac_optarg ;;
839
 
 
840
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
841
 
  | --libexe | --libex | --libe)
842
 
    ac_prev=libexecdir ;;
843
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
844
 
  | --libexe=* | --libex=* | --libe=*)
845
 
    libexecdir=$ac_optarg ;;
846
 
 
847
 
  -localedir | --localedir | --localedi | --localed | --locale)
848
 
    ac_prev=localedir ;;
849
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
850
 
    localedir=$ac_optarg ;;
851
 
 
852
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
853
 
  | --localstate | --localstat | --localsta | --localst | --locals)
854
 
    ac_prev=localstatedir ;;
855
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
856
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
857
 
    localstatedir=$ac_optarg ;;
858
 
 
859
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
860
 
    ac_prev=mandir ;;
861
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
862
 
    mandir=$ac_optarg ;;
863
 
 
864
 
  -nfp | --nfp | --nf)
865
 
    # Obsolete; use --without-fp.
866
 
    with_fp=no ;;
867
 
 
868
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
869
 
  | --no-cr | --no-c | -n)
870
 
    no_create=yes ;;
871
 
 
872
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
873
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
874
 
    no_recursion=yes ;;
875
 
 
876
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
877
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
878
 
  | --oldin | --oldi | --old | --ol | --o)
879
 
    ac_prev=oldincludedir ;;
880
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
881
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
882
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
883
 
    oldincludedir=$ac_optarg ;;
884
 
 
885
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
886
 
    ac_prev=prefix ;;
887
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
888
 
    prefix=$ac_optarg ;;
889
 
 
890
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
891
 
  | --program-pre | --program-pr | --program-p)
892
 
    ac_prev=program_prefix ;;
893
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
894
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
895
 
    program_prefix=$ac_optarg ;;
896
 
 
897
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
898
 
  | --program-suf | --program-su | --program-s)
899
 
    ac_prev=program_suffix ;;
900
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
901
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
902
 
    program_suffix=$ac_optarg ;;
903
 
 
904
 
  -program-transform-name | --program-transform-name \
905
 
  | --program-transform-nam | --program-transform-na \
906
 
  | --program-transform-n | --program-transform- \
907
 
  | --program-transform | --program-transfor \
908
 
  | --program-transfo | --program-transf \
909
 
  | --program-trans | --program-tran \
910
 
  | --progr-tra | --program-tr | --program-t)
911
 
    ac_prev=program_transform_name ;;
912
 
  -program-transform-name=* | --program-transform-name=* \
913
 
  | --program-transform-nam=* | --program-transform-na=* \
914
 
  | --program-transform-n=* | --program-transform-=* \
915
 
  | --program-transform=* | --program-transfor=* \
916
 
  | --program-transfo=* | --program-transf=* \
917
 
  | --program-trans=* | --program-tran=* \
918
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
919
 
    program_transform_name=$ac_optarg ;;
920
 
 
921
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
922
 
    ac_prev=pdfdir ;;
923
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
924
 
    pdfdir=$ac_optarg ;;
925
 
 
926
 
  -psdir | --psdir | --psdi | --psd | --ps)
927
 
    ac_prev=psdir ;;
928
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
929
 
    psdir=$ac_optarg ;;
930
 
 
931
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
932
 
  | -silent | --silent | --silen | --sile | --sil)
933
 
    silent=yes ;;
934
 
 
935
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
936
 
    ac_prev=sbindir ;;
937
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
938
 
  | --sbi=* | --sb=*)
939
 
    sbindir=$ac_optarg ;;
940
 
 
941
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
942
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
943
 
  | --sharedst | --shareds | --shared | --share | --shar \
944
 
  | --sha | --sh)
945
 
    ac_prev=sharedstatedir ;;
946
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
947
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
948
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
949
 
  | --sha=* | --sh=*)
950
 
    sharedstatedir=$ac_optarg ;;
951
 
 
952
 
  -site | --site | --sit)
953
 
    ac_prev=site ;;
954
 
  -site=* | --site=* | --sit=*)
955
 
    site=$ac_optarg ;;
956
 
 
957
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
958
 
    ac_prev=srcdir ;;
959
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
960
 
    srcdir=$ac_optarg ;;
961
 
 
962
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
963
 
  | --syscon | --sysco | --sysc | --sys | --sy)
964
 
    ac_prev=sysconfdir ;;
965
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
966
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
967
 
    sysconfdir=$ac_optarg ;;
968
 
 
969
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
970
 
    ac_prev=target_alias ;;
971
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
972
 
    target_alias=$ac_optarg ;;
973
 
 
974
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
975
 
    verbose=yes ;;
976
 
 
977
 
  -version | --version | --versio | --versi | --vers | -V)
978
 
    ac_init_version=: ;;
979
 
 
980
 
  -with-* | --with-*)
981
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982
 
    # Reject names that are not valid shell variable names.
983
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
985
 
   { (exit 1); exit 1; }; }
986
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987
 
    eval with_$ac_package=\$ac_optarg ;;
988
 
 
989
 
  -without-* | --without-*)
990
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991
 
    # Reject names that are not valid shell variable names.
992
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
993
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
994
 
   { (exit 1); exit 1; }; }
995
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
996
 
    eval with_$ac_package=no ;;
997
 
 
998
 
  --x)
999
 
    # Obsolete; use --with-x.
1000
 
    with_x=yes ;;
1001
 
 
1002
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1003
 
  | --x-incl | --x-inc | --x-in | --x-i)
1004
 
    ac_prev=x_includes ;;
1005
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1006
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1007
 
    x_includes=$ac_optarg ;;
1008
 
 
1009
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1010
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1011
 
    ac_prev=x_libraries ;;
1012
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1013
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1014
 
    x_libraries=$ac_optarg ;;
1015
 
 
1016
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1017
 
Try \`$0 --help' for more information." >&2
1018
 
   { (exit 1); exit 1; }; }
1019
 
    ;;
1020
 
 
1021
 
  *=*)
1022
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1023
 
    # Reject names that are not valid shell variable names.
1024
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1025
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1026
 
   { (exit 1); exit 1; }; }
1027
 
    eval $ac_envvar=\$ac_optarg
1028
 
    export $ac_envvar ;;
1029
 
 
1030
 
  *)
1031
 
    # FIXME: should be removed in autoconf 3.0.
1032
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1036
 
    ;;
1037
 
 
1038
 
  esac
1039
 
done
1040
 
 
1041
 
if test -n "$ac_prev"; then
1042
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1043
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1044
 
   { (exit 1); exit 1; }; }
1045
 
fi
1046
 
 
1047
 
# Be sure to have absolute directory names.
1048
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1049
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1050
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1051
 
                libdir localedir mandir
1052
 
do
1053
 
  eval ac_val=\$$ac_var
1054
 
  case $ac_val in
1055
 
    [\\/$]* | ?:[\\/]* )  continue;;
1056
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1057
 
  esac
1058
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1059
 
   { (exit 1); exit 1; }; }
1060
 
done
1061
 
 
1062
 
# There might be people who depend on the old broken behavior: `$host'
1063
 
# used to hold the argument of --host etc.
1064
 
# FIXME: To remove some day.
1065
 
build=$build_alias
1066
 
host=$host_alias
1067
 
target=$target_alias
1068
 
 
1069
 
# FIXME: To remove some day.
1070
 
if test "x$host_alias" != x; then
1071
 
  if test "x$build_alias" = x; then
1072
 
    cross_compiling=maybe
1073
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1075
 
  elif test "x$build_alias" != "x$host_alias"; then
1076
 
    cross_compiling=yes
1077
 
  fi
1078
 
fi
1079
 
 
1080
 
ac_tool_prefix=
1081
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1082
 
 
1083
 
test "$silent" = yes && exec 6>/dev/null
1084
 
 
1085
 
 
1086
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087
 
ac_ls_di=`ls -di .` &&
1088
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1090
 
   { (exit 1); exit 1; }; }
1091
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1092
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1093
 
   { (exit 1); exit 1; }; }
1094
 
 
1095
 
 
1096
 
# Find the source files, if location was not specified.
1097
 
if test -z "$srcdir"; then
1098
 
  ac_srcdir_defaulted=yes
1099
 
  # Try the directory containing this script, then the parent directory.
1100
 
  ac_confdir=`$as_dirname -- "$0" ||
1101
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1102
 
         X"$0" : 'X\(//\)[^/]' \| \
1103
 
         X"$0" : 'X\(//\)$' \| \
1104
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1105
 
echo X"$0" |
1106
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1107
 
            s//\1/
1108
 
            q
1109
 
          }
1110
 
          /^X\(\/\/\)[^/].*/{
1111
 
            s//\1/
1112
 
            q
1113
 
          }
1114
 
          /^X\(\/\/\)$/{
1115
 
            s//\1/
1116
 
            q
1117
 
          }
1118
 
          /^X\(\/\).*/{
1119
 
            s//\1/
1120
 
            q
1121
 
          }
1122
 
          s/.*/./; q'`
1123
 
  srcdir=$ac_confdir
1124
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1125
 
    srcdir=..
1126
 
  fi
1127
 
else
1128
 
  ac_srcdir_defaulted=no
1129
 
fi
1130
 
if test ! -r "$srcdir/$ac_unique_file"; then
1131
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1132
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1133
 
   { (exit 1); exit 1; }; }
1134
 
fi
1135
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1136
 
ac_abs_confdir=`(
1137
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1138
 
   { (exit 1); exit 1; }; }
1139
 
        pwd)`
1140
 
# When building in place, set srcdir=.
1141
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1142
 
  srcdir=.
1143
 
fi
1144
 
# Remove unnecessary trailing slashes from srcdir.
1145
 
# Double slashes in file names in object file debugging info
1146
 
# mess up M-x gdb in Emacs.
1147
 
case $srcdir in
1148
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1149
 
esac
1150
 
for ac_var in $ac_precious_vars; do
1151
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1152
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1153
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1154
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1155
 
done
1156
 
 
1157
 
#
1158
 
# Report the --help message.
1159
 
#
1160
 
if test "$ac_init_help" = "long"; then
1161
 
  # Omit some internal or obsolete options to make the list less imposing.
1162
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1163
 
  cat <<_ACEOF
1164
 
\`configure' configures sample 1.0d to adapt to many kinds of systems.
1165
 
 
1166
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1167
 
 
1168
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1169
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1170
 
 
1171
 
Defaults for the options are specified in brackets.
1172
 
 
1173
 
Configuration:
1174
 
  -h, --help              display this help and exit
1175
 
      --help=short        display options specific to this package
1176
 
      --help=recursive    display the short help of all the included packages
1177
 
  -V, --version           display version information and exit
1178
 
  -q, --quiet, --silent   do not print \`checking...' messages
1179
 
      --cache-file=FILE   cache test results in FILE [disabled]
1180
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1181
 
  -n, --no-create         do not create output files
1182
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1183
 
 
1184
 
Installation directories:
1185
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1186
 
                          [$ac_default_prefix]
1187
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1188
 
                          [PREFIX]
1189
 
 
1190
 
By default, \`make install' will install all the files in
1191
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1192
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1193
 
for instance \`--prefix=\$HOME'.
1194
 
 
1195
 
For better control, use the options below.
1196
 
 
1197
 
Fine tuning of the installation directories:
1198
 
  --bindir=DIR           user executables [EPREFIX/bin]
1199
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1200
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1201
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1202
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1203
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1204
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1205
 
  --includedir=DIR       C header files [PREFIX/include]
1206
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1207
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1208
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1209
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1210
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1211
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1212
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/sample]
1213
 
  --htmldir=DIR          html documentation [DOCDIR]
1214
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1215
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1216
 
  --psdir=DIR            ps documentation [DOCDIR]
1217
 
_ACEOF
1218
 
 
1219
 
  cat <<\_ACEOF
1220
 
 
1221
 
Program names:
1222
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1223
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1224
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1225
 
 
1226
 
System types:
1227
 
  --build=BUILD     configure for building on BUILD [guessed]
1228
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1229
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1230
 
_ACEOF
1231
 
fi
1232
 
 
1233
 
if test -n "$ac_init_help"; then
1234
 
  case $ac_init_help in
1235
 
     short | recursive ) echo "Configuration of sample 1.0d:";;
1236
 
   esac
1237
 
  cat <<\_ACEOF
1238
 
 
1239
 
Optional Features:
1240
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1241
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1242
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1243
 
                          (and sometimes confusing) to the casual installer
1244
 
 
1245
 
Optional Packages:
1246
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1247
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1248
 
  --with-install=INSTALL_PROGRAM
1249
 
                          Use the installation program INSTALL_PROGRAM rather
1250
 
                          the default that is provided. For example
1251
 
                          --with-install="/path/install -p"
1252
 
 
1253
 
Report bugs to <jmwille@sandia.gov>.
1254
 
_ACEOF
1255
 
ac_status=$?
1256
 
fi
1257
 
 
1258
 
if test "$ac_init_help" = "recursive"; then
1259
 
  # If there are subdirs, report their specific --help.
1260
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1261
 
    test -d "$ac_dir" || continue
1262
 
    ac_builddir=.
1263
 
 
1264
 
case "$ac_dir" in
1265
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266
 
*)
1267
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1268
 
  # A ".." for each directory in $ac_dir_suffix.
1269
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1270
 
  case $ac_top_builddir_sub in
1271
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1272
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1273
 
  esac ;;
1274
 
esac
1275
 
ac_abs_top_builddir=$ac_pwd
1276
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1277
 
# for backward compatibility:
1278
 
ac_top_builddir=$ac_top_build_prefix
1279
 
 
1280
 
case $srcdir in
1281
 
  .)  # We are building in place.
1282
 
    ac_srcdir=.
1283
 
    ac_top_srcdir=$ac_top_builddir_sub
1284
 
    ac_abs_top_srcdir=$ac_pwd ;;
1285
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1286
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1287
 
    ac_top_srcdir=$srcdir
1288
 
    ac_abs_top_srcdir=$srcdir ;;
1289
 
  *) # Relative name.
1290
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1291
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1292
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1293
 
esac
1294
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1295
 
 
1296
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1297
 
    # Check for guested configure.
1298
 
    if test -f "$ac_srcdir/configure.gnu"; then
1299
 
      echo &&
1300
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1301
 
    elif test -f "$ac_srcdir/configure"; then
1302
 
      echo &&
1303
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1304
 
    else
1305
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1306
 
    fi || ac_status=$?
1307
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1308
 
  done
1309
 
fi
1310
 
 
1311
 
test -n "$ac_init_help" && exit $ac_status
1312
 
if $ac_init_version; then
1313
 
  cat <<\_ACEOF
1314
 
sample configure 1.0d
1315
 
generated by GNU Autoconf 2.61
1316
 
 
1317
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1318
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1319
 
This configure script is free software; the Free Software Foundation
1320
 
gives unlimited permission to copy, distribute and modify it.
1321
 
_ACEOF
1322
 
  exit
1323
 
fi
1324
 
cat >config.log <<_ACEOF
1325
 
This file contains any messages produced by compilers while
1326
 
running configure, to aid debugging if configure makes a mistake.
1327
 
 
1328
 
It was created by sample $as_me 1.0d, which was
1329
 
generated by GNU Autoconf 2.61.  Invocation command line was
1330
 
 
1331
 
  $ $0 $@
1332
 
 
1333
 
_ACEOF
1334
 
exec 5>>config.log
1335
 
{
1336
 
cat <<_ASUNAME
1337
 
## --------- ##
1338
 
## Platform. ##
1339
 
## --------- ##
1340
 
 
1341
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1342
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1343
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1344
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1345
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1346
 
 
1347
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1348
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1349
 
 
1350
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1351
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1352
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1353
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1354
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1355
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1356
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1357
 
 
1358
 
_ASUNAME
1359
 
 
1360
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361
 
for as_dir in $PATH
1362
 
do
1363
 
  IFS=$as_save_IFS
1364
 
  test -z "$as_dir" && as_dir=.
1365
 
  echo "PATH: $as_dir"
1366
 
done
1367
 
IFS=$as_save_IFS
1368
 
 
1369
 
} >&5
1370
 
 
1371
 
cat >&5 <<_ACEOF
1372
 
 
1373
 
 
1374
 
## ----------- ##
1375
 
## Core tests. ##
1376
 
## ----------- ##
1377
 
 
1378
 
_ACEOF
1379
 
 
1380
 
 
1381
 
# Keep a trace of the command line.
1382
 
# Strip out --no-create and --no-recursion so they do not pile up.
1383
 
# Strip out --silent because we don't want to record it for future runs.
1384
 
# Also quote any args containing shell meta-characters.
1385
 
# Make two passes to allow for proper duplicate-argument suppression.
1386
 
ac_configure_args=
1387
 
ac_configure_args0=
1388
 
ac_configure_args1=
1389
 
ac_must_keep_next=false
1390
 
for ac_pass in 1 2
1391
 
do
1392
 
  for ac_arg
1393
 
  do
1394
 
    case $ac_arg in
1395
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1396
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1397
 
    | -silent | --silent | --silen | --sile | --sil)
1398
 
      continue ;;
1399
 
    *\'*)
1400
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1401
 
    esac
1402
 
    case $ac_pass in
1403
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1404
 
    2)
1405
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1406
 
      if test $ac_must_keep_next = true; then
1407
 
        ac_must_keep_next=false # Got value, back to normal.
1408
 
      else
1409
 
        case $ac_arg in
1410
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1411
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1412
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1413
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1414
 
            case "$ac_configure_args0 " in
1415
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1416
 
            esac
1417
 
            ;;
1418
 
          -* ) ac_must_keep_next=true ;;
1419
 
        esac
1420
 
      fi
1421
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1422
 
      ;;
1423
 
    esac
1424
 
  done
1425
 
done
1426
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1427
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1428
 
 
1429
 
# When interrupted or exit'd, cleanup temporary files, and complete
1430
 
# config.log.  We remove comments because anyway the quotes in there
1431
 
# would cause problems or look ugly.
1432
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1433
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1434
 
trap 'exit_status=$?
1435
 
  # Save into config.log some information that might help in debugging.
1436
 
  {
1437
 
    echo
1438
 
 
1439
 
    cat <<\_ASBOX
1440
 
## ---------------- ##
1441
 
## Cache variables. ##
1442
 
## ---------------- ##
1443
 
_ASBOX
1444
 
    echo
1445
 
    # The following way of writing the cache mishandles newlines in values,
1446
 
(
1447
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1448
 
    eval ac_val=\$$ac_var
1449
 
    case $ac_val in #(
1450
 
    *${as_nl}*)
1451
 
      case $ac_var in #(
1452
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1453
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1454
 
      esac
1455
 
      case $ac_var in #(
1456
 
      _ | IFS | as_nl) ;; #(
1457
 
      *) $as_unset $ac_var ;;
1458
 
      esac ;;
1459
 
    esac
1460
 
  done
1461
 
  (set) 2>&1 |
1462
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1463
 
    *${as_nl}ac_space=\ *)
1464
 
      sed -n \
1465
 
        "s/'\''/'\''\\\\'\'''\''/g;
1466
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1467
 
      ;; #(
1468
 
    *)
1469
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1470
 
      ;;
1471
 
    esac |
1472
 
    sort
1473
 
)
1474
 
    echo
1475
 
 
1476
 
    cat <<\_ASBOX
1477
 
## ----------------- ##
1478
 
## Output variables. ##
1479
 
## ----------------- ##
1480
 
_ASBOX
1481
 
    echo
1482
 
    for ac_var in $ac_subst_vars
1483
 
    do
1484
 
      eval ac_val=\$$ac_var
1485
 
      case $ac_val in
1486
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487
 
      esac
1488
 
      echo "$ac_var='\''$ac_val'\''"
1489
 
    done | sort
1490
 
    echo
1491
 
 
1492
 
    if test -n "$ac_subst_files"; then
1493
 
      cat <<\_ASBOX
1494
 
## ------------------- ##
1495
 
## File substitutions. ##
1496
 
## ------------------- ##
1497
 
_ASBOX
1498
 
      echo
1499
 
      for ac_var in $ac_subst_files
1500
 
      do
1501
 
        eval ac_val=\$$ac_var
1502
 
        case $ac_val in
1503
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1504
 
        esac
1505
 
        echo "$ac_var='\''$ac_val'\''"
1506
 
      done | sort
1507
 
      echo
1508
 
    fi
1509
 
 
1510
 
    if test -s confdefs.h; then
1511
 
      cat <<\_ASBOX
1512
 
## ----------- ##
1513
 
## confdefs.h. ##
1514
 
## ----------- ##
1515
 
_ASBOX
1516
 
      echo
1517
 
      cat confdefs.h
1518
 
      echo
1519
 
    fi
1520
 
    test "$ac_signal" != 0 &&
1521
 
      echo "$as_me: caught signal $ac_signal"
1522
 
    echo "$as_me: exit $exit_status"
1523
 
  } >&5
1524
 
  rm -f core *.core core.conftest.* &&
1525
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1526
 
    exit $exit_status
1527
 
' 0
1528
 
for ac_signal in 1 2 13 15; do
1529
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1530
 
done
1531
 
ac_signal=0
1532
 
 
1533
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1534
 
rm -f -r conftest* confdefs.h
1535
 
 
1536
 
# Predefined preprocessor variables.
1537
 
 
1538
 
cat >>confdefs.h <<_ACEOF
1539
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1540
 
_ACEOF
1541
 
 
1542
 
 
1543
 
cat >>confdefs.h <<_ACEOF
1544
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1545
 
_ACEOF
1546
 
 
1547
 
 
1548
 
cat >>confdefs.h <<_ACEOF
1549
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1550
 
_ACEOF
1551
 
 
1552
 
 
1553
 
cat >>confdefs.h <<_ACEOF
1554
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1555
 
_ACEOF
1556
 
 
1557
 
 
1558
 
cat >>confdefs.h <<_ACEOF
1559
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1560
 
_ACEOF
1561
 
 
1562
 
 
1563
 
# Let the site file select an alternate cache file if it wants to.
1564
 
# Prefer explicitly selected file to automatically selected ones.
1565
 
if test -n "$CONFIG_SITE"; then
1566
 
  set x "$CONFIG_SITE"
1567
 
elif test "x$prefix" != xNONE; then
1568
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1569
 
else
1570
 
  set x "$ac_default_prefix/share/config.site" \
1571
 
        "$ac_default_prefix/etc/config.site"
1572
 
fi
1573
 
shift
1574
 
for ac_site_file
1575
 
do
1576
 
  if test -r "$ac_site_file"; then
1577
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1578
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1579
 
    sed 's/^/| /' "$ac_site_file" >&5
1580
 
    . "$ac_site_file"
1581
 
  fi
1582
 
done
1583
 
 
1584
 
if test -r "$cache_file"; then
1585
 
  # Some versions of bash will fail to source /dev/null (special
1586
 
  # files actually), so we avoid doing that.
1587
 
  if test -f "$cache_file"; then
1588
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1589
 
echo "$as_me: loading cache $cache_file" >&6;}
1590
 
    case $cache_file in
1591
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1592
 
      *)                      . "./$cache_file";;
1593
 
    esac
1594
 
  fi
1595
 
else
1596
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1597
 
echo "$as_me: creating cache $cache_file" >&6;}
1598
 
  >$cache_file
1599
 
fi
1600
 
 
1601
 
# Check that the precious variables saved in the cache have kept the same
1602
 
# value.
1603
 
ac_cache_corrupted=false
1604
 
for ac_var in $ac_precious_vars; do
1605
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1606
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1607
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1608
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1609
 
  case $ac_old_set,$ac_new_set in
1610
 
    set,)
1611
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1612
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1613
 
      ac_cache_corrupted=: ;;
1614
 
    ,set)
1615
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1616
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1617
 
      ac_cache_corrupted=: ;;
1618
 
    ,);;
1619
 
    *)
1620
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1621
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1622
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1623
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1624
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1625
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1626
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1627
 
        ac_cache_corrupted=:
1628
 
      fi;;
1629
 
  esac
1630
 
  # Pass precious variables to config.status.
1631
 
  if test "$ac_new_set" = set; then
1632
 
    case $ac_new_val in
1633
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1634
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1635
 
    esac
1636
 
    case " $ac_configure_args " in
1637
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1638
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1639
 
    esac
1640
 
  fi
1641
 
done
1642
 
if $ac_cache_corrupted; then
1643
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1644
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1645
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1646
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1647
 
   { (exit 1); exit 1; }; }
1648
 
fi
1649
 
 
1650
 
 
1651
 
 
1652
 
 
1653
 
 
1654
 
 
1655
 
 
1656
 
 
1657
 
 
1658
 
 
1659
 
 
1660
 
 
1661
 
 
1662
 
 
1663
 
 
1664
 
 
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
ac_ext=c
1675
 
ac_cpp='$CPP $CPPFLAGS'
1676
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679
 
 
1680
 
 
1681
 
 
1682
 
echo "----------------------------------------"
1683
 
echo "Running sample Configure Script"
1684
 
echo "----------------------------------------"
1685
 
 
1686
 
# This is to protect against accidentally specifying the wrong
1687
 
# directory with --srcdir.  Any file in that directory will do,
1688
 
# preferably one that is unlikely to be removed or renamed.
1689
 
 
1690
 
# #auto np# - file name below
1691
 
#AC_CONFIG_SRCDIR([src/Newp_Hello.cpp])
1692
 
 
1693
 
# Specify directory for auxillary build tools (e.g., install-sh,
1694
 
# config.sub, config.guess) and M4 files.
1695
 
 
1696
 
#
1697
 
# #np# This a a subdirectory of Trilinos/packages/new_package that contains
1698
 
# #np# a number of useful m4 files.  Any package that uses these m4 files
1699
 
# #np# will have to add them to the repository.  The m4 files perform various
1700
 
# #np# common checks and set common variable values to minimize redundant work.
1701
 
#
1702
 
ac_aux_dir=
1703
 
for ac_dir in config "$srcdir"/config; do
1704
 
  if test -f "$ac_dir/install-sh"; then
1705
 
    ac_aux_dir=$ac_dir
1706
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1707
 
    break
1708
 
  elif test -f "$ac_dir/install.sh"; then
1709
 
    ac_aux_dir=$ac_dir
1710
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1711
 
    break
1712
 
  elif test -f "$ac_dir/shtool"; then
1713
 
    ac_aux_dir=$ac_dir
1714
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1715
 
    break
1716
 
  fi
1717
 
done
1718
 
if test -z "$ac_aux_dir"; then
1719
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1720
 
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1721
 
   { (exit 1); exit 1; }; }
1722
 
fi
1723
 
 
1724
 
# These three variables are undocumented and unsupported,
1725
 
# and are intended to be withdrawn in a future Autoconf release.
1726
 
# They can cause serious problems if a builder's source tree is in a directory
1727
 
# whose full name contains unusual characters.
1728
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1729
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1730
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1731
 
 
1732
 
 
1733
 
#  #auto np# - Change file names in next line
1734
 
# Configure should create src/New_Package_config.h from src/New_Package_config.h.in
1735
 
 
1736
 
#AM_CONFIG_HEADER(src/New_Package_config.h:src/New_Package_config.h.in)
1737
 
 
1738
 
# Allow users to specify their own "install" command.  If none is specified,
1739
 
# the default is install-sh found in the config subdirectory.
1740
 
 
1741
 
 
1742
 
# Check whether --with-install was given.
1743
 
if test "${with_install+set}" = set; then
1744
 
  withval=$with_install;
1745
 
   INSTALL=$withval
1746
 
   INSTALL_PROGRAM=$withval
1747
 
   INSTALL_SCRIPT=$withval
1748
 
   INSTALL_DATA="$withval -m 644"
1749
 
 
1750
 
fi
1751
 
 
1752
 
 
1753
 
# AM_MAINTAINER_MODE turns off maintainer-only makefile targets by
1754
 
# default, and changes configure to understand a
1755
 
# --enable-maintainer-mode option. --enable-maintainer-mode turns the
1756
 
# maintainer-only targets back on. The maintainer-only makefile
1757
 
# targets permit end users to clean automatically-generated files such
1758
 
# as configure, which means they have to have autoconf and automake
1759
 
# installed to repair the damage. AM_MAINTAINER_MODE makes it a bit
1760
 
# harder for users to shoot themselves in the foot.
1761
 
 
1762
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1763
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1764
 
    # Check whether --enable-maintainer-mode was given.
1765
 
if test "${enable_maintainer_mode+set}" = set; then
1766
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1767
 
else
1768
 
  USE_MAINTAINER_MODE=no
1769
 
fi
1770
 
 
1771
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1772
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1773
 
   if test $USE_MAINTAINER_MODE = yes; then
1774
 
  MAINTAINER_MODE_TRUE=
1775
 
  MAINTAINER_MODE_FALSE='#'
1776
 
else
1777
 
  MAINTAINER_MODE_TRUE='#'
1778
 
  MAINTAINER_MODE_FALSE=
1779
 
fi
1780
 
 
1781
 
  MAINT=$MAINTAINER_MODE_TRUE
1782
 
 
1783
 
 
1784
 
 
1785
 
# Define $build, $host, $target, etc
1786
 
 
1787
 
# Make sure we can run config.sub.
1788
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1789
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1790
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1791
 
   { (exit 1); exit 1; }; }
1792
 
 
1793
 
{ echo "$as_me:$LINENO: checking build system type" >&5
1794
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1795
 
if test "${ac_cv_build+set}" = set; then
1796
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1797
 
else
1798
 
  ac_build_alias=$build_alias
1799
 
test "x$ac_build_alias" = x &&
1800
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1801
 
test "x$ac_build_alias" = x &&
1802
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1803
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1804
 
   { (exit 1); exit 1; }; }
1805
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1806
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1807
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1808
 
   { (exit 1); exit 1; }; }
1809
 
 
1810
 
fi
1811
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1812
 
echo "${ECHO_T}$ac_cv_build" >&6; }
1813
 
case $ac_cv_build in
1814
 
*-*-*) ;;
1815
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1816
 
echo "$as_me: error: invalid value of canonical build" >&2;}
1817
 
   { (exit 1); exit 1; }; };;
1818
 
esac
1819
 
build=$ac_cv_build
1820
 
ac_save_IFS=$IFS; IFS='-'
1821
 
set x $ac_cv_build
1822
 
shift
1823
 
build_cpu=$1
1824
 
build_vendor=$2
1825
 
shift; shift
1826
 
# Remember, the first character of IFS is used to create $*,
1827
 
# except with old shells:
1828
 
build_os=$*
1829
 
IFS=$ac_save_IFS
1830
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1831
 
 
1832
 
 
1833
 
{ echo "$as_me:$LINENO: checking host system type" >&5
1834
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1835
 
if test "${ac_cv_host+set}" = set; then
1836
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1837
 
else
1838
 
  if test "x$host_alias" = x; then
1839
 
  ac_cv_host=$ac_cv_build
1840
 
else
1841
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1842
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1843
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1844
 
   { (exit 1); exit 1; }; }
1845
 
fi
1846
 
 
1847
 
fi
1848
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1849
 
echo "${ECHO_T}$ac_cv_host" >&6; }
1850
 
case $ac_cv_host in
1851
 
*-*-*) ;;
1852
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1853
 
echo "$as_me: error: invalid value of canonical host" >&2;}
1854
 
   { (exit 1); exit 1; }; };;
1855
 
esac
1856
 
host=$ac_cv_host
1857
 
ac_save_IFS=$IFS; IFS='-'
1858
 
set x $ac_cv_host
1859
 
shift
1860
 
host_cpu=$1
1861
 
host_vendor=$2
1862
 
shift; shift
1863
 
# Remember, the first character of IFS is used to create $*,
1864
 
# except with old shells:
1865
 
host_os=$*
1866
 
IFS=$ac_save_IFS
1867
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1868
 
 
1869
 
 
1870
 
{ echo "$as_me:$LINENO: checking target system type" >&5
1871
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1872
 
if test "${ac_cv_target+set}" = set; then
1873
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1874
 
else
1875
 
  if test "x$target_alias" = x; then
1876
 
  ac_cv_target=$ac_cv_host
1877
 
else
1878
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1879
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1880
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1881
 
   { (exit 1); exit 1; }; }
1882
 
fi
1883
 
 
1884
 
fi
1885
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1886
 
echo "${ECHO_T}$ac_cv_target" >&6; }
1887
 
case $ac_cv_target in
1888
 
*-*-*) ;;
1889
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1890
 
echo "$as_me: error: invalid value of canonical target" >&2;}
1891
 
   { (exit 1); exit 1; }; };;
1892
 
esac
1893
 
target=$ac_cv_target
1894
 
ac_save_IFS=$IFS; IFS='-'
1895
 
set x $ac_cv_target
1896
 
shift
1897
 
target_cpu=$1
1898
 
target_vendor=$2
1899
 
shift; shift
1900
 
# Remember, the first character of IFS is used to create $*,
1901
 
# except with old shells:
1902
 
target_os=$*
1903
 
IFS=$ac_save_IFS
1904
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1905
 
 
1906
 
 
1907
 
# The aliases save the names the user supplied, while $host etc.
1908
 
# will get canonicalized.
1909
 
test -n "$target_alias" &&
1910
 
  test "$program_prefix$program_suffix$program_transform_name" = \
1911
 
    NONENONEs,x,x, &&
1912
 
  program_prefix=${target_alias}-
1913
 
 
1914
 
# Use automake
1915
 
 
1916
 
#  - Required version of automake.
1917
 
am__api_version='1.10'
1918
 
 
1919
 
# Find a good install program.  We prefer a C program (faster),
1920
 
# so one script is as good as another.  But avoid the broken or
1921
 
# incompatible versions:
1922
 
# SysV /etc/install, /usr/sbin/install
1923
 
# SunOS /usr/etc/install
1924
 
# IRIX /sbin/install
1925
 
# AIX /bin/install
1926
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
1927
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1928
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1929
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1930
 
# OS/2's system install, which has a completely different semantic
1931
 
# ./install, which can be erroneously created by make from ./install.sh.
1932
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1933
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1934
 
if test -z "$INSTALL"; then
1935
 
if test "${ac_cv_path_install+set}" = set; then
1936
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1937
 
else
1938
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939
 
for as_dir in $PATH
1940
 
do
1941
 
  IFS=$as_save_IFS
1942
 
  test -z "$as_dir" && as_dir=.
1943
 
  # Account for people who put trailing slashes in PATH elements.
1944
 
case $as_dir/ in
1945
 
  ./ | .// | /cC/* | \
1946
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1947
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1948
 
  /usr/ucb/* ) ;;
1949
 
  *)
1950
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
1951
 
    # Don't use installbsd from OSF since it installs stuff as root
1952
 
    # by default.
1953
 
    for ac_prog in ginstall scoinst install; do
1954
 
      for ac_exec_ext in '' $ac_executable_extensions; do
1955
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1956
 
          if test $ac_prog = install &&
1957
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1958
 
            # AIX install.  It has an incompatible calling convention.
1959
 
            :
1960
 
          elif test $ac_prog = install &&
1961
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1962
 
            # program-specific install script used by HP pwplus--don't use.
1963
 
            :
1964
 
          else
1965
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1966
 
            break 3
1967
 
          fi
1968
 
        fi
1969
 
      done
1970
 
    done
1971
 
    ;;
1972
 
esac
1973
 
done
1974
 
IFS=$as_save_IFS
1975
 
 
1976
 
 
1977
 
fi
1978
 
  if test "${ac_cv_path_install+set}" = set; then
1979
 
    INSTALL=$ac_cv_path_install
1980
 
  else
1981
 
    # As a last resort, use the slow shell script.  Don't cache a
1982
 
    # value for INSTALL within a source directory, because that will
1983
 
    # break other packages using the cache if that directory is
1984
 
    # removed, or if the value is a relative name.
1985
 
    INSTALL=$ac_install_sh
1986
 
  fi
1987
 
fi
1988
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1989
 
echo "${ECHO_T}$INSTALL" >&6; }
1990
 
 
1991
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1992
 
# It thinks the first close brace ends the variable substitution.
1993
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1994
 
 
1995
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1996
 
 
1997
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1998
 
 
1999
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2000
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2001
 
# Just in case
2002
 
sleep 1
2003
 
echo timestamp > conftest.file
2004
 
# Do `set' in a subshell so we don't clobber the current shell's
2005
 
# arguments.  Must try -L first in case configure is actually a
2006
 
# symlink; some systems play weird games with the mod time of symlinks
2007
 
# (eg FreeBSD returns the mod time of the symlink's containing
2008
 
# directory).
2009
 
if (
2010
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2011
 
   if test "$*" = "X"; then
2012
 
      # -L didn't work.
2013
 
      set X `ls -t $srcdir/configure conftest.file`
2014
 
   fi
2015
 
   rm -f conftest.file
2016
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2017
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2018
 
 
2019
 
      # If neither matched, then we have a broken ls.  This can happen
2020
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2021
 
      # broken ls alias from the environment.  This has actually
2022
 
      # happened.  Such a system could not be considered "sane".
2023
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2024
 
alias in your environment" >&5
2025
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2026
 
alias in your environment" >&2;}
2027
 
   { (exit 1); exit 1; }; }
2028
 
   fi
2029
 
 
2030
 
   test "$2" = conftest.file
2031
 
   )
2032
 
then
2033
 
   # Ok.
2034
 
   :
2035
 
else
2036
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2037
 
Check your system clock" >&5
2038
 
echo "$as_me: error: newly created file is older than distributed files!
2039
 
Check your system clock" >&2;}
2040
 
   { (exit 1); exit 1; }; }
2041
 
fi
2042
 
{ echo "$as_me:$LINENO: result: yes" >&5
2043
 
echo "${ECHO_T}yes" >&6; }
2044
 
test "$program_prefix" != NONE &&
2045
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2046
 
# Use a double $ so make ignores it.
2047
 
test "$program_suffix" != NONE &&
2048
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2049
 
# Double any \ or $.  echo might interpret backslashes.
2050
 
# By default was `s,x,x', remove it if useless.
2051
 
cat <<\_ACEOF >conftest.sed
2052
 
s/[\\$]/&&/g;s/;s,x,x,$//
2053
 
_ACEOF
2054
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2055
 
rm -f conftest.sed
2056
 
 
2057
 
# expand $ac_aux_dir to an absolute path
2058
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2059
 
 
2060
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2061
 
# Use eval to expand $SHELL
2062
 
if eval "$MISSING --run true"; then
2063
 
  am_missing_run="$MISSING --run "
2064
 
else
2065
 
  am_missing_run=
2066
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2067
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2068
 
fi
2069
 
 
2070
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2071
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2072
 
if test -z "$MKDIR_P"; then
2073
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2075
 
else
2076
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2078
 
do
2079
 
  IFS=$as_save_IFS
2080
 
  test -z "$as_dir" && as_dir=.
2081
 
  for ac_prog in mkdir gmkdir; do
2082
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2083
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2084
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2085
 
             'mkdir (GNU coreutils) '* | \
2086
 
             'mkdir (coreutils) '* | \
2087
 
             'mkdir (fileutils) '4.1*)
2088
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2089
 
               break 3;;
2090
 
           esac
2091
 
         done
2092
 
       done
2093
 
done
2094
 
IFS=$as_save_IFS
2095
 
 
2096
 
fi
2097
 
 
2098
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2099
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2100
 
  else
2101
 
    # As a last resort, use the slow shell script.  Don't cache a
2102
 
    # value for MKDIR_P within a source directory, because that will
2103
 
    # break other packages using the cache if that directory is
2104
 
    # removed, or if the value is a relative name.
2105
 
    test -d ./--version && rmdir ./--version
2106
 
    MKDIR_P="$ac_install_sh -d"
2107
 
  fi
2108
 
fi
2109
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2110
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2111
 
 
2112
 
mkdir_p="$MKDIR_P"
2113
 
case $mkdir_p in
2114
 
  [\\/$]* | ?:[\\/]*) ;;
2115
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2116
 
esac
2117
 
 
2118
 
for ac_prog in gawk mawk nawk awk
2119
 
do
2120
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2121
 
set dummy $ac_prog; ac_word=$2
2122
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2123
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2124
 
if test "${ac_cv_prog_AWK+set}" = set; then
2125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2126
 
else
2127
 
  if test -n "$AWK"; then
2128
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2129
 
else
2130
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131
 
for as_dir in $PATH
2132
 
do
2133
 
  IFS=$as_save_IFS
2134
 
  test -z "$as_dir" && as_dir=.
2135
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2136
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137
 
    ac_cv_prog_AWK="$ac_prog"
2138
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139
 
    break 2
2140
 
  fi
2141
 
done
2142
 
done
2143
 
IFS=$as_save_IFS
2144
 
 
2145
 
fi
2146
 
fi
2147
 
AWK=$ac_cv_prog_AWK
2148
 
if test -n "$AWK"; then
2149
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2150
 
echo "${ECHO_T}$AWK" >&6; }
2151
 
else
2152
 
  { echo "$as_me:$LINENO: result: no" >&5
2153
 
echo "${ECHO_T}no" >&6; }
2154
 
fi
2155
 
 
2156
 
 
2157
 
  test -n "$AWK" && break
2158
 
done
2159
 
 
2160
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2161
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2162
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2163
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2165
 
else
2166
 
  cat >conftest.make <<\_ACEOF
2167
 
SHELL = /bin/sh
2168
 
all:
2169
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2170
 
_ACEOF
2171
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2172
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2173
 
  *@@@%%%=?*=@@@%%%*)
2174
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2175
 
  *)
2176
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2177
 
esac
2178
 
rm -f conftest.make
2179
 
fi
2180
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2181
 
  { echo "$as_me:$LINENO: result: yes" >&5
2182
 
echo "${ECHO_T}yes" >&6; }
2183
 
  SET_MAKE=
2184
 
else
2185
 
  { echo "$as_me:$LINENO: result: no" >&5
2186
 
echo "${ECHO_T}no" >&6; }
2187
 
  SET_MAKE="MAKE=${MAKE-make}"
2188
 
fi
2189
 
 
2190
 
rm -rf .tst 2>/dev/null
2191
 
mkdir .tst 2>/dev/null
2192
 
if test -d .tst; then
2193
 
  am__leading_dot=.
2194
 
else
2195
 
  am__leading_dot=_
2196
 
fi
2197
 
rmdir .tst 2>/dev/null
2198
 
 
2199
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2200
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2201
 
  # is not polluted with repeated "-I."
2202
 
  am__isrc=' -I$(srcdir)'
2203
 
  # test to see if srcdir already configured
2204
 
  if test -f $srcdir/config.status; then
2205
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2206
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2207
 
   { (exit 1); exit 1; }; }
2208
 
  fi
2209
 
fi
2210
 
 
2211
 
# test whether we have cygpath
2212
 
if test -z "$CYGPATH_W"; then
2213
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2214
 
    CYGPATH_W='cygpath -w'
2215
 
  else
2216
 
    CYGPATH_W=echo
2217
 
  fi
2218
 
fi
2219
 
 
2220
 
 
2221
 
# Define the identity of the package.
2222
 
 PACKAGE='sample'
2223
 
 VERSION='1.0d'
2224
 
 
2225
 
 
2226
 
# Some tools Automake needs.
2227
 
 
2228
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2229
 
 
2230
 
 
2231
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2232
 
 
2233
 
 
2234
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2235
 
 
2236
 
 
2237
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2238
 
 
2239
 
 
2240
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2241
 
 
2242
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2243
 
 
2244
 
# Installed binaries are usually stripped using `strip' when the user
2245
 
# run `make install-strip'.  However `strip' might not be the right
2246
 
# tool to use in cross-compilation environments, therefore Automake
2247
 
# will honor the `STRIP' environment variable to overrule this program.
2248
 
if test "$cross_compiling" != no; then
2249
 
  if test -n "$ac_tool_prefix"; then
2250
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2251
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2252
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2253
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2256
 
else
2257
 
  if test -n "$STRIP"; then
2258
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2259
 
else
2260
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261
 
for as_dir in $PATH
2262
 
do
2263
 
  IFS=$as_save_IFS
2264
 
  test -z "$as_dir" && as_dir=.
2265
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2266
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2268
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269
 
    break 2
2270
 
  fi
2271
 
done
2272
 
done
2273
 
IFS=$as_save_IFS
2274
 
 
2275
 
fi
2276
 
fi
2277
 
STRIP=$ac_cv_prog_STRIP
2278
 
if test -n "$STRIP"; then
2279
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2280
 
echo "${ECHO_T}$STRIP" >&6; }
2281
 
else
2282
 
  { echo "$as_me:$LINENO: result: no" >&5
2283
 
echo "${ECHO_T}no" >&6; }
2284
 
fi
2285
 
 
2286
 
 
2287
 
fi
2288
 
if test -z "$ac_cv_prog_STRIP"; then
2289
 
  ac_ct_STRIP=$STRIP
2290
 
  # Extract the first word of "strip", so it can be a program name with args.
2291
 
set dummy strip; ac_word=$2
2292
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2293
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2296
 
else
2297
 
  if test -n "$ac_ct_STRIP"; then
2298
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2299
 
else
2300
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301
 
for as_dir in $PATH
2302
 
do
2303
 
  IFS=$as_save_IFS
2304
 
  test -z "$as_dir" && as_dir=.
2305
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2306
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307
 
    ac_cv_prog_ac_ct_STRIP="strip"
2308
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309
 
    break 2
2310
 
  fi
2311
 
done
2312
 
done
2313
 
IFS=$as_save_IFS
2314
 
 
2315
 
fi
2316
 
fi
2317
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2318
 
if test -n "$ac_ct_STRIP"; then
2319
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2320
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2321
 
else
2322
 
  { echo "$as_me:$LINENO: result: no" >&5
2323
 
echo "${ECHO_T}no" >&6; }
2324
 
fi
2325
 
 
2326
 
  if test "x$ac_ct_STRIP" = x; then
2327
 
    STRIP=":"
2328
 
  else
2329
 
    case $cross_compiling:$ac_tool_warned in
2330
 
yes:)
2331
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332
 
whose name does not start with the host triplet.  If you think this
2333
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2334
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335
 
whose name does not start with the host triplet.  If you think this
2336
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337
 
ac_tool_warned=yes ;;
2338
 
esac
2339
 
    STRIP=$ac_ct_STRIP
2340
 
  fi
2341
 
else
2342
 
  STRIP="$ac_cv_prog_STRIP"
2343
 
fi
2344
 
 
2345
 
fi
2346
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2347
 
 
2348
 
# We need awk for the "check" target.  The system "awk" is bad on
2349
 
# some platforms.
2350
 
# Always define AMTAR for backward compatibility.
2351
 
 
2352
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2353
 
 
2354
 
 
2355
 
{ echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2356
 
echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2357
 
# Loop over all known methods to create a tar archive until one works.
2358
 
_am_tools='gnutar plaintar pax cpio none'
2359
 
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2360
 
# Do not fold the above two line into one, because Tru64 sh and
2361
 
# Solaris sh will not grok spaces in the rhs of `-'.
2362
 
for _am_tool in $_am_tools
2363
 
do
2364
 
  case $_am_tool in
2365
 
  gnutar)
2366
 
    for _am_tar in tar gnutar gtar;
2367
 
    do
2368
 
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2369
 
   ($_am_tar --version) >&5 2>&5
2370
 
   ac_status=$?
2371
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372
 
   (exit $ac_status); } && break
2373
 
    done
2374
 
    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2375
 
    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2376
 
    am__untar="$_am_tar -xf -"
2377
 
    ;;
2378
 
  plaintar)
2379
 
    # Must skip GNU tar: if it does not support --format= it doesn't create
2380
 
    # ustar tarball either.
2381
 
    (tar --version) >/dev/null 2>&1 && continue
2382
 
    am__tar='tar chf - "$$tardir"'
2383
 
    am__tar_='tar chf - "$tardir"'
2384
 
    am__untar='tar xf -'
2385
 
    ;;
2386
 
  pax)
2387
 
    am__tar='pax -L -x ustar -w "$$tardir"'
2388
 
    am__tar_='pax -L -x ustar -w "$tardir"'
2389
 
    am__untar='pax -r'
2390
 
    ;;
2391
 
  cpio)
2392
 
    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2393
 
    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2394
 
    am__untar='cpio -i -H ustar -d'
2395
 
    ;;
2396
 
  none)
2397
 
    am__tar=false
2398
 
    am__tar_=false
2399
 
    am__untar=false
2400
 
    ;;
2401
 
  esac
2402
 
 
2403
 
  # If the value was cached, stop now.  We just wanted to have am__tar
2404
 
  # and am__untar set.
2405
 
  test -n "${am_cv_prog_tar_ustar}" && break
2406
 
 
2407
 
  # tar/untar a dummy directory, and stop if the command works
2408
 
  rm -rf conftest.dir
2409
 
  mkdir conftest.dir
2410
 
  echo GrepMe > conftest.dir/file
2411
 
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2412
 
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2413
 
   ac_status=$?
2414
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
 
   (exit $ac_status); }
2416
 
  rm -rf conftest.dir
2417
 
  if test -s conftest.tar; then
2418
 
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2419
 
   ($am__untar <conftest.tar) >&5 2>&5
2420
 
   ac_status=$?
2421
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
 
   (exit $ac_status); }
2423
 
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2424
 
  fi
2425
 
done
2426
 
rm -rf conftest.dir
2427
 
 
2428
 
if test "${am_cv_prog_tar_ustar+set}" = set; then
2429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2430
 
else
2431
 
  am_cv_prog_tar_ustar=$_am_tool
2432
 
fi
2433
 
 
2434
 
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2435
 
echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2436
 
 
2437
 
 
2438
 
 
2439
 
 
2440
 
 
2441
 
 
2442
 
# Specify required version of autoconf.
2443
 
 
2444
 
 
2445
 
 
2446
 
# ------------------------------------------------------------------------
2447
 
# Checks for programs
2448
 
# ------------------------------------------------------------------------
2449
 
 
2450
 
#AC_PROG_CC(cc gcc)
2451
 
#AC_PROG_CXX(CC g++ gcc c++ cxx)
2452
 
#AC_PROG_F77(f77 g77 f90 xlf90)
2453
 
#AC_PROG_RANLIB
2454
 
 
2455
 
# ------------------------------------------------------------------------
2456
 
# Checks for extra flags
2457
 
# #np# - You can pull flag checks for languages not used in package.  Please
2458
 
#         note that if you use F77_FUNC to determine Fortran name mangling,
2459
 
#         you should not remove the Fortran compiler check or the check for
2460
 
#         Fortran flags.  Doing so will prevent the detection of the proper
2461
 
#         name mangling in some cases.
2462
 
# ------------------------------------------------------------------------
2463
 
# Check if --with-flags present, prepend any specs to FLAGS
2464
 
 
2465
 
#TAC_ARG_WITH_FLAGS(ccflags, CCFLAGS)
2466
 
#TAC_ARG_WITH_FLAGS(cxxflags, CXXFLAGS)
2467
 
#TAC_ARG_WITH_FLAGS(cflags, CFLAGS)
2468
 
#TAC_ARG_WITH_FLAGS(fflags, FFLAGS)
2469
 
#TAC_ARG_WITH_LIBS
2470
 
#TAC_ARG_WITH_FLAGS(ldflags, LDFLAGS)
2471
 
 
2472
 
# ------------------------------------------------------------------------
2473
 
# Alternate archiver
2474
 
# ------------------------------------------------------------------------
2475
 
 
2476
 
#TAC_ARG_WITH_AR
2477
 
 
2478
 
# ------------------------------------------------------------------------
2479
 
# Checks for header files - used in Epetra_ConfigDefs.h
2480
 
# ------------------------------------------------------------------------
2481
 
 
2482
 
#AC_CHECK_HEADERS([cstdlib stdlib.h], [break],)
2483
 
 
2484
 
#if test "X$ac_cv_header_cstdlib" != "Xyes" && test "X$ac_cv_header_stdlib_h" != "Xyes"; then
2485
 
#  AC_MSG_ERROR([[Cannot find cstdlib or stdlib.h.  New_Package requires at least one or the other.]])
2486
 
#fi
2487
 
 
2488
 
# Checks for typedefs, structures, and compiler characteristics.
2489
 
#AC_C_INLINE
2490
 
 
2491
 
# ------------------------------------------------------------------------
2492
 
# Checks for compiler characteristics - Epetra_ConfigDefs.h uses these,
2493
 
# so it makes sense to leave them in - see PORTABILITY in this directory
2494
 
# ------------------------------------------------------------------------
2495
 
#AC_CXX_NAMESPACES
2496
 
#AC_CXX_HAVE_STL
2497
 
#AC_CXX_BOOL
2498
 
#AC_CXX_MUTABLE
2499
 
# ---------------------------------------------------------------------
2500
 
# These are pretty obscure
2501
 
# ---------------------------------------------------------------------
2502
 
#AC_CXX_NEW_FOR_SCOPING
2503
 
#AC_CXX_STD_IOS_BASE_FMTFLAGS
2504
 
#AC_CXX_STD_SPRINTF
2505
 
 
2506
 
# ------------------------------------------------------------------------
2507
 
# Checks for Makefile.export related systems
2508
 
# ------------------------------------------------------------------------
2509
 
#TAC_ARG_ENABLE_EXPORT_MAKEFILES(yes)
2510
 
 
2511
 
# ------------------------------------------------------------------------
2512
 
# Checks if tests and examples should be built
2513
 
# ------------------------------------------------------------------------
2514
 
 
2515
 
#  #np# - These options can disable the tests and examples of a package.
2516
 
#  #np# - Packages that do not have tests or examples should #-out the
2517
 
#  #np# - option(s) that does (do) not apply.
2518
 
 
2519
 
#TAC_ARG_ENABLE_FEATURE(tests, [Make tests for all Trilinos packages buildable with 'make tests'], TESTS, yes)
2520
 
#TAC_ARG_ENABLE_FEATURE_SUB_CHECK( new_package, tests, [Make New_Package tests buildable with 'make tests'], NEW_PACKAGE_TESTS)
2521
 
#AM_CONDITIONAL(BUILD_TESTS, test "X$ac_cv_use_new_package_tests" != "Xno")
2522
 
 
2523
 
#TAC_ARG_ENABLE_FEATURE(examples, [Make examples for all Trilinos packages buildable with 'make examples'], EXAMPLES, yes)
2524
 
#TAC_ARG_ENABLE_FEATURE_SUB_CHECK( new_package, examples, [Make New_Package examples buildable with 'make examples'], NEW_PACKAGE_EXAMPLES)
2525
 
 
2526
 
#We now build tests and examples through separate make targets, rather than
2527
 
#during "make".  We still need to conditionally include the test and example
2528
 
#in SUBDIRS, even though SUB_TEST and SUB_EXAMPLE will never be
2529
 
#defined, so that the tests and examples are included in the distribution
2530
 
#tarball.
2531
 
#AM_CONDITIONAL(SUB_TEST, test "X$ac_cv_use_sub_test" = "Xyes")
2532
 
#AM_CONDITIONAL(SUB_EXAMPLE, test "X$ac_cv_use_sub_example" = "Xyes")
2533
 
 
2534
 
# #np# - Yet another opportunity to remove code if you aren't
2535
 
# using Fortran
2536
 
# Define F77_FUNC that will be used to link with Fortran subroutines.
2537
 
#AC_F77_WRAPPERS
2538
 
 
2539
 
# ------------------------------------------------------------------------
2540
 
# Checks for libraries
2541
 
# ------------------------------------------------------------------------
2542
 
 
2543
 
#  #np# These lines can be removed if the math lib is not needed.
2544
 
#AC_SEARCH_LIBS(pow,[m],,AC_MSG_ERROR(Cannot find math library))
2545
 
#AC_SEARCH_LIBS(sqrt,[m],,AC_MSG_ERROR(Cannot find math library))
2546
 
 
2547
 
#fi
2548
 
# end of the list of libraries that don't need to be checked for if
2549
 
# tests and examples are disabled.
2550
 
 
2551
 
# ------------------------------------------------------------------------
2552
 
# Checks for linker characteristics
2553
 
# ------------------------------------------------------------------------
2554
 
 
2555
 
# Determine libraries needed for linking with Fortran
2556
 
#AC_F77_LIBRARY_LDFLAGS
2557
 
 
2558
 
# ------------------------------------------------------------------------
2559
 
# Perform substitutions in output files
2560
 
# ------------------------------------------------------------------------
2561
 
 
2562
 
 
2563
 
 
2564
 
# ------------------------------------------------------------------------
2565
 
# Output files
2566
 
# ------------------------------------------------------------------------
2567
 
 
2568
 
ac_config_files="$ac_config_files Makefile"
2569
 
 
2570
 
 
2571
 
cat >confcache <<\_ACEOF
2572
 
# This file is a shell script that caches the results of configure
2573
 
# tests run on this system so they can be shared between configure
2574
 
# scripts and configure runs, see configure's option --config-cache.
2575
 
# It is not useful on other systems.  If it contains results you don't
2576
 
# want to keep, you may remove or edit it.
2577
 
#
2578
 
# config.status only pays attention to the cache file if you give it
2579
 
# the --recheck option to rerun configure.
2580
 
#
2581
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2582
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2583
 
# following values.
2584
 
 
2585
 
_ACEOF
2586
 
 
2587
 
# The following way of writing the cache mishandles newlines in values,
2588
 
# but we know of no workaround that is simple, portable, and efficient.
2589
 
# So, we kill variables containing newlines.
2590
 
# Ultrix sh set writes to stderr and can't be redirected directly,
2591
 
# and sets the high bit in the cache file unless we assign to the vars.
2592
 
(
2593
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2594
 
    eval ac_val=\$$ac_var
2595
 
    case $ac_val in #(
2596
 
    *${as_nl}*)
2597
 
      case $ac_var in #(
2598
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2599
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2600
 
      esac
2601
 
      case $ac_var in #(
2602
 
      _ | IFS | as_nl) ;; #(
2603
 
      *) $as_unset $ac_var ;;
2604
 
      esac ;;
2605
 
    esac
2606
 
  done
2607
 
 
2608
 
  (set) 2>&1 |
2609
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2610
 
    *${as_nl}ac_space=\ *)
2611
 
      # `set' does not quote correctly, so add quotes (double-quote
2612
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2613
 
      sed -n \
2614
 
        "s/'/'\\\\''/g;
2615
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2616
 
      ;; #(
2617
 
    *)
2618
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2619
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2620
 
      ;;
2621
 
    esac |
2622
 
    sort
2623
 
) |
2624
 
  sed '
2625
 
     /^ac_cv_env_/b end
2626
 
     t clear
2627
 
     :clear
2628
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2629
 
     t end
2630
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2631
 
     :end' >>confcache
2632
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2633
 
  if test -w "$cache_file"; then
2634
 
    test "x$cache_file" != "x/dev/null" &&
2635
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2636
 
echo "$as_me: updating cache $cache_file" >&6;}
2637
 
    cat confcache >$cache_file
2638
 
  else
2639
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2640
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2641
 
  fi
2642
 
fi
2643
 
rm -f confcache
2644
 
 
2645
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2646
 
# Let make expand exec_prefix.
2647
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2648
 
 
2649
 
# Transform confdefs.h into DEFS.
2650
 
# Protect against shell expansion while executing Makefile rules.
2651
 
# Protect against Makefile macro expansion.
2652
 
#
2653
 
# If the first sed substitution is executed (which looks for macros that
2654
 
# take arguments), then branch to the quote section.  Otherwise,
2655
 
# look for a macro that doesn't take arguments.
2656
 
ac_script='
2657
 
t clear
2658
 
:clear
2659
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2660
 
t quote
2661
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2662
 
t quote
2663
 
b any
2664
 
:quote
2665
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2666
 
s/\[/\\&/g
2667
 
s/\]/\\&/g
2668
 
s/\$/$$/g
2669
 
H
2670
 
:any
2671
 
${
2672
 
        g
2673
 
        s/^\n//
2674
 
        s/\n/ /g
2675
 
        p
2676
 
}
2677
 
'
2678
 
DEFS=`sed -n "$ac_script" confdefs.h`
2679
 
 
2680
 
 
2681
 
ac_libobjs=
2682
 
ac_ltlibobjs=
2683
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2684
 
  # 1. Remove the extension, and $U if already installed.
2685
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2686
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
2687
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2688
 
  #    will be set to the directory where LIBOBJS objects are built.
2689
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2690
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2691
 
done
2692
 
LIBOBJS=$ac_libobjs
2693
 
 
2694
 
LTLIBOBJS=$ac_ltlibobjs
2695
 
 
2696
 
 
2697
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2698
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2699
 
Usually this means the macro was only invoked conditionally." >&5
2700
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2701
 
Usually this means the macro was only invoked conditionally." >&2;}
2702
 
   { (exit 1); exit 1; }; }
2703
 
fi
2704
 
 
2705
 
: ${CONFIG_STATUS=./config.status}
2706
 
ac_clean_files_save=$ac_clean_files
2707
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2708
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2709
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2710
 
cat >$CONFIG_STATUS <<_ACEOF
2711
 
#! $SHELL
2712
 
# Generated by $as_me.
2713
 
# Run this file to recreate the current configuration.
2714
 
# Compiler output produced by configure, useful for debugging
2715
 
# configure, is in config.log if it exists.
2716
 
 
2717
 
debug=false
2718
 
ac_cs_recheck=false
2719
 
ac_cs_silent=false
2720
 
SHELL=\${CONFIG_SHELL-$SHELL}
2721
 
_ACEOF
2722
 
 
2723
 
cat >>$CONFIG_STATUS <<\_ACEOF
2724
 
## --------------------- ##
2725
 
## M4sh Initialization.  ##
2726
 
## --------------------- ##
2727
 
 
2728
 
# Be more Bourne compatible
2729
 
DUALCASE=1; export DUALCASE # for MKS sh
2730
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2731
 
  emulate sh
2732
 
  NULLCMD=:
2733
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2734
 
  # is contrary to our usage.  Disable this feature.
2735
 
  alias -g '${1+"$@"}'='"$@"'
2736
 
  setopt NO_GLOB_SUBST
2737
 
else
2738
 
  case `(set -o) 2>/dev/null` in
2739
 
  *posix*) set -o posix ;;
2740
 
esac
2741
 
 
2742
 
fi
2743
 
 
2744
 
 
2745
 
 
2746
 
 
2747
 
# PATH needs CR
2748
 
# Avoid depending upon Character Ranges.
2749
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2750
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2751
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2752
 
as_cr_digits='0123456789'
2753
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
2754
 
 
2755
 
# The user is always right.
2756
 
if test "${PATH_SEPARATOR+set}" != set; then
2757
 
  echo "#! /bin/sh" >conf$$.sh
2758
 
  echo  "exit 0"   >>conf$$.sh
2759
 
  chmod +x conf$$.sh
2760
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2761
 
    PATH_SEPARATOR=';'
2762
 
  else
2763
 
    PATH_SEPARATOR=:
2764
 
  fi
2765
 
  rm -f conf$$.sh
2766
 
fi
2767
 
 
2768
 
# Support unset when possible.
2769
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2770
 
  as_unset=unset
2771
 
else
2772
 
  as_unset=false
2773
 
fi
2774
 
 
2775
 
 
2776
 
# IFS
2777
 
# We need space, tab and new line, in precisely that order.  Quoting is
2778
 
# there to prevent editors from complaining about space-tab.
2779
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2780
 
# splitting by setting IFS to empty value.)
2781
 
as_nl='
2782
 
'
2783
 
IFS=" ""        $as_nl"
2784
 
 
2785
 
# Find who we are.  Look in the path if we contain no directory separator.
2786
 
case $0 in
2787
 
  *[\\/]* ) as_myself=$0 ;;
2788
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789
 
for as_dir in $PATH
2790
 
do
2791
 
  IFS=$as_save_IFS
2792
 
  test -z "$as_dir" && as_dir=.
2793
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2794
 
done
2795
 
IFS=$as_save_IFS
2796
 
 
2797
 
     ;;
2798
 
esac
2799
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
2800
 
# in which case we are not to be found in the path.
2801
 
if test "x$as_myself" = x; then
2802
 
  as_myself=$0
2803
 
fi
2804
 
if test ! -f "$as_myself"; then
2805
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2806
 
  { (exit 1); exit 1; }
2807
 
fi
2808
 
 
2809
 
# Work around bugs in pre-3.0 UWIN ksh.
2810
 
for as_var in ENV MAIL MAILPATH
2811
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2812
 
done
2813
 
PS1='$ '
2814
 
PS2='> '
2815
 
PS4='+ '
2816
 
 
2817
 
# NLS nuisances.
2818
 
for as_var in \
2819
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2820
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2821
 
  LC_TELEPHONE LC_TIME
2822
 
do
2823
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2824
 
    eval $as_var=C; export $as_var
2825
 
  else
2826
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2827
 
  fi
2828
 
done
2829
 
 
2830
 
# Required to use basename.
2831
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
2832
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2833
 
  as_expr=expr
2834
 
else
2835
 
  as_expr=false
2836
 
fi
2837
 
 
2838
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2839
 
  as_basename=basename
2840
 
else
2841
 
  as_basename=false
2842
 
fi
2843
 
 
2844
 
 
2845
 
# Name of the executable.
2846
 
as_me=`$as_basename -- "$0" ||
2847
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2848
 
         X"$0" : 'X\(//\)$' \| \
2849
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2850
 
echo X/"$0" |
2851
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2852
 
            s//\1/
2853
 
            q
2854
 
          }
2855
 
          /^X\/\(\/\/\)$/{
2856
 
            s//\1/
2857
 
            q
2858
 
          }
2859
 
          /^X\/\(\/\).*/{
2860
 
            s//\1/
2861
 
            q
2862
 
          }
2863
 
          s/.*/./; q'`
2864
 
 
2865
 
# CDPATH.
2866
 
$as_unset CDPATH
2867
 
 
2868
 
 
2869
 
 
2870
 
  as_lineno_1=$LINENO
2871
 
  as_lineno_2=$LINENO
2872
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2873
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2874
 
 
2875
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2876
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
2877
 
  # line-number line after each line using $LINENO; the second 'sed'
2878
 
  # does the real work.  The second script uses 'N' to pair each
2879
 
  # line-number line with the line containing $LINENO, and appends
2880
 
  # trailing '-' during substitution so that $LINENO is not a special
2881
 
  # case at line end.
2882
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2883
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2884
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
2885
 
  sed -n '
2886
 
    p
2887
 
    /[$]LINENO/=
2888
 
  ' <$as_myself |
2889
 
    sed '
2890
 
      s/[$]LINENO.*/&-/
2891
 
      t lineno
2892
 
      b
2893
 
      :lineno
2894
 
      N
2895
 
      :loop
2896
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2897
 
      t loop
2898
 
      s/-\n.*//
2899
 
    ' >$as_me.lineno &&
2900
 
  chmod +x "$as_me.lineno" ||
2901
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2902
 
   { (exit 1); exit 1; }; }
2903
 
 
2904
 
  # Don't try to exec as it changes $[0], causing all sort of problems
2905
 
  # (the dirname of $[0] is not the place where we might find the
2906
 
  # original and so on.  Autoconf is especially sensitive to this).
2907
 
  . "./$as_me.lineno"
2908
 
  # Exit status is that of the last command.
2909
 
  exit
2910
 
}
2911
 
 
2912
 
 
2913
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2914
 
  as_dirname=dirname
2915
 
else
2916
 
  as_dirname=false
2917
 
fi
2918
 
 
2919
 
ECHO_C= ECHO_N= ECHO_T=
2920
 
case `echo -n x` in
2921
 
-n*)
2922
 
  case `echo 'x\c'` in
2923
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2924
 
  *)   ECHO_C='\c';;
2925
 
  esac;;
2926
 
*)
2927
 
  ECHO_N='-n';;
2928
 
esac
2929
 
 
2930
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
2931
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2932
 
  as_expr=expr
2933
 
else
2934
 
  as_expr=false
2935
 
fi
2936
 
 
2937
 
rm -f conf$$ conf$$.exe conf$$.file
2938
 
if test -d conf$$.dir; then
2939
 
  rm -f conf$$.dir/conf$$.file
2940
 
else
2941
 
  rm -f conf$$.dir
2942
 
  mkdir conf$$.dir
2943
 
fi
2944
 
echo >conf$$.file
2945
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
2946
 
  as_ln_s='ln -s'
2947
 
  # ... but there are two gotchas:
2948
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2949
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2950
 
  # In both cases, we have to default to `cp -p'.
2951
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2952
 
    as_ln_s='cp -p'
2953
 
elif ln conf$$.file conf$$ 2>/dev/null; then
2954
 
  as_ln_s=ln
2955
 
else
2956
 
  as_ln_s='cp -p'
2957
 
fi
2958
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2959
 
rmdir conf$$.dir 2>/dev/null
2960
 
 
2961
 
if mkdir -p . 2>/dev/null; then
2962
 
  as_mkdir_p=:
2963
 
else
2964
 
  test -d ./-p && rmdir ./-p
2965
 
  as_mkdir_p=false
2966
 
fi
2967
 
 
2968
 
if test -x / >/dev/null 2>&1; then
2969
 
  as_test_x='test -x'
2970
 
else
2971
 
  if ls -dL / >/dev/null 2>&1; then
2972
 
    as_ls_L_option=L
2973
 
  else
2974
 
    as_ls_L_option=
2975
 
  fi
2976
 
  as_test_x='
2977
 
    eval sh -c '\''
2978
 
      if test -d "$1"; then
2979
 
        test -d "$1/.";
2980
 
      else
2981
 
        case $1 in
2982
 
        -*)set "./$1";;
2983
 
        esac;
2984
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2985
 
        ???[sx]*):;;*)false;;esac;fi
2986
 
    '\'' sh
2987
 
  '
2988
 
fi
2989
 
as_executable_p=$as_test_x
2990
 
 
2991
 
# Sed expression to map a string onto a valid CPP name.
2992
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2993
 
 
2994
 
# Sed expression to map a string onto a valid variable name.
2995
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2996
 
 
2997
 
 
2998
 
exec 6>&1
2999
 
 
3000
 
# Save the log message, to keep $[0] and so on meaningful, and to
3001
 
# report actual input values of CONFIG_FILES etc. instead of their
3002
 
# values after options handling.
3003
 
ac_log="
3004
 
This file was extended by sample $as_me 1.0d, which was
3005
 
generated by GNU Autoconf 2.61.  Invocation command line was
3006
 
 
3007
 
  CONFIG_FILES    = $CONFIG_FILES
3008
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
3009
 
  CONFIG_LINKS    = $CONFIG_LINKS
3010
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3011
 
  $ $0 $@
3012
 
 
3013
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3014
 
"
3015
 
 
3016
 
_ACEOF
3017
 
 
3018
 
cat >>$CONFIG_STATUS <<_ACEOF
3019
 
# Files that config.status was made for.
3020
 
config_files="$ac_config_files"
3021
 
 
3022
 
_ACEOF
3023
 
 
3024
 
cat >>$CONFIG_STATUS <<\_ACEOF
3025
 
ac_cs_usage="\
3026
 
\`$as_me' instantiates files from templates according to the
3027
 
current configuration.
3028
 
 
3029
 
Usage: $0 [OPTIONS] [FILE]...
3030
 
 
3031
 
  -h, --help       print this help, then exit
3032
 
  -V, --version    print version number and configuration settings, then exit
3033
 
  -q, --quiet      do not print progress messages
3034
 
  -d, --debug      don't remove temporary files
3035
 
      --recheck    update $as_me by reconfiguring in the same conditions
3036
 
  --file=FILE[:TEMPLATE]
3037
 
                   instantiate the configuration file FILE
3038
 
 
3039
 
Configuration files:
3040
 
$config_files
3041
 
 
3042
 
Report bugs to <bug-autoconf@gnu.org>."
3043
 
 
3044
 
_ACEOF
3045
 
cat >>$CONFIG_STATUS <<_ACEOF
3046
 
ac_cs_version="\\
3047
 
sample config.status 1.0d
3048
 
configured by $0, generated by GNU Autoconf 2.61,
3049
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3050
 
 
3051
 
Copyright (C) 2006 Free Software Foundation, Inc.
3052
 
This config.status script is free software; the Free Software Foundation
3053
 
gives unlimited permission to copy, distribute and modify it."
3054
 
 
3055
 
ac_pwd='$ac_pwd'
3056
 
srcdir='$srcdir'
3057
 
INSTALL='$INSTALL'
3058
 
MKDIR_P='$MKDIR_P'
3059
 
_ACEOF
3060
 
 
3061
 
cat >>$CONFIG_STATUS <<\_ACEOF
3062
 
# If no file are specified by the user, then we need to provide default
3063
 
# value.  By we need to know if files were specified by the user.
3064
 
ac_need_defaults=:
3065
 
while test $# != 0
3066
 
do
3067
 
  case $1 in
3068
 
  --*=*)
3069
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3070
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3071
 
    ac_shift=:
3072
 
    ;;
3073
 
  *)
3074
 
    ac_option=$1
3075
 
    ac_optarg=$2
3076
 
    ac_shift=shift
3077
 
    ;;
3078
 
  esac
3079
 
 
3080
 
  case $ac_option in
3081
 
  # Handling of the options.
3082
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3083
 
    ac_cs_recheck=: ;;
3084
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3085
 
    echo "$ac_cs_version"; exit ;;
3086
 
  --debug | --debu | --deb | --de | --d | -d )
3087
 
    debug=: ;;
3088
 
  --file | --fil | --fi | --f )
3089
 
    $ac_shift
3090
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3091
 
    ac_need_defaults=false;;
3092
 
  --he | --h |  --help | --hel | -h )
3093
 
    echo "$ac_cs_usage"; exit ;;
3094
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3095
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3096
 
    ac_cs_silent=: ;;
3097
 
 
3098
 
  # This is an error.
3099
 
  -*) { echo "$as_me: error: unrecognized option: $1
3100
 
Try \`$0 --help' for more information." >&2
3101
 
   { (exit 1); exit 1; }; } ;;
3102
 
 
3103
 
  *) ac_config_targets="$ac_config_targets $1"
3104
 
     ac_need_defaults=false ;;
3105
 
 
3106
 
  esac
3107
 
  shift
3108
 
done
3109
 
 
3110
 
ac_configure_extra_args=
3111
 
 
3112
 
if $ac_cs_silent; then
3113
 
  exec 6>/dev/null
3114
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3115
 
fi
3116
 
 
3117
 
_ACEOF
3118
 
cat >>$CONFIG_STATUS <<_ACEOF
3119
 
if \$ac_cs_recheck; then
3120
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3121
 
  CONFIG_SHELL=$SHELL
3122
 
  export CONFIG_SHELL
3123
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3124
 
fi
3125
 
 
3126
 
_ACEOF
3127
 
cat >>$CONFIG_STATUS <<\_ACEOF
3128
 
exec 5>>config.log
3129
 
{
3130
 
  echo
3131
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3132
 
## Running $as_me. ##
3133
 
_ASBOX
3134
 
  echo "$ac_log"
3135
 
} >&5
3136
 
 
3137
 
_ACEOF
3138
 
cat >>$CONFIG_STATUS <<_ACEOF
3139
 
_ACEOF
3140
 
 
3141
 
cat >>$CONFIG_STATUS <<\_ACEOF
3142
 
 
3143
 
# Handling of arguments.
3144
 
for ac_config_target in $ac_config_targets
3145
 
do
3146
 
  case $ac_config_target in
3147
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3148
 
 
3149
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3150
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3151
 
   { (exit 1); exit 1; }; };;
3152
 
  esac
3153
 
done
3154
 
 
3155
 
 
3156
 
# If the user did not use the arguments to specify the items to instantiate,
3157
 
# then the envvar interface is used.  Set only those that are not.
3158
 
# We use the long form for the default assignment because of an extremely
3159
 
# bizarre bug on SunOS 4.1.3.
3160
 
if $ac_need_defaults; then
3161
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3162
 
fi
3163
 
 
3164
 
# Have a temporary directory for convenience.  Make it in the build tree
3165
 
# simply because there is no reason against having it here, and in addition,
3166
 
# creating and moving files from /tmp can sometimes cause problems.
3167
 
# Hook for its removal unless debugging.
3168
 
# Note that there is a small window in which the directory will not be cleaned:
3169
 
# after its creation but before its name has been assigned to `$tmp'.
3170
 
$debug ||
3171
 
{
3172
 
  tmp=
3173
 
  trap 'exit_status=$?
3174
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3175
 
' 0
3176
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3177
 
}
3178
 
# Create a (secure) tmp directory for tmp files.
3179
 
 
3180
 
{
3181
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3182
 
  test -n "$tmp" && test -d "$tmp"
3183
 
}  ||
3184
 
{
3185
 
  tmp=./conf$$-$RANDOM
3186
 
  (umask 077 && mkdir "$tmp")
3187
 
} ||
3188
 
{
3189
 
   echo "$me: cannot create a temporary directory in ." >&2
3190
 
   { (exit 1); exit 1; }
3191
 
}
3192
 
 
3193
 
#
3194
 
# Set up the sed scripts for CONFIG_FILES section.
3195
 
#
3196
 
 
3197
 
# No need to generate the scripts if there are no CONFIG_FILES.
3198
 
# This happens for instance when ./config.status config.h
3199
 
if test -n "$CONFIG_FILES"; then
3200
 
 
3201
 
_ACEOF
3202
 
 
3203
 
 
3204
 
 
3205
 
ac_delim='%!_!# '
3206
 
for ac_last_try in false false false false false :; do
3207
 
  cat >conf$$subs.sed <<_ACEOF
3208
 
SHELL!$SHELL$ac_delim
3209
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3210
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3211
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3212
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3213
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3214
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3215
 
exec_prefix!$exec_prefix$ac_delim
3216
 
prefix!$prefix$ac_delim
3217
 
program_transform_name!$program_transform_name$ac_delim
3218
 
bindir!$bindir$ac_delim
3219
 
sbindir!$sbindir$ac_delim
3220
 
libexecdir!$libexecdir$ac_delim
3221
 
datarootdir!$datarootdir$ac_delim
3222
 
datadir!$datadir$ac_delim
3223
 
sysconfdir!$sysconfdir$ac_delim
3224
 
sharedstatedir!$sharedstatedir$ac_delim
3225
 
localstatedir!$localstatedir$ac_delim
3226
 
includedir!$includedir$ac_delim
3227
 
oldincludedir!$oldincludedir$ac_delim
3228
 
docdir!$docdir$ac_delim
3229
 
infodir!$infodir$ac_delim
3230
 
htmldir!$htmldir$ac_delim
3231
 
dvidir!$dvidir$ac_delim
3232
 
pdfdir!$pdfdir$ac_delim
3233
 
psdir!$psdir$ac_delim
3234
 
libdir!$libdir$ac_delim
3235
 
localedir!$localedir$ac_delim
3236
 
mandir!$mandir$ac_delim
3237
 
DEFS!$DEFS$ac_delim
3238
 
ECHO_C!$ECHO_C$ac_delim
3239
 
ECHO_N!$ECHO_N$ac_delim
3240
 
ECHO_T!$ECHO_T$ac_delim
3241
 
LIBS!$LIBS$ac_delim
3242
 
build_alias!$build_alias$ac_delim
3243
 
host_alias!$host_alias$ac_delim
3244
 
target_alias!$target_alias$ac_delim
3245
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
3246
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
3247
 
MAINT!$MAINT$ac_delim
3248
 
build!$build$ac_delim
3249
 
build_cpu!$build_cpu$ac_delim
3250
 
build_vendor!$build_vendor$ac_delim
3251
 
build_os!$build_os$ac_delim
3252
 
host!$host$ac_delim
3253
 
host_cpu!$host_cpu$ac_delim
3254
 
host_vendor!$host_vendor$ac_delim
3255
 
host_os!$host_os$ac_delim
3256
 
target!$target$ac_delim
3257
 
target_cpu!$target_cpu$ac_delim
3258
 
target_vendor!$target_vendor$ac_delim
3259
 
target_os!$target_os$ac_delim
3260
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3261
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3262
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
3263
 
am__isrc!$am__isrc$ac_delim
3264
 
CYGPATH_W!$CYGPATH_W$ac_delim
3265
 
PACKAGE!$PACKAGE$ac_delim
3266
 
VERSION!$VERSION$ac_delim
3267
 
ACLOCAL!$ACLOCAL$ac_delim
3268
 
AUTOCONF!$AUTOCONF$ac_delim
3269
 
AUTOMAKE!$AUTOMAKE$ac_delim
3270
 
AUTOHEADER!$AUTOHEADER$ac_delim
3271
 
MAKEINFO!$MAKEINFO$ac_delim
3272
 
install_sh!$install_sh$ac_delim
3273
 
STRIP!$STRIP$ac_delim
3274
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3275
 
mkdir_p!$mkdir_p$ac_delim
3276
 
AWK!$AWK$ac_delim
3277
 
SET_MAKE!$SET_MAKE$ac_delim
3278
 
am__leading_dot!$am__leading_dot$ac_delim
3279
 
AMTAR!$AMTAR$ac_delim
3280
 
am__tar!$am__tar$ac_delim
3281
 
am__untar!$am__untar$ac_delim
3282
 
ac_aux_dir!$ac_aux_dir$ac_delim
3283
 
LIBOBJS!$LIBOBJS$ac_delim
3284
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
3285
 
_ACEOF
3286
 
 
3287
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
3288
 
    break
3289
 
  elif $ac_last_try; then
3290
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3291
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3292
 
   { (exit 1); exit 1; }; }
3293
 
  else
3294
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3295
 
  fi
3296
 
done
3297
 
 
3298
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3299
 
if test -n "$ac_eof"; then
3300
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3301
 
  ac_eof=`expr $ac_eof + 1`
3302
 
fi
3303
 
 
3304
 
cat >>$CONFIG_STATUS <<_ACEOF
3305
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3306
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3307
 
_ACEOF
3308
 
sed '
3309
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3310
 
s/^/s,@/; s/!/@,|#_!!_#|/
3311
 
:n
3312
 
t n
3313
 
s/'"$ac_delim"'$/,g/; t
3314
 
s/$/\\/; p
3315
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3316
 
' >>$CONFIG_STATUS <conf$$subs.sed
3317
 
rm -f conf$$subs.sed
3318
 
cat >>$CONFIG_STATUS <<_ACEOF
3319
 
:end
3320
 
s/|#_!!_#|//g
3321
 
CEOF$ac_eof
3322
 
_ACEOF
3323
 
 
3324
 
 
3325
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3326
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3327
 
# trailing colons and then remove the whole line if VPATH becomes empty
3328
 
# (actually we leave an empty line to preserve line numbers).
3329
 
if test "x$srcdir" = x.; then
3330
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3331
 
s/:*\$(srcdir):*/:/
3332
 
s/:*\${srcdir}:*/:/
3333
 
s/:*@srcdir@:*/:/
3334
 
s/^\([^=]*=[     ]*\):*/\1/
3335
 
s/:*$//
3336
 
s/^[^=]*=[       ]*$//
3337
 
}'
3338
 
fi
3339
 
 
3340
 
cat >>$CONFIG_STATUS <<\_ACEOF
3341
 
fi # test -n "$CONFIG_FILES"
3342
 
 
3343
 
 
3344
 
for ac_tag in  :F $CONFIG_FILES
3345
 
do
3346
 
  case $ac_tag in
3347
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
3348
 
  esac
3349
 
  case $ac_mode$ac_tag in
3350
 
  :[FHL]*:*);;
3351
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3352
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3353
 
   { (exit 1); exit 1; }; };;
3354
 
  :[FH]-) ac_tag=-:-;;
3355
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3356
 
  esac
3357
 
  ac_save_IFS=$IFS
3358
 
  IFS=:
3359
 
  set x $ac_tag
3360
 
  IFS=$ac_save_IFS
3361
 
  shift
3362
 
  ac_file=$1
3363
 
  shift
3364
 
 
3365
 
  case $ac_mode in
3366
 
  :L) ac_source=$1;;
3367
 
  :[FH])
3368
 
    ac_file_inputs=
3369
 
    for ac_f
3370
 
    do
3371
 
      case $ac_f in
3372
 
      -) ac_f="$tmp/stdin";;
3373
 
      *) # Look for the file first in the build tree, then in the source tree
3374
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3375
 
         # because $ac_f cannot contain `:'.
3376
 
         test -f "$ac_f" ||
3377
 
           case $ac_f in
3378
 
           [\\/$]*) false;;
3379
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3380
 
           esac ||
3381
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3382
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3383
 
   { (exit 1); exit 1; }; };;
3384
 
      esac
3385
 
      ac_file_inputs="$ac_file_inputs $ac_f"
3386
 
    done
3387
 
 
3388
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3389
 
    # use $as_me), people would be surprised to read:
3390
 
    #    /* config.h.  Generated by config.status.  */
3391
 
    configure_input="Generated from "`IFS=:
3392
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3393
 
    if test x"$ac_file" != x-; then
3394
 
      configure_input="$ac_file.  $configure_input"
3395
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
3396
 
echo "$as_me: creating $ac_file" >&6;}
3397
 
    fi
3398
 
 
3399
 
    case $ac_tag in
3400
 
    *:-:* | *:-) cat >"$tmp/stdin";;
3401
 
    esac
3402
 
    ;;
3403
 
  esac
3404
 
 
3405
 
  ac_dir=`$as_dirname -- "$ac_file" ||
3406
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3407
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
3408
 
         X"$ac_file" : 'X\(//\)$' \| \
3409
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3410
 
echo X"$ac_file" |
3411
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3412
 
            s//\1/
3413
 
            q
3414
 
          }
3415
 
          /^X\(\/\/\)[^/].*/{
3416
 
            s//\1/
3417
 
            q
3418
 
          }
3419
 
          /^X\(\/\/\)$/{
3420
 
            s//\1/
3421
 
            q
3422
 
          }
3423
 
          /^X\(\/\).*/{
3424
 
            s//\1/
3425
 
            q
3426
 
          }
3427
 
          s/.*/./; q'`
3428
 
  { as_dir="$ac_dir"
3429
 
  case $as_dir in #(
3430
 
  -*) as_dir=./$as_dir;;
3431
 
  esac
3432
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3433
 
    as_dirs=
3434
 
    while :; do
3435
 
      case $as_dir in #(
3436
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3437
 
      *) as_qdir=$as_dir;;
3438
 
      esac
3439
 
      as_dirs="'$as_qdir' $as_dirs"
3440
 
      as_dir=`$as_dirname -- "$as_dir" ||
3441
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3442
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
3443
 
         X"$as_dir" : 'X\(//\)$' \| \
3444
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3445
 
echo X"$as_dir" |
3446
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3447
 
            s//\1/
3448
 
            q
3449
 
          }
3450
 
          /^X\(\/\/\)[^/].*/{
3451
 
            s//\1/
3452
 
            q
3453
 
          }
3454
 
          /^X\(\/\/\)$/{
3455
 
            s//\1/
3456
 
            q
3457
 
          }
3458
 
          /^X\(\/\).*/{
3459
 
            s//\1/
3460
 
            q
3461
 
          }
3462
 
          s/.*/./; q'`
3463
 
      test -d "$as_dir" && break
3464
 
    done
3465
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3466
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3467
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3468
 
   { (exit 1); exit 1; }; }; }
3469
 
  ac_builddir=.
3470
 
 
3471
 
case "$ac_dir" in
3472
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3473
 
*)
3474
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3475
 
  # A ".." for each directory in $ac_dir_suffix.
3476
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3477
 
  case $ac_top_builddir_sub in
3478
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3479
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3480
 
  esac ;;
3481
 
esac
3482
 
ac_abs_top_builddir=$ac_pwd
3483
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3484
 
# for backward compatibility:
3485
 
ac_top_builddir=$ac_top_build_prefix
3486
 
 
3487
 
case $srcdir in
3488
 
  .)  # We are building in place.
3489
 
    ac_srcdir=.
3490
 
    ac_top_srcdir=$ac_top_builddir_sub
3491
 
    ac_abs_top_srcdir=$ac_pwd ;;
3492
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
3493
 
    ac_srcdir=$srcdir$ac_dir_suffix;
3494
 
    ac_top_srcdir=$srcdir
3495
 
    ac_abs_top_srcdir=$srcdir ;;
3496
 
  *) # Relative name.
3497
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3498
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3499
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3500
 
esac
3501
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3502
 
 
3503
 
 
3504
 
  case $ac_mode in
3505
 
  :F)
3506
 
  #
3507
 
  # CONFIG_FILE
3508
 
  #
3509
 
 
3510
 
  case $INSTALL in
3511
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3512
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3513
 
  esac
3514
 
  ac_MKDIR_P=$MKDIR_P
3515
 
  case $MKDIR_P in
3516
 
  [\\/$]* | ?:[\\/]* ) ;;
3517
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3518
 
  esac
3519
 
_ACEOF
3520
 
 
3521
 
cat >>$CONFIG_STATUS <<\_ACEOF
3522
 
# If the template does not know about datarootdir, expand it.
3523
 
# FIXME: This hack should be removed a few years after 2.60.
3524
 
ac_datarootdir_hack=; ac_datarootdir_seen=
3525
 
 
3526
 
case `sed -n '/datarootdir/ {
3527
 
  p
3528
 
  q
3529
 
}
3530
 
/@datadir@/p
3531
 
/@docdir@/p
3532
 
/@infodir@/p
3533
 
/@localedir@/p
3534
 
/@mandir@/p
3535
 
' $ac_file_inputs` in
3536
 
*datarootdir*) ac_datarootdir_seen=yes;;
3537
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3538
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3539
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3540
 
_ACEOF
3541
 
cat >>$CONFIG_STATUS <<_ACEOF
3542
 
  ac_datarootdir_hack='
3543
 
  s&@datadir@&$datadir&g
3544
 
  s&@docdir@&$docdir&g
3545
 
  s&@infodir@&$infodir&g
3546
 
  s&@localedir@&$localedir&g
3547
 
  s&@mandir@&$mandir&g
3548
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
3549
 
esac
3550
 
_ACEOF
3551
 
 
3552
 
# Neutralize VPATH when `$srcdir' = `.'.
3553
 
# Shell code in configure.ac might set extrasub.
3554
 
# FIXME: do we really want to maintain this feature?
3555
 
cat >>$CONFIG_STATUS <<_ACEOF
3556
 
  sed "$ac_vpsub
3557
 
$extrasub
3558
 
_ACEOF
3559
 
cat >>$CONFIG_STATUS <<\_ACEOF
3560
 
:t
3561
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3562
 
s&@configure_input@&$configure_input&;t t
3563
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
3564
 
s&@srcdir@&$ac_srcdir&;t t
3565
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3566
 
s&@top_srcdir@&$ac_top_srcdir&;t t
3567
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3568
 
s&@builddir@&$ac_builddir&;t t
3569
 
s&@abs_builddir@&$ac_abs_builddir&;t t
3570
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3571
 
s&@INSTALL@&$ac_INSTALL&;t t
3572
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
3573
 
$ac_datarootdir_hack
3574
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3575
 
 
3576
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3577
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3578
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3579
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3580
 
which seems to be undefined.  Please make sure it is defined." >&5
3581
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3582
 
which seems to be undefined.  Please make sure it is defined." >&2;}
3583
 
 
3584
 
  rm -f "$tmp/stdin"
3585
 
  case $ac_file in
3586
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
3587
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3588
 
  esac
3589
 
 ;;
3590
 
 
3591
 
 
3592
 
 
3593
 
  esac
3594
 
 
3595
 
done # for ac_tag
3596
 
 
3597
 
 
3598
 
{ (exit 0); exit 0; }
3599
 
_ACEOF
3600
 
chmod +x $CONFIG_STATUS
3601
 
ac_clean_files=$ac_clean_files_save
3602
 
 
3603
 
 
3604
 
# configure is writing to config.log, and then calls config.status.
3605
 
# config.status does its own redirection, appending to config.log.
3606
 
# Unfortunately, on DOS this fails, as config.log is still kept open
3607
 
# by configure, so config.status won't be able to write to it; its
3608
 
# output is simply discarded.  So we exec the FD to /dev/null,
3609
 
# effectively closing config.log, so it can be properly (re)opened and
3610
 
# appended to by config.status.  When coming back to configure, we
3611
 
# need to make the FD available again.
3612
 
if test "$no_create" != yes; then
3613
 
  ac_cs_success=:
3614
 
  ac_config_status_args=
3615
 
  test "$silent" = yes &&
3616
 
    ac_config_status_args="$ac_config_status_args --quiet"
3617
 
  exec 5>/dev/null
3618
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3619
 
  exec 5>>config.log
3620
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3621
 
  # would make configure fail if this is the last instruction.
3622
 
  $ac_cs_success || { (exit 1); exit 1; }
3623
 
fi
3624
 
 
3625
 
 
3626
 
# Bye World!
3627
 
echo "----------------------------------------"
3628
 
echo "Finished Running sample Configure Script"
3629
 
echo "----------------------------------------"