OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [mips64el-elf/] [configure] - Blame information for rev 834

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64.
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
# Foundation, Inc.
8
#
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
14
 
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
  emulate sh
19
  NULLCMD=:
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
25
  case `(set -o) 2>/dev/null` in #(
26
  *posix*) :
27
    set -o posix ;; #(
28
  *) :
29
     ;;
30
esac
31
fi
32
 
33
 
34
as_nl='
35
'
36
export as_nl
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
  as_echo='print -r --'
46
  as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
50
else
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
57
      arg=$1;
58
      case $arg in #(
59
      *"$as_nl"*)
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
71
 
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
74
  PATH_SEPARATOR=:
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
      PATH_SEPARATOR=';'
78
  }
79
fi
80
 
81
 
82
# IFS
83
# We need space, tab and new line, in precisely that order.  Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
87
IFS=" ""        $as_nl"
88
 
89
# Find who we are.  Look in the path if we contain no directory separator.
90
case $0 in #((
91
  *[\\/]* ) as_myself=$0 ;;
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93
for as_dir in $PATH
94
do
95
  IFS=$as_save_IFS
96
  test -z "$as_dir" && as_dir=.
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98
  done
99
IFS=$as_save_IFS
100
 
101
     ;;
102
esac
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
106
  as_myself=$0
107
fi
108
if test ! -f "$as_myself"; then
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110
  exit 1
111
fi
112
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there.  '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120
done
121
PS1='$ '
122
PS2='> '
123
PS4='+ '
124
 
125
# NLS nuisances.
126
LC_ALL=C
127
export LC_ALL
128
LANGUAGE=C
129
export LANGUAGE
130
 
131
# CDPATH.
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
 
134
if test "x$CONFIG_SHELL" = x; then
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136
  emulate sh
137
  NULLCMD=:
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
  # is contrary to our usage.  Disable this feature.
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
141
  setopt NO_GLOB_SUBST
142
else
143
  case \`(set -o) 2>/dev/null\` in #(
144
  *posix*) :
145
    set -o posix ;; #(
146
  *) :
147
     ;;
148
esac
149
fi
150
"
151
  as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
156
 
157
exitcode=0
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
 
164
else
165
  exitcode=1; echo positional parameters were not saved.
166
fi
167
test x\$exitcode = x0 || exit 1"
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172
  if (eval "$as_required") 2>/dev/null; then :
173
  as_have_required=yes
174
else
175
  as_have_required=no
176
fi
177
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
 
179
else
180
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181
as_found=false
182
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
183
do
184
  IFS=$as_save_IFS
185
  test -z "$as_dir" && as_dir=.
186
  as_found=:
187
  case $as_dir in #(
188
         /*)
189
           for as_base in sh bash ksh sh5; do
190
             # Try only shells that exist, to save several forks.
191
             as_shell=$as_dir/$as_base
192
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194
  CONFIG_SHELL=$as_shell as_have_required=yes
195
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196
  break 2
197
fi
198
fi
199
           done;;
200
       esac
201
  as_found=false
202
done
203
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205
  CONFIG_SHELL=$SHELL as_have_required=yes
206
fi; }
207
IFS=$as_save_IFS
208
 
209
 
210
      if test "x$CONFIG_SHELL" != x; then :
211
  # We cannot yet assume a decent shell, so we have to provide a
212
        # neutralization value for shells without unset; and this also
213
        # works around shells that cannot unset nonexistent variables.
214
        BASH_ENV=/dev/null
215
        ENV=/dev/null
216
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217
        export CONFIG_SHELL
218
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219
fi
220
 
221
    if test x$as_have_required = xno; then :
222
  $as_echo "$0: This script requires a shell more modern than all"
223
  $as_echo "$0: the shells that I found on your system."
224
  if test x${ZSH_VERSION+set} = xset ; then
225
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227
  else
228
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229
$0: including any error possibly output before this
230
$0: message. Then install a modern shell, or manually run
231
$0: the script under such a shell if you do have one."
232
  fi
233
  exit 1
234
fi
235
fi
236
fi
237
SHELL=${CONFIG_SHELL-/bin/sh}
238
export SHELL
239
# Unset more variables known to interfere with behavior of common tools.
240
CLICOLOR_FORCE= GREP_OPTIONS=
241
unset CLICOLOR_FORCE GREP_OPTIONS
242
 
243
## --------------------- ##
244
## M4sh Shell Functions. ##
245
## --------------------- ##
246
# as_fn_unset VAR
247
# ---------------
248
# Portably unset VAR.
249
as_fn_unset ()
250
{
251
  { eval $1=; unset $1;}
252
}
253
as_unset=as_fn_unset
254
 
255
# as_fn_set_status STATUS
256
# -----------------------
257
# Set $? to STATUS, without forking.
258
as_fn_set_status ()
259
{
260
  return $1
261
} # as_fn_set_status
262
 
263
# as_fn_exit STATUS
264
# -----------------
265
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266
as_fn_exit ()
267
{
268
  set +e
269
  as_fn_set_status $1
270
  exit $1
271
} # as_fn_exit
272
 
273
# as_fn_mkdir_p
274
# -------------
275
# Create "$as_dir" as a directory, including parents if necessary.
276
as_fn_mkdir_p ()
277
{
278
 
279
  case $as_dir in #(
280
  -*) as_dir=./$as_dir;;
281
  esac
282
  test -d "$as_dir" || eval $as_mkdir_p || {
283
    as_dirs=
284
    while :; do
285
      case $as_dir in #(
286
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287
      *) as_qdir=$as_dir;;
288
      esac
289
      as_dirs="'$as_qdir' $as_dirs"
290
      as_dir=`$as_dirname -- "$as_dir" ||
291
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292
         X"$as_dir" : 'X\(//\)[^/]' \| \
293
         X"$as_dir" : 'X\(//\)$' \| \
294
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295
$as_echo X"$as_dir" |
296
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297
            s//\1/
298
            q
299
          }
300
          /^X\(\/\/\)[^/].*/{
301
            s//\1/
302
            q
303
          }
304
          /^X\(\/\/\)$/{
305
            s//\1/
306
            q
307
          }
308
          /^X\(\/\).*/{
309
            s//\1/
310
            q
311
          }
312
          s/.*/./; q'`
313
      test -d "$as_dir" && break
314
    done
315
    test -z "$as_dirs" || eval "mkdir $as_dirs"
316
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
 
318
 
319
} # as_fn_mkdir_p
320
# as_fn_append VAR VALUE
321
# ----------------------
322
# Append the text in VALUE to the end of the definition contained in VAR. Take
323
# advantage of any shell optimizations that allow amortized linear growth over
324
# repeated appends, instead of the typical quadratic growth present in naive
325
# implementations.
326
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327
  eval 'as_fn_append ()
328
  {
329
    eval $1+=\$2
330
  }'
331
else
332
  as_fn_append ()
333
  {
334
    eval $1=\$$1\$2
335
  }
336
fi # as_fn_append
337
 
338
# as_fn_arith ARG...
339
# ------------------
340
# Perform arithmetic evaluation on the ARGs, and store the result in the
341
# global $as_val. Take advantage of shells that can avoid forks. The arguments
342
# must be portable across $(()) and expr.
343
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344
  eval 'as_fn_arith ()
345
  {
346
    as_val=$(( $* ))
347
  }'
348
else
349
  as_fn_arith ()
350
  {
351
    as_val=`expr "$@" || test $? -eq 1`
352
  }
353
fi # as_fn_arith
354
 
355
 
356
# as_fn_error ERROR [LINENO LOG_FD]
357
# ---------------------------------
358
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360
# script with status $?, using 1 if that was 0.
361
as_fn_error ()
362
{
363
  as_status=$?; test $as_status -eq 0 && as_status=1
364
  if test "$3"; then
365
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367
  fi
368
  $as_echo "$as_me: error: $1" >&2
369
  as_fn_exit $as_status
370
} # as_fn_error
371
 
372
if expr a : '\(a\)' >/dev/null 2>&1 &&
373
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
374
  as_expr=expr
375
else
376
  as_expr=false
377
fi
378
 
379
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380
  as_basename=basename
381
else
382
  as_basename=false
383
fi
384
 
385
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386
  as_dirname=dirname
387
else
388
  as_dirname=false
389
fi
390
 
391
as_me=`$as_basename -- "$0" ||
392
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393
         X"$0" : 'X\(//\)$' \| \
394
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395
$as_echo X/"$0" |
396
    sed '/^.*\/\([^/][^/]*\)\/*$/{
397
            s//\1/
398
            q
399
          }
400
          /^X\/\(\/\/\)$/{
401
            s//\1/
402
            q
403
          }
404
          /^X\/\(\/\).*/{
405
            s//\1/
406
            q
407
          }
408
          s/.*/./; q'`
409
 
410
# Avoid depending upon Character Ranges.
411
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414
as_cr_digits='0123456789'
415
as_cr_alnum=$as_cr_Letters$as_cr_digits
416
 
417
 
418
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
419
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
420
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
423
  sed -n '
424
    p
425
    /[$]LINENO/=
426
  ' <$as_myself |
427
    sed '
428
      s/[$]LINENO.*/&-/
429
      t lineno
430
      b
431
      :lineno
432
      N
433
      :loop
434
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435
      t loop
436
      s/-\n.*//
437
    ' >$as_me.lineno &&
438
  chmod +x "$as_me.lineno" ||
439
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
440
 
441
  # Don't try to exec as it changes $[0], causing all sort of problems
442
  # (the dirname of $[0] is not the place where we might find the
443
  # original and so on.  Autoconf is especially sensitive to this).
444
  . "./$as_me.lineno"
445
  # Exit status is that of the last command.
446
  exit
447
}
448
 
449
ECHO_C= ECHO_N= ECHO_T=
450
case `echo -n x` in #(((((
451
-n*)
452
  case `echo 'xy\c'` in
453
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
454
  xy)  ECHO_C='\c';;
455
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
456
       ECHO_T=' ';;
457
  esac;;
458
*)
459
  ECHO_N='-n';;
460
esac
461
 
462
rm -f conf$$ conf$$.exe conf$$.file
463
if test -d conf$$.dir; then
464
  rm -f conf$$.dir/conf$$.file
465
else
466
  rm -f conf$$.dir
467
  mkdir conf$$.dir 2>/dev/null
468
fi
469
if (echo >conf$$.file) 2>/dev/null; then
470
  if ln -s conf$$.file conf$$ 2>/dev/null; then
