~ubuntu-branches/ubuntu/raring/libdvdread/raring-proposed

« back to all changes in this revision

Viewing changes to config.status

  • Committer: Package Import Robot
  • Author(s): Vibhav Pant
  • Date: 2012-12-15 17:06:42 UTC
  • mfrom: (1.3.2) (3.2.15 sid)
  • Revision ID: package-import@ubuntu.com-20121215170642-q0h4cc4r2mchkgcl
Tags: 4.2.0+20121016-1ubuntu1
* Merge from Debian unstable (LP: #1090692).  Remaining changes:
  - Re-add missing install-css.sh.
  - debian/control: add Suggests for install-css.sh on debhelper,
    fakeroot, and build-essential.
  - debian/rules: install install-css.sh, leave perms executable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
# Generated by configure.
 
3
# Run this file to recreate the current configuration.
 
4
# Compiler output produced by configure, useful for debugging
 
5
# configure, is in config.log if it exists.
 
6
 
 
7
debug=false
 
8
ac_cs_recheck=false
 
9
ac_cs_silent=false
 
10
 
 
11
SHELL=${CONFIG_SHELL-/bin/bash}
 
12
export SHELL
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
 
16
 
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
20
  emulate sh
 
21
  NULLCMD=:
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23
  # is contrary to our usage.  Disable this feature.
 
24
  alias -g '${1+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
 
93
case $0 in #((
 
94
  *[\\/]* ) as_myself=$0 ;;
 
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
96
for as_dir in $PATH
 
97
do
 
98
  IFS=$as_save_IFS
 
99
  test -z "$as_dir" && as_dir=.
 
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
101
  done
 
102
IFS=$as_save_IFS
 
103
 
 
104
     ;;
 
105
esac
 
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
107
# in which case we are not to be found in the path.
 
108
if test "x$as_myself" = x; then
 
109
  as_myself=$0
 
110
fi
 
111
if test ! -f "$as_myself"; then
 
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
113
  exit 1
 
114
fi
 
115
 
 
116
# Unset variables that we do not need and which cause bugs (e.g. in
 
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
118
# suppresses any "Segmentation fault" message there.  '((' could
 
119
# trigger a bug in pdksh 5.2.14.
 
120
for as_var in BASH_ENV ENV MAIL MAILPATH
 
121
do eval test x\${$as_var+set} = xset \
 
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
123
done
 
124
PS1='$ '
 
125
PS2='> '
 
126
PS4='+ '
 
127
 
 
128
# NLS nuisances.
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
 
133
 
 
134
# CDPATH.
 
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
136
 
 
137
 
 
138
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
139
# ----------------------------------------
 
140
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
141
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
142
# script with STATUS, using 1 if that was 0.
 
143
as_fn_error ()
 
144
{
 
145
  as_status=$1; test $as_status -eq 0 && as_status=1
 
146
  if test "$4"; then
 
147
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
148
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
149
  fi
 
150
  $as_echo "$as_me: error: $2" >&2
 
151
  as_fn_exit $as_status
 
152
} # as_fn_error
 
153
 
 
154
 
 
155
# as_fn_set_status STATUS
 
156
# -----------------------
 
157
# Set $? to STATUS, without forking.
 
158
as_fn_set_status ()
 
159
{
 
160
  return $1
 
161
} # as_fn_set_status
 
162
 
 
163
# as_fn_exit STATUS
 
164
# -----------------
 
165
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
166
as_fn_exit ()
 
167
{
 
168
  set +e
 
169
  as_fn_set_status $1
 
170
  exit $1
 
171
} # as_fn_exit
 
172
 
 
173
# as_fn_unset VAR
 
174
# ---------------
 
175
# Portably unset VAR.
 
176
as_fn_unset ()
 
177
{
 
178
  { eval $1=; unset $1;}
 
179
}
 
180
as_unset=as_fn_unset
 
181
# as_fn_append VAR VALUE
 
182
# ----------------------
 
183
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
184
# advantage of any shell optimizations that allow amortized linear growth over
 
185
# repeated appends, instead of the typical quadratic growth present in naive
 
186
# implementations.
 
187
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
188
  eval 'as_fn_append ()
 
189
  {
 
190
    eval $1+=\$2
 
191
  }'
 
192
else
 
193
  as_fn_append ()
 
194
  {
 
195
    eval $1=\$$1\$2
 
196
  }
 
197
fi # as_fn_append
 
198
 
 
199
# as_fn_arith ARG...
 
200
# ------------------
 
201
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
202
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
203
# must be portable across $(()) and expr.
 
204
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
205
  eval 'as_fn_arith ()
 
206
  {
 
207
    as_val=$(( $* ))
 
208
  }'
 
209
else
 
210
  as_fn_arith ()
 
211
  {
 
212
    as_val=`expr "$@" || test $? -eq 1`
 
213
  }
 
214
fi # as_fn_arith
 
215
 
 
216
 
 
217
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
218
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
219
  as_expr=expr
 
220
else
 
221
  as_expr=false
 
222
fi
 
223
 
 
224
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
225
  as_basename=basename
 
226
else
 
227
  as_basename=false
 
228
fi
 
229
 
 
230
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
231
  as_dirname=dirname
 
232
else
 
233
  as_dirname=false
 
234
fi
 
235
 
 
236
as_me=`$as_basename -- "$0" ||
 
237
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
238
         X"$0" : 'X\(//\)$' \| \
 
239
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
240
$as_echo X/"$0" |
 
241
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
242
            s//\1/
 
243
            q
 
244
          }
 
245
          /^X\/\(\/\/\)$/{
 
246
            s//\1/
 
247
            q
 
248
          }
 
249
          /^X\/\(\/\).*/{
 
250
            s//\1/
 
251
            q
 
252
          }
 
253
          s/.*/./; q'`
 
254
 
 
255
# Avoid depending upon Character Ranges.
 
256
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
257
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
258
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
259
as_cr_digits='0123456789'
 
260
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
261
 
 
262
ECHO_C= ECHO_N= ECHO_T=
 
263
case `echo -n x` in #(((((
 
264
-n*)
 
265
  case `echo 'xy\c'` in
 
266
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
267
  xy)  ECHO_C='\c';;
 
268
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
269
       ECHO_T=' ';;
 
270
  esac;;
 
271
*)
 
272
  ECHO_N='-n';;
 
273
esac
 
274
 
 
275
rm -f conf$$ conf$$.exe conf$$.file
 
276
if test -d conf$$.dir; then
 
277
  rm -f conf$$.dir/conf$$.file
 
278
else
 
279
  rm -f conf$$.dir
 
280
  mkdir conf$$.dir 2>/dev/null
 
281
fi
 
282
if (echo >conf$$.file) 2>/dev/null; then
 
283
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
284
    as_ln_s='ln -s'
 
285
    # ... but there are two gotchas:
 
286
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
287
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
288
    # In both cases, we have to default to `cp -pR'.
 
289
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
290
      as_ln_s='cp -pR'
 
291
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
292
    as_ln_s=ln
 
293
  else
 
294
    as_ln_s='cp -pR'
 
295
  fi
 
296
else
 
297
  as_ln_s='cp -pR'
 
298
fi
 
299
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
300
rmdir conf$$.dir 2>/dev/null
 
301
 
 
302
 
 
303
# as_fn_mkdir_p
 
304
# -------------
 
305
# Create "$as_dir" as a directory, including parents if necessary.
 
306
as_fn_mkdir_p ()
 
307
{
 
308
 
 
309
  case $as_dir in #(
 
310
  -*) as_dir=./$as_dir;;
 
311
  esac
 
312
  test -d "$as_dir" || eval $as_mkdir_p || {
 
313
    as_dirs=
 
314
    while :; do
 
315
      case $as_dir in #(
 
316
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
317
      *) as_qdir=$as_dir;;
 
318
      esac
 
319
      as_dirs="'$as_qdir' $as_dirs"
 
320
      as_dir=`$as_dirname -- "$as_dir" ||
 
321
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
322
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
323
         X"$as_dir" : 'X\(//\)$' \| \
 
324
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
325
$as_echo X"$as_dir" |
 
326
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
327
            s//\1/
 
328
            q
 
329
          }
 
330
          /^X\(\/\/\)[^/].*/{
 
331
            s//\1/
 
332
            q
 
333
          }
 
334
          /^X\(\/\/\)$/{
 
335
            s//\1/
 
336
            q
 
337
          }
 
338
          /^X\(\/\).*/{
 
339
            s//\1/
 
340
            q
 
341
          }
 
342
          s/.*/./; q'`
 
343
      test -d "$as_dir" && break
 
344
    done
 
345
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
346
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
347
 
 
348
 
 
349
} # as_fn_mkdir_p
 
350
if mkdir -p . 2>/dev/null; then
 
351
  as_mkdir_p='mkdir -p "$as_dir"'
 
352
else
 
353
  test -d ./-p && rmdir ./-p
 
354
  as_mkdir_p=false
 
355
fi
 
