2 # From configure.ac Id: configure.ac 507 2011-12-18 14:43:40Z des .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for OpenPAM 20111218.
6 # Report bugs to <des@des.no>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1
180 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
181 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
184 PATH=/empty FPATH=/empty; export PATH FPATH
185 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
186 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
187 if (eval "$as_required") 2>/dev/null; then :
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 test -z "$as_dir" && as_dir=.
204 for as_base in sh bash ksh sh5; do
205 # Try only shells that exist, to save several forks.
206 as_shell=$as_dir/$as_base
207 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 CONFIG_SHELL=$as_shell as_have_required=yes
210 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
218 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
219 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
220 CONFIG_SHELL=$SHELL as_have_required=yes
225 if test "x$CONFIG_SHELL" != x; then :
226 # We cannot yet assume a decent shell, so we have to provide a
227 # neutralization value for shells without unset; and this also
228 # works around shells that cannot unset nonexistent variables.
229 # Preserve -v and -x to the replacement shell.
232 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
235 *v*x* | *x*v* ) as_opts=-vx ;;
240 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
243 if test x$as_have_required = xno; then :
244 $as_echo "$0: This script requires a shell more modern than all"
245 $as_echo "$0: the shells that I found on your system."
246 if test x${ZSH_VERSION+set} = xset ; then
247 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
248 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
250 $as_echo "$0: Please tell bug-autoconf@gnu.org and des@des.no about
251 $0: your system, including any error possibly output before
252 $0: this message. Then install a modern shell, or manually
253 $0: run the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='OpenPAM'
572 PACKAGE_TARNAME='openpam'
573 PACKAGE_VERSION='20111218'
574 PACKAGE_STRING='OpenPAM 20111218'
575 PACKAGE_BUGREPORT='des@des.no'
578 ac_unique_file="lib/pam_start.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
685 INSTALL_STRIP_PROGRAM
727 program_transform_name
740 enable_option_checking
741 enable_dependency_tracking
750 enable_unversioned_modules
756 enable_developer_warnings
757 enable_debugging_symbols
760 ac_precious_vars='build_alias
771 # Initialize some variables set by options.
773 ac_init_version=false
774 ac_unrecognized_opts=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
785 program_transform_name=s,x,x,
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/include'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
831 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
842 -bindir | --bindir | --bindi | --bind | --bin | --bi)
844 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
847 -build | --build | --buil | --bui | --bu)
848 ac_prev=build_alias ;;
849 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
850 build_alias=$ac_optarg ;;
852 -cache-file | --cache-file | --cache-fil | --cache-fi \
853 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
854 ac_prev=cache_file ;;
855 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
856 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
857 cache_file=$ac_optarg ;;
860 cache_file=config.cache ;;
862 -datadir | --datadir | --datadi | --datad)
864 -datadir=* | --datadir=* | --datadi=* | --datad=*)
865 datadir=$ac_optarg ;;
867 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
868 | --dataroo | --dataro | --datar)
869 ac_prev=datarootdir ;;
870 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
871 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
872 datarootdir=$ac_optarg ;;
874 -disable-* | --disable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
888 eval enable_$ac_useropt=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 -enable-* | --enable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
914 eval enable_$ac_useropt=\$ac_optarg ;;
916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918 | --exec | --exe | --ex)
919 ac_prev=exec_prefix ;;
920 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922 | --exec=* | --exe=* | --ex=*)
923 exec_prefix=$ac_optarg ;;
925 -gas | --gas | --ga | --g)
926 # Obsolete; use --with-gas.
929 -help | --help | --hel | --he | -h)
931 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932 ac_init_help=recursive ;;
933 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934 ac_init_help=short ;;
936 -host | --host | --hos | --ho)
937 ac_prev=host_alias ;;
938 -host=* | --host=* | --hos=* | --ho=*)
939 host_alias=$ac_optarg ;;
941 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
943 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
945 htmldir=$ac_optarg ;;
947 -includedir | --includedir | --includedi | --included | --include \
948 | --includ | --inclu | --incl | --inc)
949 ac_prev=includedir ;;
950 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951 | --includ=* | --inclu=* | --incl=* | --inc=*)
952 includedir=$ac_optarg ;;
954 -infodir | --infodir | --infodi | --infod | --info | --inf)
956 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957 infodir=$ac_optarg ;;
959 -libdir | --libdir | --libdi | --libd)
961 -libdir=* | --libdir=* | --libdi=* | --libd=*)
964 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965 | --libexe | --libex | --libe)
966 ac_prev=libexecdir ;;
967 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968 | --libexe=* | --libex=* | --libe=*)
969 libexecdir=$ac_optarg ;;
971 -localedir | --localedir | --localedi | --localed | --locale)
973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974 localedir=$ac_optarg ;;
976 -localstatedir | --localstatedir | --localstatedi | --localstated \
977 | --localstate | --localstat | --localsta | --localst | --locals)
978 ac_prev=localstatedir ;;
979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981 localstatedir=$ac_optarg ;;
983 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
985 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 # Obsolete; use --without-fp.
992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993 | --no-cr | --no-c | -n)
996 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002 | --oldin | --oldi | --old | --ol | --o)
1003 ac_prev=oldincludedir ;;
1004 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007 oldincludedir=$ac_optarg ;;
1009 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1011 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012 prefix=$ac_optarg ;;
1014 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1015 | --program-pre | --program-pr | --program-p)
1016 ac_prev=program_prefix ;;
1017 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1018 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019 program_prefix=$ac_optarg ;;
1021 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1022 | --program-suf | --program-su | --program-s)
1023 ac_prev=program_suffix ;;
1024 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1025 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026 program_suffix=$ac_optarg ;;
1028 -program-transform-name | --program-transform-name \
1029 | --program-transform-nam | --program-transform-na \
1030 | --program-transform-n | --program-transform- \
1031 | --program-transform | --program-transfor \
1032 | --program-transfo | --program-transf \
1033 | --program-trans | --program-tran \
1034 | --progr-tra | --program-tr | --program-t)
1035 ac_prev=program_transform_name ;;
1036 -program-transform-name=* | --program-transform-name=* \
1037 | --program-transform-nam=* | --program-transform-na=* \
1038 | --program-transform-n=* | --program-transform-=* \
1039 | --program-transform=* | --program-transfor=* \
1040 | --program-transfo=* | --program-transf=* \
1041 | --program-trans=* | --program-tran=* \
1042 | --progr-tra=* | --program-tr=* | --program-t=*)
1043 program_transform_name=$ac_optarg ;;
1045 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1047 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048 pdfdir=$ac_optarg ;;
1050 -psdir | --psdir | --psdi | --psd | --ps)
1052 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1063 sbindir=$ac_optarg ;;
1065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067 | --sharedst | --shareds | --shared | --share | --shar \
1069 ac_prev=sharedstatedir ;;
1070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1074 sharedstatedir=$ac_optarg ;;
1076 -site | --site | --sit)
1078 -site=* | --site=* | --sit=*)
1081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084 srcdir=$ac_optarg ;;
1086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087 | --syscon | --sysco | --sysc | --sys | --sy)
1088 ac_prev=sysconfdir ;;
1089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091 sysconfdir=$ac_optarg ;;
1093 -target | --target | --targe | --targ | --tar | --ta | --t)
1094 ac_prev=target_alias ;;
1095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096 target_alias=$ac_optarg ;;
1098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1101 -version | --version | --versio | --versi | --vers | -V)
1102 ac_init_version=: ;;
1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 as_fn_error $? "invalid package name: $ac_useropt"
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1118 eval with_$ac_useropt=\$ac_optarg ;;
1120 -without-* | --without-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124 as_fn_error $? "invalid package name: $ac_useropt"
1125 ac_useropt_orig=$ac_useropt
1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep=', ';;
1134 eval with_$ac_useropt=no ;;
1137 # Obsolete; use --with-x.
1140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141 | --x-incl | --x-inc | --x-in | --x-i)
1142 ac_prev=x_includes ;;
1143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145 x_includes=$ac_optarg ;;
1147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149 ac_prev=x_libraries ;;
1150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152 x_libraries=$ac_optarg ;;
1154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' | [0-9]* | *[!_$as_cr_alnum]* )
1163 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1165 eval $ac_envvar=\$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1179 if test -n "$ac_prev"; then
1180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $? "missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val=\$$ac_var
1199 # Remove trailing slashes.
1202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$]* | ?:[\\/]* ) continue;;
1208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x; then
1222 if test "x$build_alias" = x; then
1223 cross_compiling=maybe
1224 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1225 If a cross compiler is detected then cross compile mode will be used" >&2
1226 elif test "x$build_alias" != "x$host_alias"; then
1232 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234 test "$silent" = yes && exec 6>/dev/null
1237 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di=`ls -di .` &&
1239 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1240 as_fn_error $? "working directory cannot be determined"
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 as_fn_error $? "pwd does not report name of working directory"
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1277 ac_srcdir_defaulted=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1281 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var in $ac_precious_vars; do
1298 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_${ac_var}_value=\$${ac_var}
1300 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures OpenPAM 20111218 to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking ...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/openpam]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1369 --program-prefix=PREFIX prepend PREFIX to installed program names
1370 --program-suffix=SUFFIX append SUFFIX to installed program names
1371 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1374 --build=BUILD configure for building on BUILD [guessed]
1375 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1379 if test -n "$ac_init_help"; then
1380 case $ac_init_help in
1381 short | recursive ) echo "Configuration of OpenPAM 20111218:";;
1386 --disable-option-checking ignore unrecognized --enable/--with options
1387 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1388 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1389 --disable-dependency-tracking speeds up one-time build
1390 --enable-dependency-tracking do not reject slow dependency extractors
1391 --enable-static[=PKGS] build static libraries [default=no]
1392 --enable-shared[=PKGS] build shared libraries [default=yes]
1393 --enable-fast-install[=PKGS]
1394 optimize for fast installation [default=yes]
1395 --disable-libtool-lock avoid locking (might break parallel builds)
1396 --enable-debug turn debugging on by default
1397 --disable-unversioned-modules
1398 support loading of unversioned modules
1399 --enable-developer-warnings
1400 enable strict warnings (default is NO)
1401 --enable-debugging-symbols
1402 enable debugging symbols (default is NO)
1403 --enable-werror use -Werror (default is NO)
1406 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1407 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1408 --with-pic try to use only PIC/non-PIC objects [default=use
1410 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1411 --with-sysroot=DIR Search for dependent libraries within DIR
1412 (or the compiler's sysroot if not specified).
1413 --with-modules-dir=DIR OpenPAM modules directory
1414 --without-doc do not build documentation
1415 --with-pam-unix compile sample pam_unix(8) implementation
1416 --with-pamtest compile test application
1417 --with-su compile sample su(1) implementation
1419 Some influential environment variables:
1420 CC C compiler command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1423 nonstandard directory <lib dir>
1424 LIBS libraries to pass to the linker, e.g. -l<library>
1425 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1426 you have headers in a nonstandard directory <include dir>
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to <des@des.no>.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1462 .) # We are building in place.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 OpenPAM configure 20111218
1496 generated by GNU Autoconf 2.68
1498 Copyright (C) 2010 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 # ac_fn_c_try_compile LINENO
1510 # --------------------------
1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext
1516 if { { ac_try="$ac_compile"
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.$ac_objext; then :
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status $ac_retval
1545 } # ac_fn_c_try_compile
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 if { { ac_try="$ac_cpp conftest.$ac_ext"
1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 if test -s conftest.err; then
1563 grep -v '^ *+' conftest.err >conftest.er1
1564 cat conftest.er1 >&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } > conftest.i && {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status $ac_retval
1584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1585 # -------------------------------------------------------
1586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1587 # the include files in INCLUDES and setting the cache variable VAR
1589 ac_fn_c_check_header_mongrel ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 if eval \${$3+:} false; then :
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1594 $as_echo_n "checking for $2... " >&6; }
1595 if eval \${$3+:} false; then :
1596 $as_echo_n "(cached) " >&6
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1602 # Is the header compilable?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1604 $as_echo_n "checking $2 usability... " >&6; }
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile "$LINENO"; then :
1611 ac_header_compiler=yes
1613 ac_header_compiler=no
1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1617 $as_echo "$ac_header_compiler" >&6; }
1619 # Is the header present?
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1621 $as_echo_n "checking $2 presence... " >&6; }
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1626 if ac_fn_c_try_cpp "$LINENO"; then :
1627 ac_header_preproc=yes
1629 ac_header_preproc=no
1631 rm -f conftest.err conftest.i conftest.$ac_ext
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1633 $as_echo "$ac_header_preproc" >&6; }
1635 # So? What about this header?
1636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654 ( $as_echo "## ------------------------- ##
1655 ## Report this to des@des.no ##
1656 ## ------------------------- ##"
1657 ) | sed "s/^/$as_me: WARNING: /" >&2
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661 $as_echo_n "checking for $2... " >&6; }
1662 if eval \${$3+:} false; then :
1663 $as_echo_n "(cached) " >&6
1665 eval "$3=\$ac_header_compiler"
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 } # ac_fn_c_check_header_mongrel
1675 # ac_fn_c_try_run LINENO
1676 # ----------------------
1677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1678 # that executables *can* be run.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 if { { ac_try="$ac_link"
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_link") 2>&5
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1693 { { case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_try") 2>&5
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; }; }; then :
1705 $as_echo "$as_me: program exited with status $ac_status" >&5
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1709 ac_retval=$ac_status
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists and can be compiled using the include files in
1720 # INCLUDES, setting the cache variable VAR accordingly.
1721 ac_fn_c_check_header_compile ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1734 if ac_fn_c_try_compile "$LINENO"; then :
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 } # ac_fn_c_check_header_compile
1748 # ac_fn_c_try_link LINENO
1749 # -----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 rm -f conftest.$ac_objext conftest$ac_exeext
1755 if { { ac_try="$ac_link"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest$ac_exeext && {
1774 test "$cross_compiling" = yes ||
1775 $as_test_x conftest$ac_exeext
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1784 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1785 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1786 # interfere with the next link command; also delete a directory that is
1787 # left behind by Apple's compiler. We do this before executing the actions.
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1792 } # ac_fn_c_try_link
1794 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1809 #define $2 innocuous_$2
1811 /* System header to define __stub macros and hopefully few prototypes,
1812 which can conflict with char $2 (); below.
1813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814 <limits.h> exists even on freestanding compilers. */
1817 # include <limits.h>
1819 # include <assert.h>
1824 /* Override any GCC internal prototype to avoid an error.
1825 Use char because int might match the return type of a GCC
1826 builtin and then its argument prototype would still apply. */
1831 /* The GNU C library defines this for functions which it implements
1832 to always fail with ENOSYS. Some functions are actually named
1833 something starting with __ and the normal name is an alias. */
1834 #if defined __stub_$2 || defined __stub___$2
1846 if ac_fn_c_try_link "$LINENO"; then :
1851 rm -f core conftest.err conftest.$ac_objext \
1852 conftest$ac_exeext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_func
1860 cat >config.log <<_ACEOF
1861 This file contains any messages produced by compilers while
1862 running configure, to aid debugging if configure makes a mistake.
1864 It was created by OpenPAM $as_me 20111218, which was
1865 generated by GNU Autoconf 2.68. Invocation command line was
1877 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1878 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1879 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1880 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1881 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1883 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1884 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1886 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1887 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1888 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1889 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1890 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1891 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1892 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 test -z "$as_dir" && as_dir=.
1901 $as_echo "PATH: $as_dir"
1917 # Keep a trace of the command line.
1918 # Strip out --no-create and --no-recursion so they do not pile up.
1919 # Strip out --silent because we don't want to record it for future runs.
1920 # Also quote any args containing shell meta-characters.
1921 # Make two passes to allow for proper duplicate-argument suppression.
1925 ac_must_keep_next=false
1931 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1933 | -silent | --silent | --silen | --sile | --sil)
1936 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1939 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1941 as_fn_append ac_configure_args1 " '$ac_arg'"
1942 if test $ac_must_keep_next = true; then
1943 ac_must_keep_next=false # Got value, back to normal.
1946 *=* | --config-cache | -C | -disable-* | --disable-* \
1947 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1948 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1949 | -with-* | --with-* | -without-* | --without-* | --x)
1950 case "$ac_configure_args0 " in
1951 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1954 -* ) ac_must_keep_next=true ;;
1957 as_fn_append ac_configure_args " '$ac_arg'"
1962 { ac_configure_args0=; unset ac_configure_args0;}
1963 { ac_configure_args1=; unset ac_configure_args1;}
1965 # When interrupted or exit'd, cleanup temporary files, and complete
1966 # config.log. We remove comments because anyway the quotes in there
1967 # would cause problems or look ugly.
1968 # WARNING: Use '\'' to represent an apostrophe within the trap.
1969 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1970 trap 'exit_status=$?
1971 # Save into config.log some information that might help in debugging.
1975 $as_echo "## ---------------- ##
1976 ## Cache variables. ##
1977 ## ---------------- ##"
1979 # The following way of writing the cache mishandles newlines in values,
1981 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1982 eval ac_val=\$$ac_var
1986 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1987 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1990 _ | IFS | as_nl) ;; #(
1991 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1992 *) { eval $ac_var=; unset $ac_var;} ;;
1997 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1998 *${as_nl}ac_space=\ *)
2000 "s/'\''/'\''\\\\'\'''\''/g;
2001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2011 $as_echo "## ----------------- ##
2012 ## Output variables. ##
2013 ## ----------------- ##"
2015 for ac_var in $ac_subst_vars
2017 eval ac_val=\$$ac_var
2019 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2021 $as_echo "$ac_var='\''$ac_val'\''"
2025 if test -n "$ac_subst_files"; then
2026 $as_echo "## ------------------- ##
2027 ## File substitutions. ##
2028 ## ------------------- ##"
2030 for ac_var in $ac_subst_files
2032 eval ac_val=\$$ac_var
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2041 if test -s confdefs.h; then
2042 $as_echo "## ----------- ##
2049 test "$ac_signal" != 0 &&
2050 $as_echo "$as_me: caught signal $ac_signal"
2051 $as_echo "$as_me: exit $exit_status"
2053 rm -f core *.core core.conftest.* &&
2054 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2057 for ac_signal in 1 2 13 15; do
2058 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2062 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2063 rm -f -r conftest* confdefs.h
2065 $as_echo "/* confdefs.h */" > confdefs.h
2067 # Predefined preprocessor variables.
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_NAME "$PACKAGE_NAME"
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_STRING "$PACKAGE_STRING"
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_URL "$PACKAGE_URL"
2094 # Let the site file select an alternate cache file if it wants to.
2095 # Prefer an explicitly selected file to automatically selected ones.
2098 if test -n "$CONFIG_SITE"; then
2099 # We do not want a PATH search for config.site.
2100 case $CONFIG_SITE in #((
2101 -*) ac_site_file1=./$CONFIG_SITE;;
2102 */*) ac_site_file1=$CONFIG_SITE;;
2103 *) ac_site_file1=./$CONFIG_SITE;;
2105 elif test "x$prefix" != xNONE; then
2106 ac_site_file1=$prefix/share/config.site
2107 ac_site_file2=$prefix/etc/config.site
2109 ac_site_file1=$ac_default_prefix/share/config.site
2110 ac_site_file2=$ac_default_prefix/etc/config.site
2112 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2114 test "x$ac_site_file" = xNONE && continue
2115 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2117 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2118 sed 's/^/| /' "$ac_site_file" >&5
2120 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2122 as_fn_error $? "failed to load site script $ac_site_file
2123 See \`config.log' for more details" "$LINENO" 5; }
2127 if test -r "$cache_file"; then
2128 # Some versions of bash will fail to source /dev/null (special files
2129 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2130 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2132 $as_echo "$as_me: loading cache $cache_file" >&6;}
2134 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2135 *) . "./$cache_file";;
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2140 $as_echo "$as_me: creating cache $cache_file" >&6;}
2144 # Check that the precious variables saved in the cache have kept the same
2146 ac_cache_corrupted=false
2147 for ac_var in $ac_precious_vars; do
2148 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2149 eval ac_new_set=\$ac_env_${ac_var}_set
2150 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2151 eval ac_new_val=\$ac_env_${ac_var}_value
2152 case $ac_old_set,$ac_new_set in
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2155 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2156 ac_cache_corrupted=: ;;
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2159 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2160 ac_cache_corrupted=: ;;
2163 if test "x$ac_old_val" != "x$ac_new_val"; then
2164 # differences in whitespace do not lead to failure.
2165 ac_old_val_w=`echo x $ac_old_val`
2166 ac_new_val_w=`echo x $ac_new_val`
2167 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2169 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2170 ac_cache_corrupted=:
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2173 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2174 eval $ac_var=\$ac_old_val
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2177 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2179 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2182 # Pass precious variables to config.status.
2183 if test "$ac_new_set" = set; then
2185 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2186 *) ac_arg=$ac_var=$ac_new_val ;;
2188 case " $ac_configure_args " in
2189 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2190 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2194 if $ac_cache_corrupted; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2198 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2199 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2201 ## -------------------- ##
2202 ## Main body of script. ##
2203 ## -------------------- ##
2206 ac_cpp='$CPP $CPPFLAGS'
2207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 am__api_version='1.11'
2217 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2218 if test -f "$ac_dir/install-sh"; then
2220 ac_install_sh="$ac_aux_dir/install-sh -c"
2222 elif test -f "$ac_dir/install.sh"; then
2224 ac_install_sh="$ac_aux_dir/install.sh -c"
2226 elif test -f "$ac_dir/shtool"; then
2228 ac_install_sh="$ac_aux_dir/shtool install -c"
2232 if test -z "$ac_aux_dir"; then
2233 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2236 # These three variables are undocumented and unsupported,
2237 # and are intended to be withdrawn in a future Autoconf release.
2238 # They can cause serious problems if a builder's source tree is in a directory
2239 # whose full name contains unusual characters.
2240 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2241 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2242 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2245 # Find a good install program. We prefer a C program (faster),
2246 # so one script is as good as another. But avoid the broken or
2247 # incompatible versions:
2248 # SysV /etc/install, /usr/sbin/install
2249 # SunOS /usr/etc/install
2250 # IRIX /sbin/install
2252 # AmigaOS /C/install, which installs bootblocks on floppy discs
2253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2256 # OS/2's system install, which has a completely different semantic
2257 # ./install, which can be erroneously created by make from ./install.sh.
2258 # Reject install programs that cannot install multiple files.
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2261 if test -z "$INSTALL"; then
2262 if ${ac_cv_path_install+:} false; then :
2263 $as_echo_n "(cached) " >&6
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 # Account for people who put trailing slashes in PATH elements.
2271 case $as_dir/ in #((
2272 ./ | .// | /[cC]/* | \
2273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2274 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2277 # OSF1 and SCO ODT 3.0 have their own names for install.
2278 # Don't use installbsd from OSF since it installs stuff as root
2280 for ac_prog in ginstall scoinst install; do
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2283 if test $ac_prog = install &&
2284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2285 # AIX install. It has an incompatible calling convention.
2287 elif test $ac_prog = install &&
2288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289 # program-specific install script used by HP pwplus--don't use.
2292 rm -rf conftest.one conftest.two conftest.dir
2293 echo one > conftest.one
2294 echo two > conftest.two
2296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2297 test -s conftest.one && test -s conftest.two &&
2298 test -s conftest.dir/conftest.one &&
2299 test -s conftest.dir/conftest.two
2301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2314 rm -rf conftest.one conftest.two conftest.dir
2317 if test "${ac_cv_path_install+set}" = set; then
2318 INSTALL=$ac_cv_path_install
2320 # As a last resort, use the slow shell script. Don't cache a
2321 # value for INSTALL within a source directory, because that will
2322 # break other packages using the cache if that directory is
2323 # removed, or if the value is a relative name.
2324 INSTALL=$ac_install_sh
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2328 $as_echo "$INSTALL" >&6; }
2330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2331 # It thinks the first close brace ends the variable substitution.
2332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2339 $as_echo_n "checking whether build environment is sane... " >&6; }
2342 echo timestamp > conftest.file
2343 # Reject unsafe characters in $srcdir or the absolute working directory
2344 # name. Accept space and tab only in the latter.
2348 *[\\\"\#\$\&\'\`$am_lf]*)
2349 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2352 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2353 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2356 # Do `set' in a subshell so we don't clobber the current shell's
2357 # arguments. Must try -L first in case configure is actually a
2358 # symlink; some systems play weird games with the mod time of symlinks
2359 # (eg FreeBSD returns the mod time of the symlink's containing
2362 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2363 if test "$*" = "X"; then
2365 set X `ls -t "$srcdir/configure" conftest.file`
2368 if test "$*" != "X $srcdir/configure conftest.file" \
2369 && test "$*" != "X conftest.file $srcdir/configure"; then
2371 # If neither matched, then we have a broken ls. This can happen
2372 # if, for instance, CONFIG_SHELL is bash and it inherits a
2373 # broken ls alias from the environment. This has actually
2374 # happened. Such a system could not be considered "sane".
2375 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2376 alias in your environment" "$LINENO" 5
2379 test "$2" = conftest.file
2385 as_fn_error $? "newly created file is older than distributed files!
2386 Check your system clock" "$LINENO" 5
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2389 $as_echo "yes" >&6; }
2390 test "$program_prefix" != NONE &&
2391 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2392 # Use a double $ so make ignores it.
2393 test "$program_suffix" != NONE &&
2394 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2395 # Double any \ or $.
2396 # By default was `s,x,x', remove it if useless.
2397 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2398 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2400 # expand $ac_aux_dir to an absolute path
2401 am_aux_dir=`cd $ac_aux_dir && pwd`
2403 if test x"${MISSING+set}" != xset; then
2406 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2408 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2411 # Use eval to expand $SHELL
2412 if eval "$MISSING --run true"; then
2413 am_missing_run="$MISSING --run "
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2417 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2420 if test x"${install_sh}" != xset; then
2423 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2425 install_sh="\${SHELL} $am_aux_dir/install-sh"
2429 # Installed binaries are usually stripped using `strip' when the user
2430 # run `make install-strip'. However `strip' might not be the right
2431 # tool to use in cross-compilation environments, therefore Automake
2432 # will honor the `STRIP' environment variable to overrule this program.
2433 if test "$cross_compiling" != no; then
2434 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2436 set dummy ${ac_tool_prefix}strip; ac_word=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if ${ac_cv_prog_STRIP+:} false; then :
2440 $as_echo_n "(cached) " >&6
2442 if test -n "$STRIP"; then
2443 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 STRIP=$ac_cv_prog_STRIP
2463 if test -n "$STRIP"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2465 $as_echo "$STRIP" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2473 if test -z "$ac_cv_prog_STRIP"; then
2475 # Extract the first word of "strip", so it can be a program name with args.
2476 set dummy strip; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$ac_ct_STRIP"; then
2483 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_ac_ct_STRIP="strip"
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2503 if test -n "$ac_ct_STRIP"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2505 $as_echo "$ac_ct_STRIP" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2511 if test "x$ac_ct_STRIP" = x; then
2514 case $cross_compiling:$ac_tool_warned in
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2518 ac_tool_warned=yes ;;
2523 STRIP="$ac_cv_prog_STRIP"
2527 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2530 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2531 if test -z "$MKDIR_P"; then
2532 if ${ac_cv_path_mkdir+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2539 test -z "$as_dir" && as_dir=.
2540 for ac_prog in mkdir gmkdir; do
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2543 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2544 'mkdir (GNU coreutils) '* | \
2545 'mkdir (coreutils) '* | \
2546 'mkdir (fileutils) '4.1*)
2547 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2557 test -d ./--version && rmdir ./--version
2558 if test "${ac_cv_path_mkdir+set}" = set; then
2559 MKDIR_P="$ac_cv_path_mkdir -p"
2561 # As a last resort, use the slow shell script. Don't cache a
2562 # value for MKDIR_P within a source directory, because that will
2563 # break other packages using the cache if that directory is
2564 # removed, or if the value is a relative name.
2565 MKDIR_P="$ac_install_sh -d"
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2569 $as_echo "$MKDIR_P" >&6; }
2573 [\\/$]* | ?:[\\/]*) ;;
2574 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2577 for ac_prog in gawk mawk nawk awk
2579 # Extract the first word of "$ac_prog", so it can be a program name with args.
2580 set dummy $ac_prog; ac_word=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if ${ac_cv_prog_AWK+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 if test -n "$AWK"; then
2587 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir=.
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_AWK="$ac_prog"
2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 if test -n "$AWK"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2609 $as_echo "$AWK" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2616 test -n "$AWK" && break
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2620 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2622 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2623 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 cat >conftest.make <<\_ACEOF
2629 @echo '@@@%%%=$(MAKE)=@@@%%%'
2631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2632 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2634 eval ac_cv_prog_make_${ac_make}_set=yes;;
2636 eval ac_cv_prog_make_${ac_make}_set=no;;
2640 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642 $as_echo "yes" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647 SET_MAKE="MAKE=${MAKE-make}"
2650 rm -rf .tst 2>/dev/null
2651 mkdir .tst 2>/dev/null
2652 if test -d .tst; then
2657 rmdir .tst 2>/dev/null
2659 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2660 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2661 # is not polluted with repeated "-I."
2662 am__isrc=' -I$(srcdir)'
2663 # test to see if srcdir already configured
2664 if test -f $srcdir/config.status; then
2665 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2669 # test whether we have cygpath
2670 if test -z "$CYGPATH_W"; then
2671 if (cygpath --version) >/dev/null 2>/dev/null; then
2672 CYGPATH_W='cygpath -w'
2679 # Define the identity of the package.
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE "$PACKAGE"
2689 cat >>confdefs.h <<_ACEOF
2690 #define VERSION "$VERSION"
2693 # Some tools Automake needs.
2695 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2698 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2701 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2704 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2707 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2709 # We need awk for the "check" target. The system "awk" is bad on
2711 # Always define AMTAR for backward compatibility.
2713 AMTAR=${AMTAR-"${am_missing_run}tar"}
2715 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2721 ac_config_headers="$ac_config_headers config.h"
2724 # C compiler and features
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2732 ac_cpp='$CPP $CPPFLAGS'
2733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2736 if test -n "$ac_tool_prefix"; then
2737 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if ${ac_cv_prog_CC+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 if test -n "$CC"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2767 $as_echo "$CC" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2775 if test -z "$ac_cv_prog_CC"; then
2777 # Extract the first word of "gcc", so it can be a program name with args.
2778 set dummy gcc; ac_word=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$ac_ct_CC"; then
2785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2794 ac_cv_prog_ac_ct_CC="gcc"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2805 if test -n "$ac_ct_CC"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2807 $as_echo "$ac_ct_CC" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2813 if test "x$ac_ct_CC" = x; then
2816 case $cross_compiling:$ac_tool_warned in
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2820 ac_tool_warned=yes ;;
2828 if test -z "$CC"; then
2829 if test -n "$ac_tool_prefix"; then
2830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2831 set dummy ${ac_tool_prefix}cc; ac_word=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if ${ac_cv_prog_CC+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 if test -n "$CC"; then
2838 ac_cv_prog_CC="$CC" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 ac_cv_prog_CC="${ac_tool_prefix}cc"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 if test -n "$CC"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2860 $as_echo "$CC" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2869 if test -z "$CC"; then
2870 # Extract the first word of "cc", so it can be a program name with args.
2871 set dummy cc; ac_word=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if ${ac_cv_prog_CC+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$CC"; then
2878 ac_cv_prog_CC="$CC" # Let the user override the test.
2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir=.
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2889 ac_prog_rejected=yes
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test $ac_prog_rejected = yes; then
2901 # We found a bogon in the path, so make sure we never use it.
2902 set dummy $ac_cv_prog_CC
2904 if test $# != 0; then
2905 # We chose a different compiler from the bogus one.
2906 # However, it has the same basename, so the bogon will be chosen
2907 # first if we set CC to just the basename; use the full file name.
2909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2915 if test -n "$CC"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2917 $as_echo "$CC" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2925 if test -z "$CC"; then
2926 if test -n "$ac_tool_prefix"; then
2927 for ac_prog in cl.exe
2929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_CC+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC="$CC" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 if test -n "$CC"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2959 $as_echo "$CC" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2966 test -n "$CC" && break
2969 if test -z "$CC"; then
2971 for ac_prog in cl.exe
2973 # Extract the first word of "$ac_prog", so it can be a program name with args.
2974 set dummy $ac_prog; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$ac_ct_CC"; then
2981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_ac_ct_CC="$ac_prog"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3001 if test -n "$ac_ct_CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3003 $as_echo "$ac_ct_CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3010 test -n "$ac_ct_CC" && break
3013 if test "x$ac_ct_CC" = x; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned=yes ;;
3029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3031 as_fn_error $? "no acceptable C compiler found in \$PATH
3032 See \`config.log' for more details" "$LINENO" 5; }
3034 # Provide some information about the compiler.
3035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3038 for ac_option in --version -v -V -qversion; do
3039 { { ac_try="$ac_compiler $ac_option >&5"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3048 if test -s conftest.err; then
3050 ... rest of stderr output deleted ...
3051 10q' conftest.err >conftest.er1
3052 cat conftest.er1 >&5
3054 rm -f conftest.er1 conftest.err
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; }
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3070 ac_clean_files_save=$ac_clean_files
3071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3072 # Try to create an executable without -o first, disregard a.out.
3073 # It will help us diagnose broken compilers, and finding out an intuition
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3076 $as_echo_n "checking whether the C compiler works... " >&6; }
3077 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3079 # The possible output files:
3080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3083 for ac_file in $ac_files
3086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3092 if { { ac_try="$ac_link_default"
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3098 $as_echo "$ac_try_echo"; } >&5
3099 (eval "$ac_link_default") 2>&5
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; }; then :
3103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3106 # so that the user can short-circuit this test for compilers unknown to
3108 for ac_file in $ac_files ''
3110 test -f "$ac_file" || continue
3112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3115 # We found the default executable, but exeext='' is most
3119 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3123 # We set ac_cv_exeext here because the later test for it is not
3124 # safe: cross compilers may not add the suffix if given an `-o'
3125 # argument, so we may need to know it at that point already.
3126 # Even if this section looks crufty: it has the advantage of
3133 test "$ac_cv_exeext" = no && ac_cv_exeext=
3138 if test -z "$ac_file"; then :
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3141 $as_echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3146 as_fn_error 77 "C compiler cannot create executables
3147 See \`config.log' for more details" "$LINENO" 5; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3150 $as_echo "yes" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3153 $as_echo_n "checking for C compiler default output file name... " >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3155 $as_echo "$ac_file" >&6; }
3156 ac_exeext=$ac_cv_exeext
3158 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3159 ac_clean_files=$ac_clean_files_save
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3161 $as_echo_n "checking for suffix of executables... " >&6; }
3162 if { { ac_try="$ac_link"
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3169 (eval "$ac_link") 2>&5
3171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3172 test $ac_status = 0; }; then :
3173 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3174 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3175 # work properly (i.e., refer to `conftest.exe'), while it won't with
3177 for ac_file in conftest.exe conftest conftest.*; do
3178 test -f "$ac_file" || continue
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3181 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3190 See \`config.log' for more details" "$LINENO" 5; }
3192 rm -f conftest conftest$ac_cv_exeext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3194 $as_echo "$ac_cv_exeext" >&6; }
3196 rm -f conftest.$ac_ext
3197 EXEEXT=$ac_cv_exeext
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3205 FILE *f = fopen ("conftest.out", "w");
3206 return ferror (f) || fclose (f) != 0;
3212 ac_clean_files="$ac_clean_files conftest.out"
3213 # Check that the compiler produces executables we can run. If not, either
3214 # the compiler is broken, or we cross compile.
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3216 $as_echo_n "checking whether we are cross compiling... " >&6; }
3217 if test "$cross_compiling" != yes; then
3218 { { ac_try="$ac_link"
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_link") 2>&5
3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3228 test $ac_status = 0; }
3229 if { ac_try='./conftest$ac_cv_exeext'
3230 { { case "(($ac_try" in
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 $as_echo "$ac_try_echo"; } >&5
3236 (eval "$ac_try") 2>&5
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }; }; then
3242 if test "$cross_compiling" = maybe; then
3245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247 as_fn_error $? "cannot run C compiled programs.
3248 If you meant to cross compile, use \`--host'.
3249 See \`config.log' for more details" "$LINENO" 5; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3254 $as_echo "$cross_compiling" >&6; }
3256 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3257 ac_clean_files=$ac_clean_files_save
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3259 $as_echo_n "checking for suffix of object files... " >&6; }
3260 if ${ac_cv_objext+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 rm -f conftest.o conftest.obj
3275 if { { ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_compile") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; then :
3286 for ac_file in conftest.o conftest.obj conftest.*; do
3287 test -f "$ac_file" || continue;
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3290 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3295 $as_echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 as_fn_error $? "cannot compute suffix of object files: cannot compile
3301 See \`config.log' for more details" "$LINENO" 5; }
3303 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3306 $as_echo "$ac_cv_objext" >&6; }
3307 OBJEXT=$ac_cv_objext
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3310 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3311 if ${ac_cv_c_compiler_gnu+:} false; then :
3312 $as_echo_n "(cached) " >&6
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3328 if ac_fn_c_try_compile "$LINENO"; then :
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3338 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3339 if test $ac_compiler_gnu = yes; then
3344 ac_test_CFLAGS=${CFLAGS+set}
3345 ac_save_CFLAGS=$CFLAGS
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3348 if ${ac_cv_prog_cc_g+:} false; then :
3349 $as_echo_n "(cached) " >&6
3351 ac_save_c_werror_flag=$ac_c_werror_flag
3352 ac_c_werror_flag=yes
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3366 if ac_fn_c_try_compile "$LINENO"; then :
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3381 if ac_fn_c_try_compile "$LINENO"; then :
3384 ac_c_werror_flag=$ac_save_c_werror_flag
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3397 if ac_fn_c_try_compile "$LINENO"; then :
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 ac_c_werror_flag=$ac_save_c_werror_flag
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3408 $as_echo "$ac_cv_prog_cc_g" >&6; }
3409 if test "$ac_test_CFLAGS" = set; then
3410 CFLAGS=$ac_save_CFLAGS
3411 elif test $ac_cv_prog_cc_g = yes; then
3412 if test "$GCC" = yes; then
3418 if test "$GCC" = yes; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3425 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3426 if ${ac_cv_prog_cc_c89+:} false; then :
3427 $as_echo_n "(cached) " >&6
3429 ac_cv_prog_cc_c89=no
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 #include <sys/types.h>
3436 #include <sys/stat.h>
3437 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3438 struct buf { int x; };
3439 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3440 static char *e (p, i)
3446 static char *f (char * (*g) (char **, int), char **p, ...)
3451 s = g (p, va_arg (v,int));
3456 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3457 function prototypes and stuff, but not '\xHH' hex character constants.
3458 These don't provoke an error unfortunately, instead are silently treated
3459 as 'x'. The following induces an error, until -std is added to get
3460 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3461 array size at least. It's necessary to write '\x00'==0 to get something
3462 that's true only with -std. */
3463 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3465 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3466 inside strings and character constants. */
3468 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3470 int test (int i, double x);
3471 struct s1 {int (*f) (int a);};
3472 struct s2 {int (*f) (double a);};
3473 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3479 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3484 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3485 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3487 CC="$ac_save_CC $ac_arg"
3488 if ac_fn_c_try_compile "$LINENO"; then :
3489 ac_cv_prog_cc_c89=$ac_arg
3491 rm -f core conftest.err conftest.$ac_objext
3492 test "x$ac_cv_prog_cc_c89" != "xno" && break
3494 rm -f conftest.$ac_ext
3499 case "x$ac_cv_prog_cc_c89" in
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3502 $as_echo "none needed" >&6; } ;;
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3505 $as_echo "unsupported" >&6; } ;;
3507 CC="$CC $ac_cv_prog_cc_c89"
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3509 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3511 if test "x$ac_cv_prog_cc_c89" != xno; then :
3516 ac_cpp='$CPP $CPPFLAGS'
3517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 DEPDIR="${am__leading_dot}deps"
3522 ac_config_commands="$ac_config_commands depfiles"
3525 am_make=${MAKE-make}
3526 cat > confinc << 'END'
3528 @echo this is the am__doit target
3531 # If we don't find an include directive, just comment out the code.
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3533 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3537 # First try GNU make style include.
3538 echo "include confinc" > confmf
3539 # Ignore all kinds of additional output from `make'.
3540 case `$am_make -s -f confmf 2> /dev/null` in #(
3541 *the\ am__doit\ target*)
3547 # Now try BSD make style include.
3548 if test "$am__include" = "#"; then
3549 echo '.include "confinc"' > confmf
3550 case `$am_make -s -f confmf 2> /dev/null` in #(
3551 *the\ am__doit\ target*)
3552 am__include=.include
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3561 $as_echo "$_am_result" >&6; }
3562 rm -f confinc confmf
3564 # Check whether --enable-dependency-tracking was given.
3565 if test "${enable_dependency_tracking+set}" = set; then :
3566 enableval=$enable_dependency_tracking;
3569 if test "x$enable_dependency_tracking" != xno; then
3570 am_depcomp="$ac_aux_dir/depcomp"
3573 if test "x$enable_dependency_tracking" != xno; then
3583 depcc="$CC" am_compiler_list=
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3586 $as_echo_n "checking dependency style of $depcc... " >&6; }
3587 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3591 # We make a subdir and do the tests there. Otherwise we can end up
3592 # making bogus files that we don't know about and never remove. For
3593 # instance it was reported that on HP-UX the gcc test will end up
3594 # making a dummy file named `D' -- because `-MD' means `put the output
3597 # Copy depcomp to subdir because otherwise we won't find it if we're
3598 # using a relative directory.
3599 cp "$am_depcomp" conftest.dir
3601 # We will build objects and dependencies in a subdirectory because
3602 # it helps to detect inapplicable dependency modes. For instance
3603 # both Tru64's cc and ICC support -MD to output dependencies as a
3604 # side effect of compilation, but ICC will put the dependencies in
3605 # the current directory while Tru64 will put them in the object
3609 am_cv_CC_dependencies_compiler_type=none
3610 if test "$am_compiler_list" = ""; then
3611 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3614 case " $depcc " in #(
3615 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3618 for depmode in $am_compiler_list; do
3619 # Setup a source with many dependencies, because some compilers
3620 # like to wrap large dependency lists on column 80 (with \), and
3621 # we should not choose a depcomp mode which is confused by this.
3623 # We need to recreate these files for each test, as the compiler may
3624 # overwrite some of them when testing with obscure command lines.
3625 # This happens at least with the AIX C compiler.
3627 for i in 1 2 3 4 5 6; do
3628 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3629 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3630 # Solaris 8's {/usr,}/bin/sh.
3631 touch sub/conftst$i.h
3633 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3635 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3636 # mode. It turns out that the SunPro C++ compiler does not properly
3637 # handle `-M -o', and we need to detect this. Also, some Intel
3638 # versions had trouble with output in subdirs
3639 am__obj=sub/conftest.${OBJEXT-o}
3640 am__minus_obj="-o $am__obj"
3643 # This depmode causes a compiler race in universal mode.
3644 test "$am__universal" = false || continue
3647 # after this tag, mechanisms are not by side-effect, so they'll
3648 # only be used when explicitly requested
3649 if test "x$enable_dependency_tracking" = xyes; then
3655 msvisualcpp | msvcmsys)
3656 # This compiler won't grok `-c -o', but also, the minuso test has
3657 # not run yet. These depmodes are late enough in the game, and
3658 # so weak that their functioning should not be impacted.
3659 am__obj=conftest.${OBJEXT-o}
3664 if depmode=$depmode \
3665 source=sub/conftest.c object=$am__obj \
3666 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3667 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3668 >/dev/null 2>conftest.err &&
3669 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3670 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3671 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3672 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3673 # icc doesn't choke on unknown options, it will just issue warnings
3674 # or remarks (even with -Werror). So we grep stderr for any message
3675 # that says an option was ignored or not supported.
3676 # When given -MP, icc 7.0 and 7.1 complain thusly:
3677 # icc: Command line warning: ignoring option '-M'; no argument required
3678 # The diagnosis changed in icc 8.0:
3679 # icc: Command line remark: option '-MP' not supported
3680 if (grep 'ignoring option' conftest.err ||
3681 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3682 am_cv_CC_dependencies_compiler_type=$depmode
3691 am_cv_CC_dependencies_compiler_type=none
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3696 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3697 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3700 test "x$enable_dependency_tracking" != xno \
3701 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3703 am__fastdepCC_FALSE='#'
3705 am__fastdepCC_TRUE='#'
3706 am__fastdepCC_FALSE=
3710 case $ac_cv_prog_cc_stdc in #(
3712 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3716 if ${ac_cv_prog_cc_c99+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 ac_cv_prog_cc_c99=no
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3724 #include <stdbool.h>
3729 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3730 #define debug(...) fprintf (stderr, __VA_ARGS__)
3731 #define showlist(...) puts (#__VA_ARGS__)
3732 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3734 test_varargs_macros (void)
3739 debug ("X = %d\n", x);
3740 showlist (The first, second, and third items.);
3741 report (x>y, "x is %d but y is %d", x, y);
3744 // Check long long types.
3745 #define BIG64 18446744073709551615ull
3746 #define BIG32 4294967295ul
3747 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3749 your preprocessor is broken;
3753 your preprocessor is broken;
3755 static long long int bignum = -9223372036854775807LL;
3756 static unsigned long long int ubignum = BIG64;
3758 struct incomplete_array
3766 const wchar_t *name;
3770 typedef const char *ccp;
3773 test_restrict (ccp restrict text)
3775 // See if C++-style comments work.
3776 // Iterate through items via the restricted pointer.
3777 // Also check for declarations in for loops.
3778 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3783 // Check varargs and va_copy.
3785 test_varargs (const char *format, ...)
3788 va_start (args, format);
3790 va_copy (args_copy, args);
3801 str = va_arg (args_copy, const char *);
3804 number = va_arg (args_copy, int);
3807 fnumber = va_arg (args_copy, double);
3822 _Bool success = false;
3825 if (test_restrict ("String literal") == 0)
3827 char *restrict newvar = "Another string";
3830 test_varargs ("s, d' f .", "string", 65, 34.234);
3831 test_varargs_macros ();
3833 // Check flexible array members.
3834 struct incomplete_array *ia =
3835 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3837 for (int i = 0; i < ia->datasize; ++i)
3838 ia->data[i] = i * 1.234;
3840 // Check named initializers.
3841 struct named_init ni = {
3843 .name = L"Test wide string",
3844 .average = 543.34343,
3849 int dynamic_array[ni.number];
3850 dynamic_array[ni.number - 1] = 543;
3852 // work around unused variable warnings
3853 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3854 || dynamic_array[ni.number - 1] != 543);
3860 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3862 CC="$ac_save_CC $ac_arg"
3863 if ac_fn_c_try_compile "$LINENO"; then :
3864 ac_cv_prog_cc_c99=$ac_arg
3866 rm -f core conftest.err conftest.$ac_objext
3867 test "x$ac_cv_prog_cc_c99" != "xno" && break
3869 rm -f conftest.$ac_ext
3874 case "x$ac_cv_prog_cc_c99" in
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3877 $as_echo "none needed" >&6; } ;;
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3880 $as_echo "unsupported" >&6; } ;;
3882 CC="$CC $ac_cv_prog_cc_c99"
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3884 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3886 if test "x$ac_cv_prog_cc_c99" != xno; then :
3887 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3890 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3891 if ${ac_cv_prog_cc_c89+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 ac_cv_prog_cc_c89=no
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 #include <sys/types.h>
3901 #include <sys/stat.h>
3902 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3903 struct buf { int x; };
3904 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3905 static char *e (p, i)
3911 static char *f (char * (*g) (char **, int), char **p, ...)
3916 s = g (p, va_arg (v,int));
3921 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3922 function prototypes and stuff, but not '\xHH' hex character constants.
3923 These don't provoke an error unfortunately, instead are silently treated
3924 as 'x'. The following induces an error, until -std is added to get
3925 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3926 array size at least. It's necessary to write '\x00'==0 to get something
3927 that's true only with -std. */
3928 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3930 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3931 inside strings and character constants. */
3933 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3935 int test (int i, double x);
3936 struct s1 {int (*f) (int a);};
3937 struct s2 {int (*f) (double a);};
3938 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3944 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3949 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3950 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3952 CC="$ac_save_CC $ac_arg"
3953 if ac_fn_c_try_compile "$LINENO"; then :
3954 ac_cv_prog_cc_c89=$ac_arg
3956 rm -f core conftest.err conftest.$ac_objext
3957 test "x$ac_cv_prog_cc_c89" != "xno" && break
3959 rm -f conftest.$ac_ext
3964 case "x$ac_cv_prog_cc_c89" in
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3967 $as_echo "none needed" >&6; } ;;
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3970 $as_echo "unsupported" >&6; } ;;
3972 CC="$CC $ac_cv_prog_cc_c89"
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3974 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3976 if test "x$ac_cv_prog_cc_c89" != xno; then :
3977 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3979 ac_cv_prog_cc_stdc=no
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3986 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3987 if ${ac_cv_prog_cc_stdc+:} false; then :
3988 $as_echo_n "(cached) " >&6
3991 case $ac_cv_prog_cc_stdc in #(
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3994 $as_echo "unsupported" >&6; } ;; #(
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3997 $as_echo "none needed" >&6; } ;; #(
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4000 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4004 ac_cpp='$CPP $CPPFLAGS'
4005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4010 # On Suns, sometimes $CPP names a directory.
4011 if test -n "$CPP" && test -d "$CPP"; then
4014 if test -z "$CPP"; then
4015 if ${ac_cv_prog_CPP+:} false; then :
4016 $as_echo_n "(cached) " >&6
4018 # Double quotes because CPP needs to be expanded
4019 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4022 for ac_c_preproc_warn_flag in '' yes
4024 # Use a header file that comes with gcc, so configuring glibc
4025 # with a fresh cross-compiler works.
4026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4027 # <limits.h> exists even on freestanding compilers.
4028 # On the NeXT, cc -E runs the code through the compiler's parser,
4029 # not just through cpp. "Syntax error" is here to catch this case.
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4033 # include <limits.h>
4035 # include <assert.h>
4039 if ac_fn_c_try_cpp "$LINENO"; then :
4042 # Broken: fails on valid input.
4045 rm -f conftest.err conftest.i conftest.$ac_ext
4047 # OK, works on sane cases. Now check whether nonexistent headers
4048 # can be detected and how.
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #include <ac_nonexistent.h>
4053 if ac_fn_c_try_cpp "$LINENO"; then :
4054 # Broken: success on invalid input.
4057 # Passes both tests.
4061 rm -f conftest.err conftest.i conftest.$ac_ext
4064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4065 rm -f conftest.i conftest.err conftest.$ac_ext
4066 if $ac_preproc_ok; then :
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4079 $as_echo "$CPP" >&6; }
4081 for ac_c_preproc_warn_flag in '' yes
4083 # Use a header file that comes with gcc, so configuring glibc
4084 # with a fresh cross-compiler works.
4085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4086 # <limits.h> exists even on freestanding compilers.
4087 # On the NeXT, cc -E runs the code through the compiler's parser,
4088 # not just through cpp. "Syntax error" is here to catch this case.
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4092 # include <limits.h>
4094 # include <assert.h>
4098 if ac_fn_c_try_cpp "$LINENO"; then :
4101 # Broken: fails on valid input.
4104 rm -f conftest.err conftest.i conftest.$ac_ext
4106 # OK, works on sane cases. Now check whether nonexistent headers
4107 # can be detected and how.
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4110 #include <ac_nonexistent.h>
4112 if ac_fn_c_try_cpp "$LINENO"; then :
4113 # Broken: success on invalid input.
4116 # Passes both tests.
4120 rm -f conftest.err conftest.i conftest.$ac_ext
4123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4124 rm -f conftest.i conftest.err conftest.$ac_ext
4125 if $ac_preproc_ok; then :
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4131 See \`config.log' for more details" "$LINENO" 5; }
4135 ac_cpp='$CPP $CPPFLAGS'
4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4144 if ${ac_cv_path_GREP+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -z "$GREP"; then
4148 ac_path_GREP_found=false
4149 # Loop through the user's path and test for each of PROGNAME-LIST
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4154 test -z "$as_dir" && as_dir=.
4155 for ac_prog in grep ggrep; do
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4159 # Check for GNU ac_path_GREP and select it if it is found.
4160 # Check for GNU $ac_path_GREP
4161 case `"$ac_path_GREP" --version 2>&1` in
4163 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4166 $as_echo_n 0123456789 >"conftest.in"
4169 cat "conftest.in" "conftest.in" >"conftest.tmp"
4170 mv "conftest.tmp" "conftest.in"
4171 cp "conftest.in" "conftest.nl"
4172 $as_echo 'GREP' >> "conftest.nl"
4173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4175 as_fn_arith $ac_count + 1 && ac_count=$as_val
4176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4177 # Best one so far, save it but keep looking for a better one
4178 ac_cv_path_GREP="$ac_path_GREP"
4179 ac_path_GREP_max=$ac_count
4181 # 10*(2^10) chars as input seems more than enough
4182 test $ac_count -gt 10 && break
4184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4187 $ac_path_GREP_found && break 3
4192 if test -z "$ac_cv_path_GREP"; then
4193 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4196 ac_cv_path_GREP=$GREP
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4201 $as_echo "$ac_cv_path_GREP" >&6; }
4202 GREP="$ac_cv_path_GREP"
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4206 $as_echo_n "checking for egrep... " >&6; }
4207 if ${ac_cv_path_EGREP+:} false; then :
4208 $as_echo_n "(cached) " >&6
4210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4211 then ac_cv_path_EGREP="$GREP -E"
4213 if test -z "$EGREP"; then
4214 ac_path_EGREP_found=false
4215 # Loop through the user's path and test for each of PROGNAME-LIST
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4220 test -z "$as_dir" && as_dir=.
4221 for ac_prog in egrep; do
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4225 # Check for GNU ac_path_EGREP and select it if it is found.
4226 # Check for GNU $ac_path_EGREP
4227 case `"$ac_path_EGREP" --version 2>&1` in
4229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4232 $as_echo_n 0123456789 >"conftest.in"
4235 cat "conftest.in" "conftest.in" >"conftest.tmp"
4236 mv "conftest.tmp" "conftest.in"
4237 cp "conftest.in" "conftest.nl"
4238 $as_echo 'EGREP' >> "conftest.nl"
4239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4241 as_fn_arith $ac_count + 1 && ac_count=$as_val
4242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4243 # Best one so far, save it but keep looking for a better one
4244 ac_cv_path_EGREP="$ac_path_EGREP"
4245 ac_path_EGREP_max=$ac_count
4247 # 10*(2^10) chars as input seems more than enough
4248 test $ac_count -gt 10 && break
4250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4253 $ac_path_EGREP_found && break 3
4258 if test -z "$ac_cv_path_EGREP"; then
4259 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4262 ac_cv_path_EGREP=$EGREP
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4268 $as_echo "$ac_cv_path_EGREP" >&6; }
4269 EGREP="$ac_cv_path_EGREP"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4273 $as_echo_n "checking for ANSI C header files... " >&6; }
4274 if ${ac_cv_header_stdc+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4292 if ac_fn_c_try_compile "$LINENO"; then :
4293 ac_cv_header_stdc=yes
4295 ac_cv_header_stdc=no
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 if test $ac_cv_header_stdc = yes; then
4300 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4307 $EGREP "memchr" >/dev/null 2>&1; then :
4310 ac_cv_header_stdc=no
4316 if test $ac_cv_header_stdc = yes; then
4317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4324 $EGREP "free" >/dev/null 2>&1; then :
4327 ac_cv_header_stdc=no
4333 if test $ac_cv_header_stdc = yes; then
4334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4335 if test "$cross_compiling" = yes; then :
4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4342 #if ((' ' & 0x0FF) == 0x020)
4343 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4344 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4346 # define ISLOWER(c) \
4347 (('a' <= (c) && (c) <= 'i') \
4348 || ('j' <= (c) && (c) <= 'r') \
4349 || ('s' <= (c) && (c) <= 'z'))
4350 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4358 for (i = 0; i < 256; i++)
4359 if (XOR (islower (i), ISLOWER (i))
4360 || toupper (i) != TOUPPER (i))
4365 if ac_fn_c_try_run "$LINENO"; then :
4368 ac_cv_header_stdc=no
4370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4371 conftest.$ac_objext conftest.beam conftest.$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4377 $as_echo "$ac_cv_header_stdc" >&6; }
4378 if test $ac_cv_header_stdc = yes; then
4380 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4384 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4385 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4386 inttypes.h stdint.h unistd.h
4388 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4389 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4392 cat >>confdefs.h <<_ACEOF
4393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4402 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4403 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4410 if test "$MINIX" = yes; then
4412 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4415 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4418 $as_echo "#define _MINIX 1" >>confdefs.h
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4424 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4425 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4426 $as_echo_n "(cached) " >&6
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4431 # define __EXTENSIONS__ 1
4432 $ac_includes_default
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 ac_cv_safe_to_define___extensions__=yes
4444 ac_cv_safe_to_define___extensions__=no
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4449 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4450 test $ac_cv_safe_to_define___extensions__ = yes &&
4451 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4453 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4455 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4457 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4459 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4464 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4465 if ${ac_cv_c_const+:} false; then :
4466 $as_echo_n "(cached) " >&6
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4474 /* FIXME: Include the comments suggested by Paul. */
4476 /* Ultrix mips cc rejects this. */
4477 typedef int charset[2];
4479 /* SunOS 4.1.1 cc rejects this. */
4480 char const *const *pcpcc;
4482 /* NEC SVR4.0.2 mips cc rejects this. */
4483 struct point {int x, y;};
4484 static struct point const zero = {0,0};
4485 /* AIX XL C 1.02.0.0 rejects this.
4486 It does not let you subtract one const X* pointer from another in
4487 an arm of an if-expression whose if-part is not a constant
4489 const char *g = "string";
4490 pcpcc = &g + (g ? g-g : 0);
4491 /* HPUX 7.0 cc rejects these. */
4493 ppc = (char**) pcpcc;
4494 pcpcc = (char const *const *) ppc;
4495 { /* SCO 3.2v4 cc rejects this. */
4497 char const *s = 0 ? (char *) 0 : (char const *) 0;
4502 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4504 const int *foo = &x[0];
4507 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4508 typedef const int *iptr;
4512 { /* AIX XL C 1.02.0.0 rejects this saying
4513 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4514 struct s { int j; const int *ap[3]; };
4515 struct s *b; b->j = 5;
4517 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4521 return !cs[0] && !zero.x;
4528 if ac_fn_c_try_compile "$LINENO"; then :
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4536 $as_echo "$ac_cv_c_const" >&6; }
4537 if test $ac_cv_c_const = no; then
4539 $as_echo "#define const /**/" >>confdefs.h
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
4544 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
4545 if ${ac_cv_c_restrict+:} false; then :
4546 $as_echo_n "(cached) " >&6
4549 # The order here caters to the fact that C++ does not require restrict.
4550 for ac_kw in __restrict __restrict__ _Restrict restrict; do
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553 typedef int * int_ptr;
4554 int foo (int_ptr $ac_kw ip) {
4568 if ac_fn_c_try_compile "$LINENO"; then :
4569 ac_cv_c_restrict=$ac_kw
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 test "$ac_cv_c_restrict" != no && break
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
4577 $as_echo "$ac_cv_c_restrict" >&6; }
4579 case $ac_cv_c_restrict in
4581 no) $as_echo "#define restrict /**/" >>confdefs.h
4583 *) cat >>confdefs.h <<_ACEOF
4584 #define restrict $ac_cv_c_restrict
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
4590 $as_echo_n "checking for working volatile... " >&6; }
4591 if ${ac_cv_c_volatile+:} false; then :
4592 $as_echo_n "(cached) " >&6
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4602 int * volatile y = (int *) 0;
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_c_volatile=yes
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
4616 $as_echo "$ac_cv_c_volatile" >&6; }
4617 if test $ac_cv_c_volatile = no; then
4619 $as_echo "#define volatile /**/" >>confdefs.h
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4629 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4635 macro_revision='1.3293'
4649 ltmain="$ac_aux_dir/ltmain.sh"
4651 # Make sure we can run config.sub.
4652 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4653 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4656 $as_echo_n "checking build system type... " >&6; }
4657 if ${ac_cv_build+:} false; then :
4658 $as_echo_n "(cached) " >&6
4660 ac_build_alias=$build_alias
4661 test "x$ac_build_alias" = x &&
4662 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4663 test "x$ac_build_alias" = x &&
4664 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4665 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4666 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4670 $as_echo "$ac_cv_build" >&6; }
4671 case $ac_cv_build in
4673 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4676 ac_save_IFS=$IFS; IFS='-'
4682 # Remember, the first character of IFS is used to create $*,
4683 # except with old shells:
4686 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4690 $as_echo_n "checking host system type... " >&6; }
4691 if ${ac_cv_host+:} false; then :
4692 $as_echo_n "(cached) " >&6
4694 if test "x$host_alias" = x; then
4695 ac_cv_host=$ac_cv_build
4697 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4698 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4703 $as_echo "$ac_cv_host" >&6; }
4706 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4709 ac_save_IFS=$IFS; IFS='-'
4715 # Remember, the first character of IFS is used to create $*,
4716 # except with old shells:
4719 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4722 # Backslashify metacharacters that are still active within
4723 # double-quoted strings.
4724 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4726 # Same as above, but do not quote variable references.
4727 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4729 # Sed substitution to delay expansion of an escaped shell variable in a
4730 # double_quote_subst'ed string.
4731 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4733 # Sed substitution to delay expansion of an escaped single quote.
4734 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4736 # Sed substitution to avoid accidental globbing in evaled expressions
4737 no_glob_subst='s/\*/\\\*/g'
4739 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4740 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4741 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4744 $as_echo_n "checking how to print strings... " >&6; }
4745 # Test print first, because it will be a builtin if present.
4746 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4747 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4749 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4752 # Use this function as a fallback that always works.
4753 func_fallback_echo ()
4755 eval 'cat <<_LTECHO_EOF
4759 ECHO='func_fallback_echo'
4762 # func_echo_all arg...
4763 # Invoke $ECHO with all args, space-separated.
4770 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4771 $as_echo "printf" >&6; } ;;
4772 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4773 $as_echo "print -r" >&6; } ;;
4774 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4775 $as_echo "cat" >&6; } ;;
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4792 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4793 if ${ac_cv_path_SED+:} false; then :
4794 $as_echo_n "(cached) " >&6
4796 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4797 for ac_i in 1 2 3 4 5 6 7; do
4798 ac_script="$ac_script$as_nl$ac_script"
4800 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4801 { ac_script=; unset ac_script;}
4802 if test -z "$SED"; then
4803 ac_path_SED_found=false
4804 # Loop through the user's path and test for each of PROGNAME-LIST
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir=.
4810 for ac_prog in sed gsed; do
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4813 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4814 # Check for GNU ac_path_SED and select it if it is found.
4815 # Check for GNU $ac_path_SED
4816 case `"$ac_path_SED" --version 2>&1` in
4818 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4821 $as_echo_n 0123456789 >"conftest.in"
4824 cat "conftest.in" "conftest.in" >"conftest.tmp"
4825 mv "conftest.tmp" "conftest.in"
4826 cp "conftest.in" "conftest.nl"
4827 $as_echo '' >> "conftest.nl"
4828 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4830 as_fn_arith $ac_count + 1 && ac_count=$as_val
4831 if test $ac_count -gt ${ac_path_SED_max-0}; then
4832 # Best one so far, save it but keep looking for a better one
4833 ac_cv_path_SED="$ac_path_SED"
4834 ac_path_SED_max=$ac_count
4836 # 10*(2^10) chars as input seems more than enough
4837 test $ac_count -gt 10 && break
4839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4842 $ac_path_SED_found && break 3
4847 if test -z "$ac_cv_path_SED"; then
4848 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4856 $as_echo "$ac_cv_path_SED" >&6; }
4857 SED="$ac_cv_path_SED"
4860 test -z "$SED" && SED=sed
4861 Xsed="$SED -e 1s/^X//"
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4874 $as_echo_n "checking for fgrep... " >&6; }
4875 if ${ac_cv_path_FGREP+:} false; then :
4876 $as_echo_n "(cached) " >&6
4878 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4879 then ac_cv_path_FGREP="$GREP -F"
4881 if test -z "$FGREP"; then
4882 ac_path_FGREP_found=false
4883 # Loop through the user's path and test for each of PROGNAME-LIST
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4888 test -z "$as_dir" && as_dir=.
4889 for ac_prog in fgrep; do
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4892 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4893 # Check for GNU ac_path_FGREP and select it if it is found.
4894 # Check for GNU $ac_path_FGREP
4895 case `"$ac_path_FGREP" --version 2>&1` in
4897 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4900 $as_echo_n 0123456789 >"conftest.in"
4903 cat "conftest.in" "conftest.in" >"conftest.tmp"
4904 mv "conftest.tmp" "conftest.in"
4905 cp "conftest.in" "conftest.nl"
4906 $as_echo 'FGREP' >> "conftest.nl"
4907 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4908 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4909 as_fn_arith $ac_count + 1 && ac_count=$as_val
4910 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4911 # Best one so far, save it but keep looking for a better one
4912 ac_cv_path_FGREP="$ac_path_FGREP"
4913 ac_path_FGREP_max=$ac_count
4915 # 10*(2^10) chars as input seems more than enough
4916 test $ac_count -gt 10 && break
4918 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4921 $ac_path_FGREP_found && break 3
4926 if test -z "$ac_cv_path_FGREP"; then
4927 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4930 ac_cv_path_FGREP=$FGREP
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4936 $as_echo "$ac_cv_path_FGREP" >&6; }
4937 FGREP="$ac_cv_path_FGREP"
4940 test -z "$GREP" && GREP=grep
4960 # Check whether --with-gnu-ld was given.
4961 if test "${with_gnu_ld+set}" = set; then :
4962 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4968 if test "$GCC" = yes; then
4969 # Check if gcc -print-prog-name=ld gives a path.
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4971 $as_echo_n "checking for ld used by $CC... " >&6; }
4974 # gcc leaves a trailing carriage return which upsets mingw
4975 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4977 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4980 # Accept absolute paths.
4982 re_direlt='/[^/][^/]*/\.\./'
4983 # Canonicalize the pathname of ld
4984 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4985 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4986 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4988 test -z "$LD" && LD="$ac_prog"
4991 # If it fails, then pretend we aren't using GCC.
4995 # If it is relative, then search for the first ld in PATH.
4999 elif test "$with_gnu_ld" = yes; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5001 $as_echo_n "checking for GNU ld... " >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5004 $as_echo_n "checking for non-GNU ld... " >&6; }
5006 if ${lt_cv_path_LD+:} false; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -z "$LD"; then
5010 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5011 for ac_dir in $PATH; do
5013 test -z "$ac_dir" && ac_dir=.
5014 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5015 lt_cv_path_LD="$ac_dir/$ac_prog"
5016 # Check to see if the program is GNU ld. I'd rather use --version,
5017 # but apparently some variants of GNU ld only accept -v.
5018 # Break only if it was the GNU/non-GNU ld that we prefer.
5019 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5020 *GNU* | *'with BFD'*)
5021 test "$with_gnu_ld" != no && break
5024 test "$with_gnu_ld" != yes && break
5031 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5036 if test -n "$LD"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5038 $as_echo "$LD" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5043 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5045 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5046 if ${lt_cv_prog_gnu_ld+:} false; then :
5047 $as_echo_n "(cached) " >&6
5049 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5050 case `$LD -v 2>&1 </dev/null` in
5051 *GNU* | *'with BFD'*)
5052 lt_cv_prog_gnu_ld=yes
5055 lt_cv_prog_gnu_ld=no
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5060 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5061 with_gnu_ld=$lt_cv_prog_gnu_ld
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5072 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5073 if ${lt_cv_path_NM+:} false; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -n "$NM"; then
5077 # Let the user override the test.
5080 lt_nm_to_check="${ac_tool_prefix}nm"
5081 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5082 lt_nm_to_check="$lt_nm_to_check nm"
5084 for lt_tmp_nm in $lt_nm_to_check; do
5085 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5086 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5088 test -z "$ac_dir" && ac_dir=.
5089 tmp_nm="$ac_dir/$lt_tmp_nm"
5090 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5091 # Check to see if the nm accepts a BSD-compat flag.
5092 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5093 # nm: unknown option "B" ignored
5094 # Tru64's nm complains that /dev/null is an invalid object file
5095 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5096 */dev/null* | *'Invalid file or object type'*)
5097 lt_cv_path_NM="$tmp_nm -B"
5101 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5103 lt_cv_path_NM="$tmp_nm -p"
5107 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5108 continue # so that we can try to find one that supports BSD flags
5117 : ${lt_cv_path_NM=no}
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5121 $as_echo "$lt_cv_path_NM" >&6; }
5122 if test "$lt_cv_path_NM" != "no"; then
5125 # Didn't find any BSD compatible name lister, look for dumpbin.
5126 if test -n "$DUMPBIN"; then :
5127 # Let the user override the test.
5129 if test -n "$ac_tool_prefix"; then
5130 for ac_prog in dumpbin "link -dump"
5132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_DUMPBIN+:} false; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$DUMPBIN"; then
5140 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 DUMPBIN=$ac_cv_prog_DUMPBIN
5160 if test -n "$DUMPBIN"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5162 $as_echo "$DUMPBIN" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5169 test -n "$DUMPBIN" && break
5172 if test -z "$DUMPBIN"; then
5173 ac_ct_DUMPBIN=$DUMPBIN
5174 for ac_prog in dumpbin "link -dump"
5176 # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy $ac_prog; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5181 $as_echo_n "(cached) " >&6
5183 if test -n "$ac_ct_DUMPBIN"; then
5184 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5204 if test -n "$ac_ct_DUMPBIN"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5206 $as_echo "$ac_ct_DUMPBIN" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 test -n "$ac_ct_DUMPBIN" && break
5216 if test "x$ac_ct_DUMPBIN" = x; then
5219 case $cross_compiling:$ac_tool_warned in
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5225 DUMPBIN=$ac_ct_DUMPBIN
5229 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5231 DUMPBIN="$DUMPBIN -symbols"
5239 if test "$DUMPBIN" != ":"; then
5243 test -z "$NM" && NM=nm
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5251 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5252 if ${lt_cv_nm_interface+:} false; then :
5253 $as_echo_n "(cached) " >&6
5255 lt_cv_nm_interface="BSD nm"
5256 echo "int some_variable = 0;" > conftest.$ac_ext
5257 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5258 (eval "$ac_compile" 2>conftest.err)
5259 cat conftest.err >&5
5260 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5261 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5262 cat conftest.err >&5
5263 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5264 cat conftest.out >&5
5265 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5266 lt_cv_nm_interface="MS dumpbin"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5271 $as_echo "$lt_cv_nm_interface" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5274 $as_echo_n "checking whether ln -s works... " >&6; }
5276 if test "$LN_S" = "ln -s"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5278 $as_echo "yes" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5281 $as_echo "no, using $LN_S" >&6; }
5284 # find the maximum length of command line arguments
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5286 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5287 if ${lt_cv_sys_max_cmd_len+:} false; then :
5288 $as_echo_n "(cached) " >&6
5295 # On DJGPP, this test can blow up pretty badly due to problems in libc
5296 # (any single argument exceeding 2000 bytes causes a buffer overrun
5297 # during glob expansion). Even if it were fixed, the result of this
5298 # check would be larger than it should be.
5299 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5303 # Under GNU Hurd, this test is not required because there is
5304 # no limit to the length of command line arguments.
5305 # Libtool will interpret -1 as no limit whatsoever
5306 lt_cv_sys_max_cmd_len=-1;
5309 cygwin* | mingw* | cegcc*)
5310 # On Win9x/ME, this test blows up -- it succeeds, but takes
5311 # about 5 minutes as the teststring grows exponentially.
5312 # Worse, since 9x/ME are not pre-emptively multitasking,
5313 # you end up with a "frozen" computer, even though with patience
5314 # the test eventually succeeds (with a max line length of 256k).
5315 # Instead, let's just punt: use the minimum linelength reported by
5316 # all of the supported platforms: 8192 (on NT/2K/XP).
5317 lt_cv_sys_max_cmd_len=8192;
5321 # On MiNT this can take a long time and run out of memory.
5322 lt_cv_sys_max_cmd_len=8192;
5326 # On AmigaOS with pdksh, this test takes hours, literally.
5327 # So we just punt and use a minimum line length of 8192.
5328 lt_cv_sys_max_cmd_len=8192;
5331 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5332 # This has been around since 386BSD, at least. Likely further.
5333 if test -x /sbin/sysctl; then
5334 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5335 elif test -x /usr/sbin/sysctl; then
5336 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5338 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5340 # And add a safety zone
5341 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5342 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5346 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5347 lt_cv_sys_max_cmd_len=196608
5351 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5352 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5353 # nice to cause kernel panics so lets avoid the loop below.
5354 # First set a reasonable default.
5355 lt_cv_sys_max_cmd_len=16384
5357 if test -x /sbin/sysconfig; then
5358 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5359 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5364 lt_cv_sys_max_cmd_len=102400
5366 sysv5* | sco5v6* | sysv4.2uw2*)
5367 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5368 if test -n "$kargmax"; then
5369 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5371 lt_cv_sys_max_cmd_len=32768
5375 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5376 if test -n "$lt_cv_sys_max_cmd_len"; then
5377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5378 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5380 # Make teststring a little bigger before we do anything with it.
5381 # a 1K string should be a reasonable start.
5382 for i in 1 2 3 4 5 6 7 8 ; do
5383 teststring=$teststring$teststring
5385 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5386 # If test is not a shell built-in, we'll probably end up computing a
5387 # maximum length that is only half of the actual maximum length, but
5389 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5390 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5391 test $i != 17 # 1/2 MB should be enough
5394 teststring=$teststring$teststring
5396 # Only check the string length outside the loop.
5397 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5399 # Add a significant safety factor because C++ compilers can tack on
5400 # massive amounts of additional arguments before passing them to the
5401 # linker. It appears as though 1/2 is a usable value.
5402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5409 if test -n $lt_cv_sys_max_cmd_len ; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5411 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5414 $as_echo "none" >&6; }
5416 max_cmd_len=$lt_cv_sys_max_cmd_len
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5428 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5429 # Try some XSI features
5432 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5434 && eval 'test $(( 1 + 1 )) -eq 2 \
5435 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5438 $as_echo "$xsi_shell" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5442 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5444 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5446 && lt_shell_append=yes
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5448 $as_echo "$lt_shell_append" >&6; }
5451 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5461 # test EBCDIC or ASCII
5462 case `echo X|tr X '\101'` in
5463 A) # ASCII based system
5464 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5465 lt_SP2NL='tr \040 \012'
5466 lt_NL2SP='tr \015\012 \040\040'
5468 *) # EBCDIC based system
5469 lt_SP2NL='tr \100 \n'
5470 lt_NL2SP='tr \r\n \100\100'
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5483 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5484 if ${lt_cv_to_host_file_cmd+:} false; then :
5485 $as_echo_n "(cached) " >&6
5490 *-*-mingw* ) # actually msys
5491 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5494 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5496 * ) # otherwise, assume *nix
5497 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5503 *-*-mingw* ) # actually msys
5504 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5507 lt_cv_to_host_file_cmd=func_convert_file_noop
5509 * ) # otherwise, assume *nix
5510 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5514 * ) # unhandled hosts (and "normal" native builds)
5515 lt_cv_to_host_file_cmd=func_convert_file_noop
5521 to_host_file_cmd=$lt_cv_to_host_file_cmd
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5523 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5530 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5531 if ${lt_cv_to_tool_file_cmd+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 #assume ordinary cross tools, or native build.
5535 lt_cv_to_tool_file_cmd=func_convert_file_noop
5539 *-*-mingw* ) # actually msys
5540 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5548 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5550 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5557 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5558 if ${lt_cv_ld_reload_flag+:} false; then :
5559 $as_echo_n "(cached) " >&6
5561 lt_cv_ld_reload_flag='-r'
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5564 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5565 reload_flag=$lt_cv_ld_reload_flag
5566 case $reload_flag in
5568 *) reload_flag=" $reload_flag" ;;
5570 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5572 cygwin* | mingw* | pw32* | cegcc*)
5573 if test "$GCC" != yes; then
5578 if test "$GCC" = yes; then
5579 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5581 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5594 if test -n "$ac_tool_prefix"; then
5595 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5596 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598 $as_echo_n "checking for $ac_word... " >&6; }
5599 if ${ac_cv_prog_OBJDUMP+:} false; then :
5600 $as_echo_n "(cached) " >&6
5602 if test -n "$OBJDUMP"; then
5603 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 OBJDUMP=$ac_cv_prog_OBJDUMP
5623 if test -n "$OBJDUMP"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5625 $as_echo "$OBJDUMP" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5633 if test -z "$ac_cv_prog_OBJDUMP"; then
5634 ac_ct_OBJDUMP=$OBJDUMP
5635 # Extract the first word of "objdump", so it can be a program name with args.
5636 set dummy objdump; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5640 $as_echo_n "(cached) " >&6
5642 if test -n "$ac_ct_OBJDUMP"; then
5643 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5652 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5663 if test -n "$ac_ct_OBJDUMP"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5665 $as_echo "$ac_ct_OBJDUMP" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5671 if test "x$ac_ct_OBJDUMP" = x; then
5674 case $cross_compiling:$ac_tool_warned in
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5678 ac_tool_warned=yes ;;
5680 OBJDUMP=$ac_ct_OBJDUMP
5683 OBJDUMP="$ac_cv_prog_OBJDUMP"
5686 test -z "$OBJDUMP" && OBJDUMP=objdump
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5697 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5698 if ${lt_cv_deplibs_check_method+:} false; then :
5699 $as_echo_n "(cached) " >&6
5701 lt_cv_file_magic_cmd='$MAGIC_CMD'
5702 lt_cv_file_magic_test_file=
5703 lt_cv_deplibs_check_method='unknown'
5704 # Need to set the preceding variable on all platforms that support
5705 # interlibrary dependencies.
5706 # 'none' -- dependencies not supported.
5707 # `unknown' -- same as none, but documents that we really don't know.
5708 # 'pass_all' -- all dependencies passed with no checks.
5709 # 'test_compile' -- check by making test program.
5710 # 'file_magic [[regex]]' -- check by looking for files in library path
5711 # which responds to the $file_magic_cmd with a given extended regex.
5712 # If you have `file' or equivalent on your system and you're not sure
5713 # whether `pass_all' will *always* work, you probably want this one.
5717 lt_cv_deplibs_check_method=pass_all
5721 lt_cv_deplibs_check_method=pass_all
5725 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5726 lt_cv_file_magic_cmd='/usr/bin/file -L'
5727 lt_cv_file_magic_test_file=/shlib/libc.so
5731 # func_win32_libid is a shell function defined in ltmain.sh
5732 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5733 lt_cv_file_magic_cmd='func_win32_libid'
5737 # Base MSYS/MinGW do not provide the 'file' command needed by
5738 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5739 # unless we find 'file', for example because we are cross-compiling.
5740 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5741 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5742 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5743 lt_cv_file_magic_cmd='func_win32_libid'
5745 # Keep this pattern in sync with the one in func_win32_libid.
5746 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5747 lt_cv_file_magic_cmd='$OBJDUMP -f'
5752 # use the weaker test based on 'objdump'. See mingw*.
5753 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5754 lt_cv_file_magic_cmd='$OBJDUMP -f'
5757 darwin* | rhapsody*)
5758 lt_cv_deplibs_check_method=pass_all
5761 freebsd* | dragonfly*)
5762 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5765 # Not sure whether the presence of OpenBSD here was a mistake.
5766 # Let's accept both of them until this is cleared up.
5767 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5768 lt_cv_file_magic_cmd=/usr/bin/file
5769 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5773 lt_cv_deplibs_check_method=pass_all
5778 lt_cv_deplibs_check_method=pass_all
5782 lt_cv_deplibs_check_method=pass_all
5785 hpux10.20* | hpux11*)
5786 lt_cv_file_magic_cmd=/usr/bin/file
5789 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5790 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5793 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5794 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5797 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5798 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5804 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5805 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5808 irix5* | irix6* | nonstopux*)
5810 *-32|*"-32 ") libmagic=32-bit;;
5811 *-n32|*"-n32 ") libmagic=N32;;
5812 *-64|*"-64 ") libmagic=64-bit;;
5813 *) libmagic=never-match;;
5815 lt_cv_deplibs_check_method=pass_all
5818 # This must be Linux ELF.
5819 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5820 lt_cv_deplibs_check_method=pass_all
5824 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5827 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5832 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5833 lt_cv_file_magic_cmd=/usr/bin/file
5834 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5838 lt_cv_deplibs_check_method=pass_all
5842 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5843 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5845 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5849 osf3* | osf4* | osf5*)
5850 lt_cv_deplibs_check_method=pass_all
5854 lt_cv_deplibs_check_method=pass_all
5858 lt_cv_deplibs_check_method=pass_all
5861 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5862 lt_cv_deplibs_check_method=pass_all
5866 case $host_vendor in
5868 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]'
5869 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5872 lt_cv_deplibs_check_method=pass_all
5875 lt_cv_file_magic_cmd='/bin/file'
5876 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5879 lt_cv_file_magic_cmd='/bin/file'
5880 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5881 lt_cv_file_magic_test_file=/lib/libc.so
5884 lt_cv_deplibs_check_method=pass_all
5887 lt_cv_deplibs_check_method=pass_all
5893 lt_cv_deplibs_check_method=pass_all
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5899 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5903 if test "$build" = "$host"; then
5906 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5909 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5915 file_magic_cmd=$lt_cv_file_magic_cmd
5916 deplibs_check_method=$lt_cv_deplibs_check_method
5917 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5940 if test -n "$ac_tool_prefix"; then
5941 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5942 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_DLLTOOL+:} false; then :
5946 $as_echo_n "(cached) " >&6
5948 if test -n "$DLLTOOL"; then
5949 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 DLLTOOL=$ac_cv_prog_DLLTOOL
5969 if test -n "$DLLTOOL"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5971 $as_echo "$DLLTOOL" >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5979 if test -z "$ac_cv_prog_DLLTOOL"; then
5980 ac_ct_DLLTOOL=$DLLTOOL
5981 # Extract the first word of "dlltool", so it can be a program name with args.
5982 set dummy dlltool; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5986 $as_echo_n "(cached) " >&6
5988 if test -n "$ac_ct_DLLTOOL"; then
5989 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6009 if test -n "$ac_ct_DLLTOOL"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6011 $as_echo "$ac_ct_DLLTOOL" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6017 if test "x$ac_ct_DLLTOOL" = x; then
6020 case $cross_compiling:$ac_tool_warned in
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6024 ac_tool_warned=yes ;;
6026 DLLTOOL=$ac_ct_DLLTOOL
6029 DLLTOOL="$ac_cv_prog_DLLTOOL"
6032 test -z "$DLLTOOL" && DLLTOOL=dlltool
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6044 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6045 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6046 $as_echo_n "(cached) " >&6
6048 lt_cv_sharedlib_from_linklib_cmd='unknown'
6051 cygwin* | mingw* | pw32* | cegcc*)
6052 # two different shell functions defined in ltmain.sh
6053 # decide which to use based on capabilities of $DLLTOOL
6054 case `$DLLTOOL --help 2>&1` in
6055 *--identify-strict*)
6056 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6059 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6064 # fallback: assume linklib IS sharedlib
6065 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6071 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6072 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6073 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6081 if test -n "$ac_tool_prefix"; then
6084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_AR+:} false; then :
6089 $as_echo_n "(cached) " >&6
6091 if test -n "$AR"; then
6092 ac_cv_prog_AR="$AR" # Let the user override the test.
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6101 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 if test -n "$AR"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6114 $as_echo "$AR" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6121 test -n "$AR" && break
6124 if test -z "$AR"; then
6128 # Extract the first word of "$ac_prog", so it can be a program name with args.
6129 set dummy $ac_prog; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6133 $as_echo_n "(cached) " >&6
6135 if test -n "$ac_ct_AR"; then
6136 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_AR="$ac_prog"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6156 if test -n "$ac_ct_AR"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6158 $as_echo "$ac_ct_AR" >&6; }
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6165 test -n "$ac_ct_AR" && break
6168 if test "x$ac_ct_AR" = x; then
6171 case $cross_compiling:$ac_tool_warned in
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6175 ac_tool_warned=yes ;;
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6195 $as_echo_n "checking for archiver @FILE support... " >&6; }
6196 if ${lt_cv_ar_at_file+:} false; then :
6197 $as_echo_n "(cached) " >&6
6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6211 if ac_fn_c_try_compile "$LINENO"; then :
6212 echo conftest.$ac_objext > conftest.lst
6213 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6214 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6215 (eval $lt_ar_try) 2>&5
6217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6218 test $ac_status = 0; }
6219 if test "$ac_status" -eq 0; then
6220 # Ensure the archiver fails upon bogus file names.
6221 rm -f conftest.$ac_objext libconftest.a
6222 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6223 (eval $lt_ar_try) 2>&5
6225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6226 test $ac_status = 0; }
6227 if test "$ac_status" -ne 0; then
6231 rm -f conftest.* libconftest.a
6234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6238 $as_echo "$lt_cv_ar_at_file" >&6; }
6240 if test "x$lt_cv_ar_at_file" = xno; then
6243 archiver_list_spec=$lt_cv_ar_at_file
6252 if test -n "$ac_tool_prefix"; then
6253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}strip; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if ${ac_cv_prog_STRIP+:} false; then :
6258 $as_echo_n "(cached) " >&6
6260 if test -n "$STRIP"; then
6261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 STRIP=$ac_cv_prog_STRIP
6281 if test -n "$STRIP"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6283 $as_echo "$STRIP" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6291 if test -z "$ac_cv_prog_STRIP"; then
6293 # Extract the first word of "strip", so it can be a program name with args.
6294 set dummy strip; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6298 $as_echo_n "(cached) " >&6
6300 if test -n "$ac_ct_STRIP"; then
6301 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310 ac_cv_prog_ac_ct_STRIP="strip"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6321 if test -n "$ac_ct_STRIP"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6323 $as_echo "$ac_ct_STRIP" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6329 if test "x$ac_ct_STRIP" = x; then
6332 case $cross_compiling:$ac_tool_warned in
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6336 ac_tool_warned=yes ;;
6341 STRIP="$ac_cv_prog_STRIP"
6344 test -z "$STRIP" && STRIP=:
6351 if test -n "$ac_tool_prefix"; then
6352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_prog_RANLIB+:} false; then :
6357 $as_echo_n "(cached) " >&6
6359 if test -n "$RANLIB"; then
6360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 RANLIB=$ac_cv_prog_RANLIB
6380 if test -n "$RANLIB"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6382 $as_echo "$RANLIB" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6390 if test -z "$ac_cv_prog_RANLIB"; then
6391 ac_ct_RANLIB=$RANLIB
6392 # Extract the first word of "ranlib", so it can be a program name with args.
6393 set dummy ranlib; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6395 $as_echo_n "checking for $ac_word... " >&6; }
6396 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6397 $as_echo_n "(cached) " >&6
6399 if test -n "$ac_ct_RANLIB"; then
6400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_ac_ct_RANLIB="ranlib"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6420 if test -n "$ac_ct_RANLIB"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6422 $as_echo "$ac_ct_RANLIB" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6428 if test "x$ac_ct_RANLIB" = x; then
6431 case $cross_compiling:$ac_tool_warned in
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6435 ac_tool_warned=yes ;;
6437 RANLIB=$ac_ct_RANLIB
6440 RANLIB="$ac_cv_prog_RANLIB"
6443 test -z "$RANLIB" && RANLIB=:
6450 # Determine commands to create old-style static archives.
6451 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6452 old_postinstall_cmds='chmod 644 $oldlib'
6453 old_postuninstall_cmds=
6455 if test -n "$RANLIB"; then
6458 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6461 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6464 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6469 lock_old_archive_extraction=yes ;;
6471 lock_old_archive_extraction=no ;;
6512 # If no C compiler was specified, use CC.
6515 # If no C compiler flags were specified, use CFLAGS.
6516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6518 # Allow CC to be a program name with arguments.
6522 # Check for command to grab the raw symbol name followed by C symbol from nm.
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6524 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6525 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6526 $as_echo_n "(cached) " >&6
6529 # These are sane defaults that work on at least a few old systems.
6530 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6532 # Character class describing NM global symbol codes.
6533 symcode='[BCDEGRST]'
6535 # Regexp to match symbols that can be accessed directly from C.
6536 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6538 # Define system-specific variables.
6543 cygwin* | mingw* | pw32* | cegcc*)
6544 symcode='[ABCDGISTW]'
6547 if test "$host_cpu" = ia64; then
6548 symcode='[ABCDEGRST]'
6552 symcode='[BCDEGRST]'
6555 symcode='[BCDEGQRST]'
6566 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6574 # If we're using GNU nm, then use its standard symbol codes.
6575 case `$NM -V 2>&1` in
6576 *GNU* | *'with BFD'*)
6577 symcode='[ABCDGIRSTW]' ;;
6580 # Transform an extracted symbol line into a proper C declaration.
6581 # Some systems (esp. on ia64) link data and code symbols differently,
6582 # so use this general approach.
6583 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6585 # Transform an extracted symbol line into symbol name and symbol address
6586 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6587 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'"
6589 # Handle CRLF in mingw tool chain
6593 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6597 # Try without a prefix underscore, then with it.
6598 for ac_symprfx in "" "_"; do
6600 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6601 symxfrm="\\1 $ac_symprfx\\2 \\2"
6603 # Write the raw and C identifiers.
6604 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6605 # Fake it for dumpbin and say T for any non-static function
6606 # and D for any global variable.
6607 # Also find C++ and __fastcall symbols from MSVC++,
6608 # which start with @ or ?.
6609 lt_cv_sys_global_symbol_pipe="$AWK '"\
6610 " {last_section=section; section=\$ 3};"\
6611 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6612 " \$ 0!~/External *\|/{next};"\
6613 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6614 " {if(hide[section]) next};"\
6615 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6616 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6617 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6618 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6619 " ' prfx=^$ac_symprfx"
6621 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6623 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6625 # Check to see that the pipe works correctly.
6629 cat > conftest.$ac_ext <<_LT_EOF
6634 void nm_test_func(void);
6635 void nm_test_func(void){}
6639 int main(){nm_test_var='a';nm_test_func();return(0);}
6642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6643 (eval $ac_compile) 2>&5
6645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646 test $ac_status = 0; }; then
6647 # Now try to grab the symbols.
6649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6650 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6653 test $ac_status = 0; } && test -s "$nlist"; then
6654 # Try sorting and uniquifying the output.
6655 if sort "$nlist" | uniq > "$nlist"T; then
6656 mv -f "$nlist"T "$nlist"
6661 # Make sure that we snagged all the symbols we need.
6662 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6663 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6664 cat <<_LT_EOF > conftest.$ac_ext
6665 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6666 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6667 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6668 relocations are performed -- see ld's documentation on pseudo-relocs. */
6669 # define LT_DLSYM_CONST
6670 #elif defined(__osf__)
6671 /* This system does not cope well with relocations in const data. */
6672 # define LT_DLSYM_CONST
6674 # define LT_DLSYM_CONST const
6682 # Now generate the symbol file.
6683 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6685 cat <<_LT_EOF >> conftest.$ac_ext
6687 /* The mapping between symbol names and symbols. */
6688 LT_DLSYM_CONST struct {
6692 lt__PROGRAM__LTX_preloaded_symbols[] =
6694 { "@PROGRAM@", (void *) 0 },
6696 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6697 cat <<\_LT_EOF >> conftest.$ac_ext
6701 /* This works around a problem in FreeBSD linker */
6702 #ifdef FREEBSD_WORKAROUND
6703 static const void *lt_preloaded_setup() {
6704 return lt__PROGRAM__LTX_preloaded_symbols;
6712 # Now try linking the two files.
6713 mv conftest.$ac_objext conftstm.$ac_objext
6714 lt_globsym_save_LIBS=$LIBS
6715 lt_globsym_save_CFLAGS=$CFLAGS
6716 LIBS="conftstm.$ac_objext"
6717 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6719 (eval $ac_link) 2>&5
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6725 LIBS=$lt_globsym_save_LIBS
6726 CFLAGS=$lt_globsym_save_CFLAGS
6728 echo "cannot find nm_test_func in $nlist" >&5
6731 echo "cannot find nm_test_var in $nlist" >&5
6734 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6737 echo "$progname: failed program was:" >&5
6738 cat conftest.$ac_ext >&5
6740 rm -rf conftest* conftst*
6742 # Do not use the global_symbol_pipe unless it works.
6743 if test "$pipe_works" = yes; then
6746 lt_cv_sys_global_symbol_pipe=
6752 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6753 lt_cv_sys_global_symbol_to_cdecl=
6755 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6757 $as_echo "failed" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6760 $as_echo "ok" >&6; }
6763 # Response file support.
6764 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6765 nm_file_list_spec='@'
6766 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6767 nm_file_list_spec='@'
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6797 $as_echo_n "checking for sysroot... " >&6; }
6799 # Check whether --with-sysroot was given.
6800 if test "${with_sysroot+set}" = set; then :
6801 withval=$with_sysroot;
6808 case ${with_sysroot} in #(
6810 if test "$GCC" = yes; then
6811 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6815 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6821 $as_echo "${with_sysroot}" >&6; }
6822 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6827 $as_echo "${lt_sysroot:-no}" >&6; }
6833 # Check whether --enable-libtool-lock was given.
6834 if test "${enable_libtool_lock+set}" = set; then :
6835 enableval=$enable_libtool_lock;
6838 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6840 # Some flags need to be propagated to the compiler or linker for good
6844 # Find out which ABI we are using.
6845 echo 'int i;' > conftest.$ac_ext
6846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847 (eval $ac_compile) 2>&5
6849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850 test $ac_status = 0; }; then
6851 case `/usr/bin/file conftest.$ac_objext` in
6863 # Find out which ABI we are using.
6864 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6866 (eval $ac_compile) 2>&5
6868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869 test $ac_status = 0; }; then
6870 if test "$lt_cv_prog_gnu_ld" = yes; then
6871 case `/usr/bin/file conftest.$ac_objext` in
6873 LD="${LD-ld} -melf32bsmip"
6876 LD="${LD-ld} -melf32bmipn32"
6879 LD="${LD-ld} -melf64bmip"
6883 case `/usr/bin/file conftest.$ac_objext` in
6899 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6900 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6901 # Find out which ABI we are using.
6902 echo 'int i;' > conftest.$ac_ext
6903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6904 (eval $ac_compile) 2>&5
6906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6907 test $ac_status = 0; }; then
6908 case `/usr/bin/file conftest.o` in
6911 x86_64-*kfreebsd*-gnu)
6912 LD="${LD-ld} -m elf_i386_fbsd"
6915 LD="${LD-ld} -m elf_i386"
6917 ppc64-*linux*|powerpc64-*linux*)
6918 LD="${LD-ld} -m elf32ppclinux"
6921 LD="${LD-ld} -m elf_s390"
6924 LD="${LD-ld} -m elf32_sparc"
6930 x86_64-*kfreebsd*-gnu)
6931 LD="${LD-ld} -m elf_x86_64_fbsd"
6934 LD="${LD-ld} -m elf_x86_64"
6936 ppc*-*linux*|powerpc*-*linux*)
6937 LD="${LD-ld} -m elf64ppc"
6939 s390*-*linux*|s390*-*tpf*)
6940 LD="${LD-ld} -m elf64_s390"
6943 LD="${LD-ld} -m elf64_sparc"
6953 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6954 SAVE_CFLAGS="$CFLAGS"
6955 CFLAGS="$CFLAGS -belf"
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6957 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6958 if ${lt_cv_cc_needs_belf+:} false; then :
6959 $as_echo_n "(cached) " >&6
6962 ac_cpp='$CPP $CPPFLAGS'
6963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6968 /* end confdefs.h. */
6978 if ac_fn_c_try_link "$LINENO"; then :
6979 lt_cv_cc_needs_belf=yes
6981 lt_cv_cc_needs_belf=no
6983 rm -f core conftest.err conftest.$ac_objext \
6984 conftest$ac_exeext conftest.$ac_ext
6986 ac_cpp='$CPP $CPPFLAGS'
6987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6993 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6994 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6995 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6996 CFLAGS="$SAVE_CFLAGS"
7000 # Find out which ABI we are using.
7001 echo 'int i;' > conftest.$ac_ext
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7003 (eval $ac_compile) 2>&5
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; }; then
7007 case `/usr/bin/file conftest.o` in
7009 case $lt_cv_prog_gnu_ld in
7010 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7012 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7024 need_locks="$enable_libtool_lock"
7026 if test -n "$ac_tool_prefix"; then
7027 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7028 set dummy ${ac_tool_prefix}mt; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7032 $as_echo_n "(cached) " >&6
7034 if test -n "$MANIFEST_TOOL"; then
7035 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir=.
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7044 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7055 if test -n "$MANIFEST_TOOL"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7057 $as_echo "$MANIFEST_TOOL" >&6; }
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7065 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7066 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7067 # Extract the first word of "mt", so it can be a program name with args.
7068 set dummy mt; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7072 $as_echo_n "(cached) " >&6
7074 if test -n "$ac_ct_MANIFEST_TOOL"; then
7075 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081 test -z "$as_dir" && as_dir=.
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7095 if test -n "$ac_ct_MANIFEST_TOOL"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7097 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7103 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7106 case $cross_compiling:$ac_tool_warned in
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110 ac_tool_warned=yes ;;
7112 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7115 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7118 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7120 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7121 if ${lt_cv_path_mainfest_tool+:} false; then :
7122 $as_echo_n "(cached) " >&6
7124 lt_cv_path_mainfest_tool=no
7125 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7126 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7127 cat conftest.err >&5
7128 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7129 lt_cv_path_mainfest_tool=yes
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7134 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7135 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7145 rhapsody* | darwin*)
7146 if test -n "$ac_tool_prefix"; then
7147 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7148 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7152 $as_echo_n "(cached) " >&6
7154 if test -n "$DSYMUTIL"; then
7155 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7164 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7175 if test -n "$DSYMUTIL"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7177 $as_echo "$DSYMUTIL" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7185 if test -z "$ac_cv_prog_DSYMUTIL"; then
7186 ac_ct_DSYMUTIL=$DSYMUTIL
7187 # Extract the first word of "dsymutil", so it can be a program name with args.
7188 set dummy dsymutil; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7192 $as_echo_n "(cached) " >&6
7194 if test -n "$ac_ct_DSYMUTIL"; then
7195 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7215 if test -n "$ac_ct_DSYMUTIL"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7217 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7223 if test "x$ac_ct_DSYMUTIL" = x; then
7226 case $cross_compiling:$ac_tool_warned in
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7230 ac_tool_warned=yes ;;
7232 DSYMUTIL=$ac_ct_DSYMUTIL
7235 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7238 if test -n "$ac_tool_prefix"; then
7239 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7240 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 $as_echo_n "checking for $ac_word... " >&6; }
7243 if ${ac_cv_prog_NMEDIT+:} false; then :
7244 $as_echo_n "(cached) " >&6
7246 if test -n "$NMEDIT"; then
7247 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 test -z "$as_dir" && as_dir=.
7254 for ac_exec_ext in '' $ac_executable_extensions; do
7255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7256 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 NMEDIT=$ac_cv_prog_NMEDIT
7267 if test -n "$NMEDIT"; then
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7269 $as_echo "$NMEDIT" >&6; }
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 $as_echo "no" >&6; }
7277 if test -z "$ac_cv_prog_NMEDIT"; then
7278 ac_ct_NMEDIT=$NMEDIT
7279 # Extract the first word of "nmedit", so it can be a program name with args.
7280 set dummy nmedit; ac_word=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 $as_echo_n "checking for $ac_word... " >&6; }
7283 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7284 $as_echo_n "(cached) " >&6
7286 if test -n "$ac_ct_NMEDIT"; then
7287 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 test -z "$as_dir" && as_dir=.
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7307 if test -n "$ac_ct_NMEDIT"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7309 $as_echo "$ac_ct_NMEDIT" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7315 if test "x$ac_ct_NMEDIT" = x; then
7318 case $cross_compiling:$ac_tool_warned in
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7322 ac_tool_warned=yes ;;
7324 NMEDIT=$ac_ct_NMEDIT
7327 NMEDIT="$ac_cv_prog_NMEDIT"
7330 if test -n "$ac_tool_prefix"; then
7331 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7332 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 $as_echo_n "checking for $ac_word... " >&6; }
7335 if ${ac_cv_prog_LIPO+:} false; then :
7336 $as_echo_n "(cached) " >&6
7338 if test -n "$LIPO"; then
7339 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 test -z "$as_dir" && as_dir=.
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7348 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 LIPO=$ac_cv_prog_LIPO
7359 if test -n "$LIPO"; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7361 $as_echo "$LIPO" >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7369 if test -z "$ac_cv_prog_LIPO"; then
7371 # Extract the first word of "lipo", so it can be a program name with args.
7372 set dummy lipo; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7376 $as_echo_n "(cached) " >&6
7378 if test -n "$ac_ct_LIPO"; then
7379 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_ac_ct_LIPO="lipo"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7399 if test -n "$ac_ct_LIPO"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7401 $as_echo "$ac_ct_LIPO" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7407 if test "x$ac_ct_LIPO" = x; then
7410 case $cross_compiling:$ac_tool_warned in
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7414 ac_tool_warned=yes ;;
7419 LIPO="$ac_cv_prog_LIPO"
7422 if test -n "$ac_tool_prefix"; then
7423 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7424 set dummy ${ac_tool_prefix}otool; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_OTOOL+:} false; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$OTOOL"; then
7431 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 OTOOL=$ac_cv_prog_OTOOL
7451 if test -n "$OTOOL"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7453 $as_echo "$OTOOL" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 if test -z "$ac_cv_prog_OTOOL"; then
7463 # Extract the first word of "otool", so it can be a program name with args.
7464 set dummy otool; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7468 $as_echo_n "(cached) " >&6
7470 if test -n "$ac_ct_OTOOL"; then
7471 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_ac_ct_OTOOL="otool"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7491 if test -n "$ac_ct_OTOOL"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7493 $as_echo "$ac_ct_OTOOL" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7499 if test "x$ac_ct_OTOOL" = x; then
7502 case $cross_compiling:$ac_tool_warned in
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506 ac_tool_warned=yes ;;
7511 OTOOL="$ac_cv_prog_OTOOL"
7514 if test -n "$ac_tool_prefix"; then
7515 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7516 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518 $as_echo_n "checking for $ac_word... " >&6; }
7519 if ${ac_cv_prog_OTOOL64+:} false; then :
7520 $as_echo_n "(cached) " >&6
7522 if test -n "$OTOOL64"; then
7523 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7532 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 OTOOL64=$ac_cv_prog_OTOOL64
7543 if test -n "$OTOOL64"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7545 $as_echo "$OTOOL64" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7553 if test -z "$ac_cv_prog_OTOOL64"; then
7554 ac_ct_OTOOL64=$OTOOL64
7555 # Extract the first word of "otool64", so it can be a program name with args.
7556 set dummy otool64; ac_word=$2
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558 $as_echo_n "checking for $ac_word... " >&6; }
7559 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7560 $as_echo_n "(cached) " >&6
7562 if test -n "$ac_ct_OTOOL64"; then
7563 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7572 ac_cv_prog_ac_ct_OTOOL64="otool64"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7583 if test -n "$ac_ct_OTOOL64"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7585 $as_echo "$ac_ct_OTOOL64" >&6; }
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588 $as_echo "no" >&6; }
7591 if test "x$ac_ct_OTOOL64" = x; then
7594 case $cross_compiling:$ac_tool_warned in
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7598 ac_tool_warned=yes ;;
7600 OTOOL64=$ac_ct_OTOOL64
7603 OTOOL64="$ac_cv_prog_OTOOL64"
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7633 $as_echo_n "checking for -single_module linker flag... " >&6; }
7634 if ${lt_cv_apple_cc_single_mod+:} false; then :
7635 $as_echo_n "(cached) " >&6
7637 lt_cv_apple_cc_single_mod=no
7638 if test -z "${LT_MULTI_MODULE}"; then
7639 # By default we will add the -single_module flag. You can override
7640 # by either setting the environment variable LT_MULTI_MODULE
7641 # non-empty at configure time, or by adding -multi_module to the
7643 rm -rf libconftest.dylib*
7644 echo "int foo(void){return 1;}" > conftest.c
7645 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7646 -dynamiclib -Wl,-single_module conftest.c" >&5
7647 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7648 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7650 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7651 lt_cv_apple_cc_single_mod=yes
7653 cat conftest.err >&5
7655 rm -rf libconftest.dylib*
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7660 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7662 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7663 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7664 $as_echo_n "(cached) " >&6
7666 lt_cv_ld_exported_symbols_list=no
7667 save_LDFLAGS=$LDFLAGS
7668 echo "_main" > conftest.sym
7669 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7681 if ac_fn_c_try_link "$LINENO"; then :
7682 lt_cv_ld_exported_symbols_list=yes
7684 lt_cv_ld_exported_symbols_list=no
7686 rm -f core conftest.err conftest.$ac_objext \
7687 conftest$ac_exeext conftest.$ac_ext
7688 LDFLAGS="$save_LDFLAGS"
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7692 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7694 $as_echo_n "checking for -force_load linker flag... " >&6; }
7695 if ${lt_cv_ld_force_load+:} false; then :
7696 $as_echo_n "(cached) " >&6
7698 lt_cv_ld_force_load=no
7699 cat > conftest.c << _LT_EOF
7700 int forced_loaded() { return 2;}
7702 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7703 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7704 echo "$AR cru libconftest.a conftest.o" >&5
7705 $AR cru libconftest.a conftest.o 2>&5
7706 echo "$RANLIB libconftest.a" >&5
7707 $RANLIB libconftest.a 2>&5
7708 cat > conftest.c << _LT_EOF
7709 int main() { return 0;}
7711 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7712 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7714 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7715 lt_cv_ld_force_load=yes
7717 cat conftest.err >&5
7719 rm -f conftest.err libconftest.a conftest conftest.c
7720 rm -rf conftest.dSYM
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7724 $as_echo "$lt_cv_ld_force_load" >&6; }
7726 rhapsody* | darwin1.[012])
7727 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7729 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7730 darwin*) # darwin 5.x on
7731 # if running on 10.5 or later, the deployment target defaults
7732 # to the OS version, if on x86, and 10.4, the deployment
7733 # target defaults to 10.4. Don't you love it?
7734 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7735 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7736 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7738 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7740 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7744 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7745 _lt_dar_single_mod='$single_module'
7747 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7748 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7750 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7752 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7753 _lt_dsymutil='~$DSYMUTIL $lib || :'
7760 for ac_header in dlfcn.h
7762 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7764 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_DLFCN_H 1
7778 # Check whether --enable-static was given.
7779 if test "${enable_static+set}" = set; then :
7780 enableval=$enable_static; p=${PACKAGE-default}
7782 yes) enable_static=yes ;;
7783 no) enable_static=no ;;
7786 # Look at the argument we got. We use all the common list separators.
7787 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7788 for pkg in $enableval; do
7790 if test "X$pkg" = "X$p"; then
7815 # Check whether --enable-shared was given.
7816 if test "${enable_shared+set}" = set; then :
7817 enableval=$enable_shared; p=${PACKAGE-default}
7819 yes) enable_shared=yes ;;
7820 no) enable_shared=no ;;
7823 # Look at the argument we got. We use all the common list separators.
7824 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7825 for pkg in $enableval; do
7827 if test "X$pkg" = "X$p"; then
7848 # Check whether --with-pic was given.
7849 if test "${with_pic+set}" = set; then :
7850 withval=$with_pic; pic_mode="$withval"
7856 test -z "$pic_mode" && pic_mode=default
7864 # Check whether --enable-fast-install was given.
7865 if test "${enable_fast_install+set}" = set; then :
7866 enableval=$enable_fast_install; p=${PACKAGE-default}
7868 yes) enable_fast_install=yes ;;
7869 no) enable_fast_install=no ;;
7871 enable_fast_install=no
7872 # Look at the argument we got. We use all the common list separators.
7873 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7874 for pkg in $enableval; do
7876 if test "X$pkg" = "X$p"; then
7877 enable_fast_install=yes
7884 enable_fast_install=yes
7897 # This can be used to rebuild libtool when needed
7898 LIBTOOL_DEPS="$ltmain"
7900 # Always use our own libtool.
7901 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7928 test -z "$LN_S" && LN_S="ln -s"
7943 if test -n "${ZSH_VERSION+set}" ; then
7944 setopt NO_GLOB_SUBST
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7948 $as_echo_n "checking for objdir... " >&6; }
7949 if ${lt_cv_objdir+:} false; then :
7950 $as_echo_n "(cached) " >&6
7952 rm -f .libs 2>/dev/null
7953 mkdir .libs 2>/dev/null
7954 if test -d .libs; then
7957 # MS-DOS does not allow filenames that begin with a dot.
7960 rmdir .libs 2>/dev/null
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7963 $as_echo "$lt_cv_objdir" >&6; }
7964 objdir=$lt_cv_objdir
7970 cat >>confdefs.h <<_ACEOF
7971 #define LT_OBJDIR "$lt_cv_objdir/"
7979 # AIX sometimes has problems with the GCC collect2 program. For some
7980 # reason, if we set the COLLECT_NAMES environment variable, the problems
7981 # vanish in a puff of smoke.
7982 if test "X${COLLECT_NAMES+set}" != Xset; then
7984 export COLLECT_NAMES
7991 can_build_shared=yes
7993 # All known linkers require a `.a' archive for static linking (except MSVC,
7994 # which needs '.lib').
7997 with_gnu_ld="$lt_cv_prog_gnu_ld"
8000 old_CFLAGS="$CFLAGS"
8002 # Set sane defaults for various variables
8003 test -z "$CC" && CC=cc
8004 test -z "$LTCC" && LTCC=$CC
8005 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8006 test -z "$LD" && LD=ld
8007 test -z "$ac_objext" && ac_objext=o
8009 for cc_temp in $compiler""; do
8011 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8012 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8017 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8020 # Only perform the check for file, if the check method requires it
8021 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8022 case $deplibs_check_method in
8024 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8026 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8027 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8028 $as_echo_n "(cached) " >&6
8032 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8035 lt_save_MAGIC_CMD="$MAGIC_CMD"
8036 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8037 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8038 for ac_dir in $ac_dummy; do
8040 test -z "$ac_dir" && ac_dir=.
8041 if test -f $ac_dir/${ac_tool_prefix}file; then
8042 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8043 if test -n "$file_magic_test_file"; then
8044 case $deplibs_check_method in
8046 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8047 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8048 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8049 $EGREP "$file_magic_regex" > /dev/null; then
8054 *** Warning: the command libtool uses to detect shared libraries,
8055 *** $file_magic_cmd, produces output that libtool cannot recognize.
8056 *** The result is that libtool may fail to recognize shared libraries
8057 *** as such. This will affect the creation of libtool libraries that
8058 *** depend on shared libraries, but programs linked with such libtool
8059 *** libraries will work regardless of this problem. Nevertheless, you
8060 *** may want to report the problem to your system manager and/or to
8061 *** bug-libtool@gnu.org
8071 MAGIC_CMD="$lt_save_MAGIC_CMD"
8076 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8077 if test -n "$MAGIC_CMD"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8079 $as_echo "$MAGIC_CMD" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8089 if test -z "$lt_cv_path_MAGIC_CMD"; then
8090 if test -n "$ac_tool_prefix"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8092 $as_echo_n "checking for file... " >&6; }
8093 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8094 $as_echo_n "(cached) " >&6
8098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8101 lt_save_MAGIC_CMD="$MAGIC_CMD"
8102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8103 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8104 for ac_dir in $ac_dummy; do
8106 test -z "$ac_dir" && ac_dir=.
8107 if test -f $ac_dir/file; then
8108 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8109 if test -n "$file_magic_test_file"; then
8110 case $deplibs_check_method in
8112 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8114 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8115 $EGREP "$file_magic_regex" > /dev/null; then
8120 *** Warning: the command libtool uses to detect shared libraries,
8121 *** $file_magic_cmd, produces output that libtool cannot recognize.
8122 *** The result is that libtool may fail to recognize shared libraries
8123 *** as such. This will affect the creation of libtool libraries that
8124 *** depend on shared libraries, but programs linked with such libtool
8125 *** libraries will work regardless of this problem. Nevertheless, you
8126 *** may want to report the problem to your system manager and/or to
8127 *** bug-libtool@gnu.org
8137 MAGIC_CMD="$lt_save_MAGIC_CMD"
8142 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8143 if test -n "$MAGIC_CMD"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8145 $as_echo "$MAGIC_CMD" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8161 # Use C for the default configuration in the libtool script
8165 ac_cpp='$CPP $CPPFLAGS'
8166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8171 # Source file extension for C test sources.
8174 # Object file extension for compiled C test sources.
8178 # Code to be used in simple compile tests
8179 lt_simple_compile_test_code="int some_variable = 0;"
8181 # Code to be used in simple link tests
8182 lt_simple_link_test_code='int main(){return(0);}'
8190 # If no C compiler was specified, use CC.
8193 # If no C compiler flags were specified, use CFLAGS.
8194 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8196 # Allow CC to be a program name with arguments.
8199 # Save the default compiler, since it gets overwritten when the other
8200 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8201 compiler_DEFAULT=$CC
8203 # save warnings/boilerplate of simple test code
8204 ac_outfile=conftest.$ac_objext
8205 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8206 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8207 _lt_compiler_boilerplate=`cat conftest.err`
8210 ac_outfile=conftest.$ac_objext
8211 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8212 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8213 _lt_linker_boilerplate=`cat conftest.err`
8217 if test -n "$compiler"; then
8219 lt_prog_compiler_no_builtin_flag=
8221 if test "$GCC" = yes; then
8222 case $cc_basename in
8224 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8226 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8230 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8231 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8232 $as_echo_n "(cached) " >&6
8234 lt_cv_prog_compiler_rtti_exceptions=no
8235 ac_outfile=conftest.$ac_objext
8236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8237 lt_compiler_flag="-fno-rtti -fno-exceptions"
8238 # Insert the option either (1) after the last *FLAGS variable, or
8239 # (2) before a word containing "conftest.", or (3) at the end.
8240 # Note that $ac_compile itself does not contain backslashes and begins
8241 # with a dollar sign (not a hyphen), so the echo should work correctly.
8242 # The option is referenced via a variable to avoid confusing sed.
8243 lt_compile=`echo "$ac_compile" | $SED \
8244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8246 -e 's:$: $lt_compiler_flag:'`
8247 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8248 (eval "$lt_compile" 2>conftest.err)
8250 cat conftest.err >&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 if (exit $ac_status) && test -s "$ac_outfile"; then
8253 # The compiler can only warn and ignore the option if not recognized
8254 # So say no if there are warnings other than the usual output.
8255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8257 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8258 lt_cv_prog_compiler_rtti_exceptions=yes
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8265 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8267 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8268 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8280 lt_prog_compiler_wl=
8281 lt_prog_compiler_pic=
8282 lt_prog_compiler_static=
8285 if test "$GCC" = yes; then
8286 lt_prog_compiler_wl='-Wl,'
8287 lt_prog_compiler_static='-static'
8291 # All AIX code is PIC.
8292 if test "$host_cpu" = ia64; then
8293 # AIX 5 now supports IA64 processor
8294 lt_prog_compiler_static='-Bstatic'
8301 # see comment about AmigaOS4 .so support
8302 lt_prog_compiler_pic='-fPIC'
8305 # FIXME: we need at least 68020 code to build shared libraries, but
8306 # adding the `-m68020' flag to GCC prevents building anything better,
8308 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8313 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8314 # PIC is the default for these OSes.
8317 mingw* | cygwin* | pw32* | os2* | cegcc*)
8318 # This hack is so that the source file can tell whether it is being
8319 # built for inclusion in a dll (and should export symbols for example).
8320 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8321 # (--disable-auto-import) libraries
8322 lt_prog_compiler_pic='-DDLL_EXPORT'
8325 darwin* | rhapsody*)
8326 # PIC is the default on this platform
8327 # Common symbols not allowed in MH_DYLIB files
8328 lt_prog_compiler_pic='-fno-common'
8332 # PIC is the default for Haiku.
8333 # The "-static" flag exists, but is broken.
8334 lt_prog_compiler_static=
8338 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8339 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8340 # sets the default TLS model and affects inlining.
8346 lt_prog_compiler_pic='-fPIC'
8352 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8353 # Instead, we relocate shared libraries at runtime.
8357 # Just because we use GCC doesn't mean we suddenly get shared libraries
8358 # on systems that don't support them.
8359 lt_prog_compiler_can_build_shared=no
8364 # QNX uses GNU C++, but need to define -shared option too, otherwise
8366 lt_prog_compiler_pic='-fPIC -shared'
8370 if test -d /usr/nec; then
8371 lt_prog_compiler_pic=-Kconform_pic
8376 lt_prog_compiler_pic='-fPIC'
8380 case $cc_basename in
8381 nvcc*) # Cuda Compiler Driver 2.2
8382 lt_prog_compiler_wl='-Xlinker '
8383 lt_prog_compiler_pic='-Xcompiler -fPIC'
8387 # PORTME Check for flag to pass linker flags through the system compiler.
8390 lt_prog_compiler_wl='-Wl,'
8391 if test "$host_cpu" = ia64; then
8392 # AIX 5 now supports IA64 processor
8393 lt_prog_compiler_static='-Bstatic'
8395 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8399 mingw* | cygwin* | pw32* | os2* | cegcc*)
8400 # This hack is so that the source file can tell whether it is being
8401 # built for inclusion in a dll (and should export symbols for example).
8402 lt_prog_compiler_pic='-DDLL_EXPORT'
8405 hpux9* | hpux10* | hpux11*)
8406 lt_prog_compiler_wl='-Wl,'
8407 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8414 lt_prog_compiler_pic='+Z'
8417 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8418 lt_prog_compiler_static='${wl}-a ${wl}archive'
8421 irix5* | irix6* | nonstopux*)
8422 lt_prog_compiler_wl='-Wl,'
8423 # PIC (with -KPIC) is the default.
8424 lt_prog_compiler_static='-non_shared'
8427 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8428 case $cc_basename in
8429 # old Intel for x86_64 which still supported -KPIC.
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='-KPIC'
8433 lt_prog_compiler_static='-static'
8435 # icc used to be incompatible with GCC.
8436 # ICC 10 doesn't accept -KPIC any more.
8438 lt_prog_compiler_wl='-Wl,'
8439 lt_prog_compiler_pic='-fPIC'
8440 lt_prog_compiler_static='-static'
8442 # Lahey Fortran 8.1.
8444 lt_prog_compiler_wl='-Wl,'
8445 lt_prog_compiler_pic='--shared'
8446 lt_prog_compiler_static='--static'
8449 # NAG Fortran compiler
8450 lt_prog_compiler_wl='-Wl,-Wl,,'
8451 lt_prog_compiler_pic='-PIC'
8452 lt_prog_compiler_static='-Bstatic'
8454 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8455 # Portland Group compilers (*not* the Pentium gcc compiler,
8456 # which looks to be a dead project)
8457 lt_prog_compiler_wl='-Wl,'
8458 lt_prog_compiler_pic='-fpic'
8459 lt_prog_compiler_static='-Bstatic'
8462 lt_prog_compiler_wl='-Wl,'
8463 # All Alpha code is PIC.
8464 lt_prog_compiler_static='-non_shared'
8466 xl* | bgxl* | bgf* | mpixl*)
8467 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_pic='-qpic'
8470 lt_prog_compiler_static='-qstaticlink'
8473 case `$CC -V 2>&1 | sed 5q` in
8474 *Sun\ F* | *Sun*Fortran*)
8475 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8476 lt_prog_compiler_pic='-KPIC'
8477 lt_prog_compiler_static='-Bstatic'
8478 lt_prog_compiler_wl=''
8482 lt_prog_compiler_pic='-KPIC'
8483 lt_prog_compiler_static='-Bstatic'
8484 lt_prog_compiler_wl='-Wl,'
8492 lt_prog_compiler_pic='-KPIC'
8493 lt_prog_compiler_static='-Bstatic'
8497 # QNX uses GNU C++, but need to define -shared option too, otherwise
8499 lt_prog_compiler_pic='-fPIC -shared'
8502 osf3* | osf4* | osf5*)
8503 lt_prog_compiler_wl='-Wl,'
8504 # All OSF/1 code is PIC.
8505 lt_prog_compiler_static='-non_shared'
8509 lt_prog_compiler_static='-non_shared'
8513 lt_prog_compiler_pic='-KPIC'
8514 lt_prog_compiler_static='-Bstatic'
8515 case $cc_basename in
8516 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8517 lt_prog_compiler_wl='-Qoption ld ';;
8519 lt_prog_compiler_wl='-Wl,';;
8524 lt_prog_compiler_wl='-Qoption ld '
8525 lt_prog_compiler_pic='-PIC'
8526 lt_prog_compiler_static='-Bstatic'
8529 sysv4 | sysv4.2uw2* | sysv4.3*)
8530 lt_prog_compiler_wl='-Wl,'
8531 lt_prog_compiler_pic='-KPIC'
8532 lt_prog_compiler_static='-Bstatic'
8536 if test -d /usr/nec ;then
8537 lt_prog_compiler_pic='-Kconform_pic'
8538 lt_prog_compiler_static='-Bstatic'
8542 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8543 lt_prog_compiler_wl='-Wl,'
8544 lt_prog_compiler_pic='-KPIC'
8545 lt_prog_compiler_static='-Bstatic'
8549 lt_prog_compiler_wl='-Wl,'
8550 lt_prog_compiler_can_build_shared=no
8554 lt_prog_compiler_pic='-pic'
8555 lt_prog_compiler_static='-Bstatic'
8559 lt_prog_compiler_can_build_shared=no
8565 # For platforms which do not support PIC, -DPIC is meaningless:
8567 lt_prog_compiler_pic=
8570 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8575 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8576 if ${lt_cv_prog_compiler_pic+:} false; then :
8577 $as_echo_n "(cached) " >&6
8579 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8582 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8583 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8586 # Check to make sure the PIC flag actually works.
8588 if test -n "$lt_prog_compiler_pic"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8590 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8591 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8592 $as_echo_n "(cached) " >&6
8594 lt_cv_prog_compiler_pic_works=no
8595 ac_outfile=conftest.$ac_objext
8596 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8597 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8598 # Insert the option either (1) after the last *FLAGS variable, or
8599 # (2) before a word containing "conftest.", or (3) at the end.
8600 # Note that $ac_compile itself does not contain backslashes and begins
8601 # with a dollar sign (not a hyphen), so the echo should work correctly.
8602 # The option is referenced via a variable to avoid confusing sed.
8603 lt_compile=`echo "$ac_compile" | $SED \
8604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8606 -e 's:$: $lt_compiler_flag:'`
8607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8608 (eval "$lt_compile" 2>conftest.err)
8610 cat conftest.err >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 if (exit $ac_status) && test -s "$ac_outfile"; then
8613 # The compiler can only warn and ignore the option if not recognized
8614 # So say no if there are warnings other than the usual output.
8615 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8616 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8617 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8618 lt_cv_prog_compiler_pic_works=yes
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8625 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8627 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8628 case $lt_prog_compiler_pic in
8630 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8633 lt_prog_compiler_pic=
8634 lt_prog_compiler_can_build_shared=no
8650 # Check to make sure the static flag actually works.
8652 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8654 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8655 if ${lt_cv_prog_compiler_static_works+:} false; then :
8656 $as_echo_n "(cached) " >&6
8658 lt_cv_prog_compiler_static_works=no
8659 save_LDFLAGS="$LDFLAGS"
8660 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8661 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8662 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8663 # The linker can only warn and ignore the option if not recognized
8664 # So say no if there are warnings
8665 if test -s conftest.err; then
8666 # Append any errors to the config.log.
8667 cat conftest.err 1>&5
8668 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8669 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8670 if diff conftest.exp conftest.er2 >/dev/null; then
8671 lt_cv_prog_compiler_static_works=yes
8674 lt_cv_prog_compiler_static_works=yes
8678 LDFLAGS="$save_LDFLAGS"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8682 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8684 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8687 lt_prog_compiler_static=
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8697 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8698 if ${lt_cv_prog_compiler_c_o+:} false; then :
8699 $as_echo_n "(cached) " >&6
8701 lt_cv_prog_compiler_c_o=no
8702 $RM -r conftest 2>/dev/null
8706 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8708 lt_compiler_flag="-o out/conftest2.$ac_objext"
8709 # Insert the option either (1) after the last *FLAGS variable, or
8710 # (2) before a word containing "conftest.", or (3) at the end.
8711 # Note that $ac_compile itself does not contain backslashes and begins
8712 # with a dollar sign (not a hyphen), so the echo should work correctly.
8713 lt_compile=`echo "$ac_compile" | $SED \
8714 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8715 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8716 -e 's:$: $lt_compiler_flag:'`
8717 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8718 (eval "$lt_compile" 2>out/conftest.err)
8720 cat out/conftest.err >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8724 # The compiler can only warn and ignore the option if not recognized
8725 # So say no if there are warnings
8726 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8727 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8728 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8729 lt_cv_prog_compiler_c_o=yes
8734 # SGI C++ compiler will create directory out/ii_files/ for
8735 # template instantiation
8736 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8737 $RM out/* && rmdir out
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8744 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8752 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8753 if ${lt_cv_prog_compiler_c_o+:} false; then :
8754 $as_echo_n "(cached) " >&6
8756 lt_cv_prog_compiler_c_o=no
8757 $RM -r conftest 2>/dev/null
8761 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8763 lt_compiler_flag="-o out/conftest2.$ac_objext"
8764 # Insert the option either (1) after the last *FLAGS variable, or
8765 # (2) before a word containing "conftest.", or (3) at the end.
8766 # Note that $ac_compile itself does not contain backslashes and begins
8767 # with a dollar sign (not a hyphen), so the echo should work correctly.
8768 lt_compile=`echo "$ac_compile" | $SED \
8769 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8770 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8771 -e 's:$: $lt_compiler_flag:'`
8772 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8773 (eval "$lt_compile" 2>out/conftest.err)
8775 cat out/conftest.err >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8779 # The compiler can only warn and ignore the option if not recognized
8780 # So say no if there are warnings
8781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8782 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8783 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8784 lt_cv_prog_compiler_c_o=yes
8789 # SGI C++ compiler will create directory out/ii_files/ for
8790 # template instantiation
8791 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8792 $RM out/* && rmdir out
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8799 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8804 hard_links="nottested"
8805 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8806 # do not overwrite the value of need_locks provided by the user
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8808 $as_echo_n "checking if we can lock with hard links... " >&6; }
8811 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8813 ln conftest.a conftest.b 2>&5 || hard_links=no
8814 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8816 $as_echo "$hard_links" >&6; }
8817 if test "$hard_links" = no; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8819 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8832 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8835 allow_undefined_flag=
8836 always_export_symbols=no
8838 archive_expsym_cmds=
8839 compiler_needs_object=no
8840 enable_shared_with_static_runtimes=no
8841 export_dynamic_flag_spec=
8842 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8843 hardcode_automatic=no
8845 hardcode_direct_absolute=no
8846 hardcode_libdir_flag_spec=
8847 hardcode_libdir_flag_spec_ld=
8848 hardcode_libdir_separator=
8850 hardcode_shlibpath_var=unsupported
8852 link_all_deplibs=unknown
8855 old_archive_from_new_cmds=
8856 old_archive_from_expsyms_cmds=
8857 thread_safe_flag_spec=
8858 whole_archive_flag_spec=
8859 # include_expsyms should be a list of space-separated symbols to be *always*
8860 # included in the symbol list
8862 # exclude_expsyms can be an extended regexp of symbols to exclude
8863 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8864 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8865 # as well as any symbol that contains `d'.
8866 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8867 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8868 # platforms (ab)use it in PIC code, but their linkers get confused if
8869 # the symbol is explicitly referenced. Since portable code cannot
8870 # rely on this symbol name, it's probably fine to never include it in
8871 # preloaded symbol tables.
8872 # Exclude shared library initialization/finalization symbols.
8873 extract_expsyms_cmds=
8876 cygwin* | mingw* | pw32* | cegcc*)
8877 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8878 # When not using gcc, we currently assume that we are using
8879 # Microsoft Visual C++.
8880 if test "$GCC" != yes; then
8885 # we just hope/assume this is gcc and not c89 (= MSVC++)
8895 # On some targets, GNU ld is compatible enough with the native linker
8896 # that we're better off using the native interface for both.
8897 lt_use_gnu_ld_interface=no
8898 if test "$with_gnu_ld" = yes; then
8901 # The AIX port of GNU ld has always aspired to compatibility
8902 # with the native linker. However, as the warning in the GNU ld
8903 # block says, versions before 2.19.5* couldn't really create working
8904 # shared libraries, regardless of the interface used.
8905 case `$LD -v 2>&1` in
8906 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8907 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8908 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8910 lt_use_gnu_ld_interface=yes
8915 lt_use_gnu_ld_interface=yes
8920 if test "$lt_use_gnu_ld_interface" = yes; then
8921 # If archive_cmds runs LD, not CC, wlarc should be empty
8924 # Set some defaults for GNU ld with shared library support. These
8925 # are reset later if shared libraries are not supported. Putting them
8926 # here allows them to be overridden if necessary.
8927 runpath_var=LD_RUN_PATH
8928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8929 export_dynamic_flag_spec='${wl}--export-dynamic'
8930 # ancient GNU ld didn't support --whole-archive et. al.
8931 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8932 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8934 whole_archive_flag_spec=
8936 supports_anon_versioning=no
8937 case `$LD -v 2>&1` in
8938 *GNU\ gold*) supports_anon_versioning=yes ;;
8939 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8940 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8941 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8942 *\ 2.11.*) ;; # other 2.11 versions
8943 *) supports_anon_versioning=yes ;;
8946 # See if GNU ld supports shared libraries.
8949 # On AIX/PPC, the GNU linker is very broken
8950 if test "$host_cpu" != ia64; then
8954 *** Warning: the GNU linker, at least up to release 2.19, is reported
8955 *** to be unable to reliably create shared libraries on AIX.
8956 *** Therefore, libtool is disabling shared libraries support. If you
8957 *** really care for shared libraries, you may want to install binutils
8958 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8959 *** You will then need to restart the configuration process.
8968 # see comment about AmigaOS4 .so support
8969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 archive_expsym_cmds=''
8973 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)'
8974 hardcode_libdir_flag_spec='-L$libdir'
8975 hardcode_minus_L=yes
8981 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8982 allow_undefined_flag=unsupported
8983 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8984 # support --undefined. This deserves some investigation. FIXME
8985 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8991 cygwin* | mingw* | pw32* | cegcc*)
8992 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8993 # as there is no search path for DLLs.
8994 hardcode_libdir_flag_spec='-L$libdir'
8995 export_dynamic_flag_spec='${wl}--export-all-symbols'
8996 allow_undefined_flag=unsupported
8997 always_export_symbols=no
8998 enable_shared_with_static_runtimes=yes
8999 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9000 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9002 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9003 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9004 # If the export-symbols file already is a .def file (1st line
9005 # is EXPORTS), use it as is; otherwise, prepend...
9006 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9007 cp $export_symbols $output_objdir/$soname.def;
9009 echo EXPORTS > $output_objdir/$soname.def;
9010 cat $export_symbols >> $output_objdir/$soname.def;
9012 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9020 link_all_deplibs=yes
9025 hardcode_shlibpath_var=no
9026 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9027 export_dynamic_flag_spec='${wl}-E'
9028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9029 # Instead, shared libraries are loaded at an image base (0x10000000 by
9030 # default) and relocated if they conflict, which is a slow very memory
9031 # consuming and fragmenting process. To avoid this, we pick a random,
9032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9034 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9035 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'
9038 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9040 if test "$host_os" = linux-dietlibc; then
9041 case $cc_basename in
9042 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9045 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9046 && test "$tmp_diet" = no
9048 tmp_addflag=' $pic_flag'
9049 tmp_sharedflag='-shared'
9050 case $cc_basename,$host_cpu in
9051 pgcc*) # Portland Group C compiler
9052 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9053 tmp_addflag=' $pic_flag'
9055 pgf77* | pgf90* | pgf95* | pgfortran*)
9056 # Portland Group f77 and f90 compilers
9057 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9058 tmp_addflag=' $pic_flag -Mnomain' ;;
9059 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9060 tmp_addflag=' -i_dynamic' ;;
9061 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9062 tmp_addflag=' -i_dynamic -nofor_main' ;;
9063 ifc* | ifort*) # Intel Fortran compiler
9064 tmp_addflag=' -nofor_main' ;;
9065 lf95*) # Lahey Fortran 8.1
9066 whole_archive_flag_spec=
9067 tmp_sharedflag='--shared' ;;
9068 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9069 tmp_sharedflag='-qmkshrobj'
9071 nvcc*) # Cuda Compiler Driver 2.2
9072 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9073 compiler_needs_object=yes
9076 case `$CC -V 2>&1 | sed 5q` in
9077 *Sun\ C*) # Sun C 5.9
9078 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9079 compiler_needs_object=yes
9080 tmp_sharedflag='-G' ;;
9081 *Sun\ F*) # Sun Fortran 8.3
9082 tmp_sharedflag='-G' ;;
9084 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9086 if test "x$supports_anon_versioning" = xyes; then
9087 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9088 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9089 echo "local: *; };" >> $output_objdir/$libname.ver~
9090 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9093 case $cc_basename in
9094 xlf* | bgf* | bgxlf* | mpixlf*)
9095 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9096 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9097 hardcode_libdir_flag_spec=
9098 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9099 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9100 if test "x$supports_anon_versioning" = xyes; then
9101 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9102 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9103 echo "local: *; };" >> $output_objdir/$libname.ver~
9104 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9114 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9115 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9118 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9124 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9128 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9129 *** create shared libraries on Solaris systems. Therefore, libtool
9130 *** is disabling shared libraries support. We urge you to upgrade GNU
9131 *** binutils to release 2.9.1 or newer. Another option is to modify
9132 *** your PATH or compiler configuration so that the native linker is
9133 *** used, and then restart.
9136 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9137 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9144 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9145 case `$LD -v 2>&1` in
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9150 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9151 *** reliably create shared libraries on SCO systems. Therefore, libtool
9152 *** is disabling shared libraries support. We urge you to upgrade GNU
9153 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9154 *** your PATH or compiler configuration so that the native linker is
9155 *** used, and then restart.
9160 # For security reasons, it is highly recommended that you always
9161 # use absolute paths for naming shared libraries, and exclude the
9162 # DT_RUNPATH tag from executables and libraries. But doing so
9163 # requires that you compile everything twice, which is a pain.
9164 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9165 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9166 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9176 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9179 hardcode_shlibpath_var=no
9183 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9184 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9185 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9192 if test "$ld_shlibs" = no; then
9194 hardcode_libdir_flag_spec=
9195 export_dynamic_flag_spec=
9196 whole_archive_flag_spec=
9199 # PORTME fill in a description of your system's linker (not GNU ld)
9202 allow_undefined_flag=unsupported
9203 always_export_symbols=yes
9204 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'
9205 # Note: this linker hardcodes the directories in LIBPATH if there
9206 # are no directories specified by -L.
9207 hardcode_minus_L=yes
9208 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9209 # Neither direct hardcoding nor static linking is supported with a
9211 hardcode_direct=unsupported
9216 if test "$host_cpu" = ia64; then
9217 # On IA64, the linker does run time linking by default, so we don't
9218 # have to do anything special.
9219 aix_use_runtimelinking=no
9220 exp_sym_flag='-Bexport'
9223 # If we're using GNU nm, then we don't want the "-C" option.
9224 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9225 # Also, AIX nm treats weak defined symbols like other global
9226 # defined symbols, whereas GNU nm marks them as "W".
9227 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9228 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9230 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'
9232 aix_use_runtimelinking=no
9234 # Test if we are trying to use run time linking or normal
9235 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9236 # need to do runtime linking.
9237 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9238 for ld_flag in $LDFLAGS; do
9239 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9240 aix_use_runtimelinking=yes
9247 exp_sym_flag='-bexport'
9248 no_entry_flag='-bnoentry'
9251 # When large executables or shared objects are built, AIX ld can
9252 # have problems creating the table of contents. If linking a library
9253 # or program results in "error TOC overflow" add -mminimal-toc to
9254 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9255 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9259 hardcode_direct_absolute=yes
9260 hardcode_libdir_separator=':'
9261 link_all_deplibs=yes
9262 file_list_spec='${wl}-f,'
9264 if test "$GCC" = yes; then
9265 case $host_os in aix4.[012]|aix4.[012].*)
9266 # We only want to do this on AIX 4.2 and lower, the check
9267 # below for broken collect2 doesn't work under 4.3+
9268 collect2name=`${CC} -print-prog-name=collect2`
9269 if test -f "$collect2name" &&
9270 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9272 # We have reworked collect2
9275 # We have old collect2
9276 hardcode_direct=unsupported
9277 # It fails to find uninstalled libraries when the uninstalled
9278 # path is not listed in the libpath. Setting hardcode_minus_L
9279 # to unsupported forces relinking
9280 hardcode_minus_L=yes
9281 hardcode_libdir_flag_spec='-L$libdir'
9282 hardcode_libdir_separator=
9286 shared_flag='-shared'
9287 if test "$aix_use_runtimelinking" = yes; then
9288 shared_flag="$shared_flag "'${wl}-G'
9292 if test "$host_cpu" = ia64; then
9293 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294 # chokes on -Wl,-G. The following line is correct:
9297 if test "$aix_use_runtimelinking" = yes; then
9298 shared_flag='${wl}-G'
9300 shared_flag='${wl}-bM:SRE'
9305 export_dynamic_flag_spec='${wl}-bexpall'
9306 # It seems that -bexpall does not export symbols beginning with
9307 # underscore (_), so it is better to generate a list of symbols to export.
9308 always_export_symbols=yes
9309 if test "$aix_use_runtimelinking" = yes; then
9310 # Warning - without using the other runtime loading flags (-brtl),
9311 # -berok will link without error, but may produce a broken library.
9312 allow_undefined_flag='-berok'
9313 # Determine the default libpath from the value encoded in an
9315 if test "${lt_cv_aix_libpath+set}" = set; then
9316 aix_libpath=$lt_cv_aix_libpath
9318 if ${lt_cv_aix_libpath_+:} false; then :
9319 $as_echo_n "(cached) " >&6
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9332 if ac_fn_c_try_link "$LINENO"; then :
9334 lt_aix_libpath_sed='
9335 /Import File Strings/,/^$/ {
9337 s/^0 *\([^ ]*\) *$/\1/
9341 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9342 # Check for a 64-bit object if we didn't find anything.
9343 if test -z "$lt_cv_aix_libpath_"; then
9344 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 if test -z "$lt_cv_aix_libpath_"; then
9350 lt_cv_aix_libpath_="/usr/lib:/lib"
9355 aix_libpath=$lt_cv_aix_libpath_
9358 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9359 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9361 if test "$host_cpu" = ia64; then
9362 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9363 allow_undefined_flag="-z nodefs"
9364 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"
9366 # Determine the default libpath from the value encoded in an
9368 if test "${lt_cv_aix_libpath+set}" = set; then
9369 aix_libpath=$lt_cv_aix_libpath
9371 if ${lt_cv_aix_libpath_+:} false; then :
9372 $as_echo_n "(cached) " >&6
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9385 if ac_fn_c_try_link "$LINENO"; then :
9387 lt_aix_libpath_sed='
9388 /Import File Strings/,/^$/ {
9390 s/^0 *\([^ ]*\) *$/\1/
9394 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9395 # Check for a 64-bit object if we didn't find anything.
9396 if test -z "$lt_cv_aix_libpath_"; then
9397 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 if test -z "$lt_cv_aix_libpath_"; then
9403 lt_cv_aix_libpath_="/usr/lib:/lib"
9408 aix_libpath=$lt_cv_aix_libpath_
9411 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9412 # Warning - without using the other run time loading flags,
9413 # -berok will link without error, but may produce a broken library.
9414 no_undefined_flag=' ${wl}-bernotok'
9415 allow_undefined_flag=' ${wl}-berok'
9416 if test "$with_gnu_ld" = yes; then
9417 # We only use this code for GNU lds that support --whole-archive.
9418 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9420 # Exported symbols can be pulled into shared objects from archives
9421 whole_archive_flag_spec='$convenience'
9423 archive_cmds_need_lc=yes
9424 # This is similar to how AIX traditionally builds its shared libraries.
9425 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'
9433 # see comment about AmigaOS4 .so support
9434 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435 archive_expsym_cmds=''
9438 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)'
9439 hardcode_libdir_flag_spec='-L$libdir'
9440 hardcode_minus_L=yes
9446 export_dynamic_flag_spec=-rdynamic
9449 cygwin* | mingw* | pw32* | cegcc*)
9450 # When not using gcc, we currently assume that we are using
9451 # Microsoft Visual C++.
9452 # hardcode_libdir_flag_spec is actually meaningless, as there is
9453 # no search path for DLLs.
9454 case $cc_basename in
9457 hardcode_libdir_flag_spec=' '
9458 allow_undefined_flag=unsupported
9459 always_export_symbols=yes
9461 # Tell ltmain to make .lib files, not .a files.
9463 # Tell ltmain to make .dll files, not .so files.
9465 # FIXME: Setting linknames here is a bad hack.
9466 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9467 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9468 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9470 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9472 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9474 # The linker will not automatically build a static lib if we build a DLL.
9475 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9476 enable_shared_with_static_runtimes=yes
9477 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9479 old_postinstall_cmds='chmod 644 $oldlib'
9480 postlink_cmds='lt_outputfile="@OUTPUT@"~
9481 lt_tool_outputfile="@TOOL_OUTPUT@"~
9482 case $lt_outputfile in
9485 lt_outputfile="$lt_outputfile.exe"
9486 lt_tool_outputfile="$lt_tool_outputfile.exe"
9489 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9490 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9491 $RM "$lt_outputfile.manifest";
9495 # Assume MSVC wrapper
9496 hardcode_libdir_flag_spec=' '
9497 allow_undefined_flag=unsupported
9498 # Tell ltmain to make .lib files, not .a files.
9500 # Tell ltmain to make .dll files, not .so files.
9502 # FIXME: Setting linknames here is a bad hack.
9503 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9504 # The linker will automatically build a .lib file if we build a DLL.
9505 old_archive_from_new_cmds='true'
9506 # FIXME: Should let the user specify the lib program.
9507 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9508 enable_shared_with_static_runtimes=yes
9513 darwin* | rhapsody*)
9516 archive_cmds_need_lc=no
9518 hardcode_automatic=yes
9519 hardcode_shlibpath_var=unsupported
9520 if test "$lt_cv_ld_force_load" = "yes"; then
9521 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9523 whole_archive_flag_spec=''
9525 link_all_deplibs=yes
9526 allow_undefined_flag="$_lt_dar_allow_undefined"
9527 case $cc_basename in
9528 ifort*) _lt_dar_can_shared=yes ;;
9529 *) _lt_dar_can_shared=$GCC ;;
9531 if test "$_lt_dar_can_shared" = "yes"; then
9532 output_verbose_link_cmd=func_echo_all
9533 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9534 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9535 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}"
9536 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}"
9545 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9546 hardcode_libdir_flag_spec='-L$libdir'
9547 hardcode_shlibpath_var=no
9550 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9551 # support. Future versions do this automatically, but an explicit c++rt0.o
9552 # does not break anything, and helps significantly (at the cost of a little
9555 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9556 hardcode_libdir_flag_spec='-R$libdir'
9558 hardcode_shlibpath_var=no
9561 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9563 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_minus_L=yes
9566 hardcode_shlibpath_var=no
9569 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9570 freebsd* | dragonfly*)
9571 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9572 hardcode_libdir_flag_spec='-R$libdir'
9574 hardcode_shlibpath_var=no
9578 if test "$GCC" = yes; then
9579 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9581 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'
9583 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9584 hardcode_libdir_separator=:
9587 # hardcode_minus_L: Not really in the search PATH,
9588 # but as the default location of the library.
9589 hardcode_minus_L=yes
9590 export_dynamic_flag_spec='${wl}-E'
9594 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9595 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9599 if test "$with_gnu_ld" = no; then
9600 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9601 hardcode_libdir_flag_spec_ld='+b $libdir'
9602 hardcode_libdir_separator=:
9604 hardcode_direct_absolute=yes
9605 export_dynamic_flag_spec='${wl}-E'
9606 # hardcode_minus_L: Not really in the search PATH,
9607 # but as the default location of the library.
9608 hardcode_minus_L=yes
9613 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9616 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9631 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9635 # Older versions of the 11.00 compiler do not understand -b yet
9636 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9638 $as_echo_n "checking if $CC understands -b... " >&6; }
9639 if ${lt_cv_prog_compiler__b+:} false; then :
9640 $as_echo_n "(cached) " >&6
9642 lt_cv_prog_compiler__b=no
9643 save_LDFLAGS="$LDFLAGS"
9644 LDFLAGS="$LDFLAGS -b"
9645 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9646 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9647 # The linker can only warn and ignore the option if not recognized
9648 # So say no if there are warnings
9649 if test -s conftest.err; then
9650 # Append any errors to the config.log.
9651 cat conftest.err 1>&5
9652 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9654 if diff conftest.exp conftest.er2 >/dev/null; then
9655 lt_cv_prog_compiler__b=yes
9658 lt_cv_prog_compiler__b=yes
9662 LDFLAGS="$save_LDFLAGS"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9666 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9668 if test x"$lt_cv_prog_compiler__b" = xyes; then
9669 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9677 if test "$with_gnu_ld" = no; then
9678 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9679 hardcode_libdir_separator=:
9684 hardcode_shlibpath_var=no
9688 hardcode_direct_absolute=yes
9689 export_dynamic_flag_spec='${wl}-E'
9691 # hardcode_minus_L: Not really in the search PATH,
9692 # but as the default location of the library.
9693 hardcode_minus_L=yes
9699 irix5* | irix6* | nonstopux*)
9700 if test "$GCC" = yes; then
9701 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9702 # Try to use the -exported_symbol ld option, if it does not
9703 # work, assume that -exports_file does not work either and
9704 # implicitly export all symbols.
9705 # This should be the same for all languages, so no per-tag cache variable.
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9707 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9708 if ${lt_cv_irix_exported_symbol+:} false; then :
9709 $as_echo_n "(cached) " >&6
9711 save_LDFLAGS="$LDFLAGS"
9712 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9715 int foo (void) { return 0; }
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 lt_cv_irix_exported_symbol=yes
9720 lt_cv_irix_exported_symbol=no
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LDFLAGS="$save_LDFLAGS"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9727 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9728 if test "$lt_cv_irix_exported_symbol" = yes; then
9729 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9735 archive_cmds_need_lc='no'
9736 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9737 hardcode_libdir_separator=:
9739 link_all_deplibs=yes
9743 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9746 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9748 hardcode_libdir_flag_spec='-R$libdir'
9750 hardcode_shlibpath_var=no
9754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9757 hardcode_libdir_separator=:
9758 hardcode_shlibpath_var=no
9765 if test -f /usr/libexec/ld.so; then
9767 hardcode_shlibpath_var=no
9768 hardcode_direct_absolute=yes
9769 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9772 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9773 export_dynamic_flag_spec='${wl}-E'
9776 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9777 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9778 hardcode_libdir_flag_spec='-R$libdir'
9781 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9782 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_minus_L=yes
9794 allow_undefined_flag=unsupported
9795 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'
9796 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9800 if test "$GCC" = yes; then
9801 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9802 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9804 allow_undefined_flag=' -expect_unresolved \*'
9805 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9807 archive_cmds_need_lc='no'
9808 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809 hardcode_libdir_separator=:
9812 osf4* | osf5*) # as osf3* with the addition of -msym flag
9813 if test "$GCC" = yes; then
9814 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9815 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9816 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9818 allow_undefined_flag=' -expect_unresolved \*'
9819 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9820 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~
9821 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9823 # Both c and cxx compiler support -rpath directly
9824 hardcode_libdir_flag_spec='-rpath $libdir'
9826 archive_cmds_need_lc='no'
9827 hardcode_libdir_separator=:
9831 no_undefined_flag=' -z defs'
9832 if test "$GCC" = yes; then
9834 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9836 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9838 case `$CC -V 2>&1` in
9841 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9843 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9847 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9849 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9853 hardcode_libdir_flag_spec='-R$libdir'
9854 hardcode_shlibpath_var=no
9856 solaris2.[0-5] | solaris2.[0-5].*) ;;
9858 # The compiler driver will combine and reorder linker options,
9859 # but understands `-z linker_flag'. GCC discards it without `$wl',
9860 # but is careful enough not to reorder.
9861 # Supported since Solaris 2.6 (maybe 2.5.1?)
9862 if test "$GCC" = yes; then
9863 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9865 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9869 link_all_deplibs=yes
9873 if test "x$host_vendor" = xsequent; then
9874 # Use $CC to link under sequent, because it throws in some extra .o
9875 # files that make .init and .fini sections work.
9876 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_libdir_flag_spec='-L$libdir'
9882 hardcode_minus_L=yes
9883 hardcode_shlibpath_var=no
9887 case $host_vendor in
9889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890 hardcode_direct=yes # is this really true???
9893 ## LD is ld it makes a PLAMLIB
9894 ## CC just makes a GrossModule.
9895 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9896 reload_cmds='$CC -r -o $output$reload_objs'
9900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9904 runpath_var='LD_RUN_PATH'
9905 hardcode_shlibpath_var=no
9909 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_shlibpath_var=no
9911 export_dynamic_flag_spec='-Bexport'
9915 if test -d /usr/nec; then
9916 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9917 hardcode_shlibpath_var=no
9918 runpath_var=LD_RUN_PATH
9919 hardcode_runpath_var=yes
9924 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9925 no_undefined_flag='${wl}-z,text'
9926 archive_cmds_need_lc=no
9927 hardcode_shlibpath_var=no
9928 runpath_var='LD_RUN_PATH'
9930 if test "$GCC" = yes; then
9931 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 sysv5* | sco3.2v5* | sco5v6*)
9940 # Note: We can NOT use -z defs as we might desire, because we do not
9941 # link with -lc, and that would cause any symbols used from libc to
9942 # always be unresolved, which means just about no library would
9943 # ever link correctly. If we're not using GNU ld we use -z text
9944 # though, which does catch some bad symbols but isn't as heavy-handed
9946 no_undefined_flag='${wl}-z,text'
9947 allow_undefined_flag='${wl}-z,nodefs'
9948 archive_cmds_need_lc=no
9949 hardcode_shlibpath_var=no
9950 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9951 hardcode_libdir_separator=':'
9952 link_all_deplibs=yes
9953 export_dynamic_flag_spec='${wl}-Bexport'
9954 runpath_var='LD_RUN_PATH'
9956 if test "$GCC" = yes; then
9957 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967 hardcode_libdir_flag_spec='-L$libdir'
9968 hardcode_shlibpath_var=no
9976 if test x$host_vendor = xsni; then
9978 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9979 export_dynamic_flag_spec='${wl}-Blargedynsym'
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9986 $as_echo "$ld_shlibs" >&6; }
9987 test "$ld_shlibs" = no && can_build_shared=no
9989 with_gnu_ld=$with_gnu_ld
10006 # Do we need to explicitly link libc?
10008 case "x$archive_cmds_need_lc" in
10010 # Assume -lc should be added
10011 archive_cmds_need_lc=yes
10013 if test "$enable_shared" = yes && test "$GCC" = yes; then
10014 case $archive_cmds in
10016 # FIXME: we may have to deal with multi-command sequences.
10019 # Test whether the compiler implicitly links with -lc since on some
10020 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10021 # to ld, don't add -lc before -lgcc.
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10023 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10024 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10025 $as_echo_n "(cached) " >&6
10028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10031 (eval $ac_compile) 2>&5
10033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10034 test $ac_status = 0; } 2>conftest.err; then
10037 libobjs=conftest.$ac_objext
10039 wl=$lt_prog_compiler_wl
10040 pic_flag=$lt_prog_compiler_pic
10046 lt_save_allow_undefined_flag=$allow_undefined_flag
10047 allow_undefined_flag=
10048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10049 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052 test $ac_status = 0; }
10054 lt_cv_archive_cmds_need_lc=no
10056 lt_cv_archive_cmds_need_lc=yes
10058 allow_undefined_flag=$lt_save_allow_undefined_flag
10060 cat conftest.err 1>&5
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10066 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10067 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10233 if test "$GCC" = yes; then
10235 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10236 *) lt_awk_arg="/^libraries:/" ;;
10239 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10240 *) lt_sed_strip_eq="s,=/,/,g" ;;
10242 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10243 case $lt_search_path_spec in
10245 # if the path contains ";" then we assume it to be the separator
10246 # otherwise default to the standard path separator (i.e. ":") - it is
10247 # assumed that no part of a normal pathname contains ";" but that should
10248 # okay in the real world where ";" in dirpaths is itself problematic.
10249 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10252 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10255 # Ok, now we have the path, separated by spaces, we can step through it
10256 # and add multilib dir if necessary.
10257 lt_tmp_lt_search_path_spec=
10258 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10259 for lt_sys_path in $lt_search_path_spec; do
10260 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10261 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10263 test -d "$lt_sys_path" && \
10264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10267 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10268 BEGIN {RS=" "; FS="/|\n";} {
10271 for (lt_i = NF; lt_i > 0; lt_i--) {
10272 if ($lt_i != "" && $lt_i != ".") {
10273 if ($lt_i == "..") {
10276 if (lt_count == 0) {
10277 lt_foo="/" $lt_i lt_foo;
10284 if (lt_foo != "") { lt_freq[lt_foo]++; }
10285 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10287 # AWK program above erroneously prepends '/' to C:/dos/paths
10290 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10291 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10293 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10295 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10297 library_names_spec=
10298 libname_spec='lib$name'
10302 postuninstall_cmds=
10306 shlibpath_overrides_runpath=unknown
10308 dynamic_linker="$host_os ld.so"
10309 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10310 need_lib_prefix=unknown
10311 hardcode_into_libs=no
10313 # when you set need_version to no, make sure it does not cause -set_version
10314 # flags to be left without arguments
10315 need_version=unknown
10320 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10321 shlibpath_var=LIBPATH
10323 # AIX 3 has no versioning support, so we append a major version to the name.
10324 soname_spec='${libname}${release}${shared_ext}$major'
10331 hardcode_into_libs=yes
10332 if test "$host_cpu" = ia64; then
10333 # AIX 5 supports IA64
10334 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10335 shlibpath_var=LD_LIBRARY_PATH
10337 # With GCC up to 2.95.x, collect2 would create an import file
10338 # for dependence libraries. The import file would start with
10339 # the line `#! .'. This would cause the generated library to
10340 # depend on `.', always an invalid library. This was fixed in
10341 # development snapshots of GCC prior to 3.0.
10343 aix4 | aix4.[01] | aix4.[01].*)
10344 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10346 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10349 can_build_shared=no
10353 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10354 # soname into executable. Probably we can add versioning support to
10355 # collect2, so additional links can be useful in future.
10356 if test "$aix_use_runtimelinking" = yes; then
10357 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10358 # instead of lib<name>.a to let people know that these are not
10359 # typical AIX shared libraries.
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 # We preserve .a as extension for shared libraries through AIX4.2
10363 # and later when we are not doing run time linking.
10364 library_names_spec='${libname}${release}.a $libname.a'
10365 soname_spec='${libname}${release}${shared_ext}$major'
10367 shlibpath_var=LIBPATH
10374 # Since July 2007 AmigaOS4 officially supports .so libraries.
10375 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379 library_names_spec='$libname.ixlibrary $libname.a'
10380 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10381 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10387 library_names_spec='${libname}${shared_ext}'
10388 dynamic_linker="$host_os ld.so"
10389 shlibpath_var=LIBRARY_PATH
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10400 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10401 # the default ld.so.conf also contains /usr/contrib/lib and
10402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10403 # libtool to hard-code these into programs
10406 cygwin* | mingw* | pw32* | cegcc*)
10407 version_type=windows
10412 case $GCC,$cc_basename in
10415 library_names_spec='$libname.dll.a'
10416 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10417 postinstall_cmds='base_file=`basename \${file}`~
10418 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10419 dldir=$destdir/`dirname \$dlpath`~
10420 test -d \$dldir || mkdir -p \$dldir~
10421 $install_prog $dir/$dlname \$dldir/$dlname~
10422 chmod a+x \$dldir/$dlname~
10423 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10424 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10426 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10427 dlpath=$dir/\$dldll~
10429 shlibpath_overrides_runpath=yes
10433 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10434 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10436 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10439 # MinGW DLLs use traditional 'lib' prefix
10440 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10443 # pw32 DLLs use 'pw' prefix rather than 'lib'
10444 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10447 dynamic_linker='Win32 ld.exe'
10452 libname_spec='$name'
10453 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10454 library_names_spec='${libname}.dll.lib'
10458 sys_lib_search_path_spec=
10461 for lt_path in $LIB
10464 # Let DOS variable expansion print the short 8.3 style file name.
10465 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10466 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10469 # Convert to MSYS style.
10470 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10473 # Convert to unix form, then to dos form, then back to unix form
10474 # but this time dos style (no spaces!) so that the unix form looks
10475 # like /cygdrive/c/PROGRA~1:/cygdr...
10476 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10477 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10478 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10481 sys_lib_search_path_spec="$LIB"
10482 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10483 # It is most probably a Windows format PATH.
10484 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10486 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10488 # FIXME: find the short name or the path components, as spaces are
10489 # common. (e.g. "Program Files" -> "PROGRA~1")
10493 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10494 postinstall_cmds='base_file=`basename \${file}`~
10495 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10496 dldir=$destdir/`dirname \$dlpath`~
10497 test -d \$dldir || mkdir -p \$dldir~
10498 $install_prog $dir/$dlname \$dldir/$dlname'
10499 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10500 dlpath=$dir/\$dldll~
10502 shlibpath_overrides_runpath=yes
10503 dynamic_linker='Win32 link.exe'
10507 # Assume MSVC wrapper
10508 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10509 dynamic_linker='Win32 ld.exe'
10512 # FIXME: first we should search . and the directory the executable is in
10516 darwin* | rhapsody*)
10517 dynamic_linker="$host_os dyld"
10518 version_type=darwin
10521 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10522 soname_spec='${libname}${release}${major}$shared_ext'
10523 shlibpath_overrides_runpath=yes
10524 shlibpath_var=DYLD_LIBRARY_PATH
10525 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10527 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10528 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 shlibpath_var=LD_LIBRARY_PATH
10540 freebsd* | dragonfly*)
10541 # DragonFly does not have aout. When/if they implement a new
10542 # versioning mechanism, adjust this.
10543 if test -x /usr/bin/objformat; then
10544 objformat=`/usr/bin/objformat`
10547 freebsd[23].*) objformat=aout ;;
10548 *) objformat=elf ;;
10551 version_type=freebsd-$objformat
10552 case $version_type in
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10563 shlibpath_var=LD_LIBRARY_PATH
10566 shlibpath_overrides_runpath=yes
10568 freebsd3.[01]* | freebsdelf3.[01]*)
10569 shlibpath_overrides_runpath=yes
10570 hardcode_into_libs=yes
10572 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10573 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10574 shlibpath_overrides_runpath=no
10575 hardcode_into_libs=yes
10577 *) # from 4.6 on, and DragonFly
10578 shlibpath_overrides_runpath=yes
10579 hardcode_into_libs=yes
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10589 soname_spec='${libname}${release}${shared_ext}$major'
10590 shlibpath_var=LD_LIBRARY_PATH
10591 hardcode_into_libs=yes
10598 dynamic_linker="$host_os runtime_loader"
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10600 soname_spec='${libname}${release}${shared_ext}$major'
10601 shlibpath_var=LIBRARY_PATH
10602 shlibpath_overrides_runpath=yes
10603 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10604 hardcode_into_libs=yes
10607 hpux9* | hpux10* | hpux11*)
10608 # Give a soname corresponding to the major version so that dld.sl refuses to
10609 # link against other versions.
10616 hardcode_into_libs=yes
10617 dynamic_linker="$host_os dld.so"
10618 shlibpath_var=LD_LIBRARY_PATH
10619 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621 soname_spec='${libname}${release}${shared_ext}$major'
10622 if test "X$HPUX_IA64_MODE" = X32; then
10623 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10625 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10627 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10631 hardcode_into_libs=yes
10632 dynamic_linker="$host_os dld.sl"
10633 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10634 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10636 soname_spec='${libname}${release}${shared_ext}$major'
10637 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10638 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10642 dynamic_linker="$host_os dld.sl"
10643 shlibpath_var=SHLIB_PATH
10644 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10649 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10650 postinstall_cmds='chmod 555 $lib'
10651 # or fails outright, so override atomically:
10652 install_override_mode=555
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 shlibpath_overrides_runpath=no
10664 hardcode_into_libs=yes
10667 irix5* | irix6* | nonstopux*)
10669 nonstopux*) version_type=nonstopux ;;
10671 if test "$lt_cv_prog_gnu_ld" = yes; then
10679 soname_spec='${libname}${release}${shared_ext}$major'
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10682 irix5* | nonstopux*)
10683 libsuff= shlibsuff=
10686 case $LD in # libtool.m4 will add one of these switches to LD
10687 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10688 libsuff= shlibsuff= libmagic=32-bit;;
10689 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10690 libsuff=32 shlibsuff=N32 libmagic=N32;;
10691 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10692 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10693 *) libsuff= shlibsuff= libmagic=never-match;;
10697 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10698 shlibpath_overrides_runpath=no
10699 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10700 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10701 hardcode_into_libs=yes
10704 # No shared lib support for Linux oldld, aout, or coff.
10705 linux*oldld* | linux*aout* | linux*coff*)
10709 # This must be Linux ELF.
10710 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715 soname_spec='${libname}${release}${shared_ext}$major'
10716 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=no
10720 # Some binutils ld are patched to set DT_RUNPATH
10721 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10722 $as_echo_n "(cached) " >&6
10724 lt_cv_shlibpath_overrides_runpath=no
10725 save_LDFLAGS=$LDFLAGS
10726 save_libdir=$libdir
10727 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10728 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10742 lt_cv_shlibpath_overrides_runpath=yes
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LDFLAGS=$save_LDFLAGS
10748 libdir=$save_libdir
10752 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10754 # This implies no fast_install, which is unacceptable.
10755 # Some rework will be needed to allow for fast_install
10756 # before this can be enabled.
10757 hardcode_into_libs=yes
10759 # Append ld.so.conf contents to the search path
10760 if test -f /etc/ld.so.conf; then
10761 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;s/"//g;/^$/d' | tr '\n' ' '`
10762 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10765 # We used to test for /lib/ld.so.1 and disable shared libraries on
10766 # powerpc, because MkLinux only supported shared libraries with the
10767 # GNU dynamic linker. Since this was broken with cross compilers,
10768 # most powerpc-linux boxes support dynamic linking these days and
10769 # people can always --disable-shared, the test was removed, and we
10770 # assume the GNU/Linux dynamic linker is in use.
10771 dynamic_linker='GNU/Linux ld.so'
10778 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10780 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10781 dynamic_linker='NetBSD (a.out) ld.so'
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10784 soname_spec='${libname}${release}${shared_ext}$major'
10785 dynamic_linker='NetBSD ld.elf_so'
10787 shlibpath_var=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath=yes
10789 hardcode_into_libs=yes
10794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795 shlibpath_var=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath=yes
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 shlibpath_var=LD_LIBRARY_PATH
10806 shlibpath_overrides_runpath=no
10807 hardcode_into_libs=yes
10808 dynamic_linker='ldqnx.so'
10813 sys_lib_dlsearch_path_spec="/usr/lib"
10815 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10817 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10818 *) need_version=no ;;
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10821 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10822 shlibpath_var=LD_LIBRARY_PATH
10823 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10825 openbsd2.[89] | openbsd2.[89].*)
10826 shlibpath_overrides_runpath=no
10829 shlibpath_overrides_runpath=yes
10833 shlibpath_overrides_runpath=yes
10838 libname_spec='$name'
10841 library_names_spec='$libname${shared_ext} $libname.a'
10842 dynamic_linker='OS/2 ld.exe'
10843 shlibpath_var=LIBPATH
10846 osf3* | osf4* | osf5*)
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10854 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10866 soname_spec='${libname}${release}${shared_ext}$major'
10867 shlibpath_var=LD_LIBRARY_PATH
10868 shlibpath_overrides_runpath=yes
10869 hardcode_into_libs=yes
10870 # ldd complains unless libraries are executable
10871 postinstall_cmds='chmod +x $lib'
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10877 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10878 shlibpath_var=LD_LIBRARY_PATH
10879 shlibpath_overrides_runpath=yes
10880 if test "$with_gnu_ld" = yes; then
10888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 soname_spec='${libname}${release}${shared_ext}$major'
10890 shlibpath_var=LD_LIBRARY_PATH
10891 case $host_vendor in
10893 shlibpath_overrides_runpath=no
10895 runpath_var=LD_RUN_PATH
10903 shlibpath_overrides_runpath=no
10904 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10910 if test -d /usr/nec ;then
10912 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10913 soname_spec='$libname${shared_ext}.$major'
10914 shlibpath_var=LD_LIBRARY_PATH
10918 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10919 version_type=freebsd-elf
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 shlibpath_overrides_runpath=yes
10926 hardcode_into_libs=yes
10927 if test "$with_gnu_ld" = yes; then
10928 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10930 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10933 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10937 sys_lib_dlsearch_path_spec='/usr/lib'
10941 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 shlibpath_var=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath=no
10948 hardcode_into_libs=yes
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 soname_spec='${libname}${release}${shared_ext}$major'
10955 shlibpath_var=LD_LIBRARY_PATH
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10963 $as_echo "$dynamic_linker" >&6; }
10964 test "$dynamic_linker" = no && can_build_shared=no
10966 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10967 if test "$GCC" = yes; then
10968 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10971 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10972 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10974 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10975 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11070 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11072 if test -n "$hardcode_libdir_flag_spec" ||
11073 test -n "$runpath_var" ||
11074 test "X$hardcode_automatic" = "Xyes" ; then
11076 # We can hardcode non-existent directories.
11077 if test "$hardcode_direct" != no &&
11078 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11079 # have to relink, otherwise we might link with an installed library
11080 # when we should be linking with a yet-to-be-installed one
11081 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11082 test "$hardcode_minus_L" != no; then
11083 # Linking always hardcodes the temporary library directory.
11084 hardcode_action=relink
11086 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11087 hardcode_action=immediate
11090 # We cannot hardcode anything, or else we can only hardcode existing
11092 hardcode_action=unsupported
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11095 $as_echo "$hardcode_action" >&6; }
11097 if test "$hardcode_action" = relink ||
11098 test "$inherit_rpath" = yes; then
11099 # Fast installation is not supported
11100 enable_fast_install=no
11101 elif test "$shlibpath_overrides_runpath" = yes ||
11102 test "$enable_shared" = no; then
11103 # Fast installation is not necessary
11104 enable_fast_install=needless
11112 if test "x$enable_dlopen" != xyes; then
11113 enable_dlopen=unknown
11114 enable_dlopen_self=unknown
11115 enable_dlopen_self_static=unknown
11122 lt_cv_dlopen="load_add_on"
11124 lt_cv_dlopen_self=yes
11127 mingw* | pw32* | cegcc*)
11128 lt_cv_dlopen="LoadLibrary"
11133 lt_cv_dlopen="dlopen"
11138 # if libdl is installed we need to link against it
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11140 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11141 if ${ac_cv_lib_dl_dlopen+:} false; then :
11142 $as_echo_n "(cached) " >&6
11144 ac_check_lib_save_LIBS=$LIBS
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_dl_dlopen=yes
11167 ac_cv_lib_dl_dlopen=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11175 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11176 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11179 lt_cv_dlopen="dyld"
11181 lt_cv_dlopen_self=yes
11188 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11189 if test "x$ac_cv_func_shl_load" = xyes; then :
11190 lt_cv_dlopen="shl_load"
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11193 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11194 if ${ac_cv_lib_dld_shl_load+:} false; then :
11195 $as_echo_n "(cached) " >&6
11197 ac_check_lib_save_LIBS=$LIBS
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11212 return shl_load ();
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_dld_shl_load=yes
11220 ac_cv_lib_dld_shl_load=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11227 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11228 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11229 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11231 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11232 if test "x$ac_cv_func_dlopen" = xyes; then :
11233 lt_cv_dlopen="dlopen"
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11236 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11237 if ${ac_cv_lib_dl_dlopen+:} false; then :
11238 $as_echo_n "(cached) " >&6
11240 ac_check_lib_save_LIBS=$LIBS
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 ac_cv_lib_dl_dlopen=yes
11263 ac_cv_lib_dl_dlopen=no
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11270 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11271 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11272 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11275 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11276 if ${ac_cv_lib_svld_dlopen+:} false; then :
11277 $as_echo_n "(cached) " >&6
11279 ac_check_lib_save_LIBS=$LIBS
11280 LIBS="-lsvld $LIBS"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11299 if ac_fn_c_try_link "$LINENO"; then :
11300 ac_cv_lib_svld_dlopen=yes
11302 ac_cv_lib_svld_dlopen=no
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11309 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11310 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11311 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11314 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11315 if ${ac_cv_lib_dld_dld_link+:} false; then :
11316 $as_echo_n "(cached) " >&6
11318 ac_check_lib_save_LIBS=$LIBS
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11333 return dld_link ();
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_dld_link=yes
11341 ac_cv_lib_dld_dld_link=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11348 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11349 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11350 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11371 if test "x$lt_cv_dlopen" != xno; then
11377 case $lt_cv_dlopen in
11379 save_CPPFLAGS="$CPPFLAGS"
11380 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11382 save_LDFLAGS="$LDFLAGS"
11383 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11386 LIBS="$lt_cv_dlopen_libs $LIBS"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11389 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11390 if ${lt_cv_dlopen_self+:} false; then :
11391 $as_echo_n "(cached) " >&6
11393 if test "$cross_compiling" = yes; then :
11394 lt_cv_dlopen_self=cross
11396 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11397 lt_status=$lt_dlunknown
11398 cat > conftest.$ac_ext <<_LT_EOF
11399 #line $LINENO "configure"
11400 #include "confdefs.h"
11409 # define LT_DLGLOBAL RTLD_GLOBAL
11412 # define LT_DLGLOBAL DL_GLOBAL
11414 # define LT_DLGLOBAL 0
11418 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11419 find out it does not work in some platform. */
11420 #ifndef LT_DLLAZY_OR_NOW
11422 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11425 # define LT_DLLAZY_OR_NOW DL_LAZY
11428 # define LT_DLLAZY_OR_NOW RTLD_NOW
11431 # define LT_DLLAZY_OR_NOW DL_NOW
11433 # define LT_DLLAZY_OR_NOW 0
11440 /* When -fvisbility=hidden is used, assume the code has been annotated
11441 correspondingly for the symbols needed. */
11442 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11443 int fnord () __attribute__((visibility("default")));
11446 int fnord () { return 42; }
11449 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11450 int status = $lt_dlunknown;
11454 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11457 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11458 else puts (dlerror ());
11460 /* dlclose (self); */
11468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11469 (eval $ac_link) 2>&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11472 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11473 (./conftest; exit; ) >&5 2>/dev/null
11475 case x$lt_status in
11476 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11477 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11478 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11481 # compilation failed
11482 lt_cv_dlopen_self=no
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11490 $as_echo "$lt_cv_dlopen_self" >&6; }
11492 if test "x$lt_cv_dlopen_self" = xyes; then
11493 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11495 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11496 if ${lt_cv_dlopen_self_static+:} false; then :
11497 $as_echo_n "(cached) " >&6
11499 if test "$cross_compiling" = yes; then :
11500 lt_cv_dlopen_self_static=cross
11502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11503 lt_status=$lt_dlunknown
11504 cat > conftest.$ac_ext <<_LT_EOF
11505 #line $LINENO "configure"
11506 #include "confdefs.h"
11515 # define LT_DLGLOBAL RTLD_GLOBAL
11518 # define LT_DLGLOBAL DL_GLOBAL
11520 # define LT_DLGLOBAL 0
11524 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11525 find out it does not work in some platform. */
11526 #ifndef LT_DLLAZY_OR_NOW
11528 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11531 # define LT_DLLAZY_OR_NOW DL_LAZY
11534 # define LT_DLLAZY_OR_NOW RTLD_NOW
11537 # define LT_DLLAZY_OR_NOW DL_NOW
11539 # define LT_DLLAZY_OR_NOW 0
11546 /* When -fvisbility=hidden is used, assume the code has been annotated
11547 correspondingly for the symbols needed. */
11548 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11549 int fnord () __attribute__((visibility("default")));
11552 int fnord () { return 42; }
11555 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11556 int status = $lt_dlunknown;
11560 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11563 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11564 else puts (dlerror ());
11566 /* dlclose (self); */
11574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11575 (eval $ac_link) 2>&5
11577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11578 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11579 (./conftest; exit; ) >&5 2>/dev/null
11581 case x$lt_status in
11582 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11583 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11584 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11587 # compilation failed
11588 lt_cv_dlopen_self_static=no
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11596 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11599 CPPFLAGS="$save_CPPFLAGS"
11600 LDFLAGS="$save_LDFLAGS"
11605 case $lt_cv_dlopen_self in
11606 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11607 *) enable_dlopen_self=unknown ;;
11610 case $lt_cv_dlopen_self_static in
11611 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11612 *) enable_dlopen_self_static=unknown ;;
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11635 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11636 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11637 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11638 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11640 $as_echo "yes" >&6; }
11642 # FIXME - insert some real tests, host_os isn't really good enough
11645 if test -n "$STRIP" ; then
11646 striplib="$STRIP -x"
11647 old_striplib="$STRIP -S"
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11649 $as_echo "yes" >&6; }
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11652 $as_echo "no" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11657 $as_echo "no" >&6; }
11673 # Report which library types will actually be built
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11675 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11677 $as_echo "$can_build_shared" >&6; }
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11680 $as_echo_n "checking whether to build shared libraries... " >&6; }
11681 test "$can_build_shared" = "no" && enable_shared=no
11683 # On AIX, shared libraries and static libraries use the same namespace, and
11684 # are all built from PIC.
11687 test "$enable_shared" = yes && enable_static=no
11688 if test -n "$RANLIB"; then
11689 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11690 postinstall_cmds='$RANLIB $lib'
11695 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11696 test "$enable_shared" = yes && enable_static=no
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11701 $as_echo "$enable_shared" >&6; }
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11704 $as_echo_n "checking whether to build static libraries... " >&6; }
11705 # Make sure either enable_shared or enable_static is yes.
11706 test "$enable_shared" = yes || enable_static=yes
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11708 $as_echo "$enable_static" >&6; }
11715 ac_cpp='$CPP $CPPFLAGS'
11716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11734 ac_config_commands="$ac_config_commands libtool"
11739 # Only expand once:
11749 cat >>confdefs.h <<_ACEOF
11750 #define LIB_MAJ $LIB_MAJ
11754 # Check whether --enable-debug was given.
11755 if test "${enable_debug+set}" = set; then :
11756 enableval=$enable_debug;
11757 $as_echo "#define OPENPAM_DEBUG 1" >>confdefs.h
11762 # Check whether --enable-unversioned-modules was given.
11763 if test "${enable_unversioned_modules+set}" = set; then :
11764 enableval=$enable_unversioned_modules; if test x"$enableval" = x"no"; then :
11767 $as_echo "#define DISABLE_UNVERSIONED_MODULES 1" >>confdefs.h
11775 # Check whether --with-modules-dir was given.
11776 if test "${with_modules_dir+set}" = set; then :
11777 withval=$with_modules_dir; if test x"$withval" != x"no"; then :
11779 OPENPAM_MODULES_DIR="$withval"
11783 OPENPAM_MODULES_DIR="$libdir"
11787 OPENPAM_MODULES_DIR="$libdir"
11791 cat >>confdefs.h <<_ACEOF
11792 #define OPENPAM_MODULES_DIR "${OPENPAM_MODULES_DIR%/}/"
11798 # Check whether --with-doc was given.
11799 if test "${with_doc+set}" = set; then :
11805 if test x"$with_doc" = x"yes"; then
11815 # Check whether --with-pam-unix was given.
11816 if test "${with_pam_unix+set}" = set; then :
11817 withval=$with_pam_unix;
11822 if test x"$with_pam_unix" = x"yes"; then
11823 WITH_PAM_UNIX_TRUE=
11824 WITH_PAM_UNIX_FALSE='#'
11826 WITH_PAM_UNIX_TRUE='#'
11827 WITH_PAM_UNIX_FALSE=
11832 # Check whether --with-pamtest was given.
11833 if test "${with_pamtest+set}" = set; then :
11834 withval=$with_pamtest;
11839 if test x"$with_pamtest" = x"yes"; then
11841 WITH_PAMTEST_FALSE='#'
11843 WITH_PAMTEST_TRUE='#'
11844 WITH_PAMTEST_FALSE=
11849 # Check whether --with-su was given.
11850 if test "${with_su+set}" = set; then :
11856 if test x"$with_su" = x"yes"; then
11865 for ac_header in crypt.h
11867 ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
11868 if test "x$ac_cv_header_crypt_h" = xyes; then :
11869 cat >>confdefs.h <<_ACEOF
11870 #define HAVE_CRYPT_H 1
11878 for ac_func in fpurge strlcmp strlcpy
11880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11882 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11883 cat >>confdefs.h <<_ACEOF
11884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11891 saved_LIBS="${LIBS}"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11894 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11895 if ${ac_cv_lib_dl_dlopen+:} false; then :
11896 $as_echo_n "(cached) " >&6
11898 ac_check_lib_save_LIBS=$LIBS
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 ac_cv_lib_dl_dlopen=yes
11921 ac_cv_lib_dl_dlopen=no
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_lib_save_LIBS
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11928 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11929 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11930 cat >>confdefs.h <<_ACEOF
11931 #define HAVE_LIBDL 1
11939 LIBS="${saved_LIBS}"
11942 saved_LIBS="${LIBS}"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
11945 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
11946 if ${ac_cv_lib_crypt_crypt+:} false; then :
11947 $as_echo_n "(cached) " >&6
11949 ac_check_lib_save_LIBS=$LIBS
11950 LIBS="-lcrypt $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11969 if ac_fn_c_try_link "$LINENO"; then :
11970 ac_cv_lib_crypt_crypt=yes
11972 ac_cv_lib_crypt_crypt=no
11974 rm -f core conftest.err conftest.$ac_objext \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_lib_save_LIBS
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
11979 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
11980 if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
11981 cat >>confdefs.h <<_ACEOF
11982 #define HAVE_LIBCRYPT 1
11985 LIBS="-lcrypt $LIBS"
11989 CRYPT_LIBS="${LIBS}"
11990 LIBS="${saved_LIBS}"
11993 # Check whether --enable-developer-warnings was given.
11994 if test "${enable_developer_warnings+set}" = set; then :
11995 enableval=$enable_developer_warnings; CFLAGS="${CFLAGS} -Wall -Wextra"
11998 # Check whether --enable-debugging-symbols was given.
11999 if test "${enable_debugging_symbols+set}" = set; then :
12000 enableval=$enable_debugging_symbols; CFLAGS="${CFLAGS} -O0 -g -fno-inline"
12003 # Check whether --enable-werror was given.
12004 if test "${enable_werror+set}" = set; then :
12005 enableval=$enable_werror; CFLAGS="${CFLAGS} -Werror"
12009 ac_config_files="$ac_config_files bin/Makefile bin/pamtest/Makefile bin/su/Makefile include/Makefile include/security/Makefile lib/Makefile modules/Makefile modules/pam_unix/Makefile modules/pam_deny/Makefile modules/pam_permit/Makefile doc/Makefile doc/man/Makefile Makefile"
12011 cat >confcache <<\_ACEOF
12012 # This file is a shell script that caches the results of configure
12013 # tests run on this system so they can be shared between configure
12014 # scripts and configure runs, see configure's option --config-cache.
12015 # It is not useful on other systems. If it contains results you don't
12016 # want to keep, you may remove or edit it.
12018 # config.status only pays attention to the cache file if you give it
12019 # the --recheck option to rerun configure.
12021 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12022 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12023 # following values.
12027 # The following way of writing the cache mishandles newlines in values,
12028 # but we know of no workaround that is simple, portable, and efficient.
12029 # So, we kill variables containing newlines.
12030 # Ultrix sh set writes to stderr and can't be redirected directly,
12031 # and sets the high bit in the cache file unless we assign to the vars.
12033 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12034 eval ac_val=\$$ac_var
12038 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12042 _ | IFS | as_nl) ;; #(
12043 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12044 *) { eval $ac_var=; unset $ac_var;} ;;
12050 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12051 *${as_nl}ac_space=\ *)
12052 # `set' does not quote correctly, so add quotes: double-quote
12053 # substitution turns \\\\ into \\, and sed turns \\ into \.
12056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12059 # `set' quotes correctly as required by POSIX, so do not add quotes.
12060 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12069 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12071 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12073 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12074 if test -w "$cache_file"; then
12075 if test "x$cache_file" != "x/dev/null"; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12077 $as_echo "$as_me: updating cache $cache_file" >&6;}
12078 if test ! -f "$cache_file" || test -h "$cache_file"; then
12079 cat confcache >"$cache_file"
12081 case $cache_file in #(
12083 mv -f confcache "$cache_file"$$ &&
12084 mv -f "$cache_file"$$ "$cache_file" ;; #(
12086 mv -f confcache "$cache_file" ;;
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12092 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12097 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12098 # Let make expand exec_prefix.
12099 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12101 DEFS=-DHAVE_CONFIG_H
12106 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12107 # 1. Remove the extension, and $U if already installed.
12108 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12109 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12110 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12111 # will be set to the directory where LIBOBJS objects are built.
12112 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12113 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12115 LIBOBJS=$ac_libobjs
12117 LTLIBOBJS=$ac_ltlibobjs
12120 if test -n "$EXEEXT"; then
12122 am__EXEEXT_FALSE='#'
12124 am__EXEEXT_TRUE='#'
12128 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12129 as_fn_error $? "conditional \"AMDEP\" was never defined.
12130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12132 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12133 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12136 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
12137 as_fn_error $? "conditional \"WITH_DOC\" was never defined.
12138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12140 if test -z "${WITH_PAM_UNIX_TRUE}" && test -z "${WITH_PAM_UNIX_FALSE}"; then
12141 as_fn_error $? "conditional \"WITH_PAM_UNIX\" was never defined.
12142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12144 if test -z "${WITH_PAMTEST_TRUE}" && test -z "${WITH_PAMTEST_FALSE}"; then
12145 as_fn_error $? "conditional \"WITH_PAMTEST\" was never defined.
12146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12148 if test -z "${WITH_SU_TRUE}" && test -z "${WITH_SU_FALSE}"; then
12149 as_fn_error $? "conditional \"WITH_SU\" was never defined.
12150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12153 : "${CONFIG_STATUS=./config.status}"
12155 ac_clean_files_save=$ac_clean_files
12156 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12158 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12160 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12162 # Generated by $as_me.
12163 # Run this file to recreate the current configuration.
12164 # Compiler output produced by configure, useful for debugging
12165 # configure, is in config.log if it exists.
12168 ac_cs_recheck=false
12171 SHELL=\${CONFIG_SHELL-$SHELL}
12174 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12175 ## -------------------- ##
12176 ## M4sh Initialization. ##
12177 ## -------------------- ##
12179 # Be more Bourne compatible
12180 DUALCASE=1; export DUALCASE # for MKS sh
12181 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12184 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12185 # is contrary to our usage. Disable this feature.
12186 alias -g '${1+"$@"}'='"$@"'
12187 setopt NO_GLOB_SUBST
12189 case `(set -o) 2>/dev/null` in #(
12201 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12202 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12203 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12204 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12205 # Prefer a ksh shell builtin over an external printf program on Solaris,
12206 # but without wasting forks for bash or zsh.
12207 if test -z "$BASH_VERSION$ZSH_VERSION" \
12208 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12209 as_echo='print -r --'
12210 as_echo_n='print -rn --'
12211 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12212 as_echo='printf %s\n'
12213 as_echo_n='printf %s'
12215 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12216 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12217 as_echo_n='/usr/ucb/echo -n'
12219 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12220 as_echo_n_body='eval
12224 expr "X$arg" : "X\\(.*\\)$as_nl";
12225 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12227 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12229 export as_echo_n_body
12230 as_echo_n='sh -c $as_echo_n_body as_echo'
12232 export as_echo_body
12233 as_echo='sh -c $as_echo_body as_echo'
12236 # The user is always right.
12237 if test "${PATH_SEPARATOR+set}" != set; then
12239 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12240 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12247 # We need space, tab and new line, in precisely that order. Quoting is
12248 # there to prevent editors from complaining about space-tab.
12249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12250 # splitting by setting IFS to empty value.)
12253 # Find who we are. Look in the path if we contain no directory separator.
12256 *[\\/]* ) as_myself=$0 ;;
12257 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12258 for as_dir in $PATH
12261 test -z "$as_dir" && as_dir=.
12262 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12268 # We did not find ourselves, most probably we were run as `sh COMMAND'
12269 # in which case we are not to be found in the path.
12270 if test "x$as_myself" = x; then
12273 if test ! -f "$as_myself"; then
12274 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12278 # Unset variables that we do not need and which cause bugs (e.g. in
12279 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12280 # suppresses any "Segmentation fault" message there. '((' could
12281 # trigger a bug in pdksh 5.2.14.
12282 for as_var in BASH_ENV ENV MAIL MAILPATH
12283 do eval test x\${$as_var+set} = xset \
12284 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12300 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12301 # ----------------------------------------
12302 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12303 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12304 # script with STATUS, using 1 if that was 0.
12307 as_status=$1; test $as_status -eq 0 && as_status=1
12309 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12310 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12312 $as_echo "$as_me: error: $2" >&2
12313 as_fn_exit $as_status
12317 # as_fn_set_status STATUS
12318 # -----------------------
12319 # Set $? to STATUS, without forking.
12320 as_fn_set_status ()
12323 } # as_fn_set_status
12325 # as_fn_exit STATUS
12326 # -----------------
12327 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12331 as_fn_set_status $1
12337 # Portably unset VAR.
12340 { eval $1=; unset $1;}
12342 as_unset=as_fn_unset
12343 # as_fn_append VAR VALUE
12344 # ----------------------
12345 # Append the text in VALUE to the end of the definition contained in VAR. Take
12346 # advantage of any shell optimizations that allow amortized linear growth over
12347 # repeated appends, instead of the typical quadratic growth present in naive
12349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12350 eval 'as_fn_append ()
12361 # as_fn_arith ARG...
12362 # ------------------
12363 # Perform arithmetic evaluation on the ARGs, and store the result in the
12364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12365 # must be portable across $(()) and expr.
12366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12367 eval 'as_fn_arith ()
12374 as_val=`expr "$@" || test $? -eq 1`
12379 if expr a : '\(a\)' >/dev/null 2>&1 &&
12380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12387 as_basename=basename
12392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12398 as_me=`$as_basename -- "$0" ||
12399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12400 X"$0" : 'X\(//\)$' \| \
12401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12403 sed '/^.*\/\([^/][^/]*\)\/*$/{
12417 # Avoid depending upon Character Ranges.
12418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12421 as_cr_digits='0123456789'
12422 as_cr_alnum=$as_cr_Letters$as_cr_digits
12424 ECHO_C= ECHO_N= ECHO_T=
12425 case `echo -n x` in #(((((
12427 case `echo 'xy\c'` in
12428 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12430 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12437 rm -f conf$$ conf$$.exe conf$$.file
12438 if test -d conf$$.dir; then
12439 rm -f conf$$.dir/conf$$.file
12442 mkdir conf$$.dir 2>/dev/null
12444 if (echo >conf$$.file) 2>/dev/null; then
12445 if ln -s conf$$.file conf$$ 2>/dev/null; then
12447 # ... but there are two gotchas:
12448 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12449 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12450 # In both cases, we have to default to `cp -p'.
12451 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12453 elif ln conf$$.file conf$$ 2>/dev/null; then
12461 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12462 rmdir conf$$.dir 2>/dev/null
12467 # Create "$as_dir" as a directory, including parents if necessary.
12472 -*) as_dir=./$as_dir;;
12474 test -d "$as_dir" || eval $as_mkdir_p || {
12478 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12479 *) as_qdir=$as_dir;;
12481 as_dirs="'$as_qdir' $as_dirs"
12482 as_dir=`$as_dirname -- "$as_dir" ||
12483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12484 X"$as_dir" : 'X\(//\)[^/]' \| \
12485 X"$as_dir" : 'X\(//\)$' \| \
12486 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12487 $as_echo X"$as_dir" |
12488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12492 /^X\(\/\/\)[^/].*/{
12505 test -d "$as_dir" && break
12507 test -z "$as_dirs" || eval "mkdir $as_dirs"
12508 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12512 if mkdir -p . 2>/dev/null; then
12513 as_mkdir_p='mkdir -p "$as_dir"'
12515 test -d ./-p && rmdir ./-p
12519 if test -x / >/dev/null 2>&1; then
12520 as_test_x='test -x'
12522 if ls -dL / >/dev/null 2>&1; then
12529 if test -d "$1"; then
12535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12536 ???[sx]*):;;*)false;;esac;fi
12540 as_executable_p=$as_test_x
12542 # Sed expression to map a string onto a valid CPP name.
12543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12545 # Sed expression to map a string onto a valid variable name.
12546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12550 ## ----------------------------------- ##
12551 ## Main body of $CONFIG_STATUS script. ##
12552 ## ----------------------------------- ##
12554 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12557 # Save the log message, to keep $0 and so on meaningful, and to
12558 # report actual input values of CONFIG_FILES etc. instead of their
12559 # values after options handling.
12561 This file was extended by OpenPAM $as_me 20111218, which was
12562 generated by GNU Autoconf 2.68. Invocation command line was
12564 CONFIG_FILES = $CONFIG_FILES
12565 CONFIG_HEADERS = $CONFIG_HEADERS
12566 CONFIG_LINKS = $CONFIG_LINKS
12567 CONFIG_COMMANDS = $CONFIG_COMMANDS
12570 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12575 case $ac_config_files in *"
12576 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12579 case $ac_config_headers in *"
12580 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12585 # Files that config.status was made for.
12586 config_files="$ac_config_files"
12587 config_headers="$ac_config_headers"
12588 config_commands="$ac_config_commands"
12592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12594 \`$as_me' instantiates files and other configuration actions
12595 from templates according to the current configuration. Unless the files
12596 and actions are specified as TAGs, all are instantiated by default.
12598 Usage: $0 [OPTION]... [TAG]...
12600 -h, --help print this help, then exit
12601 -V, --version print version number and configuration settings, then exit
12602 --config print configuration, then exit
12603 -q, --quiet, --silent
12604 do not print progress messages
12605 -d, --debug don't remove temporary files
12606 --recheck update $as_me by reconfiguring in the same conditions
12607 --file=FILE[:TEMPLATE]
12608 instantiate the configuration file FILE
12609 --header=FILE[:TEMPLATE]
12610 instantiate the configuration header FILE
12612 Configuration files:
12615 Configuration headers:
12618 Configuration commands:
12621 Report bugs to <des@des.no>."
12624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12625 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12627 OpenPAM config.status 20111218
12628 configured by $0, generated by GNU Autoconf 2.68,
12629 with options \\"\$ac_cs_config\\"
12631 Copyright (C) 2010 Free Software Foundation, Inc.
12632 This config.status script is free software; the Free Software Foundation
12633 gives unlimited permission to copy, distribute and modify it."
12640 test -n "\$AWK" || AWK=awk
12643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12644 # The default lists apply if the user does not specify any file.
12650 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12651 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12655 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12667 # Handling of the options.
12668 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12670 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12671 $as_echo "$ac_cs_version"; exit ;;
12672 --config | --confi | --conf | --con | --co | --c )
12673 $as_echo "$ac_cs_config"; exit ;;
12674 --debug | --debu | --deb | --de | --d | -d )
12676 --file | --fil | --fi | --f )
12679 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12680 '') as_fn_error $? "missing file argument" ;;
12682 as_fn_append CONFIG_FILES " '$ac_optarg'"
12683 ac_need_defaults=false;;
12684 --header | --heade | --head | --hea )
12687 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12689 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12690 ac_need_defaults=false;;
12692 # Conflict between --help and --header
12693 as_fn_error $? "ambiguous option: \`$1'
12694 Try \`$0 --help' for more information.";;
12695 --help | --hel | -h )
12696 $as_echo "$ac_cs_usage"; exit ;;
12697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12701 # This is an error.
12702 -*) as_fn_error $? "unrecognized option: \`$1'
12703 Try \`$0 --help' for more information." ;;
12705 *) as_fn_append ac_config_targets " $1"
12706 ac_need_defaults=false ;;
12712 ac_configure_extra_args=
12714 if $ac_cs_silent; then
12716 ac_configure_extra_args="$ac_configure_extra_args --silent"
12720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12721 if \$ac_cs_recheck; then
12722 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12725 CONFIG_SHELL='$SHELL'
12726 export CONFIG_SHELL
12731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12736 ## Running $as_me. ##
12742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12749 # The HP-UX ksh and POSIX shell print the target directory to stdout
12750 # if CDPATH is set.
12751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12753 sed_quote_subst='$sed_quote_subst'
12754 double_quote_subst='$double_quote_subst'
12755 delay_variable_subst='$delay_variable_subst'
12756 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12757 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12758 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12759 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12760 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12761 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12762 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12763 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12764 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12765 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12766 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12767 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12768 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12769 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12770 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12771 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12772 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12773 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12774 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12775 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12776 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12777 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12778 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12779 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12780 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12781 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12782 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12783 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12784 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12785 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12786 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12787 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12788 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12789 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12790 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12791 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12792 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12793 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12794 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12795 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12796 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12797 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12798 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12799 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12800 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12801 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12802 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12803 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12804 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12805 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12806 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12807 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12808 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12809 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12810 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12811 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12812 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12813 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12814 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12815 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12816 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12817 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12819 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12820 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12821 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12822 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12846 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12847 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12848 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12849 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12850 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12851 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12852 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12853 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12854 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12855 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12856 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12857 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12858 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12859 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12860 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12861 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12862 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12863 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12864 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12865 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12866 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12867 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12868 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12869 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12870 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12871 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12872 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12873 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12874 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12875 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12876 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12877 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12878 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12879 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12880 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12881 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12882 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12883 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12884 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12885 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12888 LTCFLAGS='$LTCFLAGS'
12889 compiler='$compiler_DEFAULT'
12891 # A function that is used when there is no print builtin or printf.
12892 func_fallback_echo ()
12894 eval 'cat <<_LTECHO_EOF
12899 # Quote evaled strings.
12913 deplibs_check_method \
12918 sharedlib_from_linklib_cmd \
12921 archiver_list_spec \
12927 lt_cv_sys_global_symbol_pipe \
12928 lt_cv_sys_global_symbol_to_cdecl \
12929 lt_cv_sys_global_symbol_to_c_name_address \
12930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12931 nm_file_list_spec \
12932 lt_prog_compiler_no_builtin_flag \
12933 lt_prog_compiler_pic \
12934 lt_prog_compiler_wl \
12935 lt_prog_compiler_static \
12936 lt_cv_prog_compiler_c_o \
12945 export_dynamic_flag_spec \
12946 whole_archive_flag_spec \
12947 compiler_needs_object \
12949 allow_undefined_flag \
12950 no_undefined_flag \
12951 hardcode_libdir_flag_spec \
12952 hardcode_libdir_flag_spec_ld \
12953 hardcode_libdir_separator \
12957 variables_saved_for_relink \
12959 library_names_spec \
12961 install_override_mode \
12965 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12966 *[\\\\\\\`\\"\\\$]*)
12967 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12970 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12975 # Double-quote double-evaled strings.
12976 for var in reload_cmds \
12977 old_postinstall_cmds \
12978 old_postuninstall_cmds \
12980 extract_expsyms_cmds \
12981 old_archive_from_new_cmds \
12982 old_archive_from_expsyms_cmds \
12984 archive_expsym_cmds \
12986 module_expsym_cmds \
12987 export_symbols_cmds \
12991 postuninstall_cmds \
12993 sys_lib_search_path_spec \
12994 sys_lib_dlsearch_path_spec; do
12995 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12996 *[\\\\\\\`\\"\\\$]*)
12997 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13000 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13005 ac_aux_dir='$ac_aux_dir'
13006 xsi_shell='$xsi_shell'
13007 lt_shell_append='$lt_shell_append'
13009 # See if we are running on zsh, and set the options which allow our
13010 # commands through without removal of \ escapes INIT.
13011 if test -n "\${ZSH_VERSION+set}" ; then
13012 setopt NO_GLOB_SUBST
13018 TIMESTAMP='$TIMESTAMP'
13027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13029 # Handling of arguments.
13030 for ac_config_target in $ac_config_targets
13032 case $ac_config_target in
13033 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13034 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13035 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13036 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
13037 "bin/pamtest/Makefile") CONFIG_FILES="$CONFIG_FILES bin/pamtest/Makefile" ;;
13038 "bin/su/Makefile") CONFIG_FILES="$CONFIG_FILES bin/su/Makefile" ;;
13039 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13040 "include/security/Makefile") CONFIG_FILES="$CONFIG_FILES include/security/Makefile" ;;
13041 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13042 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
13043 "modules/pam_unix/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_unix/Makefile" ;;
13044 "modules/pam_deny/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_deny/Makefile" ;;
13045 "modules/pam_permit/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_permit/Makefile" ;;
13046 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13047 "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
13048 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13050 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13055 # If the user did not use the arguments to specify the items to instantiate,
13056 # then the envvar interface is used. Set only those that are not.
13057 # We use the long form for the default assignment because of an extremely
13058 # bizarre bug on SunOS 4.1.3.
13059 if $ac_need_defaults; then
13060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13065 # Have a temporary directory for convenience. Make it in the build tree
13066 # simply because there is no reason against having it here, and in addition,
13067 # creating and moving files from /tmp can sometimes cause problems.
13068 # Hook for its removal unless debugging.
13069 # Note that there is a small window in which the directory will not be cleaned:
13070 # after its creation but before its name has been assigned to `$tmp'.
13074 trap 'exit_status=$?
13075 : "${ac_tmp:=$tmp}"
13076 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13078 trap 'as_fn_exit 1' 1 2 13 15
13080 # Create a (secure) tmp directory for tmp files.
13083 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13087 tmp=./conf$$-$RANDOM
13088 (umask 077 && mkdir "$tmp")
13089 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13092 # Set up the scripts for CONFIG_FILES section.
13093 # No need to generate them if there are no CONFIG_FILES.
13094 # This happens for instance with `./config.status config.h'.
13095 if test -n "$CONFIG_FILES"; then
13098 ac_cr=`echo X | tr X '\015'`
13099 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13100 # But we know of no other shell where ac_cr would be empty at this
13101 # point, so we can use a bashism as a fallback.
13102 if test "x$ac_cr" = x; then
13103 eval ac_cr=\$\'\\r\'
13105 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13106 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13109 ac_cs_awk_cr=$ac_cr
13112 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13117 echo "cat >conf$$subs.awk <<_ACEOF" &&
13118 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13120 } >conf$$subs.sh ||
13121 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13122 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13124 for ac_last_try in false false false false false :; do
13125 . ./conf$$subs.sh ||
13126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13128 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13129 if test $ac_delim_n = $ac_delim_num; then
13131 elif $ac_last_try; then
13132 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13134 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13137 rm -f conf$$subs.sh
13139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13140 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13144 s/^/S["/; s/!.*/"]=/
13154 s/\(.\{148\}\)..*/\1/
13156 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13161 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13168 s/\(.\{148\}\)..*/\1/
13170 s/["\\]/\\&/g; s/^/"/; s/$/"/
13174 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13179 ' <conf$$subs.awk | sed '
13184 ' >>$CONFIG_STATUS || ac_write_fail=1
13185 rm -f conf$$subs.awk
13186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13188 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13189 for (key in S) S_is_set[key] = 1
13195 nfields = split(line, field, "@")
13197 len = length(field[1])
13198 for (i = 2; i < nfields; i++) {
13200 keylen = length(key)
13201 if (S_is_set[key]) {
13203 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13204 len += length(value) + length(field[++i])
13215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13216 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13217 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13220 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13221 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13224 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13225 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13226 # trailing colons and then remove the whole line if VPATH becomes empty
13227 # (actually we leave an empty line to preserve line numbers).
13228 if test "x$srcdir" = x.; then
13229 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13248 fi # test -n "$CONFIG_FILES"
13250 # Set up the scripts for CONFIG_HEADERS section.
13251 # No need to generate them if there are no CONFIG_HEADERS.
13252 # This happens for instance with `./config.status Makefile'.
13253 if test -n "$CONFIG_HEADERS"; then
13254 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13258 # Transform confdefs.h into an awk script `defines.awk', embedded as
13259 # here-document in config.status, that substitutes the proper values into
13260 # config.h.in to produce config.h.
13262 # Create a delimiter string that does not exist in confdefs.h, to ease
13263 # handling of long lines.
13265 for ac_last_try in false false :; do
13266 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13267 if test -z "$ac_tt"; then
13269 elif $ac_last_try; then
13270 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13276 # For the awk script, D is an array of macro values keyed by name,
13277 # likewise P contains macro parameters if any. Preserve backslash
13278 # newline sequences.
13280 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13282 s/.\{148\}/&'"$ac_delim"'/g
13285 s/^[ ]*#[ ]*define[ ][ ]*/ /
13292 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13294 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13299 D["\1"]=" \3\\\\\\n"\\/p
13301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13306 s/.\{148\}/&'"$ac_delim"'/g
13311 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13314 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13316 ' <confdefs.h | sed '
13317 s/'"$ac_delim"'/"\\\
13318 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13321 for (key in D) D_is_set[key] = 1
13324 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13326 split(line, arg, " ")
13327 if (arg[1] == "#") {
13331 defundef = substr(arg[1], 2)
13334 split(mac1, mac2, "(") #)
13336 prefix = substr(line, 1, index(line, defundef) - 1)
13337 if (D_is_set[macro]) {
13338 # Preserve the white space surrounding the "#".
13339 print prefix "define", macro P[macro] D[macro]
13342 # Replace #undef with comments. This is necessary, for example,
13343 # in the case of _POSIX_SOURCE, which is predefined and required
13344 # on some systems where configure will not decide to define it.
13345 if (defundef == "undef") {
13346 print "/*", prefix defundef, macro, "*/"
13354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13355 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13356 fi # test -n "$CONFIG_HEADERS"
13359 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13364 :[FHLC]) ac_mode=$ac_tag; continue;;
13366 case $ac_mode$ac_tag in
13368 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13369 :[FH]-) ac_tag=-:-;;
13370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13387 -) ac_f="$ac_tmp/stdin";;
13388 *) # Look for the file first in the build tree, then in the source tree
13389 # (if the path is not absolute). The absolute path cannot be DOS-style,
13390 # because $ac_f cannot contain `:'.
13394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13396 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13398 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13399 as_fn_append ac_file_inputs " '$ac_f'"
13402 # Let's still pretend it is `configure' which instantiates (i.e., don't
13403 # use $as_me), people would be surprised to read:
13404 # /* config.h. Generated by config.status. */
13405 configure_input='Generated from '`
13406 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13408 if test x"$ac_file" != x-; then
13409 configure_input="$ac_file. $configure_input"
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13411 $as_echo "$as_me: creating $ac_file" >&6;}
13413 # Neutralize special characters interpreted by sed in replacement strings.
13414 case $configure_input in #(
13415 *\&* | *\|* | *\\* )
13416 ac_sed_conf_input=`$as_echo "$configure_input" |
13417 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13418 *) ac_sed_conf_input=$configure_input;;
13422 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13428 ac_dir=`$as_dirname -- "$ac_file" ||
13429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13430 X"$ac_file" : 'X\(//\)[^/]' \| \
13431 X"$ac_file" : 'X\(//\)$' \| \
13432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13433 $as_echo X"$ac_file" |
13434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13438 /^X\(\/\/\)[^/].*/{
13451 as_dir="$ac_dir"; as_fn_mkdir_p
13455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13458 # A ".." for each directory in $ac_dir_suffix.
13459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13460 case $ac_top_builddir_sub in
13461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13465 ac_abs_top_builddir=$ac_pwd
13466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13467 # for backward compatibility:
13468 ac_top_builddir=$ac_top_build_prefix
13471 .) # We are building in place.
13473 ac_top_srcdir=$ac_top_builddir_sub
13474 ac_abs_top_srcdir=$ac_pwd ;;
13475 [\\/]* | ?:[\\/]* ) # Absolute name.
13476 ac_srcdir=$srcdir$ac_dir_suffix;
13477 ac_top_srcdir=$srcdir
13478 ac_abs_top_srcdir=$srcdir ;;
13479 *) # Relative name.
13480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13481 ac_top_srcdir=$ac_top_build_prefix$srcdir
13482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13494 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13495 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13497 ac_MKDIR_P=$MKDIR_P
13499 [\\/$]* | ?:[\\/]* ) ;;
13500 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13505 # If the template does not know about datarootdir, expand it.
13506 # FIXME: This hack should be removed a few years after 2.60.
13507 ac_datarootdir_hack=; ac_datarootdir_seen=
13518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13519 *datarootdir*) ac_datarootdir_seen=yes;;
13520 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13525 ac_datarootdir_hack='
13526 s&@datadir@&$datadir&g
13527 s&@docdir@&$docdir&g
13528 s&@infodir@&$infodir&g
13529 s&@localedir@&$localedir&g
13530 s&@mandir@&$mandir&g
13531 s&\\\${datarootdir}&$datarootdir&g' ;;
13535 # Neutralize VPATH when `$srcdir' = `.'.
13536 # Shell code in configure.ac might set extrasub.
13537 # FIXME: do we really want to maintain this feature?
13538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13539 ac_sed_extra="$ac_vpsub
13542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13545 s|@configure_input@|$ac_sed_conf_input|;t t
13546 s&@top_builddir@&$ac_top_builddir_sub&;t t
13547 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13548 s&@srcdir@&$ac_srcdir&;t t
13549 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13550 s&@top_srcdir@&$ac_top_srcdir&;t t
13551 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13552 s&@builddir@&$ac_builddir&;t t
13553 s&@abs_builddir@&$ac_abs_builddir&;t t
13554 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13555 s&@INSTALL@&$ac_INSTALL&;t t
13556 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13557 $ac_datarootdir_hack
13559 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13560 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13563 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13565 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13567 which seems to be undefined. Please make sure it is defined" >&5
13568 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13569 which seems to be undefined. Please make sure it is defined" >&2;}
13571 rm -f "$ac_tmp/stdin"
13573 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13574 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13582 if test x"$ac_file" != x-; then
13584 $as_echo "/* $configure_input */" \
13585 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13586 } >"$ac_tmp/config.h" \
13587 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13588 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13590 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13593 mv "$ac_tmp/config.h" "$ac_file" \
13594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13597 $as_echo "/* $configure_input */" \
13598 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13599 || as_fn_error $? "could not create -" "$LINENO" 5
13601 # Compute "$ac_file"'s index in $config_headers.
13604 for _am_header in $config_headers :; do
13605 case $_am_header in
13606 $_am_arg | $_am_arg:* )
13609 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13612 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13613 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13614 X"$_am_arg" : 'X\(//\)[^/]' \| \
13615 X"$_am_arg" : 'X\(//\)$' \| \
13616 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13617 $as_echo X"$_am_arg" |
13618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13622 /^X\(\/\/\)[^/].*/{
13634 s/.*/./; q'`/stamp-h$_am_stamp_count
13637 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13638 $as_echo "$as_me: executing $ac_file commands" >&6;}
13643 case $ac_file$ac_mode in
13644 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13645 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13646 # are listed without --file. Let's play safe and only enable the eval
13647 # if we detect the quoting.
13648 case $CONFIG_FILES in
13649 *\'*) eval set x "$CONFIG_FILES" ;;
13650 *) set x $CONFIG_FILES ;;
13655 # Strip MF so we end up with the name of the file.
13656 mf=`echo "$mf" | sed -e 's/:.*$//'`
13657 # Check whether this is an Automake generated Makefile or not.
13658 # We used to match only the files named `Makefile.in', but
13659 # some people rename them; so instead we look at the file content.
13660 # Grep'ing the first line is not enough: some people post-process
13661 # each Makefile.in and add a new line on top of each file to say so.
13662 # Grep'ing the whole file is not good either: AIX grep has a line
13663 # limit of 2048, but all sed's we know have understand at least 4000.
13664 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13665 dirpart=`$as_dirname -- "$mf" ||
13666 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13667 X"$mf" : 'X\(//\)[^/]' \| \
13668 X"$mf" : 'X\(//\)$' \| \
13669 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13675 /^X\(\/\/\)[^/].*/{
13691 # Extract the definition of DEPDIR, am__include, and am__quote
13692 # from the Makefile without running `make'.
13693 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13694 test -z "$DEPDIR" && continue
13695 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13696 test -z "am__include" && continue
13697 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13698 # When using ansi2knr, U may be empty or an underscore; expand it
13699 U=`sed -n 's/^U = //p' < "$mf"`
13700 # Find all dependency output files, they are included files with
13701 # $(DEPDIR) in their names. We invoke sed twice because it is the
13702 # simplest approach to changing $(DEPDIR) to its actual value in the
13704 for file in `sed -n "
13705 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13706 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13707 # Make sure the directory exists.
13708 test -f "$dirpart/$file" && continue
13709 fdir=`$as_dirname -- "$file" ||
13710 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13711 X"$file" : 'X\(//\)[^/]' \| \
13712 X"$file" : 'X\(//\)$' \| \
13713 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13714 $as_echo X"$file" |
13715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13719 /^X\(\/\/\)[^/].*/{
13732 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13733 # echo "creating $dirpart/$file"
13734 echo '# dummy' > "$dirpart/$file"
13741 # See if we are running on zsh, and set the options which allow our
13742 # commands through without removal of \ escapes.
13743 if test -n "${ZSH_VERSION+set}" ; then
13744 setopt NO_GLOB_SUBST
13747 cfgfile="${ofile}T"
13748 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13751 cat <<_LT_EOF >> "$cfgfile"
13754 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13755 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13756 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13757 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13759 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13760 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13762 # Written by Gordon Matzigkeit, 1996
13764 # This file is part of GNU Libtool.
13766 # GNU Libtool is free software; you can redistribute it and/or
13767 # modify it under the terms of the GNU General Public License as
13768 # published by the Free Software Foundation; either version 2 of
13769 # the License, or (at your option) any later version.
13771 # As a special exception to the GNU General Public License,
13772 # if you distribute this file as part of a program or library that
13773 # is built using GNU Libtool, you may include this file under the
13774 # same distribution terms that you use for the rest of that program.
13776 # GNU Libtool is distributed in the hope that it will be useful,
13777 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13778 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13779 # GNU General Public License for more details.
13781 # You should have received a copy of the GNU General Public License
13782 # along with GNU Libtool; see the file COPYING. If not, a copy
13783 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13784 # obtained by writing to the Free Software Foundation, Inc.,
13785 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13788 # The names of the tagged configurations supported by this script.
13791 # ### BEGIN LIBTOOL CONFIG
13793 # Which release of libtool.m4 was used?
13794 macro_version=$macro_version
13795 macro_revision=$macro_revision
13797 # Whether or not to build static libraries.
13798 build_old_libs=$enable_static
13800 # Whether or not to build shared libraries.
13801 build_libtool_libs=$enable_shared
13803 # What type of objects to build.
13806 # Whether or not to optimize for fast installation.
13807 fast_install=$enable_fast_install
13809 # Shell to use when invoking shell scripts.
13812 # An echo program that protects backslashes.
13816 host_alias=$host_alias
13820 # The build system.
13821 build_alias=$build_alias
13825 # A sed program that does not truncate output.
13828 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13829 Xsed="\$SED -e 1s/^X//"
13831 # A grep program that handles long lines.
13837 # A literal string matcher.
13840 # A BSD- or MS-compatible name lister.
13843 # Whether we need soft or hard links.
13846 # What is the maximum length of a command?
13847 max_cmd_len=$max_cmd_len
13849 # Object file suffix (normally "o").
13852 # Executable file suffix (normally "").
13855 # whether the shell understands "unset".
13858 # turn spaces into newlines.
13861 # turn newlines into spaces.
13864 # convert \$build file names to \$host format.
13865 to_host_file_cmd=$lt_cv_to_host_file_cmd
13867 # convert \$build files to toolchain format.
13868 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13870 # An object symbol dumper.
13871 OBJDUMP=$lt_OBJDUMP
13873 # Method to check whether dependent libraries are shared objects.
13874 deplibs_check_method=$lt_deplibs_check_method
13876 # Command to use when deplibs_check_method = "file_magic".
13877 file_magic_cmd=$lt_file_magic_cmd
13879 # How to find potential files when deplibs_check_method = "file_magic".
13880 file_magic_glob=$lt_file_magic_glob
13882 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13883 want_nocaseglob=$lt_want_nocaseglob
13885 # DLL creation program.
13886 DLLTOOL=$lt_DLLTOOL
13888 # Command to associate shared and link libraries.
13889 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13894 # Flags to create an archive.
13895 AR_FLAGS=$lt_AR_FLAGS
13897 # How to feed a file listing to the archiver.
13898 archiver_list_spec=$lt_archiver_list_spec
13900 # A symbol stripping program.
13903 # Commands used to install an old-style archive.
13905 old_postinstall_cmds=$lt_old_postinstall_cmds
13906 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13908 # Whether to use a lock for old archive extraction.
13909 lock_old_archive_extraction=$lock_old_archive_extraction
13914 # LTCC compiler flags.
13915 LTCFLAGS=$lt_CFLAGS
13917 # Take the output of nm and produce a listing of raw symbols and C names.
13918 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13920 # Transform the output of nm in a proper C declaration.
13921 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13923 # Transform the output of nm in a C name address pair.
13924 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13926 # Transform the output of nm in a C name address pair when lib prefix is needed.
13927 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13929 # Specify filename containing input files for \$NM.
13930 nm_file_list_spec=$lt_nm_file_list_spec
13932 # The root where to search for dependent libraries,and in which our libraries should be installed.
13933 lt_sysroot=$lt_sysroot
13935 # The name of the directory that contains temporary libtool files.
13938 # Used to examine libraries when file_magic_cmd begins with "file".
13939 MAGIC_CMD=$MAGIC_CMD
13941 # Must we lock files when doing compilation?
13942 need_locks=$lt_need_locks
13945 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13947 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13948 DSYMUTIL=$lt_DSYMUTIL
13950 # Tool to change global to local symbols on Mac OS X.
13953 # Tool to manipulate fat objects and archives on Mac OS X.
13956 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13959 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13960 OTOOL64=$lt_OTOOL64
13962 # Old archive suffix (normally "a").
13965 # Shared library suffix (normally ".so").
13966 shrext_cmds=$lt_shrext_cmds
13968 # The commands to extract the exported symbol list from a shared archive.
13969 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13971 # Variables whose values should be saved in libtool wrapper scripts and
13972 # restored at link time.
13973 variables_saved_for_relink=$lt_variables_saved_for_relink
13975 # Do we need the "lib" prefix for modules?
13976 need_lib_prefix=$need_lib_prefix
13978 # Do we need a version for libraries?
13979 need_version=$need_version
13981 # Library versioning type.
13982 version_type=$version_type
13984 # Shared library runtime path variable.
13985 runpath_var=$runpath_var
13987 # Shared library path variable.
13988 shlibpath_var=$shlibpath_var
13990 # Is shlibpath searched before the hard-coded library search path?
13991 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13993 # Format of library name prefix.
13994 libname_spec=$lt_libname_spec
13996 # List of archive names. First name is the real one, the rest are links.
13997 # The last name is the one that the linker finds with -lNAME
13998 library_names_spec=$lt_library_names_spec
14000 # The coded name of the library, if different from the real name.
14001 soname_spec=$lt_soname_spec
14003 # Permission mode override for installation of shared libraries.
14004 install_override_mode=$lt_install_override_mode
14006 # Command to use after installation of a shared archive.
14007 postinstall_cmds=$lt_postinstall_cmds
14009 # Command to use after uninstallation of a shared archive.
14010 postuninstall_cmds=$lt_postuninstall_cmds
14012 # Commands used to finish a libtool library installation in a directory.
14013 finish_cmds=$lt_finish_cmds
14015 # As "finish_cmds", except a single script fragment to be evaled but
14017 finish_eval=$lt_finish_eval
14019 # Whether we should hardcode library paths into libraries.
14020 hardcode_into_libs=$hardcode_into_libs
14022 # Compile-time system search path for libraries.
14023 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14025 # Run-time system search path for libraries.
14026 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14028 # Whether dlopen is supported.
14029 dlopen_support=$enable_dlopen
14031 # Whether dlopen of programs is supported.
14032 dlopen_self=$enable_dlopen_self
14034 # Whether dlopen of statically linked programs is supported.
14035 dlopen_self_static=$enable_dlopen_self_static
14037 # Commands to strip libraries.
14038 old_striplib=$lt_old_striplib
14039 striplib=$lt_striplib
14042 # The linker used to build libraries.
14045 # How to create reloadable object files.
14046 reload_flag=$lt_reload_flag
14047 reload_cmds=$lt_reload_cmds
14049 # Commands used to build an old-style archive.
14050 old_archive_cmds=$lt_old_archive_cmds
14052 # A language specific compiler.
14055 # Is the compiler the GNU compiler?
14058 # Compiler flag to turn off builtin functions.
14059 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14061 # Additional compiler flags for building library objects.
14062 pic_flag=$lt_lt_prog_compiler_pic
14064 # How to pass a linker flag through the compiler.
14065 wl=$lt_lt_prog_compiler_wl
14067 # Compiler flag to prevent dynamic linking.
14068 link_static_flag=$lt_lt_prog_compiler_static
14070 # Does compiler simultaneously support -c and -o options?
14071 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14073 # Whether or not to add -lc for building shared libraries.
14074 build_libtool_need_lc=$archive_cmds_need_lc
14076 # Whether or not to disallow shared libs when runtime libs are static.
14077 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14079 # Compiler flag to allow reflexive dlopens.
14080 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14082 # Compiler flag to generate shared objects directly from archives.
14083 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14085 # Whether the compiler copes with passing no objects directly.
14086 compiler_needs_object=$lt_compiler_needs_object
14088 # Create an old-style archive from a shared archive.
14089 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14091 # Create a temporary old-style archive to link instead of a shared archive.
14092 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14094 # Commands used to build a shared archive.
14095 archive_cmds=$lt_archive_cmds
14096 archive_expsym_cmds=$lt_archive_expsym_cmds
14098 # Commands used to build a loadable module if different from building
14099 # a shared archive.
14100 module_cmds=$lt_module_cmds
14101 module_expsym_cmds=$lt_module_expsym_cmds
14103 # Whether we are building with GNU ld or not.
14104 with_gnu_ld=$lt_with_gnu_ld
14106 # Flag that allows shared libraries with undefined symbols to be built.
14107 allow_undefined_flag=$lt_allow_undefined_flag
14109 # Flag that enforces no undefined symbols.
14110 no_undefined_flag=$lt_no_undefined_flag
14112 # Flag to hardcode \$libdir into a binary during linking.
14113 # This must work even if \$libdir does not exist
14114 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14116 # If ld is used when linking, flag to hardcode \$libdir into a binary
14117 # during linking. This must work even if \$libdir does not exist.
14118 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14120 # Whether we need a single "-rpath" flag with a separated argument.
14121 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14123 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14124 # DIR into the resulting binary.
14125 hardcode_direct=$hardcode_direct
14127 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14128 # DIR into the resulting binary and the resulting library dependency is
14129 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14130 # library is relocated.
14131 hardcode_direct_absolute=$hardcode_direct_absolute
14133 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14134 # into the resulting binary.
14135 hardcode_minus_L=$hardcode_minus_L
14137 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14138 # into the resulting binary.
14139 hardcode_shlibpath_var=$hardcode_shlibpath_var
14141 # Set to "yes" if building a shared library automatically hardcodes DIR
14142 # into the library and all subsequent libraries and executables linked
14144 hardcode_automatic=$hardcode_automatic
14146 # Set to yes if linker adds runtime paths of dependent libraries
14147 # to runtime path list.
14148 inherit_rpath=$inherit_rpath
14150 # Whether libtool must link a program against all its dependency libraries.
14151 link_all_deplibs=$link_all_deplibs
14153 # Set to "yes" if exported symbols are required.
14154 always_export_symbols=$always_export_symbols
14156 # The commands to list exported symbols.
14157 export_symbols_cmds=$lt_export_symbols_cmds
14159 # Symbols that should not be listed in the preloaded symbols.
14160 exclude_expsyms=$lt_exclude_expsyms
14162 # Symbols that must always be exported.
14163 include_expsyms=$lt_include_expsyms
14165 # Commands necessary for linking programs (against libraries) with templates.
14166 prelink_cmds=$lt_prelink_cmds
14168 # Commands necessary for finishing linking programs.
14169 postlink_cmds=$lt_postlink_cmds
14171 # Specify filename containing input files.
14172 file_list_spec=$lt_file_list_spec
14174 # How to hardcode a shared library path into an executable.
14175 hardcode_action=$hardcode_action
14177 # ### END LIBTOOL CONFIG
14183 cat <<\_LT_EOF >> "$cfgfile"
14184 # AIX sometimes has problems with the GCC collect2 program. For some
14185 # reason, if we set the COLLECT_NAMES environment variable, the problems
14186 # vanish in a puff of smoke.
14187 if test "X${COLLECT_NAMES+set}" != Xset; then
14189 export COLLECT_NAMES
14196 ltmain="$ac_aux_dir/ltmain.sh"
14199 # We use sed instead of cat because bash on DJGPP gets confused if
14200 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14201 # text mode, it properly converts lines to CR/LF. This bash problem
14202 # is reportedly fixed, but why not run on old versions too?
14203 sed '$q' "$ltmain" >> "$cfgfile" \
14204 || (rm -f "$cfgfile"; exit 1)
14206 if test x"$xsi_shell" = xyes; then
14207 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14211 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14212 \ * ) func_dirname_result="${3}" ;;\
14214 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14215 && mv -f "$cfgfile.tmp" "$cfgfile" \
14216 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14217 test 0 -eq $? || _lt_function_replace_fail=:
14220 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14223 \ func_basename_result="${1##*/}"\
14224 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14225 && mv -f "$cfgfile.tmp" "$cfgfile" \
14226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14227 test 0 -eq $? || _lt_function_replace_fail=:
14230 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14231 func_dirname_and_basename ()\
14234 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14235 \ * ) func_dirname_result="${3}" ;;\
14237 \ func_basename_result="${1##*/}"\
14238 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14239 && mv -f "$cfgfile.tmp" "$cfgfile" \
14240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14241 test 0 -eq $? || _lt_function_replace_fail=:
14244 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14247 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14248 \ # positional parameters, so assign one to ordinary parameter first.\
14249 \ func_stripname_result=${3}\
14250 \ func_stripname_result=${func_stripname_result#"${1}"}\
14251 \ func_stripname_result=${func_stripname_result%"${2}"}\
14252 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14253 && mv -f "$cfgfile.tmp" "$cfgfile" \
14254 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14255 test 0 -eq $? || _lt_function_replace_fail=:
14258 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14259 func_split_long_opt ()\
14261 \ func_split_long_opt_name=${1%%=*}\
14262 \ func_split_long_opt_arg=${1#*=}\
14263 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14264 && mv -f "$cfgfile.tmp" "$cfgfile" \
14265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14266 test 0 -eq $? || _lt_function_replace_fail=:
14269 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14270 func_split_short_opt ()\
14272 \ func_split_short_opt_arg=${1#??}\
14273 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14274 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14275 && mv -f "$cfgfile.tmp" "$cfgfile" \
14276 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14277 test 0 -eq $? || _lt_function_replace_fail=:
14280 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14284 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14285 \ *) func_lo2o_result=${1} ;;\
14287 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14288 && mv -f "$cfgfile.tmp" "$cfgfile" \
14289 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14290 test 0 -eq $? || _lt_function_replace_fail=:
14293 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14296 func_xform_result=${1%.*}.lo\
14297 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14298 && mv -f "$cfgfile.tmp" "$cfgfile" \
14299 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14300 test 0 -eq $? || _lt_function_replace_fail=:
14303 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14306 func_arith_result=$(( $* ))\
14307 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14308 && mv -f "$cfgfile.tmp" "$cfgfile" \
14309 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14310 test 0 -eq $? || _lt_function_replace_fail=:
14313 sed -e '/^func_len ()$/,/^} # func_len /c\
14316 func_len_result=${#1}\
14317 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14318 && mv -f "$cfgfile.tmp" "$cfgfile" \
14319 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14320 test 0 -eq $? || _lt_function_replace_fail=:
14324 if test x"$lt_shell_append" = xyes; then
14325 sed -e '/^func_append ()$/,/^} # func_append /c\
14328 eval "${1}+=\\${2}"\
14329 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14330 && mv -f "$cfgfile.tmp" "$cfgfile" \
14331 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14332 test 0 -eq $? || _lt_function_replace_fail=:
14335 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14336 func_append_quoted ()\
14338 \ func_quote_for_eval "${2}"\
14339 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14340 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14341 && mv -f "$cfgfile.tmp" "$cfgfile" \
14342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14343 test 0 -eq $? || _lt_function_replace_fail=:
14346 # Save a `func_append' function call where possible by direct use of '+='
14347 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14348 && mv -f "$cfgfile.tmp" "$cfgfile" \
14349 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14350 test 0 -eq $? || _lt_function_replace_fail=:
14352 # Save a `func_append' function call even when '+=' is not available
14353 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14354 && mv -f "$cfgfile.tmp" "$cfgfile" \
14355 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14356 test 0 -eq $? || _lt_function_replace_fail=:
14359 if test x"$_lt_function_replace_fail" = x":"; then
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14361 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14365 mv -f "$cfgfile" "$ofile" ||
14366 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14377 ac_clean_files=$ac_clean_files_save
14379 test $ac_write_fail = 0 ||
14380 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14383 # configure is writing to config.log, and then calls config.status.
14384 # config.status does its own redirection, appending to config.log.
14385 # Unfortunately, on DOS this fails, as config.log is still kept open
14386 # by configure, so config.status won't be able to write to it; its
14387 # output is simply discarded. So we exec the FD to /dev/null,
14388 # effectively closing config.log, so it can be properly (re)opened and
14389 # appended to by config.status. When coming back to configure, we
14390 # need to make the FD available again.
14391 if test "$no_create" != yes; then
14393 ac_config_status_args=
14394 test "$silent" = yes &&
14395 ac_config_status_args="$ac_config_status_args --quiet"
14397 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14399 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14400 # would make configure fail if this is the last instruction.
14401 $ac_cs_success || as_fn_exit 1
14403 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14405 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}