dec_number 0.2.0 → 0.2.1

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