356
 
 
357
 
 
358
# as_fn_executable_p FILE
 
359
# -----------------------
 
360
# Test if FILE is an executable regular file.
 
361
as_fn_executable_p ()
 
362
{
 
363
  test -f "$1" && test -x "$1"
 
364
} # as_fn_executable_p
 
365
as_test_x='test -x'
 
366
as_executable_p=as_fn_executable_p
 
367
 
 
368
# Sed expression to map a string onto a valid CPP name.
 
369
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
370
 
 
371
# Sed expression to map a string onto a valid variable name.
 
372
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
373
 
 
374
 
 
375
exec 6>&1
 
376
## ----------------------------------- ##
 
377
## Main body of $CONFIG_STATUS script. ##
 
378
## ----------------------------------- ##
 
379
# Save the log message, to keep $0 and so on meaningful, and to
 
380
# report actual input values of CONFIG_FILES etc. instead of their
 
381
# values after options handling.
 
382
ac_log="
 
383
This file was extended by libdvdread $as_me 4.2.0, which was
 
384
generated by GNU Autoconf 2.69.  Invocation command line was
 
385
 
 
386
  CONFIG_FILES    = $CONFIG_FILES
 
387
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
388
  CONFIG_LINKS    = $CONFIG_LINKS
 
389
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
390
  $ $0 $@
 
391
 
 
392
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
393
"
 
394
 
 
395
# Files that config.status was made for.
 
396
config_files=" Makefile src/Makefile misc/Makefile misc/dvdread-config misc/dvdread.pc misc/libdvdread.spec misc/relchk.sh m4/Makefile"
 
397
config_headers=" config.h"
 
398
config_commands=" depfiles libtool"
 
399
 
 
400
ac_cs_usage="\
 
401
\`$as_me' instantiates files and other configuration actions
 
402
from templates according to the current configuration.  Unless the files
 
403
and actions are specified as TAGs, all are instantiated by default.
 
404
 
 
405
Usage: $0 [OPTION]... [TAG]...
 
406
 
 
407
  -h, --help       print this help, then exit
 
408
  -V, --version    print version number and configuration settings, then exit
 
409
      --config     print configuration, then exit
 
410
  -q, --quiet, --silent
 
411
                   do not print progress messages
 
412
  -d, --debug      don't remove temporary files
 
413
      --recheck    update $as_me by reconfiguring in the same conditions
 
414
      --file=FILE[:TEMPLATE]
 
415
                   instantiate the configuration file FILE
 
416
      --header=FILE[:TEMPLATE]
 
417
                   instantiate the configuration header FILE
 
418
 
 
419
Configuration files:
 
420
$config_files
 
421
 
 
422
Configuration headers:
 
423
$config_headers
 
424
 
 
425
Configuration commands:
 
426
$config_commands
 
427
 
 
428
Report bugs to the package provider."
 
429
 
 
430
ac_cs_config=""
 
431
ac_cs_version="\
 
432
libdvdread config.status 4.2.0
 
433
configured by ./configure, generated by GNU Autoconf 2.69,
 
434
  with options \"$ac_cs_config\"
 
435
 
 
436
Copyright (C) 2012 Free Software Foundation, Inc.
 
437
This config.status script is free software; the Free Software Foundation
 
438
gives unlimited permission to copy, distribute and modify it."
 
439
 
 
440
ac_pwd='/home/user/libdvdread'
 
441
srcdir='.'
 
442
INSTALL='/usr/bin/install -c'
 
443
MKDIR_P='/bin/mkdir -p'
 
444
AWK='mawk'
 
445
test -n "$AWK" || AWK=awk
 
446
# The default lists apply if the user does not specify any file.
 
447
ac_need_defaults=:
 
448
while test $# != 0
 
449
do
 
450
  case $1 in
 
451
  --*=?*)
 
452
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
453
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
454
    ac_shift=:
 
455
    ;;
 
456
  --*=)
 
457
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
458
    ac_optarg=
 
459
    ac_shift=:
 
460
    ;;
 
461
  *)
 
462
    ac_option=$1
 
463
    ac_optarg=$2
 
464
    ac_shift=shift
 
465
    ;;
 
466
  esac
 
467
 
 
468
  case $ac_option in
 
469
  # Handling of the options.
 
470
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
471
    ac_cs_recheck=: ;;
 
472
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
473
    $as_echo "$ac_cs_version"; exit ;;
 
474
  --config | --confi | --conf | --con | --co | --c )
 
475
    $as_echo "$ac_cs_config"; exit ;;
 
476
  --debug | --debu | --deb | --de | --d | -d )
 
477
    debug=: ;;
 
478
  --file | --fil | --fi | --f )
 
479
    $ac_shift
 
480
    case $ac_optarg in
 
481
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
482
    '') as_fn_error $? "missing file argument" ;;
 
483
    esac
 
484
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
485
    ac_need_defaults=false;;
 
486
  --header | --heade | --head | --hea )
 
487
    $ac_shift
 
488
    case $ac_optarg in
 
489
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
490
    esac
 
491
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
492
    ac_need_defaults=false;;
 
493
  --he | --h)
 
494
    # Conflict between --help and --header
 
495
    as_fn_error $? "ambiguous option: \`$1'
 
496
Try \`$0 --help' for more information.";;
 
497
  --help | --hel | -h )
 
498
    $as_echo "$ac_cs_usage"; exit ;;
 
499
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
500
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
501
    ac_cs_silent=: ;;
 
502
 
 
503
  # This is an error.
 
504
  -*) as_fn_error $? "unrecognized option: \`$1'
 
505
Try \`$0 --help' for more information." ;;
 
506
 
 
507
  *) as_fn_append ac_config_targets " $1"
 
508
     ac_need_defaults=false ;;
 
509
 
 
510
  esac
 
511
  shift
 
512
done
 
513
 
 
514
ac_configure_extra_args=
 
515
 
 
516
if $ac_cs_silent; then
 
517
  exec 6>/dev/null
 
518
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
519
fi
 
520
 
 
521
if $ac_cs_recheck; then
 
522
  set X /bin/bash './configure'  $ac_configure_extra_args --no-create --no-recursion
 
523
  shift
 
524
  $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
 
525
  CONFIG_SHELL='/bin/bash'
 
526
  export CONFIG_SHELL
 
527
  exec "$@"
 
528
fi
 
529
 
 
530
exec 5>>config.log
 
531
{
 
532
  echo
 
533
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
534
## Running $as_me. ##
 
535
_ASBOX
 
536
  $as_echo "$ac_log"
 
537
} >&5
 
538
 
 
539
#
 
540
# INIT-COMMANDS
 
541
#
 
542
AMDEP_TRUE="" ac_aux_dir="."
 
543
 
 
544
 
 
545
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
546
# if CDPATH is set.
 
547
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
548
 
 
549
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
550
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
551
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
552
enable_static='no'
 
553
macro_version='2.4.2'
 
554
macro_revision='1.3337'
 
555
enable_shared='yes'
 
556
pic_mode='default'
 
557
enable_fast_install='yes'
 
558
SHELL='/bin/bash'
 
559
ECHO='printf %s\n'
 
560
PATH_SEPARATOR=':'
 
561
host_alias=''
 
562
host='i686-pc-linux-gnu'
 
563
host_os='linux-gnu'
 
564
build_alias=''
 
565
build='i686-pc-linux-gnu'
 
566
build_os='linux-gnu'
 
567
SED='/bin/sed'
 
568
Xsed='/bin/sed -e 1s/^X//'
 
569
GREP='/bin/grep'
 
570
EGREP='/bin/grep -E'
 
571
FGREP='/bin/grep -F'
 
572
LD='/usr/bin/ld'
 
573
NM='/usr/bin/nm -B'
 
574
LN_S='ln -s'
 
575
max_cmd_len='1572864'
 
576
ac_objext='o'
 
577
exeext=''
 
578
lt_unset='unset'
 
579
lt_SP2NL='tr \040 \012'
 
580
lt_NL2SP='tr \015\012 \040\040'
 
581
lt_cv_to_host_file_cmd='func_convert_file_noop'
 
582
lt_cv_to_tool_file_cmd='func_convert_file_noop'
 
583
reload_flag=' -r'
 
584
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
585
OBJDUMP='objdump'
 
586
deplibs_check_method='pass_all'
 
587
file_magic_cmd='$MAGIC_CMD'
 
588
file_magic_glob=''
 
589
want_nocaseglob='no'
 
590
DLLTOOL='false'
 
591
sharedlib_from_linklib_cmd='printf %s\n'
 
592
AR='ar'
 
593
AR_FLAGS='cru'
 
594
archiver_list_spec='@'
 
595
STRIP='strip'
 
596
RANLIB='ranlib'
 
597
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
 
598
old_postuninstall_cmds=''
 
599
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
 
600
lock_old_archive_extraction='no'
 
601
CC='gcc'
 
602
CFLAGS='-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
 
603
compiler='gcc'
 
604
GCC='yes'
 
605
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
 
606
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
 
607
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
 
608
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
 
609
nm_file_list_spec='@'
 
610
lt_sysroot=''
 
611
objdir='.libs'
 
612
MAGIC_CMD='file'
 
613
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
614
lt_prog_compiler_pic=' -fPIC -DPIC'
 
615
lt_prog_compiler_wl='-Wl,'
 
616
lt_prog_compiler_static='-static'
 
617
lt_cv_prog_compiler_c_o='yes'
 
618
need_locks='no'
 
619
MANIFEST_TOOL=':'
 
620
DSYMUTIL=''
 
621
NMEDIT=''
 
622
LIPO=''
 
623
OTOOL=''
 
624
OTOOL64=''
 
625
libext='a'
 
626
shrext_cmds='.so'
 
627
extract_expsyms_cmds=''
 
628
archive_cmds_need_lc='no'
 
629
enable_shared_with_static_runtimes='no'
 
630
export_dynamic_flag_spec='${wl}--export-dynamic'
 
631
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
632
compiler_needs_object='no'
 
633
old_archive_from_new_cmds=''
 
634
old_archive_from_expsyms_cmds=''
 
635
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
636
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
637
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
638
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
639
            $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
640
module_cmds=''
 
641
module_expsym_cmds=''
 
642
with_gnu_ld='yes'
 
643
allow_undefined_flag=''
 
644
no_undefined_flag=''
 
645
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
646
hardcode_libdir_separator=''
 
647
hardcode_direct='no'
 
648
hardcode_direct_absolute='no'
 
649
hardcode_minus_L='no'
 
650
hardcode_shlibpath_var='unsupported'
 
651
hardcode_automatic='no'
 
652
inherit_rpath='no'
 
653
link_all_deplibs='no'
 
654
always_export_symbols='no'
 
655
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
656
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
657
include_expsyms=''
 
658
prelink_cmds=''
 
659
postlink_cmds=''
 
660
file_list_spec=''
 
661
variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
 
662
need_lib_prefix='no'
 
663
need_version='no'
 
664
version_type='linux'
 
665
runpath_var='LD_RUN_PATH'
 
666
shlibpath_var='LD_LIBRARY_PATH'
 
667
shlibpath_overrides_runpath='no'
 
668
libname_spec='lib$name'
 
669
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
670
soname_spec='${libname}${release}${shared_ext}$major'
 
671
install_override_mode=''
 
672
postinstall_cmds=''
 
673
postuninstall_cmds=''
 
674
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
675
finish_eval=''
 
676
hardcode_into_libs='yes'
 
677
sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.7 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib '
 
678
sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib '
 
679
hardcode_action='immediate'
 
680
enable_dlopen='yes'
 
681
enable_dlopen_self='yes'
 
682
enable_dlopen_self_static='no'
 
683
old_striplib='strip --strip-debug'
 
684
striplib='strip --strip-unneeded'
 
685
 
 
686
LTCC='gcc'
 
687
LTCFLAGS=''
 
688
compiler='gcc'
 
689
 
 
690
# A function that is used when there is no print builtin or printf.
 
691
func_fallback_echo ()
 
692
{
 
693
  eval 'cat <<_LTECHO_EOF
 
694
$1
 
695
_LTECHO_EOF'
 
696
}
 
697
 
 
698
# Quote evaled strings.
 
699
for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
 
700
    case `eval \\$ECHO \\""\\$$var"\\"` in
 
701
    *[\\\`\"\$]*)
 
702
      eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
 
703
      ;;
 
704
    *)
 
705
      eval "lt_$var=\\\"\$$var\\\""
 
706
      ;;
 
707
    esac
 
708
done
 
709
 
 
710
# Double-quote double-evaled strings.
 
711
for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
 
712
    case `eval \\$ECHO \\""\\$$var"\\"` in
 
713
    *[\\\`\"\$]*)
 
714
      eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
715
      ;;
 
716
    *)
 
717
      eval "lt_$var=\\\"\$$var\\\""
 
718
      ;;
 
719
    esac
 
720
done
 
721
 
 
722
ac_aux_dir='.'
 
723
xsi_shell='yes'
 
724
lt_shell_append='yes'
 
725
 
 
726
# See if we are running on zsh, and set the options which allow our
 
727
# commands through without removal of \ escapes INIT.
 
728
if test -n "${ZSH_VERSION+set}" ; then
 
729
   setopt NO_GLOB_SUBST
 
730
fi
 
731
 
 
732
 
 
733
    PACKAGE='libdvdread'
 
734
    VERSION='4.2.0'
 
735
    TIMESTAMP=''
 
736
    RM='rm -f'
 
737
    ofile='libtool'
 
738
 
 
739
 
 
740
 
 
741
 
 
742
 
 
743
# Handling of arguments.
 
744
for ac_config_target in $ac_config_targets
 
745
do
 
746
  case $ac_config_target in
 
747
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
748
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
749
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
750
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
751
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
752
    "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
 
753
    "misc/dvdread-config") CONFIG_FILES="$CONFIG_FILES misc/dvdread-config" ;;
 
754
    "misc/dvdread.pc") CONFIG_FILES="$CONFIG_FILES misc/dvdread.pc" ;;
 
755
    "misc/libdvdread.spec") CONFIG_FILES="$CONFIG_FILES misc/libdvdread.spec" ;;
 
756
    "misc/relchk.sh") CONFIG_FILES="$CONFIG_FILES misc/relchk.sh" ;;
 
757
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
758
 
 
759
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
760
  esac
 
761
done
 
762
 
 
763
 
 
764
# If the user did not use the arguments to specify the items to instantiate,
 
765
# then the envvar interface is used.  Set only those that are not.
 
766
# We use the long form for the default assignment because of an extremely
 
767
# bizarre bug on SunOS 4.1.3.
 
768
if $ac_need_defaults; then
 
769
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
770
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
771
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
772
fi
 
773
 
 
774
# Have a temporary directory for convenience.  Make it in the build tree
 
775
# simply because there is no reason against having it here, and in addition,
 
776
# creating and moving files from /tmp can sometimes cause problems.
 
777
# Hook for its removal unless debugging.
 
778
# Note that there is a small window in which the directory will not be cleaned:
 
779
# after its creation but before its name has been assigned to `$tmp'.
 
