~ubuntu-branches/ubuntu/maverick/elmerfem/maverick

« back to all changes in this revision

Viewing changes to elmergrid/autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-04-08 16:58:46 UTC
  • Revision ID: james.westby@ubuntu.com-20090408165846-qydtxka1cvrjw2ix
Tags: upstream-5.5.0.svn.4096.dfsg
ImportĀ upstreamĀ versionĀ 5.5.0.svn.4096.dfsg

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.
 
4
@%:@ 
 
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
7
@%:@ This configure script is free software; the Free Software Foundation
 
8
@%:@ gives unlimited permission to copy, distribute and modify it.
 
9
## --------------------- ##
 
10
## M4sh Initialization.  ##
 
11
## --------------------- ##
 
12
 
 
13
# Be more Bourne compatible
 
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
 
52
 
 
53
# Support unset when possible.
 
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
55
  as_unset=unset
 
56
else
 
57
  as_unset=false
 
58
fi
 
59
 
 
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
 
94
# Work around bugs in pre-3.0 UWIN ksh.
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
 
98
PS1='$ '
 
99
PS2='> '
 
100
PS4='+ '
 
101
 
 
102
# NLS nuisances.
 
103
for as_var in \
 
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
106
  LC_TELEPHONE LC_TIME
 
107
do
 
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
109
    eval $as_var=C; export $as_var
 
110
  else
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
112
  fi
 
113
done
 
114
 
 
115
# Required to use basename.
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
118
  as_expr=expr
 
119
else
 
120
  as_expr=false
 
121
fi
 
122
 
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
124
  as_basename=basename
 
125
else
 
126
  as_basename=false
 
127
fi
 
128
 
 
129
 
 
130
# Name of the executable.
 
131
as_me=`$as_basename -- "$0" ||
 
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
133
         X"$0" : 'X\(//\)$' \| \
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
135
echo X/"$0" |
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
 
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
223
do
 
224
  IFS=$as_save_IFS
 
225
  test -z "$as_dir" && as_dir=.
 
226
  case $as_dir in
 
227
         /*)
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
 
232
done
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
    
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
427
 
 
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
 
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
 
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
 
447
      N
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
450
      t loop
 
451
      s/-\n.*//
 
452
    ' >$as_me.lineno &&
 
453
  chmod +x "$as_me.lineno" ||
 
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
455
   { (exit 1); exit 1; }; }
 
456
 
 
457
  # Don't try to exec as it changes $[0], causing all sort of problems
 
458
  # (the dirname of $[0] is not the place where we might find the
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
 
461
  # Exit status is that of the last command.
 
462
  exit
 
463
}
 
464
 
 
465
 
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
 
481
esac
 
482
 
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
485
  as_expr=expr
 
486
else
 
487
  as_expr=false
 
488
fi
 
489
 
 
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
 
497
echo >conf$$.file
 
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
505
    as_ln_s='cp -p'
 
506
elif ln conf$$.file conf$$ 2>/dev/null; then
 
507
  as_ln_s=ln
 
508
else
 
509
  as_ln_s='cp -p'
 
510
fi
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
 
513
 
 
514
if mkdir -p . 2>/dev/null; then
 
515
  as_mkdir_p=:
 
516
else
 
517
  test -d ./-p && rmdir ./-p
 
518
  as_mkdir_p=false
 
519
fi
 
520
 
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
 
543
 
 
544
# Sed expression to map a string onto a valid CPP name.
 
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
546
 
 
547
# Sed expression to map a string onto a valid variable name.
 
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
549
 
 
550
 
 
551
 
 
552
exec 7<&0 </dev/null 6>&1
 
553
 
 
554
# Name of the host.
 
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
556
# so uname gets run too.
 
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
558
 
 
559
#
 
560
# Initializations.
 
561
#
 
562
ac_default_prefix=/usr/local
 
563
ac_clean_files=
 
564
ac_config_libobj_dir=.
 
565
LIB@&t@OBJS=
 
566
cross_compiling=no
 
567
subdirs=
 
568
MFLAGS=
 
569
MAKEFLAGS=
 
570
SHELL=${CONFIG_SHELL-/bin/sh}
 
571
 
 
572
# Identity of this package.
 
573
PACKAGE_NAME=
 
574
PACKAGE_TARNAME=
 
575
PACKAGE_VERSION=
 
576
PACKAGE_STRING=
 
577
PACKAGE_BUGREPORT=
 
578
 
 
579
ac_unique_file="src/common.c"
 
580
# Factoring default headers for most tests.
 
581
ac_includes_default="\
 
582
#include <stdio.h>
 
583
#ifdef HAVE_SYS_TYPES_H
 
584
# include <sys/types.h>
 
585
#endif
 
586
#ifdef HAVE_SYS_STAT_H
 
587
# include <sys/stat.h>
 
588
#endif
 
589
#ifdef STDC_HEADERS
 
590
# include <stdlib.h>
 
591
# include <stddef.h>
 
592
#else
 
593
# ifdef HAVE_STDLIB_H
 
594
#  include <stdlib.h>
 
595
# endif
 
596
#endif
 
597
#ifdef HAVE_STRING_H
 
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
599
#  include <memory.h>
 
600
# endif
 
601
# include <string.h>
 
602
#endif
 
603
#ifdef HAVE_STRINGS_H
 
604
# include <strings.h>
 
605
#endif
 
606
#ifdef HAVE_INTTYPES_H
 
607
# include <inttypes.h>
 
608
#endif
 
609
#ifdef HAVE_STDINT_H
 
610
# include <stdint.h>
 
611
#endif
 
612
#ifdef HAVE_UNISTD_H
 
613
# include <unistd.h>
 
614
#endif"
 
615
 
 
616
ac_subst_vars='SHELL
 
617
PATH_SEPARATOR
 
618
PACKAGE_NAME
 
619
PACKAGE_TARNAME
 
620
PACKAGE_VERSION
 
621
PACKAGE_STRING
 
622
PACKAGE_BUGREPORT
 
623
exec_prefix
 
624
prefix
 
625
program_transform_name
 
626
bindir
 
627
sbindir
 
628
libexecdir
 
629
datarootdir
 
630
datadir
 
631
sysconfdir
 
632
sharedstatedir
 
633
localstatedir
 
634
includedir
 
635
oldincludedir
 
636
docdir
 
637
infodir
 
638
htmldir
 
639
dvidir
 
640
pdfdir
 
641
psdir
 
642
libdir
 
643
localedir
 
644
mandir
 
645
DEFS
 
646
ECHO_C
 
647
ECHO_N
 
648
ECHO_T
 
649
LIBS
 
650
build_alias
 
651
host_alias
 
652
target_alias
 
653
build
 
654
build_cpu
 
655
build_vendor
 
656
build_os
 
657
host
 
658
host_cpu
 
659
host_vendor
 
660
host_os
 
661
target
 
662
target_cpu
 
663
target_vendor
 
664
target_os
 
665
INSTALL_PROGRAM
 
666
INSTALL_SCRIPT
 
667
INSTALL_DATA
 
668
am__isrc
 
669
CYGPATH_W
 
670
PACKAGE
 
671
VERSION
 
672
ACLOCAL
 
673
AUTOCONF
 
674
AUTOMAKE
 
675
AUTOHEADER
 
676
MAKEINFO
 
677
install_sh
 
678
STRIP
 
679
INSTALL_STRIP_PROGRAM
 
680
mkdir_p
 
681
AWK
 
682
SET_MAKE
 
683
am__leading_dot
 
684
AMTAR
 
685
am__tar
 
686
am__untar
 
687
HAVE_WINDRES_TRUE
 
688
HAVE_WINDRES_FALSE
 
689
canonical_host_type
 
690
IBM_IS_PIECE_OF_SHIT_TRUE
 
691
IBM_IS_PIECE_OF_SHIT_FALSE
 
692
AR
 
693
ARFLAGS
 
694
RANLIB
 
695
CC
 
696
CFLAGS
 
697
LDFLAGS
 
698
CPPFLAGS
 
699
ac_ct_CC
 
700
EXEEXT
 
701
OBJEXT
 
702
DEPDIR
 
703
am__include
 
704
am__quote
 
705
AMDEP_TRUE
 
706
AMDEP_FALSE
 
707
AMDEPBACKSLASH
 
708
CCDEPMODE
 
709
am__fastdepCC_TRUE
 
710
am__fastdepCC_FALSE
 
711
CPP
 
712
GREP
 
713
EGREP
 
714
USE_64BIT_ARCH_TRUE
 
715
USE_64BIT_ARCH_FALSE
 
716
B64FLAGS
 
717
USE_WINDOWS_COMPILER_TRUE
 
718
USE_WINDOWS_COMPILER_FALSE
 
719
MATC_LIBS
 
720
USE_EXTERNAL_METIS_TRUE
 
721
USE_EXTERNAL_METIS_FALSE
 
722
MAINTAINER_MODE_TRUE
 
723
MAINTAINER_MODE_FALSE
 
724
MAINT
 
725
LIB@&t@OBJS
 
726
LTLIBOBJS'
 
727
ac_subst_files=''
 
728
      ac_precious_vars='build_alias
 
729
host_alias
 
730
target_alias
 
731
CC
 
732
CFLAGS
 
733
LDFLAGS
 
734
LIBS
 
735
CPPFLAGS
 
736
CPP'
 
737
 
 
738
 
 
739
# Initialize some variables set by options.
 
740
ac_init_help=
 
741
ac_init_version=false
 
742
# The variables have the same names as the options, with
 
743
# dashes changed to underlines.
 
744
cache_file=/dev/null
 
745
exec_prefix=NONE
 
746
no_create=
 
747
no_recursion=
 
748
prefix=NONE
 
749
program_prefix=NONE
 
750
program_suffix=NONE
 
751
program_transform_name=s,x,x,
 
752
silent=
 
753
site=
 
754
srcdir=
 
755
verbose=
 
756
x_includes=NONE
 
757
x_libraries=NONE
 
758
 
 
759
# Installation directory options.
 
760
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
761
# and all the variables that are supposed to be based on exec_prefix
 
762
# by default will actually change.
 
763
# Use braces instead of parens because sh, perl, etc. also accept them.
 
764
# (The list follows the same order as the GNU Coding Standards.)
 
765
bindir='${exec_prefix}/bin'
 
766
sbindir='${exec_prefix}/sbin'
 
767
libexecdir='${exec_prefix}/libexec'
 
768
datarootdir='${prefix}/share'
 
769
datadir='${datarootdir}'
 
770
sysconfdir='${prefix}/etc'
 
771
sharedstatedir='${prefix}/com'
 
772
localstatedir='${prefix}/var'
 
773
includedir='${prefix}/include'
 
774
oldincludedir='/usr/include'
 
775
docdir='${datarootdir}/doc/${PACKAGE}'
 
776
infodir='${datarootdir}/info'
 
777
htmldir='${docdir}'
 
778
dvidir='${docdir}'
 
779
pdfdir='${docdir}'
 
780
psdir='${docdir}'
 
781
libdir='${exec_prefix}/lib'
 
782
localedir='${datarootdir}/locale'
 
783
mandir='${datarootdir}/man'
 
784
 
 
785
ac_prev=
 
786
ac_dashdash=
 
787
for ac_option
 
788
do
 
789
  # If the previous option needs an argument, assign it.
 
790
  if test -n "$ac_prev"; then
 
791
    eval $ac_prev=\$ac_option
 
792
    ac_prev=
 
793
    continue
 
794
  fi
 
795
 
 
796
  case $ac_option in
 
797
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
798
  *)    ac_optarg=yes ;;
 
799
  esac
 
800
 
 
801
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
802
 
 
803
  case $ac_dashdash$ac_option in
 
804
  --)
 
805
    ac_dashdash=yes ;;
 
806
 
 
807
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
808
    ac_prev=bindir ;;
 
809
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
810
    bindir=$ac_optarg ;;
 
811
 
 
812
  -build | --build | --buil | --bui | --bu)
 
813
    ac_prev=build_alias ;;
 
814
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
815
    build_alias=$ac_optarg ;;
 
816
 
 
817
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
818
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
819
    ac_prev=cache_file ;;
 
820
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
821
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
822
    cache_file=$ac_optarg ;;
 
823
 
 
824
  --config-cache | -C)
 
825
    cache_file=config.cache ;;
 
826
 
 
827
  -datadir | --datadir | --datadi | --datad)
 
828
    ac_prev=datadir ;;
 
829
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
830
    datadir=$ac_optarg ;;
 
831
 
 
832
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
833
  | --dataroo | --dataro | --datar)
 
834
    ac_prev=datarootdir ;;
 
835
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
836
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
837
    datarootdir=$ac_optarg ;;
 
838
 
 
839
  -disable-* | --disable-*)
 
840
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
841
    # Reject names that are not valid shell variable names.
 
842
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
843
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
844
   { (exit 1); exit 1; }; }
 
845
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
846
    eval enable_$ac_feature=no ;;
 
847
 
 
848
  -docdir | --docdir | --docdi | --doc | --do)
 
849
    ac_prev=docdir ;;
 
850
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
851
    docdir=$ac_optarg ;;
 
852
 
 
853
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
854
    ac_prev=dvidir ;;
 
855
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
856
    dvidir=$ac_optarg ;;
 
857
 
 
858
  -enable-* | --enable-*)
 
859
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
860
    # Reject names that are not valid shell variable names.
 
861
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
862
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
863
   { (exit 1); exit 1; }; }
 
864
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
865
    eval enable_$ac_feature=\$ac_optarg ;;
 
866
 
 
867
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
868
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
869
  | --exec | --exe | --ex)
 
870
    ac_prev=exec_prefix ;;
 
871
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
872
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
873
  | --exec=* | --exe=* | --ex=*)
 
874
    exec_prefix=$ac_optarg ;;
 
875
 
 
876
  -gas | --gas | --ga | --g)
 
877
    # Obsolete; use --with-gas.
 
878
    with_gas=yes ;;
 
879
 
 
880
  -help | --help | --hel | --he | -h)
 
881
    ac_init_help=long ;;
 
882
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
883
    ac_init_help=recursive ;;
 
884
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
885
    ac_init_help=short ;;
 
886
 
 
887
  -host | --host | --hos | --ho)
 
888
    ac_prev=host_alias ;;
 
889
  -host=* | --host=* | --hos=* | --ho=*)
 
890
    host_alias=$ac_optarg ;;
 
891
 
 
892
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
893
    ac_prev=htmldir ;;
 
894
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
895
  | --ht=*)
 
896
    htmldir=$ac_optarg ;;
 
897
 
 
898
  -includedir | --includedir | --includedi | --included | --include \
 
899
  | --includ | --inclu | --incl | --inc)
 
900
    ac_prev=includedir ;;
 
901
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
902
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
903
    includedir=$ac_optarg ;;
 
904
 
 
905
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
906
    ac_prev=infodir ;;
 
907
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
908
    infodir=$ac_optarg ;;
 
909
 
 
910
  -libdir | --libdir | --libdi | --libd)
 
911
    ac_prev=libdir ;;
 
912
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
913
    libdir=$ac_optarg ;;
 
914
 
 
915
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
916
  | --libexe | --libex | --libe)
 
917
    ac_prev=libexecdir ;;
 
918
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
919
  | --libexe=* | --libex=* | --libe=*)
 
920
    libexecdir=$ac_optarg ;;
 
921
 
 
922
  -localedir | --localedir | --localedi | --localed | --locale)
 
923
    ac_prev=localedir ;;
 
924
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
925
    localedir=$ac_optarg ;;
 
926
 
 
927
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
928
  | --localstate | --localstat | --localsta | --localst | --locals)
 
929
    ac_prev=localstatedir ;;
 
930
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
931
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
932
    localstatedir=$ac_optarg ;;
 
933
 
 
934
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
935
    ac_prev=mandir ;;
 
936
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
937
    mandir=$ac_optarg ;;
 
938
 
 
939
  -nfp | --nfp | --nf)
 
940
    # Obsolete; use --without-fp.
 
941
    with_fp=no ;;
 
942
 
 
943
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
944
  | --no-cr | --no-c | -n)
 
945
    no_create=yes ;;
 
946
 
 
947
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
948
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
949
    no_recursion=yes ;;
 
950
 
 
951
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
952
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
953
  | --oldin | --oldi | --old | --ol | --o)
 
954
    ac_prev=oldincludedir ;;
 
955
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
956
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
957
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
958
    oldincludedir=$ac_optarg ;;
 
959
 
 
960
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
961
    ac_prev=prefix ;;
 
962
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
963
    prefix=$ac_optarg ;;
 
964
 
 
965
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
966
  | --program-pre | --program-pr | --program-p)
 
967
    ac_prev=program_prefix ;;
 
968
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
969
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
970
    program_prefix=$ac_optarg ;;
 
971
 
 
972
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
973
  | --program-suf | --program-su | --program-s)
 
974
    ac_prev=program_suffix ;;
 
975
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
976
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
977
    program_suffix=$ac_optarg ;;
 
978
 
 
979
  -program-transform-name | --program-transform-name \
 
980
  | --program-transform-nam | --program-transform-na \
 
981
  | --program-transform-n | --program-transform- \
 
982
  | --program-transform | --program-transfor \
 
983
  | --program-transfo | --program-transf \
 
984
  | --program-trans | --program-tran \
 
985
  | --progr-tra | --program-tr | --program-t)
 
986
    ac_prev=program_transform_name ;;
 
987
  -program-transform-name=* | --program-transform-name=* \
 
988
  | --program-transform-nam=* | --program-transform-na=* \
 
989
  | --program-transform-n=* | --program-transform-=* \
 
990
  | --program-transform=* | --program-transfor=* \
 
991
  | --program-transfo=* | --program-transf=* \
 
992
  | --program-trans=* | --program-tran=* \
 
993
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
994
    program_transform_name=$ac_optarg ;;
 
995
 
 
996
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
997
    ac_prev=pdfdir ;;
 
998
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
999
    pdfdir=$ac_optarg ;;
 
1000
 
 
1001
  -psdir | --psdir | --psdi | --psd | --ps)
 
1002
    ac_prev=psdir ;;
 
1003
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1004
    psdir=$ac_optarg ;;
 
1005
 
 
1006
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1007
  | -silent | --silent | --silen | --sile | --sil)
 
1008
    silent=yes ;;
 
1009
 
 
1010
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1011
    ac_prev=sbindir ;;
 
1012
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1013
  | --sbi=* | --sb=*)
 
1014
    sbindir=$ac_optarg ;;
 
1015
 
 
1016
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1017
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1018
  | --sharedst | --shareds | --shared | --share | --shar \
 
1019
  | --sha | --sh)
 
1020
    ac_prev=sharedstatedir ;;
 
1021
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1022
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1023
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1024
  | --sha=* | --sh=*)
 
1025
    sharedstatedir=$ac_optarg ;;
 
1026
 
 
1027
  -site | --site | --sit)
 
1028
    ac_prev=site ;;
 
1029
  -site=* | --site=* | --sit=*)
 
1030
    site=$ac_optarg ;;
 
1031
 
 
1032
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1033
    ac_prev=srcdir ;;
 
1034
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1035
    srcdir=$ac_optarg ;;
 
1036
 
 
1037
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1038
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1039
    ac_prev=sysconfdir ;;
 
1040
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1041
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1042
    sysconfdir=$ac_optarg ;;
 
1043
 
 
1044
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1045
    ac_prev=target_alias ;;
 
1046
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1047
    target_alias=$ac_optarg ;;
 
1048
 
 
1049
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1050
    verbose=yes ;;
 
1051
 
 
1052
  -version | --version | --versio | --versi | --vers | -V)
 
1053
    ac_init_version=: ;;
 
1054
 
 
1055
  -with-* | --with-*)
 
1056
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1057
    # Reject names that are not valid shell variable names.
 
1058
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1059
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1060
   { (exit 1); exit 1; }; }
 
1061
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1062
    eval with_$ac_package=\$ac_optarg ;;
 
1063
 
 
1064
  -without-* | --without-*)
 
1065
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1066
    # Reject names that are not valid shell variable names.
 
1067
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1068
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1069
   { (exit 1); exit 1; }; }
 
1070
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1071
    eval with_$ac_package=no ;;
 
1072
 
 
1073
  --x)
 
1074
    # Obsolete; use --with-x.
 
1075
    with_x=yes ;;
 
1076
 
 
1077
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1078
  | --x-incl | --x-inc | --x-in | --x-i)
 
1079
    ac_prev=x_includes ;;
 
1080
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1081
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1082
    x_includes=$ac_optarg ;;
 
1083
 
 
1084
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1085
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1086
    ac_prev=x_libraries ;;
 
1087
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1088
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1089
    x_libraries=$ac_optarg ;;
 
1090
 
 
1091
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1092
Try \`$0 --help' for more information." >&2
 
1093
   { (exit 1); exit 1; }; }
 
1094
    ;;
 
1095
 
 
1096
  *=*)
 
1097
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1098
    # Reject names that are not valid shell variable names.
 
1099
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1100
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1101
   { (exit 1); exit 1; }; }
 
1102
    eval $ac_envvar=\$ac_optarg
 
1103
    export $ac_envvar ;;
 
1104
 
 
1105
  *)
 
1106
    # FIXME: should be removed in autoconf 3.0.
 
1107
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1108
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1109
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1110
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1111
    ;;
 
1112
 
 
1113
  esac
 
1114
done
 
1115
 
 
1116
if test -n "$ac_prev"; then
 
1117
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1118
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1119
   { (exit 1); exit 1; }; }
 
1120
fi
 
1121
 
 
1122
# Be sure to have absolute directory names.
 
1123
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1124
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1125
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1126
                libdir localedir mandir
 
1127
do
 
1128
  eval ac_val=\$$ac_var
 
1129
  case $ac_val in
 
1130
    [\\/$]* | ?:[\\/]* )  continue;;
 
1131
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1132
  esac
 
1133
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1134
   { (exit 1); exit 1; }; }
 
1135
done
 
1136
 
 
1137
# There might be people who depend on the old broken behavior: `$host'
 
1138
# used to hold the argument of --host etc.
 
1139
# FIXME: To remove some day.
 
1140
build=$build_alias
 
1141
host=$host_alias
 
1142
target=$target_alias
 
1143
 
 
1144
# FIXME: To remove some day.
 
1145
if test "x$host_alias" != x; then
 
1146
  if test "x$build_alias" = x; then
 
1147
    cross_compiling=maybe
 
1148
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1149
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1150
  elif test "x$build_alias" != "x$host_alias"; then
 
1151
    cross_compiling=yes
 
1152
  fi
 
1153
fi
 
1154
 
 
1155
ac_tool_prefix=
 
1156
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1157
 
 
1158
test "$silent" = yes && exec 6>/dev/null
 
1159
 
 
1160
 
 
1161
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1162
ac_ls_di=`ls -di .` &&
 
1163
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1164
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1165
   { (exit 1); exit 1; }; }
 
1166
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1167
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1168
   { (exit 1); exit 1; }; }
 
1169
 
 
1170
 
 
1171
# Find the source files, if location was not specified.
 
1172
if test -z "$srcdir"; then
 
1173
  ac_srcdir_defaulted=yes
 
1174
  # Try the directory containing this script, then the parent directory.
 
1175
  ac_confdir=`$as_dirname -- "$0" ||
 
1176
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1177
         X"$0" : 'X\(//\)[^/]' \| \
 
1178
         X"$0" : 'X\(//\)$' \| \
 
1179
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
1180
echo X"$0" |
 
1181
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1182
            s//\1/
 
1183
            q
 
1184
          }
 
1185
          /^X\(\/\/\)[^/].*/{
 
1186
            s//\1/
 
1187
            q
 
1188
          }
 
1189
          /^X\(\/\/\)$/{
 
1190
            s//\1/
 
1191
            q
 
1192
          }
 
1193
          /^X\(\/\).*/{
 
1194
            s//\1/
 
1195
            q
 
1196
          }
 
1197
          s/.*/./; q'`
 
1198
  srcdir=$ac_confdir
 
1199
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1200
    srcdir=..
 
1201
  fi
 
1202
else
 
1203
  ac_srcdir_defaulted=no
 
1204
fi
 
1205
if test ! -r "$srcdir/$ac_unique_file"; then
 
1206
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1207
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1208
   { (exit 1); exit 1; }; }
 
1209
fi
 
1210
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1211
ac_abs_confdir=`(
 
1212
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1213
   { (exit 1); exit 1; }; }
 
1214
        pwd)`
 
1215
# When building in place, set srcdir=.
 
1216
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1217
  srcdir=.
 
1218
fi
 
1219
# Remove unnecessary trailing slashes from srcdir.
 
1220
# Double slashes in file names in object file debugging info
 
1221
# mess up M-x gdb in Emacs.
 
1222
case $srcdir in
 
1223
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1224
esac
 
1225
for ac_var in $ac_precious_vars; do
 
1226
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1227
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1228
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1229
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1230
done
 
1231
 
 
1232
#
 
1233
# Report the --help message.
 
1234
#
 
1235
if test "$ac_init_help" = "long"; then
 
1236
  # Omit some internal or obsolete options to make the list less imposing.
 
1237
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1238
  cat <<_ACEOF
 
1239
\`configure' configures this package to adapt to many kinds of systems.
 
1240
 
 
1241
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1242
 
 
1243
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1244
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1245
 
 
1246
Defaults for the options are specified in brackets.
 
1247
 
 
1248
Configuration:
 
1249
  -h, --help              display this help and exit
 
1250
      --help=short        display options specific to this package
 
1251
      --help=recursive    display the short help of all the included packages
 
1252
  -V, --version           display version information and exit
 
1253
  -q, --quiet, --silent   do not print \`checking...' messages
 
1254
      --cache-file=FILE   cache test results in FILE [disabled]
 
1255
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1256
  -n, --no-create         do not create output files
 
1257
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1258
 
 
1259
Installation directories:
 
1260
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1261
                          [$ac_default_prefix]
 
1262
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1263
                          [PREFIX]
 
1264
 
 
1265
By default, \`make install' will install all the files in
 
1266
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1267
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1268
for instance \`--prefix=\$HOME'.
 
1269
 
 
1270
For better control, use the options below.
 
1271
 
 
1272
Fine tuning of the installation directories:
 
1273
  --bindir=DIR           user executables [EPREFIX/bin]
 
1274
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
1275
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
1276
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
1277
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
1278
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
1279
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
1280
  --includedir=DIR       C header files [PREFIX/include]
 
1281
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
1282
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1283
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1284
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1285
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1286
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1287
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
 
1288
  --htmldir=DIR          html documentation [DOCDIR]
 
1289
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1290
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1291
  --psdir=DIR            ps documentation [DOCDIR]
 
1292
_ACEOF
 
1293
 
 
1294
  cat <<\_ACEOF
 
1295
 
 
1296
Program names:
 
1297
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1298
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1299
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1300
 
 
1301
System types:
 
1302
  --build=BUILD     configure for building on BUILD [guessed]
 
1303
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1304
  --target=TARGET   configure for building compilers for TARGET [HOST]
 
1305
_ACEOF
 
1306
fi
 
1307
 
 
1308
if test -n "$ac_init_help"; then
 
1309
 
 
1310
  cat <<\_ACEOF
 
1311
 
 
1312
Optional Features:
 
1313
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1314
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1315
  --disable-dependency-tracking  speeds up one-time build
 
1316
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1317
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1318
                          (and sometimes confusing) to the casual installer
 
1319
 
 
1320
Optional Packages:
 
1321
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1322
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1323
  --with-debug            Use debugging flags (environment variables override)
 
1324
  --with-64bits=yes(/no)  Try to compile using 64 bits (default)
 
1325
  --with-matc=<lib>       use MATC library <lib>
 
1326
  --with-metis=/path/to/metis  Specify the path to the Metis installation,
 
1327
                          of which the include and library directories
 
1328
                          are subdirs; use this if you want to override
 
1329
                          the METIS_DIR environment variable.
 
1330
  --with-metis-include=/path/to/metis  Specify the path to the METIS headers file; 
 
1331
                          use this if you want to override the
 
1332
                          METIS_INCLUDE_DIR environment variable.
 
1333
  --with-metis-libs=/path/to/metis  Specify the path to the METIS libraries; 
 
1334
                          use this if you want to override the
 
1335
                          METIS_LIBDIR environment variable.
 
1336
 
 
1337
Some influential environment variables:
 
1338
  CC          C compiler command
 
1339
  CFLAGS      C compiler flags
 
1340
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1341
              nonstandard directory <lib dir>
 
1342
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1343
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1344
              you have headers in a nonstandard directory <include dir>
 
1345
  CPP         C preprocessor
 
1346
 
 
1347
Use these variables to override the choices made by `configure' or to help
 
1348
it to find libraries and programs with nonstandard names/locations.
 
1349
 
 
1350
_ACEOF
 
1351
ac_status=$?
 
1352
fi
 
