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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.hp/] [gdb.objdbg/] [configure] - Blame information for rev 842

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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