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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [etc/] [configure] - Blame information for rev 337

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

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

powered by: WebSVN 2.1.0

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