1353
 
 
1354
if test "$ac_init_help" = "recursive"; then
 
1355
  # If there are subdirs, report their specific --help.
 
1356
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1357
    test -d "$ac_dir" || continue
 
1358
    ac_builddir=.
 
1359
 
 
1360
case "$ac_dir" in
 
1361
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1362
*)
 
1363
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1364
  # A ".." for each directory in $ac_dir_suffix.
 
1365
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1366
  case $ac_top_builddir_sub in
 
1367
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1368
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1369
  esac ;;
 
1370
esac
 
1371
ac_abs_top_builddir=$ac_pwd
 
1372
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1373
# for backward compatibility:
 
1374
ac_top_builddir=$ac_top_build_prefix
 
1375
 
 
1376
case $srcdir in
 
1377
  .)  # We are building in place.
 
1378
    ac_srcdir=.
 
1379
    ac_top_srcdir=$ac_top_builddir_sub
 
1380
    ac_abs_top_srcdir=$ac_pwd ;;
 
1381
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1382
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1383
    ac_top_srcdir=$srcdir
 
1384
    ac_abs_top_srcdir=$srcdir ;;
 
1385
  *) # Relative name.
 
1386
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1387
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1388
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1389
esac
 
1390
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1391
 
 
1392
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1393
    # Check for guested configure.
 
1394
    if test -f "$ac_srcdir/configure.gnu"; then
 
1395
      echo &&
 
1396
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1397
    elif test -f "$ac_srcdir/configure"; then
 
1398
      echo &&
 
1399
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1400
    else
 
1401
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1402
    fi || ac_status=$?
 
1403
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1404
  done
 
1405
fi
 
1406
 
 
1407
test -n "$ac_init_help" && exit $ac_status
 
1408
if $ac_init_version; then
 
1409
  cat <<\_ACEOF
 
1410
configure
 
1411
generated by GNU Autoconf 2.61
 
1412
 
 
1413
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1414
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1415
This configure script is free software; the Free Software Foundation
 
1416
gives unlimited permission to copy, distribute and modify it.
 
1417
_ACEOF
 
1418
  exit
 
1419
fi
 
1420
cat >config.log <<_ACEOF
 
1421
This file contains any messages produced by compilers while
 
1422
running configure, to aid debugging if configure makes a mistake.
 
1423
 
 
1424
It was created by $as_me, which was
 
1425
generated by GNU Autoconf 2.61.  Invocation command line was
 
1426
 
 
1427
  $ $0 $@
 
1428
 
 
1429
_ACEOF
 
1430
exec 5>>config.log
 
1431
{
 
1432
cat <<_ASUNAME
 
1433
@%:@@%:@ --------- @%:@@%:@
 
1434
@%:@@%:@ Platform. @%:@@%:@
 
1435
@%:@@%:@ --------- @%:@@%:@
 
1436
 
 
1437
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1438
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1439
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1440
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1441
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1442
 
 
1443
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1444
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1445
 
 
1446
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1447
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1448
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1449
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1450
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1451
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1452
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1453
 
 
1454
_ASUNAME
 
1455
 
 
1456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1457
for as_dir in $PATH
 
1458
do
 
1459
  IFS=$as_save_IFS
 
1460
  test -z "$as_dir" && as_dir=.
 
1461
  echo "PATH: $as_dir"
 
1462
done
 
1463
IFS=$as_save_IFS
 
1464
 
 
1465
} >&5
 
1466
 
 
1467
cat >&5 <<_ACEOF
 
1468
 
 
1469
 
 
1470
@%:@@%:@ ----------- @%:@@%:@
 
1471
@%:@@%:@ Core tests. @%:@@%:@
 
1472
@%:@@%:@ ----------- @%:@@%:@
 
1473
 
 
1474
_ACEOF
 
1475
 
 
1476
 
 
1477
# Keep a trace of the command line.
 
1478
# Strip out --no-create and --no-recursion so they do not pile up.
 
1479
# Strip out --silent because we don't want to record it for future runs.
 
1480
# Also quote any args containing shell meta-characters.
 
1481
# Make two passes to allow for proper duplicate-argument suppression.
 
1482
ac_configure_args=
 
1483
ac_configure_args0=
 
1484
ac_configure_args1=
 
1485
ac_must_keep_next=false
 
1486
for ac_pass in 1 2
 
1487
do
 
1488
  for ac_arg
 
1489
  do
 
1490
    case $ac_arg in
 
1491
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1492
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1493
    | -silent | --silent | --silen | --sile | --sil)
 
1494
      continue ;;
 
1495
    *\'*)
 
1496
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1497
    esac
 
1498
    case $ac_pass in
 
1499
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1500
    2)
 
1501
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1502
      if test $ac_must_keep_next = true; then
 
1503
        ac_must_keep_next=false # Got value, back to normal.
 
1504
      else
 
1505
        case $ac_arg in
 
1506
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1507
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1508
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1509
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1510
            case "$ac_configure_args0 " in
 
1511
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1512
            esac
 
1513
            ;;
 
1514
          -* ) ac_must_keep_next=true ;;
 
1515
        esac
 
1516
      fi
 
1517
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1518
      ;;
 
1519
    esac
 
1520
  done
 
1521
done
 
1522
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1523
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1524
 
 
1525
# When interrupted or exit'd, cleanup temporary files, and complete
 
1526
# config.log.  We remove comments because anyway the quotes in there
 
1527
# would cause problems or look ugly.
 
1528
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1529
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1530
trap 'exit_status=$?
 
1531
  # Save into config.log some information that might help in debugging.
 
1532
  {
 
1533
    echo
 
1534
 
 
1535
    cat <<\_ASBOX
 
1536
@%:@@%:@ ---------------- @%:@@%:@
 
1537
@%:@@%:@ Cache variables. @%:@@%:@
 
1538
@%:@@%:@ ---------------- @%:@@%:@
 
1539
_ASBOX
 
1540
    echo
 
1541
    # The following way of writing the cache mishandles newlines in values,
 
1542
(
 
1543
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1544
    eval ac_val=\$$ac_var
 
1545
    case $ac_val in #(
 
1546
    *${as_nl}*)
 
1547
      case $ac_var in #(
 
1548
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1549
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1550
      esac
 
1551
      case $ac_var in #(
 
1552
      _ | IFS | as_nl) ;; #(
 
1553
      *) $as_unset $ac_var ;;
 
1554
      esac ;;
 
1555
    esac
 
1556
  done
 
1557
  (set) 2>&1 |
 
1558
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1559
    *${as_nl}ac_space=\ *)
 
1560
      sed -n \
 
1561
        "s/'\''/'\''\\\\'\'''\''/g;
 
1562
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1563
      ;; #(
 
1564
    *)
 
1565
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1566
      ;;
 
1567
    esac |
 
1568
    sort
 
1569
)
 
1570
    echo
 
1571
 
 
1572
    cat <<\_ASBOX
 
1573
@%:@@%:@ ----------------- @%:@@%:@
 
1574
@%:@@%:@ Output variables. @%:@@%:@
 
1575
@%:@@%:@ ----------------- @%:@@%:@
 
1576
_ASBOX
 
1577
    echo
 
1578
    for ac_var in $ac_subst_vars
 
1579
    do
 
1580
      eval ac_val=\$$ac_var
 
1581
      case $ac_val in
 
1582
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1583
      esac
 
1584
      echo "$ac_var='\''$ac_val'\''"
 
1585
    done | sort
 
1586
    echo
 
1587
 
 
1588
    if test -n "$ac_subst_files"; then
 
1589
      cat <<\_ASBOX
 
1590
@%:@@%:@ ------------------- @%:@@%:@
 
1591
@%:@@%:@ File substitutions. @%:@@%:@
 
1592
@%:@@%:@ ------------------- @%:@@%:@
 
1593
_ASBOX
 
1594
      echo
 
1595
      for ac_var in $ac_subst_files
 
1596
      do
 
1597
        eval ac_val=\$$ac_var
 
1598
        case $ac_val in
 
1599
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1600
        esac
 
1601
        echo "$ac_var='\''$ac_val'\''"
 
1602
      done | sort
 
1603
      echo
 
1604
    fi
 
1605
 
 
1606
    if test -s confdefs.h; then
 
1607
      cat <<\_ASBOX
 
1608
@%:@@%:@ ----------- @%:@@%:@
 
1609
@%:@@%:@ confdefs.h. @%:@@%:@
 
1610
@%:@@%:@ ----------- @%:@@%:@
 
1611
_ASBOX
 
1612
      echo
 
1613
      cat confdefs.h
 
1614
      echo
 
1615
    fi
 
1616
    test "$ac_signal" != 0 &&
 
1617
      echo "$as_me: caught signal $ac_signal"
 
1618
    echo "$as_me: exit $exit_status"
 
1619
  } >&5
 
1620
  rm -f core *.core core.conftest.* &&
 
1621
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1622
    exit $exit_status
 
1623
' 0
 
1624
for ac_signal in 1 2 13 15; do
 
1625
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1626
done
 
1627
ac_signal=0
 
1628
 
 
1629
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1630
rm -f -r conftest* confdefs.h
 
1631
 
 
1632
# Predefined preprocessor variables.
 
1633
 
 
1634
cat >>confdefs.h <<_ACEOF
 
1635
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
1636
_ACEOF
 
1637
 
 
1638
 
 
1639
cat >>confdefs.h <<_ACEOF
 
1640
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1641
_ACEOF
 
1642
 
 
1643
 
 
1644
cat >>confdefs.h <<_ACEOF
 
1645
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1646
_ACEOF
 
1647
 
 
1648
 
 
1649
cat >>confdefs.h <<_ACEOF
 
1650
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
1651
_ACEOF
 
1652
 
 
1653
 
 
1654
cat >>confdefs.h <<_ACEOF
 
1655
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1656
_ACEOF
 
1657
 
 
1658
 
 
1659
# Let the site file select an alternate cache file if it wants to.
 
1660
# Prefer explicitly selected file to automatically selected ones.
 
1661
if test -n "$CONFIG_SITE"; then
 
1662
  set x "$CONFIG_SITE"
 
1663
elif test "x$prefix" != xNONE; then
 
1664
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1665
else
 
1666
  set x "$ac_default_prefix/share/config.site" \
 
1667
        "$ac_default_prefix/etc/config.site"
 
1668
fi
 
1669
shift
 
1670
for ac_site_file
 
1671
do
 
1672
  if test -r "$ac_site_file"; then
 
1673
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1674
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1675
    sed 's/^/| /' "$ac_site_file" >&5
 
1676
    . "$ac_site_file"
 
1677
  fi
 
1678
done
 
1679
 
 
1680
if test -r "$cache_file"; then
 
1681
  # Some versions of bash will fail to source /dev/null (special
 
1682
  # files actually), so we avoid doing that.
 
1683
  if test -f "$cache_file"; then
 
1684
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1685
echo "$as_me: loading cache $cache_file" >&6;}
 
1686
    case $cache_file in
 
1687
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1688
      *)                      . "./$cache_file";;
 
1689
    esac
 
1690
  fi
 
1691
else
 
1692
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1693
echo "$as_me: creating cache $cache_file" >&6;}
 
1694
  >$cache_file
 
1695
fi
 
1696
 
 
1697
# Check that the precious variables saved in the cache have kept the same
 
1698
# value.
 
1699
ac_cache_corrupted=false
 
1700
for ac_var in $ac_precious_vars; do
 
1701
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1702
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1703
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1704
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1705
  case $ac_old_set,$ac_new_set in
 
1706
    set,)
 
1707
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1708
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1709
      ac_cache_corrupted=: ;;
 
1710
    ,set)
 
1711
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1712
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1713
      ac_cache_corrupted=: ;;
 
1714
    ,);;
 
1715
    *)
 
1716
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1717
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1718
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1719
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1720
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1721
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1722
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1723
        ac_cache_corrupted=:
 
1724
      fi;;
 
1725
  esac
 
1726
  # Pass precious variables to config.status.
 
1727
  if test "$ac_new_set" = set; then
 
1728
    case $ac_new_val in
 
1729
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1730
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1731
    esac
 
1732
    case " $ac_configure_args " in
 
1733
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1734
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1735
    esac
 
1736
  fi
 
1737
done
 
1738
if $ac_cache_corrupted; then
 
1739
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1740
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1741
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1742
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1743
   { (exit 1); exit 1; }; }
 
1744
fi
 
1745
 
 
1746
 
 
1747
 
 
1748
 
 
1749
 
 
1750
 
 
1751
 
 
1752
 
 
1753
 
 
1754
 
 
1755
 
 
1756
 
 
1757
 
 
1758
 
 
1759
 
 
1760
 
 
1761
 
 
1762
ac_ext=c
 
1763
ac_cpp='$CPP $CPPFLAGS'
 
1764
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1765
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1766
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1767
 
 
1768
 
 
1769
 
 
1770
ac_aux_dir=
 
1771
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1772
  if test -f "$ac_dir/install-sh"; then
 
1773
    ac_aux_dir=$ac_dir
 
1774
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1775
    break
 
1776
  elif test -f "$ac_dir/install.sh"; then
 
1777
    ac_aux_dir=$ac_dir
 
1778
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1779
    break
 
1780
  elif test -f "$ac_dir/shtool"; then
 
1781
    ac_aux_dir=$ac_dir
 
1782
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1783
    break
 
1784
  fi
 
1785
done
 
1786
if test -z "$ac_aux_dir"; then
 
1787
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1788
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1789
   { (exit 1); exit 1; }; }
 
1790
fi
 
1791
 
 
1792
# These three variables are undocumented and unsupported,
 
1793
# and are intended to be withdrawn in a future Autoconf release.
 
1794
# They can cause serious problems if a builder's source tree is in a directory
 
1795
# whose full name contains unusual characters.
 
1796
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1797
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1798
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1799
 
 
1800
 
 
1801
# Make sure we can run config.sub.
 
1802
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
1803
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
1804
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
1805
   { (exit 1); exit 1; }; }
 
1806
 
 
1807
{ echo "$as_me:$LINENO: checking build system type" >&5
 
1808
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
1809
if test "${ac_cv_build+set}" = set; then
 
1810
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1811
else
 
1812
  ac_build_alias=$build_alias
 
1813
test "x$ac_build_alias" = x &&
 
1814
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
1815
test "x$ac_build_alias" = x &&
 
1816
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
1817
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1818
   { (exit 1); exit 1; }; }
 
1819
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
1820
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
1821
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
1822
   { (exit 1); exit 1; }; }
 
1823
 
 
1824
fi
 
1825
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1826
echo "${ECHO_T}$ac_cv_build" >&6; }
 
1827
case $ac_cv_build in
 
1828
*-*-*) ;;
 
1829
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
1830
echo "$as_me: error: invalid value of canonical build" >&2;}
 
1831
   { (exit 1); exit 1; }; };;
 
1832
esac
 
1833
build=$ac_cv_build
 
1834
ac_save_IFS=$IFS; IFS='-'
 
1835
set x $ac_cv_build
 
1836
shift
 
1837
build_cpu=$1
 
1838
build_vendor=$2
 
1839
shift; shift
 
1840
# Remember, the first character of IFS is used to create $*,
 
1841
# except with old shells:
 
1842
build_os=$*
 
1843
IFS=$ac_save_IFS
 
1844
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
1845
 
 
1846
 
 
1847
{ echo "$as_me:$LINENO: checking host system type" >&5
 
1848
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
1849
if test "${ac_cv_host+set}" = set; then
 
1850
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1851
else
 
1852
  if test "x$host_alias" = x; then
 
1853
  ac_cv_host=$ac_cv_build
 
1854
else
 
1855
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
1856
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
1857
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
1858
   { (exit 1); exit 1; }; }
 
1859
fi
 
1860
 
 
1861
fi
 
1862
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
1863
echo "${ECHO_T}$ac_cv_host" >&6; }
 
1864
case $ac_cv_host in
 
1865
*-*-*) ;;
 
1866
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
1867
echo "$as_me: error: invalid value of canonical host" >&2;}
 
1868
   { (exit 1); exit 1; }; };;
 
1869
esac
 
1870
host=$ac_cv_host
 
1871
ac_save_IFS=$IFS; IFS='-'
 
1872
set x $ac_cv_host
 
1873
shift
 
1874
host_cpu=$1
 
1875
host_vendor=$2
 
1876
shift; shift
 
1877
# Remember, the first character of IFS is used to create $*,
 
1878
# except with old shells:
 
1879
host_os=$*
 
1880
IFS=$ac_save_IFS
 
1881
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
1882
 
 
1883
 
 
1884
{ echo "$as_me:$LINENO: checking target system type" >&5
 
1885
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 
1886
if test "${ac_cv_target+set}" = set; then
 
1887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1888
else
 
1889
  if test "x$target_alias" = x; then
 
1890
  ac_cv_target=$ac_cv_host
 
1891
else
 
1892
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
1893
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
1894
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 
1895
   { (exit 1); exit 1; }; }
 
1896
fi
 
1897
 
 
1898
fi
 
1899
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
1900
echo "${ECHO_T}$ac_cv_target" >&6; }
 
1901
case $ac_cv_target in
 
1902
*-*-*) ;;
 
1903
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
1904
echo "$as_me: error: invalid value of canonical target" >&2;}
 
1905
   { (exit 1); exit 1; }; };;
 
1906
esac
 
1907
target=$ac_cv_target
 
1908
ac_save_IFS=$IFS; IFS='-'
 
1909
set x $ac_cv_target
 
1910
shift
 
1911
target_cpu=$1
 
1912
target_vendor=$2
 
1913
shift; shift
 
1914
# Remember, the first character of IFS is used to create $*,
 
1915
# except with old shells:
 
1916
target_os=$*
 
1917
IFS=$ac_save_IFS
 
1918
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
1919
 
 
1920
 
 
1921
# The aliases save the names the user supplied, while $host etc.
 
1922
# will get canonicalized.
 
1923
test -n "$target_alias" &&
 
1924
  test "$program_prefix$program_suffix$program_transform_name" = \
 
1925
    NONENONEs,x,x, &&
 
1926
  program_prefix=${target_alias}-
 
1927
 
 
1928
am__api_version='1.10'
 
1929
 
 
1930
# Find a good install program.  We prefer a C program (faster),
 
1931
# so one script is as good as another.  But avoid the broken or
 
1932
# incompatible versions:
 
1933
# SysV /etc/install, /usr/sbin/install
 
1934
# SunOS /usr/etc/install
 
1935
# IRIX /sbin/install
 
1936
# AIX /bin/install
 
1937
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1938
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1939
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1940
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1941
# OS/2's system install, which has a completely different semantic
 
1942
# ./install, which can be erroneously created by make from ./install.sh.
 
1943
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1944
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1945
if test -z "$INSTALL"; then
 
1946
if test "${ac_cv_path_install+set}" = set; then
 
1947
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1948
else
 
1949
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1950
for as_dir in $PATH
 
1951
do
 
1952
  IFS=$as_save_IFS
 
1953
  test -z "$as_dir" && as_dir=.
 
1954
  # Account for people who put trailing slashes in PATH elements.
 
1955
case $as_dir/ in
 
1956
  ./ | .// | /cC/* | \
 
