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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [doc/] [configure] - Blame information for rev 853

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

Line No. Rev Author Line
1 330 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="refcard.tex"
554
ac_subst_vars='LTLIBOBJS
555
LIBOBJS
556
REPORT_BUGS_TEXI
557
REPORT_BUGS_TO
558
PKGVERSION
559
LN_S
560
INSTALL_DATA
561
INSTALL_SCRIPT
562
INSTALL_PROGRAM
563
target_alias
564
host_alias
565
build_alias
566
LIBS
567
ECHO_T
568
ECHO_N
569
ECHO_C
570
DEFS
571
mandir
572
localedir
573
libdir
574
psdir
575
pdfdir
576
dvidir
577
htmldir
578
infodir
579
docdir
580
oldincludedir
581
includedir
582
localstatedir
583
sharedstatedir
584
sysconfdir
585
datadir
586
datarootdir
587
libexecdir
588
sbindir
589
bindir
590
program_transform_name
591
prefix
592
exec_prefix
593
PACKAGE_URL
594
PACKAGE_BUGREPORT
595
PACKAGE_STRING
596
PACKAGE_VERSION
597
PACKAGE_TARNAME
598
PACKAGE_NAME
599
PATH_SEPARATOR
600
SHELL'
601
ac_subst_files=''
602
ac_user_opts='
603
enable_option_checking
604
with_pkgversion
605
with_bugurl
606
'
607
      ac_precious_vars='build_alias
608
host_alias
609
target_alias'
610
 
611
 
612
# Initialize some variables set by options.
613
ac_init_help=
614
ac_init_version=false
615
ac_unrecognized_opts=
616
ac_unrecognized_sep=
617
# The variables have the same names as the options, with
618
# dashes changed to underlines.
619
cache_file=/dev/null
620
exec_prefix=NONE
621
no_create=
622
no_recursion=
623
prefix=NONE
624
program_prefix=NONE
625
program_suffix=NONE
626
program_transform_name=s,x,x,
627
silent=
628
site=
629
srcdir=
630
verbose=
631
x_includes=NONE
632
x_libraries=NONE
633
 
634
# Installation directory options.
635
# These are left unexpanded so users can "make install exec_prefix=/foo"
636
# and all the variables that are supposed to be based on exec_prefix
637
# by default will actually change.
638
# Use braces instead of parens because sh, perl, etc. also accept them.
639
# (The list follows the same order as the GNU Coding Standards.)
640
bindir='${exec_prefix}/bin'
641
sbindir='${exec_prefix}/sbin'
642
libexecdir='${exec_prefix}/libexec'
643
datarootdir='${prefix}/share'
644
datadir='${datarootdir}'
645
sysconfdir='${prefix}/etc'
646
sharedstatedir='${prefix}/com'
647
localstatedir='${prefix}/var'
648
includedir='${prefix}/include'
649
oldincludedir='/usr/include'
650
docdir='${datarootdir}/doc/${PACKAGE}'
651
infodir='${datarootdir}/info'
652
htmldir='${docdir}'
653
dvidir='${docdir}'
654
pdfdir='${docdir}'
655
psdir='${docdir}'
656
libdir='${exec_prefix}/lib'
657
localedir='${datarootdir}/locale'
658
mandir='${datarootdir}/man'
659
 
660
ac_prev=
661
ac_dashdash=
662
for ac_option
663
do
664
  # If the previous option needs an argument, assign it.
665
  if test -n "$ac_prev"; then
666
    eval $ac_prev=\$ac_option
667
    ac_prev=
668
    continue
669
  fi
670
 
671
  case $ac_option in
672
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
673
  *)    ac_optarg=yes ;;
674
  esac
675
 
676
  # Accept the important Cygnus configure options, so we can diagnose typos.
677
 
678
  case $ac_dashdash$ac_option in
679
  --)
680
    ac_dashdash=yes ;;
681
 
682
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
683
    ac_prev=bindir ;;
684
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
685
    bindir=$ac_optarg ;;
686
 
687
  -build | --build | --buil | --bui | --bu)
688
    ac_prev=build_alias ;;
689
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
690
    build_alias=$ac_optarg ;;
691
 
692
  -cache-file | --cache-file | --cache-fil | --cache-fi \
693
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
694
    ac_prev=cache_file ;;
695
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
696
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
697
    cache_file=$ac_optarg ;;
698
 
699
  --config-cache | -C)
700
    cache_file=config.cache ;;
701
 
702
  -datadir | --datadir | --datadi | --datad)
703
    ac_prev=datadir ;;
704
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
705
    datadir=$ac_optarg ;;
706
 
707
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
708
  | --dataroo | --dataro | --datar)
709
    ac_prev=datarootdir ;;
710
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
711
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
712
    datarootdir=$ac_optarg ;;
713
 
714
  -disable-* | --disable-*)
715
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
716
    # Reject names that are not valid shell variable names.
717
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
718
      as_fn_error "invalid feature name: $ac_useropt"
719
    ac_useropt_orig=$ac_useropt
720
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
721
    case $ac_user_opts in
722
      *"
723
"enable_$ac_useropt"
724
"*) ;;
725
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
726
         ac_unrecognized_sep=', ';;
727
    esac
728
    eval enable_$ac_useropt=no ;;
729
 
730
  -docdir | --docdir | --docdi | --doc | --do)
731
    ac_prev=docdir ;;
732
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
733
    docdir=$ac_optarg ;;
734
 
735
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
736
    ac_prev=dvidir ;;
737
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
738
    dvidir=$ac_optarg ;;
739
 
740
  -enable-* | --enable-*)
741
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
742
    # Reject names that are not valid shell variable names.
743
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
744
      as_fn_error "invalid feature name: $ac_useropt"
745
    ac_useropt_orig=$ac_useropt
746
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
747
    case $ac_user_opts in
748
      *"
749
"enable_$ac_useropt"
750
"*) ;;
751
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
752
         ac_unrecognized_sep=', ';;
753
    esac
754
    eval enable_$ac_useropt=\$ac_optarg ;;
755
 
756
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
757
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
758
  | --exec | --exe | --ex)
759
    ac_prev=exec_prefix ;;
760
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
761
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
762
  | --exec=* | --exe=* | --ex=*)
763
    exec_prefix=$ac_optarg ;;
764
 
765
  -gas | --gas | --ga | --g)
766
    # Obsolete; use --with-gas.
767
    with_gas=yes ;;
768
 
769
  -help | --help | --hel | --he | -h)
770
    ac_init_help=long ;;
771
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
772
    ac_init_help=recursive ;;
773
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
774
    ac_init_help=short ;;
775
 
776
  -host | --host | --hos | --ho)
777
    ac_prev=host_alias ;;
778
  -host=* | --host=* | --hos=* | --ho=*)
779
    host_alias=$ac_optarg ;;
780
 
781
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
782
    ac_prev=htmldir ;;
783
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
784
  | --ht=*)
785
    htmldir=$ac_optarg ;;
786
 
787
  -includedir | --includedir | --includedi | --included | --include \
788
  | --includ | --inclu | --incl | --inc)
789
    ac_prev=includedir ;;
790
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
791
  | --includ=* | --inclu=* | --incl=* | --inc=*)
792
    includedir=$ac_optarg ;;
793
 
794
  -infodir | --infodir | --infodi | --infod | --info | --inf)
795
    ac_prev=infodir ;;
796
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
797
    infodir=$ac_optarg ;;
798
 
799
  -libdir | --libdir | --libdi | --libd)
800
    ac_prev=libdir ;;
801
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
802
    libdir=$ac_optarg ;;
803
 
804
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
805
  | --libexe | --libex | --libe)
806
    ac_prev=libexecdir ;;
807
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
808
  | --libexe=* | --libex=* | --libe=*)
809
    libexecdir=$ac_optarg ;;
810
 
811
  -localedir | --localedir | --localedi | --localed | --locale)
812
    ac_prev=localedir ;;
813
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
814
    localedir=$ac_optarg ;;
815
 
816
  -localstatedir | --localstatedir | --localstatedi | --localstated \
817
  | --localstate | --localstat | --localsta | --localst | --locals)
818
    ac_prev=localstatedir ;;
819
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
820
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
821
    localstatedir=$ac_optarg ;;
822
 
823
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
824
    ac_prev=mandir ;;
825
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
826
    mandir=$ac_optarg ;;
827
 
828
  -nfp | --nfp | --nf)
829
    # Obsolete; use --without-fp.
830
    with_fp=no ;;
831
 
832
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
833
  | --no-cr | --no-c | -n)
834
    no_create=yes ;;
835
 
836
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
837
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
838
    no_recursion=yes ;;
839
 
840
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
841
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
842
  | --oldin | --oldi | --old | --ol | --o)
843
    ac_prev=oldincludedir ;;
844
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
845
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
846
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
847
    oldincludedir=$ac_optarg ;;
848
 
849
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
850
    ac_prev=prefix ;;
851
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
852
    prefix=$ac_optarg ;;
853
 
854
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
855
  | --program-pre | --program-pr | --program-p)
856
    ac_prev=program_prefix ;;
857
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
858
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
859
    program_prefix=$ac_optarg ;;
860
 
861
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
862
  | --program-suf | --program-su | --program-s)
863
    ac_prev=program_suffix ;;
864
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
865
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
866
    program_suffix=$ac_optarg ;;
867
 
868
  -program-transform-name | --program-transform-name \
869
  | --program-transform-nam | --program-transform-na \
870
  | --program-transform-n | --program-transform- \