471
    as_ln_s='ln -s'
472
    # ... but there are two gotchas:
473
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475
    # In both cases, we have to default to `cp -p'.
476
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477
      as_ln_s='cp -p'
478
  elif ln conf$$.file conf$$ 2>/dev/null; then
479
    as_ln_s=ln
480
  else
481
    as_ln_s='cp -p'
482
  fi
483
else
484
  as_ln_s='cp -p'
485
fi
486
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487
rmdir conf$$.dir 2>/dev/null
488
 
489
if mkdir -p . 2>/dev/null; then
490
  as_mkdir_p='mkdir -p "$as_dir"'
491
else
492
  test -d ./-p && rmdir ./-p
493
  as_mkdir_p=false
494
fi
495
 
496
if test -x / >/dev/null 2>&1; then
497
  as_test_x='test -x'
498
else
499
  if ls -dL / >/dev/null 2>&1; then
500
    as_ls_L_option=L
501
  else
502
    as_ls_L_option=
503
  fi
504
  as_test_x='
505
    eval sh -c '\''
506
      if test -d "$1"; then
507
        test -d "$1/.";
508
      else
509
        case $1 in #(
510
        -*)set "./$1";;
511
        esac;
512
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513
        ???[sx]*):;;*)false;;esac;fi
514
    '\'' sh
515
  '
516
fi
517
as_executable_p=$as_test_x
518
 
519
# Sed expression to map a string onto a valid CPP name.
520
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
 
522
# Sed expression to map a string onto a valid variable name.
523
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
 
525
 
526
exec 7<&0 &1
527
 
528
# Name of the host.
529
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530
# so uname gets run too.
531
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
 
533
#
534
# Initializations.
535
#
536
ac_default_prefix=/usr/local
537
ac_clean_files=
538
ac_config_libobj_dir=.
539
LIBOBJS=
540
cross_compiling=no
541
subdirs=
542
MFLAGS=
543
MAKEFLAGS=
544
 
545
# Identity of this package.
546
PACKAGE_NAME=
547
PACKAGE_TARNAME=
548
PACKAGE_VERSION=
549
PACKAGE_STRING=
550
PACKAGE_BUGREPORT=
551
PACKAGE_URL=
552
 
553
ac_unique_file="Makefile.in"
554
ac_subst_vars='LTLIBOBJS
555
LIBOBJS
556
target_os
557
target_vendor
558
target_cpu
559
target
560
host_os
561
host_vendor
562
host_cpu
563
host
564
build_os
565
build_vendor
566
build_cpu
567
build
568
CC
569
target_alias
570
host_alias
571
build_alias
572
LIBS
573
ECHO_T
574
ECHO_N
575
ECHO_C
576
DEFS
577
mandir
578
localedir
579
libdir
580
psdir
581
pdfdir
582
dvidir
583
htmldir
584
infodir
585
docdir
586
oldincludedir
587
includedir
588
localstatedir
589
sharedstatedir
590
sysconfdir
591
datadir
592
datarootdir
593
libexecdir
594
sbindir
595
bindir
596
program_transform_name
597
prefix
598
exec_prefix
599
PACKAGE_URL
600
PACKAGE_BUGREPORT
601
PACKAGE_STRING
602
PACKAGE_VERSION
603
PACKAGE_TARNAME
604
PACKAGE_NAME
605
PATH_SEPARATOR
606
SHELL'
607
ac_subst_files=''
608
ac_user_opts='
609
enable_option_checking
610
'
611
      ac_precious_vars='build_alias
612
host_alias
613
target_alias'
614
 
615
 
616
# Initialize some variables set by options.
617
ac_init_help=
618
ac_init_version=false
619
ac_unrecognized_opts=
620
ac_unrecognized_sep=
621
# The variables have the same names as the options, with
622
# dashes changed to underlines.
623
cache_file=/dev/null
624
exec_prefix=NONE
625
no_create=
626
no_recursion=
627
prefix=NONE
628
program_prefix=NONE
629
program_suffix=NONE
630
program_transform_name=s,x,x,
631
silent=
632
site=
633
srcdir=
634
verbose=
635
x_includes=NONE
636
x_libraries=NONE
637
 
638
# Installation directory options.
639
# These are left unexpanded so users can "make install exec_prefix=/foo"
640
# and all the variables that are supposed to be based on exec_prefix
641
# by default will actually change.
642
# Use braces instead of parens because sh, perl, etc. also accept them.
643
# (The list follows the same order as the GNU Coding Standards.)
644
bindir='${exec_prefix}/bin'
645
sbindir='${exec_prefix}/sbin'
646
libexecdir='${exec_prefix}/libexec'
647
datarootdir='${prefix}/share'
648
datadir='${datarootdir}'
649
sysconfdir='${prefix}/etc'
650
sharedstatedir='${prefix}/com'
651
localstatedir='${prefix}/var'
652
includedir='${prefix}/include'
653
oldincludedir='/usr/include'
654
docdir='${datarootdir}/doc/${PACKAGE}'
655
infodir='${datarootdir}/info'
656
htmldir='${docdir}'
657
dvidir='${docdir}'
658
pdfdir='${docdir}'
659
psdir='${docdir}'
660
libdir='${exec_prefix}/lib'
661
localedir='${datarootdir}/locale'
662
mandir='${datarootdir}/man'
663
 
664
ac_prev=
665
ac_dashdash=
666
for ac_option
667
do
668
  # If the previous option needs an argument, assign it.
669
  if test -n "$ac_prev"; then
670
    eval $ac_prev=\$ac_option
671
    ac_prev=
672
    continue
673
  fi
674
 
675
  case $ac_option in
676
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
677
  *)    ac_optarg=yes ;;
678
  esac
679
 
680
  # Accept the important Cygnus configure options, so we can diagnose typos.
681
 
682
  case $ac_dashdash$ac_option in
683
  --)
684
    ac_dashdash=yes ;;
685
 
686
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
687
    ac_prev=bindir ;;
688
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
689
    bindir=$ac_optarg ;;
690
 
691
  -build | --build | --buil | --bui | --bu)
692
    ac_prev=build_alias ;;
693
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
694
    build_alias=$ac_optarg ;;
695
 
696
  -cache-file | --cache-file | --cache-fil | --cache-fi \
697
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
698
    ac_prev=cache_file ;;
699
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
700
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
701
    cache_file=$ac_optarg ;;
702
 
703
  --config-cache | -C)
704
    cache_file=config.cache ;;
705
 
706
  -datadir | --datadir | --datadi | --datad)
707
    ac_prev=datadir ;;
708
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
709
    datadir=$ac_optarg ;;
710
 
711
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
712
  | --dataroo | --dataro | --datar)
713
    ac_prev=datarootdir ;;
714
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
715
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
716
    datarootdir=$ac_optarg ;;
717
 
718
  -disable-* | --disable-*)
719
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
720
    # Reject names that are not valid shell variable names.
721
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
722
      as_fn_error "invalid feature name: $ac_useropt"
723
    ac_useropt_orig=$ac_useropt
724
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
725
    case $ac_user_opts in
726
      *"
727
"enable_$ac_useropt"
728
"*) ;;
729
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
730
         ac_unrecognized_sep=', ';;
731
    esac
732
    eval enable_$ac_useropt=no ;;
733
 
734
  -docdir | --docdir | --docdi | --doc | --do)
735
    ac_prev=docdir ;;
736
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
737
    docdir=$ac_optarg ;;
738
 
739
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
740
    ac_prev=dvidir ;;
741
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
742
    dvidir=$ac_optarg ;;
743
 
744
  -enable-* | --enable-*)
745
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
746
    # Reject names that are not valid shell variable names.
747
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
748
      as_fn_error "invalid feature name: $ac_useropt"
749
    ac_useropt_orig=$ac_useropt
750
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
751
    case $ac_user_opts in
752
      *"
753
"enable_$ac_useropt"
754
"*) ;;
755
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
756
         ac_unrecognized_sep=', ';;
757
    esac
758
    eval enable_$ac_useropt=\$ac_optarg ;;
759
 
760
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
761
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
762
  | --exec | --exe | --ex)
763
    ac_prev=exec_prefix ;;
764
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
765
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
766
  | --exec=* | --exe=* | --ex=*)
767
    exec_prefix=$ac_optarg ;;
768
 
769
  -gas | --gas | --ga | --g)
770
    # Obsolete; use --with-gas.
771
    with_gas=yes ;;
772
 
773
  -help | --help | --hel | --he | -h)
774
    ac_init_help=long ;;
775
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
776
    ac_init_help=recursive ;;
777
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
778
    ac_init_help=short ;;
779
 
780
  -host | --host | --hos | --ho)
781
    ac_prev=host_alias ;;
782
  -host=* | --host=* | --hos=* | --ho=*)
783
    host_alias=$ac_optarg ;;
784
 
785
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
786
    ac_prev=htmldir ;;
787
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
788
  | --ht=*)
789
    htmldir=$ac_optarg ;;
790
 
791
  -includedir | --includedir | --includedi | --included | --include \
792
  | --includ | --inclu | --incl | --inc)
793
    ac_prev=includedir ;;
794
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
795
  | --includ=* | --inclu=* | --incl=* | --inc=*)
796
    includedir=$ac_optarg ;;
797
 
798
  -infodir | --infodir | --infodi | --infod | --info | --inf)
799
    ac_prev=infodir ;;
800
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
801
    infodir=$ac_optarg ;;
802
 
803
  -libdir | --libdir | --libdi | --libd)
804
    ac_prev=libdir ;;
805
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
806
    libdir=$ac_optarg ;;
807
 
808
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
809
  | --libexe | --libex | --libe)
810
    ac_prev=libexecdir ;;
811
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
812
  | --libexe=* | --libex=* | --libe=*)
813
    libexecdir=$ac_optarg ;;
814
 
815
  -localedir | --localedir | --localedi | --localed | --locale)
816
    ac_prev=localedir ;;
817
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
818
    localedir=$ac_optarg ;;
819
 
820
  -localstatedir | --localstatedir | --localstatedi | --localstated \
821
  | --localstate | --localstat | --localsta | --localst | --locals)
822
    ac_prev=localstatedir ;;
823
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
824
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
825
    localstatedir=$ac_optarg ;;
826
 
827
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
828
    ac_prev=mandir ;;
829
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
830
    mandir=$ac_optarg ;;
831
 
832
  -nfp | --nfp | --nf)
833
    # Obsolete; use --without-fp.