1957
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1958
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1959
  /usr/ucb/* ) ;;
 
1960
  *)
 
1961
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1962
    # Don't use installbsd from OSF since it installs stuff as root
 
1963
    # by default.
 
1964
    for ac_prog in ginstall scoinst install; do
 
1965
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1966
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1967
          if test $ac_prog = install &&
 
1968
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1969
            # AIX install.  It has an incompatible calling convention.
 
1970
            :
 
1971
          elif test $ac_prog = install &&
 
1972
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1973
            # program-specific install script used by HP pwplus--don't use.
 
1974
            :
 
1975
          else
 
1976
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1977
            break 3
 
1978
          fi
 
1979
        fi
 
1980
      done
 
1981
    done
 
1982
    ;;
 
1983
esac
 
1984
done
 
1985
IFS=$as_save_IFS
 
1986
 
 
1987
 
 
1988
fi
 
1989
  if test "${ac_cv_path_install+set}" = set; then
 
1990
    INSTALL=$ac_cv_path_install
 
1991
  else
 
1992
    # As a last resort, use the slow shell script.  Don't cache a
 
1993
    # value for INSTALL within a source directory, because that will
 
1994
    # break other packages using the cache if that directory is
 
1995
    # removed, or if the value is a relative name.
 
1996
    INSTALL=$ac_install_sh
 
1997
  fi
 
1998
fi
 
1999
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2000
echo "${ECHO_T}$INSTALL" >&6; }
 
2001
 
 
2002
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2003
# It thinks the first close brace ends the variable substitution.
 
2004
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2005
 
 
2006
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2007
 
 
2008
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2009
 
 
2010
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2011
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2012
# Just in case
 
2013
sleep 1
 
2014
echo timestamp > conftest.file
 
2015
# Do `set' in a subshell so we don't clobber the current shell's
 
2016
# arguments.  Must try -L first in case configure is actually a
 
2017
# symlink; some systems play weird games with the mod time of symlinks
 
2018
# (eg FreeBSD returns the mod time of the symlink's containing
 
2019
# directory).
 
2020
if (
 
2021
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2022
   if test "$*" = "X"; then
 
2023
      # -L didn't work.
 
2024
      set X `ls -t $srcdir/configure conftest.file`
 
2025
   fi
 
2026
   rm -f conftest.file
 
2027
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2028
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2029
 
 
2030
      # If neither matched, then we have a broken ls.  This can happen
 
2031
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2032
      # broken ls alias from the environment.  This has actually
 
2033
      # happened.  Such a system could not be considered "sane".
 
2034
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2035
alias in your environment" >&5
 
2036
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2037
alias in your environment" >&2;}
 
2038
   { (exit 1); exit 1; }; }
 
2039
   fi
 
2040
 
 
2041
   test "$2" = conftest.file
 
2042
   )
 
2043
then
 
2044
   # Ok.
 
2045
   :
 
2046
else
 
2047
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2048
Check your system clock" >&5
 
2049
echo "$as_me: error: newly created file is older than distributed files!
 
2050
Check your system clock" >&2;}
 
2051
   { (exit 1); exit 1; }; }
 
2052
fi
 
2053
{ echo "$as_me:$LINENO: result: yes" >&5
 
2054
echo "${ECHO_T}yes" >&6; }
 
2055
test "$program_prefix" != NONE &&
 
2056
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2057
# Use a double $ so make ignores it.
 
2058
test "$program_suffix" != NONE &&
 
2059
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2060
# Double any \ or $.  echo might interpret backslashes.
 
2061
# By default was `s,x,x', remove it if useless.
 
2062
cat <<\_ACEOF >conftest.sed
 
2063
s/[\\$]/&&/g;s/;s,x,x,$//
 
2064
_ACEOF
 
2065
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
2066
rm -f conftest.sed
 
2067
 
 
2068
# expand $ac_aux_dir to an absolute path
 
2069
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2070
 
 
2071
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2072
# Use eval to expand $SHELL
 
2073
if eval "$MISSING --run true"; then
 
2074
  am_missing_run="$MISSING --run "
 
2075
else
 
2076
  am_missing_run=
 
2077
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2078
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2079
fi
 
2080
 
 
2081
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2082
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2083
if test -z "$MKDIR_P"; then
 
2084
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2085
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2086
else
 
2087
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2088
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2089
do
 
2090
  IFS=$as_save_IFS
 
2091
  test -z "$as_dir" && as_dir=.
 
2092
  for ac_prog in mkdir gmkdir; do
 
2093
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2094
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2095
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2096
             'mkdir (GNU coreutils) '* | \
 
2097
             'mkdir (coreutils) '* | \
 
2098
             'mkdir (fileutils) '4.1*)
 
2099
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2100
               break 3;;
 
2101
           esac
 
2102
         done
 
2103
       done
 
2104
done
 
2105
IFS=$as_save_IFS
 
2106
 
 
2107
fi
 
2108
 
 
2109
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2110
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2111
  else
 
2112
    # As a last resort, use the slow shell script.  Don't cache a
 
2113
    # value for MKDIR_P within a source directory, because that will
 
2114
    # break other packages using the cache if that directory is
 
2115
    # removed, or if the value is a relative name.
 
2116
    test -d ./--version && rmdir ./--version
 
2117
    MKDIR_P="$ac_install_sh -d"
 
2118
  fi
 
2119
fi
 
2120
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2121
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2122
 
 
2123
mkdir_p="$MKDIR_P"
 
2124
case $mkdir_p in
 
2125
  [\\/$]* | ?:[\\/]*) ;;
 
2126
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2127
esac
 
2128
 
 
2129
for ac_prog in gawk mawk nawk awk
 
2130
do
 
2131
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2132
set dummy $ac_prog; ac_word=$2
 
2133
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2134
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2135
if test "${ac_cv_prog_AWK+set}" = set; then
 
2136
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2137
else
 
2138
  if test -n "$AWK"; then
 
2139
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2140
else
 
2141
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2142
for as_dir in $PATH
 
2143
do
 
2144
  IFS=$as_save_IFS
 
2145
  test -z "$as_dir" && as_dir=.
 
2146
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2147
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2148
    ac_cv_prog_AWK="$ac_prog"
 
2149
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2150
    break 2
 
2151
  fi
 
2152
done
 
2153
done
 
2154
IFS=$as_save_IFS
 
2155
 
 
2156
fi
 
2157
fi
 
2158
AWK=$ac_cv_prog_AWK
 
2159
if test -n "$AWK"; then
 
2160
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2161
echo "${ECHO_T}$AWK" >&6; }
 
2162
else
 
2163
  { echo "$as_me:$LINENO: result: no" >&5
 
2164
echo "${ECHO_T}no" >&6; }
 
2165
fi
 
2166
 
 
2167
 
 
2168
  test -n "$AWK" && break
 
2169
done
 
2170
 
 
2171
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2172
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2173
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2174
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2175
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2176
else
 
2177
  cat >conftest.make <<\_ACEOF
 
2178
SHELL = /bin/sh
 
2179
all:
 
2180
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2181
_ACEOF
 
2182
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2183
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2184
  *@@@%%%=?*=@@@%%%*)
 
2185
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2186
  *)
 
2187
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2188
esac
 
2189
rm -f conftest.make
 
2190
fi
 
2191
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2192
  { echo "$as_me:$LINENO: result: yes" >&5
 
2193
echo "${ECHO_T}yes" >&6; }
 
2194
  SET_MAKE=
 
2195
else
 
2196
  { echo "$as_me:$LINENO: result: no" >&5
 
2197
echo "${ECHO_T}no" >&6; }
 
2198
  SET_MAKE="MAKE=${MAKE-make}"
 
2199
fi
 
2200
 
 
2201
rm -rf .tst 2>/dev/null
 
2202
mkdir .tst 2>/dev/null
 
2203
if test -d .tst; then
 
2204
  am__leading_dot=.
 
2205
else
 
2206
  am__leading_dot=_
 
2207
fi
 
2208
rmdir .tst 2>/dev/null
 
2209
 
 
2210
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2211
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2212
  # is not polluted with repeated "-I."
 
2213
  am__isrc=' -I$(srcdir)'
 
2214
  # test to see if srcdir already configured
 
2215
  if test -f $srcdir/config.status; then
 
2216
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2217
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2218
   { (exit 1); exit 1; }; }
 
2219
  fi
 
2220
fi
 
2221
 
 
2222
# test whether we have cygpath
 
2223
if test -z "$CYGPATH_W"; then
 
2224
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2225
    CYGPATH_W='cygpath -w'
 
2226
  else
 
2227
    CYGPATH_W=echo
 
2228
  fi
 
2229
fi
 
2230
 
 
2231
 
 
2232
# Define the identity of the package.
 
2233
 PACKAGE=elmergrid
 
2234
 VERSION=5.5.0
 
2235
 
 
2236
 
 
2237
cat >>confdefs.h <<_ACEOF
 
2238
@%:@define PACKAGE "$PACKAGE"
 
2239
_ACEOF
 
2240
 
 
2241
 
 
2242
cat >>confdefs.h <<_ACEOF
 
2243
@%:@define VERSION "$VERSION"
 
2244
_ACEOF
 
2245
 
 
2246
# Some tools Automake needs.
 
2247
 
 
2248
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2249
 
 
2250
 
 
2251
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2252
 
 
2253
 
 
2254
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2255
 
 
2256
 
 
2257
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2258
 
 
2259
 
 
2260
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2261
 
 
2262
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2263
 
 
2264
# Installed binaries are usually stripped using `strip' when the user
 
2265
# run `make install-strip'.  However `strip' might not be the right
 
2266
# tool to use in cross-compilation environments, therefore Automake
 
2267
# will honor the `STRIP' environment variable to overrule this program.
 
2268
if test "$cross_compiling" != no; then
 
2269
  if test -n "$ac_tool_prefix"; then
 
2270
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2271
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2272
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2274
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2275
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2276
else
 
2277
  if test -n "$STRIP"; then
 
2278
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2279
else
 
2280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2281
for as_dir in $PATH
 
2282
do
 
2283
  IFS=$as_save_IFS
 
2284
  test -z "$as_dir" && as_dir=.
 
2285
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2287
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2288
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2289
    break 2
 
2290
  fi
 
2291
done
 
2292
done
 
2293
IFS=$as_save_IFS
 
2294
 
 
2295
fi
 
2296
fi
 
2297
STRIP=$ac_cv_prog_STRIP
 
2298
if test -n "$STRIP"; then
 
2299
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2300
echo "${ECHO_T}$STRIP" >&6; }
 
2301
else
 
2302
  { echo "$as_me:$LINENO: result: no" >&5
 
2303
echo "${ECHO_T}no" >&6; }
 
2304
fi
 
2305
 
 
2306
 
 
2307
fi
 
2308
if test -z "$ac_cv_prog_STRIP"; then
 
2309
  ac_ct_STRIP=$STRIP
 
2310
  # Extract the first word of "strip", so it can be a program name with args.
 
2311
set dummy strip; ac_word=$2
 
2312
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2313
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2314
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2315
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2316
else
 
2317
  if test -n "$ac_ct_STRIP"; then
 
2318
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2319
else
 
2320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2321
for as_dir in $PATH
 
2322
do
 
2323
  IFS=$as_save_IFS
 
2324
  test -z "$as_dir" && as_dir=.
 
2325
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2327
    ac_cv_prog_ac_ct_STRIP="strip"
 
2328
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2329
    break 2
 
2330
  fi
 
2331
done
 
2332
done
 
2333
IFS=$as_save_IFS
 
2334
 
 
2335
fi
 
2336
fi
 
2337
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2338
if test -n "$ac_ct_STRIP"; then
 
2339
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2340
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2341
else
 
2342
  { echo "$as_me:$LINENO: result: no" >&5
 
2343
echo "${ECHO_T}no" >&6; }
 
2344
fi
 
2345
 
 
2346
  if test "x$ac_ct_STRIP" = x; then
 
2347
    STRIP=":"
 
2348
  else
 
2349
    case $cross_compiling:$ac_tool_warned in
 
2350
yes:)
 
2351
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2352
whose name does not start with the host triplet.  If you think this
 
2353
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2354
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2355
whose name does not start with the host triplet.  If you think this
 
2356
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2357
ac_tool_warned=yes ;;
 
2358
esac
 
2359
    STRIP=$ac_ct_STRIP
 
2360
  fi
 
2361
else
 
2362
  STRIP="$ac_cv_prog_STRIP"
 
2363
fi
 
2364
 
 
2365
fi
 
2366
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2367
 
 
2368
# We need awk for the "check" target.  The system "awk" is bad on
 
2369
# some platforms.
 
2370
# Always define AMTAR for backward compatibility.
 
2371
 
 
2372
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2373
 
 
2374
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2375
 
 
2376
 
 
2377
 
 
2378
 
 
2379
 
 
2380
 
 
2381
 if test `which windres` != ""; then
 
2382
  HAVE_WINDRES_TRUE=
 
2383
  HAVE_WINDRES_FALSE='#'
 
2384
else
 
2385
  HAVE_WINDRES_TRUE='#'
 
2386
  HAVE_WINDRES_FALSE=
 
2387
fi
 
2388
 
 
2389
 
 
2390
 
 
2391
 
 
2392
 
 
2393
 
 
2394
 
 
2395
 
 
2396
 
 
2397
 
 
2398
 
 
2399
 
 
2400
 
 
2401
 
 
2402
 
 
2403
 
 
2404
 
 
2405
 
 
2406
 
 
2407
 
 
2408
 
 
2409
 
 
2410
 
 
2411
 
 
2412
 
 
2413
 
 
2414
 
 
2415
 
 
2416
 
 
2417
 
 
2418
 
 
2419
 
 
2420
 
 
2421
 
 
2422
 
 
2423
 
 
2424
 
 
2425
 
 
2426
 
 
2427
 
 
2428
 
 
2429
 
 
2430
 
 
2431
 
 
2432
 
 
2433
 
 
2434
 
 
2435
 
 
2436
 
 
2437
 
 
2438
 
 
2439
 
 
2440
 
 
2441
 
 
2442
 
 
2443
 
 
2444
 
 
2445
 
 
2446
 
 
2447
 
 
2448
 
 
2449
 
 
2450
 
 
2451
 
 
2452
 
 
2453
 
 
2454
if test -z "$host"; then
 
2455
  host=unknown
 
2456
fi
 
2457
canonical_host_type=$host
 
2458
if test "$host" = unknown; then
 
2459
  { { echo "$as_me:$LINENO: error: configuring for unknown system type, your build will most likely be screwed." >&5
 
2460
echo "$as_me: error: configuring for unknown system type, your build will most likely be screwed." >&2;}
 
2461
   { (exit 1); exit 1; }; }
 
2462
fi
 
2463
 
 
2464
case "$canonical_host_type" in
 
2465
  *-*-darwin*)
 
2466
        LDFLAGS="$LDFLAGS -L/sw/lib"
 
2467
        CFLAGS="$CFLAGS -I/sw/include"
 
2468
        CXXFLAGS="$CXXFLAGS -I/sw/include"
 
2469
  ;;
 
2470
esac
 
2471
 
 
2472
 
 
2473
 
 
2474
 
 
2475
 
 
2476
acx_platform_def="GENERIC"
 
2477
case "$canonical_host_type" in
 
2478
  *-*-386bsd* | *-*-openbsd* | *-*-netbsd*)
 
2479
        acx_platform_def="BSD"
 
2480
        
 
2481
cat >>confdefs.h <<\_ACEOF
 
2482
@%:@define BSD 1
 
2483
_ACEOF
 
2484
 
 
2485
  ;;
 
2486
  *-*-freebsd*)
 
2487
        acx_platform_def="BSD"
 
2488
        
 
2489
cat >>confdefs.h <<\_ACEOF
 
2490
@%:@define BSD 1
 
2491
_ACEOF
 
2492
 
 
2493
  ;;
 
2494
  alpha*-dec-osf*)
 
2495
        acx_platform_def="DEC_ALPHA"
 
2496
        
 
2497
cat >>confdefs.h <<\_ACEOF
 
2498
@%:@define DEC_ALPHA 1
 
2499
_ACEOF
 
2500
 
 
2501
  ;;
 
2502
  *-*-darwin*)
 
2503
        
 
2504
cat >>confdefs.h <<\_ACEOF
 
2505
@%:@define DARWIN 1
 
2506
_ACEOF
 
2507
 
 
2508
  ;;
 
2509
  *-*-cygwin*)
 
2510
        acx_platform_def="WIN32"
 
2511
        
 
2512
cat >>confdefs.h <<\_ACEOF
 
2513
@%:@define CYGWIN 1
 
2514
_ACEOF
 
2515
 
 
2516
  ;;
 
2517
  *-*-mingw*)
 
2518
        acx_platform_def="WIN32"
 
2519
        
 
2520
cat >>confdefs.h <<\_ACEOF
 
2521
@%:@define MINGW32 1
 
2522
_ACEOF
 
2523
 
 
2524
        
 
2525
cat >>confdefs.h <<\_ACEOF
 
2526
@%:@define WIN32 1
 
2527
_ACEOF
 
2528
 
 
2529
  ;;
 
2530
  *-*-linux* | *-*-gnu*)
 
2531
        
 
2532
cat >>confdefs.h <<\_ACEOF
 
2533
@%:@define LINUX 1
 
2534
_ACEOF
 
2535
 
 
2536
  ;;
 
2537
  i[3456]86-*-sco3.2v5*)
 
2538
        
 
2539
cat >>confdefs.h <<\_ACEOF
 
2540
@%:@define BASTARDS 1
 
2541
_ACEOF
 
2542
 
 
2543
  ;;
 
2544
  rs6000-ibm-aix* | powerpc-ibm-aix*)
 
2545
        acx_platform_def="AIX"
 
2546
        
 
2547
cat >>confdefs.h <<\_ACEOF
 
2548
@%:@define AIX 1
 
2549
_ACEOF
 
2550
 
 
2551
  ;;
 
2552
  hppa*-hp-hpux*)
 
2553
        
 
2554
cat >>confdefs.h <<\_ACEOF
 
2555
@%:@define HPUX 1
 
2556
_ACEOF
 
2557
 
 
2558
  ;;
 
2559
  *-sgi-*)
 
2560
        
 
2561
cat >>confdefs.h <<\_ACEOF
 
2562
@%:@define SGI 1
 
2563
_ACEOF
 
2564
 
 
2565
  ;;
 
2566
  sparc-sun-sunos4*)
 
2567
        
 
2568
cat >>confdefs.h <<\_ACEOF
 
2569
@%:@define SUNOS 1
 
2570
_ACEOF
 
2571
 
 
2572
  ;;
 
2573
  sparc-sun-solaris2* | i386-pc-solaris2*)
 
2574
        
 
2575
cat >>confdefs.h <<\_ACEOF
 
2576
@%:@define SOLARIS 1
 
2577
_ACEOF
 
2578
 
 
2579
  ;;
 
2580
esac
 
2581
 
 
2582
 if test "$acx_platform_def" = "AIX"; then
 
2583
  IBM_IS_PIECE_OF_SHIT_TRUE=
 
2584
  IBM_IS_PIECE_OF_SHIT_FALSE='#'
 
2585
else
 
2586
  IBM_IS_PIECE_OF_SHIT_TRUE='#'
 
2587
  IBM_IS_PIECE_OF_SHIT_FALSE=
 
2588
fi
 
2589
 
 
2590
 
 
2591
 
 
2592
acx_debug=no
 
2593
 
 
2594
 
 
2595
# Check whether --with-debug was given.
 
2596
if test "${with_debug+set}" = set; then
 
2597
  withval=$with_debug; acx_debug=yes
 
2598
fi
 
2599
 
 
2600
 
 
2601
{ echo "$as_me:$LINENO: checking for default compilation flags" >&5
 
2602
echo $ECHO_N "checking for default compilation flags... $ECHO_C" >&6; }
 
2603
 
 
2604
if test "$acx_debug" = yes; then
 
2605
{ echo "$as_me:$LINENO: result: debugging" >&5
 
2606
echo "${ECHO_T}debugging" >&6; }
 
2607
  if test "$CFLAGS" = ""; then
 
2608
        CFLAGS="-g"
 
2609
  fi
 
2610
 
 
2611
  if test "$FCFLAGS" = ""; then
 
2612
        FCFLAGS="-g"
 
2613
  fi
 
2614
 
 
2615
  if test "$FFLAGS" = ""; then
 
2616
        FFLAGS="-g"
 
2617
  fi
 
2618
 
 
2619
  if test "$CXXFLAGS" = ""; then
 
2620
        CXXFLAGS="-g"
 
2621
  fi
 
2622
else
 
2623
{ echo "$as_me:$LINENO: result: optimized" >&5
 
2624
echo "${ECHO_T}optimized" >&6; }
 
2625
  case "$canonical_host_type" in
 
2626
     rs6000-ibm-aix* | powerpc-ibm-aix*)
 
2627
                ACX_OPT_FLAG="-O -qmaxmem=-1 -qstrict"
 
2628
     ;;
 
2629
     *)
 
2630
        ACX_OPT_FLAG="-O"
 
2631
     ;;
 
2632
  esac
 
2633
 
 
2634
  if test "$CFLAGS" = ""; then
 
2635
        CFLAGS=$ACX_OPT_FLAG
 
2636
  fi
 
2637
 
 
2638
  if test "$FCFLAGS" = ""; then
 
2639
        FCFLAGS=$ACX_OPT_FLAG
 
2640
  fi
 
2641
 
 
2642
  if test "$FFLAGS" = ""; then
 
2643
        FFLAGS=$ACX_OPT_FLAG
 
2644
  fi
 
2645
 
 
2646
  if test "$CXXFLAGS" = ""; then
 
2647
        CXXFLAGS=$ACX_OPT_FLAG
 
2648
  fi
 
2649
fi
 
2650
 
 
2651
 
 
2652
 
 
2653
# fixme: do something more intelligent here
 
2654
{ echo "$as_me:$LINENO: checking for ar" >&5
 
2655
echo $ECHO_N "checking for ar... $ECHO_C" >&6; }
 
2656
if test -z "$AR"; then
 
2657
        AR='ar'
 
2658
        acx_ar_userdefined=no
 
2659
else
 
2660
        acx_ar_userdefined=yes
 
2661
fi
 
2662
 
 
2663
{ echo "$as_me:$LINENO: result: $AR" >&5
 
2664
echo "${ECHO_T}$AR" >&6; }
 
2665
 
 
2666
{ echo "$as_me:$LINENO: checking for ar flags" >&5
 
2667
echo $ECHO_N "checking for ar flags... $ECHO_C" >&6; }
 
2668
if test -z "$ARFLAGS"; then
 
2669
  ARFLAGS="cru"
 
2670
fi
 
2671
 
 
2672
{ echo "$as_me:$LINENO: result: $ARFLAGS" >&5
 
2673
echo "${ECHO_T}$ARFLAGS" >&6; }
 
2674
 
 
2675
 
 
2676
if test -n "$ac_tool_prefix"; then
 
2677
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
2678
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
2679
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2680
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2681
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
2682
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2683
else
 
2684
  if test -n "$RANLIB"; then
 
2685
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
2686
else
 
2687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2688
for as_dir in $PATH
 
2689
do
 
2690
  IFS=$as_save_IFS
 
2691
  test -z "$as_dir" && as_dir=.
 
2692
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2693
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2694
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
2695
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2696
    break 2
 
2697
  fi
 
2698
done
 
2699
done
 
2700
IFS=$as_save_IFS
 
2701
 
 
2702
fi
 
2703
fi
 
2704
RANLIB=$ac_cv_prog_RANLIB
 
2705
if test -n "$RANLIB"; then
 
2706
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
2707
echo "${ECHO_T}$RANLIB" >&6; }
 
2708
else
 
2709
  { echo "$as_me:$LINENO: result: no" >&5
 
2710
echo "${ECHO_T}no" >&6; }
 
2711
fi
 
2712
 
 
2713
 
 
2714
fi
 
2715
if test -z "$ac_cv_prog_RANLIB"; then
 
2716
  ac_ct_RANLIB=$RANLIB
 
2717
  # Extract the first word of "ranlib", so it can be a program name with args.
 
2718
set dummy ranlib; ac_word=$2
 
2719
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2720
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2721
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
2722
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2723
else
 
2724
  if test -n "$ac_ct_RANLIB"; then
 
2725
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
2726
else
 
2727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2728
for as_dir in $PATH
 
2729
do
 
2730
  IFS=$as_save_IFS
 
2731
  test -z "$as_dir" && as_dir=.
 
2732
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2734
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
2735
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2736
    break 2
 
2737
  fi
 
2738
done
 
2739
done
 
2740
IFS=$as_save_IFS
 
2741
 
 
2742
fi
 
2743
fi
 
2744
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
2745
if test -n "$ac_ct_RANLIB"; then
 
2746
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
2747
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
2748
else
 
2749
  { echo "$as_me:$LINENO: result: no" >&5
 
2750
echo "${ECHO_T}no" >&6; }
 
2751
fi
 
2752
 
 
2753
  if test "x$ac_ct_RANLIB" = x; then
 
2754
    RANLIB=":"
 
2755
  else
 
2756
    case $cross_compiling:$ac_tool_warned in
 
2757
yes:)
 
2758
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2759
whose name does not start with the host triplet.  If you think this
 
2760
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2761
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2762
whose name does not start with the host triplet.  If you think this
 
2763
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2764
ac_tool_warned=yes ;;
 
2765
esac
 
2766
    RANLIB=$ac_ct_RANLIB
 
2767
  fi
 
2768
else
 
2769
  RANLIB="$ac_cv_prog_RANLIB"
 
2770
fi
 
2771
 
 
2772
 
 
2773
 
 
2774
ac_ext=c
 
2775
ac_cpp='$CPP $CPPFLAGS'
 
2776
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2777
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2778
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2779
if test -n "$ac_tool_prefix"; then
 
2780
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2781
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2782
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2783
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2784
if test "${ac_cv_prog_CC+set}" = set; then
 
2785
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2786
else
 
2787
  if test -n "$CC"; then
 
2788
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2789
else
 
2790
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2791
for as_dir in $PATH
 
2792
do
 
2793
  IFS=$as_save_IFS
 
2794
  test -z "$as_dir" && as_dir=.
 
2795
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2796
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2797
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2798
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2799
    break 2
 
2800
  fi
 
2801
done
 
2802
done
 
2803
IFS=$as_save_IFS
 
2804
 
 
2805
fi
 
2806
fi
 
2807
CC=$ac_cv_prog_CC
 
2808
if test -n "$CC"; then
 
2809
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2810
echo "${ECHO_T}$CC" >&6; }
 
2811
else
 
2812
  { echo "$as_me:$LINENO: result: no" >&5
 
2813
echo "${ECHO_T}no" >&6; }
 
2814
fi
 
2815
 
 
2816
 
 
2817
fi
 
2818
if test -z "$ac_cv_prog_CC"; then
 
2819
  ac_ct_CC=$CC
 
2820
  # Extract the first word of "gcc", so it can be a program name with args.
 
2821
set dummy gcc; ac_word=$2
 
2822
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2824
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2825
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2826
else
 
2827
  if test -n "$ac_ct_CC"; then
 
2828
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2829
else
 
2830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2831
for as_dir in $PATH
 
2832
do
 
2833
  IFS=$as_save_IFS
 
2834
  test -z "$as_dir" && as_dir=.
 
2835
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2837
    ac_cv_prog_ac_ct_CC="gcc"
 
2838
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2839
    break 2
 
2840
  fi
 
2841
done
 
2842
done
 
2843
IFS=$as_save_IFS
 
2844
 
 
2845
fi
 
2846
fi
 
2847
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2848
if test -n "$ac_ct_CC"; then
 
2849
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2850
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2851
else
 
2852
  { echo "$as_me:$LINENO: result: no" >&5
 
2853
echo "${ECHO_T}no" >&6; }
 
2854
fi
 
2855
 
 
2856
  if test "x$ac_ct_CC" = x; then
 
2857
    CC=""
 
2858
  else
 
2859
    case $cross_compiling:$ac_tool_warned in
 
2860
yes:)
 
2861
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2862
whose name does not start with the host triplet.  If you think this
 
2863
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2864
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2865
whose name does not start with the host triplet.  If you think this
 
2866
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2867
ac_tool_warned=yes ;;
 
2868
esac
 
2869
    CC=$ac_ct_CC
 
2870
  fi
 
2871
else
 
2872
  CC="$ac_cv_prog_CC"
 
2873
fi
 
2874
 
 
2875
if test -z "$CC"; then
 
2876
          if test -n "$ac_tool_prefix"; then
 
2877
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2878
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2879
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2880
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2881
if test "${ac_cv_prog_CC+set}" = set; then
 
2882
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2883
else
 
2884
  if test -n "$CC"; then
 
2885
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2886
else
 
2887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2888
for as_dir in $PATH
 
2889
do
 
2890
  IFS=$as_save_IFS
 
2891
  test -z "$as_dir" && as_dir=.
 
2892
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2894
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2895
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2896
    break 2
 
2897
  fi
 
2898
done
 
2899
done
 
2900
IFS=$as_save_IFS
 
2901
 
 
2902
fi
 
2903
fi
 
2904
CC=$ac_cv_prog_CC
 
2905
if test -n "$CC"; then
 
2906
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2907
echo "${ECHO_T}$CC" >&6; }
 
2908
else
 
2909
  { echo "$as_me:$LINENO: result: no" >&5
 
2910
echo "${ECHO_T}no" >&6; }
 
2911
fi
 
2912
 
 
2913
 
 
2914
  fi
 
2915
fi
 
2916
if test -z "$CC"; then
 
2917
  # Extract the first word of "cc", so it can be a program name with args.
 
2918
set dummy cc; ac_word=$2
 
2919
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2920
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2921
if test "${ac_cv_prog_CC+set}" = set; then
 
2922
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2923
else
 
2924
  if test -n "$CC"; then
 
2925
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2926
else
 
2927
  ac_prog_rejected=no
 
2928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2929
for as_dir in $PATH
 
2930
do
 
2931
  IFS=$as_save_IFS
 
2932
  test -z "$as_dir" && as_dir=.
 
2933
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2934
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2935
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2936
       ac_prog_rejected=yes
 
2937
       continue
 
2938
     fi
 
2939
    ac_cv_prog_CC="cc"
 
2940
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2941
    break 2
 
2942
  fi
 
2943
done
 
2944
done
 
2945
IFS=$as_save_IFS
 
2946
 
 
2947
if test $ac_prog_rejected = yes; then
 
2948
  # We found a bogon in the path, so make sure we never use it.
 
2949
  set dummy $ac_cv_prog_CC
 
2950
  shift
 
2951
  if test $@%:@ != 0; then
 
2952
    # We chose a different compiler from the bogus one.
 
2953
    # However, it has the same basename, so the bogon will be chosen
 
2954
    # first if we set CC to just the basename; use the full file name.
 
2955
    shift
 
2956
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2957
  fi
 
2958
fi
 
2959
fi
 
2960
fi
 
2961
CC=$ac_cv_prog_CC
 
2962
if test -n "$CC"; then
 
2963
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2964
echo "${ECHO_T}$CC" >&6; }
 
2965
else
 
2966
  { echo "$as_me:$LINENO: result: no" >&5
 
2967
echo "${ECHO_T}no" >&6; }
 
2968
fi
 
2969
 
 
2970
 
 
2971
fi
 
2972
if test -z "$CC"; then
 
2973
  if test -n "$ac_tool_prefix"; then
 
2974
  for ac_prog in cl.exe
 
2975
  do
 
2976
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2977
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2978
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2979
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2980
if test "${ac_cv_prog_CC+set}" = set; then
 
2981
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2982
else
 
2983
  if test -n "$CC"; then
 
2984
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2985
else
 
2986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2987
for as_dir in $PATH
 
2988
do
 
2989
  IFS=$as_save_IFS
 
2990
  test -z "$as_dir" && as_dir=.
 
2991
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2993
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2994
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2995
    break 2
 
2996
  fi
 
2997
done
 
2998
done
 
2999
IFS=$as_save_IFS
 
3000
 
 
3001
fi
 
3002
fi
 
3003
CC=$ac_cv_prog_CC
 
3004
if test -n "$CC"; then
 
3005
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3006
echo "${ECHO_T}$CC" >&6; }
 
3007
else
 
3008
  { echo "$as_me:$LINENO: result: no" >&5
 
3009
echo "${ECHO_T}no" >&6; }
 
3010
fi
 
3011
 
 
3012
 
 
3013
    test -n "$CC" && break
 
3014
  done
 
3015
fi
 
3016
if test -z "$CC"; then
 
3017
  ac_ct_CC=$CC
 
3018
  for ac_prog in cl.exe
 
3019
do
 
3020
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3021
set dummy $ac_prog; ac_word=$2
 
3022
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3023
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3024
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3025
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3026
else
 
3027
  if test -n "$ac_ct_CC"; then
 
3028
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3029
else
 
3030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3031
for as_dir in $PATH
 
3032
do
 
3033
  IFS=$as_save_IFS
 
3034
  test -z "$as_dir" && as_dir=.
 
3035
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3037
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3038
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3039
    break 2
 
3040
  fi
 
3041
done
 
3042
done
 
3043
IFS=$as_save_IFS
 
3044
 
 
3045
fi
 
3046
fi
 
3047
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3048
if test -n "$ac_ct_CC"; then
 
3049
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3050
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3051
else
 
3052
  { echo "$as_me:$LINENO: result: no" >&5
 
3053
echo "${ECHO_T}no" >&6; }
 
3054
fi
 
3055
 
 
3056
 
 
3057
  test -n "$ac_ct_CC" && break
 
3058
done
 
3059
 
 
3060
  if test "x$ac_ct_CC" = x; then
 
3061
    CC=""
 
3062
  else
 
3063
    case $cross_compiling:$ac_tool_warned in
 
3064
yes:)
 
3065
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3066
whose name does not start with the host triplet.  If you think this
 
3067
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3068
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3069
whose name does not start with the host triplet.  If you think this
 
3070
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3071
ac_tool_warned=yes ;;
 
3072
esac
 
3073
    CC=$ac_ct_CC
 
3074
  fi
 
3075
fi
 
3076
 
 
3077
fi
 
3078
 
 
3079
 
 
3080
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3081
See \`config.log' for more details." >&5
 
3082
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3083
See \`config.log' for more details." >&2;}
 
3084
   { (exit 1); exit 1; }; }
 
3085
 
 
3086
# Provide some information about the compiler.
 
3087
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3088
ac_compiler=`set X $ac_compile; echo $2`
 
3089
{ (ac_try="$ac_compiler --version >&5"
 
3090
case "(($ac_try" in
 
3091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3092
  *) ac_try_echo=$ac_try;;
 
3093
esac
 
3094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3095
  (eval "$ac_compiler --version >&5") 2>&5
 
3096
  ac_status=$?
 
3097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3098
  (exit $ac_status); }
 
3099
{ (ac_try="$ac_compiler -v >&5"
 
3100
case "(($ac_try" in
 
3101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3102
  *) ac_try_echo=$ac_try;;
 
3103
esac
 
3104
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3105
  (eval "$ac_compiler -v >&5") 2>&5
 
3106
  ac_status=$?
 
3107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3108
  (exit $ac_status); }
 
3109
{ (ac_try="$ac_compiler -V >&5"
 
3110
case "(($ac_try" in
 
3111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3112
  *) ac_try_echo=$ac_try;;
 
3113
esac
 
3114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3115
  (eval "$ac_compiler -V >&5") 2>&5
 
3116
  ac_status=$?
 
3117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3118
  (exit $ac_status); }
 
3119
 
 
3120
cat >conftest.$ac_ext <<_ACEOF
 
3121
/* confdefs.h.  */
 
3122
_ACEOF
 
3123
cat confdefs.h >>conftest.$ac_ext
 
3124
cat >>conftest.$ac_ext <<_ACEOF
 
3125
/* end confdefs.h.  */
 
3126
 
 
3127
int
 
3128
main ()
 
3129
{
 
3130
 
 
3131
  ;
 
3132
  return 0;
 
3133
}
 
3134
_ACEOF
 
3135
ac_clean_files_save=$ac_clean_files
 
3136
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3137
# Try to create an executable without -o first, disregard a.out.
 
3138
# It will help us diagnose broken compilers, and finding out an intuition
 
3139
# of exeext.
 
3140
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3141
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
3142
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3143
#
 
3144
# List of possible output files, starting from the most likely.
 
3145
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3146
# only as a last resort.  b.out is created by i960 compilers.
 
3147
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3148
#
 
3149
# The IRIX 6 linker writes into existing files which may not be
 
3150
# executable, retaining their permissions.  Remove them first so a
 
3151
# subsequent execution test works.
 
3152
ac_rmfiles=
 
3153
for ac_file in $ac_files
 
3154
do
 
3155
  case $ac_file in
 
3156
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3157
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3158
  esac
 
3159
done
 
3160
rm -f $ac_rmfiles
 
3161
 
 
3162
if { (ac_try="$ac_link_default"
 
3163
case "(($ac_try" in
 
3164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3165
  *) ac_try_echo=$ac_try;;
 
3166
esac
 
3167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3168
  (eval "$ac_link_default") 2>&5
 
3169
  ac_status=$?
 
3170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3171
  (exit $ac_status); }; then
 
3172
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3173
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3174
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3175
# so that the user can short-circuit this test for compilers unknown to
 
3176
# Autoconf.
 
3177
for ac_file in $ac_files ''
 
3178
do
 
3179
  test -f "$ac_file" || continue
 
3180
  case $ac_file in
 
3181
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3182
        ;;
 
3183
    [ab].out )
 
3184
        # We found the default executable, but exeext='' is most
 
3185
        # certainly right.
 
3186
        break;;
 
3187
    *.* )
 
3188
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3189
        then :; else
 
3190
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3191
        fi
 
3192
        # We set ac_cv_exeext here because the later test for it is not
 
3193
        # safe: cross compilers may not add the suffix if given an `-o'
 
3194
        # argument, so we may need to know it at that point already.
 
3195
        # Even if this section looks crufty: it has the advantage of
 
3196
        # actually working.
 
3197
        break;;
 
3198
    * )
 
3199
        break;;
 
3200
  esac
 
3201
done
 
3202
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3203
 
 
3204
else
 
3205
  ac_file=''
 
3206
fi
 
3207
 
 
3208
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3209
echo "${ECHO_T}$ac_file" >&6; }
 
3210
if test -z "$ac_file"; then
 
3211
  echo "$as_me: failed program was:" >&5
 
3212
sed 's/^/| /' conftest.$ac_ext >&5
 
