2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for libmm-imgp-gstcs 0.1.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
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
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
699 PACKAGE_NAME='libmm-imgp-gstcs'
700 PACKAGE_TARNAME='libmm-imgp-gstcs'
701 PACKAGE_VERSION='0.1'
702 PACKAGE_STRING='libmm-imgp-gstcs 0.1'
706 # Factoring default headers for most tests.
707 ac_includes_default="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
742 ac_subst_vars='am__EXEEXT_FALSE
813 INSTALL_STRIP_PROGRAM
855 program_transform_name
868 enable_option_checking
869 enable_dependency_tracking
877 ac_precious_vars='build_alias
903 # Initialize some variables set by options.
905 ac_init_version=false
906 ac_unrecognized_opts=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
917 program_transform_name=s,x,x,
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
963 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
974 -bindir | --bindir | --bindi | --bind | --bin | --bi)
976 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979 -build | --build | --buil | --bui | --bu)
980 ac_prev=build_alias ;;
981 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
982 build_alias=$ac_optarg ;;
984 -cache-file | --cache-file | --cache-fil | --cache-fi \
985 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
986 ac_prev=cache_file ;;
987 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
988 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
989 cache_file=$ac_optarg ;;
992 cache_file=config.cache ;;
994 -datadir | --datadir | --datadi | --datad)
996 -datadir=* | --datadir=* | --datadi=* | --datad=*)
997 datadir=$ac_optarg ;;
999 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1000 | --dataroo | --dataro | --datar)
1001 ac_prev=datarootdir ;;
1002 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1003 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1004 datarootdir=$ac_optarg ;;
1006 -disable-* | --disable-*)
1007 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error $? "invalid feature name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_$ac_useropt"
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1020 eval enable_$ac_useropt=no ;;
1022 -docdir | --docdir | --docdi | --doc | --do)
1024 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1025 docdir=$ac_optarg ;;
1027 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1029 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1030 dvidir=$ac_optarg ;;
1032 -enable-* | --enable-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid feature name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_$ac_useropt"
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval enable_$ac_useropt=\$ac_optarg ;;
1048 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1049 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1050 | --exec | --exe | --ex)
1051 ac_prev=exec_prefix ;;
1052 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1053 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1054 | --exec=* | --exe=* | --ex=*)
1055 exec_prefix=$ac_optarg ;;
1057 -gas | --gas | --ga | --g)
1058 # Obsolete; use --with-gas.
1061 -help | --help | --hel | --he | -h)
1062 ac_init_help=long ;;
1063 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1064 ac_init_help=recursive ;;
1065 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1066 ac_init_help=short ;;
1068 -host | --host | --hos | --ho)
1069 ac_prev=host_alias ;;
1070 -host=* | --host=* | --hos=* | --ho=*)
1071 host_alias=$ac_optarg ;;
1073 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1075 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1077 htmldir=$ac_optarg ;;
1079 -includedir | --includedir | --includedi | --included | --include \
1080 | --includ | --inclu | --incl | --inc)
1081 ac_prev=includedir ;;
1082 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1083 | --includ=* | --inclu=* | --incl=* | --inc=*)
1084 includedir=$ac_optarg ;;
1086 -infodir | --infodir | --infodi | --infod | --info | --inf)
1088 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1089 infodir=$ac_optarg ;;
1091 -libdir | --libdir | --libdi | --libd)
1093 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1094 libdir=$ac_optarg ;;
1096 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1097 | --libexe | --libex | --libe)
1098 ac_prev=libexecdir ;;
1099 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1100 | --libexe=* | --libex=* | --libe=*)
1101 libexecdir=$ac_optarg ;;
1103 -localedir | --localedir | --localedi | --localed | --locale)
1104 ac_prev=localedir ;;
1105 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1106 localedir=$ac_optarg ;;
1108 -localstatedir | --localstatedir | --localstatedi | --localstated \
1109 | --localstate | --localstat | --localsta | --localst | --locals)
1110 ac_prev=localstatedir ;;
1111 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1112 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1113 localstatedir=$ac_optarg ;;
1115 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1117 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1118 mandir=$ac_optarg ;;
1120 -nfp | --nfp | --nf)
1121 # Obsolete; use --without-fp.
1124 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1125 | --no-cr | --no-c | -n)
1128 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1129 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1133 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1134 | --oldin | --oldi | --old | --ol | --o)
1135 ac_prev=oldincludedir ;;
1136 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1137 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1138 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1139 oldincludedir=$ac_optarg ;;
1141 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1143 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1144 prefix=$ac_optarg ;;
1146 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1147 | --program-pre | --program-pr | --program-p)
1148 ac_prev=program_prefix ;;
1149 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1150 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1151 program_prefix=$ac_optarg ;;
1153 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1154 | --program-suf | --program-su | --program-s)
1155 ac_prev=program_suffix ;;
1156 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1157 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1158 program_suffix=$ac_optarg ;;
1160 -program-transform-name | --program-transform-name \
1161 | --program-transform-nam | --program-transform-na \
1162 | --program-transform-n | --program-transform- \
1163 | --program-transform | --program-transfor \
1164 | --program-transfo | --program-transf \
1165 | --program-trans | --program-tran \
1166 | --progr-tra | --program-tr | --program-t)
1167 ac_prev=program_transform_name ;;
1168 -program-transform-name=* | --program-transform-name=* \
1169 | --program-transform-nam=* | --program-transform-na=* \
1170 | --program-transform-n=* | --program-transform-=* \
1171 | --program-transform=* | --program-transfor=* \
1172 | --program-transfo=* | --program-transf=* \
1173 | --program-trans=* | --program-tran=* \
1174 | --progr-tra=* | --program-tr=* | --program-t=*)
1175 program_transform_name=$ac_optarg ;;
1177 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1179 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1180 pdfdir=$ac_optarg ;;
1182 -psdir | --psdir | --psdi | --psd | --ps)
1184 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1188 | -silent | --silent | --silen | --sile | --sil)
1191 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1193 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1195 sbindir=$ac_optarg ;;
1197 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1198 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1199 | --sharedst | --shareds | --shared | --share | --shar \
1201 ac_prev=sharedstatedir ;;
1202 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1203 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1204 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1206 sharedstatedir=$ac_optarg ;;
1208 -site | --site | --sit)
1210 -site=* | --site=* | --sit=*)
1213 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1215 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1216 srcdir=$ac_optarg ;;
1218 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1219 | --syscon | --sysco | --sysc | --sys | --sy)
1220 ac_prev=sysconfdir ;;
1221 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1222 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1223 sysconfdir=$ac_optarg ;;
1225 -target | --target | --targe | --targ | --tar | --ta | --t)
1226 ac_prev=target_alias ;;
1227 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1228 target_alias=$ac_optarg ;;
1230 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1233 -version | --version | --versio | --versi | --vers | -V)
1234 ac_init_version=: ;;
1237 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error $? "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1250 eval with_$ac_useropt=\$ac_optarg ;;
1252 -without-* | --without-*)
1253 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 as_fn_error $? "invalid package name: $ac_useropt"
1257 ac_useropt_orig=$ac_useropt
1258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep=', ';;
1266 eval with_$ac_useropt=no ;;
1269 # Obsolete; use --with-x.
1272 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1273 | --x-incl | --x-inc | --x-in | --x-i)
1274 ac_prev=x_includes ;;
1275 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1276 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1277 x_includes=$ac_optarg ;;
1279 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1280 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1281 ac_prev=x_libraries ;;
1282 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1283 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1284 x_libraries=$ac_optarg ;;
1286 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1287 Try \`$0 --help' for more information"
1291 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 case $ac_envvar in #(
1294 '' | [0-9]* | *[!_$as_cr_alnum]* )
1295 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1297 eval $ac_envvar=\$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1311 if test -n "$ac_prev"; then
1312 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1313 as_fn_error $? "missing argument to $ac_option"
1316 if test -n "$ac_unrecognized_opts"; then
1317 case $enable_option_checking in
1319 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1324 # Check all directory arguments for consistency.
1325 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326 datadir sysconfdir sharedstatedir localstatedir includedir \
1327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328 libdir localedir mandir
1330 eval ac_val=\$$ac_var
1331 # Remove trailing slashes.
1334 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335 eval $ac_var=\$ac_val;;
1337 # Be sure to have absolute directory names.
1339 [\\/$]* | ?:[\\/]* ) continue;;
1340 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1342 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1345 # There might be people who depend on the old broken behavior: `$host'
1346 # used to hold the argument of --host etc.
1347 # FIXME: To remove some day.
1350 target=$target_alias
1352 # FIXME: To remove some day.
1353 if test "x$host_alias" != x; then
1354 if test "x$build_alias" = x; then
1355 cross_compiling=maybe
1356 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1357 If a cross compiler is detected then cross compile mode will be used" >&2
1358 elif test "x$build_alias" != "x$host_alias"; then
1364 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1366 test "$silent" = yes && exec 6>/dev/null
1369 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1370 ac_ls_di=`ls -di .` &&
1371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1372 as_fn_error $? "working directory cannot be determined"
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 as_fn_error $? "pwd does not report name of working directory"
1377 # Find the source files, if location was not specified.
1378 if test -z "$srcdir"; then
1379 ac_srcdir_defaulted=yes
1380 # Try the directory containing this script, then the parent directory.
1381 ac_confdir=`$as_dirname -- "$as_myself" ||
1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383 X"$as_myself" : 'X\(//\)[^/]' \| \
1384 X"$as_myself" : 'X\(//\)$' \| \
1385 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1386 $as_echo X"$as_myself" |
1387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1409 ac_srcdir_defaulted=no
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1413 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1415 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1417 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1419 # When building in place, set srcdir=.
1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 # Remove unnecessary trailing slashes from srcdir.
1424 # Double slashes in file names in object file debugging info
1425 # mess up M-x gdb in Emacs.
1427 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429 for ac_var in $ac_precious_vars; do
1430 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1431 eval ac_env_${ac_var}_value=\$${ac_var}
1432 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1437 # Report the --help message.
1439 if test "$ac_init_help" = "long"; then
1440 # Omit some internal or obsolete options to make the list less imposing.
1441 # This message is too long to be a string in the A/UX 3.1 sh.
1443 \`configure' configures libmm-imgp-gstcs 0.1 to adapt to many kinds of systems.
1445 Usage: $0 [OPTION]... [VAR=VALUE]...
1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1448 VAR=VALUE. See below for descriptions of some of the useful variables.
1450 Defaults for the options are specified in brackets.
1453 -h, --help display this help and exit
1454 --help=short display options specific to this package
1455 --help=recursive display the short help of all the included packages
1456 -V, --version display version information and exit
1457 -q, --quiet, --silent do not print \`checking ...' messages
1458 --cache-file=FILE cache test results in FILE [disabled]
1459 -C, --config-cache alias for \`--cache-file=config.cache'
1460 -n, --no-create do not create output files
1461 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1463 Installation directories:
1464 --prefix=PREFIX install architecture-independent files in PREFIX
1465 [$ac_default_prefix]
1466 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 By default, \`make install' will install all the files in
1470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1472 for instance \`--prefix=\$HOME'.
1474 For better control, use the options below.
1476 Fine tuning of the installation directories:
1477 --bindir=DIR user executables [EPREFIX/bin]
1478 --sbindir=DIR system admin executables [EPREFIX/sbin]
1479 --libexecdir=DIR program executables [EPREFIX/libexec]
1480 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1481 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1482 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1483 --libdir=DIR object code libraries [EPREFIX/lib]
1484 --includedir=DIR C header files [PREFIX/include]
1485 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1486 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1487 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1488 --infodir=DIR info documentation [DATAROOTDIR/info]
1489 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1490 --mandir=DIR man documentation [DATAROOTDIR/man]
1491 --docdir=DIR documentation root
1492 [DATAROOTDIR/doc/libmm-imgp-gstcs]
1493 --htmldir=DIR html documentation [DOCDIR]
1494 --dvidir=DIR dvi documentation [DOCDIR]
1495 --pdfdir=DIR pdf documentation [DOCDIR]
1496 --psdir=DIR ps documentation [DOCDIR]
1502 --program-prefix=PREFIX prepend PREFIX to installed program names
1503 --program-suffix=SUFFIX append SUFFIX to installed program names
1504 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1507 --build=BUILD configure for building on BUILD [guessed]
1508 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1512 if test -n "$ac_init_help"; then
1513 case $ac_init_help in
1514 short | recursive ) echo "Configuration of libmm-imgp-gstcs 0.1:";;
1519 --disable-option-checking ignore unrecognized --enable/--with options
1520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1522 --disable-dependency-tracking speeds up one-time build
1523 --enable-dependency-tracking do not reject slow dependency extractors
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1531 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1532 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1533 --with-pic try to use only PIC/non-PIC objects [default=use
1535 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1546 PKG_CONFIG path to pkg-config utility
1548 directories to add to pkg-config's search path
1550 path overriding pkg-config's built-in search path
1552 C compiler flags for MMCOMMON, overriding pkg-config
1554 linker flags for MMCOMMON, overriding pkg-config
1556 C compiler flags for MMLOG, overriding pkg-config
1557 MMLOG_LIBS linker flags for MMLOG, overriding pkg-config
1558 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1559 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1560 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1561 GST_LIBS linker flags for GST, overriding pkg-config
1563 C compiler flags for GSTAPP, overriding pkg-config
1564 GSTAPP_LIBS linker flags for GSTAPP, overriding pkg-config
1566 C compiler flags for GMODULE, overriding pkg-config
1568 linker flags for GMODULE, overriding pkg-config
1570 Use these variables to override the choices made by `configure' or to help
1571 it to find libraries and programs with nonstandard names/locations.
1573 Report bugs to the package provider.
1578 if test "$ac_init_help" = "recursive"; then
1579 # If there are subdirs, report their specific --help.
1580 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1581 test -d "$ac_dir" ||
1582 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1590 # A ".." for each directory in $ac_dir_suffix.
1591 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1592 case $ac_top_builddir_sub in
1593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1597 ac_abs_top_builddir=$ac_pwd
1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1599 # for backward compatibility:
1600 ac_top_builddir=$ac_top_build_prefix
1603 .) # We are building in place.
1605 ac_top_srcdir=$ac_top_builddir_sub
1606 ac_abs_top_srcdir=$ac_pwd ;;
1607 [\\/]* | ?:[\\/]* ) # Absolute name.
1608 ac_srcdir=$srcdir$ac_dir_suffix;
1609 ac_top_srcdir=$srcdir
1610 ac_abs_top_srcdir=$srcdir ;;
1612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1613 ac_top_srcdir=$ac_top_build_prefix$srcdir
1614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1618 cd "$ac_dir" || { ac_status=$?; continue; }
1619 # Check for guested configure.
1620 if test -f "$ac_srcdir/configure.gnu"; then
1622 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1623 elif test -f "$ac_srcdir/configure"; then
1625 $SHELL "$ac_srcdir/configure" --help=recursive
1627 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1629 cd "$ac_pwd" || { ac_status=$?; break; }
1633 test -n "$ac_init_help" && exit $ac_status
1634 if $ac_init_version; then
1636 libmm-imgp-gstcs configure 0.1
1637 generated by GNU Autoconf 2.67
1639 Copyright (C) 2010 Free Software Foundation, Inc.
1640 This configure script is free software; the Free Software Foundation
1641 gives unlimited permission to copy, distribute and modify it.
1646 ## ------------------------ ##
1647 ## Autoconf initialization. ##
1648 ## ------------------------ ##
1650 # ac_fn_c_try_compile LINENO
1651 # --------------------------
1652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_c_try_compile ()
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 rm -f conftest.$ac_objext
1657 if { { ac_try="$ac_compile"
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest.$ac_objext; then :
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_compile
1688 # ac_fn_c_try_link LINENO
1689 # -----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded.
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext conftest$ac_exeext
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest$ac_exeext && {
1714 test "$cross_compiling" = yes ||
1715 $as_test_x conftest$ac_exeext
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1724 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1725 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1726 # interfere with the next link command; also delete a directory that is
1727 # left behind by Apple's compiler. We do this before executing the actions.
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 as_fn_set_status $ac_retval
1732 } # ac_fn_c_try_link
1734 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1735 # -------------------------------------------------------
1736 # Tests whether HEADER exists and can be compiled using the include files in
1737 # INCLUDES, setting the cache variable VAR accordingly.
1738 ac_fn_c_check_header_compile ()
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742 $as_echo_n "checking for $2... " >&6; }
1743 if eval "test \"\${$3+set}\"" = set; then :
1744 $as_echo_n "(cached) " >&6
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747 /* end confdefs.h. */
1751 if ac_fn_c_try_compile "$LINENO"; then :
1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 } # ac_fn_c_check_header_compile
1765 # ac_fn_c_try_cpp LINENO
1766 # ----------------------
1767 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if { { ac_try="$ac_cpp conftest.$ac_ext"
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } > conftest.i && {
1787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 as_fn_set_status $ac_retval
1802 # ac_fn_c_try_run LINENO
1803 # ----------------------
1804 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1805 # that executables *can* be run.
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 if { { ac_try="$ac_link"
1811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_link") 2>&5
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1820 { { case "(($ac_try" in
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_try") 2>&5
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; }; }; then :
1832 $as_echo "$as_me: program exited with status $ac_status" >&5
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1836 ac_retval=$ac_status
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 as_fn_set_status $ac_retval
1844 # ac_fn_c_check_func LINENO FUNC VAR
1845 # ----------------------------------
1846 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1847 ac_fn_c_check_func ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if eval "test \"\${$3+set}\"" = set; then :
1853 $as_echo_n "(cached) " >&6
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1859 #define $2 innocuous_$2
1861 /* System header to define __stub macros and hopefully few prototypes,
1862 which can conflict with char $2 (); below.
1863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1864 <limits.h> exists even on freestanding compilers. */
1867 # include <limits.h>
1869 # include <assert.h>
1874 /* Override any GCC internal prototype to avoid an error.
1875 Use char because int might match the return type of a GCC
1876 builtin and then its argument prototype would still apply. */
1881 /* The GNU C library defines this for functions which it implements
1882 to always fail with ENOSYS. Some functions are actually named
1883 something starting with __ and the normal name is an alias. */
1884 #if defined __stub_$2 || defined __stub___$2
1896 if ac_fn_c_try_link "$LINENO"; then :
1901 rm -f core conftest.err conftest.$ac_objext \
1902 conftest$ac_exeext conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 } # ac_fn_c_check_func
1911 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1912 # -------------------------------------------------------
1913 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1914 # the include files in INCLUDES and setting the cache variable VAR
1916 ac_fn_c_check_header_mongrel ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 if eval "test \"\${$3+set}\"" = set; then :
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval "test \"\${$3+set}\"" = set; then :
1923 $as_echo_n "(cached) " >&6
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1929 # Is the header compilable?
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1931 $as_echo_n "checking $2 usability... " >&6; }
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1937 if ac_fn_c_try_compile "$LINENO"; then :
1938 ac_header_compiler=yes
1940 ac_header_compiler=no
1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1944 $as_echo "$ac_header_compiler" >&6; }
1946 # Is the header present?
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1948 $as_echo_n "checking $2 presence... " >&6; }
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1953 if ac_fn_c_try_cpp "$LINENO"; then :
1954 ac_header_preproc=yes
1956 ac_header_preproc=no
1958 rm -f conftest.err conftest.i conftest.$ac_ext
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1960 $as_echo "$ac_header_preproc" >&6; }
1962 # So? What about this header?
1963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1966 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1968 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1972 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1974 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1976 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1978 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1980 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval "test \"\${$3+set}\"" = set; then :
1986 $as_echo_n "(cached) " >&6
1988 eval "$3=\$ac_header_compiler"
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1994 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1996 } # ac_fn_c_check_header_mongrel
1997 cat >config.log <<_ACEOF
1998 This file contains any messages produced by compilers while
1999 running configure, to aid debugging if configure makes a mistake.
2001 It was created by libmm-imgp-gstcs $as_me 0.1, which was
2002 generated by GNU Autoconf 2.67. Invocation command line was
2014 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2015 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2016 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2017 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2018 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2020 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2021 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2023 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2024 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2025 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2026 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2027 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2028 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2029 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir=.
2038 $as_echo "PATH: $as_dir"
2054 # Keep a trace of the command line.
2055 # Strip out --no-create and --no-recursion so they do not pile up.
2056 # Strip out --silent because we don't want to record it for future runs.
2057 # Also quote any args containing shell meta-characters.
2058 # Make two passes to allow for proper duplicate-argument suppression.
2062 ac_must_keep_next=false
2068 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2070 | -silent | --silent | --silen | --sile | --sil)
2073 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2076 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2078 as_fn_append ac_configure_args1 " '$ac_arg'"
2079 if test $ac_must_keep_next = true; then
2080 ac_must_keep_next=false # Got value, back to normal.
2083 *=* | --config-cache | -C | -disable-* | --disable-* \
2084 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2085 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2086 | -with-* | --with-* | -without-* | --without-* | --x)
2087 case "$ac_configure_args0 " in
2088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2091 -* ) ac_must_keep_next=true ;;
2094 as_fn_append ac_configure_args " '$ac_arg'"
2099 { ac_configure_args0=; unset ac_configure_args0;}
2100 { ac_configure_args1=; unset ac_configure_args1;}
2102 # When interrupted or exit'd, cleanup temporary files, and complete
2103 # config.log. We remove comments because anyway the quotes in there
2104 # would cause problems or look ugly.
2105 # WARNING: Use '\'' to represent an apostrophe within the trap.
2106 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2107 trap 'exit_status=$?
2108 # Save into config.log some information that might help in debugging.
2112 $as_echo "## ---------------- ##
2113 ## Cache variables. ##
2114 ## ---------------- ##"
2116 # The following way of writing the cache mishandles newlines in values,
2118 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2119 eval ac_val=\$$ac_var
2123 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2124 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2127 _ | IFS | as_nl) ;; #(
2128 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2129 *) { eval $ac_var=; unset $ac_var;} ;;
2134 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2135 *${as_nl}ac_space=\ *)
2137 "s/'\''/'\''\\\\'\'''\''/g;
2138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2148 $as_echo "## ----------------- ##
2149 ## Output variables. ##
2150 ## ----------------- ##"
2152 for ac_var in $ac_subst_vars
2154 eval ac_val=\$$ac_var
2156 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158 $as_echo "$ac_var='\''$ac_val'\''"
2162 if test -n "$ac_subst_files"; then
2163 $as_echo "## ------------------- ##
2164 ## File substitutions. ##
2165 ## ------------------- ##"
2167 for ac_var in $ac_subst_files
2169 eval ac_val=\$$ac_var
2171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 $as_echo "$ac_var='\''$ac_val'\''"
2178 if test -s confdefs.h; then
2179 $as_echo "## ----------- ##
2186 test "$ac_signal" != 0 &&
2187 $as_echo "$as_me: caught signal $ac_signal"
2188 $as_echo "$as_me: exit $exit_status"
2190 rm -f core *.core core.conftest.* &&
2191 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2194 for ac_signal in 1 2 13 15; do
2195 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2200 rm -f -r conftest* confdefs.h
2202 $as_echo "/* confdefs.h */" > confdefs.h
2204 # Predefined preprocessor variables.
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_NAME "$PACKAGE_NAME"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_STRING "$PACKAGE_STRING"
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_URL "$PACKAGE_URL"
2231 # Let the site file select an alternate cache file if it wants to.
2232 # Prefer an explicitly selected file to automatically selected ones.
2235 if test -n "$CONFIG_SITE"; then
2236 # We do not want a PATH search for config.site.
2237 case $CONFIG_SITE in #((
2238 -*) ac_site_file1=./$CONFIG_SITE;;
2239 */*) ac_site_file1=$CONFIG_SITE;;
2240 *) ac_site_file1=./$CONFIG_SITE;;
2242 elif test "x$prefix" != xNONE; then
2243 ac_site_file1=$prefix/share/config.site
2244 ac_site_file2=$prefix/etc/config.site
2246 ac_site_file1=$ac_default_prefix/share/config.site
2247 ac_site_file2=$ac_default_prefix/etc/config.site
2249 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2251 test "x$ac_site_file" = xNONE && continue
2252 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2254 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2255 sed 's/^/| /' "$ac_site_file" >&5
2257 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259 as_fn_error $? "failed to load site script $ac_site_file
2260 See \`config.log' for more details" "$LINENO" 5 ; }
2264 if test -r "$cache_file"; then
2265 # Some versions of bash will fail to source /dev/null (special files
2266 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2267 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2269 $as_echo "$as_me: loading cache $cache_file" >&6;}
2271 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2272 *) . "./$cache_file";;
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2277 $as_echo "$as_me: creating cache $cache_file" >&6;}
2281 # Check that the precious variables saved in the cache have kept the same
2283 ac_cache_corrupted=false
2284 for ac_var in $ac_precious_vars; do
2285 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2286 eval ac_new_set=\$ac_env_${ac_var}_set
2287 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2288 eval ac_new_val=\$ac_env_${ac_var}_value
2289 case $ac_old_set,$ac_new_set in
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2292 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2293 ac_cache_corrupted=: ;;
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2296 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2300 if test "x$ac_old_val" != "x$ac_new_val"; then
2301 # differences in whitespace do not lead to failure.
2302 ac_old_val_w=`echo x $ac_old_val`
2303 ac_new_val_w=`echo x $ac_new_val`
2304 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2306 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2307 ac_cache_corrupted=:
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2310 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2311 eval $ac_var=\$ac_old_val
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2314 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2316 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2319 # Pass precious variables to config.status.
2320 if test "$ac_new_set" = set; then
2322 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2323 *) ac_arg=$ac_var=$ac_new_val ;;
2325 case " $ac_configure_args " in
2326 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2327 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2331 if $ac_cache_corrupted; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2335 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2336 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2338 ## -------------------- ##
2339 ## Main body of script. ##
2340 ## -------------------- ##
2343 ac_cpp='$CPP $CPPFLAGS'
2344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2350 ac_config_headers="$ac_config_headers config.h"
2352 am__api_version='1.11'
2355 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2356 if test -f "$ac_dir/install-sh"; then
2358 ac_install_sh="$ac_aux_dir/install-sh -c"
2360 elif test -f "$ac_dir/install.sh"; then
2362 ac_install_sh="$ac_aux_dir/install.sh -c"
2364 elif test -f "$ac_dir/shtool"; then
2366 ac_install_sh="$ac_aux_dir/shtool install -c"
2370 if test -z "$ac_aux_dir"; then
2371 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2374 # These three variables are undocumented and unsupported,
2375 # and are intended to be withdrawn in a future Autoconf release.
2376 # They can cause serious problems if a builder's source tree is in a directory
2377 # whose full name contains unusual characters.
2378 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2379 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2380 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2383 # Find a good install program. We prefer a C program (faster),
2384 # so one script is as good as another. But avoid the broken or
2385 # incompatible versions:
2386 # SysV /etc/install, /usr/sbin/install
2387 # SunOS /usr/etc/install
2388 # IRIX /sbin/install
2390 # AmigaOS /C/install, which installs bootblocks on floppy discs
2391 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2392 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2393 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2394 # OS/2's system install, which has a completely different semantic
2395 # ./install, which can be erroneously created by make from ./install.sh.
2396 # Reject install programs that cannot install multiple files.
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2398 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2399 if test -z "$INSTALL"; then
2400 if test "${ac_cv_path_install+set}" = set; then :
2401 $as_echo_n "(cached) " >&6
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 # Account for people who put trailing slashes in PATH elements.
2409 case $as_dir/ in #((
2410 ./ | .// | /[cC]/* | \
2411 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2412 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2415 # OSF1 and SCO ODT 3.0 have their own names for install.
2416 # Don't use installbsd from OSF since it installs stuff as root
2418 for ac_prog in ginstall scoinst install; do
2419 for ac_exec_ext in '' $ac_executable_extensions; do
2420 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2421 if test $ac_prog = install &&
2422 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2423 # AIX install. It has an incompatible calling convention.
2425 elif test $ac_prog = install &&
2426 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2427 # program-specific install script used by HP pwplus--don't use.
2430 rm -rf conftest.one conftest.two conftest.dir
2431 echo one > conftest.one
2432 echo two > conftest.two
2434 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2435 test -s conftest.one && test -s conftest.two &&
2436 test -s conftest.dir/conftest.one &&
2437 test -s conftest.dir/conftest.two
2439 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2452 rm -rf conftest.one conftest.two conftest.dir
2455 if test "${ac_cv_path_install+set}" = set; then
2456 INSTALL=$ac_cv_path_install
2458 # As a last resort, use the slow shell script. Don't cache a
2459 # value for INSTALL within a source directory, because that will
2460 # break other packages using the cache if that directory is
2461 # removed, or if the value is a relative name.
2462 INSTALL=$ac_install_sh
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2466 $as_echo "$INSTALL" >&6; }
2468 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2469 # It thinks the first close brace ends the variable substitution.
2470 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2472 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2474 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2477 $as_echo_n "checking whether build environment is sane... " >&6; }
2480 echo timestamp > conftest.file
2481 # Reject unsafe characters in $srcdir or the absolute working directory
2482 # name. Accept space and tab only in the latter.
2486 *[\\\"\#\$\&\'\`$am_lf]*)
2487 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2490 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2491 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2494 # Do `set' in a subshell so we don't clobber the current shell's
2495 # arguments. Must try -L first in case configure is actually a
2496 # symlink; some systems play weird games with the mod time of symlinks
2497 # (eg FreeBSD returns the mod time of the symlink's containing
2500 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2501 if test "$*" = "X"; then
2503 set X `ls -t "$srcdir/configure" conftest.file`
2506 if test "$*" != "X $srcdir/configure conftest.file" \
2507 && test "$*" != "X conftest.file $srcdir/configure"; then
2509 # If neither matched, then we have a broken ls. This can happen
2510 # if, for instance, CONFIG_SHELL is bash and it inherits a
2511 # broken ls alias from the environment. This has actually
2512 # happened. Such a system could not be considered "sane".
2513 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2514 alias in your environment" "$LINENO" 5
2517 test "$2" = conftest.file
2523 as_fn_error $? "newly created file is older than distributed files!
2524 Check your system clock" "$LINENO" 5
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2527 $as_echo "yes" >&6; }
2528 test "$program_prefix" != NONE &&
2529 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2530 # Use a double $ so make ignores it.
2531 test "$program_suffix" != NONE &&
2532 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2533 # Double any \ or $.
2534 # By default was `s,x,x', remove it if useless.
2535 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2536 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2538 # expand $ac_aux_dir to an absolute path
2539 am_aux_dir=`cd $ac_aux_dir && pwd`
2541 if test x"${MISSING+set}" != xset; then
2544 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2546 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2549 # Use eval to expand $SHELL
2550 if eval "$MISSING --run true"; then
2551 am_missing_run="$MISSING --run "
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2555 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2558 if test x"${install_sh}" != xset; then
2561 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2563 install_sh="\${SHELL} $am_aux_dir/install-sh"
2567 # Installed binaries are usually stripped using `strip' when the user
2568 # run `make install-strip'. However `strip' might not be the right
2569 # tool to use in cross-compilation environments, therefore Automake
2570 # will honor the `STRIP' environment variable to overrule this program.
2571 if test "$cross_compiling" != no; then
2572 if test -n "$ac_tool_prefix"; then
2573 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2574 set dummy ${ac_tool_prefix}strip; ac_word=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if test "${ac_cv_prog_STRIP+set}" = set; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$STRIP"; then
2581 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 STRIP=$ac_cv_prog_STRIP
2601 if test -n "$STRIP"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2603 $as_echo "$STRIP" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2611 if test -z "$ac_cv_prog_STRIP"; then
2613 # Extract the first word of "strip", so it can be a program name with args.
2614 set dummy strip; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$ac_ct_STRIP"; then
2621 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_ac_ct_STRIP="strip"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2641 if test -n "$ac_ct_STRIP"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2643 $as_echo "$ac_ct_STRIP" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2649 if test "x$ac_ct_STRIP" = x; then
2652 case $cross_compiling:$ac_tool_warned in
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2656 ac_tool_warned=yes ;;
2661 STRIP="$ac_cv_prog_STRIP"
2665 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2668 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2669 if test -z "$MKDIR_P"; then
2670 if test "${ac_cv_path_mkdir+set}" = set; then :
2671 $as_echo_n "(cached) " >&6
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2677 test -z "$as_dir" && as_dir=.
2678 for ac_prog in mkdir gmkdir; do
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2681 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2682 'mkdir (GNU coreutils) '* | \
2683 'mkdir (coreutils) '* | \
2684 'mkdir (fileutils) '4.1*)
2685 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2695 test -d ./--version && rmdir ./--version
2696 if test "${ac_cv_path_mkdir+set}" = set; then
2697 MKDIR_P="$ac_cv_path_mkdir -p"
2699 # As a last resort, use the slow shell script. Don't cache a
2700 # value for MKDIR_P within a source directory, because that will
2701 # break other packages using the cache if that directory is
2702 # removed, or if the value is a relative name.
2703 MKDIR_P="$ac_install_sh -d"
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2707 $as_echo "$MKDIR_P" >&6; }
2711 [\\/$]* | ?:[\\/]*) ;;
2712 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2715 for ac_prog in gawk mawk nawk awk
2717 # Extract the first word of "$ac_prog", so it can be a program name with args.
2718 set dummy $ac_prog; ac_word=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if test "${ac_cv_prog_AWK+set}" = set; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$AWK"; then
2725 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_AWK="$ac_prog"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$AWK"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2747 $as_echo "$AWK" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2754 test -n "$AWK" && break
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2758 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2760 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2761 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 cat >conftest.make <<\_ACEOF
2767 @echo '@@@%%%=$(MAKE)=@@@%%%'
2769 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2770 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2772 eval ac_cv_prog_make_${ac_make}_set=yes;;
2774 eval ac_cv_prog_make_${ac_make}_set=no;;
2778 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2780 $as_echo "yes" >&6; }
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784 $as_echo "no" >&6; }
2785 SET_MAKE="MAKE=${MAKE-make}"
2788 rm -rf .tst 2>/dev/null
2789 mkdir .tst 2>/dev/null
2790 if test -d .tst; then
2795 rmdir .tst 2>/dev/null
2797 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2798 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2799 # is not polluted with repeated "-I."
2800 am__isrc=' -I$(srcdir)'
2801 # test to see if srcdir already configured
2802 if test -f $srcdir/config.status; then
2803 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2807 # test whether we have cygpath
2808 if test -z "$CYGPATH_W"; then
2809 if (cygpath --version) >/dev/null 2>/dev/null; then
2810 CYGPATH_W='cygpath -w'
2817 # Define the identity of the package.
2818 PACKAGE='libmm-imgp-gstcs'
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE "$PACKAGE"
2827 cat >>confdefs.h <<_ACEOF
2828 #define VERSION "$VERSION"
2831 # Some tools Automake needs.
2833 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2836 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2839 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2842 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2845 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2847 # We need awk for the "check" target. The system "awk" is bad on
2849 # Always define AMTAR for backward compatibility.
2851 AMTAR=${AMTAR-"${am_missing_run}tar"}
2853 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2860 # Checks for programs.
2862 ac_cpp='$CPP $CPPFLAGS'
2863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2868 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if test "${ac_cv_prog_CC+set}" = set; then :
2872 $as_echo_n "(cached) " >&6
2874 if test -n "$CC"; then
2875 ac_cv_prog_CC="$CC" # Let the user override the test.
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir=.
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 if test -n "$CC"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2905 if test -z "$ac_cv_prog_CC"; then
2907 # Extract the first word of "gcc", so it can be a program name with args.
2908 set dummy gcc; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$ac_ct_CC"; then
2915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir=.
2922 for ac_exec_ext in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_ac_ct_CC="gcc"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2935 if test -n "$ac_ct_CC"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2937 $as_echo "$ac_ct_CC" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2943 if test "x$ac_ct_CC" = x; then
2946 case $cross_compiling:$ac_tool_warned in
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2950 ac_tool_warned=yes ;;
2958 if test -z "$CC"; then
2959 if test -n "$ac_tool_prefix"; then
2960 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2961 set dummy ${ac_tool_prefix}cc; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_CC+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$CC"; then
2968 ac_cv_prog_CC="$CC" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_CC="${ac_tool_prefix}cc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 if test -n "$CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2999 if test -z "$CC"; then
3000 # Extract the first word of "cc", so it can be a program name with args.
3001 set dummy cc; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if test "${ac_cv_prog_CC+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$CC"; then
3008 ac_cv_prog_CC="$CC" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3019 ac_prog_rejected=yes
3023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 if test $ac_prog_rejected = yes; then
3031 # We found a bogon in the path, so make sure we never use it.
3032 set dummy $ac_cv_prog_CC
3034 if test $# != 0; then
3035 # We chose a different compiler from the bogus one.
3036 # However, it has the same basename, so the bogon will be chosen
3037 # first if we set CC to just the basename; use the full file name.
3039 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3045 if test -n "$CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3047 $as_echo "$CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3055 if test -z "$CC"; then
3056 if test -n "$ac_tool_prefix"; then
3057 for ac_prog in cl.exe
3059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if test "${ac_cv_prog_CC+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC="$CC" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3096 test -n "$CC" && break
3099 if test -z "$CC"; then
3101 for ac_prog in cl.exe
3103 # Extract the first word of "$ac_prog", so it can be a program name with args.
3104 set dummy $ac_prog; ac_word=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$ac_ct_CC"; then
3111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir=.
3118 for ac_exec_ext in '' $ac_executable_extensions; do
3119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3120 ac_cv_prog_ac_ct_CC="$ac_prog"
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3131 if test -n "$ac_ct_CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3133 $as_echo "$ac_ct_CC" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3140 test -n "$ac_ct_CC" && break
3143 if test "x$ac_ct_CC" = x; then
3146 case $cross_compiling:$ac_tool_warned in
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3150 ac_tool_warned=yes ;;
3159 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error $? "no acceptable C compiler found in \$PATH
3162 See \`config.log' for more details" "$LINENO" 5 ; }
3164 # Provide some information about the compiler.
3165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3168 for ac_option in --version -v -V -qversion; do
3169 { { ac_try="$ac_compiler $ac_option >&5"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3178 if test -s conftest.err; then
3180 ... rest of stderr output deleted ...
3181 10q' conftest.err >conftest.er1
3182 cat conftest.er1 >&5
3184 rm -f conftest.er1 conftest.err
3185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3186 test $ac_status = 0; }
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 ac_clean_files_save=$ac_clean_files
3201 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3202 # Try to create an executable without -o first, disregard a.out.
3203 # It will help us diagnose broken compilers, and finding out an intuition
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3206 $as_echo_n "checking whether the C compiler works... " >&6; }
3207 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3209 # The possible output files:
3210 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3213 for ac_file in $ac_files
3216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3217 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3222 if { { ac_try="$ac_link_default"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229 (eval "$ac_link_default") 2>&5
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; }; then :
3233 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3234 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3235 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3236 # so that the user can short-circuit this test for compilers unknown to
3238 for ac_file in $ac_files ''
3240 test -f "$ac_file" || continue
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3245 # We found the default executable, but exeext='' is most
3249 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3251 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3253 # We set ac_cv_exeext here because the later test for it is not
3254 # safe: cross compilers may not add the suffix if given an `-o'
3255 # argument, so we may need to know it at that point already.
3256 # Even if this section looks crufty: it has the advantage of
3263 test "$ac_cv_exeext" = no && ac_cv_exeext=
3268 if test -z "$ac_file"; then :
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3271 $as_echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error 77 "C compiler cannot create executables
3277 See \`config.log' for more details" "$LINENO" 5 ; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3280 $as_echo "yes" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3283 $as_echo_n "checking for C compiler default output file name... " >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3285 $as_echo "$ac_file" >&6; }
3286 ac_exeext=$ac_cv_exeext
3288 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3289 ac_clean_files=$ac_clean_files_save
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3291 $as_echo_n "checking for suffix of executables... " >&6; }
3292 if { { ac_try="$ac_link"
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_link") 2>&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; then :
3303 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3304 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3305 # work properly (i.e., refer to `conftest.exe'), while it won't with
3307 for ac_file in conftest.exe conftest conftest.*; do
3308 test -f "$ac_file" || continue
3310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3311 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3320 See \`config.log' for more details" "$LINENO" 5 ; }
3322 rm -f conftest conftest$ac_cv_exeext
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3324 $as_echo "$ac_cv_exeext" >&6; }
3326 rm -f conftest.$ac_ext
3327 EXEEXT=$ac_cv_exeext
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3335 FILE *f = fopen ("conftest.out", "w");
3336 return ferror (f) || fclose (f) != 0;
3342 ac_clean_files="$ac_clean_files conftest.out"
3343 # Check that the compiler produces executables we can run. If not, either
3344 # the compiler is broken, or we cross compile.
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3346 $as_echo_n "checking whether we are cross compiling... " >&6; }
3347 if test "$cross_compiling" != yes; then
3348 { { ac_try="$ac_link"
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354 $as_echo "$ac_try_echo"; } >&5
3355 (eval "$ac_link") 2>&5
3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358 test $ac_status = 0; }
3359 if { ac_try='./conftest$ac_cv_exeext'
3360 { { case "(($ac_try" in
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_try") 2>&5
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369 test $ac_status = 0; }; }; then
3372 if test "$cross_compiling" = maybe; then
3375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error $? "cannot run C compiled programs.
3378 If you meant to cross compile, use \`--host'.
3379 See \`config.log' for more details" "$LINENO" 5 ; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3384 $as_echo "$cross_compiling" >&6; }
3386 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3387 ac_clean_files=$ac_clean_files_save
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3389 $as_echo_n "checking for suffix of object files... " >&6; }
3390 if test "${ac_cv_objext+set}" = set; then :
3391 $as_echo_n "(cached) " >&6
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3404 rm -f conftest.o conftest.obj
3405 if { { ac_try="$ac_compile"
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_compile") 2>&5
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; then :
3416 for ac_file in conftest.o conftest.obj conftest.*; do
3417 test -f "$ac_file" || continue;
3419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of object files: cannot compile
3431 See \`config.log' for more details" "$LINENO" 5 ; }
3433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3436 $as_echo "$ac_cv_objext" >&6; }
3437 OBJEXT=$ac_cv_objext
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3440 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3441 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3458 if ac_fn_c_try_compile "$LINENO"; then :
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3468 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3469 if test $ac_compiler_gnu = yes; then
3474 ac_test_CFLAGS=${CFLAGS+set}
3475 ac_save_CFLAGS=$CFLAGS
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3477 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3478 if test "${ac_cv_prog_cc_g+set}" = set; then :
3479 $as_echo_n "(cached) " >&6
3481 ac_save_c_werror_flag=$ac_c_werror_flag
3482 ac_c_werror_flag=yes
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3496 if ac_fn_c_try_compile "$LINENO"; then :
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3511 if ac_fn_c_try_compile "$LINENO"; then :
3514 ac_c_werror_flag=$ac_save_c_werror_flag
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3527 if ac_fn_c_try_compile "$LINENO"; then :
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 ac_c_werror_flag=$ac_save_c_werror_flag
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3538 $as_echo "$ac_cv_prog_cc_g" >&6; }
3539 if test "$ac_test_CFLAGS" = set; then
3540 CFLAGS=$ac_save_CFLAGS
3541 elif test $ac_cv_prog_cc_g = yes; then
3542 if test "$GCC" = yes; then
3548 if test "$GCC" = yes; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3555 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3556 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_cv_prog_cc_c89=no
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3565 #include <sys/types.h>
3566 #include <sys/stat.h>
3567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3568 struct buf { int x; };
3569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3570 static char *e (p, i)
3576 static char *f (char * (*g) (char **, int), char **p, ...)
3581 s = g (p, va_arg (v,int));
3586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3587 function prototypes and stuff, but not '\xHH' hex character constants.
3588 These don't provoke an error unfortunately, instead are silently treated
3589 as 'x'. The following induces an error, until -std is added to get
3590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3591 array size at least. It's necessary to write '\x00'==0 to get something
3592 that's true only with -std. */
3593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3596 inside strings and character constants. */
3598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3600 int test (int i, double x);
3601 struct s1 {int (*f) (int a);};
3602 struct s2 {int (*f) (double a);};
3603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3617 CC="$ac_save_CC $ac_arg"
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619 ac_cv_prog_cc_c89=$ac_arg
3621 rm -f core conftest.err conftest.$ac_objext
3622 test "x$ac_cv_prog_cc_c89" != "xno" && break
3624 rm -f conftest.$ac_ext
3629 case "x$ac_cv_prog_cc_c89" in
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3632 $as_echo "none needed" >&6; } ;;
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3635 $as_echo "unsupported" >&6; } ;;
3637 CC="$CC $ac_cv_prog_cc_c89"
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3639 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3641 if test "x$ac_cv_prog_cc_c89" != xno; then :
3646 ac_cpp='$CPP $CPPFLAGS'
3647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3650 DEPDIR="${am__leading_dot}deps"
3652 ac_config_commands="$ac_config_commands depfiles"
3655 am_make=${MAKE-make}
3656 cat > confinc << 'END'
3658 @echo this is the am__doit target
3661 # If we don't find an include directive, just comment out the code.
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3663 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3667 # First try GNU make style include.
3668 echo "include confinc" > confmf
3669 # Ignore all kinds of additional output from `make'.
3670 case `$am_make -s -f confmf 2> /dev/null` in #(
3671 *the\ am__doit\ target*)
3677 # Now try BSD make style include.
3678 if test "$am__include" = "#"; then
3679 echo '.include "confinc"' > confmf
3680 case `$am_make -s -f confmf 2> /dev/null` in #(
3681 *the\ am__doit\ target*)
3682 am__include=.include
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3691 $as_echo "$_am_result" >&6; }
3692 rm -f confinc confmf
3694 # Check whether --enable-dependency-tracking was given.
3695 if test "${enable_dependency_tracking+set}" = set; then :
3696 enableval=$enable_dependency_tracking;
3699 if test "x$enable_dependency_tracking" != xno; then
3700 am_depcomp="$ac_aux_dir/depcomp"
3703 if test "x$enable_dependency_tracking" != xno; then
3713 depcc="$CC" am_compiler_list=
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3716 $as_echo_n "checking dependency style of $depcc... " >&6; }
3717 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3721 # We make a subdir and do the tests there. Otherwise we can end up
3722 # making bogus files that we don't know about and never remove. For
3723 # instance it was reported that on HP-UX the gcc test will end up
3724 # making a dummy file named `D' -- because `-MD' means `put the output
3727 # Copy depcomp to subdir because otherwise we won't find it if we're
3728 # using a relative directory.
3729 cp "$am_depcomp" conftest.dir
3731 # We will build objects and dependencies in a subdirectory because
3732 # it helps to detect inapplicable dependency modes. For instance
3733 # both Tru64's cc and ICC support -MD to output dependencies as a
3734 # side effect of compilation, but ICC will put the dependencies in
3735 # the current directory while Tru64 will put them in the object
3739 am_cv_CC_dependencies_compiler_type=none
3740 if test "$am_compiler_list" = ""; then
3741 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3744 case " $depcc " in #(
3745 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3748 for depmode in $am_compiler_list; do
3749 # Setup a source with many dependencies, because some compilers
3750 # like to wrap large dependency lists on column 80 (with \), and
3751 # we should not choose a depcomp mode which is confused by this.
3753 # We need to recreate these files for each test, as the compiler may
3754 # overwrite some of them when testing with obscure command lines.
3755 # This happens at least with the AIX C compiler.
3757 for i in 1 2 3 4 5 6; do
3758 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3759 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3760 # Solaris 8's {/usr,}/bin/sh.
3761 touch sub/conftst$i.h
3763 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3765 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3766 # mode. It turns out that the SunPro C++ compiler does not properly
3767 # handle `-M -o', and we need to detect this. Also, some Intel
3768 # versions had trouble with output in subdirs
3769 am__obj=sub/conftest.${OBJEXT-o}
3770 am__minus_obj="-o $am__obj"
3773 # This depmode causes a compiler race in universal mode.
3774 test "$am__universal" = false || continue
3777 # after this tag, mechanisms are not by side-effect, so they'll
3778 # only be used when explicitly requested
3779 if test "x$enable_dependency_tracking" = xyes; then
3785 msvisualcpp | msvcmsys)
3786 # This compiler won't grok `-c -o', but also, the minuso test has
3787 # not run yet. These depmodes are late enough in the game, and
3788 # so weak that their functioning should not be impacted.
3789 am__obj=conftest.${OBJEXT-o}
3794 if depmode=$depmode \
3795 source=sub/conftest.c object=$am__obj \
3796 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3797 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3798 >/dev/null 2>conftest.err &&
3799 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3800 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3801 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3802 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3803 # icc doesn't choke on unknown options, it will just issue warnings
3804 # or remarks (even with -Werror). So we grep stderr for any message
3805 # that says an option was ignored or not supported.
3806 # When given -MP, icc 7.0 and 7.1 complain thusly:
3807 # icc: Command line warning: ignoring option '-M'; no argument required
3808 # The diagnosis changed in icc 8.0:
3809 # icc: Command line remark: option '-MP' not supported
3810 if (grep 'ignoring option' conftest.err ||
3811 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3812 am_cv_CC_dependencies_compiler_type=$depmode
3821 am_cv_CC_dependencies_compiler_type=none
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3826 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3827 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3830 test "x$enable_dependency_tracking" != xno \
3831 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3833 am__fastdepCC_FALSE='#'
3835 am__fastdepCC_TRUE='#'
3836 am__fastdepCC_FALSE=
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3843 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3848 macro_version='2.2.6b'
3849 macro_revision='1.3017'
3863 ltmain="$ac_aux_dir/ltmain.sh"
3865 # Make sure we can run config.sub.
3866 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3867 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3870 $as_echo_n "checking build system type... " >&6; }
3871 if test "${ac_cv_build+set}" = set; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_build_alias=$build_alias
3875 test "x$ac_build_alias" = x &&
3876 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3877 test "x$ac_build_alias" = x &&
3878 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3879 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3880 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3884 $as_echo "$ac_cv_build" >&6; }
3885 case $ac_cv_build in
3887 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3890 ac_save_IFS=$IFS; IFS='-'
3896 # Remember, the first character of IFS is used to create $*,
3897 # except with old shells:
3900 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3904 $as_echo_n "checking host system type... " >&6; }
3905 if test "${ac_cv_host+set}" = set; then :
3906 $as_echo_n "(cached) " >&6
3908 if test "x$host_alias" = x; then
3909 ac_cv_host=$ac_cv_build
3911 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3912 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3917 $as_echo "$ac_cv_host" >&6; }
3920 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3923 ac_save_IFS=$IFS; IFS='-'
3929 # Remember, the first character of IFS is used to create $*,
3930 # except with old shells:
3933 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3937 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3938 if test "${ac_cv_path_SED+set}" = set; then :
3939 $as_echo_n "(cached) " >&6
3941 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3942 for ac_i in 1 2 3 4 5 6 7; do
3943 ac_script="$ac_script$as_nl$ac_script"
3945 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3946 { ac_script=; unset ac_script;}
3947 if test -z "$SED"; then
3948 ac_path_SED_found=false
3949 # Loop through the user's path and test for each of PROGNAME-LIST
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 for ac_prog in sed gsed; do
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3958 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3959 # Check for GNU ac_path_SED and select it if it is found.
3960 # Check for GNU $ac_path_SED
3961 case `"$ac_path_SED" --version 2>&1` in
3963 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3966 $as_echo_n 0123456789 >"conftest.in"
3969 cat "conftest.in" "conftest.in" >"conftest.tmp"
3970 mv "conftest.tmp" "conftest.in"
3971 cp "conftest.in" "conftest.nl"
3972 $as_echo '' >> "conftest.nl"
3973 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3974 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3975 as_fn_arith $ac_count + 1 && ac_count=$as_val
3976 if test $ac_count -gt ${ac_path_SED_max-0}; then
3977 # Best one so far, save it but keep looking for a better one
3978 ac_cv_path_SED="$ac_path_SED"
3979 ac_path_SED_max=$ac_count
3981 # 10*(2^10) chars as input seems more than enough
3982 test $ac_count -gt 10 && break
3984 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3987 $ac_path_SED_found && break 3
3992 if test -z "$ac_cv_path_SED"; then
3993 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4001 $as_echo "$ac_cv_path_SED" >&6; }
4002 SED="$ac_cv_path_SED"
4005 test -z "$SED" && SED=sed
4006 Xsed="$SED -e 1s/^X//"
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4019 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4020 if test "${ac_cv_path_GREP+set}" = set; then :
4021 $as_echo_n "(cached) " >&6
4023 if test -z "$GREP"; then
4024 ac_path_GREP_found=false
4025 # Loop through the user's path and test for each of PROGNAME-LIST
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4030 test -z "$as_dir" && as_dir=.
4031 for ac_prog in grep ggrep; do
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4034 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4035 # Check for GNU ac_path_GREP and select it if it is found.
4036 # Check for GNU $ac_path_GREP
4037 case `"$ac_path_GREP" --version 2>&1` in
4039 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4042 $as_echo_n 0123456789 >"conftest.in"
4045 cat "conftest.in" "conftest.in" >"conftest.tmp"
4046 mv "conftest.tmp" "conftest.in"
4047 cp "conftest.in" "conftest.nl"
4048 $as_echo 'GREP' >> "conftest.nl"
4049 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4050 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4051 as_fn_arith $ac_count + 1 && ac_count=$as_val
4052 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4053 # Best one so far, save it but keep looking for a better one
4054 ac_cv_path_GREP="$ac_path_GREP"
4055 ac_path_GREP_max=$ac_count
4057 # 10*(2^10) chars as input seems more than enough
4058 test $ac_count -gt 10 && break
4060 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4063 $ac_path_GREP_found && break 3
4068 if test -z "$ac_cv_path_GREP"; then
4069 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4072 ac_cv_path_GREP=$GREP
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4077 $as_echo "$ac_cv_path_GREP" >&6; }
4078 GREP="$ac_cv_path_GREP"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4082 $as_echo_n "checking for egrep... " >&6; }
4083 if test "${ac_cv_path_EGREP+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4086 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4087 then ac_cv_path_EGREP="$GREP -E"
4089 if test -z "$EGREP"; then
4090 ac_path_EGREP_found=false
4091 # Loop through the user's path and test for each of PROGNAME-LIST
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4096 test -z "$as_dir" && as_dir=.
4097 for ac_prog in egrep; do
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4100 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4101 # Check for GNU ac_path_EGREP and select it if it is found.
4102 # Check for GNU $ac_path_EGREP
4103 case `"$ac_path_EGREP" --version 2>&1` in
4105 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4108 $as_echo_n 0123456789 >"conftest.in"
4111 cat "conftest.in" "conftest.in" >"conftest.tmp"
4112 mv "conftest.tmp" "conftest.in"
4113 cp "conftest.in" "conftest.nl"
4114 $as_echo 'EGREP' >> "conftest.nl"
4115 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4117 as_fn_arith $ac_count + 1 && ac_count=$as_val
4118 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4119 # Best one so far, save it but keep looking for a better one
4120 ac_cv_path_EGREP="$ac_path_EGREP"
4121 ac_path_EGREP_max=$ac_count
4123 # 10*(2^10) chars as input seems more than enough
4124 test $ac_count -gt 10 && break
4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4129 $ac_path_EGREP_found && break 3
4134 if test -z "$ac_cv_path_EGREP"; then
4135 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4138 ac_cv_path_EGREP=$EGREP
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4144 $as_echo "$ac_cv_path_EGREP" >&6; }
4145 EGREP="$ac_cv_path_EGREP"
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4149 $as_echo_n "checking for fgrep... " >&6; }
4150 if test "${ac_cv_path_FGREP+set}" = set; then :
4151 $as_echo_n "(cached) " >&6
4153 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4154 then ac_cv_path_FGREP="$GREP -F"
4156 if test -z "$FGREP"; then
4157 ac_path_FGREP_found=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4163 test -z "$as_dir" && as_dir=.
4164 for ac_prog in fgrep; do
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4167 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4168 # Check for GNU ac_path_FGREP and select it if it is found.
4169 # Check for GNU $ac_path_FGREP
4170 case `"$ac_path_FGREP" --version 2>&1` in
4172 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4175 $as_echo_n 0123456789 >"conftest.in"
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'FGREP' >> "conftest.nl"
4182 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4184 as_fn_arith $ac_count + 1 && ac_count=$as_val
4185 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_FGREP="$ac_path_FGREP"
4188 ac_path_FGREP_max=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196 $ac_path_FGREP_found && break 3
4201 if test -z "$ac_cv_path_FGREP"; then
4202 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205 ac_cv_path_FGREP=$FGREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4211 $as_echo "$ac_cv_path_FGREP" >&6; }
4212 FGREP="$ac_cv_path_FGREP"
4215 test -z "$GREP" && GREP=grep
4235 # Check whether --with-gnu-ld was given.
4236 if test "${with_gnu_ld+set}" = set; then :
4237 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4243 if test "$GCC" = yes; then
4244 # Check if gcc -print-prog-name=ld gives a path.
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4246 $as_echo_n "checking for ld used by $CC... " >&6; }
4249 # gcc leaves a trailing carriage return which upsets mingw
4250 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4252 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4255 # Accept absolute paths.
4257 re_direlt='/[^/][^/]*/\.\./'
4258 # Canonicalize the pathname of ld
4259 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4260 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4261 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4263 test -z "$LD" && LD="$ac_prog"
4266 # If it fails, then pretend we aren't using GCC.
4270 # If it is relative, then search for the first ld in PATH.
4274 elif test "$with_gnu_ld" = yes; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4276 $as_echo_n "checking for GNU ld... " >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4279 $as_echo_n "checking for non-GNU ld... " >&6; }
4281 if test "${lt_cv_path_LD+set}" = set; then :
4282 $as_echo_n "(cached) " >&6
4284 if test -z "$LD"; then
4285 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4286 for ac_dir in $PATH; do
4288 test -z "$ac_dir" && ac_dir=.
4289 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4290 lt_cv_path_LD="$ac_dir/$ac_prog"
4291 # Check to see if the program is GNU ld. I'd rather use --version,
4292 # but apparently some variants of GNU ld only accept -v.
4293 # Break only if it was the GNU/non-GNU ld that we prefer.
4294 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4295 *GNU* | *'with BFD'*)
4296 test "$with_gnu_ld" != no && break
4299 test "$with_gnu_ld" != yes && break
4306 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4311 if test -n "$LD"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4313 $as_echo "$LD" >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4318 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4320 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4321 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4324 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4325 case `$LD -v 2>&1 </dev/null` in
4326 *GNU* | *'with BFD'*)
4327 lt_cv_prog_gnu_ld=yes
4330 lt_cv_prog_gnu_ld=no
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4335 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4336 with_gnu_ld=$lt_cv_prog_gnu_ld
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4347 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4348 if test "${lt_cv_path_NM+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -n "$NM"; then
4352 # Let the user override the test.
4355 lt_nm_to_check="${ac_tool_prefix}nm"
4356 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4357 lt_nm_to_check="$lt_nm_to_check nm"
4359 for lt_tmp_nm in $lt_nm_to_check; do
4360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4361 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4363 test -z "$ac_dir" && ac_dir=.
4364 tmp_nm="$ac_dir/$lt_tmp_nm"
4365 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4366 # Check to see if the nm accepts a BSD-compat flag.
4367 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4368 # nm: unknown option "B" ignored
4369 # Tru64's nm complains that /dev/null is an invalid object file
4370 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4371 */dev/null* | *'Invalid file or object type'*)
4372 lt_cv_path_NM="$tmp_nm -B"
4376 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4378 lt_cv_path_NM="$tmp_nm -p"
4382 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4383 continue # so that we can try to find one that supports BSD flags
4392 : ${lt_cv_path_NM=no}
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4396 $as_echo "$lt_cv_path_NM" >&6; }
4397 if test "$lt_cv_path_NM" != "no"; then
4400 # Didn't find any BSD compatible name lister, look for dumpbin.
4401 if test -n "$ac_tool_prefix"; then
4402 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -n "$DUMPBIN"; then
4412 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 DUMPBIN=$ac_cv_prog_DUMPBIN
4432 if test -n "$DUMPBIN"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4434 $as_echo "$DUMPBIN" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4441 test -n "$DUMPBIN" && break
4444 if test -z "$DUMPBIN"; then
4445 ac_ct_DUMPBIN=$DUMPBIN
4446 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4448 # Extract the first word of "$ac_prog", so it can be a program name with args.
4449 set dummy $ac_prog; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$ac_ct_DUMPBIN"; then
4456 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4476 if test -n "$ac_ct_DUMPBIN"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4478 $as_echo "$ac_ct_DUMPBIN" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4485 test -n "$ac_ct_DUMPBIN" && break
4488 if test "x$ac_ct_DUMPBIN" = x; then
4491 case $cross_compiling:$ac_tool_warned in
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4497 DUMPBIN=$ac_ct_DUMPBIN
4502 if test "$DUMPBIN" != ":"; then
4506 test -z "$NM" && NM=nm
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4514 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4515 if test "${lt_cv_nm_interface+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 lt_cv_nm_interface="BSD nm"
4519 echo "int some_variable = 0;" > conftest.$ac_ext
4520 (eval echo "\"\$as_me:4520: $ac_compile\"" >&5)
4521 (eval "$ac_compile" 2>conftest.err)
4522 cat conftest.err >&5
4523 (eval echo "\"\$as_me:4523: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4524 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4525 cat conftest.err >&5
4526 (eval echo "\"\$as_me:4526: output\"" >&5)
4527 cat conftest.out >&5
4528 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4529 lt_cv_nm_interface="MS dumpbin"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4534 $as_echo "$lt_cv_nm_interface" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4537 $as_echo_n "checking whether ln -s works... " >&6; }
4539 if test "$LN_S" = "ln -s"; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4541 $as_echo "yes" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4544 $as_echo "no, using $LN_S" >&6; }
4547 # find the maximum length of command line arguments
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4549 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4550 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4558 # On DJGPP, this test can blow up pretty badly due to problems in libc
4559 # (any single argument exceeding 2000 bytes causes a buffer overrun
4560 # during glob expansion). Even if it were fixed, the result of this
4561 # check would be larger than it should be.
4562 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4566 # Under GNU Hurd, this test is not required because there is
4567 # no limit to the length of command line arguments.
4568 # Libtool will interpret -1 as no limit whatsoever
4569 lt_cv_sys_max_cmd_len=-1;
4572 cygwin* | mingw* | cegcc*)
4573 # On Win9x/ME, this test blows up -- it succeeds, but takes
4574 # about 5 minutes as the teststring grows exponentially.
4575 # Worse, since 9x/ME are not pre-emptively multitasking,
4576 # you end up with a "frozen" computer, even though with patience
4577 # the test eventually succeeds (with a max line length of 256k).
4578 # Instead, let's just punt: use the minimum linelength reported by
4579 # all of the supported platforms: 8192 (on NT/2K/XP).
4580 lt_cv_sys_max_cmd_len=8192;
4584 # On AmigaOS with pdksh, this test takes hours, literally.
4585 # So we just punt and use a minimum line length of 8192.
4586 lt_cv_sys_max_cmd_len=8192;
4589 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4590 # This has been around since 386BSD, at least. Likely further.
4591 if test -x /sbin/sysctl; then
4592 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4593 elif test -x /usr/sbin/sysctl; then
4594 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4596 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4598 # And add a safety zone
4599 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4600 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4604 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4605 lt_cv_sys_max_cmd_len=196608
4609 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4610 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4611 # nice to cause kernel panics so lets avoid the loop below.
4612 # First set a reasonable default.
4613 lt_cv_sys_max_cmd_len=16384
4615 if test -x /sbin/sysconfig; then
4616 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4617 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4622 lt_cv_sys_max_cmd_len=102400
4624 sysv5* | sco5v6* | sysv4.2uw2*)
4625 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4626 if test -n "$kargmax"; then
4627 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4629 lt_cv_sys_max_cmd_len=32768
4633 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4634 if test -n "$lt_cv_sys_max_cmd_len"; then
4635 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4636 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4638 # Make teststring a little bigger before we do anything with it.
4639 # a 1K string should be a reasonable start.
4640 for i in 1 2 3 4 5 6 7 8 ; do
4641 teststring=$teststring$teststring
4643 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4644 # If test is not a shell built-in, we'll probably end up computing a
4645 # maximum length that is only half of the actual maximum length, but
4647 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4648 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4649 test $i != 17 # 1/2 MB should be enough
4652 teststring=$teststring$teststring
4654 # Only check the string length outside the loop.
4655 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4657 # Add a significant safety factor because C++ compilers can tack on
4658 # massive amounts of additional arguments before passing them to the
4659 # linker. It appears as though 1/2 is a usable value.
4660 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4667 if test -n $lt_cv_sys_max_cmd_len ; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4669 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4672 $as_echo "none" >&6; }
4674 max_cmd_len=$lt_cv_sys_max_cmd_len
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4686 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4687 # Try some XSI features
4690 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4692 && eval 'test $(( 1 + 1 )) -eq 2 \
4693 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4696 $as_echo "$xsi_shell" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4700 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4702 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4704 && lt_shell_append=yes
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4706 $as_echo "$lt_shell_append" >&6; }
4709 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4719 # test EBCDIC or ASCII
4720 case `echo X|tr X '\101'` in
4721 A) # ASCII based system
4722 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4723 lt_SP2NL='tr \040 \012'
4724 lt_NL2SP='tr \015\012 \040\040'
4726 *) # EBCDIC based system
4727 lt_SP2NL='tr \100 \n'
4728 lt_NL2SP='tr \r\n \100\100'
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4741 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4742 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4745 lt_cv_ld_reload_flag='-r'
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4748 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4749 reload_flag=$lt_cv_ld_reload_flag
4750 case $reload_flag in
4752 *) reload_flag=" $reload_flag" ;;
4754 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4757 if test "$GCC" = yes; then
4758 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4760 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4773 if test -n "$ac_tool_prefix"; then
4774 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4775 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777 $as_echo_n "checking for $ac_word... " >&6; }
4778 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4779 $as_echo_n "(cached) " >&6
4781 if test -n "$OBJDUMP"; then
4782 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir=.
4789 for ac_exec_ext in '' $ac_executable_extensions; do
4790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 OBJDUMP=$ac_cv_prog_OBJDUMP
4802 if test -n "$OBJDUMP"; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4804 $as_echo "$OBJDUMP" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4812 if test -z "$ac_cv_prog_OBJDUMP"; then
4813 ac_ct_OBJDUMP=$OBJDUMP
4814 # Extract the first word of "objdump", so it can be a program name with args.
4815 set dummy objdump; ac_word=$2
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 $as_echo_n "checking for $ac_word... " >&6; }
4818 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4819 $as_echo_n "(cached) " >&6
4821 if test -n "$ac_ct_OBJDUMP"; then
4822 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4831 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4842 if test -n "$ac_ct_OBJDUMP"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4844 $as_echo "$ac_ct_OBJDUMP" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4850 if test "x$ac_ct_OBJDUMP" = x; then
4853 case $cross_compiling:$ac_tool_warned in
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4857 ac_tool_warned=yes ;;
4859 OBJDUMP=$ac_ct_OBJDUMP
4862 OBJDUMP="$ac_cv_prog_OBJDUMP"
4865 test -z "$OBJDUMP" && OBJDUMP=objdump
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4876 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4877 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4878 $as_echo_n "(cached) " >&6
4880 lt_cv_file_magic_cmd='$MAGIC_CMD'
4881 lt_cv_file_magic_test_file=
4882 lt_cv_deplibs_check_method='unknown'
4883 # Need to set the preceding variable on all platforms that support
4884 # interlibrary dependencies.
4885 # 'none' -- dependencies not supported.
4886 # `unknown' -- same as none, but documents that we really don't know.
4887 # 'pass_all' -- all dependencies passed with no checks.
4888 # 'test_compile' -- check by making test program.
4889 # 'file_magic [[regex]]' -- check by looking for files in library path
4890 # which responds to the $file_magic_cmd with a given extended regex.
4891 # If you have `file' or equivalent on your system and you're not sure
4892 # whether `pass_all' will *always* work, you probably want this one.
4896 lt_cv_deplibs_check_method=pass_all
4900 lt_cv_deplibs_check_method=pass_all
4904 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4905 lt_cv_file_magic_cmd='/usr/bin/file -L'
4906 lt_cv_file_magic_test_file=/shlib/libc.so
4910 # func_win32_libid is a shell function defined in ltmain.sh
4911 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4912 lt_cv_file_magic_cmd='func_win32_libid'
4916 # Base MSYS/MinGW do not provide the 'file' command needed by
4917 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4918 # unless we find 'file', for example because we are cross-compiling.
4919 if ( file / ) >/dev/null 2>&1; then
4920 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4921 lt_cv_file_magic_cmd='func_win32_libid'
4923 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4924 lt_cv_file_magic_cmd='$OBJDUMP -f'
4929 # use the weaker test based on 'objdump'. See mingw*.
4930 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4931 lt_cv_file_magic_cmd='$OBJDUMP -f'
4934 darwin* | rhapsody*)
4935 lt_cv_deplibs_check_method=pass_all
4938 freebsd* | dragonfly*)
4939 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4942 # Not sure whether the presence of OpenBSD here was a mistake.
4943 # Let's accept both of them until this is cleared up.
4944 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4945 lt_cv_file_magic_cmd=/usr/bin/file
4946 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4950 lt_cv_deplibs_check_method=pass_all
4955 lt_cv_deplibs_check_method=pass_all
4958 hpux10.20* | hpux11*)
4959 lt_cv_file_magic_cmd=/usr/bin/file
4962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4963 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4966 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4967 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4977 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4981 irix5* | irix6* | nonstopux*)
4983 *-32|*"-32 ") libmagic=32-bit;;
4984 *-n32|*"-n32 ") libmagic=N32;;
4985 *-64|*"-64 ") libmagic=64-bit;;
4986 *) libmagic=never-match;;
4988 lt_cv_deplibs_check_method=pass_all
4991 # This must be Linux ELF.
4992 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4993 lt_cv_deplibs_check_method=pass_all
4996 netbsd* | netbsdelf*-gnu)
4997 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5006 lt_cv_file_magic_cmd=/usr/bin/file
5007 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5011 lt_cv_deplibs_check_method=pass_all
5015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5022 osf3* | osf4* | osf5*)
5023 lt_cv_deplibs_check_method=pass_all
5027 lt_cv_deplibs_check_method=pass_all
5031 lt_cv_deplibs_check_method=pass_all
5034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5035 lt_cv_deplibs_check_method=pass_all
5039 case $host_vendor in
5041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5045 lt_cv_deplibs_check_method=pass_all
5048 lt_cv_file_magic_cmd='/bin/file'
5049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5052 lt_cv_file_magic_cmd='/bin/file'
5053 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5054 lt_cv_file_magic_test_file=/lib/libc.so
5057 lt_cv_deplibs_check_method=pass_all
5060 lt_cv_deplibs_check_method=pass_all
5066 lt_cv_deplibs_check_method=pass_all
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5072 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5073 file_magic_cmd=$lt_cv_file_magic_cmd
5074 deplibs_check_method=$lt_cv_deplibs_check_method
5075 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5088 if test -n "$ac_tool_prefix"; then
5089 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5090 set dummy ${ac_tool_prefix}ar; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_AR+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$AR"; then
5097 ac_cv_prog_AR="$AR" # Let the user override the test.
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_AR="${ac_tool_prefix}ar"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 if test -n "$AR"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5119 $as_echo "$AR" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5127 if test -z "$ac_cv_prog_AR"; then
5129 # Extract the first word of "ar", so it can be a program name with args.
5130 set dummy ar; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$ac_ct_AR"; then
5137 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_ac_ct_AR="ar"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5157 if test -n "$ac_ct_AR"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5159 $as_echo "$ac_ct_AR" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5165 if test "x$ac_ct_AR" = x; then
5168 case $cross_compiling:$ac_tool_warned in
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned=yes ;;
5180 test -z "$AR" && AR=ar
5181 test -z "$AR_FLAGS" && AR_FLAGS=cru
5193 if test -n "$ac_tool_prefix"; then
5194 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5195 set dummy ${ac_tool_prefix}strip; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if test "${ac_cv_prog_STRIP+set}" = set; then :
5199 $as_echo_n "(cached) " >&6
5201 if test -n "$STRIP"; then
5202 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 STRIP=$ac_cv_prog_STRIP
5222 if test -n "$STRIP"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5224 $as_echo "$STRIP" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5232 if test -z "$ac_cv_prog_STRIP"; then
5234 # Extract the first word of "strip", so it can be a program name with args.
5235 set dummy strip; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$ac_ct_STRIP"; then
5242 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5251 ac_cv_prog_ac_ct_STRIP="strip"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5262 if test -n "$ac_ct_STRIP"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5264 $as_echo "$ac_ct_STRIP" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5270 if test "x$ac_ct_STRIP" = x; then
5273 case $cross_compiling:$ac_tool_warned in
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277 ac_tool_warned=yes ;;
5282 STRIP="$ac_cv_prog_STRIP"
5285 test -z "$STRIP" && STRIP=:
5292 if test -n "$ac_tool_prefix"; then
5293 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5294 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$RANLIB"; then
5301 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir=.
5308 for ac_exec_ext in '' $ac_executable_extensions; do
5309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 RANLIB=$ac_cv_prog_RANLIB
5321 if test -n "$RANLIB"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5323 $as_echo "$RANLIB" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test -z "$ac_cv_prog_RANLIB"; then
5332 ac_ct_RANLIB=$RANLIB
5333 # Extract the first word of "ranlib", so it can be a program name with args.
5334 set dummy ranlib; ac_word=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$ac_ct_RANLIB"; then
5341 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350 ac_cv_prog_ac_ct_RANLIB="ranlib"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5361 if test -n "$ac_ct_RANLIB"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5363 $as_echo "$ac_ct_RANLIB" >&6; }
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5369 if test "x$ac_ct_RANLIB" = x; then
5372 case $cross_compiling:$ac_tool_warned in
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376 ac_tool_warned=yes ;;
5378 RANLIB=$ac_ct_RANLIB
5381 RANLIB="$ac_cv_prog_RANLIB"
5384 test -z "$RANLIB" && RANLIB=:
5391 # Determine commands to create old-style static archives.
5392 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5393 old_postinstall_cmds='chmod 644 $oldlib'
5394 old_postuninstall_cmds=
5396 if test -n "$RANLIB"; then
5399 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5402 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5405 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5441 # If no C compiler was specified, use CC.
5444 # If no C compiler flags were specified, use CFLAGS.
5445 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5447 # Allow CC to be a program name with arguments.
5451 # Check for command to grab the raw symbol name followed by C symbol from nm.
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5453 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5454 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5455 $as_echo_n "(cached) " >&6
5458 # These are sane defaults that work on at least a few old systems.
5459 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5461 # Character class describing NM global symbol codes.
5462 symcode='[BCDEGRST]'
5464 # Regexp to match symbols that can be accessed directly from C.
5465 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5467 # Define system-specific variables.
5472 cygwin* | mingw* | pw32* | cegcc*)
5473 symcode='[ABCDGISTW]'
5476 if test "$host_cpu" = ia64; then
5477 symcode='[ABCDEGRST]'
5481 symcode='[BCDEGRST]'
5484 symcode='[BCDEGQRST]'
5495 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5503 # If we're using GNU nm, then use its standard symbol codes.
5504 case `$NM -V 2>&1` in
5505 *GNU* | *'with BFD'*)
5506 symcode='[ABCDGIRSTW]' ;;
5509 # Transform an extracted symbol line into a proper C declaration.
5510 # Some systems (esp. on ia64) link data and code symbols differently,
5511 # so use this general approach.
5512 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5514 # Transform an extracted symbol line into symbol name and symbol address
5515 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5516 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5518 # Handle CRLF in mingw tool chain
5522 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5526 # Try without a prefix underscore, then with it.
5527 for ac_symprfx in "" "_"; do
5529 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5530 symxfrm="\\1 $ac_symprfx\\2 \\2"
5532 # Write the raw and C identifiers.
5533 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5534 # Fake it for dumpbin and say T for any non-static function
5535 # and D for any global variable.
5536 # Also find C++ and __fastcall symbols from MSVC++,
5537 # which start with @ or ?.
5538 lt_cv_sys_global_symbol_pipe="$AWK '"\
5539 " {last_section=section; section=\$ 3};"\
5540 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5541 " \$ 0!~/External *\|/{next};"\
5542 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5543 " {if(hide[section]) next};"\
5544 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5545 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5546 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5547 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5548 " ' prfx=^$ac_symprfx"
5550 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5553 # Check to see that the pipe works correctly.
5557 cat > conftest.$ac_ext <<_LT_EOF
5562 void nm_test_func(void);
5563 void nm_test_func(void){}
5567 int main(){nm_test_var='a';nm_test_func();return(0);}
5570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5571 (eval $ac_compile) 2>&5
5573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5574 test $ac_status = 0; }; then
5575 # Now try to grab the symbols.
5577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5578 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5581 test $ac_status = 0; } && test -s "$nlist"; then
5582 # Try sorting and uniquifying the output.
5583 if sort "$nlist" | uniq > "$nlist"T; then
5584 mv -f "$nlist"T "$nlist"
5589 # Make sure that we snagged all the symbols we need.
5590 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5591 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5592 cat <<_LT_EOF > conftest.$ac_ext
5598 # Now generate the symbol file.
5599 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5601 cat <<_LT_EOF >> conftest.$ac_ext
5603 /* The mapping between symbol names and symbols. */
5608 lt__PROGRAM__LTX_preloaded_symbols[] =
5610 { "@PROGRAM@", (void *) 0 },
5612 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5613 cat <<\_LT_EOF >> conftest.$ac_ext
5617 /* This works around a problem in FreeBSD linker */
5618 #ifdef FREEBSD_WORKAROUND
5619 static const void *lt_preloaded_setup() {
5620 return lt__PROGRAM__LTX_preloaded_symbols;
5628 # Now try linking the two files.
5629 mv conftest.$ac_objext conftstm.$ac_objext
5630 lt_save_LIBS="$LIBS"
5631 lt_save_CFLAGS="$CFLAGS"
5632 LIBS="conftstm.$ac_objext"
5633 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5635 (eval $ac_link) 2>&5
5637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5638 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5641 LIBS="$lt_save_LIBS"
5642 CFLAGS="$lt_save_CFLAGS"
5644 echo "cannot find nm_test_func in $nlist" >&5
5647 echo "cannot find nm_test_var in $nlist" >&5
5650 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5653 echo "$progname: failed program was:" >&5
5654 cat conftest.$ac_ext >&5
5656 rm -rf conftest* conftst*
5658 # Do not use the global_symbol_pipe unless it works.
5659 if test "$pipe_works" = yes; then
5662 lt_cv_sys_global_symbol_pipe=
5668 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5669 lt_cv_sys_global_symbol_to_cdecl=
5671 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5673 $as_echo "failed" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5676 $as_echo "ok" >&6; }
5701 # Check whether --enable-libtool-lock was given.
5702 if test "${enable_libtool_lock+set}" = set; then :
5703 enableval=$enable_libtool_lock;
5706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5708 # Some flags need to be propagated to the compiler or linker for good
5712 # Find out which ABI we are using.
5713 echo 'int i;' > conftest.$ac_ext
5714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5715 (eval $ac_compile) 2>&5
5717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5718 test $ac_status = 0; }; then
5719 case `/usr/bin/file conftest.$ac_objext` in
5731 # Find out which ABI we are using.
5732 echo '#line 5732 "configure"' > conftest.$ac_ext
5733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5734 (eval $ac_compile) 2>&5
5736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5737 test $ac_status = 0; }; then
5738 if test "$lt_cv_prog_gnu_ld" = yes; then
5739 case `/usr/bin/file conftest.$ac_objext` in
5741 LD="${LD-ld} -melf32bsmip"
5744 LD="${LD-ld} -melf32bmipn32"
5747 LD="${LD-ld} -melf64bmip"
5751 case `/usr/bin/file conftest.$ac_objext` in
5767 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5768 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5769 # Find out which ABI we are using.
5770 echo 'int i;' > conftest.$ac_ext
5771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5772 (eval $ac_compile) 2>&5
5774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5775 test $ac_status = 0; }; then
5776 case `/usr/bin/file conftest.o` in
5779 x86_64-*kfreebsd*-gnu)
5780 LD="${LD-ld} -m elf_i386_fbsd"
5783 LD="${LD-ld} -m elf_i386"
5785 ppc64-*linux*|powerpc64-*linux*)
5786 LD="${LD-ld} -m elf32ppclinux"
5789 LD="${LD-ld} -m elf_s390"
5792 LD="${LD-ld} -m elf32_sparc"
5798 x86_64-*kfreebsd*-gnu)
5799 LD="${LD-ld} -m elf_x86_64_fbsd"
5802 LD="${LD-ld} -m elf_x86_64"
5804 ppc*-*linux*|powerpc*-*linux*)
5805 LD="${LD-ld} -m elf64ppc"
5807 s390*-*linux*|s390*-*tpf*)
5808 LD="${LD-ld} -m elf64_s390"
5811 LD="${LD-ld} -m elf64_sparc"
5821 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5822 SAVE_CFLAGS="$CFLAGS"
5823 CFLAGS="$CFLAGS -belf"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5825 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5826 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5827 $as_echo_n "(cached) " >&6
5830 ac_cpp='$CPP $CPPFLAGS'
5831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836 /* end confdefs.h. */
5846 if ac_fn_c_try_link "$LINENO"; then :
5847 lt_cv_cc_needs_belf=yes
5849 lt_cv_cc_needs_belf=no
5851 rm -f core conftest.err conftest.$ac_objext \
5852 conftest$ac_exeext conftest.$ac_ext
5854 ac_cpp='$CPP $CPPFLAGS'
5855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5861 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5862 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5863 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5864 CFLAGS="$SAVE_CFLAGS"
5868 # Find out which ABI we are using.
5869 echo 'int i;' > conftest.$ac_ext
5870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5871 (eval $ac_compile) 2>&5
5873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874 test $ac_status = 0; }; then
5875 case `/usr/bin/file conftest.o` in
5877 case $lt_cv_prog_gnu_ld in
5878 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5880 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5892 need_locks="$enable_libtool_lock"
5896 rhapsody* | darwin*)
5897 if test -n "$ac_tool_prefix"; then
5898 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5899 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -n "$DSYMUTIL"; then
5906 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5915 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5926 if test -n "$DSYMUTIL"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5928 $as_echo "$DSYMUTIL" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5936 if test -z "$ac_cv_prog_DSYMUTIL"; then
5937 ac_ct_DSYMUTIL=$DSYMUTIL
5938 # Extract the first word of "dsymutil", so it can be a program name with args.
5939 set dummy dsymutil; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5945 if test -n "$ac_ct_DSYMUTIL"; then
5946 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir=.
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5966 if test -n "$ac_ct_DSYMUTIL"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5968 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5974 if test "x$ac_ct_DSYMUTIL" = x; then
5977 case $cross_compiling:$ac_tool_warned in
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981 ac_tool_warned=yes ;;
5983 DSYMUTIL=$ac_ct_DSYMUTIL
5986 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5989 if test -n "$ac_tool_prefix"; then
5990 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5991 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993 $as_echo_n "checking for $ac_word... " >&6; }
5994 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5995 $as_echo_n "(cached) " >&6
5997 if test -n "$NMEDIT"; then
5998 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 NMEDIT=$ac_cv_prog_NMEDIT
6018 if test -n "$NMEDIT"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6020 $as_echo "$NMEDIT" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6028 if test -z "$ac_cv_prog_NMEDIT"; then
6029 ac_ct_NMEDIT=$NMEDIT
6030 # Extract the first word of "nmedit", so it can be a program name with args.
6031 set dummy nmedit; ac_word=$2
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 $as_echo_n "checking for $ac_word... " >&6; }
6034 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6035 $as_echo_n "(cached) " >&6
6037 if test -n "$ac_ct_NMEDIT"; then
6038 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 test -z "$as_dir" && as_dir=.
6045 for ac_exec_ext in '' $ac_executable_extensions; do
6046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6047 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6058 if test -n "$ac_ct_NMEDIT"; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6060 $as_echo "$ac_ct_NMEDIT" >&6; }
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6063 $as_echo "no" >&6; }
6066 if test "x$ac_ct_NMEDIT" = x; then
6069 case $cross_compiling:$ac_tool_warned in
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6073 ac_tool_warned=yes ;;
6075 NMEDIT=$ac_ct_NMEDIT
6078 NMEDIT="$ac_cv_prog_NMEDIT"
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_LIPO+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$LIPO"; then
6090 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 LIPO=$ac_cv_prog_LIPO
6110 if test -n "$LIPO"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6112 $as_echo "$LIPO" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_LIPO"; then
6122 # Extract the first word of "lipo", so it can be a program name with args.
6123 set dummy lipo; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$ac_ct_LIPO"; then
6130 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_LIPO="lipo"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6150 if test -n "$ac_ct_LIPO"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6152 $as_echo "$ac_ct_LIPO" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_LIPO" = x; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6170 LIPO="$ac_cv_prog_LIPO"
6173 if test -n "$ac_tool_prefix"; then
6174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6175 set dummy ${ac_tool_prefix}otool; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 $as_echo_n "checking for $ac_word... " >&6; }
6178 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6179 $as_echo_n "(cached) " >&6
6181 if test -n "$OTOOL"; then
6182 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6191 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 OTOOL=$ac_cv_prog_OTOOL
6202 if test -n "$OTOOL"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6204 $as_echo "$OTOOL" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6212 if test -z "$ac_cv_prog_OTOOL"; then
6214 # Extract the first word of "otool", so it can be a program name with args.
6215 set dummy otool; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6219 $as_echo_n "(cached) " >&6
6221 if test -n "$ac_ct_OTOOL"; then
6222 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6231 ac_cv_prog_ac_ct_OTOOL="otool"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6242 if test -n "$ac_ct_OTOOL"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6244 $as_echo "$ac_ct_OTOOL" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6250 if test "x$ac_ct_OTOOL" = x; then
6253 case $cross_compiling:$ac_tool_warned in
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6257 ac_tool_warned=yes ;;
6262 OTOOL="$ac_cv_prog_OTOOL"
6265 if test -n "$ac_tool_prefix"; then
6266 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6267 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 $as_echo_n "checking for $ac_word... " >&6; }
6270 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6271 $as_echo_n "(cached) " >&6
6273 if test -n "$OTOOL64"; then
6274 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 test -z "$as_dir" && as_dir=.
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6283 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 OTOOL64=$ac_cv_prog_OTOOL64
6294 if test -n "$OTOOL64"; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6296 $as_echo "$OTOOL64" >&6; }
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6299 $as_echo "no" >&6; }
6304 if test -z "$ac_cv_prog_OTOOL64"; then
6305 ac_ct_OTOOL64=$OTOOL64
6306 # Extract the first word of "otool64", so it can be a program name with args.
6307 set dummy otool64; ac_word=$2
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309 $as_echo_n "checking for $ac_word... " >&6; }
6310 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6311 $as_echo_n "(cached) " >&6
6313 if test -n "$ac_ct_OTOOL64"; then
6314 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6323 ac_cv_prog_ac_ct_OTOOL64="otool64"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6334 if test -n "$ac_ct_OTOOL64"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6336 $as_echo "$ac_ct_OTOOL64" >&6; }
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6342 if test "x$ac_ct_OTOOL64" = x; then
6345 case $cross_compiling:$ac_tool_warned in
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6349 ac_tool_warned=yes ;;
6351 OTOOL64=$ac_ct_OTOOL64
6354 OTOOL64="$ac_cv_prog_OTOOL64"
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6384 $as_echo_n "checking for -single_module linker flag... " >&6; }
6385 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6386 $as_echo_n "(cached) " >&6
6388 lt_cv_apple_cc_single_mod=no
6389 if test -z "${LT_MULTI_MODULE}"; then
6390 # By default we will add the -single_module flag. You can override
6391 # by either setting the environment variable LT_MULTI_MODULE
6392 # non-empty at configure time, or by adding -multi_module to the
6394 rm -rf libconftest.dylib*
6395 echo "int foo(void){return 1;}" > conftest.c
6396 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6397 -dynamiclib -Wl,-single_module conftest.c" >&5
6398 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6399 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6401 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6402 lt_cv_apple_cc_single_mod=yes
6404 cat conftest.err >&5
6406 rm -rf libconftest.dylib*
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6411 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6413 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6414 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6415 $as_echo_n "(cached) " >&6
6417 lt_cv_ld_exported_symbols_list=no
6418 save_LDFLAGS=$LDFLAGS
6419 echo "_main" > conftest.sym
6420 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6432 if ac_fn_c_try_link "$LINENO"; then :
6433 lt_cv_ld_exported_symbols_list=yes
6435 lt_cv_ld_exported_symbols_list=no
6437 rm -f core conftest.err conftest.$ac_objext \
6438 conftest$ac_exeext conftest.$ac_ext
6439 LDFLAGS="$save_LDFLAGS"
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6443 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6445 rhapsody* | darwin1.[012])
6446 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6448 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6449 darwin*) # darwin 5.x on
6450 # if running on 10.5 or later, the deployment target defaults
6451 # to the OS version, if on x86, and 10.4, the deployment
6452 # target defaults to 10.4. Don't you love it?
6453 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6454 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6455 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6457 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6459 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6463 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6464 _lt_dar_single_mod='$single_module'
6466 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6467 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6469 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6471 if test "$DSYMUTIL" != ":"; then
6472 _lt_dsymutil='~$DSYMUTIL $lib || :'
6480 ac_cpp='$CPP $CPPFLAGS'
6481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6485 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6486 # On Suns, sometimes $CPP names a directory.
6487 if test -n "$CPP" && test -d "$CPP"; then
6490 if test -z "$CPP"; then
6491 if test "${ac_cv_prog_CPP+set}" = set; then :
6492 $as_echo_n "(cached) " >&6
6494 # Double quotes because CPP needs to be expanded
6495 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6498 for ac_c_preproc_warn_flag in '' yes
6500 # Use a header file that comes with gcc, so configuring glibc
6501 # with a fresh cross-compiler works.
6502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6503 # <limits.h> exists even on freestanding compilers.
6504 # On the NeXT, cc -E runs the code through the compiler's parser,
6505 # not just through cpp. "Syntax error" is here to catch this case.
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6509 # include <limits.h>
6511 # include <assert.h>
6515 if ac_fn_c_try_cpp "$LINENO"; then :
6518 # Broken: fails on valid input.
6521 rm -f conftest.err conftest.i conftest.$ac_ext
6523 # OK, works on sane cases. Now check whether nonexistent headers
6524 # can be detected and how.
6525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6526 /* end confdefs.h. */
6527 #include <ac_nonexistent.h>
6529 if ac_fn_c_try_cpp "$LINENO"; then :
6530 # Broken: success on invalid input.
6533 # Passes both tests.
6537 rm -f conftest.err conftest.i conftest.$ac_ext
6540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6541 rm -f conftest.i conftest.err conftest.$ac_ext
6542 if $ac_preproc_ok; then :
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6555 $as_echo "$CPP" >&6; }
6557 for ac_c_preproc_warn_flag in '' yes
6559 # Use a header file that comes with gcc, so configuring glibc
6560 # with a fresh cross-compiler works.
6561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6562 # <limits.h> exists even on freestanding compilers.
6563 # On the NeXT, cc -E runs the code through the compiler's parser,
6564 # not just through cpp. "Syntax error" is here to catch this case.
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6568 # include <limits.h>
6570 # include <assert.h>
6574 if ac_fn_c_try_cpp "$LINENO"; then :
6577 # Broken: fails on valid input.
6580 rm -f conftest.err conftest.i conftest.$ac_ext
6582 # OK, works on sane cases. Now check whether nonexistent headers
6583 # can be detected and how.
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #include <ac_nonexistent.h>
6588 if ac_fn_c_try_cpp "$LINENO"; then :
6589 # Broken: success on invalid input.
6592 # Passes both tests.
6596 rm -f conftest.err conftest.i conftest.$ac_ext
6599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6600 rm -f conftest.i conftest.err conftest.$ac_ext
6601 if $ac_preproc_ok; then :
6604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6606 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6607 See \`config.log' for more details" "$LINENO" 5 ; }
6611 ac_cpp='$CPP $CPPFLAGS'
6612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6618 $as_echo_n "checking for ANSI C header files... " >&6; }
6619 if test "${ac_cv_header_stdc+set}" = set; then :
6620 $as_echo_n "(cached) " >&6
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6637 if ac_fn_c_try_compile "$LINENO"; then :
6638 ac_cv_header_stdc=yes
6640 ac_cv_header_stdc=no
6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6644 if test $ac_cv_header_stdc = yes; then
6645 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6652 $EGREP "memchr" >/dev/null 2>&1; then :
6655 ac_cv_header_stdc=no
6661 if test $ac_cv_header_stdc = yes; then
6662 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6669 $EGREP "free" >/dev/null 2>&1; then :
6672 ac_cv_header_stdc=no
6678 if test $ac_cv_header_stdc = yes; then
6679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6680 if test "$cross_compiling" = yes; then :
6683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6687 #if ((' ' & 0x0FF) == 0x020)
6688 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6689 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6691 # define ISLOWER(c) \
6692 (('a' <= (c) && (c) <= 'i') \
6693 || ('j' <= (c) && (c) <= 'r') \
6694 || ('s' <= (c) && (c) <= 'z'))
6695 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6698 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6703 for (i = 0; i < 256; i++)
6704 if (XOR (islower (i), ISLOWER (i))
6705 || toupper (i) != TOUPPER (i))
6710 if ac_fn_c_try_run "$LINENO"; then :
6713 ac_cv_header_stdc=no
6715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6716 conftest.$ac_objext conftest.beam conftest.$ac_ext
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6722 $as_echo "$ac_cv_header_stdc" >&6; }
6723 if test $ac_cv_header_stdc = yes; then
6725 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6729 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6730 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6731 inttypes.h stdint.h unistd.h
6733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6737 cat >>confdefs.h <<_ACEOF
6738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6746 for ac_header in dlfcn.h
6748 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6750 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6751 cat >>confdefs.h <<_ACEOF
6752 #define HAVE_DLFCN_H 1
6771 # Check whether --enable-shared was given.
6772 if test "${enable_shared+set}" = set; then :
6773 enableval=$enable_shared; p=${PACKAGE-default}
6775 yes) enable_shared=yes ;;
6776 no) enable_shared=no ;;
6779 # Look at the argument we got. We use all the common list separators.
6780 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6781 for pkg in $enableval; do
6783 if test "X$pkg" = "X$p"; then
6802 # Check whether --enable-static was given.
6803 if test "${enable_static+set}" = set; then :
6804 enableval=$enable_static; p=${PACKAGE-default}
6806 yes) enable_static=yes ;;
6807 no) enable_static=no ;;
6810 # Look at the argument we got. We use all the common list separators.
6811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6812 for pkg in $enableval; do
6814 if test "X$pkg" = "X$p"; then
6834 # Check whether --with-pic was given.
6835 if test "${with_pic+set}" = set; then :
6836 withval=$with_pic; pic_mode="$withval"
6842 test -z "$pic_mode" && pic_mode=default
6850 # Check whether --enable-fast-install was given.
6851 if test "${enable_fast_install+set}" = set; then :
6852 enableval=$enable_fast_install; p=${PACKAGE-default}
6854 yes) enable_fast_install=yes ;;
6855 no) enable_fast_install=no ;;
6857 enable_fast_install=no
6858 # Look at the argument we got. We use all the common list separators.
6859 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6860 for pkg in $enableval; do
6862 if test "X$pkg" = "X$p"; then
6863 enable_fast_install=yes
6870 enable_fast_install=yes
6883 # This can be used to rebuild libtool when needed
6884 LIBTOOL_DEPS="$ltmain"
6886 # Always use our own libtool.
6887 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6913 test -z "$LN_S" && LN_S="ln -s"
6928 if test -n "${ZSH_VERSION+set}" ; then
6929 setopt NO_GLOB_SUBST
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6933 $as_echo_n "checking for objdir... " >&6; }
6934 if test "${lt_cv_objdir+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6937 rm -f .libs 2>/dev/null
6938 mkdir .libs 2>/dev/null
6939 if test -d .libs; then
6942 # MS-DOS does not allow filenames that begin with a dot.
6945 rmdir .libs 2>/dev/null
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6948 $as_echo "$lt_cv_objdir" >&6; }
6949 objdir=$lt_cv_objdir
6955 cat >>confdefs.h <<_ACEOF
6956 #define LT_OBJDIR "$lt_cv_objdir/"
6977 # AIX sometimes has problems with the GCC collect2 program. For some
6978 # reason, if we set the COLLECT_NAMES environment variable, the problems
6979 # vanish in a puff of smoke.
6980 if test "X${COLLECT_NAMES+set}" != Xset; then
6982 export COLLECT_NAMES
6987 # Sed substitution that helps us do robust quoting. It backslashifies
6988 # metacharacters that are still active within double-quoted strings.
6989 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6991 # Same as above, but do not quote variable references.
6992 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6994 # Sed substitution to delay expansion of an escaped shell variable in a
6995 # double_quote_subst'ed string.
6996 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6998 # Sed substitution to delay expansion of an escaped single quote.
6999 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7001 # Sed substitution to avoid accidental globbing in evaled expressions
7002 no_glob_subst='s/\*/\\\*/g'
7006 can_build_shared=yes
7008 # All known linkers require a `.a' archive for static linking (except MSVC,
7009 # which needs '.lib').
7012 with_gnu_ld="$lt_cv_prog_gnu_ld"
7015 old_CFLAGS="$CFLAGS"
7017 # Set sane defaults for various variables
7018 test -z "$CC" && CC=cc
7019 test -z "$LTCC" && LTCC=$CC
7020 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7021 test -z "$LD" && LD=ld
7022 test -z "$ac_objext" && ac_objext=o
7024 for cc_temp in $compiler""; do
7026 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7027 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7032 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7035 # Only perform the check for file, if the check method requires it
7036 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7037 case $deplibs_check_method in
7039 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7041 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7042 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7043 $as_echo_n "(cached) " >&6
7047 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7050 lt_save_MAGIC_CMD="$MAGIC_CMD"
7051 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7052 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7053 for ac_dir in $ac_dummy; do
7055 test -z "$ac_dir" && ac_dir=.
7056 if test -f $ac_dir/${ac_tool_prefix}file; then
7057 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7058 if test -n "$file_magic_test_file"; then
7059 case $deplibs_check_method in
7061 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7062 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7063 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7064 $EGREP "$file_magic_regex" > /dev/null; then
7069 *** Warning: the command libtool uses to detect shared libraries,
7070 *** $file_magic_cmd, produces output that libtool cannot recognize.
7071 *** The result is that libtool may fail to recognize shared libraries
7072 *** as such. This will affect the creation of libtool libraries that
7073 *** depend on shared libraries, but programs linked with such libtool
7074 *** libraries will work regardless of this problem. Nevertheless, you
7075 *** may want to report the problem to your system manager and/or to
7076 *** bug-libtool@gnu.org
7086 MAGIC_CMD="$lt_save_MAGIC_CMD"
7091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7092 if test -n "$MAGIC_CMD"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7094 $as_echo "$MAGIC_CMD" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7104 if test -z "$lt_cv_path_MAGIC_CMD"; then
7105 if test -n "$ac_tool_prefix"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7107 $as_echo_n "checking for file... " >&6; }
7108 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7109 $as_echo_n "(cached) " >&6
7113 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7116 lt_save_MAGIC_CMD="$MAGIC_CMD"
7117 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7118 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7119 for ac_dir in $ac_dummy; do
7121 test -z "$ac_dir" && ac_dir=.
7122 if test -f $ac_dir/file; then
7123 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7124 if test -n "$file_magic_test_file"; then
7125 case $deplibs_check_method in
7127 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7128 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7129 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7130 $EGREP "$file_magic_regex" > /dev/null; then
7135 *** Warning: the command libtool uses to detect shared libraries,
7136 *** $file_magic_cmd, produces output that libtool cannot recognize.
7137 *** The result is that libtool may fail to recognize shared libraries
7138 *** as such. This will affect the creation of libtool libraries that
7139 *** depend on shared libraries, but programs linked with such libtool
7140 *** libraries will work regardless of this problem. Nevertheless, you
7141 *** may want to report the problem to your system manager and/or to
7142 *** bug-libtool@gnu.org
7152 MAGIC_CMD="$lt_save_MAGIC_CMD"
7157 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7158 if test -n "$MAGIC_CMD"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7160 $as_echo "$MAGIC_CMD" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 $as_echo "no" >&6; }
7176 # Use C for the default configuration in the libtool script
7180 ac_cpp='$CPP $CPPFLAGS'
7181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7186 # Source file extension for C test sources.
7189 # Object file extension for compiled C test sources.
7193 # Code to be used in simple compile tests
7194 lt_simple_compile_test_code="int some_variable = 0;"
7196 # Code to be used in simple link tests
7197 lt_simple_link_test_code='int main(){return(0);}'
7205 # If no C compiler was specified, use CC.
7208 # If no C compiler flags were specified, use CFLAGS.
7209 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7211 # Allow CC to be a program name with arguments.
7214 # Save the default compiler, since it gets overwritten when the other
7215 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7216 compiler_DEFAULT=$CC
7218 # save warnings/boilerplate of simple test code
7219 ac_outfile=conftest.$ac_objext
7220 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7221 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7222 _lt_compiler_boilerplate=`cat conftest.err`
7225 ac_outfile=conftest.$ac_objext
7226 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7227 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7228 _lt_linker_boilerplate=`cat conftest.err`
7232 if test -n "$compiler"; then
7234 lt_prog_compiler_no_builtin_flag=
7236 if test "$GCC" = yes; then
7237 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7240 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7241 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7242 $as_echo_n "(cached) " >&6
7244 lt_cv_prog_compiler_rtti_exceptions=no
7245 ac_outfile=conftest.$ac_objext
7246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7247 lt_compiler_flag="-fno-rtti -fno-exceptions"
7248 # Insert the option either (1) after the last *FLAGS variable, or
7249 # (2) before a word containing "conftest.", or (3) at the end.
7250 # Note that $ac_compile itself does not contain backslashes and begins
7251 # with a dollar sign (not a hyphen), so the echo should work correctly.
7252 # The option is referenced via a variable to avoid confusing sed.
7253 lt_compile=`echo "$ac_compile" | $SED \
7254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7256 -e 's:$: $lt_compiler_flag:'`
7257 (eval echo "\"\$as_me:7257: $lt_compile\"" >&5)
7258 (eval "$lt_compile" 2>conftest.err)
7260 cat conftest.err >&5
7261 echo "$as_me:7261: \$? = $ac_status" >&5
7262 if (exit $ac_status) && test -s "$ac_outfile"; then
7263 # The compiler can only warn and ignore the option if not recognized
7264 # So say no if there are warnings other than the usual output.
7265 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7266 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7267 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7268 lt_cv_prog_compiler_rtti_exceptions=yes
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7275 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7277 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7278 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7290 lt_prog_compiler_wl=
7291 lt_prog_compiler_pic=
7292 lt_prog_compiler_static=
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7295 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7297 if test "$GCC" = yes; then
7298 lt_prog_compiler_wl='-Wl,'
7299 lt_prog_compiler_static='-static'
7303 # All AIX code is PIC.
7304 if test "$host_cpu" = ia64; then
7305 # AIX 5 now supports IA64 processor
7306 lt_prog_compiler_static='-Bstatic'
7313 # see comment about AmigaOS4 .so support
7314 lt_prog_compiler_pic='-fPIC'
7317 # FIXME: we need at least 68020 code to build shared libraries, but
7318 # adding the `-m68020' flag to GCC prevents building anything better,
7320 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7325 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7326 # PIC is the default for these OSes.
7329 mingw* | cygwin* | pw32* | os2* | cegcc*)
7330 # This hack is so that the source file can tell whether it is being
7331 # built for inclusion in a dll (and should export symbols for example).
7332 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7333 # (--disable-auto-import) libraries
7334 lt_prog_compiler_pic='-DDLL_EXPORT'
7337 darwin* | rhapsody*)
7338 # PIC is the default on this platform
7339 # Common symbols not allowed in MH_DYLIB files
7340 lt_prog_compiler_pic='-fno-common'
7344 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7345 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7346 # sets the default TLS model and affects inlining.
7352 lt_prog_compiler_pic='-fPIC'
7358 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7359 # Instead, we relocate shared libraries at runtime.
7363 # Just because we use GCC doesn't mean we suddenly get shared libraries
7364 # on systems that don't support them.
7365 lt_prog_compiler_can_build_shared=no
7370 # QNX uses GNU C++, but need to define -shared option too, otherwise
7372 lt_prog_compiler_pic='-fPIC -shared'
7376 if test -d /usr/nec; then
7377 lt_prog_compiler_pic=-Kconform_pic
7382 lt_prog_compiler_pic='-fPIC'
7386 # PORTME Check for flag to pass linker flags through the system compiler.
7389 lt_prog_compiler_wl='-Wl,'
7390 if test "$host_cpu" = ia64; then
7391 # AIX 5 now supports IA64 processor
7392 lt_prog_compiler_static='-Bstatic'
7394 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7398 mingw* | cygwin* | pw32* | os2* | cegcc*)
7399 # This hack is so that the source file can tell whether it is being
7400 # built for inclusion in a dll (and should export symbols for example).
7401 lt_prog_compiler_pic='-DDLL_EXPORT'
7404 hpux9* | hpux10* | hpux11*)
7405 lt_prog_compiler_wl='-Wl,'
7406 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7413 lt_prog_compiler_pic='+Z'
7416 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7417 lt_prog_compiler_static='${wl}-a ${wl}archive'
7420 irix5* | irix6* | nonstopux*)
7421 lt_prog_compiler_wl='-Wl,'
7422 # PIC (with -KPIC) is the default.
7423 lt_prog_compiler_static='-non_shared'
7426 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7427 case $cc_basename in
7428 # old Intel for x86_64 which still supported -KPIC.
7430 lt_prog_compiler_wl='-Wl,'
7431 lt_prog_compiler_pic='-KPIC'
7432 lt_prog_compiler_static='-static'
7434 # icc used to be incompatible with GCC.
7435 # ICC 10 doesn't accept -KPIC any more.
7437 lt_prog_compiler_wl='-Wl,'
7438 lt_prog_compiler_pic='-fPIC'
7439 lt_prog_compiler_static='-static'
7441 # Lahey Fortran 8.1.
7443 lt_prog_compiler_wl='-Wl,'
7444 lt_prog_compiler_pic='--shared'
7445 lt_prog_compiler_static='--static'
7447 pgcc* | pgf77* | pgf90* | pgf95*)
7448 # Portland Group compilers (*not* the Pentium gcc compiler,
7449 # which looks to be a dead project)
7450 lt_prog_compiler_wl='-Wl,'
7451 lt_prog_compiler_pic='-fpic'
7452 lt_prog_compiler_static='-Bstatic'
7455 lt_prog_compiler_wl='-Wl,'
7456 # All Alpha code is PIC.
7457 lt_prog_compiler_static='-non_shared'
7460 # IBM XL C 8.0/Fortran 10.1 on PPC
7461 lt_prog_compiler_wl='-Wl,'
7462 lt_prog_compiler_pic='-qpic'
7463 lt_prog_compiler_static='-qstaticlink'
7466 case `$CC -V 2>&1 | sed 5q` in
7469 lt_prog_compiler_pic='-KPIC'
7470 lt_prog_compiler_static='-Bstatic'
7471 lt_prog_compiler_wl='-Wl,'
7474 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7475 lt_prog_compiler_pic='-KPIC'
7476 lt_prog_compiler_static='-Bstatic'
7477 lt_prog_compiler_wl=''
7485 lt_prog_compiler_pic='-KPIC'
7486 lt_prog_compiler_static='-Bstatic'
7490 # QNX uses GNU C++, but need to define -shared option too, otherwise
7492 lt_prog_compiler_pic='-fPIC -shared'
7495 osf3* | osf4* | osf5*)
7496 lt_prog_compiler_wl='-Wl,'
7497 # All OSF/1 code is PIC.
7498 lt_prog_compiler_static='-non_shared'
7502 lt_prog_compiler_static='-non_shared'
7506 lt_prog_compiler_pic='-KPIC'
7507 lt_prog_compiler_static='-Bstatic'
7508 case $cc_basename in
7510 lt_prog_compiler_wl='-Qoption ld ';;
7512 lt_prog_compiler_wl='-Wl,';;
7517 lt_prog_compiler_wl='-Qoption ld '
7518 lt_prog_compiler_pic='-PIC'
7519 lt_prog_compiler_static='-Bstatic'
7522 sysv4 | sysv4.2uw2* | sysv4.3*)
7523 lt_prog_compiler_wl='-Wl,'
7524 lt_prog_compiler_pic='-KPIC'
7525 lt_prog_compiler_static='-Bstatic'
7529 if test -d /usr/nec ;then
7530 lt_prog_compiler_pic='-Kconform_pic'
7531 lt_prog_compiler_static='-Bstatic'
7535 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7536 lt_prog_compiler_wl='-Wl,'
7537 lt_prog_compiler_pic='-KPIC'
7538 lt_prog_compiler_static='-Bstatic'
7542 lt_prog_compiler_wl='-Wl,'
7543 lt_prog_compiler_can_build_shared=no
7547 lt_prog_compiler_pic='-pic'
7548 lt_prog_compiler_static='-Bstatic'
7552 lt_prog_compiler_can_build_shared=no
7558 # For platforms which do not support PIC, -DPIC is meaningless:
7560 lt_prog_compiler_pic=
7563 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7567 $as_echo "$lt_prog_compiler_pic" >&6; }
7575 # Check to make sure the PIC flag actually works.
7577 if test -n "$lt_prog_compiler_pic"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7579 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7580 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7581 $as_echo_n "(cached) " >&6
7583 lt_cv_prog_compiler_pic_works=no
7584 ac_outfile=conftest.$ac_objext
7585 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7586 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7587 # Insert the option either (1) after the last *FLAGS variable, or
7588 # (2) before a word containing "conftest.", or (3) at the end.
7589 # Note that $ac_compile itself does not contain backslashes and begins
7590 # with a dollar sign (not a hyphen), so the echo should work correctly.
7591 # The option is referenced via a variable to avoid confusing sed.
7592 lt_compile=`echo "$ac_compile" | $SED \
7593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7595 -e 's:$: $lt_compiler_flag:'`
7596 (eval echo "\"\$as_me:7596: $lt_compile\"" >&5)
7597 (eval "$lt_compile" 2>conftest.err)
7599 cat conftest.err >&5
7600 echo "$as_me:7600: \$? = $ac_status" >&5
7601 if (exit $ac_status) && test -s "$ac_outfile"; then
7602 # The compiler can only warn and ignore the option if not recognized
7603 # So say no if there are warnings other than the usual output.
7604 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7605 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7606 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7607 lt_cv_prog_compiler_pic_works=yes
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7614 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7616 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7617 case $lt_prog_compiler_pic in
7619 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7622 lt_prog_compiler_pic=
7623 lt_prog_compiler_can_build_shared=no
7634 # Check to make sure the static flag actually works.
7636 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7638 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7639 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7640 $as_echo_n "(cached) " >&6
7642 lt_cv_prog_compiler_static_works=no
7643 save_LDFLAGS="$LDFLAGS"
7644 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7645 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7646 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7647 # The linker can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 if test -s conftest.err; then
7650 # Append any errors to the config.log.
7651 cat conftest.err 1>&5
7652 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7654 if diff conftest.exp conftest.er2 >/dev/null; then
7655 lt_cv_prog_compiler_static_works=yes
7658 lt_cv_prog_compiler_static_works=yes
7662 LDFLAGS="$save_LDFLAGS"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7666 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7668 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7671 lt_prog_compiler_static=
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7681 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7682 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7683 $as_echo_n "(cached) " >&6
7685 lt_cv_prog_compiler_c_o=no
7686 $RM -r conftest 2>/dev/null
7690 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7692 lt_compiler_flag="-o out/conftest2.$ac_objext"
7693 # Insert the option either (1) after the last *FLAGS variable, or
7694 # (2) before a word containing "conftest.", or (3) at the end.
7695 # Note that $ac_compile itself does not contain backslashes and begins
7696 # with a dollar sign (not a hyphen), so the echo should work correctly.
7697 lt_compile=`echo "$ac_compile" | $SED \
7698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7700 -e 's:$: $lt_compiler_flag:'`
7701 (eval echo "\"\$as_me:7701: $lt_compile\"" >&5)
7702 (eval "$lt_compile" 2>out/conftest.err)
7704 cat out/conftest.err >&5
7705 echo "$as_me:7705: \$? = $ac_status" >&5
7706 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7708 # The compiler can only warn and ignore the option if not recognized
7709 # So say no if there are warnings
7710 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7711 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7712 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7713 lt_cv_prog_compiler_c_o=yes
7718 # SGI C++ compiler will create directory out/ii_files/ for
7719 # template instantiation
7720 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7721 $RM out/* && rmdir out
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7728 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7737 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7738 $as_echo_n "(cached) " >&6
7740 lt_cv_prog_compiler_c_o=no
7741 $RM -r conftest 2>/dev/null
7745 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7747 lt_compiler_flag="-o out/conftest2.$ac_objext"
7748 # Insert the option either (1) after the last *FLAGS variable, or
7749 # (2) before a word containing "conftest.", or (3) at the end.
7750 # Note that $ac_compile itself does not contain backslashes and begins
7751 # with a dollar sign (not a hyphen), so the echo should work correctly.
7752 lt_compile=`echo "$ac_compile" | $SED \
7753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7755 -e 's:$: $lt_compiler_flag:'`
7756 (eval echo "\"\$as_me:7756: $lt_compile\"" >&5)
7757 (eval "$lt_compile" 2>out/conftest.err)
7759 cat out/conftest.err >&5
7760 echo "$as_me:7760: \$? = $ac_status" >&5
7761 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7763 # The compiler can only warn and ignore the option if not recognized
7764 # So say no if there are warnings
7765 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7766 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7767 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7768 lt_cv_prog_compiler_c_o=yes
7773 # SGI C++ compiler will create directory out/ii_files/ for
7774 # template instantiation
7775 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7776 $RM out/* && rmdir out
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7783 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7788 hard_links="nottested"
7789 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7790 # do not overwrite the value of need_locks provided by the user
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7792 $as_echo_n "checking if we can lock with hard links... " >&6; }
7795 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7797 ln conftest.a conftest.b 2>&5 || hard_links=no
7798 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7800 $as_echo "$hard_links" >&6; }
7801 if test "$hard_links" = no; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7803 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7816 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7819 allow_undefined_flag=
7820 always_export_symbols=no
7822 archive_expsym_cmds=
7823 compiler_needs_object=no
7824 enable_shared_with_static_runtimes=no
7825 export_dynamic_flag_spec=
7826 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7827 hardcode_automatic=no
7829 hardcode_direct_absolute=no
7830 hardcode_libdir_flag_spec=
7831 hardcode_libdir_flag_spec_ld=
7832 hardcode_libdir_separator=
7834 hardcode_shlibpath_var=unsupported
7836 link_all_deplibs=unknown
7839 old_archive_from_new_cmds=
7840 old_archive_from_expsyms_cmds=
7841 thread_safe_flag_spec=
7842 whole_archive_flag_spec=
7843 # include_expsyms should be a list of space-separated symbols to be *always*
7844 # included in the symbol list
7846 # exclude_expsyms can be an extended regexp of symbols to exclude
7847 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7848 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7849 # as well as any symbol that contains `d'.
7850 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7851 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7852 # platforms (ab)use it in PIC code, but their linkers get confused if
7853 # the symbol is explicitly referenced. Since portable code cannot
7854 # rely on this symbol name, it's probably fine to never include it in
7855 # preloaded symbol tables.
7856 # Exclude shared library initialization/finalization symbols.
7857 extract_expsyms_cmds=
7860 cygwin* | mingw* | pw32* | cegcc*)
7861 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7862 # When not using gcc, we currently assume that we are using
7863 # Microsoft Visual C++.
7864 if test "$GCC" != yes; then
7869 # we just hope/assume this is gcc and not c89 (= MSVC++)
7875 linux* | k*bsd*-gnu)
7881 if test "$with_gnu_ld" = yes; then
7882 # If archive_cmds runs LD, not CC, wlarc should be empty
7885 # Set some defaults for GNU ld with shared library support. These
7886 # are reset later if shared libraries are not supported. Putting them
7887 # here allows them to be overridden if necessary.
7888 runpath_var=LD_RUN_PATH
7889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7890 export_dynamic_flag_spec='${wl}--export-dynamic'
7891 # ancient GNU ld didn't support --whole-archive et. al.
7892 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7893 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7895 whole_archive_flag_spec=
7897 supports_anon_versioning=no
7898 case `$LD -v 2>&1` in
7899 *GNU\ gold*) supports_anon_versioning=yes ;;
7900 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7901 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7902 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7903 *\ 2.11.*) ;; # other 2.11 versions
7904 *) supports_anon_versioning=yes ;;
7907 # See if GNU ld supports shared libraries.
7910 # On AIX/PPC, the GNU linker is very broken
7911 if test "$host_cpu" != ia64; then
7915 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7916 *** to be unable to reliably create shared libraries on AIX.
7917 *** Therefore, libtool is disabling shared libraries support. If you
7918 *** really care for shared libraries, you may want to modify your PATH
7919 *** so that a non-GNU linker is found, and then restart.
7928 # see comment about AmigaOS4 .so support
7929 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7930 archive_expsym_cmds=''
7933 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7934 hardcode_libdir_flag_spec='-L$libdir'
7935 hardcode_minus_L=yes
7941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7942 allow_undefined_flag=unsupported
7943 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7944 # support --undefined. This deserves some investigation. FIXME
7945 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7951 cygwin* | mingw* | pw32* | cegcc*)
7952 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7953 # as there is no search path for DLLs.
7954 hardcode_libdir_flag_spec='-L$libdir'
7955 allow_undefined_flag=unsupported
7956 always_export_symbols=no
7957 enable_shared_with_static_runtimes=yes
7958 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7960 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7962 # If the export-symbols file already is a .def file (1st line
7963 # is EXPORTS), use it as is; otherwise, prepend...
7964 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7965 cp $export_symbols $output_objdir/$soname.def;
7967 echo EXPORTS > $output_objdir/$soname.def;
7968 cat $export_symbols >> $output_objdir/$soname.def;
7970 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7978 hardcode_shlibpath_var=no
7979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7980 export_dynamic_flag_spec='${wl}-E'
7981 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7982 # Instead, shared libraries are loaded at an image base (0x10000000 by
7983 # default) and relocated if they conflict, which is a slow very memory
7984 # consuming and fragmenting process. To avoid this, we pick a random,
7985 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7986 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7987 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7988 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7991 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7993 if test "$host_os" = linux-dietlibc; then
7994 case $cc_basename in
7995 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7998 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7999 && test "$tmp_diet" = no
8002 tmp_sharedflag='-shared'
8003 case $cc_basename,$host_cpu in
8004 pgcc*) # Portland Group C compiler
8005 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8006 tmp_addflag=' $pic_flag'
8008 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8009 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8010 tmp_addflag=' $pic_flag -Mnomain' ;;
8011 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8012 tmp_addflag=' -i_dynamic' ;;
8013 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8014 tmp_addflag=' -i_dynamic -nofor_main' ;;
8015 ifc* | ifort*) # Intel Fortran compiler
8016 tmp_addflag=' -nofor_main' ;;
8017 lf95*) # Lahey Fortran 8.1
8018 whole_archive_flag_spec=
8019 tmp_sharedflag='--shared' ;;
8020 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8021 tmp_sharedflag='-qmkshrobj'
8024 case `$CC -V 2>&1 | sed 5q` in
8025 *Sun\ C*) # Sun C 5.9
8026 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8027 compiler_needs_object=yes
8028 tmp_sharedflag='-G' ;;
8029 *Sun\ F*) # Sun Fortran 8.3
8030 tmp_sharedflag='-G' ;;
8032 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8034 if test "x$supports_anon_versioning" = xyes; then
8035 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8036 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8037 echo "local: *; };" >> $output_objdir/$libname.ver~
8038 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8041 case $cc_basename in
8043 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8044 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8045 hardcode_libdir_flag_spec=
8046 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8047 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8048 if test "x$supports_anon_versioning" = xyes; then
8049 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8051 echo "local: *; };" >> $output_objdir/$libname.ver~
8052 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8061 netbsd* | netbsdelf*-gnu)
8062 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8063 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8072 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8076 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8077 *** create shared libraries on Solaris systems. Therefore, libtool
8078 *** is disabling shared libraries support. We urge you to upgrade GNU
8079 *** binutils to release 2.9.1 or newer. Another option is to modify
8080 *** your PATH or compiler configuration so that the native linker is
8081 *** used, and then restart.
8084 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8085 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8086 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8093 case `$LD -v 2>&1` in
8094 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8098 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8099 *** reliably create shared libraries on SCO systems. Therefore, libtool
8100 *** is disabling shared libraries support. We urge you to upgrade GNU
8101 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8102 *** your PATH or compiler configuration so that the native linker is
8103 *** used, and then restart.
8108 # For security reasons, it is highly recommended that you always
8109 # use absolute paths for naming shared libraries, and exclude the
8110 # DT_RUNPATH tag from executables and libraries. But doing so
8111 # requires that you compile everything twice, which is a pain.
8112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8113 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8115 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8124 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8127 hardcode_shlibpath_var=no
8131 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8133 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8140 if test "$ld_shlibs" = no; then
8142 hardcode_libdir_flag_spec=
8143 export_dynamic_flag_spec=
8144 whole_archive_flag_spec=
8147 # PORTME fill in a description of your system's linker (not GNU ld)
8150 allow_undefined_flag=unsupported
8151 always_export_symbols=yes
8152 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8153 # Note: this linker hardcodes the directories in LIBPATH if there
8154 # are no directories specified by -L.
8155 hardcode_minus_L=yes
8156 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8157 # Neither direct hardcoding nor static linking is supported with a
8159 hardcode_direct=unsupported
8164 if test "$host_cpu" = ia64; then
8165 # On IA64, the linker does run time linking by default, so we don't
8166 # have to do anything special.
8167 aix_use_runtimelinking=no
8168 exp_sym_flag='-Bexport'
8171 # If we're using GNU nm, then we don't want the "-C" option.
8172 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8173 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8174 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8176 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8178 aix_use_runtimelinking=no
8180 # Test if we are trying to use run time linking or normal
8181 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8182 # need to do runtime linking.
8183 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8184 for ld_flag in $LDFLAGS; do
8185 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8186 aix_use_runtimelinking=yes
8193 exp_sym_flag='-bexport'
8194 no_entry_flag='-bnoentry'
8197 # When large executables or shared objects are built, AIX ld can
8198 # have problems creating the table of contents. If linking a library
8199 # or program results in "error TOC overflow" add -mminimal-toc to
8200 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8201 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8205 hardcode_direct_absolute=yes
8206 hardcode_libdir_separator=':'
8207 link_all_deplibs=yes
8208 file_list_spec='${wl}-f,'
8210 if test "$GCC" = yes; then
8211 case $host_os in aix4.[012]|aix4.[012].*)
8212 # We only want to do this on AIX 4.2 and lower, the check
8213 # below for broken collect2 doesn't work under 4.3+
8214 collect2name=`${CC} -print-prog-name=collect2`
8215 if test -f "$collect2name" &&
8216 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8218 # We have reworked collect2
8221 # We have old collect2
8222 hardcode_direct=unsupported
8223 # It fails to find uninstalled libraries when the uninstalled
8224 # path is not listed in the libpath. Setting hardcode_minus_L
8225 # to unsupported forces relinking
8226 hardcode_minus_L=yes
8227 hardcode_libdir_flag_spec='-L$libdir'
8228 hardcode_libdir_separator=
8232 shared_flag='-shared'
8233 if test "$aix_use_runtimelinking" = yes; then
8234 shared_flag="$shared_flag "'${wl}-G'
8239 if test "$host_cpu" = ia64; then
8240 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8241 # chokes on -Wl,-G. The following line is correct:
8244 if test "$aix_use_runtimelinking" = yes; then
8245 shared_flag='${wl}-G'
8247 shared_flag='${wl}-bM:SRE'
8252 export_dynamic_flag_spec='${wl}-bexpall'
8253 # It seems that -bexpall does not export symbols beginning with
8254 # underscore (_), so it is better to generate a list of symbols to export.
8255 always_export_symbols=yes
8256 if test "$aix_use_runtimelinking" = yes; then
8257 # Warning - without using the other runtime loading flags (-brtl),
8258 # -berok will link without error, but may produce a broken library.
8259 allow_undefined_flag='-berok'
8260 # Determine the default libpath from the value encoded in an
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8273 if ac_fn_c_try_link "$LINENO"; then :
8275 lt_aix_libpath_sed='
8276 /Import File Strings/,/^$/ {
8282 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8283 # Check for a 64-bit object if we didn't find anything.
8284 if test -z "$aix_libpath"; then
8285 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8288 rm -f core conftest.err conftest.$ac_objext \
8289 conftest$ac_exeext conftest.$ac_ext
8290 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8292 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8293 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8295 if test "$host_cpu" = ia64; then
8296 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8297 allow_undefined_flag="-z nodefs"
8298 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8300 # Determine the default libpath from the value encoded in an
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8313 if ac_fn_c_try_link "$LINENO"; then :
8315 lt_aix_libpath_sed='
8316 /Import File Strings/,/^$/ {
8322 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8323 # Check for a 64-bit object if we didn't find anything.
8324 if test -z "$aix_libpath"; then
8325 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8332 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8333 # Warning - without using the other run time loading flags,
8334 # -berok will link without error, but may produce a broken library.
8335 no_undefined_flag=' ${wl}-bernotok'
8336 allow_undefined_flag=' ${wl}-berok'
8337 # Exported symbols can be pulled into shared objects from archives
8338 whole_archive_flag_spec='$convenience'
8339 archive_cmds_need_lc=yes
8340 # This is similar to how AIX traditionally builds its shared libraries.
8341 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8349 # see comment about AmigaOS4 .so support
8350 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8351 archive_expsym_cmds=''
8354 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8355 hardcode_libdir_flag_spec='-L$libdir'
8356 hardcode_minus_L=yes
8362 export_dynamic_flag_spec=-rdynamic
8365 cygwin* | mingw* | pw32* | cegcc*)
8366 # When not using gcc, we currently assume that we are using
8367 # Microsoft Visual C++.
8368 # hardcode_libdir_flag_spec is actually meaningless, as there is
8369 # no search path for DLLs.
8370 hardcode_libdir_flag_spec=' '
8371 allow_undefined_flag=unsupported
8372 # Tell ltmain to make .lib files, not .a files.
8374 # Tell ltmain to make .dll files, not .so files.
8376 # FIXME: Setting linknames here is a bad hack.
8377 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8378 # The linker will automatically build a .lib file if we build a DLL.
8379 old_archive_from_new_cmds='true'
8380 # FIXME: Should let the user specify the lib program.
8381 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8382 fix_srcfile_path='`cygpath -w "$srcfile"`'
8383 enable_shared_with_static_runtimes=yes
8386 darwin* | rhapsody*)
8389 archive_cmds_need_lc=no
8391 hardcode_automatic=yes
8392 hardcode_shlibpath_var=unsupported
8393 whole_archive_flag_spec=''
8394 link_all_deplibs=yes
8395 allow_undefined_flag="$_lt_dar_allow_undefined"
8396 case $cc_basename in
8397 ifort*) _lt_dar_can_shared=yes ;;
8398 *) _lt_dar_can_shared=$GCC ;;
8400 if test "$_lt_dar_can_shared" = "yes"; then
8401 output_verbose_link_cmd=echo
8402 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8403 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8404 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8405 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8415 hardcode_libdir_flag_spec='-L$libdir'
8416 hardcode_shlibpath_var=no
8423 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8424 # support. Future versions do this automatically, but an explicit c++rt0.o
8425 # does not break anything, and helps significantly (at the cost of a little
8428 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8429 hardcode_libdir_flag_spec='-R$libdir'
8431 hardcode_shlibpath_var=no
8434 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8436 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8438 hardcode_minus_L=yes
8439 hardcode_shlibpath_var=no
8442 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8443 freebsd* | dragonfly*)
8444 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8445 hardcode_libdir_flag_spec='-R$libdir'
8447 hardcode_shlibpath_var=no
8451 if test "$GCC" = yes; then
8452 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8454 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8456 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8457 hardcode_libdir_separator=:
8460 # hardcode_minus_L: Not really in the search PATH,
8461 # but as the default location of the library.
8462 hardcode_minus_L=yes
8463 export_dynamic_flag_spec='${wl}-E'
8467 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8468 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8470 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8472 if test "$with_gnu_ld" = no; then
8473 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8474 hardcode_libdir_flag_spec_ld='+b $libdir'
8475 hardcode_libdir_separator=:
8477 hardcode_direct_absolute=yes
8478 export_dynamic_flag_spec='${wl}-E'
8479 # hardcode_minus_L: Not really in the search PATH,
8480 # but as the default location of the library.
8481 hardcode_minus_L=yes
8486 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8489 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8492 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8495 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8501 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8504 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8507 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8511 if test "$with_gnu_ld" = no; then
8512 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8513 hardcode_libdir_separator=:
8518 hardcode_shlibpath_var=no
8522 hardcode_direct_absolute=yes
8523 export_dynamic_flag_spec='${wl}-E'
8525 # hardcode_minus_L: Not really in the search PATH,
8526 # but as the default location of the library.
8527 hardcode_minus_L=yes
8533 irix5* | irix6* | nonstopux*)
8534 if test "$GCC" = yes; then
8535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8536 # Try to use the -exported_symbol ld option, if it does not
8537 # work, assume that -exports_file does not work either and
8538 # implicitly export all symbols.
8539 save_LDFLAGS="$LDFLAGS"
8540 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8545 if ac_fn_c_try_link "$LINENO"; then :
8546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8549 rm -f core conftest.err conftest.$ac_objext \
8550 conftest$ac_exeext conftest.$ac_ext
8551 LDFLAGS="$save_LDFLAGS"
8553 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8554 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8556 archive_cmds_need_lc='no'
8557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8558 hardcode_libdir_separator=:
8560 link_all_deplibs=yes
8563 netbsd* | netbsdelf*-gnu)
8564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8565 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8567 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8569 hardcode_libdir_flag_spec='-R$libdir'
8571 hardcode_shlibpath_var=no
8575 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8578 hardcode_libdir_separator=:
8579 hardcode_shlibpath_var=no
8586 if test -f /usr/libexec/ld.so; then
8588 hardcode_shlibpath_var=no
8589 hardcode_direct_absolute=yes
8590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8591 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8592 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8593 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8594 export_dynamic_flag_spec='${wl}-E'
8597 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8598 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8599 hardcode_libdir_flag_spec='-R$libdir'
8602 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8603 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8613 hardcode_libdir_flag_spec='-L$libdir'
8614 hardcode_minus_L=yes
8615 allow_undefined_flag=unsupported
8616 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8617 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8621 if test "$GCC" = yes; then
8622 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8623 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8625 allow_undefined_flag=' -expect_unresolved \*'
8626 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8628 archive_cmds_need_lc='no'
8629 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8630 hardcode_libdir_separator=:
8633 osf4* | osf5*) # as osf3* with the addition of -msym flag
8634 if test "$GCC" = yes; then
8635 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8636 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8637 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8639 allow_undefined_flag=' -expect_unresolved \*'
8640 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8641 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8642 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8644 # Both c and cxx compiler support -rpath directly
8645 hardcode_libdir_flag_spec='-rpath $libdir'
8647 archive_cmds_need_lc='no'
8648 hardcode_libdir_separator=:
8652 no_undefined_flag=' -z defs'
8653 if test "$GCC" = yes; then
8655 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8656 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8657 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8659 case `$CC -V 2>&1` in
8662 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8663 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8664 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8668 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8670 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8674 hardcode_libdir_flag_spec='-R$libdir'
8675 hardcode_shlibpath_var=no
8677 solaris2.[0-5] | solaris2.[0-5].*) ;;
8679 # The compiler driver will combine and reorder linker options,
8680 # but understands `-z linker_flag'. GCC discards it without `$wl',
8681 # but is careful enough not to reorder.
8682 # Supported since Solaris 2.6 (maybe 2.5.1?)
8683 if test "$GCC" = yes; then
8684 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8686 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8690 link_all_deplibs=yes
8694 if test "x$host_vendor" = xsequent; then
8695 # Use $CC to link under sequent, because it throws in some extra .o
8696 # files that make .init and .fini sections work.
8697 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8699 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8701 hardcode_libdir_flag_spec='-L$libdir'
8703 hardcode_minus_L=yes
8704 hardcode_shlibpath_var=no
8708 case $host_vendor in
8710 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8711 hardcode_direct=yes # is this really true???
8714 ## LD is ld it makes a PLAMLIB
8715 ## CC just makes a GrossModule.
8716 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8717 reload_cmds='$CC -r -o $output$reload_objs'
8721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8722 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8725 runpath_var='LD_RUN_PATH'
8726 hardcode_shlibpath_var=no
8730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8731 hardcode_shlibpath_var=no
8732 export_dynamic_flag_spec='-Bexport'
8736 if test -d /usr/nec; then
8737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8738 hardcode_shlibpath_var=no
8739 runpath_var=LD_RUN_PATH
8740 hardcode_runpath_var=yes
8745 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8746 no_undefined_flag='${wl}-z,text'
8747 archive_cmds_need_lc=no
8748 hardcode_shlibpath_var=no
8749 runpath_var='LD_RUN_PATH'
8751 if test "$GCC" = yes; then
8752 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8753 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8755 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8760 sysv5* | sco3.2v5* | sco5v6*)
8761 # Note: We can NOT use -z defs as we might desire, because we do not
8762 # link with -lc, and that would cause any symbols used from libc to
8763 # always be unresolved, which means just about no library would
8764 # ever link correctly. If we're not using GNU ld we use -z text
8765 # though, which does catch some bad symbols but isn't as heavy-handed
8767 no_undefined_flag='${wl}-z,text'
8768 allow_undefined_flag='${wl}-z,nodefs'
8769 archive_cmds_need_lc=no
8770 hardcode_shlibpath_var=no
8771 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8772 hardcode_libdir_separator=':'
8773 link_all_deplibs=yes
8774 export_dynamic_flag_spec='${wl}-Bexport'
8775 runpath_var='LD_RUN_PATH'
8777 if test "$GCC" = yes; then
8778 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8779 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8781 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8782 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_libdir_flag_spec='-L$libdir'
8789 hardcode_shlibpath_var=no
8797 if test x$host_vendor = xsni; then
8799 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8800 export_dynamic_flag_spec='${wl}-Blargedynsym'
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8807 $as_echo "$ld_shlibs" >&6; }
8808 test "$ld_shlibs" = no && can_build_shared=no
8810 with_gnu_ld=$with_gnu_ld
8827 # Do we need to explicitly link libc?
8829 case "x$archive_cmds_need_lc" in
8831 # Assume -lc should be added
8832 archive_cmds_need_lc=yes
8834 if test "$enable_shared" = yes && test "$GCC" = yes; then
8835 case $archive_cmds in
8837 # FIXME: we may have to deal with multi-command sequences.
8840 # Test whether the compiler implicitly links with -lc since on some
8841 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8842 # to ld, don't add -lc before -lgcc.
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8844 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8849 (eval $ac_compile) 2>&5
8851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8852 test $ac_status = 0; } 2>conftest.err; then
8855 libobjs=conftest.$ac_objext
8857 wl=$lt_prog_compiler_wl
8858 pic_flag=$lt_prog_compiler_pic
8864 lt_save_allow_undefined_flag=$allow_undefined_flag
8865 allow_undefined_flag=
8866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8867 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8870 test $ac_status = 0; }
8872 archive_cmds_need_lc=no
8874 archive_cmds_need_lc=yes
8876 allow_undefined_flag=$lt_save_allow_undefined_flag
8878 cat conftest.err 1>&5
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8882 $as_echo "$archive_cmds_need_lc" >&6; }
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9046 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9048 if test "$GCC" = yes; then
9050 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9051 *) lt_awk_arg="/^libraries:/" ;;
9053 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9054 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9055 # if the path contains ";" then we assume it to be the separator
9056 # otherwise default to the standard path separator (i.e. ":") - it is
9057 # assumed that no part of a normal pathname contains ";" but that should
9058 # okay in the real world where ";" in dirpaths is itself problematic.
9059 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9061 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9063 # Ok, now we have the path, separated by spaces, we can step through it
9064 # and add multilib dir if necessary.
9065 lt_tmp_lt_search_path_spec=
9066 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9067 for lt_sys_path in $lt_search_path_spec; do
9068 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9069 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9071 test -d "$lt_sys_path" && \
9072 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9075 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9076 BEGIN {RS=" "; FS="/|\n";} {
9079 for (lt_i = NF; lt_i > 0; lt_i--) {
9080 if ($lt_i != "" && $lt_i != ".") {
9081 if ($lt_i == "..") {
9084 if (lt_count == 0) {
9085 lt_foo="/" $lt_i lt_foo;
9092 if (lt_foo != "") { lt_freq[lt_foo]++; }
9093 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9095 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9097 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9100 libname_spec='lib$name'
9108 shlibpath_overrides_runpath=unknown
9110 dynamic_linker="$host_os ld.so"
9111 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9112 need_lib_prefix=unknown
9113 hardcode_into_libs=no
9115 # when you set need_version to no, make sure it does not cause -set_version
9116 # flags to be left without arguments
9117 need_version=unknown
9122 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9123 shlibpath_var=LIBPATH
9125 # AIX 3 has no versioning support, so we append a major version to the name.
9126 soname_spec='${libname}${release}${shared_ext}$major'
9133 hardcode_into_libs=yes
9134 if test "$host_cpu" = ia64; then
9135 # AIX 5 supports IA64
9136 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9137 shlibpath_var=LD_LIBRARY_PATH
9139 # With GCC up to 2.95.x, collect2 would create an import file
9140 # for dependence libraries. The import file would start with
9141 # the line `#! .'. This would cause the generated library to
9142 # depend on `.', always an invalid library. This was fixed in
9143 # development snapshots of GCC prior to 3.0.
9145 aix4 | aix4.[01] | aix4.[01].*)
9146 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9148 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9155 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9156 # soname into executable. Probably we can add versioning support to
9157 # collect2, so additional links can be useful in future.
9158 if test "$aix_use_runtimelinking" = yes; then
9159 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9160 # instead of lib<name>.a to let people know that these are not
9161 # typical AIX shared libraries.
9162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9164 # We preserve .a as extension for shared libraries through AIX4.2
9165 # and later when we are not doing run time linking.
9166 library_names_spec='${libname}${release}.a $libname.a'
9167 soname_spec='${libname}${release}${shared_ext}$major'
9169 shlibpath_var=LIBPATH
9176 # Since July 2007 AmigaOS4 officially supports .so libraries.
9177 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 library_names_spec='$libname.ixlibrary $libname.a'
9182 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9183 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9189 library_names_spec='${libname}${shared_ext}'
9190 dynamic_linker="$host_os ld.so"
9191 shlibpath_var=LIBRARY_PATH
9197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198 soname_spec='${libname}${release}${shared_ext}$major'
9199 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9200 shlibpath_var=LD_LIBRARY_PATH
9201 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9202 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9203 # the default ld.so.conf also contains /usr/contrib/lib and
9204 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9205 # libtool to hard-code these into programs
9208 cygwin* | mingw* | pw32* | cegcc*)
9209 version_type=windows
9214 case $GCC,$host_os in
9215 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9216 library_names_spec='$libname.dll.a'
9217 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9218 postinstall_cmds='base_file=`basename \${file}`~
9219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9220 dldir=$destdir/`dirname \$dlpath`~
9221 test -d \$dldir || mkdir -p \$dldir~
9222 $install_prog $dir/$dlname \$dldir/$dlname~
9223 chmod a+x \$dldir/$dlname~
9224 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9225 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9227 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9228 dlpath=$dir/\$dldll~
9230 shlibpath_overrides_runpath=yes
9234 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9235 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9236 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9239 # MinGW DLLs use traditional 'lib' prefix
9240 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9241 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9242 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9243 # It is most probably a Windows format PATH printed by
9244 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9245 # path with ; separators, and with drive letters. We can handle the
9246 # drive letters (cygwin fileutils understands them), so leave them,
9247 # especially as we might pass files found there to a mingw objdump,
9248 # which wouldn't understand a cygwinified path. Ahh.
9249 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9251 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9255 # pw32 DLLs use 'pw' prefix rather than 'lib'
9256 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9262 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9265 dynamic_linker='Win32 ld.exe'
9266 # FIXME: first we should search . and the directory the executable is in
9270 darwin* | rhapsody*)
9271 dynamic_linker="$host_os dyld"
9275 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9276 soname_spec='${libname}${release}${major}$shared_ext'
9277 shlibpath_overrides_runpath=yes
9278 shlibpath_var=DYLD_LIBRARY_PATH
9279 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9281 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9282 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9290 soname_spec='${libname}${release}${shared_ext}$major'
9291 shlibpath_var=LD_LIBRARY_PATH
9298 freebsd* | dragonfly*)
9299 # DragonFly does not have aout. When/if they implement a new
9300 # versioning mechanism, adjust this.
9301 if test -x /usr/bin/objformat; then
9302 objformat=`/usr/bin/objformat`
9305 freebsd[123]*) objformat=aout ;;
9309 version_type=freebsd-$objformat
9310 case $version_type in
9312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9321 shlibpath_var=LD_LIBRARY_PATH
9324 shlibpath_overrides_runpath=yes
9326 freebsd3.[01]* | freebsdelf3.[01]*)
9327 shlibpath_overrides_runpath=yes
9328 hardcode_into_libs=yes
9330 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9331 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9332 shlibpath_overrides_runpath=no
9333 hardcode_into_libs=yes
9335 *) # from 4.6 on, and DragonFly
9336 shlibpath_overrides_runpath=yes
9337 hardcode_into_libs=yes
9346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9347 soname_spec='${libname}${release}${shared_ext}$major'
9348 shlibpath_var=LD_LIBRARY_PATH
9349 hardcode_into_libs=yes
9352 hpux9* | hpux10* | hpux11*)
9353 # Give a soname corresponding to the major version so that dld.sl refuses to
9354 # link against other versions.
9361 hardcode_into_libs=yes
9362 dynamic_linker="$host_os dld.so"
9363 shlibpath_var=LD_LIBRARY_PATH
9364 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9366 soname_spec='${libname}${release}${shared_ext}$major'
9367 if test "X$HPUX_IA64_MODE" = X32; then
9368 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9370 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9372 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9376 hardcode_into_libs=yes
9377 dynamic_linker="$host_os dld.sl"
9378 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9379 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9381 soname_spec='${libname}${release}${shared_ext}$major'
9382 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9383 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9387 dynamic_linker="$host_os dld.sl"
9388 shlibpath_var=SHLIB_PATH
9389 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9391 soname_spec='${libname}${release}${shared_ext}$major'
9394 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9395 postinstall_cmds='chmod 555 $lib'
9402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9403 soname_spec='${libname}${release}${shared_ext}$major'
9404 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9405 shlibpath_var=LD_LIBRARY_PATH
9406 shlibpath_overrides_runpath=no
9407 hardcode_into_libs=yes
9410 irix5* | irix6* | nonstopux*)
9412 nonstopux*) version_type=nonstopux ;;
9414 if test "$lt_cv_prog_gnu_ld" = yes; then
9422 soname_spec='${libname}${release}${shared_ext}$major'
9423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9425 irix5* | nonstopux*)
9429 case $LD in # libtool.m4 will add one of these switches to LD
9430 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9431 libsuff= shlibsuff= libmagic=32-bit;;
9432 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9433 libsuff=32 shlibsuff=N32 libmagic=N32;;
9434 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9435 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9436 *) libsuff= shlibsuff= libmagic=never-match;;
9440 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9441 shlibpath_overrides_runpath=no
9442 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9443 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9444 hardcode_into_libs=yes
9447 # No shared lib support for Linux oldld, aout, or coff.
9448 linux*oldld* | linux*aout* | linux*coff*)
9452 # This must be Linux ELF.
9453 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9458 soname_spec='${libname}${release}${shared_ext}$major'
9459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9460 shlibpath_var=LD_LIBRARY_PATH
9461 shlibpath_overrides_runpath=no
9462 # Some binutils ld are patched to set DT_RUNPATH
9463 save_LDFLAGS=$LDFLAGS
9465 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9466 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9478 if ac_fn_c_try_link "$LINENO"; then :
9479 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9480 shlibpath_overrides_runpath=yes
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 LDFLAGS=$save_LDFLAGS
9488 # This implies no fast_install, which is unacceptable.
9489 # Some rework will be needed to allow for fast_install
9490 # before this can be enabled.
9491 hardcode_into_libs=yes
9493 # Append ld.so.conf contents to the search path
9494 if test -f /etc/ld.so.conf; then
9495 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9496 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9499 # We used to test for /lib/ld.so.1 and disable shared libraries on
9500 # powerpc, because MkLinux only supported shared libraries with the
9501 # GNU dynamic linker. Since this was broken with cross compilers,
9502 # most powerpc-linux boxes support dynamic linking these days and
9503 # people can always --disable-shared, the test was removed, and we
9504 # assume the GNU/Linux dynamic linker is in use.
9505 dynamic_linker='GNU/Linux ld.so'
9512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9513 soname_spec='${libname}${release}${shared_ext}$major'
9514 shlibpath_var=LD_LIBRARY_PATH
9515 shlibpath_overrides_runpath=no
9516 hardcode_into_libs=yes
9517 dynamic_linker='NetBSD ld.elf_so'
9524 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9526 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9527 dynamic_linker='NetBSD (a.out) ld.so'
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9531 dynamic_linker='NetBSD ld.elf_so'
9533 shlibpath_var=LD_LIBRARY_PATH
9534 shlibpath_overrides_runpath=yes
9535 hardcode_into_libs=yes
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 shlibpath_var=LD_LIBRARY_PATH
9542 shlibpath_overrides_runpath=yes
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 shlibpath_var=LD_LIBRARY_PATH
9552 shlibpath_overrides_runpath=no
9553 hardcode_into_libs=yes
9554 dynamic_linker='ldqnx.so'
9559 sys_lib_dlsearch_path_spec="/usr/lib"
9561 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9563 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9564 *) need_version=no ;;
9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9568 shlibpath_var=LD_LIBRARY_PATH
9569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9571 openbsd2.[89] | openbsd2.[89].*)
9572 shlibpath_overrides_runpath=no
9575 shlibpath_overrides_runpath=yes
9579 shlibpath_overrides_runpath=yes
9584 libname_spec='$name'
9587 library_names_spec='$libname${shared_ext} $libname.a'
9588 dynamic_linker='OS/2 ld.exe'
9589 shlibpath_var=LIBPATH
9592 osf3* | osf4* | osf5*)
9596 soname_spec='${libname}${release}${shared_ext}$major'
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9598 shlibpath_var=LD_LIBRARY_PATH
9599 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9600 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9612 soname_spec='${libname}${release}${shared_ext}$major'
9613 shlibpath_var=LD_LIBRARY_PATH
9614 shlibpath_overrides_runpath=yes
9615 hardcode_into_libs=yes
9616 # ldd complains unless libraries are executable
9617 postinstall_cmds='chmod +x $lib'
9622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9623 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9624 shlibpath_var=LD_LIBRARY_PATH
9625 shlibpath_overrides_runpath=yes
9626 if test "$with_gnu_ld" = yes; then
9634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9635 soname_spec='${libname}${release}${shared_ext}$major'
9636 shlibpath_var=LD_LIBRARY_PATH
9637 case $host_vendor in
9639 shlibpath_overrides_runpath=no
9641 runpath_var=LD_RUN_PATH
9649 shlibpath_overrides_runpath=no
9650 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9656 if test -d /usr/nec ;then
9658 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9659 soname_spec='$libname${shared_ext}.$major'
9660 shlibpath_var=LD_LIBRARY_PATH
9664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9665 version_type=freebsd-elf
9668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9669 soname_spec='${libname}${release}${shared_ext}$major'
9670 shlibpath_var=LD_LIBRARY_PATH
9671 shlibpath_overrides_runpath=yes
9672 hardcode_into_libs=yes
9673 if test "$with_gnu_ld" = yes; then
9674 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9676 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9679 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9683 sys_lib_dlsearch_path_spec='/usr/lib'
9687 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9692 shlibpath_var=LD_LIBRARY_PATH
9693 shlibpath_overrides_runpath=no
9694 hardcode_into_libs=yes
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 shlibpath_var=LD_LIBRARY_PATH
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9709 $as_echo "$dynamic_linker" >&6; }
9710 test "$dynamic_linker" = no && can_build_shared=no
9712 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9713 if test "$GCC" = yes; then
9714 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9717 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9718 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9720 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9721 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9811 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9813 if test -n "$hardcode_libdir_flag_spec" ||
9814 test -n "$runpath_var" ||
9815 test "X$hardcode_automatic" = "Xyes" ; then
9817 # We can hardcode non-existent directories.
9818 if test "$hardcode_direct" != no &&
9819 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9820 # have to relink, otherwise we might link with an installed library
9821 # when we should be linking with a yet-to-be-installed one
9822 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9823 test "$hardcode_minus_L" != no; then
9824 # Linking always hardcodes the temporary library directory.
9825 hardcode_action=relink
9827 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9828 hardcode_action=immediate
9831 # We cannot hardcode anything, or else we can only hardcode existing
9833 hardcode_action=unsupported
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9836 $as_echo "$hardcode_action" >&6; }
9838 if test "$hardcode_action" = relink ||
9839 test "$inherit_rpath" = yes; then
9840 # Fast installation is not supported
9841 enable_fast_install=no
9842 elif test "$shlibpath_overrides_runpath" = yes ||
9843 test "$enable_shared" = no; then
9844 # Fast installation is not necessary
9845 enable_fast_install=needless
9853 if test "x$enable_dlopen" != xyes; then
9854 enable_dlopen=unknown
9855 enable_dlopen_self=unknown
9856 enable_dlopen_self_static=unknown
9863 lt_cv_dlopen="load_add_on"
9865 lt_cv_dlopen_self=yes
9868 mingw* | pw32* | cegcc*)
9869 lt_cv_dlopen="LoadLibrary"
9874 lt_cv_dlopen="dlopen"
9879 # if libdl is installed we need to link against it
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9881 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9883 $as_echo_n "(cached) " >&6
9885 ac_check_lib_save_LIBS=$LIBS
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9905 if ac_fn_c_try_link "$LINENO"; then :
9906 ac_cv_lib_dl_dlopen=yes
9908 ac_cv_lib_dl_dlopen=no
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LIBS=$ac_check_lib_save_LIBS
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9915 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9916 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9917 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9922 lt_cv_dlopen_self=yes
9929 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9930 if test "x$ac_cv_func_shl_load" = x""yes; then :
9931 lt_cv_dlopen="shl_load"
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9934 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9935 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9936 $as_echo_n "(cached) " >&6
9938 ac_check_lib_save_LIBS=$LIBS
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 ac_cv_lib_dld_shl_load=yes
9961 ac_cv_lib_dld_shl_load=no
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_lib_save_LIBS
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9968 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9969 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
9970 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9972 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9973 if test "x$ac_cv_func_dlopen" = x""yes; then :
9974 lt_cv_dlopen="dlopen"
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9977 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9978 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9979 $as_echo_n "(cached) " >&6
9981 ac_check_lib_save_LIBS=$LIBS
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9986 /* Override any GCC internal prototype to avoid an error.
9987 Use char because int might match the return type of a GCC
9988 builtin and then its argument prototype would still apply. */
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_lib_dl_dlopen=yes
10004 ac_cv_lib_dl_dlopen=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS=$ac_check_lib_save_LIBS
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10011 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10012 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10013 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10016 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10017 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10018 $as_echo_n "(cached) " >&6
10020 ac_check_lib_save_LIBS=$LIBS
10021 LIBS="-lsvld $LIBS"
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10040 if ac_fn_c_try_link "$LINENO"; then :
10041 ac_cv_lib_svld_dlopen=yes
10043 ac_cv_lib_svld_dlopen=no
10045 rm -f core conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10047 LIBS=$ac_check_lib_save_LIBS
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10050 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10051 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10052 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10055 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10056 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10057 $as_echo_n "(cached) " >&6
10059 ac_check_lib_save_LIBS=$LIBS
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10074 return dld_link ();
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_dld_dld_link=yes
10082 ac_cv_lib_dld_dld_link=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10089 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10090 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10091 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10112 if test "x$lt_cv_dlopen" != xno; then
10118 case $lt_cv_dlopen in
10120 save_CPPFLAGS="$CPPFLAGS"
10121 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10123 save_LDFLAGS="$LDFLAGS"
10124 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10127 LIBS="$lt_cv_dlopen_libs $LIBS"
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10130 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10131 if test "${lt_cv_dlopen_self+set}" = set; then :
10132 $as_echo_n "(cached) " >&6
10134 if test "$cross_compiling" = yes; then :
10135 lt_cv_dlopen_self=cross
10137 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10138 lt_status=$lt_dlunknown
10139 cat > conftest.$ac_ext <<_LT_EOF
10140 #line 10140 "configure"
10141 #include "confdefs.h"
10150 # define LT_DLGLOBAL RTLD_GLOBAL
10153 # define LT_DLGLOBAL DL_GLOBAL
10155 # define LT_DLGLOBAL 0
10159 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10160 find out it does not work in some platform. */
10161 #ifndef LT_DLLAZY_OR_NOW
10163 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10166 # define LT_DLLAZY_OR_NOW DL_LAZY
10169 # define LT_DLLAZY_OR_NOW RTLD_NOW
10172 # define LT_DLLAZY_OR_NOW DL_NOW
10174 # define LT_DLLAZY_OR_NOW 0
10181 void fnord() { int i=42;}
10184 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10185 int status = $lt_dlunknown;
10189 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10190 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10191 /* dlclose (self); */
10199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10200 (eval $ac_link) 2>&5
10202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10203 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10204 (./conftest; exit; ) >&5 2>/dev/null
10206 case x$lt_status in
10207 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10208 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10209 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10212 # compilation failed
10213 lt_cv_dlopen_self=no
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10221 $as_echo "$lt_cv_dlopen_self" >&6; }
10223 if test "x$lt_cv_dlopen_self" = xyes; then
10224 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10226 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10227 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10228 $as_echo_n "(cached) " >&6
10230 if test "$cross_compiling" = yes; then :
10231 lt_cv_dlopen_self_static=cross
10233 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10234 lt_status=$lt_dlunknown
10235 cat > conftest.$ac_ext <<_LT_EOF
10236 #line 10236 "configure"
10237 #include "confdefs.h"
10246 # define LT_DLGLOBAL RTLD_GLOBAL
10249 # define LT_DLGLOBAL DL_GLOBAL
10251 # define LT_DLGLOBAL 0
10255 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10256 find out it does not work in some platform. */
10257 #ifndef LT_DLLAZY_OR_NOW
10259 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10262 # define LT_DLLAZY_OR_NOW DL_LAZY
10265 # define LT_DLLAZY_OR_NOW RTLD_NOW
10268 # define LT_DLLAZY_OR_NOW DL_NOW
10270 # define LT_DLLAZY_OR_NOW 0
10277 void fnord() { int i=42;}
10280 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10281 int status = $lt_dlunknown;
10285 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10286 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10287 /* dlclose (self); */
10295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10296 (eval $ac_link) 2>&5
10298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10299 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10300 (./conftest; exit; ) >&5 2>/dev/null
10302 case x$lt_status in
10303 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10304 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10305 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10308 # compilation failed
10309 lt_cv_dlopen_self_static=no
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10317 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10320 CPPFLAGS="$save_CPPFLAGS"
10321 LDFLAGS="$save_LDFLAGS"
10326 case $lt_cv_dlopen_self in
10327 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10328 *) enable_dlopen_self=unknown ;;
10331 case $lt_cv_dlopen_self_static in
10332 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10333 *) enable_dlopen_self_static=unknown ;;
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10356 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10357 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10358 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10359 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10361 $as_echo "yes" >&6; }
10363 # FIXME - insert some real tests, host_os isn't really good enough
10366 if test -n "$STRIP" ; then
10367 striplib="$STRIP -x"
10368 old_striplib="$STRIP -S"
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10370 $as_echo "yes" >&6; }
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10373 $as_echo "no" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10378 $as_echo "no" >&6; }
10394 # Report which library types will actually be built
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10396 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10398 $as_echo "$can_build_shared" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10401 $as_echo_n "checking whether to build shared libraries... " >&6; }
10402 test "$can_build_shared" = "no" && enable_shared=no
10404 # On AIX, shared libraries and static libraries use the same namespace, and
10405 # are all built from PIC.
10408 test "$enable_shared" = yes && enable_static=no
10409 if test -n "$RANLIB"; then
10410 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10411 postinstall_cmds='$RANLIB $lib'
10416 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10417 test "$enable_shared" = yes && enable_static=no
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10422 $as_echo "$enable_shared" >&6; }
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10425 $as_echo_n "checking whether to build static libraries... " >&6; }
10426 # Make sure either enable_shared or enable_static is yes.
10427 test "$enable_shared" = yes || enable_static=yes
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10429 $as_echo "$enable_static" >&6; }
10436 ac_cpp='$CPP $CPPFLAGS'
10437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10455 ac_config_commands="$ac_config_commands libtool"
10460 # Only expand once:
10464 # Checks for libraries.
10465 # FIXME: Replace `main' with a function in `-liniparser':
10466 # AC_CHECK_LIB([iniparser], [main])
10467 # FIXME: Replace `main' with a function in `-ljpeg':
10468 # AC_CHECK_LIB([jpeg], [main])
10469 # FIXME: Replace `main' with a function in `-lrt':
10470 # AC_CHECK_LIB([rt], [main])
10472 # Checks for header files.
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10474 $as_echo_n "checking for ANSI C header files... " >&6; }
10475 if test "${ac_cv_header_stdc+set}" = set; then :
10476 $as_echo_n "(cached) " >&6
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #include <stdlib.h>
10481 #include <stdarg.h>
10482 #include <string.h>
10493 if ac_fn_c_try_compile "$LINENO"; then :
10494 ac_cv_header_stdc=yes
10496 ac_cv_header_stdc=no
10498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10500 if test $ac_cv_header_stdc = yes; then
10501 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10504 #include <string.h>
10507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10508 $EGREP "memchr" >/dev/null 2>&1; then :
10511 ac_cv_header_stdc=no
10517 if test $ac_cv_header_stdc = yes; then
10518 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10521 #include <stdlib.h>
10524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10525 $EGREP "free" >/dev/null 2>&1; then :
10528 ac_cv_header_stdc=no
10534 if test $ac_cv_header_stdc = yes; then
10535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10536 if test "$cross_compiling" = yes; then :
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10542 #include <stdlib.h>
10543 #if ((' ' & 0x0FF) == 0x020)
10544 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10545 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10547 # define ISLOWER(c) \
10548 (('a' <= (c) && (c) <= 'i') \
10549 || ('j' <= (c) && (c) <= 'r') \
10550 || ('s' <= (c) && (c) <= 'z'))
10551 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10554 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10559 for (i = 0; i < 256; i++)
10560 if (XOR (islower (i), ISLOWER (i))
10561 || toupper (i) != TOUPPER (i))
10566 if ac_fn_c_try_run "$LINENO"; then :
10569 ac_cv_header_stdc=no
10571 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10572 conftest.$ac_objext conftest.beam conftest.$ac_ext
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10578 $as_echo "$ac_cv_header_stdc" >&6; }
10579 if test $ac_cv_header_stdc = yes; then
10581 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10585 for ac_header in fcntl.h memory.h stdlib.h string.h unistd.h
10587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10588 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10589 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10590 cat >>confdefs.h <<_ACEOF
10591 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10599 # Checks for typedefs, structures, and compiler characteristics.
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
10601 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
10602 if test "${ac_cv_struct_tm+set}" = set; then :
10603 $as_echo_n "(cached) " >&6
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10607 #include <sys/types.h>
10614 int *p = &tm.tm_sec;
10620 if ac_fn_c_try_compile "$LINENO"; then :
10621 ac_cv_struct_tm=time.h
10623 ac_cv_struct_tm=sys/time.h
10625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
10628 $as_echo "$ac_cv_struct_tm" >&6; }
10629 if test $ac_cv_struct_tm = sys/time.h; then
10631 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
10636 # Checks for library functions.
10637 for ac_header in stdlib.h
10639 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10640 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
10641 cat >>confdefs.h <<_ACEOF
10642 #define HAVE_STDLIB_H 1
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10650 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
10651 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
10652 $as_echo_n "(cached) " >&6
10654 if test "$cross_compiling" = yes; then :
10655 ac_cv_func_malloc_0_nonnull=no
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10660 # include <stdlib.h>
10668 return ! malloc (0);
10673 if ac_fn_c_try_run "$LINENO"; then :
10674 ac_cv_func_malloc_0_nonnull=yes
10676 ac_cv_func_malloc_0_nonnull=no
10678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10679 conftest.$ac_objext conftest.beam conftest.$ac_ext
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
10684 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
10685 if test $ac_cv_func_malloc_0_nonnull = yes; then :
10687 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
10690 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
10692 case " $LIBOBJS " in
10693 *" malloc.$ac_objext "* ) ;;
10694 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
10699 $as_echo "#define malloc rpl_malloc" >>confdefs.h
10704 for ac_func in memset strdup
10706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10708 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10709 cat >>confdefs.h <<_ACEOF
10710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10723 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10724 if test -n "$ac_tool_prefix"; then
10725 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10726 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10728 $as_echo_n "checking for $ac_word... " >&6; }
10729 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10730 $as_echo_n "(cached) " >&6
10732 case $PKG_CONFIG in
10734 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10738 for as_dir in $PATH
10741 test -z "$as_dir" && as_dir=.
10742 for ac_exec_ext in '' $ac_executable_extensions; do
10743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10744 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10755 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10756 if test -n "$PKG_CONFIG"; then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10758 $as_echo "$PKG_CONFIG" >&6; }
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }
10766 if test -z "$ac_cv_path_PKG_CONFIG"; then
10767 ac_pt_PKG_CONFIG=$PKG_CONFIG
10768 # Extract the first word of "pkg-config", so it can be a program name with args.
10769 set dummy pkg-config; ac_word=$2
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10771 $as_echo_n "checking for $ac_word... " >&6; }
10772 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10773 $as_echo_n "(cached) " >&6
10775 case $ac_pt_PKG_CONFIG in
10777 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10781 for as_dir in $PATH
10784 test -z "$as_dir" && as_dir=.
10785 for ac_exec_ext in '' $ac_executable_extensions; do
10786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10787 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10798 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10799 if test -n "$ac_pt_PKG_CONFIG"; then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10801 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10807 if test "x$ac_pt_PKG_CONFIG" = x; then
10810 case $cross_compiling:$ac_tool_warned in
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10814 ac_tool_warned=yes ;;
10816 PKG_CONFIG=$ac_pt_PKG_CONFIG
10819 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10823 if test -n "$PKG_CONFIG"; then
10824 _pkg_min_version=0.9.0
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10826 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10827 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10829 $as_echo "yes" >&6; }
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10832 $as_echo "no" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMCOMMON" >&5
10839 $as_echo_n "checking for MMCOMMON... " >&6; }
10841 if test -n "$MMCOMMON_CFLAGS"; then
10842 pkg_cv_MMCOMMON_CFLAGS="$MMCOMMON_CFLAGS"
10843 elif test -n "$PKG_CONFIG"; then
10844 if test -n "$PKG_CONFIG" && \
10845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-common\""; } >&5
10846 ($PKG_CONFIG --exists --print-errors "mm-common") 2>&5
10848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10849 test $ac_status = 0; }; then
10850 pkg_cv_MMCOMMON_CFLAGS=`$PKG_CONFIG --cflags "mm-common" 2>/dev/null`
10857 if test -n "$MMCOMMON_LIBS"; then
10858 pkg_cv_MMCOMMON_LIBS="$MMCOMMON_LIBS"
10859 elif test -n "$PKG_CONFIG"; then
10860 if test -n "$PKG_CONFIG" && \
10861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-common\""; } >&5
10862 ($PKG_CONFIG --exists --print-errors "mm-common") 2>&5
10864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10865 test $ac_status = 0; }; then
10866 pkg_cv_MMCOMMON_LIBS=`$PKG_CONFIG --libs "mm-common" 2>/dev/null`
10876 if test $pkg_failed = yes; then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10878 $as_echo "no" >&6; }
10880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10881 _pkg_short_errors_supported=yes
10883 _pkg_short_errors_supported=no
10885 if test $_pkg_short_errors_supported = yes; then
10886 MMCOMMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mm-common" 2>&1`
10888 MMCOMMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "mm-common" 2>&1`
10890 # Put the nasty error message in config.log where it belongs
10891 echo "$MMCOMMON_PKG_ERRORS" >&5
10893 as_fn_error $? "Package requirements (mm-common) were not met:
10895 $MMCOMMON_PKG_ERRORS
10897 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10898 installed software in a non-standard prefix.
10900 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
10901 and MMCOMMON_LIBS to avoid the need to call pkg-config.
10902 See the pkg-config man page for more details." "$LINENO" 5
10903 elif test $pkg_failed = untried; then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10905 $as_echo "no" >&6; }
10906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10908 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
10909 is in your PATH or set the PKG_CONFIG environment variable to the full
10910 path to pkg-config.
10912 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
10913 and MMCOMMON_LIBS to avoid the need to call pkg-config.
10914 See the pkg-config man page for more details.
10916 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10917 See \`config.log' for more details" "$LINENO" 5 ; }
10919 MMCOMMON_CFLAGS=$pkg_cv_MMCOMMON_CFLAGS
10920 MMCOMMON_LIBS=$pkg_cv_MMCOMMON_LIBS
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10922 $as_echo "yes" >&6; }
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMLOG" >&5
10931 $as_echo_n "checking for MMLOG... " >&6; }
10933 if test -n "$MMLOG_CFLAGS"; then
10934 pkg_cv_MMLOG_CFLAGS="$MMLOG_CFLAGS"
10935 elif test -n "$PKG_CONFIG"; then
10936 if test -n "$PKG_CONFIG" && \
10937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-log\""; } >&5
10938 ($PKG_CONFIG --exists --print-errors "mm-log") 2>&5
10940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10941 test $ac_status = 0; }; then
10942 pkg_cv_MMLOG_CFLAGS=`$PKG_CONFIG --cflags "mm-log" 2>/dev/null`
10949 if test -n "$MMLOG_LIBS"; then
10950 pkg_cv_MMLOG_LIBS="$MMLOG_LIBS"
10951 elif test -n "$PKG_CONFIG"; then
10952 if test -n "$PKG_CONFIG" && \
10953 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-log\""; } >&5
10954 ($PKG_CONFIG --exists --print-errors "mm-log") 2>&5
10956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10957 test $ac_status = 0; }; then
10958 pkg_cv_MMLOG_LIBS=`$PKG_CONFIG --libs "mm-log" 2>/dev/null`
10968 if test $pkg_failed = yes; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10973 _pkg_short_errors_supported=yes
10975 _pkg_short_errors_supported=no
10977 if test $_pkg_short_errors_supported = yes; then
10978 MMLOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mm-log" 2>&1`
10980 MMLOG_PKG_ERRORS=`$PKG_CONFIG --print-errors "mm-log" 2>&1`
10982 # Put the nasty error message in config.log where it belongs
10983 echo "$MMLOG_PKG_ERRORS" >&5
10985 as_fn_error $? "Package requirements (mm-log) were not met:
10989 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10990 installed software in a non-standard prefix.
10992 Alternatively, you may set the environment variables MMLOG_CFLAGS
10993 and MMLOG_LIBS to avoid the need to call pkg-config.
10994 See the pkg-config man page for more details." "$LINENO" 5
10995 elif test $pkg_failed = untried; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10997 $as_echo "no" >&6; }
10998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11000 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11001 is in your PATH or set the PKG_CONFIG environment variable to the full
11002 path to pkg-config.
11004 Alternatively, you may set the environment variables MMLOG_CFLAGS
11005 and MMLOG_LIBS to avoid the need to call pkg-config.
11006 See the pkg-config man page for more details.
11008 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11009 See \`config.log' for more details" "$LINENO" 5 ; }
11011 MMLOG_CFLAGS=$pkg_cv_MMLOG_CFLAGS
11012 MMLOG_LIBS=$pkg_cv_MMLOG_LIBS
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11014 $as_echo "yes" >&6; }
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11023 $as_echo_n "checking for GLIB... " >&6; }
11025 if test -n "$GLIB_CFLAGS"; then
11026 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11027 elif test -n "$PKG_CONFIG"; then
11028 if test -n "$PKG_CONFIG" && \
11029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11030 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11033 test $ac_status = 0; }; then
11034 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
11041 if test -n "$GLIB_LIBS"; then
11042 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11043 elif test -n "$PKG_CONFIG"; then
11044 if test -n "$PKG_CONFIG" && \
11045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11046 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11049 test $ac_status = 0; }; then
11050 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
11060 if test $pkg_failed = yes; then
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11062 $as_echo "no" >&6; }
11064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11065 _pkg_short_errors_supported=yes
11067 _pkg_short_errors_supported=no
11069 if test $_pkg_short_errors_supported = yes; then
11070 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
11072 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
11074 # Put the nasty error message in config.log where it belongs
11075 echo "$GLIB_PKG_ERRORS" >&5
11077 as_fn_error $? "Package requirements (glib-2.0) were not met:
11081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11082 installed software in a non-standard prefix.
11084 Alternatively, you may set the environment variables GLIB_CFLAGS
11085 and GLIB_LIBS to avoid the need to call pkg-config.
11086 See the pkg-config man page for more details." "$LINENO" 5
11087 elif test $pkg_failed = untried; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11089 $as_echo "no" >&6; }
11090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11092 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11093 is in your PATH or set the PKG_CONFIG environment variable to the full
11094 path to pkg-config.
11096 Alternatively, you may set the environment variables GLIB_CFLAGS
11097 and GLIB_LIBS to avoid the need to call pkg-config.
11098 See the pkg-config man page for more details.
11100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11101 See \`config.log' for more details" "$LINENO" 5 ; }
11103 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11104 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11106 $as_echo "yes" >&6; }
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
11115 $as_echo_n "checking for GST... " >&6; }
11117 if test -n "$GST_CFLAGS"; then
11118 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
11119 elif test -n "$PKG_CONFIG"; then
11120 if test -n "$PKG_CONFIG" && \
11121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
11122 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
11124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11125 test $ac_status = 0; }; then
11126 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null`
11133 if test -n "$GST_LIBS"; then
11134 pkg_cv_GST_LIBS="$GST_LIBS"
11135 elif test -n "$PKG_CONFIG"; then
11136 if test -n "$PKG_CONFIG" && \
11137 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
11138 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
11140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11141 test $ac_status = 0; }; then
11142 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null`
11152 if test $pkg_failed = yes; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11154 $as_echo "no" >&6; }
11156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11157 _pkg_short_errors_supported=yes
11159 _pkg_short_errors_supported=no
11161 if test $_pkg_short_errors_supported = yes; then
11162 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-0.10" 2>&1`
11164 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-0.10" 2>&1`
11166 # Put the nasty error message in config.log where it belongs
11167 echo "$GST_PKG_ERRORS" >&5
11169 as_fn_error $? "Package requirements (gstreamer-0.10) were not met:
11173 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11174 installed software in a non-standard prefix.
11176 Alternatively, you may set the environment variables GST_CFLAGS
11177 and GST_LIBS to avoid the need to call pkg-config.
11178 See the pkg-config man page for more details." "$LINENO" 5
11179 elif test $pkg_failed = untried; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11181 $as_echo "no" >&6; }
11182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11184 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11185 is in your PATH or set the PKG_CONFIG environment variable to the full
11186 path to pkg-config.
11188 Alternatively, you may set the environment variables GST_CFLAGS
11189 and GST_LIBS to avoid the need to call pkg-config.
11190 See the pkg-config man page for more details.
11192 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11193 See \`config.log' for more details" "$LINENO" 5 ; }
11195 GST_CFLAGS=$pkg_cv_GST_CFLAGS
11196 GST_LIBS=$pkg_cv_GST_LIBS
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11198 $as_echo "yes" >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTAPP" >&5
11207 $as_echo_n "checking for GSTAPP... " >&6; }
11209 if test -n "$GSTAPP_CFLAGS"; then
11210 pkg_cv_GSTAPP_CFLAGS="$GSTAPP_CFLAGS"
11211 elif test -n "$PKG_CONFIG"; then
11212 if test -n "$PKG_CONFIG" && \
11213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-0.10\""; } >&5
11214 ($PKG_CONFIG --exists --print-errors "gstreamer-app-0.10") 2>&5
11216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11217 test $ac_status = 0; }; then
11218 pkg_cv_GSTAPP_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-app-0.10" 2>/dev/null`
11225 if test -n "$GSTAPP_LIBS"; then
11226 pkg_cv_GSTAPP_LIBS="$GSTAPP_LIBS"
11227 elif test -n "$PKG_CONFIG"; then
11228 if test -n "$PKG_CONFIG" && \
11229 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-0.10\""; } >&5
11230 ($PKG_CONFIG --exists --print-errors "gstreamer-app-0.10") 2>&5
11232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11233 test $ac_status = 0; }; then
11234 pkg_cv_GSTAPP_LIBS=`$PKG_CONFIG --libs "gstreamer-app-0.10" 2>/dev/null`
11244 if test $pkg_failed = yes; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11246 $as_echo "no" >&6; }
11248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11249 _pkg_short_errors_supported=yes
11251 _pkg_short_errors_supported=no
11253 if test $_pkg_short_errors_supported = yes; then
11254 GSTAPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-app-0.10" 2>&1`
11256 GSTAPP_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-app-0.10" 2>&1`
11258 # Put the nasty error message in config.log where it belongs
11259 echo "$GSTAPP_PKG_ERRORS" >&5
11261 as_fn_error $? "Package requirements (gstreamer-app-0.10) were not met:
11265 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11266 installed software in a non-standard prefix.
11268 Alternatively, you may set the environment variables GSTAPP_CFLAGS
11269 and GSTAPP_LIBS to avoid the need to call pkg-config.
11270 See the pkg-config man page for more details." "$LINENO" 5
11271 elif test $pkg_failed = untried; then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11273 $as_echo "no" >&6; }
11274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11276 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11277 is in your PATH or set the PKG_CONFIG environment variable to the full
11278 path to pkg-config.
11280 Alternatively, you may set the environment variables GSTAPP_CFLAGS
11281 and GSTAPP_LIBS to avoid the need to call pkg-config.
11282 See the pkg-config man page for more details.
11284 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11285 See \`config.log' for more details" "$LINENO" 5 ; }
11287 GSTAPP_CFLAGS=$pkg_cv_GSTAPP_CFLAGS
11288 GSTAPP_LIBS=$pkg_cv_GSTAPP_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11290 $as_echo "yes" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11299 $as_echo_n "checking for GMODULE... " >&6; }
11301 if test -n "$GMODULE_CFLAGS"; then
11302 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11303 elif test -n "$PKG_CONFIG"; then
11304 if test -n "$PKG_CONFIG" && \
11305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11306 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11309 test $ac_status = 0; }; then
11310 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
11317 if test -n "$GMODULE_LIBS"; then
11318 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
11319 elif test -n "$PKG_CONFIG"; then
11320 if test -n "$PKG_CONFIG" && \
11321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11322 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11325 test $ac_status = 0; }; then
11326 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
11336 if test $pkg_failed = yes; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11341 _pkg_short_errors_supported=yes
11343 _pkg_short_errors_supported=no
11345 if test $_pkg_short_errors_supported = yes; then
11346 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
11348 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
11350 # Put the nasty error message in config.log where it belongs
11351 echo "$GMODULE_PKG_ERRORS" >&5
11353 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
11355 $GMODULE_PKG_ERRORS
11357 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11358 installed software in a non-standard prefix.
11360 Alternatively, you may set the environment variables GMODULE_CFLAGS
11361 and GMODULE_LIBS to avoid the need to call pkg-config.
11362 See the pkg-config man page for more details." "$LINENO" 5
11363 elif test $pkg_failed = untried; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 $as_echo "no" >&6; }
11366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11368 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11369 is in your PATH or set the PKG_CONFIG environment variable to the full
11370 path to pkg-config.
11372 Alternatively, you may set the environment variables GMODULE_CFLAGS
11373 and GMODULE_LIBS to avoid the need to call pkg-config.
11374 See the pkg-config man page for more details.
11376 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11377 See \`config.log' for more details" "$LINENO" 5 ; }
11379 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
11380 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11382 $as_echo "yes" >&6; }
11388 ac_config_files="$ac_config_files Makefile gstcs/Makefile gstcs/mmutil-gstcs.pc"
11390 cat >confcache <<\_ACEOF
11391 # This file is a shell script that caches the results of configure
11392 # tests run on this system so they can be shared between configure
11393 # scripts and configure runs, see configure's option --config-cache.
11394 # It is not useful on other systems. If it contains results you don't
11395 # want to keep, you may remove or edit it.
11397 # config.status only pays attention to the cache file if you give it
11398 # the --recheck option to rerun configure.
11400 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11401 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11402 # following values.
11406 # The following way of writing the cache mishandles newlines in values,
11407 # but we know of no workaround that is simple, portable, and efficient.
11408 # So, we kill variables containing newlines.
11409 # Ultrix sh set writes to stderr and can't be redirected directly,
11410 # and sets the high bit in the cache file unless we assign to the vars.
11412 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11413 eval ac_val=\$$ac_var
11417 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11418 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11421 _ | IFS | as_nl) ;; #(
11422 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11423 *) { eval $ac_var=; unset $ac_var;} ;;
11429 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11430 *${as_nl}ac_space=\ *)
11431 # `set' does not quote correctly, so add quotes: double-quote
11432 # substitution turns \\\\ into \\, and sed turns \\ into \.
11435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11438 # `set' quotes correctly as required by POSIX, so do not add quotes.
11439 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11448 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11450 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11452 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11453 if test -w "$cache_file"; then
11454 test "x$cache_file" != "x/dev/null" &&
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11456 $as_echo "$as_me: updating cache $cache_file" >&6;}
11457 cat confcache >$cache_file
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11460 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11465 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11466 # Let make expand exec_prefix.
11467 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11469 DEFS=-DHAVE_CONFIG_H
11474 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11475 # 1. Remove the extension, and $U if already installed.
11476 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11477 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11478 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11479 # will be set to the directory where LIBOBJS objects are built.
11480 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11481 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11483 LIBOBJS=$ac_libobjs
11485 LTLIBOBJS=$ac_ltlibobjs
11488 if test -n "$EXEEXT"; then
11490 am__EXEEXT_FALSE='#'
11492 am__EXEEXT_TRUE='#'
11496 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11497 as_fn_error $? "conditional \"AMDEP\" was never defined.
11498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11500 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11501 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11505 : ${CONFIG_STATUS=./config.status}
11507 ac_clean_files_save=$ac_clean_files
11508 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11510 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11512 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11514 # Generated by $as_me.
11515 # Run this file to recreate the current configuration.
11516 # Compiler output produced by configure, useful for debugging
11517 # configure, is in config.log if it exists.
11520 ac_cs_recheck=false
11523 SHELL=\${CONFIG_SHELL-$SHELL}
11526 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11527 ## -------------------- ##
11528 ## M4sh Initialization. ##
11529 ## -------------------- ##
11531 # Be more Bourne compatible
11532 DUALCASE=1; export DUALCASE # for MKS sh
11533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11536 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11537 # is contrary to our usage. Disable this feature.
11538 alias -g '${1+"$@"}'='"$@"'
11539 setopt NO_GLOB_SUBST
11541 case `(set -o) 2>/dev/null` in #(
11553 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11554 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11557 # Prefer a ksh shell builtin over an external printf program on Solaris,
11558 # but without wasting forks for bash or zsh.
11559 if test -z "$BASH_VERSION$ZSH_VERSION" \
11560 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11561 as_echo='print -r --'
11562 as_echo_n='print -rn --'
11563 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11564 as_echo='printf %s\n'
11565 as_echo_n='printf %s'
11567 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11568 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11569 as_echo_n='/usr/ucb/echo -n'
11571 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11572 as_echo_n_body='eval
11576 expr "X$arg" : "X\\(.*\\)$as_nl";
11577 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11579 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11581 export as_echo_n_body
11582 as_echo_n='sh -c $as_echo_n_body as_echo'
11584 export as_echo_body
11585 as_echo='sh -c $as_echo_body as_echo'
11588 # The user is always right.
11589 if test "${PATH_SEPARATOR+set}" != set; then
11591 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11592 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11599 # We need space, tab and new line, in precisely that order. Quoting is
11600 # there to prevent editors from complaining about space-tab.
11601 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11602 # splitting by setting IFS to empty value.)
11605 # Find who we are. Look in the path if we contain no directory separator.
11607 *[\\/]* ) as_myself=$0 ;;
11608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11609 for as_dir in $PATH
11612 test -z "$as_dir" && as_dir=.
11613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11619 # We did not find ourselves, most probably we were run as `sh COMMAND'
11620 # in which case we are not to be found in the path.
11621 if test "x$as_myself" = x; then
11624 if test ! -f "$as_myself"; then
11625 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11629 # Unset variables that we do not need and which cause bugs (e.g. in
11630 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11631 # suppresses any "Segmentation fault" message there. '((' could
11632 # trigger a bug in pdksh 5.2.14.
11633 for as_var in BASH_ENV ENV MAIL MAILPATH
11634 do eval test x\${$as_var+set} = xset \
11635 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11651 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11652 # ----------------------------------------
11653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11655 # script with STATUS, using 1 if that was 0.
11658 as_status=$1; test $as_status -eq 0 && as_status=1
11660 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11661 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11663 $as_echo "$as_me: error: $2" >&2
11664 as_fn_exit $as_status
11668 # as_fn_set_status STATUS
11669 # -----------------------
11670 # Set $? to STATUS, without forking.
11671 as_fn_set_status ()
11674 } # as_fn_set_status
11676 # as_fn_exit STATUS
11677 # -----------------
11678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11682 as_fn_set_status $1
11688 # Portably unset VAR.
11691 { eval $1=; unset $1;}
11693 as_unset=as_fn_unset
11694 # as_fn_append VAR VALUE
11695 # ----------------------
11696 # Append the text in VALUE to the end of the definition contained in VAR. Take
11697 # advantage of any shell optimizations that allow amortized linear growth over
11698 # repeated appends, instead of the typical quadratic growth present in naive
11700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11701 eval 'as_fn_append ()
11712 # as_fn_arith ARG...
11713 # ------------------
11714 # Perform arithmetic evaluation on the ARGs, and store the result in the
11715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11716 # must be portable across $(()) and expr.
11717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11718 eval 'as_fn_arith ()
11725 as_val=`expr "$@" || test $? -eq 1`
11730 if expr a : '\(a\)' >/dev/null 2>&1 &&
11731 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11737 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11738 as_basename=basename
11743 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11749 as_me=`$as_basename -- "$0" ||
11750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11751 X"$0" : 'X\(//\)$' \| \
11752 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11754 sed '/^.*\/\([^/][^/]*\)\/*$/{
11768 # Avoid depending upon Character Ranges.
11769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11772 as_cr_digits='0123456789'
11773 as_cr_alnum=$as_cr_Letters$as_cr_digits
11775 ECHO_C= ECHO_N= ECHO_T=
11776 case `echo -n x` in #(((((
11778 case `echo 'xy\c'` in
11779 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11781 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11788 rm -f conf$$ conf$$.exe conf$$.file
11789 if test -d conf$$.dir; then
11790 rm -f conf$$.dir/conf$$.file
11793 mkdir conf$$.dir 2>/dev/null
11795 if (echo >conf$$.file) 2>/dev/null; then
11796 if ln -s conf$$.file conf$$ 2>/dev/null; then
11798 # ... but there are two gotchas:
11799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11801 # In both cases, we have to default to `cp -p'.
11802 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11804 elif ln conf$$.file conf$$ 2>/dev/null; then
11812 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11813 rmdir conf$$.dir 2>/dev/null
11818 # Create "$as_dir" as a directory, including parents if necessary.
11823 -*) as_dir=./$as_dir;;
11825 test -d "$as_dir" || eval $as_mkdir_p || {
11829 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11830 *) as_qdir=$as_dir;;
11832 as_dirs="'$as_qdir' $as_dirs"
11833 as_dir=`$as_dirname -- "$as_dir" ||
11834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11835 X"$as_dir" : 'X\(//\)[^/]' \| \
11836 X"$as_dir" : 'X\(//\)$' \| \
11837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11838 $as_echo X"$as_dir" |
11839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11843 /^X\(\/\/\)[^/].*/{
11856 test -d "$as_dir" && break
11858 test -z "$as_dirs" || eval "mkdir $as_dirs"
11859 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11863 if mkdir -p . 2>/dev/null; then
11864 as_mkdir_p='mkdir -p "$as_dir"'
11866 test -d ./-p && rmdir ./-p
11870 if test -x / >/dev/null 2>&1; then
11871 as_test_x='test -x'
11873 if ls -dL / >/dev/null 2>&1; then
11880 if test -d "$1"; then
11886 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11887 ???[sx]*):;;*)false;;esac;fi
11891 as_executable_p=$as_test_x
11893 # Sed expression to map a string onto a valid CPP name.
11894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11896 # Sed expression to map a string onto a valid variable name.
11897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11901 ## ----------------------------------- ##
11902 ## Main body of $CONFIG_STATUS script. ##
11903 ## ----------------------------------- ##
11905 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11908 # Save the log message, to keep $0 and so on meaningful, and to
11909 # report actual input values of CONFIG_FILES etc. instead of their
11910 # values after options handling.
11912 This file was extended by libmm-imgp-gstcs $as_me 0.1, which was
11913 generated by GNU Autoconf 2.67. Invocation command line was
11915 CONFIG_FILES = $CONFIG_FILES
11916 CONFIG_HEADERS = $CONFIG_HEADERS
11917 CONFIG_LINKS = $CONFIG_LINKS
11918 CONFIG_COMMANDS = $CONFIG_COMMANDS
11921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11926 case $ac_config_files in *"
11927 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11930 case $ac_config_headers in *"
11931 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11936 # Files that config.status was made for.
11937 config_files="$ac_config_files"
11938 config_headers="$ac_config_headers"
11939 config_commands="$ac_config_commands"
11943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11945 \`$as_me' instantiates files and other configuration actions
11946 from templates according to the current configuration. Unless the files
11947 and actions are specified as TAGs, all are instantiated by default.
11949 Usage: $0 [OPTION]... [TAG]...
11951 -h, --help print this help, then exit
11952 -V, --version print version number and configuration settings, then exit
11953 --config print configuration, then exit
11954 -q, --quiet, --silent
11955 do not print progress messages
11956 -d, --debug don't remove temporary files
11957 --recheck update $as_me by reconfiguring in the same conditions
11958 --file=FILE[:TEMPLATE]
11959 instantiate the configuration file FILE
11960 --header=FILE[:TEMPLATE]
11961 instantiate the configuration header FILE
11963 Configuration files:
11966 Configuration headers:
11969 Configuration commands:
11972 Report bugs to the package provider."
11975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11976 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11978 libmm-imgp-gstcs config.status 0.1
11979 configured by $0, generated by GNU Autoconf 2.67,
11980 with options \\"\$ac_cs_config\\"
11982 Copyright (C) 2010 Free Software Foundation, Inc.
11983 This config.status script is free software; the Free Software Foundation
11984 gives unlimited permission to copy, distribute and modify it."
11991 test -n "\$AWK" || AWK=awk
11994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11995 # The default lists apply if the user does not specify any file.
12001 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12002 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12006 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12018 # Handling of the options.
12019 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12021 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12022 $as_echo "$ac_cs_version"; exit ;;
12023 --config | --confi | --conf | --con | --co | --c )
12024 $as_echo "$ac_cs_config"; exit ;;
12025 --debug | --debu | --deb | --de | --d | -d )
12027 --file | --fil | --fi | --f )
12030 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12031 '') as_fn_error $? "missing file argument" ;;
12033 as_fn_append CONFIG_FILES " '$ac_optarg'"
12034 ac_need_defaults=false;;
12035 --header | --heade | --head | --hea )
12038 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12040 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12041 ac_need_defaults=false;;
12043 # Conflict between --help and --header
12044 as_fn_error $? "ambiguous option: \`$1'
12045 Try \`$0 --help' for more information.";;
12046 --help | --hel | -h )
12047 $as_echo "$ac_cs_usage"; exit ;;
12048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12049 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12052 # This is an error.
12053 -*) as_fn_error $? "unrecognized option: \`$1'
12054 Try \`$0 --help' for more information." ;;
12056 *) as_fn_append ac_config_targets " $1"
12057 ac_need_defaults=false ;;
12063 ac_configure_extra_args=
12065 if $ac_cs_silent; then
12067 ac_configure_extra_args="$ac_configure_extra_args --silent"
12071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12072 if \$ac_cs_recheck; then
12073 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12075 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12076 CONFIG_SHELL='$SHELL'
12077 export CONFIG_SHELL
12082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12087 ## Running $as_me. ##
12093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12097 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12100 # The HP-UX ksh and POSIX shell print the target directory to stdout
12101 # if CDPATH is set.
12102 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12104 sed_quote_subst='$sed_quote_subst'
12105 double_quote_subst='$double_quote_subst'
12106 delay_variable_subst='$delay_variable_subst'
12107 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12108 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12109 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12110 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12111 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12112 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12113 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12114 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12115 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12116 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12117 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12118 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12119 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12120 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12121 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12122 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12123 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12124 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12125 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12126 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12127 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12128 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12129 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12130 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12131 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12132 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12133 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12134 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12135 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12136 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12137 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12138 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12139 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12140 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12141 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12142 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12143 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12144 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12145 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12146 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12147 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12148 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12149 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12150 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12151 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12152 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12153 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12154 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12155 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12156 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12157 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12158 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12159 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12160 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12161 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12162 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12163 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12164 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12165 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12166 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12167 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12168 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12169 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12170 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12171 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12172 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12173 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12174 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12175 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12176 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12177 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12178 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12179 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12180 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12181 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12182 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12183 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12184 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12185 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12186 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12187 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12188 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12189 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12190 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12191 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12192 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12193 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12194 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12195 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12196 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12197 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12198 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12199 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12200 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12201 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12202 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12203 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12204 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12205 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12206 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12207 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12208 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12209 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12210 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12211 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12212 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12213 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12214 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12215 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12216 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12217 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12218 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12219 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12220 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12221 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12222 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12223 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12224 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12227 LTCFLAGS='$LTCFLAGS'
12228 compiler='$compiler_DEFAULT'
12230 # Quote evaled strings.
12242 deplibs_check_method \
12251 lt_cv_sys_global_symbol_pipe \
12252 lt_cv_sys_global_symbol_to_cdecl \
12253 lt_cv_sys_global_symbol_to_c_name_address \
12254 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12257 lt_prog_compiler_no_builtin_flag \
12258 lt_prog_compiler_wl \
12259 lt_prog_compiler_pic \
12260 lt_prog_compiler_static \
12261 lt_cv_prog_compiler_c_o \
12269 export_dynamic_flag_spec \
12270 whole_archive_flag_spec \
12271 compiler_needs_object \
12273 allow_undefined_flag \
12274 no_undefined_flag \
12275 hardcode_libdir_flag_spec \
12276 hardcode_libdir_flag_spec_ld \
12277 hardcode_libdir_separator \
12282 variables_saved_for_relink \
12284 library_names_spec \
12289 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12290 *[\\\\\\\`\\"\\\$]*)
12291 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12294 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12299 # Double-quote double-evaled strings.
12300 for var in reload_cmds \
12301 old_postinstall_cmds \
12302 old_postuninstall_cmds \
12304 extract_expsyms_cmds \
12305 old_archive_from_new_cmds \
12306 old_archive_from_expsyms_cmds \
12308 archive_expsym_cmds \
12310 module_expsym_cmds \
12311 export_symbols_cmds \
12314 postuninstall_cmds \
12316 sys_lib_search_path_spec \
12317 sys_lib_dlsearch_path_spec; do
12318 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12319 *[\\\\\\\`\\"\\\$]*)
12320 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12323 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12328 # Fix-up fallback echo if it was mangled by the above quoting rules.
12330 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12334 ac_aux_dir='$ac_aux_dir'
12335 xsi_shell='$xsi_shell'
12336 lt_shell_append='$lt_shell_append'
12338 # See if we are running on zsh, and set the options which allow our
12339 # commands through without removal of \ escapes INIT.
12340 if test -n "\${ZSH_VERSION+set}" ; then
12341 setopt NO_GLOB_SUBST
12347 TIMESTAMP='$TIMESTAMP'
12356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12358 # Handling of arguments.
12359 for ac_config_target in $ac_config_targets
12361 case $ac_config_target in
12362 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12363 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12364 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12365 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12366 "gstcs/Makefile") CONFIG_FILES="$CONFIG_FILES gstcs/Makefile" ;;
12367 "gstcs/mmutil-gstcs.pc") CONFIG_FILES="$CONFIG_FILES gstcs/mmutil-gstcs.pc" ;;
12369 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12374 # If the user did not use the arguments to specify the items to instantiate,
12375 # then the envvar interface is used. Set only those that are not.
12376 # We use the long form for the default assignment because of an extremely
12377 # bizarre bug on SunOS 4.1.3.
12378 if $ac_need_defaults; then
12379 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12380 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12381 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12384 # Have a temporary directory for convenience. Make it in the build tree
12385 # simply because there is no reason against having it here, and in addition,
12386 # creating and moving files from /tmp can sometimes cause problems.
12387 # Hook for its removal unless debugging.
12388 # Note that there is a small window in which the directory will not be cleaned:
12389 # after its creation but before its name has been assigned to `$tmp'.
12393 trap 'exit_status=$?
12394 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12396 trap 'as_fn_exit 1' 1 2 13 15
12398 # Create a (secure) tmp directory for tmp files.
12401 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12402 test -n "$tmp" && test -d "$tmp"
12405 tmp=./conf$$-$RANDOM
12406 (umask 077 && mkdir "$tmp")
12407 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12409 # Set up the scripts for CONFIG_FILES section.
12410 # No need to generate them if there are no CONFIG_FILES.
12411 # This happens for instance with `./config.status config.h'.
12412 if test -n "$CONFIG_FILES"; then
12415 ac_cr=`echo X | tr X '\015'`
12416 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12417 # But we know of no other shell where ac_cr would be empty at this
12418 # point, so we can use a bashism as a fallback.
12419 if test "x$ac_cr" = x; then
12420 eval ac_cr=\$\'\\r\'
12422 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12423 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12426 ac_cs_awk_cr=$ac_cr
12429 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12434 echo "cat >conf$$subs.awk <<_ACEOF" &&
12435 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12437 } >conf$$subs.sh ||
12438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12439 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12441 for ac_last_try in false false false false false :; do
12442 . ./conf$$subs.sh ||
12443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12445 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12446 if test $ac_delim_n = $ac_delim_num; then
12448 elif $ac_last_try; then
12449 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12451 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12454 rm -f conf$$subs.sh
12456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12457 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12461 s/^/S["/; s/!.*/"]=/
12471 s/\(.\{148\}\)..*/\1/
12473 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12485 s/\(.\{148\}\)..*/\1/
12487 s/["\\]/\\&/g; s/^/"/; s/$/"/
12491 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12496 ' <conf$$subs.awk | sed '
12501 ' >>$CONFIG_STATUS || ac_write_fail=1
12502 rm -f conf$$subs.awk
12503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12505 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12506 for (key in S) S_is_set[key] = 1
12512 nfields = split(line, field, "@")
12514 len = length(field[1])
12515 for (i = 2; i < nfields; i++) {
12517 keylen = length(key)
12518 if (S_is_set[key]) {
12520 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12521 len += length(value) + length(field[++i])
12532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12533 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12534 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12537 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12538 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12541 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12542 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12543 # trailing colons and then remove the whole line if VPATH becomes empty
12544 # (actually we leave an empty line to preserve line numbers).
12545 if test "x$srcdir" = x.; then
12546 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12565 fi # test -n "$CONFIG_FILES"
12567 # Set up the scripts for CONFIG_HEADERS section.
12568 # No need to generate them if there are no CONFIG_HEADERS.
12569 # This happens for instance with `./config.status Makefile'.
12570 if test -n "$CONFIG_HEADERS"; then
12571 cat >"$tmp/defines.awk" <<\_ACAWK ||
12575 # Transform confdefs.h into an awk script `defines.awk', embedded as
12576 # here-document in config.status, that substitutes the proper values into
12577 # config.h.in to produce config.h.
12579 # Create a delimiter string that does not exist in confdefs.h, to ease
12580 # handling of long lines.
12582 for ac_last_try in false false :; do
12583 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12584 if test -z "$ac_t"; then
12586 elif $ac_last_try; then
12587 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12589 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12593 # For the awk script, D is an array of macro values keyed by name,
12594 # likewise P contains macro parameters if any. Preserve backslash
12595 # newline sequences.
12597 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12599 s/.\{148\}/&'"$ac_delim"'/g
12602 s/^[ ]*#[ ]*define[ ][ ]*/ /
12609 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12611 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12616 D["\1"]=" \3\\\\\\n"\\/p
12618 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12623 s/.\{148\}/&'"$ac_delim"'/g
12628 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12631 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12633 ' <confdefs.h | sed '
12634 s/'"$ac_delim"'/"\\\
12635 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12638 for (key in D) D_is_set[key] = 1
12641 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12643 split(line, arg, " ")
12644 if (arg[1] == "#") {
12648 defundef = substr(arg[1], 2)
12651 split(mac1, mac2, "(") #)
12653 prefix = substr(line, 1, index(line, defundef) - 1)
12654 if (D_is_set[macro]) {
12655 # Preserve the white space surrounding the "#".
12656 print prefix "define", macro P[macro] D[macro]
12659 # Replace #undef with comments. This is necessary, for example,
12660 # in the case of _POSIX_SOURCE, which is predefined and required
12661 # on some systems where configure will not decide to define it.
12662 if (defundef == "undef") {
12663 print "/*", prefix defundef, macro, "*/"
12671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12672 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12673 fi # test -n "$CONFIG_HEADERS"
12676 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12681 :[FHLC]) ac_mode=$ac_tag; continue;;
12683 case $ac_mode$ac_tag in
12685 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12686 :[FH]-) ac_tag=-:-;;
12687 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12704 -) ac_f="$tmp/stdin";;
12705 *) # Look for the file first in the build tree, then in the source tree
12706 # (if the path is not absolute). The absolute path cannot be DOS-style,
12707 # because $ac_f cannot contain `:'.
12711 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12713 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12715 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12716 as_fn_append ac_file_inputs " '$ac_f'"
12719 # Let's still pretend it is `configure' which instantiates (i.e., don't
12720 # use $as_me), people would be surprised to read:
12721 # /* config.h. Generated by config.status. */
12722 configure_input='Generated from '`
12723 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12725 if test x"$ac_file" != x-; then
12726 configure_input="$ac_file. $configure_input"
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12728 $as_echo "$as_me: creating $ac_file" >&6;}
12730 # Neutralize special characters interpreted by sed in replacement strings.
12731 case $configure_input in #(
12732 *\&* | *\|* | *\\* )
12733 ac_sed_conf_input=`$as_echo "$configure_input" |
12734 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12735 *) ac_sed_conf_input=$configure_input;;
12739 *:-:* | *:-) cat >"$tmp/stdin" \
12740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12745 ac_dir=`$as_dirname -- "$ac_file" ||
12746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12747 X"$ac_file" : 'X\(//\)[^/]' \| \
12748 X"$ac_file" : 'X\(//\)$' \| \
12749 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12750 $as_echo X"$ac_file" |
12751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12755 /^X\(\/\/\)[^/].*/{
12768 as_dir="$ac_dir"; as_fn_mkdir_p
12772 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12774 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12775 # A ".." for each directory in $ac_dir_suffix.
12776 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12777 case $ac_top_builddir_sub in
12778 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12779 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12782 ac_abs_top_builddir=$ac_pwd
12783 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12784 # for backward compatibility:
12785 ac_top_builddir=$ac_top_build_prefix
12788 .) # We are building in place.
12790 ac_top_srcdir=$ac_top_builddir_sub
12791 ac_abs_top_srcdir=$ac_pwd ;;
12792 [\\/]* | ?:[\\/]* ) # Absolute name.
12793 ac_srcdir=$srcdir$ac_dir_suffix;
12794 ac_top_srcdir=$srcdir
12795 ac_abs_top_srcdir=$srcdir ;;
12796 *) # Relative name.
12797 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12798 ac_top_srcdir=$ac_top_build_prefix$srcdir
12799 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12801 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12811 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12812 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12814 ac_MKDIR_P=$MKDIR_P
12816 [\\/$]* | ?:[\\/]* ) ;;
12817 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12822 # If the template does not know about datarootdir, expand it.
12823 # FIXME: This hack should be removed a few years after 2.60.
12824 ac_datarootdir_hack=; ac_datarootdir_seen=
12835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12836 *datarootdir*) ac_datarootdir_seen=yes;;
12837 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12842 ac_datarootdir_hack='
12843 s&@datadir@&$datadir&g
12844 s&@docdir@&$docdir&g
12845 s&@infodir@&$infodir&g
12846 s&@localedir@&$localedir&g
12847 s&@mandir@&$mandir&g
12848 s&\\\${datarootdir}&$datarootdir&g' ;;
12852 # Neutralize VPATH when `$srcdir' = `.'.
12853 # Shell code in configure.ac might set extrasub.
12854 # FIXME: do we really want to maintain this feature?
12855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12856 ac_sed_extra="$ac_vpsub
12859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12862 s|@configure_input@|$ac_sed_conf_input|;t t
12863 s&@top_builddir@&$ac_top_builddir_sub&;t t
12864 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12865 s&@srcdir@&$ac_srcdir&;t t
12866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12867 s&@top_srcdir@&$ac_top_srcdir&;t t
12868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12869 s&@builddir@&$ac_builddir&;t t
12870 s&@abs_builddir@&$ac_abs_builddir&;t t
12871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12872 s&@INSTALL@&$ac_INSTALL&;t t
12873 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12874 $ac_datarootdir_hack
12876 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12877 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12883 which seems to be undefined. Please make sure it is defined" >&5
12884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12885 which seems to be undefined. Please make sure it is defined" >&2;}
12889 -) cat "$tmp/out" && rm -f "$tmp/out";;
12890 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12898 if test x"$ac_file" != x-; then
12900 $as_echo "/* $configure_input */" \
12901 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12902 } >"$tmp/config.h" \
12903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12904 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12906 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12909 mv "$tmp/config.h" "$ac_file" \
12910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12913 $as_echo "/* $configure_input */" \
12914 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12915 || as_fn_error $? "could not create -" "$LINENO" 5
12917 # Compute "$ac_file"'s index in $config_headers.
12920 for _am_header in $config_headers :; do
12921 case $_am_header in
12922 $_am_arg | $_am_arg:* )
12925 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12928 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12929 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12930 X"$_am_arg" : 'X\(//\)[^/]' \| \
12931 X"$_am_arg" : 'X\(//\)$' \| \
12932 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12933 $as_echo X"$_am_arg" |
12934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12938 /^X\(\/\/\)[^/].*/{
12950 s/.*/./; q'`/stamp-h$_am_stamp_count
12953 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12954 $as_echo "$as_me: executing $ac_file commands" >&6;}
12959 case $ac_file$ac_mode in
12960 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12961 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12962 # are listed without --file. Let's play safe and only enable the eval
12963 # if we detect the quoting.
12964 case $CONFIG_FILES in
12965 *\'*) eval set x "$CONFIG_FILES" ;;
12966 *) set x $CONFIG_FILES ;;
12971 # Strip MF so we end up with the name of the file.
12972 mf=`echo "$mf" | sed -e 's/:.*$//'`
12973 # Check whether this is an Automake generated Makefile or not.
12974 # We used to match only the files named `Makefile.in', but
12975 # some people rename them; so instead we look at the file content.
12976 # Grep'ing the first line is not enough: some people post-process
12977 # each Makefile.in and add a new line on top of each file to say so.
12978 # Grep'ing the whole file is not good either: AIX grep has a line
12979 # limit of 2048, but all sed's we know have understand at least 4000.
12980 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12981 dirpart=`$as_dirname -- "$mf" ||
12982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12983 X"$mf" : 'X\(//\)[^/]' \| \
12984 X"$mf" : 'X\(//\)$' \| \
12985 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12991 /^X\(\/\/\)[^/].*/{
13007 # Extract the definition of DEPDIR, am__include, and am__quote
13008 # from the Makefile without running `make'.
13009 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13010 test -z "$DEPDIR" && continue
13011 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13012 test -z "am__include" && continue
13013 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13014 # When using ansi2knr, U may be empty or an underscore; expand it
13015 U=`sed -n 's/^U = //p' < "$mf"`
13016 # Find all dependency output files, they are included files with
13017 # $(DEPDIR) in their names. We invoke sed twice because it is the
13018 # simplest approach to changing $(DEPDIR) to its actual value in the
13020 for file in `sed -n "
13021 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13023 # Make sure the directory exists.
13024 test -f "$dirpart/$file" && continue
13025 fdir=`$as_dirname -- "$file" ||
13026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13027 X"$file" : 'X\(//\)[^/]' \| \
13028 X"$file" : 'X\(//\)$' \| \
13029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13030 $as_echo X"$file" |
13031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13035 /^X\(\/\/\)[^/].*/{
13048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13049 # echo "creating $dirpart/$file"
13050 echo '# dummy' > "$dirpart/$file"
13057 # See if we are running on zsh, and set the options which allow our
13058 # commands through without removal of \ escapes.
13059 if test -n "${ZSH_VERSION+set}" ; then
13060 setopt NO_GLOB_SUBST
13063 cfgfile="${ofile}T"
13064 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13067 cat <<_LT_EOF >> "$cfgfile"
13070 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13071 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13072 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13073 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13075 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13076 # 2006, 2007, 2008 Free Software Foundation, Inc.
13077 # Written by Gordon Matzigkeit, 1996
13079 # This file is part of GNU Libtool.
13081 # GNU Libtool is free software; you can redistribute it and/or
13082 # modify it under the terms of the GNU General Public License as
13083 # published by the Free Software Foundation; either version 2 of
13084 # the License, or (at your option) any later version.
13086 # As a special exception to the GNU General Public License,
13087 # if you distribute this file as part of a program or library that
13088 # is built using GNU Libtool, you may include this file under the
13089 # same distribution terms that you use for the rest of that program.
13091 # GNU Libtool is distributed in the hope that it will be useful,
13092 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13093 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13094 # GNU General Public License for more details.
13096 # You should have received a copy of the GNU General Public License
13097 # along with GNU Libtool; see the file COPYING. If not, a copy
13098 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13099 # obtained by writing to the Free Software Foundation, Inc.,
13100 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13103 # The names of the tagged configurations supported by this script.
13106 # ### BEGIN LIBTOOL CONFIG
13108 # Which release of libtool.m4 was used?
13109 macro_version=$macro_version
13110 macro_revision=$macro_revision
13112 # Whether or not to build shared libraries.
13113 build_libtool_libs=$enable_shared
13115 # Whether or not to build static libraries.
13116 build_old_libs=$enable_static
13118 # What type of objects to build.
13121 # Whether or not to optimize for fast installation.
13122 fast_install=$enable_fast_install
13125 host_alias=$host_alias
13129 # The build system.
13130 build_alias=$build_alias
13134 # A sed program that does not truncate output.
13137 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13138 Xsed="\$SED -e 1s/^X//"
13140 # A grep program that handles long lines.
13146 # A literal string matcher.
13149 # A BSD- or MS-compatible name lister.
13152 # Whether we need soft or hard links.
13155 # What is the maximum length of a command?
13156 max_cmd_len=$max_cmd_len
13158 # Object file suffix (normally "o").
13161 # Executable file suffix (normally "").
13164 # whether the shell understands "unset".
13167 # turn spaces into newlines.
13170 # turn newlines into spaces.
13173 # How to create reloadable object files.
13174 reload_flag=$lt_reload_flag
13175 reload_cmds=$lt_reload_cmds
13177 # An object symbol dumper.
13178 OBJDUMP=$lt_OBJDUMP
13180 # Method to check whether dependent libraries are shared objects.
13181 deplibs_check_method=$lt_deplibs_check_method
13183 # Command to use when deplibs_check_method == "file_magic".
13184 file_magic_cmd=$lt_file_magic_cmd
13188 AR_FLAGS=$lt_AR_FLAGS
13190 # A symbol stripping program.
13193 # Commands used to install an old-style archive.
13195 old_postinstall_cmds=$lt_old_postinstall_cmds
13196 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13201 # LTCC compiler flags.
13202 LTCFLAGS=$lt_CFLAGS
13204 # Take the output of nm and produce a listing of raw symbols and C names.
13205 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13207 # Transform the output of nm in a proper C declaration.
13208 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13210 # Transform the output of nm in a C name address pair.
13211 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13213 # Transform the output of nm in a C name address pair when lib prefix is needed.
13214 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13216 # The name of the directory that contains temporary libtool files.
13219 # Shell to use when invoking shell scripts.
13222 # An echo program that does not interpret backslashes.
13225 # Used to examine libraries when file_magic_cmd begins with "file".
13226 MAGIC_CMD=$MAGIC_CMD
13228 # Must we lock files when doing compilation?
13229 need_locks=$lt_need_locks
13231 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13232 DSYMUTIL=$lt_DSYMUTIL
13234 # Tool to change global to local symbols on Mac OS X.
13237 # Tool to manipulate fat objects and archives on Mac OS X.
13240 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13243 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13244 OTOOL64=$lt_OTOOL64
13246 # Old archive suffix (normally "a").
13249 # Shared library suffix (normally ".so").
13250 shrext_cmds=$lt_shrext_cmds
13252 # The commands to extract the exported symbol list from a shared archive.
13253 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13255 # Variables whose values should be saved in libtool wrapper scripts and
13256 # restored at link time.
13257 variables_saved_for_relink=$lt_variables_saved_for_relink
13259 # Do we need the "lib" prefix for modules?
13260 need_lib_prefix=$need_lib_prefix
13262 # Do we need a version for libraries?
13263 need_version=$need_version
13265 # Library versioning type.
13266 version_type=$version_type
13268 # Shared library runtime path variable.
13269 runpath_var=$runpath_var
13271 # Shared library path variable.
13272 shlibpath_var=$shlibpath_var
13274 # Is shlibpath searched before the hard-coded library search path?
13275 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13277 # Format of library name prefix.
13278 libname_spec=$lt_libname_spec
13280 # List of archive names. First name is the real one, the rest are links.
13281 # The last name is the one that the linker finds with -lNAME
13282 library_names_spec=$lt_library_names_spec
13284 # The coded name of the library, if different from the real name.
13285 soname_spec=$lt_soname_spec
13287 # Command to use after installation of a shared archive.
13288 postinstall_cmds=$lt_postinstall_cmds
13290 # Command to use after uninstallation of a shared archive.
13291 postuninstall_cmds=$lt_postuninstall_cmds
13293 # Commands used to finish a libtool library installation in a directory.
13294 finish_cmds=$lt_finish_cmds
13296 # As "finish_cmds", except a single script fragment to be evaled but
13298 finish_eval=$lt_finish_eval
13300 # Whether we should hardcode library paths into libraries.
13301 hardcode_into_libs=$hardcode_into_libs
13303 # Compile-time system search path for libraries.
13304 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13306 # Run-time system search path for libraries.
13307 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13309 # Whether dlopen is supported.
13310 dlopen_support=$enable_dlopen
13312 # Whether dlopen of programs is supported.
13313 dlopen_self=$enable_dlopen_self
13315 # Whether dlopen of statically linked programs is supported.
13316 dlopen_self_static=$enable_dlopen_self_static
13318 # Commands to strip libraries.
13319 old_striplib=$lt_old_striplib
13320 striplib=$lt_striplib
13323 # The linker used to build libraries.
13326 # Commands used to build an old-style archive.
13327 old_archive_cmds=$lt_old_archive_cmds
13329 # A language specific compiler.
13332 # Is the compiler the GNU compiler?
13335 # Compiler flag to turn off builtin functions.
13336 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13338 # How to pass a linker flag through the compiler.
13339 wl=$lt_lt_prog_compiler_wl
13341 # Additional compiler flags for building library objects.
13342 pic_flag=$lt_lt_prog_compiler_pic
13344 # Compiler flag to prevent dynamic linking.
13345 link_static_flag=$lt_lt_prog_compiler_static
13347 # Does compiler simultaneously support -c and -o options?
13348 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13350 # Whether or not to add -lc for building shared libraries.
13351 build_libtool_need_lc=$archive_cmds_need_lc
13353 # Whether or not to disallow shared libs when runtime libs are static.
13354 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13356 # Compiler flag to allow reflexive dlopens.
13357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13359 # Compiler flag to generate shared objects directly from archives.
13360 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13362 # Whether the compiler copes with passing no objects directly.
13363 compiler_needs_object=$lt_compiler_needs_object
13365 # Create an old-style archive from a shared archive.
13366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13368 # Create a temporary old-style archive to link instead of a shared archive.
13369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13371 # Commands used to build a shared archive.
13372 archive_cmds=$lt_archive_cmds
13373 archive_expsym_cmds=$lt_archive_expsym_cmds
13375 # Commands used to build a loadable module if different from building
13376 # a shared archive.
13377 module_cmds=$lt_module_cmds
13378 module_expsym_cmds=$lt_module_expsym_cmds
13380 # Whether we are building with GNU ld or not.
13381 with_gnu_ld=$lt_with_gnu_ld
13383 # Flag that allows shared libraries with undefined symbols to be built.
13384 allow_undefined_flag=$lt_allow_undefined_flag
13386 # Flag that enforces no undefined symbols.
13387 no_undefined_flag=$lt_no_undefined_flag
13389 # Flag to hardcode \$libdir into a binary during linking.
13390 # This must work even if \$libdir does not exist
13391 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13393 # If ld is used when linking, flag to hardcode \$libdir into a binary
13394 # during linking. This must work even if \$libdir does not exist.
13395 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13397 # Whether we need a single "-rpath" flag with a separated argument.
13398 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13401 # DIR into the resulting binary.
13402 hardcode_direct=$hardcode_direct
13404 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13405 # DIR into the resulting binary and the resulting library dependency is
13406 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13407 # library is relocated.
13408 hardcode_direct_absolute=$hardcode_direct_absolute
13410 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13411 # into the resulting binary.
13412 hardcode_minus_L=$hardcode_minus_L
13414 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13415 # into the resulting binary.
13416 hardcode_shlibpath_var=$hardcode_shlibpath_var
13418 # Set to "yes" if building a shared library automatically hardcodes DIR
13419 # into the library and all subsequent libraries and executables linked
13421 hardcode_automatic=$hardcode_automatic
13423 # Set to yes if linker adds runtime paths of dependent libraries
13424 # to runtime path list.
13425 inherit_rpath=$inherit_rpath
13427 # Whether libtool must link a program against all its dependency libraries.
13428 link_all_deplibs=$link_all_deplibs
13430 # Fix the shell variable \$srcfile for the compiler.
13431 fix_srcfile_path=$lt_fix_srcfile_path
13433 # Set to "yes" if exported symbols are required.
13434 always_export_symbols=$always_export_symbols
13436 # The commands to list exported symbols.
13437 export_symbols_cmds=$lt_export_symbols_cmds
13439 # Symbols that should not be listed in the preloaded symbols.
13440 exclude_expsyms=$lt_exclude_expsyms
13442 # Symbols that must always be exported.
13443 include_expsyms=$lt_include_expsyms
13445 # Commands necessary for linking programs (against libraries) with templates.
13446 prelink_cmds=$lt_prelink_cmds
13448 # Specify filename containing input files.
13449 file_list_spec=$lt_file_list_spec
13451 # How to hardcode a shared library path into an executable.
13452 hardcode_action=$hardcode_action
13454 # ### END LIBTOOL CONFIG
13460 cat <<\_LT_EOF >> "$cfgfile"
13461 # AIX sometimes has problems with the GCC collect2 program. For some
13462 # reason, if we set the COLLECT_NAMES environment variable, the problems
13463 # vanish in a puff of smoke.
13464 if test "X${COLLECT_NAMES+set}" != Xset; then
13466 export COLLECT_NAMES
13473 ltmain="$ac_aux_dir/ltmain.sh"
13476 # We use sed instead of cat because bash on DJGPP gets confused if
13477 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13478 # text mode, it properly converts lines to CR/LF. This bash problem
13479 # is reportedly fixed, but why not run on old versions too?
13480 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13481 || (rm -f "$cfgfile"; exit 1)
13485 cat << \_LT_EOF >> "$cfgfile"
13487 # func_dirname file append nondir_replacement
13488 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13489 # otherwise set result to NONDIR_REPLACEMENT.
13493 */*) func_dirname_result="${1%/*}${2}" ;;
13494 * ) func_dirname_result="${3}" ;;
13498 # func_basename file
13501 func_basename_result="${1##*/}"
13504 # func_dirname_and_basename file append nondir_replacement
13505 # perform func_basename and func_dirname in a single function
13507 # dirname: Compute the dirname of FILE. If nonempty,
13508 # add APPEND to the result, otherwise set result
13509 # to NONDIR_REPLACEMENT.
13510 # value returned in "$func_dirname_result"
13511 # basename: Compute filename of FILE.
13512 # value retuned in "$func_basename_result"
13513 # Implementation must be kept synchronized with func_dirname
13514 # and func_basename. For efficiency, we do not delegate to
13515 # those functions but instead duplicate the functionality here.
13516 func_dirname_and_basename ()
13519 */*) func_dirname_result="${1%/*}${2}" ;;
13520 * ) func_dirname_result="${3}" ;;
13522 func_basename_result="${1##*/}"
13525 # func_stripname prefix suffix name
13526 # strip PREFIX and SUFFIX off of NAME.
13527 # PREFIX and SUFFIX must not contain globbing or regex special
13528 # characters, hashes, percent signs, but SUFFIX may contain a leading
13529 # dot (in which case that matches only a dot).
13532 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13533 # positional parameters, so assign one to ordinary parameter first.
13534 func_stripname_result=${3}
13535 func_stripname_result=${func_stripname_result#"${1}"}
13536 func_stripname_result=${func_stripname_result%"${2}"}
13542 func_opt_split_opt=${1%%=*}
13543 func_opt_split_arg=${1#*=}
13550 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13551 *) func_lo2o_result=${1} ;;
13555 # func_xform libobj-or-source
13558 func_xform_result=${1%.*}.lo
13561 # func_arith arithmetic-term...
13564 func_arith_result=$(( $* ))
13568 # STRING may not start with a hyphen.
13571 func_len_result=${#1}
13576 *) # Bourne compatible functions.
13577 cat << \_LT_EOF >> "$cfgfile"
13579 # func_dirname file append nondir_replacement
13580 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13581 # otherwise set result to NONDIR_REPLACEMENT.
13584 # Extract subdirectory from the argument.
13585 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13586 if test "X$func_dirname_result" = "X${1}"; then
13587 func_dirname_result="${3}"
13589 func_dirname_result="$func_dirname_result${2}"
13593 # func_basename file
13596 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13600 # func_stripname prefix suffix name
13601 # strip PREFIX and SUFFIX off of NAME.
13602 # PREFIX and SUFFIX must not contain globbing or regex special
13603 # characters, hashes, percent signs, but SUFFIX may contain a leading
13604 # dot (in which case that matches only a dot).
13605 # func_strip_suffix prefix name
13609 .*) func_stripname_result=`$ECHO "X${3}" \
13610 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13611 *) func_stripname_result=`$ECHO "X${3}" \
13612 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13617 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13618 my_sed_long_arg='1s/^-[^=]*=//'
13623 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13624 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13630 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13633 # func_xform libobj-or-source
13636 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13639 # func_arith arithmetic-term...
13642 func_arith_result=`expr "$@"`
13646 # STRING may not start with a hyphen.
13649 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13655 case $lt_shell_append in
13657 cat << \_LT_EOF >> "$cfgfile"
13659 # func_append var value
13660 # Append VALUE to the end of shell variable VAR.
13668 cat << \_LT_EOF >> "$cfgfile"
13670 # func_append var value
13671 # Append VALUE to the end of shell variable VAR.
13682 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13683 || (rm -f "$cfgfile"; exit 1)
13685 mv -f "$cfgfile" "$ofile" ||
13686 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13697 ac_clean_files=$ac_clean_files_save
13699 test $ac_write_fail = 0 ||
13700 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13703 # configure is writing to config.log, and then calls config.status.
13704 # config.status does its own redirection, appending to config.log.
13705 # Unfortunately, on DOS this fails, as config.log is still kept open
13706 # by configure, so config.status won't be able to write to it; its
13707 # output is simply discarded. So we exec the FD to /dev/null,
13708 # effectively closing config.log, so it can be properly (re)opened and
13709 # appended to by config.status. When coming back to configure, we
13710 # need to make the FD available again.
13711 if test "$no_create" != yes; then
13713 ac_config_status_args=
13714 test "$silent" = yes &&
13715 ac_config_status_args="$ac_config_status_args --quiet"
13717 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13720 # would make configure fail if this is the last instruction.
13721 $ac_cs_success || as_fn_exit 1
13723 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13725 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}