871
  | --program-transform | --program-transfor \
872
  | --program-transfo | --program-transf \
873
  | --program-trans | --program-tran \
874
  | --progr-tra | --program-tr | --program-t)
875
    ac_prev=program_transform_name ;;
876
  -program-transform-name=* | --program-transform-name=* \
877
  | --program-transform-nam=* | --program-transform-na=* \
878
  | --program-transform-n=* | --program-transform-=* \
879
  | --program-transform=* | --program-transfor=* \
880
  | --program-transfo=* | --program-transf=* \
881
  | --program-trans=* | --program-tran=* \
882
  | --progr-tra=* | --program-tr=* | --program-t=*)
883
    program_transform_name=$ac_optarg ;;
884
 
885
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
886
    ac_prev=pdfdir ;;
887
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
888
    pdfdir=$ac_optarg ;;
889
 
890
  -psdir | --psdir | --psdi | --psd | --ps)
891
    ac_prev=psdir ;;
892
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
893
    psdir=$ac_optarg ;;
894
 
895
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
896
  | -silent | --silent | --silen | --sile | --sil)
897
    silent=yes ;;
898
 
899
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
900
    ac_prev=sbindir ;;
901
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
902
  | --sbi=* | --sb=*)
903
    sbindir=$ac_optarg ;;
904
 
905
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
906
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
907
  | --sharedst | --shareds | --shared | --share | --shar \
908
  | --sha | --sh)
909
    ac_prev=sharedstatedir ;;
910
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
911
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
912
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
913
  | --sha=* | --sh=*)
914
    sharedstatedir=$ac_optarg ;;
915
 
916
  -site | --site | --sit)
917
    ac_prev=site ;;
918
  -site=* | --site=* | --sit=*)
919
    site=$ac_optarg ;;
920
 
921
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
922
    ac_prev=srcdir ;;
923
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
924
    srcdir=$ac_optarg ;;
925
 
926
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
927
  | --syscon | --sysco | --sysc | --sys | --sy)
928
    ac_prev=sysconfdir ;;
929
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
930
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
931
    sysconfdir=$ac_optarg ;;
932
 
933
  -target | --target | --targe | --targ | --tar | --ta | --t)
934
    ac_prev=target_alias ;;
935
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
936
    target_alias=$ac_optarg ;;
937
 
938
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
939
    verbose=yes ;;
940
 
941
  -version | --version | --versio | --versi | --vers | -V)
942
    ac_init_version=: ;;
943
 
944
  -with-* | --with-*)
945
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
946
    # Reject names that are not valid shell variable names.
947
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948
      as_fn_error "invalid package name: $ac_useropt"
949
    ac_useropt_orig=$ac_useropt
950
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951
    case $ac_user_opts in
952
      *"
953
"with_$ac_useropt"
954
"*) ;;
955
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
956
         ac_unrecognized_sep=', ';;
957
    esac
958
    eval with_$ac_useropt=\$ac_optarg ;;
959
 
960
  -without-* | --without-*)
961
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
962
    # Reject names that are not valid shell variable names.
963
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964
      as_fn_error "invalid package name: $ac_useropt"
965
    ac_useropt_orig=$ac_useropt
966
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967
    case $ac_user_opts in
968
      *"
969
"with_$ac_useropt"
970
"*) ;;
971
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
972
         ac_unrecognized_sep=', ';;
973
    esac
974
    eval with_$ac_useropt=no ;;
975
 
976
  --x)
977
    # Obsolete; use --with-x.
978
    with_x=yes ;;
979
 
980
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
981
  | --x-incl | --x-inc | --x-in | --x-i)
982
    ac_prev=x_includes ;;
983
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
984
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
985
    x_includes=$ac_optarg ;;
986
 
987
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
988
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
989
    ac_prev=x_libraries ;;
990
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
991
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
992
    x_libraries=$ac_optarg ;;
993
 
994
  -*) as_fn_error "unrecognized option: \`$ac_option'
995
Try \`$0 --help' for more information."
996
    ;;
997
 
998
  *=*)
999
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1000
    # Reject names that are not valid shell variable names.
1001
    case $ac_envvar in #(
1002
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1003
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1004
    esac
1005
    eval $ac_envvar=\$ac_optarg
1006
    export $ac_envvar ;;
1007
 
1008
  *)
1009
    # FIXME: should be removed in autoconf 3.0.
1010
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1011
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1013
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1014
    ;;
1015
 
1016
  esac
1017
done
1018
 
1019
if test -n "$ac_prev"; then
1020
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1021
  as_fn_error "missing argument to $ac_option"
1022
fi
1023
 
1024
if test -n "$ac_unrecognized_opts"; then
1025
  case $enable_option_checking in
1026
    no) ;;
1027
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1028
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1029
  esac
1030
fi
1031
 
1032
# Check all directory arguments for consistency.
1033
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1034
                datadir sysconfdir sharedstatedir localstatedir includedir \
1035
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1036
                libdir localedir mandir
1037
do
1038
  eval ac_val=\$$ac_var
1039
  # Remove trailing slashes.
1040
  case $ac_val in
1041
    */ )
1042
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1043
      eval $ac_var=\$ac_val;;
1044
  esac
1045
  # Be sure to have absolute directory names.
1046
  case $ac_val in
1047
    [\\/$]* | ?:[\\/]* )  continue;;
1048
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1049
  esac
1050
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1051
done
1052
 
1053
# There might be people who depend on the old broken behavior: `$host'
1054
# used to hold the argument of --host etc.
1055
# FIXME: To remove some day.
1056
build=$build_alias
1057
host=$host_alias
1058
target=$target_alias
1059
 
1060
# FIXME: To remove some day.
1061
if test "x$host_alias" != x; then
1062
  if test "x$build_alias" = x; then
1063
    cross_compiling=maybe
1064
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1065
    If a cross compiler is detected then cross compile mode will be used." >&2
1066
  elif test "x$build_alias" != "x$host_alias"; then
1067
    cross_compiling=yes
1068
  fi
1069
fi
1070
 
1071
ac_tool_prefix=
1072
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1073
 
1074
test "$silent" = yes && exec 6>/dev/null
1075
 
1076
 
1077
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1078
ac_ls_di=`ls -di .` &&
1079
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1080
  as_fn_error "working directory cannot be determined"
1081
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1082
  as_fn_error "pwd does not report name of working directory"
1083
 
1084
 
1085
# Find the source files, if location was not specified.
1086
if test -z "$srcdir"; then
1087
  ac_srcdir_defaulted=yes
1088
  # Try the directory containing this script, then the parent directory.
1089
  ac_confdir=`$as_dirname -- "$as_myself" ||
1090
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1091
         X"$as_myself" : 'X\(//\)[^/]' \| \
1092
         X"$as_myself" : 'X\(//\)$' \| \
1093
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1094
$as_echo X"$as_myself" |
1095
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1096
            s//\1/
1097
            q
1098
          }
1099
          /^X\(\/\/\)[^/].*/{
1100
            s//\1/
1101
            q
1102
          }
1103
          /^X\(\/\/\)$/{
1104
            s//\1/
1105
            q
1106
          }
1107
          /^X\(\/\).*/{
1108
            s//\1/
1109
            q
1110
          }
1111
          s/.*/./; q'`
1112
  srcdir=$ac_confdir
1113
  if test ! -r "$srcdir/$ac_unique_file"; then
1114
    srcdir=..
1115
  fi
1116
else
1117
  ac_srcdir_defaulted=no
1118
fi
1119
if test ! -r "$srcdir/$ac_unique_file"; then
1120
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1121
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1122
fi
1123
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1124
ac_abs_confdir=`(
1125
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1126
        pwd)`
1127
# When building in place, set srcdir=.
1128
if test "$ac_abs_confdir" = "$ac_pwd"; then
1129
  srcdir=.
1130
fi
1131
# Remove unnecessary trailing slashes from srcdir.
1132
# Double slashes in file names in object file debugging info
1133
# mess up M-x gdb in Emacs.
1134
case $srcdir in
1135
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1136
esac
1137
for ac_var in $ac_precious_vars; do
1138
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1139
  eval ac_env_${ac_var}_value=\$${ac_var}
1140
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1141
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1142
done
1143
 
1144
#
1145
# Report the --help message.
1146
#
1147
if test "$ac_init_help" = "long"; then
1148
  # Omit some internal or obsolete options to make the list less imposing.
1149
  # This message is too long to be a string in the A/UX 3.1 sh.
1150
  cat <<_ACEOF