780
$debug ||
 
781
{
 
782
  tmp= ac_tmp=
 
783
  trap 'exit_status=$?
 
784
  : "${ac_tmp:=$tmp}"
 
785
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
786
' 0
 
787
  trap 'as_fn_exit 1' 1 2 13 15
 
788
}
 
789
# Create a (secure) tmp directory for tmp files.
 
790
 
 
791
{
 
792
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
793
  test -d "$tmp"
 
794
}  ||
 
795
{
 
796
  tmp=./conf$$-$RANDOM
 
797
  (umask 077 && mkdir "$tmp")
 
798
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
799
ac_tmp=$tmp
 
800
 
 
801
# Set up the scripts for CONFIG_FILES section.
 
802
# No need to generate them if there are no CONFIG_FILES.
 
803
# This happens for instance with `./config.status config.h'.
 
804
if test -n "$CONFIG_FILES"; then
 
805
 
 
806
 
 
807
ac_cr=`echo X | tr X '\015'`
 
808
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
809
# But we know of no other shell where ac_cr would be empty at this
 
810
# point, so we can use a bashism as a fallback.
 
811
if test "x$ac_cr" = x; then
 
812
  eval ac_cr=\$\'\\r\'
 
813
fi
 
814
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
815
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
816
  ac_cs_awk_cr='\\r'
 
817
else
 
818
  ac_cs_awk_cr=$ac_cr
 
819
fi
 
820
 
 
821
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
822
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
 
823
S["am__EXEEXT_FALSE"]=""
 
824
S["am__EXEEXT_TRUE"]="#"
 
825
S["LTLIBOBJS"]=""
 
826
S["LIBOBJS"]=""
 
827
S["INCLUDES"]="-I$(top_srcdir) $(DVDREAD_CFLAGS)"
 
828
S["DOXYGEN"]="no"
 
829
S["DEBUG_CFLAGS"]="-g -DDEBUG -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
 
830
S["CSS_LIBS"]=""
 
831
S["DYNAMIC_LD_LIBS"]="-ldl"
 
832
S["STATIC"]=""
 
833
S["LIBTOOL_DEPS"]="./ltmain.sh"
 
834
S["CPP"]="gcc -E"
 
835
S["OTOOL64"]=""
 
836
S["OTOOL"]=""
 
837
S["LIPO"]=""
 
838
S["NMEDIT"]=""
 
839
S["DSYMUTIL"]=""
 
840
S["MANIFEST_TOOL"]=":"
 
841
S["RANLIB"]="ranlib"
 
842
S["ac_ct_AR"]="ar"
 
843
S["AR"]="ar"
 
844
S["DLLTOOL"]="false"
 
845
S["OBJDUMP"]="objdump"
 
846
S["NM"]="/usr/bin/nm -B"
 
847
S["ac_ct_DUMPBIN"]=""
 
848
S["DUMPBIN"]=""
 
849
S["LD"]="/usr/bin/ld"
 
850
S["FGREP"]="/bin/grep -F"
 
851
S["EGREP"]="/bin/grep -E"
 
852
S["GREP"]="/bin/grep"
 
853
S["SED"]="/bin/sed"
 
854
S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
 
855
S["LN_S"]="ln -s"
 
856
S["am__fastdepCC_FALSE"]="#"
 
857
S["am__fastdepCC_TRUE"]=""
 
858
S["CCDEPMODE"]="depmode=gcc3"
 
859
S["am__nodep"]="_no"
 
860
S["AMDEPBACKSLASH"]="\\"
 
861
S["AMDEP_FALSE"]="#"
 
862
S["AMDEP_TRUE"]=""
 
863
S["am__quote"]=""
 
864
S["am__include"]="include"
 
865
S["DEPDIR"]=".deps"
 
866
S["OBJEXT"]="o"
 
867
S["EXEEXT"]=""
 
868
S["ac_ct_CC"]="gcc"
 
869
S["CPPFLAGS"]=""
 
870
S["LDFLAGS"]=""
 
871
S["CFLAGS"]="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
 
872
S["CC"]="gcc"
 
873
S["DVDREAD_LT_REVISION"]="2"
 
874
S["DVDREAD_LT_AGE"]="1"
 
875
S["DVDREAD_LT_CURRENT"]="5"
 
876
S["DVDREAD_SUB"]="0"
 
877
S["DVDREAD_MINOR"]="2"
 
878
S["DVDREAD_MAJOR"]="4"
 
879
S["host_os"]="linux-gnu"
 
880
S["host_vendor"]="pc"
 
881
S["host_cpu"]="i686"
 
882
S["host"]="i686-pc-linux-gnu"
 
883
S["build_os"]="linux-gnu"
 
884
S["build_vendor"]="pc"
 
885
S["build_cpu"]="i686"
 
886
S["build"]="i686-pc-linux-gnu"
 
887
S["am__untar"]="$${TAR-tar} xf -"
 
888
S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
 
889
S["AMTAR"]="$${TAR-tar}"
 
890
S["am__leading_dot"]="."
 
891
S["SET_MAKE"]=""
 
892
S["AWK"]="mawk"
 
893
S["mkdir_p"]="/bin/mkdir -p"
 
894
S["MKDIR_P"]="/bin/mkdir -p"
 
895
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
 
896
S["STRIP"]="strip"
 
897
S["install_sh"]="${SHELL} /home/user/libdvdread/install-sh"
 
898
S["MAKEINFO"]="${SHELL} /home/user/libdvdread/missing --run makeinfo"
 
899
S["AUTOHEADER"]="${SHELL} /home/user/libdvdread/missing --run autoheader"
 
900
S["AUTOMAKE"]="${SHELL} /home/user/libdvdread/missing --run automake-1.11"
 
901
S["AUTOCONF"]="${SHELL} /home/user/libdvdread/missing --run autoconf"
 
902
S["ACLOCAL"]="${SHELL} /home/user/libdvdread/missing --run aclocal-1.11"
 
903
S["VERSION"]="4.2.0"
 
904
S["PACKAGE"]="libdvdread"
 
905
S["CYGPATH_W"]="echo"
 
906
S["am__isrc"]=""
 
907
S["INSTALL_DATA"]="${INSTALL} -m 644"
 
908
S["INSTALL_SCRIPT"]="${INSTALL}"
 
909
S["INSTALL_PROGRAM"]="${INSTALL}"
 
910
S["target_alias"]=""
 
911
S["host_alias"]=""
 
912
S["build_alias"]=""
 
913
S["LIBS"]=""
 
914
S["ECHO_T"]=""
 
915
S["ECHO_N"]="-n"
 
916
S["ECHO_C"]=""
 
917
S["DEFS"]="-DHAVE_CONFIG_H"
 
918
S["mandir"]="${datarootdir}/man"
 
919
S["localedir"]="${datarootdir}/locale"
 
920
S["libdir"]="${exec_prefix}/lib"
 
921
S["psdir"]="${docdir}"
 
922
S["pdfdir"]="${docdir}"
 
923
S["dvidir"]="${docdir}"
 
924
S["htmldir"]="${docdir}"
 
925
S["infodir"]="${datarootdir}/info"
 
926
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
 
927
S["oldincludedir"]="/usr/include"
 
928
S["includedir"]="${prefix}/include"
 
929
S["localstatedir"]="${prefix}/var"
 
930
S["sharedstatedir"]="${prefix}/com"
 
931
S["sysconfdir"]="${prefix}/etc"
 
932
S["datadir"]="${datarootdir}"
 
933
S["datarootdir"]="${prefix}/share"
 
934
S["libexecdir"]="${exec_prefix}/libexec"
 
935
S["sbindir"]="${exec_prefix}/sbin"
 
936
S["bindir"]="${exec_prefix}/bin"
 
937
S["program_transform_name"]="s,x,x,"
 
938
S["prefix"]="/usr/local"
 
939
S["exec_prefix"]="${prefix}"
 
940
S["PACKAGE_URL"]=""
 
941
S["PACKAGE_BUGREPORT"]=""
 
942
S["PACKAGE_STRING"]="libdvdread 4.2.0"
 
943
S["PACKAGE_VERSION"]="4.2.0"
 
944
S["PACKAGE_TARNAME"]="libdvdread"
 
945
S["PACKAGE_NAME"]="libdvdread"
 
946
S["PATH_SEPARATOR"]=":"
 
947
S["SHELL"]="/bin/bash"
 
948
_ACAWK
 
949
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
 
950
  for (key in S) S_is_set[key] = 1
 
951
  FS = ""
 
952
 
 
953
}
 