3213
 
 
3214
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3215
See \`config.log' for more details." >&5
 
3216
echo "$as_me: error: C compiler cannot create executables
 
3217
See \`config.log' for more details." >&2;}
 
3218
   { (exit 77); exit 77; }; }
 
3219
fi
 
3220
 
 
3221
ac_exeext=$ac_cv_exeext
 
3222
 
 
3223
# Check that the compiler produces executables we can run.  If not, either
 
3224
# the compiler is broken, or we cross compile.
 
3225
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3226
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3227
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
3228
# If not cross compiling, check that we can run a simple program.
 
3229
if test "$cross_compiling" != yes; then
 
3230
  if { ac_try='./$ac_file'
 
3231
  { (case "(($ac_try" in
 
3232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3233
  *) ac_try_echo=$ac_try;;
 
3234
esac
 
3235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3236
  (eval "$ac_try") 2>&5
 
3237
  ac_status=$?
 
3238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3239
  (exit $ac_status); }; }; then
 
3240
    cross_compiling=no
 
3241
  else
 
3242
    if test "$cross_compiling" = maybe; then
 
3243
        cross_compiling=yes
 
3244
    else
 
3245
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3246
If you meant to cross compile, use \`--host'.
 
3247
See \`config.log' for more details." >&5
 
3248
echo "$as_me: error: cannot run C compiled programs.
 
3249
If you meant to cross compile, use \`--host'.
 
3250
See \`config.log' for more details." >&2;}
 
3251
   { (exit 1); exit 1; }; }
 
3252
    fi
 
3253
  fi
 
3254
fi
 
3255
{ echo "$as_me:$LINENO: result: yes" >&5
 
3256
echo "${ECHO_T}yes" >&6; }
 
3257
 
 
3258
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3259
ac_clean_files=$ac_clean_files_save
 
3260
# Check that the compiler produces executables we can run.  If not, either
 
3261
# the compiler is broken, or we cross compile.
 
3262
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3263
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3264
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3265
echo "${ECHO_T}$cross_compiling" >&6; }
 
3266
 
 
3267
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3268
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3269
if { (ac_try="$ac_link"
 
3270
case "(($ac_try" in
 
3271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3272
  *) ac_try_echo=$ac_try;;
 
3273
esac
 
3274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3275
  (eval "$ac_link") 2>&5
 
3276
  ac_status=$?
 
3277
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3278
  (exit $ac_status); }; then
 
3279
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3280
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3281
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3282
# `rm'.
 
3283
for ac_file in conftest.exe conftest conftest.*; do
 
3284
  test -f "$ac_file" || continue
 
3285
  case $ac_file in
 
3286
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3287
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3288
          break;;
 
3289
    * ) break;;
 
3290
  esac
 
3291
done
 
3292
else
 
3293
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3294
See \`config.log' for more details." >&5
 
3295
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3296
See \`config.log' for more details." >&2;}
 
3297
   { (exit 1); exit 1; }; }
 
3298
fi
 
3299
 
 
3300
rm -f conftest$ac_cv_exeext
 
3301
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3302
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3303
 
 
3304
rm -f conftest.$ac_ext
 
3305
EXEEXT=$ac_cv_exeext
 
3306
ac_exeext=$EXEEXT
 
3307
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3308
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3309
if test "${ac_cv_objext+set}" = set; then
 
3310
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3311
else
 
3312
  cat >conftest.$ac_ext <<_ACEOF
 
3313
/* confdefs.h.  */
 
3314
_ACEOF
 
3315
cat confdefs.h >>conftest.$ac_ext
 
3316
cat >>conftest.$ac_ext <<_ACEOF
 
3317
/* end confdefs.h.  */
 
3318
 
 
3319
int
 
3320
main ()
 
3321
{
 
3322
 
 
3323
  ;
 
3324
  return 0;
 
3325
}
 
3326
_ACEOF
 
3327
rm -f conftest.o conftest.obj
 
3328
if { (ac_try="$ac_compile"
 
3329
case "(($ac_try" in
 
3330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3331
  *) ac_try_echo=$ac_try;;
 
3332
esac
 
3333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3334
  (eval "$ac_compile") 2>&5
 
3335
  ac_status=$?
 
3336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3337
  (exit $ac_status); }; then
 
3338
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3339
  test -f "$ac_file" || continue;
 
3340
  case $ac_file in
 
3341
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3342
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3343
       break;;
 
3344
  esac
 
3345
done
 
3346
else
 
3347
  echo "$as_me: failed program was:" >&5
 
3348
sed 's/^/| /' conftest.$ac_ext >&5
 
3349
 
 
3350
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3351
See \`config.log' for more details." >&5
 
3352
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3353
See \`config.log' for more details." >&2;}
 
3354
   { (exit 1); exit 1; }; }
 
3355
fi
 
3356
 
 
3357
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3358
fi
 
3359
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3360
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3361
OBJEXT=$ac_cv_objext
 
3362
ac_objext=$OBJEXT
 
3363
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3364
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3365
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3366
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3367
else
 
3368
  cat >conftest.$ac_ext <<_ACEOF
 
3369
/* confdefs.h.  */
 
3370
_ACEOF
 
3371
cat confdefs.h >>conftest.$ac_ext
 
3372
cat >>conftest.$ac_ext <<_ACEOF
 
3373
/* end confdefs.h.  */
 
3374
 
 
3375
int
 
3376
main ()
 
3377
{
 
3378
#ifndef __GNUC__
 
3379
       choke me
 
3380
#endif
 
3381
 
 
3382
  ;
 
3383
  return 0;
 
3384
}
 
3385
_ACEOF
 
3386
rm -f conftest.$ac_objext
 
3387
if { (ac_try="$ac_compile"
 
3388
case "(($ac_try" in
 
3389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3390
  *) ac_try_echo=$ac_try;;
 
3391
esac
 
3392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3393
  (eval "$ac_compile") 2>conftest.er1
 
3394
  ac_status=$?
 
3395
  grep -v '^ *+' conftest.er1 >conftest.err
 
3396
  rm -f conftest.er1
 
3397
  cat conftest.err >&5
 
3398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3399
  (exit $ac_status); } && {
 
3400
         test -z "$ac_c_werror_flag" ||
 
3401
         test ! -s conftest.err
 
3402
       } && test -s conftest.$ac_objext; then
 
3403
  ac_compiler_gnu=yes
 
3404
else
 
3405
  echo "$as_me: failed program was:" >&5
 
3406
sed 's/^/| /' conftest.$ac_ext >&5
 
3407
 
 
3408
        ac_compiler_gnu=no
 
3409
fi
 
3410
 
 
3411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3412
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3413
 
 
3414
fi
 
3415
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3416
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
3417
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3418
ac_test_CFLAGS=${CFLAGS+set}
 
3419
ac_save_CFLAGS=$CFLAGS
 
3420
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3421
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3422
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3423
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3424
else
 
3425
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3426
   ac_c_werror_flag=yes
 
3427
   ac_cv_prog_cc_g=no
 
3428
   CFLAGS="-g"
 
3429
   cat >conftest.$ac_ext <<_ACEOF
 
3430
/* confdefs.h.  */
 
3431
_ACEOF
 
3432
cat confdefs.h >>conftest.$ac_ext
 
3433
cat >>conftest.$ac_ext <<_ACEOF
 
3434
/* end confdefs.h.  */
 
3435
 
 
3436
int
 
3437
main ()
 
3438
{
 
3439
 
 
3440
  ;
 
3441
  return 0;
 
3442
}
 
3443
_ACEOF
 
3444
rm -f conftest.$ac_objext
 
3445
if { (ac_try="$ac_compile"
 
3446
case "(($ac_try" in
 
3447
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3448
  *) ac_try_echo=$ac_try;;
 
3449
esac
 
3450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3451
  (eval "$ac_compile") 2>conftest.er1
 
3452
  ac_status=$?
 
3453
  grep -v '^ *+' conftest.er1 >conftest.err
 
3454
  rm -f conftest.er1
 
3455
  cat conftest.err >&5
 
3456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3457
  (exit $ac_status); } && {
 
3458
         test -z "$ac_c_werror_flag" ||
 
3459
         test ! -s conftest.err
 
3460
       } && test -s conftest.$ac_objext; then
 
3461
  ac_cv_prog_cc_g=yes
 
3462
else
 
3463
  echo "$as_me: failed program was:" >&5
 
3464
sed 's/^/| /' conftest.$ac_ext >&5
 
3465
 
 
3466
        CFLAGS=""
 
3467
      cat >conftest.$ac_ext <<_ACEOF
 
3468
/* confdefs.h.  */
 
3469
_ACEOF
 
3470
cat confdefs.h >>conftest.$ac_ext
 
3471
cat >>conftest.$ac_ext <<_ACEOF
 
3472
/* end confdefs.h.  */
 
3473
 
 
3474
int
 
3475
main ()
 
3476
{
 
3477
 
 
3478
  ;
 
3479
  return 0;
 
3480
}
 
3481
_ACEOF
 
3482
rm -f conftest.$ac_objext
 
3483
if { (ac_try="$ac_compile"
 
3484
case "(($ac_try" in
 
3485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3486
  *) ac_try_echo=$ac_try;;
 
3487
esac
 
3488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3489
  (eval "$ac_compile") 2>conftest.er1
 
3490
  ac_status=$?
 
3491
  grep -v '^ *+' conftest.er1 >conftest.err
 
3492
  rm -f conftest.er1
 
3493
  cat conftest.err >&5
 
3494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3495
  (exit $ac_status); } && {
 
3496
         test -z "$ac_c_werror_flag" ||
 
3497
         test ! -s conftest.err
 
3498
       } && test -s conftest.$ac_objext; then
 
3499
  :
 
3500
else
 
3501
  echo "$as_me: failed program was:" >&5
 
3502
sed 's/^/| /' conftest.$ac_ext >&5
 
3503
 
 
3504
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3505
         CFLAGS="-g"
 
3506
         cat >conftest.$ac_ext <<_ACEOF
 
3507
/* confdefs.h.  */
 
3508
_ACEOF
 
3509
cat confdefs.h >>conftest.$ac_ext
 
3510
cat >>conftest.$ac_ext <<_ACEOF
 
3511
/* end confdefs.h.  */
 
3512
 
 
3513
int
 
3514
main ()
 
3515
{
 
3516
 
 
3517
  ;
 
3518
  return 0;
 
3519
}
 
3520
_ACEOF
 
3521
rm -f conftest.$ac_objext
 
3522
if { (ac_try="$ac_compile"
 
3523
case "(($ac_try" in
 
3524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3525
  *) ac_try_echo=$ac_try;;
 
3526
esac
 
3527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3528
  (eval "$ac_compile") 2>conftest.er1
 
3529
  ac_status=$?
 
3530
  grep -v '^ *+' conftest.er1 >conftest.err
 
3531
  rm -f conftest.er1
 
3532
  cat conftest.err >&5
 
3533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3534
  (exit $ac_status); } && {
 
3535
         test -z "$ac_c_werror_flag" ||
 
3536
         test ! -s conftest.err
 
3537
       } && test -s conftest.$ac_objext; then
 
3538
  ac_cv_prog_cc_g=yes
 
3539
else
 
3540
  echo "$as_me: failed program was:" >&5
 
3541
sed 's/^/| /' conftest.$ac_ext >&5
 
3542
 
 
3543
        
 
3544
fi
 
3545
 
 
3546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3547
fi
 
3548
 
 
3549
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3550
fi
 
3551
 
 
3552
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3553
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3554
fi
 
3555
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3556
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3557
if test "$ac_test_CFLAGS" = set; then
 
3558
  CFLAGS=$ac_save_CFLAGS
 
3559
elif test $ac_cv_prog_cc_g = yes; then
 
3560
  if test "$GCC" = yes; then
 
3561
    CFLAGS="-g -O2"
 
3562
  else
 
3563
    CFLAGS="-g"
 
3564
  fi
 
3565
else
 
3566
  if test "$GCC" = yes; then
 
3567
    CFLAGS="-O2"
 
3568
  else
 
3569
    CFLAGS=
 
3570
  fi
 
3571
fi
 
3572
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3573
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3574
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3575
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3576
else
 
3577
  ac_cv_prog_cc_c89=no
 
3578
ac_save_CC=$CC
 
3579
cat >conftest.$ac_ext <<_ACEOF
 
3580
/* confdefs.h.  */
 
3581
_ACEOF
 
3582
cat confdefs.h >>conftest.$ac_ext
 
3583
cat >>conftest.$ac_ext <<_ACEOF
 
3584
/* end confdefs.h.  */
 
3585
#include <stdarg.h>
 
3586
#include <stdio.h>
 
3587
#include <sys/types.h>
 
3588
#include <sys/stat.h>
 
3589
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3590
struct buf { int x; };
 
3591
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3592
static char *e (p, i)
 
3593
     char **p;
 
3594
     int i;
 
3595
{
 
3596
  return p[i];
 
3597
}
 
3598
static char *f (char * (*g) (char **, int), char **p, ...)
 
3599
{
 
3600
  char *s;
 
3601
  va_list v;
 
3602
  va_start (v,p);
 
3603
  s = g (p, va_arg (v,int));
 
3604
  va_end (v);
 
3605
  return s;
 
3606
}
 
3607
 
 
3608
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3609
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3610
   These don't provoke an error unfortunately, instead are silently treated
 
3611
   as 'x'.  The following induces an error, until -std is added to get
 
3612
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3613
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3614
   that's true only with -std.  */
 
3615
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3616
 
 
3617
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3618
   inside strings and character constants.  */
 
3619
#define FOO(x) 'x'
 
3620
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3621
 
 
3622
int test (int i, double x);
 
3623
struct s1 {int (*f) (int a);};
 
3624
struct s2 {int (*f) (double a);};
 
3625
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3626
int argc;
 
3627
char **argv;
 
3628
int
 
3629
main ()
 
3630
{
 
3631
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3632
  ;
 
3633
  return 0;
 
3634
}
 
3635
_ACEOF
 
3636
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3637
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3638
do
 
3639
  CC="$ac_save_CC $ac_arg"
 
3640
  rm -f conftest.$ac_objext
 
3641
if { (ac_try="$ac_compile"
 
3642
case "(($ac_try" in
 
3643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3644
  *) ac_try_echo=$ac_try;;
 
3645
esac
 
3646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3647
  (eval "$ac_compile") 2>conftest.er1
 
3648
  ac_status=$?
 
3649
  grep -v '^ *+' conftest.er1 >conftest.err
 
3650
  rm -f conftest.er1
 
3651
  cat conftest.err >&5
 
3652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3653
  (exit $ac_status); } && {
 
3654
         test -z "$ac_c_werror_flag" ||
 
3655
         test ! -s conftest.err
 
3656
       } && test -s conftest.$ac_objext; then
 
3657
  ac_cv_prog_cc_c89=$ac_arg
 
3658
else
 
3659
  echo "$as_me: failed program was:" >&5
 
3660
sed 's/^/| /' conftest.$ac_ext >&5
 
3661
 
 
3662
        
 
3663
fi
 
3664
 
 
3665
rm -f core conftest.err conftest.$ac_objext 
 
3666
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3667
done
 
3668
rm -f conftest.$ac_ext
 
3669
CC=$ac_save_CC
 
3670
 
 
3671
fi
 
3672
# AC_CACHE_VAL
 
3673
case "x$ac_cv_prog_cc_c89" in
 
3674
  x)
 
3675
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3676
echo "${ECHO_T}none needed" >&6; } ;;
 
3677
  xno)
 
3678
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3679
echo "${ECHO_T}unsupported" >&6; } ;;
 
3680
  *)
 
3681
    CC="$CC $ac_cv_prog_cc_c89"
 
3682
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3683
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3684
esac
 
3685
 
 
3686
 
 
3687
ac_ext=c
 
3688
ac_cpp='$CPP $CPPFLAGS'
 
3689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3692
DEPDIR="${am__leading_dot}deps"
 
3693
 
 
3694
ac_config_commands="$ac_config_commands depfiles"
 
3695
 
 
3696
 
 
3697
am_make=${MAKE-make}
 
3698
cat > confinc << 'END'
 
3699
am__doit:
 
3700
        @echo done
 
3701
.PHONY: am__doit
 
3702
END
 
3703
# If we don't find an include directive, just comment out the code.
 
3704
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3705
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3706
am__include="#"
 
3707
am__quote=
 
3708
_am_result=none
 
3709
# First try GNU make style include.
 
3710
echo "include confinc" > confmf
 
3711
# We grep out `Entering directory' and `Leaving directory'
 
3712
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3713
# In particular we don't look at `^make:' because GNU make might
 
3714
# be invoked under some other name (usually "gmake"), in which
 
3715
# case it prints its new name instead of `make'.
 
3716
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3717
   am__include=include
 
3718
   am__quote=
 
3719
   _am_result=GNU
 
3720
fi
 
3721
# Now try BSD make style include.
 
3722
if test "$am__include" = "#"; then
 
3723
   echo '.include "confinc"' > confmf
 
3724
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3725
      am__include=.include
 
3726
      am__quote="\""
 
3727
      _am_result=BSD
 
3728
   fi
 
3729
fi
 
3730
 
 
3731
 
 
3732
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3733
echo "${ECHO_T}$_am_result" >&6; }
 
3734
rm -f confinc confmf
 
3735
 
 
3736
# Check whether --enable-dependency-tracking was given.
 
3737
if test "${enable_dependency_tracking+set}" = set; then
 
3738
  enableval=$enable_dependency_tracking; 
 
3739
fi
 
3740
 
 
3741
if test "x$enable_dependency_tracking" != xno; then
 
3742
  am_depcomp="$ac_aux_dir/depcomp"
 
3743
  AMDEPBACKSLASH='\'
 
3744
fi
 
3745
 if test "x$enable_dependency_tracking" != xno; then
 
3746
  AMDEP_TRUE=
 
3747
  AMDEP_FALSE='#'
 
3748
else
 
3749
  AMDEP_TRUE='#'
 
3750
  AMDEP_FALSE=
 
3751
fi
 
3752
 
 
3753
 
 
3754
 
 
3755
depcc="$CC"   am_compiler_list=
 
3756
 
 
3757
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3758
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3759
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3760
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3761
else
 
3762
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3763
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3764
  # making bogus files that we don't know about and never remove.  For
 
3765
  # instance it was reported that on HP-UX the gcc test will end up
 
3766
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3767
  # in D'.
 
3768
  mkdir conftest.dir
 
3769
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3770
  # using a relative directory.
 
3771
  cp "$am_depcomp" conftest.dir
 
3772
  cd conftest.dir
 
3773
  # We will build objects and dependencies in a subdirectory because
 
3774
  # it helps to detect inapplicable dependency modes.  For instance
 
3775
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3776
  # side effect of compilation, but ICC will put the dependencies in
 
3777
  # the current directory while Tru64 will put them in the object
 
3778
  # directory.
 
3779
  mkdir sub
 
3780
 
 
3781
  am_cv_CC_dependencies_compiler_type=none
 
3782
  if test "$am_compiler_list" = ""; then
 
3783
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3784
  fi
 
3785
  for depmode in $am_compiler_list; do
 
3786
    # Setup a source with many dependencies, because some compilers
 
3787
    # like to wrap large dependency lists on column 80 (with \), and
 
3788
    # we should not choose a depcomp mode which is confused by this.
 
3789
    #
 
3790
    # We need to recreate these files for each test, as the compiler may
 
3791
    # overwrite some of them when testing with obscure command lines.
 
3792
    # This happens at least with the AIX C compiler.
 
3793
    : > sub/conftest.c
 
3794
    for i in 1 2 3 4 5 6; do
 
3795
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3796
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3797
      # Solaris 8's {/usr,}/bin/sh.
 
3798
      touch sub/conftst$i.h
 
3799
    done
 
3800
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3801
 
 
3802
    case $depmode in
 
3803
    nosideeffect)
 
3804
      # after this tag, mechanisms are not by side-effect, so they'll
 
3805
      # only be used when explicitly requested
 
3806
      if test "x$enable_dependency_tracking" = xyes; then
 
3807
        continue
 
3808
      else
 
3809
        break
 
3810
      fi
 
3811
      ;;
 
3812
    none) break ;;
 
3813
    esac
 
3814
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3815
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3816
    # handle `-M -o', and we need to detect this.
 
3817
    if depmode=$depmode \
 
3818
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3819
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3820
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3821
         >/dev/null 2>conftest.err &&
 
3822
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3823
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3824
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3825
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3826
      # icc doesn't choke on unknown options, it will just issue warnings
 
3827
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3828
      # that says an option was ignored or not supported.
 
3829
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3830
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3831
      # The diagnosis changed in icc 8.0:
 
3832
      #   icc: Command line remark: option '-MP' not supported
 
3833
      if (grep 'ignoring option' conftest.err ||
 
3834
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3835
        am_cv_CC_dependencies_compiler_type=$depmode
 
3836
        break
 
3837
      fi
 
3838
    fi
 
3839
  done
 
3840
 
 
3841
  cd ..
 
3842
  rm -rf conftest.dir
 
3843
else
 
3844
  am_cv_CC_dependencies_compiler_type=none
 
3845
fi
 
3846
 
 
3847
fi
 
3848
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3849
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3850
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3851
 
 
3852
 if 
 
3853
  test "x$enable_dependency_tracking" != xno \
 
3854
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3855
  am__fastdepCC_TRUE=
 
3856
  am__fastdepCC_FALSE='#'
 
3857
else
 
3858
  am__fastdepCC_TRUE='#'
 
3859
  am__fastdepCC_FALSE=
 
3860
fi
 
3861
 
 
3862
 
 
3863
 
 
3864
ac_ext=c
 
3865
ac_cpp='$CPP $CPPFLAGS'
 
3866
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3867
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3868
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3869
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3870
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3871
# On Suns, sometimes $CPP names a directory.
 
3872
if test -n "$CPP" && test -d "$CPP"; then
 
3873
  CPP=
 
3874
fi
 
3875
if test -z "$CPP"; then
 
3876
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3877
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3878
else
 
3879
      # Double quotes because CPP needs to be expanded
 
3880
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3881
    do
 
3882
      ac_preproc_ok=false
 
3883
for ac_c_preproc_warn_flag in '' yes
 
3884
do
 
3885
  # Use a header file that comes with gcc, so configuring glibc
 
3886
  # with a fresh cross-compiler works.
 
3887
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3888
  # <limits.h> exists even on freestanding compilers.
 
3889
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3890
  # not just through cpp. "Syntax error" is here to catch this case.
 
3891
  cat >conftest.$ac_ext <<_ACEOF
 
3892
/* confdefs.h.  */
 
3893
_ACEOF
 
3894
cat confdefs.h >>conftest.$ac_ext
 
3895
cat >>conftest.$ac_ext <<_ACEOF
 
3896
/* end confdefs.h.  */
 
3897
@%:@ifdef __STDC__
 
3898
@%:@ include <limits.h>
 
3899
@%:@else
 
3900
@%:@ include <assert.h>
 
3901
@%:@endif
 
3902
                     Syntax error
 
3903
_ACEOF
 
3904
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3905
case "(($ac_try" in
 
3906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3907
  *) ac_try_echo=$ac_try;;
 
3908
esac
 
3909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3910
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3911
  ac_status=$?
 
3912
  grep -v '^ *+' conftest.er1 >conftest.err
 
3913
  rm -f conftest.er1
 
3914
  cat conftest.err >&5
 
3915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3916
  (exit $ac_status); } >/dev/null && {
 
3917
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3918
         test ! -s conftest.err
 
3919
       }; then
 
3920
  :
 
3921
else
 
3922
  echo "$as_me: failed program was:" >&5
 
3923
sed 's/^/| /' conftest.$ac_ext >&5
 
3924
 
 
3925
  # Broken: fails on valid input.
 
3926
continue
 
3927
fi
 
3928
 
 
3929
rm -f conftest.err conftest.$ac_ext
 
3930
 
 
3931
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3932
  # can be detected and how.
 
3933
  cat >conftest.$ac_ext <<_ACEOF
 
3934
/* confdefs.h.  */
 
3935
_ACEOF
 
3936
cat confdefs.h >>conftest.$ac_ext
 
3937
cat >>conftest.$ac_ext <<_ACEOF
 
3938
/* end confdefs.h.  */
 
3939
@%:@include <ac_nonexistent.h>
 
3940
_ACEOF
 
3941
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3942
case "(($ac_try" in
 
3943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3944
  *) ac_try_echo=$ac_try;;
 
3945
esac
 
3946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3947
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3948
  ac_status=$?
 
3949
  grep -v '^ *+' conftest.er1 >conftest.err
 
3950
  rm -f conftest.er1
 
3951
  cat conftest.err >&5
 
3952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3953
  (exit $ac_status); } >/dev/null && {
 
3954
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3955
         test ! -s conftest.err
 
3956
       }; then
 
3957
  # Broken: success on invalid input.
 
3958
continue
 
3959
else
 
3960
  echo "$as_me: failed program was:" >&5
 
3961
sed 's/^/| /' conftest.$ac_ext >&5
 
3962
 
 
3963
  # Passes both tests.
 
3964
ac_preproc_ok=:
 
3965
break
 
3966
fi
 
3967
 
 
3968
rm -f conftest.err conftest.$ac_ext
 
3969
 
 
3970
done
 
3971
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3972
rm -f conftest.err conftest.$ac_ext
 
3973
if $ac_preproc_ok; then
 
3974
  break
 
3975
fi
 
3976
 
 
3977
    done
 
3978
    ac_cv_prog_CPP=$CPP
 
3979
  
 
3980
fi
 
3981
  CPP=$ac_cv_prog_CPP
 
3982
else
 
3983
  ac_cv_prog_CPP=$CPP
 
3984
fi
 
3985
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3986
echo "${ECHO_T}$CPP" >&6; }
 
3987
ac_preproc_ok=false
 
3988
for ac_c_preproc_warn_flag in '' yes
 
3989
do
 
3990
  # Use a header file that comes with gcc, so configuring glibc
 
3991
  # with a fresh cross-compiler works.
 
3992
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3993
  # <limits.h> exists even on freestanding compilers.
 
3994
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3995
  # not just through cpp. "Syntax error" is here to catch this case.
 
3996
  cat >conftest.$ac_ext <<_ACEOF
 
3997
/* confdefs.h.  */
 
3998
_ACEOF
 
3999
cat confdefs.h >>conftest.$ac_ext
 
4000
cat >>conftest.$ac_ext <<_ACEOF
 
4001
/* end confdefs.h.  */
 
4002
@%:@ifdef __STDC__
 
4003
@%:@ include <limits.h>
 
4004
@%:@else
 
4005
@%:@ include <assert.h>
 
4006
@%:@endif
 
4007
                     Syntax error
 
4008
_ACEOF
 
4009
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4010
case "(($ac_try" in
 
4011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4012
  *) ac_try_echo=$ac_try;;
 
4013
esac
 
4014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4015
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4016
  ac_status=$?
 
4017
  grep -v '^ *+' conftest.er1 >conftest.err
 
4018
  rm -f conftest.er1
 
4019
  cat conftest.err >&5
 
4020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4021
  (exit $ac_status); } >/dev/null && {
 
4022
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4023
         test ! -s conftest.err
 
4024
       }; then
 
4025
  :
 
4026
else
 
4027
  echo "$as_me: failed program was:" >&5
 
4028
sed 's/^/| /' conftest.$ac_ext >&5
 
4029
 
 
4030
  # Broken: fails on valid input.
 
4031
continue
 
4032
fi
 
4033
 
 
4034
rm -f conftest.err conftest.$ac_ext
 
4035
 
 
4036
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4037
  # can be detected and how.
 
4038
  cat >conftest.$ac_ext <<_ACEOF
 
4039
/* confdefs.h.  */
 
4040
_ACEOF
 
4041
cat confdefs.h >>conftest.$ac_ext
 
4042
cat >>conftest.$ac_ext <<_ACEOF
 
4043
/* end confdefs.h.  */
 
4044
@%:@include <ac_nonexistent.h>
 
4045
_ACEOF
 
4046
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4047
case "(($ac_try" in
 
4048
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4049
  *) ac_try_echo=$ac_try;;
 
4050
esac
 
4051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4052
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4053
  ac_status=$?
 
4054
  grep -v '^ *+' conftest.er1 >conftest.err
 
4055
  rm -f conftest.er1
 
4056
  cat conftest.err >&5
 
4057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4058
  (exit $ac_status); } >/dev/null && {
 
4059
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4060
         test ! -s conftest.err
 
4061
       }; then
 
4062
  # Broken: success on invalid input.
 
4063
continue
 
4064
else
 
4065
  echo "$as_me: failed program was:" >&5
 
4066
sed 's/^/| /' conftest.$ac_ext >&5
 
4067
 
 
4068
  # Passes both tests.
 
4069
ac_preproc_ok=:
 
4070
break
 
4071
fi
 