1151
\`configure' configures this package to adapt to many kinds of systems.
1152
 
1153
Usage: $0 [OPTION]... [VAR=VALUE]...
1154
 
1155
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1156
VAR=VALUE.  See below for descriptions of some of the useful variables.
1157
 
1158
Defaults for the options are specified in brackets.
1159
 
1160
Configuration:
1161
  -h, --help              display this help and exit
1162
      --help=short        display options specific to this package
1163
      --help=recursive    display the short help of all the included packages
1164
  -V, --version           display version information and exit
1165
  -q, --quiet, --silent   do not print \`checking...' messages
1166
      --cache-file=FILE   cache test results in FILE [disabled]
1167
  -C, --config-cache      alias for \`--cache-file=config.cache'
1168
  -n, --no-create         do not create output files
1169
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1170
 
1171
Installation directories:
1172
  --prefix=PREFIX         install architecture-independent files in PREFIX
1173
                          [$ac_default_prefix]
1174
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1175
                          [PREFIX]
1176
 
1177
By default, \`make install' will install all the files in
1178
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1179
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1180
for instance \`--prefix=\$HOME'.
1181
 
1182
For better control, use the options below.
1183
 
1184
Fine tuning of the installation directories:
1185
  --bindir=DIR            user executables [EPREFIX/bin]
1186
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1187
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1188
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1189
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1190
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1191
  --libdir=DIR            object code libraries [EPREFIX/lib]
1192
  --includedir=DIR        C header files [PREFIX/include]
1193
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1194
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1195
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1196
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1197
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1198
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1199
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1200
  --htmldir=DIR           html documentation [DOCDIR]
1201
  --dvidir=DIR            dvi documentation [DOCDIR]
1202
  --pdfdir=DIR            pdf documentation [DOCDIR]
1203
  --psdir=DIR             ps documentation [DOCDIR]
1204
_ACEOF
1205
 
1206
  cat <<\_ACEOF
1207
_ACEOF
1208
fi
1209
 
1210
if test -n "$ac_init_help"; then
1211
 
1212
  cat <<\_ACEOF
1213
 
1214
Optional Packages:
1215
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1216
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1217
  --with-pkgversion=PKG   Use PKG in the version string in place of "GDB"
1218
  --with-bugurl=URL       Direct users to URL to report a bug
1219
 
1220
Report bugs to the package provider.
1221
_ACEOF
1222
ac_status=$?
1223
fi
1224
 
1225
if test "$ac_init_help" = "recursive"; then
1226
  # If there are subdirs, report their specific --help.
1227
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1228
    test -d "$ac_dir" ||
1229
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1230
      continue
1231
    ac_builddir=.
1232
 
1233
case "$ac_dir" in
1234
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1235
*)
1236
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1237
  # A ".." for each directory in $ac_dir_suffix.
1238
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1239
  case $ac_top_builddir_sub in
1240
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1242
  esac ;;
1243
esac
1244
ac_abs_top_builddir=$ac_pwd
1245
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1246
# for backward compatibility:
1247
ac_top_builddir=$ac_top_build_prefix
1248
 
1249
case $srcdir in
1250
  .)  # We are building in place.
1251
    ac_srcdir=.
1252
    ac_top_srcdir=$ac_top_builddir_sub
1253
    ac_abs_top_srcdir=$ac_pwd ;;
1254
  [\\/]* | ?:[\\/]* )  # Absolute name.
1255
    ac_srcdir=$srcdir$ac_dir_suffix;
1256
    ac_top_srcdir=$srcdir
1257
    ac_abs_top_srcdir=$srcdir ;;
1258
  *) # Relative name.
1259
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1260
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1261
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1262
esac
1263
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1264
 
1265
    cd "$ac_dir" || { ac_status=$?; continue; }
1266
    # Check for guested configure.
1267
    if test -f "$ac_srcdir/configure.gnu"; then
1268
      echo &&
1269
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1270
    elif test -f "$ac_srcdir/configure"; then
1271
      echo &&
1272
      $SHELL "$ac_srcdir/configure" --help=recursive
1273
    else
1274
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1275
    fi || ac_status=$?
1276
    cd "$ac_pwd" || { ac_status=$?; break; }
1277
  done
1278
fi
1279
 
1280
test -n "$ac_init_help" && exit $ac_status
1281
if $ac_init_version; then
1282
  cat <<\_ACEOF
1283
configure
1284
generated by GNU Autoconf 2.64
1285
 
1286
Copyright (C) 2009 Free Software Foundation, Inc.
1287
This configure script is free software; the Free Software Foundation
1288
gives unlimited permission to copy, distribute and modify it.
1289
_ACEOF
1290
  exit
1291
fi
1292
 
1293
## ------------------------ ##
1294
## Autoconf initialization. ##
1295
## ------------------------ ##
1296
cat >config.log <<_ACEOF
1297
This file contains any messages produced by compilers while
1298
running configure, to aid debugging if configure makes a mistake.
1299
 
1300
It was created by $as_me, which was
1301
generated by GNU Autoconf 2.64.  Invocation command line was
1302
 
1303
  $ $0 $@
1304
 
1305
_ACEOF
1306
exec 5>>config.log
1307
{
1308
cat <<_ASUNAME
1309
## --------- ##
1310
## Platform. ##
1311
## --------- ##
1312
 
1313
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1314
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1315
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1316
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1317
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1318
 
1319
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1320
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1321
 
1322
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1323
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1324
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1325
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1326
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1327
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1328
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1329
 
1330
_ASUNAME
1331
 
1332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333
for as_dir in $PATH
1334
do
1335
  IFS=$as_save_IFS
1336
  test -z "$as_dir" && as_dir=.
1337
    $as_echo "PATH: $as_dir"
1338
  done
1339
IFS=$as_save_IFS
1340
 
1341
} >&5
1342
 
1343
cat >&5 <<_ACEOF
1344
 
1345
 
1346
## ----------- ##
1347
## Core tests. ##
1348
## ----------- ##
1349
 
1350
_ACEOF
1351
 
1352
 
1353
# Keep a trace of the command line.
1354
# Strip out --no-create and --no-recursion so they do not pile up.
1355
# Strip out --silent because we don't want to record it for future runs.
1356
# Also quote any args containing shell meta-characters.
1357
# Make two passes to allow for proper duplicate-argument suppression.
1358
ac_configure_args=
1359
ac_configure_args0=
1360
ac_configure_args1=
1361
ac_must_keep_next=false
1362
for ac_pass in 1 2
1363
do
1364
  for ac_arg
1365
  do
1366
    case $ac_arg in
1367
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1368
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1369
    | -silent | --silent | --silen | --sile | --sil)
1370
      continue ;;
1371
    *\'*)
1372
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1373
    esac
1374
    case $ac_pass in
1375
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1376
    2)
1377
      as_fn_append ac_configure_args1 " '$ac_arg'"
1378
      if test $ac_must_keep_next = true; then
1379
        ac_must_keep_next=false # Got value, back to normal.
1380
      else
1381
        case $ac_arg in
1382
          *=* | --config-cache | -C | -disable-* | --disable-* \
1383
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1384
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1385
          | -with-* | --with-* | -without-* | --without-* | --x)
1386
            case "$ac_configure_args0 " in
1387
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1388
            esac
1389
            ;;
1390
          -* ) ac_must_keep_next=true ;;
1391
        esac
1392
      fi
1393
      as_fn_append ac_configure_args " '$ac_arg'"
1394
      ;;
1395
    esac
1396
  done
1397
done
1398
{ ac_configure_args0=; unset ac_configure_args0;}
1399
{ ac_configure_args1=; unset ac_configure_args1;}
1400
 
1401
# When interrupted or exit'd, cleanup temporary files, and complete
1402
# config.log.  We remove comments because anyway the quotes in there
1403
# would cause problems or look ugly.
1404
# WARNING: Use '\'' to represent an apostrophe within the trap.
1405
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1406
trap 'exit_status=$?
1407
  # Save into config.log some information that might help in debugging.
1408
  {
1409
    echo
1410
 
1411
    cat <<\_ASBOX
1412
## ---------------- ##
1413
## Cache variables. ##
1414
## ---------------- ##
1415
_ASBOX
1416
    echo
1417
    # The following way of writing the cache mishandles newlines in values,
1418
(
1419
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1420
    eval ac_val=\$$ac_var
1421
    case $ac_val in #(
1422
    *${as_nl}*)
1423
      case $ac_var in #(
1424
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1425
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1426
      esac
1427
      case $ac_var in #(
1428
      _ | IFS | as_nl) ;; #(
1429
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1430
      *) { eval $ac_var=; unset $ac_var;} ;;
1431
      esac ;;
1432
    esac
1433
  done
1434
  (set) 2>&1 |
1435
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1436
    *${as_nl}ac_space=\ *)
1437
      sed -n \
1438
        "s/'\''/'\''\\\\'\'''\''/g;
1439
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1440
      ;; #(
1441
    *)
1442
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1443
      ;;
1444
    esac |
1445
    sort
1446
)
1447
    echo
1448
 
1449
    cat <<\_ASBOX
1450
## ----------------- ##
1451
## Output variables. ##
1452
## ----------------- ##
1453
_ASBOX
1454
    echo
1455
    for ac_var in $ac_subst_vars
1456
    do
1457
      eval ac_val=\$$ac_var
1458
      case $ac_val in
1459
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1460
      esac
1461
      $as_echo "$ac_var='\''$ac_val'\''"
1462
    done | sort
1463
    echo
1464
 
1465
    if test -n "$ac_subst_files"; then
1466
      cat <<\_ASBOX
1467
## ------------------- ##
1468
## File substitutions. ##
1469
## ------------------- ##
1470
_ASBOX
1471
      echo
1472
      for ac_var in $ac_subst_files
1473
      do
1474
        eval ac_val=\$$ac_var
1475
        case $ac_val in
1476
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1477
        esac
1478
        $as_echo "$ac_var='\''$ac_val'\''"
1479
      done | sort
1480
      echo
1481
    fi
1482
 
1483
    if test -s confdefs.h; then
1484
      cat <<\_ASBOX
1485
## ----------- ##
1486
## confdefs.h. ##
1487
## ----------- ##
1488
_ASBOX
1489
      echo
1490
      cat confdefs.h
1491
      echo
1492
    fi
1493
    test "$ac_signal" != 0 &&
1494
      $as_echo "$as_me: caught signal $ac_signal"
1495
    $as_echo "$as_me: exit $exit_status"
1496
  } >&5
1497
  rm -f core *.core core.conftest.* &&
1498
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1499
    exit $exit_status
1500
' 0
1501
for ac_signal in 1 2 13 15; do
1502
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1503
done
1504
ac_signal=0
1505
 
1506
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1507
rm -f -r conftest* confdefs.h
1508
 
1509
$as_echo "/* confdefs.h */" > confdefs.h
1510
 
1511
# Predefined preprocessor variables.
1512
 
1513
cat >>confdefs.h <<_ACEOF
1514
#define PACKAGE_NAME "$PACKAGE_NAME"
1515
_ACEOF
1516
 
1517
cat >>confdefs.h <<_ACEOF
1518
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1519
_ACEOF
1520
 
1521
cat >>confdefs.h <<_ACEOF
1522
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1523
_ACEOF
1524
 
1525
cat >>confdefs.h <<_ACEOF
1526
#define PACKAGE_STRING "$PACKAGE_STRING"
1527
_ACEOF
1528
 
1529
cat >>confdefs.h <<_ACEOF
1530
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1531
_ACEOF
1532
 
1533
cat >>confdefs.h <<_ACEOF
1534
#define PACKAGE_URL "$PACKAGE_URL"
1535
_ACEOF
1536
 
1537
 
1538
# Let the site file select an alternate cache file if it wants to.
1539
# Prefer an explicitly selected file to automatically selected ones.
1540
ac_site_file1=NONE
1541
ac_site_file2=NONE
1542
if test -n "$CONFIG_SITE"; then
1543
  ac_site_file1=$CONFIG_SITE
1544
elif test "x$prefix" != xNONE; then
1545
  ac_site_file1=$prefix/share/config.site
1546
  ac_site_file2=$prefix/etc/config.site
1547
else
1548
  ac_site_file1=$ac_default_prefix/share/config.site
1549
  ac_site_file2=$ac_default_prefix/etc/config.site
1550
fi
1551
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1552
do
1553
  test "x$ac_site_file" = xNONE && continue
1554
  if test -r "$ac_site_file"; then
1555
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1556
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1557
    sed 's/^/| /' "$ac_site_file" >&5
1558
    . "$ac_site_file"
1559
  fi
1560
done
1561
 
1562
if test -r "$cache_file"; then
1563
  # Some versions of bash will fail to source /dev/null (special
1564
  # files actually), so we avoid doing that.
1565
  if test -f "$cache_file"; then
1566
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1567
$as_echo "$as_me: loading cache $cache_file" >&6;}
1568
    case $cache_file in
1569
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1570
      *)                      . "./$cache_file";;
1571
    esac
1572
  fi
1573
else
1574
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1575
$as_echo "$as_me: creating cache $cache_file" >&6;}
1576
  >$cache_file
1577
fi
1578
 
1579
# Check that the precious variables saved in the cache have kept the same
1580
# value.
1581
ac_cache_corrupted=false
1582
for ac_var in $ac_precious_vars; do
1583
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1584
  eval ac_new_set=\$ac_env_${ac_var}_set
1585
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1586
  eval ac_new_val=\$ac_env_${ac_var}_value
1587
  case $ac_old_set,$ac_new_set in
1588
    set,)
1589
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1590
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1591
      ac_cache_corrupted=: ;;
1592
    ,set)
1593
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1594
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1595
      ac_cache_corrupted=: ;;
1596
    ,);;
1597
    *)
1598
      if test "x$ac_old_val" != "x$ac_new_val"; then
1599
        # differences in whitespace do not lead to failure.
1600
        ac_old_val_w=`echo x $ac_old_val`
1601
        ac_new_val_w=`echo x $ac_new_val`
1602
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1603
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1604
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1605
          ac_cache_corrupted=:
1606
        else
1607
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1608
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1609
          eval $ac_var=\$ac_old_val
1610
        fi
1611
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1612
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1613
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1614
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1615
      fi;;
1616
  esac
1617
  # Pass precious variables to config.status.
1618
  if test "$ac_new_set" = set; then
1619
    case $ac_new_val in
1620
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1621
    *) ac_arg=$ac_var=$ac_new_val ;;
1622
    esac
1623
    case " $ac_configure_args " in
1624
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1625
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1626
    esac
1627
  fi
1628
done
1629
if $ac_cache_corrupted; then
1630
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1631
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1632
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1633
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1634
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1635
fi
1636
## -------------------- ##
1637
## Main body of script. ##
1638
## -------------------- ##
1639
 
1640
ac_ext=c
1641
ac_cpp='$CPP $CPPFLAGS'
1642
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1643
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1644
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1645
 
1646
 
1647
# Autoconf M4 include file defining utility macros for complex Canadian
1648
# cross builds.
1649
 
1650
 
1651
 
1652
 
1653
 
1654
 
1655
 
1656
 
1657
 
1658
####
1659
# _NCN_TOOL_PREFIXES:  Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1660
# or AC_INIT.
1661
# These demand that AC_CANONICAL_SYSTEM be called beforehand.
1662
 
1663
####
1664
# NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1665
# Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1666
 
1667
 
1668
####
1669
# NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1670
# Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1671
 
1672
 
1673
 
1674
# Backported from Autoconf 2.5x; can go away when and if
1675
# we switch.  Put the OS path separator in $PATH_SEPARATOR.
1676
 
1677
 
1678
 
1679
 
1680
# ACX_HAVE_GCC_FOR_TARGET
1681
# Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1682
 
1683
 
1684
# ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1685
# Searching for installed target binutils.  We need to take extra care,
1686
# else we may find the wrong assembler, linker, etc., and lose.
1687
#
1688
# First try --with-build-time-tools, if specified.
1689
#
1690
# For build != host, we ask the installed GCC for the name of the tool it
1691
# uses, and accept it if it is an absolute path.  This is because the
1692
# only good choice for a compiler is the same GCC version that is being
1693
# installed (or we couldn't make target libraries), and we assume that
1694
# on the host system we'll have not only the same GCC version, but also
1695
# the same binutils version.
1696
#
1697
# For build == host, search the same directories that the installed
1698
# compiler will search.  We used to do this for the assembler, linker,
1699
# and nm only; for simplicity of configuration, however, we extend this
1700
# criterion to tools (such as ar and ranlib) that are never invoked by
1701
# the compiler, to avoid mismatches.
1702
#
1703
# Also note we have to check MD_EXEC_PREFIX before checking the user's path
1704
# if build == target.  This makes the most sense only when bootstrapping,
1705
# but we also do so when build != host.  In this case, we hope that the
1706
# build and host systems will have similar contents of MD_EXEC_PREFIX.
1707
#
1708
# If we do not find a suitable binary, then try the user's path.
1709
 
1710
 
1711
###
1712
# AC_PROG_CPP_WERROR
1713
# Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1714
# triggers warnings from the preprocessor.  Will be in autoconf 2.58.
1715
# For now, using this also overrides header checks to use only the
1716
# preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1717
# bit harder from here).
1718
# Eventually autoconf will default to checking headers with the compiler
1719
# instead, and we'll have to do this differently.
1720
 
1721
# AC_PROG_CPP_WERROR
1722
 
1723
# Test for GNAT.
1724
# We require the gnatbind program, and a compiler driver that
1725
# understands Ada.  We use the user's CC setting, already found,
1726
# and possibly add $1 to the command-line parameters.
1727
#
1728
# Sets the shell variable have_gnat to yes or no as appropriate, and
1729
# substitutes GNATBIND and GNATMAKE.
1730
 
1731
 
1732
 
1733
 
1734
 
1735
 
1736
 
1737
 
1738
 
1739
 
1740
 
1741
 
1742
 
1743
 
1744
 
1745
 
1746
 
1747
 
1748
 
1749
 
1750
 
1751
ac_aux_dir=
1752
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1753
  for ac_t in install-sh install.sh shtool; do
1754
    if test -f "$ac_dir/$ac_t"; then
1755
      ac_aux_dir=$ac_dir
1756
      ac_install_sh="$ac_aux_dir/$ac_t -c"
1757
      break 2
1758
    fi
1759
  done
1760
done
1761
if test -z "$ac_aux_dir"; then
1762
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1763
fi
1764
 
1765
# These three variables are undocumented and unsupported,
1766
# and are intended to be withdrawn in a future Autoconf release.
1767
# They can cause serious problems if a builder's source tree is in a directory
1768
# whose full name contains unusual characters.
1769
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1770
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1771
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1772
 
1773
 
1774
# Find a good install program.  We prefer a C program (faster),
1775
# so one script is as good as another.  But avoid the broken or
1776
# incompatible versions:
1777
# SysV /etc/install, /usr/sbin/install
1778
# SunOS /usr/etc/install
1779
# IRIX /sbin/install
1780
# AIX /bin/install
1781
# AmigaOS /C/install, which installs bootblocks on floppy discs
1782
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1783
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1784
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1785
# OS/2's system install, which has a completely different semantic
1786
# ./install, which can be erroneously created by make from ./install.sh.
1787
# Reject install programs that cannot install multiple files.
1788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1789
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1790
if test -z "$INSTALL"; then
1791
if test "${ac_cv_path_install+set}" = set; then :
1792
  $as_echo_n "(cached) " >&6
1793
else
1794
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795
for as_dir in $PATH
1796
do
1797
  IFS=$as_save_IFS
1798
  test -z "$as_dir" && as_dir=.
1799
    # Account for people who put trailing slashes in PATH elements.
1800
case $as_dir/ in #((
1801
  ./ | .// | /[cC]/* | \
1802
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1803
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1804
  /usr/ucb/* ) ;;
1805
  *)
1806
    # OSF1 and SCO ODT 3.0 have their own names for install.
1807
    # Don't use installbsd from OSF since it installs stuff as root
1808
    # by default.
1809
    for ac_prog in ginstall scoinst install; do
1810
      for ac_exec_ext in '' $ac_executable_extensions; do
1811
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1812
          if test $ac_prog = install &&
1813
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814
            # AIX install.  It has an incompatible calling convention.
1815
            :
1816
          elif test $ac_prog = install &&
1817
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1818
            # program-specific install script used by HP pwplus--don't use.
1819
            :
1820
          else
1821
            rm -rf conftest.one conftest.two conftest.dir
1822
            echo one > conftest.one
1823
            echo two > conftest.two
1824
            mkdir conftest.dir
1825
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1826
              test -s conftest.one && test -s conftest.two &&
1827
              test -s conftest.dir/conftest.one &&
1828
              test -s conftest.dir/conftest.two
1829
            then
1830
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831
              break 3
1832
            fi
1833
          fi
1834
        fi
1835
      done
1836
    done
1837
    ;;
1838
esac
1839
 
1840
  done
1841
IFS=$as_save_IFS
1842
 
1843
rm -rf conftest.one conftest.two conftest.dir
1844
 
1845
fi
1846
  if test "${ac_cv_path_install+set}" = set; then
1847
    INSTALL=$ac_cv_path_install
1848
  else
1849
    # As a last resort, use the slow shell script.  Don't cache a
1850
    # value for INSTALL within a source directory, because that will
1851
    # break other packages using the cache if that directory is
1852
    # removed, or if the value is a relative name.
1853
    INSTALL=$ac_install_sh
1854
  fi
1855
fi
1856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1857
$as_echo "$INSTALL" >&6; }
1858
 
1859
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1860
# It thinks the first close brace ends the variable substitution.
1861
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1862
 
1863
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1864
 
1865
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1866
 
1867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1868
$as_echo_n "checking whether ln -s works... " >&6; }
1869
LN_S=$as_ln_s
1870
if test "$LN_S" = "ln -s"; then
1871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1872
$as_echo "yes" >&6; }
1873
else
1874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1875
$as_echo "no, using $LN_S" >&6; }
1876
fi
1877
 
1878
 
1879
 
1880
 
1881
# Check whether --with-pkgversion was given.
1882
if test "${with_pkgversion+set}" = set; then :
1883
  withval=$with_pkgversion; case "$withval" in
1884
      yes) as_fn_error "package version not specified" "$LINENO" 5 ;;
1885
      no)  PKGVERSION= ;;
1886
      *)   PKGVERSION="($withval) " ;;
1887
     esac
1888
else
1889
  PKGVERSION="(GDB) "
1890
 
1891
fi
1892
 
1893
 
1894
 
1895
 
1896
 
1897
# Check whether --with-bugurl was given.
1898
if test "${with_bugurl+set}" = set; then :
1899
  withval=$with_bugurl; case "$withval" in
1900
      yes) as_fn_error "bug URL not specified" "$LINENO" 5 ;;
1901
      no)  BUGURL=
1902
           ;;
1903
      *)   BUGURL="$withval"
1904
           ;;
1905
     esac
1906
else
1907
  BUGURL="http://www.gnu.org/software/gdb/bugs/"
1908
 
1909
fi
1910
 
1911
  case ${BUGURL} in
1912
  "")
1913
    REPORT_BUGS_TO=
1914
    REPORT_BUGS_TEXI=
1915
    ;;
1916
  *)
1917
    REPORT_BUGS_TO="<$BUGURL>"
1918
    REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
1919
    ;;
1920
  esac;
1921
 
1922
 
1923
 
1924
ac_config_files="$ac_config_files Makefile"
1925
 
1926
cat >confcache <<\_ACEOF
1927
# This file is a shell script that caches the results of configure
1928
# tests run on this system so they can be shared between configure
1929
# scripts and configure runs, see configure's option --config-cache.
1930
# It is not useful on other systems.  If it contains results you don't
1931
# want to keep, you may remove or edit it.
1932
#
1933
# config.status only pays attention to the cache file if you give it
1934
# the --recheck option to rerun configure.
1935
#
1936
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1937
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1938
# following values.
1939
 
1940
_ACEOF
1941
 
1942
# The following way of writing the cache mishandles newlines in values,
1943
# but we know of no workaround that is simple, portable, and efficient.
1944
# So, we kill variables containing newlines.
1945
# Ultrix sh set writes to stderr and can't be redirected directly,
1946
# and sets the high bit in the cache file unless we assign to the vars.
1947
(
1948
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1949
    eval ac_val=\$$ac_var
1950
    case $ac_val in #(
1951
    *${as_nl}*)
1952
      case $ac_var in #(
1953
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1954
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1955
      esac
1956
      case $ac_var in #(
1957
      _ | IFS | as_nl) ;; #(
1958
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1959
      *) { eval $ac_var=; unset $ac_var;} ;;
1960
      esac ;;
1961
    esac
1962
  done
1963
 
1964
  (set) 2>&1 |
1965
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1966
    *${as_nl}ac_space=\ *)
1967
      # `set' does not quote correctly, so add quotes: double-quote