954
{
 
955
  line = $ 0
 
956
  nfields = split(line, field, "@")
 
957
  substed = 0
 
958
  len = length(field[1])
 
959
  for (i = 2; i < nfields; i++) {
 
960
    key = field[i]
 
961
    keylen = length(key)
 
962
    if (S_is_set[key]) {
 
963
      value = S[key]
 
964
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
965
      len += length(value) + length(field[++i])
 
966
      substed = 1
 
967
    } else
 
968
      len += 1 + keylen
 
969
  }
 
970
 
 
971
  print line
 
972
}
 
973
 
 
974
_ACAWK
 
975
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
976
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
977
else
 
978
  cat
 
979
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
980
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
981
fi # test -n "$CONFIG_FILES"
 
982
 
 
983
# Set up the scripts for CONFIG_HEADERS section.
 
984
# No need to generate them if there are no CONFIG_HEADERS.
 
985
# This happens for instance with `./config.status Makefile'.
 
986
if test -n "$CONFIG_HEADERS"; then
 
987
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
988
BEGIN {
 
989
D["PACKAGE_NAME"]=" \"libdvdread\""
 
990
D["PACKAGE_TARNAME"]=" \"libdvdread\""
 
991
D["PACKAGE_VERSION"]=" \"4.2.0\""
 
992
D["PACKAGE_STRING"]=" \"libdvdread 4.2.0\""
 
993
D["PACKAGE_BUGREPORT"]=" \"\""
 
994
D["PACKAGE_URL"]=" \"\""
 
995
D["PACKAGE"]=" \"libdvdread\""
 
996
D["VERSION"]=" \"4.2.0\""
 
997
D["STDC_HEADERS"]=" 1"
 
998
D["HAVE_SYS_TYPES_H"]=" 1"
 
999
D["HAVE_SYS_STAT_H"]=" 1"
 
1000
D["HAVE_STDLIB_H"]=" 1"
 
1001
D["HAVE_STRING_H"]=" 1"
 
1002
D["HAVE_MEMORY_H"]=" 1"
 
1003
D["HAVE_STRINGS_H"]=" 1"
 
1004
D["HAVE_INTTYPES_H"]=" 1"
 
1005
D["HAVE_STDINT_H"]=" 1"
 
1006
D["HAVE_UNISTD_H"]=" 1"
 
1007
D["HAVE_DLFCN_H"]=" 1"
 
1008
D["LT_OBJDIR"]=" \".libs/\""
 
1009
D["STDC_HEADERS"]=" 1"
 
1010
  for (key in D) D_is_set[key] = 1
 
1011
  FS = ""
 
1012
}
 
1013
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
 
1014
  line = $ 0
 
1015
  split(line, arg, " ")
 
1016
  if (arg[1] == "#") {
 
1017
    defundef = arg[2]
 
1018
    mac1 = arg[3]
 
1019
  } else {
 
1020
    defundef = substr(arg[1], 2)
 
1021
    mac1 = arg[2]
 
1022
  }
 
1023
  split(mac1, mac2, "(") #)
 
1024
  macro = mac2[1]
 
1025
  prefix = substr(line, 1, index(line, defundef) - 1)
 