4072
 
 
4073
rm -f conftest.err conftest.$ac_ext
 
4074
 
 
4075
done
 
4076
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4077
rm -f conftest.err conftest.$ac_ext
 
4078
if $ac_preproc_ok; then
 
4079
  :
 
4080
else
 
4081
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4082
See \`config.log' for more details." >&5
 
4083
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4084
See \`config.log' for more details." >&2;}
 
4085
   { (exit 1); exit 1; }; }
 
4086
fi
 
4087
 
 
4088
ac_ext=c
 
4089
ac_cpp='$CPP $CPPFLAGS'
 
4090
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4091
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4092
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4093
 
 
4094
 
 
4095
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4096
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4097
if test "${ac_cv_path_GREP+set}" = set; then
 
4098
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4099
else
 
4100
  # Extract the first word of "grep ggrep" to use in msg output
 
4101
if test -z "$GREP"; then
 
4102
set dummy grep ggrep; ac_prog_name=$2
 
4103
if test "${ac_cv_path_GREP+set}" = set; then
 
4104
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4105
else
 
4106
  ac_path_GREP_found=false
 
4107
# Loop through the user's path and test for each of PROGNAME-LIST
 
4108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4109
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4110
do
 
4111
  IFS=$as_save_IFS
 
4112
  test -z "$as_dir" && as_dir=.
 
4113
  for ac_prog in grep ggrep; do
 
4114
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4115
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4116
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4117
    # Check for GNU ac_path_GREP and select it if it is found.
 
4118
  # Check for GNU $ac_path_GREP
 
4119
case `"$ac_path_GREP" --version 2>&1` in
 
4120
*GNU*)
 
4121
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4122
*)
 
4123
  ac_count=0
 
4124
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4125
  while :
 
4126
  do
 
4127
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4128
    mv "conftest.tmp" "conftest.in"
 
4129
    cp "conftest.in" "conftest.nl"
 
4130
    echo 'GREP' >> "conftest.nl"
 
4131
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4132
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4133
    ac_count=`expr $ac_count + 1`
 
4134
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4135
      # Best one so far, save it but keep looking for a better one
 
4136
      ac_cv_path_GREP="$ac_path_GREP"
 
4137
      ac_path_GREP_max=$ac_count
 
4138
    fi
 
4139
    # 10*(2^10) chars as input seems more than enough
 
4140
    test $ac_count -gt 10 && break
 
4141
  done
 
4142
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4143
esac
 
4144
 
 
4145
 
 
4146
    $ac_path_GREP_found && break 3
 
4147
  done
 
4148
done
 
4149
 
 
4150
done
 
4151
IFS=$as_save_IFS
 
4152
 
 
4153
 
 
4154
fi
 
4155
 
 
4156
GREP="$ac_cv_path_GREP"
 
4157
if test -z "$GREP"; then
 
4158
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4159
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4160
   { (exit 1); exit 1; }; }
 
4161
fi
 
4162
 
 
4163
else
 
4164
  ac_cv_path_GREP=$GREP
 
4165
fi
 
4166
 
 
4167
 
 
4168
fi
 
4169
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4170
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4171
 GREP="$ac_cv_path_GREP"
 
4172
 
 
4173
 
 
4174
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4175
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4176
if test "${ac_cv_path_EGREP+set}" = set; then
 
4177
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4178
else
 
4179
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4180
   then ac_cv_path_EGREP="$GREP -E"
 
4181
   else
 
4182
     # Extract the first word of "egrep" to use in msg output
 
4183
if test -z "$EGREP"; then
 
4184
set dummy egrep; ac_prog_name=$2
 
4185
if test "${ac_cv_path_EGREP+set}" = set; then
 
4186
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4187
else
 
4188
  ac_path_EGREP_found=false
 
4189
# Loop through the user's path and test for each of PROGNAME-LIST
 
4190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4191
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4192
do
 
4193
  IFS=$as_save_IFS
 
4194
  test -z "$as_dir" && as_dir=.
 
4195
  for ac_prog in egrep; do
 
4196
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4197
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4198
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4199
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4200
  # Check for GNU $ac_path_EGREP
 
4201
case `"$ac_path_EGREP" --version 2>&1` in
 
4202
*GNU*)
 
4203
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4204
*)
 
4205
  ac_count=0
 
4206
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4207
  while :
 
4208
  do
 
4209
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4210
    mv "conftest.tmp" "conftest.in"
 
4211
    cp "conftest.in" "conftest.nl"
 
4212
    echo 'EGREP' >> "conftest.nl"
 
4213
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4214
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4215
    ac_count=`expr $ac_count + 1`
 
4216
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4217
      # Best one so far, save it but keep looking for a better one
 
4218
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4219
      ac_path_EGREP_max=$ac_count
 
4220
    fi
 
4221
    # 10*(2^10) chars as input seems more than enough
 
4222
    test $ac_count -gt 10 && break
 
4223
  done
 
4224
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4225
esac
 
4226
 
 
4227
 
 
4228
    $ac_path_EGREP_found && break 3
 
4229
  done
 
4230
done
 
4231
 
 
4232
done
 
4233
IFS=$as_save_IFS
 
4234
 
 
4235
 
 
4236
fi
 
4237
 
 
4238
EGREP="$ac_cv_path_EGREP"
 
4239
if test -z "$EGREP"; then
 
4240
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4241
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4242
   { (exit 1); exit 1; }; }
 
4243
fi
 
4244
 
 
4245
else
 
4246
  ac_cv_path_EGREP=$EGREP
 
4247
fi
 
4248
 
 
4249
 
 
4250
   fi
 
4251
fi
 
4252
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4253
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4254
 EGREP="$ac_cv_path_EGREP"
 
4255
 
 
4256
 
 
4257
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4258
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4259
if test "${ac_cv_header_stdc+set}" = set; then
 
4260
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4261
else
 
4262
  cat >conftest.$ac_ext <<_ACEOF
 
4263
/* confdefs.h.  */
 
4264
_ACEOF
 
4265
cat confdefs.h >>conftest.$ac_ext
 
4266
cat >>conftest.$ac_ext <<_ACEOF
 
4267
/* end confdefs.h.  */
 
4268
#include <stdlib.h>
 
4269
#include <stdarg.h>
 
4270
#include <string.h>
 
4271
#include <float.h>
 
4272
 
 
4273
int
 
4274
main ()
 
4275
{
 
4276
 
 
4277
  ;
 
4278
  return 0;
 
4279
}
 
4280
_ACEOF
 
4281
rm -f conftest.$ac_objext
 
4282
if { (ac_try="$ac_compile"
 
4283
case "(($ac_try" in
 
4284
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4285
  *) ac_try_echo=$ac_try;;
 
4286
esac
 
4287
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4288
  (eval "$ac_compile") 2>conftest.er1
 
4289
  ac_status=$?
 
4290
  grep -v '^ *+' conftest.er1 >conftest.err
 
4291
  rm -f conftest.er1
 
4292
  cat conftest.err >&5
 
4293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4294
  (exit $ac_status); } && {
 
4295
         test -z "$ac_c_werror_flag" ||
 
4296
         test ! -s conftest.err
 
4297
       } && test -s conftest.$ac_objext; then
 
4298
  ac_cv_header_stdc=yes
 
4299
else
 
4300
  echo "$as_me: failed program was:" >&5
 
4301
sed 's/^/| /' conftest.$ac_ext >&5
 
4302
 
 
4303
        ac_cv_header_stdc=no
 
4304
fi
 
4305
 
 
4306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4307
 
 
4308
if test $ac_cv_header_stdc = yes; then
 
4309
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4310
  cat >conftest.$ac_ext <<_ACEOF
 
4311
/* confdefs.h.  */
 
4312
_ACEOF
 
4313
cat confdefs.h >>conftest.$ac_ext
 
4314
cat >>conftest.$ac_ext <<_ACEOF
 
4315
/* end confdefs.h.  */
 
4316
#include <string.h>
 
4317
 
 
4318
_ACEOF
 
4319
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4320
  $EGREP "memchr" >/dev/null 2>&1; then
 
4321
  :
 
4322
else
 
4323
  ac_cv_header_stdc=no
 
4324
fi
 
4325
rm -f conftest*
 
4326
 
 
4327
fi
 
4328
 
 
4329
if test $ac_cv_header_stdc = yes; then
 
4330
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4331
  cat >conftest.$ac_ext <<_ACEOF
 
4332
/* confdefs.h.  */
 
4333
_ACEOF
 
4334
cat confdefs.h >>conftest.$ac_ext
 
4335
cat >>conftest.$ac_ext <<_ACEOF
 
4336
/* end confdefs.h.  */
 
4337
#include <stdlib.h>
 
4338
 
 
4339
_ACEOF
 
4340
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4341
  $EGREP "free" >/dev/null 2>&1; then
 
4342
  :
 
4343
else
 
4344
  ac_cv_header_stdc=no
 
4345
fi
 
4346
rm -f conftest*
 
4347
 
 
4348
fi
 
4349
 
 
4350
if test $ac_cv_header_stdc = yes; then
 
4351
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4352
  if test "$cross_compiling" = yes; then
 
4353
  :
 
4354
else
 
4355
  cat >conftest.$ac_ext <<_ACEOF
 
4356
/* confdefs.h.  */
 
4357
_ACEOF
 
4358
cat confdefs.h >>conftest.$ac_ext
 
4359
cat >>conftest.$ac_ext <<_ACEOF
 
4360
/* end confdefs.h.  */
 
4361
#include <ctype.h>
 
4362
#include <stdlib.h>
 
4363
#if ((' ' & 0x0FF) == 0x020)
 
4364
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4365
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4366
#else
 
4367
# define ISLOWER(c) \
 
4368
                   (('a' <= (c) && (c) <= 'i') \
 
4369
                     || ('j' <= (c) && (c) <= 'r') \
 
4370
                     || ('s' <= (c) && (c) <= 'z'))
 
4371
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4372
#endif
 
4373
 
 
4374
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4375
int
 
4376
main ()
 
4377
{
 
4378
  int i;
 
4379
  for (i = 0; i < 256; i++)
 
4380
    if (XOR (islower (i), ISLOWER (i))
 
4381
        || toupper (i) != TOUPPER (i))
 
4382
      return 2;
 
4383
  return 0;
 
4384
}
 
4385
_ACEOF
 
4386
rm -f conftest$ac_exeext
 
4387
if { (ac_try="$ac_link"
 
4388
case "(($ac_try" in
 
4389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4390
  *) ac_try_echo=$ac_try;;
 
4391
esac
 
4392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4393
  (eval "$ac_link") 2>&5
 
4394
  ac_status=$?
 
4395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4396
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4397
  { (case "(($ac_try" in
 
4398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4399
  *) ac_try_echo=$ac_try;;
 
4400
esac
 
4401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4402
  (eval "$ac_try") 2>&5
 
4403
  ac_status=$?
 
4404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4405
  (exit $ac_status); }; }; then
 
4406
  :
 
4407
else
 
4408
  echo "$as_me: program exited with status $ac_status" >&5
 
4409
echo "$as_me: failed program was:" >&5
 
4410
sed 's/^/| /' conftest.$ac_ext >&5
 
4411
 
 
4412
( exit $ac_status )
 
4413
ac_cv_header_stdc=no
 
4414
fi
 
4415
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4416
fi
 
4417
 
 
4418
 
 
4419
fi
 
4420
fi
 
4421
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4422
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4423
if test $ac_cv_header_stdc = yes; then
 
4424
  
 
4425
cat >>confdefs.h <<\_ACEOF
 
4426
@%:@define STDC_HEADERS 1
 
4427
_ACEOF
 
4428
 
 
4429
fi
 
4430
 
 
4431
 
 
4432
{ echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
 
4433
echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
 
4434
if test "${ac_cv_lib_m_sqrt+set}" = set; then
 
4435
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4436
else
 
4437
  ac_check_lib_save_LIBS=$LIBS
 
4438
LIBS="-lm  $LIBS"
 
4439
cat >conftest.$ac_ext <<_ACEOF
 
4440
/* confdefs.h.  */
 
4441
_ACEOF
 
4442
cat confdefs.h >>conftest.$ac_ext
 
4443
cat >>conftest.$ac_ext <<_ACEOF
 
4444
/* end confdefs.h.  */
 
4445
 
 
4446
/* Override any GCC internal prototype to avoid an error.
 
4447
   Use char because int might match the return type of a GCC
 
4448
   builtin and then its argument prototype would still apply.  */
 
4449
#ifdef __cplusplus
 
4450
extern "C"
 
4451
#endif
 
4452
char sqrt ();
 
4453
int
 
4454
main ()
 
4455
{
 
4456
return sqrt ();
 
4457
  ;
 
4458
  return 0;
 
4459
}
 
4460
_ACEOF
 
4461
rm -f conftest.$ac_objext conftest$ac_exeext
 
4462
if { (ac_try="$ac_link"
 
4463
case "(($ac_try" in
 
4464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4465
  *) ac_try_echo=$ac_try;;
 
4466
esac
 
4467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4468
  (eval "$ac_link") 2>conftest.er1
 
4469
  ac_status=$?
 
4470
  grep -v '^ *+' conftest.er1 >conftest.err
 
4471
  rm -f conftest.er1
 
4472
  cat conftest.err >&5
 
4473
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4474
  (exit $ac_status); } && {
 
4475
         test -z "$ac_c_werror_flag" ||
 
4476
         test ! -s conftest.err
 
4477
       } && test -s conftest$ac_exeext &&
 
4478
       $as_test_x conftest$ac_exeext; then
 
4479
  ac_cv_lib_m_sqrt=yes
 
4480
else
 
4481
  echo "$as_me: failed program was:" >&5
 
4482
sed 's/^/| /' conftest.$ac_ext >&5
 
4483
 
 
4484
        ac_cv_lib_m_sqrt=no
 
4485
fi
 
4486
 
 
4487
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4488
      conftest$ac_exeext conftest.$ac_ext
 
4489
LIBS=$ac_check_lib_save_LIBS
 
4490
fi
 
4491
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
 
4492
echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
 
4493
if test $ac_cv_lib_m_sqrt = yes; then
 
4494
  cat >>confdefs.h <<_ACEOF
 
4495
@%:@define HAVE_LIBM 1
 
4496
_ACEOF
 
4497
 
 
4498
  LIBS="-lm $LIBS"
 
4499
 
 
4500
fi
 
4501
 
 
4502
 
 
4503
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
 
 
4509
 
 
4510
 
 
4511
 
 
4512
 
 
4513
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4514
                  inttypes.h stdint.h unistd.h
 
4515
do
 
4516
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4517
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4518
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4519
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4520
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4521
else
 
4522
  cat >conftest.$ac_ext <<_ACEOF
 
4523
/* confdefs.h.  */
 
4524
_ACEOF
 
4525
cat confdefs.h >>conftest.$ac_ext
 
4526
cat >>conftest.$ac_ext <<_ACEOF
 
4527
/* end confdefs.h.  */
 
4528
$ac_includes_default
 
4529
 
 
4530
@%:@include <$ac_header>
 
4531
_ACEOF
 
4532
rm -f conftest.$ac_objext
 
4533
if { (ac_try="$ac_compile"
 
4534
case "(($ac_try" in
 
4535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4536
  *) ac_try_echo=$ac_try;;
 
4537
esac
 
4538
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4539
  (eval "$ac_compile") 2>conftest.er1
 
4540
  ac_status=$?
 
4541
  grep -v '^ *+' conftest.er1 >conftest.err
 
4542
  rm -f conftest.er1
 
4543
  cat conftest.err >&5
 
4544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4545
  (exit $ac_status); } && {
 
4546
         test -z "$ac_c_werror_flag" ||
 
4547
         test ! -s conftest.err
 
4548
       } && test -s conftest.$ac_objext; then
 
4549
  eval "$as_ac_Header=yes"
 
4550
else
 
4551
  echo "$as_me: failed program was:" >&5
 
4552
sed 's/^/| /' conftest.$ac_ext >&5
 
4553
 
 
4554
        eval "$as_ac_Header=no"
 
4555
fi
 
4556
 
 
4557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4558
fi
 
4559
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4560
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4561
echo "${ECHO_T}$ac_res" >&6; }
 
4562
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4563
  cat >>confdefs.h <<_ACEOF
 
4564
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4565
_ACEOF
 
4566
 
 
4567
fi
 
4568
 
 
4569
done
 
4570
 
 
4571
 
 
4572
 
 
4573
 
 
4574
 
 
4575
 
 
4576
 
 
4577
 
 
4578
# Check whether --with-64bits was given.
 
4579
if test "${with_64bits+set}" = set; then
 
4580
  withval=$with_64bits; 
 
4581
fi
 
4582
 
 
4583
 
 
4584
 
 
4585
if test -z "$host"; then
 
4586
  host=unknown
 
4587
fi
 
4588
canonical_host_type=$host
 
4589
if test "$host" = unknown; then
 
4590
  { { echo "$as_me:$LINENO: error: unknown system type, your build will most likely be screwed. quitting." >&5
 
4591
echo "$as_me: error: unknown system type, your build will most likely be screwed. quitting." >&2;}
 
4592
   { (exit 1); exit 1; }; }
 
4593
fi
 
4594
 
 
4595
B64FLAGS=
 
4596
B64CFLAGS=
 
4597
B64FCFLAGS=
 
4598
B64FFLAGS=
 
4599
B64CXXFLAGS=
 
4600
orig_CFLAGS=$CFLAGS
 
4601
orig_FFLAGS=$FFLAGS
 
4602
orig_FCFLAGS=$FCFLAGS
 
4603
orig_CXXFLAGS=$CXXFLAGS
 
4604
 
 
4605
 
 
4606
{ echo "$as_me:$LINENO: checking for 64 bit compilation flags" >&5
 
4607
echo $ECHO_N "checking for 64 bit compilation flags... $ECHO_C" >&6; }
 
4608
 
 
4609
if test "$with_64bits" = no; then
 
4610
   { echo "$as_me:$LINENO: result: not even going to try" >&5
 
4611
echo "${ECHO_T}not even going to try" >&6; }
 
4612
else
 
4613
   { echo "$as_me:$LINENO: result: let's see what happens" >&5
 
4614
echo "${ECHO_T}let's see what happens" >&6; }
 
4615
 
 
4616
case "$canonical_host_type" in
 
4617
  *-*-386bsd* | *-*-openbsd* | *-*-netbsd*)
 
4618
  ;;
 
4619
  *-*-freebsd*)
 
4620
  ;;
 
4621
  alpha*-dec-osf*)
 
4622
  ;;
 
4623
  *-*-darwin*)
 
4624
  ;;
 
4625
  *-*-cygwin* | *-*-mingw*)
 
4626
  ;;
 
4627
  *-*-linux* | *-*-gnu*)
 
4628
        B64FLAGS="-m64 -fPIC"
 
4629
                if test x"$FC" != x; then
 
4630
        case "$FC" in
 
4631
          ifort | ifc)
 
4632
                true
 
4633
                ;;
 
4634
          g95 | gfortran)
 
4635
                B64FCFLAGS=$B64FLAGS
 
4636
                ;;
 
4637
          pgf*)
 
4638
                # portland group
 
4639
                B64FCFLAGS="-fPIC"
 
4640
                ;;
 
4641
          *)
 
4642
                B64FCFLAGS=$B64FLAGS
 
4643
                ;;
 
4644
        esac
 
4645
        fi
 
4646
 
 
4647
        if test x"$F77" != x; then
 
4648
        case "$F77" in 
 
4649
          ifort | ifc)
 
4650
                true
 
4651
          ;;
 
4652
          pgf*)
 
4653
                # portland group
 
4654
                B64FFLAGS="-fPIC"
 
4655
                ;;
 
4656
          *)
 
4657
              B64FFLAGS=$B64FLAGS
 
4658
          ;;
 
4659
        esac
 
4660
        fi
 
4661
 
 
4662
        if test x"$CC" != x; then
 
4663
        case "$CC" in 
 
4664
          icc | icc)
 
4665
                true
 
4666
          ;;
 
4667
          pgcc*)
 
4668
                # portland group
 
4669
                B64CFLAGS="-fPIC"
 
4670
                ;;
 
4671
          *)
 
4672
              B64CFLAGS=$B64FLAGS
 
4673
          ;;
 
4674
        esac
 
4675
        fi
 
4676
 
 
4677
        if test x"$CXX" != x; then
 
4678
        case "$CXX" in 
 
4679
          icc | icc)
 
4680
                true
 
4681
          ;;
 
4682
          pgC*)
 
4683
                # portland group
 
4684
                B64CXXFLAGS="-fPIC"
 
4685
          ;;
 
4686
          *)
 
4687
                B64CXXFLAGS=$B64FLAGS
 
4688
          ;;
 
4689
        esac
 
4690
        fi
 
4691
  ;;
 
4692
  rs6000-ibm-aix* | powerpc-ibm-aix*)
 
4693
        B64FLAGS="-q64"
 
4694
 
 
4695
        if test "$acx_ar_userdefined" = no; then
 
4696
          # aix has problems with 64 bits and ar, this fixes it
 
4697
          AR='ar -Xany'
 
4698
          
 
4699
          { echo "$as_me:$LINENO: checking for 64 bit ar" >&5
 
4700
echo $ECHO_N "checking for 64 bit ar... $ECHO_C" >&6; }
 
4701
          { echo "$as_me:$LINENO: result: $AR" >&5
 
4702
echo "${ECHO_T}$AR" >&6; }
 
4703
        fi
 
4704
 
 
4705
        if test x"$FC" != x; then
 
4706
        case "$FC" in 
 
4707
          g*)
 
4708
                B64CFLAGS="-m64"
 
4709
          ;;
 
4710
          *)
 
4711
          # hopefully ibm visual age
 
4712
                B64FCFLAGS=$B64FLAGS
 
4713
          ;;
 
4714
        esac
 
4715
        fi
 
4716
 
 
4717
        if test x"$F77" != x; then
 
4718
        case "$F77" in
 
4719
          g*)
 
4720
                B64FFLAGS="-m64"
 
4721
          ;;
 
4722
          *)
 
4723
                B64FFLAGS=$B64FLAGS
 
4724
          ;;
 
4725
        esac
 
4726
        fi
 
4727
        
 
4728
        if test x"$CC" != x; then
 
4729
        case "$CC" in
 
4730
          g*)
 
4731
                B64CFLAGS="-m64"
 
4732
          ;;
 
4733
          *)
 
4734
                B64CFLAGS=$B64FLAGS
 
4735
          ;;
 
4736
        esac
 
4737
        fi
 
4738
        
 
4739
        if test x"$CXX" != x; then
 
4740
        case "$CXX" in 
 
4741
          g*)
 
4742
                B64CFLAGS="-m64"
 
4743
          ;;
 
4744
          *)
 
4745
                B64CXXFLAGS=$B64FLAGS
 
4746
          ;;
 
4747
        esac
 
4748
        fi
 
4749
  ;;
 
4750
  hppa*-hp-hpux*)
 
4751
  ;;
 
4752
  *-sgi-*)
 
4753
  ;;
 
4754
  sparc-sun-sunos4*)
 
4755
  ;;
 
4756
  sparc-sun-solaris2* | i386-pc-solaris2*)
 
4757
        B64FLAGS="-xtarget=native64 -KPIC"
 
4758
        SUN_64BIT_FLAGS=$B64FLAGS
 
4759
 
 
4760
        if test x"$FC" != x; then
 
4761
        case "$FC" in 
 
4762
          g*)
 
4763
                B64CFLAGS="-m64"
 
4764
          ;;
 
4765
          mpf* | f*)
 
4766
                B64FCFLAGS=$SUN_64BIT_FLAGS
 
4767
          ;;
 
4768
        esac
 
4769
        fi
 
4770
 
 
4771
        if test x"$F77" != x; then
 
4772
        case "$F77" in
 
4773
          g*)
 
4774
                B64FFLAGS="-m64"
 
4775
          ;;
 
4776
          mpf* | f*)
 
4777
                B64FFLAGS=$SUN_64BIT_FLAGS
 
4778
          ;;
 
4779
        esac
 
4780
        fi
 
4781
        
 
4782
        if test x"$CC" != x; then
 
4783
        case "$CC" in
 
4784
          g*)
 
4785
                B64CFLAGS="-m64"
 
4786
          ;;
 
4787
          *)
 
4788
                B64CFLAGS=$SUN_64BIT_FLAGS
 
4789
          ;;
 
4790
        esac
 
4791
        fi
 
4792
        
 
4793
        if test x"$CXX" != x; then
 
4794
        case "$CXX" in 
 
4795
          g*)
 
4796
                B64CFLAGS="-m64"
 
4797
          ;;
 
4798
          mpCC | CC)
 
4799
                B64CXXFLAGS=$SUN_64BIT_FLAGS
 
4800
          ;;
 
4801
        esac
 
4802
        fi
 
4803
  ;;
 
4804
esac
 
4805
 
 
4806
if test "$with_64bits" != no; then
 
4807
        if test x"$CC" != x; then
 
4808
           { echo "$as_me:$LINENO: checking for 64 bit CFLAGS" >&5
 
4809
echo $ECHO_N "checking for 64 bit CFLAGS... $ECHO_C" >&6; }
 
4810
           { echo "$as_me:$LINENO: result: $B64CFLAGS" >&5
 
4811
echo "${ECHO_T}$B64CFLAGS" >&6; }
 
4812
           CFLAGS="$CFLAGS $B64CFLAGS"
 
4813
        fi
 
4814
 
 
4815
        if test x"$FC" != x; then
 
4816
           { echo "$as_me:$LINENO: checking for 64 bit FCFLAGS" >&5
 
4817
echo $ECHO_N "checking for 64 bit FCFLAGS... $ECHO_C" >&6; }
 
4818
           { echo "$as_me:$LINENO: result: $B64FCFLAGS" >&5
 
4819
echo "${ECHO_T}$B64FCFLAGS" >&6; }
 
4820
           FCFLAGS="$FCFLAGS $B64FCFLAGS"
 
4821
        fi
 
4822
 
 
4823
        if test x"$CXX" != x; then
 
4824
           { echo "$as_me:$LINENO: checking for 64 bit CXXFLAGS" >&5
 
4825
echo $ECHO_N "checking for 64 bit CXXFLAGS... $ECHO_C" >&6; }
 
4826
           { echo "$as_me:$LINENO: result: $B64CXXFLAGS " >&5
 
4827
echo "${ECHO_T}$B64CXXFLAGS     " >&6; }
 
4828
           CXXFLAGS="$CXXFLAGS $B64CXXFLAGS"
 
4829
        fi
 
4830
 
 
4831
        if test x"$F77" != x; then
 
4832
          { echo "$as_me:$LINENO: checking for 64 bit FFLAGS" >&5
 
4833
echo $ECHO_N "checking for 64 bit FFLAGS... $ECHO_C" >&6; }
 
4834
          { echo "$as_me:$LINENO: result: $B64FFLAGS" >&5
 
4835
echo "${ECHO_T}$B64FFLAGS" >&6; }
 
4836
          FFLAGS="$FFLAGS $B64FFLAGS"
 
4837
        fi
 
4838
fi
 
4839
fi
 
4840
 
 
4841
{ echo "$as_me:$LINENO: checking for void*" >&5
 
4842
echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
 
4843
if test "${ac_cv_type_voidp+set}" = set; then
 
4844
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4845
else
 
4846
  cat >conftest.$ac_ext <<_ACEOF
 
4847
/* confdefs.h.  */
 
4848
_ACEOF
 
4849
cat confdefs.h >>conftest.$ac_ext
 
4850
cat >>conftest.$ac_ext <<_ACEOF
 
4851
/* end confdefs.h.  */
 
4852
$ac_includes_default
 
4853
typedef void* ac__type_new_;
 
4854
int
 
4855
main ()
 
4856
{
 
4857
if ((ac__type_new_ *) 0)
 
4858
  return 0;
 
4859
if (sizeof (ac__type_new_))
 
4860
  return 0;
 
4861
  ;
 
4862
  return 0;
 
4863
}
 
4864
_ACEOF
 
4865
rm -f conftest.$ac_objext
 
4866
if { (ac_try="$ac_compile"
 
4867
case "(($ac_try" in
 
4868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4869
  *) ac_try_echo=$ac_try;;
 
4870
esac
 
4871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4872
  (eval "$ac_compile") 2>conftest.er1
 
4873
  ac_status=$?
 
4874
  grep -v '^ *+' conftest.er1 >conftest.err
 
4875
  rm -f conftest.er1
 
4876
  cat conftest.err >&5
 
4877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4878
  (exit $ac_status); } && {
 
4879
         test -z "$ac_c_werror_flag" ||
 
4880
         test ! -s conftest.err
 
4881
       } && test -s conftest.$ac_objext; then
 
4882
  ac_cv_type_voidp=yes
 
4883
else
 
4884
  echo "$as_me: failed program was:" >&5
 
4885
sed 's/^/| /' conftest.$ac_ext >&5
 
4886
 
 
4887
        ac_cv_type_voidp=no
 
4888
fi
 
4889
 
 
4890
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4891
fi
 
4892
{ echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
 
4893
echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
 
4894
 
 
4895
# The cast to long int works around a bug in the HP C Compiler
 
4896
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
4897
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
4898
# This bug is HP SR number 8606223364.
 
4899
{ echo "$as_me:$LINENO: checking size of void*" >&5
 
4900
echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
 
4901
if test "${ac_cv_sizeof_voidp+set}" = set; then
 
4902
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4903
else
 
4904
  if test "$cross_compiling" = yes; then
 
4905
  # Depending upon the size, compute the lo and hi bounds.
 
4906
cat >conftest.$ac_ext <<_ACEOF
 
4907
/* confdefs.h.  */
 
4908
_ACEOF
 
4909
cat confdefs.h >>conftest.$ac_ext
 
4910
cat >>conftest.$ac_ext <<_ACEOF
 
4911
/* end confdefs.h.  */
 
4912
$ac_includes_default
 
4913
   typedef void* ac__type_sizeof_;
 
4914
int
 
4915
main ()
 
4916
{
 
4917
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
 
4918
test_array @<:@0@:>@ = 0
 
4919
 
 
4920
  ;
 
4921
  return 0;
 
4922
}
 
4923
_ACEOF
 
4924
rm -f conftest.$ac_objext
 
4925
if { (ac_try="$ac_compile"
 
4926
case "(($ac_try" in
 
4927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4928
  *) ac_try_echo=$ac_try;;
 
4929
esac
 
4930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4931
  (eval "$ac_compile") 2>conftest.er1
 
4932
  ac_status=$?
 
4933
  grep -v '^ *+' conftest.er1 >conftest.err
 
4934
  rm -f conftest.er1
 
4935
  cat conftest.err >&5
 
4936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4937
  (exit $ac_status); } && {
 
4938
         test -z "$ac_c_werror_flag" ||
 
4939
         test ! -s conftest.err
 
4940
       } && test -s conftest.$ac_objext; then
 
4941
  ac_lo=0 ac_mid=0
 
4942
  while :; do
 
4943
    cat >conftest.$ac_ext <<_ACEOF
 
4944
/* confdefs.h.  */
 
4945
_ACEOF
 
4946
cat confdefs.h >>conftest.$ac_ext
 
4947
cat >>conftest.$ac_ext <<_ACEOF
 
4948
/* end confdefs.h.  */
 
4949
$ac_includes_default
 
4950
   typedef void* ac__type_sizeof_;
 
4951
int
 
4952
main ()
 
4953
{
 
4954
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
 
4955
test_array @<:@0@:>@ = 0
 
4956
 
 
4957
  ;
 
4958
  return 0;
 
4959
}
 
4960
_ACEOF
 
4961
rm -f conftest.$ac_objext
 
4962
if { (ac_try="$ac_compile"
 
4963
case "(($ac_try" in
 
4964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4965
  *) ac_try_echo=$ac_try;;
 
4966
esac
 
4967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4968
  (eval "$ac_compile") 2>conftest.er1
 
4969
  ac_status=$?
 
4970
  grep -v '^ *+' conftest.er1 >conftest.err
 
4971
  rm -f conftest.er1
 
4972
  cat conftest.err >&5
 
4973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4974
  (exit $ac_status); } && {
 
4975
         test -z "$ac_c_werror_flag" ||
 
4976
         test ! -s conftest.err
 
4977
       } && test -s conftest.$ac_objext; then
 
4978
  ac_hi=$ac_mid; break
 
4979
else
 
4980
  echo "$as_me: failed program was:" >&5
 
4981
sed 's/^/| /' conftest.$ac_ext >&5
 
4982
 
 
4983
        ac_lo=`expr $ac_mid + 1`
 
4984
                        if test $ac_lo -le $ac_mid; then
 
4985
                          ac_lo= ac_hi=
 
4986
                          break
 
4987
                        fi
 
4988
                        ac_mid=`expr 2 '*' $ac_mid + 1`
 
4989
fi
 
4990
 
 
4991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4992
  done
 
4993
else
 
4994
  echo "$as_me: failed program was:" >&5
 
4995
sed 's/^/| /' conftest.$ac_ext >&5
 
4996
 
 
4997
        cat >conftest.$ac_ext <<_ACEOF
 
4998
/* confdefs.h.  */
 
4999
_ACEOF
 
5000
cat confdefs.h >>conftest.$ac_ext
 
5001
cat >>conftest.$ac_ext <<_ACEOF
 
5002
/* end confdefs.h.  */
 
5003
$ac_includes_default
 
5004
   typedef void* ac__type_sizeof_;
 
5005
int
 
5006
main ()
 
5007
{
 
5008
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
 
5009
test_array @<:@0@:>@ = 0
 
5010
 
 
5011
  ;
 
5012
  return 0;
 
5013
}
 
5014
_ACEOF
 
5015
rm -f conftest.$ac_objext
 
5016
if { (ac_try="$ac_compile"
 
5017
case "(($ac_try" in
 
5018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5019
  *) ac_try_echo=$ac_try;;
 
5020
esac
 
5021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5022
  (eval "$ac_compile") 2>conftest.er1
 
5023
  ac_status=$?
 
5024
  grep -v '^ *+' conftest.er1 >conftest.err
 
5025
  rm -f conftest.er1
 
5026
  cat conftest.err >&5
 
5027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5028
  (exit $ac_status); } && {
 
5029
         test -z "$ac_c_werror_flag" ||
 
5030
         test ! -s conftest.err
 
5031
       } && test -s conftest.$ac_objext; then
 
5032
  ac_hi=-1 ac_mid=-1
 
5033
  while :; do
 
5034
    cat >conftest.$ac_ext <<_ACEOF
 
5035
/* confdefs.h.  */
 
5036
_ACEOF
 
5037
cat confdefs.h >>conftest.$ac_ext
 
5038
cat >>conftest.$ac_ext <<_ACEOF
 
5039
/* end confdefs.h.  */
 
5040
$ac_includes_default
 
5041
   typedef void* ac__type_sizeof_;
 
5042
int
 
5043
main ()
 
5044
{
 
5045
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
 
5046
test_array @<:@0@:>@ = 0
 
5047
 
 
5048
  ;
 
5049
  return 0;
 
5050
}
 
5051
_ACEOF
 
5052
rm -f conftest.$ac_objext
 
5053
if { (ac_try="$ac_compile"
 
5054
case "(($ac_try" in
 
5055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5056
  *) ac_try_echo=$ac_try;;
 
5057
esac
 
5058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5059
  (eval "$ac_compile") 2>conftest.er1
 
5060
  ac_status=$?
 
5061
  grep -v '^ *+' conftest.er1 >conftest.err
 
5062
  rm -f conftest.er1
 
5063
  cat conftest.err >&5
 
5064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5065
  (exit $ac_status); } && {
 
5066
         test -z "$ac_c_werror_flag" ||
 
5067
         test ! -s conftest.err
 
5068
       } && test -s conftest.$ac_objext; then
 
5069
  ac_lo=$ac_mid; break
 
5070
else
 
5071
  echo "$as_me: failed program was:" >&5
 
5072
sed 's/^/| /' conftest.$ac_ext >&5
 
5073
 
 
5074
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
5075
                        if test $ac_mid -le $ac_hi; then
 
5076
                          ac_lo= ac_hi=
 
5077
                          break
 
5078
                        fi
 
5079
                        ac_mid=`expr 2 '*' $ac_mid`
 
5080
fi
 
5081
 
 
5082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5083
  done
 
5084
else
 
5085
  echo "$as_me: failed program was:" >&5
 
5086
sed 's/^/| /' conftest.$ac_ext >&5
 
5087
 
 
5088
        ac_lo= ac_hi=
 
5089
fi
 
5090
 
 
5091
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5092
fi
 
5093
 
 
5094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5095
# Binary search between lo and hi bounds.
 
5096
while test "x$ac_lo" != "x$ac_hi"; do
 
5097
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
5098
  cat >conftest.$ac_ext <<_ACEOF
 
5099
/* confdefs.h.  */
 
5100
_ACEOF
 
5101
cat confdefs.h >>conftest.$ac_ext
 
5102
cat >>conftest.$ac_ext <<_ACEOF
 
5103
/* end confdefs.h.  */
 
5104
$ac_includes_default
 
5105
   typedef void* ac__type_sizeof_;
 
5106
int
 
5107
main ()
 
5108
{
 
5109
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
 
5110
test_array @<:@0@:>@ = 0
 
5111
 
 
5112
  ;
 
5113
  return 0;
 
5114
}
 
5115
_ACEOF
 
5116
rm -f conftest.$ac_objext
 
5117
if { (ac_try="$ac_compile"
 
5118
case "(($ac_try" in
 
5119
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5120
  *) ac_try_echo=$ac_try;;
 
5121
esac
 
5122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5123
  (eval "$ac_compile") 2>conftest.er1
 
5124
  ac_status=$?
 
5125
  grep -v '^ *+' conftest.er1 >conftest.err
 
5126
  rm -f conftest.er1
 
5127
  cat conftest.err >&5
 
5128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5129
  (exit $ac_status); } && {
 
5130
         test -z "$ac_c_werror_flag" ||
 
5131
         test ! -s conftest.err
 
5132
       } && test -s conftest.$ac_objext; then
 
5133
  ac_hi=$ac_mid
 
5134
else
 
5135
  echo "$as_me: failed program was:" >&5
 
5136
sed 's/^/| /' conftest.$ac_ext >&5
 
5137
 
 
5138
        ac_lo=`expr '(' $ac_mid ')' + 1`
 
5139
fi
 
5140
 
 
5141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5142
done
 
5143
case $ac_lo in
 
5144
?*) ac_cv_sizeof_voidp=$ac_lo;;
 
5145
'') if test "$ac_cv_type_voidp" = yes; then
 
5146
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
 
5147
See \`config.log' for more details." >&5
 
5148
echo "$as_me: error: cannot compute sizeof (void*)
 
5149
See \`config.log' for more details." >&2;}
 
5150
   { (exit 77); exit 77; }; }
 
5151
   else
 
5152
     ac_cv_sizeof_voidp=0
 
5153
   fi ;;
 
5154
esac
 
5155
else
 
5156
  cat >conftest.$ac_ext <<_ACEOF
 
5157
/* confdefs.h.  */
 
5158
_ACEOF
 
5159
cat confdefs.h >>conftest.$ac_ext
 
5160
cat >>conftest.$ac_ext <<_ACEOF
 
5161
/* end confdefs.h.  */
 
5162
$ac_includes_default
 
5163
   typedef void* ac__type_sizeof_;
 
5164
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
5165
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
5166
@%:@include <stdio.h>
 
5167
@%:@include <stdlib.h>
 
5168
int
 
5169
main ()
 
5170
{
 
5171
 
 
5172
  FILE *f = fopen ("conftest.val", "w");
 
5173
  if (! f)
 
5174
    return 1;
 
5175
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 
5176
    {
 
5177
      long int i = longval ();
 
5178
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5179
        return 1;
 
5180
      fprintf (f, "%ld\n", i);
 
5181
    }
 
5182
  else
 
5183
    {
 
5184
      unsigned long int i = ulongval ();
 
5185
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5186
        return 1;
 
5187
      fprintf (f, "%lu\n", i);
 
5188
    }
 
5189
  return ferror (f) || fclose (f) != 0;
 
5190
 
 
5191
  ;
 
5192
  return 0;
 
5193
}
 
5194
_ACEOF
 
5195
rm -f conftest$ac_exeext
 
5196
if { (ac_try="$ac_link"
 
5197
case "(($ac_try" in
 
5198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5199
  *) ac_try_echo=$ac_try;;
 
5200
esac
 
5201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5202
  (eval "$ac_link") 2>&5
 
5203
  ac_status=$?
 
5204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5205
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
5206
  { (case "(($ac_try" in
 
5207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5208
  *) ac_try_echo=$ac_try;;
 
5209
esac
 
5210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5211
  (eval "$ac_try") 2>&5
 
5212
  ac_status=$?
 
5213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5214
  (exit $ac_status); }; }; then
 
5215
  ac_cv_sizeof_voidp=`cat conftest.val`
 
5216
else
 
5217
  echo "$as_me: program exited with status $ac_status" >&5
 
5218
echo "$as_me: failed program was:" >&5
 
5219
sed 's/^/| /' conftest.$ac_ext >&5
 
5220
 
 
5221
( exit $ac_status )
 
5222
if test "$ac_cv_type_voidp" = yes; then
 
5223
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
 
5224
See \`config.log' for more details." >&5
 
5225
echo "$as_me: error: cannot compute sizeof (void*)
 
5226
See \`config.log' for more details." >&2;}
 
5227
   { (exit 77); exit 77; }; }
 
5228
   else
 
5229
     ac_cv_sizeof_voidp=0
 
5230
   fi
 
5231
fi
 
5232
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5233
fi
 
5234
rm -f conftest.val
 
5235
fi
 
5236
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
 
5237
echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
 
5238
 
 
5239
 
 
5240
 
 
5241
cat >>confdefs.h <<_ACEOF
 
5242
@%:@define SIZEOF_VOIDP $ac_cv_sizeof_voidp
 
5243
_ACEOF
 
5244
 
 
5245
 
 
5246
case "$ac_cv_sizeof_voidp" in
 
5247
  "8")
 
5248
    
 
5249
cat >>confdefs.h <<\_ACEOF
 
5250
@%:@define ARCH_64_BITS 1
 
5251
_ACEOF
 
5252
 
 
5253
 
 
5254
    if test x"$with_64bits" = xno; then
 
5255
        { echo "$as_me:$LINENO: WARNING: Explicitely requested 32 bits, but got 64 bits." >&5
 
5256
echo "$as_me: WARNING: Explicitely requested 32 bits, but got 64 bits." >&2;}
 
5257
    fi  
 
5258
  ;;
 
5259
  "4")
 
5260
    
 
5261
cat >>confdefs.h <<\_ACEOF
 
5262
@%:@define ARCH_32_BITS 1
 
5263
_ACEOF
 
5264
 
 
5265
  ;;
 
5266
  *)
 
5267
    
 
5268
cat >>confdefs.h <<\_ACEOF
 
5269
@%:@define ARCH_32_BITS 1
 
5270
_ACEOF
 
5271
 
 
5272
  ;;
 
5273
esac
 
5274
 
 
5275
 if test "$ac_cv_sizeof_voidp" -eq "8"; then
 
5276
  USE_64BIT_ARCH_TRUE=
 
5277
  USE_64BIT_ARCH_FALSE='#'
 
5278
else
 
5279
  USE_64BIT_ARCH_TRUE='#'
 
5280
  USE_64BIT_ARCH_FALSE=
 
5281
fi
 
5282
 
 
5283
 
 
5284
if test "$with_64bits" != no; then
 
5285
   { echo "$as_me:$LINENO: checking to see if we got 64 bits" >&5
 
5286
echo $ECHO_N "checking to see if we got 64 bits... $ECHO_C" >&6; }
 
5287
 
 
5288
   if test "$ac_cv_sizeof_voidp" -ne 8; then
 
5289
      { echo "$as_me:$LINENO: result: nope, reverting compiler flags" >&5
 
5290
echo "${ECHO_T}nope, reverting compiler flags" >&6; } 
 
5291
 
 
5292
            B64FLAGS=""
 
5293
      CFLAGS=$orig_CFLAGS
 
5294
      FFLAGS=$orig_FFLAGS
 
5295
      FCFLAGS=$orig_FCFLAGS
 
5296
      CXXFLAGS=$orig_CXXFLAGS
 
5297
   else
 
5298
      { echo "$as_me:$LINENO: result: oh yes" >&5
 
5299
echo "${ECHO_T}oh yes" >&6; } 
 
5300
   fi
 
5301
fi
 
5302
 
 
5303
 
 
5304
 
 
5305
 
 
5306
LIBS="-L. $LIBS -L$prefix/lib"
 
5307
LDFLAGS="-L. $LDFLAGS -L$prefix/lib"
 
5308
 
 
5309
{ echo "$as_me:$LINENO: checking whether we are using the Microsoft C compiler" >&5
 
5310
echo $ECHO_N "checking whether we are using the Microsoft C compiler... $ECHO_C" >&6; }
 
5311
if test "${acx_cv_c_compiler_ms+set}" = set; then
 
5312
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5313
else
 
5314
  cat >conftest.$ac_ext <<_ACEOF
 
5315
/* confdefs.h.  */
 
5316
_ACEOF
 
5317
cat confdefs.h >>conftest.$ac_ext
 
5318
cat >>conftest.$ac_ext <<_ACEOF
 
5319
/* end confdefs.h.  */
 
5320
 
 
5321
int
 
5322
main ()
 
5323
{
 
5324
#ifndef _MSC_VER
 
5325
       choke me
 
5326
#endif
 
5327
 
 
5328
  ;
 
5329
  return 0;
 
5330
}
 
5331
_ACEOF
 
5332
rm -f conftest.$ac_objext
 
5333
if { (ac_try="$ac_compile"
 
5334
case "(($ac_try" in
 
5335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5336
  *) ac_try_echo=$ac_try;;
 
5337
esac
 
5338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5339
  (eval "$ac_compile") 2>conftest.er1
 
5340
  ac_status=$?
 
5341
  grep -v '^ *+' conftest.er1 >conftest.err
 
5342
  rm -f conftest.er1
 
5343
  cat conftest.err >&5
 
5344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5345
  (exit $ac_status); } && {
 
5346
         test -z "$ac_c_werror_flag" ||
 
5347
         test ! -s conftest.err
 
5348
       } && test -s conftest.$ac_objext; then
 
5349
  acx_compiler_ms=yes
 
5350
else
 
5351
  echo "$as_me: failed program was:" >&5
 
5352
sed 's/^/| /' conftest.$ac_ext >&5
 
5353
 
 
5354
        acx_compiler_ms=no
 
5355
fi
 
5356
 
 
5357
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5358
acx_cv_c_compiler_ms=$acx_compiler_ms
 
5359
 
 
5360
fi
 
5361
{ echo "$as_me:$LINENO: result: $acx_cv_c_compiler_ms" >&5
 
5362
echo "${ECHO_T}$acx_cv_c_compiler_ms" >&6; }
 
5363
 
 
5364
if test "$acx_cv_c_compiler_ms" = "yes"; then
 
5365
        
 
5366
cat >>confdefs.h <<\_ACEOF
 
5367
@%:@define STDCALLBULL __stdcall
 
5368
_ACEOF
 
5369
 
 
5370
        
 
5371
cat >>confdefs.h <<\_ACEOF
 
5372
@%:@define C_DLLEXPORT __declspec(dllexport)
 
5373
_ACEOF
 
5374
 
 
5375
 
 
5376
else
 
5377
        
 
5378
cat >>confdefs.h <<\_ACEOF
 
5379
@%:@define STDCALLBULL 
 
5380
_ACEOF
 
5381
 
 
5382
        
 
5383
cat >>confdefs.h <<\_ACEOF
 
5384
@%:@define C_DLLEXPORT 
 
5385
_ACEOF
 
5386
 
 
5387
fi
 
5388
 if test "$acx_cv_c_compiler_ms" = "yes"; then
 
5389
  USE_WINDOWS_COMPILER_TRUE=
 
5390
  USE_WINDOWS_COMPILER_FALSE='#'
 
5391
else
 
5392
  USE_WINDOWS_COMPILER_TRUE='#'
 
5393
  USE_WINDOWS_COMPILER_FALSE=
 
5394
fi
 
5395
 
 
5396
 
 
5397
 
 
5398
 
 
5399
 
 
5400
acx_matc_ok=no
 
5401
 
 
5402
 
 
5403
# Check whether --with-matc was given.
 
5404
if test "${with_matc+set}" = set; then
 
5405
  withval=$with_matc; 
 
5406
fi
 
5407
 
 
5408
case $with_matc in
 
5409
        yes | "") ;;
 
5410
        no) acx_matc_ok=disable ;;
 
5411
        -* | */* | *.a | *.so | *.so.* | *.o) MATC_LIBS="$with_matc" ;;
 
5412
        *) MATC_LIBS="-l$with_matc" ;;
 
5413
esac
 
5414
 
 
5415
acx_matc_save_LIBS="$LIBS"
 
5416
 
 
5417
# First, check EIO_LIBS environment variable
 
5418
if test $acx_matc_ok = no; then
 
5419
if test "x$MATC_LIBS" != x; then
 
5420
        save_LIBS="$LIBS"; LIBS="$MATC_LIBS $LIBS"
 
5421
        { echo "$as_me:$LINENO: checking for mtc_init in $MATC_LIBS" >&5
 
5422
echo $ECHO_N "checking for mtc_init in $MATC_LIBS... $ECHO_C" >&6; }
 
5423
 
 
5424
        cat >conftest.$ac_ext <<_ACEOF
 
5425
/* confdefs.h.  */
 
5426
_ACEOF
 
5427
cat confdefs.h >>conftest.$ac_ext
 
5428
cat >>conftest.$ac_ext <<_ACEOF
 
5429
/* end confdefs.h.  */
 
5430
 
 
5431
/* Override any GCC internal prototype to avoid an error.
 
5432
   Use char because int might match the return type of a GCC
 
5433
   builtin and then its argument prototype would still apply.  */
 
5434
#ifdef __cplusplus
 
5435
extern "C"
 
5436
#endif
 
5437
char mtc_init ();
 
5438
int
 
5439
main ()
 
5440
{
 
5441
return mtc_init ();
 
5442
  ;
 
5443
  return 0;
 
5444
}
 
5445
_ACEOF
 
5446
rm -f conftest.$ac_objext conftest$ac_exeext
 
5447
if { (ac_try="$ac_link"
 
5448
case "(($ac_try" in
 
5449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5450
  *) ac_try_echo=$ac_try;;
 
5451
esac
 
5452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5453
  (eval "$ac_link") 2>conftest.er1
 
5454
  ac_status=$?
 
5455
  grep -v '^ *+' conftest.er1 >conftest.err
 
5456
  rm -f conftest.er1
 
5457
  cat conftest.err >&5
 
5458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5459
  (exit $ac_status); } && {
 
5460
         test -z "$ac_c_werror_flag" ||
 
5461
         test ! -s conftest.err
 
5462
       } && test -s conftest$ac_exeext &&
 
5463
       $as_test_x conftest$ac_exeext; then
 
5464
  acx_matc_ok=yes
 
5465
else
 
5466
  echo "$as_me: failed program was:" >&5
 
5467
sed 's/^/| /' conftest.$ac_ext >&5
 
5468
 
 
5469
        MATC_LIBS=""
 
5470
fi
 
5471
 
 
5472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5473
      conftest$ac_exeext conftest.$ac_ext
 
5474
 
 
5475
        { echo "$as_me:$LINENO: result: $acx_matc_ok" >&5
 
5476
echo "${ECHO_T}$acx_matc_ok" >&6; }
 
5477
        LIBS="$save_LIBS"
 
5478
fi
 
5479
fi
 
5480
 
 
5481
# Generic MATC library?
 
5482
if test "$acx_matc_ok" = no; then
 
5483
        { echo "$as_me:$LINENO: checking for mtc_init in -lmatc" >&5
 
5484
echo $ECHO_N "checking for mtc_init in -lmatc... $ECHO_C" >&6; }
 
5485
if test "${ac_cv_lib_matc_mtc_init+set}" = set; then
 
5486
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5487
else
 
5488
  ac_check_lib_save_LIBS=$LIBS
 
5489
LIBS="-lmatc -lm $LIBS"
 
5490
cat >conftest.$ac_ext <<_ACEOF
 
5491
/* confdefs.h.  */
 
5492
_ACEOF
 
5493
cat confdefs.h >>conftest.$ac_ext
 
5494
cat >>conftest.$ac_ext <<_ACEOF
 
5495
/* end confdefs.h.  */
 
5496
 
 
5497
/* Override any GCC internal prototype to avoid an error.
 
5498
   Use char because int might match the return type of a GCC
 
5499
   builtin and then its argument prototype would still apply.  */
 
5500
#ifdef __cplusplus
 
5501
extern "C"
 
5502
#endif
 
5503
char mtc_init ();
 
5504
int
 
5505
main ()
 
5506
{
 
5507
return mtc_init ();
 
5508
  ;
 
5509
  return 0;
 
5510
}
 
5511
_ACEOF
 
5512
rm -f conftest.$ac_objext conftest$ac_exeext
 
5513
if { (ac_try="$ac_link"
 
5514
case "(($ac_try" in
 
5515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5516
  *) ac_try_echo=$ac_try;;
 
5517
esac
 
5518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5519
  (eval "$ac_link") 2>conftest.er1
 
5520
  ac_status=$?
 
5521
  grep -v '^ *+' conftest.er1 >conftest.err
 
5522
  rm -f conftest.er1
 
5523
  cat conftest.err >&5
 
5524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5525
  (exit $ac_status); } && {
 
5526
         test -z "$ac_c_werror_flag" ||
 
5527
         test ! -s conftest.err
 
5528
       } && test -s conftest$ac_exeext &&
 
5529
       $as_test_x conftest$ac_exeext; then
 
5530
  ac_cv_lib_matc_mtc_init=yes
 
5531
else
 
5532
  echo "$as_me: failed program was:" >&5
 
5533
sed 's/^/| /' conftest.$ac_ext >&5
 
5534
 
 
5535
        ac_cv_lib_matc_mtc_init=no
 
5536
fi
 
5537
 
 
5538
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5539
      conftest$ac_exeext conftest.$ac_ext
 
5540
LIBS=$ac_check_lib_save_LIBS
 
5541
fi
 
5542
{ echo "$as_me:$LINENO: result: $ac_cv_lib_matc_mtc_init" >&5
 
5543
echo "${ECHO_T}$ac_cv_lib_matc_mtc_init" >&6; }
 
5544
if test $ac_cv_lib_matc_mtc_init = yes; then
 
5545
  acx_matc_ok=yes; MATC_LIBS="-lmatc"
 
5546
fi
 
5547
 
 
5548
fi
 
5549
 
 
5550
 
 
5551
 
 
5552
LIBS="$acx_matc_save_LIBS"
 
5553
 
 
5554
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 
5555
if test x"$acx_matc_ok" = xyes; then
 
5556
        
 
5557
cat >>confdefs.h <<\_ACEOF
 
5558
@%:@define HAVE_MATC 1
 
5559
_ACEOF
 
5560
 
 
5561
        :
 
5562
else
 
5563
        acx_matc_ok=no
 
5564
        { { echo "$as_me:$LINENO: error: libmatc $ELMER_LIBERRORMSG" >&5
 
5565
echo "$as_me: error: libmatc $ELMER_LIBERRORMSG" >&2;}
 
5566
   { (exit 1); exit 1; }; }
 
5567
fi
 
5568
 
 
5569
LIBS="$LIBS $MATC_LIBS"
 
5570
 
 
5571
 
 
5572
 
 
5573
 
 
5574
 
 
5575
 
 
5576
 
 
5577
  
 
5578
  
 
5579
# Check whether --with-metis was given.
 
5580
if test "${with_metis+set}" = set; then
 
5581
  withval=$with_metis; 
 
5582
        USE_CONTRIB_METIS=yes
 
5583
        DEAL_II_METIS_DIR=$withval
 
5584
        { echo "$as_me:$LINENO: result: $DEAL_II_METIS_DIR" >&5
 
5585
echo "${ECHO_T}$DEAL_II_METIS_DIR" >&6; }
 
5586
 
 
5587
                if test ! -d $DEAL_II_METIS_DIR/Lib ; then
 
5588
          { echo "$as_me:$LINENO: WARNING: Path to Metis specified with --with-metis does not
 
5589
                        point to a complete Metis installation" >&5
 
5590
echo "$as_me: WARNING: Path to Metis specified with --with-metis does not
 
5591
                        point to a complete Metis installation" >&2;}
 
5592
        fi
 
5593
        
 
5594
        DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
 
5595
        DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/Lib"
 
5596
     
 
5597
else
 
5598
  
 
5599
                if test "x$METIS_DIR" != "x" ; then
 
5600
          USE_CONTRIB_METIS=yes
 
5601
          DEAL_II_METIS_DIR="$METIS_DIR"
 
5602
          { echo "$as_me:$LINENO: result: $DEAL_II_METIS_DIR" >&5
 
5603
echo "${ECHO_T}$DEAL_II_METIS_DIR" >&6; }
 
5604
 
 
5605
                    if test ! -d $DEAL_II_METIS_DIR/Lib ; then
 
5606
            { { echo "$as_me:$LINENO: error: The path to Metis specified in the METIS_DIR
 
5607
                          environment variable does not
 
5608
                          point to a complete Metis installation" >&5
 
5609
echo "$as_me: error: The path to Metis specified in the METIS_DIR
 
5610
                          environment variable does not
 
5611
                          point to a complete Metis installation" >&2;}
 
5612
   { (exit 1); exit 1; }; }
 
5613
          fi
 
5614
          DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
 
5615
          DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/Lib"
 
5616
        else
 
5617
          USE_CONTRIB_METIS=no
 
5618
          DEAL_II_METIS_DIR=""
 
5619
        fi
 
5620
     
 
5621
fi
 
5622
 
 
5623
 
 
5624
  
 
5625
# Check whether --with-metis-include was given.
 
5626
if test "${with_metis_include+set}" = set; then
 
5627
  withval=$with_metis_include; 
 
5628
        METIS_INCLUDE_DIR=$withval
 
5629
        DEAL_II_METIS_INCDIR="$METIS_INCLUDE_DIR"
 
5630
     
 
5631
fi
 
5632
 
 
5633
     
 
5634
  
 
5635
# Check whether --with-metis-libs was given.
 
5636
if test "${with_metis_libs+set}" = set; then
 
5637
  withval=$with_metis_libs; 
 
5638
        USE_CONTRIB_METIS=yes
 
5639
        DEAL_II_METIS_LIBDIR=$withval
 
5640
        { echo "$as_me:$LINENO: result: $DEAL_II_METIS_LIBDIR" >&5
 
5641
echo "${ECHO_T}$DEAL_II_METIS_LIBDIR" >&6; }
 
5642
 
 
5643
                if test ! -d $DEAL_II_METIS_LIBDIR ; then
 
5644
          { { echo "$as_me:$LINENO: error: Path to Metis specified with --with-metis does not
 
5645
                        point to a complete Metis installation" >&5
 
5646
echo "$as_me: error: Path to Metis specified with --with-metis does not
 
5647
                        point to a complete Metis installation" >&2;}
 
5648
   { (exit 1); exit 1; }; }
 
5649
        fi
 
5650
     
 
5651
else
 
5652
  
 
5653
                if test "x$METIS_LIBDIR" != "x" ; then
 
5654
          USE_CONTRIB_METIS=yes
 
5655
          DEAL_II_METIS_LIBDIR="$METIS_LIBDIR"
 
5656
          { echo "$as_me:$LINENO: result: $DEAL_II_METIS_LIBDIR" >&5
 
5657
echo "${ECHO_T}$DEAL_II_METIS_LIBDIR" >&6; }
 
5658
 
 
5659
                    if test ! -d $DEAL_II_METIS_LIBDIR ; then
 
5660
            { { echo "$as_me:$LINENO: error: The path to Metis specified in the METIS_DIR
 
5661
                          environment variable does not
 
5662
                          point to a complete Metis installation" >&5
 
5663
echo "$as_me: error: The path to Metis specified in the METIS_DIR
 
5664
                          environment variable does not
 
5665
                          point to a complete Metis installation" >&2;}
 
5666
   { (exit 1); exit 1; }; }
 
5667
          fi
 
5668
        else
 
5669
                            if test "x$USE_CONTRIB_METIS" != "xyes" ; then
 
5670
            USE_CONTRIB_METIS=no
 
5671
            DEAL_II_METIS_LIBDIR=""
 
5672
          fi
 
5673
        fi
 
5674
     
 
5675
fi
 
5676
 
 
5677
     
 
5678
  if test "x$USE_CONTRIB_METIS" = "xyes" ; then
 
5679
    
 
5680
cat >>confdefs.h <<\_ACEOF
 
5681
@%:@define DEAL_II_USE_METIS 1
 
5682
_ACEOF
 
5683
 
 
5684
    LDFLAGS="$LDFLAGS -L$DEAL_II_METIS_LIBDIR -lmetis"
 
5685
 
 
5686
              fi
 
5687
 
 
5688
 if test "x$USE_CONTRIB_METIS" = "xyes"; then
 
5689
  USE_EXTERNAL_METIS_TRUE=
 
5690
  USE_EXTERNAL_METIS_FALSE='#'
 
5691
else
 
5692
  USE_EXTERNAL_METIS_TRUE='#'
 
5693
  USE_EXTERNAL_METIS_FALSE=
 
5694
fi
 
5695
 
 
5696
 
 
5697
 
 
5698
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
5699
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
5700
    # Check whether --enable-maintainer-mode was given.
 
5701
if test "${enable_maintainer_mode+set}" = set; then
 
5702
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
5703
else
 
5704
  USE_MAINTAINER_MODE=no
 
5705
fi
 
5706
 
 
5707
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
5708
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
5709
   if test $USE_MAINTAINER_MODE = yes; then
 
5710
  MAINTAINER_MODE_TRUE=
 
5711
  MAINTAINER_MODE_FALSE='#'
 
5712
else
 
5713
  MAINTAINER_MODE_TRUE='#'
 
5714
  MAINTAINER_MODE_FALSE=
 
5715
fi
 
5716
 
 
5717
  MAINT=$MAINTAINER_MODE_TRUE
 
5718
  
 
5719
 
 
5720
 
 
5721
ac_config_headers="$ac_config_headers config.h"
 
5722
 
 
5723
 
 
5724
ac_config_files="$ac_config_files Makefile src/Makefile src/metis/Makefile"
 
5725
 
 
5726
cat >confcache <<\_ACEOF
 
5727
# This file is a shell script that caches the results of configure
 
5728
# tests run on this system so they can be shared between configure
 
5729
# scripts and configure runs, see configure's option --config-cache.
 
5730
# It is not useful on other systems.  If it contains results you don't
 
5731
# want to keep, you may remove or edit it.
 
5732
#
 
5733
# config.status only pays attention to the cache file if you give it
 
5734
# the --recheck option to rerun configure.
 
5735
#
 
5736
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
5737
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
5738
# following values.
 
5739
 
 
5740
_ACEOF
 
5741
 
 
5742
# The following way of writing the cache mishandles newlines in values,
 
5743
# but we know of no workaround that is simple, portable, and efficient.
 
5744
# So, we kill variables containing newlines.
 
5745
# Ultrix sh set writes to stderr and can't be redirected directly,
 
5746
# and sets the high bit in the cache file unless we assign to the vars.
 
5747
(
 
5748
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
5749
    eval ac_val=\$$ac_var
 
5750
    case $ac_val in #(
 
5751
    *${as_nl}*)
 
5752
      case $ac_var in #(
 
5753
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
5754
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
5755
      esac
 
5756
      case $ac_var in #(
 
5757
      _ | IFS | as_nl) ;; #(
 
5758
      *) $as_unset $ac_var ;;
 
5759
      esac ;;
 
5760
    esac
 
5761
  done
 
5762
 
 
5763
  (set) 2>&1 |
 
5764
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
5765
    *${as_nl}ac_space=\ *)
 
5766
      # `set' does not quote correctly, so add quotes (double-quote
 