834
    with_fp=no ;;
835
 
836
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
837
  | --no-cr | --no-c | -n)
838
    no_create=yes ;;
839
 
840
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
841
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
842
    no_recursion=yes ;;
843
 
844
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
845
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
846
  | --oldin | --oldi | --old | --ol | --o)
847
    ac_prev=oldincludedir ;;
848
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
849
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
850
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
851
    oldincludedir=$ac_optarg ;;
852
 
853
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
854
    ac_prev=prefix ;;
855
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
856
    prefix=$ac_optarg ;;
857
 
858
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
859
  | --program-pre | --program-pr | --program-p)
860
    ac_prev=program_prefix ;;
861
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
862
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
863
    program_prefix=$ac_optarg ;;
864
 
865
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
866
  | --program-suf | --program-su | --program-s)
867
    ac_prev=program_suffix ;;
868
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
869
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
870
    program_suffix=$ac_optarg ;;
871
 
872
  -program-transform-name | --program-transform-name \
873
  | --program-transform-nam | --program-transform-na \
874
  | --program-transform-n | --program-transform- \
875
  | --program-transform | --program-transfor \
876
  | --program-transfo | --program-transf \
877
  | --program-trans | --program-tran \
878
  | --progr-tra | --program-tr | --program-t)
879
    ac_prev=program_transform_name ;;
880
  -program-transform-name=* | --program-transform-name=* \
881
  | --program-transform-nam=* | --program-transform-na=* \
882
  | --program-transform-n=* | --program-transform-=* \
883
  | --program-transform=* | --program-transfor=* \
884
  | --program-transfo=* | --program-transf=* \
885
  | --program-trans=* | --program-tran=* \
886
  | --progr-tra=* | --program-tr=* | --program-t=*)
887
    program_transform_name=$ac_optarg ;;
888
 
889
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
890
    ac_prev=pdfdir ;;
891
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
892
    pdfdir=$ac_optarg ;;
893
 
894
  -psdir | --psdir | --psdi | --psd | --ps)
895
    ac_prev=psdir ;;
896
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
897
    psdir=$ac_optarg ;;
898
 
899
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
900
  | -silent | --silent | --silen | --sile | --sil)
901
    silent=yes ;;
902
 
903
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
904
    ac_prev=sbindir ;;
905
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
906
  | --sbi=* | --sb=*)
907
    sbindir=$ac_optarg ;;
908
 
909
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
910
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
911
  | --sharedst | --shareds | --shared | --share | --shar \
912
  | --sha | --sh)
913
    ac_prev=sharedstatedir ;;
914
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
915
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
916
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
917
  | --sha=* | --sh=*)
918
    sharedstatedir=$ac_optarg ;;
919
 
920
  -site | --site | --sit)
921
    ac_prev=site ;;
922
  -site=* | --site=* | --sit=*)
923
    site=$ac_optarg ;;
924
 
925
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
926
    ac_prev=srcdir ;;
927
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
928
    srcdir=$ac_optarg ;;
929
 
930
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
931
  | --syscon | --sysco | --sysc | --sys | --sy)
932
    ac_prev=sysconfdir ;;
933
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
934
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
935
    sysconfdir=$ac_optarg ;;
936
 
937
  -target | --target | --targe | --targ | --tar | --ta | --t)
938
    ac_prev=target_alias ;;
939
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
940
    target_alias=$ac_optarg ;;
941
 
942
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
943
    verbose=yes ;;
944
 
945
  -version | --version | --versio | --versi | --vers | -V)
946
    ac_init_version=: ;;
947
 
948
  -with-* | --with-*)
949
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
950
    # Reject names that are not valid shell variable names.
951
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952
      as_fn_error "invalid package name: $ac_useropt"
953
    ac_useropt_orig=$ac_useropt
954
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955
    case $ac_user_opts in
956
      *"
957
"with_$ac_useropt"
958
"*) ;;
959
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
960
         ac_unrecognized_sep=', ';;
961
    esac
962
    eval with_$ac_useropt=\$ac_optarg ;;
963
 
964
  -without-* | --without-*)
965
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
966
    # Reject names that are not valid shell variable names.
967
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968
      as_fn_error "invalid package name: $ac_useropt"
969
    ac_useropt_orig=$ac_useropt
970
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971
    case $ac_user_opts in
972
      *"
973
"with_$ac_useropt"
974
"*) ;;
975
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
976
         ac_unrecognized_sep=', ';;
977
    esac
978
    eval with_$ac_useropt=no ;;
979
 
980
  --x)
981
    # Obsolete; use --with-x.
982
    with_x=yes ;;
983
 
984
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
985
  | --x-incl | --x-inc | --x-in | --x-i)
986
    ac_prev=x_includes ;;
987
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
988
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
989
    x_includes=$ac_optarg ;;
990
 
991
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
992
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
993
    ac_prev=x_libraries ;;
994
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
995
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
996
    x_libraries=$ac_optarg ;;
997
 
998
  -*) as_fn_error "unrecognized option: \`$ac_option'
999
Try \`$0 --help' for more information."
1000
    ;;
1001
 
1002
  *=*)
1003
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1004
    # Reject names that are not valid shell variable names.
1005
    case $ac_envvar in #(
1006
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1007
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1008
    esac
1009
    eval $ac_envvar=\$ac_optarg
1010
    export $ac_envvar ;;
1011
 
1012
  *)
1013
    # FIXME: should be removed in autoconf 3.0.
1014
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1015
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1016
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1017
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1018
    ;;
1019
 
1020
  esac
1021
done
1022
 
1023
if test -n "$ac_prev"; then
1024
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1025
  as_fn_error "missing argument to $ac_option"
1026
fi
1027
 
1028
if test -n "$ac_unrecognized_opts"; then
1029
  case $enable_option_checking in
1030
    no) ;;
1031
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1032
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1033
  esac
1034
fi
1035
 
1036
# Check all directory arguments for consistency.
1037
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1038
                datadir sysconfdir sharedstatedir localstatedir includedir \
1039
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1040
                libdir localedir mandir
1041
do
1042
  eval ac_val=\$$ac_var
1043
  # Remove trailing slashes.
1044
  case $ac_val in
1045
    */ )
1046
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1047
      eval $ac_var=\$ac_val;;
1048
  esac
1049
  # Be sure to have absolute directory names.
1050
  case $ac_val in
1051
    [\\/$]* | ?:[\\/]* )  continue;;
1052
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1053
  esac
1054
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1055
done
1056
 
1057
# There might be people who depend on the old broken behavior: `$host'
1058
# used to hold the argument of --host etc.
1059
# FIXME: To remove some day.
1060
build=$build_alias
1061
host=$host_alias
1062
target=$target_alias
1063
 
1064
# FIXME: To remove some day.
1065
if test "x$host_alias" != x; then
1066
  if test "x$build_alias" = x; then
1067
    cross_compiling=maybe
1068
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1069
    If a cross compiler is detected then cross compile mode will be used." >&2
1070
  elif test "x$build_alias" != "x$host_alias"; then
1071
    cross_compiling=yes
1072
  fi
1073
fi
1074
 
1075
ac_tool_prefix=
1076
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1077
 
1078
test "$silent" = yes && exec 6>/dev/null
1079
 
1080
 
1081
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1082
ac_ls_di=`ls -di .` &&
1083
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1084
  as_fn_error "working directory cannot be determined"
1085
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1086
  as_fn_error "pwd does not report name of working directory"
1087
 
1088
 
1089
# Find the source files, if location was not specified.
1090
if test -z "$srcdir"; then
1091
  ac_srcdir_defaulted=yes
1092
  # Try the directory containing this script, then the parent directory.
1093
  ac_confdir=`$as_dirname -- "$as_myself" ||
1094
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1095
         X"$as_myself" : 'X\(//\)[^/]' \| \
1096
         X"$as_myself" : 'X\(//\)$' \| \
1097
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1098
$as_echo X"$as_myself" |
1099
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1100
            s//\1/
1101
            q
1102
          }
1103
          /^X\(\/\/\)[^/].*/{
1104
            s//\1/
1105
            q
1106
          }
1107
          /^X\(\/\/\)$/{
1108
            s//\1/
1109
            q
1110
          }
1111
          /^X\(\/\).*/{
1112
            s//\1/
1113
            q
1114
          }
1115
          s/.*/./; q'`
1116
  srcdir=$ac_confdir
1117
  if test ! -r "$srcdir/$ac_unique_file"; then
1118
    srcdir=..
1119
  fi
1120
else
1121
  ac_srcdir_defaulted=no
1122
fi
1123
if test ! -r "$srcdir/$ac_unique_file"; then
1124
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1125
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1126
fi
1127
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1128
ac_abs_confdir=`(
1129
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1130
        pwd)`
1131
# When building in place, set srcdir=.
1132
if test "$ac_abs_confdir" = "$ac_pwd"; then
1133
  srcdir=.
1134
fi
1135
# Remove unnecessary trailing slashes from srcdir.
1136
# Double slashes in file names in object file debugging info
1137
# mess up M-x gdb in Emacs.
1138
case $srcdir in
1139
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1140
esac
1141
for ac_var in $ac_precious_vars; do
1142
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1143
  eval ac_env_${ac_var}_value=\$${ac_var}
1144
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1145
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1146
done
1147
 
1148
#
1149
# Report the --help message.
1150
#
1151
if test "$ac_init_help" = "long"; then
1152
  # Omit some internal or obsolete options to make the list less imposing.
1153
  # This message is too long to be a string in the A/UX 3.1 sh.
1154
  cat <<_ACEOF