1026
  if (D_is_set[macro]) {
 
1027
    # Preserve the white space surrounding the "#".
 
1028
    print prefix "define", macro P[macro] D[macro]
 
1029
    next
 
1030
  } else {
 
1031
    # Replace #undef with comments.  This is necessary, for example,
 
1032
    # in the case of _POSIX_SOURCE, which is predefined and required
 
1033
    # on some systems where configure will not decide to define it.
 
1034
    if (defundef == "undef") {
 
1035
      print "/*", prefix defundef, macro, "*/"
 
1036
      next
 
1037
    }
 
1038
  }
 
1039
}
 
1040
{ print }
 
1041
_ACAWK
 
1042
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
1043
fi # test -n "$CONFIG_HEADERS"
 
1044
 
 
1045
 
 
1046
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
1047
shift
 
1048
for ac_tag
 
1049
do
 
1050
  case $ac_tag in
 
1051
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
1052
  esac
 
1053
  case $ac_mode$ac_tag in
 
1054
  :[FHL]*:*);;
 
1055
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
1056
  :[FH]-) ac_tag=-:-;;
 
1057
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
1058
  esac
 
1059
  ac_save_IFS=$IFS
 
1060
  IFS=:
 
1061
  set x $ac_tag
 
1062
  IFS=$ac_save_IFS
 
1063
  shift
 
1064
  ac_file=$1
 
1065
  shift
 
1066
 
 
1067
  case $ac_mode in
 
1068
  :L) ac_source=$1;;
 
1069
  :[FH])
 
1070
    ac_file_inputs=
 
1071
    for ac_f
 
1072
    do
 
1073
      case $ac_f in
 
1074
      -) ac_f="$ac_tmp/stdin";;
 
1075
      *) # Look for the file first in the build tree, then in the source tree
 
1076
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
1077
         # because $ac_f cannot contain `:'.
 
1078
         test -f "$ac_f" ||
 
1079
           case $ac_f in
 
1080
           [\\/$]*) false;;
 
1081
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
1082
           esac ||
 
1083
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
1084
      esac
 
1085
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
1086
      as_fn_append ac_file_inputs " '$ac_f'"
 
1087
    done
 
1088
 
 
1089
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
1090
    # use $as_me), people would be surprised to read:
 
1091
    #    /* config.h.  Generated by config.status.  */
 
1092
    configure_input='Generated from '`
 
1093
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
1094
        `' by configure.'
 
1095
    if test x"$ac_file" != x-; then
 
1096
      configure_input="$ac_file.  $configure_input"
 
1097
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
1098
$as_echo "$as_me: creating $ac_file" >&6;}
 
1099
    fi
 
1100
    # Neutralize special characters interpreted by sed in replacement strings.
 
1101
    case $configure_input in #(
 
1102
    *\&* | *\|* | *\\* )
 
1103
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
1104
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
1105
    *) ac_sed_conf_input=$configure_input;;
 
1106
    esac
 
1107
 
 
1108
    case $ac_tag in
 
1109
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
1110
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
1111
    esac
 
1112
    ;;
 
1113
  esac
 
1114
 
 
1115
  ac_dir=`$as_dirname -- "$ac_file" ||
 
1116
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1117
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
1118
         X"$ac_file" : 'X\(//\)$' \| \
 
1119
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
1120
$as_echo X"$ac_file" |
 
1121
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1122
            s//\1/
 
1123
            q
 
1124
          }
 
1125
          /^X\(\/\/\)[^/].*/{
 
1126
            s//\1/
 
1127
            q
 
1128
          }
 
1129
          /^X\(\/\/\)$/{
 
1130
            s//\1/
 
1131
            q
 
1132
          }
 
1133
          /^X\(\/\).*/{
 
1134
            s//\1/
 
1135
            q
 
1136
          }
 
1137
          s/.*/./; q'`
 
1138
  as_dir="$ac_dir"; as_fn_mkdir_p
 
1139
  ac_builddir=.
 
1140
 
 
1141
case "$ac_dir" in
 
1142
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1143
*)
 
1144
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1145
  # A ".." for each directory in $ac_dir_suffix.
 
1146
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1147
  case $ac_top_builddir_sub in
 
1148
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1149
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1150
  esac ;;
 
1151
esac
 
1152
ac_abs_top_builddir=$ac_pwd
 
1153
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1154
# for backward compatibility:
 
1155
ac_top_builddir=$ac_top_build_prefix
 
1156
 
 
1157
case $srcdir in
 
1158
  .)  # We are building in place.
 
1159
    ac_srcdir=.
 
1160
    ac_top_srcdir=$ac_top_builddir_sub
 
1161
    ac_abs_top_srcdir=$ac_pwd ;;
 
1162
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1163
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1164
    ac_top_srcdir=$srcdir
 
1165
    ac_abs_top_srcdir=$srcdir ;;
 
1166
  *) # Relative name.
 
1167
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1168
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1169
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1170
esac
 
1171
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1172
 
 
1173
 
 
1174
  case $ac_mode in
 
1175
  :F)
 
1176
  #
 
1177
  # CONFIG_FILE
 
1178
  #
 
1179
 
 
1180
  case $INSTALL in
 
1181
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
1182
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
1183
  esac
 
1184
  ac_MKDIR_P=$MKDIR_P
 
1185
  case $MKDIR_P in
 
1186
  [\\/$]* | ?:[\\/]* ) ;;
 
1187
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
1188
  esac
 
1189
# If the template does not know about datarootdir, expand it.
 
1190
# FIXME: This hack should be removed a few years after 2.60.
 
1191
ac_datarootdir_hack=; ac_datarootdir_seen=
 
1192
ac_sed_dataroot='
 
1193
/datarootdir/ {
 
1194
  p
 
1195
  q
 
1196
}
 
1197
/@datadir@/p
 
1198
/@docdir@/p
 
1199
/@infodir@/p
 
1200
/@localedir@/p
 
1201
/@mandir@/p'
 
1202
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
1203
*datarootdir*) ac_datarootdir_seen=yes;;
 
1204
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
1205
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
1206
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
1207
  ac_datarootdir_hack='
 
1208
  s&@datadir@&${datarootdir}&g
 
1209
  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
 
1210
  s&@infodir@&${datarootdir}/info&g
 
1211
  s&@localedir@&${datarootdir}/locale&g
 
1212
  s&@mandir@&${datarootdir}/man&g
 
1213
  s&\${datarootdir}&${prefix}/share&g' ;;
 
1214
esac
 
1215
ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
 
1216
h
 
1217
s///
 
1218
s/^/:/
 
1219
s/[      ]*$/:/
 
1220
s/:\$(srcdir):/:/g
 
1221
s/:\${srcdir}:/:/g
 
1222
s/:@srcdir@:/:/g
 
1223
s/^:*//
 
1224
s/:*$//
 
1225
x
 
1226
s/\(=[   ]*\).*/\1/
 
1227
G
 
1228
s/\n//
 
1229
s/^[^=]*=[       ]*$//
 
1230
}
 
1231
 
 
1232
:t
 
1233
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
1234
s|@configure_input@|$ac_sed_conf_input|;t t
 
1235
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
1236
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
1237
s&@srcdir@&$ac_srcdir&;t t
 
1238
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
1239
s&@top_srcdir@&$ac_top_srcdir&;t t
 
1240
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
1241
s&@builddir@&$ac_builddir&;t t
 
1242
s&@abs_builddir@&$ac_abs_builddir&;t t
 
1243
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
1244
s&@INSTALL@&$ac_INSTALL&;t t
 
1245
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
1246
$ac_datarootdir_hack
 
1247
"
 
1248
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
1249
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
1250
 
 
1251
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
1252
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
1253
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
1254
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
1255
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
1256
which seems to be undefined.  Please make sure it is defined" >&5
 
1257
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
1258
which seems to be undefined.  Please make sure it is defined" >&2;}
 
1259
 
 
1260
  rm -f "$ac_tmp/stdin"
 
1261
  case $ac_file in
 
1262
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
1263
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
1264
  esac \
 
1265
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
1266
 ;;
 
1267
  :H)
 
1268
  #
 
1269
  # CONFIG_HEADER
 
1270
  #
 
1271
  if test x"$ac_file" != x-; then
 
1272
    {
 
1273
      $as_echo "/* $configure_input  */" \
 
1274
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
1275
    } >"$ac_tmp/config.h" \
 
1276
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
1277
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
1278
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
1279
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
1280
    else
 
1281
      rm -f "$ac_file"
 
1282
      mv "$ac_tmp/config.h" "$ac_file" \
 
1283
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
1284
    fi
 
1285
  else
 
1286
    $as_echo "/* $configure_input  */" \
 
1287
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
1288
      || as_fn_error $? "could not create -" "$LINENO" 5
 
1289
  fi
 
1290
# Compute "$ac_file"'s index in $config_headers.
 
1291
_am_arg="$ac_file"
 
1292
_am_stamp_count=1
 
1293
for _am_header in $config_headers :; do
 