5767
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5768
      sed -n \
 
5769
        "s/'/'\\\\''/g;
 
5770
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5771
      ;; #(
 
5772
    *)
 
5773
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
5774
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
5775
      ;;
 
5776
    esac |
 
5777
    sort
 
5778
) |
 
5779
  sed '
 
5780
     /^ac_cv_env_/b end
 
5781
     t clear
 
5782
     :clear
 
5783
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
5784
     t end
 
5785
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
5786
     :end' >>confcache
 
5787
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
5788
  if test -w "$cache_file"; then
 
5789
    test "x$cache_file" != "x/dev/null" &&
 
5790
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5791
echo "$as_me: updating cache $cache_file" >&6;}
 
5792
    cat confcache >$cache_file
 
5793
  else
 
5794
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5795
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
5796
  fi
 
5797
fi
 
5798
rm -f confcache
 
5799
 
 
5800
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
5801
# Let make expand exec_prefix.
 
5802
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
5803
 
 
5804
DEFS=-DHAVE_CONFIG_H
 
5805
 
 
5806
ac_libobjs=
 
5807
ac_ltlibobjs=
 
5808
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 
5809
  # 1. Remove the extension, and $U if already installed.
 
5810
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
5811
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
5812
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
5813
  #    will be set to the directory where LIBOBJS objects are built.
 
