2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for cloog 0.18.0.
5 # Report bugs to <cloog-development@googlegroups.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: cloog-development@googlegroups.com about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
592 PACKAGE_TARNAME='cloog'
593 PACKAGE_VERSION='0.18.0'
594 PACKAGE_STRING='cloog 0.18.0'
595 PACKAGE_BUGREPORT='cloog-development@googlegroups.com'
598 ac_unique_file="source/cloog.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 enable_option_checking=no
636 ac_subst_vars='am__EXEEXT_FALSE
663 NEED_GET_MEMORY_FUNCTIONS_FALSE
664 NEED_GET_MEMORY_FUNCTIONS_TRUE
730 INSTALL_STRIP_PROGRAM
773 program_transform_name
786 enable_option_checking
788 enable_dependency_tracking
796 enable_portable_binary
811 ac_precious_vars='build_alias
823 # Initialize some variables set by options.
825 ac_init_version=false
826 ac_unrecognized_opts=
828 # The variables have the same names as the options, with
829 # dashes changed to underlines.
837 program_transform_name=s,x,x,
845 # Installation directory options.
846 # These are left unexpanded so users can "make install exec_prefix=/foo"
847 # and all the variables that are supposed to be based on exec_prefix
848 # by default will actually change.
849 # Use braces instead of parens because sh, perl, etc. also accept them.
850 # (The list follows the same order as the GNU Coding Standards.)
851 bindir='${exec_prefix}/bin'
852 sbindir='${exec_prefix}/sbin'
853 libexecdir='${exec_prefix}/libexec'
854 datarootdir='${prefix}/share'
855 datadir='${datarootdir}'
856 sysconfdir='${prefix}/etc'
857 sharedstatedir='${prefix}/com'
858 localstatedir='${prefix}/var'
859 includedir='${prefix}/include'
860 oldincludedir='/usr/include'
861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
862 infodir='${datarootdir}/info'
867 libdir='${exec_prefix}/lib'
868 localedir='${datarootdir}/locale'
869 mandir='${datarootdir}/man'
875 # If the previous option needs an argument, assign it.
876 if test -n "$ac_prev"; then
877 eval $ac_prev=\$ac_option
883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
888 # Accept the important Cygnus configure options, so we can diagnose typos.
890 case $ac_dashdash$ac_option in
894 -bindir | --bindir | --bindi | --bind | --bin | --bi)
896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
899 -build | --build | --buil | --bui | --bu)
900 ac_prev=build_alias ;;
901 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
902 build_alias=$ac_optarg ;;
904 -cache-file | --cache-file | --cache-fil | --cache-fi \
905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
906 ac_prev=cache_file ;;
907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
909 cache_file=$ac_optarg ;;
912 cache_file=config.cache ;;
914 -datadir | --datadir | --datadi | --datad)
916 -datadir=* | --datadir=* | --datadi=* | --datad=*)
917 datadir=$ac_optarg ;;
919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
920 | --dataroo | --dataro | --datar)
921 ac_prev=datarootdir ;;
922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
924 datarootdir=$ac_optarg ;;
926 -disable-* | --disable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: $ac_useropt"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
940 eval enable_$ac_useropt=no ;;
942 -docdir | --docdir | --docdi | --doc | --do)
944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
952 -enable-* | --enable-*)
953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
956 as_fn_error $? "invalid feature name: $ac_useropt"
957 ac_useropt_orig=$ac_useropt
958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964 ac_unrecognized_sep=', ';;
966 eval enable_$ac_useropt=\$ac_optarg ;;
968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
970 | --exec | --exe | --ex)
971 ac_prev=exec_prefix ;;
972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
974 | --exec=* | --exe=* | --ex=*)
975 exec_prefix=$ac_optarg ;;
977 -gas | --gas | --ga | --g)
978 # Obsolete; use --with-gas.
981 -help | --help | --hel | --he | -h)
983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
984 ac_init_help=recursive ;;
985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
986 ac_init_help=short ;;
988 -host | --host | --hos | --ho)
989 ac_prev=host_alias ;;
990 -host=* | --host=* | --hos=* | --ho=*)
991 host_alias=$ac_optarg ;;
993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
997 htmldir=$ac_optarg ;;
999 -includedir | --includedir | --includedi | --included | --include \
1000 | --includ | --inclu | --incl | --inc)
1001 ac_prev=includedir ;;
1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1003 | --includ=* | --inclu=* | --incl=* | --inc=*)
1004 includedir=$ac_optarg ;;
1006 -infodir | --infodir | --infodi | --infod | --info | --inf)
1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1009 infodir=$ac_optarg ;;
1011 -libdir | --libdir | --libdi | --libd)
1013 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1014 libdir=$ac_optarg ;;
1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1017 | --libexe | --libex | --libe)
1018 ac_prev=libexecdir ;;
1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1020 | --libexe=* | --libex=* | --libe=*)
1021 libexecdir=$ac_optarg ;;
1023 -localedir | --localedir | --localedi | --localed | --locale)
1024 ac_prev=localedir ;;
1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1026 localedir=$ac_optarg ;;
1028 -localstatedir | --localstatedir | --localstatedi | --localstated \
1029 | --localstate | --localstat | --localsta | --localst | --locals)
1030 ac_prev=localstatedir ;;
1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1033 localstatedir=$ac_optarg ;;
1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1038 mandir=$ac_optarg ;;
1040 -nfp | --nfp | --nf)
1041 # Obsolete; use --without-fp.
1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1045 | --no-cr | --no-c | -n)
1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1054 | --oldin | --oldi | --old | --ol | --o)
1055 ac_prev=oldincludedir ;;
1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1059 oldincludedir=$ac_optarg ;;
1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1064 prefix=$ac_optarg ;;
1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1067 | --program-pre | --program-pr | --program-p)
1068 ac_prev=program_prefix ;;
1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1071 program_prefix=$ac_optarg ;;
1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1074 | --program-suf | --program-su | --program-s)
1075 ac_prev=program_suffix ;;
1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1078 program_suffix=$ac_optarg ;;
1080 -program-transform-name | --program-transform-name \
1081 | --program-transform-nam | --program-transform-na \
1082 | --program-transform-n | --program-transform- \
1083 | --program-transform | --program-transfor \
1084 | --program-transfo | --program-transf \
1085 | --program-trans | --program-tran \
1086 | --progr-tra | --program-tr | --program-t)
1087 ac_prev=program_transform_name ;;
1088 -program-transform-name=* | --program-transform-name=* \
1089 | --program-transform-nam=* | --program-transform-na=* \
1090 | --program-transform-n=* | --program-transform-=* \
1091 | --program-transform=* | --program-transfor=* \
1092 | --program-transfo=* | --program-transf=* \
1093 | --program-trans=* | --program-tran=* \
1094 | --progr-tra=* | --program-tr=* | --program-t=*)
1095 program_transform_name=$ac_optarg ;;
1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100 pdfdir=$ac_optarg ;;
1102 -psdir | --psdir | --psdi | --psd | --ps)
1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108 | -silent | --silent | --silen | --sile | --sil)
1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1115 sbindir=$ac_optarg ;;
1117 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1119 | --sharedst | --shareds | --shared | --share | --shar \
1121 ac_prev=sharedstatedir ;;
1122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1126 sharedstatedir=$ac_optarg ;;
1128 -site | --site | --sit)
1130 -site=* | --site=* | --sit=*)
1133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1136 srcdir=$ac_optarg ;;
1138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1139 | --syscon | --sysco | --sysc | --sys | --sy)
1140 ac_prev=sysconfdir ;;
1141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1143 sysconfdir=$ac_optarg ;;
1145 -target | --target | --targe | --targ | --tar | --ta | --t)
1146 ac_prev=target_alias ;;
1147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1148 target_alias=$ac_optarg ;;
1150 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1153 -version | --version | --versio | --versi | --vers | -V)
1154 ac_init_version=: ;;
1157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160 as_fn_error $? "invalid package name: $ac_useropt"
1161 ac_useropt_orig=$ac_useropt
1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1168 ac_unrecognized_sep=', ';;
1170 eval with_$ac_useropt=\$ac_optarg ;;
1172 -without-* | --without-*)
1173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176 as_fn_error $? "invalid package name: $ac_useropt"
1177 ac_useropt_orig=$ac_useropt
1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1184 ac_unrecognized_sep=', ';;
1186 eval with_$ac_useropt=no ;;
1189 # Obsolete; use --with-x.
1192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1193 | --x-incl | --x-inc | --x-in | --x-i)
1194 ac_prev=x_includes ;;
1195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1197 x_includes=$ac_optarg ;;
1199 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1201 ac_prev=x_libraries ;;
1202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1204 x_libraries=$ac_optarg ;;
1206 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1207 Try \`$0 --help' for more information"
1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1212 # Reject names that are not valid shell variable names.
1213 case $ac_envvar in #(
1214 '' | [0-9]* | *[!_$as_cr_alnum]* )
1215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1217 eval $ac_envvar=\$ac_optarg
1218 export $ac_envvar ;;
1221 # FIXME: should be removed in autoconf 3.0.
1222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1231 if test -n "$ac_prev"; then
1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1233 as_fn_error $? "missing argument to $ac_option"
1236 if test -n "$ac_unrecognized_opts"; then
1237 case $enable_option_checking in
1239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1244 # Check all directory arguments for consistency.
1245 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1246 datadir sysconfdir sharedstatedir localstatedir includedir \
1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1248 libdir localedir mandir
1250 eval ac_val=\$$ac_var
1251 # Remove trailing slashes.
1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1255 eval $ac_var=\$ac_val;;
1257 # Be sure to have absolute directory names.
1259 [\\/$]* | ?:[\\/]* ) continue;;
1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1265 # There might be people who depend on the old broken behavior: `$host'
1266 # used to hold the argument of --host etc.
1267 # FIXME: To remove some day.
1270 target=$target_alias
1272 # FIXME: To remove some day.
1273 if test "x$host_alias" != x; then
1274 if test "x$build_alias" = x; then
1275 cross_compiling=maybe
1276 elif test "x$build_alias" != "x$host_alias"; then
1282 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1284 test "$silent" = yes && exec 6>/dev/null
1287 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1288 ac_ls_di=`ls -di .` &&
1289 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1290 as_fn_error $? "working directory cannot be determined"
1291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292 as_fn_error $? "pwd does not report name of working directory"
1295 # Find the source files, if location was not specified.
1296 if test -z "$srcdir"; then
1297 ac_srcdir_defaulted=yes
1298 # Try the directory containing this script, then the parent directory.
1299 ac_confdir=`$as_dirname -- "$as_myself" ||
1300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301 X"$as_myself" : 'X\(//\)[^/]' \| \
1302 X"$as_myself" : 'X\(//\)$' \| \
1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304 $as_echo X"$as_myself" |
1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1327 ac_srcdir_defaulted=no
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1337 # When building in place, set srcdir=.
1338 if test "$ac_abs_confdir" = "$ac_pwd"; then
1341 # Remove unnecessary trailing slashes from srcdir.
1342 # Double slashes in file names in object file debugging info
1343 # mess up M-x gdb in Emacs.
1345 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1347 for ac_var in $ac_precious_vars; do
1348 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1349 eval ac_env_${ac_var}_value=\$${ac_var}
1350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1351 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1355 # Report the --help message.
1357 if test "$ac_init_help" = "long"; then
1358 # Omit some internal or obsolete options to make the list less imposing.
1359 # This message is too long to be a string in the A/UX 3.1 sh.
1361 \`configure' configures cloog 0.18.0 to adapt to many kinds of systems.
1363 Usage: $0 [OPTION]... [VAR=VALUE]...
1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1366 VAR=VALUE. See below for descriptions of some of the useful variables.
1368 Defaults for the options are specified in brackets.
1371 -h, --help display this help and exit
1372 --help=short display options specific to this package
1373 --help=recursive display the short help of all the included packages
1374 -V, --version display version information and exit
1375 -q, --quiet, --silent do not print \`checking ...' messages
1376 --cache-file=FILE cache test results in FILE [disabled]
1377 -C, --config-cache alias for \`--cache-file=config.cache'
1378 -n, --no-create do not create output files
1379 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1381 Installation directories:
1382 --prefix=PREFIX install architecture-independent files in PREFIX
1383 [$ac_default_prefix]
1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1387 By default, \`make install' will install all the files in
1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1390 for instance \`--prefix=\$HOME'.
1392 For better control, use the options below.
1394 Fine tuning of the installation directories:
1395 --bindir=DIR user executables [EPREFIX/bin]
1396 --sbindir=DIR system admin executables [EPREFIX/sbin]
1397 --libexecdir=DIR program executables [EPREFIX/libexec]
1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1401 --libdir=DIR object code libraries [EPREFIX/lib]
1402 --includedir=DIR C header files [PREFIX/include]
1403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1406 --infodir=DIR info documentation [DATAROOTDIR/info]
1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1408 --mandir=DIR man documentation [DATAROOTDIR/man]
1409 --docdir=DIR documentation root [DATAROOTDIR/doc/cloog]
1410 --htmldir=DIR html documentation [DOCDIR]
1411 --dvidir=DIR dvi documentation [DOCDIR]
1412 --pdfdir=DIR pdf documentation [DOCDIR]
1413 --psdir=DIR ps documentation [DOCDIR]
1419 --program-prefix=PREFIX prepend PREFIX to installed program names
1420 --program-suffix=SUFFIX append SUFFIX to installed program names
1421 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1424 --build=BUILD configure for building on BUILD [guessed]
1425 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1429 if test -n "$ac_init_help"; then
1430 case $ac_init_help in
1431 short | recursive ) echo "Configuration of cloog 0.18.0:";;
1436 --disable-option-checking ignore unrecognized --enable/--with options
1437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1439 --enable-silent-rules less verbose build output (undo: `make V=1')
1440 --disable-silent-rules verbose build output (undo: `make V=0')
1441 --disable-dependency-tracking speeds up one-time build
1442 --enable-dependency-tracking do not reject slow dependency extractors
1443 --enable-shared[=PKGS] build shared libraries [default=yes]
1444 --enable-static[=PKGS] build static libraries [default=yes]
1445 --enable-fast-install[=PKGS]
1446 optimize for fast installation [default=yes]
1447 --disable-libtool-lock avoid locking (might break parallel builds)
1448 --enable-portable-binary
1449 disable compiler optimizations that would produce
1453 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1454 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1455 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1457 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1458 --with-sysroot=DIR Search for dependent libraries within DIR
1459 (or the compiler's sysroot if not specified).
1460 --with-gcc-arch=<arch> use architecture <arch> for gcc -march/-mtune,
1462 --with-isl=no|system|build|bundled
1464 --with-isl-prefix=DIR Prefix of isl installation
1465 --with-isl-exec-prefix=DIR
1466 Exec prefix of isl installation
1467 --with-isl-builddir=DIR Location of isl builddir
1468 --with-gmp=system|build Which gmp to use
1469 --with-gmp-prefix=DIR Prefix of gmp installation
1470 --with-gmp-exec-prefix=DIR
1471 Exec prefix of gmp installation
1472 --with-gmp-builddir=DIR Location of gmp builddir
1473 --with-osl=no|system|build|bundled
1475 --with-osl-prefix=DIR Prefix of osl installation
1476 --with-osl-exec-prefix=DIR
1477 Exec prefix of osl installation
1478 --with-osl-builddir=DIR Location of osl builddir
1480 Some influential environment variables:
1481 CC C compiler command
1482 CFLAGS C compiler flags
1483 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1484 nonstandard directory <lib dir>
1485 LIBS libraries to pass to the linker, e.g. -l<library>
1486 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1487 you have headers in a nonstandard directory <include dir>
1490 Use these variables to override the choices made by `configure' or to help
1491 it to find libraries and programs with nonstandard names/locations.
1493 Report bugs to <cloog-development@googlegroups.com>.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1501 test -d "$ac_dir" ||
1502 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1510 # A ".." for each directory in $ac_dir_suffix.
1511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1512 case $ac_top_builddir_sub in
1513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1517 ac_abs_top_builddir=$ac_pwd
1518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1519 # for backward compatibility:
1520 ac_top_builddir=$ac_top_build_prefix
1523 .) # We are building in place.
1525 ac_top_srcdir=$ac_top_builddir_sub
1526 ac_abs_top_srcdir=$ac_pwd ;;
1527 [\\/]* | ?:[\\/]* ) # Absolute name.
1528 ac_srcdir=$srcdir$ac_dir_suffix;
1529 ac_top_srcdir=$srcdir
1530 ac_abs_top_srcdir=$srcdir ;;
1532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1533 ac_top_srcdir=$ac_top_build_prefix$srcdir
1534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1538 cd "$ac_dir" || { ac_status=$?; continue; }
1539 # Check for guested configure.
1540 if test -f "$ac_srcdir/configure.gnu"; then
1542 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1543 elif test -f "$ac_srcdir/configure"; then
1545 $SHELL "$ac_srcdir/configure" --help=recursive
1547 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549 cd "$ac_pwd" || { ac_status=$?; break; }
1553 test -n "$ac_init_help" && exit $ac_status
1554 if $ac_init_version; then
1556 cloog configure 0.18.0
1557 generated by GNU Autoconf 2.69
1559 Copyright (C) 2012 Free Software Foundation, Inc.
1560 This configure script is free software; the Free Software Foundation
1561 gives unlimited permission to copy, distribute and modify it.
1566 ## ------------------------ ##
1567 ## Autoconf initialization. ##
1568 ## ------------------------ ##
1570 # ac_fn_c_try_compile LINENO
1571 # --------------------------
1572 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1573 ac_fn_c_try_compile ()
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 rm -f conftest.$ac_objext
1577 if { { ac_try="$ac_compile"
1579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580 *) ac_try_echo=$ac_try;;
1582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_compile") 2>conftest.err
1586 if test -s conftest.err; then
1587 grep -v '^ *+' conftest.err >conftest.er1
1588 cat conftest.er1 >&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest.$ac_objext; then :
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 as_fn_set_status $ac_retval
1606 } # ac_fn_c_try_compile
1608 # ac_fn_c_try_link LINENO
1609 # -----------------------
1610 # Try to link conftest.$ac_ext, and return whether this succeeded.
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 rm -f conftest.$ac_objext conftest$ac_exeext
1615 if { { ac_try="$ac_link"
1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_link") 2>conftest.err
1624 if test -s conftest.err; then
1625 grep -v '^ *+' conftest.err >conftest.er1
1626 cat conftest.er1 >&5
1627 mv -f conftest.er1 conftest.err
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && {
1631 test -z "$ac_c_werror_flag" ||
1632 test ! -s conftest.err
1633 } && test -s conftest$ac_exeext && {
1634 test "$cross_compiling" = yes ||
1635 test -x conftest$ac_exeext
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1644 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1645 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1646 # interfere with the next link command; also delete a directory that is
1647 # left behind by Apple's compiler. We do this before executing the actions.
1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_c_try_link
1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655 # -------------------------------------------------------
1656 # Tests whether HEADER exists and can be compiled using the include files in
1657 # INCLUDES, setting the cache variable VAR accordingly.
1658 ac_fn_c_check_header_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1671 if ac_fn_c_try_compile "$LINENO"; then :
1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 } # ac_fn_c_check_header_compile
1685 # ac_fn_c_try_cpp LINENO
1686 # ----------------------
1687 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_cpp conftest.$ac_ext"
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } > conftest.i && {
1707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status $ac_retval
1722 # ac_fn_c_try_run LINENO
1723 # ----------------------
1724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1725 # that executables *can* be run.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_link"
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_link") 2>&5
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1740 { { case "(($ac_try" in
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_try") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; }; }; then :
1752 $as_echo "$as_me: program exited with status $ac_status" >&5
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=$ac_status
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 as_fn_set_status $ac_retval
1764 # ac_fn_c_check_func LINENO FUNC VAR
1765 # ----------------------------------
1766 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1767 ac_fn_c_check_func ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if eval \${$3+:} false; then :
1773 $as_echo_n "(cached) " >&6
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1779 #define $2 innocuous_$2
1781 /* System header to define __stub macros and hopefully few prototypes,
1782 which can conflict with char $2 (); below.
1783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784 <limits.h> exists even on freestanding compilers. */
1787 # include <limits.h>
1789 # include <assert.h>
1794 /* Override any GCC internal prototype to avoid an error.
1795 Use char because int might match the return type of a GCC
1796 builtin and then its argument prototype would still apply. */
1801 /* The GNU C library defines this for functions which it implements
1802 to always fail with ENOSYS. Some functions are actually named
1803 something starting with __ and the normal name is an alias. */
1804 #if defined __stub_$2 || defined __stub___$2
1816 if ac_fn_c_try_link "$LINENO"; then :
1821 rm -f core conftest.err conftest.$ac_objext \
1822 conftest$ac_exeext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 } # ac_fn_c_check_func
1831 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1832 # -------------------------------------------
1833 # Tests whether TYPE exists after having included INCLUDES, setting cache
1834 # variable VAR accordingly.
1835 ac_fn_c_check_type ()
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval \${$3+:} false; then :
1841 $as_echo_n "(cached) " >&6
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1856 if ac_fn_c_try_compile "$LINENO"; then :
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1869 if ac_fn_c_try_compile "$LINENO"; then :
1874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 } # ac_fn_c_check_type
1885 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1886 # -------------------------------------------------------
1887 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1888 # the include files in INCLUDES and setting the cache variable VAR
1890 ac_fn_c_check_header_mongrel ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 if eval \${$3+:} false; then :
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if eval \${$3+:} false; then :
1897 $as_echo_n "(cached) " >&6
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1903 # Is the header compilable?
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1905 $as_echo_n "checking $2 usability... " >&6; }
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1911 if ac_fn_c_try_compile "$LINENO"; then :
1912 ac_header_compiler=yes
1914 ac_header_compiler=no
1916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1918 $as_echo "$ac_header_compiler" >&6; }
1920 # Is the header present?
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1922 $as_echo_n "checking $2 presence... " >&6; }
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1927 if ac_fn_c_try_cpp "$LINENO"; then :
1928 ac_header_preproc=yes
1930 ac_header_preproc=no
1932 rm -f conftest.err conftest.i conftest.$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1934 $as_echo "$ac_header_preproc" >&6; }
1936 # So? What about this header?
1937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1940 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1942 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1946 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1948 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1950 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1952 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1954 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1955 ( $as_echo "## ------------------------------------------------- ##
1956 ## Report this to cloog-development@googlegroups.com ##
1957 ## ------------------------------------------------- ##"
1958 ) | sed "s/^/$as_me: WARNING: /" >&2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if eval \${$3+:} false; then :
1964 $as_echo_n "(cached) " >&6
1966 eval "$3=\$ac_header_compiler"
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 } # ac_fn_c_check_header_mongrel
1976 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1977 # ---------------------------------------------
1978 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1980 ac_fn_c_check_decl ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 as_decl_name=`echo $2|sed 's/ *(.*//'`
1984 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1986 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1987 if eval \${$3+:} false; then :
1988 $as_echo_n "(cached) " >&6
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1996 #ifndef $as_decl_name
1998 (void) $as_decl_use;
2000 (void) $as_decl_name;
2008 if ac_fn_c_try_compile "$LINENO"; then :
2013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017 $as_echo "$ac_res" >&6; }
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020 } # ac_fn_c_check_decl
2021 cat >config.log <<_ACEOF
2022 This file contains any messages produced by compilers while
2023 running configure, to aid debugging if configure makes a mistake.
2025 It was created by cloog $as_me 0.18.0, which was
2026 generated by GNU Autoconf 2.69. Invocation command line was
2038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2050 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 $as_echo "PATH: $as_dir"
2078 # Keep a trace of the command line.
2079 # Strip out --no-create and --no-recursion so they do not pile up.
2080 # Strip out --silent because we don't want to record it for future runs.
2081 # Also quote any args containing shell meta-characters.
2082 # Make two passes to allow for proper duplicate-argument suppression.
2086 ac_must_keep_next=false
2092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094 | -silent | --silent | --silen | --sile | --sil)
2097 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2100 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2102 as_fn_append ac_configure_args1 " '$ac_arg'"
2103 if test $ac_must_keep_next = true; then
2104 ac_must_keep_next=false # Got value, back to normal.
2107 *=* | --config-cache | -C | -disable-* | --disable-* \
2108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2110 | -with-* | --with-* | -without-* | --without-* | --x)
2111 case "$ac_configure_args0 " in
2112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2115 -* ) ac_must_keep_next=true ;;
2118 as_fn_append ac_configure_args " '$ac_arg'"
2123 { ac_configure_args0=; unset ac_configure_args0;}
2124 { ac_configure_args1=; unset ac_configure_args1;}
2126 # When interrupted or exit'd, cleanup temporary files, and complete
2127 # config.log. We remove comments because anyway the quotes in there
2128 # would cause problems or look ugly.
2129 # WARNING: Use '\'' to represent an apostrophe within the trap.
2130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2131 trap 'exit_status=$?
2132 # Save into config.log some information that might help in debugging.
2136 $as_echo "## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##"
2140 # The following way of writing the cache mishandles newlines in values,
2142 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2143 eval ac_val=\$$ac_var
2147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2151 _ | IFS | as_nl) ;; #(
2152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2153 *) { eval $ac_var=; unset $ac_var;} ;;
2158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159 *${as_nl}ac_space=\ *)
2161 "s/'\''/'\''\\\\'\'''\''/g;
2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 $as_echo "## ----------------- ##
2173 ## Output variables. ##
2174 ## ----------------- ##"
2176 for ac_var in $ac_subst_vars
2178 eval ac_val=\$$ac_var
2180 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 $as_echo "$ac_var='\''$ac_val'\''"
2186 if test -n "$ac_subst_files"; then
2187 $as_echo "## ------------------- ##
2188 ## File substitutions. ##
2189 ## ------------------- ##"
2191 for ac_var in $ac_subst_files
2193 eval ac_val=\$$ac_var
2195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 $as_echo "$ac_var='\''$ac_val'\''"
2202 if test -s confdefs.h; then
2203 $as_echo "## ----------- ##
2210 test "$ac_signal" != 0 &&
2211 $as_echo "$as_me: caught signal $ac_signal"
2212 $as_echo "$as_me: exit $exit_status"
2214 rm -f core *.core core.conftest.* &&
2215 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2218 for ac_signal in 1 2 13 15; do
2219 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2224 rm -f -r conftest* confdefs.h
2226 $as_echo "/* confdefs.h */" > confdefs.h
2228 # Predefined preprocessor variables.
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_NAME "$PACKAGE_NAME"
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_STRING "$PACKAGE_STRING"
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_URL "$PACKAGE_URL"
2255 # Let the site file select an alternate cache file if it wants to.
2256 # Prefer an explicitly selected file to automatically selected ones.
2259 if test -n "$CONFIG_SITE"; then
2260 # We do not want a PATH search for config.site.
2261 case $CONFIG_SITE in #((
2262 -*) ac_site_file1=./$CONFIG_SITE;;
2263 */*) ac_site_file1=$CONFIG_SITE;;
2264 *) ac_site_file1=./$CONFIG_SITE;;
2266 elif test "x$prefix" != xNONE; then
2267 ac_site_file1=$prefix/share/config.site
2268 ac_site_file2=$prefix/etc/config.site
2270 ac_site_file1=$ac_default_prefix/share/config.site
2271 ac_site_file2=$ac_default_prefix/etc/config.site
2273 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2275 test "x$ac_site_file" = xNONE && continue
2276 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2278 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2279 sed 's/^/| /' "$ac_site_file" >&5
2281 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 as_fn_error $? "failed to load site script $ac_site_file
2284 See \`config.log' for more details" "$LINENO" 5; }
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special files
2290 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2291 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2293 $as_echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2301 $as_echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2320 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 # differences in whitespace do not lead to failure.
2326 ac_old_val_w=`echo x $ac_old_val`
2327 ac_new_val_w=`echo x $ac_new_val`
2328 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2330 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2331 ac_cache_corrupted=:
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2334 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2335 eval $ac_var=\$ac_old_val
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2338 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2340 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2346 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg=$ac_var=$ac_new_val ;;
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2355 if $ac_cache_corrupted; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2359 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2362 ## -------------------- ##
2363 ## Main body of script. ##
2364 ## -------------------- ##
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2375 for ac_dir in autoconf "$srcdir"/autoconf; do
2376 if test -f "$ac_dir/install-sh"; then
2378 ac_install_sh="$ac_aux_dir/install-sh -c"
2380 elif test -f "$ac_dir/install.sh"; then
2382 ac_install_sh="$ac_aux_dir/install.sh -c"
2384 elif test -f "$ac_dir/shtool"; then
2386 ac_install_sh="$ac_aux_dir/shtool install -c"
2390 if test -z "$ac_aux_dir"; then
2391 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2394 # These three variables are undocumented and unsupported,
2395 # and are intended to be withdrawn in a future Autoconf release.
2396 # They can cause serious problems if a builder's source tree is in a directory
2397 # whose full name contains unusual characters.
2398 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2399 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2400 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411 am__api_version='1.11'
2413 # Find a good install program. We prefer a C program (faster),
2414 # so one script is as good as another. But avoid the broken or
2415 # incompatible versions:
2416 # SysV /etc/install, /usr/sbin/install
2417 # SunOS /usr/etc/install
2418 # IRIX /sbin/install
2420 # AmigaOS /C/install, which installs bootblocks on floppy discs
2421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424 # OS/2's system install, which has a completely different semantic
2425 # ./install, which can be erroneously created by make from ./install.sh.
2426 # Reject install programs that cannot install multiple files.
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2428 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2429 if test -z "$INSTALL"; then
2430 if ${ac_cv_path_install+:} false; then :
2431 $as_echo_n "(cached) " >&6
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir=.
2438 # Account for people who put trailing slashes in PATH elements.
2439 case $as_dir/ in #((
2440 ./ | .// | /[cC]/* | \
2441 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2442 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2445 # OSF1 and SCO ODT 3.0 have their own names for install.
2446 # Don't use installbsd from OSF since it installs stuff as root
2448 for ac_prog in ginstall scoinst install; do
2449 for ac_exec_ext in '' $ac_executable_extensions; do
2450 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2451 if test $ac_prog = install &&
2452 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2453 # AIX install. It has an incompatible calling convention.
2455 elif test $ac_prog = install &&
2456 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2457 # program-specific install script used by HP pwplus--don't use.
2460 rm -rf conftest.one conftest.two conftest.dir
2461 echo one > conftest.one
2462 echo two > conftest.two
2464 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2465 test -s conftest.one && test -s conftest.two &&
2466 test -s conftest.dir/conftest.one &&
2467 test -s conftest.dir/conftest.two
2469 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2482 rm -rf conftest.one conftest.two conftest.dir
2485 if test "${ac_cv_path_install+set}" = set; then
2486 INSTALL=$ac_cv_path_install
2488 # As a last resort, use the slow shell script. Don't cache a
2489 # value for INSTALL within a source directory, because that will
2490 # break other packages using the cache if that directory is
2491 # removed, or if the value is a relative name.
2492 INSTALL=$ac_install_sh
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2496 $as_echo "$INSTALL" >&6; }
2498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499 # It thinks the first close brace ends the variable substitution.
2500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2507 $as_echo_n "checking whether build environment is sane... " >&6; }
2510 echo timestamp > conftest.file
2511 # Reject unsafe characters in $srcdir or the absolute working directory
2512 # name. Accept space and tab only in the latter.
2516 *[\\\"\#\$\&\'\`$am_lf]*)
2517 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2520 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2521 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2524 # Do `set' in a subshell so we don't clobber the current shell's
2525 # arguments. Must try -L first in case configure is actually a
2526 # symlink; some systems play weird games with the mod time of symlinks
2527 # (eg FreeBSD returns the mod time of the symlink's containing
2530 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2531 if test "$*" = "X"; then
2533 set X `ls -t "$srcdir/configure" conftest.file`
2536 if test "$*" != "X $srcdir/configure conftest.file" \
2537 && test "$*" != "X conftest.file $srcdir/configure"; then
2539 # If neither matched, then we have a broken ls. This can happen
2540 # if, for instance, CONFIG_SHELL is bash and it inherits a
2541 # broken ls alias from the environment. This has actually
2542 # happened. Such a system could not be considered "sane".
2543 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2544 alias in your environment" "$LINENO" 5
2547 test "$2" = conftest.file
2553 as_fn_error $? "newly created file is older than distributed files!
2554 Check your system clock" "$LINENO" 5
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557 $as_echo "yes" >&6; }
2558 test "$program_prefix" != NONE &&
2559 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2560 # Use a double $ so make ignores it.
2561 test "$program_suffix" != NONE &&
2562 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2563 # Double any \ or $.
2564 # By default was `s,x,x', remove it if useless.
2565 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2566 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2568 # expand $ac_aux_dir to an absolute path
2569 am_aux_dir=`cd $ac_aux_dir && pwd`
2571 if test x"${MISSING+set}" != xset; then
2574 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2576 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2579 # Use eval to expand $SHELL
2580 if eval "$MISSING --run true"; then
2581 am_missing_run="$MISSING --run "
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2585 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2588 if test x"${install_sh}" != xset; then
2591 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2593 install_sh="\${SHELL} $am_aux_dir/install-sh"
2597 # Installed binaries are usually stripped using `strip' when the user
2598 # run `make install-strip'. However `strip' might not be the right
2599 # tool to use in cross-compilation environments, therefore Automake
2600 # will honor the `STRIP' environment variable to overrule this program.
2601 if test "$cross_compiling" != no; then
2602 if test -n "$ac_tool_prefix"; then
2603 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2604 set dummy ${ac_tool_prefix}strip; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if ${ac_cv_prog_STRIP+:} false; then :
2608 $as_echo_n "(cached) " >&6
2610 if test -n "$STRIP"; then
2611 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 STRIP=$ac_cv_prog_STRIP
2631 if test -n "$STRIP"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2633 $as_echo "$STRIP" >&6; }
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2641 if test -z "$ac_cv_prog_STRIP"; then
2643 # Extract the first word of "strip", so it can be a program name with args.
2644 set dummy strip; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$ac_ct_STRIP"; then
2651 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_ac_ct_STRIP="strip"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2671 if test -n "$ac_ct_STRIP"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2673 $as_echo "$ac_ct_STRIP" >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2679 if test "x$ac_ct_STRIP" = x; then
2682 case $cross_compiling:$ac_tool_warned in
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686 ac_tool_warned=yes ;;
2691 STRIP="$ac_cv_prog_STRIP"
2695 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2698 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2699 if test -z "$MKDIR_P"; then
2700 if ${ac_cv_path_mkdir+:} false; then :
2701 $as_echo_n "(cached) " >&6
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2707 test -z "$as_dir" && as_dir=.
2708 for ac_prog in mkdir gmkdir; do
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2711 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2712 'mkdir (GNU coreutils) '* | \
2713 'mkdir (coreutils) '* | \
2714 'mkdir (fileutils) '4.1*)
2715 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2725 test -d ./--version && rmdir ./--version
2726 if test "${ac_cv_path_mkdir+set}" = set; then
2727 MKDIR_P="$ac_cv_path_mkdir -p"
2729 # As a last resort, use the slow shell script. Don't cache a
2730 # value for MKDIR_P within a source directory, because that will
2731 # break other packages using the cache if that directory is
2732 # removed, or if the value is a relative name.
2733 MKDIR_P="$ac_install_sh -d"
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2737 $as_echo "$MKDIR_P" >&6; }
2741 [\\/$]* | ?:[\\/]*) ;;
2742 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2745 for ac_prog in gawk mawk nawk awk
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy $ac_prog; ac_word=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if ${ac_cv_prog_AWK+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$AWK"; then
2755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_AWK="$ac_prog"
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 if test -n "$AWK"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2777 $as_echo "$AWK" >&6; }
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2784 test -n "$AWK" && break
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2788 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2790 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2791 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 cat >conftest.make <<\_ACEOF
2797 @echo '@@@%%%=$(MAKE)=@@@%%%'
2799 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2800 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2802 eval ac_cv_prog_make_${ac_make}_set=yes;;
2804 eval ac_cv_prog_make_${ac_make}_set=no;;
2808 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2810 $as_echo "yes" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2815 SET_MAKE="MAKE=${MAKE-make}"
2818 rm -rf .tst 2>/dev/null
2819 mkdir .tst 2>/dev/null
2820 if test -d .tst; then
2825 rmdir .tst 2>/dev/null
2827 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2828 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2829 # is not polluted with repeated "-I."
2830 am__isrc=' -I$(srcdir)'
2831 # test to see if srcdir already configured
2832 if test -f $srcdir/config.status; then
2833 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2837 # test whether we have cygpath
2838 if test -z "$CYGPATH_W"; then
2839 if (cygpath --version) >/dev/null 2>/dev/null; then
2840 CYGPATH_W='cygpath -w'
2847 # Define the identity of the package.
2852 cat >>confdefs.h <<_ACEOF
2853 #define PACKAGE "$PACKAGE"
2857 cat >>confdefs.h <<_ACEOF
2858 #define VERSION "$VERSION"
2861 # Some tools Automake needs.
2863 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2866 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2869 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2872 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2875 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2877 # We need awk for the "check" target. The system "awk" is bad on
2879 # Always define AMTAR for backward compatibility. Yes, it's still used
2880 # in the wild :-( We should find a proper way to deprecate it ...
2883 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2889 # Check whether --enable-silent-rules was given.
2890 if test "${enable_silent_rules+set}" = set; then :
2891 enableval=$enable_silent_rules;
2894 case $enable_silent_rules in
2895 yes) AM_DEFAULT_VERBOSITY=0;;
2896 no) AM_DEFAULT_VERBOSITY=1;;
2897 *) AM_DEFAULT_VERBOSITY=0;;
2899 am_make=${MAKE-make}
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2901 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2902 if ${am_cv_make_support_nested_variables+:} false; then :
2903 $as_echo_n "(cached) " >&6
2905 if $as_echo 'TRUE=$(BAR$(V))
2911 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2912 am_cv_make_support_nested_variables=yes
2914 am_cv_make_support_nested_variables=no
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2918 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2919 if test $am_cv_make_support_nested_variables = yes; then
2921 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2923 AM_V=$AM_DEFAULT_VERBOSITY
2924 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 if test -n "$ac_tool_prefix"; then
2936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if ${ac_cv_prog_CC+:} false; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966 $as_echo "$CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2974 if test -z "$ac_cv_prog_CC"; then
2976 # Extract the first word of "gcc", so it can be a program name with args.
2977 set dummy gcc; ac_word=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979 $as_echo_n "checking for $ac_word... " >&6; }
2980 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2981 $as_echo_n "(cached) " >&6
2983 if test -n "$ac_ct_CC"; then
2984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_ac_ct_CC="gcc"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004 if test -n "$ac_ct_CC"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3006 $as_echo "$ac_ct_CC" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3012 if test "x$ac_ct_CC" = x; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019 ac_tool_warned=yes ;;
3027 if test -z "$CC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}cc; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if ${ac_cv_prog_CC+:} false; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="${ac_tool_prefix}cc"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3068 if test -z "$CC"; then
3069 # Extract the first word of "cc", so it can be a program name with args.
3070 set dummy cc; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_CC+:} false; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$CC"; then
3077 ac_cv_prog_CC="$CC" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3088 ac_prog_rejected=yes
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 if test $ac_prog_rejected = yes; then
3100 # We found a bogon in the path, so make sure we never use it.
3101 set dummy $ac_cv_prog_CC
3103 if test $# != 0; then
3104 # We chose a different compiler from the bogus one.
3105 # However, it has the same basename, so the bogon will be chosen
3106 # first if we set CC to just the basename; use the full file name.
3108 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3124 if test -z "$CC"; then
3125 if test -n "$ac_tool_prefix"; then
3126 for ac_prog in cl.exe
3128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_CC+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC="$CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3165 test -n "$CC" && break
3168 if test -z "$CC"; then
3170 for ac_prog in cl.exe
3172 # Extract the first word of "$ac_prog", so it can be a program name with args.
3173 set dummy $ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$ac_ct_CC"; then
3180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_ac_ct_CC="$ac_prog"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200 if test -n "$ac_ct_CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3202 $as_echo "$ac_ct_CC" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3209 test -n "$ac_ct_CC" && break
3212 if test "x$ac_ct_CC" = x; then
3215 case $cross_compiling:$ac_tool_warned in
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3219 ac_tool_warned=yes ;;
3228 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error $? "no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details" "$LINENO" 5; }
3233 # Provide some information about the compiler.
3234 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3237 for ac_option in --version -v -V -qversion; do
3238 { { ac_try="$ac_compiler $ac_option >&5"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3247 if test -s conftest.err; then
3249 ... rest of stderr output deleted ...
3250 10q' conftest.err >conftest.er1
3251 cat conftest.er1 >&5
3253 rm -f conftest.er1 conftest.err
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 ac_clean_files_save=$ac_clean_files
3270 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3271 # Try to create an executable without -o first, disregard a.out.
3272 # It will help us diagnose broken compilers, and finding out an intuition
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3275 $as_echo_n "checking whether the C compiler works... " >&6; }
3276 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3278 # The possible output files:
3279 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3282 for ac_file in $ac_files
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3286 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3291 if { { ac_try="$ac_link_default"
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link_default") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; then :
3302 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3303 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3304 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3305 # so that the user can short-circuit this test for compilers unknown to
3307 for ac_file in $ac_files ''
3309 test -f "$ac_file" || continue
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3314 # We found the default executable, but exeext='' is most
3318 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3320 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3322 # We set ac_cv_exeext here because the later test for it is not
3323 # safe: cross compilers may not add the suffix if given an `-o'
3324 # argument, so we may need to know it at that point already.
3325 # Even if this section looks crufty: it has the advantage of
3332 test "$ac_cv_exeext" = no && ac_cv_exeext=
3337 if test -z "$ac_file"; then :
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 $as_echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error 77 "C compiler cannot create executables
3346 See \`config.log' for more details" "$LINENO" 5; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349 $as_echo "yes" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3352 $as_echo_n "checking for C compiler default output file name... " >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3354 $as_echo "$ac_file" >&6; }
3355 ac_exeext=$ac_cv_exeext
3357 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3358 ac_clean_files=$ac_clean_files_save
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3360 $as_echo_n "checking for suffix of executables... " >&6; }
3361 if { { ac_try="$ac_link"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_link") 2>&5
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }; then :
3372 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3373 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3374 # work properly (i.e., refer to `conftest.exe'), while it won't with
3376 for ac_file in conftest.exe conftest conftest.*; do
3377 test -f "$ac_file" || continue
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3380 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3389 See \`config.log' for more details" "$LINENO" 5; }
3391 rm -f conftest conftest$ac_cv_exeext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3393 $as_echo "$ac_cv_exeext" >&6; }
3395 rm -f conftest.$ac_ext
3396 EXEEXT=$ac_cv_exeext
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3404 FILE *f = fopen ("conftest.out", "w");
3405 return ferror (f) || fclose (f) != 0;
3411 ac_clean_files="$ac_clean_files conftest.out"
3412 # Check that the compiler produces executables we can run. If not, either
3413 # the compiler is broken, or we cross compile.
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3415 $as_echo_n "checking whether we are cross compiling... " >&6; }
3416 if test "$cross_compiling" != yes; then
3417 { { ac_try="$ac_link"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_link") 2>&5
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427 test $ac_status = 0; }
3428 if { ac_try='./conftest$ac_cv_exeext'
3429 { { case "(($ac_try" in
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_try") 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; }; then
3441 if test "$cross_compiling" = maybe; then
3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error $? "cannot run C compiled programs.
3447 If you meant to cross compile, use \`--host'.
3448 See \`config.log' for more details" "$LINENO" 5; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3453 $as_echo "$cross_compiling" >&6; }
3455 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3456 ac_clean_files=$ac_clean_files_save
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458 $as_echo_n "checking for suffix of object files... " >&6; }
3459 if ${ac_cv_objext+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 rm -f conftest.o conftest.obj
3474 if { { ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_compile") 2>&5
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }; then :
3485 for ac_file in conftest.o conftest.obj conftest.*; do
3486 test -f "$ac_file" || continue;
3488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3489 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error $? "cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details" "$LINENO" 5; }
3502 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505 $as_echo "$ac_cv_objext" >&6; }
3506 OBJEXT=$ac_cv_objext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510 if ${ac_cv_c_compiler_gnu+:} false; then :
3511 $as_echo_n "(cached) " >&6
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3527 if ac_fn_c_try_compile "$LINENO"; then :
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538 if test $ac_compiler_gnu = yes; then
3543 ac_test_CFLAGS=${CFLAGS+set}
3544 ac_save_CFLAGS=$CFLAGS
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3547 if ${ac_cv_prog_cc_g+:} false; then :
3548 $as_echo_n "(cached) " >&6
3550 ac_save_c_werror_flag=$ac_c_werror_flag
3551 ac_c_werror_flag=yes
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile "$LINENO"; then :
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3583 ac_c_werror_flag=$ac_save_c_werror_flag
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3596 if ac_fn_c_try_compile "$LINENO"; then :
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 ac_c_werror_flag=$ac_save_c_werror_flag
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607 $as_echo "$ac_cv_prog_cc_g" >&6; }
3608 if test "$ac_test_CFLAGS" = set; then
3609 CFLAGS=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611 if test "$GCC" = yes; then
3617 if test "$GCC" = yes; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625 if ${ac_cv_prog_cc_c89+:} false; then :
3626 $as_echo_n "(cached) " >&6
3628 ac_cv_prog_cc_c89=no
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3635 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3636 struct buf { int x; };
3637 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3638 static char *e (p, i)
3644 static char *f (char * (*g) (char **, int), char **p, ...)
3649 s = g (p, va_arg (v,int));
3654 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3655 function prototypes and stuff, but not '\xHH' hex character constants.
3656 These don't provoke an error unfortunately, instead are silently treated
3657 as 'x'. The following induces an error, until -std is added to get
3658 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3659 array size at least. It's necessary to write '\x00'==0 to get something
3660 that's true only with -std. */
3661 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3664 inside strings and character constants. */
3666 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668 int test (int i, double x);
3669 struct s1 {int (*f) (int a);};
3670 struct s2 {int (*f) (double a);};
3671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3683 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 CC="$ac_save_CC $ac_arg"
3686 if ac_fn_c_try_compile "$LINENO"; then :
3687 ac_cv_prog_cc_c89=$ac_arg
3689 rm -f core conftest.err conftest.$ac_objext
3690 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 rm -f conftest.$ac_ext
3697 case "x$ac_cv_prog_cc_c89" in
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3700 $as_echo "none needed" >&6; } ;;
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3703 $as_echo "unsupported" >&6; } ;;
3705 CC="$CC $ac_cv_prog_cc_c89"
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3707 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 if test "x$ac_cv_prog_cc_c89" != xno; then :
3714 ac_cpp='$CPP $CPPFLAGS'
3715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3718 DEPDIR="${am__leading_dot}deps"
3720 ac_config_commands="$ac_config_commands depfiles"
3723 am_make=${MAKE-make}
3724 cat > confinc << 'END'
3726 @echo this is the am__doit target
3729 # If we don't find an include directive, just comment out the code.
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3731 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3735 # First try GNU make style include.
3736 echo "include confinc" > confmf
3737 # Ignore all kinds of additional output from `make'.
3738 case `$am_make -s -f confmf 2> /dev/null` in #(
3739 *the\ am__doit\ target*)
3745 # Now try BSD make style include.
3746 if test "$am__include" = "#"; then
3747 echo '.include "confinc"' > confmf
3748 case `$am_make -s -f confmf 2> /dev/null` in #(
3749 *the\ am__doit\ target*)
3750 am__include=.include
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3759 $as_echo "$_am_result" >&6; }
3760 rm -f confinc confmf
3762 # Check whether --enable-dependency-tracking was given.
3763 if test "${enable_dependency_tracking+set}" = set; then :
3764 enableval=$enable_dependency_tracking;
3767 if test "x$enable_dependency_tracking" != xno; then
3768 am_depcomp="$ac_aux_dir/depcomp"
3772 if test "x$enable_dependency_tracking" != xno; then
3782 depcc="$CC" am_compiler_list=
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3785 $as_echo_n "checking dependency style of $depcc... " >&6; }
3786 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3790 # We make a subdir and do the tests there. Otherwise we can end up
3791 # making bogus files that we don't know about and never remove. For
3792 # instance it was reported that on HP-UX the gcc test will end up
3793 # making a dummy file named `D' -- because `-MD' means `put the output
3797 # Copy depcomp to subdir because otherwise we won't find it if we're
3798 # using a relative directory.
3799 cp "$am_depcomp" conftest.dir
3801 # We will build objects and dependencies in a subdirectory because
3802 # it helps to detect inapplicable dependency modes. For instance
3803 # both Tru64's cc and ICC support -MD to output dependencies as a
3804 # side effect of compilation, but ICC will put the dependencies in
3805 # the current directory while Tru64 will put them in the object
3809 am_cv_CC_dependencies_compiler_type=none
3810 if test "$am_compiler_list" = ""; then
3811 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3814 case " $depcc " in #(
3815 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3818 for depmode in $am_compiler_list; do
3819 # Setup a source with many dependencies, because some compilers
3820 # like to wrap large dependency lists on column 80 (with \), and
3821 # we should not choose a depcomp mode which is confused by this.
3823 # We need to recreate these files for each test, as the compiler may
3824 # overwrite some of them when testing with obscure command lines.
3825 # This happens at least with the AIX C compiler.
3827 for i in 1 2 3 4 5 6; do
3828 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3829 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3830 # Solaris 8's {/usr,}/bin/sh.
3831 touch sub/conftst$i.h
3833 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3835 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3836 # mode. It turns out that the SunPro C++ compiler does not properly
3837 # handle `-M -o', and we need to detect this. Also, some Intel
3838 # versions had trouble with output in subdirs
3839 am__obj=sub/conftest.${OBJEXT-o}
3840 am__minus_obj="-o $am__obj"
3843 # This depmode causes a compiler race in universal mode.
3844 test "$am__universal" = false || continue
3847 # after this tag, mechanisms are not by side-effect, so they'll
3848 # only be used when explicitly requested
3849 if test "x$enable_dependency_tracking" = xyes; then
3855 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3856 # This compiler won't grok `-c -o', but also, the minuso test has
3857 # not run yet. These depmodes are late enough in the game, and
3858 # so weak that their functioning should not be impacted.
3859 am__obj=conftest.${OBJEXT-o}
3864 if depmode=$depmode \
3865 source=sub/conftest.c object=$am__obj \
3866 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3867 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3868 >/dev/null 2>conftest.err &&
3869 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3870 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3871 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3872 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3873 # icc doesn't choke on unknown options, it will just issue warnings
3874 # or remarks (even with -Werror). So we grep stderr for any message
3875 # that says an option was ignored or not supported.
3876 # When given -MP, icc 7.0 and 7.1 complain thusly:
3877 # icc: Command line warning: ignoring option '-M'; no argument required
3878 # The diagnosis changed in icc 8.0:
3879 # icc: Command line remark: option '-MP' not supported
3880 if (grep 'ignoring option' conftest.err ||
3881 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3882 am_cv_CC_dependencies_compiler_type=$depmode
3891 am_cv_CC_dependencies_compiler_type=none
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3896 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3897 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3900 test "x$enable_dependency_tracking" != xno \
3901 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3903 am__fastdepCC_FALSE='#'
3905 am__fastdepCC_TRUE='#'
3906 am__fastdepCC_FALSE=
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3911 $as_echo_n "checking whether ln -s works... " >&6; }
3913 if test "$LN_S" = "ln -s"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915 $as_echo "yes" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3918 $as_echo "no, using $LN_S" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3922 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3924 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3925 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 cat >conftest.make <<\_ACEOF
3931 @echo '@@@%%%=$(MAKE)=@@@%%%'
3933 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3934 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3936 eval ac_cv_prog_make_${ac_make}_set=yes;;
3938 eval ac_cv_prog_make_${ac_make}_set=no;;
3942 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3944 $as_echo "yes" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3949 SET_MAKE="MAKE=${MAKE-make}"
3952 # Extract the first word of "cd", so it can be a program name with args.
3953 set dummy cd; ac_word=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_CD+:} false; then :
3957 $as_echo_n "(cached) " >&6
3959 if test -n "$CD"; then
3960 ac_cv_prog_CD="$CD" # Let the user override the test.
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir=.
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 if test -n "$CD"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CD" >&5
3982 $as_echo "$CD" >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3993 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3998 macro_version='2.4.2'
3999 macro_revision='1.3337'
4013 ltmain="$ac_aux_dir/ltmain.sh"
4015 # Make sure we can run config.sub.
4016 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4017 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4020 $as_echo_n "checking build system type... " >&6; }
4021 if ${ac_cv_build+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 ac_build_alias=$build_alias
4025 test "x$ac_build_alias" = x &&
4026 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4027 test "x$ac_build_alias" = x &&
4028 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4029 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4030 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4034 $as_echo "$ac_cv_build" >&6; }
4035 case $ac_cv_build in
4037 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4040 ac_save_IFS=$IFS; IFS='-'
4046 # Remember, the first character of IFS is used to create $*,
4047 # except with old shells:
4050 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4054 $as_echo_n "checking host system type... " >&6; }
4055 if ${ac_cv_host+:} false; then :
4056 $as_echo_n "(cached) " >&6
4058 if test "x$host_alias" = x; then
4059 ac_cv_host=$ac_cv_build
4061 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4062 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4067 $as_echo "$ac_cv_host" >&6; }
4070 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4073 ac_save_IFS=$IFS; IFS='-'
4079 # Remember, the first character of IFS is used to create $*,
4080 # except with old shells:
4083 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4086 # Backslashify metacharacters that are still active within
4087 # double-quoted strings.
4088 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4090 # Same as above, but do not quote variable references.
4091 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4093 # Sed substitution to delay expansion of an escaped shell variable in a
4094 # double_quote_subst'ed string.
4095 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4097 # Sed substitution to delay expansion of an escaped single quote.
4098 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4100 # Sed substitution to avoid accidental globbing in evaled expressions
4101 no_glob_subst='s/\*/\\\*/g'
4103 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4104 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4105 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4108 $as_echo_n "checking how to print strings... " >&6; }
4109 # Test print first, because it will be a builtin if present.
4110 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4111 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4113 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4116 # Use this function as a fallback that always works.
4117 func_fallback_echo ()
4119 eval 'cat <<_LTECHO_EOF
4123 ECHO='func_fallback_echo'
4126 # func_echo_all arg...
4127 # Invoke $ECHO with all args, space-separated.
4134 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4135 $as_echo "printf" >&6; } ;;
4136 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4137 $as_echo "print -r" >&6; } ;;
4138 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4139 $as_echo "cat" >&6; } ;;
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4156 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4157 if ${ac_cv_path_SED+:} false; then :
4158 $as_echo_n "(cached) " >&6
4160 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4161 for ac_i in 1 2 3 4 5 6 7; do
4162 ac_script="$ac_script$as_nl$ac_script"
4164 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4165 { ac_script=; unset ac_script;}
4166 if test -z "$SED"; then
4167 ac_path_SED_found=false
4168 # Loop through the user's path and test for each of PROGNAME-LIST
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir=.
4174 for ac_prog in sed gsed; do
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4177 as_fn_executable_p "$ac_path_SED" || continue
4178 # Check for GNU ac_path_SED and select it if it is found.
4179 # Check for GNU $ac_path_SED
4180 case `"$ac_path_SED" --version 2>&1` in
4182 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4185 $as_echo_n 0123456789 >"conftest.in"
4188 cat "conftest.in" "conftest.in" >"conftest.tmp"
4189 mv "conftest.tmp" "conftest.in"
4190 cp "conftest.in" "conftest.nl"
4191 $as_echo '' >> "conftest.nl"
4192 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194 as_fn_arith $ac_count + 1 && ac_count=$as_val
4195 if test $ac_count -gt ${ac_path_SED_max-0}; then
4196 # Best one so far, save it but keep looking for a better one
4197 ac_cv_path_SED="$ac_path_SED"
4198 ac_path_SED_max=$ac_count
4200 # 10*(2^10) chars as input seems more than enough
4201 test $ac_count -gt 10 && break
4203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4206 $ac_path_SED_found && break 3
4211 if test -z "$ac_cv_path_SED"; then
4212 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4220 $as_echo "$ac_cv_path_SED" >&6; }
4221 SED="$ac_cv_path_SED"
4224 test -z "$SED" && SED=sed
4225 Xsed="$SED -e 1s/^X//"
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4238 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4239 if ${ac_cv_path_GREP+:} false; then :
4240 $as_echo_n "(cached) " >&6
4242 if test -z "$GREP"; then
4243 ac_path_GREP_found=false
4244 # Loop through the user's path and test for each of PROGNAME-LIST
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4249 test -z "$as_dir" && as_dir=.
4250 for ac_prog in grep ggrep; do
4251 for ac_exec_ext in '' $ac_executable_extensions; do
4252 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4253 as_fn_executable_p "$ac_path_GREP" || continue
4254 # Check for GNU ac_path_GREP and select it if it is found.
4255 # Check for GNU $ac_path_GREP
4256 case `"$ac_path_GREP" --version 2>&1` in
4258 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4261 $as_echo_n 0123456789 >"conftest.in"
4264 cat "conftest.in" "conftest.in" >"conftest.tmp"
4265 mv "conftest.tmp" "conftest.in"
4266 cp "conftest.in" "conftest.nl"
4267 $as_echo 'GREP' >> "conftest.nl"
4268 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4269 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4270 as_fn_arith $ac_count + 1 && ac_count=$as_val
4271 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4272 # Best one so far, save it but keep looking for a better one
4273 ac_cv_path_GREP="$ac_path_GREP"
4274 ac_path_GREP_max=$ac_count
4276 # 10*(2^10) chars as input seems more than enough
4277 test $ac_count -gt 10 && break
4279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4282 $ac_path_GREP_found && break 3
4287 if test -z "$ac_cv_path_GREP"; then
4288 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4291 ac_cv_path_GREP=$GREP
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4296 $as_echo "$ac_cv_path_GREP" >&6; }
4297 GREP="$ac_cv_path_GREP"
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4301 $as_echo_n "checking for egrep... " >&6; }
4302 if ${ac_cv_path_EGREP+:} false; then :
4303 $as_echo_n "(cached) " >&6
4305 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4306 then ac_cv_path_EGREP="$GREP -E"
4308 if test -z "$EGREP"; then
4309 ac_path_EGREP_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4315 test -z "$as_dir" && as_dir=.
4316 for ac_prog in egrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4319 as_fn_executable_p "$ac_path_EGREP" || continue
4320 # Check for GNU ac_path_EGREP and select it if it is found.
4321 # Check for GNU $ac_path_EGREP
4322 case `"$ac_path_EGREP" --version 2>&1` in
4324 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4327 $as_echo_n 0123456789 >"conftest.in"
4330 cat "conftest.in" "conftest.in" >"conftest.tmp"
4331 mv "conftest.tmp" "conftest.in"
4332 cp "conftest.in" "conftest.nl"
4333 $as_echo 'EGREP' >> "conftest.nl"
4334 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 as_fn_arith $ac_count + 1 && ac_count=$as_val
4337 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4338 # Best one so far, save it but keep looking for a better one
4339 ac_cv_path_EGREP="$ac_path_EGREP"
4340 ac_path_EGREP_max=$ac_count
4342 # 10*(2^10) chars as input seems more than enough
4343 test $ac_count -gt 10 && break
4345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4348 $ac_path_EGREP_found && break 3
4353 if test -z "$ac_cv_path_EGREP"; then
4354 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4357 ac_cv_path_EGREP=$EGREP
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4363 $as_echo "$ac_cv_path_EGREP" >&6; }
4364 EGREP="$ac_cv_path_EGREP"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4368 $as_echo_n "checking for fgrep... " >&6; }
4369 if ${ac_cv_path_FGREP+:} false; then :
4370 $as_echo_n "(cached) " >&6
4372 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4373 then ac_cv_path_FGREP="$GREP -F"
4375 if test -z "$FGREP"; then
4376 ac_path_FGREP_found=false
4377 # Loop through the user's path and test for each of PROGNAME-LIST
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382 test -z "$as_dir" && as_dir=.
4383 for ac_prog in fgrep; do
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4386 as_fn_executable_p "$ac_path_FGREP" || continue
4387 # Check for GNU ac_path_FGREP and select it if it is found.
4388 # Check for GNU $ac_path_FGREP
4389 case `"$ac_path_FGREP" --version 2>&1` in
4391 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4394 $as_echo_n 0123456789 >"conftest.in"
4397 cat "conftest.in" "conftest.in" >"conftest.tmp"
4398 mv "conftest.tmp" "conftest.in"
4399 cp "conftest.in" "conftest.nl"
4400 $as_echo 'FGREP' >> "conftest.nl"
4401 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403 as_fn_arith $ac_count + 1 && ac_count=$as_val
4404 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4405 # Best one so far, save it but keep looking for a better one
4406 ac_cv_path_FGREP="$ac_path_FGREP"
4407 ac_path_FGREP_max=$ac_count
4409 # 10*(2^10) chars as input seems more than enough
4410 test $ac_count -gt 10 && break
4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415 $ac_path_FGREP_found && break 3
4420 if test -z "$ac_cv_path_FGREP"; then
4421 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4424 ac_cv_path_FGREP=$FGREP
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4430 $as_echo "$ac_cv_path_FGREP" >&6; }
4431 FGREP="$ac_cv_path_FGREP"
4434 test -z "$GREP" && GREP=grep
4454 # Check whether --with-gnu-ld was given.
4455 if test "${with_gnu_ld+set}" = set; then :
4456 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4462 if test "$GCC" = yes; then
4463 # Check if gcc -print-prog-name=ld gives a path.
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4465 $as_echo_n "checking for ld used by $CC... " >&6; }
4468 # gcc leaves a trailing carriage return which upsets mingw
4469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4474 # Accept absolute paths.
4476 re_direlt='/[^/][^/]*/\.\./'
4477 # Canonicalize the pathname of ld
4478 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4479 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4480 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4482 test -z "$LD" && LD="$ac_prog"
4485 # If it fails, then pretend we aren't using GCC.
4489 # If it is relative, then search for the first ld in PATH.
4493 elif test "$with_gnu_ld" = yes; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4495 $as_echo_n "checking for GNU ld... " >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4498 $as_echo_n "checking for non-GNU ld... " >&6; }
4500 if ${lt_cv_path_LD+:} false; then :
4501 $as_echo_n "(cached) " >&6
4503 if test -z "$LD"; then
4504 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4505 for ac_dir in $PATH; do
4507 test -z "$ac_dir" && ac_dir=.
4508 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4509 lt_cv_path_LD="$ac_dir/$ac_prog"
4510 # Check to see if the program is GNU ld. I'd rather use --version,
4511 # but apparently some variants of GNU ld only accept -v.
4512 # Break only if it was the GNU/non-GNU ld that we prefer.
4513 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4514 *GNU* | *'with BFD'*)
4515 test "$with_gnu_ld" != no && break
4518 test "$with_gnu_ld" != yes && break
4525 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4530 if test -n "$LD"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4532 $as_echo "$LD" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4537 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4539 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4540 if ${lt_cv_prog_gnu_ld+:} false; then :
4541 $as_echo_n "(cached) " >&6
4543 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4544 case `$LD -v 2>&1 </dev/null` in
4545 *GNU* | *'with BFD'*)
4546 lt_cv_prog_gnu_ld=yes
4549 lt_cv_prog_gnu_ld=no
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4554 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4555 with_gnu_ld=$lt_cv_prog_gnu_ld
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4566 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4567 if ${lt_cv_path_NM+:} false; then :
4568 $as_echo_n "(cached) " >&6
4570 if test -n "$NM"; then
4571 # Let the user override the test.
4574 lt_nm_to_check="${ac_tool_prefix}nm"
4575 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4576 lt_nm_to_check="$lt_nm_to_check nm"
4578 for lt_tmp_nm in $lt_nm_to_check; do
4579 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4580 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4582 test -z "$ac_dir" && ac_dir=.
4583 tmp_nm="$ac_dir/$lt_tmp_nm"
4584 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4585 # Check to see if the nm accepts a BSD-compat flag.
4586 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4587 # nm: unknown option "B" ignored
4588 # Tru64's nm complains that /dev/null is an invalid object file
4589 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4590 */dev/null* | *'Invalid file or object type'*)
4591 lt_cv_path_NM="$tmp_nm -B"
4595 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4597 lt_cv_path_NM="$tmp_nm -p"
4601 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4602 continue # so that we can try to find one that supports BSD flags
4611 : ${lt_cv_path_NM=no}
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4615 $as_echo "$lt_cv_path_NM" >&6; }
4616 if test "$lt_cv_path_NM" != "no"; then
4619 # Didn't find any BSD compatible name lister, look for dumpbin.
4620 if test -n "$DUMPBIN"; then :
4621 # Let the user override the test.
4623 if test -n "$ac_tool_prefix"; then
4624 for ac_prog in dumpbin "link -dump"
4626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if ${ac_cv_prog_DUMPBIN+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if test -n "$DUMPBIN"; then
4634 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 DUMPBIN=$ac_cv_prog_DUMPBIN
4654 if test -n "$DUMPBIN"; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4656 $as_echo "$DUMPBIN" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4663 test -n "$DUMPBIN" && break
4666 if test -z "$DUMPBIN"; then
4667 ac_ct_DUMPBIN=$DUMPBIN
4668 for ac_prog in dumpbin "link -dump"
4670 # Extract the first word of "$ac_prog", so it can be a program name with args.
4671 set dummy $ac_prog; ac_word=$2
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673 $as_echo_n "checking for $ac_word... " >&6; }
4674 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4675 $as_echo_n "(cached) " >&6
4677 if test -n "$ac_ct_DUMPBIN"; then
4678 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4698 if test -n "$ac_ct_DUMPBIN"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4700 $as_echo "$ac_ct_DUMPBIN" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4707 test -n "$ac_ct_DUMPBIN" && break
4710 if test "x$ac_ct_DUMPBIN" = x; then
4713 case $cross_compiling:$ac_tool_warned in
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717 ac_tool_warned=yes ;;
4719 DUMPBIN=$ac_ct_DUMPBIN
4723 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4725 DUMPBIN="$DUMPBIN -symbols"
4733 if test "$DUMPBIN" != ":"; then
4737 test -z "$NM" && NM=nm
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4745 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4746 if ${lt_cv_nm_interface+:} false; then :
4747 $as_echo_n "(cached) " >&6
4749 lt_cv_nm_interface="BSD nm"
4750 echo "int some_variable = 0;" > conftest.$ac_ext
4751 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4752 (eval "$ac_compile" 2>conftest.err)
4753 cat conftest.err >&5
4754 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4755 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4756 cat conftest.err >&5
4757 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4758 cat conftest.out >&5
4759 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4760 lt_cv_nm_interface="MS dumpbin"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4765 $as_echo "$lt_cv_nm_interface" >&6; }
4767 # find the maximum length of command line arguments
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4769 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4770 if ${lt_cv_sys_max_cmd_len+:} false; then :
4771 $as_echo_n "(cached) " >&6
4778 # On DJGPP, this test can blow up pretty badly due to problems in libc
4779 # (any single argument exceeding 2000 bytes causes a buffer overrun
4780 # during glob expansion). Even if it were fixed, the result of this
4781 # check would be larger than it should be.
4782 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4786 # Under GNU Hurd, this test is not required because there is
4787 # no limit to the length of command line arguments.
4788 # Libtool will interpret -1 as no limit whatsoever
4789 lt_cv_sys_max_cmd_len=-1;
4792 cygwin* | mingw* | cegcc*)
4793 # On Win9x/ME, this test blows up -- it succeeds, but takes
4794 # about 5 minutes as the teststring grows exponentially.
4795 # Worse, since 9x/ME are not pre-emptively multitasking,
4796 # you end up with a "frozen" computer, even though with patience
4797 # the test eventually succeeds (with a max line length of 256k).
4798 # Instead, let's just punt: use the minimum linelength reported by
4799 # all of the supported platforms: 8192 (on NT/2K/XP).
4800 lt_cv_sys_max_cmd_len=8192;
4804 # On MiNT this can take a long time and run out of memory.
4805 lt_cv_sys_max_cmd_len=8192;
4809 # On AmigaOS with pdksh, this test takes hours, literally.
4810 # So we just punt and use a minimum line length of 8192.
4811 lt_cv_sys_max_cmd_len=8192;
4814 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4815 # This has been around since 386BSD, at least. Likely further.
4816 if test -x /sbin/sysctl; then
4817 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4818 elif test -x /usr/sbin/sysctl; then
4819 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4821 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4823 # And add a safety zone
4824 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4829 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4830 lt_cv_sys_max_cmd_len=196608
4834 # The test takes a long time on OS/2.
4835 lt_cv_sys_max_cmd_len=8192
4839 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4840 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4841 # nice to cause kernel panics so lets avoid the loop below.
4842 # First set a reasonable default.
4843 lt_cv_sys_max_cmd_len=16384
4845 if test -x /sbin/sysconfig; then
4846 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4847 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4852 lt_cv_sys_max_cmd_len=102400
4854 sysv5* | sco5v6* | sysv4.2uw2*)
4855 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4856 if test -n "$kargmax"; then
4857 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4859 lt_cv_sys_max_cmd_len=32768
4863 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4864 if test -n "$lt_cv_sys_max_cmd_len"; then
4865 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4866 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4868 # Make teststring a little bigger before we do anything with it.
4869 # a 1K string should be a reasonable start.
4870 for i in 1 2 3 4 5 6 7 8 ; do
4871 teststring=$teststring$teststring
4873 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4874 # If test is not a shell built-in, we'll probably end up computing a
4875 # maximum length that is only half of the actual maximum length, but
4877 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4878 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4879 test $i != 17 # 1/2 MB should be enough
4882 teststring=$teststring$teststring
4884 # Only check the string length outside the loop.
4885 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4887 # Add a significant safety factor because C++ compilers can tack on
4888 # massive amounts of additional arguments before passing them to the
4889 # linker. It appears as though 1/2 is a usable value.
4890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4897 if test -n $lt_cv_sys_max_cmd_len ; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4899 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4902 $as_echo "none" >&6; }
4904 max_cmd_len=$lt_cv_sys_max_cmd_len
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4916 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4917 # Try some XSI features
4920 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4922 && eval 'test $(( 1 + 1 )) -eq 2 \
4923 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4926 $as_echo "$xsi_shell" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4930 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4932 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4934 && lt_shell_append=yes
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4936 $as_echo "$lt_shell_append" >&6; }
4939 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4949 # test EBCDIC or ASCII
4950 case `echo X|tr X '\101'` in
4951 A) # ASCII based system
4952 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4953 lt_SP2NL='tr \040 \012'
4954 lt_NL2SP='tr \015\012 \040\040'
4956 *) # EBCDIC based system
4957 lt_SP2NL='tr \100 \n'
4958 lt_NL2SP='tr \r\n \100\100'
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4971 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4972 if ${lt_cv_to_host_file_cmd+:} false; then :
4973 $as_echo_n "(cached) " >&6
4978 *-*-mingw* ) # actually msys
4979 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4982 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4984 * ) # otherwise, assume *nix
4985 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4991 *-*-mingw* ) # actually msys
4992 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4995 lt_cv_to_host_file_cmd=func_convert_file_noop
4997 * ) # otherwise, assume *nix
4998 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5002 * ) # unhandled hosts (and "normal" native builds)
5003 lt_cv_to_host_file_cmd=func_convert_file_noop
5009 to_host_file_cmd=$lt_cv_to_host_file_cmd
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5011 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5018 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5019 if ${lt_cv_to_tool_file_cmd+:} false; then :
5020 $as_echo_n "(cached) " >&6
5022 #assume ordinary cross tools, or native build.
5023 lt_cv_to_tool_file_cmd=func_convert_file_noop
5027 *-*-mingw* ) # actually msys
5028 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5036 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5038 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5045 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5046 if ${lt_cv_ld_reload_flag+:} false; then :
5047 $as_echo_n "(cached) " >&6
5049 lt_cv_ld_reload_flag='-r'
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5052 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5053 reload_flag=$lt_cv_ld_reload_flag
5054 case $reload_flag in
5056 *) reload_flag=" $reload_flag" ;;
5058 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5060 cygwin* | mingw* | pw32* | cegcc*)
5061 if test "$GCC" != yes; then
5066 if test "$GCC" = yes; then
5067 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5069 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5082 if test -n "$ac_tool_prefix"; then
5083 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5084 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_OBJDUMP+:} false; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$OBJDUMP"; then
5091 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 OBJDUMP=$ac_cv_prog_OBJDUMP
5111 if test -n "$OBJDUMP"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5113 $as_echo "$OBJDUMP" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5121 if test -z "$ac_cv_prog_OBJDUMP"; then
5122 ac_ct_OBJDUMP=$OBJDUMP
5123 # Extract the first word of "objdump", so it can be a program name with args.
5124 set dummy objdump; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$ac_ct_OBJDUMP"; then
5131 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5151 if test -n "$ac_ct_OBJDUMP"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5153 $as_echo "$ac_ct_OBJDUMP" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5159 if test "x$ac_ct_OBJDUMP" = x; then
5162 case $cross_compiling:$ac_tool_warned in
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5166 ac_tool_warned=yes ;;
5168 OBJDUMP=$ac_ct_OBJDUMP
5171 OBJDUMP="$ac_cv_prog_OBJDUMP"
5174 test -z "$OBJDUMP" && OBJDUMP=objdump
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5185 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5186 if ${lt_cv_deplibs_check_method+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 lt_cv_file_magic_cmd='$MAGIC_CMD'
5190 lt_cv_file_magic_test_file=
5191 lt_cv_deplibs_check_method='unknown'
5192 # Need to set the preceding variable on all platforms that support
5193 # interlibrary dependencies.
5194 # 'none' -- dependencies not supported.
5195 # `unknown' -- same as none, but documents that we really don't know.
5196 # 'pass_all' -- all dependencies passed with no checks.
5197 # 'test_compile' -- check by making test program.
5198 # 'file_magic [[regex]]' -- check by looking for files in library path
5199 # which responds to the $file_magic_cmd with a given extended regex.
5200 # If you have `file' or equivalent on your system and you're not sure
5201 # whether `pass_all' will *always* work, you probably want this one.
5205 lt_cv_deplibs_check_method=pass_all
5209 lt_cv_deplibs_check_method=pass_all
5213 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5214 lt_cv_file_magic_cmd='/usr/bin/file -L'
5215 lt_cv_file_magic_test_file=/shlib/libc.so
5219 # func_win32_libid is a shell function defined in ltmain.sh
5220 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5221 lt_cv_file_magic_cmd='func_win32_libid'
5225 # Base MSYS/MinGW do not provide the 'file' command needed by
5226 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5227 # unless we find 'file', for example because we are cross-compiling.
5228 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5229 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5230 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5231 lt_cv_file_magic_cmd='func_win32_libid'
5233 # Keep this pattern in sync with the one in func_win32_libid.
5234 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5235 lt_cv_file_magic_cmd='$OBJDUMP -f'
5240 # use the weaker test based on 'objdump'. See mingw*.
5241 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5242 lt_cv_file_magic_cmd='$OBJDUMP -f'
5245 darwin* | rhapsody*)
5246 lt_cv_deplibs_check_method=pass_all
5249 freebsd* | dragonfly*)
5250 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5253 # Not sure whether the presence of OpenBSD here was a mistake.
5254 # Let's accept both of them until this is cleared up.
5255 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5256 lt_cv_file_magic_cmd=/usr/bin/file
5257 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5261 lt_cv_deplibs_check_method=pass_all
5266 lt_cv_deplibs_check_method=pass_all
5270 lt_cv_deplibs_check_method=pass_all
5273 hpux10.20* | hpux11*)
5274 lt_cv_file_magic_cmd=/usr/bin/file
5277 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5278 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5281 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]'
5282 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5286 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5292 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5296 irix5* | irix6* | nonstopux*)
5298 *-32|*"-32 ") libmagic=32-bit;;
5299 *-n32|*"-n32 ") libmagic=N32;;
5300 *-64|*"-64 ") libmagic=64-bit;;
5301 *) libmagic=never-match;;
5303 lt_cv_deplibs_check_method=pass_all
5306 # This must be glibc/ELF.
5307 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5308 lt_cv_deplibs_check_method=pass_all
5311 netbsd* | netbsdelf*-gnu)
5312 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5315 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5321 lt_cv_file_magic_cmd=/usr/bin/file
5322 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5326 lt_cv_deplibs_check_method=pass_all
5330 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5337 osf3* | osf4* | osf5*)
5338 lt_cv_deplibs_check_method=pass_all
5342 lt_cv_deplibs_check_method=pass_all
5346 lt_cv_deplibs_check_method=pass_all
5349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5350 lt_cv_deplibs_check_method=pass_all
5354 case $host_vendor in
5356 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]'
5357 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5360 lt_cv_deplibs_check_method=pass_all
5363 lt_cv_file_magic_cmd='/bin/file'
5364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5367 lt_cv_file_magic_cmd='/bin/file'
5368 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5369 lt_cv_file_magic_test_file=/lib/libc.so
5372 lt_cv_deplibs_check_method=pass_all
5375 lt_cv_deplibs_check_method=pass_all
5381 lt_cv_deplibs_check_method=pass_all
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5387 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5391 if test "$build" = "$host"; then
5394 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5397 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5403 file_magic_cmd=$lt_cv_file_magic_cmd
5404 deplibs_check_method=$lt_cv_deplibs_check_method
5405 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5430 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_DLLTOOL+:} false; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$DLLTOOL"; then
5437 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 DLLTOOL=$ac_cv_prog_DLLTOOL
5457 if test -n "$DLLTOOL"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5459 $as_echo "$DLLTOOL" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_DLLTOOL"; then
5468 ac_ct_DLLTOOL=$DLLTOOL
5469 # Extract the first word of "dlltool", so it can be a program name with args.
5470 set dummy dlltool; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_DLLTOOL"; then
5477 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5497 if test -n "$ac_ct_DLLTOOL"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5499 $as_echo "$ac_ct_DLLTOOL" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_DLLTOOL" = x; then
5508 case $cross_compiling:$ac_tool_warned in
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned=yes ;;
5514 DLLTOOL=$ac_ct_DLLTOOL
5517 DLLTOOL="$ac_cv_prog_DLLTOOL"
5520 test -z "$DLLTOOL" && DLLTOOL=dlltool
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5532 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5533 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5534 $as_echo_n "(cached) " >&6
5536 lt_cv_sharedlib_from_linklib_cmd='unknown'
5539 cygwin* | mingw* | pw32* | cegcc*)
5540 # two different shell functions defined in ltmain.sh
5541 # decide which to use based on capabilities of $DLLTOOL
5542 case `$DLLTOOL --help 2>&1` in
5543 *--identify-strict*)
5544 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5547 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5552 # fallback: assume linklib IS sharedlib
5553 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5559 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5560 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5561 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5570 if test -n "$ac_tool_prefix"; then
5573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_AR+:} false; then :
5578 $as_echo_n "(cached) " >&6
5580 if test -n "$AR"; then
5581 ac_cv_prog_AR="$AR" # Let the user override the test.
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 if test -n "$AR"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5603 $as_echo "$AR" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5610 test -n "$AR" && break
5613 if test -z "$AR"; then
5617 # Extract the first word of "$ac_prog", so it can be a program name with args.
5618 set dummy $ac_prog; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$ac_ct_AR"; then
5625 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_ac_ct_AR="$ac_prog"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5645 if test -n "$ac_ct_AR"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5647 $as_echo "$ac_ct_AR" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5654 test -n "$ac_ct_AR" && break
5657 if test "x$ac_ct_AR" = x; then
5660 case $cross_compiling:$ac_tool_warned in
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5664 ac_tool_warned=yes ;;
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5684 $as_echo_n "checking for archiver @FILE support... " >&6; }
5685 if ${lt_cv_ar_at_file+:} false; then :
5686 $as_echo_n "(cached) " >&6
5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5700 if ac_fn_c_try_compile "$LINENO"; then :
5701 echo conftest.$ac_objext > conftest.lst
5702 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5703 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5704 (eval $lt_ar_try) 2>&5
5706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5707 test $ac_status = 0; }
5708 if test "$ac_status" -eq 0; then
5709 # Ensure the archiver fails upon bogus file names.
5710 rm -f conftest.$ac_objext libconftest.a
5711 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5712 (eval $lt_ar_try) 2>&5
5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5715 test $ac_status = 0; }
5716 if test "$ac_status" -ne 0; then
5720 rm -f conftest.* libconftest.a
5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5727 $as_echo "$lt_cv_ar_at_file" >&6; }
5729 if test "x$lt_cv_ar_at_file" = xno; then
5732 archiver_list_spec=$lt_cv_ar_at_file
5741 if test -n "$ac_tool_prefix"; then
5742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5743 set dummy ${ac_tool_prefix}strip; ac_word=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_STRIP+:} false; then :
5747 $as_echo_n "(cached) " >&6
5749 if test -n "$STRIP"; then
5750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 STRIP=$ac_cv_prog_STRIP
5770 if test -n "$STRIP"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5772 $as_echo "$STRIP" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5780 if test -z "$ac_cv_prog_STRIP"; then
5782 # Extract the first word of "strip", so it can be a program name with args.
5783 set dummy strip; ac_word=$2
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 $as_echo_n "checking for $ac_word... " >&6; }
5786 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5787 $as_echo_n "(cached) " >&6
5789 if test -n "$ac_ct_STRIP"; then
5790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 test -z "$as_dir" && as_dir=.
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5799 ac_cv_prog_ac_ct_STRIP="strip"
5800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5810 if test -n "$ac_ct_STRIP"; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5812 $as_echo "$ac_ct_STRIP" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5815 $as_echo "no" >&6; }
5818 if test "x$ac_ct_STRIP" = x; then
5821 case $cross_compiling:$ac_tool_warned in
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5825 ac_tool_warned=yes ;;
5830 STRIP="$ac_cv_prog_STRIP"
5833 test -z "$STRIP" && STRIP=:
5840 if test -n "$ac_tool_prefix"; then
5841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5842 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_RANLIB+:} false; then :
5846 $as_echo_n "(cached) " >&6
5848 if test -n "$RANLIB"; then
5849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 RANLIB=$ac_cv_prog_RANLIB
5869 if test -n "$RANLIB"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5871 $as_echo "$RANLIB" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5879 if test -z "$ac_cv_prog_RANLIB"; then
5880 ac_ct_RANLIB=$RANLIB
5881 # Extract the first word of "ranlib", so it can be a program name with args.
5882 set dummy ranlib; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5886 $as_echo_n "(cached) " >&6
5888 if test -n "$ac_ct_RANLIB"; then
5889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_ac_ct_RANLIB="ranlib"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5909 if test -n "$ac_ct_RANLIB"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5911 $as_echo "$ac_ct_RANLIB" >&6; }
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5917 if test "x$ac_ct_RANLIB" = x; then
5920 case $cross_compiling:$ac_tool_warned in
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5924 ac_tool_warned=yes ;;
5926 RANLIB=$ac_ct_RANLIB
5929 RANLIB="$ac_cv_prog_RANLIB"
5932 test -z "$RANLIB" && RANLIB=:
5939 # Determine commands to create old-style static archives.
5940 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5941 old_postinstall_cmds='chmod 644 $oldlib'
5942 old_postuninstall_cmds=
5944 if test -n "$RANLIB"; then
5947 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5950 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5953 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5958 lock_old_archive_extraction=yes ;;
5960 lock_old_archive_extraction=no ;;
6001 # If no C compiler was specified, use CC.
6004 # If no C compiler flags were specified, use CFLAGS.
6005 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6007 # Allow CC to be a program name with arguments.
6011 # Check for command to grab the raw symbol name followed by C symbol from nm.
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6013 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6014 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6015 $as_echo_n "(cached) " >&6
6018 # These are sane defaults that work on at least a few old systems.
6019 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6021 # Character class describing NM global symbol codes.
6022 symcode='[BCDEGRST]'
6024 # Regexp to match symbols that can be accessed directly from C.
6025 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6027 # Define system-specific variables.
6032 cygwin* | mingw* | pw32* | cegcc*)
6033 symcode='[ABCDGISTW]'
6036 if test "$host_cpu" = ia64; then
6037 symcode='[ABCDEGRST]'
6041 symcode='[BCDEGRST]'
6044 symcode='[BCDEGQRST]'
6055 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6063 # If we're using GNU nm, then use its standard symbol codes.
6064 case `$NM -V 2>&1` in
6065 *GNU* | *'with BFD'*)
6066 symcode='[ABCDGIRSTW]' ;;
6069 # Transform an extracted symbol line into a proper C declaration.
6070 # Some systems (esp. on ia64) link data and code symbols differently,
6071 # so use this general approach.
6072 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6074 # Transform an extracted symbol line into symbol name and symbol address
6075 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6076 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'"
6078 # Handle CRLF in mingw tool chain
6082 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6086 # Try without a prefix underscore, then with it.
6087 for ac_symprfx in "" "_"; do
6089 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6090 symxfrm="\\1 $ac_symprfx\\2 \\2"
6092 # Write the raw and C identifiers.
6093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6094 # Fake it for dumpbin and say T for any non-static function
6095 # and D for any global variable.
6096 # Also find C++ and __fastcall symbols from MSVC++,
6097 # which start with @ or ?.
6098 lt_cv_sys_global_symbol_pipe="$AWK '"\
6099 " {last_section=section; section=\$ 3};"\
6100 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6101 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6102 " \$ 0!~/External *\|/{next};"\
6103 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6104 " {if(hide[section]) next};"\
6105 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6106 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6107 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6108 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6109 " ' prfx=^$ac_symprfx"
6111 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6113 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6115 # Check to see that the pipe works correctly.
6119 cat > conftest.$ac_ext <<_LT_EOF
6124 void nm_test_func(void);
6125 void nm_test_func(void){}
6129 int main(){nm_test_var='a';nm_test_func();return(0);}
6132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6133 (eval $ac_compile) 2>&5
6135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136 test $ac_status = 0; }; then
6137 # Now try to grab the symbols.
6139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6140 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6143 test $ac_status = 0; } && test -s "$nlist"; then
6144 # Try sorting and uniquifying the output.
6145 if sort "$nlist" | uniq > "$nlist"T; then
6146 mv -f "$nlist"T "$nlist"
6151 # Make sure that we snagged all the symbols we need.
6152 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6153 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6154 cat <<_LT_EOF > conftest.$ac_ext
6155 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6156 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6157 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6158 relocations are performed -- see ld's documentation on pseudo-relocs. */
6159 # define LT_DLSYM_CONST
6160 #elif defined(__osf__)
6161 /* This system does not cope well with relocations in const data. */
6162 # define LT_DLSYM_CONST
6164 # define LT_DLSYM_CONST const
6172 # Now generate the symbol file.
6173 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6175 cat <<_LT_EOF >> conftest.$ac_ext
6177 /* The mapping between symbol names and symbols. */
6178 LT_DLSYM_CONST struct {
6182 lt__PROGRAM__LTX_preloaded_symbols[] =
6184 { "@PROGRAM@", (void *) 0 },
6186 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6187 cat <<\_LT_EOF >> conftest.$ac_ext
6191 /* This works around a problem in FreeBSD linker */
6192 #ifdef FREEBSD_WORKAROUND
6193 static const void *lt_preloaded_setup() {
6194 return lt__PROGRAM__LTX_preloaded_symbols;
6202 # Now try linking the two files.
6203 mv conftest.$ac_objext conftstm.$ac_objext
6204 lt_globsym_save_LIBS=$LIBS
6205 lt_globsym_save_CFLAGS=$CFLAGS
6206 LIBS="conftstm.$ac_objext"
6207 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6209 (eval $ac_link) 2>&5
6211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6212 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6215 LIBS=$lt_globsym_save_LIBS
6216 CFLAGS=$lt_globsym_save_CFLAGS
6218 echo "cannot find nm_test_func in $nlist" >&5
6221 echo "cannot find nm_test_var in $nlist" >&5
6224 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6227 echo "$progname: failed program was:" >&5
6228 cat conftest.$ac_ext >&5
6230 rm -rf conftest* conftst*
6232 # Do not use the global_symbol_pipe unless it works.
6233 if test "$pipe_works" = yes; then
6236 lt_cv_sys_global_symbol_pipe=
6242 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6243 lt_cv_sys_global_symbol_to_cdecl=
6245 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6247 $as_echo "failed" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6250 $as_echo "ok" >&6; }
6253 # Response file support.
6254 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6255 nm_file_list_spec='@'
6256 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6257 nm_file_list_spec='@'
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6287 $as_echo_n "checking for sysroot... " >&6; }
6289 # Check whether --with-sysroot was given.
6290 if test "${with_sysroot+set}" = set; then :
6291 withval=$with_sysroot;
6298 case ${with_sysroot} in #(
6300 if test "$GCC" = yes; then
6301 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6305 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6311 $as_echo "${with_sysroot}" >&6; }
6312 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6317 $as_echo "${lt_sysroot:-no}" >&6; }
6323 # Check whether --enable-libtool-lock was given.
6324 if test "${enable_libtool_lock+set}" = set; then :
6325 enableval=$enable_libtool_lock;
6328 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6330 # Some flags need to be propagated to the compiler or linker for good
6334 # Find out which ABI we are using.
6335 echo 'int i;' > conftest.$ac_ext
6336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6337 (eval $ac_compile) 2>&5
6339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6340 test $ac_status = 0; }; then
6341 case `/usr/bin/file conftest.$ac_objext` in
6353 # Find out which ABI we are using.
6354 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6356 (eval $ac_compile) 2>&5
6358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6359 test $ac_status = 0; }; then
6360 if test "$lt_cv_prog_gnu_ld" = yes; then
6361 case `/usr/bin/file conftest.$ac_objext` in
6363 LD="${LD-ld} -melf32bsmip"
6366 LD="${LD-ld} -melf32bmipn32"
6369 LD="${LD-ld} -melf64bmip"
6373 case `/usr/bin/file conftest.$ac_objext` in
6389 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6390 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6391 # Find out which ABI we are using.
6392 echo 'int i;' > conftest.$ac_ext
6393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6394 (eval $ac_compile) 2>&5
6396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6397 test $ac_status = 0; }; then
6398 case `/usr/bin/file conftest.o` in
6401 x86_64-*kfreebsd*-gnu)
6402 LD="${LD-ld} -m elf_i386_fbsd"
6405 LD="${LD-ld} -m elf_i386"
6407 ppc64-*linux*|powerpc64-*linux*)
6408 LD="${LD-ld} -m elf32ppclinux"
6411 LD="${LD-ld} -m elf_s390"
6414 LD="${LD-ld} -m elf32_sparc"
6420 x86_64-*kfreebsd*-gnu)
6421 LD="${LD-ld} -m elf_x86_64_fbsd"
6424 LD="${LD-ld} -m elf_x86_64"
6426 ppc*-*linux*|powerpc*-*linux*)
6427 LD="${LD-ld} -m elf64ppc"
6429 s390*-*linux*|s390*-*tpf*)
6430 LD="${LD-ld} -m elf64_s390"
6433 LD="${LD-ld} -m elf64_sparc"
6443 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6444 SAVE_CFLAGS="$CFLAGS"
6445 CFLAGS="$CFLAGS -belf"
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6447 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6448 if ${lt_cv_cc_needs_belf+:} false; then :
6449 $as_echo_n "(cached) " >&6
6452 ac_cpp='$CPP $CPPFLAGS'
6453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6468 if ac_fn_c_try_link "$LINENO"; then :
6469 lt_cv_cc_needs_belf=yes
6471 lt_cv_cc_needs_belf=no
6473 rm -f core conftest.err conftest.$ac_objext \
6474 conftest$ac_exeext conftest.$ac_ext
6476 ac_cpp='$CPP $CPPFLAGS'
6477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6483 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6484 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6485 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6486 CFLAGS="$SAVE_CFLAGS"
6490 # Find out which ABI we are using.
6491 echo 'int i;' > conftest.$ac_ext
6492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6493 (eval $ac_compile) 2>&5
6495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6496 test $ac_status = 0; }; then
6497 case `/usr/bin/file conftest.o` in
6499 case $lt_cv_prog_gnu_ld in
6503 LD="${LD-ld} -m elf_x86_64"
6506 LD="${LD-ld} -m elf64_sparc"
6509 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6510 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6515 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6527 need_locks="$enable_libtool_lock"
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}mt; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6535 $as_echo_n "(cached) " >&6
6537 if test -n "$MANIFEST_TOOL"; then
6538 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6547 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6558 if test -n "$MANIFEST_TOOL"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6560 $as_echo "$MANIFEST_TOOL" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6569 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6570 # Extract the first word of "mt", so it can be a program name with args.
6571 set dummy mt; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6575 $as_echo_n "(cached) " >&6
6577 if test -n "$ac_ct_MANIFEST_TOOL"; then
6578 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6598 if test -n "$ac_ct_MANIFEST_TOOL"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6600 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6609 case $cross_compiling:$ac_tool_warned in
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6615 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6618 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6621 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6623 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6624 if ${lt_cv_path_mainfest_tool+:} false; then :
6625 $as_echo_n "(cached) " >&6
6627 lt_cv_path_mainfest_tool=no
6628 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6629 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6630 cat conftest.err >&5
6631 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6632 lt_cv_path_mainfest_tool=yes
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6637 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6638 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6648 rhapsody* | darwin*)
6649 if test -n "$ac_tool_prefix"; then
6650 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6651 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6655 $as_echo_n "(cached) " >&6
6657 if test -n "$DSYMUTIL"; then
6658 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6678 if test -n "$DSYMUTIL"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6680 $as_echo "$DSYMUTIL" >&6; }
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6688 if test -z "$ac_cv_prog_DSYMUTIL"; then
6689 ac_ct_DSYMUTIL=$DSYMUTIL
6690 # Extract the first word of "dsymutil", so it can be a program name with args.
6691 set dummy dsymutil; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 $as_echo_n "checking for $ac_word... " >&6; }
6694 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6695 $as_echo_n "(cached) " >&6
6697 if test -n "$ac_ct_DSYMUTIL"; then
6698 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6717 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6718 if test -n "$ac_ct_DSYMUTIL"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6720 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6726 if test "x$ac_ct_DSYMUTIL" = x; then
6729 case $cross_compiling:$ac_tool_warned in
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6733 ac_tool_warned=yes ;;
6735 DSYMUTIL=$ac_ct_DSYMUTIL
6738 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6741 if test -n "$ac_tool_prefix"; then
6742 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6743 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if ${ac_cv_prog_NMEDIT+:} false; then :
6747 $as_echo_n "(cached) " >&6
6749 if test -n "$NMEDIT"; then
6750 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 NMEDIT=$ac_cv_prog_NMEDIT
6770 if test -n "$NMEDIT"; then
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6772 $as_echo "$NMEDIT" >&6; }
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6780 if test -z "$ac_cv_prog_NMEDIT"; then
6781 ac_ct_NMEDIT=$NMEDIT
6782 # Extract the first word of "nmedit", so it can be a program name with args.
6783 set dummy nmedit; ac_word=$2
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785 $as_echo_n "checking for $ac_word... " >&6; }
6786 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6787 $as_echo_n "(cached) " >&6
6789 if test -n "$ac_ct_NMEDIT"; then
6790 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6810 if test -n "$ac_ct_NMEDIT"; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6812 $as_echo "$ac_ct_NMEDIT" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 $as_echo "no" >&6; }
6818 if test "x$ac_ct_NMEDIT" = x; then
6821 case $cross_compiling:$ac_tool_warned in
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825 ac_tool_warned=yes ;;
6827 NMEDIT=$ac_ct_NMEDIT
6830 NMEDIT="$ac_cv_prog_NMEDIT"
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6835 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_prog_LIPO+:} false; then :
6839 $as_echo_n "(cached) " >&6
6841 if test -n "$LIPO"; then
6842 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir=.
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 LIPO=$ac_cv_prog_LIPO
6862 if test -n "$LIPO"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6864 $as_echo "$LIPO" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6872 if test -z "$ac_cv_prog_LIPO"; then
6874 # Extract the first word of "lipo", so it can be a program name with args.
6875 set dummy lipo; ac_word=$2
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6877 $as_echo_n "checking for $ac_word... " >&6; }
6878 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6879 $as_echo_n "(cached) " >&6
6881 if test -n "$ac_ct_LIPO"; then
6882 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 test -z "$as_dir" && as_dir=.
6889 for ac_exec_ext in '' $ac_executable_extensions; do
6890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6891 ac_cv_prog_ac_ct_LIPO="lipo"
6892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6901 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6902 if test -n "$ac_ct_LIPO"; then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6904 $as_echo "$ac_ct_LIPO" >&6; }
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 $as_echo "no" >&6; }
6910 if test "x$ac_ct_LIPO" = x; then
6913 case $cross_compiling:$ac_tool_warned in
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6917 ac_tool_warned=yes ;;
6922 LIPO="$ac_cv_prog_LIPO"
6925 if test -n "$ac_tool_prefix"; then
6926 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6927 set dummy ${ac_tool_prefix}otool; ac_word=$2
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6929 $as_echo_n "checking for $ac_word... " >&6; }
6930 if ${ac_cv_prog_OTOOL+:} false; then :
6931 $as_echo_n "(cached) " >&6
6933 if test -n "$OTOOL"; then
6934 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 test -z "$as_dir" && as_dir=.
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6943 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953 OTOOL=$ac_cv_prog_OTOOL
6954 if test -n "$OTOOL"; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6956 $as_echo "$OTOOL" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
6964 if test -z "$ac_cv_prog_OTOOL"; then
6966 # Extract the first word of "otool", so it can be a program name with args.
6967 set dummy otool; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6969 $as_echo_n "checking for $ac_word... " >&6; }
6970 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6971 $as_echo_n "(cached) " >&6
6973 if test -n "$ac_ct_OTOOL"; then
6974 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6983 ac_cv_prog_ac_ct_OTOOL="otool"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6993 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6994 if test -n "$ac_ct_OTOOL"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6996 $as_echo "$ac_ct_OTOOL" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7002 if test "x$ac_ct_OTOOL" = x; then
7005 case $cross_compiling:$ac_tool_warned in
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7009 ac_tool_warned=yes ;;
7014 OTOOL="$ac_cv_prog_OTOOL"
7017 if test -n "$ac_tool_prefix"; then
7018 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7019 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_OTOOL64+:} false; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$OTOOL64"; then
7026 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 OTOOL64=$ac_cv_prog_OTOOL64
7046 if test -n "$OTOOL64"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7048 $as_echo "$OTOOL64" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7056 if test -z "$ac_cv_prog_OTOOL64"; then
7057 ac_ct_OTOOL64=$OTOOL64
7058 # Extract the first word of "otool64", so it can be a program name with args.
7059 set dummy otool64; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7063 $as_echo_n "(cached) " >&6
7065 if test -n "$ac_ct_OTOOL64"; then
7066 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_ac_ct_OTOOL64="otool64"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7086 if test -n "$ac_ct_OTOOL64"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7088 $as_echo "$ac_ct_OTOOL64" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7094 if test "x$ac_ct_OTOOL64" = x; then
7097 case $cross_compiling:$ac_tool_warned in
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7101 ac_tool_warned=yes ;;
7103 OTOOL64=$ac_ct_OTOOL64
7106 OTOOL64="$ac_cv_prog_OTOOL64"
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7136 $as_echo_n "checking for -single_module linker flag... " >&6; }
7137 if ${lt_cv_apple_cc_single_mod+:} false; then :
7138 $as_echo_n "(cached) " >&6
7140 lt_cv_apple_cc_single_mod=no
7141 if test -z "${LT_MULTI_MODULE}"; then
7142 # By default we will add the -single_module flag. You can override
7143 # by either setting the environment variable LT_MULTI_MODULE
7144 # non-empty at configure time, or by adding -multi_module to the
7146 rm -rf libconftest.dylib*
7147 echo "int foo(void){return 1;}" > conftest.c
7148 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7149 -dynamiclib -Wl,-single_module conftest.c" >&5
7150 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7151 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7153 # If there is a non-empty error log, and "single_module"
7154 # appears in it, assume the flag caused a linker warning
7155 if test -s conftest.err && $GREP single_module conftest.err; then
7156 cat conftest.err >&5
7157 # Otherwise, if the output was created with a 0 exit code from
7158 # the compiler, it worked.
7159 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7160 lt_cv_apple_cc_single_mod=yes
7162 cat conftest.err >&5
7164 rm -rf libconftest.dylib*
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7169 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7172 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7173 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7174 $as_echo_n "(cached) " >&6
7176 lt_cv_ld_exported_symbols_list=no
7177 save_LDFLAGS=$LDFLAGS
7178 echo "_main" > conftest.sym
7179 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7191 if ac_fn_c_try_link "$LINENO"; then :
7192 lt_cv_ld_exported_symbols_list=yes
7194 lt_cv_ld_exported_symbols_list=no
7196 rm -f core conftest.err conftest.$ac_objext \
7197 conftest$ac_exeext conftest.$ac_ext
7198 LDFLAGS="$save_LDFLAGS"
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7202 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7205 $as_echo_n "checking for -force_load linker flag... " >&6; }
7206 if ${lt_cv_ld_force_load+:} false; then :
7207 $as_echo_n "(cached) " >&6
7209 lt_cv_ld_force_load=no
7210 cat > conftest.c << _LT_EOF
7211 int forced_loaded() { return 2;}
7213 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7214 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7215 echo "$AR cru libconftest.a conftest.o" >&5
7216 $AR cru libconftest.a conftest.o 2>&5
7217 echo "$RANLIB libconftest.a" >&5
7218 $RANLIB libconftest.a 2>&5
7219 cat > conftest.c << _LT_EOF
7220 int main() { return 0;}
7222 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7223 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7225 if test -s conftest.err && $GREP force_load conftest.err; then
7226 cat conftest.err >&5
7227 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7228 lt_cv_ld_force_load=yes
7230 cat conftest.err >&5
7232 rm -f conftest.err libconftest.a conftest conftest.c
7233 rm -rf conftest.dSYM
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7237 $as_echo "$lt_cv_ld_force_load" >&6; }
7239 rhapsody* | darwin1.[012])
7240 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7243 darwin*) # darwin 5.x on
7244 # if running on 10.5 or later, the deployment target defaults
7245 # to the OS version, if on x86, and 10.4, the deployment
7246 # target defaults to 10.4. Don't you love it?
7247 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7248 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7249 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7251 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7253 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7258 _lt_dar_single_mod='$single_module'
7260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7261 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7263 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7265 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7266 _lt_dsymutil='~$DSYMUTIL $lib || :'
7274 ac_cpp='$CPP $CPPFLAGS'
7275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7279 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7280 # On Suns, sometimes $CPP names a directory.
7281 if test -n "$CPP" && test -d "$CPP"; then
7284 if test -z "$CPP"; then
7285 if ${ac_cv_prog_CPP+:} false; then :
7286 $as_echo_n "(cached) " >&6
7288 # Double quotes because CPP needs to be expanded
7289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7292 for ac_c_preproc_warn_flag in '' yes
7294 # Use a header file that comes with gcc, so configuring glibc
7295 # with a fresh cross-compiler works.
7296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7297 # <limits.h> exists even on freestanding compilers.
7298 # On the NeXT, cc -E runs the code through the compiler's parser,
7299 # not just through cpp. "Syntax error" is here to catch this case.
7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7303 # include <limits.h>
7305 # include <assert.h>
7309 if ac_fn_c_try_cpp "$LINENO"; then :
7312 # Broken: fails on valid input.
7315 rm -f conftest.err conftest.i conftest.$ac_ext
7317 # OK, works on sane cases. Now check whether nonexistent headers
7318 # can be detected and how.
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h. */
7321 #include <ac_nonexistent.h>
7323 if ac_fn_c_try_cpp "$LINENO"; then :
7324 # Broken: success on invalid input.
7327 # Passes both tests.
7331 rm -f conftest.err conftest.i conftest.$ac_ext
7334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7335 rm -f conftest.i conftest.err conftest.$ac_ext
7336 if $ac_preproc_ok; then :
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7349 $as_echo "$CPP" >&6; }
7351 for ac_c_preproc_warn_flag in '' yes
7353 # Use a header file that comes with gcc, so configuring glibc
7354 # with a fresh cross-compiler works.
7355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7356 # <limits.h> exists even on freestanding compilers.
7357 # On the NeXT, cc -E runs the code through the compiler's parser,
7358 # not just through cpp. "Syntax error" is here to catch this case.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7362 # include <limits.h>
7364 # include <assert.h>
7368 if ac_fn_c_try_cpp "$LINENO"; then :
7371 # Broken: fails on valid input.
7374 rm -f conftest.err conftest.i conftest.$ac_ext
7376 # OK, works on sane cases. Now check whether nonexistent headers
7377 # can be detected and how.
7378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7379 /* end confdefs.h. */
7380 #include <ac_nonexistent.h>
7382 if ac_fn_c_try_cpp "$LINENO"; then :
7383 # Broken: success on invalid input.
7386 # Passes both tests.
7390 rm -f conftest.err conftest.i conftest.$ac_ext
7393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7394 rm -f conftest.i conftest.err conftest.$ac_ext
7395 if $ac_preproc_ok; then :
7398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7400 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7401 See \`config.log' for more details" "$LINENO" 5; }
7405 ac_cpp='$CPP $CPPFLAGS'
7406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7412 $as_echo_n "checking for ANSI C header files... " >&6; }
7413 if ${ac_cv_header_stdc+:} false; then :
7414 $as_echo_n "(cached) " >&6
7416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h. */
7431 if ac_fn_c_try_compile "$LINENO"; then :
7432 ac_cv_header_stdc=yes
7434 ac_cv_header_stdc=no
7436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7438 if test $ac_cv_header_stdc = yes; then
7439 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441 /* end confdefs.h. */
7445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7446 $EGREP "memchr" >/dev/null 2>&1; then :
7449 ac_cv_header_stdc=no
7455 if test $ac_cv_header_stdc = yes; then
7456 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h. */
7462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7463 $EGREP "free" >/dev/null 2>&1; then :
7466 ac_cv_header_stdc=no
7472 if test $ac_cv_header_stdc = yes; then
7473 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7474 if test "$cross_compiling" = yes; then :
7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7478 /* end confdefs.h. */
7481 #if ((' ' & 0x0FF) == 0x020)
7482 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7483 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7485 # define ISLOWER(c) \
7486 (('a' <= (c) && (c) <= 'i') \
7487 || ('j' <= (c) && (c) <= 'r') \
7488 || ('s' <= (c) && (c) <= 'z'))
7489 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7492 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7497 for (i = 0; i < 256; i++)
7498 if (XOR (islower (i), ISLOWER (i))
7499 || toupper (i) != TOUPPER (i))
7504 if ac_fn_c_try_run "$LINENO"; then :
7507 ac_cv_header_stdc=no
7509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7510 conftest.$ac_objext conftest.beam conftest.$ac_ext
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7516 $as_echo "$ac_cv_header_stdc" >&6; }
7517 if test $ac_cv_header_stdc = yes; then
7519 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7524 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7525 inttypes.h stdint.h unistd.h
7527 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7528 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7531 cat >>confdefs.h <<_ACEOF
7532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 for ac_header in dlfcn.h
7542 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7544 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7545 cat >>confdefs.h <<_ACEOF
7546 #define HAVE_DLFCN_H 1
7567 # Check whether --enable-shared was given.
7568 if test "${enable_shared+set}" = set; then :
7569 enableval=$enable_shared; p=${PACKAGE-default}
7571 yes) enable_shared=yes ;;
7572 no) enable_shared=no ;;
7575 # Look at the argument we got. We use all the common list separators.
7576 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7577 for pkg in $enableval; do
7579 if test "X$pkg" = "X$p"; then
7598 # Check whether --enable-static was given.
7599 if test "${enable_static+set}" = set; then :
7600 enableval=$enable_static; p=${PACKAGE-default}
7602 yes) enable_static=yes ;;
7603 no) enable_static=no ;;
7606 # Look at the argument we got. We use all the common list separators.
7607 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7608 for pkg in $enableval; do
7610 if test "X$pkg" = "X$p"; then
7630 # Check whether --with-pic was given.
7631 if test "${with_pic+set}" = set; then :
7632 withval=$with_pic; lt_p=${PACKAGE-default}
7634 yes|no) pic_mode=$withval ;;
7637 # Look at the argument we got. We use all the common list separators.
7638 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7639 for lt_pkg in $withval; do
7641 if test "X$lt_pkg" = "X$lt_p"; then
7653 test -z "$pic_mode" && pic_mode=default
7661 # Check whether --enable-fast-install was given.
7662 if test "${enable_fast_install+set}" = set; then :
7663 enableval=$enable_fast_install; p=${PACKAGE-default}
7665 yes) enable_fast_install=yes ;;
7666 no) enable_fast_install=no ;;
7668 enable_fast_install=no
7669 # Look at the argument we got. We use all the common list separators.
7670 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7671 for pkg in $enableval; do
7673 if test "X$pkg" = "X$p"; then
7674 enable_fast_install=yes
7681 enable_fast_install=yes
7694 # This can be used to rebuild libtool when needed
7695 LIBTOOL_DEPS="$ltmain"
7697 # Always use our own libtool.
7698 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7729 test -z "$LN_S" && LN_S="ln -s"
7744 if test -n "${ZSH_VERSION+set}" ; then
7745 setopt NO_GLOB_SUBST
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7749 $as_echo_n "checking for objdir... " >&6; }
7750 if ${lt_cv_objdir+:} false; then :
7751 $as_echo_n "(cached) " >&6
7753 rm -f .libs 2>/dev/null
7754 mkdir .libs 2>/dev/null
7755 if test -d .libs; then
7758 # MS-DOS does not allow filenames that begin with a dot.
7761 rmdir .libs 2>/dev/null
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7764 $as_echo "$lt_cv_objdir" >&6; }
7765 objdir=$lt_cv_objdir
7771 cat >>confdefs.h <<_ACEOF
7772 #define LT_OBJDIR "$lt_cv_objdir/"
7780 # AIX sometimes has problems with the GCC collect2 program. For some
7781 # reason, if we set the COLLECT_NAMES environment variable, the problems
7782 # vanish in a puff of smoke.
7783 if test "X${COLLECT_NAMES+set}" != Xset; then
7785 export COLLECT_NAMES
7792 can_build_shared=yes
7794 # All known linkers require a `.a' archive for static linking (except MSVC,
7795 # which needs '.lib').
7798 with_gnu_ld="$lt_cv_prog_gnu_ld"
7801 old_CFLAGS="$CFLAGS"
7803 # Set sane defaults for various variables
7804 test -z "$CC" && CC=cc
7805 test -z "$LTCC" && LTCC=$CC
7806 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7807 test -z "$LD" && LD=ld
7808 test -z "$ac_objext" && ac_objext=o
7810 for cc_temp in $compiler""; do
7812 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7813 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7818 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7821 # Only perform the check for file, if the check method requires it
7822 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7823 case $deplibs_check_method in
7825 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7827 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7828 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7829 $as_echo_n "(cached) " >&6
7833 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7836 lt_save_MAGIC_CMD="$MAGIC_CMD"
7837 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7838 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7839 for ac_dir in $ac_dummy; do
7841 test -z "$ac_dir" && ac_dir=.
7842 if test -f $ac_dir/${ac_tool_prefix}file; then
7843 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7844 if test -n "$file_magic_test_file"; then
7845 case $deplibs_check_method in
7847 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7848 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7849 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7850 $EGREP "$file_magic_regex" > /dev/null; then
7855 *** Warning: the command libtool uses to detect shared libraries,
7856 *** $file_magic_cmd, produces output that libtool cannot recognize.
7857 *** The result is that libtool may fail to recognize shared libraries
7858 *** as such. This will affect the creation of libtool libraries that
7859 *** depend on shared libraries, but programs linked with such libtool
7860 *** libraries will work regardless of this problem. Nevertheless, you
7861 *** may want to report the problem to your system manager and/or to
7862 *** bug-libtool@gnu.org
7872 MAGIC_CMD="$lt_save_MAGIC_CMD"
7877 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7878 if test -n "$MAGIC_CMD"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7880 $as_echo "$MAGIC_CMD" >&6; }
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7883 $as_echo "no" >&6; }
7890 if test -z "$lt_cv_path_MAGIC_CMD"; then
7891 if test -n "$ac_tool_prefix"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7893 $as_echo_n "checking for file... " >&6; }
7894 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7895 $as_echo_n "(cached) " >&6
7899 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7902 lt_save_MAGIC_CMD="$MAGIC_CMD"
7903 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7904 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7905 for ac_dir in $ac_dummy; do
7907 test -z "$ac_dir" && ac_dir=.
7908 if test -f $ac_dir/file; then
7909 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7910 if test -n "$file_magic_test_file"; then
7911 case $deplibs_check_method in
7913 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7914 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7915 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7916 $EGREP "$file_magic_regex" > /dev/null; then
7921 *** Warning: the command libtool uses to detect shared libraries,
7922 *** $file_magic_cmd, produces output that libtool cannot recognize.
7923 *** The result is that libtool may fail to recognize shared libraries
7924 *** as such. This will affect the creation of libtool libraries that
7925 *** depend on shared libraries, but programs linked with such libtool
7926 *** libraries will work regardless of this problem. Nevertheless, you
7927 *** may want to report the problem to your system manager and/or to
7928 *** bug-libtool@gnu.org
7938 MAGIC_CMD="$lt_save_MAGIC_CMD"
7943 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7944 if test -n "$MAGIC_CMD"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7946 $as_echo "$MAGIC_CMD" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7962 # Use C for the default configuration in the libtool script
7966 ac_cpp='$CPP $CPPFLAGS'
7967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7972 # Source file extension for C test sources.
7975 # Object file extension for compiled C test sources.
7979 # Code to be used in simple compile tests
7980 lt_simple_compile_test_code="int some_variable = 0;"
7982 # Code to be used in simple link tests
7983 lt_simple_link_test_code='int main(){return(0);}'
7991 # If no C compiler was specified, use CC.
7994 # If no C compiler flags were specified, use CFLAGS.
7995 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7997 # Allow CC to be a program name with arguments.
8000 # Save the default compiler, since it gets overwritten when the other
8001 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8002 compiler_DEFAULT=$CC
8004 # save warnings/boilerplate of simple test code
8005 ac_outfile=conftest.$ac_objext
8006 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8007 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8008 _lt_compiler_boilerplate=`cat conftest.err`
8011 ac_outfile=conftest.$ac_objext
8012 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8013 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8014 _lt_linker_boilerplate=`cat conftest.err`
8019 ## There is no encapsulation within the following macros, do not change
8020 ## the running order or otherwise move them around unless you know exactly
8021 ## what you are doing...
8022 if test -n "$compiler"; then
8024 lt_prog_compiler_no_builtin_flag=
8026 if test "$GCC" = yes; then
8027 case $cc_basename in
8029 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8031 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8035 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8036 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8037 $as_echo_n "(cached) " >&6
8039 lt_cv_prog_compiler_rtti_exceptions=no
8040 ac_outfile=conftest.$ac_objext
8041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8042 lt_compiler_flag="-fno-rtti -fno-exceptions"
8043 # Insert the option either (1) after the last *FLAGS variable, or
8044 # (2) before a word containing "conftest.", or (3) at the end.
8045 # Note that $ac_compile itself does not contain backslashes and begins
8046 # with a dollar sign (not a hyphen), so the echo should work correctly.
8047 # The option is referenced via a variable to avoid confusing sed.
8048 lt_compile=`echo "$ac_compile" | $SED \
8049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8051 -e 's:$: $lt_compiler_flag:'`
8052 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8053 (eval "$lt_compile" 2>conftest.err)
8055 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 if (exit $ac_status) && test -s "$ac_outfile"; then
8058 # The compiler can only warn and ignore the option if not recognized
8059 # So say no if there are warnings other than the usual output.
8060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8061 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8062 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8063 lt_cv_prog_compiler_rtti_exceptions=yes
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8070 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8072 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8073 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8085 lt_prog_compiler_wl=
8086 lt_prog_compiler_pic=
8087 lt_prog_compiler_static=
8090 if test "$GCC" = yes; then
8091 lt_prog_compiler_wl='-Wl,'
8092 lt_prog_compiler_static='-static'
8096 # All AIX code is PIC.
8097 if test "$host_cpu" = ia64; then
8098 # AIX 5 now supports IA64 processor
8099 lt_prog_compiler_static='-Bstatic'
8106 # see comment about AmigaOS4 .so support
8107 lt_prog_compiler_pic='-fPIC'
8110 # FIXME: we need at least 68020 code to build shared libraries, but
8111 # adding the `-m68020' flag to GCC prevents building anything better,
8113 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8118 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8119 # PIC is the default for these OSes.
8122 mingw* | cygwin* | pw32* | os2* | cegcc*)
8123 # This hack is so that the source file can tell whether it is being
8124 # built for inclusion in a dll (and should export symbols for example).
8125 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8126 # (--disable-auto-import) libraries
8127 lt_prog_compiler_pic='-DDLL_EXPORT'
8130 darwin* | rhapsody*)
8131 # PIC is the default on this platform
8132 # Common symbols not allowed in MH_DYLIB files
8133 lt_prog_compiler_pic='-fno-common'
8137 # PIC is the default for Haiku.
8138 # The "-static" flag exists, but is broken.
8139 lt_prog_compiler_static=
8143 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8144 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8145 # sets the default TLS model and affects inlining.
8151 lt_prog_compiler_pic='-fPIC'
8157 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8158 # Instead, we relocate shared libraries at runtime.
8162 # Just because we use GCC doesn't mean we suddenly get shared libraries
8163 # on systems that don't support them.
8164 lt_prog_compiler_can_build_shared=no
8169 # QNX uses GNU C++, but need to define -shared option too, otherwise
8171 lt_prog_compiler_pic='-fPIC -shared'
8175 if test -d /usr/nec; then
8176 lt_prog_compiler_pic=-Kconform_pic
8181 lt_prog_compiler_pic='-fPIC'
8185 case $cc_basename in
8186 nvcc*) # Cuda Compiler Driver 2.2
8187 lt_prog_compiler_wl='-Xlinker '
8188 if test -n "$lt_prog_compiler_pic"; then
8189 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8194 # PORTME Check for flag to pass linker flags through the system compiler.
8197 lt_prog_compiler_wl='-Wl,'
8198 if test "$host_cpu" = ia64; then
8199 # AIX 5 now supports IA64 processor
8200 lt_prog_compiler_static='-Bstatic'
8202 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8206 mingw* | cygwin* | pw32* | os2* | cegcc*)
8207 # This hack is so that the source file can tell whether it is being
8208 # built for inclusion in a dll (and should export symbols for example).
8209 lt_prog_compiler_pic='-DDLL_EXPORT'
8212 hpux9* | hpux10* | hpux11*)
8213 lt_prog_compiler_wl='-Wl,'
8214 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8221 lt_prog_compiler_pic='+Z'
8224 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8225 lt_prog_compiler_static='${wl}-a ${wl}archive'
8228 irix5* | irix6* | nonstopux*)
8229 lt_prog_compiler_wl='-Wl,'
8230 # PIC (with -KPIC) is the default.
8231 lt_prog_compiler_static='-non_shared'
8234 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8235 case $cc_basename in
8236 # old Intel for x86_64 which still supported -KPIC.
8238 lt_prog_compiler_wl='-Wl,'
8239 lt_prog_compiler_pic='-KPIC'
8240 lt_prog_compiler_static='-static'
8242 # icc used to be incompatible with GCC.
8243 # ICC 10 doesn't accept -KPIC any more.
8245 lt_prog_compiler_wl='-Wl,'
8246 lt_prog_compiler_pic='-fPIC'
8247 lt_prog_compiler_static='-static'
8249 # Lahey Fortran 8.1.
8251 lt_prog_compiler_wl='-Wl,'
8252 lt_prog_compiler_pic='--shared'
8253 lt_prog_compiler_static='--static'
8256 # NAG Fortran compiler
8257 lt_prog_compiler_wl='-Wl,-Wl,,'
8258 lt_prog_compiler_pic='-PIC'
8259 lt_prog_compiler_static='-Bstatic'
8261 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8262 # Portland Group compilers (*not* the Pentium gcc compiler,
8263 # which looks to be a dead project)
8264 lt_prog_compiler_wl='-Wl,'
8265 lt_prog_compiler_pic='-fpic'
8266 lt_prog_compiler_static='-Bstatic'
8269 lt_prog_compiler_wl='-Wl,'
8270 # All Alpha code is PIC.
8271 lt_prog_compiler_static='-non_shared'
8273 xl* | bgxl* | bgf* | mpixl*)
8274 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8275 lt_prog_compiler_wl='-Wl,'
8276 lt_prog_compiler_pic='-qpic'
8277 lt_prog_compiler_static='-qstaticlink'
8280 case `$CC -V 2>&1 | sed 5q` in
8281 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8282 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8283 lt_prog_compiler_pic='-KPIC'
8284 lt_prog_compiler_static='-Bstatic'
8285 lt_prog_compiler_wl=''
8287 *Sun\ F* | *Sun*Fortran*)
8288 lt_prog_compiler_pic='-KPIC'
8289 lt_prog_compiler_static='-Bstatic'
8290 lt_prog_compiler_wl='-Qoption ld '
8294 lt_prog_compiler_pic='-KPIC'
8295 lt_prog_compiler_static='-Bstatic'
8296 lt_prog_compiler_wl='-Wl,'
8298 *Intel*\ [CF]*Compiler*)
8299 lt_prog_compiler_wl='-Wl,'
8300 lt_prog_compiler_pic='-fPIC'
8301 lt_prog_compiler_static='-static'
8304 lt_prog_compiler_wl='-Wl,'
8305 lt_prog_compiler_pic='-fpic'
8306 lt_prog_compiler_static='-Bstatic'
8314 lt_prog_compiler_pic='-KPIC'
8315 lt_prog_compiler_static='-Bstatic'
8319 # QNX uses GNU C++, but need to define -shared option too, otherwise
8321 lt_prog_compiler_pic='-fPIC -shared'
8324 osf3* | osf4* | osf5*)
8325 lt_prog_compiler_wl='-Wl,'
8326 # All OSF/1 code is PIC.
8327 lt_prog_compiler_static='-non_shared'
8331 lt_prog_compiler_static='-non_shared'
8335 lt_prog_compiler_pic='-KPIC'
8336 lt_prog_compiler_static='-Bstatic'
8337 case $cc_basename in
8338 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8339 lt_prog_compiler_wl='-Qoption ld ';;
8341 lt_prog_compiler_wl='-Wl,';;
8346 lt_prog_compiler_wl='-Qoption ld '
8347 lt_prog_compiler_pic='-PIC'
8348 lt_prog_compiler_static='-Bstatic'
8351 sysv4 | sysv4.2uw2* | sysv4.3*)
8352 lt_prog_compiler_wl='-Wl,'
8353 lt_prog_compiler_pic='-KPIC'
8354 lt_prog_compiler_static='-Bstatic'
8358 if test -d /usr/nec ;then
8359 lt_prog_compiler_pic='-Kconform_pic'
8360 lt_prog_compiler_static='-Bstatic'
8364 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8365 lt_prog_compiler_wl='-Wl,'
8366 lt_prog_compiler_pic='-KPIC'
8367 lt_prog_compiler_static='-Bstatic'
8371 lt_prog_compiler_wl='-Wl,'
8372 lt_prog_compiler_can_build_shared=no
8376 lt_prog_compiler_pic='-pic'
8377 lt_prog_compiler_static='-Bstatic'
8381 lt_prog_compiler_can_build_shared=no
8387 # For platforms which do not support PIC, -DPIC is meaningless:
8389 lt_prog_compiler_pic=
8392 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8397 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8398 if ${lt_cv_prog_compiler_pic+:} false; then :
8399 $as_echo_n "(cached) " >&6
8401 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8404 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8405 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8408 # Check to make sure the PIC flag actually works.
8410 if test -n "$lt_prog_compiler_pic"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8412 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8413 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8414 $as_echo_n "(cached) " >&6
8416 lt_cv_prog_compiler_pic_works=no
8417 ac_outfile=conftest.$ac_objext
8418 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8419 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8420 # Insert the option either (1) after the last *FLAGS variable, or
8421 # (2) before a word containing "conftest.", or (3) at the end.
8422 # Note that $ac_compile itself does not contain backslashes and begins
8423 # with a dollar sign (not a hyphen), so the echo should work correctly.
8424 # The option is referenced via a variable to avoid confusing sed.
8425 lt_compile=`echo "$ac_compile" | $SED \
8426 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8428 -e 's:$: $lt_compiler_flag:'`
8429 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8430 (eval "$lt_compile" 2>conftest.err)
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 if (exit $ac_status) && test -s "$ac_outfile"; then
8435 # The compiler can only warn and ignore the option if not recognized
8436 # So say no if there are warnings other than the usual output.
8437 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8438 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8439 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8440 lt_cv_prog_compiler_pic_works=yes
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8447 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8449 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8450 case $lt_prog_compiler_pic in
8452 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8455 lt_prog_compiler_pic=
8456 lt_prog_compiler_can_build_shared=no
8472 # Check to make sure the static flag actually works.
8474 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8476 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8477 if ${lt_cv_prog_compiler_static_works+:} false; then :
8478 $as_echo_n "(cached) " >&6
8480 lt_cv_prog_compiler_static_works=no
8481 save_LDFLAGS="$LDFLAGS"
8482 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8483 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8484 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8485 # The linker can only warn and ignore the option if not recognized
8486 # So say no if there are warnings
8487 if test -s conftest.err; then
8488 # Append any errors to the config.log.
8489 cat conftest.err 1>&5
8490 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8491 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8492 if diff conftest.exp conftest.er2 >/dev/null; then
8493 lt_cv_prog_compiler_static_works=yes
8496 lt_cv_prog_compiler_static_works=yes
8500 LDFLAGS="$save_LDFLAGS"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8504 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8506 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8509 lt_prog_compiler_static=
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8519 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8520 if ${lt_cv_prog_compiler_c_o+:} false; then :
8521 $as_echo_n "(cached) " >&6
8523 lt_cv_prog_compiler_c_o=no
8524 $RM -r conftest 2>/dev/null
8528 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8530 lt_compiler_flag="-o out/conftest2.$ac_objext"
8531 # Insert the option either (1) after the last *FLAGS variable, or
8532 # (2) before a word containing "conftest.", or (3) at the end.
8533 # Note that $ac_compile itself does not contain backslashes and begins
8534 # with a dollar sign (not a hyphen), so the echo should work correctly.
8535 lt_compile=`echo "$ac_compile" | $SED \
8536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8538 -e 's:$: $lt_compiler_flag:'`
8539 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8540 (eval "$lt_compile" 2>out/conftest.err)
8542 cat out/conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8546 # The compiler can only warn and ignore the option if not recognized
8547 # So say no if there are warnings
8548 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8549 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8550 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8551 lt_cv_prog_compiler_c_o=yes
8556 # SGI C++ compiler will create directory out/ii_files/ for
8557 # template instantiation
8558 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8559 $RM out/* && rmdir out
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8566 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8574 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8575 if ${lt_cv_prog_compiler_c_o+:} false; then :
8576 $as_echo_n "(cached) " >&6
8578 lt_cv_prog_compiler_c_o=no
8579 $RM -r conftest 2>/dev/null
8583 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8585 lt_compiler_flag="-o out/conftest2.$ac_objext"
8586 # Insert the option either (1) after the last *FLAGS variable, or
8587 # (2) before a word containing "conftest.", or (3) at the end.
8588 # Note that $ac_compile itself does not contain backslashes and begins
8589 # with a dollar sign (not a hyphen), so the echo should work correctly.
8590 lt_compile=`echo "$ac_compile" | $SED \
8591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8592 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8593 -e 's:$: $lt_compiler_flag:'`
8594 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8595 (eval "$lt_compile" 2>out/conftest.err)
8597 cat out/conftest.err >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8601 # The compiler can only warn and ignore the option if not recognized
8602 # So say no if there are warnings
8603 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8604 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8605 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8606 lt_cv_prog_compiler_c_o=yes
8611 # SGI C++ compiler will create directory out/ii_files/ for
8612 # template instantiation
8613 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8614 $RM out/* && rmdir out
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8621 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8626 hard_links="nottested"
8627 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8628 # do not overwrite the value of need_locks provided by the user
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8630 $as_echo_n "checking if we can lock with hard links... " >&6; }
8633 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8635 ln conftest.a conftest.b 2>&5 || hard_links=no
8636 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8638 $as_echo "$hard_links" >&6; }
8639 if test "$hard_links" = no; then
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8641 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8654 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8657 allow_undefined_flag=
8658 always_export_symbols=no
8660 archive_expsym_cmds=
8661 compiler_needs_object=no
8662 enable_shared_with_static_runtimes=no
8663 export_dynamic_flag_spec=
8664 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8665 hardcode_automatic=no
8667 hardcode_direct_absolute=no
8668 hardcode_libdir_flag_spec=
8669 hardcode_libdir_separator=
8671 hardcode_shlibpath_var=unsupported
8673 link_all_deplibs=unknown
8676 old_archive_from_new_cmds=
8677 old_archive_from_expsyms_cmds=
8678 thread_safe_flag_spec=
8679 whole_archive_flag_spec=
8680 # include_expsyms should be a list of space-separated symbols to be *always*
8681 # included in the symbol list
8683 # exclude_expsyms can be an extended regexp of symbols to exclude
8684 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8685 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8686 # as well as any symbol that contains `d'.
8687 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8688 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8689 # platforms (ab)use it in PIC code, but their linkers get confused if
8690 # the symbol is explicitly referenced. Since portable code cannot
8691 # rely on this symbol name, it's probably fine to never include it in
8692 # preloaded symbol tables.
8693 # Exclude shared library initialization/finalization symbols.
8694 extract_expsyms_cmds=
8697 cygwin* | mingw* | pw32* | cegcc*)
8698 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8699 # When not using gcc, we currently assume that we are using
8700 # Microsoft Visual C++.
8701 if test "$GCC" != yes; then
8706 # we just hope/assume this is gcc and not c89 (= MSVC++)
8712 linux* | k*bsd*-gnu | gnu*)
8719 # On some targets, GNU ld is compatible enough with the native linker
8720 # that we're better off using the native interface for both.
8721 lt_use_gnu_ld_interface=no
8722 if test "$with_gnu_ld" = yes; then
8725 # The AIX port of GNU ld has always aspired to compatibility
8726 # with the native linker. However, as the warning in the GNU ld
8727 # block says, versions before 2.19.5* couldn't really create working
8728 # shared libraries, regardless of the interface used.
8729 case `$LD -v 2>&1` in
8730 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8731 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8732 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8734 lt_use_gnu_ld_interface=yes
8739 lt_use_gnu_ld_interface=yes
8744 if test "$lt_use_gnu_ld_interface" = yes; then
8745 # If archive_cmds runs LD, not CC, wlarc should be empty
8748 # Set some defaults for GNU ld with shared library support. These
8749 # are reset later if shared libraries are not supported. Putting them
8750 # here allows them to be overridden if necessary.
8751 runpath_var=LD_RUN_PATH
8752 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8753 export_dynamic_flag_spec='${wl}--export-dynamic'
8754 # ancient GNU ld didn't support --whole-archive et. al.
8755 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8756 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8758 whole_archive_flag_spec=
8760 supports_anon_versioning=no
8761 case `$LD -v 2>&1` in
8762 *GNU\ gold*) supports_anon_versioning=yes ;;
8763 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8764 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8765 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8766 *\ 2.11.*) ;; # other 2.11 versions
8767 *) supports_anon_versioning=yes ;;
8770 # See if GNU ld supports shared libraries.
8773 # On AIX/PPC, the GNU linker is very broken
8774 if test "$host_cpu" != ia64; then
8778 *** Warning: the GNU linker, at least up to release 2.19, is reported
8779 *** to be unable to reliably create shared libraries on AIX.
8780 *** Therefore, libtool is disabling shared libraries support. If you
8781 *** really care for shared libraries, you may want to install binutils
8782 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8783 *** You will then need to restart the configuration process.
8792 # see comment about AmigaOS4 .so support
8793 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8794 archive_expsym_cmds=''
8797 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)'
8798 hardcode_libdir_flag_spec='-L$libdir'
8799 hardcode_minus_L=yes
8805 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8806 allow_undefined_flag=unsupported
8807 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8808 # support --undefined. This deserves some investigation. FIXME
8809 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8815 cygwin* | mingw* | pw32* | cegcc*)
8816 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8817 # as there is no search path for DLLs.
8818 hardcode_libdir_flag_spec='-L$libdir'
8819 export_dynamic_flag_spec='${wl}--export-all-symbols'
8820 allow_undefined_flag=unsupported
8821 always_export_symbols=no
8822 enable_shared_with_static_runtimes=yes
8823 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'
8824 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8826 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8827 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8828 # If the export-symbols file already is a .def file (1st line
8829 # is EXPORTS), use it as is; otherwise, prepend...
8830 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8831 cp $export_symbols $output_objdir/$soname.def;
8833 echo EXPORTS > $output_objdir/$soname.def;
8834 cat $export_symbols >> $output_objdir/$soname.def;
8836 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8843 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844 link_all_deplibs=yes
8849 hardcode_shlibpath_var=no
8850 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8851 export_dynamic_flag_spec='${wl}-E'
8852 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8853 # Instead, shared libraries are loaded at an image base (0x10000000 by
8854 # default) and relocated if they conflict, which is a slow very memory
8855 # consuming and fragmenting process. To avoid this, we pick a random,
8856 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8857 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8858 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8859 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'
8862 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8864 if test "$host_os" = linux-dietlibc; then
8865 case $cc_basename in
8866 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8869 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8870 && test "$tmp_diet" = no
8872 tmp_addflag=' $pic_flag'
8873 tmp_sharedflag='-shared'
8874 case $cc_basename,$host_cpu in
8875 pgcc*) # Portland Group C compiler
8876 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'
8877 tmp_addflag=' $pic_flag'
8879 pgf77* | pgf90* | pgf95* | pgfortran*)
8880 # Portland Group f77 and f90 compilers
8881 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'
8882 tmp_addflag=' $pic_flag -Mnomain' ;;
8883 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8884 tmp_addflag=' -i_dynamic' ;;
8885 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8886 tmp_addflag=' -i_dynamic -nofor_main' ;;
8887 ifc* | ifort*) # Intel Fortran compiler
8888 tmp_addflag=' -nofor_main' ;;
8889 lf95*) # Lahey Fortran 8.1
8890 whole_archive_flag_spec=
8891 tmp_sharedflag='--shared' ;;
8892 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8893 tmp_sharedflag='-qmkshrobj'
8895 nvcc*) # Cuda Compiler Driver 2.2
8896 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'
8897 compiler_needs_object=yes
8900 case `$CC -V 2>&1 | sed 5q` in
8901 *Sun\ C*) # Sun C 5.9
8902 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'
8903 compiler_needs_object=yes
8904 tmp_sharedflag='-G' ;;
8905 *Sun\ F*) # Sun Fortran 8.3
8906 tmp_sharedflag='-G' ;;
8908 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8910 if test "x$supports_anon_versioning" = xyes; then
8911 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8912 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8913 echo "local: *; };" >> $output_objdir/$libname.ver~
8914 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8917 case $cc_basename in
8918 xlf* | bgf* | bgxlf* | mpixlf*)
8919 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8920 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8921 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8922 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8923 if test "x$supports_anon_versioning" = xyes; then
8924 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8926 echo "local: *; };" >> $output_objdir/$libname.ver~
8927 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8936 netbsd* | netbsdelf*-gnu)
8937 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8938 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8941 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8947 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8951 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8952 *** create shared libraries on Solaris systems. Therefore, libtool
8953 *** is disabling shared libraries support. We urge you to upgrade GNU
8954 *** binutils to release 2.9.1 or newer. Another option is to modify
8955 *** your PATH or compiler configuration so that the native linker is
8956 *** used, and then restart.
8959 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8960 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8961 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8968 case `$LD -v 2>&1` in
8969 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8973 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8974 *** reliably create shared libraries on SCO systems. Therefore, libtool
8975 *** is disabling shared libraries support. We urge you to upgrade GNU
8976 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8977 *** your PATH or compiler configuration so that the native linker is
8978 *** used, and then restart.
8983 # For security reasons, it is highly recommended that you always
8984 # use absolute paths for naming shared libraries, and exclude the
8985 # DT_RUNPATH tag from executables and libraries. But doing so
8986 # requires that you compile everything twice, which is a pain.
8987 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8999 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9002 hardcode_shlibpath_var=no
9006 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9007 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9015 if test "$ld_shlibs" = no; then
9017 hardcode_libdir_flag_spec=
9018 export_dynamic_flag_spec=
9019 whole_archive_flag_spec=
9022 # PORTME fill in a description of your system's linker (not GNU ld)
9025 allow_undefined_flag=unsupported
9026 always_export_symbols=yes
9027 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'
9028 # Note: this linker hardcodes the directories in LIBPATH if there
9029 # are no directories specified by -L.
9030 hardcode_minus_L=yes
9031 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9032 # Neither direct hardcoding nor static linking is supported with a
9034 hardcode_direct=unsupported
9039 if test "$host_cpu" = ia64; then
9040 # On IA64, the linker does run time linking by default, so we don't
9041 # have to do anything special.
9042 aix_use_runtimelinking=no
9043 exp_sym_flag='-Bexport'
9046 # If we're using GNU nm, then we don't want the "-C" option.
9047 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9048 # Also, AIX nm treats weak defined symbols like other global
9049 # defined symbols, whereas GNU nm marks them as "W".
9050 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9051 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'
9053 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'
9055 aix_use_runtimelinking=no
9057 # Test if we are trying to use run time linking or normal
9058 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9059 # need to do runtime linking.
9060 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9061 for ld_flag in $LDFLAGS; do
9062 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9063 aix_use_runtimelinking=yes
9070 exp_sym_flag='-bexport'
9071 no_entry_flag='-bnoentry'
9074 # When large executables or shared objects are built, AIX ld can
9075 # have problems creating the table of contents. If linking a library
9076 # or program results in "error TOC overflow" add -mminimal-toc to
9077 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9078 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9082 hardcode_direct_absolute=yes
9083 hardcode_libdir_separator=':'
9084 link_all_deplibs=yes
9085 file_list_spec='${wl}-f,'
9087 if test "$GCC" = yes; then
9088 case $host_os in aix4.[012]|aix4.[012].*)
9089 # We only want to do this on AIX 4.2 and lower, the check
9090 # below for broken collect2 doesn't work under 4.3+
9091 collect2name=`${CC} -print-prog-name=collect2`
9092 if test -f "$collect2name" &&
9093 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9095 # We have reworked collect2
9098 # We have old collect2
9099 hardcode_direct=unsupported
9100 # It fails to find uninstalled libraries when the uninstalled
9101 # path is not listed in the libpath. Setting hardcode_minus_L
9102 # to unsupported forces relinking
9103 hardcode_minus_L=yes
9104 hardcode_libdir_flag_spec='-L$libdir'
9105 hardcode_libdir_separator=
9109 shared_flag='-shared'
9110 if test "$aix_use_runtimelinking" = yes; then
9111 shared_flag="$shared_flag "'${wl}-G'
9116 if test "$host_cpu" = ia64; then
9117 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9118 # chokes on -Wl,-G. The following line is correct:
9121 if test "$aix_use_runtimelinking" = yes; then
9122 shared_flag='${wl}-G'
9124 shared_flag='${wl}-bM:SRE'
9129 export_dynamic_flag_spec='${wl}-bexpall'
9130 # It seems that -bexpall does not export symbols beginning with
9131 # underscore (_), so it is better to generate a list of symbols to export.
9132 always_export_symbols=yes
9133 if test "$aix_use_runtimelinking" = yes; then
9134 # Warning - without using the other runtime loading flags (-brtl),
9135 # -berok will link without error, but may produce a broken library.
9136 allow_undefined_flag='-berok'
9137 # Determine the default libpath from the value encoded in an
9139 if test "${lt_cv_aix_libpath+set}" = set; then
9140 aix_libpath=$lt_cv_aix_libpath
9142 if ${lt_cv_aix_libpath_+:} false; then :
9143 $as_echo_n "(cached) " >&6
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9156 if ac_fn_c_try_link "$LINENO"; then :
9158 lt_aix_libpath_sed='
9159 /Import File Strings/,/^$/ {
9161 s/^0 *\([^ ]*\) *$/\1/
9165 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9166 # Check for a 64-bit object if we didn't find anything.
9167 if test -z "$lt_cv_aix_libpath_"; then
9168 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 if test -z "$lt_cv_aix_libpath_"; then
9174 lt_cv_aix_libpath_="/usr/lib:/lib"
9179 aix_libpath=$lt_cv_aix_libpath_
9182 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9183 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"
9185 if test "$host_cpu" = ia64; then
9186 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9187 allow_undefined_flag="-z nodefs"
9188 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"
9190 # Determine the default libpath from the value encoded in an
9192 if test "${lt_cv_aix_libpath+set}" = set; then
9193 aix_libpath=$lt_cv_aix_libpath
9195 if ${lt_cv_aix_libpath_+:} false; then :
9196 $as_echo_n "(cached) " >&6
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9209 if ac_fn_c_try_link "$LINENO"; then :
9211 lt_aix_libpath_sed='
9212 /Import File Strings/,/^$/ {
9214 s/^0 *\([^ ]*\) *$/\1/
9218 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9219 # Check for a 64-bit object if we didn't find anything.
9220 if test -z "$lt_cv_aix_libpath_"; then
9221 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 if test -z "$lt_cv_aix_libpath_"; then
9227 lt_cv_aix_libpath_="/usr/lib:/lib"
9232 aix_libpath=$lt_cv_aix_libpath_
9235 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9236 # Warning - without using the other run time loading flags,
9237 # -berok will link without error, but may produce a broken library.
9238 no_undefined_flag=' ${wl}-bernotok'
9239 allow_undefined_flag=' ${wl}-berok'
9240 if test "$with_gnu_ld" = yes; then
9241 # We only use this code for GNU lds that support --whole-archive.
9242 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9244 # Exported symbols can be pulled into shared objects from archives
9245 whole_archive_flag_spec='$convenience'
9247 archive_cmds_need_lc=yes
9248 # This is similar to how AIX traditionally builds its shared libraries.
9249 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'
9257 # see comment about AmigaOS4 .so support
9258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9259 archive_expsym_cmds=''
9262 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)'
9263 hardcode_libdir_flag_spec='-L$libdir'
9264 hardcode_minus_L=yes
9270 export_dynamic_flag_spec=-rdynamic
9273 cygwin* | mingw* | pw32* | cegcc*)
9274 # When not using gcc, we currently assume that we are using
9275 # Microsoft Visual C++.
9276 # hardcode_libdir_flag_spec is actually meaningless, as there is
9277 # no search path for DLLs.
9278 case $cc_basename in
9281 hardcode_libdir_flag_spec=' '
9282 allow_undefined_flag=unsupported
9283 always_export_symbols=yes
9285 # Tell ltmain to make .lib files, not .a files.
9287 # Tell ltmain to make .dll files, not .so files.
9289 # FIXME: Setting linknames here is a bad hack.
9290 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9291 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9292 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9294 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9296 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9298 # The linker will not automatically build a static lib if we build a DLL.
9299 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9300 enable_shared_with_static_runtimes=yes
9301 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9302 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9304 old_postinstall_cmds='chmod 644 $oldlib'
9305 postlink_cmds='lt_outputfile="@OUTPUT@"~
9306 lt_tool_outputfile="@TOOL_OUTPUT@"~
9307 case $lt_outputfile in
9310 lt_outputfile="$lt_outputfile.exe"
9311 lt_tool_outputfile="$lt_tool_outputfile.exe"
9314 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9315 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9316 $RM "$lt_outputfile.manifest";
9320 # Assume MSVC wrapper
9321 hardcode_libdir_flag_spec=' '
9322 allow_undefined_flag=unsupported
9323 # Tell ltmain to make .lib files, not .a files.
9325 # Tell ltmain to make .dll files, not .so files.
9327 # FIXME: Setting linknames here is a bad hack.
9328 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9329 # The linker will automatically build a .lib file if we build a DLL.
9330 old_archive_from_new_cmds='true'
9331 # FIXME: Should let the user specify the lib program.
9332 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9333 enable_shared_with_static_runtimes=yes
9338 darwin* | rhapsody*)
9341 archive_cmds_need_lc=no
9343 hardcode_automatic=yes
9344 hardcode_shlibpath_var=unsupported
9345 if test "$lt_cv_ld_force_load" = "yes"; then
9346 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\"`'
9349 whole_archive_flag_spec=''
9351 link_all_deplibs=yes
9352 allow_undefined_flag="$_lt_dar_allow_undefined"
9353 case $cc_basename in
9354 ifort*) _lt_dar_can_shared=yes ;;
9355 *) _lt_dar_can_shared=$GCC ;;
9357 if test "$_lt_dar_can_shared" = "yes"; then
9358 output_verbose_link_cmd=func_echo_all
9359 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9360 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9361 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}"
9362 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}"
9371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9372 hardcode_libdir_flag_spec='-L$libdir'
9373 hardcode_shlibpath_var=no
9376 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9377 # support. Future versions do this automatically, but an explicit c++rt0.o
9378 # does not break anything, and helps significantly (at the cost of a little
9381 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9382 hardcode_libdir_flag_spec='-R$libdir'
9384 hardcode_shlibpath_var=no
9387 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9391 hardcode_minus_L=yes
9392 hardcode_shlibpath_var=no
9395 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9396 freebsd* | dragonfly*)
9397 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9398 hardcode_libdir_flag_spec='-R$libdir'
9400 hardcode_shlibpath_var=no
9404 if test "$GCC" = yes; then
9405 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'
9407 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'
9409 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9410 hardcode_libdir_separator=:
9413 # hardcode_minus_L: Not really in the search PATH,
9414 # but as the default location of the library.
9415 hardcode_minus_L=yes
9416 export_dynamic_flag_spec='${wl}-E'
9420 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9421 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9423 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9425 if test "$with_gnu_ld" = no; then
9426 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9427 hardcode_libdir_separator=:
9429 hardcode_direct_absolute=yes
9430 export_dynamic_flag_spec='${wl}-E'
9431 # hardcode_minus_L: Not really in the search PATH,
9432 # but as the default location of the library.
9433 hardcode_minus_L=yes
9438 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9441 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9444 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9453 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9456 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9460 # Older versions of the 11.00 compiler do not understand -b yet
9461 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9463 $as_echo_n "checking if $CC understands -b... " >&6; }
9464 if ${lt_cv_prog_compiler__b+:} false; then :
9465 $as_echo_n "(cached) " >&6
9467 lt_cv_prog_compiler__b=no
9468 save_LDFLAGS="$LDFLAGS"
9469 LDFLAGS="$LDFLAGS -b"
9470 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9471 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9472 # The linker can only warn and ignore the option if not recognized
9473 # So say no if there are warnings
9474 if test -s conftest.err; then
9475 # Append any errors to the config.log.
9476 cat conftest.err 1>&5
9477 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9478 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9479 if diff conftest.exp conftest.er2 >/dev/null; then
9480 lt_cv_prog_compiler__b=yes
9483 lt_cv_prog_compiler__b=yes
9487 LDFLAGS="$save_LDFLAGS"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9491 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9493 if test x"$lt_cv_prog_compiler__b" = xyes; then
9494 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9502 if test "$with_gnu_ld" = no; then
9503 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9504 hardcode_libdir_separator=:
9509 hardcode_shlibpath_var=no
9513 hardcode_direct_absolute=yes
9514 export_dynamic_flag_spec='${wl}-E'
9516 # hardcode_minus_L: Not really in the search PATH,
9517 # but as the default location of the library.
9518 hardcode_minus_L=yes
9524 irix5* | irix6* | nonstopux*)
9525 if test "$GCC" = yes; then
9526 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'
9527 # Try to use the -exported_symbol ld option, if it does not
9528 # work, assume that -exports_file does not work either and
9529 # implicitly export all symbols.
9530 # This should be the same for all languages, so no per-tag cache variable.
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9532 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9533 if ${lt_cv_irix_exported_symbol+:} false; then :
9534 $as_echo_n "(cached) " >&6
9536 save_LDFLAGS="$LDFLAGS"
9537 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int foo (void) { return 0; }
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 lt_cv_irix_exported_symbol=yes
9545 lt_cv_irix_exported_symbol=no
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LDFLAGS="$save_LDFLAGS"
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9552 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9553 if test "$lt_cv_irix_exported_symbol" = yes; then
9554 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'
9557 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'
9558 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'
9560 archive_cmds_need_lc='no'
9561 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9562 hardcode_libdir_separator=:
9564 link_all_deplibs=yes
9567 netbsd* | netbsdelf*-gnu)
9568 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9571 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9573 hardcode_libdir_flag_spec='-R$libdir'
9575 hardcode_shlibpath_var=no
9579 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9581 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9582 hardcode_libdir_separator=:
9583 hardcode_shlibpath_var=no
9590 if test -f /usr/libexec/ld.so; then
9592 hardcode_shlibpath_var=no
9593 hardcode_direct_absolute=yes
9594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9595 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9598 export_dynamic_flag_spec='${wl}-E'
9601 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9602 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_libdir_flag_spec='-R$libdir'
9606 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9607 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9617 hardcode_libdir_flag_spec='-L$libdir'
9618 hardcode_minus_L=yes
9619 allow_undefined_flag=unsupported
9620 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'
9621 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9625 if test "$GCC" = yes; then
9626 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9627 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'
9629 allow_undefined_flag=' -expect_unresolved \*'
9630 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'
9632 archive_cmds_need_lc='no'
9633 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9634 hardcode_libdir_separator=:
9637 osf4* | osf5*) # as osf3* with the addition of -msym flag
9638 if test "$GCC" = yes; then
9639 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9640 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'
9641 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9643 allow_undefined_flag=' -expect_unresolved \*'
9644 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'
9645 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~
9646 $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'
9648 # Both c and cxx compiler support -rpath directly
9649 hardcode_libdir_flag_spec='-rpath $libdir'
9651 archive_cmds_need_lc='no'
9652 hardcode_libdir_separator=:
9656 no_undefined_flag=' -z defs'
9657 if test "$GCC" = yes; then
9659 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9661 $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'
9663 case `$CC -V 2>&1` in
9666 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9667 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9668 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9672 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9674 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9678 hardcode_libdir_flag_spec='-R$libdir'
9679 hardcode_shlibpath_var=no
9681 solaris2.[0-5] | solaris2.[0-5].*) ;;
9683 # The compiler driver will combine and reorder linker options,
9684 # but understands `-z linker_flag'. GCC discards it without `$wl',
9685 # but is careful enough not to reorder.
9686 # Supported since Solaris 2.6 (maybe 2.5.1?)
9687 if test "$GCC" = yes; then
9688 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9690 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9694 link_all_deplibs=yes
9698 if test "x$host_vendor" = xsequent; then
9699 # Use $CC to link under sequent, because it throws in some extra .o
9700 # files that make .init and .fini sections work.
9701 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9703 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec='-L$libdir'
9707 hardcode_minus_L=yes
9708 hardcode_shlibpath_var=no
9712 case $host_vendor in
9714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9715 hardcode_direct=yes # is this really true???
9718 ## LD is ld it makes a PLAMLIB
9719 ## CC just makes a GrossModule.
9720 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9721 reload_cmds='$CC -r -o $output$reload_objs'
9725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9729 runpath_var='LD_RUN_PATH'
9730 hardcode_shlibpath_var=no
9734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9735 hardcode_shlibpath_var=no
9736 export_dynamic_flag_spec='-Bexport'
9740 if test -d /usr/nec; then
9741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9742 hardcode_shlibpath_var=no
9743 runpath_var=LD_RUN_PATH
9744 hardcode_runpath_var=yes
9749 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9750 no_undefined_flag='${wl}-z,text'
9751 archive_cmds_need_lc=no
9752 hardcode_shlibpath_var=no
9753 runpath_var='LD_RUN_PATH'
9755 if test "$GCC" = yes; then
9756 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9757 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9764 sysv5* | sco3.2v5* | sco5v6*)
9765 # Note: We can NOT use -z defs as we might desire, because we do not
9766 # link with -lc, and that would cause any symbols used from libc to
9767 # always be unresolved, which means just about no library would
9768 # ever link correctly. If we're not using GNU ld we use -z text
9769 # though, which does catch some bad symbols but isn't as heavy-handed
9771 no_undefined_flag='${wl}-z,text'
9772 allow_undefined_flag='${wl}-z,nodefs'
9773 archive_cmds_need_lc=no
9774 hardcode_shlibpath_var=no
9775 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9776 hardcode_libdir_separator=':'
9777 link_all_deplibs=yes
9778 export_dynamic_flag_spec='${wl}-Bexport'
9779 runpath_var='LD_RUN_PATH'
9781 if test "$GCC" = yes; then
9782 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_shlibpath_var=no
9801 if test x$host_vendor = xsni; then
9803 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9804 export_dynamic_flag_spec='${wl}-Blargedynsym'
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9811 $as_echo "$ld_shlibs" >&6; }
9812 test "$ld_shlibs" = no && can_build_shared=no
9814 with_gnu_ld=$with_gnu_ld
9831 # Do we need to explicitly link libc?
9833 case "x$archive_cmds_need_lc" in
9835 # Assume -lc should be added
9836 archive_cmds_need_lc=yes
9838 if test "$enable_shared" = yes && test "$GCC" = yes; then
9839 case $archive_cmds in
9841 # FIXME: we may have to deal with multi-command sequences.
9844 # Test whether the compiler implicitly links with -lc since on some
9845 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9846 # to ld, don't add -lc before -lgcc.
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9848 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9849 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9850 $as_echo_n "(cached) " >&6
9853 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9856 (eval $ac_compile) 2>&5
9858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9859 test $ac_status = 0; } 2>conftest.err; then
9862 libobjs=conftest.$ac_objext
9864 wl=$lt_prog_compiler_wl
9865 pic_flag=$lt_prog_compiler_pic
9871 lt_save_allow_undefined_flag=$allow_undefined_flag
9872 allow_undefined_flag=
9873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9874 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9877 test $ac_status = 0; }
9879 lt_cv_archive_cmds_need_lc=no
9881 lt_cv_archive_cmds_need_lc=yes
9883 allow_undefined_flag=$lt_save_allow_undefined_flag
9885 cat conftest.err 1>&5
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9891 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9892 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10051 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10053 if test "$GCC" = yes; then
10055 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10056 *) lt_awk_arg="/^libraries:/" ;;
10059 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10060 *) lt_sed_strip_eq="s,=/,/,g" ;;
10062 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10063 case $lt_search_path_spec in
10065 # if the path contains ";" then we assume it to be the separator
10066 # otherwise default to the standard path separator (i.e. ":") - it is
10067 # assumed that no part of a normal pathname contains ";" but that should
10068 # okay in the real world where ";" in dirpaths is itself problematic.
10069 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10072 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10075 # Ok, now we have the path, separated by spaces, we can step through it
10076 # and add multilib dir if necessary.
10077 lt_tmp_lt_search_path_spec=
10078 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10079 for lt_sys_path in $lt_search_path_spec; do
10080 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10081 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10083 test -d "$lt_sys_path" && \
10084 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10087 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10088 BEGIN {RS=" "; FS="/|\n";} {
10091 for (lt_i = NF; lt_i > 0; lt_i--) {
10092 if ($lt_i != "" && $lt_i != ".") {
10093 if ($lt_i == "..") {
10096 if (lt_count == 0) {
10097 lt_foo="/" $lt_i lt_foo;
10104 if (lt_foo != "") { lt_freq[lt_foo]++; }
10105 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10107 # AWK program above erroneously prepends '/' to C:/dos/paths
10110 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10111 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10113 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10115 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10117 library_names_spec=
10118 libname_spec='lib$name'
10122 postuninstall_cmds=
10126 shlibpath_overrides_runpath=unknown
10128 dynamic_linker="$host_os ld.so"
10129 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10130 need_lib_prefix=unknown
10131 hardcode_into_libs=no
10133 # when you set need_version to no, make sure it does not cause -set_version
10134 # flags to be left without arguments
10135 need_version=unknown
10139 version_type=linux # correct to gnu/linux during the next big refactor
10140 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10141 shlibpath_var=LIBPATH
10143 # AIX 3 has no versioning support, so we append a major version to the name.
10144 soname_spec='${libname}${release}${shared_ext}$major'
10148 version_type=linux # correct to gnu/linux during the next big refactor
10151 hardcode_into_libs=yes
10152 if test "$host_cpu" = ia64; then
10153 # AIX 5 supports IA64
10154 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10155 shlibpath_var=LD_LIBRARY_PATH
10157 # With GCC up to 2.95.x, collect2 would create an import file
10158 # for dependence libraries. The import file would start with
10159 # the line `#! .'. This would cause the generated library to
10160 # depend on `.', always an invalid library. This was fixed in
10161 # development snapshots of GCC prior to 3.0.
10163 aix4 | aix4.[01] | aix4.[01].*)
10164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10166 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10169 can_build_shared=no
10173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10174 # soname into executable. Probably we can add versioning support to
10175 # collect2, so additional links can be useful in future.
10176 if test "$aix_use_runtimelinking" = yes; then
10177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10178 # instead of lib<name>.a to let people know that these are not
10179 # typical AIX shared libraries.
10180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10182 # We preserve .a as extension for shared libraries through AIX4.2
10183 # and later when we are not doing run time linking.
10184 library_names_spec='${libname}${release}.a $libname.a'
10185 soname_spec='${libname}${release}${shared_ext}$major'
10187 shlibpath_var=LIBPATH
10194 # Since July 2007 AmigaOS4 officially supports .so libraries.
10195 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10199 library_names_spec='$libname.ixlibrary $libname.a'
10200 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10201 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'
10207 library_names_spec='${libname}${shared_ext}'
10208 dynamic_linker="$host_os ld.so"
10209 shlibpath_var=LIBRARY_PATH
10213 version_type=linux # correct to gnu/linux during the next big refactor
10215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10216 soname_spec='${libname}${release}${shared_ext}$major'
10217 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10218 shlibpath_var=LD_LIBRARY_PATH
10219 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10220 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10221 # the default ld.so.conf also contains /usr/contrib/lib and
10222 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10223 # libtool to hard-code these into programs
10226 cygwin* | mingw* | pw32* | cegcc*)
10227 version_type=windows
10232 case $GCC,$cc_basename in
10235 library_names_spec='$libname.dll.a'
10236 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10237 postinstall_cmds='base_file=`basename \${file}`~
10238 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10239 dldir=$destdir/`dirname \$dlpath`~
10240 test -d \$dldir || mkdir -p \$dldir~
10241 $install_prog $dir/$dlname \$dldir/$dlname~
10242 chmod a+x \$dldir/$dlname~
10243 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10244 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10246 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10247 dlpath=$dir/\$dldll~
10249 shlibpath_overrides_runpath=yes
10253 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10254 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10256 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10259 # MinGW DLLs use traditional 'lib' prefix
10260 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10263 # pw32 DLLs use 'pw' prefix rather than 'lib'
10264 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10267 dynamic_linker='Win32 ld.exe'
10272 libname_spec='$name'
10273 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10274 library_names_spec='${libname}.dll.lib'
10278 sys_lib_search_path_spec=
10281 for lt_path in $LIB
10284 # Let DOS variable expansion print the short 8.3 style file name.
10285 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10286 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10289 # Convert to MSYS style.
10290 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10293 # Convert to unix form, then to dos form, then back to unix form
10294 # but this time dos style (no spaces!) so that the unix form looks
10295 # like /cygdrive/c/PROGRA~1:/cygdr...
10296 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10297 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10298 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10301 sys_lib_search_path_spec="$LIB"
10302 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10303 # It is most probably a Windows format PATH.
10304 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10306 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10308 # FIXME: find the short name or the path components, as spaces are
10309 # common. (e.g. "Program Files" -> "PROGRA~1")
10313 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10314 postinstall_cmds='base_file=`basename \${file}`~
10315 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10316 dldir=$destdir/`dirname \$dlpath`~
10317 test -d \$dldir || mkdir -p \$dldir~
10318 $install_prog $dir/$dlname \$dldir/$dlname'
10319 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10320 dlpath=$dir/\$dldll~
10322 shlibpath_overrides_runpath=yes
10323 dynamic_linker='Win32 link.exe'
10327 # Assume MSVC wrapper
10328 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10329 dynamic_linker='Win32 ld.exe'
10332 # FIXME: first we should search . and the directory the executable is in
10336 darwin* | rhapsody*)
10337 dynamic_linker="$host_os dyld"
10338 version_type=darwin
10341 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10342 soname_spec='${libname}${release}${major}$shared_ext'
10343 shlibpath_overrides_runpath=yes
10344 shlibpath_var=DYLD_LIBRARY_PATH
10345 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10347 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10348 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10352 version_type=linux # correct to gnu/linux during the next big refactor
10355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10356 soname_spec='${libname}${release}${shared_ext}$major'
10357 shlibpath_var=LD_LIBRARY_PATH
10360 freebsd* | dragonfly*)
10361 # DragonFly does not have aout. When/if they implement a new
10362 # versioning mechanism, adjust this.
10363 if test -x /usr/bin/objformat; then
10364 objformat=`/usr/bin/objformat`
10367 freebsd[23].*) objformat=aout ;;
10368 *) objformat=elf ;;
10371 version_type=freebsd-$objformat
10372 case $version_type in
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10383 shlibpath_var=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath=yes
10388 freebsd3.[01]* | freebsdelf3.[01]*)
10389 shlibpath_overrides_runpath=yes
10390 hardcode_into_libs=yes
10392 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10393 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10394 shlibpath_overrides_runpath=no
10395 hardcode_into_libs=yes
10397 *) # from 4.6 on, and DragonFly
10398 shlibpath_overrides_runpath=yes
10399 hardcode_into_libs=yes
10405 version_type=linux # correct to gnu/linux during the next big refactor
10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10409 soname_spec='${libname}${release}${shared_ext}$major'
10410 shlibpath_var=LD_LIBRARY_PATH
10411 shlibpath_overrides_runpath=no
10412 hardcode_into_libs=yes
10416 version_type=linux # correct to gnu/linux during the next big refactor
10419 dynamic_linker="$host_os runtime_loader"
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 shlibpath_var=LIBRARY_PATH
10423 shlibpath_overrides_runpath=yes
10424 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10425 hardcode_into_libs=yes
10428 hpux9* | hpux10* | hpux11*)
10429 # Give a soname corresponding to the major version so that dld.sl refuses to
10430 # link against other versions.
10437 hardcode_into_libs=yes
10438 dynamic_linker="$host_os dld.so"
10439 shlibpath_var=LD_LIBRARY_PATH
10440 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec='${libname}${release}${shared_ext}$major'
10443 if test "X$HPUX_IA64_MODE" = X32; then
10444 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10446 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10448 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10452 hardcode_into_libs=yes
10453 dynamic_linker="$host_os dld.sl"
10454 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10455 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 soname_spec='${libname}${release}${shared_ext}$major'
10458 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10459 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10463 dynamic_linker="$host_os dld.sl"
10464 shlibpath_var=SHLIB_PATH
10465 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 soname_spec='${libname}${release}${shared_ext}$major'
10470 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10471 postinstall_cmds='chmod 555 $lib'
10472 # or fails outright, so override atomically:
10473 install_override_mode=555
10477 version_type=linux # correct to gnu/linux during the next big refactor
10480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10481 soname_spec='${libname}${release}${shared_ext}$major'
10482 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10483 shlibpath_var=LD_LIBRARY_PATH
10484 shlibpath_overrides_runpath=no
10485 hardcode_into_libs=yes
10488 irix5* | irix6* | nonstopux*)
10490 nonstopux*) version_type=nonstopux ;;
10492 if test "$lt_cv_prog_gnu_ld" = yes; then
10493 version_type=linux # correct to gnu/linux during the next big refactor
10500 soname_spec='${libname}${release}${shared_ext}$major'
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10503 irix5* | nonstopux*)
10504 libsuff= shlibsuff=
10507 case $LD in # libtool.m4 will add one of these switches to LD
10508 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10509 libsuff= shlibsuff= libmagic=32-bit;;
10510 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10511 libsuff=32 shlibsuff=N32 libmagic=N32;;
10512 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10513 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10514 *) libsuff= shlibsuff= libmagic=never-match;;
10518 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10519 shlibpath_overrides_runpath=no
10520 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10521 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10522 hardcode_into_libs=yes
10525 # No shared lib support for Linux oldld, aout, or coff.
10526 linux*oldld* | linux*aout* | linux*coff*)
10530 # This must be glibc/ELF.
10531 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10532 version_type=linux # correct to gnu/linux during the next big refactor
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 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10538 shlibpath_var=LD_LIBRARY_PATH
10539 shlibpath_overrides_runpath=no
10541 # Some binutils ld are patched to set DT_RUNPATH
10542 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10543 $as_echo_n "(cached) " >&6
10545 lt_cv_shlibpath_overrides_runpath=no
10546 save_LDFLAGS=$LDFLAGS
10547 save_libdir=$libdir
10548 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10549 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10563 lt_cv_shlibpath_overrides_runpath=yes
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 LDFLAGS=$save_LDFLAGS
10569 libdir=$save_libdir
10573 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10575 # This implies no fast_install, which is unacceptable.
10576 # Some rework will be needed to allow for fast_install
10577 # before this can be enabled.
10578 hardcode_into_libs=yes
10580 # Append ld.so.conf contents to the search path
10581 if test -f /etc/ld.so.conf; then
10582 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' ' '`
10583 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10586 # We used to test for /lib/ld.so.1 and disable shared libraries on
10587 # powerpc, because MkLinux only supported shared libraries with the
10588 # GNU dynamic linker. Since this was broken with cross compilers,
10589 # most powerpc-linux boxes support dynamic linking these days and
10590 # people can always --disable-shared, the test was removed, and we
10591 # assume the GNU/Linux dynamic linker is in use.
10592 dynamic_linker='GNU/Linux ld.so'
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=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath=no
10603 hardcode_into_libs=yes
10604 dynamic_linker='NetBSD ld.elf_so'
10611 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10613 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10614 dynamic_linker='NetBSD (a.out) ld.so'
10616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10618 dynamic_linker='NetBSD ld.elf_so'
10620 shlibpath_var=LD_LIBRARY_PATH
10621 shlibpath_overrides_runpath=yes
10622 hardcode_into_libs=yes
10626 version_type=linux # correct to gnu/linux during the next big refactor
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10628 shlibpath_var=LD_LIBRARY_PATH
10629 shlibpath_overrides_runpath=yes
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 shlibpath_var=LD_LIBRARY_PATH
10639 shlibpath_overrides_runpath=no
10640 hardcode_into_libs=yes
10641 dynamic_linker='ldqnx.so'
10646 sys_lib_dlsearch_path_spec="/usr/lib"
10648 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10650 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10651 *) need_version=no ;;
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10655 shlibpath_var=LD_LIBRARY_PATH
10656 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10658 openbsd2.[89] | openbsd2.[89].*)
10659 shlibpath_overrides_runpath=no
10662 shlibpath_overrides_runpath=yes
10666 shlibpath_overrides_runpath=yes
10671 libname_spec='$name'
10674 library_names_spec='$libname${shared_ext} $libname.a'
10675 dynamic_linker='OS/2 ld.exe'
10676 shlibpath_var=LIBPATH
10679 osf3* | osf4* | osf5*)
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10685 shlibpath_var=LD_LIBRARY_PATH
10686 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10687 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10695 version_type=linux # correct to gnu/linux during the next big refactor
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LD_LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 hardcode_into_libs=yes
10703 # ldd complains unless libraries are executable
10704 postinstall_cmds='chmod +x $lib'
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10710 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10711 shlibpath_var=LD_LIBRARY_PATH
10712 shlibpath_overrides_runpath=yes
10713 if test "$with_gnu_ld" = yes; then
10720 version_type=linux # correct to gnu/linux during the next big refactor
10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722 soname_spec='${libname}${release}${shared_ext}$major'
10723 shlibpath_var=LD_LIBRARY_PATH
10724 case $host_vendor in
10726 shlibpath_overrides_runpath=no
10728 runpath_var=LD_RUN_PATH
10736 shlibpath_overrides_runpath=no
10737 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10743 if test -d /usr/nec ;then
10744 version_type=linux # correct to gnu/linux during the next big refactor
10745 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10746 soname_spec='$libname${shared_ext}.$major'
10747 shlibpath_var=LD_LIBRARY_PATH
10751 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10752 version_type=freebsd-elf
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10756 soname_spec='${libname}${release}${shared_ext}$major'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10760 if test "$with_gnu_ld" = yes; then
10761 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10763 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10766 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10770 sys_lib_dlsearch_path_spec='/usr/lib'
10774 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10775 version_type=linux # correct to gnu/linux during the next big refactor
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10781 hardcode_into_libs=yes
10785 version_type=linux # correct to gnu/linux during the next big refactor
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 shlibpath_var=LD_LIBRARY_PATH
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10796 $as_echo "$dynamic_linker" >&6; }
10797 test "$dynamic_linker" = no && can_build_shared=no
10799 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10800 if test "$GCC" = yes; then
10801 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10804 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10805 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10807 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10808 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10903 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10905 if test -n "$hardcode_libdir_flag_spec" ||
10906 test -n "$runpath_var" ||
10907 test "X$hardcode_automatic" = "Xyes" ; then
10909 # We can hardcode non-existent directories.
10910 if test "$hardcode_direct" != no &&
10911 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10912 # have to relink, otherwise we might link with an installed library
10913 # when we should be linking with a yet-to-be-installed one
10914 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10915 test "$hardcode_minus_L" != no; then
10916 # Linking always hardcodes the temporary library directory.
10917 hardcode_action=relink
10919 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10920 hardcode_action=immediate
10923 # We cannot hardcode anything, or else we can only hardcode existing
10925 hardcode_action=unsupported
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10928 $as_echo "$hardcode_action" >&6; }
10930 if test "$hardcode_action" = relink ||
10931 test "$inherit_rpath" = yes; then
10932 # Fast installation is not supported
10933 enable_fast_install=no
10934 elif test "$shlibpath_overrides_runpath" = yes ||
10935 test "$enable_shared" = no; then
10936 # Fast installation is not necessary
10937 enable_fast_install=needless
10945 if test "x$enable_dlopen" != xyes; then
10946 enable_dlopen=unknown
10947 enable_dlopen_self=unknown
10948 enable_dlopen_self_static=unknown
10955 lt_cv_dlopen="load_add_on"
10957 lt_cv_dlopen_self=yes
10960 mingw* | pw32* | cegcc*)
10961 lt_cv_dlopen="LoadLibrary"
10966 lt_cv_dlopen="dlopen"
10971 # if libdl is installed we need to link against it
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10973 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10974 if ${ac_cv_lib_dl_dlopen+:} false; then :
10975 $as_echo_n "(cached) " >&6
10977 ac_check_lib_save_LIBS=$LIBS
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 ac_cv_lib_dl_dlopen=yes
11000 ac_cv_lib_dl_dlopen=no
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11007 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11008 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11009 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11012 lt_cv_dlopen="dyld"
11014 lt_cv_dlopen_self=yes
11021 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11022 if test "x$ac_cv_func_shl_load" = xyes; then :
11023 lt_cv_dlopen="shl_load"
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11026 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11027 if ${ac_cv_lib_dld_shl_load+:} false; then :
11028 $as_echo_n "(cached) " >&6
11030 ac_check_lib_save_LIBS=$LIBS
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11045 return shl_load ();
11050 if ac_fn_c_try_link "$LINENO"; then :
11051 ac_cv_lib_dld_shl_load=yes
11053 ac_cv_lib_dld_shl_load=no
11055 rm -f core conftest.err conftest.$ac_objext \
11056 conftest$ac_exeext conftest.$ac_ext
11057 LIBS=$ac_check_lib_save_LIBS
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11060 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11061 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11062 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11064 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11065 if test "x$ac_cv_func_dlopen" = xyes; then :
11066 lt_cv_dlopen="dlopen"
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11069 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11070 if ${ac_cv_lib_dl_dlopen+:} false; then :
11071 $as_echo_n "(cached) " >&6
11073 ac_check_lib_save_LIBS=$LIBS
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 ac_cv_lib_dl_dlopen=yes
11096 ac_cv_lib_dl_dlopen=no
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11100 LIBS=$ac_check_lib_save_LIBS
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11103 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11104 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11105 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11108 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11109 if ${ac_cv_lib_svld_dlopen+:} false; then :
11110 $as_echo_n "(cached) " >&6
11112 ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-lsvld $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_svld_dlopen=yes
11135 ac_cv_lib_svld_dlopen=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11142 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11143 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11144 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11147 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11148 if ${ac_cv_lib_dld_dld_link+:} false; then :
11149 $as_echo_n "(cached) " >&6
11151 ac_check_lib_save_LIBS=$LIBS
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11166 return dld_link ();
11171 if ac_fn_c_try_link "$LINENO"; then :
11172 ac_cv_lib_dld_dld_link=yes
11174 ac_cv_lib_dld_dld_link=no
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11181 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11182 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11183 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11204 if test "x$lt_cv_dlopen" != xno; then
11210 case $lt_cv_dlopen in
11212 save_CPPFLAGS="$CPPFLAGS"
11213 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11215 save_LDFLAGS="$LDFLAGS"
11216 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11219 LIBS="$lt_cv_dlopen_libs $LIBS"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11222 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11223 if ${lt_cv_dlopen_self+:} false; then :
11224 $as_echo_n "(cached) " >&6
11226 if test "$cross_compiling" = yes; then :
11227 lt_cv_dlopen_self=cross
11229 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11230 lt_status=$lt_dlunknown
11231 cat > conftest.$ac_ext <<_LT_EOF
11232 #line $LINENO "configure"
11233 #include "confdefs.h"
11242 # define LT_DLGLOBAL RTLD_GLOBAL
11245 # define LT_DLGLOBAL DL_GLOBAL
11247 # define LT_DLGLOBAL 0
11251 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11252 find out it does not work in some platform. */
11253 #ifndef LT_DLLAZY_OR_NOW
11255 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11258 # define LT_DLLAZY_OR_NOW DL_LAZY
11261 # define LT_DLLAZY_OR_NOW RTLD_NOW
11264 # define LT_DLLAZY_OR_NOW DL_NOW
11266 # define LT_DLLAZY_OR_NOW 0
11273 /* When -fvisbility=hidden is used, assume the code has been annotated
11274 correspondingly for the symbols needed. */
11275 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11276 int fnord () __attribute__((visibility("default")));
11279 int fnord () { return 42; }
11282 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11283 int status = $lt_dlunknown;
11287 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11290 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11291 else puts (dlerror ());
11293 /* dlclose (self); */
11301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11302 (eval $ac_link) 2>&5
11304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11305 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11306 (./conftest; exit; ) >&5 2>/dev/null
11308 case x$lt_status in
11309 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11310 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11311 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11314 # compilation failed
11315 lt_cv_dlopen_self=no
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11323 $as_echo "$lt_cv_dlopen_self" >&6; }
11325 if test "x$lt_cv_dlopen_self" = xyes; then
11326 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11328 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11329 if ${lt_cv_dlopen_self_static+:} false; then :
11330 $as_echo_n "(cached) " >&6
11332 if test "$cross_compiling" = yes; then :
11333 lt_cv_dlopen_self_static=cross
11335 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11336 lt_status=$lt_dlunknown
11337 cat > conftest.$ac_ext <<_LT_EOF
11338 #line $LINENO "configure"
11339 #include "confdefs.h"
11348 # define LT_DLGLOBAL RTLD_GLOBAL
11351 # define LT_DLGLOBAL DL_GLOBAL
11353 # define LT_DLGLOBAL 0
11357 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11358 find out it does not work in some platform. */
11359 #ifndef LT_DLLAZY_OR_NOW
11361 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11364 # define LT_DLLAZY_OR_NOW DL_LAZY
11367 # define LT_DLLAZY_OR_NOW RTLD_NOW
11370 # define LT_DLLAZY_OR_NOW DL_NOW
11372 # define LT_DLLAZY_OR_NOW 0
11379 /* When -fvisbility=hidden is used, assume the code has been annotated
11380 correspondingly for the symbols needed. */
11381 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11382 int fnord () __attribute__((visibility("default")));
11385 int fnord () { return 42; }
11388 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11389 int status = $lt_dlunknown;
11393 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11396 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11397 else puts (dlerror ());
11399 /* dlclose (self); */
11407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11408 (eval $ac_link) 2>&5
11410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11411 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11412 (./conftest; exit; ) >&5 2>/dev/null
11414 case x$lt_status in
11415 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11416 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11417 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11420 # compilation failed
11421 lt_cv_dlopen_self_static=no
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11429 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11432 CPPFLAGS="$save_CPPFLAGS"
11433 LDFLAGS="$save_LDFLAGS"
11438 case $lt_cv_dlopen_self in
11439 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11440 *) enable_dlopen_self=unknown ;;
11443 case $lt_cv_dlopen_self_static in
11444 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11445 *) enable_dlopen_self_static=unknown ;;
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11468 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11469 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11470 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11471 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11473 $as_echo "yes" >&6; }
11475 # FIXME - insert some real tests, host_os isn't really good enough
11478 if test -n "$STRIP" ; then
11479 striplib="$STRIP -x"
11480 old_striplib="$STRIP -S"
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11482 $as_echo "yes" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11485 $as_echo "no" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11490 $as_echo "no" >&6; }
11506 # Report which library types will actually be built
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11508 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11510 $as_echo "$can_build_shared" >&6; }
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11513 $as_echo_n "checking whether to build shared libraries... " >&6; }
11514 test "$can_build_shared" = "no" && enable_shared=no
11516 # On AIX, shared libraries and static libraries use the same namespace, and
11517 # are all built from PIC.
11520 test "$enable_shared" = yes && enable_static=no
11521 if test -n "$RANLIB"; then
11522 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11523 postinstall_cmds='$RANLIB $lib'
11528 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11529 test "$enable_shared" = yes && enable_static=no
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11534 $as_echo "$enable_shared" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11537 $as_echo_n "checking whether to build static libraries... " >&6; }
11538 # Make sure either enable_shared or enable_static is yes.
11539 test "$enable_shared" = yes || enable_static=yes
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11541 $as_echo "$enable_static" >&6; }
11548 ac_cpp='$CPP $CPPFLAGS'
11549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11569 ac_config_commands="$ac_config_commands libtool"
11574 # Only expand once:
11577 # Extract the first word of "texi2dvi", so it can be a program name with args.
11578 set dummy texi2dvi; ac_word=$2
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580 $as_echo_n "checking for $ac_word... " >&6; }
11581 if ${ac_cv_prog_TEXI2DVI+:} false; then :
11582 $as_echo_n "(cached) " >&6
11584 if test -n "$TEXI2DVI"; then
11585 ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test.
11587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11588 for as_dir in $PATH
11591 test -z "$as_dir" && as_dir=.
11592 for ac_exec_ext in '' $ac_executable_extensions; do
11593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11594 ac_cv_prog_TEXI2DVI="texi2dvi"
11595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11604 TEXI2DVI=$ac_cv_prog_TEXI2DVI
11605 if test -n "$TEXI2DVI"; then
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2DVI" >&5
11607 $as_echo "$TEXI2DVI" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11610 $as_echo "no" >&6; }
11614 if test -n "$TEXI2DVI"; then
11615 HAVE_TEXI2DVI_TRUE=
11616 HAVE_TEXI2DVI_FALSE='#'
11618 HAVE_TEXI2DVI_TRUE='#'
11619 HAVE_TEXI2DVI_FALSE=
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
11625 $as_echo_n "checking for C compiler vendor... " >&6; }
11626 if ${ax_cv_c_compiler_vendor+:} false; then :
11627 $as_echo_n "(cached) " >&6
11629 ax_cv_c_compiler_vendor=unknown
11630 # note: don't check for gcc first since some other compilers define __GNUC__
11631 for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
11632 vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11648 if ac_fn_c_try_compile "$LINENO"; then :
11649 ax_cv_c_compiler_vendor=`echo $ventest | cut -d: -f1`; break
11651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
11656 $as_echo "$ax_cv_c_compiler_vendor" >&6; }
11663 # Check whether --enable-portable-binary was given.
11664 if test "${enable_portable_binary+set}" = set; then :
11665 enableval=$enable_portable_binary; acx_maxopt_portable=$withval
11667 acx_maxopt_portable=no
11671 # Try to determine "good" native compiler flags if none specified via CFLAGS
11672 if test "$ac_test_CFLAGS" != "set"; then
11674 case $ax_cv_c_compiler_vendor in
11675 dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
11676 if test "x$acx_maxopt_portable" = xno; then
11677 CFLAGS="$CFLAGS -arch host"
11680 sun) CFLAGS="-native -fast -xO5 -dalign"
11681 if test "x$acx_maxopt_portable" = xyes; then
11682 CFLAGS="$CFLAGS -xarch=generic"
11685 hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
11686 if test "x$acx_maxopt_portable" = xyes; then
11687 CFLAGS="$CFLAGS +DAportable"
11690 ibm) if test "x$acx_maxopt_portable" = xno; then
11691 xlc_opt="-qarch=auto -qtune=auto"
11693 xlc_opt="-qtune=auto"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $xlc_opt" >&5
11696 $as_echo_n "checking whether C compiler accepts $xlc_opt... " >&6; }
11697 ax_save_FLAGS=$CFLAGS
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11710 if ac_fn_c_try_compile "$LINENO"; then :
11711 eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=yes
11713 eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=no
11715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11716 CFLAGS=$ax_save_FLAGS
11717 eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11719 $as_echo "$ax_check_compiler_flags" >&6; }
11720 if test "x$ax_check_compiler_flags" = xyes; then
11721 CFLAGS="-O3 -qansialias -w $xlc_opt"
11723 CFLAGS="-O3 -qansialias -w"
11724 echo "******************************************************"
11725 echo "* You seem to have the IBM C compiler. It is *"
11726 echo "* recommended for best performance that you use: *"
11728 echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
11730 echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
11731 echo "* CPU you have. (Set the CFLAGS environment var. *"
11732 echo "* and re-run configure.) For more info, man cc. *"
11733 echo "******************************************************"
11738 intel) CFLAGS="-O3 -ansi_alias"
11739 if test "x$acx_maxopt_portable" = xno; then
11740 icc_archflag=unknown
11744 # icc accepts gcc assembly syntax, so these should work:
11747 ac_cpp='$CPP $CPPFLAGS'
11748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
11753 $as_echo_n "checking for x86 cpuid 0 output... " >&6; }
11754 if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
11755 $as_echo_n "(cached) " >&6
11757 if test "$cross_compiling" = yes; then :
11758 ax_cv_gcc_x86_cpuid_0=unknown
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11767 int op = 0, eax, ebx, ecx, edx;
11770 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11772 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11773 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11781 if ac_fn_c_try_run "$LINENO"; then :
11782 ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
11784 ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
11786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11787 conftest.$ac_objext conftest.beam conftest.$ac_ext
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
11792 $as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
11794 ac_cpp='$CPP $CPPFLAGS'
11795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11802 ac_cpp='$CPP $CPPFLAGS'
11803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
11808 $as_echo_n "checking for x86 cpuid 1 output... " >&6; }
11809 if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
11810 $as_echo_n "(cached) " >&6
11812 if test "$cross_compiling" = yes; then :
11813 ax_cv_gcc_x86_cpuid_1=unknown
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11822 int op = 1, eax, ebx, ecx, edx;
11825 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11827 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11828 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11836 if ac_fn_c_try_run "$LINENO"; then :
11837 ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
11839 ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
11841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11842 conftest.$ac_objext conftest.beam conftest.$ac_ext
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
11847 $as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
11849 ac_cpp='$CPP $CPPFLAGS'
11850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855 case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
11856 *:756e6547:*:*) # Intel
11857 case $ax_cv_gcc_x86_cpuid_1 in
11858 *6a?:*[234]:*:*|*6[789b]?:*:*:*) icc_flags="-xK";;
11859 *f3[347]:*:*:*|*f41347:*:*:*) icc_flags="-xP -xN -xW -xK";;
11860 *f??:*:*:*) icc_flags="-xN -xW -xK";;
11864 if test "x$icc_flags" != x; then
11865 for flag in $icc_flags; do
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
11867 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
11868 ax_save_FLAGS=$CFLAGS
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11881 if ac_fn_c_try_compile "$LINENO"; then :
11882 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
11884 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
11886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11887 CFLAGS=$ax_save_FLAGS
11888 eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11890 $as_echo "$ax_check_compiler_flags" >&6; }
11891 if test "x$ax_check_compiler_flags" = xyes; then
11892 icc_archflag=$flag; break
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icc architecture flag" >&5
11900 $as_echo_n "checking for icc architecture flag... " >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icc_archflag" >&5
11902 $as_echo "$icc_archflag" >&6; }
11903 if test "x$icc_archflag" != xunknown; then
11904 CFLAGS="$CFLAGS $icc_archflag"
11910 # default optimization flags for gcc on all systems
11911 CFLAGS="-O3 -fomit-frame-pointer"
11913 # -malign-double for x86 systems
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5
11915 $as_echo_n "checking whether C compiler accepts -malign-double... " >&6; }
11916 if ${ax_cv_c_flags__malign_double+:} false; then :
11917 $as_echo_n "(cached) " >&6
11920 ax_save_FLAGS=$CFLAGS
11921 CFLAGS="-malign-double"
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11933 if ac_fn_c_try_compile "$LINENO"; then :
11934 ax_cv_c_flags__malign_double=yes
11936 ax_cv_c_flags__malign_double=no
11938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11939 CFLAGS=$ax_save_FLAGS
11942 eval ax_check_compiler_flags=$ax_cv_c_flags__malign_double
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11944 $as_echo "$ax_check_compiler_flags" >&6; }
11945 if test "x$ax_check_compiler_flags" = xyes; then
11946 CFLAGS="$CFLAGS -malign-double"
11952 # -fstrict-aliasing for gcc-2.95+
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5
11954 $as_echo_n "checking whether C compiler accepts -fstrict-aliasing... " >&6; }
11955 if ${ax_cv_c_flags__fstrict_aliasing+:} false; then :
11956 $as_echo_n "(cached) " >&6
11959 ax_save_FLAGS=$CFLAGS
11960 CFLAGS="-fstrict-aliasing"
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11972 if ac_fn_c_try_compile "$LINENO"; then :
11973 ax_cv_c_flags__fstrict_aliasing=yes
11975 ax_cv_c_flags__fstrict_aliasing=no
11977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11978 CFLAGS=$ax_save_FLAGS
11981 eval ax_check_compiler_flags=$ax_cv_c_flags__fstrict_aliasing
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11983 $as_echo "$ax_check_compiler_flags" >&6; }
11984 if test "x$ax_check_compiler_flags" = xyes; then
11985 CFLAGS="$CFLAGS -fstrict-aliasing"
11991 # note that we enable "unsafe" fp optimization with other compilers, too
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5
11993 $as_echo_n "checking whether C compiler accepts -ffast-math... " >&6; }
11994 if ${ax_cv_c_flags__ffast_math+:} false; then :
11995 $as_echo_n "(cached) " >&6
11998 ax_save_FLAGS=$CFLAGS
11999 CFLAGS="-ffast-math"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12011 if ac_fn_c_try_compile "$LINENO"; then :
12012 ax_cv_c_flags__ffast_math=yes
12014 ax_cv_c_flags__ffast_math=no
12016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12017 CFLAGS=$ax_save_FLAGS
12020 eval ax_check_compiler_flags=$ax_cv_c_flags__ffast_math
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12022 $as_echo "$ax_check_compiler_flags" >&6; }
12023 if test "x$ax_check_compiler_flags" = xyes; then
12024 CFLAGS="$CFLAGS -ffast-math"
12034 # Check whether --with-gcc-arch was given.
12035 if test "${with_gcc_arch+set}" = set; then :
12036 withval=$with_gcc_arch; ax_gcc_arch=$withval
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12043 $as_echo_n "checking for gcc architecture flag... " >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12046 if ${ax_cv_gcc_archflag+:} false; then :
12047 $as_echo_n "(cached) " >&6
12050 ax_cv_gcc_archflag="unknown"
12052 if test "$GCC" = yes; then
12054 if test "x$ax_gcc_arch" = xyes; then
12056 if test "$cross_compiling" = no; then
12058 i[3456]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
12061 ac_cpp='$CPP $CPPFLAGS'
12062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
12067 $as_echo_n "checking for x86 cpuid 0 output... " >&6; }
12068 if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
12069 $as_echo_n "(cached) " >&6
12071 if test "$cross_compiling" = yes; then :
12072 ax_cv_gcc_x86_cpuid_0=unknown
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12081 int op = 0, eax, ebx, ecx, edx;
12084 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12086 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12087 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12095 if ac_fn_c_try_run "$LINENO"; then :
12096 ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
12098 ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
12100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12101 conftest.$ac_objext conftest.beam conftest.$ac_ext
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
12106 $as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
12108 ac_cpp='$CPP $CPPFLAGS'
12109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12116 ac_cpp='$CPP $CPPFLAGS'
12117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
12122 $as_echo_n "checking for x86 cpuid 1 output... " >&6; }
12123 if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
12124 $as_echo_n "(cached) " >&6
12126 if test "$cross_compiling" = yes; then :
12127 ax_cv_gcc_x86_cpuid_1=unknown
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12136 int op = 1, eax, ebx, ecx, edx;
12139 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12141 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12142 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12150 if ac_fn_c_try_run "$LINENO"; then :
12151 ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
12153 ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
12155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12156 conftest.$ac_objext conftest.beam conftest.$ac_ext
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
12161 $as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12169 case $ax_cv_gcc_x86_cpuid_0 in
12170 *:756e6547:*:*) # Intel
12171 case $ax_cv_gcc_x86_cpuid_1 in
12172 *5[48]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
12173 *5??:*:*:*) ax_gcc_arch=pentium ;;
12174 *6[3456]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12175 *6a?:*[01]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12176 *6a?:*[234]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12177 *6[9d]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
12178 *6[78b]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12179 *6??:*:*:*) ax_gcc_arch=pentiumpro ;;
12180 *f3[347]:*:*:*|*f41347:*:*:*)
12182 x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
12183 *) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
12185 *f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
12187 *:68747541:*:*) # AMD
12188 case $ax_cv_gcc_x86_cpuid_1 in
12189 *5[67]?:*:*:*) ax_gcc_arch=k6 ;;
12190 *5[8d]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
12191 *5[9]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
12192 *60?:*:*:*) ax_gcc_arch=k7 ;;
12193 *6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;;
12194 *6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
12195 *67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
12199 ac_cpp='$CPP $CPPFLAGS'
12200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000006 output" >&5
12205 $as_echo_n "checking for x86 cpuid 0x80000006 output... " >&6; }
12206 if ${ax_cv_gcc_x86_cpuid_0x80000006+:} false; then :
12207 $as_echo_n "(cached) " >&6
12209 if test "$cross_compiling" = yes; then :
12210 ax_cv_gcc_x86_cpuid_0x80000006=unknown
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12219 int op = 0x80000006, eax, ebx, ecx, edx;
12222 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12224 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12225 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12233 if ac_fn_c_try_run "$LINENO"; then :
12234 ax_cv_gcc_x86_cpuid_0x80000006=`cat conftest_cpuid`; rm -f conftest_cpuid
12236 ax_cv_gcc_x86_cpuid_0x80000006=unknown; rm -f conftest_cpuid
12238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12239 conftest.$ac_objext conftest.beam conftest.$ac_ext
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000006" >&5
12244 $as_echo "$ax_cv_gcc_x86_cpuid_0x80000006" >&6; }
12246 ac_cpp='$CPP $CPPFLAGS'
12247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12252 case $ax_cv_gcc_x86_cpuid_0x80000006 in
12253 *:*:*[1-9a-f]??????:*) # (L2 = ecx >> 16) >= 256
12254 ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
12255 *) ax_gcc_arch="athlon-4 athlon k7" ;;
12257 *f[4cef8b]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
12258 *f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
12259 *f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
12260 *f??:*:*:*) ax_gcc_arch="k8" ;;
12262 *:746e6543:*:*) # IDT
12263 case $ax_cv_gcc_x86_cpuid_1 in
12264 *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
12265 *58?:*:*:*) ax_gcc_arch=winchip2 ;;
12266 *6[78]?:*:*:*) ax_gcc_arch=c3 ;;
12267 *69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
12270 if test x"$ax_gcc_arch" = x; then # fallback
12272 i586*) ax_gcc_arch=pentium ;;
12273 i686*) ax_gcc_arch=pentiumpro ;;
12279 # Extract the first word of "prtdiag", so it can be a program name with args.
12280 set dummy prtdiag; ac_word=$2
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12282 $as_echo_n "checking for $ac_word... " >&6; }
12283 if ${ac_cv_path_PRTDIAG+:} false; then :
12284 $as_echo_n "(cached) " >&6
12288 ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path.
12291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12292 as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/"
12293 for as_dir in $as_dummy
12296 test -z "$as_dir" && as_dir=.
12297 for ac_exec_ext in '' $ac_executable_extensions; do
12298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12299 ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext"
12300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag"
12311 PRTDIAG=$ac_cv_path_PRTDIAG
12312 if test -n "$PRTDIAG"; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5
12314 $as_echo "$PRTDIAG" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317 $as_echo "no" >&6; }
12321 cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
12322 cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
12324 *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
12325 *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
12326 *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
12327 *supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;;
12328 *hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;;
12329 *cypress*) ax_gcc_arch=cypress ;;
12332 alphaev5) ax_gcc_arch=ev5 ;;
12333 alphaev56) ax_gcc_arch=ev56 ;;
12334 alphapca56) ax_gcc_arch="pca56 ev56" ;;
12335 alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
12336 alphaev6) ax_gcc_arch=ev6 ;;
12337 alphaev67) ax_gcc_arch=ev67 ;;
12338 alphaev68) ax_gcc_arch="ev68 ev67" ;;
12339 alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
12340 alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
12341 alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
12344 cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
12345 cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
12347 *750*) ax_gcc_arch="750 G3" ;;
12348 *740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;;
12349 *74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;;
12350 *74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;;
12351 *970*) ax_gcc_arch="970 G5 power4";;
12352 *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
12353 *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
12354 603ev|8240) ax_gcc_arch="$cputype 603e 603";;
12355 *) ax_gcc_arch=$cputype ;;
12357 ax_gcc_arch="$ax_gcc_arch powerpc"
12360 fi # not cross-compiling
12363 if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
12364 for arch in $ax_gcc_arch; do
12365 if test "x$acx_maxopt_portable" = xyes; then # if we require portable code
12366 flags="-mtune=$arch"
12367 # -mcpu=$arch and m$arch generate nonportable code on every arch except
12368 # x86. And some other arches (e.g. Alpha) don't accept -mtune. Grrr.
12369 case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
12371 flags="-march=$arch -mcpu=$arch -m$arch"
12373 for flag in $flags; do
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12375 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12376 ax_save_FLAGS=$CFLAGS
12378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12389 if ac_fn_c_try_compile "$LINENO"; then :
12390 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
12392 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
12394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12395 CFLAGS=$ax_save_FLAGS
12396 eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12398 $as_echo "$ax_check_compiler_flags" >&6; }
12399 if test "x$ax_check_compiler_flags" = xyes; then
12400 ax_cv_gcc_archflag=$flag; break
12406 test "x$ax_cv_gcc_archflag" = xunknown || break
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12415 $as_echo_n "checking for gcc architecture flag... " >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5
12417 $as_echo "$ax_cv_gcc_archflag" >&6; }
12418 if test "x$ax_cv_gcc_archflag" = xunknown; then
12421 CFLAGS="$CFLAGS $ax_cv_gcc_archflag"
12427 if test -z "$CFLAGS"; then
12429 echo "********************************************************"
12430 echo "* WARNING: Don't know the best CFLAGS for this system *"
12431 echo "* Use ./configure CFLAGS=... to specify your own flags *"
12432 echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
12433 echo "********************************************************"
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS" >&5
12439 $as_echo_n "checking whether C compiler accepts $CFLAGS... " >&6; }
12440 ax_save_FLAGS=$CFLAGS
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12453 if ac_fn_c_try_compile "$LINENO"; then :
12454 eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=yes
12456 eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=no
12458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12459 CFLAGS=$ax_save_FLAGS
12460 eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12462 $as_echo "$ax_check_compiler_flags" >&6; }
12463 if test "x$ax_check_compiler_flags" = xyes; then
12468 echo "********************************************************"
12469 echo "* WARNING: The guessed CFLAGS don't seem to work with *"
12470 echo "* your compiler. *"
12471 echo "* Use ./configure CFLAGS=... to specify your own flags *"
12472 echo "********************************************************"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS_WARN for maximum warnings" >&5
12483 $as_echo_n "checking CFLAGS_WARN for maximum warnings... " >&6; }
12484 if ${ac_cv_cflags_warn_all+:} false; then :
12485 $as_echo_n "(cached) " >&6
12487 ac_cv_cflags_warn_all="no, unknown"
12490 ac_cpp='$CPP $CPPFLAGS'
12491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12495 ac_save_CFLAGS="$CFLAGS"
12496 for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
12497 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12509 if ac_fn_c_try_compile "$LINENO"; then :
12510 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
12512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12514 CFLAGS="$ac_save_CFLAGS"
12516 ac_cpp='$CPP $CPPFLAGS'
12517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12524 $as_echo "$ac_cv_cflags_warn_all" >&6; }
12525 case ".$ac_cv_cflags_warn_all" in
12530 if echo " $CFLAGS_WARN " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
12531 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN does contain \$ac_cv_cflags_warn_all"; } >&5
12532 (: CFLAGS_WARN does contain $ac_cv_cflags_warn_all) 2>&5
12534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12535 test $ac_status = 0; }
12536 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN=\"\$CFLAGS_WARN \$ac_cv_cflags_warn_all\""; } >&5
12537 (: CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all") 2>&5
12539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12540 test $ac_status = 0; }
12541 CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all"
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12548 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12549 if ${ac_cv_c_const+:} false; then :
12550 $as_echo_n "(cached) " >&6
12552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12559 #ifndef __cplusplus
12560 /* Ultrix mips cc rejects this sort of thing. */
12561 typedef int charset[2];
12562 const charset cs = { 0, 0 };
12563 /* SunOS 4.1.1 cc rejects this. */
12564 char const *const *pcpcc;
12566 /* NEC SVR4.0.2 mips cc rejects this. */
12567 struct point {int x, y;};
12568 static struct point const zero = {0,0};
12569 /* AIX XL C 1.02.0.0 rejects this.
12570 It does not let you subtract one const X* pointer from another in
12571 an arm of an if-expression whose if-part is not a constant
12573 const char *g = "string";
12574 pcpcc = &g + (g ? g-g : 0);
12575 /* HPUX 7.0 cc rejects these. */
12577 ppc = (char**) pcpcc;
12578 pcpcc = (char const *const *) ppc;
12579 { /* SCO 3.2v4 cc rejects this sort of thing. */
12582 char const *s = 0 ? (char *) 0 : (char const *) 0;
12587 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12588 int x[] = {25, 17};
12589 const int *foo = &x[0];
12592 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12593 typedef const int *iptr;
12597 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12598 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12599 struct s { int j; const int *ap[3]; } bx;
12600 struct s *b = &bx; b->j = 5;
12602 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12603 const int foo = 10;
12604 if (!foo) return 0;
12606 return !cs[0] && !zero.x;
12613 if ac_fn_c_try_compile "$LINENO"; then :
12618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12621 $as_echo "$ac_cv_c_const" >&6; }
12622 if test $ac_cv_c_const = no; then
12624 $as_echo "#define const /**/" >>confdefs.h
12628 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12629 if test "x$ac_cv_type_size_t" = xyes; then :
12633 cat >>confdefs.h <<_ACEOF
12634 #define size_t unsigned int
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12643 $as_echo_n "checking for ANSI C header files... " >&6; }
12644 if ${ac_cv_header_stdc+:} false; then :
12645 $as_echo_n "(cached) " >&6
12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12649 #include <stdlib.h>
12650 #include <stdarg.h>
12651 #include <string.h>
12662 if ac_fn_c_try_compile "$LINENO"; then :
12663 ac_cv_header_stdc=yes
12665 ac_cv_header_stdc=no
12667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12669 if test $ac_cv_header_stdc = yes; then
12670 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12673 #include <string.h>
12676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12677 $EGREP "memchr" >/dev/null 2>&1; then :
12680 ac_cv_header_stdc=no
12686 if test $ac_cv_header_stdc = yes; then
12687 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12690 #include <stdlib.h>
12693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12694 $EGREP "free" >/dev/null 2>&1; then :
12697 ac_cv_header_stdc=no
12703 if test $ac_cv_header_stdc = yes; then
12704 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12705 if test "$cross_compiling" = yes; then :
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 #include <stdlib.h>
12712 #if ((' ' & 0x0FF) == 0x020)
12713 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12714 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12716 # define ISLOWER(c) \
12717 (('a' <= (c) && (c) <= 'i') \
12718 || ('j' <= (c) && (c) <= 'r') \
12719 || ('s' <= (c) && (c) <= 'z'))
12720 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12728 for (i = 0; i < 256; i++)
12729 if (XOR (islower (i), ISLOWER (i))
12730 || toupper (i) != TOUPPER (i))
12735 if ac_fn_c_try_run "$LINENO"; then :
12738 ac_cv_header_stdc=no
12740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12741 conftest.$ac_objext conftest.beam conftest.$ac_ext
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12747 $as_echo "$ac_cv_header_stdc" >&6; }
12748 if test $ac_cv_header_stdc = yes; then
12750 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12756 for ac_func in strtol
12758 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
12759 if test "x$ac_cv_func_strtol" = xyes; then :
12760 cat >>confdefs.h <<_ACEOF
12761 #define HAVE_STRTOL 1
12770 for ac_func in getrusage
12772 ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
12773 if test "x$ac_cv_func_getrusage" = xyes; then :
12774 cat >>confdefs.h <<_ACEOF
12775 #define HAVE_GETRUSAGE 1
12778 $as_echo "#define CLOOG_RUSAGE /**/" >>confdefs.h
12787 # Check whether --with-isl was given.
12788 if test "${with_isl+set}" = set; then :
12793 no|system|build|bundled)
12795 # Check whether --with-isl_prefix was given.
12796 if test "${with_isl_prefix+set}" = set; then :
12797 withval=$with_isl_prefix;
12801 # Check whether --with-isl_exec_prefix was given.
12802 if test "${with_isl_exec_prefix+set}" = set; then :
12803 withval=$with_isl_exec_prefix;
12808 no|system|build|bundled)
12810 # Check whether --with-isl_builddir was given.
12811 if test "${with_isl_builddir+set}" = set; then :
12812 withval=$with_isl_builddir;
12816 if test "x$with_isl_prefix" != "x" -a "x$with_isl_exec_prefix" = "x"; then
12817 with_isl_exec_prefix=$with_isl_prefix
12819 if test "x$with_isl_prefix" != "x" -o "x$with_isl_exec_prefix" != "x"; then
12820 if test "x$with_isl" != "x" -a "x$with_isl" != "xsystem"; then
12821 as_fn_error $? "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5
12825 if test "x$with_isl_builddir" != "x"; then
12826 if test "x$with_isl" != "x" -a "x$with_isl" != "xbuild"; then
12827 as_fn_error $? "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5
12830 isl_srcdir=`echo @abs_srcdir@ | $with_isl_builddir/config.status --file=-`
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: isl sources in $isl_srcdir" >&5
12832 $as_echo "$as_me: isl sources in $isl_srcdir" >&6;}
12834 case "$with_isl" in
12835 no|system|build|bundled)
12838 if test -d $srcdir/.git -a \
12839 -d $srcdir/isl -a \
12840 ! -d $srcdir/isl/.git; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule isl not initialized" >&5
12842 $as_echo "$as_me: WARNING: git repo detected, but submodule isl not initialized" >&2;}
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12844 $as_echo "$as_me: WARNING: You may want to run" >&2;}
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5
12846 $as_echo "$as_me: WARNING: git submodule init" >&2;}
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5
12848 $as_echo "$as_me: WARNING: git submodule update" >&2;}
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5
12850 $as_echo "$as_me: WARNING: sh autogen.sh" >&2;}
12852 if test -f $srcdir/isl/configure -a "bundled" != "no"; then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which isl to use" >&5
12860 $as_echo_n "checking which isl to use... " >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isl" >&5
12862 $as_echo "$with_isl" >&6; }
12871 # Check whether --with-gmp was given.
12872 if test "${with_gmp+set}" = set; then :
12879 # Check whether --with-gmp_prefix was given.
12880 if test "${with_gmp_prefix+set}" = set; then :
12881 withval=$with_gmp_prefix;
12885 # Check whether --with-gmp_exec_prefix was given.
12886 if test "${with_gmp_exec_prefix+set}" = set; then :
12887 withval=$with_gmp_exec_prefix;
12894 # Check whether --with-gmp_builddir was given.
12895 if test "${with_gmp_builddir+set}" = set; then :
12896 withval=$with_gmp_builddir;
12900 if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then
12901 with_gmp_exec_prefix=$with_gmp_prefix
12903 if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
12904 if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then
12905 as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
12909 if test "x$with_gmp_builddir" != "x"; then
12910 if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then
12911 as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
12914 gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5
12916 $as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;}
12918 case "$with_gmp" in
12922 if test -d $srcdir/.git -a \
12923 -d $srcdir/gmp -a \
12924 ! -d $srcdir/gmp/.git; then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5
12926 $as_echo "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;}
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12928 $as_echo "$as_me: WARNING: You may want to run" >&2;}
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5
12930 $as_echo "$as_me: WARNING: git submodule init" >&2;}
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5
12932 $as_echo "$as_me: WARNING: git submodule update" >&2;}
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5
12934 $as_echo "$as_me: WARNING: sh autogen.sh" >&2;}
12936 if test -f $srcdir/gmp/configure -a "system" != "no"; then
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5
12944 $as_echo_n "checking which gmp to use... " >&6; }
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5
12946 $as_echo "$with_gmp" >&6; }
12950 need_get_memory_functions=false
12951 case "$with_gmp" in
12953 CPPFLAGS="-I$with_gmp_builddir $CPPFLAGS"
12954 LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS"
12957 if test "x$with_gmp_prefix" != "x"; then
12958 CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
12961 if test "$with_gmp_exec_prefix" != "yes" ; then
12962 LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
12966 case "$with_gmp" in
12968 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
12969 if test "x$ac_cv_header_gmp_h" = xyes; then :
12972 as_fn_error $? "Can't find gmp headers." "$LINENO" 5
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
12977 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
12978 if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
12979 $as_echo_n "(cached) " >&6
12981 ac_check_lib_save_LIBS=$LIBS
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12992 char __gmpz_init ();
12996 return __gmpz_init ();
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_gmp___gmpz_init=yes
13004 ac_cv_lib_gmp___gmpz_init=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
13011 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
13012 if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
13015 as_fn_error $? "Can't find gmp library." "$LINENO" 5
13018 ac_fn_c_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h>
13020 if test "x$ac_cv_have_decl_mp_get_memory_functions" = xyes; then :
13026 cat >>confdefs.h <<_ACEOF
13027 #define HAVE_DECL_MP_GET_MEMORY_FUNCTIONS $ac_have_decl
13029 if test $ac_have_decl = 1; then :
13033 need_get_memory_functions=true
13039 if test x$need_get_memory_functions = xtrue; then
13040 NEED_GET_MEMORY_FUNCTIONS_TRUE=
13041 NEED_GET_MEMORY_FUNCTIONS_FALSE='#'
13043 NEED_GET_MEMORY_FUNCTIONS_TRUE='#'
13044 NEED_GET_MEMORY_FUNCTIONS_FALSE=
13052 case "$with_isl" in
13054 ISL_CPPFLAGS="-I$srcdir/isl/include -Iisl/include"
13057 ISL_CPPFLAGS="-I$isl_srcdir/include -I$with_isl_builddir/include"
13058 ISL_LIBS="$with_isl_builddir/libisl.la"
13061 if test "x$with_isl_prefix" != "x"; then
13062 ISL_CPPFLAGS="-I$with_isl_prefix/include"
13064 if test "x$with_isl_exec_prefix" != "x"; then
13065 ISL_LDFLAGS="-L$with_isl_exec_prefix/lib"
13069 if test $with_isl = bundled; then
13071 BUNDLED_ISL_FALSE='#'
13073 BUNDLED_ISL_TRUE='#'
13077 if test $with_isl = no; then
13091 # Check whether --with-osl was given.
13092 if test "${with_osl+set}" = set; then :
13097 no|system|build|bundled)
13099 # Check whether --with-osl_prefix was given.
13100 if test "${with_osl_prefix+set}" = set; then :
13101 withval=$with_osl_prefix;
13105 # Check whether --with-osl_exec_prefix was given.
13106 if test "${with_osl_exec_prefix+set}" = set; then :
13107 withval=$with_osl_exec_prefix;
13112 no|system|build|bundled)
13114 # Check whether --with-osl_builddir was given.
13115 if test "${with_osl_builddir+set}" = set; then :
13116 withval=$with_osl_builddir;
13120 if test "x$with_osl_prefix" != "x" -a "x$with_osl_exec_prefix" = "x"; then
13121 with_osl_exec_prefix=$with_osl_prefix
13123 if test "x$with_osl_prefix" != "x" -o "x$with_osl_exec_prefix" != "x"; then
13124 if test "x$with_osl" != "x" -a "x$with_osl" != "xsystem"; then
13125 as_fn_error $? "Setting $with_osl_prefix implies use of system osl" "$LINENO" 5
13129 if test "x$with_osl_builddir" != "x"; then
13130 if test "x$with_osl" != "x" -a "x$with_osl" != "xbuild"; then
13131 as_fn_error $? "Setting $with_osl_builddir implies use of build osl" "$LINENO" 5
13134 osl_srcdir=`echo @abs_srcdir@ | $with_osl_builddir/config.status --file=-`
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: osl sources in $osl_srcdir" >&5
13136 $as_echo "$as_me: osl sources in $osl_srcdir" >&6;}
13138 case "$with_osl" in
13139 no|system|build|bundled)
13142 if test -d $srcdir/.git -a \
13143 -d $srcdir/osl -a \
13144 ! -d $srcdir/osl/.git; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule osl not initialized" >&5
13146 $as_echo "$as_me: WARNING: git repo detected, but submodule osl not initialized" >&2;}
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
13148 $as_echo "$as_me: WARNING: You may want to run" >&2;}
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5
13150 $as_echo "$as_me: WARNING: git submodule init" >&2;}
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5
13152 $as_echo "$as_me: WARNING: git submodule update" >&2;}
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5
13154 $as_echo "$as_me: WARNING: sh autogen.sh" >&2;}
13156 if test -f $srcdir/osl/configure -a "no" != "no"; then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which osl to use" >&5
13164 $as_echo_n "checking which osl to use... " >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_osl" >&5
13166 $as_echo "$with_osl" >&6; }
13169 osl_flag="OSL_SUPPORT"
13174 case "$with_osl" in
13176 OSL_CPPFLAGS="-D$osl_flag -I$srcdir/osl/include -Iosl/include"
13179 OSL_CPPFLAGS="-D$osl_flag -I$osl_srcdir/include -I$with_osl_builddir/include"
13180 OSL_LIBS="$with_osl_builddir/libosl.la"
13183 if test "x$with_osl_prefix" != "x"; then
13184 OSL_CPPFLAGS="-D$osl_flag -I$with_osl_prefix/include"
13186 if test "x$with_osl_exec_prefix" != "x"; then
13187 OSL_LDFLAGS="-L$with_osl_exec_prefix/lib"
13191 if test $with_osl = bundled; then
13193 BUNDLED_OSL_FALSE='#'
13195 BUNDLED_OSL_TRUE='#'
13199 if test $with_osl = no; then
13210 $as_echo "#define CLOOG_INT_GMP 1" >>confdefs.h
13214 if test -f $srcdir/.git/HEAD; then
13215 GIT_INDEX="\$(top_srcdir)/.git/index"
13234 PACKAGE_NAME="cloog-isl"
13235 PACKAGE_CFLAGS="-DCLOOG_INT_GMP=1"
13237 # we need the expanded forms...
13238 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13239 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
13242 $as_echo_n "checking our pkgconfig libname... " >&6; }
13243 test ".$ax_create_pkgconfig_libname" != "." || \
13244 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
13245 test ".$ax_create_pkgconfig_libname" != "." || \
13246 ax_create_pkgconfig_libname="$PACKAGE"
13247 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
13248 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
13250 $as_echo "$ax_create_pkgconfig_libname" >&6; }
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
13253 $as_echo_n "checking our pkgconfig version... " >&6; }
13254 test ".$ax_create_pkgconfig_version" != "." || \
13255 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
13256 test ".$ax_create_pkgconfig_version" != "." || \
13257 ax_create_pkgconfig_version="$VERSION"
13258 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
13259 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
13261 $as_echo "$ax_create_pkgconfig_version" >&6; }
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
13264 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
13265 test ".$pkgconfig_libdir" = "." && \
13266 pkgconfig_libdir='${libdir}/pkgconfig'
13267 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
13268 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
13269 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
13271 $as_echo "$pkgconfig_libdir" >&6; }
13272 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
13274 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
13278 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
13279 test ".$pkgconfig_libfile" != "." || \
13280 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
13281 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
13282 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
13284 $as_echo "$pkgconfig_libfile" >&6; }
13285 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
13287 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
13291 $as_echo_n "checking our package / suffix... " >&6; }
13292 ax_create_pkgconfig_suffix="$program_suffix"
13293 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
13295 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
13298 $as_echo_n "checking our pkgconfig description... " >&6; }
13299 ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
13300 test ".$ax_create_pkgconfig_description" != "." || \
13301 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
13302 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
13303 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
13305 $as_echo "$ax_create_pkgconfig_description" >&6; }
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
13308 $as_echo_n "checking our pkgconfig requires... " >&6; }
13309 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
13310 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
13311 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
13313 $as_echo "$ax_create_pkgconfig_requires" >&6; }
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
13316 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
13317 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
13318 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
13319 ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS"
13320 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
13321 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
13323 $as_echo "$ax_create_pkgconfig_libs" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
13326 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
13327 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
13328 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
13329 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
13331 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
13334 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
13335 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
13336 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
13337 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
13339 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
13341 test ".$ax_create_pkgconfig_generate" != "." || \
13342 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
13343 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
13344 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
13345 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
13347 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
13349 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
13350 ax_create_pkgconfig_src_libdir=`pwd`
13351 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
13352 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13353 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
13354 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
13355 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
13356 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
13357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13361 /^X\(\/\/\)[^/].*/{
13374 test ! -d $ax_create_pkgconfig_src_libdir/src || \
13375 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
13377 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
13379 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
13382 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
13383 ax_create_pkgconfig_src_headers=`pwd`
13384 v="$ac_top_srcdir" ;
13385 test ".$v" != "." || v="$ax_spec_dir"
13386 test ".$v" != "." || v="$srcdir"
13387 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
13388 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
13389 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13390 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
13391 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
13392 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
13393 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
13394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13398 /^X\(\/\/\)[^/].*/{
13411 test ! -d $ax_create_pkgconfig_src_headers/include || \
13412 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
13414 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
13418 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
13421 ac_config_files="$ac_config_files Makefile test/Makefile"
13423 ac_config_files="$ac_config_files autoconf/Doxyfile"
13425 ac_config_files="$ac_config_files doc/Makefile"
13427 ac_config_files="$ac_config_files source/version.c"
13429 ac_config_files="$ac_config_files include/cloog/version.h"
13431 ac_config_files="$ac_config_files genversion.sh"
13433 ac_config_commands="$ac_config_commands version.h"
13435 ac_config_commands="$ac_config_commands doc/gitversion.texi"
13437 if test $with_isl = bundled; then
13440 subdirs="$subdirs isl"
13443 if test $with_osl = bundled; then
13444 subdirs="$subdirs osl"
13448 cat >confcache <<\_ACEOF
13449 # This file is a shell script that caches the results of configure
13450 # tests run on this system so they can be shared between configure
13451 # scripts and configure runs, see configure's option --config-cache.
13452 # It is not useful on other systems. If it contains results you don't
13453 # want to keep, you may remove or edit it.
13455 # config.status only pays attention to the cache file if you give it
13456 # the --recheck option to rerun configure.
13458 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13459 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13460 # following values.
13464 # The following way of writing the cache mishandles newlines in values,
13465 # but we know of no workaround that is simple, portable, and efficient.
13466 # So, we kill variables containing newlines.
13467 # Ultrix sh set writes to stderr and can't be redirected directly,
13468 # and sets the high bit in the cache file unless we assign to the vars.
13470 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13471 eval ac_val=\$$ac_var
13475 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13476 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13479 _ | IFS | as_nl) ;; #(
13480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13481 *) { eval $ac_var=; unset $ac_var;} ;;
13487 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13488 *${as_nl}ac_space=\ *)
13489 # `set' does not quote correctly, so add quotes: double-quote
13490 # substitution turns \\\\ into \\, and sed turns \\ into \.
13493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13496 # `set' quotes correctly as required by POSIX, so do not add quotes.
13497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13506 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13510 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13511 if test -w "$cache_file"; then
13512 if test "x$cache_file" != "x/dev/null"; then
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13514 $as_echo "$as_me: updating cache $cache_file" >&6;}
13515 if test ! -f "$cache_file" || test -h "$cache_file"; then
13516 cat confcache >"$cache_file"
13518 case $cache_file in #(
13520 mv -f confcache "$cache_file"$$ &&
13521 mv -f "$cache_file"$$ "$cache_file" ;; #(
13523 mv -f confcache "$cache_file" ;;
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13529 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13534 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13535 # Let make expand exec_prefix.
13536 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13538 # Transform confdefs.h into DEFS.
13539 # Protect against shell expansion while executing Makefile rules.
13540 # Protect against Makefile macro expansion.
13542 # If the first sed substitution is executed (which looks for macros that
13543 # take arguments), then branch to the quote section. Otherwise,
13544 # look for a macro that doesn't take arguments.
13554 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13556 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13560 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13573 DEFS=`sed -n "$ac_script" confdefs.h`
13579 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13580 # 1. Remove the extension, and $U if already installed.
13581 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13582 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13584 # will be set to the directory where LIBOBJS objects are built.
13585 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13586 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13588 LIBOBJS=$ac_libobjs
13590 LTLIBOBJS=$ac_ltlibobjs
13593 if test -n "$EXEEXT"; then
13595 am__EXEEXT_FALSE='#'
13597 am__EXEEXT_TRUE='#'
13601 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13602 as_fn_error $? "conditional \"AMDEP\" was never defined.
13603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13605 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13606 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13609 if test -z "${HAVE_TEXI2DVI_TRUE}" && test -z "${HAVE_TEXI2DVI_FALSE}"; then
13610 as_fn_error $? "conditional \"HAVE_TEXI2DVI\" was never defined.
13611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13613 if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then
13614 as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
13615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13617 if test -z "${BUNDLED_ISL_TRUE}" && test -z "${BUNDLED_ISL_FALSE}"; then
13618 as_fn_error $? "conditional \"BUNDLED_ISL\" was never defined.
13619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13621 if test -z "${NO_ISL_TRUE}" && test -z "${NO_ISL_FALSE}"; then
13622 as_fn_error $? "conditional \"NO_ISL\" was never defined.
13623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13625 if test -z "${BUNDLED_OSL_TRUE}" && test -z "${BUNDLED_OSL_FALSE}"; then
13626 as_fn_error $? "conditional \"BUNDLED_OSL\" was never defined.
13627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13629 if test -z "${NO_OSL_TRUE}" && test -z "${NO_OSL_FALSE}"; then
13630 as_fn_error $? "conditional \"NO_OSL\" was never defined.
13631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13634 : "${CONFIG_STATUS=./config.status}"
13636 ac_clean_files_save=$ac_clean_files
13637 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13639 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13641 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13643 # Generated by $as_me.
13644 # Run this file to recreate the current configuration.
13645 # Compiler output produced by configure, useful for debugging
13646 # configure, is in config.log if it exists.
13649 ac_cs_recheck=false
13652 SHELL=\${CONFIG_SHELL-$SHELL}
13655 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13656 ## -------------------- ##
13657 ## M4sh Initialization. ##
13658 ## -------------------- ##
13660 # Be more Bourne compatible
13661 DUALCASE=1; export DUALCASE # for MKS sh
13662 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13666 # is contrary to our usage. Disable this feature.
13667 alias -g '${1+"$@"}'='"$@"'
13668 setopt NO_GLOB_SUBST
13670 case `(set -o) 2>/dev/null` in #(
13682 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13683 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13685 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13686 # Prefer a ksh shell builtin over an external printf program on Solaris,
13687 # but without wasting forks for bash or zsh.
13688 if test -z "$BASH_VERSION$ZSH_VERSION" \
13689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13690 as_echo='print -r --'
13691 as_echo_n='print -rn --'
13692 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13693 as_echo='printf %s\n'
13694 as_echo_n='printf %s'
13696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13697 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13698 as_echo_n='/usr/ucb/echo -n'
13700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13701 as_echo_n_body='eval
13705 expr "X$arg" : "X\\(.*\\)$as_nl";
13706 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13708 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13710 export as_echo_n_body
13711 as_echo_n='sh -c $as_echo_n_body as_echo'
13713 export as_echo_body
13714 as_echo='sh -c $as_echo_body as_echo'
13717 # The user is always right.
13718 if test "${PATH_SEPARATOR+set}" != set; then
13720 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13721 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13728 # We need space, tab and new line, in precisely that order. Quoting is
13729 # there to prevent editors from complaining about space-tab.
13730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13731 # splitting by setting IFS to empty value.)
13734 # Find who we are. Look in the path if we contain no directory separator.
13737 *[\\/]* ) as_myself=$0 ;;
13738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13739 for as_dir in $PATH
13742 test -z "$as_dir" && as_dir=.
13743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13749 # We did not find ourselves, most probably we were run as `sh COMMAND'
13750 # in which case we are not to be found in the path.
13751 if test "x$as_myself" = x; then
13754 if test ! -f "$as_myself"; then
13755 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13759 # Unset variables that we do not need and which cause bugs (e.g. in
13760 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13761 # suppresses any "Segmentation fault" message there. '((' could
13762 # trigger a bug in pdksh 5.2.14.
13763 for as_var in BASH_ENV ENV MAIL MAILPATH
13764 do eval test x\${$as_var+set} = xset \
13765 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13778 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13781 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13782 # ----------------------------------------
13783 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13784 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13785 # script with STATUS, using 1 if that was 0.
13788 as_status=$1; test $as_status -eq 0 && as_status=1
13790 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13791 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13793 $as_echo "$as_me: error: $2" >&2
13794 as_fn_exit $as_status
13798 # as_fn_set_status STATUS
13799 # -----------------------
13800 # Set $? to STATUS, without forking.
13801 as_fn_set_status ()
13804 } # as_fn_set_status
13806 # as_fn_exit STATUS
13807 # -----------------
13808 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13812 as_fn_set_status $1
13818 # Portably unset VAR.
13821 { eval $1=; unset $1;}
13823 as_unset=as_fn_unset
13824 # as_fn_append VAR VALUE
13825 # ----------------------
13826 # Append the text in VALUE to the end of the definition contained in VAR. Take
13827 # advantage of any shell optimizations that allow amortized linear growth over
13828 # repeated appends, instead of the typical quadratic growth present in naive
13830 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13831 eval 'as_fn_append ()
13842 # as_fn_arith ARG...
13843 # ------------------
13844 # Perform arithmetic evaluation on the ARGs, and store the result in the
13845 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13846 # must be portable across $(()) and expr.
13847 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13848 eval 'as_fn_arith ()
13855 as_val=`expr "$@" || test $? -eq 1`
13860 if expr a : '\(a\)' >/dev/null 2>&1 &&
13861 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13867 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13868 as_basename=basename
13873 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13879 as_me=`$as_basename -- "$0" ||
13880 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13881 X"$0" : 'X\(//\)$' \| \
13882 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13884 sed '/^.*\/\([^/][^/]*\)\/*$/{
13898 # Avoid depending upon Character Ranges.
13899 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13900 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13901 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13902 as_cr_digits='0123456789'
13903 as_cr_alnum=$as_cr_Letters$as_cr_digits
13905 ECHO_C= ECHO_N= ECHO_T=
13906 case `echo -n x` in #(((((
13908 case `echo 'xy\c'` in
13909 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13911 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13918 rm -f conf$$ conf$$.exe conf$$.file
13919 if test -d conf$$.dir; then
13920 rm -f conf$$.dir/conf$$.file
13923 mkdir conf$$.dir 2>/dev/null
13925 if (echo >conf$$.file) 2>/dev/null; then
13926 if ln -s conf$$.file conf$$ 2>/dev/null; then
13928 # ... but there are two gotchas:
13929 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13930 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13931 # In both cases, we have to default to `cp -pR'.
13932 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13934 elif ln conf$$.file conf$$ 2>/dev/null; then
13942 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13943 rmdir conf$$.dir 2>/dev/null
13948 # Create "$as_dir" as a directory, including parents if necessary.
13953 -*) as_dir=./$as_dir;;
13955 test -d "$as_dir" || eval $as_mkdir_p || {
13959 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13960 *) as_qdir=$as_dir;;
13962 as_dirs="'$as_qdir' $as_dirs"
13963 as_dir=`$as_dirname -- "$as_dir" ||
13964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13965 X"$as_dir" : 'X\(//\)[^/]' \| \
13966 X"$as_dir" : 'X\(//\)$' \| \
13967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13968 $as_echo X"$as_dir" |
13969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13973 /^X\(\/\/\)[^/].*/{
13986 test -d "$as_dir" && break
13988 test -z "$as_dirs" || eval "mkdir $as_dirs"
13989 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13993 if mkdir -p . 2>/dev/null; then
13994 as_mkdir_p='mkdir -p "$as_dir"'
13996 test -d ./-p && rmdir ./-p
14001 # as_fn_executable_p FILE
14002 # -----------------------
14003 # Test if FILE is an executable regular file.
14004 as_fn_executable_p ()
14006 test -f "$1" && test -x "$1"
14007 } # as_fn_executable_p
14008 as_test_x='test -x'
14009 as_executable_p=as_fn_executable_p
14011 # Sed expression to map a string onto a valid CPP name.
14012 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14014 # Sed expression to map a string onto a valid variable name.
14015 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14019 ## ----------------------------------- ##
14020 ## Main body of $CONFIG_STATUS script. ##
14021 ## ----------------------------------- ##
14023 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14026 # Save the log message, to keep $0 and so on meaningful, and to
14027 # report actual input values of CONFIG_FILES etc. instead of their
14028 # values after options handling.
14030 This file was extended by cloog $as_me 0.18.0, which was
14031 generated by GNU Autoconf 2.69. Invocation command line was
14033 CONFIG_FILES = $CONFIG_FILES
14034 CONFIG_HEADERS = $CONFIG_HEADERS
14035 CONFIG_LINKS = $CONFIG_LINKS
14036 CONFIG_COMMANDS = $CONFIG_COMMANDS
14039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14044 case $ac_config_files in *"
14045 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14051 # Files that config.status was made for.
14052 config_files="$ac_config_files"
14053 config_commands="$ac_config_commands"
14057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14059 \`$as_me' instantiates files and other configuration actions
14060 from templates according to the current configuration. Unless the files
14061 and actions are specified as TAGs, all are instantiated by default.
14063 Usage: $0 [OPTION]... [TAG]...
14065 -h, --help print this help, then exit
14066 -V, --version print version number and configuration settings, then exit
14067 --config print configuration, then exit
14068 -q, --quiet, --silent
14069 do not print progress messages
14070 -d, --debug don't remove temporary files
14071 --recheck update $as_me by reconfiguring in the same conditions
14072 --file=FILE[:TEMPLATE]
14073 instantiate the configuration file FILE
14075 Configuration files:
14078 Configuration commands:
14081 Report bugs to <cloog-development@googlegroups.com>."
14084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14085 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14087 cloog config.status 0.18.0
14088 configured by $0, generated by GNU Autoconf 2.69,
14089 with options \\"\$ac_cs_config\\"
14091 Copyright (C) 2012 Free Software Foundation, Inc.
14092 This config.status script is free software; the Free Software Foundation
14093 gives unlimited permission to copy, distribute and modify it."
14100 test -n "\$AWK" || AWK=awk
14103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14104 # The default lists apply if the user does not specify any file.
14110 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14111 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14115 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14127 # Handling of the options.
14128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14130 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14131 $as_echo "$ac_cs_version"; exit ;;
14132 --config | --confi | --conf | --con | --co | --c )
14133 $as_echo "$ac_cs_config"; exit ;;
14134 --debug | --debu | --deb | --de | --d | -d )
14136 --file | --fil | --fi | --f )
14139 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14140 '') as_fn_error $? "missing file argument" ;;
14142 as_fn_append CONFIG_FILES " '$ac_optarg'"
14143 ac_need_defaults=false;;
14144 --he | --h | --help | --hel | -h )
14145 $as_echo "$ac_cs_usage"; exit ;;
14146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14147 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14150 # This is an error.
14151 -*) as_fn_error $? "unrecognized option: \`$1'
14152 Try \`$0 --help' for more information." ;;
14154 *) as_fn_append ac_config_targets " $1"
14155 ac_need_defaults=false ;;
14161 ac_configure_extra_args=
14163 if $ac_cs_silent; then
14165 ac_configure_extra_args="$ac_configure_extra_args --silent"
14169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14170 if \$ac_cs_recheck; then
14171 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14173 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14174 CONFIG_SHELL='$SHELL'
14175 export CONFIG_SHELL
14180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14184 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14185 ## Running $as_me. ##
14191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14195 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14198 # The HP-UX ksh and POSIX shell print the target directory to stdout
14199 # if CDPATH is set.
14200 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14202 sed_quote_subst='$sed_quote_subst'
14203 double_quote_subst='$double_quote_subst'
14204 delay_variable_subst='$delay_variable_subst'
14205 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14206 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14207 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14208 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14209 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14210 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14211 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14212 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14213 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14214 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14215 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14216 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14217 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14218 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14219 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14220 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14221 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14222 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14223 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14224 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14225 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14226 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14227 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14228 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14229 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14230 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14231 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14232 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14233 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14234 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14235 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14236 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14237 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14238 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14239 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14240 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14241 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14242 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14243 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14244 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14245 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14246 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14247 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14248 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14249 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14250 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14251 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14252 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14253 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14254 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14255 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14256 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14257 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14258 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14259 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14260 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14261 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"`'
14262 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14263 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14264 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14265 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14266 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14267 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14268 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14269 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14270 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14271 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14272 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14273 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14274 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14275 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14276 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14277 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14278 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14279 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14280 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14281 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14282 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14283 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14284 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14285 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14286 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14287 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14288 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14289 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14290 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14291 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14292 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14293 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14294 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14295 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14296 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14297 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14298 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14299 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14300 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14301 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14302 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14303 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14304 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14305 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14306 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14307 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14308 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14309 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14310 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14311 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14312 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14313 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14314 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14315 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14316 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14317 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14318 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14319 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14320 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14321 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14322 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14323 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14324 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14325 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14326 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14327 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14328 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14329 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14330 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14331 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14332 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14333 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14334 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14337 LTCFLAGS='$LTCFLAGS'
14338 compiler='$compiler_DEFAULT'
14340 # A function that is used when there is no print builtin or printf.
14341 func_fallback_echo ()
14343 eval 'cat <<_LTECHO_EOF
14348 # Quote evaled strings.
14363 deplibs_check_method \
14368 sharedlib_from_linklib_cmd \
14371 archiver_list_spec \
14377 lt_cv_sys_global_symbol_pipe \
14378 lt_cv_sys_global_symbol_to_cdecl \
14379 lt_cv_sys_global_symbol_to_c_name_address \
14380 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14381 nm_file_list_spec \
14382 lt_prog_compiler_no_builtin_flag \
14383 lt_prog_compiler_pic \
14384 lt_prog_compiler_wl \
14385 lt_prog_compiler_static \
14386 lt_cv_prog_compiler_c_o \
14395 export_dynamic_flag_spec \
14396 whole_archive_flag_spec \
14397 compiler_needs_object \
14399 allow_undefined_flag \
14400 no_undefined_flag \
14401 hardcode_libdir_flag_spec \
14402 hardcode_libdir_separator \
14406 variables_saved_for_relink \
14408 library_names_spec \
14410 install_override_mode \
14414 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14415 *[\\\\\\\`\\"\\\$]*)
14416 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14419 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14424 # Double-quote double-evaled strings.
14425 for var in reload_cmds \
14426 old_postinstall_cmds \
14427 old_postuninstall_cmds \
14429 extract_expsyms_cmds \
14430 old_archive_from_new_cmds \
14431 old_archive_from_expsyms_cmds \
14433 archive_expsym_cmds \
14435 module_expsym_cmds \
14436 export_symbols_cmds \
14440 postuninstall_cmds \
14442 sys_lib_search_path_spec \
14443 sys_lib_dlsearch_path_spec; do
14444 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14445 *[\\\\\\\`\\"\\\$]*)
14446 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14449 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14454 ac_aux_dir='$ac_aux_dir'
14455 xsi_shell='$xsi_shell'
14456 lt_shell_append='$lt_shell_append'
14458 # See if we are running on zsh, and set the options which allow our
14459 # commands through without removal of \ escapes INIT.
14460 if test -n "\${ZSH_VERSION+set}" ; then
14461 setopt NO_GLOB_SUBST
14467 TIMESTAMP='$TIMESTAMP'
14474 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
14475 pkgconfig_prefix='$prefix'
14476 pkgconfig_execprefix='$exec_prefix'
14477 pkgconfig_bindir='$bindir'
14478 pkgconfig_libdir='$libdir'
14479 pkgconfig_includedir='$includedir'
14480 pkgconfig_datarootdir='$datarootdir'
14481 pkgconfig_datadir='$datadir'
14482 pkgconfig_sysconfdir='$sysconfdir'
14483 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
14484 pkgconfig_package='$PACKAGE_NAME'
14485 pkgconfig_libname='$ax_create_pkgconfig_libname'
14486 pkgconfig_description='$ax_create_pkgconfig_description'
14487 pkgconfig_version='$ax_create_pkgconfig_version'
14488 pkgconfig_requires='$ax_create_pkgconfig_requires'
14489 pkgconfig_libs='$ax_create_pkgconfig_libs'
14490 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
14491 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
14492 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
14493 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
14498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14500 # Handling of arguments.
14501 for ac_config_target in $ac_config_targets
14503 case $ac_config_target in
14504 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14505 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14506 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
14507 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14508 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14509 "autoconf/Doxyfile") CONFIG_FILES="$CONFIG_FILES autoconf/Doxyfile" ;;
14510 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14511 "source/version.c") CONFIG_FILES="$CONFIG_FILES source/version.c" ;;
14512 "include/cloog/version.h") CONFIG_FILES="$CONFIG_FILES include/cloog/version.h" ;;
14513 "genversion.sh") CONFIG_FILES="$CONFIG_FILES genversion.sh" ;;
14514 "version.h") CONFIG_COMMANDS="$CONFIG_COMMANDS version.h" ;;
14515 "doc/gitversion.texi") CONFIG_COMMANDS="$CONFIG_COMMANDS doc/gitversion.texi" ;;
14517 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14522 # If the user did not use the arguments to specify the items to instantiate,
14523 # then the envvar interface is used. Set only those that are not.
14524 # We use the long form for the default assignment because of an extremely
14525 # bizarre bug on SunOS 4.1.3.
14526 if $ac_need_defaults; then
14527 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14528 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14531 # Have a temporary directory for convenience. Make it in the build tree
14532 # simply because there is no reason against having it here, and in addition,
14533 # creating and moving files from /tmp can sometimes cause problems.
14534 # Hook for its removal unless debugging.
14535 # Note that there is a small window in which the directory will not be cleaned:
14536 # after its creation but before its name has been assigned to `$tmp'.
14540 trap 'exit_status=$?
14541 : "${ac_tmp:=$tmp}"
14542 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14544 trap 'as_fn_exit 1' 1 2 13 15
14546 # Create a (secure) tmp directory for tmp files.
14549 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14553 tmp=./conf$$-$RANDOM
14554 (umask 077 && mkdir "$tmp")
14555 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14558 # Set up the scripts for CONFIG_FILES section.
14559 # No need to generate them if there are no CONFIG_FILES.
14560 # This happens for instance with `./config.status config.h'.
14561 if test -n "$CONFIG_FILES"; then
14564 ac_cr=`echo X | tr X '\015'`
14565 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14566 # But we know of no other shell where ac_cr would be empty at this
14567 # point, so we can use a bashism as a fallback.
14568 if test "x$ac_cr" = x; then
14569 eval ac_cr=\$\'\\r\'
14571 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14572 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14575 ac_cs_awk_cr=$ac_cr
14578 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14583 echo "cat >conf$$subs.awk <<_ACEOF" &&
14584 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14586 } >conf$$subs.sh ||
14587 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14588 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14590 for ac_last_try in false false false false false :; do
14591 . ./conf$$subs.sh ||
14592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14594 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14595 if test $ac_delim_n = $ac_delim_num; then
14597 elif $ac_last_try; then
14598 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14603 rm -f conf$$subs.sh
14605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14606 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14610 s/^/S["/; s/!.*/"]=/
14620 s/\(.\{148\}\)..*/\1/
14622 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14627 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14634 s/\(.\{148\}\)..*/\1/
14636 s/["\\]/\\&/g; s/^/"/; s/$/"/
14640 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14645 ' <conf$$subs.awk | sed '
14650 ' >>$CONFIG_STATUS || ac_write_fail=1
14651 rm -f conf$$subs.awk
14652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14654 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14655 for (key in S) S_is_set[key] = 1
14661 nfields = split(line, field, "@")
14663 len = length(field[1])
14664 for (i = 2; i < nfields; i++) {
14666 keylen = length(key)
14667 if (S_is_set[key]) {
14669 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14670 len += length(value) + length(field[++i])
14681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14682 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14683 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14686 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14687 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14690 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14691 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14692 # trailing colons and then remove the whole line if VPATH becomes empty
14693 # (actually we leave an empty line to preserve line numbers).
14694 if test "x$srcdir" = x.; then
14695 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14714 fi # test -n "$CONFIG_FILES"
14717 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
14722 :[FHLC]) ac_mode=$ac_tag; continue;;
14724 case $ac_mode$ac_tag in
14726 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14727 :[FH]-) ac_tag=-:-;;
14728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14745 -) ac_f="$ac_tmp/stdin";;
14746 *) # Look for the file first in the build tree, then in the source tree
14747 # (if the path is not absolute). The absolute path cannot be DOS-style,
14748 # because $ac_f cannot contain `:'.
14752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14754 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14756 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14757 as_fn_append ac_file_inputs " '$ac_f'"
14760 # Let's still pretend it is `configure' which instantiates (i.e., don't
14761 # use $as_me), people would be surprised to read:
14762 # /* config.h. Generated by config.status. */
14763 configure_input='Generated from '`
14764 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14766 if test x"$ac_file" != x-; then
14767 configure_input="$ac_file. $configure_input"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14769 $as_echo "$as_me: creating $ac_file" >&6;}
14771 # Neutralize special characters interpreted by sed in replacement strings.
14772 case $configure_input in #(
14773 *\&* | *\|* | *\\* )
14774 ac_sed_conf_input=`$as_echo "$configure_input" |
14775 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14776 *) ac_sed_conf_input=$configure_input;;
14780 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14786 ac_dir=`$as_dirname -- "$ac_file" ||
14787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14788 X"$ac_file" : 'X\(//\)[^/]' \| \
14789 X"$ac_file" : 'X\(//\)$' \| \
14790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14791 $as_echo X"$ac_file" |
14792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14796 /^X\(\/\/\)[^/].*/{
14809 as_dir="$ac_dir"; as_fn_mkdir_p
14813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14815 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14816 # A ".." for each directory in $ac_dir_suffix.
14817 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14818 case $ac_top_builddir_sub in
14819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14823 ac_abs_top_builddir=$ac_pwd
14824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14825 # for backward compatibility:
14826 ac_top_builddir=$ac_top_build_prefix
14829 .) # We are building in place.
14831 ac_top_srcdir=$ac_top_builddir_sub
14832 ac_abs_top_srcdir=$ac_pwd ;;
14833 [\\/]* | ?:[\\/]* ) # Absolute name.
14834 ac_srcdir=$srcdir$ac_dir_suffix;
14835 ac_top_srcdir=$srcdir
14836 ac_abs_top_srcdir=$srcdir ;;
14837 *) # Relative name.
14838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14839 ac_top_srcdir=$ac_top_build_prefix$srcdir
14840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14852 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14853 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14855 ac_MKDIR_P=$MKDIR_P
14857 [\\/$]* | ?:[\\/]* ) ;;
14858 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14863 # If the template does not know about datarootdir, expand it.
14864 # FIXME: This hack should be removed a few years after 2.60.
14865 ac_datarootdir_hack=; ac_datarootdir_seen=
14876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14877 *datarootdir*) ac_datarootdir_seen=yes;;
14878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14883 ac_datarootdir_hack='
14884 s&@datadir@&$datadir&g
14885 s&@docdir@&$docdir&g
14886 s&@infodir@&$infodir&g
14887 s&@localedir@&$localedir&g
14888 s&@mandir@&$mandir&g
14889 s&\\\${datarootdir}&$datarootdir&g' ;;
14893 # Neutralize VPATH when `$srcdir' = `.'.
14894 # Shell code in configure.ac might set extrasub.
14895 # FIXME: do we really want to maintain this feature?
14896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14897 ac_sed_extra="$ac_vpsub
14900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14903 s|@configure_input@|$ac_sed_conf_input|;t t
14904 s&@top_builddir@&$ac_top_builddir_sub&;t t
14905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14906 s&@srcdir@&$ac_srcdir&;t t
14907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14908 s&@top_srcdir@&$ac_top_srcdir&;t t
14909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14910 s&@builddir@&$ac_builddir&;t t
14911 s&@abs_builddir@&$ac_abs_builddir&;t t
14912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14913 s&@INSTALL@&$ac_INSTALL&;t t
14914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14915 $ac_datarootdir_hack
14917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14918 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14920 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14921 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14922 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14923 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14925 which seems to be undefined. Please make sure it is defined" >&5
14926 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14927 which seems to be undefined. Please make sure it is defined" >&2;}
14929 rm -f "$ac_tmp/stdin"
14931 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14932 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14938 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14939 $as_echo "$as_me: executing $ac_file commands" >&6;}
14944 case $ac_file$ac_mode in
14945 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14946 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14947 # are listed without --file. Let's play safe and only enable the eval
14948 # if we detect the quoting.
14949 case $CONFIG_FILES in
14950 *\'*) eval set x "$CONFIG_FILES" ;;
14951 *) set x $CONFIG_FILES ;;
14956 # Strip MF so we end up with the name of the file.
14957 mf=`echo "$mf" | sed -e 's/:.*$//'`
14958 # Check whether this is an Automake generated Makefile or not.
14959 # We used to match only the files named `Makefile.in', but
14960 # some people rename them; so instead we look at the file content.
14961 # Grep'ing the first line is not enough: some people post-process
14962 # each Makefile.in and add a new line on top of each file to say so.
14963 # Grep'ing the whole file is not good either: AIX grep has a line
14964 # limit of 2048, but all sed's we know have understand at least 4000.
14965 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14966 dirpart=`$as_dirname -- "$mf" ||
14967 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14968 X"$mf" : 'X\(//\)[^/]' \| \
14969 X"$mf" : 'X\(//\)$' \| \
14970 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14976 /^X\(\/\/\)[^/].*/{
14992 # Extract the definition of DEPDIR, am__include, and am__quote
14993 # from the Makefile without running `make'.
14994 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14995 test -z "$DEPDIR" && continue
14996 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14997 test -z "am__include" && continue
14998 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14999 # When using ansi2knr, U may be empty or an underscore; expand it
15000 U=`sed -n 's/^U = //p' < "$mf"`
15001 # Find all dependency output files, they are included files with
15002 # $(DEPDIR) in their names. We invoke sed twice because it is the
15003 # simplest approach to changing $(DEPDIR) to its actual value in the
15005 for file in `sed -n "
15006 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15007 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15008 # Make sure the directory exists.
15009 test -f "$dirpart/$file" && continue
15010 fdir=`$as_dirname -- "$file" ||
15011 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15012 X"$file" : 'X\(//\)[^/]' \| \
15013 X"$file" : 'X\(//\)$' \| \
15014 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15015 $as_echo X"$file" |
15016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15020 /^X\(\/\/\)[^/].*/{
15033 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15034 # echo "creating $dirpart/$file"
15035 echo '# dummy' > "$dirpart/$file"
15042 # See if we are running on zsh, and set the options which allow our
15043 # commands through without removal of \ escapes.
15044 if test -n "${ZSH_VERSION+set}" ; then
15045 setopt NO_GLOB_SUBST
15048 cfgfile="${ofile}T"
15049 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15052 cat <<_LT_EOF >> "$cfgfile"
15055 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15056 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15057 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15058 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15060 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15061 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15063 # Written by Gordon Matzigkeit, 1996
15065 # This file is part of GNU Libtool.
15067 # GNU Libtool is free software; you can redistribute it and/or
15068 # modify it under the terms of the GNU General Public License as
15069 # published by the Free Software Foundation; either version 2 of
15070 # the License, or (at your option) any later version.
15072 # As a special exception to the GNU General Public License,
15073 # if you distribute this file as part of a program or library that
15074 # is built using GNU Libtool, you may include this file under the
15075 # same distribution terms that you use for the rest of that program.
15077 # GNU Libtool is distributed in the hope that it will be useful,
15078 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15079 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15080 # GNU General Public License for more details.
15082 # You should have received a copy of the GNU General Public License
15083 # along with GNU Libtool; see the file COPYING. If not, a copy
15084 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15085 # obtained by writing to the Free Software Foundation, Inc.,
15086 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15089 # The names of the tagged configurations supported by this script.
15092 # ### BEGIN LIBTOOL CONFIG
15094 # Which release of libtool.m4 was used?
15095 macro_version=$macro_version
15096 macro_revision=$macro_revision
15098 # Whether or not to build shared libraries.
15099 build_libtool_libs=$enable_shared
15101 # Whether or not to build static libraries.
15102 build_old_libs=$enable_static
15104 # What type of objects to build.
15107 # Whether or not to optimize for fast installation.
15108 fast_install=$enable_fast_install
15110 # Shell to use when invoking shell scripts.
15113 # An echo program that protects backslashes.
15116 # The PATH separator for the build system.
15117 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15120 host_alias=$host_alias
15124 # The build system.
15125 build_alias=$build_alias
15129 # A sed program that does not truncate output.
15132 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15133 Xsed="\$SED -e 1s/^X//"
15135 # A grep program that handles long lines.
15141 # A literal string matcher.
15144 # A BSD- or MS-compatible name lister.
15147 # Whether we need soft or hard links.
15150 # What is the maximum length of a command?
15151 max_cmd_len=$max_cmd_len
15153 # Object file suffix (normally "o").
15156 # Executable file suffix (normally "").
15159 # whether the shell understands "unset".
15162 # turn spaces into newlines.
15165 # turn newlines into spaces.
15168 # convert \$build file names to \$host format.
15169 to_host_file_cmd=$lt_cv_to_host_file_cmd
15171 # convert \$build files to toolchain format.
15172 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15174 # An object symbol dumper.
15175 OBJDUMP=$lt_OBJDUMP
15177 # Method to check whether dependent libraries are shared objects.
15178 deplibs_check_method=$lt_deplibs_check_method
15180 # Command to use when deplibs_check_method = "file_magic".
15181 file_magic_cmd=$lt_file_magic_cmd
15183 # How to find potential files when deplibs_check_method = "file_magic".
15184 file_magic_glob=$lt_file_magic_glob
15186 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15187 want_nocaseglob=$lt_want_nocaseglob
15189 # DLL creation program.
15190 DLLTOOL=$lt_DLLTOOL
15192 # Command to associate shared and link libraries.
15193 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15198 # Flags to create an archive.
15199 AR_FLAGS=$lt_AR_FLAGS
15201 # How to feed a file listing to the archiver.
15202 archiver_list_spec=$lt_archiver_list_spec
15204 # A symbol stripping program.
15207 # Commands used to install an old-style archive.
15209 old_postinstall_cmds=$lt_old_postinstall_cmds
15210 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15212 # Whether to use a lock for old archive extraction.
15213 lock_old_archive_extraction=$lock_old_archive_extraction
15218 # LTCC compiler flags.
15219 LTCFLAGS=$lt_CFLAGS
15221 # Take the output of nm and produce a listing of raw symbols and C names.
15222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15224 # Transform the output of nm in a proper C declaration.
15225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15227 # Transform the output of nm in a C name address pair.
15228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15230 # Transform the output of nm in a C name address pair when lib prefix is needed.
15231 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15233 # Specify filename containing input files for \$NM.
15234 nm_file_list_spec=$lt_nm_file_list_spec
15236 # The root where to search for dependent libraries,and in which our libraries should be installed.
15237 lt_sysroot=$lt_sysroot
15239 # The name of the directory that contains temporary libtool files.
15242 # Used to examine libraries when file_magic_cmd begins with "file".
15243 MAGIC_CMD=$MAGIC_CMD
15245 # Must we lock files when doing compilation?
15246 need_locks=$lt_need_locks
15249 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15251 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15252 DSYMUTIL=$lt_DSYMUTIL
15254 # Tool to change global to local symbols on Mac OS X.
15257 # Tool to manipulate fat objects and archives on Mac OS X.
15260 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15263 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15264 OTOOL64=$lt_OTOOL64
15266 # Old archive suffix (normally "a").
15269 # Shared library suffix (normally ".so").
15270 shrext_cmds=$lt_shrext_cmds
15272 # The commands to extract the exported symbol list from a shared archive.
15273 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15275 # Variables whose values should be saved in libtool wrapper scripts and
15276 # restored at link time.
15277 variables_saved_for_relink=$lt_variables_saved_for_relink
15279 # Do we need the "lib" prefix for modules?
15280 need_lib_prefix=$need_lib_prefix
15282 # Do we need a version for libraries?
15283 need_version=$need_version
15285 # Library versioning type.
15286 version_type=$version_type
15288 # Shared library runtime path variable.
15289 runpath_var=$runpath_var
15291 # Shared library path variable.
15292 shlibpath_var=$shlibpath_var
15294 # Is shlibpath searched before the hard-coded library search path?
15295 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15297 # Format of library name prefix.
15298 libname_spec=$lt_libname_spec
15300 # List of archive names. First name is the real one, the rest are links.
15301 # The last name is the one that the linker finds with -lNAME
15302 library_names_spec=$lt_library_names_spec
15304 # The coded name of the library, if different from the real name.
15305 soname_spec=$lt_soname_spec
15307 # Permission mode override for installation of shared libraries.
15308 install_override_mode=$lt_install_override_mode
15310 # Command to use after installation of a shared archive.
15311 postinstall_cmds=$lt_postinstall_cmds
15313 # Command to use after uninstallation of a shared archive.
15314 postuninstall_cmds=$lt_postuninstall_cmds
15316 # Commands used to finish a libtool library installation in a directory.
15317 finish_cmds=$lt_finish_cmds
15319 # As "finish_cmds", except a single script fragment to be evaled but
15321 finish_eval=$lt_finish_eval
15323 # Whether we should hardcode library paths into libraries.
15324 hardcode_into_libs=$hardcode_into_libs
15326 # Compile-time system search path for libraries.
15327 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15329 # Run-time system search path for libraries.
15330 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15332 # Whether dlopen is supported.
15333 dlopen_support=$enable_dlopen
15335 # Whether dlopen of programs is supported.
15336 dlopen_self=$enable_dlopen_self
15338 # Whether dlopen of statically linked programs is supported.
15339 dlopen_self_static=$enable_dlopen_self_static
15341 # Commands to strip libraries.
15342 old_striplib=$lt_old_striplib
15343 striplib=$lt_striplib
15346 # The linker used to build libraries.
15349 # How to create reloadable object files.
15350 reload_flag=$lt_reload_flag
15351 reload_cmds=$lt_reload_cmds
15353 # Commands used to build an old-style archive.
15354 old_archive_cmds=$lt_old_archive_cmds
15356 # A language specific compiler.
15359 # Is the compiler the GNU compiler?
15362 # Compiler flag to turn off builtin functions.
15363 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15365 # Additional compiler flags for building library objects.
15366 pic_flag=$lt_lt_prog_compiler_pic
15368 # How to pass a linker flag through the compiler.
15369 wl=$lt_lt_prog_compiler_wl
15371 # Compiler flag to prevent dynamic linking.
15372 link_static_flag=$lt_lt_prog_compiler_static
15374 # Does compiler simultaneously support -c and -o options?
15375 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15377 # Whether or not to add -lc for building shared libraries.
15378 build_libtool_need_lc=$archive_cmds_need_lc
15380 # Whether or not to disallow shared libs when runtime libs are static.
15381 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15383 # Compiler flag to allow reflexive dlopens.
15384 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15386 # Compiler flag to generate shared objects directly from archives.
15387 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15389 # Whether the compiler copes with passing no objects directly.
15390 compiler_needs_object=$lt_compiler_needs_object
15392 # Create an old-style archive from a shared archive.
15393 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15395 # Create a temporary old-style archive to link instead of a shared archive.
15396 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15398 # Commands used to build a shared archive.
15399 archive_cmds=$lt_archive_cmds
15400 archive_expsym_cmds=$lt_archive_expsym_cmds
15402 # Commands used to build a loadable module if different from building
15403 # a shared archive.
15404 module_cmds=$lt_module_cmds
15405 module_expsym_cmds=$lt_module_expsym_cmds
15407 # Whether we are building with GNU ld or not.
15408 with_gnu_ld=$lt_with_gnu_ld
15410 # Flag that allows shared libraries with undefined symbols to be built.
15411 allow_undefined_flag=$lt_allow_undefined_flag
15413 # Flag that enforces no undefined symbols.
15414 no_undefined_flag=$lt_no_undefined_flag
15416 # Flag to hardcode \$libdir into a binary during linking.
15417 # This must work even if \$libdir does not exist
15418 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15420 # Whether we need a single "-rpath" flag with a separated argument.
15421 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15423 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15424 # DIR into the resulting binary.
15425 hardcode_direct=$hardcode_direct
15427 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15428 # DIR into the resulting binary and the resulting library dependency is
15429 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15430 # library is relocated.
15431 hardcode_direct_absolute=$hardcode_direct_absolute
15433 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15434 # into the resulting binary.
15435 hardcode_minus_L=$hardcode_minus_L
15437 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15438 # into the resulting binary.
15439 hardcode_shlibpath_var=$hardcode_shlibpath_var
15441 # Set to "yes" if building a shared library automatically hardcodes DIR
15442 # into the library and all subsequent libraries and executables linked
15444 hardcode_automatic=$hardcode_automatic
15446 # Set to yes if linker adds runtime paths of dependent libraries
15447 # to runtime path list.
15448 inherit_rpath=$inherit_rpath
15450 # Whether libtool must link a program against all its dependency libraries.
15451 link_all_deplibs=$link_all_deplibs
15453 # Set to "yes" if exported symbols are required.
15454 always_export_symbols=$always_export_symbols
15456 # The commands to list exported symbols.
15457 export_symbols_cmds=$lt_export_symbols_cmds
15459 # Symbols that should not be listed in the preloaded symbols.
15460 exclude_expsyms=$lt_exclude_expsyms
15462 # Symbols that must always be exported.
15463 include_expsyms=$lt_include_expsyms
15465 # Commands necessary for linking programs (against libraries) with templates.
15466 prelink_cmds=$lt_prelink_cmds
15468 # Commands necessary for finishing linking programs.
15469 postlink_cmds=$lt_postlink_cmds
15471 # Specify filename containing input files.
15472 file_list_spec=$lt_file_list_spec
15474 # How to hardcode a shared library path into an executable.
15475 hardcode_action=$hardcode_action
15477 # ### END LIBTOOL CONFIG
15483 cat <<\_LT_EOF >> "$cfgfile"
15484 # AIX sometimes has problems with the GCC collect2 program. For some
15485 # reason, if we set the COLLECT_NAMES environment variable, the problems
15486 # vanish in a puff of smoke.
15487 if test "X${COLLECT_NAMES+set}" != Xset; then
15489 export COLLECT_NAMES
15496 ltmain="$ac_aux_dir/ltmain.sh"
15499 # We use sed instead of cat because bash on DJGPP gets confused if
15500 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15501 # text mode, it properly converts lines to CR/LF. This bash problem
15502 # is reportedly fixed, but why not run on old versions too?
15503 sed '$q' "$ltmain" >> "$cfgfile" \
15504 || (rm -f "$cfgfile"; exit 1)
15506 if test x"$xsi_shell" = xyes; then
15507 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15511 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15512 \ * ) func_dirname_result="${3}" ;;\
15514 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15515 && mv -f "$cfgfile.tmp" "$cfgfile" \
15516 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15517 test 0 -eq $? || _lt_function_replace_fail=:
15520 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15523 \ func_basename_result="${1##*/}"\
15524 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15525 && mv -f "$cfgfile.tmp" "$cfgfile" \
15526 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15527 test 0 -eq $? || _lt_function_replace_fail=:
15530 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15531 func_dirname_and_basename ()\
15534 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15535 \ * ) func_dirname_result="${3}" ;;\
15537 \ func_basename_result="${1##*/}"\
15538 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15539 && mv -f "$cfgfile.tmp" "$cfgfile" \
15540 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15541 test 0 -eq $? || _lt_function_replace_fail=:
15544 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15547 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15548 \ # positional parameters, so assign one to ordinary parameter first.\
15549 \ func_stripname_result=${3}\
15550 \ func_stripname_result=${func_stripname_result#"${1}"}\
15551 \ func_stripname_result=${func_stripname_result%"${2}"}\
15552 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15553 && mv -f "$cfgfile.tmp" "$cfgfile" \
15554 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15555 test 0 -eq $? || _lt_function_replace_fail=:
15558 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15559 func_split_long_opt ()\
15561 \ func_split_long_opt_name=${1%%=*}\
15562 \ func_split_long_opt_arg=${1#*=}\
15563 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15564 && mv -f "$cfgfile.tmp" "$cfgfile" \
15565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15566 test 0 -eq $? || _lt_function_replace_fail=:
15569 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15570 func_split_short_opt ()\
15572 \ func_split_short_opt_arg=${1#??}\
15573 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15574 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15575 && mv -f "$cfgfile.tmp" "$cfgfile" \
15576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15577 test 0 -eq $? || _lt_function_replace_fail=:
15580 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15584 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15585 \ *) func_lo2o_result=${1} ;;\
15587 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15588 && mv -f "$cfgfile.tmp" "$cfgfile" \
15589 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15590 test 0 -eq $? || _lt_function_replace_fail=:
15593 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15596 func_xform_result=${1%.*}.lo\
15597 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15598 && mv -f "$cfgfile.tmp" "$cfgfile" \
15599 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15600 test 0 -eq $? || _lt_function_replace_fail=:
15603 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15606 func_arith_result=$(( $* ))\
15607 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15608 && mv -f "$cfgfile.tmp" "$cfgfile" \
15609 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15610 test 0 -eq $? || _lt_function_replace_fail=:
15613 sed -e '/^func_len ()$/,/^} # func_len /c\
15616 func_len_result=${#1}\
15617 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15618 && mv -f "$cfgfile.tmp" "$cfgfile" \
15619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15620 test 0 -eq $? || _lt_function_replace_fail=:
15624 if test x"$lt_shell_append" = xyes; then
15625 sed -e '/^func_append ()$/,/^} # func_append /c\
15628 eval "${1}+=\\${2}"\
15629 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15630 && mv -f "$cfgfile.tmp" "$cfgfile" \
15631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15632 test 0 -eq $? || _lt_function_replace_fail=:
15635 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15636 func_append_quoted ()\
15638 \ func_quote_for_eval "${2}"\
15639 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15640 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15641 && mv -f "$cfgfile.tmp" "$cfgfile" \
15642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15643 test 0 -eq $? || _lt_function_replace_fail=:
15646 # Save a `func_append' function call where possible by direct use of '+='
15647 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15648 && mv -f "$cfgfile.tmp" "$cfgfile" \
15649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15650 test 0 -eq $? || _lt_function_replace_fail=:
15652 # Save a `func_append' function call even when '+=' is not available
15653 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15654 && mv -f "$cfgfile.tmp" "$cfgfile" \
15655 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15656 test 0 -eq $? || _lt_function_replace_fail=:
15659 if test x"$_lt_function_replace_fail" = x":"; then
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15661 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15665 mv -f "$cfgfile" "$ofile" ||
15666 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15670 "$ax_create_pkgconfig_generate":C)
15671 pkgconfig_generate="$ax_create_pkgconfig_generate"
15672 if test ! -f "$pkgconfig_generate.in"
15673 then generate="true"
15674 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
15675 then generate="true"
15676 else generate="false";
15678 if $generate ; then
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
15680 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
15681 cat > $pkgconfig_generate.in <<AXEOF
15682 # generated by configure / remove this line to disable regeneration
15684 exec_prefix=@exec_prefix@
15687 datarootdir=@datarootdir@
15689 sysconfdir=@sysconfdir@
15690 includedir=@includedir@
15694 Name: @PACKAGE_NAME@
15695 Description: @PACKAGE_DESCRIPTION@
15696 Version: @PACKAGE_VERSION@
15697 Requires: @PACKAGE_REQUIRES@
15698 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
15699 Cflags: -I\${includedir} @CPPFLAGS@
15701 fi # DONE generate $pkgconfig_generate.in
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
15703 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
15704 cat >conftest.sed <<AXEOF
15705 s|@prefix@|${pkgconfig_prefix}|
15706 s|@exec_prefix@|${pkgconfig_execprefix}|
15707 s|@bindir@|${pkgconfig_bindir}|
15708 s|@libdir@|${pkgconfig_libdir}|
15709 s|@datarootdir@|${pkgconfig_datarootdir}|
15710 s|@datadir@|${pkgconfig_datadir}|
15711 s|@sysconfdir@|${pkgconfig_sysconfdir}|
15712 s|@includedir@|${pkgconfig_includedir}|
15713 s|@suffix@|${pkgconfig_suffix}|
15714 s|@PACKAGE@|${pkgconfig_package}|
15715 s|@PACKAGE_NAME@|${pkgconfig_libname}|
15716 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
15717 s|@PACKAGE_VERSION@|${pkgconfig_version}|
15718 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
15719 s|@LIBS@|${pkgconfig_libs}|
15720 s|@LDFLAGS@|${pkgconfig_ldflags}|
15721 s|@CPPFLAGS@|${pkgconfig_cppflags}|
15723 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
15724 if test ! -s $pkgconfig_generate ; then
15725 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
15726 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
15727 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
15729 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
15730 cat >conftest.sed <<AXEOF
15731 s|@prefix@|${pkgconfig_prefix}|
15732 s|@exec_prefix@|${pkgconfig_execprefix}|
15733 s|@bindir@|${pkgconfig_bindir}|
15734 s|@libdir@|${pkgconfig_src_libdir}|
15735 s|@datarootdir@|${pkgconfig_datarootdir}|
15736 s|@datadir@|${pkgconfig_datadir}|
15737 s|@sysconfdir@|${pkgconfig_sysconfdir}|
15738 s|@includedir@|${pkgconfig_src_headers}|
15739 s|@suffix@|${pkgconfig_suffix}|
15740 s|@PACKAGE@|${pkgconfig_package}|
15741 s|@PACKAGE_NAME@|${pkgconfig_libname}|
15742 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
15743 s|@PACKAGE_VERSION@|${pkgconfig_version}|
15744 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
15745 s|@LIBS@|${pkgconfig_libs}|
15746 s|@LDFLAGS@|${pkgconfig_ldflags}|
15747 s|@CPPFLAGS@|${pkgconfig_cppflags}|
15749 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
15750 if test ! -s $pkgconfig_uninstalled ; then
15751 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
15752 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
15753 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
15754 if test ".$pkgconfig_requires_add" != "." ; then
15755 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
15756 else pkgconfig_requires_add=":" ; fi
15757 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
15759 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
15760 cat >conftest.sed <<AXEOF
15761 s|@prefix@|\"${pkgconfig_prefix}\"|
15762 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
15763 s|@bindir@|\"${pkgconfig_bindir}\"|
15764 s|@libdir@|\"${pkgconfig_src_libdir}\"|
15765 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
15766 s|@datadir@|\"${pkgconfig_datadir}\"|
15767 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
15768 s|@includedir@|\"${pkgconfig_src_headers}\"|
15769 s|@suffix@|\"${pkgconfig_suffix}\"|
15770 s|@PACKAGE@|\"${pkgconfig_package}\"|
15771 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
15772 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
15773 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
15774 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
15775 s|@LIBS@|\"${pkgconfig_libs}\"|
15776 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
15777 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
15778 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
15779 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
15780 s>Version: *>\\;\\; --modversion|--version) echo >
15781 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
15782 s>Libs: *>\\;\\; --libs) echo >
15783 s>Cflags: *>\\;\\; --cflags) echo >
15785 $pkgconfig_requires_add
15787 $pkgconfig_requires_add\\
15788 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
15789 ;; --uninstalled) exit 0 \\
15792 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
15793 if test ! -s $pkgconfig_uninstalled ; then
15794 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
15795 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
15797 "genversion.sh":F) chmod +x genversion.sh ;;
15798 "version.h":C) echo '#define CLOOG_HEAD "'`./genversion.sh`'"' > version.h ;;
15799 "doc/gitversion.texi":C) echo '@set VERSION '`./genversion.sh`'' > doc/gitversion.texi ;;
15807 ac_clean_files=$ac_clean_files_save
15809 test $ac_write_fail = 0 ||
15810 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15813 ac_configure_args="$ac_configure_args $cloog_configure_args"
15816 # configure is writing to config.log, and then calls config.status.
15817 # config.status does its own redirection, appending to config.log.
15818 # Unfortunately, on DOS this fails, as config.log is still kept open
15819 # by configure, so config.status won't be able to write to it; its
15820 # output is simply discarded. So we exec the FD to /dev/null,
15821 # effectively closing config.log, so it can be properly (re)opened and
15822 # appended to by config.status. When coming back to configure, we
15823 # need to make the FD available again.
15824 if test "$no_create" != yes; then
15826 ac_config_status_args=
15827 test "$silent" = yes &&
15828 ac_config_status_args="$ac_config_status_args --quiet"
15830 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15832 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15833 # would make configure fail if this is the last instruction.
15834 $ac_cs_success || as_fn_exit 1
15838 # CONFIG_SUBDIRS section.
15840 if test "$no_recursion" != yes; then
15842 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15843 # so they do not pile up.
15844 ac_sub_configure_args=
15846 eval "set x $ac_configure_args"
15850 if test -n "$ac_prev"; then
15855 -cache-file | --cache-file | --cache-fil | --cache-fi \
15856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15857 ac_prev=cache_file ;;
15858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15862 --config-cache | -C)
15864 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15866 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15868 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15870 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15872 --disable-option-checking)
15876 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15878 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15882 # Always prepend --prefix to ensure using the same prefix
15883 # in subdir configurations.
15884 ac_arg="--prefix=$prefix"
15886 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15888 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15891 if test "$silent" = yes; then
15892 ac_sub_configure_args="--silent $ac_sub_configure_args"
15895 # Always prepend --disable-option-checking to silence warnings, since
15896 # different subdirs can have different --enable and --with options.
15897 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15900 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15902 # Do not complain, so a configure script can configure whichever
15903 # parts of a large source tree are present.
15904 test -d "$srcdir/$ac_dir" || continue
15906 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15907 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15908 $as_echo "$ac_msg" >&6
15909 as_dir="$ac_dir"; as_fn_mkdir_p
15913 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15915 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15916 # A ".." for each directory in $ac_dir_suffix.
15917 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15918 case $ac_top_builddir_sub in
15919 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15920 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15923 ac_abs_top_builddir=$ac_pwd
15924 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15925 # for backward compatibility:
15926 ac_top_builddir=$ac_top_build_prefix
15929 .) # We are building in place.
15931 ac_top_srcdir=$ac_top_builddir_sub
15932 ac_abs_top_srcdir=$ac_pwd ;;
15933 [\\/]* | ?:[\\/]* ) # Absolute name.
15934 ac_srcdir=$srcdir$ac_dir_suffix;
15935 ac_top_srcdir=$srcdir
15936 ac_abs_top_srcdir=$srcdir ;;
15937 *) # Relative name.
15938 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15939 ac_top_srcdir=$ac_top_build_prefix$srcdir
15940 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15942 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15947 # Check for guested configure; otherwise get Cygnus style configure.
15948 if test -f "$ac_srcdir/configure.gnu"; then
15949 ac_sub_configure=$ac_srcdir/configure.gnu
15950 elif test -f "$ac_srcdir/configure"; then
15951 ac_sub_configure=$ac_srcdir/configure
15952 elif test -f "$ac_srcdir/configure.in"; then
15953 # This should be Cygnus configure.
15954 ac_sub_configure=$ac_aux_dir/configure
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15957 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15961 # The recursion is here.
15962 if test -n "$ac_sub_configure"; then
15963 # Make the cache file name correct relative to the subdirectory.
15964 case $cache_file in
15965 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15966 *) # Relative name.
15967 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15971 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15972 # The eval makes quoting arguments work.
15973 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15974 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15975 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15981 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15983 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15988 echo " /*-----------------------------------------------*"
15989 echo " * CLooG configuration is OK *"
15990 echo " *-----------------------------------------------*/"
15991 echo "It appears that your system is OK to start CLooG compilation. You need"
15992 echo "now to type \"make\". After compilation, you should check CLooG by typing"
15993 echo "\"make check\". If no problem occur, you can type \"make uninstall\" if"
15994 echo "you are upgrading an old version. Lastly type \"make install\" to install"
15995 echo "CLooG on your system (log as root if necessary)."