1294
  case $_am_header in
 
1295
    $_am_arg | $_am_arg:* )
 
1296
      break ;;
 
1297
    * )
 
1298
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
1299
  esac
 
1300
done
 
1301
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
1302
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1303
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
1304
         X"$_am_arg" : 'X\(//\)$' \| \
 
1305
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
1306
$as_echo X"$_am_arg" |
 
1307
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1308
            s//\1/
 
1309
            q
 
1310
          }
 
1311
          /^X\(\/\/\)[^/].*/{
 
1312
            s//\1/
 
1313
            q
 
1314
          }
 
1315
          /^X\(\/\/\)$/{
 
1316
            s//\1/
 
1317
            q
 
1318
          }
 
1319
          /^X\(\/\).*/{
 
1320
            s//\1/
 
1321
            q
 
1322
          }
 
1323
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
1324
 ;;
 
1325
 
 
1326
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
1327
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
1328
 ;;
 
1329
  esac
 
1330
 
 
1331
 
 
1332
  case $ac_file$ac_mode in
 
1333
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
1334
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
1335
  # are listed without --file.  Let's play safe and only enable the eval
 
1336
  # if we detect the quoting.
 
1337
  case $CONFIG_FILES in
 
1338
  *\'*) eval set x "$CONFIG_FILES" ;;
 
1339
  *)   set x $CONFIG_FILES ;;
 
1340
  esac
 
1341
  shift
 
1342
  for mf
 
1343
  do
 
1344
    # Strip MF so we end up with the name of the file.
 
1345
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
1346
    # Check whether this is an Automake generated Makefile or not.
 
1347
    # We used to match only the files named `Makefile.in', but
 
1348
    # some people rename them; so instead we look at the file content.
 
1349
    # Grep'ing the first line is not enough: some people post-process
 
1350
    # each Makefile.in and add a new line on top of each file to say so.
 
1351
    # Grep'ing the whole file is not good either: AIX grep has a line
 
1352
    # limit of 2048, but all sed's we know have understand at least 4000.
 
1353
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
1354
      dirpart=`$as_dirname -- "$mf" ||
 
1355
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1356
         X"$mf" : 'X\(//\)[^/]' \| \
 
1357
         X"$mf" : 'X\(//\)$' \| \
 
1358
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
1359
$as_echo X"$mf" |
 
1360
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1361
            s//\1/
 
1362
            q
 
1363
          }
 
1364
          /^X\(\/\/\)[^/].*/{
 
1365
            s//\1/
 
1366
            q
 
1367
          }
 
1368
          /^X\(\/\/\)$/{
 
1369
            s//\1/
 
1370
            q
 
1371
          }
 
1372
          /^X\(\/\).*/{
 
1373
            s//\1/
 
1374
            q
 
1375
          }
 
1376
          s/.*/./; q'`
 
1377
    else
 
1378
      continue
 
1379
    fi
 
1380
    # Extract the definition of DEPDIR, am__include, and am__quote
 
1381
    # from the Makefile without running `make'.
 
1382
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
1383
    test -z "$DEPDIR" && continue
 
1384
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
1385
    test -z "am__include" && continue
 
1386
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
1387
    # When using ansi2knr, U may be empty or an underscore; expand it
 
1388
    U=`sed -n 's/^U = //p' < "$mf"`
 
1389
    # Find all dependency output files, they are included files with
 
1390
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
1391
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
1392
    # expansion.
 
1393
    for file in `sed -n "
 
1394
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
1395
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
1396
      # Make sure the directory exists.
 
1397
      test -f "$dirpart/$file" && continue
 
1398
      fdir=`$as_dirname -- "$file" ||
 
1399
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1400
         X"$file" : 'X\(//\)[^/]' \| \
 
1401
         X"$file" : 'X\(//\)$' \| \
 
1402
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
1403
$as_echo X"$file" |
 
1404
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1405
            s//\1/
 
1406
            q
 
1407
          }
 
1408
          /^X\(\/\/\)[^/].*/{
 
1409
            s//\1/
 
1410
            q
 
1411
          }
 
1412
          /^X\(\/\/\)$/{
 
1413
            s//\1/
 
1414
            q
 
1415
          }
 
1416
          /^X\(\/\).*/{
 
1417
            s//\1/
 
1418
            q
 
1419
          }
 
1420
          s/.*/./; q'`
 
1421
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
1422
      # echo "creating $dirpart/$file"
 
1423
      echo '# dummy' > "$dirpart/$file"
 
1424
    done
 
1425
  done
 
1426
}
 
1427
 ;;
 
1428
    "libtool":C)
 
1429
 
 
1430
    # See if we are running on zsh, and set the options which allow our
 
1431
    # commands through without removal of \ escapes.
 
1432
    if test -n "${ZSH_VERSION+set}" ; then
 
1433
      setopt NO_GLOB_SUBST
 
1434
    fi
 
1435
 
 
1436
    cfgfile="${ofile}T"
 
1437
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
1438
    $RM "$cfgfile"
 
1439
 
 
1440
    cat <<_LT_EOF >> "$cfgfile"
 
1441
#! $SHELL
 
1442
 
 
1443
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
1444
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
1445
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
1446
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
1447
#
 
1448
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
1449
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
1450
#                 Foundation, Inc.
 
1451
#   Written by Gordon Matzigkeit, 1996
 
1452
#
 
1453
#   This file is part of GNU Libtool.
 
1454
#
 
1455
# GNU Libtool is free software; you can redistribute it and/or
 
1456
# modify it under the terms of the GNU General Public License as
 
1457
# published by the Free Software Foundation; either version 2 of
 
1458
# the License, or (at your option) any later version.
 
1459
#
 
1460
# As a special exception to the GNU General Public License,
 
1461
# if you distribute this file as part of a program or library that
 
1462
# is built using GNU Libtool, you may include this file under the
 
1463
# same distribution terms that you use for the rest of that program.
 
1464
#
 
1465
# GNU Libtool is distributed in the hope that it will be useful,
 
1466
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1467
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1468
# GNU General Public License for more details.
 
1469
#
 
1470
# You should have received a copy of the GNU General Public License
 
1471
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
1472
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
1473
# obtained by writing to the Free Software Foundation, Inc.,
 
1474
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
1475
 
 
1476
 
 
1477
# The names of the tagged configurations supported by this script.
 
1478
available_tags=""
 
1479
 
 
1480
# ### BEGIN LIBTOOL CONFIG
 
1481
 
 
1482
# Whether or not to build static libraries.
 
1483
build_old_libs=$enable_static
 
1484
 
 
1485
# Which release of libtool.m4 was used?
 
1486
macro_version=$macro_version
 
1487
macro_revision=$macro_revision
 
1488
 
 
1489
# Whether or not to build shared libraries.
 
1490
build_libtool_libs=$enable_shared
 
1491
 
 
1492
# What type of objects to build.
 
1493
pic_mode=$pic_mode
 
1494
 
 
1495
# Whether or not to optimize for fast installation.
 
1496
fast_install=$enable_fast_install
 
1497
 
 
1498
# Shell to use when invoking shell scripts.
 
1499
SHELL=$lt_SHELL
 
1500
 
 
1501
# An echo program that protects backslashes.
 
1502
ECHO=$lt_ECHO
 
1503
 
 
1504
# The PATH separator for the build system.
 
1505
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
1506
 
 
1507
# The host system.
 
1508
host_alias=$host_alias
 
1509
host=$host
 
1510
host_os=$host_os
 
1511
 
 
1512
# The build system.
 
1513
build_alias=$build_alias
 
1514
build=$build
 
1515
build_os=$build_os
 
1516
 
 
1517
# A sed program that does not truncate output.
 
1518
SED=$lt_SED
 
1519
 
 
1520
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
1521
Xsed="\$SED -e 1s/^X//"
 
1522
 
 
1523
# A grep program that handles long lines.
 
1524
GREP=$lt_GREP
 
1525
 
 
1526
# An ERE matcher.
 
1527
EGREP=$lt_EGREP
 
1528
 
 
1529
# A literal string matcher.
 
1530
FGREP=$lt_FGREP
 
1531
 
 
1532
# A BSD- or MS-compatible name lister.
 
1533
NM=$lt_NM
 
1534
 
 
1535
# Whether we need soft or hard links.
 
1536
LN_S=$lt_LN_S
 
1537
 
 
1538
# What is the maximum length of a command?
 
1539
max_cmd_len=$max_cmd_len
 
1540
 
 
1541
# Object file suffix (normally "o").
 
1542
objext=$ac_objext
 
1543
 
 
1544
# Executable file suffix (normally "").
 
1545
exeext=$exeext
 
1546
 
 
1547
# whether the shell understands "unset".
 
1548
lt_unset=$lt_unset
 
1549
 
 
1550
# turn spaces into newlines.
 
1551
SP2NL=$lt_lt_SP2NL
 
1552
 
 
1553
# turn newlines into spaces.
 
1554
NL2SP=$lt_lt_NL2SP
 
