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.
11 SHELL=${CONFIG_SHELL-/bin/sh}
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # as_fn_error 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.
144 as_status=$?; test $as_status -eq 0 && as_status=1
146 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
149 $as_echo "$as_me: error: $1" >&2
150 as_fn_exit $as_status
154 # as_fn_set_status STATUS
155 # -----------------------
156 # Set $? to STATUS, without forking.
164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
174 # Portably unset VAR.
177 { eval $1=; unset $1;}
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
186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187 eval 'as_fn_append ()
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 :
211 as_val=`expr "$@" || test $? -eq 1`
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
235 as_me=`$as_basename -- "$0" ||
236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237 X"$0" : 'X\(//\)$' \| \
238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
261 ECHO_C= ECHO_N= ECHO_T=
262 case `echo -n x` in #(((((
264 case `echo 'xy\c'` in
265 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
274 rm -f conf$$ conf$$.exe conf$$.file
275 if test -d conf$$.dir; then
276 rm -f conf$$.dir/conf$$.file
279 mkdir conf$$.dir 2>/dev/null
281 if (echo >conf$$.file) 2>/dev/null; then
282 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
290 elif ln conf$$.file conf$$ 2>/dev/null; then
298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299 rmdir conf$$.dir 2>/dev/null
304 # Create "$as_dir" as a directory, including parents if necessary.
309 -*) as_dir=./$as_dir;;
311 test -d "$as_dir" || eval $as_mkdir_p || {
315 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
342 test -d "$as_dir" && break
344 test -z "$as_dirs" || eval "mkdir $as_dirs"
345 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
349 if mkdir -p . 2>/dev/null; then
350 as_mkdir_p='mkdir -p "$as_dir"'
352 test -d ./-p && rmdir ./-p
356 if test -x / >/dev/null 2>&1; then
359 if ls -dL / >/dev/null 2>&1; then
366 if test -d "$1"; then
372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373 ???[sx]*):;;*)false;;esac;fi
377 as_executable_p=$as_test_x
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'"
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'"
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.
394 This file was extended by bfd $as_me 2.24.51, which was
395 generated by GNU Autoconf 2.64. Invocation command line was
397 CONFIG_FILES = $CONFIG_FILES
398 CONFIG_HEADERS = $CONFIG_HEADERS
399 CONFIG_LINKS = $CONFIG_LINKS
400 CONFIG_COMMANDS = $CONFIG_COMMANDS
403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
406 # Files that config.status was made for.
407 config_files=" Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
408 config_headers=" config.h:config.in"
409 config_commands=" depfiles libtool default-1 bfd_stdint.h default"
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.
416 Usage: $0 [OPTION]... [TAG]...
418 -h, --help print this help, then exit
419 -V, --version print version number and configuration settings, then exit
420 -q, --quiet, --silent
421 do not print progress messages
422 -d, --debug don't remove temporary files
423 --recheck update $as_me by reconfiguring in the same conditions
424 --file=FILE[:TEMPLATE]
425 instantiate the configuration file FILE
426 --header=FILE[:TEMPLATE]
427 instantiate the configuration header FILE
432 Configuration headers:
435 Configuration commands:
438 Report bugs to the package provider."
441 bfd config.status 2.24.51
442 configured by /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/bfd/configure, generated by GNU Autoconf 2.64,
443 with options \"'--cache-file=./config.cache' '--with-system-zlib' '--prefix=/Users/tacyas/Eos/util/X86MAC64' '--program-transform-name=s,y,y,' '--disable-option-checking' '--build=x86_64-apple-darwin13.2.0' '--host=x86_64-apple-darwin13.2.0' '--target=x86_64-apple-darwin13.2.0' '--srcdir=.././bfd' 'build_alias=x86_64-apple-darwin13.2.0' 'host_alias=x86_64-apple-darwin13.2.0' 'target_alias=x86_64-apple-darwin13.2.0' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS= -Wl,-no_pie '\"
445 Copyright (C) 2009 Free Software Foundation, Inc.
446 This config.status script is free software; the Free Software Foundation
447 gives unlimited permission to copy, distribute and modify it."
449 ac_pwd='/Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/bfd'
451 INSTALL='/usr/bin/install -c'
452 MKDIR_P='./../install-sh -c -d'
454 test -n "$AWK" || AWK=awk
455 # The default lists apply if the user does not specify any file.
461 ac_option=`expr "X$1" : 'X\([^=]*\)='`
462 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
473 # Handling of the options.
474 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
476 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
477 $as_echo "$ac_cs_version"; exit ;;
478 --debug | --debu | --deb | --de | --d | -d )
480 --file | --fil | --fi | --f )
483 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
485 as_fn_append CONFIG_FILES " '$ac_optarg'"
486 ac_need_defaults=false;;
487 --header | --heade | --head | --hea )
490 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
492 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
493 ac_need_defaults=false;;
495 # Conflict between --help and --header
496 as_fn_error "ambiguous option: \`$1'
497 Try \`$0 --help' for more information.";;
498 --help | --hel | -h )
499 $as_echo "$ac_cs_usage"; exit ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil | --si | --s)
505 -*) as_fn_error "unrecognized option: \`$1'
506 Try \`$0 --help' for more information." ;;
508 *) as_fn_append ac_config_targets " $1"
509 ac_need_defaults=false ;;
515 ac_configure_extra_args=
517 if $ac_cs_silent; then
519 ac_configure_extra_args="$ac_configure_extra_args --silent"
522 if $ac_cs_recheck; then
523 set X '/bin/sh' '/Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/bfd/configure' '--cache-file=./config.cache' '--with-system-zlib' '--prefix=/Users/tacyas/Eos/util/X86MAC64' '--program-transform-name=s,y,y,' '--disable-option-checking' '--build=x86_64-apple-darwin13.2.0' '--host=x86_64-apple-darwin13.2.0' '--target=x86_64-apple-darwin13.2.0' '--srcdir=.././bfd' 'build_alias=x86_64-apple-darwin13.2.0' 'host_alias=x86_64-apple-darwin13.2.0' 'target_alias=x86_64-apple-darwin13.2.0' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS= -Wl,-no_pie ' $ac_configure_extra_args --no-create --no-recursion
525 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
526 CONFIG_SHELL='/bin/sh'
534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
535 ## Running $as_me. ##
543 AMDEP_TRUE="" ac_aux_dir="./.."
546 # The HP-UX ksh and POSIX shell print the target directory to stdout
548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
550 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
551 double_quote_subst='s/\(["`\\]\)/\\\1/g'
552 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
554 macro_version='2.2.7a'
555 macro_revision='1.3134'
558 enable_fast_install='needless'
561 host_alias='x86_64-apple-darwin13.2.0'
562 host='x86_64-apple-darwin13.2.0'
563 host_os='darwin13.2.0'
564 build_alias='x86_64-apple-darwin13.2.0'
565 build='x86_64-apple-darwin13.2.0'
566 build_os='darwin13.2.0'
568 Xsed='/usr/bin/sed -e 1s/^X//'
570 EGREP='/usr/bin/grep -E'
571 FGREP='/usr/bin/grep -F'
572 LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
579 lt_SP2NL='tr \040 \012'
580 lt_NL2SP='tr \015\012 \040\040'
582 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
584 deplibs_check_method='pass_all'
585 file_magic_cmd='$MAGIC_CMD'
590 old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
591 old_postuninstall_cmds=''
592 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
593 lock_old_archive_extraction='yes'
598 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'''
599 lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
600 lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
601 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
604 lt_prog_compiler_no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
605 lt_prog_compiler_wl='-Wl,'
606 lt_prog_compiler_pic=' -fno-common -DPIC'
607 lt_prog_compiler_static=''
608 lt_cv_prog_compiler_c_o='yes'
616 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
617 extract_expsyms_cmds=''
618 archive_cmds_need_lc='no'
619 enable_shared_with_static_runtimes='no'
620 export_dynamic_flag_spec=''
621 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
622 compiler_needs_object='no'
623 old_archive_from_new_cmds=''
624 old_archive_from_expsyms_cmds=''
625 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module'
626 archive_expsym_cmds='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
627 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags'
628 module_expsym_cmds='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
630 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
632 hardcode_libdir_flag_spec=''
633 hardcode_libdir_flag_spec_ld=''
634 hardcode_libdir_separator=''
636 hardcode_direct_absolute='no'
637 hardcode_minus_L='no'
638 hardcode_shlibpath_var='unsupported'
639 hardcode_automatic='yes'
641 link_all_deplibs='yes'
643 always_export_symbols='no'
644 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
645 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
649 variables_saved_for_relink='PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
652 version_type='darwin'
654 shlibpath_var='DYLD_LIBRARY_PATH'
655 shlibpath_overrides_runpath='yes'
656 libname_spec='lib$name'
657 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
658 soname_spec='${libname}${release}${major}$shared_ext'
659 install_override_mode=''
661 postuninstall_cmds=''
664 hardcode_into_libs='no'
665 sys_lib_search_path_spec='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1 /usr/local/lib'
666 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
667 hardcode_action='immediate'
669 enable_dlopen_self='yes'
670 enable_dlopen_self_static='yes'
671 old_striplib='strip -S'
678 # A function that is used when there is no print builtin or printf.
679 func_fallback_echo ()
681 eval 'cat <<_LTECHO_EOF
686 # Quote evaled strings.
687 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
688 case `eval \\$ECHO \\""\\$$var"\\"` in
690 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
693 eval "lt_$var=\\\"\$$var\\\""
698 # Double-quote double-evaled strings.
699 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
700 case `eval \\$ECHO \\""\\$$var"\\"` in
702 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
705 eval "lt_$var=\\\"\$$var\\\""
712 lt_shell_append='yes'
714 # See if we are running on zsh, and set the options which allow our
715 # commands through without removal of \ escapes INIT.
716 if test -n "${ZSH_VERSION+set}" ; then
729 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
730 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
732 eval 'OBSOLETE_ALL_LINGUAS''="fr tr ja es sv da zh_CN ro rw vi fi id ru uk"'
733 # Capture the value of LINGUAS because we need it to compute CATALOGS.
734 LINGUAS=" da es fi fr id ja ro ru rw sv tr uk vi zh_CN da es fi fr id ja ro ru rw sv tr uk vi zh_CN"
739 acx_cv_header_stdint="stdint.h"
740 acx_cv_type_int8_t=""
741 acx_cv_type_int16_t=""
742 acx_cv_type_int32_t=""
743 acx_cv_type_int64_t=""
744 acx_cv_type_intptr_t=""
745 ac_cv_type_uintmax_t="yes"
746 ac_cv_type_uintptr_t="yes"
747 ac_cv_type_uint64_t="yes"
748 ac_cv_type_u_int64_t="no"
749 ac_cv_type_u_int32_t=""
750 ac_cv_type_int_least32_t="yes"
751 ac_cv_type_int_fast32_t="yes"
752 ac_cv_sizeof_void_p="8"
757 # Handling of arguments.
758 for ac_config_target in $ac_config_targets
760 case $ac_config_target in
761 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
762 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
763 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
764 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
765 "bfd_stdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS bfd_stdint.h" ;;
766 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
767 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
768 "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
769 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
770 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
772 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
777 # If the user did not use the arguments to specify the items to instantiate,
778 # then the envvar interface is used. Set only those that are not.
779 # We use the long form for the default assignment because of an extremely
780 # bizarre bug on SunOS 4.1.3.
781 if $ac_need_defaults; then
782 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
783 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
784 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
787 # Have a temporary directory for convenience. Make it in the build tree
788 # simply because there is no reason against having it here, and in addition,
789 # creating and moving files from /tmp can sometimes cause problems.
790 # Hook for its removal unless debugging.
791 # Note that there is a small window in which the directory will not be cleaned:
792 # after its creation but before its name has been assigned to `$tmp'.
797 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
799 trap 'as_fn_exit 1' 1 2 13 15
801 # Create a (secure) tmp directory for tmp files.
804 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
805 test -n "$tmp" && test -d "$tmp"
809 (umask 077 && mkdir "$tmp")
810 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
812 # Set up the scripts for CONFIG_FILES section.
813 # No need to generate them if there are no CONFIG_FILES.
814 # This happens for instance with `./config.status config.h'.
815 if test -n "$CONFIG_FILES"; then
818 ac_cr=`echo X | tr X '\015'`
819 # On cygwin, bash can eat \r inside `` if the user requested igncr.
820 # But we know of no other shell where ac_cr would be empty at this
821 # point, so we can use a bashism as a fallback.
822 if test "x$ac_cr" = x; then
825 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
826 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
832 echo 'BEGIN {' >"$tmp/subs1.awk" &&
833 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
834 S["am__EXEEXT_FALSE"]=""
835 S["am__EXEEXT_TRUE"]="#"
838 S["havevecs"]="-DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec -DHAVE_mach_o_le_vec -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec -DHAVE_pef_vec -DHAVE_pef_xlib_vec -"\
840 S["tdefaults"]=" -DDEFAULT_VECTOR=mach_o_x86_64_vec -DSELECT_VECS='&mach_o_x86_64_vec,&mach_o_i386_vec,&mach_o_le_vec,&mach_o_be_vec,&mach_o_fat_vec,&pef_vec,&pef_x"\
841 "lib_vec,&sym_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch,&bfd_powerpc_arch,&bfd_rs6000_arch'"
842 S["bfd_ufile_ptr"]="BFD_HOST_U_64_BIT"
843 S["bfd_file_ptr"]="BFD_HOST_64_BIT"
844 S["lt_cv_dlopen_libs"]="-ldl"
845 S["supports_plugins"]="0"
846 S["bfd_default_target_size"]="32"
847 S["bfd_machines"]=" cpu-i386.lo cpu-powerpc.lo cpu-rs6000.lo"
848 S["bfd_backends"]=" mach-o-x86-64.lo mach-o-i386.lo mach-o.lo pef.lo xsym.lo"
849 S["all_backends"]="$(BFD64_BACKENDS) $(BFD32_BACKENDS)"
850 S["bfd64_libs"]="$(BFD64_LIBS)"
853 S["SHARED_LIBADD"]=""
854 S["SHARED_LDFLAGS"]=""
858 S["EXEEXT_FOR_BUILD"]="$(EXEEXT)"
859 S["CC_FOR_BUILD"]="gcc"
860 S["BFD_HOSTPTR_T"]="unsigned long"
861 S["BFD_HOST_U_64_BIT"]="unsigned long"
862 S["BFD_HOST_64_BIT"]="long"
863 S["BFD_HOST_64_BIT_DEFINED"]="1"
864 S["BFD_HOST_64BIT_LONG_LONG"]="0"
865 S["BFD_HOST_64BIT_LONG"]="1"
867 S["MSGMERGE"]="/sw/bin/msgmerge"
868 S["MSGFMT"]="/sw/bin/msgfmt"
869 S["MKINSTALLDIRS"]="$(top_builddir)/./../mkinstalldirs"
870 S["CATOBJEXT"]=".gmo"
872 S["INSTOBJEXT"]=".mo"
873 S["DATADIRNAME"]="share"
874 S["CATALOGS"]=" da.gmo es.gmo fi.gmo fr.gmo id.gmo ja.gmo ro.gmo ru.gmo rw.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo da.gmo es.gmo fi.gmo fr.gmo id.gmo ja.gmo ro.g"\
875 "mo ru.gmo rw.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo"
877 S["GMSGFMT"]="/sw/bin/msgfmt"
878 S["XGETTEXT"]="/sw/bin/xgettext"
879 S["INCINTL"]="-I${top_builddir}/../intl"
880 S["LIBINTL_DEP"]="${top_builddir}/../intl/libintl.a"
881 S["LIBINTL"]="${top_builddir}/../intl/libintl.a -liconv"
883 S["bfdincludedir"]="$(includedir)"
884 S["bfdlibdir"]="$(libdir)"
885 S["target_noncanonical"]="x86_64-apple-darwin13.2.0"
886 S["host_noncanonical"]="x86_64-apple-darwin13.2.0"
887 S["INSTALL_LIBBFD_FALSE"]="#"
888 S["INSTALL_LIBBFD_TRUE"]=""
889 S["GENINSRC_NEVER_FALSE"]=""
890 S["GENINSRC_NEVER_TRUE"]="#"
892 S["MAINTAINER_MODE_FALSE"]=""
893 S["MAINTAINER_MODE_TRUE"]="#"
894 S["NO_WERROR"]="-Wno-error"
895 S["WARN_CFLAGS"]="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror"
896 S["REPORT_BUGS_TEXI"]="@uref{http://www.sourceware.org/bugzilla/}"
897 S["REPORT_BUGS_TO"]="<http://www.sourceware.org/bugzilla/>"
898 S["PKGVERSION"]="(GNU Binutils) "
899 S["DEBUGDIR"]="${exec_prefix}/lib/debug"
900 S["PLUGINS_FALSE"]=""
901 S["PLUGINS_TRUE"]="#"
906 S["DSYMUTIL"]="dsymutil"
907 S["OBJDUMP"]="objdump"
910 S["ac_ct_DUMPBIN"]=""
912 S["LD"]="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
913 S["FGREP"]="/usr/bin/grep -F"
914 S["SED"]="/usr/bin/sed"
915 S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
916 S["EGREP"]="/usr/bin/grep -E"
917 S["GREP"]="/usr/bin/grep"
921 S["am__fastdepCC_FALSE"]="#"
922 S["am__fastdepCC_TRUE"]=""
923 S["CCDEPMODE"]="depmode=gcc3"
924 S["AMDEPBACKSLASH"]="\\"
928 S["am__include"]="include"
930 S["am__untar"]="${AMTAR} xf -"
931 S["am__tar"]="${AMTAR} chof - \"$$tardir\""
932 S["AMTAR"]="${SHELL} /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/missing --run tar"
933 S["am__leading_dot"]="."
936 S["mkdir_p"]="$(top_builddir)/./../install-sh -c -d"
937 S["MKDIR_P"]="./../install-sh -c -d"
938 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
940 S["install_sh"]="${SHELL} /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/install-sh"
941 S["MAKEINFO"]="makeinfo --split-size=5000000"
942 S["AUTOHEADER"]="${SHELL} /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/missing --run autoheader"
943 S["AUTOMAKE"]="${SHELL} /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/missing --run automake-1.11"
944 S["AUTOCONF"]="${SHELL} /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/missing --run autoconf"
945 S["ACLOCAL"]="${SHELL} /Users/tacyas/Eos/util/srcX86MAC64/Admin/gdb-7.7.1/missing --run aclocal-1.11"
946 S["VERSION"]="2.24.51"
948 S["CYGPATH_W"]="echo"
950 S["INSTALL_DATA"]="/usr/bin/install -c -m 644"
951 S["INSTALL_SCRIPT"]="/usr/bin/install -c"
952 S["INSTALL_PROGRAM"]="/usr/bin/install -c"
957 S["LDFLAGS"]=" -Wl,-no_pie "
960 S["target_os"]="darwin13.2.0"
961 S["target_vendor"]="apple"
962 S["target_cpu"]="x86_64"
963 S["target"]="x86_64-apple-darwin13.2.0"
964 S["host_os"]="darwin13.2.0"
965 S["host_vendor"]="apple"
966 S["host_cpu"]="x86_64"
967 S["host"]="x86_64-apple-darwin13.2.0"
968 S["build_os"]="darwin13.2.0"
969 S["build_vendor"]="apple"
970 S["build_cpu"]="x86_64"
971 S["build"]="x86_64-apple-darwin13.2.0"
972 S["target_alias"]="x86_64-apple-darwin13.2.0"
973 S["host_alias"]="x86_64-apple-darwin13.2.0"
974 S["build_alias"]="x86_64-apple-darwin13.2.0"
979 S["DEFS"]="-DHAVE_CONFIG_H"
980 S["mandir"]="${datarootdir}/man"
981 S["localedir"]="${datarootdir}/locale"
982 S["libdir"]="${exec_prefix}/lib"
983 S["psdir"]="${docdir}"
984 S["pdfdir"]="${docdir}"
985 S["dvidir"]="${docdir}"
986 S["htmldir"]="${docdir}"
987 S["infodir"]="${datarootdir}/info"
988 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
989 S["oldincludedir"]="/usr/include"
990 S["includedir"]="${prefix}/include"
991 S["localstatedir"]="${prefix}/var"
992 S["sharedstatedir"]="${prefix}/com"
993 S["sysconfdir"]="${prefix}/etc"
994 S["datadir"]="${datarootdir}"
995 S["datarootdir"]="${prefix}/share"
996 S["libexecdir"]="${exec_prefix}/libexec"
997 S["sbindir"]="${exec_prefix}/sbin"
998 S["bindir"]="${exec_prefix}/bin"
999 S["program_transform_name"]="s,y,y,"
1000 S["prefix"]="/Users/tacyas/Eos/util/X86MAC64"
1001 S["exec_prefix"]="${prefix}"
1003 S["PACKAGE_BUGREPORT"]=""
1004 S["PACKAGE_STRING"]="bfd 2.24.51"
1005 S["PACKAGE_VERSION"]="2.24.51"
1006 S["PACKAGE_TARNAME"]="bfd"
1007 S["PACKAGE_NAME"]="bfd"
1008 S["PATH_SEPARATOR"]=":"
1009 S["SHELL"]="/bin/sh"
1011 cat >>"$tmp/subs1.awk" <<_ACAWK &&
1012 for (key in S) S_is_set[key] = 1
1018 nfields = split(line, field, "@")
1020 len = length(field[1])
1021 for (i = 2; i < nfields; i++) {
1023 keylen = length(key)
1024 if (S_is_set[key]) {
1026 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
1027 len += length(value) + length(field[++i])
1037 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
1038 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1041 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
1042 || as_fn_error "could not setup config files machinery" "$LINENO" 5
1043 fi # test -n "$CONFIG_FILES"
1045 # Set up the scripts for CONFIG_HEADERS section.
1046 # No need to generate them if there are no CONFIG_HEADERS.
1047 # This happens for instance with `./config.status Makefile'.
1048 if test -n "$CONFIG_HEADERS"; then
1049 cat >"$tmp/defines.awk" <<\_ACAWK ||
1051 D["PACKAGE_NAME"]=" \"bfd\""
1052 D["PACKAGE_TARNAME"]=" \"bfd\""
1053 D["PACKAGE_VERSION"]=" \"2.24.51\""
1054 D["PACKAGE_STRING"]=" \"bfd 2.24.51\""
1055 D["PACKAGE_BUGREPORT"]=" \"\""
1056 D["PACKAGE_URL"]=" \"\""
1057 D["PACKAGE"]=" \"bfd\""
1058 D["VERSION"]=" \"2.24.51\""
1059 D["STDC_HEADERS"]=" 1"
1060 D["HAVE_SYS_TYPES_H"]=" 1"
1061 D["HAVE_SYS_STAT_H"]=" 1"
1062 D["HAVE_STDLIB_H"]=" 1"
1063 D["HAVE_STRING_H"]=" 1"
1064 D["HAVE_MEMORY_H"]=" 1"
1065 D["HAVE_STRINGS_H"]=" 1"
1066 D["HAVE_INTTYPES_H"]=" 1"
1067 D["HAVE_STDINT_H"]=" 1"
1068 D["HAVE_UNISTD_H"]=" 1"
1069 D["__EXTENSIONS__"]=" 1"
1070 D["_ALL_SOURCE"]=" 1"
1071 D["_GNU_SOURCE"]=" 1"
1072 D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
1073 D["_TANDEM_SOURCE"]=" 1"
1074 D["HAVE_DLFCN_H"]=" 1"
1075 D["LT_OBJDIR"]=" \".libs/\""
1076 D["ENABLE_NLS"]=" 1"
1077 D["SIZEOF_LONG_LONG"]=" 8"
1078 D["SIZEOF_VOID_P"]=" 8"
1079 D["SIZEOF_LONG"]=" 8"
1080 D["HAVE_ALLOCA_H"]=" 1"
1081 D["HAVE_STDDEF_H"]=" 1"
1082 D["HAVE_STRING_H"]=" 1"
1083 D["HAVE_STRINGS_H"]=" 1"
1084 D["HAVE_STDLIB_H"]=" 1"
1085 D["HAVE_TIME_H"]=" 1"
1086 D["HAVE_UNISTD_H"]=" 1"
1087 D["HAVE_WCHAR_H"]=" 1"
1088 D["HAVE_FCNTL_H"]=" 1"
1089 D["HAVE_SYS_FILE_H"]=" 1"
1090 D["HAVE_SYS_TIME_H"]=" 1"
1091 D["HAVE_SYS_STAT_H"]=" 1"
1092 D["HAVE_SYS_RESOURCE_H"]=" 1"
1093 D["TIME_WITH_SYS_TIME"]=" 1"
1094 D["HAVE_DIRENT_H"]=" 1"
1095 D["HAVE_DLFCN_H"]=" 1"
1096 D["STRING_WITH_STRINGS"]=" 1"
1097 D["HAVE_FCNTL"]=" 1"
1098 D["HAVE_GETPAGESIZE"]=" 1"
1099 D["HAVE_SETITIMER"]=" 1"
1100 D["HAVE_SYSCONF"]=" 1"
1101 D["HAVE_FDOPEN"]=" 1"
1102 D["HAVE_GETUID"]=" 1"
1103 D["HAVE_GETGID"]=" 1"
1104 D["HAVE_FILENO"]=" 1"
1105 D["HAVE_STRTOULL"]=" 1"
1106 D["HAVE_GETRLIMIT"]=" 1"
1107 D["HAVE_DECL_BASENAME"]=" 0"
1108 D["HAVE_DECL_FTELLO"]=" 1"
1109 D["HAVE_DECL_FTELLO64"]=" 0"
1110 D["HAVE_DECL_FSEEKO"]=" 1"
1111 D["HAVE_DECL_FSEEKO64"]=" 0"
1112 D["HAVE_DECL_FFS"]=" 1"
1113 D["HAVE_DECL_FREE"]=" 1"
1114 D["HAVE_DECL_GETENV"]=" 1"
1115 D["HAVE_DECL_MALLOC"]=" 1"
1116 D["HAVE_DECL_REALLOC"]=" 1"
1117 D["HAVE_DECL_STPCPY"]=" 1"
1118 D["HAVE_DECL_STRSTR"]=" 1"
1119 D["HAVE_DECL_SNPRINTF"]=" 1"
1120 D["HAVE_DECL_VSNPRINTF"]=" 1"
1121 D["HAVE_ZLIB_H"]=" 1"
1122 D["HAVE_FTELLO"]=" 1"
1123 D["HAVE_FSEEKO"]=" 1"
1124 D["SIZEOF_OFF_T"]=" 8"
1125 D["HAVE_STDLIB_H"]=" 1"
1126 D["HAVE_UNISTD_H"]=" 1"
1127 D["HAVE_GETPAGESIZE"]=" 1"
1129 D["HAVE_MADVISE"]=" 1"
1130 D["HAVE_MPROTECT"]=" 1"
1131 for (key in D) D_is_set[key] = 1
1134 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1136 split(line, arg, " ")
1137 if (arg[1] == "#") {
1141 defundef = substr(arg[1], 2)
1144 split(mac1, mac2, "(") #)
1146 prefix = substr(line, 1, index(line, defundef) - 1)
1147 if (D_is_set[macro]) {
1148 # Preserve the white space surrounding the "#".
1149 print prefix "define", macro P[macro] D[macro]
1152 # Replace #undef with comments. This is necessary, for example,
1153 # in the case of _POSIX_SOURCE, which is predefined and required
1154 # on some systems where configure will not decide to define it.
1155 if (defundef == "undef") {
1156 print "/*", prefix defundef, macro, "*/"
1163 as_fn_error "could not setup config headers machinery" "$LINENO" 5
1164 fi # test -n "$CONFIG_HEADERS"
1167 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1172 :[FHLC]) ac_mode=$ac_tag; continue;;
1174 case $ac_mode$ac_tag in
1176 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1177 :[FH]-) ac_tag=-:-;;
1178 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1195 -) ac_f="$tmp/stdin";;
1196 *) # Look for the file first in the build tree, then in the source tree
1197 # (if the path is not absolute). The absolute path cannot be DOS-style,
1198 # because $ac_f cannot contain `:'.
1202 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1204 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1206 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1207 as_fn_append ac_file_inputs " '$ac_f'"
1210 # Let's still pretend it is `configure' which instantiates (i.e., don't
1211 # use $as_me), people would be surprised to read:
1212 # /* config.h. Generated by config.status. */
1213 configure_input='Generated from '`
1214 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1216 if test x"$ac_file" != x-; then
1217 configure_input="$ac_file. $configure_input"
1218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1219 $as_echo "$as_me: creating $ac_file" >&6;}
1221 # Neutralize special characters interpreted by sed in replacement strings.
1222 case $configure_input in #(
1223 *\&* | *\|* | *\\* )
1224 ac_sed_conf_input=`$as_echo "$configure_input" |
1225 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1226 *) ac_sed_conf_input=$configure_input;;
1230 *:-:* | *:-) cat >"$tmp/stdin" \
1231 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1236 ac_dir=`$as_dirname -- "$ac_file" ||
1237 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$ac_file" : 'X\(//\)[^/]' \| \
1239 X"$ac_file" : 'X\(//\)$' \| \
1240 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$ac_file" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1259 as_dir="$ac_dir"; as_fn_mkdir_p
1263 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1265 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1266 # A ".." for each directory in $ac_dir_suffix.
1267 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1268 case $ac_top_builddir_sub in
1269 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1273 ac_abs_top_builddir=$ac_pwd
1274 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1275 # for backward compatibility:
1276 ac_top_builddir=$ac_top_build_prefix
1279 .) # We are building in place.
1281 ac_top_srcdir=$ac_top_builddir_sub
1282 ac_abs_top_srcdir=$ac_pwd ;;
1283 [\\/]* | ?:[\\/]* ) # Absolute name.
1284 ac_srcdir=$srcdir$ac_dir_suffix;
1285 ac_top_srcdir=$srcdir
1286 ac_abs_top_srcdir=$srcdir ;;
1288 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1289 ac_top_srcdir=$ac_top_build_prefix$srcdir
1290 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1292 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1302 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1303 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1307 [\\/$]* | ?:[\\/]* ) ;;
1308 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1310 # If the template does not know about datarootdir, expand it.
1311 # FIXME: This hack should be removed a few years after 2.60.
1312 ac_datarootdir_hack=; ac_datarootdir_seen=
1323 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1324 *datarootdir*) ac_datarootdir_seen=yes;;
1325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1327 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1328 ac_datarootdir_hack='
1329 s&@datadir@&${datarootdir}&g
1330 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1331 s&@infodir@&${datarootdir}/info&g
1332 s&@localedir@&${datarootdir}/locale&g
1333 s&@mandir@&${datarootdir}/man&g
1334 s&\${datarootdir}&${prefix}/share&g' ;;
1336 ac_sed_extra="/^[ ]*VPATH[ ]*=/{
1340 s/^\([^=]*=[ ]*\):*/\1/
1346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1347 s|@configure_input@|$ac_sed_conf_input|;t t
1348 s&@top_builddir@&$ac_top_builddir_sub&;t t
1349 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1350 s&@srcdir@&$ac_srcdir&;t t
1351 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1352 s&@top_srcdir@&$ac_top_srcdir&;t t
1353 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1354 s&@builddir@&$ac_builddir&;t t
1355 s&@abs_builddir@&$ac_abs_builddir&;t t
1356 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1357 s&@INSTALL@&$ac_INSTALL&;t t
1358 s&@MKDIR_P@&$ac_MKDIR_P&;t t
1359 $ac_datarootdir_hack
1361 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1362 || as_fn_error "could not create $ac_file" "$LINENO" 5
1364 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1365 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1366 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1368 which seems to be undefined. Please make sure it is defined." >&5
1369 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1370 which seems to be undefined. Please make sure it is defined." >&2;}
1374 -) cat "$tmp/out" && rm -f "$tmp/out";;
1375 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1377 || as_fn_error "could not create $ac_file" "$LINENO" 5
1383 if test x"$ac_file" != x-; then
1385 $as_echo "/* $configure_input */" \
1386 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1387 } >"$tmp/config.h" \
1388 || as_fn_error "could not create $ac_file" "$LINENO" 5
1389 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1390 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1391 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1394 mv "$tmp/config.h" "$ac_file" \
1395 || as_fn_error "could not create $ac_file" "$LINENO" 5
1398 $as_echo "/* $configure_input */" \
1399 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1400 || as_fn_error "could not create -" "$LINENO" 5
1402 # Compute "$ac_file"'s index in $config_headers.
1405 for _am_header in $config_headers :; do
1407 $_am_arg | $_am_arg:* )
1410 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1413 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1414 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415 X"$_am_arg" : 'X\(//\)[^/]' \| \
1416 X"$_am_arg" : 'X\(//\)$' \| \
1417 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$_am_arg" |
1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1435 s/.*/./; q'`/stamp-h$_am_stamp_count
1438 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1439 $as_echo "$as_me: executing $ac_file commands" >&6;}
1444 case $ac_file$ac_mode in
1445 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1446 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1447 # are listed without --file. Let's play safe and only enable the eval
1448 # if we detect the quoting.
1449 case $CONFIG_FILES in
1450 *\'*) eval set x "$CONFIG_FILES" ;;
1451 *) set x $CONFIG_FILES ;;
1456 # Strip MF so we end up with the name of the file.
1457 mf=`echo "$mf" | sed -e 's/:.*$//'`
1458 # Check whether this is an Automake generated Makefile or not.
1459 # We used to match only the files named `Makefile.in', but
1460 # some people rename them; so instead we look at the file content.
1461 # Grep'ing the first line is not enough: some people post-process
1462 # each Makefile.in and add a new line on top of each file to say so.
1463 # Grep'ing the whole file is not good either: AIX grep has a line
1464 # limit of 2048, but all sed's we know have understand at least 4000.
1465 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1466 dirpart=`$as_dirname -- "$mf" ||
1467 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1468 X"$mf" : 'X\(//\)[^/]' \| \
1469 X"$mf" : 'X\(//\)$' \| \
1470 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1492 # Extract the definition of DEPDIR, am__include, and am__quote
1493 # from the Makefile without running `make'.
1494 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1495 test -z "$DEPDIR" && continue
1496 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1497 test -z "am__include" && continue
1498 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1499 # When using ansi2knr, U may be empty or an underscore; expand it
1500 U=`sed -n 's/^U = //p' < "$mf"`
1501 # Find all dependency output files, they are included files with
1502 # $(DEPDIR) in their names. We invoke sed twice because it is the
1503 # simplest approach to changing $(DEPDIR) to its actual value in the
1505 for file in `sed -n "
1506 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1507 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1508 # Make sure the directory exists.
1509 test -f "$dirpart/$file" && continue
1510 fdir=`$as_dirname -- "$file" ||
1511 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1512 X"$file" : 'X\(//\)[^/]' \| \
1513 X"$file" : 'X\(//\)$' \| \
1514 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1533 as_dir=$dirpart/$fdir; as_fn_mkdir_p
1534 # echo "creating $dirpart/$file"
1535 echo '# dummy' > "$dirpart/$file"
1542 # See if we are running on zsh, and set the options which allow our
1543 # commands through without removal of \ escapes.
1544 if test -n "${ZSH_VERSION+set}" ; then
1545 setopt NO_GLOB_SUBST
1549 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1552 cat <<_LT_EOF >> "$cfgfile"
1555 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1556 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1557 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1558 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1560 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1561 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1562 # Written by Gordon Matzigkeit, 1996
1564 # This file is part of GNU Libtool.
1566 # GNU Libtool is free software; you can redistribute it and/or
1567 # modify it under the terms of the GNU General Public License as
1568 # published by the Free Software Foundation; either version 2 of
1569 # the License, or (at your option) any later version.
1571 # As a special exception to the GNU General Public License,
1572 # if you distribute this file as part of a program or library that
1573 # is built using GNU Libtool, you may include this file under the
1574 # same distribution terms that you use for the rest of that program.
1576 # GNU Libtool is distributed in the hope that it will be useful,
1577 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1578 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1579 # GNU General Public License for more details.
1581 # You should have received a copy of the GNU General Public License
1582 # along with GNU Libtool; see the file COPYING. If not, a copy
1583 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1584 # obtained by writing to the Free Software Foundation, Inc.,
1585 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1588 # The names of the tagged configurations supported by this script.
1591 # ### BEGIN LIBTOOL CONFIG
1593 # Whether or not to build shared libraries.
1594 build_libtool_libs=$enable_shared
1596 # Which release of libtool.m4 was used?
1597 macro_version=$macro_version
1598 macro_revision=$macro_revision
1600 # Whether or not to build static libraries.
1601 build_old_libs=$enable_static
1603 # What type of objects to build.
1606 # Whether or not to optimize for fast installation.
1607 fast_install=$enable_fast_install
1609 # Shell to use when invoking shell scripts.
1612 # An echo program that protects backslashes.
1616 host_alias=$host_alias
1621 build_alias=$build_alias
1625 # A sed program that does not truncate output.
1628 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1629 Xsed="\$SED -e 1s/^X//"
1631 # A grep program that handles long lines.
1637 # A literal string matcher.
1640 # A BSD- or MS-compatible name lister.
1643 # Whether we need soft or hard links.
1646 # What is the maximum length of a command?
1647 max_cmd_len=$max_cmd_len
1649 # Object file suffix (normally "o").
1652 # Executable file suffix (normally "").
1655 # whether the shell understands "unset".
1658 # turn spaces into newlines.
1661 # turn newlines into spaces.
1664 # An object symbol dumper.
1667 # Method to check whether dependent libraries are shared objects.
1668 deplibs_check_method=$lt_deplibs_check_method
1670 # Command to use when deplibs_check_method == "file_magic".
1671 file_magic_cmd=$lt_file_magic_cmd
1675 AR_FLAGS=$lt_AR_FLAGS
1677 # A symbol stripping program.
1680 # Commands used to install an old-style archive.
1682 old_postinstall_cmds=$lt_old_postinstall_cmds
1683 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1685 # Whether to use a lock for old archive extraction.
1686 lock_old_archive_extraction=$lock_old_archive_extraction
1691 # LTCC compiler flags.
1694 # Take the output of nm and produce a listing of raw symbols and C names.
1695 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1697 # Transform the output of nm in a proper C declaration.
1698 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1700 # Transform the output of nm in a C name address pair.
1701 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1703 # Transform the output of nm in a C name address pair when lib prefix is needed.
1704 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1706 # The name of the directory that contains temporary libtool files.
1709 # Used to examine libraries when file_magic_cmd begins with "file".
1710 MAGIC_CMD=$MAGIC_CMD
1712 # Must we lock files when doing compilation?
1713 need_locks=$lt_need_locks
1715 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1716 DSYMUTIL=$lt_DSYMUTIL
1718 # Tool to change global to local symbols on Mac OS X.
1721 # Tool to manipulate fat objects and archives on Mac OS X.
1724 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1727 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1730 # Old archive suffix (normally "a").
1733 # Shared library suffix (normally ".so").
1734 shrext_cmds=$lt_shrext_cmds
1736 # The commands to extract the exported symbol list from a shared archive.
1737 extract_expsyms_cmds=$lt_extract_expsyms_cmds
1739 # Variables whose values should be saved in libtool wrapper scripts and
1740 # restored at link time.
1741 variables_saved_for_relink=$lt_variables_saved_for_relink
1743 # Do we need the "lib" prefix for modules?
1744 need_lib_prefix=$need_lib_prefix
1746 # Do we need a version for libraries?
1747 need_version=$need_version
1749 # Library versioning type.
1750 version_type=$version_type
1752 # Shared library runtime path variable.
1753 runpath_var=$runpath_var
1755 # Shared library path variable.
1756 shlibpath_var=$shlibpath_var
1758 # Is shlibpath searched before the hard-coded library search path?
1759 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1761 # Format of library name prefix.
1762 libname_spec=$lt_libname_spec
1764 # List of archive names. First name is the real one, the rest are links.
1765 # The last name is the one that the linker finds with -lNAME
1766 library_names_spec=$lt_library_names_spec
1768 # The coded name of the library, if different from the real name.
1769 soname_spec=$lt_soname_spec
1771 # Permission mode override for installation of shared libraries.
1772 install_override_mode=$lt_install_override_mode
1774 # Command to use after installation of a shared archive.
1775 postinstall_cmds=$lt_postinstall_cmds
1777 # Command to use after uninstallation of a shared archive.
1778 postuninstall_cmds=$lt_postuninstall_cmds
1780 # Commands used to finish a libtool library installation in a directory.
1781 finish_cmds=$lt_finish_cmds
1783 # As "finish_cmds", except a single script fragment to be evaled but
1785 finish_eval=$lt_finish_eval
1787 # Whether we should hardcode library paths into libraries.
1788 hardcode_into_libs=$hardcode_into_libs
1790 # Compile-time system search path for libraries.
1791 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1793 # Run-time system search path for libraries.
1794 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1796 # Whether dlopen is supported.
1797 dlopen_support=$enable_dlopen
1799 # Whether dlopen of programs is supported.
1800 dlopen_self=$enable_dlopen_self
1802 # Whether dlopen of statically linked programs is supported.
1803 dlopen_self_static=$enable_dlopen_self_static
1805 # Commands to strip libraries.
1806 old_striplib=$lt_old_striplib
1807 striplib=$lt_striplib
1810 # The linker used to build libraries.
1813 # How to create reloadable object files.
1814 reload_flag=$lt_reload_flag
1815 reload_cmds=$lt_reload_cmds
1817 # Commands used to build an old-style archive.
1818 old_archive_cmds=$lt_old_archive_cmds
1820 # A language specific compiler.
1823 # Is the compiler the GNU compiler?
1826 # Compiler flag to turn off builtin functions.
1827 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1829 # How to pass a linker flag through the compiler.
1830 wl=$lt_lt_prog_compiler_wl
1832 # Additional compiler flags for building library objects.
1833 pic_flag=$lt_lt_prog_compiler_pic
1835 # Compiler flag to prevent dynamic linking.
1836 link_static_flag=$lt_lt_prog_compiler_static
1838 # Does compiler simultaneously support -c and -o options?
1839 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1841 # Whether or not to add -lc for building shared libraries.
1842 build_libtool_need_lc=$archive_cmds_need_lc
1844 # Whether or not to disallow shared libs when runtime libs are static.
1845 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1847 # Compiler flag to allow reflexive dlopens.
1848 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1850 # Compiler flag to generate shared objects directly from archives.
1851 whole_archive_flag_spec=$lt_whole_archive_flag_spec
1853 # Whether the compiler copes with passing no objects directly.
1854 compiler_needs_object=$lt_compiler_needs_object
1856 # Create an old-style archive from a shared archive.
1857 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1859 # Create a temporary old-style archive to link instead of a shared archive.
1860 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1862 # Commands used to build a shared archive.
1863 archive_cmds=$lt_archive_cmds
1864 archive_expsym_cmds=$lt_archive_expsym_cmds
1866 # Commands used to build a loadable module if different from building
1868 module_cmds=$lt_module_cmds
1869 module_expsym_cmds=$lt_module_expsym_cmds
1871 # Whether we are building with GNU ld or not.
1872 with_gnu_ld=$lt_with_gnu_ld
1874 # Flag that allows shared libraries with undefined symbols to be built.
1875 allow_undefined_flag=$lt_allow_undefined_flag
1877 # Flag that enforces no undefined symbols.
1878 no_undefined_flag=$lt_no_undefined_flag
1880 # Flag to hardcode \$libdir into a binary during linking.
1881 # This must work even if \$libdir does not exist
1882 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1884 # If ld is used when linking, flag to hardcode \$libdir into a binary
1885 # during linking. This must work even if \$libdir does not exist.
1886 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1888 # Whether we need a single "-rpath" flag with a separated argument.
1889 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1891 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1892 # DIR into the resulting binary.
1893 hardcode_direct=$hardcode_direct
1895 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1896 # DIR into the resulting binary and the resulting library dependency is
1897 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1898 # library is relocated.
1899 hardcode_direct_absolute=$hardcode_direct_absolute
1901 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1902 # into the resulting binary.
1903 hardcode_minus_L=$hardcode_minus_L
1905 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1906 # into the resulting binary.
1907 hardcode_shlibpath_var=$hardcode_shlibpath_var
1909 # Set to "yes" if building a shared library automatically hardcodes DIR
1910 # into the library and all subsequent libraries and executables linked
1912 hardcode_automatic=$hardcode_automatic
1914 # Set to yes if linker adds runtime paths of dependent libraries
1915 # to runtime path list.
1916 inherit_rpath=$inherit_rpath
1918 # Whether libtool must link a program against all its dependency libraries.
1919 link_all_deplibs=$link_all_deplibs
1921 # Fix the shell variable \$srcfile for the compiler.
1922 fix_srcfile_path=$lt_fix_srcfile_path
1924 # Set to "yes" if exported symbols are required.
1925 always_export_symbols=$always_export_symbols
1927 # The commands to list exported symbols.
1928 export_symbols_cmds=$lt_export_symbols_cmds
1930 # Symbols that should not be listed in the preloaded symbols.
1931 exclude_expsyms=$lt_exclude_expsyms
1933 # Symbols that must always be exported.
1934 include_expsyms=$lt_include_expsyms
1936 # Commands necessary for linking programs (against libraries) with templates.
1937 prelink_cmds=$lt_prelink_cmds
1939 # Specify filename containing input files.
1940 file_list_spec=$lt_file_list_spec
1942 # How to hardcode a shared library path into an executable.
1943 hardcode_action=$hardcode_action
1945 # ### END LIBTOOL CONFIG
1951 cat <<\_LT_EOF >> "$cfgfile"
1952 # AIX sometimes has problems with the GCC collect2 program. For some
1953 # reason, if we set the COLLECT_NAMES environment variable, the problems
1954 # vanish in a puff of smoke.
1955 if test "X${COLLECT_NAMES+set}" != Xset; then
1957 export COLLECT_NAMES
1964 ltmain="$ac_aux_dir/ltmain.sh"
1967 # We use sed instead of cat because bash on DJGPP gets confused if
1968 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1969 # text mode, it properly converts lines to CR/LF. This bash problem
1970 # is reportedly fixed, but why not run on old versions too?
1971 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1972 || (rm -f "$cfgfile"; exit 1)
1976 cat << \_LT_EOF >> "$cfgfile"
1978 # func_dirname file append nondir_replacement
1979 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1980 # otherwise set result to NONDIR_REPLACEMENT.
1984 */*) func_dirname_result="${1%/*}${2}" ;;
1985 * ) func_dirname_result="${3}" ;;
1989 # func_basename file
1992 func_basename_result="${1##*/}"
1995 # func_dirname_and_basename file append nondir_replacement
1996 # perform func_basename and func_dirname in a single function
1998 # dirname: Compute the dirname of FILE. If nonempty,
1999 # add APPEND to the result, otherwise set result
2000 # to NONDIR_REPLACEMENT.
2001 # value returned in "$func_dirname_result"
2002 # basename: Compute filename of FILE.
2003 # value retuned in "$func_basename_result"
2004 # Implementation must be kept synchronized with func_dirname
2005 # and func_basename. For efficiency, we do not delegate to
2006 # those functions but instead duplicate the functionality here.
2007 func_dirname_and_basename ()
2010 */*) func_dirname_result="${1%/*}${2}" ;;
2011 * ) func_dirname_result="${3}" ;;
2013 func_basename_result="${1##*/}"
2016 # func_stripname prefix suffix name
2017 # strip PREFIX and SUFFIX off of NAME.
2018 # PREFIX and SUFFIX must not contain globbing or regex special
2019 # characters, hashes, percent signs, but SUFFIX may contain a leading
2020 # dot (in which case that matches only a dot).
2023 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
2024 # positional parameters, so assign one to ordinary parameter first.
2025 func_stripname_result=${3}
2026 func_stripname_result=${func_stripname_result#"${1}"}
2027 func_stripname_result=${func_stripname_result%"${2}"}
2033 func_opt_split_opt=${1%%=*}
2034 func_opt_split_arg=${1#*=}
2041 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
2042 *) func_lo2o_result=${1} ;;
2046 # func_xform libobj-or-source
2049 func_xform_result=${1%.*}.lo
2052 # func_arith arithmetic-term...
2055 func_arith_result=$(( $* ))
2059 # STRING may not start with a hyphen.
2062 func_len_result=${#1}
2067 *) # Bourne compatible functions.
2068 cat << \_LT_EOF >> "$cfgfile"
2070 # func_dirname file append nondir_replacement
2071 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
2072 # otherwise set result to NONDIR_REPLACEMENT.
2075 # Extract subdirectory from the argument.
2076 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
2077 if test "X$func_dirname_result" = "X${1}"; then
2078 func_dirname_result="${3}"
2080 func_dirname_result="$func_dirname_result${2}"
2084 # func_basename file
2087 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
2091 # func_stripname prefix suffix name
2092 # strip PREFIX and SUFFIX off of NAME.
2093 # PREFIX and SUFFIX must not contain globbing or regex special
2094 # characters, hashes, percent signs, but SUFFIX may contain a leading
2095 # dot (in which case that matches only a dot).
2096 # func_strip_suffix prefix name
2100 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
2101 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
2106 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
2107 my_sed_long_arg='1s/^-[^=]*=//'
2112 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
2113 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
2119 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
2122 # func_xform libobj-or-source
2125 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
2128 # func_arith arithmetic-term...
2131 func_arith_result=`expr "$@"`
2135 # STRING may not start with a hyphen.
2138 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
2144 case $lt_shell_append in
2146 cat << \_LT_EOF >> "$cfgfile"
2148 # func_append var value
2149 # Append VALUE to the end of shell variable VAR.
2157 cat << \_LT_EOF >> "$cfgfile"
2159 # func_append var value
2160 # Append VALUE to the end of shell variable VAR.
2171 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2172 || (rm -f "$cfgfile"; exit 1)
2174 mv -f "$cfgfile" "$ofile" ||
2175 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2180 for ac_file in $CONFIG_FILES; do
2181 # Support "outfile[:infile[:infile...]]"
2183 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2185 # PO directories have a Makefile.in generated from Makefile.in.in.
2186 case "$ac_file" in */Makefile.in)
2187 # Adjust a relative srcdir.
2188 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
2189 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
2190 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
2191 # In autoconf-2.13 it is called $ac_given_srcdir.
2192 # In autoconf-2.50 it is called $srcdir.
2193 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
2194 case "$ac_given_srcdir" in
2195 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
2196 /*) top_srcdir="$ac_given_srcdir" ;;
2197 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
2199 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
2200 rm -f "$ac_dir/POTFILES"
2201 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
2202 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
2203 POMAKEFILEDEPS="POTFILES.in"
2204 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
2205 # on $ac_dir but don't depend on user-specified configuration
2207 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
2208 # The LINGUAS file contains the set of available languages.
2209 if test -n "$OBSOLETE_ALL_LINGUAS"; then
2210 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
2212 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
2213 # Hide the ALL_LINGUAS assigment from automake.
2214 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
2215 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
2217 # The set of available languages was given in configure.in.
2218 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
2220 case "$ac_given_srcdir" in
2222 *) srcdirpre='$(srcdir)/' ;;
2228 for lang in $ALL_LINGUAS; do
2229 POFILES="$POFILES $srcdirpre$lang.po"
2230 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
2231 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
2232 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
2234 # CATALOGS depends on both $ac_dir and the user's LINGUAS
2235 # environment variable.
2237 if test -n "$ALL_LINGUAS"; then
2238 for presentlang in $ALL_LINGUAS; do
2240 if test "%UNSET%" != "$LINGUAS"; then
2241 desiredlanguages="$LINGUAS"
2243 desiredlanguages="$ALL_LINGUAS"
2245 for desiredlang in $desiredlanguages; do
2246 # Use the presentlang catalog if desiredlang is
2247 # a. equal to presentlang, or
2248 # b. a variant of presentlang (because in this case,
2249 # presentlang can be used as a fallback for messages
2250 # which are not translated in the desiredlang catalog).
2251 case "$desiredlang" in
2252 "$presentlang"*) useit=yes;;
2255 if test $useit = yes; then
2256 INST_LINGUAS="$INST_LINGUAS $presentlang"
2261 if test -n "$INST_LINGUAS"; then
2262 for lang in $INST_LINGUAS; do
2263 CATALOGS="$CATALOGS $lang.gmo"
2266 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
2267 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
2268 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
2269 if test -f "$f"; then
2271 *.orig | *.bak | *~) ;;
2272 *) cat "$f" >> "$ac_dir/Makefile" ;;
2281 if test "$GCC" = yes; then
2282 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
2284 echo "/* generated for $CC */" > tmp-stdint.h
2287 sed 's/^ *//' >> tmp-stdint.h <<EOF
2289 #ifndef GCC_GENERATED_STDINT_H
2290 #define GCC_GENERATED_STDINT_H 1
2292 #include <sys/types.h>
2295 if test "$acx_cv_header_stdint" != stdint.h; then
2296 echo "#include <stddef.h>" >> tmp-stdint.h
2298 if test "$acx_cv_header_stdint" != stddef.h; then
2299 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
2302 sed 's/^ *//' >> tmp-stdint.h <<EOF
2303 /* glibc uses these symbols as guards to prevent redefinitions. */
2304 #ifdef __int8_t_defined
2309 #ifdef __uint32_t_defined
2315 # ----------------- done header, emit basic int types -------------
2316 if test "$acx_cv_header_stdint" = stddef.h; then
2317 sed 's/^ *//' >> tmp-stdint.h <<EOF
2321 #ifndef __uint8_t_defined
2322 #define __uint8_t_defined
2324 typedef unsigned $acx_cv_type_int8_t uint8_t;
2331 #ifndef __uint16_t_defined
2332 #define __uint16_t_defined
2334 typedef unsigned $acx_cv_type_int16_t uint16_t;
2341 #ifndef __uint32_t_defined
2342 #define __uint32_t_defined
2344 typedef unsigned $acx_cv_type_int32_t uint32_t;
2351 #ifndef __int8_t_defined
2352 #define __int8_t_defined
2354 typedef $acx_cv_type_int8_t int8_t;
2361 #ifndef __int16_t_defined
2362 #define __int16_t_defined
2364 typedef $acx_cv_type_int16_t int16_t;
2371 #ifndef __int32_t_defined
2372 #define __int32_t_defined
2374 typedef $acx_cv_type_int32_t int32_t;
2379 elif test "$ac_cv_type_u_int32_t" = yes; then
2380 sed 's/^ *//' >> tmp-stdint.h <<EOF
2382 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
2395 #ifndef __uint8_t_defined
2396 #define __uint8_t_defined
2398 typedef u_int8_t uint8_t;
2405 #ifndef __uint16_t_defined
2406 #define __uint16_t_defined
2408 typedef u_int16_t uint16_t;
2415 #ifndef __uint32_t_defined
2416 #define __uint32_t_defined
2418 typedef u_int32_t uint32_t;
2424 sed 's/^ *//' >> tmp-stdint.h <<EOF
2426 /* Some systems have guard macros to prevent redefinitions, define them. */
2448 # ------------- done basic int types, emit int64_t types ------------
2449 if test "$ac_cv_type_uint64_t" = yes; then
2450 sed 's/^ *//' >> tmp-stdint.h <<EOF
2452 /* system headers have good uint64_t and int64_t */
2460 elif test "$ac_cv_type_u_int64_t" = yes; then
2461 sed 's/^ *//' >> tmp-stdint.h <<EOF
2463 /* system headers have an u_int64_t (and int64_t) */
2469 #ifndef __uint64_t_defined
2470 #define __uint64_t_defined
2472 typedef u_int64_t uint64_t;
2477 elif test -n "$acx_cv_type_int64_t"; then
2478 sed 's/^ *//' >> tmp-stdint.h <<EOF
2480 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
2484 typedef $acx_cv_type_int64_t int64_t;
2489 #ifndef __uint64_t_defined
2490 #define __uint64_t_defined
2492 typedef unsigned $acx_cv_type_int64_t uint64_t;
2498 sed 's/^ *//' >> tmp-stdint.h <<EOF
2500 /* some common heuristics for int64_t, using compiler-specific tests */
2501 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
2504 #ifndef __int64_t_defined
2506 typedef long long int64_t;
2513 typedef unsigned long long uint64_t;
2517 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
2518 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
2519 does not implement __extension__. But that compiler doesn't define
2521 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
2522 # define __extension__
2528 __extension__ typedef long long int64_t;
2534 __extension__ typedef unsigned long long uint64_t;
2538 #elif !defined __STRICT_ANSI__
2539 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
2544 typedef __int64 int64_t;
2550 typedef unsigned __int64 uint64_t;
2553 # endif /* compiler */
2555 #endif /* ANSI version */
2559 # ------------- done int64_t types, emit intptr types ------------
2560 if test "$ac_cv_type_uintptr_t" != yes; then
2561 sed 's/^ *//' >> tmp-stdint.h <<EOF
2563 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
2564 #ifndef __uintptr_t_defined
2566 typedef u$acx_cv_type_intptr_t uintptr_t;
2569 #ifndef __intptr_t_defined
2571 typedef $acx_cv_type_intptr_t intptr_t;
2577 # ------------- done intptr types, emit int_least types ------------
2578 if test "$ac_cv_type_int_least32_t" != yes; then
2579 sed 's/^ *//' >> tmp-stdint.h <<EOF
2581 /* Define int_least types */
2582 typedef int8_t int_least8_t;
2583 typedef int16_t int_least16_t;
2584 typedef int32_t int_least32_t;
2586 typedef int64_t int_least64_t;
2589 typedef uint8_t uint_least8_t;
2590 typedef uint16_t uint_least16_t;
2591 typedef uint32_t uint_least32_t;
2593 typedef uint64_t uint_least64_t;
2598 # ------------- done intptr types, emit int_fast types ------------
2599 if test "$ac_cv_type_int_fast32_t" != yes; then
2600 sed 's/^ *//' >> tmp-stdint.h <<EOF
2602 /* Define int_fast types. short is often slow */
2603 typedef int8_t int_fast8_t;
2604 typedef int int_fast16_t;
2605 typedef int32_t int_fast32_t;
2607 typedef int64_t int_fast64_t;
2610 typedef uint8_t uint_fast8_t;
2611 typedef unsigned int uint_fast16_t;
2612 typedef uint32_t uint_fast32_t;
2614 typedef uint64_t uint_fast64_t;
2619 if test "$ac_cv_type_uintmax_t" != yes; then
2620 sed 's/^ *//' >> tmp-stdint.h <<EOF
2622 /* Define intmax based on what we found */
2625 typedef int64_t intmax_t;
2627 typedef long intmax_t;
2632 typedef uint64_t uintmax_t;
2634 typedef unsigned long uintmax_t;
2640 sed 's/^ *//' >> tmp-stdint.h <<EOF
2642 #endif /* GCC_GENERATED_STDINT_H */
2645 if test -r bfd_stdint.h && cmp -s tmp-stdint.h bfd_stdint.h; then
2648 mv -f tmp-stdint.h bfd_stdint.h
2655 *) srcdirpre='$(srcdir)/' ;;
2659 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
2660 if test $lang != dummy; then
2661 POFILES="$POFILES $srcdirpre$lang.po"
2662 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
2665 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
2666 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
2667 -e "s,@POFILES@,$POFILES," \
2668 -e "s,@GMOFILES@,$GMOFILES," \
2669 po/Makefile.in > po/Makefile ;;