1155
\`configure' configures this package to adapt to many kinds of systems.
1156
 
1157
Usage: $0 [OPTION]... [VAR=VALUE]...
1158
 
1159
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1160
VAR=VALUE.  See below for descriptions of some of the useful variables.
1161
 
1162
Defaults for the options are specified in brackets.
1163
 
1164
Configuration:
1165
  -h, --help              display this help and exit
1166
      --help=short        display options specific to this package
1167
      --help=recursive    display the short help of all the included packages
1168
  -V, --version           display version information and exit
1169
  -q, --quiet, --silent   do not print \`checking...' messages
1170
      --cache-file=FILE   cache test results in FILE [disabled]
1171
  -C, --config-cache      alias for \`--cache-file=config.cache'
1172
  -n, --no-create         do not create output files
1173
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1174
 
1175
Installation directories:
1176
  --prefix=PREFIX         install architecture-independent files in PREFIX
1177
                          [$ac_default_prefix]
1178
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1179
                          [PREFIX]
1180
 
1181
By default, \`make install' will install all the files in
1182
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1183
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1184
for instance \`--prefix=\$HOME'.
1185
 
1186
For better control, use the options below.
1187
 
1188
Fine tuning of the installation directories:
1189
  --bindir=DIR            user executables [EPREFIX/bin]
1190
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1191
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1192
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1193
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1194
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1195
  --libdir=DIR            object code libraries [EPREFIX/lib]
1196
  --includedir=DIR        C header files [PREFIX/include]
1197
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1198
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1199
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1200
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1201
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1202
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1203
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1204
  --htmldir=DIR           html documentation [DOCDIR]
1205
  --dvidir=DIR            dvi documentation [DOCDIR]
1206
  --pdfdir=DIR            pdf documentation [DOCDIR]
1207
  --psdir=DIR             ps documentation [DOCDIR]
1208
_ACEOF
1209
 
1210
  cat <<\_ACEOF
1211
 
1212
System types:
1213
  --build=BUILD     configure for building on BUILD [guessed]
1214
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1215
  --target=TARGET   configure for building compilers for TARGET [HOST]
1216
_ACEOF
1217
fi
1218
 
1219
if test -n "$ac_init_help"; then
1220
 
1221
  cat <<\_ACEOF
1222
 
1223
Report bugs to the package provider.
1224
_ACEOF
1225
ac_status=$?
1226
fi
1227
 
1228
if test "$ac_init_help" = "recursive"; then
1229
  # If there are subdirs, report their specific --help.
1230
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1231
    test -d "$ac_dir" ||
1232
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1233
      continue
1234
    ac_builddir=.
1235
 
1236
case "$ac_dir" in
1237
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1238
*)
1239
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1240
  # A ".." for each directory in $ac_dir_suffix.
1241
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1242
  case $ac_top_builddir_sub in
1243
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1245
  esac ;;
1246
esac
1247
ac_abs_top_builddir=$ac_pwd
1248
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1249
# for backward compatibility:
1250
ac_top_builddir=$ac_top_build_prefix
1251
 
1252
case $srcdir in
1253
  .)  # We are building in place.
1254
    ac_srcdir=.
1255
    ac_top_srcdir=$ac_top_builddir_sub
1256
    ac_abs_top_srcdir=$ac_pwd ;;
1257
  [\\/]* | ?:[\\/]* )  # Absolute name.
1258
    ac_srcdir=$srcdir$ac_dir_suffix;
1259
    ac_top_srcdir=$srcdir
1260
    ac_abs_top_srcdir=$srcdir ;;
1261
  *) # Relative name.
1262
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1263
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1264
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1265
esac
1266
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1267
 
1268
    cd "$ac_dir" || { ac_status=$?; continue; }
1269
    # Check for guested configure.
1270
    if test -f "$ac_srcdir/configure.gnu"; then
1271
      echo &&
1272
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1273
    elif test -f "$ac_srcdir/configure"; then
1274
      echo &&
1275
      $SHELL "$ac_srcdir/configure" --help=recursive
1276
    else
1277
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278
    fi || ac_status=$?
1279
    cd "$ac_pwd" || { ac_status=$?; break; }
1280
  done
1281
fi
1282
 
1283
test -n "$ac_init_help" && exit $ac_status
1284
if $ac_init_version; then
1285
  cat <<\_ACEOF
1286
configure
1287
generated by GNU Autoconf 2.64
1288
 
1289
Copyright (C) 2009 Free Software Foundation, Inc.
1290
This configure script is free software; the Free Software Foundation
1291
gives unlimited permission to copy, distribute and modify it.
1292
_ACEOF
1293
  exit
1294
fi
1295
 
1296
## ------------------------ ##
1297
## Autoconf initialization. ##
1298
## ------------------------ ##
1299
cat >config.log <<_ACEOF
1300
This file contains any messages produced by compilers while
1301
running configure, to aid debugging if configure makes a mistake.
1302
 
1303
It was created by $as_me, which was
1304
generated by GNU Autoconf 2.64.  Invocation command line was
1305
 
1306
  $ $0 $@
1307
 
1308
_ACEOF
1309
exec 5>>config.log
1310
{
1311
cat <<_ASUNAME
1312
## --------- ##
1313
## Platform. ##
1314
## --------- ##
1315
 
1316
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1317
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1318
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1319
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1320
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1321
 
1322
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1323
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1324
 
1325
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1326
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1327
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1328
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1329
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1330
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1331
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1332
 
1333
_ASUNAME
1334
 
1335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336
for as_dir in $PATH
1337
do
1338
  IFS=$as_save_IFS
1339
  test -z "$as_dir" && as_dir=.
1340
    $as_echo "PATH: $as_dir"
1341
  done
1342
IFS=$as_save_IFS
1343
 
1344
} >&5
1345
 
1346
cat >&5 <<_ACEOF
1347
 
1348
 
1349
## ----------- ##
1350
## Core tests. ##
1351
## ----------- ##
1352
 
1353
_ACEOF
1354
 
1355
 
1356
# Keep a trace of the command line.
1357
# Strip out --no-create and --no-recursion so they do not pile up.
1358
# Strip out --silent because we don't want to record it for future runs.
1359
# Also quote any args containing shell meta-characters.
1360
# Make two passes to allow for proper duplicate-argument suppression.
1361
ac_configure_args=
1362
ac_configure_args0=
1363
ac_configure_args1=
1364
ac_must_keep_next=false
1365
for ac_pass in 1 2
1366
do
1367
  for ac_arg
1368
  do
1369
    case $ac_arg in
1370
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1371
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1372
    | -silent | --silent | --silen | --sile | --sil)
1373
      continue ;;
1374
    *\'*)
1375
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1376
    esac
1377
    case $ac_pass in
1378
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1379
    2)
1380
      as_fn_append ac_configure_args1 " '$ac_arg'"
1381
      if test $ac_must_keep_next = true; then
1382
        ac_must_keep_next=false # Got value, back to normal.
1383
      else
1384
        case $ac_arg in
1385
          *=* | --config-cache | -C | -disable-* | --disable-* \
1386
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1387
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1388
          | -with-* | --with-* | -without-* | --without-* | --x)
1389
            case "$ac_configure_args0 " in
1390
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1391
            esac
1392
            ;;
1393
          -* ) ac_must_keep_next=true ;;
1394
        esac
1395
      fi
1396
      as_fn_append ac_configure_args " '$ac_arg'"
1397
      ;;
1398
    esac
1399
  done
1400
done
1401
{ ac_configure_args0=; unset ac_configure_args0;}
1402
{ ac_configure_args1=; unset ac_configure_args1;}
1403
 
1404
# When interrupted or exit'd, cleanup temporary files, and complete
1405
# config.log.  We remove comments because anyway the quotes in there
1406
# would cause problems or look ugly.
1407
# WARNING: Use '\'' to represent an apostrophe within the trap.
1408
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1409
trap 'exit_status=$?
1410
  # Save into config.log some information that might help in debugging.
1411
  {
1412
    echo
1413
 
1414
    cat <<\_ASBOX
1415
## ---------------- ##
1416
## Cache variables. ##
1417
## ---------------- ##
1418
_ASBOX
1419
    echo
1420
    # The following way of writing the cache mishandles newlines in values,
1421
(
1422
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1423
    eval ac_val=\$$ac_var
1424
    case $ac_val in #(
1425
    *${as_nl}*)
1426
      case $ac_var in #(
1427
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1428
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1429
      esac
1430
      case $ac_var in #(
1431
      _ | IFS | as_nl) ;; #(
1432
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1433
      *) { eval $ac_var=; unset $ac_var;} ;;
1434
      esac ;;
1435
    esac
1436
  done
1437
  (set) 2>&1 |
1438
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1439
    *${as_nl}ac_space=\ *)
1440
      sed -n \
1441
        "s/'\''/'\''\\\\'\'''\''/g;
1442
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1443
      ;; #(
1444
    *)
1445
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1446
      ;;
1447
    esac |
1448
    sort
1449
)
1450
    echo
1451
 
1452
    cat <<\_ASBOX
1453
## ----------------- ##
1454
## Output variables. ##
1455
## ----------------- ##
1456
_ASBOX
1457
    echo
1458
    for ac_var in $ac_subst_vars
1459
    do
1460
      eval ac_val=\$$ac_var
1461
      case $ac_val in
1462
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1463
      esac
1464
      $as_echo "$ac_var='\''$ac_val'\''"
1465
    done | sort
1466
    echo
1467
 
1468
    if test -n "$ac_subst_files"; then
1469
      cat <<\_ASBOX
1470
## ------------------- ##
1471
## File substitutions. ##
1472
## ------------------- ##
1473
_ASBOX
1474
      echo
1475
      for ac_var in $ac_subst_files
1476
      do
1477
        eval ac_val=\$$ac_var
1478
        case $ac_val in
1479
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1480
        esac
1481
        $as_echo "$ac_var='\''$ac_val'\''"
1482
      done | sort
1483
      echo
1484
    fi
1485
 
1486
    if test -s confdefs.h; then
1487
      cat <<\_ASBOX
1488
## ----------- ##
1489
## confdefs.h. ##
1490
## ----------- ##
1491
_ASBOX
1492
      echo
1493
      cat confdefs.h
1494
      echo
1495
    fi
1496
    test "$ac_signal" != 0 &&
1497
      $as_echo "$as_me: caught signal $ac_signal"
1498
    $as_echo "$as_me: exit $exit_status"
1499
  } >&5
1500
  rm -f core *.core core.conftest.* &&
1501
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1502
    exit $exit_status
1503
' 0
1504
for ac_signal in 1 2 13 15; do
1505
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1506
done
1507
ac_signal=0
1508
 
1509
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1510
rm -f -r conftest* confdefs.h
1511
 
1512
$as_echo "/* confdefs.h */" > confdefs.h
1513
 
1514
# Predefined preprocessor variables.
1515
 
1516
cat >>confdefs.h <<_ACEOF
1517
#define PACKAGE_NAME "$PACKAGE_NAME"
1518
_ACEOF
1519
 
1520
cat >>confdefs.h <<_ACEOF
1521
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522
_ACEOF
1523
 
1524
cat >>confdefs.h <<_ACEOF
1525
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1526
_ACEOF
1527
 
1528
cat >>confdefs.h <<_ACEOF
1529
#define PACKAGE_STRING "$PACKAGE_STRING"
1530
_ACEOF
1531
 
1532
cat >>confdefs.h <<_ACEOF
1533
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1534
_ACEOF
1535
 
1536
cat >>confdefs.h <<_ACEOF
1537
#define PACKAGE_URL "$PACKAGE_URL"
1538
_ACEOF
1539
 
1540
 
1541
# Let the site file select an alternate cache file if it wants to.
1542
# Prefer an explicitly selected file to automatically selected ones.
1543
ac_site_file1=NONE
1544
ac_site_file2=NONE
1545
if test -n "$CONFIG_SITE"; then
1546
  ac_site_file1=$CONFIG_SITE
1547
elif test "x$prefix" != xNONE; then
1548
  ac_site_file1=$prefix/share/config.site
1549
  ac_site_file2=$prefix/etc/config.site
1550
else
1551
  ac_site_file1=$ac_default_prefix/share/config.site
1552
  ac_site_file2=$ac_default_prefix/etc/config.site
1553
fi
1554
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1555
do
1556
  test "x$ac_site_file" = xNONE && continue
1557
  if test -r "$ac_site_file"; then
1558
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1559
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1560
    sed 's/^/| /' "$ac_site_file" >&5
1561
    . "$ac_site_file"
1562
  fi
1563
done
1564
 
1565
if test -r "$cache_file"; then
1566
  # Some versions of bash will fail to source /dev/null (special
1567
  # files actually), so we avoid doing that.
1568
  if test -f "$cache_file"; then
1569
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1570
$as_echo "$as_me: loading cache $cache_file" >&6;}
1571
    case $cache_file in
1572
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1573
      *)                      . "./$cache_file";;
1574
    esac
1575
  fi
1576
else
1577
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1578
$as_echo "$as_me: creating cache $cache_file" >&6;}
1579
  >$cache_file
1580
fi
1581
 
1582
# Check that the precious variables saved in the cache have kept the same
1583
# value.
1584
ac_cache_corrupted=false
1585
for ac_var in $ac_precious_vars; do
1586
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1587
  eval ac_new_set=\$ac_env_${ac_var}_set
1588
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1589
  eval ac_new_val=\$ac_env_${ac_var}_value
1590
  case $ac_old_set,$ac_new_set in
1591
    set,)
1592
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1593
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1594
      ac_cache_corrupted=: ;;
1595
    ,set)
1596
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1597
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1598
      ac_cache_corrupted=: ;;
1599
    ,);;
1600
    *)
1601
      if test "x$ac_old_val" != "x$ac_new_val"; then
1602
        # differences in whitespace do not lead to failure.
1603
        ac_old_val_w=`echo x $ac_old_val`
1604
        ac_new_val_w=`echo x $ac_new_val`
1605
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1606
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1607
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608
          ac_cache_corrupted=:
1609
        else
1610
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1611
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1612
          eval $ac_var=\$ac_old_val
1613
        fi
1614
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1615
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1616
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1617
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1618
      fi;;
1619
  esac
1620
  # Pass precious variables to config.status.
1621
  if test "$ac_new_set" = set; then
1622
    case $ac_new_val in
1623
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1624
    *) ac_arg=$ac_var=$ac_new_val ;;
1625
    esac
1626
    case " $ac_configure_args " in
1627
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1628
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1629
    esac
1630
  fi
1631
done
1632
if $ac_cache_corrupted; then
1633
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1634
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1635
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1636
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1637
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1638
fi
1639
## -------------------- ##
1640
## Main body of script. ##
1641
## -------------------- ##
1642
 
1643
ac_ext=c
1644
ac_cpp='$CPP $CPPFLAGS'
1645
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1646
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1647
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1648
 
1649
 
1650
 
1651
CC=${CC-cc}
1652
 
1653
ac_aux_dir=
1654
for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
1655
  for ac_t in install-sh install.sh shtool; do
1656
    if test -f "$ac_dir/$ac_t"; then
1657
      ac_aux_dir=$ac_dir
1658
      ac_install_sh="$ac_aux_dir/$ac_t -c"
1659
      break 2
1660
    fi
1661
  done
1662
done
1663
if test -z "$ac_aux_dir"; then
1664
  as_fn_error "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../../.." "$LINENO" 5
1665
fi
1666
 
1667
# These three variables are undocumented and unsupported,
1668
# and are intended to be withdrawn in a future Autoconf release.
1669
# They can cause serious problems if a builder's source tree is in a directory
1670
# whose full name contains unusual characters.
1671
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1672
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1673
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1674
 
1675
 
1676
# Make sure we can run config.sub.
1677
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1678
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1679
 
1680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1681
$as_echo_n "checking build system type... " >&6; }
1682
if test "${ac_cv_build+set}" = set; then :
1683
  $as_echo_n "(cached) " >&6
1684
else
1685
  ac_build_alias=$build_alias
1686
test "x$ac_build_alias" = x &&
1687
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1688
test "x$ac_build_alias" = x &&
1689
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1690
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1691
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1692
 
1693
fi
1694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1695
$as_echo "$ac_cv_build" >&6; }
1696
case $ac_cv_build in
1697
*-*-*) ;;
1698
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1699
esac
1700
build=$ac_cv_build
1701
ac_save_IFS=$IFS; IFS='-'
1702
set x $ac_cv_build
1703
shift
1704
build_cpu=$1
1705
build_vendor=$2
1706
shift; shift
1707
# Remember, the first character of IFS is used to create $*,
1708
# except with old shells:
1709
build_os=$*
1710
IFS=$ac_save_IFS
1711
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1712
 
1713
 
1714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1715
$as_echo_n "checking host system type... " >&6; }
1716
if test "${ac_cv_host+set}" = set; then :
1717
  $as_echo_n "(cached) " >&6
1718
else
1719
  if test "x$host_alias" = x; then
1720
  ac_cv_host=$ac_cv_build
1721
else
1722
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1723
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1724
fi
1725
 
1726
fi
1727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1728
$as_echo "$ac_cv_host" >&6; }
1729
case $ac_cv_host in
1730
*-*-*) ;;
1731
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1732
esac
1733
host=$ac_cv_host
1734
ac_save_IFS=$IFS; IFS='-'
1735
set x $ac_cv_host
1736
shift
1737
host_cpu=$1
1738
host_vendor=$2
1739
shift; shift
1740
# Remember, the first character of IFS is used to create $*,
1741
# except with old shells:
1742
host_os=$*
1743
IFS=$ac_save_IFS
1744
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1745
 
1746
 
1747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1748
$as_echo_n "checking target system type... " >&6; }
1749
if test "${ac_cv_target+set}" = set; then :
1750
  $as_echo_n "(cached) " >&6
1751
else
1752
  if test "x$target_alias" = x; then
1753
  ac_cv_target=$ac_cv_host
1754
else
1755
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1756
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1757
fi
1758
 
1759
fi
1760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1761
$as_echo "$ac_cv_target" >&6; }
1762
case $ac_cv_target in
1763
*-*-*) ;;
1764
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1765
esac
1766
target=$ac_cv_target
1767
ac_save_IFS=$IFS; IFS='-'
1768
set x $ac_cv_target
1769
shift
1770
target_cpu=$1
1771
target_vendor=$2
1772
shift; shift
1773
# Remember, the first character of IFS is used to create $*,
1774
# except with old shells:
1775
target_os=$*
1776
IFS=$ac_save_IFS
1777
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1778
 
1779
 
1780
# The aliases save the names the user supplied, while $host etc.
1781
# will get canonicalized.
1782
test -n "$target_alias" &&
1783
  test "$program_prefix$program_suffix$program_transform_name" = \
1784
    NONENONEs,x,x, &&
1785
  program_prefix=${target_alias}-
1786
 
1787
 
1788
 
1789
 
1790
 
1791
ac_config_files="$ac_config_files Makefile"
1792
 
1793
cat >confcache <<\_ACEOF
1794
# This file is a shell script that caches the results of configure
1795
# tests run on this system so they can be shared between configure
1796
# scripts and configure runs, see configure's option --config-cache.
1797
# It is not useful on other systems.  If it contains results you don't
1798
# want to keep, you may remove or edit it.
1799
#
1800
# config.status only pays attention to the cache file if you give it
1801
# the --recheck option to rerun configure.
1802
#
1803
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1804
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1805
# following values.
1806
 
1807
_ACEOF
1808
 
1809
# The following way of writing the cache mishandles newlines in values,
1810
# but we know of no workaround that is simple, portable, and efficient.
1811
# So, we kill variables containing newlines.
1812
# Ultrix sh set writes to stderr and can't be redirected directly,
1813
# and sets the high bit in the cache file unless we assign to the vars.
1814
(
1815
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1816
    eval ac_val=\$$ac_var
1817
    case $ac_val in #(
1818
    *${as_nl}*)
1819
      case $ac_var in #(
1820
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1821
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1822
      esac
1823
      case $ac_var in #(
1824
      _ | IFS | as_nl) ;; #(
1825
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1826
      *) { eval $ac_var=; unset $ac_var;} ;;
1827
      esac ;;
1828
    esac
1829
  done
1830
 
1831
  (set) 2>&1 |
1832
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1833
    *${as_nl}ac_space=\ *)
1834
      # `set' does not quote correctly, so add quotes: double-quote