1555
 
 
1556
# convert \$build file names to \$host format.
 
1557
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
1558
 
 
1559
# convert \$build files to toolchain format.
 
1560
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
1561
 
 
1562
# An object symbol dumper.
 
1563
OBJDUMP=$lt_OBJDUMP
 
1564
 
 
1565
# Method to check whether dependent libraries are shared objects.
 
1566
deplibs_check_method=$lt_deplibs_check_method
 
1567
 
 
1568
# Command to use when deplibs_check_method = "file_magic".
 
1569
file_magic_cmd=$lt_file_magic_cmd
 
1570
 
 
1571
# How to find potential files when deplibs_check_method = "file_magic".
 
1572
file_magic_glob=$lt_file_magic_glob
 
1573
 
 
1574
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
1575
want_nocaseglob=$lt_want_nocaseglob
 
1576
 
 
1577
# DLL creation program.
 
1578
DLLTOOL=$lt_DLLTOOL
 
1579
 
 
1580
# Command to associate shared and link libraries.
 
1581
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
1582
 
 
1583
# The archiver.
 
1584
AR=$lt_AR
 
1585
 
 
1586
# Flags to create an archive.
 
1587
AR_FLAGS=$lt_AR_FLAGS
 
1588
 
 
1589
# How to feed a file listing to the archiver.
 
1590
archiver_list_spec=$lt_archiver_list_spec
 
1591
 
 
1592
# A symbol stripping program.
 
1593
STRIP=$lt_STRIP
 
1594
 
 
1595
# Commands used to install an old-style archive.
 
1596
RANLIB=$lt_RANLIB
 
1597
old_postinstall_cmds=$lt_old_postinstall_cmds
 
1598
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
1599
 
 
1600
# Whether to use a lock for old archive extraction.
 
1601
lock_old_archive_extraction=$lock_old_archive_extraction
 
1602
 
 
1603
# A C compiler.
 
1604
LTCC=$lt_CC
 
1605
 
 
1606
# LTCC compiler flags.
 
1607
LTCFLAGS=$lt_CFLAGS
 
1608
 
 
1609
# Take the output of nm and produce a listing of raw symbols and C names.
 
1610
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
1611
 
 
1612
# Transform the output of nm in a proper C declaration.
 
1613
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
1614
 
 
1615
# Transform the output of nm in a C name address pair.
 
1616
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
1617
 
 
1618
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
1619
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
1620
 
 
1621
# Specify filename containing input files for \$NM.
 
1622
nm_file_list_spec=$lt_nm_file_list_spec
 
1623
 
 
1624
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
1625
lt_sysroot=$lt_sysroot
 
1626
 
 
1627
# The name of the directory that contains temporary libtool files.
 
1628
objdir=$objdir
 
1629
 
 
1630
# Used to examine libraries when file_magic_cmd begins with "file".
 
1631
MAGIC_CMD=$MAGIC_CMD
 
1632
 
 
1633
# Must we lock files when doing compilation?
 
1634
need_locks=$lt_need_locks
 
1635
 
 
1636
# Manifest tool.
 
1637
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
1638
 
 
1639
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
1640
DSYMUTIL=$lt_DSYMUTIL
 
1641
 
 
1642
# Tool to change global to local symbols on Mac OS X.
 
1643
NMEDIT=$lt_NMEDIT
 
1644
 
 
1645
# Tool to manipulate fat objects and archives on Mac OS X.
 
1646
LIPO=$lt_LIPO
 
1647
 
 
1648
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
1649
OTOOL=$lt_OTOOL
 
1650
 
 
1651
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
1652
OTOOL64=$lt_OTOOL64
 
1653
 
 
1654
# Old archive suffix (normally "a").
 
1655
libext=$libext
 
1656
 
 
1657
# Shared library suffix (normally ".so").
 
1658
shrext_cmds=$lt_shrext_cmds
 
1659
 
 
1660
# The commands to extract the exported symbol list from a shared archive.
 
1661
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
1662
 
 
1663
# Variables whose values should be saved in libtool wrapper scripts and
 
1664
# restored at link time.
 
1665
variables_saved_for_relink=$lt_variables_saved_for_relink
 
1666
 
 
1667
# Do we need the "lib" prefix for modules?
 
1668
need_lib_prefix=$need_lib_prefix
 
1669
 
 
1670
# Do we need a version for libraries?
 
1671
need_version=$need_version
 
1672
 
 
1673
# Library versioning type.
 
1674
version_type=$version_type
 
1675
 
 
1676
# Shared library runtime path variable.
 
1677
runpath_var=$runpath_var
 
1678
 
 
1679
# Shared library path variable.
 
1680
shlibpath_var=$shlibpath_var
 
1681
 
 
1682
# Is shlibpath searched before the hard-coded library search path?
 
1683
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
1684
 
 
1685
# Format of library name prefix.
 
1686
libname_spec=$lt_libname_spec
 
1687
 
 
1688
# List of archive names.  First name is the real one, the rest are links.
 
1689
# The last name is the one that the linker finds with -lNAME
 
1690
library_names_spec=$lt_library_names_spec
 
1691
 
 
1692
# The coded name of the library, if different from the real name.
 
1693
soname_spec=$lt_soname_spec
 
1694
 
 
1695
# Permission mode override for installation of shared libraries.
 
1696
install_override_mode=$lt_install_override_mode
 
1697
 
 
1698
# Command to use after installation of a shared archive.
 
1699
postinstall_cmds=$lt_postinstall_cmds
 
1700
 
 
1701
# Command to use after uninstallation of a shared archive.
 
1702
postuninstall_cmds=$lt_postuninstall_cmds
 
1703
 
 
1704
# Commands used to finish a libtool library installation in a directory.
 
1705
finish_cmds=$lt_finish_cmds
 
1706
 
 
1707
# As "finish_cmds", except a single script fragment to be evaled but
 
1708
# not shown.
 
1709
finish_eval=$lt_finish_eval
 
1710
 
 
1711
# Whether we should hardcode library paths into libraries.
 
1712
hardcode_into_libs=$hardcode_into_libs
 
1713
 
 
1714
# Compile-time system search path for libraries.
 
1715
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
1716
 
 
1717
# Run-time system search path for libraries.
 
1718
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
1719
 
 
1720
# Whether dlopen is supported.
 
1721
dlopen_support=$enable_dlopen
 
1722
 
 
1723
# Whether dlopen of programs is supported.
 
1724
dlopen_self=$enable_dlopen_self
 
1725
 
 
1726
# Whether dlopen of statically linked programs is supported.
 
1727
dlopen_self_static=$enable_dlopen_self_static
 
1728
 
 
1729
# Commands to strip libraries.
 
1730
old_striplib=$lt_old_striplib
 
1731
striplib=$lt_striplib
 
1732
 
 
1733
 
 
1734
# The linker used to build libraries.
 
1735
LD=$lt_LD
 
1736
 
 
1737
# How to create reloadable object files.
 
1738
reload_flag=$lt_reload_flag
 
1739
reload_cmds=$lt_reload_cmds
 
1740
 
 
1741
# Commands used to build an old-style archive.
 
1742
old_archive_cmds=$lt_old_archive_cmds
 
1743
 
 
1744
# A language specific compiler.
 
1745
CC=$lt_compiler
 
1746
 
 
1747
# Is the compiler the GNU compiler?
 
1748
with_gcc=$GCC
 
1749
 
 
1750
# Compiler flag to turn off builtin functions.
 
1751
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
1752
 
 
1753
# Additional compiler flags for building library objects.
 
1754
pic_flag=$lt_lt_prog_compiler_pic
 
1755
 
 
1756
# How to pass a linker flag through the compiler.
 
1757
wl=$lt_lt_prog_compiler_wl
 
1758
 
 
1759
# Compiler flag to prevent dynamic linking.
 
1760
link_static_flag=$lt_lt_prog_compiler_static
 
1761
 
 
1762
# Does compiler simultaneously support -c and -o options?
 
1763
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
1764
 
 
1765
# Whether or not to add -lc for building shared libraries.
 
1766
build_libtool_need_lc=$archive_cmds_need_lc
 
1767
 
 
1768
# Whether or not to disallow shared libs when runtime libs are static.
 
1769
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
1770
 
 
1771
# Compiler flag to allow reflexive dlopens.
 
1772
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
1773
 
 
1774
# Compiler flag to generate shared objects directly from archives.
 
1775
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
1776
 
 
1777
# Whether the compiler copes with passing no objects directly.
 
1778
compiler_needs_object=$lt_compiler_needs_object
 
1779
 
 
1780
# Create an old-style archive from a shared archive.
 
1781
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
1782
 
 
1783
# Create a temporary old-style archive to link instead of a shared archive.
 
1784
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
1785
 
 
1786
# Commands used to build a shared archive.
 
1787
archive_cmds=$lt_archive_cmds
 
1788
archive_expsym_cmds=$lt_archive_expsym_cmds
 