1968
      # substitution turns \\\\ into \\, and sed turns \\ into \.
1969
      sed -n \
1970
        "s/'/'\\\\''/g;
1971
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1972
      ;; #(
1973
    *)
1974
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1975
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1976
      ;;
1977
    esac |
1978
    sort
1979
) |
1980
  sed '
1981
     /^ac_cv_env_/b end
1982
     t clear
1983
     :clear
1984
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1985
     t end
1986
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1987
     :end' >>confcache
1988
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1989
  if test -w "$cache_file"; then
1990
    test "x$cache_file" != "x/dev/null" &&
1991
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1992
$as_echo "$as_me: updating cache $cache_file" >&6;}
1993
    cat confcache >$cache_file
1994
  else
1995
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1996
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1997
  fi
1998
fi
1999
rm -f confcache
2000
 
2001
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2002
# Let make expand exec_prefix.
2003
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2004
 
2005
# Transform confdefs.h into DEFS.
2006
# Protect against shell expansion while executing Makefile rules.
2007
# Protect against Makefile macro expansion.
2008
#
2009
# If the first sed substitution is executed (which looks for macros that
2010
# take arguments), then branch to the quote section.  Otherwise,
2011
# look for a macro that doesn't take arguments.
2012
ac_script='
2013
:mline
2014
/\\$/{
2015
 N
2016
 s,\\\n,,
2017
 b mline
2018
}
2019
t clear
2020
:clear
2021
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2022
t quote
2023
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2024
t quote
2025
b any
2026
:quote
2027
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2028
s/\[/\\&/g
2029
s/\]/\\&/g
2030
s/\$/$$/g
2031
H
2032
:any
2033
${
2034
        g
2035
        s/^\n//
2036
        s/\n/ /g
2037
        p
2038
}
2039
'
2040
DEFS=`sed -n "$ac_script" confdefs.h`
2041
 