5814
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5815
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
5816
done
 
5817
LIB@&t@OBJS=$ac_libobjs
 
5818
 
 
5819
LTLIBOBJS=$ac_ltlibobjs
 
5820
 
 
5821
 
 
5822
if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
 
5823
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_WINDRES\" was never defined.
 
5824
Usually this means the macro was only invoked conditionally." >&5
 
5825
echo "$as_me: error: conditional \"HAVE_WINDRES\" was never defined.
 
5826
Usually this means the macro was only invoked conditionally." >&2;}
 
5827
   { (exit 1); exit 1; }; }
 
5828
fi
 
5829
if test -z "${IBM_IS_PIECE_OF_SHIT_TRUE}" && test -z "${IBM_IS_PIECE_OF_SHIT_FALSE}"; then
 
5830
  { { echo "$as_me:$LINENO: error: conditional \"IBM_IS_PIECE_OF_SHIT\" was never defined.
 
5831
Usually this means the macro was only invoked conditionally." >&5
 
5832
echo "$as_me: error: conditional \"IBM_IS_PIECE_OF_SHIT\" was never defined.
 
5833
Usually this means the macro was only invoked conditionally." >&2;}
 
5834
   { (exit 1); exit 1; }; }
 
5835
fi
 
5836
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
5837
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
5838
Usually this means the macro was only invoked conditionally." >&5
 
5839
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
5840
Usually this means the macro was only invoked conditionally." >&2;}
 
5841
   { (exit 1); exit 1; }; }
 
5842
fi
 
5843
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5844
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
5845
Usually this means the macro was only invoked conditionally." >&5
 
5846
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
5847
Usually this means the macro was only invoked conditionally." >&2;}
 
5848
   { (exit 1); exit 1; }; }
 
5849
fi
 
5850
if test -z "${USE_64BIT_ARCH_TRUE}" && test -z "${USE_64BIT_ARCH_FALSE}"; then
 
5851
  { { echo "$as_me:$LINENO: error: conditional \"USE_64BIT_ARCH\" was never defined.
 
5852
Usually this means the macro was only invoked conditionally." >&5
 
5853
echo "$as_me: error: conditional \"USE_64BIT_ARCH\" was never defined.
 
5854
Usually this means the macro was only invoked conditionally." >&2;}
 
5855
   { (exit 1); exit 1; }; }
 
5856
fi
 
5857
if test -z "${USE_WINDOWS_COMPILER_TRUE}" && test -z "${USE_WINDOWS_COMPILER_FALSE}"; then
 
5858
  { { echo "$as_me:$LINENO: error: conditional \"USE_WINDOWS_COMPILER\" was never defined.
 
5859
Usually this means the macro was only invoked conditionally." >&5
 
5860
echo "$as_me: error: conditional \"USE_WINDOWS_COMPILER\" was never defined.
 
5861
Usually this means the macro was only invoked conditionally." >&2;}
 
5862
   { (exit 1); exit 1; }; }
 
5863
fi
 
5864
if test -z "${USE_EXTERNAL_METIS_TRUE}" && test -z "${USE_EXTERNAL_METIS_FALSE}"; then
 
5865
  { { echo "$as_me:$LINENO: error: conditional \"USE_EXTERNAL_METIS\" was never defined.
 
5866
Usually this means the macro was only invoked conditionally." >&5
 
5867
echo "$as_me: error: conditional \"USE_EXTERNAL_METIS\" was never defined.
 
5868
Usually this means the macro was only invoked conditionally." >&2;}
 
5869
   { (exit 1); exit 1; }; }
 
5870
fi
 
5871
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
5872
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
5873
Usually this means the macro was only invoked conditionally." >&5
 
5874
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
5875
Usually this means the macro was only invoked conditionally." >&2;}
 
5876
   { (exit 1); exit 1; }; }
 
5877
fi
 
5878
 
 
5879
: ${CONFIG_STATUS=./config.status}
 
5880
ac_clean_files_save=$ac_clean_files
 
5881
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
5882
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
5883
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
5884
cat >$CONFIG_STATUS <<_ACEOF
 
5885
#! $SHELL
 
5886
# Generated by $as_me.
 
5887
# Run this file to recreate the current configuration.
 
5888
# Compiler output produced by configure, useful for debugging
 
5889
# configure, is in config.log if it exists.
 
5890
 
 
5891
debug=false
 
5892
ac_cs_recheck=false
 
5893
ac_cs_silent=false
 
5894
SHELL=\${CONFIG_SHELL-$SHELL}
 
5895
_ACEOF
 
5896
 
 
5897
cat >>$CONFIG_STATUS <<\_ACEOF
 
5898
## --------------------- ##
 
5899
## M4sh Initialization.  ##
 
5900
## --------------------- ##
 
5901
 
 
5902
# Be more Bourne compatible
 
5903
DUALCASE=1; export DUALCASE # for MKS sh
 
5904
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5905
  emulate sh
 
5906
  NULLCMD=:
 
5907
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5908
  # is contrary to our usage.  Disable this feature.
 
5909
  alias -g '${1+"$@"}'='"$@"'
 
5910
  setopt NO_GLOB_SUBST
 
5911
else
 
5912
  case `(set -o) 2>/dev/null` in
 
5913
  *posix*) set -o posix ;;
 
5914
esac
 
5915
 
 
5916
fi
 
5917
 
 
5918
 
 
5919
 
 
5920
 
 
5921
# PATH needs CR
 
5922
# Avoid depending upon Character Ranges.
 
5923
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5924
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5925
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5926
as_cr_digits='0123456789'
 
5927
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
5928
 
 
5929
# The user is always right.
 
5930
if test "${PATH_SEPARATOR+set}" != set; then
 
5931
  echo "#! /bin/sh" >conf$$.sh
 
5932
  echo  "exit 0"   >>conf$$.sh
 
5933
  chmod +x conf$$.sh
 
5934
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
5935
    PATH_SEPARATOR=';'
 
5936
  else
 
5937
    PATH_SEPARATOR=:
 
5938
  fi
 
5939
  rm -f conf$$.sh
 
5940
fi
 
5941
 
 
5942
# Support unset when possible.
 
5943
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5944
  as_unset=unset
 
5945
else
 
5946
  as_unset=false
 
5947
fi
 
5948
 
 
5949
 
 
5950
# IFS
 
5951
# We need space, tab and new line, in precisely that order.  Quoting is
 
5952
# there to prevent editors from complaining about space-tab.
 
5953
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
5954
# splitting by setting IFS to empty value.)
 
5955
as_nl='
 
5956
'
 
5957
IFS=" ""        $as_nl"
 
5958
 
 
5959
# Find who we are.  Look in the path if we contain no directory separator.
 
5960
case $0 in
 
5961
  *[\\/]* ) as_myself=$0 ;;
 
5962
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5963
for as_dir in $PATH
 
5964
do
 
5965
  IFS=$as_save_IFS
 
5966
  test -z "$as_dir" && as_dir=.
 
5967
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5968
done
 
5969
IFS=$as_save_IFS
 
5970
 
 
5971
     ;;
 
5972
esac
 
5973
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
5974
# in which case we are not to be found in the path.
 
5975
if test "x$as_myself" = x; then
 
5976
  as_myself=$0
 
5977
fi
 
5978
if test ! -f "$as_myself"; then
 
5979
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5980
  { (exit 1); exit 1; }
 
5981
fi
 
5982
 
 
5983
# Work around bugs in pre-3.0 UWIN ksh.
 
5984
for as_var in ENV MAIL MAILPATH
 
5985
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5986
done
 
5987
PS1='$ '
 
5988
PS2='> '
 
5989
PS4='+ '
 
5990
 
 
5991
# NLS nuisances.
 
5992
for as_var in \
 
5993
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
5994
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
5995
  LC_TELEPHONE LC_TIME
 
5996
do
 
5997
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
5998
    eval $as_var=C; export $as_var
 
5999
  else
 
6000
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
6001
  fi
 
6002
done
 
6003
 
 
6004
# Required to use basename.
 
6005
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
6006
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
6007
  as_expr=expr
 
6008
else
 
6009
  as_expr=false
 
6010
fi
 
6011
 
 
6012
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
6013
  as_basename=basename
 
6014
else
 
6015
  as_basename=false
 
6016
fi
 
6017
 
 
6018
 
 
6019
# Name of the executable.
 
6020
as_me=`$as_basename -- "$0" ||
 
6021
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
6022
         X"$0" : 'X\(//\)$' \| \
 
6023
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
6024
echo X/"$0" |
 
6025
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
6026
            s//\1/
 
6027
            q
 
6028
          }
 
6029
          /^X\/\(\/\/\)$/{
 
6030
            s//\1/
 
6031
            q
 
6032
          }
 
6033
          /^X\/\(\/\).*/{
 
6034
            s//\1/
 
6035
            q
 
6036
          }
 
6037
          s/.*/./; q'`
 
6038
 
 
6039
# CDPATH.
 
6040
$as_unset CDPATH
 
6041
 
 
6042
 
 
6043
 
 
6044
  as_lineno_1=$LINENO
 
6045
  as_lineno_2=$LINENO
 
6046
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
6047
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
6048
 
 
6049
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
6050
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
6051
  # line-number line after each line using $LINENO; the second 'sed'
 
6052
  # does the real work.  The second script uses 'N' to pair each
 
6053
  # line-number line with the line containing $LINENO, and appends
 
6054
  # trailing '-' during substitution so that $LINENO is not a special
 
6055
  # case at line end.
 
6056
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
6057
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
6058
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
6059
  sed -n '
 
6060
    p
 
6061
    /[$]LINENO/=
 
6062
  ' <$as_myself |
 
6063
    sed '
 
6064
      s/[$]LINENO.*/&-/
 
6065
      t lineno
 
6066
      b
 
6067
      :lineno
 
6068
      N
 
6069
      :loop
 
6070
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
6071
      t loop
 
6072
      s/-\n.*//
 
6073
    ' >$as_me.lineno &&
 
6074
  chmod +x "$as_me.lineno" ||
 
6075
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
6076
   { (exit 1); exit 1; }; }
 
6077
 
 
6078
  # Don't try to exec as it changes $[0], causing all sort of problems
 
6079
  # (the dirname of $[0] is not the place where we might find the
 
6080
  # original and so on.  Autoconf is especially sensitive to this).
 
6081
  . "./$as_me.lineno"
 
6082
  # Exit status is that of the last command.
 
6083
  exit
 
6084
}
 
6085
 
 
6086
 
 
6087
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6088
  as_dirname=dirname
 
6089
else
 
6090
  as_dirname=false
 
6091
fi
 
6092
 
 
6093
ECHO_C= ECHO_N= ECHO_T=
 
6094
case `echo -n x` in
 
6095
-n*)
 
6096
  case `echo 'x\c'` in
 
6097
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
6098
  *)   ECHO_C='\c';;
 
6099
  esac;;
 
6100
*)
 
6101
  ECHO_N='-n';;
 
6102
esac
 
6103
 
 
6104
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
6105
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
6106
  as_expr=expr
 
6107
else
 
6108
  as_expr=false
 
6109
fi
 
6110
 
 
6111
rm -f conf$$ conf$$.exe conf$$.file
 
6112
if test -d conf$$.dir; then
 
6113
  rm -f conf$$.dir/conf$$.file
 
6114
else
 
6115
  rm -f conf$$.dir
 
6116
  mkdir conf$$.dir
 
6117
fi
 
6118
echo >conf$$.file
 
6119
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
6120
  as_ln_s='ln -s'
 
6121
  # ... but there are two gotchas:
 
6122
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6123
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6124
  # In both cases, we have to default to `cp -p'.
 
6125
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6126
    as_ln_s='cp -p'
 
6127
elif ln conf$$.file conf$$ 2>/dev/null; then
 
6128
  as_ln_s=ln
 
6129
else
 
6130
  as_ln_s='cp -p'
 
6131
fi
 
6132
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
6133
rmdir conf$$.dir 2>/dev/null
 
6134
 
 
6135
if mkdir -p . 2>/dev/null; then
 
6136
  as_mkdir_p=:
 
6137
else
 
6138
  test -d ./-p && rmdir ./-p
 
6139
  as_mkdir_p=false
 
6140
fi
 
6141
 
 
6142
if test -x / >/dev/null 2>&1; then
 
6143
  as_test_x='test -x'
 
6144
else
 
6145
  if ls -dL / >/dev/null 2>&1; then
 
6146
    as_ls_L_option=L
 
6147
  else
 
6148
    as_ls_L_option=
 
6149
  fi
 
6150
  as_test_x='
 
6151
    eval sh -c '\''
 
6152
      if test -d "$1"; then
 
6153
        test -d "$1/.";
 
6154
      else
 
6155
        case $1 in
 
6156
        -*)set "./$1";;
 
6157
        esac;
 
6158
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
6159
        ???[sx]*):;;*)false;;esac;fi
 
6160
    '\'' sh
 
6161
  '
 
6162
fi
 
6163
as_executable_p=$as_test_x
 
6164
 
 
6165
# Sed expression to map a string onto a valid CPP name.
 
6166
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
6167
 
 
6168
# Sed expression to map a string onto a valid variable name.
 
6169
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
6170
 
 
6171
 
 
6172
exec 6>&1
 
6173
 
 
6174
# Save the log message, to keep $[0] and so on meaningful, and to
 
6175
# report actual input values of CONFIG_FILES etc. instead of their
 
6176
# values after options handling.
 
6177
ac_log="
 
6178
This file was extended by $as_me, which was
 
6179
generated by GNU Autoconf 2.61.  Invocation command line was
 
6180
 
 
6181
  CONFIG_FILES    = $CONFIG_FILES
 
6182
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
6183
  CONFIG_LINKS    = $CONFIG_LINKS
 
6184
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
6185
  $ $0 $@
 
6186
 
 
6187
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
6188
"
 
6189
 
 
6190
_ACEOF
 
6191
 
 
6192
cat >>$CONFIG_STATUS <<_ACEOF
 
6193
# Files that config.status was made for.
 
6194
config_files="$ac_config_files"
 
6195
config_headers="$ac_config_headers"
 
6196
config_commands="$ac_config_commands"
 
6197
 
 
6198
_ACEOF
 
6199
 
 
6200
cat >>$CONFIG_STATUS <<\_ACEOF
 
6201
ac_cs_usage="\
 
6202
\`$as_me' instantiates files from templates according to the
 
6203
current configuration.
 
6204
 
 
6205
Usage: $0 [OPTIONS] [FILE]...
 
6206
 
 
6207
  -h, --help       print this help, then exit
 
6208
  -V, --version    print version number and configuration settings, then exit
 
6209
  -q, --quiet      do not print progress messages
 
6210
  -d, --debug      don't remove temporary files
 
6211
      --recheck    update $as_me by reconfiguring in the same conditions
 
6212
  --file=FILE[:TEMPLATE]
 
6213
                   instantiate the configuration file FILE
 
6214
  --header=FILE[:TEMPLATE]
 
6215
                   instantiate the configuration header FILE
 
6216
 
 
6217
Configuration files:
 
6218
$config_files
 
6219
 
 
6220
Configuration headers:
 
6221
$config_headers
 
6222
 
 
6223
Configuration commands:
 
6224
$config_commands
 
6225
 
 
6226
Report bugs to <bug-autoconf@gnu.org>."
 
6227
 
 
6228
_ACEOF
 
6229
cat >>$CONFIG_STATUS <<_ACEOF
 
6230
ac_cs_version="\\
 
6231
config.status
 
6232
configured by $0, generated by GNU Autoconf 2.61,
 
6233
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6234
 
 
6235
Copyright (C) 2006 Free Software Foundation, Inc.
 
6236
This config.status script is free software; the Free Software Foundation
 
6237
gives unlimited permission to copy, distribute and modify it."
 
6238
 
 
6239
ac_pwd='$ac_pwd'
 
6240
srcdir='$srcdir'
 
6241
INSTALL='$INSTALL'
 
6242
MKDIR_P='$MKDIR_P'
 
6243
_ACEOF
 
6244
 
 
6245
cat >>$CONFIG_STATUS <<\_ACEOF
 
6246
# If no file are specified by the user, then we need to provide default
 
6247
# value.  By we need to know if files were specified by the user.
 
6248
ac_need_defaults=:
 
6249
while test $# != 0
 
6250
do
 
6251
  case $1 in
 
6252
  --*=*)
 
6253
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6254
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
6255
    ac_shift=:
 
6256
    ;;
 
6257
  *)
 
6258
    ac_option=$1
 
6259
    ac_optarg=$2
 
6260
    ac_shift=shift
 
6261
    ;;
 
6262
  esac
 
6263
 
 
6264
  case $ac_option in
 
6265
  # Handling of the options.
 
6266
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
6267
    ac_cs_recheck=: ;;
 
6268
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
6269
    echo "$ac_cs_version"; exit ;;
 
6270
  --debug | --debu | --deb | --de | --d | -d )
 
6271
    debug=: ;;
 
6272
  --file | --fil | --fi | --f )
 
6273
    $ac_shift
 
6274
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
6275
    ac_need_defaults=false;;
 
6276
  --header | --heade | --head | --hea )
 
6277
    $ac_shift
 
6278
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
6279
    ac_need_defaults=false;;
 
6280
  --he | --h)
 
6281
    # Conflict between --help and --header
 
6282
    { echo "$as_me: error: ambiguous option: $1
 
6283
Try \`$0 --help' for more information." >&2
 
6284
   { (exit 1); exit 1; }; };;
 
6285
  --help | --hel | -h )
 
6286
    echo "$ac_cs_usage"; exit ;;
 
6287
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
6288
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
6289
    ac_cs_silent=: ;;
 
6290
 
 
6291
  # This is an error.
 
6292
  -*) { echo "$as_me: error: unrecognized option: $1
 
6293
Try \`$0 --help' for more information." >&2
 
6294
   { (exit 1); exit 1; }; } ;;
 
6295
 
 
6296
  *) ac_config_targets="$ac_config_targets $1"
 
6297
     ac_need_defaults=false ;;
 
6298
 
 
6299
  esac
 
6300
  shift
 
6301
done
 
6302
 
 
6303
ac_configure_extra_args=
 
6304
 
 
6305
if $ac_cs_silent; then
 
6306
  exec 6>/dev/null
 
6307
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
6308
fi
 
6309
 
 
6310
_ACEOF
 
6311
cat >>$CONFIG_STATUS <<_ACEOF
 
6312
if \$ac_cs_recheck; then
 
6313
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
6314
  CONFIG_SHELL=$SHELL
 
6315
  export CONFIG_SHELL
 
6316
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6317
fi
 
6318
 
 
6319
_ACEOF
 
6320
cat >>$CONFIG_STATUS <<\_ACEOF
 
6321
exec 5>>config.log
 
6322
{
 
6323
  echo
 
6324
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
6325
@%:@@%:@ Running $as_me. @%:@@%:@
 
6326
_ASBOX
 
6327
  echo "$ac_log"
 
6328
} >&5
 
6329
 
 
6330
_ACEOF
 
6331
cat >>$CONFIG_STATUS <<_ACEOF
 
6332
#
 
6333
# INIT-COMMANDS
 
6334
#
 
6335
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
6336
 
 
6337
_ACEOF
 
6338
 
 
6339
cat >>$CONFIG_STATUS <<\_ACEOF
 
6340
 
 
6341
# Handling of arguments.
 
6342
for ac_config_target in $ac_config_targets
 
6343
do
 
6344
  case $ac_config_target in
 
6345
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
6346
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
6347
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
6348
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
6349
    "src/metis/Makefile") CONFIG_FILES="$CONFIG_FILES src/metis/Makefile" ;;
 
6350
 
 
6351
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
6352
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
6353
   { (exit 1); exit 1; }; };;
 
6354
  esac
 
6355
done
 
6356
 
 
6357
 
 
6358
# If the user did not use the arguments to specify the items to instantiate,
 
6359
# then the envvar interface is used.  Set only those that are not.
 
6360
# We use the long form for the default assignment because of an extremely
 
6361
# bizarre bug on SunOS 4.1.3.
 
6362
if $ac_need_defaults; then
 
6363
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
6364
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
6365
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
6366
fi
 
6367
 
 
6368
# Have a temporary directory for convenience.  Make it in the build tree
 
6369
# simply because there is no reason against having it here, and in addition,
 
6370
# creating and moving files from /tmp can sometimes cause problems.
 
6371
# Hook for its removal unless debugging.
 
6372
# Note that there is a small window in which the directory will not be cleaned:
 
6373
# after its creation but before its name has been assigned to `$tmp'.
 
6374
$debug ||
 
6375
{
 
6376
  tmp=
 
6377
  trap 'exit_status=$?
 
6378
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
6379
' 0
 
6380
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6381
}
 
6382
# Create a (secure) tmp directory for tmp files.
 
6383
 
 
6384
{
 
6385
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
6386
  test -n "$tmp" && test -d "$tmp"
 
6387
}  ||
 
