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/bash}
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 STATUS ERROR [LINENO LOG_FD]
138 # ----------------------------------------
139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141 # script with STATUS, using 1 if that was 0.
144 as_status=$1; test $as_status -eq 0 && as_status=1
146 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149 $as_echo "$as_me: error: $2" >&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 kp123 $as_me 0.1, which was
395 generated by GNU Autoconf 2.67. 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 src/Makefile"
408 config_headers=" config.h"
409 config_commands=" depfiles libtool"
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 --config print configuration, then exit
421 -q, --quiet, --silent
422 do not print progress messages
423 -d, --debug don't remove temporary files
424 --recheck update $as_me by reconfiguring in the same conditions
425 --file=FILE[:TEMPLATE]
426 instantiate the configuration file FILE
427 --header=FILE[:TEMPLATE]
428 instantiate the configuration header FILE
433 Configuration headers:
436 Configuration commands:
439 Report bugs to <evgeny@sourceforge.jp>."
441 ac_cs_config="'--enable-debug'"
443 kp123 config.status 0.1
444 configured by ./configure, generated by GNU Autoconf 2.67,
445 with options \"$ac_cs_config\"
447 Copyright (C) 2010 Free Software Foundation, Inc.
448 This config.status script is free software; the Free Software Foundation
449 gives unlimited permission to copy, distribute and modify it."
451 ac_pwd='/home/iev/prog/kp123'
453 INSTALL='/usr/bin/install -c'
454 MKDIR_P='/bin/mkdir -p'
456 test -n "$AWK" || AWK=awk
457 # The default lists apply if the user does not specify any file.
463 ac_option=`expr "X$1" : 'X\([^=]*\)='`
464 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
468 ac_option=`expr "X$1" : 'X\([^=]*\)='`
480 # Handling of the options.
481 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
483 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
484 $as_echo "$ac_cs_version"; exit ;;
485 --config | --confi | --conf | --con | --co | --c )
486 $as_echo "$ac_cs_config"; exit ;;
487 --debug | --debu | --deb | --de | --d | -d )
489 --file | --fil | --fi | --f )
492 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
493 '') as_fn_error $? "missing file argument" ;;
495 as_fn_append CONFIG_FILES " '$ac_optarg'"
496 ac_need_defaults=false;;
497 --header | --heade | --head | --hea )
500 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
502 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
503 ac_need_defaults=false;;
505 # Conflict between --help and --header
506 as_fn_error $? "ambiguous option: \`$1'
507 Try \`$0 --help' for more information.";;
508 --help | --hel | -h )
509 $as_echo "$ac_cs_usage"; exit ;;
510 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
511 | -silent | --silent | --silen | --sile | --sil | --si | --s)
515 -*) as_fn_error $? "unrecognized option: \`$1'
516 Try \`$0 --help' for more information." ;;
518 *) as_fn_append ac_config_targets " $1"
519 ac_need_defaults=false ;;
525 ac_configure_extra_args=
527 if $ac_cs_silent; then
529 ac_configure_extra_args="$ac_configure_extra_args --silent"
532 if $ac_cs_recheck; then
533 set X '/bin/bash' './configure' '--enable-debug' $ac_configure_extra_args --no-create --no-recursion
535 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
536 CONFIG_SHELL='/bin/bash'
544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
545 ## Running $as_me. ##
553 AMDEP_TRUE="" ac_aux_dir="."
556 # The HP-UX ksh and POSIX shell print the target directory to stdout
558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
560 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
561 double_quote_subst='s/\(["`\\]\)/\\\1/g'
562 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
563 macro_version='2.2.10'
564 macro_revision='1.3175'
568 enable_fast_install='yes'
572 host='i686-pc-linux-gnu'
575 build='i686-pc-linux-gnu'
578 Xsed='/bin/sed -e 1s/^X//'
585 max_cmd_len='805306365'
589 lt_SP2NL='tr \040 \012'
590 lt_NL2SP='tr \015\012 \040\040'
592 reload_cmds='$LD$reload_flag -o $output$reload_objs'
594 deplibs_check_method='pass_all'
595 file_magic_cmd='$MAGIC_CMD'
600 old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
601 old_postuninstall_cmds=''
602 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
603 lock_old_archive_extraction='no'
608 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
609 lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
610 lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
611 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
614 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
615 lt_prog_compiler_wl='-Wl,'
616 lt_prog_compiler_pic=' -fPIC -DPIC'
617 lt_prog_compiler_static='-static'
618 lt_cv_prog_compiler_c_o='yes'
627 extract_expsyms_cmds=''
628 archive_cmds_need_lc='no'
629 enable_shared_with_static_runtimes='no'
630 export_dynamic_flag_spec='${wl}--export-dynamic'
631 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
632 compiler_needs_object='no'
633 old_archive_from_new_cmds=''
634 old_archive_from_expsyms_cmds=''
635 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
636 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
637 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
638 echo "local: *; };" >> $output_objdir/$libname.ver~
639 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
641 module_expsym_cmds=''
643 allow_undefined_flag=''
645 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
646 hardcode_libdir_flag_spec_ld=''
647 hardcode_libdir_separator=''
649 hardcode_direct_absolute='no'
650 hardcode_minus_L='no'
651 hardcode_shlibpath_var='unsupported'
652 hardcode_automatic='no'
654 link_all_deplibs='unknown'
656 always_export_symbols='no'
657 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
658 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
662 variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
666 runpath_var='LD_RUN_PATH'
667 shlibpath_var='LD_LIBRARY_PATH'
668 shlibpath_overrides_runpath='no'
669 libname_spec='lib$name'
670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
671 soname_spec='${libname}${release}${shared_ext}$major'
672 install_override_mode=''
674 postuninstall_cmds=''
675 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
677 hardcode_into_libs='yes'
678 sys_lib_search_path_spec='/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2 /usr/lib/i386-linux-gnu /lib /usr/lib '
679 sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/lib/alsa-lib /usr/local/lib '
680 hardcode_action='immediate'
681 enable_dlopen='unknown'
682 enable_dlopen_self='unknown'
683 enable_dlopen_self_static='unknown'
684 old_striplib='strip --strip-debug'
685 striplib='strip --strip-unneeded'
691 # A function that is used when there is no print builtin or printf.
692 func_fallback_echo ()
694 eval 'cat <<_LTECHO_EOF
699 # Quote evaled strings.
700 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
701 case `eval \\$ECHO \\""\\$$var"\\"` in
703 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
706 eval "lt_$var=\\\"\$$var\\\""
711 # Double-quote double-evaled strings.
712 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
713 case `eval \\$ECHO \\""\\$$var"\\"` in
715 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
718 eval "lt_$var=\\\"\$$var\\\""
725 lt_shell_append='yes'
727 # See if we are running on zsh, and set the options which allow our
728 # commands through without removal of \ escapes INIT.
729 if test -n "${ZSH_VERSION+set}" ; then
744 # Handling of arguments.
745 for ac_config_target in $ac_config_targets
747 case $ac_config_target in
748 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
749 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
750 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
751 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
752 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
754 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
759 # If the user did not use the arguments to specify the items to instantiate,
760 # then the envvar interface is used. Set only those that are not.
761 # We use the long form for the default assignment because of an extremely
762 # bizarre bug on SunOS 4.1.3.
763 if $ac_need_defaults; then
764 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
765 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
766 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
769 # Have a temporary directory for convenience. Make it in the build tree
770 # simply because there is no reason against having it here, and in addition,
771 # creating and moving files from /tmp can sometimes cause problems.
772 # Hook for its removal unless debugging.
773 # Note that there is a small window in which the directory will not be cleaned:
774 # after its creation but before its name has been assigned to `$tmp'.
779 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
781 trap 'as_fn_exit 1' 1 2 13 15
783 # Create a (secure) tmp directory for tmp files.
786 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
787 test -n "$tmp" && test -d "$tmp"
791 (umask 077 && mkdir "$tmp")
792 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
794 # Set up the scripts for CONFIG_FILES section.
795 # No need to generate them if there are no CONFIG_FILES.
796 # This happens for instance with `./config.status config.h'.
797 if test -n "$CONFIG_FILES"; then
800 ac_cr=`echo X | tr X '\015'`
801 # On cygwin, bash can eat \r inside `` if the user requested igncr.
802 # But we know of no other shell where ac_cr would be empty at this
803 # point, so we can use a bashism as a fallback.
804 if test "x$ac_cr" = x; then
807 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
808 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
814 echo 'BEGIN {' >"$tmp/subs1.awk" &&
815 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
816 S["am__EXEEXT_FALSE"]=""
817 S["am__EXEEXT_TRUE"]="#"
820 S["GMODULE_LIBS"]="-Wl,--export-dynamic -pthread -L/usr/lib/i386-linux-gnu -lgmodule-2.0 -lrt -lglib-2.0 "
821 S["GMODULE_CFLAGS"]="-pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include "
822 S["PKG_CONFIG_LIBDIR"]=""
823 S["PKG_CONFIG_PATH"]=""
824 S["GTK_LIBS"]="-pthread -L/usr/lib/i386-linux-gnu -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpa"\
825 "ngo-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 "
826 S["GTK_CFLAGS"]="-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/inc"\
827 "lude -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixb"\
828 "uf-2.0 -I/usr/include/pixman-1 "
829 S["PKG_CONFIG"]="/usr/bin/pkg-config"
838 S["OBJDUMP"]="objdump"
840 S["NM"]="/usr/bin/nm -B"
841 S["ac_ct_DUMPBIN"]=""
843 S["LD"]="/usr/bin/ld"
844 S["FGREP"]="/bin/grep -F"
845 S["EGREP"]="/bin/grep -E"
846 S["GREP"]="/bin/grep"
848 S["host_os"]="linux-gnu"
849 S["host_vendor"]="pc"
851 S["host"]="i686-pc-linux-gnu"
852 S["build_os"]="linux-gnu"
853 S["build_vendor"]="pc"
854 S["build_cpu"]="i686"
855 S["build"]="i686-pc-linux-gnu"
856 S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
857 S["am__fastdepCC_FALSE"]="#"
858 S["am__fastdepCC_TRUE"]=""
859 S["CCDEPMODE"]="depmode=gcc3"
860 S["AMDEPBACKSLASH"]="\\"
864 S["am__include"]="include"
871 S["CFLAGS"]="-gstabs -O0"
873 S["am__untar"]="${AMTAR} xf -"
874 S["am__tar"]="${AMTAR} chof - \"$$tardir\""
875 S["AMTAR"]="${SHELL} /home/iev/prog/kp123/missing --run tar"
876 S["am__leading_dot"]="."
879 S["mkdir_p"]="/bin/mkdir -p"
880 S["MKDIR_P"]="/bin/mkdir -p"
881 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
883 S["install_sh"]="${SHELL} /home/iev/prog/kp123/install-sh"
884 S["MAKEINFO"]="${SHELL} /home/iev/prog/kp123/missing --run makeinfo"
885 S["AUTOHEADER"]="${SHELL} /home/iev/prog/kp123/missing --run autoheader"
886 S["AUTOMAKE"]="${SHELL} /home/iev/prog/kp123/missing --run automake-1.11"
887 S["AUTOCONF"]="${SHELL} /home/iev/prog/kp123/missing --run autoconf"
888 S["ACLOCAL"]="${SHELL} /home/iev/prog/kp123/missing --run aclocal-1.11"
891 S["CYGPATH_W"]="echo"
893 S["INSTALL_DATA"]="${INSTALL} -m 644"
894 S["INSTALL_SCRIPT"]="${INSTALL}"
895 S["INSTALL_PROGRAM"]="${INSTALL}"
903 S["DEFS"]="-DHAVE_CONFIG_H"
904 S["mandir"]="${datarootdir}/man"
905 S["localedir"]="${datarootdir}/locale"
906 S["libdir"]="${exec_prefix}/lib"
907 S["psdir"]="${docdir}"
908 S["pdfdir"]="${docdir}"
909 S["dvidir"]="${docdir}"
910 S["htmldir"]="${docdir}"
911 S["infodir"]="${datarootdir}/info"
912 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
913 S["oldincludedir"]="/usr/include"
914 S["includedir"]="${prefix}/include"
915 S["localstatedir"]="${prefix}/var"
916 S["sharedstatedir"]="${prefix}/com"
917 S["sysconfdir"]="${prefix}/etc"
918 S["datadir"]="${datarootdir}"
919 S["datarootdir"]="${prefix}/share"
920 S["libexecdir"]="${exec_prefix}/libexec"
921 S["sbindir"]="${exec_prefix}/sbin"
922 S["bindir"]="${exec_prefix}/bin"
923 S["program_transform_name"]="s,x,x,"
924 S["prefix"]="/usr/local"
925 S["exec_prefix"]="${prefix}"
927 S["PACKAGE_BUGREPORT"]="evgeny@sourceforge.jp"
928 S["PACKAGE_STRING"]="kp123 0.1"
929 S["PACKAGE_VERSION"]="0.1"
930 S["PACKAGE_TARNAME"]="kp123"
931 S["PACKAGE_NAME"]="kp123"
932 S["PATH_SEPARATOR"]=":"
933 S["SHELL"]="/bin/bash"
935 cat >>"$tmp/subs1.awk" <<_ACAWK &&
936 for (key in S) S_is_set[key] = 1
942 nfields = split(line, field, "@")
944 len = length(field[1])
945 for (i = 2; i < nfields; i++) {
950 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
951 len += length(value) + length(field[++i])
961 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
962 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
965 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
966 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
967 fi # test -n "$CONFIG_FILES"
969 # Set up the scripts for CONFIG_HEADERS section.
970 # No need to generate them if there are no CONFIG_HEADERS.
971 # This happens for instance with `./config.status Makefile'.
972 if test -n "$CONFIG_HEADERS"; then
973 cat >"$tmp/defines.awk" <<\_ACAWK ||
975 D["PACKAGE_NAME"]=" \"kp123\""
976 D["PACKAGE_TARNAME"]=" \"kp123\""
977 D["PACKAGE_VERSION"]=" \"0.1\""
978 D["PACKAGE_STRING"]=" \"kp123 0.1\""
979 D["PACKAGE_BUGREPORT"]=" \"evgeny@sourceforge.jp\""
980 D["PACKAGE_URL"]=" \"\""
981 D["PACKAGE"]=" \"kp123\""
982 D["VERSION"]=" \"0.1\""
983 D["STDC_HEADERS"]=" 1"
984 D["HAVE_SYS_TYPES_H"]=" 1"
985 D["HAVE_SYS_STAT_H"]=" 1"
986 D["HAVE_STDLIB_H"]=" 1"
987 D["HAVE_STRING_H"]=" 1"
988 D["HAVE_MEMORY_H"]=" 1"
989 D["HAVE_STRINGS_H"]=" 1"
990 D["HAVE_INTTYPES_H"]=" 1"
991 D["HAVE_STDINT_H"]=" 1"
992 D["HAVE_UNISTD_H"]=" 1"
993 D["HAVE_DLFCN_H"]=" 1"
994 D["LT_OBJDIR"]=" \".libs/\""
995 for (key in D) D_is_set[key] = 1
998 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1000 split(line, arg, " ")
1001 if (arg[1] == "#") {
1005 defundef = substr(arg[1], 2)
1008 split(mac1, mac2, "(") #)
1010 prefix = substr(line, 1, index(line, defundef) - 1)
1011 if (D_is_set[macro]) {
1012 # Preserve the white space surrounding the "#".
1013 print prefix "define", macro P[macro] D[macro]
1016 # Replace #undef with comments. This is necessary, for example,
1017 # in the case of _POSIX_SOURCE, which is predefined and required
1018 # on some systems where configure will not decide to define it.
1019 if (defundef == "undef") {
1020 print "/*", prefix defundef, macro, "*/"
1027 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1028 fi # test -n "$CONFIG_HEADERS"
1031 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1036 :[FHLC]) ac_mode=$ac_tag; continue;;
1038 case $ac_mode$ac_tag in
1040 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
1041 :[FH]-) ac_tag=-:-;;
1042 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1059 -) ac_f="$tmp/stdin";;
1060 *) # Look for the file first in the build tree, then in the source tree
1061 # (if the path is not absolute). The absolute path cannot be DOS-style,
1062 # because $ac_f cannot contain `:'.
1066 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1068 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
1070 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1071 as_fn_append ac_file_inputs " '$ac_f'"
1074 # Let's still pretend it is `configure' which instantiates (i.e., don't
1075 # use $as_me), people would be surprised to read:
1076 # /* config.h. Generated by config.status. */
1077 configure_input='Generated from '`
1078 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1080 if test x"$ac_file" != x-; then
1081 configure_input="$ac_file. $configure_input"
1082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1083 $as_echo "$as_me: creating $ac_file" >&6;}
1085 # Neutralize special characters interpreted by sed in replacement strings.
1086 case $configure_input in #(
1087 *\&* | *\|* | *\\* )
1088 ac_sed_conf_input=`$as_echo "$configure_input" |
1089 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1090 *) ac_sed_conf_input=$configure_input;;
1094 *:-:* | *:-) cat >"$tmp/stdin" \
1095 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1100 ac_dir=`$as_dirname -- "$ac_file" ||
1101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1102 X"$ac_file" : 'X\(//\)[^/]' \| \
1103 X"$ac_file" : 'X\(//\)$' \| \
1104 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1105 $as_echo X"$ac_file" |
1106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1123 as_dir="$ac_dir"; as_fn_mkdir_p
1127 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1129 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1130 # A ".." for each directory in $ac_dir_suffix.
1131 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1132 case $ac_top_builddir_sub in
1133 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1134 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1137 ac_abs_top_builddir=$ac_pwd
1138 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1139 # for backward compatibility:
1140 ac_top_builddir=$ac_top_build_prefix
1143 .) # We are building in place.
1145 ac_top_srcdir=$ac_top_builddir_sub
1146 ac_abs_top_srcdir=$ac_pwd ;;
1147 [\\/]* | ?:[\\/]* ) # Absolute name.
1148 ac_srcdir=$srcdir$ac_dir_suffix;
1149 ac_top_srcdir=$srcdir
1150 ac_abs_top_srcdir=$srcdir ;;
1152 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1153 ac_top_srcdir=$ac_top_build_prefix$srcdir
1154 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1156 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1166 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1167 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1171 [\\/$]* | ?:[\\/]* ) ;;
1172 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1174 # If the template does not know about datarootdir, expand it.
1175 # FIXME: This hack should be removed a few years after 2.60.
1176 ac_datarootdir_hack=; ac_datarootdir_seen=
1187 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1188 *datarootdir*) ac_datarootdir_seen=yes;;
1189 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1191 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1192 ac_datarootdir_hack='
1193 s&@datadir@&${datarootdir}&g
1194 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1195 s&@infodir@&${datarootdir}/info&g
1196 s&@localedir@&${datarootdir}/locale&g
1197 s&@mandir@&${datarootdir}/man&g
1198 s&\${datarootdir}&${prefix}/share&g' ;;
1200 ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1219 s|@configure_input@|$ac_sed_conf_input|;t t
1220 s&@top_builddir@&$ac_top_builddir_sub&;t t
1221 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1222 s&@srcdir@&$ac_srcdir&;t t
1223 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1224 s&@top_srcdir@&$ac_top_srcdir&;t t
1225 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1226 s&@builddir@&$ac_builddir&;t t
1227 s&@abs_builddir@&$ac_abs_builddir&;t t
1228 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1229 s&@INSTALL@&$ac_INSTALL&;t t
1230 s&@MKDIR_P@&$ac_MKDIR_P&;t t
1231 $ac_datarootdir_hack
1233 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1236 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1237 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1238 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1240 which seems to be undefined. Please make sure it is defined" >&5
1241 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1242 which seems to be undefined. Please make sure it is defined" >&2;}
1246 -) cat "$tmp/out" && rm -f "$tmp/out";;
1247 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1255 if test x"$ac_file" != x-; then
1257 $as_echo "/* $configure_input */" \
1258 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1259 } >"$tmp/config.h" \
1260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1261 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1262 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1263 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1266 mv "$tmp/config.h" "$ac_file" \
1267 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1270 $as_echo "/* $configure_input */" \
1271 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1272 || as_fn_error $? "could not create -" "$LINENO" 5
1274 # Compute "$ac_file"'s index in $config_headers.
1277 for _am_header in $config_headers :; do
1279 $_am_arg | $_am_arg:* )
1282 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1285 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1286 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$_am_arg" : 'X\(//\)[^/]' \| \
1288 X"$_am_arg" : 'X\(//\)$' \| \
1289 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$_am_arg" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1307 s/.*/./; q'`/stamp-h$_am_stamp_count
1310 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1311 $as_echo "$as_me: executing $ac_file commands" >&6;}
1316 case $ac_file$ac_mode in
1317 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1318 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1319 # are listed without --file. Let's play safe and only enable the eval
1320 # if we detect the quoting.
1321 case $CONFIG_FILES in
1322 *\'*) eval set x "$CONFIG_FILES" ;;
1323 *) set x $CONFIG_FILES ;;
1328 # Strip MF so we end up with the name of the file.
1329 mf=`echo "$mf" | sed -e 's/:.*$//'`
1330 # Check whether this is an Automake generated Makefile or not.
1331 # We used to match only the files named `Makefile.in', but
1332 # some people rename them; so instead we look at the file content.
1333 # Grep'ing the first line is not enough: some people post-process
1334 # each Makefile.in and add a new line on top of each file to say so.
1335 # Grep'ing the whole file is not good either: AIX grep has a line
1336 # limit of 2048, but all sed's we know have understand at least 4000.
1337 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1338 dirpart=`$as_dirname -- "$mf" ||
1339 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$mf" : 'X\(//\)[^/]' \| \
1341 X"$mf" : 'X\(//\)$' \| \
1342 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 # Extract the definition of DEPDIR, am__include, and am__quote
1365 # from the Makefile without running `make'.
1366 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1367 test -z "$DEPDIR" && continue
1368 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1369 test -z "am__include" && continue
1370 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1371 # When using ansi2knr, U may be empty or an underscore; expand it
1372 U=`sed -n 's/^U = //p' < "$mf"`
1373 # Find all dependency output files, they are included files with
1374 # $(DEPDIR) in their names. We invoke sed twice because it is the
1375 # simplest approach to changing $(DEPDIR) to its actual value in the
1377 for file in `sed -n "
1378 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1379 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1380 # Make sure the directory exists.
1381 test -f "$dirpart/$file" && continue
1382 fdir=`$as_dirname -- "$file" ||
1383 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384 X"$file" : 'X\(//\)[^/]' \| \
1385 X"$file" : 'X\(//\)$' \| \
1386 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 as_dir=$dirpart/$fdir; as_fn_mkdir_p
1406 # echo "creating $dirpart/$file"
1407 echo '# dummy' > "$dirpart/$file"
1414 # See if we are running on zsh, and set the options which allow our
1415 # commands through without removal of \ escapes.
1416 if test -n "${ZSH_VERSION+set}" ; then
1417 setopt NO_GLOB_SUBST
1421 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1424 cat <<_LT_EOF >> "$cfgfile"
1427 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1428 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1429 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1430 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1432 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1433 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1435 # Written by Gordon Matzigkeit, 1996
1437 # This file is part of GNU Libtool.
1439 # GNU Libtool is free software; you can redistribute it and/or
1440 # modify it under the terms of the GNU General Public License as
1441 # published by the Free Software Foundation; either version 2 of
1442 # the License, or (at your option) any later version.
1444 # As a special exception to the GNU General Public License,
1445 # if you distribute this file as part of a program or library that
1446 # is built using GNU Libtool, you may include this file under the
1447 # same distribution terms that you use for the rest of that program.
1449 # GNU Libtool is distributed in the hope that it will be useful,
1450 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1452 # GNU General Public License for more details.
1454 # You should have received a copy of the GNU General Public License
1455 # along with GNU Libtool; see the file COPYING. If not, a copy
1456 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1457 # obtained by writing to the Free Software Foundation, Inc.,
1458 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1461 # The names of the tagged configurations supported by this script.
1464 # ### BEGIN LIBTOOL CONFIG
1466 # Which release of libtool.m4 was used?
1467 macro_version=$macro_version
1468 macro_revision=$macro_revision
1470 # Whether or not to build shared libraries.
1471 build_libtool_libs=$enable_shared
1473 # Whether or not to build static libraries.
1474 build_old_libs=$enable_static
1476 # What type of objects to build.
1479 # Whether or not to optimize for fast installation.
1480 fast_install=$enable_fast_install
1482 # Shell to use when invoking shell scripts.
1485 # An echo program that protects backslashes.
1489 host_alias=$host_alias
1494 build_alias=$build_alias
1498 # A sed program that does not truncate output.
1501 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1502 Xsed="\$SED -e 1s/^X//"
1504 # A grep program that handles long lines.
1510 # A literal string matcher.
1513 # A BSD- or MS-compatible name lister.
1516 # Whether we need soft or hard links.
1519 # What is the maximum length of a command?
1520 max_cmd_len=$max_cmd_len
1522 # Object file suffix (normally "o").
1525 # Executable file suffix (normally "").
1528 # whether the shell understands "unset".
1531 # turn spaces into newlines.
1534 # turn newlines into spaces.
1537 # An object symbol dumper.
1540 # Method to check whether dependent libraries are shared objects.
1541 deplibs_check_method=$lt_deplibs_check_method
1543 # Command to use when deplibs_check_method == "file_magic".
1544 file_magic_cmd=$lt_file_magic_cmd
1548 AR_FLAGS=$lt_AR_FLAGS
1550 # A symbol stripping program.
1553 # Commands used to install an old-style archive.
1555 old_postinstall_cmds=$lt_old_postinstall_cmds
1556 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1558 # Whether to use a lock for old archive extraction.
1559 lock_old_archive_extraction=$lock_old_archive_extraction
1564 # LTCC compiler flags.
1567 # Take the output of nm and produce a listing of raw symbols and C names.
1568 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1570 # Transform the output of nm in a proper C declaration.
1571 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1573 # Transform the output of nm in a C name address pair.
1574 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1576 # Transform the output of nm in a C name address pair when lib prefix is needed.
1577 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1579 # The name of the directory that contains temporary libtool files.
1582 # Used to examine libraries when file_magic_cmd begins with "file".
1583 MAGIC_CMD=$MAGIC_CMD
1585 # Must we lock files when doing compilation?
1586 need_locks=$lt_need_locks
1588 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1589 DSYMUTIL=$lt_DSYMUTIL
1591 # Tool to change global to local symbols on Mac OS X.
1594 # Tool to manipulate fat objects and archives on Mac OS X.
1597 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1600 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1603 # Old archive suffix (normally "a").
1606 # Shared library suffix (normally ".so").
1607 shrext_cmds=$lt_shrext_cmds
1609 # The commands to extract the exported symbol list from a shared archive.
1610 extract_expsyms_cmds=$lt_extract_expsyms_cmds
1612 # Variables whose values should be saved in libtool wrapper scripts and
1613 # restored at link time.
1614 variables_saved_for_relink=$lt_variables_saved_for_relink
1616 # Do we need the "lib" prefix for modules?
1617 need_lib_prefix=$need_lib_prefix
1619 # Do we need a version for libraries?
1620 need_version=$need_version
1622 # Library versioning type.
1623 version_type=$version_type
1625 # Shared library runtime path variable.
1626 runpath_var=$runpath_var
1628 # Shared library path variable.
1629 shlibpath_var=$shlibpath_var
1631 # Is shlibpath searched before the hard-coded library search path?
1632 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1634 # Format of library name prefix.
1635 libname_spec=$lt_libname_spec
1637 # List of archive names. First name is the real one, the rest are links.
1638 # The last name is the one that the linker finds with -lNAME
1639 library_names_spec=$lt_library_names_spec
1641 # The coded name of the library, if different from the real name.
1642 soname_spec=$lt_soname_spec
1644 # Permission mode override for installation of shared libraries.
1645 install_override_mode=$lt_install_override_mode
1647 # Command to use after installation of a shared archive.
1648 postinstall_cmds=$lt_postinstall_cmds
1650 # Command to use after uninstallation of a shared archive.
1651 postuninstall_cmds=$lt_postuninstall_cmds
1653 # Commands used to finish a libtool library installation in a directory.
1654 finish_cmds=$lt_finish_cmds
1656 # As "finish_cmds", except a single script fragment to be evaled but
1658 finish_eval=$lt_finish_eval
1660 # Whether we should hardcode library paths into libraries.
1661 hardcode_into_libs=$hardcode_into_libs
1663 # Compile-time system search path for libraries.
1664 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1666 # Run-time system search path for libraries.
1667 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1669 # Whether dlopen is supported.
1670 dlopen_support=$enable_dlopen
1672 # Whether dlopen of programs is supported.
1673 dlopen_self=$enable_dlopen_self
1675 # Whether dlopen of statically linked programs is supported.
1676 dlopen_self_static=$enable_dlopen_self_static
1678 # Commands to strip libraries.
1679 old_striplib=$lt_old_striplib
1680 striplib=$lt_striplib
1683 # The linker used to build libraries.
1686 # How to create reloadable object files.
1687 reload_flag=$lt_reload_flag
1688 reload_cmds=$lt_reload_cmds
1690 # Commands used to build an old-style archive.
1691 old_archive_cmds=$lt_old_archive_cmds
1693 # A language specific compiler.
1696 # Is the compiler the GNU compiler?
1699 # Compiler flag to turn off builtin functions.
1700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1702 # How to pass a linker flag through the compiler.
1703 wl=$lt_lt_prog_compiler_wl
1705 # Additional compiler flags for building library objects.
1706 pic_flag=$lt_lt_prog_compiler_pic
1708 # Compiler flag to prevent dynamic linking.
1709 link_static_flag=$lt_lt_prog_compiler_static
1711 # Does compiler simultaneously support -c and -o options?
1712 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1714 # Whether or not to add -lc for building shared libraries.
1715 build_libtool_need_lc=$archive_cmds_need_lc
1717 # Whether or not to disallow shared libs when runtime libs are static.
1718 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1720 # Compiler flag to allow reflexive dlopens.
1721 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1723 # Compiler flag to generate shared objects directly from archives.
1724 whole_archive_flag_spec=$lt_whole_archive_flag_spec
1726 # Whether the compiler copes with passing no objects directly.
1727 compiler_needs_object=$lt_compiler_needs_object
1729 # Create an old-style archive from a shared archive.
1730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1732 # Create a temporary old-style archive to link instead of a shared archive.
1733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1735 # Commands used to build a shared archive.
1736 archive_cmds=$lt_archive_cmds
1737 archive_expsym_cmds=$lt_archive_expsym_cmds
1739 # Commands used to build a loadable module if different from building
1741 module_cmds=$lt_module_cmds
1742 module_expsym_cmds=$lt_module_expsym_cmds
1744 # Whether we are building with GNU ld or not.
1745 with_gnu_ld=$lt_with_gnu_ld
1747 # Flag that allows shared libraries with undefined symbols to be built.
1748 allow_undefined_flag=$lt_allow_undefined_flag
1750 # Flag that enforces no undefined symbols.
1751 no_undefined_flag=$lt_no_undefined_flag
1753 # Flag to hardcode \$libdir into a binary during linking.
1754 # This must work even if \$libdir does not exist
1755 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1757 # If ld is used when linking, flag to hardcode \$libdir into a binary
1758 # during linking. This must work even if \$libdir does not exist.
1759 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1761 # Whether we need a single "-rpath" flag with a separated argument.
1762 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1764 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1765 # DIR into the resulting binary.
1766 hardcode_direct=$hardcode_direct
1768 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1769 # DIR into the resulting binary and the resulting library dependency is
1770 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1771 # library is relocated.
1772 hardcode_direct_absolute=$hardcode_direct_absolute
1774 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1775 # into the resulting binary.
1776 hardcode_minus_L=$hardcode_minus_L
1778 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1779 # into the resulting binary.
1780 hardcode_shlibpath_var=$hardcode_shlibpath_var
1782 # Set to "yes" if building a shared library automatically hardcodes DIR
1783 # into the library and all subsequent libraries and executables linked
1785 hardcode_automatic=$hardcode_automatic
1787 # Set to yes if linker adds runtime paths of dependent libraries
1788 # to runtime path list.
1789 inherit_rpath=$inherit_rpath
1791 # Whether libtool must link a program against all its dependency libraries.
1792 link_all_deplibs=$link_all_deplibs
1794 # Fix the shell variable \$srcfile for the compiler.
1795 fix_srcfile_path=$lt_fix_srcfile_path
1797 # Set to "yes" if exported symbols are required.
1798 always_export_symbols=$always_export_symbols
1800 # The commands to list exported symbols.
1801 export_symbols_cmds=$lt_export_symbols_cmds
1803 # Symbols that should not be listed in the preloaded symbols.
1804 exclude_expsyms=$lt_exclude_expsyms
1806 # Symbols that must always be exported.
1807 include_expsyms=$lt_include_expsyms
1809 # Commands necessary for linking programs (against libraries) with templates.
1810 prelink_cmds=$lt_prelink_cmds
1812 # Specify filename containing input files.
1813 file_list_spec=$lt_file_list_spec
1815 # How to hardcode a shared library path into an executable.
1816 hardcode_action=$hardcode_action
1818 # ### END LIBTOOL CONFIG
1824 cat <<\_LT_EOF >> "$cfgfile"
1825 # AIX sometimes has problems with the GCC collect2 program. For some
1826 # reason, if we set the COLLECT_NAMES environment variable, the problems
1827 # vanish in a puff of smoke.
1828 if test "X${COLLECT_NAMES+set}" != Xset; then
1830 export COLLECT_NAMES
1837 ltmain="$ac_aux_dir/ltmain.sh"
1840 # We use sed instead of cat because bash on DJGPP gets confused if
1841 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1842 # text mode, it properly converts lines to CR/LF. This bash problem
1843 # is reportedly fixed, but why not run on old versions too?
1844 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1845 || (rm -f "$cfgfile"; exit 1)
1849 cat << \_LT_EOF >> "$cfgfile"
1851 # func_dirname file append nondir_replacement
1852 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1853 # otherwise set result to NONDIR_REPLACEMENT.
1857 */*) func_dirname_result="${1%/*}${2}" ;;
1858 * ) func_dirname_result="${3}" ;;
1862 # func_basename file
1865 func_basename_result="${1##*/}"
1868 # func_dirname_and_basename file append nondir_replacement
1869 # perform func_basename and func_dirname in a single function
1871 # dirname: Compute the dirname of FILE. If nonempty,
1872 # add APPEND to the result, otherwise set result
1873 # to NONDIR_REPLACEMENT.
1874 # value returned in "$func_dirname_result"
1875 # basename: Compute filename of FILE.
1876 # value retuned in "$func_basename_result"
1877 # Implementation must be kept synchronized with func_dirname
1878 # and func_basename. For efficiency, we do not delegate to
1879 # those functions but instead duplicate the functionality here.
1880 func_dirname_and_basename ()
1883 */*) func_dirname_result="${1%/*}${2}" ;;
1884 * ) func_dirname_result="${3}" ;;
1886 func_basename_result="${1##*/}"
1889 # func_stripname prefix suffix name
1890 # strip PREFIX and SUFFIX off of NAME.
1891 # PREFIX and SUFFIX must not contain globbing or regex special
1892 # characters, hashes, percent signs, but SUFFIX may contain a leading
1893 # dot (in which case that matches only a dot).
1896 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1897 # positional parameters, so assign one to ordinary parameter first.
1898 func_stripname_result=${3}
1899 func_stripname_result=${func_stripname_result#"${1}"}
1900 func_stripname_result=${func_stripname_result%"${2}"}
1906 func_opt_split_opt=${1%%=*}
1907 func_opt_split_arg=${1#*=}
1914 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
1915 *) func_lo2o_result=${1} ;;
1919 # func_xform libobj-or-source
1922 func_xform_result=${1%.*}.lo
1925 # func_arith arithmetic-term...
1928 func_arith_result=$(( $* ))
1932 # STRING may not start with a hyphen.
1935 func_len_result=${#1}
1940 *) # Bourne compatible functions.
1941 cat << \_LT_EOF >> "$cfgfile"
1943 # func_dirname file append nondir_replacement
1944 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1945 # otherwise set result to NONDIR_REPLACEMENT.
1948 # Extract subdirectory from the argument.
1949 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
1950 if test "X$func_dirname_result" = "X${1}"; then
1951 func_dirname_result="${3}"
1953 func_dirname_result="$func_dirname_result${2}"
1957 # func_basename file
1960 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
1964 # func_stripname prefix suffix name
1965 # strip PREFIX and SUFFIX off of NAME.
1966 # PREFIX and SUFFIX must not contain globbing or regex special
1967 # characters, hashes, percent signs, but SUFFIX may contain a leading
1968 # dot (in which case that matches only a dot).
1969 # func_strip_suffix prefix name
1973 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
1974 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
1979 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
1980 my_sed_long_arg='1s/^-[^=]*=//'
1985 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
1986 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
1992 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
1995 # func_xform libobj-or-source
1998 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
2001 # func_arith arithmetic-term...
2004 func_arith_result=`expr "$@"`
2008 # STRING may not start with a hyphen.
2011 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
2017 case $lt_shell_append in
2019 cat << \_LT_EOF >> "$cfgfile"
2021 # func_append var value
2022 # Append VALUE to the end of shell variable VAR.
2030 cat << \_LT_EOF >> "$cfgfile"
2032 # func_append var value
2033 # Append VALUE to the end of shell variable VAR.
2044 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2045 || (rm -f "$cfgfile"; exit 1)
2047 mv -f "$cfgfile" "$ofile" ||
2048 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")