2042
 
2043
ac_libobjs=
2044
ac_ltlibobjs=
2045
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2046
  # 1. Remove the extension, and $U if already installed.
2047
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2048
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2049
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2050
  #    will be set to the directory where LIBOBJS objects are built.
2051
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2052
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2053
done
2054
LIBOBJS=$ac_libobjs
2055
 
2056
LTLIBOBJS=$ac_ltlibobjs
2057
 
2058
 
2059
 
2060
: ${CONFIG_STATUS=./config.status}
2061
ac_write_fail=0
2062
ac_clean_files_save=$ac_clean_files
2063
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2064
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2065
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2066
as_write_fail=0
2067
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2068
#! $SHELL
2069
# Generated by $as_me.
2070
# Run this file to recreate the current configuration.
2071
# Compiler output produced by configure, useful for debugging
2072
# configure, is in config.log if it exists.
2073
 
2074
debug=false
2075
ac_cs_recheck=false
2076
ac_cs_silent=false
2077
 
2078
SHELL=\${CONFIG_SHELL-$SHELL}
2079
export SHELL
2080
_ASEOF
2081
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2082
## -------------------- ##
2083
## M4sh Initialization. ##
2084
## -------------------- ##
2085
 
2086
# Be more Bourne compatible
2087
DUALCASE=1; export DUALCASE # for MKS sh
2088
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2089
  emulate sh
2090
  NULLCMD=:
2091
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2092
  # is contrary to our usage.  Disable this feature.
2093
  alias -g '${1+"$@"}'='"$@"'
2094
  setopt NO_GLOB_SUBST
2095
else
2096
  case `(set -o) 2>/dev/null` in #(
2097
  *posix*) :
2098
    set -o posix ;; #(
2099
  *) :
2100
     ;;
2101
esac
2102
fi
2103
 
2104
 
2105
as_nl='
2106
'
2107
export as_nl
2108
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2109
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2110
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2111
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2112
# Prefer a ksh shell builtin over an external printf program on Solaris,
2113
# but without wasting forks for bash or zsh.
2114
if test -z "$BASH_VERSION$ZSH_VERSION" \
2115
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2116
  as_echo='print -r --'
2117
  as_echo_n='print -rn --'
2118
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2119
  as_echo='printf %s\n'
2120
  as_echo_n='printf %s'
2121
else
2122
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2123
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2124
    as_echo_n='/usr/ucb/echo -n'