6388
{
 
6389
  tmp=./conf$$-$RANDOM
 
6390
  (umask 077 && mkdir "$tmp")
 
6391
} ||
 
6392
{
 
6393
   echo "$me: cannot create a temporary directory in ." >&2
 
6394
   { (exit 1); exit 1; }
 
6395
}
 
6396
 
 
6397
#
 
6398
# Set up the sed scripts for CONFIG_FILES section.
 
6399
#
 
6400
 
 
6401
# No need to generate the scripts if there are no CONFIG_FILES.
 
6402
# This happens for instance when ./config.status config.h
 
6403
if test -n "$CONFIG_FILES"; then
 
6404
 
 
6405
_ACEOF
 
6406
 
 
6407
 
 
6408
 
 
6409
ac_delim='%!_!# '
 
6410
for ac_last_try in false false false false false :; do
 
6411
  cat >conf$$subs.sed <<_ACEOF
 
6412
SHELL!$SHELL$ac_delim
 
6413
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
6414
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
6415
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
6416
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
6417
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
6418
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
6419
exec_prefix!$exec_prefix$ac_delim
 
6420
prefix!$prefix$ac_delim
 
6421
program_transform_name!$program_transform_name$ac_delim
 
6422
bindir!$bindir$ac_delim
 
6423
sbindir!$sbindir$ac_delim
 
6424
libexecdir!$libexecdir$ac_delim
 
6425
datarootdir!$datarootdir$ac_delim
 
6426
datadir!$datadir$ac_delim
 
6427
sysconfdir!$sysconfdir$ac_delim
 
6428
sharedstatedir!$sharedstatedir$ac_delim
 
6429
localstatedir!$localstatedir$ac_delim
 
6430
includedir!$includedir$ac_delim
 
6431
oldincludedir!$oldincludedir$ac_delim
 
6432
docdir!$docdir$ac_delim
 
6433
infodir!$infodir$ac_delim
 
6434
htmldir!$htmldir$ac_delim
 
6435
dvidir!$dvidir$ac_delim
 
6436
pdfdir!$pdfdir$ac_delim
 
6437
psdir!$psdir$ac_delim
 
6438
libdir!$libdir$ac_delim
 
6439
localedir!$localedir$ac_delim
 
6440
mandir!$mandir$ac_delim
 
6441
DEFS!$DEFS$ac_delim
 
6442
ECHO_C!$ECHO_C$ac_delim
 
6443
ECHO_N!$ECHO_N$ac_delim
 
6444
ECHO_T!$ECHO_T$ac_delim
 
6445
LIBS!$LIBS$ac_delim
 
6446
build_alias!$build_alias$ac_delim
 
6447
host_alias!$host_alias$ac_delim
 
6448
target_alias!$target_alias$ac_delim
 
6449
build!$build$ac_delim
 
6450
build_cpu!$build_cpu$ac_delim
 
6451
build_vendor!$build_vendor$ac_delim
 
6452
build_os!$build_os$ac_delim
 
6453
host!$host$ac_delim
 
6454
host_cpu!$host_cpu$ac_delim
 
6455
host_vendor!$host_vendor$ac_delim
 
6456
host_os!$host_os$ac_delim
 
6457
target!$target$ac_delim
 
6458
target_cpu!$target_cpu$ac_delim
 
6459
target_vendor!$target_vendor$ac_delim
 
6460
target_os!$target_os$ac_delim
 
6461
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
6462
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
6463
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
6464
am__isrc!$am__isrc$ac_delim
 
6465
CYGPATH_W!$CYGPATH_W$ac_delim
 
6466
PACKAGE!$PACKAGE$ac_delim
 
6467
VERSION!$VERSION$ac_delim
 
6468
ACLOCAL!$ACLOCAL$ac_delim
 
6469
AUTOCONF!$AUTOCONF$ac_delim
 
6470
AUTOMAKE!$AUTOMAKE$ac_delim
 
6471
AUTOHEADER!$AUTOHEADER$ac_delim
 
6472
MAKEINFO!$MAKEINFO$ac_delim
 
6473
install_sh!$install_sh$ac_delim
 
6474
STRIP!$STRIP$ac_delim
 
6475
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
6476
mkdir_p!$mkdir_p$ac_delim
 
6477
AWK!$AWK$ac_delim
 
6478
SET_MAKE!$SET_MAKE$ac_delim
 
6479
am__leading_dot!$am__leading_dot$ac_delim
 
6480
AMTAR!$AMTAR$ac_delim
 
6481
am__tar!$am__tar$ac_delim
 
6482
am__untar!$am__untar$ac_delim
 
6483
HAVE_WINDRES_TRUE!$HAVE_WINDRES_TRUE$ac_delim
 
6484
HAVE_WINDRES_FALSE!$HAVE_WINDRES_FALSE$ac_delim
 
6485
canonical_host_type!$canonical_host_type$ac_delim
 
6486
IBM_IS_PIECE_OF_SHIT_TRUE!$IBM_IS_PIECE_OF_SHIT_TRUE$ac_delim
 
6487
IBM_IS_PIECE_OF_SHIT_FALSE!$IBM_IS_PIECE_OF_SHIT_FALSE$ac_delim
 
6488
AR!$AR$ac_delim
 
6489
ARFLAGS!$ARFLAGS$ac_delim
 
6490
RANLIB!$RANLIB$ac_delim
 
6491
CC!$CC$ac_delim
 
6492
CFLAGS!$CFLAGS$ac_delim
 
6493
LDFLAGS!$LDFLAGS$ac_delim
 
6494
CPPFLAGS!$CPPFLAGS$ac_delim
 
6495
ac_ct_CC!$ac_ct_CC$ac_delim
 
6496
EXEEXT!$EXEEXT$ac_delim
 
6497
OBJEXT!$OBJEXT$ac_delim
 
6498
DEPDIR!$DEPDIR$ac_delim
 
6499
am__include!$am__include$ac_delim
 
6500
am__quote!$am__quote$ac_delim
 
6501
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
6502
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
6503
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
6504
CCDEPMODE!$CCDEPMODE$ac_delim
 
6505
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
6506
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
6507
CPP!$CPP$ac_delim
 
6508
GREP!$GREP$ac_delim
 
6509
_ACEOF
 
6510
 
 
6511
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
6512
    break
 
6513
  elif $ac_last_try; then
 
6514
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6515
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6516
   { (exit 1); exit 1; }; }
 
6517
  else
 
6518
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6519
  fi
 
6520
done
 
6521
 
 
6522
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
6523
if test -n "$ac_eof"; then
 
6524
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
6525
  ac_eof=`expr $ac_eof + 1`
 
6526
fi
 
6527
 
 
6528
cat >>$CONFIG_STATUS <<_ACEOF
 
6529
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
6530
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
6531
_ACEOF
 
6532
sed '
 
6533
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
6534
s/^/s,@/; s/!/@,|#_!!_#|/
 
6535
:n
 
6536
t n
 
6537
s/'"$ac_delim"'$/,g/; t
 
6538
s/$/\\/; p
 
6539
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
6540
' >>$CONFIG_STATUS <conf$$subs.sed
 
6541
rm -f conf$$subs.sed
 
6542
cat >>$CONFIG_STATUS <<_ACEOF
 
6543
CEOF$ac_eof
 
6544
_ACEOF
 
6545
 
 
6546
 
 
6547
ac_delim='%!_!# '
 
6548
for ac_last_try in false false false false false :; do
 
6549
  cat >conf$$subs.sed <<_ACEOF
 
6550
EGREP!$EGREP$ac_delim
 
6551
USE_64BIT_ARCH_TRUE!$USE_64BIT_ARCH_TRUE$ac_delim
 
6552
USE_64BIT_ARCH_FALSE!$USE_64BIT_ARCH_FALSE$ac_delim
 
6553
B64FLAGS!$B64FLAGS$ac_delim
 
6554
USE_WINDOWS_COMPILER_TRUE!$USE_WINDOWS_COMPILER_TRUE$ac_delim
 
6555
USE_WINDOWS_COMPILER_FALSE!$USE_WINDOWS_COMPILER_FALSE$ac_delim
 
6556
MATC_LIBS!$MATC_LIBS$ac_delim
 
6557
USE_EXTERNAL_METIS_TRUE!$USE_EXTERNAL_METIS_TRUE$ac_delim
 
6558
USE_EXTERNAL_METIS_FALSE!$USE_EXTERNAL_METIS_FALSE$ac_delim
 
6559
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
6560
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
6561
MAINT!$MAINT$ac_delim
 
6562
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
 
6563
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
6564
_ACEOF
 
6565
 
 
6566
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
 
6567
    break
 
6568
  elif $ac_last_try; then
 
6569
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6570
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6571
   { (exit 1); exit 1; }; }
 
6572
  else
 
6573
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6574
  fi
 
6575
done
 
6576
 
 
6577
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
6578
if test -n "$ac_eof"; then
 
6579
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
6580
  ac_eof=`expr $ac_eof + 1`
 
6581
fi
 
6582
 
 
6583
cat >>$CONFIG_STATUS <<_ACEOF
 
6584
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
6585
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
6586
_ACEOF
 
6587
sed '
 
6588
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
6589
s/^/s,@/; s/!/@,|#_!!_#|/
 
6590
:n
 
6591
t n
 
6592
s/'"$ac_delim"'$/,g/; t
 
6593
s/$/\\/; p
 
6594
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
6595
' >>$CONFIG_STATUS <conf$$subs.sed
 
6596
rm -f conf$$subs.sed
 
6597
cat >>$CONFIG_STATUS <<_ACEOF
 
6598
:end
 
6599
s/|#_!!_#|//g
 
6600
CEOF$ac_eof
 
6601
_ACEOF
 
6602
 
 
6603
 
 
6604
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
6605
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
6606
# trailing colons and then remove the whole line if VPATH becomes empty
 
6607
# (actually we leave an empty line to preserve line numbers).
 
6608
if test "x$srcdir" = x.; then
 
6609
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
6610
s/:*\$(srcdir):*/:/
 
6611
s/:*\${srcdir}:*/:/
 
6612
s/:*@srcdir@:*/:/
 
6613
s/^\([^=]*=[     ]*\):*/\1/
 
6614
s/:*$//
 
6615
s/^[^=]*=[       ]*$//
 
6616
}'
 
6617
fi
 
6618
 
 
6619
cat >>$CONFIG_STATUS <<\_ACEOF
 
6620
fi # test -n "$CONFIG_FILES"
 
6621
 
 
6622
 
 
6623
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
6624
do
 
6625
  case $ac_tag in
 
6626
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
6627
  esac
 
6628
  case $ac_mode$ac_tag in
 
6629
  :[FHL]*:*);;
 
6630
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
6631
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
6632
   { (exit 1); exit 1; }; };;
 
6633
  :[FH]-) ac_tag=-:-;;
 
6634
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
6635
  esac
 
6636
  ac_save_IFS=$IFS
 
6637
  IFS=:
 
6638
  set x $ac_tag
 
6639
  IFS=$ac_save_IFS
 
6640
  shift
 
6641
  ac_file=$1
 
6642
  shift
 
6643
 
 
6644
  case $ac_mode in
 
6645
  :L) ac_source=$1;;
 
6646
  :[FH])
 
6647
    ac_file_inputs=
 
6648
    for ac_f
 
6649
    do
 
6650
      case $ac_f in
 
6651
      -) ac_f="$tmp/stdin";;
 
6652
      *) # Look for the file first in the build tree, then in the source tree
 
6653
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
6654
         # because $ac_f cannot contain `:'.
 
6655
         test -f "$ac_f" ||
 
6656
           case $ac_f in
 
6657
           [\\/$]*) false;;
 
6658
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
6659
           esac ||
 
6660
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
6661
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
6662
   { (exit 1); exit 1; }; };;
 
6663
      esac
 
6664
      ac_file_inputs="$ac_file_inputs $ac_f"
 
6665
    done
 
6666
 
 
6667
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
6668
    # use $as_me), people would be surprised to read:
 
6669
    #    /* config.h.  Generated by config.status.  */
 
6670
    configure_input="Generated from "`IFS=:
 
6671
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
6672
    if test x"$ac_file" != x-; then
 
6673
      configure_input="$ac_file.  $configure_input"
 
6674
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6675
echo "$as_me: creating $ac_file" >&6;}
 
6676
    fi
 
6677
 
 
6678
    case $ac_tag in
 
6679
    *:-:* | *:-) cat >"$tmp/stdin";;
 
6680
    esac
 
6681
    ;;
 
6682
  esac
 
6683
 
 
6684
  ac_dir=`$as_dirname -- "$ac_file" ||
 
6685
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6686
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6687
         X"$ac_file" : 'X\(//\)$' \| \
 
6688
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
6689
echo X"$ac_file" |
 
6690
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6691
            s//\1/
 
6692
            q
 
6693
          }
 
6694
          /^X\(\/\/\)[^/].*/{
 
6695
            s//\1/
 
6696
            q
 
6697
          }
 
6698
          /^X\(\/\/\)$/{
 
6699
            s//\1/
 
6700
            q
 
6701
          }
 
6702
          /^X\(\/\).*/{
 
6703
            s//\1/
 
6704
            q
 
6705
          }
 
6706
          s/.*/./; q'`
 
6707
  { as_dir="$ac_dir"
 
6708
  case $as_dir in #(
 
6709
  -*) as_dir=./$as_dir;;
 
6710
  esac
 
6711
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
6712
    as_dirs=
 
6713
    while :; do
 
6714
      case $as_dir in #(
 
6715
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
6716
      *) as_qdir=$as_dir;;
 
6717
      esac
 
6718
      as_dirs="'$as_qdir' $as_dirs"
 
6719
      as_dir=`$as_dirname -- "$as_dir" ||
 
6720
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6721
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6722
         X"$as_dir" : 'X\(//\)$' \| \
 
6723
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6724
echo X"$as_dir" |
 
6725
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6726
            s//\1/
 
6727
            q
 
6728
          }
 
6729
          /^X\(\/\/\)[^/].*/{
 
6730
            s//\1/
 
6731
            q
 
6732
          }
 
6733
          /^X\(\/\/\)$/{
 
6734
            s//\1/
 
6735
            q
 
6736
          }
 
6737
          /^X\(\/\).*/{
 
6738
            s//\1/
 
6739
            q
 
6740
          }
 
6741
          s/.*/./; q'`
 
6742
      test -d "$as_dir" && break
 
6743
    done
 
6744
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6745
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
6746
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
6747
   { (exit 1); exit 1; }; }; }
 
6748
  ac_builddir=.
 
6749
 
 
6750
case "$ac_dir" in
 
6751
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6752
*)
 
6753
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
6754
  # A ".." for each directory in $ac_dir_suffix.
 
6755
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
6756
  case $ac_top_builddir_sub in
 
6757
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6758
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
6759
  esac ;;
 
6760
esac
 
6761
ac_abs_top_builddir=$ac_pwd
 
6762
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
6763
# for backward compatibility:
 
6764
ac_top_builddir=$ac_top_build_prefix
 
6765
 
 
6766
case $srcdir in
 
6767
  .)  # We are building in place.
 
6768
    ac_srcdir=.
 
6769
    ac_top_srcdir=$ac_top_builddir_sub
 
6770
    ac_abs_top_srcdir=$ac_pwd ;;
 
6771
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
6772
    ac_srcdir=$srcdir$ac_dir_suffix;
 
6773
    ac_top_srcdir=$srcdir
 
6774
    ac_abs_top_srcdir=$srcdir ;;
 
6775
  *) # Relative name.
 
6776
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
6777
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
6778
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
6779
esac
 
6780
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
6781
 
 
6782
 
 
6783
  case $ac_mode in
 
6784
  :F)
 
6785
  #
 
6786
  # CONFIG_FILE
 
6787
  #
 
6788
 
 
6789
  case $INSTALL in
 
6790
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
6791
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
6792
  esac
 
6793
  ac_MKDIR_P=$MKDIR_P
 
6794
  case $MKDIR_P in
 
6795
  [\\/$]* | ?:[\\/]* ) ;;
 
6796
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
6797
  esac
 
6798
_ACEOF
 
6799
 
 
6800
cat >>$CONFIG_STATUS <<\_ACEOF
 
6801
# If the template does not know about datarootdir, expand it.
 
6802
# FIXME: This hack should be removed a few years after 2.60.
 
6803
ac_datarootdir_hack=; ac_datarootdir_seen=
 
6804
 
 
6805
case `sed -n '/datarootdir/ {
 
6806
  p
 
6807
  q
 
6808
}
 
6809
/@datadir@/p
 
6810
/@docdir@/p
 
6811
/@infodir@/p
 
6812
/@localedir@/p
 
6813
/@mandir@/p
 
6814
' $ac_file_inputs` in
 
6815
*datarootdir*) ac_datarootdir_seen=yes;;
 
6816
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
6817
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6818
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6819
_ACEOF
 
6820
cat >>$CONFIG_STATUS <<_ACEOF
 
6821
  ac_datarootdir_hack='
 
6822
  s&@datadir@&$datadir&g
 
6823
  s&@docdir@&$docdir&g
 
6824
  s&@infodir@&$infodir&g
 
6825
  s&@localedir@&$localedir&g
 
6826
  s&@mandir@&$mandir&g
 
6827
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
6828
esac
 
6829
_ACEOF
 
6830
 
 
6831
# Neutralize VPATH when `$srcdir' = `.'.
 
6832
# Shell code in configure.ac might set extrasub.
 
6833
# FIXME: do we really want to maintain this feature?
 
6834
cat >>$CONFIG_STATUS <<_ACEOF
 
6835
  sed "$ac_vpsub
 
6836
$extrasub
 
6837
_ACEOF
 
6838
cat >>$CONFIG_STATUS <<\_ACEOF
 
6839
:t
 
6840
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
6841
s&@configure_input@&$configure_input&;t t
 
6842
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6843
s&@srcdir@&$ac_srcdir&;t t
 
6844
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
6845
s&@top_srcdir@&$ac_top_srcdir&;t t
 
6846
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
6847
s&@builddir@&$ac_builddir&;t t
 
6848
s&@abs_builddir@&$ac_abs_builddir&;t t
 
6849
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
6850
s&@INSTALL@&$ac_INSTALL&;t t
 
6851
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
6852
$ac_datarootdir_hack
 
6853
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
6854
 
 
6855
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
6856
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
6857
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
6858
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6859
which seems to be undefined.  Please make sure it is defined." >&5
 
6860
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6861
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6862
 
 
6863
  rm -f "$tmp/stdin"
 
6864
  case $ac_file in
 
6865
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
6866
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
6867
  esac
 
6868
 ;;
 
6869
  :H)
 
6870
  #
 
6871
  # CONFIG_HEADER
 
6872
  #
 
6873
_ACEOF
 
6874
 
 
6875
# Transform confdefs.h into a sed script `conftest.defines', that
 
6876
# substitutes the proper values into config.h.in to produce config.h.
 
6877
rm -f conftest.defines conftest.tail
 
6878
# First, append a space to every undef/define line, to ease matching.
 
6879
echo 's/$/ /' >conftest.defines
 
6880
# Then, protect against being on the right side of a sed subst, or in
 
6881
# an unquoted here document, in config.status.  If some macros were
 
6882
# called several times there might be several #defines for the same
 
6883
# symbol, which is useless.  But do not sort them, since the last
 
6884
# AC_DEFINE must be honored.
 
6885
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
6886
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
6887
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
6888
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
6889
# just an empty string.
 
6890
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
6891
ac_dB='\\)[      (].*,\\1define\\2'
 
6892
ac_dC=' '
 
6893
ac_dD=' ,'
 
6894
 
 
6895
uniq confdefs.h |
 
6896
  sed -n '
 
6897
        t rset
 
6898
        :rset
 
6899
        s/^[     ]*#[    ]*define[       ][      ]*//
 
6900
        t ok
 
6901
        d
 
6902
        :ok
 
6903
        s/[\\&,]/\\&/g
 
6904
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
6905
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
6906
  ' >>conftest.defines
 
6907
 
 
6908
# Remove the space that was appended to ease matching.
 
6909
# Then replace #undef with comments.  This is necessary, for
 
6910
# example, in the case of _POSIX_SOURCE, which is predefined and required
 
6911
# on some systems where configure will not decide to define it.
 
6912
# (The regexp can be short, since the line contains either #define or #undef.)
 
6913
echo 's/ $//
 
6914
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
6915
 
 
6916
# Break up conftest.defines:
 
6917
ac_max_sed_lines=50
 
6918
 
 
6919
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
6920
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
6921
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
6922
# et cetera.
 
6923
ac_in='$ac_file_inputs'
 
6924
ac_out='"$tmp/out1"'
 
6925
ac_nxt='"$tmp/out2"'
 
6926
 
 
6927
while :
 
6928
do
 
6929
  # Write a here document:
 
6930
    cat >>$CONFIG_STATUS <<_ACEOF
 
6931
    # First, check the format of the line:
 
6932
    cat >"\$tmp/defines.sed" <<\\CEOF
 
6933
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
6934
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
6935
b
 
6936
:def
 
6937
_ACEOF
 
6938
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 
6939
  echo 'CEOF
 
6940
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
6941
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
6942
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
6943
  grep . conftest.tail >/dev/null || break
 
6944
  rm -f conftest.defines
 
6945
  mv conftest.tail conftest.defines
 
6946
done
 
6947
rm -f conftest.defines conftest.tail
 
6948
 
 
6949
echo "ac_result=$ac_in" >>$CONFIG_STATUS
 
6950
cat >>$CONFIG_STATUS <<\_ACEOF
 
6951
  if test x"$ac_file" != x-; then
 
6952
    echo "/* $configure_input  */" >"$tmp/config.h"
 
6953
    cat "$ac_result" >>"$tmp/config.h"
 
6954
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 
6955
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6956
echo "$as_me: $ac_file is unchanged" >&6;}
 
6957
    else
 
6958
      rm -f $ac_file
 
6959
      mv "$tmp/config.h" $ac_file
 
6960
    fi
 
6961
  else
 
6962
    echo "/* $configure_input  */"
 
6963
    cat "$ac_result"
 
6964
  fi
 
6965
  rm -f "$tmp/out12"
 
6966
# Compute $ac_file's index in $config_headers.
 
6967
_am_stamp_count=1
 
6968
for _am_header in $config_headers :; do
 
6969
  case $_am_header in
 
6970
    $ac_file | $ac_file:* )
 
6971
      break ;;
 
6972
    * )
 
6973
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
6974
  esac
 
6975
done
 
6976
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
6977
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6978
         X$ac_file : 'X\(//\)[^/]' \| \
 
6979
         X$ac_file : 'X\(//\)$' \| \
 
6980
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
6981
echo X$ac_file |
 
6982
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6983
            s//\1/
 
6984
            q
 
6985
          }
 
6986
          /^X\(\/\/\)[^/].*/{
 
6987
            s//\1/
 
6988
            q
 
6989
          }
 
6990
          /^X\(\/\/\)$/{
 
6991
            s//\1/
 
6992
            q
 
6993
          }
 
6994
          /^X\(\/\).*/{
 
6995
            s//\1/
 
6996
            q
 
6997
          }
 
6998
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6999
 ;;
 
7000
  
 
7001
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7002
echo "$as_me: executing $ac_file commands" >&6;}
 
7003
 ;;
 
7004
  esac
 
7005
 
 
7006
 
 
7007
  case $ac_file$ac_mode in
 
7008
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
7009
  # Strip MF so we end up with the name of the file.
 
7010
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
7011
  # Check whether this is an Automake generated Makefile or not.
 
7012
  # We used to match only the files named `Makefile.in', but
 
7013
  # some people rename them; so instead we look at the file content.
 
7014
  # Grep'ing the first line is not enough: some people post-process
 
7015
  # each Makefile.in and add a new line on top of each file to say so.
 
7016
  # Grep'ing the whole file is not good either: AIX grep has a line
 
7017
  # limit of 2048, but all sed's we know have understand at least 4000.
 
7018
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
7019
    dirpart=`$as_dirname -- "$mf" ||
 
7020
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7021
         X"$mf" : 'X\(//\)[^/]' \| \
 
7022
         X"$mf" : 'X\(//\)$' \| \
 
7023
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
7024
echo X"$mf" |
 
7025
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7026
            s//\1/
 
7027
            q
 
7028
          }
 
7029
          /^X\(\/\/\)[^/].*/{
 
7030
            s//\1/
 
7031
            q
 
7032
          }
 
7033
          /^X\(\/\/\)$/{
 
7034
            s//\1/
 
7035
            q
 
7036
          }
 
7037
          /^X\(\/\).*/{
 
7038
            s//\1/
 
7039
            q
 
7040
          }
 
7041
          s/.*/./; q'`
 
7042
  else
 
7043
    continue
 
7044
  fi
 
7045
  # Extract the definition of DEPDIR, am__include, and am__quote
 
7046
  # from the Makefile without running `make'.
 
7047
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
7048
  test -z "$DEPDIR" && continue
 
7049
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
7050
  test -z "am__include" && continue
 
7051
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
7052
  # When using ansi2knr, U may be empty or an underscore; expand it
 
7053
  U=`sed -n 's/^U = //p' < "$mf"`
 
7054
  # Find all dependency output files, they are included files with
 
7055
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
7056
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
7057
  # expansion.
 
7058
  for file in `sed -n "
 
7059
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
7060
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
7061
    # Make sure the directory exists.
 
7062
    test -f "$dirpart/$file" && continue
 
7063
    fdir=`$as_dirname -- "$file" ||
 
7064
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7065
         X"$file" : 'X\(//\)[^/]' \| \
 
7066
         X"$file" : 'X\(//\)$' \| \
 
7067
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
7068
echo X"$file" |
 
7069
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7070
            s//\1/
 
7071
            q
 
7072
          }
 
7073
          /^X\(\/\/\)[^/].*/{
 
7074
            s//\1/
 
7075
            q
 
7076
          }
 
7077
          /^X\(\/\/\)$/{
 
7078
            s//\1/
 
7079
            q
 
7080
          }
 
7081
          /^X\(\/\).*/{
 
7082
            s//\1/
 
7083
            q
 
7084
          }
 
7085
          s/.*/./; q'`
 
7086
    { as_dir=$dirpart/$fdir
 
7087
  case $as_dir in #(
 
7088
  -*) as_dir=./$as_dir;;
 
7089
  esac
 
7090
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
7091
    as_dirs=
 
7092
    while :; do
 
7093
      case $as_dir in #(
 
7094
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7095
      *) as_qdir=$as_dir;;
 
7096
      esac
 
7097
      as_dirs="'$as_qdir' $as_dirs"
 
7098
      as_dir=`$as_dirname -- "$as_dir" ||
 
7099
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7100
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
7101
         X"$as_dir" : 'X\(//\)$' \| \
 
7102
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
7103
echo X"$as_dir" |
 
7104
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7105
            s//\1/
 
7106
            q
 
7107
          }
 
7108
          /^X\(\/\/\)[^/].*/{
 
7109
            s//\1/
 
7110
            q
 
7111
          }
 
7112
          /^X\(\/\/\)$/{
 
7113
            s//\1/
 
7114
            q
 
7115
          }
 
7116
          /^X\(\/\).*/{
 
7117
            s//\1/
 
7118
            q
 
7119
          }
 
7120
          s/.*/./; q'`
 
7121
      test -d "$as_dir" && break
 
7122
    done
 
7123
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
7124
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7125
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7126
   { (exit 1); exit 1; }; }; }
 
7127
    # echo "creating $dirpart/$file"
 
7128
    echo '# dummy' > "$dirpart/$file"
 
7129
  done
 
7130
done
 
7131
 ;;
 
7132
 
 
7133
  esac
 
7134
done # for ac_tag
 
7135
 
 
7136
 
 
7137
{ (exit 0); exit 0; }
 
7138
_ACEOF
 
7139
chmod +x $CONFIG_STATUS
 
7140
ac_clean_files=$ac_clean_files_save
 
7141
 
 
7142
 
 
7143
# configure is writing to config.log, and then calls config.status.
 
7144
# config.status does its own redirection, appending to config.log.
 
7145
# Unfortunately, on DOS this fails, as config.log is still kept open
 
7146
# by configure, so config.status won't be able to write to it; its
 
7147
# output is simply discarded.  So we exec the FD to /dev/null,
 
7148
# effectively closing config.log, so it can be properly (re)opened and
 
7149
# appended to by config.status.  When coming back to configure, we
 
7150
# need to make the FD available again.
 
7151
if test "$no_create" != yes; then
 
7152
  ac_cs_success=:
 
7153
  ac_config_status_args=
 
7154
  test "$silent" = yes &&
 
7155
    ac_config_status_args="$ac_config_status_args --quiet"
 
7156
  exec 5>/dev/null
 
7157
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
7158
  exec 5>>config.log
 
7159
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
7160
  # would make configure fail if this is the last instruction.
 
7161
  $ac_cs_success || { (exit 1); exit 1; }
 
7162
fi
 
7163