1835
      # substitution turns \\\\ into \\, and sed turns \\ into \.
1836
      sed -n \
1837
        "s/'/'\\\\''/g;
1838
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1839
      ;; #(
1840
    *)
1841
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1842
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1843
      ;;
1844
    esac |
1845
    sort
1846
) |
1847
  sed '
1848
     /^ac_cv_env_/b end
1849
     t clear
1850
     :clear
1851
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1852
     t end
1853
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1854
     :end' >>confcache
1855
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1856
  if test -w "$cache_file"; then
1857
    test "x$cache_file" != "x/dev/null" &&
1858
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1859
$as_echo "$as_me: updating cache $cache_file" >&6;}
1860
    cat confcache >$cache_file
1861
  else
1862
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1863
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1864
  fi
1865
fi
1866
rm -f confcache
1867
 
1868
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1869
# Let make expand exec_prefix.
1870
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1871
 
1872
# Transform confdefs.h into DEFS.
1873
# Protect against shell expansion while executing Makefile rules.
1874
# Protect against Makefile macro expansion.
1875
#
1876
# If the first sed substitution is executed (which looks for macros that
1877
# take arguments), then branch to the quote section.  Otherwise,
1878
# look for a macro that doesn't take arguments.
1879
ac_script='
1880
:mline
1881
/\\$/{
1882
 N
1883
 s,\\\n,,
1884
 b mline
1885
}
1886
t clear
1887
:clear
1888
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1889
t quote
1890
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1891
t quote
1892
b any
1893
:quote
1894
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1895
s/\[/\\&/g
1896
s/\]/\\&/g
1897
s/\$/$$/g
1898
H
1899
:any
1900
${
1901
        g
1902
        s/^\n//
1903
        s/\n/ /g
1904
        p
1905
}
1906
'
1907
DEFS=`sed -n "$ac_script" confdefs.h`
1908
 