2125
  else
2126
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2127
    as_echo_n_body='eval
2128
      arg=$1;
2129
      case $arg in #(
2130
      *"$as_nl"*)
2131
        expr "X$arg" : "X\\(.*\\)$as_nl";
2132
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2133
      esac;
2134
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2135
    '
2136
    export as_echo_n_body
2137
    as_echo_n='sh -c $as_echo_n_body as_echo'
2138
  fi
2139
  export as_echo_body
2140
  as_echo='sh -c $as_echo_body as_echo'
2141
fi
2142
 
2143
# The user is always right.
2144
if test "${PATH_SEPARATOR+set}" != set; then
2145
  PATH_SEPARATOR=:
2146
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2147
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2148
      PATH_SEPARATOR=';'
2149
  }
2150
fi
2151
 
2152
 
2153
# IFS
2154
# We need space, tab and new line, in precisely that order.  Quoting is
2155
# there to prevent editors from complaining about space-tab.
2156
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2157
# splitting by setting IFS to empty value.)
2158
IFS=" ""        $as_nl"
2159
 
2160
# Find who we are.  Look in the path if we contain no directory separator.
2161
case $0 in #((
2162
  *[\\/]* ) as_myself=$0 ;;
2163
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164
for as_dir in $PATH
2165
do
2166
  IFS=$as_save_IFS
2167
  test -z "$as_dir" && as_dir=.
2168
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2169
  done
2170
IFS=$as_save_IFS
2171
 
2172
     ;;
2173
esac
2174
# We did not find ourselves, most probably we were run as `sh COMMAND'
2175
# in which case we are not to be found in the path.
2176
if test "x$as_myself" = x; then
2177
  as_myself=$0
2178
fi
2179
if test ! -f "$as_myself"; then
2180
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2181
  exit 1
2182
fi
2183
 
2184
# Unset variables that we do not need and which cause bugs (e.g. in
2185
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2186
# suppresses any "Segmentation fault" message there.  '((' could
2187
# trigger a bug in pdksh 5.2.14.
2188
for as_var in BASH_ENV ENV MAIL MAILPATH
2189
do eval test x\${$as_var+set} = xset \
2190
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2191
done
2192
PS1='$ '
2193
PS2='> '
2194
PS4='+ '
2195
 
2196
# NLS nuisances.
2197
LC_ALL=C
2198
export LC_ALL
2199
LANGUAGE=C
2200
export LANGUAGE
2201
 
2202
# CDPATH.
2203
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2204
 
2205
 
2206
# as_fn_error ERROR [LINENO LOG_FD]
2207
# ---------------------------------
2208
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2209
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2210
# script with status $?, using 1 if that was 0.
2211
as_fn_error ()
2212
{
2213
  as_status=$?; test $as_status -eq 0 && as_status=1
2214
  if test "$3"; then
2215
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2216
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2217
  fi
2218
  $as_echo "$as_me: error: $1" >&2
2219
  as_fn_exit $as_status
2220
} # as_fn_error
2221
 
2222
 
2223
# as_fn_set_status STATUS
2224
# -----------------------
2225
# Set $? to STATUS, without forking.
2226
as_fn_set_status ()
2227
{
2228
  return $1
2229
} # as_fn_set_status
2230
 
2231
# as_fn_exit STATUS
2232
# -----------------
2233
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2234
as_fn_exit ()
2235
{
2236
  set +e
2237
  as_fn_set_status $1
2238
  exit $1
2239
} # as_fn_exit
2240
 
2241
# as_fn_unset VAR
2242
# ---------------
2243
# Portably unset VAR.
2244
as_fn_unset ()
2245
{
2246
  { eval $1=; unset $1;}
2247
}
2248
as_unset=as_fn_unset
2249
# as_fn_append VAR VALUE
2250
# ----------------------
2251
# Append the text in VALUE to the end of the definition contained in VAR. Take
2252
# advantage of any shell optimizations that allow amortized linear growth over
2253
# repeated appends, instead of the typical quadratic growth present in naive
2254
# implementations.
2255
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2256
  eval 'as_fn_append ()
2257
  {
2258
    eval $1+=\$2
2259
  }'
2260
else
2261
  as_fn_append ()
2262
  {
2263
    eval $1=\$$1\$2
2264
  }
2265
fi # as_fn_append
2266
 
2267
# as_fn_arith ARG...
2268
# ------------------
2269
# Perform arithmetic evaluation on the ARGs, and store the result in the
2270
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2271
# must be portable across $(()) and expr.
2272
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2273
  eval 'as_fn_arith ()
2274
  {
2275
    as_val=$(( $* ))
2276
  }'
2277
else
2278
  as_fn_arith ()
2279
  {
2280
    as_val=`expr "$@" || test $? -eq 1`
2281
  }
2282
fi # as_fn_arith
2283
 
2284
 
2285
if expr a : '\(a\)' >/dev/null 2>&1 &&
2286
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2287
  as_expr=expr
2288
else
2289
  as_expr=false
2290
fi
2291
 
2292
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2293
  as_basename=basename
2294
else
2295
  as_basename=false
2296
fi
2297
 
2298
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2299
  as_dirname=dirname
2300
else
2301
  as_dirname=false
2302
fi
2303
 
2304
as_me=`$as_basename -- "$0" ||
2305
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2306
         X"$0" : 'X\(//\)$' \| \
2307
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2308
$as_echo X/"$0" |
2309
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2310
            s//\1/
2311
            q
2312
          }
2313
          /^X\/\(\/\/\)$/{
2314
            s//\1/
2315
            q
2316
          }
2317
          /^X\/\(\/\).*/{
2318
            s//\1/
2319
            q
2320
          }
2321
          s/.*/./; q'`
2322
 
2323
# Avoid depending upon Character Ranges.
2324
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2325
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2326
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2327
as_cr_digits='0123456789'
2328
as_cr_alnum=$as_cr_Letters$as_cr_digits
2329
 
2330
ECHO_C= ECHO_N= ECHO_T=
2331
case `echo -n x` in #(((((
2332
-n*)
2333
  case `echo 'xy\c'` in
2334
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2335
  xy)  ECHO_C='\c';;
2336
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2337
       ECHO_T=' ';;
2338
  esac;;
2339
*)
2340
  ECHO_N='-n';;
2341
esac
2342
 
2343
rm -f conf$$ conf$$.exe conf$$.file
2344
if test -d conf$$.dir; then
2345
  rm -f conf$$.dir/conf$$.file
2346
else
2347
  rm -f conf$$.dir
2348
  mkdir conf$$.dir 2>/dev/null
2349
fi
2350
if (echo >conf$$.file) 2>/dev/null; then
2351
  if ln -s conf$$.file conf$$ 2>/dev/null; then
2352
    as_ln_s='ln -s'
2353
    # ... but there are two gotchas:
2354
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2355
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2356
    # In both cases, we have to default to `cp -p'.
2357
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2358
      as_ln_s='cp -p'
2359
  elif ln conf$$.file conf$$ 2>/dev/null; then
2360
    as_ln_s=ln
2361
  else
2362
    as_ln_s='cp -p'
2363
  fi
2364
else
2365
  as_ln_s='cp -p'
2366
fi
2367
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2368
rmdir conf$$.dir 2>/dev/null
2369
 
2370
 
2371
# as_fn_mkdir_p
2372
# -------------
2373
# Create "$as_dir" as a directory, including parents if necessary.
2374
as_fn_mkdir_p ()
2375
{
2376
 
2377
  case $as_dir in #(
2378
  -*) as_dir=./$as_dir;;
2379
  esac
2380
  test -d "$as_dir" || eval $as_mkdir_p || {
2381
    as_dirs=
2382
    while :; do
2383
      case $as_dir in #(
2384
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2385
      *) as_qdir=$as_dir;;
2386
      esac
2387
      as_dirs="'$as_qdir' $as_dirs"
2388
      as_dir=`$as_dirname -- "$as_dir" ||
2389
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2390
         X"$as_dir" : 'X\(//\)[^/]' \| \
2391
         X"$as_dir" : 'X\(//\)$' \| \
2392
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2393
$as_echo X"$as_dir" |
2394
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2395
            s//\1/
2396
            q
2397
          }
2398
          /^X\(\/\/\)[^/].*/{
2399
            s//\1/
2400
            q
2401
          }
2402
          /^X\(\/\/\)$/{
2403
            s//\1/
2404
            q
2405
          }
2406
          /^X\(\/\).*/{
2407
            s//\1/
2408
            q
2409
          }
2410
          s/.*/./; q'`
2411
      test -d "$as_dir" && break
2412
    done
2413
    test -z "$as_dirs" || eval "mkdir $as_dirs"
2414
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2415
 
2416
 
2417
} # as_fn_mkdir_p
2418
if mkdir -p . 2>/dev/null; then
2419
  as_mkdir_p='mkdir -p "$as_dir"'
2420
else
2421
  test -d ./-p && rmdir ./-p
2422
  as_mkdir_p=false
2423
fi
2424
 
2425
if test -x / >/dev/null 2>&1; then
2426
  as_test_x='test -x'
2427
else
2428
  if ls -dL / >/dev/null 2>&1; then
2429
    as_ls_L_option=L
2430
  else
2431
    as_ls_L_option=
2432
  fi
2433
  as_test_x='
2434
    eval sh -c '\''
2435
      if test -d "$1"; then
2436
        test -d "$1/.";
2437
      else
2438
        case $1 in #(
