blob: 6a52c362d08a44a6b828351212f6972f194dcf27 [file] [log] [blame]
Stephane Barbarie14088962017-06-01 16:56:55 -04001#! /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
7debug=false
8ac_cs_recheck=false
9ac_cs_silent=false
10
11SHELL=${CONFIG_SHELL-/bin/sh}
12export SHELL
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if 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
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if 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 --'
49elif (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'
52else
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'
72fi
73
74# The user is always right.
75if 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 }
81fi
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.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
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
102IFS=$as_save_IFS
103
104 ;;
105esac
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.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
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.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export 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.
143as_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.
158as_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.
166as_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.
176as_fn_unset ()
177{
178 { eval $1=; unset $1;}
179}
180as_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.
187if (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 }'
192else
193 as_fn_append ()
194 {
195 eval $1=\$$1\$2
196 }
197fi # 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.
204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205 eval 'as_fn_arith ()
206 {
207 as_val=$(( $* ))
208 }'
209else
210 as_fn_arith ()
211 {
212 as_val=`expr "$@" || test $? -eq 1`
213 }
214fi # as_fn_arith
215
216
217if expr a : '\(a\)' >/dev/null 2>&1 &&
218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
219 as_expr=expr
220else
221 as_expr=false
222fi
223
224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225 as_basename=basename
226else
227 as_basename=false
228fi
229
230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231 as_dirname=dirname
232else
233 as_dirname=false
234fi
235
236as_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.
256as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259as_cr_digits='0123456789'
260as_cr_alnum=$as_cr_Letters$as_cr_digits
261
262ECHO_C= ECHO_N= ECHO_T=
263case `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';;
273esac
274
275rm -f conf$$ conf$$.exe conf$$.file
276if test -d conf$$.dir; then
277 rm -f conf$$.dir/conf$$.file
278else
279 rm -f conf$$.dir
280 mkdir conf$$.dir 2>/dev/null
281fi
282if (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
296else
297 as_ln_s='cp -pR'
298fi
299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300rmdir conf$$.dir 2>/dev/null
301
302
303# as_fn_mkdir_p
304# -------------
305# Create "$as_dir" as a directory, including parents if necessary.
306as_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
350if mkdir -p . 2>/dev/null; then
351 as_mkdir_p='mkdir -p "$as_dir"'
352else
353 test -d ./-p && rmdir ./-p
354 as_mkdir_p=false
355fi
356
357
358# as_fn_executable_p FILE
359# -----------------------
360# Test if FILE is an executable regular file.
361as_fn_executable_p ()
362{
363 test -f "$1" && test -x "$1"
364} # as_fn_executable_p
365as_test_x='test -x'
366as_executable_p=as_fn_executable_p
367
368# Sed expression to map a string onto a valid CPP name.
369as_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.
372as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
373
374
375exec 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.
382ac_log="
383This file was extended by voltha $as_me 1.0, which was
384generated 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
392on `(hostname || uname -n) 2>/dev/null | sed 1q`
393"
394
395# Files that config.status was made for.
396config_files=" Makefile"
397config_commands=" libtool"
398
399ac_cs_usage="\
400\`$as_me' instantiates files and other configuration actions
401from templates according to the current configuration. Unless the files
402and actions are specified as TAGs, all are instantiated by default.
403
404Usage: $0 [OPTION]... [TAG]...
405
406 -h, --help print this help, then exit
407 -V, --version print version number and configuration settings, then exit
408 --config print configuration, then exit
409 -q, --quiet, --silent
410 do not print progress messages
411 -d, --debug don't remove temporary files
412 --recheck update $as_me by reconfiguring in the same conditions
413 --file=FILE[:TEMPLATE]
414 instantiate the configuration file FILE
415
416Configuration files:
417$config_files
418
419Configuration commands:
420$config_commands
421
422Report bugs to <BUG-REPORT-ADDRESS>."
423
424ac_cs_config=""
425ac_cs_version="\
426voltha config.status 1.0
427configured by ./configure, generated by GNU Autoconf 2.69,
428 with options \"$ac_cs_config\"
429
430Copyright (C) 2012 Free Software Foundation, Inc.
431This config.status script is free software; the Free Software Foundation
432gives unlimited permission to copy, distribute and modify it."
433
434ac_pwd='/cord/incubator/netconf/netopeer/transAPI/voltha-transapi'
435srcdir='.'
436INSTALL='/bin/install -c'
437AWK='gawk'
438test -n "$AWK" || AWK=awk
439# The default lists apply if the user does not specify any file.
440ac_need_defaults=:
441while test $# != 0
442do
443 case $1 in
444 --*=?*)
445 ac_option=`expr "X$1" : 'X\([^=]*\)='`
446 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
447 ac_shift=:
448 ;;
449 --*=)
450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
451 ac_optarg=
452 ac_shift=:
453 ;;
454 *)
455 ac_option=$1
456 ac_optarg=$2
457 ac_shift=shift
458 ;;
459 esac
460
461 case $ac_option in
462 # Handling of the options.
463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
464 ac_cs_recheck=: ;;
465 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
466 $as_echo "$ac_cs_version"; exit ;;
467 --config | --confi | --conf | --con | --co | --c )
468 $as_echo "$ac_cs_config"; exit ;;
469 --debug | --debu | --deb | --de | --d | -d )
470 debug=: ;;
471 --file | --fil | --fi | --f )
472 $ac_shift
473 case $ac_optarg in
474 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
475 '') as_fn_error $? "missing file argument" ;;
476 esac
477 as_fn_append CONFIG_FILES " '$ac_optarg'"
478 ac_need_defaults=false;;
479 --he | --h | --help | --hel | -h )
480 $as_echo "$ac_cs_usage"; exit ;;
481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
482 | -silent | --silent | --silen | --sile | --sil | --si | --s)
483 ac_cs_silent=: ;;
484
485 # This is an error.
486 -*) as_fn_error $? "unrecognized option: \`$1'
487Try \`$0 --help' for more information." ;;
488
489 *) as_fn_append ac_config_targets " $1"
490 ac_need_defaults=false ;;
491
492 esac
493 shift
494done
495
496ac_configure_extra_args=
497
498if $ac_cs_silent; then
499 exec 6>/dev/null
500 ac_configure_extra_args="$ac_configure_extra_args --silent"
501fi
502
503if $ac_cs_recheck; then
504 set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
505 shift
506 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
507 CONFIG_SHELL='/bin/sh'
508 export CONFIG_SHELL
509 exec "$@"
510fi
511
512exec 5>>config.log
513{
514 echo
515 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
516## Running $as_me. ##
517_ASBOX
518 $as_echo "$ac_log"
519} >&5
520
521#
522# INIT-COMMANDS
523#
524
525
526# The HP-UX ksh and POSIX shell print the target directory to stdout
527# if CDPATH is set.
528(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
529
530sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
531double_quote_subst='s/\(["`\\]\)/\\\1/g'
532delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
533macro_version='2.4.2'
534macro_revision='1.3337'
535enable_shared='yes'
536enable_static='yes'
537pic_mode='default'
538enable_fast_install='yes'
539SHELL='/bin/sh'
540ECHO='printf %s\n'
541PATH_SEPARATOR=':'
542host_alias=''
543host='x86_64-unknown-linux-gnu'
544host_os='linux-gnu'
545build_alias=''
546build='x86_64-unknown-linux-gnu'
547build_os='linux-gnu'
548SED='/bin/sed'
549Xsed='/bin/sed -e 1s/^X//'
550GREP='/bin/grep'
551EGREP='/bin/grep -E'
552FGREP='/bin/grep -F'
553LD='/bin/ld -m elf_x86_64'
554NM='/bin/nm -B'
555LN_S='ln -s'
556max_cmd_len='1572864'
557ac_objext='o'
558exeext=''
559lt_unset='unset'
560lt_SP2NL='tr \040 \012'
561lt_NL2SP='tr \015\012 \040\040'
562lt_cv_to_host_file_cmd='func_convert_file_noop'
563lt_cv_to_tool_file_cmd='func_convert_file_noop'
564reload_flag=' -r'
565reload_cmds='$LD$reload_flag -o $output$reload_objs'
566OBJDUMP='objdump'
567deplibs_check_method='pass_all'
568file_magic_cmd='$MAGIC_CMD'
569file_magic_glob=''
570want_nocaseglob='no'
571DLLTOOL='false'
572sharedlib_from_linklib_cmd='printf %s\n'
573AR='ar'
574AR_FLAGS='cru'
575archiver_list_spec='@'
576STRIP='strip'
577RANLIB='ranlib'
578old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
579old_postuninstall_cmds=''
580old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
581lock_old_archive_extraction='no'
582CC='gcc'
583CFLAGS='-I/usr/include/libxml2 -O3'
584compiler='gcc'
585GCC='yes'
586lt_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'\'''
587lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
588lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
589lt_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'\'''
590nm_file_list_spec='@'
591lt_sysroot=''
592objdir='.libs'
593MAGIC_CMD='file'
594lt_prog_compiler_no_builtin_flag=' -fno-builtin'
595lt_prog_compiler_pic=' -fPIC -DPIC'
596lt_prog_compiler_wl='-Wl,'
597lt_prog_compiler_static=''
598lt_cv_prog_compiler_c_o='yes'
599need_locks='no'
600MANIFEST_TOOL=':'
601DSYMUTIL=''
602NMEDIT=''
603LIPO=''
604OTOOL=''
605OTOOL64=''
606libext='a'
607shrext_cmds='.so'
608extract_expsyms_cmds=''
609archive_cmds_need_lc='no'
610enable_shared_with_static_runtimes='no'
611export_dynamic_flag_spec='${wl}--export-dynamic'
612whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
613compiler_needs_object='no'
614old_archive_from_new_cmds=''
615old_archive_from_expsyms_cmds=''
616archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
617archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
618 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
619 echo "local: *; };" >> $output_objdir/$libname.ver~
620 $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
621module_cmds=''
622module_expsym_cmds=''
623with_gnu_ld='yes'
624allow_undefined_flag=''
625no_undefined_flag=''
626hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
627hardcode_libdir_separator=''
628hardcode_direct='no'
629hardcode_direct_absolute='no'
630hardcode_minus_L='no'
631hardcode_shlibpath_var='unsupported'
632hardcode_automatic='no'
633inherit_rpath='no'
634link_all_deplibs='unknown'
635always_export_symbols='no'
636export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
637exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
638include_expsyms=''
639prelink_cmds=''
640postlink_cmds=''
641file_list_spec=''
642variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
643need_lib_prefix='no'
644need_version='no'
645version_type='linux'
646runpath_var='LD_RUN_PATH'
647shlibpath_var='LD_LIBRARY_PATH'
648shlibpath_overrides_runpath='no'
649libname_spec='lib$name'
650library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
651soname_spec='${libname}${release}${shared_ext}$major'
652install_override_mode=''
653postinstall_cmds=''
654postuninstall_cmds=''
655finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
656finish_eval=''
657hardcode_into_libs='yes'
658sys_lib_search_path_spec='/usr/lib/gcc/x86_64-redhat-linux/4.8.5 /usr/lib64 /lib64 '
659sys_lib_dlsearch_path_spec='/lib64 /usr/lib64 /lib /usr/lib /usr/lib64/llvm /usr/lib64/mysql '
660hardcode_action='immediate'
661enable_dlopen='unknown'
662enable_dlopen_self='unknown'
663enable_dlopen_self_static='unknown'
664old_striplib='strip --strip-debug'
665striplib='strip --strip-unneeded'
666
667LTCC='gcc'
668LTCFLAGS=' -O3'
669compiler='gcc'
670
671# A function that is used when there is no print builtin or printf.
672func_fallback_echo ()
673{
674 eval 'cat <<_LTECHO_EOF
675$1
676_LTECHO_EOF'
677}
678
679# Quote evaled strings.
680for 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
681 case `eval \\$ECHO \\""\\$$var"\\"` in
682 *[\\\`\"\$]*)
683 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
684 ;;
685 *)
686 eval "lt_$var=\\\"\$$var\\\""
687 ;;
688 esac
689done
690
691# Double-quote double-evaled strings.
692for 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
693 case `eval \\$ECHO \\""\\$$var"\\"` in
694 *[\\\`\"\$]*)
695 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
696 ;;
697 *)
698 eval "lt_$var=\\\"\$$var\\\""
699 ;;
700 esac
701done
702
703ac_aux_dir='.'
704xsi_shell='yes'
705lt_shell_append='yes'
706
707# See if we are running on zsh, and set the options which allow our
708# commands through without removal of \ escapes INIT.
709if test -n "${ZSH_VERSION+set}" ; then
710 setopt NO_GLOB_SUBST
711fi
712
713
714 PACKAGE=''
715 VERSION=''
716 TIMESTAMP=''
717 RM='rm -f'
718 ofile='libtool'
719
720
721
722
723
724# Handling of arguments.
725for ac_config_target in $ac_config_targets
726do
727 case $ac_config_target in
728 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
729 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
730
731 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
732 esac
733done
734
735
736# If the user did not use the arguments to specify the items to instantiate,
737# then the envvar interface is used. Set only those that are not.
738# We use the long form for the default assignment because of an extremely
739# bizarre bug on SunOS 4.1.3.
740if $ac_need_defaults; then
741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
742 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
743fi
744
745# Have a temporary directory for convenience. Make it in the build tree
746# simply because there is no reason against having it here, and in addition,
747# creating and moving files from /tmp can sometimes cause problems.
748# Hook for its removal unless debugging.
749# Note that there is a small window in which the directory will not be cleaned:
750# after its creation but before its name has been assigned to `$tmp'.
751$debug ||
752{
753 tmp= ac_tmp=
754 trap 'exit_status=$?
755 : "${ac_tmp:=$tmp}"
756 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
757' 0
758 trap 'as_fn_exit 1' 1 2 13 15
759}
760# Create a (secure) tmp directory for tmp files.
761
762{
763 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
764 test -d "$tmp"
765} ||
766{
767 tmp=./conf$$-$RANDOM
768 (umask 077 && mkdir "$tmp")
769} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
770ac_tmp=$tmp
771
772# Set up the scripts for CONFIG_FILES section.
773# No need to generate them if there are no CONFIG_FILES.
774# This happens for instance with `./config.status config.h'.
775if test -n "$CONFIG_FILES"; then
776
777
778ac_cr=`echo X | tr X '\015'`
779# On cygwin, bash can eat \r inside `` if the user requested igncr.
780# But we know of no other shell where ac_cr would be empty at this
781# point, so we can use a bashism as a fallback.
782if test "x$ac_cr" = x; then
783 eval ac_cr=\$\'\\r\'
784fi
785ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
786if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
787 ac_cs_awk_cr='\\r'
788else
789 ac_cs_awk_cr=$ac_cr
790fi
791
792echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
793cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
794S["LTLIBOBJS"]=""
795S["LIBOBJS"]=""
796S["NETOPEER_MANAGER"]="/bin/netopeer-manager"
797S["libtool"]="./libtool"
798S["CPP"]="gcc -E"
799S["OTOOL64"]=""
800S["OTOOL"]=""
801S["LIPO"]=""
802S["NMEDIT"]=""
803S["DSYMUTIL"]=""
804S["MANIFEST_TOOL"]=":"
805S["AWK"]="gawk"
806S["RANLIB"]="ranlib"
807S["STRIP"]="strip"
808S["ac_ct_AR"]="ar"
809S["AR"]="ar"
810S["DLLTOOL"]="false"
811S["OBJDUMP"]="objdump"
812S["LN_S"]="ln -s"
813S["NM"]="/bin/nm -B"
814S["ac_ct_DUMPBIN"]=""
815S["DUMPBIN"]=""
816S["LD"]="/bin/ld -m elf_x86_64"
817S["FGREP"]="/bin/grep -F"
818S["EGREP"]="/bin/grep -E"
819S["GREP"]="/bin/grep"
820S["SED"]="/bin/sed"
821S["host_os"]="linux-gnu"
822S["host_vendor"]="unknown"
823S["host_cpu"]="x86_64"
824S["host"]="x86_64-unknown-linux-gnu"
825S["build_os"]="linux-gnu"
826S["build_vendor"]="unknown"
827S["build_cpu"]="x86_64"
828S["build"]="x86_64-unknown-linux-gnu"
829S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
830S["INSTALL_DATA"]="${INSTALL} -m 644"
831S["INSTALL_SCRIPT"]="${INSTALL}"
832S["INSTALL_PROGRAM"]="${INSTALL}"
833S["OBJEXT"]="o"
834S["EXEEXT"]=""
835S["ac_ct_CC"]="gcc"
836S["CPPFLAGS"]=""
837S["LDFLAGS"]=""
838S["CFLAGS"]="-I/usr/include/libxml2 -O3"
839S["CC"]="gcc"
840S["XML2_CONFIG"]="yes"
841S["NETOPEER_DIR"]="${prefix}/etc/netopeer"
842S["PROJECTNAME"]="voltha"
843S["target_alias"]=""
844S["host_alias"]=""
845S["build_alias"]=""
846S["LIBS"]="-lvoltha-netconf-model -lvoltha -lxml2 -lz -lm -ldl -lnetconf "
847S["ECHO_T"]=""
848S["ECHO_N"]="-n"
849S["ECHO_C"]=""
850S["DEFS"]="-DPACKAGE_NAME=\\\"voltha\\\" -DPACKAGE_TARNAME=\\\"voltha\\\" -DPACKAGE_VERSION=\\\"1.0\\\" -DPACKAGE_STRING=\\\"voltha\\ 1.0\\\" -DPACKAGE_BUGREPORT=\\\"BUG-REPORT-A"\
851"DDRESS\\\" -DPACKAGE_URL=\\\"\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_S"\
852"TRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\\\".libs/\\\" -DHAVE_LIBVOLTHA=1 -DHAVE_LIBVOLTHA_NETCO"\
853"NF_MODEL=1 -DHAVE_STDLIB_H=1 -DHAVE_LIBNETCONF_H=1"
854S["mandir"]="${datarootdir}/man"
855S["localedir"]="${datarootdir}/locale"
856S["libdir"]="${exec_prefix}/lib"
857S["psdir"]="${docdir}"
858S["pdfdir"]="${docdir}"
859S["dvidir"]="${docdir}"
860S["htmldir"]="${docdir}"
861S["infodir"]="${datarootdir}/info"
862S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
863S["oldincludedir"]="/usr/include"
864S["includedir"]="${prefix}/include"
865S["localstatedir"]="${prefix}/var"
866S["sharedstatedir"]="${prefix}/com"
867S["sysconfdir"]="${prefix}/etc"
868S["datadir"]="${datarootdir}"
869S["datarootdir"]="${prefix}/share"
870S["libexecdir"]="${exec_prefix}/libexec"
871S["sbindir"]="${exec_prefix}/sbin"
872S["bindir"]="${exec_prefix}/bin"
873S["program_transform_name"]="s,x,x,"
874S["prefix"]="/usr/local"
875S["exec_prefix"]="${prefix}"
876S["PACKAGE_URL"]=""
877S["PACKAGE_BUGREPORT"]="BUG-REPORT-ADDRESS"
878S["PACKAGE_STRING"]="voltha 1.0"
879S["PACKAGE_VERSION"]="1.0"
880S["PACKAGE_TARNAME"]="voltha"
881S["PACKAGE_NAME"]="voltha"
882S["PATH_SEPARATOR"]=":"
883S["SHELL"]="/bin/sh"
884_ACAWK
885cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
886 for (key in S) S_is_set[key] = 1
887 FS = ""
888
889}
890{
891 line = $ 0
892 nfields = split(line, field, "@")
893 substed = 0
894 len = length(field[1])
895 for (i = 2; i < nfields; i++) {
896 key = field[i]
897 keylen = length(key)
898 if (S_is_set[key]) {
899 value = S[key]
900 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
901 len += length(value) + length(field[++i])
902 substed = 1
903 } else
904 len += 1 + keylen
905 }
906
907 print line
908}
909
910_ACAWK
911if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
912 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
913else
914 cat
915fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
916 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
917fi # test -n "$CONFIG_FILES"
918
919
920eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
921shift
922for ac_tag
923do
924 case $ac_tag in
925 :[FHLC]) ac_mode=$ac_tag; continue;;
926 esac
927 case $ac_mode$ac_tag in
928 :[FHL]*:*);;
929 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
930 :[FH]-) ac_tag=-:-;;
931 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
932 esac
933 ac_save_IFS=$IFS
934 IFS=:
935 set x $ac_tag
936 IFS=$ac_save_IFS
937 shift
938 ac_file=$1
939 shift
940
941 case $ac_mode in
942 :L) ac_source=$1;;
943 :[FH])
944 ac_file_inputs=
945 for ac_f
946 do
947 case $ac_f in
948 -) ac_f="$ac_tmp/stdin";;
949 *) # Look for the file first in the build tree, then in the source tree
950 # (if the path is not absolute). The absolute path cannot be DOS-style,
951 # because $ac_f cannot contain `:'.
952 test -f "$ac_f" ||
953 case $ac_f in
954 [\\/$]*) false;;
955 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
956 esac ||
957 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
958 esac
959 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
960 as_fn_append ac_file_inputs " '$ac_f'"
961 done
962
963 # Let's still pretend it is `configure' which instantiates (i.e., don't
964 # use $as_me), people would be surprised to read:
965 # /* config.h. Generated by config.status. */
966 configure_input='Generated from '`
967 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
968 `' by configure.'
969 if test x"$ac_file" != x-; then
970 configure_input="$ac_file. $configure_input"
971 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
972$as_echo "$as_me: creating $ac_file" >&6;}
973 fi
974 # Neutralize special characters interpreted by sed in replacement strings.
975 case $configure_input in #(
976 *\&* | *\|* | *\\* )
977 ac_sed_conf_input=`$as_echo "$configure_input" |
978 sed 's/[\\\\&|]/\\\\&/g'`;; #(
979 *) ac_sed_conf_input=$configure_input;;
980 esac
981
982 case $ac_tag in
983 *:-:* | *:-) cat >"$ac_tmp/stdin" \
984 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
985 esac
986 ;;
987 esac
988
989 ac_dir=`$as_dirname -- "$ac_file" ||
990$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
991 X"$ac_file" : 'X\(//\)[^/]' \| \
992 X"$ac_file" : 'X\(//\)$' \| \
993 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
994$as_echo X"$ac_file" |
995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
996 s//\1/
997 q
998 }
999 /^X\(\/\/\)[^/].*/{
1000 s//\1/
1001 q
1002 }
1003 /^X\(\/\/\)$/{
1004 s//\1/
1005 q
1006 }
1007 /^X\(\/\).*/{
1008 s//\1/
1009 q
1010 }
1011 s/.*/./; q'`
1012 as_dir="$ac_dir"; as_fn_mkdir_p
1013 ac_builddir=.
1014
1015case "$ac_dir" in
1016.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1017*)
1018 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1019 # A ".." for each directory in $ac_dir_suffix.
1020 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1021 case $ac_top_builddir_sub in
1022 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1023 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1024 esac ;;
1025esac
1026ac_abs_top_builddir=$ac_pwd
1027ac_abs_builddir=$ac_pwd$ac_dir_suffix
1028# for backward compatibility:
1029ac_top_builddir=$ac_top_build_prefix
1030
1031case $srcdir in
1032 .) # We are building in place.
1033 ac_srcdir=.
1034 ac_top_srcdir=$ac_top_builddir_sub
1035 ac_abs_top_srcdir=$ac_pwd ;;
1036 [\\/]* | ?:[\\/]* ) # Absolute name.
1037 ac_srcdir=$srcdir$ac_dir_suffix;
1038 ac_top_srcdir=$srcdir
1039 ac_abs_top_srcdir=$srcdir ;;
1040 *) # Relative name.
1041 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1042 ac_top_srcdir=$ac_top_build_prefix$srcdir
1043 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1044esac
1045ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1046
1047
1048 case $ac_mode in
1049 :F)
1050 #
1051 # CONFIG_FILE
1052 #
1053
1054 case $INSTALL in
1055 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1056 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1057 esac
1058# If the template does not know about datarootdir, expand it.
1059# FIXME: This hack should be removed a few years after 2.60.
1060ac_datarootdir_hack=; ac_datarootdir_seen=
1061ac_sed_dataroot='
1062/datarootdir/ {
1063 p
1064 q
1065}
1066/@datadir@/p
1067/@docdir@/p
1068/@infodir@/p
1069/@localedir@/p
1070/@mandir@/p'
1071case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1072*datarootdir*) ac_datarootdir_seen=yes;;
1073*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1075$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1076 ac_datarootdir_hack='
1077 s&@datadir@&${datarootdir}&g
1078 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1079 s&@infodir@&${datarootdir}/info&g
1080 s&@localedir@&${datarootdir}/locale&g
1081 s&@mandir@&${datarootdir}/man&g
1082 s&\${datarootdir}&${prefix}/share&g' ;;
1083esac
1084ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1085h
1086s///
1087s/^/:/
1088s/[ ]*$/:/
1089s/:\$(srcdir):/:/g
1090s/:\${srcdir}:/:/g
1091s/:@srcdir@:/:/g
1092s/^:*//
1093s/:*$//
1094x
1095s/\(=[ ]*\).*/\1/
1096G
1097s/\n//
1098s/^[^=]*=[ ]*$//
1099}
1100
1101:t
1102/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1103s|@configure_input@|$ac_sed_conf_input|;t t
1104s&@top_builddir@&$ac_top_builddir_sub&;t t
1105s&@top_build_prefix@&$ac_top_build_prefix&;t t
1106s&@srcdir@&$ac_srcdir&;t t
1107s&@abs_srcdir@&$ac_abs_srcdir&;t t
1108s&@top_srcdir@&$ac_top_srcdir&;t t
1109s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1110s&@builddir@&$ac_builddir&;t t
1111s&@abs_builddir@&$ac_abs_builddir&;t t
1112s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1113s&@INSTALL@&$ac_INSTALL&;t t
1114$ac_datarootdir_hack
1115"
1116eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1117 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1118
1119test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1120 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1121 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1122 "$ac_tmp/out"`; test -z "$ac_out"; } &&
1123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1124which seems to be undefined. Please make sure it is defined" >&5
1125$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1126which seems to be undefined. Please make sure it is defined" >&2;}
1127
1128 rm -f "$ac_tmp/stdin"
1129 case $ac_file in
1130 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1131 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1132 esac \
1133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1134 ;;
1135
1136
1137 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1138$as_echo "$as_me: executing $ac_file commands" >&6;}
1139 ;;
1140 esac
1141
1142
1143 case $ac_file$ac_mode in
1144 "libtool":C)
1145
1146 # See if we are running on zsh, and set the options which allow our
1147 # commands through without removal of \ escapes.
1148 if test -n "${ZSH_VERSION+set}" ; then
1149 setopt NO_GLOB_SUBST
1150 fi
1151
1152 cfgfile="${ofile}T"
1153 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1154 $RM "$cfgfile"
1155
1156 cat <<_LT_EOF >> "$cfgfile"
1157#! $SHELL
1158
1159# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1160# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1161# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1162# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1163#
1164# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1165# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1166# Foundation, Inc.
1167# Written by Gordon Matzigkeit, 1996
1168#
1169# This file is part of GNU Libtool.
1170#
1171# GNU Libtool is free software; you can redistribute it and/or
1172# modify it under the terms of the GNU General Public License as
1173# published by the Free Software Foundation; either version 2 of
1174# the License, or (at your option) any later version.
1175#
1176# As a special exception to the GNU General Public License,
1177# if you distribute this file as part of a program or library that
1178# is built using GNU Libtool, you may include this file under the
1179# same distribution terms that you use for the rest of that program.
1180#
1181# GNU Libtool is distributed in the hope that it will be useful,
1182# but WITHOUT ANY WARRANTY; without even the implied warranty of
1183# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1184# GNU General Public License for more details.
1185#
1186# You should have received a copy of the GNU General Public License
1187# along with GNU Libtool; see the file COPYING. If not, a copy
1188# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1189# obtained by writing to the Free Software Foundation, Inc.,
1190# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1191
1192
1193# The names of the tagged configurations supported by this script.
1194available_tags=""
1195
1196# ### BEGIN LIBTOOL CONFIG
1197
1198# Which release of libtool.m4 was used?
1199macro_version=$macro_version
1200macro_revision=$macro_revision
1201
1202# Whether or not to build shared libraries.
1203build_libtool_libs=$enable_shared
1204
1205# Whether or not to build static libraries.
1206build_old_libs=$enable_static
1207
1208# What type of objects to build.
1209pic_mode=$pic_mode
1210
1211# Whether or not to optimize for fast installation.
1212fast_install=$enable_fast_install
1213
1214# Shell to use when invoking shell scripts.
1215SHELL=$lt_SHELL
1216
1217# An echo program that protects backslashes.
1218ECHO=$lt_ECHO
1219
1220# The PATH separator for the build system.
1221PATH_SEPARATOR=$lt_PATH_SEPARATOR
1222
1223# The host system.
1224host_alias=$host_alias
1225host=$host
1226host_os=$host_os
1227
1228# The build system.
1229build_alias=$build_alias
1230build=$build
1231build_os=$build_os
1232
1233# A sed program that does not truncate output.
1234SED=$lt_SED
1235
1236# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1237Xsed="\$SED -e 1s/^X//"
1238
1239# A grep program that handles long lines.
1240GREP=$lt_GREP
1241
1242# An ERE matcher.
1243EGREP=$lt_EGREP
1244
1245# A literal string matcher.
1246FGREP=$lt_FGREP
1247
1248# A BSD- or MS-compatible name lister.
1249NM=$lt_NM
1250
1251# Whether we need soft or hard links.
1252LN_S=$lt_LN_S
1253
1254# What is the maximum length of a command?
1255max_cmd_len=$max_cmd_len
1256
1257# Object file suffix (normally "o").
1258objext=$ac_objext
1259
1260# Executable file suffix (normally "").
1261exeext=$exeext
1262
1263# whether the shell understands "unset".
1264lt_unset=$lt_unset
1265
1266# turn spaces into newlines.
1267SP2NL=$lt_lt_SP2NL
1268
1269# turn newlines into spaces.
1270NL2SP=$lt_lt_NL2SP
1271
1272# convert \$build file names to \$host format.
1273to_host_file_cmd=$lt_cv_to_host_file_cmd
1274
1275# convert \$build files to toolchain format.
1276to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1277
1278# An object symbol dumper.
1279OBJDUMP=$lt_OBJDUMP
1280
1281# Method to check whether dependent libraries are shared objects.
1282deplibs_check_method=$lt_deplibs_check_method
1283
1284# Command to use when deplibs_check_method = "file_magic".
1285file_magic_cmd=$lt_file_magic_cmd
1286
1287# How to find potential files when deplibs_check_method = "file_magic".
1288file_magic_glob=$lt_file_magic_glob
1289
1290# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
1291want_nocaseglob=$lt_want_nocaseglob
1292
1293# DLL creation program.
1294DLLTOOL=$lt_DLLTOOL
1295
1296# Command to associate shared and link libraries.
1297sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1298
1299# The archiver.
1300AR=$lt_AR
1301
1302# Flags to create an archive.
1303AR_FLAGS=$lt_AR_FLAGS
1304
1305# How to feed a file listing to the archiver.
1306archiver_list_spec=$lt_archiver_list_spec
1307
1308# A symbol stripping program.
1309STRIP=$lt_STRIP
1310
1311# Commands used to install an old-style archive.
1312RANLIB=$lt_RANLIB
1313old_postinstall_cmds=$lt_old_postinstall_cmds
1314old_postuninstall_cmds=$lt_old_postuninstall_cmds
1315
1316# Whether to use a lock for old archive extraction.
1317lock_old_archive_extraction=$lock_old_archive_extraction
1318
1319# A C compiler.
1320LTCC=$lt_CC
1321
1322# LTCC compiler flags.
1323LTCFLAGS=$lt_CFLAGS
1324
1325# Take the output of nm and produce a listing of raw symbols and C names.
1326global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1327
1328# Transform the output of nm in a proper C declaration.
1329global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1330
1331# Transform the output of nm in a C name address pair.
1332global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1333
1334# Transform the output of nm in a C name address pair when lib prefix is needed.
1335global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1336
1337# Specify filename containing input files for \$NM.
1338nm_file_list_spec=$lt_nm_file_list_spec
1339
1340# The root where to search for dependent libraries,and in which our libraries should be installed.
1341lt_sysroot=$lt_sysroot
1342
1343# The name of the directory that contains temporary libtool files.
1344objdir=$objdir
1345
1346# Used to examine libraries when file_magic_cmd begins with "file".
1347MAGIC_CMD=$MAGIC_CMD
1348
1349# Must we lock files when doing compilation?
1350need_locks=$lt_need_locks
1351
1352# Manifest tool.
1353MANIFEST_TOOL=$lt_MANIFEST_TOOL
1354
1355# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1356DSYMUTIL=$lt_DSYMUTIL
1357
1358# Tool to change global to local symbols on Mac OS X.
1359NMEDIT=$lt_NMEDIT
1360
1361# Tool to manipulate fat objects and archives on Mac OS X.
1362LIPO=$lt_LIPO
1363
1364# ldd/readelf like tool for Mach-O binaries on Mac OS X.
1365OTOOL=$lt_OTOOL
1366
1367# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1368OTOOL64=$lt_OTOOL64
1369
1370# Old archive suffix (normally "a").
1371libext=$libext
1372
1373# Shared library suffix (normally ".so").
1374shrext_cmds=$lt_shrext_cmds
1375
1376# The commands to extract the exported symbol list from a shared archive.
1377extract_expsyms_cmds=$lt_extract_expsyms_cmds
1378
1379# Variables whose values should be saved in libtool wrapper scripts and
1380# restored at link time.
1381variables_saved_for_relink=$lt_variables_saved_for_relink
1382
1383# Do we need the "lib" prefix for modules?
1384need_lib_prefix=$need_lib_prefix
1385
1386# Do we need a version for libraries?
1387need_version=$need_version
1388
1389# Library versioning type.
1390version_type=$version_type
1391
1392# Shared library runtime path variable.
1393runpath_var=$runpath_var
1394
1395# Shared library path variable.
1396shlibpath_var=$shlibpath_var
1397
1398# Is shlibpath searched before the hard-coded library search path?
1399shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1400
1401# Format of library name prefix.
1402libname_spec=$lt_libname_spec
1403
1404# List of archive names. First name is the real one, the rest are links.
1405# The last name is the one that the linker finds with -lNAME
1406library_names_spec=$lt_library_names_spec
1407
1408# The coded name of the library, if different from the real name.
1409soname_spec=$lt_soname_spec
1410
1411# Permission mode override for installation of shared libraries.
1412install_override_mode=$lt_install_override_mode
1413
1414# Command to use after installation of a shared archive.
1415postinstall_cmds=$lt_postinstall_cmds
1416
1417# Command to use after uninstallation of a shared archive.
1418postuninstall_cmds=$lt_postuninstall_cmds
1419
1420# Commands used to finish a libtool library installation in a directory.
1421finish_cmds=$lt_finish_cmds
1422
1423# As "finish_cmds", except a single script fragment to be evaled but
1424# not shown.
1425finish_eval=$lt_finish_eval
1426
1427# Whether we should hardcode library paths into libraries.
1428hardcode_into_libs=$hardcode_into_libs
1429
1430# Compile-time system search path for libraries.
1431sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1432
1433# Run-time system search path for libraries.
1434sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1435
1436# Whether dlopen is supported.
1437dlopen_support=$enable_dlopen
1438
1439# Whether dlopen of programs is supported.
1440dlopen_self=$enable_dlopen_self
1441
1442# Whether dlopen of statically linked programs is supported.
1443dlopen_self_static=$enable_dlopen_self_static
1444
1445# Commands to strip libraries.
1446old_striplib=$lt_old_striplib
1447striplib=$lt_striplib
1448
1449
1450# The linker used to build libraries.
1451LD=$lt_LD
1452
1453# How to create reloadable object files.
1454reload_flag=$lt_reload_flag
1455reload_cmds=$lt_reload_cmds
1456
1457# Commands used to build an old-style archive.
1458old_archive_cmds=$lt_old_archive_cmds
1459
1460# A language specific compiler.
1461CC=$lt_compiler
1462
1463# Is the compiler the GNU compiler?
1464with_gcc=$GCC
1465
1466# Compiler flag to turn off builtin functions.
1467no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1468
1469# Additional compiler flags for building library objects.
1470pic_flag=$lt_lt_prog_compiler_pic
1471
1472# How to pass a linker flag through the compiler.
1473wl=$lt_lt_prog_compiler_wl
1474
1475# Compiler flag to prevent dynamic linking.
1476link_static_flag=$lt_lt_prog_compiler_static
1477
1478# Does compiler simultaneously support -c and -o options?
1479compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1480
1481# Whether or not to add -lc for building shared libraries.
1482build_libtool_need_lc=$archive_cmds_need_lc
1483
1484# Whether or not to disallow shared libs when runtime libs are static.
1485allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1486
1487# Compiler flag to allow reflexive dlopens.
1488export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1489
1490# Compiler flag to generate shared objects directly from archives.
1491whole_archive_flag_spec=$lt_whole_archive_flag_spec
1492
1493# Whether the compiler copes with passing no objects directly.
1494compiler_needs_object=$lt_compiler_needs_object
1495
1496# Create an old-style archive from a shared archive.
1497old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1498
1499# Create a temporary old-style archive to link instead of a shared archive.
1500old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1501
1502# Commands used to build a shared archive.
1503archive_cmds=$lt_archive_cmds
1504archive_expsym_cmds=$lt_archive_expsym_cmds
1505
1506# Commands used to build a loadable module if different from building
1507# a shared archive.
1508module_cmds=$lt_module_cmds
1509module_expsym_cmds=$lt_module_expsym_cmds
1510
1511# Whether we are building with GNU ld or not.
1512with_gnu_ld=$lt_with_gnu_ld
1513
1514# Flag that allows shared libraries with undefined symbols to be built.
1515allow_undefined_flag=$lt_allow_undefined_flag
1516
1517# Flag that enforces no undefined symbols.
1518no_undefined_flag=$lt_no_undefined_flag
1519
1520# Flag to hardcode \$libdir into a binary during linking.
1521# This must work even if \$libdir does not exist
1522hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1523
1524# Whether we need a single "-rpath" flag with a separated argument.
1525hardcode_libdir_separator=$lt_hardcode_libdir_separator
1526
1527# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1528# DIR into the resulting binary.
1529hardcode_direct=$hardcode_direct
1530
1531# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1532# DIR into the resulting binary and the resulting library dependency is
1533# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1534# library is relocated.
1535hardcode_direct_absolute=$hardcode_direct_absolute
1536
1537# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1538# into the resulting binary.
1539hardcode_minus_L=$hardcode_minus_L
1540
1541# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1542# into the resulting binary.
1543hardcode_shlibpath_var=$hardcode_shlibpath_var
1544
1545# Set to "yes" if building a shared library automatically hardcodes DIR
1546# into the library and all subsequent libraries and executables linked
1547# against it.
1548hardcode_automatic=$hardcode_automatic
1549
1550# Set to yes if linker adds runtime paths of dependent libraries
1551# to runtime path list.
1552inherit_rpath=$inherit_rpath
1553
1554# Whether libtool must link a program against all its dependency libraries.
1555link_all_deplibs=$link_all_deplibs
1556
1557# Set to "yes" if exported symbols are required.
1558always_export_symbols=$always_export_symbols
1559
1560# The commands to list exported symbols.
1561export_symbols_cmds=$lt_export_symbols_cmds
1562
1563# Symbols that should not be listed in the preloaded symbols.
1564exclude_expsyms=$lt_exclude_expsyms
1565
1566# Symbols that must always be exported.
1567include_expsyms=$lt_include_expsyms
1568
1569# Commands necessary for linking programs (against libraries) with templates.
1570prelink_cmds=$lt_prelink_cmds
1571
1572# Commands necessary for finishing linking programs.
1573postlink_cmds=$lt_postlink_cmds
1574
1575# Specify filename containing input files.
1576file_list_spec=$lt_file_list_spec
1577
1578# How to hardcode a shared library path into an executable.
1579hardcode_action=$hardcode_action
1580
1581# ### END LIBTOOL CONFIG
1582
1583_LT_EOF
1584
1585 case $host_os in
1586 aix3*)
1587 cat <<\_LT_EOF >> "$cfgfile"
1588# AIX sometimes has problems with the GCC collect2 program. For some
1589# reason, if we set the COLLECT_NAMES environment variable, the problems
1590# vanish in a puff of smoke.
1591if test "X${COLLECT_NAMES+set}" != Xset; then
1592 COLLECT_NAMES=
1593 export COLLECT_NAMES
1594fi
1595_LT_EOF
1596 ;;
1597 esac
1598
1599
1600ltmain="$ac_aux_dir/ltmain.sh"
1601
1602
1603 # We use sed instead of cat because bash on DJGPP gets confused if
1604 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1605 # text mode, it properly converts lines to CR/LF. This bash problem
1606 # is reportedly fixed, but why not run on old versions too?
1607 sed '$q' "$ltmain" >> "$cfgfile" \
1608 || (rm -f "$cfgfile"; exit 1)
1609
1610 if test x"$xsi_shell" = xyes; then
1611 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
1612func_dirname ()\
1613{\
1614\ case ${1} in\
1615\ */*) func_dirname_result="${1%/*}${2}" ;;\
1616\ * ) func_dirname_result="${3}" ;;\
1617\ esac\
1618} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
1619 && mv -f "$cfgfile.tmp" "$cfgfile" \
1620 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1621test 0 -eq $? || _lt_function_replace_fail=:
1622
1623
1624 sed -e '/^func_basename ()$/,/^} # func_basename /c\
1625func_basename ()\
1626{\
1627\ func_basename_result="${1##*/}"\
1628} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
1629 && mv -f "$cfgfile.tmp" "$cfgfile" \
1630 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1631test 0 -eq $? || _lt_function_replace_fail=:
1632
1633
1634 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
1635func_dirname_and_basename ()\
1636{\
1637\ case ${1} in\
1638\ */*) func_dirname_result="${1%/*}${2}" ;;\
1639\ * ) func_dirname_result="${3}" ;;\
1640\ esac\
1641\ func_basename_result="${1##*/}"\
1642} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
1643 && mv -f "$cfgfile.tmp" "$cfgfile" \
1644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1645test 0 -eq $? || _lt_function_replace_fail=:
1646
1647
1648 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
1649func_stripname ()\
1650{\
1651\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
1652\ # positional parameters, so assign one to ordinary parameter first.\
1653\ func_stripname_result=${3}\
1654\ func_stripname_result=${func_stripname_result#"${1}"}\
1655\ func_stripname_result=${func_stripname_result%"${2}"}\
1656} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
1657 && mv -f "$cfgfile.tmp" "$cfgfile" \
1658 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1659test 0 -eq $? || _lt_function_replace_fail=:
1660
1661
1662 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
1663func_split_long_opt ()\
1664{\
1665\ func_split_long_opt_name=${1%%=*}\
1666\ func_split_long_opt_arg=${1#*=}\
1667} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
1668 && mv -f "$cfgfile.tmp" "$cfgfile" \
1669 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1670test 0 -eq $? || _lt_function_replace_fail=:
1671
1672
1673 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
1674func_split_short_opt ()\
1675{\
1676\ func_split_short_opt_arg=${1#??}\
1677\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
1678} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
1679 && mv -f "$cfgfile.tmp" "$cfgfile" \
1680 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1681test 0 -eq $? || _lt_function_replace_fail=:
1682
1683
1684 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
1685func_lo2o ()\
1686{\
1687\ case ${1} in\
1688\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
1689\ *) func_lo2o_result=${1} ;;\
1690\ esac\
1691} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
1692 && mv -f "$cfgfile.tmp" "$cfgfile" \
1693 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1694test 0 -eq $? || _lt_function_replace_fail=:
1695
1696
1697 sed -e '/^func_xform ()$/,/^} # func_xform /c\
1698func_xform ()\
1699{\
1700 func_xform_result=${1%.*}.lo\
1701} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
1702 && mv -f "$cfgfile.tmp" "$cfgfile" \
1703 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1704test 0 -eq $? || _lt_function_replace_fail=:
1705
1706
1707 sed -e '/^func_arith ()$/,/^} # func_arith /c\
1708func_arith ()\
1709{\
1710 func_arith_result=$(( $* ))\
1711} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
1712 && mv -f "$cfgfile.tmp" "$cfgfile" \
1713 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1714test 0 -eq $? || _lt_function_replace_fail=:
1715
1716
1717 sed -e '/^func_len ()$/,/^} # func_len /c\
1718func_len ()\
1719{\
1720 func_len_result=${#1}\
1721} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
1722 && mv -f "$cfgfile.tmp" "$cfgfile" \
1723 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1724test 0 -eq $? || _lt_function_replace_fail=:
1725
1726fi
1727
1728if test x"$lt_shell_append" = xyes; then
1729 sed -e '/^func_append ()$/,/^} # func_append /c\
1730func_append ()\
1731{\
1732 eval "${1}+=\\${2}"\
1733} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
1734 && mv -f "$cfgfile.tmp" "$cfgfile" \
1735 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1736test 0 -eq $? || _lt_function_replace_fail=:
1737
1738
1739 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
1740func_append_quoted ()\
1741{\
1742\ func_quote_for_eval "${2}"\
1743\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
1744} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
1745 && mv -f "$cfgfile.tmp" "$cfgfile" \
1746 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1747test 0 -eq $? || _lt_function_replace_fail=:
1748
1749
1750 # Save a `func_append' function call where possible by direct use of '+='
1751 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
1752 && mv -f "$cfgfile.tmp" "$cfgfile" \
1753 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1754 test 0 -eq $? || _lt_function_replace_fail=:
1755else
1756 # Save a `func_append' function call even when '+=' is not available
1757 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
1758 && mv -f "$cfgfile.tmp" "$cfgfile" \
1759 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1760 test 0 -eq $? || _lt_function_replace_fail=:
1761fi
1762
1763if test x"$_lt_function_replace_fail" = x":"; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
1765$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1766fi
1767
1768
1769 mv -f "$cfgfile" "$ofile" ||
1770 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1771 chmod +x "$ofile"
1772
1773 ;;
1774
1775 esac
1776done # for ac_tag
1777
1778
1779as_fn_exit 0