1909
 
1910
ac_libobjs=
1911
ac_ltlibobjs=
1912
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1913
  # 1. Remove the extension, and $U if already installed.
1914
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1915
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1916
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1917
  #    will be set to the directory where LIBOBJS objects are built.
1918
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1919
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1920
done
1921
LIBOBJS=$ac_libobjs
1922
 
1923
LTLIBOBJS=$ac_ltlibobjs
1924
 
1925
 
1926
 
1927
: ${CONFIG_STATUS=./config.status}
1928
ac_write_fail=0
1929
ac_clean_files_save=$ac_clean_files
1930
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1931
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1932
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1933
as_write_fail=0
1934
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1935
#! $SHELL
1936
# Generated by $as_me.
1937
# Run this file to recreate the current configuration.
1938
# Compiler output produced by configure, useful for debugging
1939
# configure, is in config.log if it exists.
1940
 
1941
debug=false
1942
ac_cs_recheck=false
1943
ac_cs_silent=false
1944
 
1945
SHELL=\${CONFIG_SHELL-$SHELL}
1946
export SHELL
1947
_ASEOF
1948
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1949
## -------------------- ##
1950
## M4sh Initialization. ##
1951
## -------------------- ##
1952
 
1953
# Be more Bourne compatible
1954
DUALCASE=1; export DUALCASE # for MKS sh
1955
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1956
  emulate sh
1957
  NULLCMD=:
1958
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1959
  # is contrary to our usage.  Disable this feature.
1960
  alias -g '${1+"$@"}'='"$@"'
1961
  setopt NO_GLOB_SUBST
1962
else
1963
  case `(set -o) 2>/dev/null` in #(
1964
  *posix*) :
1965
    set -o posix ;; #(
1966
  *) :
1967
     ;;
1968
esac
1969
fi
1970
 
1971
 
1972
as_nl='
1973
'
1974
export as_nl
1975
# Printing a long string crashes Solaris 7 /usr/bin/printf.
1976
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1977
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1978
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1979
# Prefer a ksh shell builtin over an external printf program on Solaris,
1980
# but without wasting forks for bash or zsh.
1981
if test -z "$BASH_VERSION$ZSH_VERSION" \
1982
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1983
  as_echo='print -r --'
1984
  as_echo_n='print -rn --'
1985
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1986
  as_echo='printf %s\n'
1987
  as_echo_n='printf %s'
1988
else
1989
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1990
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1991
    as_echo_n='/usr/ucb/echo -n'
1992
  else
1993
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1994
    as_echo_n_body='eval
1995
      arg=$1;
1996
      case $arg in #(
1997
      *"$as_nl"*)
1998
        expr "X$arg" : "X\\(.*\\)$as_nl";
1999
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2000
      esac;
2001
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2002
    '
2003
    export as_echo_n_body
2004
    as_echo_n='sh -c $as_echo_n_body as_echo'
2005
  fi
2006
  export as_echo_body
2007
  as_echo='sh -c $as_echo_body as_echo'
2008
fi
2009
 
2010
# The user is always right.
2011
if test "${PATH_SEPARATOR+set}" != set; then
2012
  PATH_SEPARATOR=:
2013
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2014
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2015
      PATH_SEPARATOR=';'
2016
  }
2017
fi
2018
 
2019
 
2020
# IFS
2021
# We need space, tab and new line, in precisely that order.  Quoting is
2022
# there to prevent editors from complaining about space-tab.
2023
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2024
# splitting by setting IFS to empty value.)
2025
IFS=" ""        $as_nl"
2026
 
2027
# Find who we are.  Look in the path if we contain no directory separator.
2028
case $0 in #((
2029
  *[\\/]* ) as_myself=$0 ;;
2030
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031
for as_dir in $PATH
2032
do
2033
  IFS=$as_save_IFS
2034
  test -z "$as_dir" && as_dir=.
2035
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2036
  done
2037
IFS=$as_save_IFS
2038
 
2039
     ;;
2040
esac
2041
# We did not find ourselves, most probably we were run as `sh COMMAND'
2042
# in which case we are not to be found in the path.
2043
if test "x$as_myself" = x; then
2044
  as_myself=$0
2045
fi
2046
if test ! -f "$as_myself"; then
2047
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2048
  exit 1
2049
fi
2050
 
2051
# Unset variables that we do not need and which cause bugs (e.g. in
2052
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2053
# suppresses any "Segmentation fault" message there.  '((' could
2054
# trigger a bug in pdksh 5.2.14.
2055
for as_var in BASH_ENV ENV MAIL MAILPATH
2056
do eval test x\${$as_var+set} = xset \
2057
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2058
done
2059
PS1='$ '
2060
PS2='> '
2061
PS4='+ '
2062
 
2063
# NLS nuisances.
2064
LC_ALL=C
2065
export LC_ALL
2066
LANGUAGE=C
2067
export LANGUAGE
2068
 
2069
# CDPATH.
2070
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2071
 
2072
 
2073
# as_fn_error ERROR [LINENO LOG_FD]
2074
# ---------------------------------
2075
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2076
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2077
# script with status $?, using 1 if that was 0.
2078
as_fn_error ()
2079
{
2080
  as_status=$?; test $as_status -eq 0 && as_status=1
2081
  if test "$3"; then
2082
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2084
  fi
2085
  $as_echo "$as_me: error: $1" >&2
2086
  as_fn_exit $as_status
2087
} # as_fn_error
2088
 
2089
 
2090
# as_fn_set_status STATUS
2091
# -----------------------
2092
# Set $? to STATUS, without forking.
2093
as_fn_set_status ()
2094
{
2095
  return $1
2096
} # as_fn_set_status
2097
 
2098
# as_fn_exit STATUS
2099
# -----------------
2100
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2101
as_fn_exit ()
2102
{
2103
  set +e
2104
  as_fn_set_status $1
2105
  exit $1
2106
} # as_fn_exit
2107
 
2108
# as_fn_unset VAR
2109
# ---------------
2110
# Portably unset VAR.
2111
as_fn_unset ()
2112
{
2113
  { eval $1=; unset $1;}
2114
}
2115
as_unset=as_fn_unset
2116
# as_fn_append VAR VALUE
2117
# ----------------------
2118
# Append the text in VALUE to the end of the definition contained in VAR. Take
2119
# advantage of any shell optimizations that allow amortized linear growth over
2120
# repeated appends, instead of the typical quadratic growth present in naive
2121
# implementations.
2122
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2123
  eval 'as_fn_append ()
2124
  {
2125
    eval $1+=\$2
2126
  }'
2127
else
2128
  as_fn_append ()
2129
  {
2130
    eval $1=\$$1\$2
2131
  }
2132
fi # as_fn_append
2133
 
2134
# as_fn_arith ARG...
2135
# ------------------
2136
# Perform arithmetic evaluation on the ARGs, and store the result in the
2137
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2138
# must be portable across $(()) and expr.
2139
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2140
  eval 'as_fn_arith ()
2141
  {
2142
    as_val=$(( $* ))
2143
  }'
2144
else
2145
  as_fn_arith ()
2146
  {
2147
    as_val=`expr "$@" || test $? -eq 1`
2148
  }
2149
fi # as_fn_arith
2150
 
2151
 
2152
if expr a : '\(a\)' >/dev/null 2>&1 &&
2153
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2154
  as_expr=expr
2155
else
2156
  as_expr=false
2157
fi
2158
 
2159
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2160
  as_basename=basename
2161
else
2162
  as_basename=false
2163
fi
2164
 
2165
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2166
  as_dirname=dirname
2167
else
2168
  as_dirname=false
2169
fi
2170
 
2171
as_me=`$as_basename -- "$0" ||
2172
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2173
         X"$0" : 'X\(//\)$' \| \
2174
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2175
$as_echo X/"$0" |
2176
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2177
            s//\1/
2178
            q
2179
          }
2180
          /^X\/\(\/\/\)$/{
2181
            s//\1/
2182
            q
2183
          }
2184
          /^X\/\(\/\).*/{
2185
            s//\1/
2186
            q
2187
          }
2188
          s/.*/./; q'`
2189
 
2190
# Avoid depending upon Character Ranges.
2191
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2192
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2193
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2194
as_cr_digits='0123456789'
2195
as_cr_alnum=$as_cr_Letters$as_cr_digits
2196
 
2197
ECHO_C= ECHO_N= ECHO_T=
2198
case `echo -n x` in #(((((
2199
-n*)
2200
  case `echo 'xy\c'` in
2201
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2202
  xy)  ECHO_C='\c';;
2203
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2204
       ECHO_T=' ';;
2205
  esac;;
2206
*)
2207
  ECHO_N='-n';;
2208
esac
2209
 
2210
rm -f conf$$ conf$$.exe conf$$.file
2211
if test -d conf$$.dir; then
2212
  rm -f conf$$.dir/conf$$.file
2213
else
2214
  rm -f conf$$.dir
2215
  mkdir conf$$.dir 2>/dev/null
2216
fi
2217
if (echo >conf$$.file) 2>/dev/null; then
2218
  if ln -s conf$$.file conf$$ 2>/dev/null; then
2219
    as_ln_s='ln -s'
2220
    # ... but there are two gotchas:
2221
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2222
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2223
    # In both cases, we have to default to `cp -p'.
2224
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2225
      as_ln_s='cp -p'
2226
  elif ln conf$$.file conf$$ 2>/dev/null; then
2227
    as_ln_s=ln
2228
  else
2229
    as_ln_s='cp -p'
2230
  fi
2231
else
2232
  as_ln_s='cp -p'
2233
fi
2234
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2235
rmdir conf$$.dir 2>/dev/null
2236
 
2237
 
2238
# as_fn_mkdir_p
2239
# -------------
2240
# Create "$as_dir" as a directory, including parents if necessary.
2241
as_fn_mkdir_p ()
2242
{
2243
 
2244
  case $as_dir in #(
2245
  -*) as_dir=./$as_dir;;