2439
        -*)set "./$1";;
2440
        esac;
2441
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2442
        ???[sx]*):;;*)false;;esac;fi
2443
    '\'' sh
2444
  '
2445
fi
2446
as_executable_p=$as_test_x
2447
 
2448
# Sed expression to map a string onto a valid CPP name.
2449
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2450
 
2451
# Sed expression to map a string onto a valid variable name.
2452
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2453
 
2454
 
2455
exec 6>&1
2456
## ----------------------------------- ##
2457
## Main body of $CONFIG_STATUS script. ##
2458
## ----------------------------------- ##
2459
_ASEOF
2460
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2461
 
2462
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2463
# Save the log message, to keep $0 and so on meaningful, and to
2464
# report actual input values of CONFIG_FILES etc. instead of their
2465
# values after options handling.
2466
ac_log="
2467
This file was extended by $as_me, which was
2468
generated by GNU Autoconf 2.64.  Invocation command line was
2469
 
2470
  CONFIG_FILES    = $CONFIG_FILES
2471
  CONFIG_HEADERS  = $CONFIG_HEADERS
2472
  CONFIG_LINKS    = $CONFIG_LINKS
2473
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2474
  $ $0 $@
2475
 
2476
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2477
"
2478
 
2479
_ACEOF
2480
 
2481
case $ac_config_files in *"
2482
"*) set x $ac_config_files; shift; ac_config_files=$*;;
2483
esac
2484
 
2485
 
2486
 
2487
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2488
# Files that config.status was made for.
2489
config_files="$ac_config_files"
2490
 
2491
_ACEOF
2492
 
2493
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2494
ac_cs_usage="\
2495
\`$as_me' instantiates files and other configuration actions
2496
from templates according to the current configuration.  Unless the files
2497
and actions are specified as TAGs, all are instantiated by default.
2498
 
2499
Usage: $0 [OPTION]... [TAG]...
2500
 
2501
  -h, --help       print this help, then exit
2502
  -V, --version    print version number and configuration settings, then exit
2503
  -q, --quiet, --silent
2504
                   do not print progress messages
2505
  -d, --debug      don't remove temporary files
2506
      --recheck    update $as_me by reconfiguring in the same conditions
2507
      --file=FILE[:TEMPLATE]
2508
                   instantiate the configuration file FILE
2509
 
2510
Configuration files:
2511
$config_files
2512
 
2513
Report bugs to the package provider."
2514
 
2515
_ACEOF
2516
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2517
ac_cs_version="\\
2518
config.status
2519
configured by $0, generated by GNU Autoconf 2.64,
2520
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2521
 
2522
Copyright (C) 2009 Free Software Foundation, Inc.
2523
This config.status script is free software; the Free Software Foundation
2524
gives unlimited permission to copy, distribute and modify it."
2525
 
2526
ac_pwd='$ac_pwd'
2527
srcdir='$srcdir'
2528
INSTALL='$INSTALL'
2529
test -n "\$AWK" || AWK=awk
2530
_ACEOF
2531
 
2532
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2533
# The default lists apply if the user does not specify any file.
2534
ac_need_defaults=:
2535
while test $# != 0
2536
do
2537
  case $1 in
2538
  --*=*)
2539
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2540
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2541
    ac_shift=:
2542
    ;;
2543
  *)
2544
    ac_option=$1
2545
    ac_optarg=$2
2546
    ac_shift=shift
2547
    ;;
2548
  esac
2549
 
2550
  case $ac_option in
2551
  # Handling of the options.
2552
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2553
    ac_cs_recheck=: ;;
2554
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2555
    $as_echo "$ac_cs_version"; exit ;;
2556
  --debug | --debu | --deb | --de | --d | -d )
2557
    debug=: ;;
2558
  --file | --fil | --fi | --f )
2559
    $ac_shift
2560
    case $ac_optarg in
2561
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2562
    esac
2563
    as_fn_append CONFIG_FILES " '$ac_optarg'"
2564
    ac_need_defaults=false;;
2565
  --he | --h |  --help | --hel | -h )
2566
    $as_echo "$ac_cs_usage"; exit ;;
2567
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2568
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2569
    ac_cs_silent=: ;;
2570
 
2571
  # This is an error.
2572
  -*) as_fn_error "unrecognized option: \`$1'
2573
Try \`$0 --help' for more information." ;;
2574
 
2575
  *) as_fn_append ac_config_targets " $1"
2576
     ac_need_defaults=false ;;
2577
 
2578
  esac
2579
  shift
2580
done
2581
 
2582
ac_configure_extra_args=
2583
 
2584
if $ac_cs_silent; then
2585
  exec 6>/dev/null
2586
  ac_configure_extra_args="$ac_configure_extra_args --silent"
2587
fi
2588
 
2589
_ACEOF
2590
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2591
if \$ac_cs_recheck; then
2592
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2593
  shift
2594
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2595
  CONFIG_SHELL='$SHELL'
2596
  export CONFIG_SHELL
2597
  exec "\$@"
2598
fi
2599
 
2600
_ACEOF
2601
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2602
exec 5>>config.log
2603
{
2604
  echo
2605
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2606
## Running $as_me. ##
2607
_ASBOX
2608
  $as_echo "$ac_log"
2609
} >&5
2610
 
2611
_ACEOF
2612
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2613
_ACEOF
2614
 
2615
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2616
 
2617
# Handling of arguments.
2618
for ac_config_target in $ac_config_targets
2619
do
2620
  case $ac_config_target in
2621
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2622
 
2623
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2624
  esac
2625
done
2626
 
2627
 
2628
# If the user did not use the arguments to specify the items to instantiate,
2629
# then the envvar interface is used.  Set only those that are not.
2630
# We use the long form for the default assignment because of an extremely
2631
# bizarre bug on SunOS 4.1.3.
2632
if $ac_need_defaults; then
2633
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2634
fi
2635
 
2636
# Have a temporary directory for convenience.  Make it in the build tree
2637
# simply because there is no reason against having it here, and in addition,
2638
# creating and moving files from /tmp can sometimes cause problems.
2639
# Hook for its removal unless debugging.
2640
# Note that there is a small window in which the directory will not be cleaned:
2641
# after its creation but before its name has been assigned to `$tmp'.
2642
$debug ||
2643
{
2644
  tmp=
2645
  trap 'exit_status=$?
2646
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2647
' 0
2648
  trap 'as_fn_exit 1' 1 2 13 15
2649
}
2650
# Create a (secure) tmp directory for tmp files.
2651
 
2652
{
2653
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2654
  test -n "$tmp" && test -d "$tmp"
2655
}  ||
2656
{
2657
  tmp=./conf$$-$RANDOM
2658
  (umask 077 && mkdir "$tmp")
2659
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2660
 
2661
# Set up the scripts for CONFIG_FILES section.
2662
# No need to generate them if there are no CONFIG_FILES.
2663
# This happens for instance with `./config.status config.h'.
2664
if test -n "$CONFIG_FILES"; then
2665
 
2666
 
2667
ac_cr=`echo X | tr X '\015'`
2668
# On cygwin, bash can eat \r inside `` if the user requested igncr.
2669
# But we know of no other shell where ac_cr would be empty at this
2670
# point, so we can use a bashism as a fallback.
2671
if test "x$ac_cr" = x; then
2672
  eval ac_cr=\$\'\\r\'
2673
fi
2674
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
2675
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2676
  ac_cs_awk_cr='\r'
2677
else
2678
  ac_cs_awk_cr=$ac_cr
2679
fi
2680
 
2681
echo 'BEGIN {' >"$tmp/subs1.awk" &&
2682
_ACEOF
2683
 
2684
 
2685
{
2686
  echo "cat >conf$$subs.awk <<_ACEOF" &&
2687
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2688
  echo "_ACEOF"
2689
} >conf$$subs.sh ||
2690
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2691
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2692
ac_delim='%!_!# '
2693
for ac_last_try in false false false false false :; do
2694
  . ./conf$$subs.sh ||
2695
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2696
 
2697
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2698
  if test $ac_delim_n = $ac_delim_num; then
2699
    break
2700
  elif $ac_last_try; then
2701
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2702
  else
2703
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2704
  fi
2705
done
2706
rm -f conf$$subs.sh
2707
 
2708
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2709
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2710
_ACEOF
2711
sed -n '
2712
h
2713
s/^/S["/; s/!.*/"]=/
2714
p
2715
g
2716
s/^[^!]*!//
2717
:repl
2718
t repl
2719
s/'"$ac_delim"'$//
2720
t delim
2721
:nl
2722
h
2723
s/\(.\{148\}\).*/\1/
2724
t more1
2725
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2726
p
2727
n
2728
b repl
2729
:more1
2730
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2731
p
2732
g
2733
s/.\{148\}//
2734
t nl
2735
:delim
2736
h
2737
s/\(.\{148\}\).*/\1/
2738
t more2
2739
s/["\\]/\\&/g; s/^/"/; s/$/"/
2740
p
2741
b
2742
:more2
2743
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2744
p
2745
g
2746
s/.\{148\}//
2747
t delim
2748
' 
2749
/^[^""]/{
2750
  N
2751
  s/\n//
2752
}
2753
' >>$CONFIG_STATUS || ac_write_fail=1
2754
rm -f conf$$subs.awk
2755
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2756
_ACAWK
2757
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2758
  for (key in S) S_is_set[key] = 1
2759
  FS = ""
2760
 
2761
}
2762
{
2763
  line = $ 0
2764
  nfields = split(line, field, "@")
2765
  substed = 0
2766
  len = length(field[1])
2767
  for (i = 2; i < nfields; i++) {
2768
    key = field[i]
2769
    keylen = length(key)
2770
    if (S_is_set[key]) {
2771
      value = S[key]
2772
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2773
      len += length(value) + length(field[++i])
2774
      substed = 1
2775
    } else
2776
      len += 1 + keylen
2777
  }
2778
 
2779
  print line
2780
}
2781
 
2782
_ACAWK
2783
_ACEOF
2784
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2785
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2786
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2787
else
2788
  cat
2789
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2790
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
2791
_ACEOF
2792
 
2793
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2794
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2795
# trailing colons and then remove the whole line if VPATH becomes empty
2796
# (actually we leave an empty line to preserve line numbers).
2797
if test "x$srcdir" = x.; then
2798
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2799
s/:*\$(srcdir):*/:/
2800
s/:*\${srcdir}:*/:/
2801
s/:*@srcdir@:*/:/
2802
s/^\([^=]*=[     ]*\):*/\1/
2803
s/:*$//
2804
s/^[^=]*=[       ]*$//
2805
}'
2806
fi
2807
 