1789
 
 
1790
# Commands used to build a loadable module if different from building
 
1791
# a shared archive.
 
1792
module_cmds=$lt_module_cmds
 
1793
module_expsym_cmds=$lt_module_expsym_cmds
 
1794
 
 
1795
# Whether we are building with GNU ld or not.
 
1796
with_gnu_ld=$lt_with_gnu_ld
 
1797
 
 
1798
# Flag that allows shared libraries with undefined symbols to be built.
 
1799
allow_undefined_flag=$lt_allow_undefined_flag
 
1800
 
 
1801
# Flag that enforces no undefined symbols.
 
1802
no_undefined_flag=$lt_no_undefined_flag
 
1803
 
 
1804
# Flag to hardcode \$libdir into a binary during linking.
 
1805
# This must work even if \$libdir does not exist
 
1806
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
1807
 
 
1808
# Whether we need a single "-rpath" flag with a separated argument.
 
1809
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
1810
 
 
1811
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
1812
# DIR into the resulting binary.
 
1813
hardcode_direct=$hardcode_direct
 
1814
 
 
1815
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
1816
# DIR into the resulting binary and the resulting library dependency is
 
1817
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
1818
# library is relocated.
 
1819
hardcode_direct_absolute=$hardcode_direct_absolute
 
1820
 
 
1821
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
1822
# into the resulting binary.
 
1823
hardcode_minus_L=$hardcode_minus_L
 
1824
 
 
1825
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
1826
# into the resulting binary.
 
1827
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
1828
 
 
1829
# Set to "yes" if building a shared library automatically hardcodes DIR
 
1830
# into the library and all subsequent libraries and executables linked
 
1831
# against it.
 
1832
hardcode_automatic=$hardcode_automatic
 
1833
 
 
1834
# Set to yes if linker adds runtime paths of dependent libraries
 
1835
# to runtime path list.
 
1836
inherit_rpath=$inherit_rpath
 
1837
 
 
1838
# Whether libtool must link a program against all its dependency libraries.
 
1839
link_all_deplibs=$link_all_deplibs
 
1840
 
 
1841
# Set to "yes" if exported symbols are required.
 
1842
always_export_symbols=$always_export_symbols
 
1843
 
 
1844
# The commands to list exported symbols.
 
1845
export_symbols_cmds=$lt_export_symbols_cmds
 
1846
 
 
1847
# Symbols that should not be listed in the preloaded symbols.
 
1848
exclude_expsyms=$lt_exclude_expsyms
 
1849
 
 
1850
# Symbols that must always be exported.
 
1851
include_expsyms=$lt_include_expsyms
 
1852
 
 
1853
# Commands necessary for linking programs (against libraries) with templates.
 
1854
prelink_cmds=$lt_prelink_cmds
 
1855
 
 
1856
# Commands necessary for finishing linking programs.
 
1857
postlink_cmds=$lt_postlink_cmds
 
1858
 
 
1859
# Specify filename containing input files.
 
1860
file_list_spec=$lt_file_list_spec
 
1861
 
 
1862
# How to hardcode a shared library path into an executable.
 
1863
hardcode_action=$hardcode_action
 
1864
 
 
1865
# ### END LIBTOOL CONFIG
 
1866
 
 
1867
_LT_EOF
 
1868
 
 
1869
  case $host_os in
 
1870
  aix3*)
 
1871
    cat <<\_LT_EOF >> "$cfgfile"
 
1872
# AIX sometimes has problems with the GCC collect2 program.  For some
 
1873
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
1874
# vanish in a puff of smoke.
 
1875
if test "X${COLLECT_NAMES+set}" != Xset; then
 
1876
  COLLECT_NAMES=
 
1877
  export COLLECT_NAMES
 
1878
fi
 
1879
_LT_EOF
 
1880
    ;;
 
1881
  esac
 
1882
 
 
1883
 
 
1884
ltmain="$ac_aux_dir/ltmain.sh"
 
1885
 
 
1886
 
 
1887
  # We use sed instead of cat because bash on DJGPP gets confused if
 
1888
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
1889
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
1890
  # is reportedly fixed, but why not run on old versions too?
 
1891
  sed '$q' "$ltmain" >> "$cfgfile" \
 
1892
     || (rm -f "$cfgfile"; exit 1)
 
1893
 
 
1894
  if test x"$xsi_shell" = xyes; then
 
1895
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
1896
func_dirname ()\
 
1897
{\
 
1898
\    case ${1} in\
 
1899
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
1900
\      *  ) func_dirname_result="${3}" ;;\
 
1901
\    esac\
 
1902
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
1903
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1904
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1905
test 0 -eq $? || _lt_function_replace_fail=:
 
1906
 
 
1907
 
 
1908
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
1909
func_basename ()\
 
1910
{\
 
1911
\    func_basename_result="${1##*/}"\
 
1912
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
1913
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1914
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1915
test 0 -eq $? || _lt_function_replace_fail=:
 
1916
 
 
1917
 
 
1918
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
1919
func_dirname_and_basename ()\
 
1920
{\
 
1921
\    case ${1} in\
 
1922
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
1923
\      *  ) func_dirname_result="${3}" ;;\
 
1924
\    esac\
 
1925
\    func_basename_result="${1##*/}"\
 
1926
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
1927
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1928
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1929
test 0 -eq $? || _lt_function_replace_fail=:
 
1930
 
 
1931
 
 
1932
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
1933
func_stripname ()\
 
1934
{\
 
1935
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
1936
\    # positional parameters, so assign one to ordinary parameter first.\
 
1937
\    func_stripname_result=${3}\
 
1938
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
1939
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
1940
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
1941
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1942
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1943
test 0 -eq $? || _lt_function_replace_fail=:
 
1944
 
 
1945
 
 
1946
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
1947
func_split_long_opt ()\
 
1948
{\
 
1949
\    func_split_long_opt_name=${1%%=*}\
 
1950
\    func_split_long_opt_arg=${1#*=}\
 
1951
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
1952
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1953
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1954
test 0 -eq $? || _lt_function_replace_fail=:
 
1955
 
 
1956
 
 
1957
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
1958
func_split_short_opt ()\
 
1959
{\
 
1960
\    func_split_short_opt_arg=${1#??}\
 
1961
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
1962
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
1963
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1964
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1965
test 0 -eq $? || _lt_function_replace_fail=:
 
1966
 
 
1967
 
 
1968
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
1969
func_lo2o ()\
 
1970
{\
 
1971
\    case ${1} in\
 
1972
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
1973
\      *)    func_lo2o_result=${1} ;;\
 
1974
\    esac\
 
1975
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
1976
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1977
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1978
test 0 -eq $? || _lt_function_replace_fail=:
 
1979
 
 
1980
 
 
1981
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
1982
func_xform ()\
 
1983
{\
 
1984
    func_xform_result=${1%.*}.lo\
 
1985
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
1986
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1987
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1988
test 0 -eq $? || _lt_function_replace_fail=:
 
1989
 
 
1990
 
 
1991
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
1992
func_arith ()\
 
1993
{\
 
1994
    func_arith_result=$(( $* ))\
 
1995
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
1996
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
1997
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
1998
test 0 -eq $? || _lt_function_replace_fail=:
 
1999
 
 
2000
 
 
2001
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
2002
func_len ()\
 
2003
{\
 
2004
    func_len_result=${#1}\
 
2005
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
2006
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
2007
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
2008
test 0 -eq $? || _lt_function_replace_fail=:
 
2009
 
 
2010
fi
 
2011
 
 
2012
if test x"$lt_shell_append" = xyes; then
 
2013
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
2014
func_append ()\
 
2015
{\
 
2016
    eval "${1}+=\\${2}"\
 
2017
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
2018
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
2019
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
2020
test 0 -eq $? || _lt_function_replace_fail=:
 
2021
 
 
2022
 
 
2023
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
2024
func_append_quoted ()\
 
2025
{\
 
2026
\    func_quote_for_eval "${2}"\
 
2027
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
2028
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
2029
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
2030
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
2031
test 0 -eq $? || _lt_function_replace_fail=:
 
2032
 
 
2033
 
 
2034
  # Save a `func_append' function call where possible by direct use of '+='
 
2035
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
2036
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
2037
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
2038
  test 0 -eq $? || _lt_function_replace_fail=:
 
2039
else
 
2040
  # Save a `func_append' function call even when '+=' is not available
 
2041
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
2042
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
2043
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
2044
  test 0 -eq $? || _lt_function_replace_fail=:
 
2045
fi
 
2046
 
 
2047
if test x"$_lt_function_replace_fail" = x":"; then
 
2048
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
2049
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
2050
fi
 
2051
 
 
2052
 
 
2053
   mv -f "$cfgfile" "$ofile" ||
 
2054
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
2055
  chmod +x "$ofile"
 
2056
 
 
2057
 ;;
 
2058
 
 
2059
  esac
 
2060
done # for ac_tag
 
2061
 
 
2062
 
 
2063
as_fn_exit 0