2246
  esac
2247
  test -d "$as_dir" || eval $as_mkdir_p || {
2248
    as_dirs=
2249
    while :; do
2250
      case $as_dir in #(
2251
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2252
      *) as_qdir=$as_dir;;
2253
      esac
2254
      as_dirs="'$as_qdir' $as_dirs"
2255
      as_dir=`$as_dirname -- "$as_dir" ||
2256
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2257
         X"$as_dir" : 'X\(//\)[^/]' \| \
2258
         X"$as_dir" : 'X\(//\)$' \| \
2259
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2260
$as_echo X"$as_dir" |
2261
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2262
            s//\1/
2263
            q
2264
          }
2265
          /^X\(\/\/\)[^/].*/{
2266
            s//\1/
2267
            q
2268
          }
2269
          /^X\(\/\/\)$/{
2270
            s//\1/
2271
            q
2272
          }
2273
          /^X\(\/\).*/{
2274
            s//\1/
2275
            q
2276
          }
2277
          s/.*/./; q'`
2278
      test -d "$as_dir" && break
2279
    done
2280
    test -z "$as_dirs" || eval "mkdir $as_dirs"
2281
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2282
 
2283
 
2284
} # as_fn_mkdir_p
2285
if mkdir -p . 2>/dev/null; then
2286
  as_mkdir_p='mkdir -p "$as_dir"'
2287
else
2288
  test -d ./-p && rmdir ./-p
2289
  as_mkdir_p=false
2290
fi
2291
 
2292
if test -x / >/dev/null 2>&1; then
2293
  as_test_x='test -x'
2294
else
2295
  if ls -dL / >/dev/null 2>&1; then
2296
    as_ls_L_option=L
2297
  else
2298
    as_ls_L_option=
2299
  fi
2300
  as_test_x='
2301
    eval sh -c '\''
2302
      if test -d "$1"; then
2303
        test -d "$1/.";
2304
      else
2305
        case $1 in #(
2306
        -*)set "./$1";;
2307
        esac;
2308
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2309
        ???[sx]*):;;*)false;;esac;fi
2310
    '\'' sh
2311
  '
2312
fi
2313
as_executable_p=$as_test_x
2314
 
2315
# Sed expression to map a string onto a valid CPP name.
2316
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2317
 
2318
# Sed expression to map a string onto a valid variable name.
2319
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2320
 
2321
 
2322
exec 6>&1
2323
## ----------------------------------- ##
2324
## Main body of $CONFIG_STATUS script. ##
2325
## ----------------------------------- ##
2326
_ASEOF
2327
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2328
 
2329
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2330
# Save the log message, to keep $0 and so on meaningful, and to
2331
# report actual input values of CONFIG_FILES etc. instead of their
2332
# values after options handling.
2333
ac_log="
2334
This file was extended by $as_me, which was
2335
generated by GNU Autoconf 2.64.  Invocation command line was
2336
 
2337
  CONFIG_FILES    = $CONFIG_FILES
2338
  CONFIG_HEADERS  = $CONFIG_HEADERS
2339
  CONFIG_LINKS    = $CONFIG_LINKS
2340
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2341
  $ $0 $@
2342
 
2343
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2344
"
2345
 
2346
_ACEOF
2347
 
2348
case $ac_config_files in *"
2349
"*) set x $ac_config_files; shift; ac_config_files=$*;;
2350
esac
2351
 
2352
 
2353
 
2354
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2355
# Files that config.status was made for.
2356
config_files="$ac_config_files"
2357
 
2358
_ACEOF
2359
 
2360
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2361
ac_cs_usage="\
2362
\`$as_me' instantiates files and other configuration actions
2363
from templates according to the current configuration.  Unless the files
2364
and actions are specified as TAGs, all are instantiated by default.
2365
 
2366
Usage: $0 [OPTION]... [TAG]...
2367
 
2368
  -h, --help       print this help, then exit
2369
  -V, --version    print version number and configuration settings, then exit
2370
  -q, --quiet, --silent
2371
                   do not print progress messages
2372
  -d, --debug      don't remove temporary files
2373
      --recheck    update $as_me by reconfiguring in the same conditions
2374
      --file=FILE[:TEMPLATE]
2375
                   instantiate the configuration file FILE
2376
 
2377
Configuration files:
2378
$config_files
2379
 
2380
Report bugs to the package provider."
2381
 
2382
_ACEOF
2383
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2384
ac_cs_version="\\
2385
config.status
2386
configured by $0, generated by GNU Autoconf 2.64,
2387
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2388
 
2389
Copyright (C) 2009 Free Software Foundation, Inc.
2390
This config.status script is free software; the Free Software Foundation
2391
gives unlimited permission to copy, distribute and modify it."
2392
 
2393
ac_pwd='$ac_pwd'
2394
srcdir='$srcdir'
2395
test -n "\$AWK" || AWK=awk
2396
_ACEOF
2397
 
2398
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2399
# The default lists apply if the user does not specify any file.
2400
ac_need_defaults=:
2401
while test $# != 0
2402
do
2403
  case $1 in
2404
  --*=*)
2405
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2406
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2407
    ac_shift=:
2408
    ;;
2409
  *)
2410
    ac_option=$1
2411
    ac_optarg=$2
2412
    ac_shift=shift
2413
    ;;
2414
  esac
2415
 
2416
  case $ac_option in
2417
  # Handling of the options.
2418
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2419
    ac_cs_recheck=: ;;
2420
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2421
    $as_echo "$ac_cs_version"; exit ;;
2422
  --debug | --debu | --deb | --de | --d | -d )
2423
    debug=: ;;
2424
  --file | --fil | --fi | --f )
2425
    $ac_shift
2426
    case $ac_optarg in
2427
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2428
    esac
2429
    as_fn_append CONFIG_FILES " '$ac_optarg'"
2430
    ac_need_defaults=false;;
2431
  --he | --h |  --help | --hel | -h )
2432
    $as_echo "$ac_cs_usage"; exit ;;
2433
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2434
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2435
    ac_cs_silent=: ;;
2436
 
2437
  # This is an error.
2438
  -*) as_fn_error "unrecognized option: \`$1'
2439
Try \`$0 --help' for more information." ;;
2440
 
2441
  *) as_fn_append ac_config_targets " $1"
2442
     ac_need_defaults=false ;;
2443
 
2444
  esac
2445
  shift
2446
done
2447
 
2448
ac_configure_extra_args=
2449
 
2450
if $ac_cs_silent; then
2451
  exec 6>/dev/null
2452
  ac_configure_extra_args="$ac_configure_extra_args --silent"
2453
fi
2454
 
2455
_ACEOF
2456
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2457
if \$ac_cs_recheck; then
2458
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2459
  shift
2460
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2461
  CONFIG_SHELL='$SHELL'
2462
  export CONFIG_SHELL
2463
  exec "\$@"
2464
fi
2465
 
2466
_ACEOF
2467
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2468
exec 5>>config.log
2469
{
2470
  echo
2471
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2472
## Running $as_me. ##
2473
_ASBOX
2474
  $as_echo "$ac_log"
2475
} >&5
2476
 
2477
_ACEOF
2478
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2479
_ACEOF
2480
 
2481
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2482
 
2483
# Handling of arguments.
2484
for ac_config_target in $ac_config_targets
2485
do
2486
  case $ac_config_target in
2487
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2488
 
2489
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2490
  esac
2491
done
2492
 
2493
 
2494
# If the user did not use the arguments to specify the items to instantiate,
2495
# then the envvar interface is used.  Set only those that are not.
2496
# We use the long form for the default assignment because of an extremely
2497
# bizarre bug on SunOS 4.1.3.
2498
if $ac_need_defaults; then
2499
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2500
fi
2501
 
2502
# Have a temporary directory for convenience.  Make it in the build tree
2503
# simply because there is no reason against having it here, and in addition,
2504
# creating and moving files from /tmp can sometimes cause problems.
2505
# Hook for its removal unless debugging.
2506
# Note that there is a small window in which the directory will not be cleaned:
2507
# after its creation but before its name has been assigned to `$tmp'.
2508
$debug ||
2509
{
2510
  tmp=
2511
  trap 'exit_status=$?
2512
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2513
' 0
2514
  trap 'as_fn_exit 1' 1 2 13 15
2515
}
2516
# Create a (secure) tmp directory for tmp files.
2517
 