2808
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2809
fi # test -n "$CONFIG_FILES"
2810
 
2811
 
2812
eval set X "  :F $CONFIG_FILES      "
2813
shift
2814
for ac_tag
2815
do
2816
  case $ac_tag in
2817
  :[FHLC]) ac_mode=$ac_tag; continue;;
2818
  esac
2819
  case $ac_mode$ac_tag in
2820
  :[FHL]*:*);;
2821
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2822
  :[FH]-) ac_tag=-:-;;
2823
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2824
  esac
2825
  ac_save_IFS=$IFS
2826
  IFS=:
2827
  set x $ac_tag
2828
  IFS=$ac_save_IFS
2829
  shift
2830
  ac_file=$1
2831
  shift
2832
 
2833
  case $ac_mode in
2834
  :L) ac_source=$1;;
2835
  :[FH])
2836
    ac_file_inputs=
2837
    for ac_f
2838
    do
2839
      case $ac_f in
2840
      -) ac_f="$tmp/stdin";;
2841
      *) # Look for the file first in the build tree, then in the source tree
2842
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2843
         # because $ac_f cannot contain `:'.
2844
         test -f "$ac_f" ||
2845
           case $ac_f in
2846
           [\\/$]*) false;;
2847
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2848
           esac ||
2849
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2850
      esac
2851
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2852
      as_fn_append ac_file_inputs " '$ac_f'"
2853
    done
2854
 
2855
    # Let's still pretend it is `configure' which instantiates (i.e., don't
2856
    # use $as_me), people would be surprised to read:
2857
    #    /* config.h.  Generated by config.status.  */
2858
    configure_input='Generated from '`
2859
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2860
        `' by configure.'
2861
    if test x"$ac_file" != x-; then
2862
      configure_input="$ac_file.  $configure_input"
2863
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2864
$as_echo "$as_me: creating $ac_file" >&6;}
2865
    fi
2866
    # Neutralize special characters interpreted by sed in replacement strings.
2867
    case $configure_input in #(
2868
    *\&* | *\|* | *\\* )
2869
       ac_sed_conf_input=`$as_echo "$configure_input" |
2870
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
2871
    *) ac_sed_conf_input=$configure_input;;
2872
    esac
2873
 
2874
    case $ac_tag in
2875
    *:-:* | *:-) cat >"$tmp/stdin" \
2876
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2877
    esac
2878
    ;;
2879
  esac
2880
 
2881
  ac_dir=`$as_dirname -- "$ac_file" ||
2882
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2883
         X"$ac_file" : 'X\(//\)[^/]' \| \
2884
         X"$ac_file" : 'X\(//\)$' \| \
2885
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2886
$as_echo X"$ac_file" |
2887
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2888
            s//\1/
2889
            q
2890
          }
2891
          /^X\(\/\/\)[^/].*/{
2892
            s//\1/
2893
            q
2894
          }
2895
          /^X\(\/\/\)$/{
2896
            s//\1/
2897
            q
2898
          }
2899
          /^X\(\/\).*/{
2900
            s//\1/
2901
            q
2902
          }
2903
          s/.*/./; q'`
2904
  as_dir="$ac_dir"; as_fn_mkdir_p
2905
  ac_builddir=.
2906
 
2907
case "$ac_dir" in
2908
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2909
*)
2910
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2911
  # A ".." for each directory in $ac_dir_suffix.
2912
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2913
  case $ac_top_builddir_sub in
2914
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2915
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2916
  esac ;;
2917
esac
2918
ac_abs_top_builddir=$ac_pwd
2919
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2920
# for backward compatibility:
2921
ac_top_builddir=$ac_top_build_prefix
2922
 
2923
case $srcdir in
2924
  .)  # We are building in place.
2925
    ac_srcdir=.
2926
    ac_top_srcdir=$ac_top_builddir_sub
2927
    ac_abs_top_srcdir=$ac_pwd ;;
2928
  [\\/]* | ?:[\\/]* )  # Absolute name.
2929
    ac_srcdir=$srcdir$ac_dir_suffix;
2930
    ac_top_srcdir=$srcdir
2931
    ac_abs_top_srcdir=$srcdir ;;
2932
  *) # Relative name.
2933
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2934
    ac_top_srcdir=$ac_top_build_prefix$srcdir
2935
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2936
esac
2937
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2938
 
2939
 
2940
  case $ac_mode in
2941
  :F)
2942
  #
2943
  # CONFIG_FILE
2944
  #
2945
 
2946
  case $INSTALL in
2947
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2948
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2949
  esac
2950
_ACEOF
2951
 
2952
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2953
# If the template does not know about datarootdir, expand it.
2954
# FIXME: This hack should be removed a few years after 2.60.
2955
ac_datarootdir_hack=; ac_datarootdir_seen=
2956
ac_sed_dataroot='
2957
/datarootdir/ {
2958
  p
2959
  q
2960
}
2961
/@datadir@/p
2962
/@docdir@/p
2963
/@infodir@/p
2964
/@localedir@/p
2965
/@mandir@/p'
2966
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2967
*datarootdir*) ac_datarootdir_seen=yes;;
2968
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2969
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2970
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2971
_ACEOF
2972
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2973
  ac_datarootdir_hack='
2974
  s&@datadir@&$datadir&g
2975
  s&@docdir@&$docdir&g
2976
  s&@infodir@&$infodir&g
2977
  s&@localedir@&$localedir&g
2978
  s&@mandir@&$mandir&g
2979
  s&\\\${datarootdir}&$datarootdir&g' ;;
2980
esac
2981
_ACEOF
2982
 
2983
# Neutralize VPATH when `$srcdir' = `.'.
2984
# Shell code in configure.ac might set extrasub.
2985
# FIXME: do we really want to maintain this feature?
2986
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2987
ac_sed_extra="$ac_vpsub
2988
$extrasub
2989
_ACEOF
2990
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2991
:t
2992
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2993
s|@configure_input@|$ac_sed_conf_input|;t t
2994
s&@top_builddir@&$ac_top_builddir_sub&;t t
2995
s&@top_build_prefix@&$ac_top_build_prefix&;t t
2996
s&@srcdir@&$ac_srcdir&;t t
2997
s&@abs_srcdir@&$ac_abs_srcdir&;t t
2998
s&@top_srcdir@&$ac_top_srcdir&;t t
2999
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3000
s&@builddir@&$ac_builddir&;t t
3001
s&@abs_builddir@&$ac_abs_builddir&;t t
3002
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3003
s&@INSTALL@&$ac_INSTALL&;t t
3004
$ac_datarootdir_hack
3005
"
3006
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3007
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3008
 
3009
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3010
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3011
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3012
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3013
which seems to be undefined.  Please make sure it is defined." >&5
3014
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3015
which seems to be undefined.  Please make sure it is defined." >&2;}
3016
 
3017
  rm -f "$tmp/stdin"
3018
  case $ac_file in
3019
  -) cat "$tmp/out" && rm -f "$tmp/out";;
3020
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3021
  esac \
3022
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3023
 ;;
3024
 
3025
 
3026
 
3027
  esac
3028
 
3029
done # for ac_tag
3030
 
3031
 
3032
as_fn_exit 0
3033
_ACEOF
3034
ac_clean_files=$ac_clean_files_save
3035
 
3036
test $ac_write_fail = 0 ||
3037
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3038
 
3039
 
3040
# configure is writing to config.log, and then calls config.status.
3041
# config.status does its own redirection, appending to config.log.
3042
# Unfortunately, on DOS this fails, as config.log is still kept open
3043
# by configure, so config.status won't be able to write to it; its
3044
# output is simply discarded.  So we exec the FD to /dev/null,
3045
# effectively closing config.log, so it can be properly (re)opened and
3046
# appended to by config.status.  When coming back to configure, we
3047
# need to make the FD available again.
3048
if test "$no_create" != yes; then
3049
  ac_cs_success=:
3050
  ac_config_status_args=
3051
  test "$silent" = yes &&
3052
    ac_config_status_args="$ac_config_status_args --quiet"
3053
  exec 5>/dev/null
3054
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3055
  exec 5>>config.log
3056
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3057
  # would make configure fail if this is the last instruction.
3058
  $ac_cs_success || as_fn_exit $?
3059
fi
3060
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3061
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3062
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3063
fi
3064
 

powered by: WebSVN 2.1.0

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