2518
{
2519
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2520
  test -n "$tmp" && test -d "$tmp"
2521
}  ||
2522
{
2523
  tmp=./conf$$-$RANDOM
2524
  (umask 077 && mkdir "$tmp")
2525
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2526
 
2527
# Set up the scripts for CONFIG_FILES section.
2528
# No need to generate them if there are no CONFIG_FILES.
2529
# This happens for instance with `./config.status config.h'.
2530
if test -n "$CONFIG_FILES"; then
2531
 
2532
 
2533
ac_cr=`echo X | tr X '\015'`
2534
# On cygwin, bash can eat \r inside `` if the user requested igncr.
2535
# But we know of no other shell where ac_cr would be empty at this
2536
# point, so we can use a bashism as a fallback.
2537
if test "x$ac_cr" = x; then
2538
  eval ac_cr=\$\'\\r\'
2539
fi
2540
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
2541
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2542
  ac_cs_awk_cr='\r'
2543
else
2544
  ac_cs_awk_cr=$ac_cr
2545
fi
2546
 
2547
echo 'BEGIN {' >"$tmp/subs1.awk" &&
2548
_ACEOF
2549
 
2550
 
2551
{
2552
  echo "cat >conf$$subs.awk <<_ACEOF" &&
2553
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2554
  echo "_ACEOF"
2555
} >conf$$subs.sh ||
2556
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2557
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2558
ac_delim='%!_!# '
2559
for ac_last_try in false false false false false :; do
2560
  . ./conf$$subs.sh ||
2561
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2562
 
2563
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2564
  if test $ac_delim_n = $ac_delim_num; then
2565
    break
2566
  elif $ac_last_try; then
2567
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2568
  else
2569
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2570
  fi
2571
done
2572
rm -f conf$$subs.sh
2573
 
2574
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2575
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2576
_ACEOF
2577
sed -n '
2578
h
2579
s/^/S["/; s/!.*/"]=/
2580
p
2581
g
2582
s/^[^!]*!//
2583
:repl
2584
t repl
2585
s/'"$ac_delim"'$//
2586
t delim
2587
:nl
2588
h
2589
s/\(.\{148\}\).*/\1/
2590
t more1
2591
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2592
p
2593
n
2594
b repl
2595
:more1
2596
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2597
p
2598
g
2599
s/.\{148\}//
2600
t nl
2601
:delim
2602
h
2603
s/\(.\{148\}\).*/\1/
2604
t more2
2605
s/["\\]/\\&/g; s/^/"/; s/$/"/
2606
p
2607
b
2608
:more2
2609
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2610
p
2611
g
2612
s/.\{148\}//
2613
t delim
2614
' 
2615
/^[^""]/{
2616
  N
2617
  s/\n//
2618
}
2619
' >>$CONFIG_STATUS || ac_write_fail=1
2620
rm -f conf$$subs.awk
2621
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2622
_ACAWK
2623
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2624
  for (key in S) S_is_set[key] = 1
2625
  FS = ""
2626
 
2627
}
2628
{
2629
  line = $ 0
2630
  nfields = split(line, field, "@")
2631
  substed = 0
2632
  len = length(field[1])
2633
  for (i = 2; i < nfields; i++) {
2634
    key = field[i]
2635
    keylen = length(key)
2636
    if (S_is_set[key]) {
2637
      value = S[key]
2638
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2639
      len += length(value) + length(field[++i])
2640
      substed = 1
2641
    } else
2642
      len += 1 + keylen
2643
  }
2644
 
2645
  print line
2646
}
2647
 
2648
_ACAWK
2649
_ACEOF
2650
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2651
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2652
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2653
else
2654
  cat
2655
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2656
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
2657
_ACEOF
2658
 
2659
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2660
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2661
# trailing colons and then remove the whole line if VPATH becomes empty
2662
# (actually we leave an empty line to preserve line numbers).
2663
if test "x$srcdir" = x.; then
2664
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2665
s/:*\$(srcdir):*/:/
2666
s/:*\${srcdir}:*/:/
2667
s/:*@srcdir@:*/:/
2668
s/^\([^=]*=[     ]*\):*/\1/
2669
s/:*$//
2670
s/^[^=]*=[       ]*$//
2671
}'
2672
fi
2673
 
2674
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2675
fi # test -n "$CONFIG_FILES"
2676
 
2677
 
2678
eval set X "  :F $CONFIG_FILES      "
2679
shift
2680
for ac_tag
2681
do
2682
  case $ac_tag in
2683
  :[FHLC]) ac_mode=$ac_tag; continue;;
2684
  esac
2685
  case $ac_mode$ac_tag in
2686
  :[FHL]*:*);;
2687
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2688
  :[FH]-) ac_tag=-:-;;
2689
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2690
  esac
2691
  ac_save_IFS=$IFS
2692
  IFS=:
2693
  set x $ac_tag
2694
  IFS=$ac_save_IFS
2695
  shift
2696
  ac_file=$1
2697
  shift
2698
 
2699
  case $ac_mode in
2700
  :L) ac_source=$1;;
2701
  :[FH])
2702
    ac_file_inputs=
2703
    for ac_f
2704
    do
2705
      case $ac_f in
2706
      -) ac_f="$tmp/stdin";;
2707
      *) # Look for the file first in the build tree, then in the source tree
2708
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2709
         # because $ac_f cannot contain `:'.
2710
         test -f "$ac_f" ||
2711
           case $ac_f in
2712
           [\\/$]*) false;;
2713
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2714
           esac ||
2715
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2716
      esac
2717
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2718
      as_fn_append ac_file_inputs " '$ac_f'"
2719
    done
2720
 
2721
    # Let's still pretend it is `configure' which instantiates (i.e., don't
2722
    # use $as_me), people would be surprised to read:
2723
    #    /* config.h.  Generated by config.status.  */
2724
    configure_input='Generated from '`
2725
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2726
        `' by configure.'
2727
    if test x"$ac_file" != x-; then
2728
      configure_input="$ac_file.  $configure_input"
2729
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2730
$as_echo "$as_me: creating $ac_file" >&6;}
2731
    fi
2732
    # Neutralize special characters interpreted by sed in replacement strings.
2733
    case $configure_input in #(
2734
    *\&* | *\|* | *\\* )
2735
       ac_sed_conf_input=`$as_echo "$configure_input" |
2736
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
2737
    *) ac_sed_conf_input=$configure_input;;
2738
    esac
2739
 
2740
    case $ac_tag in
2741
    *:-:* | *:-) cat >"$tmp/stdin" \
2742
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2743
    esac
2744
    ;;
2745
  esac
2746
 
2747
  ac_dir=`$as_dirname -- "$ac_file" ||
2748
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2749
         X"$ac_file" : 'X\(//\)[^/]' \| \
2750
         X"$ac_file" : 'X\(//\)$' \| \
2751
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2752
$as_echo X"$ac_file" |
2753
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2754
            s//\1/
2755
            q
2756
          }
2757
          /^X\(\/\/\)[^/].*/{
2758
            s//\1/
2759
            q
2760
          }
2761
          /^X\(\/\/\)$/{
2762
            s//\1/
2763
            q
2764
          }
2765
          /^X\(\/\).*/{
2766
            s//\1/
2767
            q
2768
          }
2769
          s/.*/./; q'`
2770
  as_dir="$ac_dir"; as_fn_mkdir_p
2771
  ac_builddir=.
2772
 
2773
case "$ac_dir" in
2774
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2775
*)
2776
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2777
  # A ".." for each directory in $ac_dir_suffix.
2778
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2779
  case $ac_top_builddir_sub in
2780
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2781
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2782
  esac ;;
2783
esac
2784
ac_abs_top_builddir=$ac_pwd
2785
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2786
# for backward compatibility:
2787
ac_top_builddir=$ac_top_build_prefix
2788
 
2789
case $srcdir in
2790
  .)  # We are building in place.
2791
    ac_srcdir=.
2792
    ac_top_srcdir=$ac_top_builddir_sub
2793
    ac_abs_top_srcdir=$ac_pwd ;;
2794
  [\\/]* | ?:[\\/]* )  # Absolute name.
2795
    ac_srcdir=$srcdir$ac_dir_suffix;
2796
    ac_top_srcdir=$srcdir
2797
    ac_abs_top_srcdir=$srcdir ;;
2798
  *) # Relative name.
2799
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2800
    ac_top_srcdir=$ac_top_build_prefix$srcdir
2801
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2802
esac
2803
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2804
 
2805
 
2806
  case $ac_mode in
2807
  :F)
2808
  #
2809
  # CONFIG_FILE
2810
  #
2811
 
2812
_ACEOF
2813
 
2814
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2815
# If the template does not know about datarootdir, expand it.
2816
# FIXME: This hack should be removed a few years after 2.60.
2817
ac_datarootdir_hack=; ac_datarootdir_seen=
2818
ac_sed_dataroot='
2819
/datarootdir/ {
2820
  p
2821
  q
2822
}
2823
/@datadir@/p
2824
/@docdir@/p
2825
/@infodir@/p
2826
/@localedir@/p
2827
/@mandir@/p'
2828
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2829
*datarootdir*) ac_datarootdir_seen=yes;;
2830
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2831
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2832
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2833
_ACEOF
2834
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2835
  ac_datarootdir_hack='
2836
  s&@datadir@&$datadir&g
2837
  s&@docdir@&$docdir&g
2838
  s&@infodir@&$infodir&g
2839
  s&@localedir@&$localedir&g
2840
  s&@mandir@&$mandir&g
2841
  s&\\\${datarootdir}&$datarootdir&g' ;;
2842
esac
2843
_ACEOF
2844
 
2845
# Neutralize VPATH when `$srcdir' = `.'.
2846
# Shell code in configure.ac might set extrasub.
2847
# FIXME: do we really want to maintain this feature?
2848
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2849
ac_sed_extra="$ac_vpsub
2850
$extrasub
2851
_ACEOF
2852
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2853
:t
2854
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2855
s|@configure_input@|$ac_sed_conf_input|;t t
2856
s&@top_builddir@&$ac_top_builddir_sub&;t t
2857
s&@top_build_prefix@&$ac_top_build_prefix&;t t
2858
s&@srcdir@&$ac_srcdir&;t t
2859
s&@abs_srcdir@&$ac_abs_srcdir&;t t
2860
s&@top_srcdir@&$ac_top_srcdir&;t t
2861
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2862
s&@builddir@&$ac_builddir&;t t
2863
s&@abs_builddir@&$ac_abs_builddir&;t t
2864
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2865
$ac_datarootdir_hack
2866
"
2867
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
2868
  || as_fn_error "could not create $ac_file" "$LINENO" 5
2869
 
2870
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2871
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2872
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2873
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2874
which seems to be undefined.  Please make sure it is defined." >&5
2875
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2876
which seems to be undefined.  Please make sure it is defined." >&2;}
2877
 
2878
  rm -f "$tmp/stdin"
2879
  case $ac_file in
2880
  -) cat "$tmp/out" && rm -f "$tmp/out";;
2881
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2882
  esac \
2883
  || as_fn_error "could not create $ac_file" "$LINENO" 5
2884
 ;;
2885
 
2886
 
2887
 
2888
  esac
2889
 
2890
done # for ac_tag
2891
 
2892
 
2893
as_fn_exit 0
2894
_ACEOF
2895
ac_clean_files=$ac_clean_files_save
2896
 
2897
test $ac_write_fail = 0 ||
2898
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
2899
 
2900
 
2901
# configure is writing to config.log, and then calls config.status.
2902
# config.status does its own redirection, appending to config.log.
2903
# Unfortunately, on DOS this fails, as config.log is still kept open
2904
# by configure, so config.status won't be able to write to it; its
2905
# output is simply discarded.  So we exec the FD to /dev/null,
2906
# effectively closing config.log, so it can be properly (re)opened and
2907
# appended to by config.status.  When coming back to configure, we
2908
# need to make the FD available again.
2909
if test "$no_create" != yes; then
2910
  ac_cs_success=:
2911
  ac_config_status_args=
2912
  test "$silent" = yes &&
2913
    ac_config_status_args="$ac_config_status_args --quiet"
2914
  exec 5>/dev/null
2915
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2916
  exec 5>>config.log
2917
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2918
  # would make configure fail if this is the last instruction.
2919
  $ac_cs_success || as_fn_exit $?
2920
fi
2921
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2922
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2923
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2924
fi
2925
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.