Annotation of sql/mysql/configure, revision 1.35
1.1 parser 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.25 paf 3: # Generated by GNU Autoconf 2.59.
1.1 parser 4: #
1.25 paf 5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1 parser 6: # This configure script is free software; the Free Software Foundation
7: # gives unlimited permission to copy, distribute and modify it.
1.15 paf 8: ## --------------------- ##
9: ## M4sh Initialization. ##
10: ## --------------------- ##
11:
12: # Be Bourne compatible
13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14: emulate sh
15: NULLCMD=:
16: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17: # is contrary to our usage. Disable this feature.
18: alias -g '${1+"$@"}'='"$@"'
19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20: set -o posix
21: fi
1.25 paf 22: DUALCASE=1; export DUALCASE # for MKS sh
1.15 paf 23:
24: # Support unset when possible.
1.25 paf 25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.15 paf 26: as_unset=unset
27: else
28: as_unset=false
29: fi
30:
31:
32: # Work around bugs in pre-3.0 UWIN ksh.
33: $as_unset ENV MAIL MAILPATH
34: PS1='$ '
35: PS2='> '
36: PS4='+ '
37:
38: # NLS nuisances.
39: for as_var in \
40: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42: LC_TELEPHONE LC_TIME
43: do
1.25 paf 44: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.15 paf 45: eval $as_var=C; export $as_var
46: else
47: $as_unset $as_var
48: fi
49: done
50:
51: # Required to use basename.
52: if expr a : '\(a\)' >/dev/null 2>&1; then
53: as_expr=expr
54: else
55: as_expr=false
56: fi
57:
58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59: as_basename=basename
60: else
61: as_basename=false
62: fi
63:
64:
65: # Name of the executable.
66: as_me=`$as_basename "$0" ||
67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68: X"$0" : 'X\(//\)$' \| \
69: X"$0" : 'X\(/\)$' \| \
70: . : '\(.\)' 2>/dev/null ||
71: echo X/"$0" |
72: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73: /^X\/\(\/\/\)$/{ s//\1/; q; }
74: /^X\/\(\/\).*/{ s//\1/; q; }
75: s/.*/./; q'`
76:
77:
78: # PATH needs CR, and LINENO needs CR and PATH.
79: # Avoid depending upon Character Ranges.
80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83: as_cr_digits='0123456789'
84: as_cr_alnum=$as_cr_Letters$as_cr_digits
85:
86: # The user is always right.
87: if test "${PATH_SEPARATOR+set}" != set; then
88: echo "#! /bin/sh" >conf$$.sh
89: echo "exit 0" >>conf$$.sh
90: chmod +x conf$$.sh
91: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92: PATH_SEPARATOR=';'
93: else
94: PATH_SEPARATOR=:
95: fi
96: rm -f conf$$.sh
97: fi
98:
99:
100: as_lineno_1=$LINENO
101: as_lineno_2=$LINENO
102: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103: test "x$as_lineno_1" != "x$as_lineno_2" &&
104: test "x$as_lineno_3" = "x$as_lineno_2" || {
105: # Find who we are. Look in the path if we contain no path at all
106: # relative or not.
107: case $0 in
108: *[\\/]* ) as_myself=$0 ;;
109: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110: for as_dir in $PATH
111: do
112: IFS=$as_save_IFS
113: test -z "$as_dir" && as_dir=.
114: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115: done
116:
117: ;;
118: esac
119: # We did not find ourselves, most probably we were run as `sh COMMAND'
120: # in which case we are not to be found in the path.
121: if test "x$as_myself" = x; then
122: as_myself=$0
123: fi
124: if test ! -f "$as_myself"; then
125: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126: { (exit 1); exit 1; }; }
127: fi
128: case $CONFIG_SHELL in
129: '')
130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132: do
133: IFS=$as_save_IFS
134: test -z "$as_dir" && as_dir=.
135: for as_base in sh bash ksh sh5; do
136: case $as_dir in
137: /*)
138: if ("$as_dir/$as_base" -c '
139: as_lineno_1=$LINENO
140: as_lineno_2=$LINENO
141: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142: test "x$as_lineno_1" != "x$as_lineno_2" &&
143: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146: CONFIG_SHELL=$as_dir/$as_base
147: export CONFIG_SHELL
148: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149: fi;;
150: esac
151: done
152: done
153: ;;
154: esac
155:
156: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157: # uniformly replaced by the line number. The first 'sed' inserts a
158: # line-number line before each line; the second 'sed' does the real
159: # work. The second script uses 'N' to pair each line-number line
160: # with the numbered line, and appends trailing '-' during
161: # substitution so that $LINENO is not a special case at line end.
162: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164: sed '=' <$as_myself |
165: sed '
166: N
167: s,$,-,
168: : loop
169: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170: t loop
171: s,-$,,
172: s,^['$as_cr_digits']*\n,,
173: ' >$as_me.lineno &&
174: chmod +x $as_me.lineno ||
175: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176: { (exit 1); exit 1; }; }
177:
178: # Don't try to exec as it changes $[0], causing all sort of problems
179: # (the dirname of $[0] is not the place where we might find the
180: # original and so on. Autoconf is especially sensible to this).
181: . ./$as_me.lineno
182: # Exit status is that of the last command.
183: exit
184: }
185:
186:
187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188: *c*,-n*) ECHO_N= ECHO_C='
189: ' ECHO_T=' ' ;;
190: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192: esac
193:
194: if expr a : '\(a\)' >/dev/null 2>&1; then
195: as_expr=expr
196: else
197: as_expr=false
198: fi
199:
200: rm -f conf$$ conf$$.exe conf$$.file
201: echo >conf$$.file
202: if ln -s conf$$.file conf$$ 2>/dev/null; then
203: # We could just check for DJGPP; but this test a) works b) is more generic
204: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205: if test -f conf$$.exe; then
206: # Don't use ln at all; we don't have any links
207: as_ln_s='cp -p'
208: else
209: as_ln_s='ln -s'
210: fi
211: elif ln conf$$.file conf$$ 2>/dev/null; then
212: as_ln_s=ln
213: else
214: as_ln_s='cp -p'
215: fi
216: rm -f conf$$ conf$$.exe conf$$.file
217:
218: if mkdir -p . 2>/dev/null; then
219: as_mkdir_p=:
220: else
1.25 paf 221: test -d ./-p && rmdir ./-p
1.15 paf 222: as_mkdir_p=false
223: fi
224:
225: as_executable_p="test -f"
226:
227: # Sed expression to map a string onto a valid CPP name.
1.25 paf 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.15 paf 229:
230: # Sed expression to map a string onto a valid variable name.
1.25 paf 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.15 paf 232:
233:
234: # IFS
235: # We need space, tab and new line, in precisely that order.
236: as_nl='
237: '
238: IFS=" $as_nl"
239:
240: # CDPATH.
241: $as_unset CDPATH
242:
243: SHELL=${CONFIG_SHELL-/bin/sh}
244:
1.35 ! moko 245: lt_ltdl_dir='libltdl'
1.15 paf 246:
1.35 ! moko 247: lt_dlopen_dir="$lt_ltdl_dir"
1.15 paf 248:
1.1 parser 249:
1.15 paf 250: # Name of the host.
251: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
252: # so uname gets run too.
253: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254:
255: exec 6>&1
256:
257: #
258: # Initializations.
259: #
1.1 parser 260: ac_default_prefix=/usr/local
1.15 paf 261: ac_config_libobj_dir=.
262: cross_compiling=no
263: subdirs=
264: MFLAGS=
265: MAKEFLAGS=
266: SHELL=${CONFIG_SHELL-/bin/sh}
267:
268: # Maximum number of lines to put in a shell here document.
269: # This variable seems obsolete. It should probably be removed, and
270: # only ac_max_sed_lines should be used.
271: : ${ac_max_here_lines=38}
272:
273: # Identity of this package.
274: PACKAGE_NAME=
275: PACKAGE_TARNAME=
276: PACKAGE_VERSION=
277: PACKAGE_STRING=
278: PACKAGE_BUGREPORT=
279:
280: ac_unique_file="parser3mysql.C"
281: # Factoring default headers for most tests.
282: ac_includes_default="\
283: #include <stdio.h>
284: #if HAVE_SYS_TYPES_H
285: # include <sys/types.h>
286: #endif
287: #if HAVE_SYS_STAT_H
288: # include <sys/stat.h>
289: #endif
290: #if STDC_HEADERS
291: # include <stdlib.h>
292: # include <stddef.h>
293: #else
294: # if HAVE_STDLIB_H
295: # include <stdlib.h>
296: # endif
297: #endif
298: #if HAVE_STRING_H
299: # if !STDC_HEADERS && HAVE_MEMORY_H
300: # include <memory.h>
301: # endif
302: # include <string.h>
303: #endif
304: #if HAVE_STRINGS_H
305: # include <strings.h>
306: #endif
307: #if HAVE_INTTYPES_H
308: # include <inttypes.h>
309: #else
310: # if HAVE_STDINT_H
311: # include <stdint.h>
312: # endif
313: #endif
314: #if HAVE_UNISTD_H
315: # include <unistd.h>
316: #endif"
317:
318: ac_subdirs_all="$ac_subdirs_all libltdl"
1.35 ! moko 319: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MYSQL_INC LDFLAGS CXX CXXFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBTOOL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP DLLTOOL ac_ct_DLLTOOL AR ac_ct_AR RANLIB ac_ct_RANLIB MANIFEST_TOOL ac_ct_MANIFEST_TOOL DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CXXCPP LIBLTDL LTDLDEPS LTDLINCL INCLTDL LIBADD_DL AS ac_ct_AS LT_DLLOADERS LIBADD_DLOPEN LIBADD_SHL_LOAD LIBADD_DLD_LINK LT_DLPREOPEN sys_symbol_underscore ARGZ_H INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE subdirs LT_CONFIG_H LTDLOPEN LIBOBJS LTLIBOBJS ltdl_LIBOBJS ltdl_LTLIBOBJS'
1.15 paf 320: ac_subst_files=''
1.1 parser 321:
322: # Initialize some variables set by options.
1.15 paf 323: ac_init_help=
324: ac_init_version=false
1.1 parser 325: # The variables have the same names as the options, with
326: # dashes changed to underlines.
1.15 paf 327: cache_file=/dev/null
1.1 parser 328: exec_prefix=NONE
329: no_create=
330: no_recursion=
331: prefix=NONE
332: program_prefix=NONE
333: program_suffix=NONE
334: program_transform_name=s,x,x,
335: silent=
336: site=
337: srcdir=
338: verbose=
339: x_includes=NONE
340: x_libraries=NONE
1.15 paf 341:
342: # Installation directory options.
343: # These are left unexpanded so users can "make install exec_prefix=/foo"
344: # and all the variables that are supposed to be based on exec_prefix
345: # by default will actually change.
346: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1 parser 347: bindir='${exec_prefix}/bin'
348: sbindir='${exec_prefix}/sbin'
349: libexecdir='${exec_prefix}/libexec'
350: datadir='${prefix}/share'
351: sysconfdir='${prefix}/etc'
352: sharedstatedir='${prefix}/com'
353: localstatedir='${prefix}/var'
354: libdir='${exec_prefix}/lib'
355: includedir='${prefix}/include'
356: oldincludedir='/usr/include'
357: infodir='${prefix}/info'
358: mandir='${prefix}/man'
359:
360: ac_prev=
361: for ac_option
362: do
363: # If the previous option needs an argument, assign it.
364: if test -n "$ac_prev"; then
365: eval "$ac_prev=\$ac_option"
366: ac_prev=
367: continue
368: fi
369:
1.15 paf 370: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1 parser 371:
372: # Accept the important Cygnus configure options, so we can diagnose typos.
373:
1.15 paf 374: case $ac_option in
1.1 parser 375:
376: -bindir | --bindir | --bindi | --bind | --bin | --bi)
377: ac_prev=bindir ;;
378: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.15 paf 379: bindir=$ac_optarg ;;
1.1 parser 380:
381: -build | --build | --buil | --bui | --bu)
1.15 paf 382: ac_prev=build_alias ;;
1.1 parser 383: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.15 paf 384: build_alias=$ac_optarg ;;
1.1 parser 385:
386: -cache-file | --cache-file | --cache-fil | --cache-fi \
387: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
388: ac_prev=cache_file ;;
389: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
390: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.15 paf 391: cache_file=$ac_optarg ;;
392:
393: --config-cache | -C)
394: cache_file=config.cache ;;
1.1 parser 395:
396: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
397: ac_prev=datadir ;;
398: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
399: | --da=*)
1.15 paf 400: datadir=$ac_optarg ;;
1.1 parser 401:
402: -disable-* | --disable-*)
1.15 paf 403: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 parser 404: # Reject names that are not valid shell variable names.
1.15 paf 405: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
407: { (exit 1); exit 1; }; }
408: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
409: eval "enable_$ac_feature=no" ;;
1.1 parser 410:
411: -enable-* | --enable-*)
1.15 paf 412: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 parser 413: # Reject names that are not valid shell variable names.
1.15 paf 414: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
415: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
416: { (exit 1); exit 1; }; }
417: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
418: case $ac_option in
419: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 parser 420: *) ac_optarg=yes ;;
421: esac
1.15 paf 422: eval "enable_$ac_feature='$ac_optarg'" ;;
1.1 parser 423:
424: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
425: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
426: | --exec | --exe | --ex)
427: ac_prev=exec_prefix ;;
428: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
429: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
430: | --exec=* | --exe=* | --ex=*)
1.15 paf 431: exec_prefix=$ac_optarg ;;
1.1 parser 432:
433: -gas | --gas | --ga | --g)
434: # Obsolete; use --with-gas.
435: with_gas=yes ;;
436:
1.15 paf 437: -help | --help | --hel | --he | -h)
438: ac_init_help=long ;;
439: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
440: ac_init_help=recursive ;;
441: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
442: ac_init_help=short ;;
1.1 parser 443:
444: -host | --host | --hos | --ho)
1.15 paf 445: ac_prev=host_alias ;;
1.1 parser 446: -host=* | --host=* | --hos=* | --ho=*)
1.15 paf 447: host_alias=$ac_optarg ;;
1.1 parser 448:
449: -includedir | --includedir | --includedi | --included | --include \
450: | --includ | --inclu | --incl | --inc)
451: ac_prev=includedir ;;
452: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
453: | --includ=* | --inclu=* | --incl=* | --inc=*)
1.15 paf 454: includedir=$ac_optarg ;;
1.1 parser 455:
456: -infodir | --infodir | --infodi | --infod | --info | --inf)
457: ac_prev=infodir ;;
458: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.15 paf 459: infodir=$ac_optarg ;;
1.1 parser 460:
461: -libdir | --libdir | --libdi | --libd)
462: ac_prev=libdir ;;
463: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.15 paf 464: libdir=$ac_optarg ;;
1.1 parser 465:
466: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
467: | --libexe | --libex | --libe)
468: ac_prev=libexecdir ;;
469: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
470: | --libexe=* | --libex=* | --libe=*)
1.15 paf 471: libexecdir=$ac_optarg ;;
1.1 parser 472:
473: -localstatedir | --localstatedir | --localstatedi | --localstated \
474: | --localstate | --localstat | --localsta | --localst \
475: | --locals | --local | --loca | --loc | --lo)
476: ac_prev=localstatedir ;;
477: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
478: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
479: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.15 paf 480: localstatedir=$ac_optarg ;;
1.1 parser 481:
482: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
483: ac_prev=mandir ;;
484: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.15 paf 485: mandir=$ac_optarg ;;
1.1 parser 486:
487: -nfp | --nfp | --nf)
488: # Obsolete; use --without-fp.
489: with_fp=no ;;
490:
491: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.15 paf 492: | --no-cr | --no-c | -n)
1.1 parser 493: no_create=yes ;;
494:
495: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
496: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
497: no_recursion=yes ;;
498:
499: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
500: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
501: | --oldin | --oldi | --old | --ol | --o)
502: ac_prev=oldincludedir ;;
503: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
504: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
505: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.15 paf 506: oldincludedir=$ac_optarg ;;
1.1 parser 507:
508: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
509: ac_prev=prefix ;;
510: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.15 paf 511: prefix=$ac_optarg ;;
1.1 parser 512:
513: -program-prefix | --program-prefix | --program-prefi | --program-pref \
514: | --program-pre | --program-pr | --program-p)
515: ac_prev=program_prefix ;;
516: -program-prefix=* | --program-prefix=* | --program-prefi=* \
517: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.15 paf 518: program_prefix=$ac_optarg ;;
1.1 parser 519:
520: -program-suffix | --program-suffix | --program-suffi | --program-suff \
521: | --program-suf | --program-su | --program-s)
522: ac_prev=program_suffix ;;
523: -program-suffix=* | --program-suffix=* | --program-suffi=* \
524: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.15 paf 525: program_suffix=$ac_optarg ;;
1.1 parser 526:
527: -program-transform-name | --program-transform-name \
528: | --program-transform-nam | --program-transform-na \
529: | --program-transform-n | --program-transform- \
530: | --program-transform | --program-transfor \
531: | --program-transfo | --program-transf \
532: | --program-trans | --program-tran \
533: | --progr-tra | --program-tr | --program-t)
534: ac_prev=program_transform_name ;;
535: -program-transform-name=* | --program-transform-name=* \
536: | --program-transform-nam=* | --program-transform-na=* \
537: | --program-transform-n=* | --program-transform-=* \
538: | --program-transform=* | --program-transfor=* \
539: | --program-transfo=* | --program-transf=* \
540: | --program-trans=* | --program-tran=* \
541: | --progr-tra=* | --program-tr=* | --program-t=*)
1.15 paf 542: program_transform_name=$ac_optarg ;;
1.1 parser 543:
544: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
545: | -silent | --silent | --silen | --sile | --sil)
546: silent=yes ;;
547:
548: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
549: ac_prev=sbindir ;;
550: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
551: | --sbi=* | --sb=*)
1.15 paf 552: sbindir=$ac_optarg ;;
1.1 parser 553:
554: -sharedstatedir | --sharedstatedir | --sharedstatedi \
555: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
556: | --sharedst | --shareds | --shared | --share | --shar \
557: | --sha | --sh)
558: ac_prev=sharedstatedir ;;
559: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
560: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
561: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
562: | --sha=* | --sh=*)
1.15 paf 563: sharedstatedir=$ac_optarg ;;
1.1 parser 564:
565: -site | --site | --sit)
566: ac_prev=site ;;
567: -site=* | --site=* | --sit=*)
1.15 paf 568: site=$ac_optarg ;;
1.1 parser 569:
570: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
571: ac_prev=srcdir ;;
572: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.15 paf 573: srcdir=$ac_optarg ;;
1.1 parser 574:
575: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
576: | --syscon | --sysco | --sysc | --sys | --sy)
577: ac_prev=sysconfdir ;;
578: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
579: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.15 paf 580: sysconfdir=$ac_optarg ;;
1.1 parser 581:
582: -target | --target | --targe | --targ | --tar | --ta | --t)
1.15 paf 583: ac_prev=target_alias ;;
1.1 parser 584: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.15 paf 585: target_alias=$ac_optarg ;;
1.1 parser 586:
587: -v | -verbose | --verbose | --verbos | --verbo | --verb)
588: verbose=yes ;;
589:
1.15 paf 590: -version | --version | --versio | --versi | --vers | -V)
591: ac_init_version=: ;;
1.1 parser 592:
593: -with-* | --with-*)
1.15 paf 594: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 parser 595: # Reject names that are not valid shell variable names.
1.15 paf 596: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
597: { echo "$as_me: error: invalid package name: $ac_package" >&2
598: { (exit 1); exit 1; }; }
1.1 parser 599: ac_package=`echo $ac_package| sed 's/-/_/g'`
1.15 paf 600: case $ac_option in
601: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 parser 602: *) ac_optarg=yes ;;
603: esac
1.15 paf 604: eval "with_$ac_package='$ac_optarg'" ;;
1.1 parser 605:
606: -without-* | --without-*)
1.15 paf 607: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 parser 608: # Reject names that are not valid shell variable names.
1.15 paf 609: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
610: { echo "$as_me: error: invalid package name: $ac_package" >&2
611: { (exit 1); exit 1; }; }
612: ac_package=`echo $ac_package | sed 's/-/_/g'`
613: eval "with_$ac_package=no" ;;
1.1 parser 614:
615: --x)
616: # Obsolete; use --with-x.
617: with_x=yes ;;
618:
619: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
620: | --x-incl | --x-inc | --x-in | --x-i)
621: ac_prev=x_includes ;;
622: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
623: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.15 paf 624: x_includes=$ac_optarg ;;
1.1 parser 625:
626: -x-libraries | --x-libraries | --x-librarie | --x-librari \
627: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
628: ac_prev=x_libraries ;;
629: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
630: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.15 paf 631: x_libraries=$ac_optarg ;;
1.1 parser 632:
1.15 paf 633: -*) { echo "$as_me: error: unrecognized option: $ac_option
634: Try \`$0 --help' for more information." >&2
635: { (exit 1); exit 1; }; }
1.1 parser 636: ;;
637:
1.15 paf 638: *=*)
639: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
640: # Reject names that are not valid shell variable names.
641: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
642: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
643: { (exit 1); exit 1; }; }
644: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
645: eval "$ac_envvar='$ac_optarg'"
646: export $ac_envvar ;;
647:
1.1 parser 648: *)
1.15 paf 649: # FIXME: should be removed in autoconf 3.0.
650: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
651: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
652: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
653: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1 parser 654: ;;
655:
656: esac
657: done
658:
659: if test -n "$ac_prev"; then
1.15 paf 660: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
661: { echo "$as_me: error: missing argument to $ac_option" >&2
662: { (exit 1); exit 1; }; }
1.1 parser 663: fi
664:
1.15 paf 665: # Be sure to have absolute paths.
666: for ac_var in exec_prefix prefix
667: do
668: eval ac_val=$`echo $ac_var`
669: case $ac_val in
670: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
671: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
672: { (exit 1); exit 1; }; };;
673: esac
674: done
1.1 parser 675:
1.15 paf 676: # Be sure to have absolute paths.
677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.25 paf 678: localstatedir libdir includedir oldincludedir infodir mandir
1.1 parser 679: do
1.15 paf 680: eval ac_val=$`echo $ac_var`
681: case $ac_val in
682: [\\/$]* | ?:[\\/]* ) ;;
683: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
684: { (exit 1); exit 1; }; };;
1.1 parser 685: esac
686: done
687:
1.15 paf 688: # There might be people who depend on the old broken behavior: `$host'
689: # used to hold the argument of --host etc.
690: # FIXME: To remove some day.
691: build=$build_alias
692: host=$host_alias
693: target=$target_alias
694:
695: # FIXME: To remove some day.
696: if test "x$host_alias" != x; then
697: if test "x$build_alias" = x; then
698: cross_compiling=maybe
699: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
700: If a cross compiler is detected then cross compile mode will be used." >&2
701: elif test "x$build_alias" != "x$host_alias"; then
702: cross_compiling=yes
703: fi
704: fi
705:
706: ac_tool_prefix=
707: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1 parser 708:
1.15 paf 709: test "$silent" = yes && exec 6>/dev/null
1.1 parser 710:
711:
712: # Find the source files, if location was not specified.
713: if test -z "$srcdir"; then
714: ac_srcdir_defaulted=yes
715: # Try the directory containing this script, then its parent.
1.15 paf 716: ac_confdir=`(dirname "$0") 2>/dev/null ||
717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.25 paf 718: X"$0" : 'X\(//\)[^/]' \| \
719: X"$0" : 'X\(//\)$' \| \
720: X"$0" : 'X\(/\)' \| \
721: . : '\(.\)' 2>/dev/null ||
1.15 paf 722: echo X"$0" |
723: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
724: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
725: /^X\(\/\/\)$/{ s//\1/; q; }
726: /^X\(\/\).*/{ s//\1/; q; }
727: s/.*/./; q'`
1.1 parser 728: srcdir=$ac_confdir
729: if test ! -r $srcdir/$ac_unique_file; then
730: srcdir=..
731: fi
732: else
733: ac_srcdir_defaulted=no
734: fi
735: if test ! -r $srcdir/$ac_unique_file; then
736: if test "$ac_srcdir_defaulted" = yes; then
1.15 paf 737: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
738: { (exit 1); exit 1; }; }
1.1 parser 739: else
1.15 paf 740: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
741: { (exit 1); exit 1; }; }
1.1 parser 742: fi
743: fi
1.15 paf 744: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
745: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
746: { (exit 1); exit 1; }; }
747: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
748: ac_env_build_alias_set=${build_alias+set}
749: ac_env_build_alias_value=$build_alias
750: ac_cv_env_build_alias_set=${build_alias+set}
751: ac_cv_env_build_alias_value=$build_alias
752: ac_env_host_alias_set=${host_alias+set}
753: ac_env_host_alias_value=$host_alias
754: ac_cv_env_host_alias_set=${host_alias+set}
755: ac_cv_env_host_alias_value=$host_alias
756: ac_env_target_alias_set=${target_alias+set}
757: ac_env_target_alias_value=$target_alias
758: ac_cv_env_target_alias_set=${target_alias+set}
759: ac_cv_env_target_alias_value=$target_alias
760: ac_env_CXX_set=${CXX+set}
761: ac_env_CXX_value=$CXX
762: ac_cv_env_CXX_set=${CXX+set}
763: ac_cv_env_CXX_value=$CXX
764: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
765: ac_env_CXXFLAGS_value=$CXXFLAGS
766: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
767: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
768: ac_env_LDFLAGS_set=${LDFLAGS+set}
769: ac_env_LDFLAGS_value=$LDFLAGS
770: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
771: ac_cv_env_LDFLAGS_value=$LDFLAGS
772: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
773: ac_env_CPPFLAGS_value=$CPPFLAGS
774: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
775: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
776: ac_env_CC_set=${CC+set}
777: ac_env_CC_value=$CC
778: ac_cv_env_CC_set=${CC+set}
779: ac_cv_env_CC_value=$CC
780: ac_env_CFLAGS_set=${CFLAGS+set}
781: ac_env_CFLAGS_value=$CFLAGS
782: ac_cv_env_CFLAGS_set=${CFLAGS+set}
783: ac_cv_env_CFLAGS_value=$CFLAGS
1.24 paf 784: ac_env_CPP_set=${CPP+set}
785: ac_env_CPP_value=$CPP
786: ac_cv_env_CPP_set=${CPP+set}
787: ac_cv_env_CPP_value=$CPP
1.35 ! moko 788: ac_env_CXXCPP_set=${CXXCPP+set}
! 789: ac_env_CXXCPP_value=$CXXCPP
! 790: ac_cv_env_CXXCPP_set=${CXXCPP+set}
! 791: ac_cv_env_CXXCPP_value=$CXXCPP
1.15 paf 792:
793: #
794: # Report the --help message.
795: #
796: if test "$ac_init_help" = "long"; then
797: # Omit some internal or obsolete options to make the list less imposing.
798: # This message is too long to be a string in the A/UX 3.1 sh.
799: cat <<_ACEOF
800: \`configure' configures this package to adapt to many kinds of systems.
801:
802: Usage: $0 [OPTION]... [VAR=VALUE]...
803:
804: To assign environment variables (e.g., CC, CFLAGS...), specify them as
805: VAR=VALUE. See below for descriptions of some of the useful variables.
806:
807: Defaults for the options are specified in brackets.
808:
809: Configuration:
810: -h, --help display this help and exit
811: --help=short display options specific to this package
812: --help=recursive display the short help of all the included packages
813: -V, --version display version information and exit
814: -q, --quiet, --silent do not print \`checking...' messages
815: --cache-file=FILE cache test results in FILE [disabled]
816: -C, --config-cache alias for \`--cache-file=config.cache'
817: -n, --no-create do not create output files
818: --srcdir=DIR find the sources in DIR [configure dir or \`..']
819:
820: _ACEOF
821:
822: cat <<_ACEOF
823: Installation directories:
824: --prefix=PREFIX install architecture-independent files in PREFIX
1.25 paf 825: [$ac_default_prefix]
1.15 paf 826: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.25 paf 827: [PREFIX]
1.15 paf 828:
829: By default, \`make install' will install all the files in
830: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
831: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
832: for instance \`--prefix=\$HOME'.
833:
834: For better control, use the options below.
835:
836: Fine tuning of the installation directories:
837: --bindir=DIR user executables [EPREFIX/bin]
838: --sbindir=DIR system admin executables [EPREFIX/sbin]
839: --libexecdir=DIR program executables [EPREFIX/libexec]
840: --datadir=DIR read-only architecture-independent data [PREFIX/share]
841: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
842: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
843: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
844: --libdir=DIR object code libraries [EPREFIX/lib]
845: --includedir=DIR C header files [PREFIX/include]
846: --oldincludedir=DIR C header files for non-gcc [/usr/include]
847: --infodir=DIR info documentation [PREFIX/info]
848: --mandir=DIR man documentation [PREFIX/man]
849: _ACEOF
850:
851: cat <<\_ACEOF
852:
853: Program names:
854: --program-prefix=PREFIX prepend PREFIX to installed program names
855: --program-suffix=SUFFIX append SUFFIX to installed program names
856: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
857:
858: System types:
859: --build=BUILD configure for building on BUILD [guessed]
860: --host=HOST cross-compile to build programs to run on HOST [BUILD]
861: _ACEOF
862: fi
863:
864: if test -n "$ac_init_help"; then
865:
866: cat <<\_ACEOF
867:
868: Optional Features:
869: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
870: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.25 paf 871: --disable-dependency-tracking speeds up one-time build
872: --enable-dependency-tracking do not reject slow dependency extractors
1.35 ! moko 873: --enable-shared[=PKGS]
! 874: build shared libraries [default=yes]
! 875: --enable-static[=PKGS]
! 876: build static libraries [default=yes]
! 877: --enable-fast-install[=PKGS]
! 878: optimize for fast installation [default=yes]
1.15 paf 879: --disable-libtool-lock avoid locking (might break parallel builds)
1.35 ! moko 880: --enable-ltdl-install install libltdl
1.15 paf 881:
882: Optional Packages:
883: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
884: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
885: --with-mysql-inc=DIR DIR is the MySQL includes directory
1.33 misha 886: --with-dynamic-stdcpp link libstdc++ dynamically
887: by default, libstdc++ is linked statically
1.35 ! moko 888: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
! 889: both]
! 890: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 891: --with-sysroot=DIR Search for dependent libraries within DIR
! 892: (or the compiler's sysroot if not specified).
! 893: --with-included-ltdl use the GNU ltdl sources included here
! 894: --with-ltdl-include=DIR use the ltdl headers installed in DIR
! 895: --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1.15 paf 896:
897: Some influential environment variables:
898: CXX C++ compiler command
899: CXXFLAGS C++ compiler flags
900: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
901: nonstandard directory <lib dir>
902: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
903: headers in a nonstandard directory <include dir>
904: CC C compiler command
905: CFLAGS C compiler flags
1.24 paf 906: CPP C preprocessor
1.35 ! moko 907: CXXCPP C++ preprocessor
1.15 paf 908:
909: Use these variables to override the choices made by `configure' or to help
910: it to find libraries and programs with nonstandard names/locations.
911:
912: _ACEOF
913: fi
914:
915: if test "$ac_init_help" = "recursive"; then
916: # If there are subdirs, report their specific --help.
917: ac_popdir=`pwd`
918: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
919: test -d $ac_dir || continue
920: ac_builddir=.
921:
922: if test "$ac_dir" != .; then
923: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
924: # A "../" for each directory in $ac_dir_suffix.
925: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
926: else
927: ac_dir_suffix= ac_top_builddir=
928: fi
929:
930: case $srcdir in
931: .) # No --srcdir option. We are building in place.
932: ac_srcdir=.
933: if test -z "$ac_top_builddir"; then
934: ac_top_srcdir=.
935: else
936: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
937: fi ;;
938: [\\/]* | ?:[\\/]* ) # Absolute path.
939: ac_srcdir=$srcdir$ac_dir_suffix;
940: ac_top_srcdir=$srcdir ;;
941: *) # Relative path.
942: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
943: ac_top_srcdir=$ac_top_builddir$srcdir ;;
944: esac
1.25 paf 945:
946: # Do not use `cd foo && pwd` to compute absolute paths, because
947: # the directories may not exist.
948: case `pwd` in
949: .) ac_abs_builddir="$ac_dir";;
950: *)
951: case "$ac_dir" in
952: .) ac_abs_builddir=`pwd`;;
953: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
954: *) ac_abs_builddir=`pwd`/"$ac_dir";;
955: esac;;
956: esac
957: case $ac_abs_builddir in
958: .) ac_abs_top_builddir=${ac_top_builddir}.;;
959: *)
960: case ${ac_top_builddir}. in
961: .) ac_abs_top_builddir=$ac_abs_builddir;;
962: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
963: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
964: esac;;
965: esac
966: case $ac_abs_builddir in
967: .) ac_abs_srcdir=$ac_srcdir;;
968: *)
969: case $ac_srcdir in
970: .) ac_abs_srcdir=$ac_abs_builddir;;
971: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
972: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
973: esac;;
974: esac
975: case $ac_abs_builddir in
976: .) ac_abs_top_srcdir=$ac_top_srcdir;;
977: *)
978: case $ac_top_srcdir in
979: .) ac_abs_top_srcdir=$ac_abs_builddir;;
980: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
981: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
982: esac;;
983: esac
1.15 paf 984:
985: cd $ac_dir
986: # Check for guested configure; otherwise get Cygnus style configure.
987: if test -f $ac_srcdir/configure.gnu; then
988: echo
989: $SHELL $ac_srcdir/configure.gnu --help=recursive
990: elif test -f $ac_srcdir/configure; then
991: echo
992: $SHELL $ac_srcdir/configure --help=recursive
993: elif test -f $ac_srcdir/configure.ac ||
1.25 paf 994: test -f $ac_srcdir/configure.in; then
1.15 paf 995: echo
996: $ac_configure --help
997: else
998: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
999: fi
1000: cd $ac_popdir
1001: done
1002: fi
1003:
1004: test -n "$ac_init_help" && exit 0
1005: if $ac_init_version; then
1006: cat <<\_ACEOF
1007:
1.25 paf 1008: Copyright (C) 2003 Free Software Foundation, Inc.
1.15 paf 1009: This configure script is free software; the Free Software Foundation
1010: gives unlimited permission to copy, distribute and modify it.
1011: _ACEOF
1012: exit 0
1013: fi
1014: exec 5>config.log
1015: cat >&5 <<_ACEOF
1016: This file contains any messages produced by compilers while
1017: running configure, to aid debugging if configure makes a mistake.
1018:
1019: It was created by $as_me, which was
1.25 paf 1020: generated by GNU Autoconf 2.59. Invocation command line was
1.15 paf 1021:
1022: $ $0 $@
1023:
1024: _ACEOF
1025: {
1026: cat <<_ASUNAME
1027: ## --------- ##
1028: ## Platform. ##
1029: ## --------- ##
1030:
1031: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1032: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1033: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1034: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1035: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1036:
1037: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1038: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1039:
1040: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1041: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1042: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1043: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1044: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1045: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1046: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1047:
1048: _ASUNAME
1049:
1050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1051: for as_dir in $PATH
1052: do
1053: IFS=$as_save_IFS
1054: test -z "$as_dir" && as_dir=.
1055: echo "PATH: $as_dir"
1056: done
1057:
1058: } >&5
1059:
1060: cat >&5 <<_ACEOF
1061:
1062:
1063: ## ----------- ##
1064: ## Core tests. ##
1065: ## ----------- ##
1066:
1067: _ACEOF
1068:
1069:
1070: # Keep a trace of the command line.
1071: # Strip out --no-create and --no-recursion so they do not pile up.
1072: # Strip out --silent because we don't want to record it for future runs.
1073: # Also quote any args containing shell meta-characters.
1074: # Make two passes to allow for proper duplicate-argument suppression.
1075: ac_configure_args=
1076: ac_configure_args0=
1077: ac_configure_args1=
1078: ac_sep=
1079: ac_must_keep_next=false
1080: for ac_pass in 1 2
1081: do
1082: for ac_arg
1083: do
1084: case $ac_arg in
1085: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1086: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1087: | -silent | --silent | --silen | --sile | --sil)
1088: continue ;;
1089: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1090: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1091: esac
1092: case $ac_pass in
1093: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1094: 2)
1095: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1096: if test $ac_must_keep_next = true; then
1.25 paf 1097: ac_must_keep_next=false # Got value, back to normal.
1.15 paf 1098: else
1.25 paf 1099: case $ac_arg in
1100: *=* | --config-cache | -C | -disable-* | --disable-* \
1101: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1102: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1103: | -with-* | --with-* | -without-* | --without-* | --x)
1104: case "$ac_configure_args0 " in
1105: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1106: esac
1107: ;;
1108: -* ) ac_must_keep_next=true ;;
1109: esac
1.15 paf 1110: fi
1111: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1112: # Get rid of the leading space.
1113: ac_sep=" "
1114: ;;
1115: esac
1116: done
1117: done
1118: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1119: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1120:
1121: # When interrupted or exit'd, cleanup temporary files, and complete
1122: # config.log. We remove comments because anyway the quotes in there
1123: # would cause problems or look ugly.
1124: # WARNING: Be sure not to use single quotes in there, as some shells,
1125: # such as our DU 5.0 friend, will then `close' the trap.
1126: trap 'exit_status=$?
1127: # Save into config.log some information that might help in debugging.
1128: {
1129: echo
1130:
1131: cat <<\_ASBOX
1132: ## ---------------- ##
1133: ## Cache variables. ##
1134: ## ---------------- ##
1135: _ASBOX
1136: echo
1137: # The following way of writing the cache mishandles newlines in values,
1138: {
1139: (set) 2>&1 |
1140: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1141: *ac_space=\ *)
1142: sed -n \
1.25 paf 1143: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1144: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.15 paf 1145: ;;
1146: *)
1147: sed -n \
1.25 paf 1148: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.15 paf 1149: ;;
1150: esac;
1151: }
1152: echo
1153:
1154: cat <<\_ASBOX
1155: ## ----------------- ##
1156: ## Output variables. ##
1157: ## ----------------- ##
1158: _ASBOX
1159: echo
1160: for ac_var in $ac_subst_vars
1161: do
1162: eval ac_val=$`echo $ac_var`
1163: echo "$ac_var='"'"'$ac_val'"'"'"
1164: done | sort
1165: echo
1166:
1167: if test -n "$ac_subst_files"; then
1168: cat <<\_ASBOX
1169: ## ------------- ##
1170: ## Output files. ##
1171: ## ------------- ##
1172: _ASBOX
1173: echo
1174: for ac_var in $ac_subst_files
1175: do
1176: eval ac_val=$`echo $ac_var`
1.25 paf 1177: echo "$ac_var='"'"'$ac_val'"'"'"
1.15 paf 1178: done | sort
1179: echo
1180: fi
1181:
1182: if test -s confdefs.h; then
1183: cat <<\_ASBOX
1184: ## ----------- ##
1185: ## confdefs.h. ##
1186: ## ----------- ##
1187: _ASBOX
1188: echo
1189: sed "/^$/d" confdefs.h | sort
1190: echo
1191: fi
1192: test "$ac_signal" != 0 &&
1193: echo "$as_me: caught signal $ac_signal"
1194: echo "$as_me: exit $exit_status"
1195: } >&5
1.25 paf 1196: rm -f core *.core &&
1.15 paf 1197: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1198: exit $exit_status
1199: ' 0
1200: for ac_signal in 1 2 13 15; do
1201: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1202: done
1203: ac_signal=0
1204:
1205: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1206: rm -rf conftest* confdefs.h
1207: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1208: echo >confdefs.h
1209:
1210: # Predefined preprocessor variables.
1211:
1212: cat >>confdefs.h <<_ACEOF
1213: #define PACKAGE_NAME "$PACKAGE_NAME"
1214: _ACEOF
1215:
1216:
1217: cat >>confdefs.h <<_ACEOF
1218: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1219: _ACEOF
1220:
1221:
1222: cat >>confdefs.h <<_ACEOF
1223: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1224: _ACEOF
1.1 parser 1225:
1.15 paf 1226:
1227: cat >>confdefs.h <<_ACEOF
1228: #define PACKAGE_STRING "$PACKAGE_STRING"
1229: _ACEOF
1230:
1231:
1232: cat >>confdefs.h <<_ACEOF
1233: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1234: _ACEOF
1235:
1236:
1237: # Let the site file select an alternate cache file if it wants to.
1.1 parser 1238: # Prefer explicitly selected file to automatically selected ones.
1239: if test -z "$CONFIG_SITE"; then
1240: if test "x$prefix" != xNONE; then
1241: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1242: else
1243: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1244: fi
1245: fi
1246: for ac_site_file in $CONFIG_SITE; do
1247: if test -r "$ac_site_file"; then
1.15 paf 1248: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1249: echo "$as_me: loading site script $ac_site_file" >&6;}
1250: sed 's/^/| /' "$ac_site_file" >&5
1.1 parser 1251: . "$ac_site_file"
1252: fi
1253: done
1254:
1255: if test -r "$cache_file"; then
1.15 paf 1256: # Some versions of bash will fail to source /dev/null (special
1257: # files actually), so we avoid doing that.
1258: if test -f "$cache_file"; then
1259: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1260: echo "$as_me: loading cache $cache_file" >&6;}
1261: case $cache_file in
1262: [\\/]* | ?:[\\/]* ) . $cache_file;;
1263: *) . ./$cache_file;;
1264: esac
1265: fi
1.1 parser 1266: else
1.15 paf 1267: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1268: echo "$as_me: creating cache $cache_file" >&6;}
1269: >$cache_file
1270: fi
1271:
1272: # Check that the precious variables saved in the cache have kept the same
1273: # value.
1274: ac_cache_corrupted=false
1275: for ac_var in `(set) 2>&1 |
1.25 paf 1276: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.15 paf 1277: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1278: eval ac_new_set=\$ac_env_${ac_var}_set
1279: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1280: eval ac_new_val="\$ac_env_${ac_var}_value"
1281: case $ac_old_set,$ac_new_set in
1282: set,)
1283: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1284: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1285: ac_cache_corrupted=: ;;
1286: ,set)
1287: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1288: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1289: ac_cache_corrupted=: ;;
1290: ,);;
1291: *)
1292: if test "x$ac_old_val" != "x$ac_new_val"; then
1.25 paf 1293: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.15 paf 1294: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.25 paf 1295: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.15 paf 1296: echo "$as_me: former value: $ac_old_val" >&2;}
1.25 paf 1297: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.15 paf 1298: echo "$as_me: current value: $ac_new_val" >&2;}
1.25 paf 1299: ac_cache_corrupted=:
1.15 paf 1300: fi;;
1301: esac
1302: # Pass precious variables to config.status.
1303: if test "$ac_new_set" = set; then
1304: case $ac_new_val in
1305: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1307: *) ac_arg=$ac_var=$ac_new_val ;;
1308: esac
1309: case " $ac_configure_args " in
1310: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1311: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1312: esac
1313: fi
1314: done
1315: if $ac_cache_corrupted; then
1316: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1317: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1318: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1319: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1320: { (exit 1); exit 1; }; }
1.1 parser 1321: fi
1322:
1323: ac_ext=c
1324: ac_cpp='$CPP $CPPFLAGS'
1.15 paf 1325: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328:
1329:
1330:
1331:
1332:
1333:
1334:
1335:
1336:
1337:
1338:
1339:
1340:
1341:
1342:
1343:
1344:
1345:
1346:
1.1 parser 1347:
1348:
1.25 paf 1349: am__api_version="1.9"
1.1 parser 1350: ac_aux_dir=
1351: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1352: if test -f $ac_dir/install-sh; then
1353: ac_aux_dir=$ac_dir
1354: ac_install_sh="$ac_aux_dir/install-sh -c"
1355: break
1356: elif test -f $ac_dir/install.sh; then
1357: ac_aux_dir=$ac_dir
1358: ac_install_sh="$ac_aux_dir/install.sh -c"
1359: break
1.15 paf 1360: elif test -f $ac_dir/shtool; then
1361: ac_aux_dir=$ac_dir
1362: ac_install_sh="$ac_aux_dir/shtool install -c"
1363: break
1.1 parser 1364: fi
1365: done
1366: if test -z "$ac_aux_dir"; then
1.15 paf 1367: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1368: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1369: { (exit 1); exit 1; }; }
1370: fi
1371: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1372: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1373: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1 parser 1374:
1375: # Find a good install program. We prefer a C program (faster),
1376: # so one script is as good as another. But avoid the broken or
1377: # incompatible versions:
1378: # SysV /etc/install, /usr/sbin/install
1379: # SunOS /usr/etc/install
1380: # IRIX /sbin/install
1381: # AIX /bin/install
1.15 paf 1382: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 1383: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1384: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1385: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.25 paf 1386: # OS/2's system install, which has a completely different semantic
1.1 parser 1387: # ./install, which can be erroneously created by make from ./install.sh.
1.15 paf 1388: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1389: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 parser 1390: if test -z "$INSTALL"; then
1.15 paf 1391: if test "${ac_cv_path_install+set}" = set; then
1392: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1393: else
1.15 paf 1394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395: for as_dir in $PATH
1396: do
1397: IFS=$as_save_IFS
1398: test -z "$as_dir" && as_dir=.
1399: # Account for people who put trailing slashes in PATH elements.
1400: case $as_dir/ in
1401: ./ | .// | /cC/* | \
1402: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.25 paf 1403: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.15 paf 1404: /usr/ucb/* ) ;;
1405: *)
1406: # OSF1 and SCO ODT 3.0 have their own names for install.
1407: # Don't use installbsd from OSF since it installs stuff as root
1408: # by default.
1409: for ac_prog in ginstall scoinst install; do
1410: for ac_exec_ext in '' $ac_executable_extensions; do
1.25 paf 1411: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1412: if test $ac_prog = install &&
1413: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1414: # AIX install. It has an incompatible calling convention.
1415: :
1416: elif test $ac_prog = install &&
1417: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1418: # program-specific install script used by HP pwplus--don't use.
1419: :
1420: else
1421: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1422: break 3
1423: fi
1424: fi
1.1 parser 1425: done
1.15 paf 1426: done
1427: ;;
1428: esac
1429: done
1430:
1.1 parser 1431:
1432: fi
1433: if test "${ac_cv_path_install+set}" = set; then
1.15 paf 1434: INSTALL=$ac_cv_path_install
1.1 parser 1435: else
1436: # As a last resort, use the slow shell script. We don't cache a
1437: # path for INSTALL within a source directory, because that will
1438: # break other packages using the cache if that directory is
1439: # removed, or if the path is relative.
1.15 paf 1440: INSTALL=$ac_install_sh
1.1 parser 1441: fi
1442: fi
1.15 paf 1443: echo "$as_me:$LINENO: result: $INSTALL" >&5
1444: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 1445:
1446: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1447: # It thinks the first close brace ends the variable substitution.
1448: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1449:
1.15 paf 1450: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1451:
1452: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1453:
1.15 paf 1454: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1455: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1 parser 1456: # Just in case
1457: sleep 1
1.15 paf 1458: echo timestamp > conftest.file
1.1 parser 1459: # Do `set' in a subshell so we don't clobber the current shell's
1460: # arguments. Must try -L first in case configure is actually a
1461: # symlink; some systems play weird games with the mod time of symlinks
1462: # (eg FreeBSD returns the mod time of the symlink's containing
1463: # directory).
1464: if (
1.15 paf 1465: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 parser 1466: if test "$*" = "X"; then
1467: # -L didn't work.
1.15 paf 1468: set X `ls -t $srcdir/configure conftest.file`
1.1 parser 1469: fi
1.15 paf 1470: rm -f conftest.file
1471: if test "$*" != "X $srcdir/configure conftest.file" \
1472: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 parser 1473:
1474: # If neither matched, then we have a broken ls. This can happen
1475: # if, for instance, CONFIG_SHELL is bash and it inherits a
1476: # broken ls alias from the environment. This has actually
1477: # happened. Such a system could not be considered "sane".
1.15 paf 1478: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1479: alias in your environment" >&5
1480: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1481: alias in your environment" >&2;}
1482: { (exit 1); exit 1; }; }
1.1 parser 1483: fi
1484:
1.15 paf 1485: test "$2" = conftest.file
1.1 parser 1486: )
1487: then
1488: # Ok.
1489: :
1490: else
1.15 paf 1491: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1492: Check your system clock" >&5
1493: echo "$as_me: error: newly created file is older than distributed files!
1494: Check your system clock" >&2;}
1495: { (exit 1); exit 1; }; }
1.1 parser 1496: fi
1.15 paf 1497: echo "$as_me:$LINENO: result: yes" >&5
1498: echo "${ECHO_T}yes" >&6
1.1 parser 1499: test "$program_prefix" != NONE &&
1.15 paf 1500: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 parser 1501: # Use a double $ so make ignores it.
1502: test "$program_suffix" != NONE &&
1.15 paf 1503: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1504: # Double any \ or $. echo might interpret backslashes.
1505: # By default was `s,x,x', remove it if useless.
1506: cat <<\_ACEOF >conftest.sed
1507: s/[\\$]/&&/g;s/;s,x,x,$//
1508: _ACEOF
1509: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1510: rm conftest.sed
1511:
1512: # expand $ac_aux_dir to an absolute path
1513: am_aux_dir=`cd $ac_aux_dir && pwd`
1514:
1515: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1516: # Use eval to expand $SHELL
1517: if eval "$MISSING --run true"; then
1518: am_missing_run="$MISSING --run "
1519: else
1520: am_missing_run=
1521: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1522: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1523: fi
1524:
1.25 paf 1525: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1526: # We used to keeping the `.' as first argument, in order to
1527: # allow $(mkdir_p) to be used without argument. As in
1528: # $(mkdir_p) $(somedir)
1529: # where $(somedir) is conditionally defined. However this is wrong
1530: # for two reasons:
1531: # 1. if the package is installed by a user who cannot write `.'
1532: # make install will fail,
1533: # 2. the above comment should most certainly read
1534: # $(mkdir_p) $(DESTDIR)$(somedir)
1535: # so it does not work when $(somedir) is undefined and
1536: # $(DESTDIR) is not.
1537: # To support the latter case, we have to write
1538: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1539: # so the `.' trick is pointless.
1540: mkdir_p='mkdir -p --'
1541: else
1542: # On NextStep and OpenStep, the `mkdir' command does not
1543: # recognize any option. It will interpret all options as
1544: # directories to create, and then abort because `.' already
1545: # exists.
1546: for d in ./-p ./--version;
1547: do
1548: test -d $d && rmdir $d
1549: done
1550: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1551: if test -f "$ac_aux_dir/mkinstalldirs"; then
1552: mkdir_p='$(mkinstalldirs)'
1553: else
1554: mkdir_p='$(install_sh) -d'
1555: fi
1556: fi
1557:
1.15 paf 1558: for ac_prog in gawk mawk nawk awk
1559: do
1560: # Extract the first word of "$ac_prog", so it can be a program name with args.
1561: set dummy $ac_prog; ac_word=$2
1562: echo "$as_me:$LINENO: checking for $ac_word" >&5
1563: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564: if test "${ac_cv_prog_AWK+set}" = set; then
1565: echo $ECHO_N "(cached) $ECHO_C" >&6
1566: else
1567: if test -n "$AWK"; then
1568: ac_cv_prog_AWK="$AWK" # Let the user override the test.
1569: else
1570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571: for as_dir in $PATH
1572: do
1573: IFS=$as_save_IFS
1574: test -z "$as_dir" && as_dir=.
1575: for ac_exec_ext in '' $ac_executable_extensions; do
1576: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577: ac_cv_prog_AWK="$ac_prog"
1578: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579: break 2
1580: fi
1581: done
1582: done
1583:
1584: fi
1585: fi
1586: AWK=$ac_cv_prog_AWK
1587: if test -n "$AWK"; then
1588: echo "$as_me:$LINENO: result: $AWK" >&5
1589: echo "${ECHO_T}$AWK" >&6
1590: else
1591: echo "$as_me:$LINENO: result: no" >&5
1592: echo "${ECHO_T}no" >&6
1593: fi
1.1 parser 1594:
1.15 paf 1595: test -n "$AWK" && break
1596: done
1.1 parser 1597:
1.15 paf 1598: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1599: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.25 paf 1600: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.15 paf 1601: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1602: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1603: else
1.15 paf 1604: cat >conftest.make <<\_ACEOF
1.1 parser 1605: all:
1.15 paf 1606: @echo 'ac_maketemp="$(MAKE)"'
1607: _ACEOF
1.1 parser 1608: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.15 paf 1609: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 parser 1610: if test -n "$ac_maketemp"; then
1611: eval ac_cv_prog_make_${ac_make}_set=yes
1612: else
1613: eval ac_cv_prog_make_${ac_make}_set=no
1614: fi
1.15 paf 1615: rm -f conftest.make
1.1 parser 1616: fi
1617: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.15 paf 1618: echo "$as_me:$LINENO: result: yes" >&5
1619: echo "${ECHO_T}yes" >&6
1.1 parser 1620: SET_MAKE=
1621: else
1.15 paf 1622: echo "$as_me:$LINENO: result: no" >&5
1623: echo "${ECHO_T}no" >&6
1.1 parser 1624: SET_MAKE="MAKE=${MAKE-make}"
1625: fi
1626:
1.25 paf 1627: rm -rf .tst 2>/dev/null
1628: mkdir .tst 2>/dev/null
1629: if test -d .tst; then
1630: am__leading_dot=.
1631: else
1632: am__leading_dot=_
1633: fi
1634: rmdir .tst 2>/dev/null
1635:
1636: # test to see if srcdir already configured
1.15 paf 1637: if test "`cd $srcdir && pwd`" != "`pwd`" &&
1638: test -f $srcdir/config.status; then
1639: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1640: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1641: { (exit 1); exit 1; }; }
1642: fi
1643:
1644: # test whether we have cygpath
1645: if test -z "$CYGPATH_W"; then
1646: if (cygpath --version) >/dev/null 2>/dev/null; then
1647: CYGPATH_W='cygpath -w'
1648: else
1649: CYGPATH_W=echo
1650: fi
1651: fi
1652:
1653:
1654: # Define the identity of the package.
1655: PACKAGE=parser3mysql
1.35 ! moko 1656: VERSION=10.3
1.15 paf 1657:
1658:
1659: # Some tools Automake needs.
1660:
1661: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1662:
1663:
1664: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1 parser 1665:
1666:
1.15 paf 1667: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1668:
1669:
1670: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1671:
1672:
1673: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 parser 1674:
1.15 paf 1675: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1 parser 1676:
1.15 paf 1677: # Installed binaries are usually stripped using `strip' when the user
1678: # run `make install-strip'. However `strip' might not be the right
1679: # tool to use in cross-compilation environments, therefore Automake
1680: # will honor the `STRIP' environment variable to overrule this program.
1681: if test "$cross_compiling" != no; then
1682: if test -n "$ac_tool_prefix"; then
1683: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1684: set dummy ${ac_tool_prefix}strip; ac_word=$2
1685: echo "$as_me:$LINENO: checking for $ac_word" >&5
1686: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1687: if test "${ac_cv_prog_STRIP+set}" = set; then
1688: echo $ECHO_N "(cached) $ECHO_C" >&6
1689: else
1690: if test -n "$STRIP"; then
1691: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1 parser 1692: else
1.15 paf 1693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1694: for as_dir in $PATH
1695: do
1696: IFS=$as_save_IFS
1697: test -z "$as_dir" && as_dir=.
1698: for ac_exec_ext in '' $ac_executable_extensions; do
1699: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1700: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1701: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702: break 2
1703: fi
1704: done
1705: done
1706:
1707: fi
1708: fi
1709: STRIP=$ac_cv_prog_STRIP
1710: if test -n "$STRIP"; then
1711: echo "$as_me:$LINENO: result: $STRIP" >&5
1712: echo "${ECHO_T}$STRIP" >&6
1713: else
1714: echo "$as_me:$LINENO: result: no" >&5
1715: echo "${ECHO_T}no" >&6
1.1 parser 1716: fi
1717:
1.15 paf 1718: fi
1719: if test -z "$ac_cv_prog_STRIP"; then
1720: ac_ct_STRIP=$STRIP
1721: # Extract the first word of "strip", so it can be a program name with args.
1722: set dummy strip; ac_word=$2
1723: echo "$as_me:$LINENO: checking for $ac_word" >&5
1724: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1725: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1726: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1727: else
1.15 paf 1728: if test -n "$ac_ct_STRIP"; then
1729: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1730: else
1731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732: for as_dir in $PATH
1733: do
1734: IFS=$as_save_IFS
1735: test -z "$as_dir" && as_dir=.
1736: for ac_exec_ext in '' $ac_executable_extensions; do
1737: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1738: ac_cv_prog_ac_ct_STRIP="strip"
1739: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1740: break 2
1741: fi
1742: done
1743: done
1744:
1745: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1 parser 1746: fi
1.15 paf 1747: fi
1748: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1749: if test -n "$ac_ct_STRIP"; then
1750: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1751: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1 parser 1752: else
1.15 paf 1753: echo "$as_me:$LINENO: result: no" >&5
1754: echo "${ECHO_T}no" >&6
1.1 parser 1755: fi
1756:
1.15 paf 1757: STRIP=$ac_ct_STRIP
1.1 parser 1758: else
1.15 paf 1759: STRIP="$ac_cv_prog_STRIP"
1.1 parser 1760: fi
1761:
1762: fi
1.15 paf 1763: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1764:
1765: # We need awk for the "check" target. The system "awk" is bad on
1766: # some platforms.
1.25 paf 1767: # Always define AMTAR for backward compatibility.
1768:
1769: AMTAR=${AMTAR-"${am_missing_run}tar"}
1770:
1771: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1772:
1773:
1.1 parser 1774:
1775:
1776:
1777:
1.15 paf 1778: ac_config_headers="$ac_config_headers config_auto.h"
1779:
1.1 parser 1780:
1781:
1782:
1783:
1.8 paf 1784:
1.4 paf 1785: # Check whether --with-mysql-inc or --without-mysql-inc was given.
1.1 parser 1786: if test "${with_mysql_inc+set}" = set; then
1787: withval="$with_mysql_inc"
1.15 paf 1788:
1.8 paf 1789: if test -r "$withval/mysql.h"; then
1790: MYSQL_INC=$withval
1791: fi
1792:
1793:
1.33 misha 1794: if test -z "$MYSQL_INC"; then
1.15 paf 1795: { { echo "$as_me:$LINENO: error: $MYSQL_INC does not seem to be valid MySQL includes directory" >&5
1796: echo "$as_me: error: $MYSQL_INC does not seem to be valid MySQL includes directory" >&2;}
1797: { (exit 1); exit 1; }; }
1.33 misha 1798: fi
1.8 paf 1799:
1.1 parser 1800: else
1.15 paf 1801: echo "$as_me:$LINENO: checking for MYSQL_INC directory" >&5
1802: echo $ECHO_N "checking for MYSQL_INC directory... $ECHO_C" >&6
1.8 paf 1803: for d in \
1804: /usr/local/include/mysql \
1805: /usr/include/mysql ; do
1.15 paf 1806:
1.8 paf 1807: if test -r "$d/mysql.h"; then
1808: MYSQL_INC=$d
1809: fi
1810:
1811: done
1812:
1.33 misha 1813: if test -z "$MYSQL_INC"; then
1814: { { echo "$as_me:$LINENO: error: use --with-mysql-inc=DIR to specify MySQL includes directory" >&5
1.15 paf 1815: echo "$as_me: error: use --with-mysql-inc=DIR to specify MySQL includes directory" >&2;}
1816: { (exit 1); exit 1; }; }
1.33 misha 1817: fi
1.8 paf 1818:
1.15 paf 1819: echo "$as_me:$LINENO: result: $MYSQL_INC" >&5
1820: echo "${ECHO_T}$MYSQL_INC" >&6
1.1 parser 1821:
1.15 paf 1822: fi;
1.3 parser 1823:
1.1 parser 1824:
1825:
1.3 parser 1826:
1.33 misha 1827: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
1828: if test "${with_dynamic_stdcpp+set}" = set; then
1829: withval="$with_dynamic_stdcpp"
1830:
1831: LDFLAGS="-lstdc++"
1832:
1833: else
1834:
1835: LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic"
1836:
1837: fi;
1838:
1839:
1840:
1.1 parser 1841: # Find a good install program. We prefer a C program (faster),
1842: # so one script is as good as another. But avoid the broken or
1843: # incompatible versions:
1844: # SysV /etc/install, /usr/sbin/install
1845: # SunOS /usr/etc/install
1846: # IRIX /sbin/install
1847: # AIX /bin/install
1.15 paf 1848: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 1849: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1850: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1851: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.25 paf 1852: # OS/2's system install, which has a completely different semantic
1.1 parser 1853: # ./install, which can be erroneously created by make from ./install.sh.
1.15 paf 1854: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1855: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 parser 1856: if test -z "$INSTALL"; then
1.15 paf 1857: if test "${ac_cv_path_install+set}" = set; then
1858: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1859: else
1.15 paf 1860: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861: for as_dir in $PATH
1862: do
1863: IFS=$as_save_IFS
1864: test -z "$as_dir" && as_dir=.
1865: # Account for people who put trailing slashes in PATH elements.
1866: case $as_dir/ in
1867: ./ | .// | /cC/* | \
1868: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.25 paf 1869: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.15 paf 1870: /usr/ucb/* ) ;;
1871: *)
1872: # OSF1 and SCO ODT 3.0 have their own names for install.
1873: # Don't use installbsd from OSF since it installs stuff as root
1874: # by default.
1875: for ac_prog in ginstall scoinst install; do
1876: for ac_exec_ext in '' $ac_executable_extensions; do
1.25 paf 1877: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1878: if test $ac_prog = install &&
1879: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1880: # AIX install. It has an incompatible calling convention.
1881: :
1882: elif test $ac_prog = install &&
1883: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1884: # program-specific install script used by HP pwplus--don't use.
1885: :
1886: else
1887: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1888: break 3
1889: fi
1890: fi
1.1 parser 1891: done
1.15 paf 1892: done
1893: ;;
1894: esac
1895: done
1896:
1.1 parser 1897:
1898: fi
1899: if test "${ac_cv_path_install+set}" = set; then
1.15 paf 1900: INSTALL=$ac_cv_path_install
1.1 parser 1901: else
1902: # As a last resort, use the slow shell script. We don't cache a
1903: # path for INSTALL within a source directory, because that will
1904: # break other packages using the cache if that directory is
1905: # removed, or if the path is relative.
1.15 paf 1906: INSTALL=$ac_install_sh
1.1 parser 1907: fi
1908: fi
1.15 paf 1909: echo "$as_me:$LINENO: result: $INSTALL" >&5
1910: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 1911:
1912: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1913: # It thinks the first close brace ends the variable substitution.
1914: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1915:
1.15 paf 1916: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1917:
1918: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1919:
1.15 paf 1920: ac_ext=cc
1921: ac_cpp='$CXXCPP $CPPFLAGS'
1922: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1925: if test -n "$ac_tool_prefix"; then
1926: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1927: do
1928: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1929: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1930: echo "$as_me:$LINENO: checking for $ac_word" >&5
1931: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932: if test "${ac_cv_prog_CXX+set}" = set; then
1933: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1934: else
1935: if test -n "$CXX"; then
1936: ac_cv_prog_CXX="$CXX" # Let the user override the test.
1937: else
1.15 paf 1938: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939: for as_dir in $PATH
1940: do
1941: IFS=$as_save_IFS
1942: test -z "$as_dir" && as_dir=.
1943: for ac_exec_ext in '' $ac_executable_extensions; do
1944: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1946: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947: break 2
1948: fi
1949: done
1950: done
1951:
1.1 parser 1952: fi
1953: fi
1.15 paf 1954: CXX=$ac_cv_prog_CXX
1.1 parser 1955: if test -n "$CXX"; then
1.15 paf 1956: echo "$as_me:$LINENO: result: $CXX" >&5
1957: echo "${ECHO_T}$CXX" >&6
1.1 parser 1958: else
1.15 paf 1959: echo "$as_me:$LINENO: result: no" >&5
1960: echo "${ECHO_T}no" >&6
1.1 parser 1961: fi
1962:
1.15 paf 1963: test -n "$CXX" && break
1964: done
1965: fi
1966: if test -z "$CXX"; then
1967: ac_ct_CXX=$CXX
1968: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1969: do
1970: # Extract the first word of "$ac_prog", so it can be a program name with args.
1971: set dummy $ac_prog; ac_word=$2
1972: echo "$as_me:$LINENO: checking for $ac_word" >&5
1973: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1975: echo $ECHO_N "(cached) $ECHO_C" >&6
1976: else
1977: if test -n "$ac_ct_CXX"; then
1978: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1979: else
1980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981: for as_dir in $PATH
1982: do
1983: IFS=$as_save_IFS
1984: test -z "$as_dir" && as_dir=.
1985: for ac_exec_ext in '' $ac_executable_extensions; do
1986: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987: ac_cv_prog_ac_ct_CXX="$ac_prog"
1988: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989: break 2
1990: fi
1991: done
1.1 parser 1992: done
1993:
1.15 paf 1994: fi
1995: fi
1996: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1997: if test -n "$ac_ct_CXX"; then
1998: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1999: echo "${ECHO_T}$ac_ct_CXX" >&6
2000: else
2001: echo "$as_me:$LINENO: result: no" >&5
2002: echo "${ECHO_T}no" >&6
2003: fi
1.1 parser 2004:
1.15 paf 2005: test -n "$ac_ct_CXX" && break
2006: done
2007: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1 parser 2008:
1.15 paf 2009: CXX=$ac_ct_CXX
2010: fi
1.1 parser 2011:
2012:
1.15 paf 2013: # Provide some information about the compiler.
2014: echo "$as_me:$LINENO:" \
2015: "checking for C++ compiler version" >&5
2016: ac_compiler=`set X $ac_compile; echo $2`
2017: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2018: (eval $ac_compiler --version </dev/null >&5) 2>&5
2019: ac_status=$?
2020: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021: (exit $ac_status); }
2022: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2023: (eval $ac_compiler -v </dev/null >&5) 2>&5
2024: ac_status=$?
2025: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026: (exit $ac_status); }
2027: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2028: (eval $ac_compiler -V </dev/null >&5) 2>&5
2029: ac_status=$?
2030: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031: (exit $ac_status); }
2032:
2033: cat >conftest.$ac_ext <<_ACEOF
2034: /* confdefs.h. */
2035: _ACEOF
2036: cat confdefs.h >>conftest.$ac_ext
2037: cat >>conftest.$ac_ext <<_ACEOF
2038: /* end confdefs.h. */
2039:
2040: int
2041: main ()
2042: {
2043:
2044: ;
2045: return 0;
2046: }
2047: _ACEOF
2048: ac_clean_files_save=$ac_clean_files
2049: ac_clean_files="$ac_clean_files a.out a.exe b.out"
2050: # Try to create an executable without -o first, disregard a.out.
2051: # It will help us diagnose broken compilers, and finding out an intuition
2052: # of exeext.
1.25 paf 2053: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2054: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.15 paf 2055: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2056: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2057: (eval $ac_link_default) 2>&5
2058: ac_status=$?
2059: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060: (exit $ac_status); }; then
2061: # Find the output, starting from the most likely. This scheme is
2062: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2063: # resort.
2064:
2065: # Be careful to initialize this variable, since it used to be cached.
2066: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2067: ac_cv_exeext=
2068: # b.out is created by i960 compilers.
2069: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2070: do
2071: test -f "$ac_file" || continue
2072: case $ac_file in
2073: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.25 paf 2074: ;;
1.15 paf 2075: conftest.$ac_ext )
1.25 paf 2076: # This is the source file.
2077: ;;
1.15 paf 2078: [ab].out )
1.25 paf 2079: # We found the default executable, but exeext='' is most
2080: # certainly right.
2081: break;;
1.15 paf 2082: *.* )
1.25 paf 2083: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2084: # FIXME: I believe we export ac_cv_exeext for Libtool,
2085: # but it would be cool to find out if it's true. Does anybody
2086: # maintain Libtool? --akim.
2087: export ac_cv_exeext
2088: break;;
1.15 paf 2089: * )
1.25 paf 2090: break;;
1.15 paf 2091: esac
2092: done
2093: else
2094: echo "$as_me: failed program was:" >&5
2095: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2096:
1.15 paf 2097: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2098: See \`config.log' for more details." >&5
2099: echo "$as_me: error: C++ compiler cannot create executables
2100: See \`config.log' for more details." >&2;}
2101: { (exit 77); exit 77; }; }
2102: fi
2103:
2104: ac_exeext=$ac_cv_exeext
2105: echo "$as_me:$LINENO: result: $ac_file" >&5
2106: echo "${ECHO_T}$ac_file" >&6
2107:
2108: # Check the compiler produces executables we can run. If not, either
2109: # the compiler is broken, or we cross compile.
2110: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2111: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2112: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2113: # If not cross compiling, check that we can run a simple program.
2114: if test "$cross_compiling" != yes; then
2115: if { ac_try='./$ac_file'
2116: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2117: (eval $ac_try) 2>&5
2118: ac_status=$?
2119: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120: (exit $ac_status); }; }; then
2121: cross_compiling=no
2122: else
2123: if test "$cross_compiling" = maybe; then
2124: cross_compiling=yes
2125: else
2126: { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2127: If you meant to cross compile, use \`--host'.
2128: See \`config.log' for more details." >&5
2129: echo "$as_me: error: cannot run C++ compiled programs.
2130: If you meant to cross compile, use \`--host'.
2131: See \`config.log' for more details." >&2;}
2132: { (exit 1); exit 1; }; }
2133: fi
1.1 parser 2134: fi
1.15 paf 2135: fi
2136: echo "$as_me:$LINENO: result: yes" >&5
2137: echo "${ECHO_T}yes" >&6
2138:
2139: rm -f a.out a.exe conftest$ac_cv_exeext b.out
2140: ac_clean_files=$ac_clean_files_save
2141: # Check the compiler produces executables we can run. If not, either
2142: # the compiler is broken, or we cross compile.
2143: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2144: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2145: echo "$as_me:$LINENO: result: $cross_compiling" >&5
2146: echo "${ECHO_T}$cross_compiling" >&6
2147:
2148: echo "$as_me:$LINENO: checking for suffix of executables" >&5
2149: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2150: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2151: (eval $ac_link) 2>&5
2152: ac_status=$?
2153: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154: (exit $ac_status); }; then
2155: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2156: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2157: # work properly (i.e., refer to `conftest.exe'), while it won't with
2158: # `rm'.
2159: for ac_file in conftest.exe conftest conftest.*; do
2160: test -f "$ac_file" || continue
2161: case $ac_file in
2162: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2163: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.25 paf 2164: export ac_cv_exeext
2165: break;;
1.15 paf 2166: * ) break;;
2167: esac
2168: done
1.1 parser 2169: else
1.15 paf 2170: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2171: See \`config.log' for more details." >&5
2172: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2173: See \`config.log' for more details." >&2;}
2174: { (exit 1); exit 1; }; }
2175: fi
2176:
2177: rm -f conftest$ac_cv_exeext
2178: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2179: echo "${ECHO_T}$ac_cv_exeext" >&6
2180:
2181: rm -f conftest.$ac_ext
2182: EXEEXT=$ac_cv_exeext
2183: ac_exeext=$EXEEXT
2184: echo "$as_me:$LINENO: checking for suffix of object files" >&5
2185: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2186: if test "${ac_cv_objext+set}" = set; then
2187: echo $ECHO_N "(cached) $ECHO_C" >&6
2188: else
2189: cat >conftest.$ac_ext <<_ACEOF
2190: /* confdefs.h. */
2191: _ACEOF
2192: cat confdefs.h >>conftest.$ac_ext
2193: cat >>conftest.$ac_ext <<_ACEOF
2194: /* end confdefs.h. */
2195:
2196: int
2197: main ()
2198: {
2199:
2200: ;
2201: return 0;
2202: }
2203: _ACEOF
2204: rm -f conftest.o conftest.obj
2205: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206: (eval $ac_compile) 2>&5
2207: ac_status=$?
2208: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209: (exit $ac_status); }; then
2210: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2211: case $ac_file in
2212: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2213: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2214: break;;
2215: esac
2216: done
1.1 parser 2217: else
1.15 paf 2218: echo "$as_me: failed program was:" >&5
2219: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2220:
1.15 paf 2221: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2222: See \`config.log' for more details." >&5
2223: echo "$as_me: error: cannot compute suffix of object files: cannot compile
2224: See \`config.log' for more details." >&2;}
2225: { (exit 1); exit 1; }; }
2226: fi
2227:
2228: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2229: fi
2230: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2231: echo "${ECHO_T}$ac_cv_objext" >&6
2232: OBJEXT=$ac_cv_objext
2233: ac_objext=$OBJEXT
2234: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2235: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2236: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2237: echo $ECHO_N "(cached) $ECHO_C" >&6
2238: else
2239: cat >conftest.$ac_ext <<_ACEOF
2240: /* confdefs.h. */
2241: _ACEOF
2242: cat confdefs.h >>conftest.$ac_ext
2243: cat >>conftest.$ac_ext <<_ACEOF
2244: /* end confdefs.h. */
2245:
2246: int
2247: main ()
2248: {
2249: #ifndef __GNUC__
2250: choke me
2251: #endif
1.1 parser 2252:
1.15 paf 2253: ;
2254: return 0;
2255: }
2256: _ACEOF
2257: rm -f conftest.$ac_objext
2258: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 2259: (eval $ac_compile) 2>conftest.er1
1.15 paf 2260: ac_status=$?
1.25 paf 2261: grep -v '^ *+' conftest.er1 >conftest.err
2262: rm -f conftest.er1
2263: cat conftest.err >&5
1.15 paf 2264: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265: (exit $ac_status); } &&
1.25 paf 2266: { ac_try='test -z "$ac_cxx_werror_flag"
2267: || test ! -s conftest.err'
2268: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269: (eval $ac_try) 2>&5
2270: ac_status=$?
2271: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272: (exit $ac_status); }; } &&
2273: { ac_try='test -s conftest.$ac_objext'
1.15 paf 2274: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275: (eval $ac_try) 2>&5
2276: ac_status=$?
2277: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278: (exit $ac_status); }; }; then
2279: ac_compiler_gnu=yes
2280: else
2281: echo "$as_me: failed program was:" >&5
2282: sed 's/^/| /' conftest.$ac_ext >&5
2283:
2284: ac_compiler_gnu=no
2285: fi
1.25 paf 2286: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 2287: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2288:
2289: fi
2290: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2291: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2292: GXX=`test $ac_compiler_gnu = yes && echo yes`
2293: ac_test_CXXFLAGS=${CXXFLAGS+set}
2294: ac_save_CXXFLAGS=$CXXFLAGS
2295: CXXFLAGS="-g"
2296: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2297: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2298: if test "${ac_cv_prog_cxx_g+set}" = set; then
2299: echo $ECHO_N "(cached) $ECHO_C" >&6
2300: else
2301: cat >conftest.$ac_ext <<_ACEOF
2302: /* confdefs.h. */
2303: _ACEOF
2304: cat confdefs.h >>conftest.$ac_ext
2305: cat >>conftest.$ac_ext <<_ACEOF
2306: /* end confdefs.h. */
2307:
2308: int
2309: main ()
2310: {
2311:
2312: ;
2313: return 0;
2314: }
2315: _ACEOF
2316: rm -f conftest.$ac_objext
2317: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 2318: (eval $ac_compile) 2>conftest.er1
1.15 paf 2319: ac_status=$?
1.25 paf 2320: grep -v '^ *+' conftest.er1 >conftest.err
2321: rm -f conftest.er1
2322: cat conftest.err >&5
1.15 paf 2323: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324: (exit $ac_status); } &&
1.25 paf 2325: { ac_try='test -z "$ac_cxx_werror_flag"
2326: || test ! -s conftest.err'
2327: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328: (eval $ac_try) 2>&5
2329: ac_status=$?
2330: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331: (exit $ac_status); }; } &&
2332: { ac_try='test -s conftest.$ac_objext'
1.15 paf 2333: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334: (eval $ac_try) 2>&5
2335: ac_status=$?
2336: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337: (exit $ac_status); }; }; then
2338: ac_cv_prog_cxx_g=yes
1.1 parser 2339: else
1.15 paf 2340: echo "$as_me: failed program was:" >&5
2341: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2342:
1.15 paf 2343: ac_cv_prog_cxx_g=no
1.1 parser 2344: fi
1.25 paf 2345: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 parser 2346: fi
1.15 paf 2347: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2348: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1 parser 2349: if test "$ac_test_CXXFLAGS" = set; then
1.15 paf 2350: CXXFLAGS=$ac_save_CXXFLAGS
1.1 parser 2351: elif test $ac_cv_prog_cxx_g = yes; then
2352: if test "$GXX" = yes; then
2353: CXXFLAGS="-g -O2"
2354: else
2355: CXXFLAGS="-g"
2356: fi
2357: else
2358: if test "$GXX" = yes; then
2359: CXXFLAGS="-O2"
2360: else
2361: CXXFLAGS=
2362: fi
2363: fi
1.15 paf 2364: for ac_declaration in \
1.25 paf 2365: '' \
1.15 paf 2366: 'extern "C" void std::exit (int) throw (); using std::exit;' \
2367: 'extern "C" void std::exit (int); using std::exit;' \
2368: 'extern "C" void exit (int) throw ();' \
2369: 'extern "C" void exit (int);' \
2370: 'void exit (int);'
2371: do
2372: cat >conftest.$ac_ext <<_ACEOF
2373: /* confdefs.h. */
2374: _ACEOF
2375: cat confdefs.h >>conftest.$ac_ext
2376: cat >>conftest.$ac_ext <<_ACEOF
2377: /* end confdefs.h. */
1.25 paf 2378: $ac_declaration
1.15 paf 2379: #include <stdlib.h>
2380: int
2381: main ()
2382: {
2383: exit (42);
2384: ;
2385: return 0;
2386: }
2387: _ACEOF
2388: rm -f conftest.$ac_objext
2389: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 2390: (eval $ac_compile) 2>conftest.er1
1.15 paf 2391: ac_status=$?
1.25 paf 2392: grep -v '^ *+' conftest.er1 >conftest.err
2393: rm -f conftest.er1
2394: cat conftest.err >&5
1.15 paf 2395: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396: (exit $ac_status); } &&
1.25 paf 2397: { ac_try='test -z "$ac_cxx_werror_flag"
2398: || test ! -s conftest.err'
2399: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400: (eval $ac_try) 2>&5
2401: ac_status=$?
2402: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403: (exit $ac_status); }; } &&
2404: { ac_try='test -s conftest.$ac_objext'
1.15 paf 2405: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406: (eval $ac_try) 2>&5
2407: ac_status=$?
2408: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409: (exit $ac_status); }; }; then
2410: :
2411: else
2412: echo "$as_me: failed program was:" >&5
2413: sed 's/^/| /' conftest.$ac_ext >&5
2414:
2415: continue
2416: fi
1.25 paf 2417: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 2418: cat >conftest.$ac_ext <<_ACEOF
2419: /* confdefs.h. */
2420: _ACEOF
2421: cat confdefs.h >>conftest.$ac_ext
2422: cat >>conftest.$ac_ext <<_ACEOF
2423: /* end confdefs.h. */
2424: $ac_declaration
2425: int
2426: main ()
2427: {
2428: exit (42);
2429: ;
2430: return 0;
2431: }
2432: _ACEOF
2433: rm -f conftest.$ac_objext
2434: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 2435: (eval $ac_compile) 2>conftest.er1
1.15 paf 2436: ac_status=$?
1.25 paf 2437: grep -v '^ *+' conftest.er1 >conftest.err
2438: rm -f conftest.er1
2439: cat conftest.err >&5
1.15 paf 2440: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441: (exit $ac_status); } &&
1.25 paf 2442: { ac_try='test -z "$ac_cxx_werror_flag"
2443: || test ! -s conftest.err'
2444: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445: (eval $ac_try) 2>&5
2446: ac_status=$?
2447: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448: (exit $ac_status); }; } &&
2449: { ac_try='test -s conftest.$ac_objext'
1.15 paf 2450: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451: (eval $ac_try) 2>&5
2452: ac_status=$?
2453: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454: (exit $ac_status); }; }; then
2455: break
2456: else
2457: echo "$as_me: failed program was:" >&5
2458: sed 's/^/| /' conftest.$ac_ext >&5
2459:
2460: fi
1.25 paf 2461: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 2462: done
2463: rm -f conftest*
2464: if test -n "$ac_declaration"; then
2465: echo '#ifdef __cplusplus' >>confdefs.h
2466: echo $ac_declaration >>confdefs.h
2467: echo '#endif' >>confdefs.h
2468: fi
2469:
1.24 paf 2470: ac_ext=c
2471: ac_cpp='$CPP $CPPFLAGS'
2472: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.25 paf 2475: DEPDIR="${am__leading_dot}deps"
1.15 paf 2476:
2477: ac_config_commands="$ac_config_commands depfiles"
2478:
2479:
2480: am_make=${MAKE-make}
2481: cat > confinc << 'END'
1.25 paf 2482: am__doit:
1.15 paf 2483: @echo done
1.25 paf 2484: .PHONY: am__doit
1.15 paf 2485: END
2486: # If we don't find an include directive, just comment out the code.
2487: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2488: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2489: am__include="#"
2490: am__quote=
2491: _am_result=none
2492: # First try GNU make style include.
2493: echo "include confinc" > confmf
2494: # We grep out `Entering directory' and `Leaving directory'
2495: # messages which can occur if `w' ends up in MAKEFLAGS.
2496: # In particular we don't look at `^make:' because GNU make might
2497: # be invoked under some other name (usually "gmake"), in which
2498: # case it prints its new name instead of `make'.
2499: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2500: am__include=include
2501: am__quote=
2502: _am_result=GNU
2503: fi
2504: # Now try BSD make style include.
2505: if test "$am__include" = "#"; then
2506: echo '.include "confinc"' > confmf
2507: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2508: am__include=.include
2509: am__quote="\""
2510: _am_result=BSD
2511: fi
2512: fi
2513:
2514:
2515: echo "$as_me:$LINENO: result: $_am_result" >&5
2516: echo "${ECHO_T}$_am_result" >&6
2517: rm -f confinc confmf
2518:
2519: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2520: if test "${enable_dependency_tracking+set}" = set; then
2521: enableval="$enable_dependency_tracking"
2522:
2523: fi;
2524: if test "x$enable_dependency_tracking" != xno; then
2525: am_depcomp="$ac_aux_dir/depcomp"
2526: AMDEPBACKSLASH='\'
2527: fi
2528:
2529:
2530: if test "x$enable_dependency_tracking" != xno; then
2531: AMDEP_TRUE=
2532: AMDEP_FALSE='#'
2533: else
2534: AMDEP_TRUE='#'
2535: AMDEP_FALSE=
2536: fi
2537:
2538:
2539:
2540:
2541: depcc="$CXX" am_compiler_list=
2542:
2543: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2544: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2545: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2546: echo $ECHO_N "(cached) $ECHO_C" >&6
2547: else
2548: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2549: # We make a subdir and do the tests there. Otherwise we can end up
2550: # making bogus files that we don't know about and never remove. For
2551: # instance it was reported that on HP-UX the gcc test will end up
2552: # making a dummy file named `D' -- because `-MD' means `put the output
2553: # in D'.
2554: mkdir conftest.dir
2555: # Copy depcomp to subdir because otherwise we won't find it if we're
2556: # using a relative directory.
2557: cp "$am_depcomp" conftest.dir
2558: cd conftest.dir
1.25 paf 2559: # We will build objects and dependencies in a subdirectory because
2560: # it helps to detect inapplicable dependency modes. For instance
2561: # both Tru64's cc and ICC support -MD to output dependencies as a
2562: # side effect of compilation, but ICC will put the dependencies in
2563: # the current directory while Tru64 will put them in the object
2564: # directory.
2565: mkdir sub
1.15 paf 2566:
2567: am_cv_CXX_dependencies_compiler_type=none
2568: if test "$am_compiler_list" = ""; then
2569: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2570: fi
2571: for depmode in $am_compiler_list; do
1.25 paf 2572: # Setup a source with many dependencies, because some compilers
2573: # like to wrap large dependency lists on column 80 (with \), and
2574: # we should not choose a depcomp mode which is confused by this.
2575: #
1.15 paf 2576: # We need to recreate these files for each test, as the compiler may
2577: # overwrite some of them when testing with obscure command lines.
2578: # This happens at least with the AIX C compiler.
1.25 paf 2579: : > sub/conftest.c
2580: for i in 1 2 3 4 5 6; do
2581: echo '#include "conftst'$i'.h"' >> sub/conftest.c
2582: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2583: # Solaris 8's {/usr,}/bin/sh.
2584: touch sub/conftst$i.h
2585: done
2586: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.15 paf 2587:
2588: case $depmode in
2589: nosideeffect)
2590: # after this tag, mechanisms are not by side-effect, so they'll
2591: # only be used when explicitly requested
2592: if test "x$enable_dependency_tracking" = xyes; then
2593: continue
2594: else
2595: break
2596: fi
2597: ;;
2598: none) break ;;
2599: esac
2600: # We check with `-c' and `-o' for the sake of the "dashmstdout"
2601: # mode. It turns out that the SunPro C++ compiler does not properly
2602: # handle `-M -o', and we need to detect this.
2603: if depmode=$depmode \
1.25 paf 2604: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2605: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2606: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2607: >/dev/null 2>conftest.err &&
2608: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2609: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.15 paf 2610: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.25 paf 2611: # icc doesn't choke on unknown options, it will just issue warnings
2612: # or remarks (even with -Werror). So we grep stderr for any message
2613: # that says an option was ignored or not supported.
2614: # When given -MP, icc 7.0 and 7.1 complain thusly:
2615: # icc: Command line warning: ignoring option '-M'; no argument required
2616: # The diagnosis changed in icc 8.0:
2617: # icc: Command line remark: option '-MP' not supported
2618: if (grep 'ignoring option' conftest.err ||
2619: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2620: am_cv_CXX_dependencies_compiler_type=$depmode
2621: break
2622: fi
1.15 paf 2623: fi
2624: done
2625:
2626: cd ..
2627: rm -rf conftest.dir
2628: else
2629: am_cv_CXX_dependencies_compiler_type=none
2630: fi
2631:
2632: fi
2633: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2634: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2635: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2636:
2637:
2638:
2639: if
2640: test "x$enable_dependency_tracking" != xno \
2641: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2642: am__fastdepCXX_TRUE=
2643: am__fastdepCXX_FALSE='#'
2644: else
2645: am__fastdepCXX_TRUE='#'
2646: am__fastdepCXX_FALSE=
2647: fi
2648:
1.1 parser 2649:
1.15 paf 2650: ac_ext=c
2651: ac_cpp='$CPP $CPPFLAGS'
2652: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2653: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2654: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2655: if test -n "$ac_tool_prefix"; then
2656: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2657: set dummy ${ac_tool_prefix}gcc; ac_word=$2
2658: echo "$as_me:$LINENO: checking for $ac_word" >&5
2659: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2660: if test "${ac_cv_prog_CC+set}" = set; then
2661: echo $ECHO_N "(cached) $ECHO_C" >&6
2662: else
2663: if test -n "$CC"; then
2664: ac_cv_prog_CC="$CC" # Let the user override the test.
2665: else
2666: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667: for as_dir in $PATH
2668: do
2669: IFS=$as_save_IFS
2670: test -z "$as_dir" && as_dir=.
2671: for ac_exec_ext in '' $ac_executable_extensions; do
2672: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673: ac_cv_prog_CC="${ac_tool_prefix}gcc"
2674: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675: break 2
2676: fi
2677: done
2678: done
1.1 parser 2679:
1.15 paf 2680: fi
2681: fi
2682: CC=$ac_cv_prog_CC
2683: if test -n "$CC"; then
2684: echo "$as_me:$LINENO: result: $CC" >&5
2685: echo "${ECHO_T}$CC" >&6
2686: else
2687: echo "$as_me:$LINENO: result: no" >&5
2688: echo "${ECHO_T}no" >&6
2689: fi
1.1 parser 2690:
1.15 paf 2691: fi
2692: if test -z "$ac_cv_prog_CC"; then
2693: ac_ct_CC=$CC
2694: # Extract the first word of "gcc", so it can be a program name with args.
2695: set dummy gcc; ac_word=$2
2696: echo "$as_me:$LINENO: checking for $ac_word" >&5
2697: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2698: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2699: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2700: else
1.15 paf 2701: if test -n "$ac_ct_CC"; then
2702: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1 parser 2703: else
1.15 paf 2704: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705: for as_dir in $PATH
2706: do
2707: IFS=$as_save_IFS
2708: test -z "$as_dir" && as_dir=.
2709: for ac_exec_ext in '' $ac_executable_extensions; do
2710: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711: ac_cv_prog_ac_ct_CC="gcc"
2712: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2713: break 2
2714: fi
2715: done
2716: done
2717:
2718: fi
1.1 parser 2719: fi
1.15 paf 2720: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2721: if test -n "$ac_ct_CC"; then
2722: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2723: echo "${ECHO_T}$ac_ct_CC" >&6
2724: else
2725: echo "$as_me:$LINENO: result: no" >&5
2726: echo "${ECHO_T}no" >&6
1.1 parser 2727: fi
1.15 paf 2728:
2729: CC=$ac_ct_CC
1.1 parser 2730: else
1.15 paf 2731: CC="$ac_cv_prog_CC"
1.1 parser 2732: fi
2733:
1.15 paf 2734: if test -z "$CC"; then
2735: if test -n "$ac_tool_prefix"; then
2736: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2737: set dummy ${ac_tool_prefix}cc; ac_word=$2
2738: echo "$as_me:$LINENO: checking for $ac_word" >&5
2739: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740: if test "${ac_cv_prog_CC+set}" = set; then
2741: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2742: else
2743: if test -n "$CC"; then
2744: ac_cv_prog_CC="$CC" # Let the user override the test.
2745: else
1.15 paf 2746: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747: for as_dir in $PATH
2748: do
2749: IFS=$as_save_IFS
2750: test -z "$as_dir" && as_dir=.
2751: for ac_exec_ext in '' $ac_executable_extensions; do
2752: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753: ac_cv_prog_CC="${ac_tool_prefix}cc"
2754: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755: break 2
2756: fi
2757: done
2758: done
2759:
1.1 parser 2760: fi
2761: fi
1.15 paf 2762: CC=$ac_cv_prog_CC
1.1 parser 2763: if test -n "$CC"; then
1.15 paf 2764: echo "$as_me:$LINENO: result: $CC" >&5
2765: echo "${ECHO_T}$CC" >&6
2766: else
2767: echo "$as_me:$LINENO: result: no" >&5
2768: echo "${ECHO_T}no" >&6
2769: fi
2770:
2771: fi
2772: if test -z "$ac_cv_prog_CC"; then
2773: ac_ct_CC=$CC
2774: # Extract the first word of "cc", so it can be a program name with args.
2775: set dummy cc; ac_word=$2
2776: echo "$as_me:$LINENO: checking for $ac_word" >&5
2777: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2778: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2779: echo $ECHO_N "(cached) $ECHO_C" >&6
2780: else
2781: if test -n "$ac_ct_CC"; then
2782: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2783: else
2784: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785: for as_dir in $PATH
2786: do
2787: IFS=$as_save_IFS
2788: test -z "$as_dir" && as_dir=.
2789: for ac_exec_ext in '' $ac_executable_extensions; do
2790: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791: ac_cv_prog_ac_ct_CC="cc"
2792: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2793: break 2
2794: fi
2795: done
2796: done
2797:
2798: fi
2799: fi
2800: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2801: if test -n "$ac_ct_CC"; then
2802: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2803: echo "${ECHO_T}$ac_ct_CC" >&6
2804: else
2805: echo "$as_me:$LINENO: result: no" >&5
2806: echo "${ECHO_T}no" >&6
2807: fi
2808:
2809: CC=$ac_ct_CC
1.1 parser 2810: else
1.15 paf 2811: CC="$ac_cv_prog_CC"
1.1 parser 2812: fi
2813:
1.15 paf 2814: fi
1.1 parser 2815: if test -z "$CC"; then
2816: # Extract the first word of "cc", so it can be a program name with args.
2817: set dummy cc; ac_word=$2
1.15 paf 2818: echo "$as_me:$LINENO: checking for $ac_word" >&5
2819: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2820: if test "${ac_cv_prog_CC+set}" = set; then
2821: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2822: else
2823: if test -n "$CC"; then
2824: ac_cv_prog_CC="$CC" # Let the user override the test.
2825: else
2826: ac_prog_rejected=no
1.15 paf 2827: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828: for as_dir in $PATH
2829: do
2830: IFS=$as_save_IFS
2831: test -z "$as_dir" && as_dir=.
2832: for ac_exec_ext in '' $ac_executable_extensions; do
2833: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2835: ac_prog_rejected=yes
2836: continue
2837: fi
2838: ac_cv_prog_CC="cc"
2839: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840: break 2
2841: fi
2842: done
2843: done
2844:
1.1 parser 2845: if test $ac_prog_rejected = yes; then
2846: # We found a bogon in the path, so make sure we never use it.
2847: set dummy $ac_cv_prog_CC
2848: shift
1.15 paf 2849: if test $# != 0; then
1.1 parser 2850: # We chose a different compiler from the bogus one.
2851: # However, it has the same basename, so the bogon will be chosen
2852: # first if we set CC to just the basename; use the full file name.
2853: shift
1.15 paf 2854: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1 parser 2855: fi
2856: fi
2857: fi
2858: fi
1.15 paf 2859: CC=$ac_cv_prog_CC
1.1 parser 2860: if test -n "$CC"; then
1.15 paf 2861: echo "$as_me:$LINENO: result: $CC" >&5
2862: echo "${ECHO_T}$CC" >&6
1.1 parser 2863: else
1.15 paf 2864: echo "$as_me:$LINENO: result: no" >&5
2865: echo "${ECHO_T}no" >&6
1.1 parser 2866: fi
2867:
1.15 paf 2868: fi
2869: if test -z "$CC"; then
2870: if test -n "$ac_tool_prefix"; then
2871: for ac_prog in cl
2872: do
2873: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2874: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2875: echo "$as_me:$LINENO: checking for $ac_word" >&5
2876: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2877: if test "${ac_cv_prog_CC+set}" = set; then
2878: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2879: else
2880: if test -n "$CC"; then
2881: ac_cv_prog_CC="$CC" # Let the user override the test.
2882: else
1.15 paf 2883: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884: for as_dir in $PATH
2885: do
2886: IFS=$as_save_IFS
2887: test -z "$as_dir" && as_dir=.
2888: for ac_exec_ext in '' $ac_executable_extensions; do
2889: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2891: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892: break 2
2893: fi
2894: done
2895: done
2896:
1.1 parser 2897: fi
2898: fi
1.15 paf 2899: CC=$ac_cv_prog_CC
1.1 parser 2900: if test -n "$CC"; then
1.15 paf 2901: echo "$as_me:$LINENO: result: $CC" >&5
2902: echo "${ECHO_T}$CC" >&6
1.1 parser 2903: else
1.15 paf 2904: echo "$as_me:$LINENO: result: no" >&5
2905: echo "${ECHO_T}no" >&6
2906: fi
2907:
2908: test -n "$CC" && break
2909: done
1.1 parser 2910: fi
1.15 paf 2911: if test -z "$CC"; then
2912: ac_ct_CC=$CC
2913: for ac_prog in cl
2914: do
2915: # Extract the first word of "$ac_prog", so it can be a program name with args.
2916: set dummy $ac_prog; ac_word=$2
2917: echo "$as_me:$LINENO: checking for $ac_word" >&5
2918: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2919: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2920: echo $ECHO_N "(cached) $ECHO_C" >&6
2921: else
2922: if test -n "$ac_ct_CC"; then
2923: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2924: else
2925: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926: for as_dir in $PATH
2927: do
2928: IFS=$as_save_IFS
2929: test -z "$as_dir" && as_dir=.
2930: for ac_exec_ext in '' $ac_executable_extensions; do
2931: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932: ac_cv_prog_ac_ct_CC="$ac_prog"
2933: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934: break 2
1.1 parser 2935: fi
1.15 paf 2936: done
2937: done
2938:
2939: fi
2940: fi
2941: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2942: if test -n "$ac_ct_CC"; then
2943: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2944: echo "${ECHO_T}$ac_ct_CC" >&6
2945: else
2946: echo "$as_me:$LINENO: result: no" >&5
2947: echo "${ECHO_T}no" >&6
1.1 parser 2948: fi
2949:
1.15 paf 2950: test -n "$ac_ct_CC" && break
2951: done
1.1 parser 2952:
1.15 paf 2953: CC=$ac_ct_CC
2954: fi
1.1 parser 2955:
1.15 paf 2956: fi
1.1 parser 2957:
2958:
1.15 paf 2959: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2960: See \`config.log' for more details." >&5
2961: echo "$as_me: error: no acceptable C compiler found in \$PATH
2962: See \`config.log' for more details." >&2;}
2963: { (exit 1); exit 1; }; }
2964:
2965: # Provide some information about the compiler.
2966: echo "$as_me:$LINENO:" \
2967: "checking for C compiler version" >&5
2968: ac_compiler=`set X $ac_compile; echo $2`
2969: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2970: (eval $ac_compiler --version </dev/null >&5) 2>&5
2971: ac_status=$?
2972: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973: (exit $ac_status); }
2974: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2975: (eval $ac_compiler -v </dev/null >&5) 2>&5
2976: ac_status=$?
2977: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978: (exit $ac_status); }
2979: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2980: (eval $ac_compiler -V </dev/null >&5) 2>&5
2981: ac_status=$?
2982: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983: (exit $ac_status); }
2984:
2985: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2986: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2987: if test "${ac_cv_c_compiler_gnu+set}" = set; then
2988: echo $ECHO_N "(cached) $ECHO_C" >&6
2989: else
2990: cat >conftest.$ac_ext <<_ACEOF
2991: /* confdefs.h. */
2992: _ACEOF
2993: cat confdefs.h >>conftest.$ac_ext
2994: cat >>conftest.$ac_ext <<_ACEOF
2995: /* end confdefs.h. */
2996:
2997: int
2998: main ()
2999: {
3000: #ifndef __GNUC__
3001: choke me
1.1 parser 3002: #endif
3003:
1.15 paf 3004: ;
3005: return 0;
3006: }
3007: _ACEOF
3008: rm -f conftest.$ac_objext
3009: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 3010: (eval $ac_compile) 2>conftest.er1
1.15 paf 3011: ac_status=$?
1.25 paf 3012: grep -v '^ *+' conftest.er1 >conftest.err
3013: rm -f conftest.er1
3014: cat conftest.err >&5
1.15 paf 3015: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016: (exit $ac_status); } &&
1.25 paf 3017: { ac_try='test -z "$ac_c_werror_flag"
3018: || test ! -s conftest.err'
3019: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020: (eval $ac_try) 2>&5
3021: ac_status=$?
3022: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023: (exit $ac_status); }; } &&
3024: { ac_try='test -s conftest.$ac_objext'
1.15 paf 3025: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026: (eval $ac_try) 2>&5
3027: ac_status=$?
3028: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029: (exit $ac_status); }; }; then
3030: ac_compiler_gnu=yes
3031: else
3032: echo "$as_me: failed program was:" >&5
3033: sed 's/^/| /' conftest.$ac_ext >&5
3034:
3035: ac_compiler_gnu=no
3036: fi
1.25 paf 3037: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 3038: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3039:
3040: fi
3041: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3042: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3043: GCC=`test $ac_compiler_gnu = yes && echo yes`
3044: ac_test_CFLAGS=${CFLAGS+set}
3045: ac_save_CFLAGS=$CFLAGS
3046: CFLAGS="-g"
3047: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3048: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3049: if test "${ac_cv_prog_cc_g+set}" = set; then
3050: echo $ECHO_N "(cached) $ECHO_C" >&6
3051: else
3052: cat >conftest.$ac_ext <<_ACEOF
3053: /* confdefs.h. */
3054: _ACEOF
3055: cat confdefs.h >>conftest.$ac_ext
3056: cat >>conftest.$ac_ext <<_ACEOF
3057: /* end confdefs.h. */
3058:
3059: int
3060: main ()
3061: {
3062:
3063: ;
3064: return 0;
3065: }
3066: _ACEOF
3067: rm -f conftest.$ac_objext
3068: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 3069: (eval $ac_compile) 2>conftest.er1
1.15 paf 3070: ac_status=$?
1.25 paf 3071: grep -v '^ *+' conftest.er1 >conftest.err
3072: rm -f conftest.er1
3073: cat conftest.err >&5
1.15 paf 3074: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075: (exit $ac_status); } &&
1.25 paf 3076: { ac_try='test -z "$ac_c_werror_flag"
3077: || test ! -s conftest.err'
3078: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3079: (eval $ac_try) 2>&5
3080: ac_status=$?
3081: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082: (exit $ac_status); }; } &&
3083: { ac_try='test -s conftest.$ac_objext'
1.15 paf 3084: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085: (eval $ac_try) 2>&5
3086: ac_status=$?
3087: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088: (exit $ac_status); }; }; then
3089: ac_cv_prog_cc_g=yes
1.1 parser 3090: else
1.15 paf 3091: echo "$as_me: failed program was:" >&5
3092: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 3093:
1.15 paf 3094: ac_cv_prog_cc_g=no
1.1 parser 3095: fi
1.25 paf 3096: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 parser 3097: fi
1.15 paf 3098: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3099: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1 parser 3100: if test "$ac_test_CFLAGS" = set; then
1.15 paf 3101: CFLAGS=$ac_save_CFLAGS
1.1 parser 3102: elif test $ac_cv_prog_cc_g = yes; then
3103: if test "$GCC" = yes; then
3104: CFLAGS="-g -O2"
3105: else
3106: CFLAGS="-g"
3107: fi
3108: else
3109: if test "$GCC" = yes; then
3110: CFLAGS="-O2"
3111: else
3112: CFLAGS=
3113: fi
3114: fi
1.15 paf 3115: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3116: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3117: if test "${ac_cv_prog_cc_stdc+set}" = set; then
3118: echo $ECHO_N "(cached) $ECHO_C" >&6
3119: else
3120: ac_cv_prog_cc_stdc=no
3121: ac_save_CC=$CC
3122: cat >conftest.$ac_ext <<_ACEOF
3123: /* confdefs.h. */
3124: _ACEOF
3125: cat confdefs.h >>conftest.$ac_ext
3126: cat >>conftest.$ac_ext <<_ACEOF
3127: /* end confdefs.h. */
3128: #include <stdarg.h>
3129: #include <stdio.h>
3130: #include <sys/types.h>
3131: #include <sys/stat.h>
3132: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3133: struct buf { int x; };
3134: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3135: static char *e (p, i)
3136: char **p;
3137: int i;
3138: {
3139: return p[i];
3140: }
3141: static char *f (char * (*g) (char **, int), char **p, ...)
3142: {
3143: char *s;
3144: va_list v;
3145: va_start (v,p);
3146: s = g (p, va_arg (v,int));
3147: va_end (v);
3148: return s;
3149: }
1.25 paf 3150:
3151: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3152: function prototypes and stuff, but not '\xHH' hex character constants.
3153: These don't provoke an error unfortunately, instead are silently treated
3154: as 'x'. The following induces an error, until -std1 is added to get
3155: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3156: array size at least. It's necessary to write '\x00'==0 to get something
3157: that's true only with -std1. */
3158: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3159:
1.15 paf 3160: int test (int i, double x);
3161: struct s1 {int (*f) (int a);};
3162: struct s2 {int (*f) (double a);};
3163: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3164: int argc;
3165: char **argv;
3166: int
3167: main ()
3168: {
3169: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3170: ;
3171: return 0;
3172: }
3173: _ACEOF
3174: # Don't try gcc -ansi; that turns off useful extensions and
3175: # breaks some systems' header files.
3176: # AIX -qlanglvl=ansi
3177: # Ultrix and OSF/1 -std1
3178: # HP-UX 10.20 and later -Ae
3179: # HP-UX older versions -Aa -D_HPUX_SOURCE
3180: # SVR4 -Xc -D__EXTENSIONS__
3181: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3182: do
3183: CC="$ac_save_CC $ac_arg"
3184: rm -f conftest.$ac_objext
3185: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 3186: (eval $ac_compile) 2>conftest.er1
1.15 paf 3187: ac_status=$?
1.25 paf 3188: grep -v '^ *+' conftest.er1 >conftest.err
3189: rm -f conftest.er1
3190: cat conftest.err >&5
1.15 paf 3191: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192: (exit $ac_status); } &&
1.25 paf 3193: { ac_try='test -z "$ac_c_werror_flag"
3194: || test ! -s conftest.err'
3195: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196: (eval $ac_try) 2>&5
3197: ac_status=$?
3198: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199: (exit $ac_status); }; } &&
3200: { ac_try='test -s conftest.$ac_objext'
1.15 paf 3201: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202: (eval $ac_try) 2>&5
3203: ac_status=$?
3204: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205: (exit $ac_status); }; }; then
3206: ac_cv_prog_cc_stdc=$ac_arg
3207: break
3208: else
3209: echo "$as_me: failed program was:" >&5
3210: sed 's/^/| /' conftest.$ac_ext >&5
3211:
3212: fi
1.25 paf 3213: rm -f conftest.err conftest.$ac_objext
1.15 paf 3214: done
3215: rm -f conftest.$ac_ext conftest.$ac_objext
3216: CC=$ac_save_CC
3217:
3218: fi
3219:
3220: case "x$ac_cv_prog_cc_stdc" in
3221: x|xno)
3222: echo "$as_me:$LINENO: result: none needed" >&5
3223: echo "${ECHO_T}none needed" >&6 ;;
3224: *)
3225: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3226: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3227: CC="$CC $ac_cv_prog_cc_stdc" ;;
3228: esac
3229:
3230: # Some people use a C++ compiler to compile C. Since we use `exit',
3231: # in C++ we need to declare it. In case someone uses the same compiler
3232: # for both compiling C and C++ we need to have the C++ compiler decide
3233: # the declaration of exit, since it's the most demanding environment.
3234: cat >conftest.$ac_ext <<_ACEOF
3235: #ifndef __cplusplus
3236: choke me
3237: #endif
3238: _ACEOF
3239: rm -f conftest.$ac_objext
3240: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 3241: (eval $ac_compile) 2>conftest.er1
1.15 paf 3242: ac_status=$?
1.25 paf 3243: grep -v '^ *+' conftest.er1 >conftest.err
3244: rm -f conftest.er1
3245: cat conftest.err >&5
1.15 paf 3246: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247: (exit $ac_status); } &&
1.25 paf 3248: { ac_try='test -z "$ac_c_werror_flag"
3249: || test ! -s conftest.err'
3250: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251: (eval $ac_try) 2>&5
3252: ac_status=$?
3253: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254: (exit $ac_status); }; } &&
3255: { ac_try='test -s conftest.$ac_objext'
1.15 paf 3256: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257: (eval $ac_try) 2>&5
3258: ac_status=$?
3259: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260: (exit $ac_status); }; }; then
3261: for ac_declaration in \
1.25 paf 3262: '' \
1.15 paf 3263: 'extern "C" void std::exit (int) throw (); using std::exit;' \
3264: 'extern "C" void std::exit (int); using std::exit;' \
3265: 'extern "C" void exit (int) throw ();' \
3266: 'extern "C" void exit (int);' \
3267: 'void exit (int);'
3268: do
3269: cat >conftest.$ac_ext <<_ACEOF
3270: /* confdefs.h. */
3271: _ACEOF
3272: cat confdefs.h >>conftest.$ac_ext
3273: cat >>conftest.$ac_ext <<_ACEOF
3274: /* end confdefs.h. */
1.25 paf 3275: $ac_declaration
1.15 paf 3276: #include <stdlib.h>
3277: int
3278: main ()
3279: {
3280: exit (42);
3281: ;
3282: return 0;
3283: }
3284: _ACEOF
3285: rm -f conftest.$ac_objext
3286: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 3287: (eval $ac_compile) 2>conftest.er1
1.15 paf 3288: ac_status=$?
1.25 paf 3289: grep -v '^ *+' conftest.er1 >conftest.err
3290: rm -f conftest.er1
3291: cat conftest.err >&5
1.15 paf 3292: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293: (exit $ac_status); } &&
1.25 paf 3294: { ac_try='test -z "$ac_c_werror_flag"
3295: || test ! -s conftest.err'
3296: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297: (eval $ac_try) 2>&5
3298: ac_status=$?
3299: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300: (exit $ac_status); }; } &&
3301: { ac_try='test -s conftest.$ac_objext'
1.15 paf 3302: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303: (eval $ac_try) 2>&5
3304: ac_status=$?
3305: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306: (exit $ac_status); }; }; then
3307: :
3308: else
3309: echo "$as_me: failed program was:" >&5
3310: sed 's/^/| /' conftest.$ac_ext >&5
3311:
3312: continue
3313: fi
1.25 paf 3314: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 3315: cat >conftest.$ac_ext <<_ACEOF
3316: /* confdefs.h. */
3317: _ACEOF
3318: cat confdefs.h >>conftest.$ac_ext
3319: cat >>conftest.$ac_ext <<_ACEOF
3320: /* end confdefs.h. */
3321: $ac_declaration
3322: int
3323: main ()
3324: {
3325: exit (42);
3326: ;
3327: return 0;
3328: }
3329: _ACEOF
3330: rm -f conftest.$ac_objext
3331: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 3332: (eval $ac_compile) 2>conftest.er1
1.15 paf 3333: ac_status=$?
1.25 paf 3334: grep -v '^ *+' conftest.er1 >conftest.err
3335: rm -f conftest.er1
3336: cat conftest.err >&5
1.15 paf 3337: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338: (exit $ac_status); } &&
1.25 paf 3339: { ac_try='test -z "$ac_c_werror_flag"
3340: || test ! -s conftest.err'
3341: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342: (eval $ac_try) 2>&5
3343: ac_status=$?
3344: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345: (exit $ac_status); }; } &&
3346: { ac_try='test -s conftest.$ac_objext'
1.15 paf 3347: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348: (eval $ac_try) 2>&5
3349: ac_status=$?
3350: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351: (exit $ac_status); }; }; then
3352: break
3353: else
3354: echo "$as_me: failed program was:" >&5
3355: sed 's/^/| /' conftest.$ac_ext >&5
3356:
3357: fi
1.25 paf 3358: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 3359: done
3360: rm -f conftest*
3361: if test -n "$ac_declaration"; then
3362: echo '#ifdef __cplusplus' >>confdefs.h
3363: echo $ac_declaration >>confdefs.h
3364: echo '#endif' >>confdefs.h
3365: fi
3366:
3367: else
3368: echo "$as_me: failed program was:" >&5
3369: sed 's/^/| /' conftest.$ac_ext >&5
3370:
3371: fi
1.25 paf 3372: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.24 paf 3373: ac_ext=c
3374: ac_cpp='$CPP $CPPFLAGS'
3375: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15 paf 3378:
3379: depcc="$CC" am_compiler_list=
3380:
3381: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3382: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3383: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3384: echo $ECHO_N "(cached) $ECHO_C" >&6
3385: else
3386: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3387: # We make a subdir and do the tests there. Otherwise we can end up
3388: # making bogus files that we don't know about and never remove. For
3389: # instance it was reported that on HP-UX the gcc test will end up
3390: # making a dummy file named `D' -- because `-MD' means `put the output
3391: # in D'.
3392: mkdir conftest.dir
3393: # Copy depcomp to subdir because otherwise we won't find it if we're
3394: # using a relative directory.
3395: cp "$am_depcomp" conftest.dir
3396: cd conftest.dir
1.25 paf 3397: # We will build objects and dependencies in a subdirectory because
3398: # it helps to detect inapplicable dependency modes. For instance
3399: # both Tru64's cc and ICC support -MD to output dependencies as a
3400: # side effect of compilation, but ICC will put the dependencies in
3401: # the current directory while Tru64 will put them in the object
3402: # directory.
3403: mkdir sub
1.15 paf 3404:
3405: am_cv_CC_dependencies_compiler_type=none
3406: if test "$am_compiler_list" = ""; then
3407: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3408: fi
3409: for depmode in $am_compiler_list; do
1.25 paf 3410: # Setup a source with many dependencies, because some compilers
3411: # like to wrap large dependency lists on column 80 (with \), and
3412: # we should not choose a depcomp mode which is confused by this.
3413: #
1.15 paf 3414: # We need to recreate these files for each test, as the compiler may
3415: # overwrite some of them when testing with obscure command lines.
3416: # This happens at least with the AIX C compiler.
1.25 paf 3417: : > sub/conftest.c
3418: for i in 1 2 3 4 5 6; do
3419: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3420: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3421: # Solaris 8's {/usr,}/bin/sh.
3422: touch sub/conftst$i.h
3423: done
3424: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.15 paf 3425:
3426: case $depmode in
3427: nosideeffect)
3428: # after this tag, mechanisms are not by side-effect, so they'll
3429: # only be used when explicitly requested
3430: if test "x$enable_dependency_tracking" = xyes; then
3431: continue
3432: else
3433: break
3434: fi
3435: ;;
3436: none) break ;;
3437: esac
3438: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3439: # mode. It turns out that the SunPro C++ compiler does not properly
3440: # handle `-M -o', and we need to detect this.
3441: if depmode=$depmode \
1.25 paf 3442: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3443: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3444: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3445: >/dev/null 2>conftest.err &&
3446: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3447: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.15 paf 3448: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.25 paf 3449: # icc doesn't choke on unknown options, it will just issue warnings
3450: # or remarks (even with -Werror). So we grep stderr for any message
3451: # that says an option was ignored or not supported.
3452: # When given -MP, icc 7.0 and 7.1 complain thusly:
3453: # icc: Command line warning: ignoring option '-M'; no argument required
3454: # The diagnosis changed in icc 8.0:
3455: # icc: Command line remark: option '-MP' not supported
3456: if (grep 'ignoring option' conftest.err ||
3457: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3458: am_cv_CC_dependencies_compiler_type=$depmode
3459: break
3460: fi
1.15 paf 3461: fi
3462: done
3463:
3464: cd ..
3465: rm -rf conftest.dir
3466: else
3467: am_cv_CC_dependencies_compiler_type=none
3468: fi
3469:
3470: fi
3471: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3472: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3473: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3474:
3475:
3476:
3477: if
3478: test "x$enable_dependency_tracking" != xno \
3479: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3480: am__fastdepCC_TRUE=
3481: am__fastdepCC_FALSE='#'
3482: else
3483: am__fastdepCC_TRUE='#'
3484: am__fastdepCC_FALSE=
3485: fi
3486:
3487:
1.24 paf 3488:
1.35 ! moko 3489:
! 3490: case `pwd` in
! 3491: *\ * | *\ *)
! 3492: { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 3493: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
! 3494: esac
! 3495:
! 3496:
! 3497:
! 3498: macro_version='2.4.2'
! 3499: macro_revision='1.3337'
! 3500:
! 3501:
! 3502:
! 3503:
! 3504:
! 3505:
! 3506:
1.24 paf 3507:
3508:
3509:
3510:
3511:
3512:
1.35 ! moko 3513: ltmain="$ac_aux_dir/ltmain.sh"
1.24 paf 3514:
3515: # Make sure we can run config.sub.
3516: $ac_config_sub sun4 >/dev/null 2>&1 ||
3517: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3518: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3519: { (exit 1); exit 1; }; }
3520:
3521: echo "$as_me:$LINENO: checking build system type" >&5
3522: echo $ECHO_N "checking build system type... $ECHO_C" >&6
3523: if test "${ac_cv_build+set}" = set; then
3524: echo $ECHO_N "(cached) $ECHO_C" >&6
3525: else
3526: ac_cv_build_alias=$build_alias
3527: test -z "$ac_cv_build_alias" &&
3528: ac_cv_build_alias=`$ac_config_guess`
3529: test -z "$ac_cv_build_alias" &&
3530: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3531: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3532: { (exit 1); exit 1; }; }
3533: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3534: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3535: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3536: { (exit 1); exit 1; }; }
3537:
3538: fi
3539: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3540: echo "${ECHO_T}$ac_cv_build" >&6
3541: build=$ac_cv_build
3542: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3543: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3544: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3545:
3546:
3547: echo "$as_me:$LINENO: checking host system type" >&5
3548: echo $ECHO_N "checking host system type... $ECHO_C" >&6
3549: if test "${ac_cv_host+set}" = set; then
3550: echo $ECHO_N "(cached) $ECHO_C" >&6
3551: else
3552: ac_cv_host_alias=$host_alias
3553: test -z "$ac_cv_host_alias" &&
3554: ac_cv_host_alias=$ac_cv_build_alias
3555: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3556: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3557: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3558: { (exit 1); exit 1; }; }
3559:
3560: fi
3561: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3562: echo "${ECHO_T}$ac_cv_host" >&6
3563: host=$ac_cv_host
3564: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3565: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3566: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3567:
3568:
1.35 ! moko 3569: # Backslashify metacharacters that are still active within
! 3570: # double-quoted strings.
! 3571: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 3572:
! 3573: # Same as above, but do not quote variable references.
! 3574: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 3575:
! 3576: # Sed substitution to delay expansion of an escaped shell variable in a
! 3577: # double_quote_subst'ed string.
! 3578: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 3579:
! 3580: # Sed substitution to delay expansion of an escaped single quote.
! 3581: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.15 paf 3582:
1.35 ! moko 3583: # Sed substitution to avoid accidental globbing in evaled expressions
! 3584: no_glob_subst='s/\*/\\\*/g'
1.1 parser 3585:
1.35 ! moko 3586: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 3587: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
! 3588: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
! 3589:
! 3590: echo "$as_me:$LINENO: checking how to print strings" >&5
! 3591: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
! 3592: # Test print first, because it will be a builtin if present.
! 3593: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
! 3594: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3595: ECHO='print -r --'
! 3596: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3597: ECHO='printf %s\n'
1.1 parser 3598: else
1.35 ! moko 3599: # Use this function as a fallback that always works.
! 3600: func_fallback_echo ()
! 3601: {
! 3602: eval 'cat <<_LTECHO_EOF
! 3603: $1
! 3604: _LTECHO_EOF'
! 3605: }
! 3606: ECHO='func_fallback_echo'
1.1 parser 3607: fi
1.35 ! moko 3608:
! 3609: # func_echo_all arg...
! 3610: # Invoke $ECHO with all args, space-separated.
! 3611: func_echo_all ()
! 3612: {
! 3613: $ECHO ""
! 3614: }
! 3615:
! 3616: case "$ECHO" in
! 3617: printf*) echo "$as_me:$LINENO: result: printf" >&5
! 3618: echo "${ECHO_T}printf" >&6 ;;
! 3619: print*) echo "$as_me:$LINENO: result: print -r" >&5
! 3620: echo "${ECHO_T}print -r" >&6 ;;
! 3621: *) echo "$as_me:$LINENO: result: cat" >&5
! 3622: echo "${ECHO_T}cat" >&6 ;;
! 3623: esac
! 3624:
! 3625:
! 3626:
! 3627:
! 3628:
! 3629:
! 3630:
! 3631:
! 3632:
! 3633:
! 3634:
! 3635:
! 3636:
! 3637:
! 3638: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3639: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! 3640: if test "${lt_cv_path_SED+set}" = set; then
! 3641: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3642: else
! 3643: # Loop through the user's path and test for sed and gsed.
! 3644: # Then use that list of sed's as ones to test for truncation.
! 3645: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3646: for as_dir in $PATH
! 3647: do
! 3648: IFS=$as_save_IFS
! 3649: test -z "$as_dir" && as_dir=.
! 3650: for lt_ac_prog in sed gsed; do
! 3651: for ac_exec_ext in '' $ac_executable_extensions; do
! 3652: if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
! 3653: lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
! 3654: fi
! 3655: done
! 3656: done
! 3657: done
! 3658: IFS=$as_save_IFS
! 3659: lt_ac_max=0
! 3660: lt_ac_count=0
! 3661: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 3662: # along with /bin/sed that truncates output.
! 3663: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
! 3664: test ! -f $lt_ac_sed && continue
! 3665: cat /dev/null > conftest.in
! 3666: lt_ac_count=0
! 3667: echo $ECHO_N "0123456789$ECHO_C" >conftest.in
! 3668: # Check for GNU sed and select it if it is found.
! 3669: if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
! 3670: lt_cv_path_SED=$lt_ac_sed
! 3671: break
! 3672: fi
! 3673: while true; do
! 3674: cat conftest.in conftest.in >conftest.tmp
! 3675: mv conftest.tmp conftest.in
! 3676: cp conftest.in conftest.nl
! 3677: echo >>conftest.nl
! 3678: $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
! 3679: cmp -s conftest.out conftest.nl || break
! 3680: # 10000 chars as input seems more than enough
! 3681: test $lt_ac_count -gt 10 && break
! 3682: lt_ac_count=`expr $lt_ac_count + 1`
! 3683: if test $lt_ac_count -gt $lt_ac_max; then
! 3684: lt_ac_max=$lt_ac_count
! 3685: lt_cv_path_SED=$lt_ac_sed
! 3686: fi
! 3687: done
! 3688: done
! 3689:
! 3690: fi
! 3691:
! 3692: SED=$lt_cv_path_SED
! 3693:
! 3694: echo "$as_me:$LINENO: result: $SED" >&5
! 3695: echo "${ECHO_T}$SED" >&6
! 3696:
! 3697: test -z "$SED" && SED=sed
! 3698: Xsed="$SED -e 1s/^X//"
! 3699:
! 3700:
! 3701:
! 3702:
! 3703:
! 3704:
! 3705:
! 3706:
! 3707:
! 3708:
! 3709:
! 3710: echo "$as_me:$LINENO: checking for egrep" >&5
! 3711: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 3712: if test "${ac_cv_prog_egrep+set}" = set; then
! 3713: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3714: else
! 3715: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 3716: then ac_cv_prog_egrep='grep -E'
! 3717: else ac_cv_prog_egrep='egrep'
! 3718: fi
! 3719: fi
! 3720: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 3721: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 3722: EGREP=$ac_cv_prog_egrep
! 3723:
! 3724:
! 3725: echo "$as_me:$LINENO: checking for fgrep" >&5
! 3726: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
! 3727: if test "${ac_cv_prog_fgrep+set}" = set; then
! 3728: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3729: else
! 3730: if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
! 3731: then ac_cv_prog_fgrep='grep -F'
! 3732: else ac_cv_prog_fgrep='fgrep'
! 3733: fi
! 3734: fi
! 3735: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
! 3736: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
! 3737: FGREP=$ac_cv_prog_fgrep
! 3738:
! 3739:
! 3740: test -z "$GREP" && GREP=grep
! 3741:
! 3742:
! 3743:
! 3744:
! 3745:
! 3746:
! 3747:
! 3748:
! 3749:
! 3750:
! 3751:
! 3752:
! 3753:
! 3754:
! 3755:
! 3756:
! 3757:
! 3758:
! 3759:
! 3760: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 3761: if test "${with_gnu_ld+set}" = set; then
! 3762: withval="$with_gnu_ld"
! 3763: test "$withval" = no || with_gnu_ld=yes
! 3764: else
! 3765: with_gnu_ld=no
! 3766: fi;
! 3767: ac_prog=ld
! 3768: if test "$GCC" = yes; then
! 3769: # Check if gcc -print-prog-name=ld gives a path.
! 3770: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 3771: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
! 3772: case $host in
! 3773: *-*-mingw*)
! 3774: # gcc leaves a trailing carriage return which upsets mingw
! 3775: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 3776: *)
! 3777: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 3778: esac
! 3779: case $ac_prog in
! 3780: # Accept absolute paths.
! 3781: [\\/]* | ?:[\\/]*)
! 3782: re_direlt='/[^/][^/]*/\.\./'
! 3783: # Canonicalize the pathname of ld
! 3784: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 3785: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 3786: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 3787: done
! 3788: test -z "$LD" && LD="$ac_prog"
! 3789: ;;
! 3790: "")
! 3791: # If it fails, then pretend we aren't using GCC.
! 3792: ac_prog=ld
! 3793: ;;
! 3794: *)
! 3795: # If it is relative, then search for the first ld in PATH.
! 3796: with_gnu_ld=unknown
! 3797: ;;
! 3798: esac
! 3799: elif test "$with_gnu_ld" = yes; then
! 3800: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 3801: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 3802: else
! 3803: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 3804: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 3805: fi
! 3806: if test "${lt_cv_path_LD+set}" = set; then
1.15 paf 3807: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3808: else
3809: if test -z "$LD"; then
1.35 ! moko 3810: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1 parser 3811: for ac_dir in $PATH; do
1.35 ! moko 3812: IFS="$lt_save_ifs"
1.1 parser 3813: test -z "$ac_dir" && ac_dir=.
3814: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.15 paf 3815: lt_cv_path_LD="$ac_dir/$ac_prog"
1.1 parser 3816: # Check to see if the program is GNU ld. I'd rather use --version,
1.35 ! moko 3817: # but apparently some variants of GNU ld only accept -v.
1.1 parser 3818: # Break only if it was the GNU/non-GNU ld that we prefer.
1.35 ! moko 3819: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 3820: *GNU* | *'with BFD'*)
1.1 parser 3821: test "$with_gnu_ld" != no && break
1.35 ! moko 3822: ;;
! 3823: *)
1.1 parser 3824: test "$with_gnu_ld" != yes && break
1.35 ! moko 3825: ;;
! 3826: esac
1.1 parser 3827: fi
3828: done
1.35 ! moko 3829: IFS="$lt_save_ifs"
1.1 parser 3830: else
1.15 paf 3831: lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1 parser 3832: fi
3833: fi
3834:
1.15 paf 3835: LD="$lt_cv_path_LD"
1.1 parser 3836: if test -n "$LD"; then
1.15 paf 3837: echo "$as_me:$LINENO: result: $LD" >&5
3838: echo "${ECHO_T}$LD" >&6
1.1 parser 3839: else
1.15 paf 3840: echo "$as_me:$LINENO: result: no" >&5
3841: echo "${ECHO_T}no" >&6
1.1 parser 3842: fi
1.15 paf 3843: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3844: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3845: { (exit 1); exit 1; }; }
3846: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3847: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3848: if test "${lt_cv_prog_gnu_ld+set}" = set; then
3849: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3850: else
1.35 ! moko 3851: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 3852: case `$LD -v 2>&1 </dev/null` in
! 3853: *GNU* | *'with BFD'*)
1.15 paf 3854: lt_cv_prog_gnu_ld=yes
1.35 ! moko 3855: ;;
! 3856: *)
1.15 paf 3857: lt_cv_prog_gnu_ld=no
1.35 ! moko 3858: ;;
! 3859: esac
1.1 parser 3860: fi
1.15 paf 3861: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3862: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3863: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1 parser 3864:
3865:
3866:
1.35 ! moko 3867:
! 3868:
! 3869:
! 3870:
! 3871:
! 3872:
! 3873: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
! 3874: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
1.15 paf 3875: if test "${lt_cv_path_NM+set}" = set; then
3876: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3877: else
3878: if test -n "$NM"; then
3879: # Let the user override the test.
1.15 paf 3880: lt_cv_path_NM="$NM"
1.1 parser 3881: else
1.35 ! moko 3882: lt_nm_to_check="${ac_tool_prefix}nm"
! 3883: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 3884: lt_nm_to_check="$lt_nm_to_check nm"
! 3885: fi
! 3886: for lt_tmp_nm in $lt_nm_to_check; do
! 3887: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3888: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 3889: IFS="$lt_save_ifs"
! 3890: test -z "$ac_dir" && ac_dir=.
! 3891: tmp_nm="$ac_dir/$lt_tmp_nm"
! 3892: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 3893: # Check to see if the nm accepts a BSD-compat flag.
! 3894: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 3895: # nm: unknown option "B" ignored
! 3896: # Tru64's nm complains that /dev/null is an invalid object file
! 3897: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 3898: */dev/null* | *'Invalid file or object type'*)
! 3899: lt_cv_path_NM="$tmp_nm -B"
! 3900: break
! 3901: ;;
! 3902: *)
! 3903: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 3904: */dev/null*)
! 3905: lt_cv_path_NM="$tmp_nm -p"
! 3906: break
! 3907: ;;
! 3908: *)
! 3909: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 3910: continue # so that we can try to find one that supports BSD flags
! 3911: ;;
! 3912: esac
! 3913: ;;
! 3914: esac
1.1 parser 3915: fi
1.35 ! moko 3916: done
! 3917: IFS="$lt_save_ifs"
1.1 parser 3918: done
1.35 ! moko 3919: : ${lt_cv_path_NM=no}
1.1 parser 3920: fi
3921: fi
1.35 ! moko 3922: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 3923: echo "${ECHO_T}$lt_cv_path_NM" >&6
! 3924: if test "$lt_cv_path_NM" != "no"; then
! 3925: NM="$lt_cv_path_NM"
! 3926: else
! 3927: # Didn't find any BSD compatible name lister, look for dumpbin.
! 3928: if test -n "$DUMPBIN"; then :
! 3929: # Let the user override the test.
! 3930: else
! 3931: if test -n "$ac_tool_prefix"; then
! 3932: for ac_prog in dumpbin "link -dump"
! 3933: do
! 3934: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3935: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3936: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3937: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3938: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
1.15 paf 3939: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3940: else
1.35 ! moko 3941: if test -n "$DUMPBIN"; then
! 3942: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 3943: else
1.15 paf 3944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945: for as_dir in $PATH
3946: do
3947: IFS=$as_save_IFS
3948: test -z "$as_dir" && as_dir=.
1.35 ! moko 3949: for ac_exec_ext in '' $ac_executable_extensions; do
! 3950: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3951: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 3952: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3953: break 2
! 3954: fi
! 3955: done
1.15 paf 3956: done
3957:
1.35 ! moko 3958: fi
! 3959: fi
! 3960: DUMPBIN=$ac_cv_prog_DUMPBIN
! 3961: if test -n "$DUMPBIN"; then
! 3962: echo "$as_me:$LINENO: result: $DUMPBIN" >&5
! 3963: echo "${ECHO_T}$DUMPBIN" >&6
! 3964: else
! 3965: echo "$as_me:$LINENO: result: no" >&5
! 3966: echo "${ECHO_T}no" >&6
! 3967: fi
1.15 paf 3968:
1.35 ! moko 3969: test -n "$DUMPBIN" && break
1.15 paf 3970: done
1.35 ! moko 3971: fi
! 3972: if test -z "$DUMPBIN"; then
! 3973: ac_ct_DUMPBIN=$DUMPBIN
! 3974: for ac_prog in dumpbin "link -dump"
! 3975: do
! 3976: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 3977: set dummy $ac_prog; ac_word=$2
! 3978: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3979: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3980: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
! 3981: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3982: else
! 3983: if test -n "$ac_ct_DUMPBIN"; then
! 3984: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 3985: else
! 3986: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3987: for as_dir in $PATH
! 3988: do
! 3989: IFS=$as_save_IFS
! 3990: test -z "$as_dir" && as_dir=.
! 3991: for ac_exec_ext in '' $ac_executable_extensions; do
! 3992: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3993: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 3994: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3995: break 2
! 3996: fi
! 3997: done
! 3998: done
1.15 paf 3999:
1.1 parser 4000: fi
1.35 ! moko 4001: fi
! 4002: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 4003: if test -n "$ac_ct_DUMPBIN"; then
! 4004: echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
! 4005: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
1.11 paf 4006: else
1.35 ! moko 4007: echo "$as_me:$LINENO: result: no" >&5
! 4008: echo "${ECHO_T}no" >&6
1.11 paf 4009: fi
1.15 paf 4010:
1.35 ! moko 4011: test -n "$ac_ct_DUMPBIN" && break
! 4012: done
! 4013: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
! 4014:
! 4015: DUMPBIN=$ac_ct_DUMPBIN
1.15 paf 4016: fi
4017:
1.35 ! moko 4018: case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
! 4019: *COFF*)
! 4020: DUMPBIN="$DUMPBIN -symbols"
! 4021: ;;
! 4022: *)
! 4023: DUMPBIN=:
! 4024: ;;
! 4025: esac
! 4026: fi
! 4027:
! 4028: if test "$DUMPBIN" != ":"; then
! 4029: NM="$DUMPBIN"
! 4030: fi
! 4031: fi
! 4032: test -z "$NM" && NM=nm
! 4033:
! 4034:
! 4035:
! 4036:
! 4037:
! 4038:
! 4039: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
! 4040: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
! 4041: if test "${lt_cv_nm_interface+set}" = set; then
! 4042: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4043: else
! 4044: lt_cv_nm_interface="BSD nm"
! 4045: echo "int some_variable = 0;" > conftest.$ac_ext
! 4046: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
! 4047: (eval "$ac_compile" 2>conftest.err)
! 4048: cat conftest.err >&5
! 4049: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 4050: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 4051: cat conftest.err >&5
! 4052: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
! 4053: cat conftest.out >&5
! 4054: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 4055: lt_cv_nm_interface="MS dumpbin"
! 4056: fi
! 4057: rm -f conftest*
! 4058: fi
! 4059: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
! 4060: echo "${ECHO_T}$lt_cv_nm_interface" >&6
! 4061:
! 4062: echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 4063: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
! 4064: LN_S=$as_ln_s
! 4065: if test "$LN_S" = "ln -s"; then
! 4066: echo "$as_me:$LINENO: result: yes" >&5
! 4067: echo "${ECHO_T}yes" >&6
! 4068: else
! 4069: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 4070: echo "${ECHO_T}no, using $LN_S" >&6
! 4071: fi
! 4072:
! 4073: # find the maximum length of command line arguments
! 4074: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 4075: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
! 4076: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
! 4077: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4078: else
! 4079: i=0
! 4080: teststring="ABCD"
! 4081:
! 4082: case $build_os in
! 4083: msdosdjgpp*)
! 4084: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 4085: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 4086: # during glob expansion). Even if it were fixed, the result of this
! 4087: # check would be larger than it should be.
! 4088: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 4089: ;;
! 4090:
! 4091: gnu*)
! 4092: # Under GNU Hurd, this test is not required because there is
! 4093: # no limit to the length of command line arguments.
! 4094: # Libtool will interpret -1 as no limit whatsoever
! 4095: lt_cv_sys_max_cmd_len=-1;
! 4096: ;;
! 4097:
! 4098: cygwin* | mingw* | cegcc*)
! 4099: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 4100: # about 5 minutes as the teststring grows exponentially.
! 4101: # Worse, since 9x/ME are not pre-emptively multitasking,
! 4102: # you end up with a "frozen" computer, even though with patience
! 4103: # the test eventually succeeds (with a max line length of 256k).
! 4104: # Instead, let's just punt: use the minimum linelength reported by
! 4105: # all of the supported platforms: 8192 (on NT/2K/XP).
! 4106: lt_cv_sys_max_cmd_len=8192;
! 4107: ;;
! 4108:
! 4109: mint*)
! 4110: # On MiNT this can take a long time and run out of memory.
! 4111: lt_cv_sys_max_cmd_len=8192;
! 4112: ;;
! 4113:
! 4114: amigaos*)
! 4115: # On AmigaOS with pdksh, this test takes hours, literally.
! 4116: # So we just punt and use a minimum line length of 8192.
! 4117: lt_cv_sys_max_cmd_len=8192;
! 4118: ;;
! 4119:
! 4120: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 4121: # This has been around since 386BSD, at least. Likely further.
! 4122: if test -x /sbin/sysctl; then
! 4123: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 4124: elif test -x /usr/sbin/sysctl; then
! 4125: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 4126: else
! 4127: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 4128: fi
! 4129: # And add a safety zone
! 4130: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4131: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4132: ;;
! 4133:
! 4134: interix*)
! 4135: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 4136: lt_cv_sys_max_cmd_len=196608
! 4137: ;;
! 4138:
! 4139: os2*)
! 4140: # The test takes a long time on OS/2.
! 4141: lt_cv_sys_max_cmd_len=8192
! 4142: ;;
! 4143:
! 4144: osf*)
! 4145: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 4146: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 4147: # nice to cause kernel panics so lets avoid the loop below.
! 4148: # First set a reasonable default.
! 4149: lt_cv_sys_max_cmd_len=16384
! 4150: #
! 4151: if test -x /sbin/sysconfig; then
! 4152: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 4153: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 4154: esac
! 4155: fi
! 4156: ;;
! 4157: sco3.2v5*)
! 4158: lt_cv_sys_max_cmd_len=102400
! 4159: ;;
! 4160: sysv5* | sco5v6* | sysv4.2uw2*)
! 4161: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 4162: if test -n "$kargmax"; then
! 4163: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 4164: else
! 4165: lt_cv_sys_max_cmd_len=32768
! 4166: fi
! 4167: ;;
! 4168: *)
! 4169: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 4170: if test -n "$lt_cv_sys_max_cmd_len"; then
! 4171: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4172: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4173: else
! 4174: # Make teststring a little bigger before we do anything with it.
! 4175: # a 1K string should be a reasonable start.
! 4176: for i in 1 2 3 4 5 6 7 8 ; do
! 4177: teststring=$teststring$teststring
! 4178: done
! 4179: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 4180: # If test is not a shell built-in, we'll probably end up computing a
! 4181: # maximum length that is only half of the actual maximum length, but
! 4182: # we can't tell.
! 4183: while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
! 4184: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
! 4185: test $i != 17 # 1/2 MB should be enough
! 4186: do
! 4187: i=`expr $i + 1`
! 4188: teststring=$teststring$teststring
! 4189: done
! 4190: # Only check the string length outside the loop.
! 4191: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 4192: teststring=
! 4193: # Add a significant safety factor because C++ compilers can tack on
! 4194: # massive amounts of additional arguments before passing them to the
! 4195: # linker. It appears as though 1/2 is a usable value.
! 4196: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 4197: fi
! 4198: ;;
! 4199: esac
! 4200:
! 4201: fi
! 4202:
! 4203: if test -n $lt_cv_sys_max_cmd_len ; then
! 4204: echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 4205: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
! 4206: else
! 4207: echo "$as_me:$LINENO: result: none" >&5
! 4208: echo "${ECHO_T}none" >&6
! 4209: fi
! 4210: max_cmd_len=$lt_cv_sys_max_cmd_len
! 4211:
! 4212:
! 4213:
! 4214:
! 4215:
! 4216:
! 4217: : ${CP="cp -f"}
! 4218: : ${MV="mv -f"}
! 4219: : ${RM="rm -f"}
! 4220:
! 4221: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
! 4222: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
! 4223: # Try some XSI features
! 4224: xsi_shell=no
! 4225: ( _lt_dummy="a/b/c"
! 4226: test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
! 4227: = c,a/b,b/c, \
! 4228: && eval 'test $(( 1 + 1 )) -eq 2 \
! 4229: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 4230: && xsi_shell=yes
! 4231: echo "$as_me:$LINENO: result: $xsi_shell" >&5
! 4232: echo "${ECHO_T}$xsi_shell" >&6
! 4233:
! 4234:
! 4235: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
! 4236: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
! 4237: lt_shell_append=no
! 4238: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 4239: >/dev/null 2>&1 \
! 4240: && lt_shell_append=yes
! 4241: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
! 4242: echo "${ECHO_T}$lt_shell_append" >&6
! 4243:
! 4244:
! 4245: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 4246: lt_unset=unset
! 4247: else
! 4248: lt_unset=false
! 4249: fi
! 4250:
! 4251:
! 4252:
! 4253:
! 4254:
! 4255: # test EBCDIC or ASCII
! 4256: case `echo X|tr X '\101'` in
! 4257: A) # ASCII based system
! 4258: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 4259: lt_SP2NL='tr \040 \012'
! 4260: lt_NL2SP='tr \015\012 \040\040'
! 4261: ;;
! 4262: *) # EBCDIC based system
! 4263: lt_SP2NL='tr \100 \n'
! 4264: lt_NL2SP='tr \r\n \100\100'
! 4265: ;;
! 4266: esac
! 4267:
! 4268:
! 4269:
! 4270:
! 4271:
! 4272:
! 4273:
! 4274:
! 4275:
! 4276: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
! 4277: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
! 4278: if test "${lt_cv_to_host_file_cmd+set}" = set; then
! 4279: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4280: else
! 4281: case $host in
! 4282: *-*-mingw* )
! 4283: case $build in
! 4284: *-*-mingw* ) # actually msys
! 4285: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
! 4286: ;;
! 4287: *-*-cygwin* )
! 4288: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
! 4289: ;;
! 4290: * ) # otherwise, assume *nix
! 4291: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
! 4292: ;;
! 4293: esac
! 4294: ;;
! 4295: *-*-cygwin* )
! 4296: case $build in
! 4297: *-*-mingw* ) # actually msys
! 4298: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
! 4299: ;;
! 4300: *-*-cygwin* )
! 4301: lt_cv_to_host_file_cmd=func_convert_file_noop
! 4302: ;;
! 4303: * ) # otherwise, assume *nix
! 4304: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
! 4305: ;;
! 4306: esac
! 4307: ;;
! 4308: * ) # unhandled hosts (and "normal" native builds)
! 4309: lt_cv_to_host_file_cmd=func_convert_file_noop
! 4310: ;;
! 4311: esac
! 4312:
! 4313: fi
! 4314:
! 4315: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 4316: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
! 4317: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
! 4318:
! 4319:
! 4320:
! 4321:
! 4322:
! 4323: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
! 4324: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
! 4325: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
! 4326: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4327: else
! 4328: #assume ordinary cross tools, or native build.
! 4329: lt_cv_to_tool_file_cmd=func_convert_file_noop
! 4330: case $host in
! 4331: *-*-mingw* )
! 4332: case $build in
! 4333: *-*-mingw* ) # actually msys
! 4334: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
! 4335: ;;
! 4336: esac
! 4337: ;;
! 4338: esac
! 4339:
! 4340: fi
! 4341:
! 4342: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 4343: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
! 4344: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
! 4345:
! 4346:
! 4347:
! 4348:
! 4349:
! 4350: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 4351: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! 4352: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 4353: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4354: else
! 4355: lt_cv_ld_reload_flag='-r'
! 4356: fi
! 4357: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 4358: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
! 4359: reload_flag=$lt_cv_ld_reload_flag
! 4360: case $reload_flag in
! 4361: "" | " "*) ;;
! 4362: *) reload_flag=" $reload_flag" ;;
! 4363: esac
! 4364: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4365: case $host_os in
! 4366: cygwin* | mingw* | pw32* | cegcc*)
! 4367: if test "$GCC" != yes; then
! 4368: reload_cmds=false
! 4369: fi
! 4370: ;;
! 4371: darwin*)
! 4372: if test "$GCC" = yes; then
! 4373: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 4374: else
! 4375: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4376: fi
! 4377: ;;
! 4378: esac
! 4379:
! 4380:
! 4381:
! 4382:
! 4383:
! 4384:
! 4385:
! 4386:
! 4387:
! 4388: if test -n "$ac_tool_prefix"; then
! 4389: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 4390: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 4391: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4392: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4393: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
! 4394: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4395: else
! 4396: if test -n "$OBJDUMP"; then
! 4397: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 4398: else
! 4399: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4400: for as_dir in $PATH
! 4401: do
! 4402: IFS=$as_save_IFS
! 4403: test -z "$as_dir" && as_dir=.
! 4404: for ac_exec_ext in '' $ac_executable_extensions; do
! 4405: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4406: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 4407: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4408: break 2
! 4409: fi
! 4410: done
! 4411: done
! 4412:
! 4413: fi
! 4414: fi
! 4415: OBJDUMP=$ac_cv_prog_OBJDUMP
! 4416: if test -n "$OBJDUMP"; then
! 4417: echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 4418: echo "${ECHO_T}$OBJDUMP" >&6
! 4419: else
! 4420: echo "$as_me:$LINENO: result: no" >&5
! 4421: echo "${ECHO_T}no" >&6
! 4422: fi
! 4423:
! 4424: fi
! 4425: if test -z "$ac_cv_prog_OBJDUMP"; then
! 4426: ac_ct_OBJDUMP=$OBJDUMP
! 4427: # Extract the first word of "objdump", so it can be a program name with args.
! 4428: set dummy objdump; ac_word=$2
! 4429: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4430: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4431: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 4432: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4433: else
! 4434: if test -n "$ac_ct_OBJDUMP"; then
! 4435: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 4436: else
! 4437: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4438: for as_dir in $PATH
! 4439: do
! 4440: IFS=$as_save_IFS
! 4441: test -z "$as_dir" && as_dir=.
! 4442: for ac_exec_ext in '' $ac_executable_extensions; do
! 4443: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4444: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 4445: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4446: break 2
! 4447: fi
! 4448: done
! 4449: done
! 4450:
! 4451: test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
! 4452: fi
! 4453: fi
! 4454: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 4455: if test -n "$ac_ct_OBJDUMP"; then
! 4456: echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 4457: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
! 4458: else
! 4459: echo "$as_me:$LINENO: result: no" >&5
! 4460: echo "${ECHO_T}no" >&6
! 4461: fi
! 4462:
! 4463: OBJDUMP=$ac_ct_OBJDUMP
! 4464: else
! 4465: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 4466: fi
! 4467:
! 4468: test -z "$OBJDUMP" && OBJDUMP=objdump
! 4469:
! 4470:
! 4471:
! 4472:
! 4473:
! 4474:
! 4475:
! 4476:
! 4477:
! 4478: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! 4479: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
1.15 paf 4480: if test "${lt_cv_deplibs_check_method+set}" = set; then
4481: echo $ECHO_N "(cached) $ECHO_C" >&6
4482: else
4483: lt_cv_file_magic_cmd='$MAGIC_CMD'
4484: lt_cv_file_magic_test_file=
4485: lt_cv_deplibs_check_method='unknown'
4486: # Need to set the preceding variable on all platforms that support
4487: # interlibrary dependencies.
4488: # 'none' -- dependencies not supported.
4489: # `unknown' -- same as none, but documents that we really don't know.
4490: # 'pass_all' -- all dependencies passed with no checks.
4491: # 'test_compile' -- check by making test program.
4492: # 'file_magic [[regex]]' -- check by looking for files in library path
1.35 ! moko 4493: # which responds to the $file_magic_cmd with a given extended regex.
1.15 paf 4494: # If you have `file' or equivalent on your system and you're not sure
4495: # whether `pass_all' will *always* work, you probably want this one.
4496:
4497: case $host_os in
1.35 ! moko 4498: aix[4-9]*)
1.15 paf 4499: lt_cv_deplibs_check_method=pass_all
4500: ;;
1.11 paf 4501:
1.15 paf 4502: beos*)
4503: lt_cv_deplibs_check_method=pass_all
4504: ;;
1.1 parser 4505:
1.35 ! moko 4506: bsdi[45]*)
1.15 paf 4507: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4508: lt_cv_file_magic_cmd='/usr/bin/file -L'
4509: lt_cv_file_magic_test_file=/shlib/libc.so
4510: ;;
1.1 parser 4511:
1.35 ! moko 4512: cygwin*)
! 4513: # func_win32_libid is a shell function defined in ltmain.sh
! 4514: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4515: lt_cv_file_magic_cmd='func_win32_libid'
! 4516: ;;
! 4517:
! 4518: mingw* | pw32*)
! 4519: # Base MSYS/MinGW do not provide the 'file' command needed by
! 4520: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 4521: # unless we find 'file', for example because we are cross-compiling.
! 4522: # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
! 4523: if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
! 4524: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4525: lt_cv_file_magic_cmd='func_win32_libid'
! 4526: else
! 4527: # Keep this pattern in sync with the one in func_win32_libid.
! 4528: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
! 4529: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4530: fi
! 4531: ;;
! 4532:
! 4533: cegcc*)
! 4534: # use the weaker test based on 'objdump'. See mingw*.
! 4535: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.15 paf 4536: lt_cv_file_magic_cmd='$OBJDUMP -f'
4537: ;;
1.1 parser 4538:
1.15 paf 4539: darwin* | rhapsody*)
1.35 ! moko 4540: lt_cv_deplibs_check_method=pass_all
1.15 paf 4541: ;;
1.1 parser 4542:
1.35 ! moko 4543: freebsd* | dragonfly*)
! 4544: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.15 paf 4545: case $host_cpu in
4546: i*86 )
4547: # Not sure whether the presence of OpenBSD here was a mistake.
4548: # Let's accept both of them until this is cleared up.
1.35 ! moko 4549: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.15 paf 4550: lt_cv_file_magic_cmd=/usr/bin/file
4551: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1 parser 4552: ;;
4553: esac
1.15 paf 4554: else
4555: lt_cv_deplibs_check_method=pass_all
1.1 parser 4556: fi
4557: ;;
4558:
1.15 paf 4559: gnu*)
4560: lt_cv_deplibs_check_method=pass_all
4561: ;;
1.1 parser 4562:
1.35 ! moko 4563: haiku*)
! 4564: lt_cv_deplibs_check_method=pass_all
1.15 paf 4565: ;;
1.1 parser 4566:
1.35 ! moko 4567: hpux10.20* | hpux11*)
! 4568: lt_cv_file_magic_cmd=/usr/bin/file
! 4569: case $host_cpu in
! 4570: ia64*)
! 4571: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 4572: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 4573: ;;
! 4574: hppa*64*)
! 4575: 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]'
! 4576: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.15 paf 4577: ;;
4578: *)
1.35 ! moko 4579: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
! 4580: lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.15 paf 4581: ;;
4582: esac
1.35 ! moko 4583: ;;
! 4584:
! 4585: interix[3-9]*)
! 4586: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 4587: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 4588: ;;
! 4589:
! 4590: irix5* | irix6* | nonstopux*)
! 4591: case $LD in
! 4592: *-32|*"-32 ") libmagic=32-bit;;
! 4593: *-n32|*"-n32 ") libmagic=N32;;
! 4594: *-64|*"-64 ") libmagic=64-bit;;
! 4595: *) libmagic=never-match;;
! 4596: esac
1.15 paf 4597: lt_cv_deplibs_check_method=pass_all
4598: ;;
4599:
1.35 ! moko 4600: # This must be glibc/ELF.
! 4601: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 4602: lt_cv_deplibs_check_method=pass_all
1.15 paf 4603: ;;
4604:
4605: netbsd*)
1.35 ! moko 4606: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 4607: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.15 paf 4608: else
1.35 ! moko 4609: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.15 paf 4610: fi
4611: ;;
4612:
4613: newos6*)
4614: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4615: lt_cv_file_magic_cmd=/usr/bin/file
4616: lt_cv_file_magic_test_file=/usr/lib/libnls.so
4617: ;;
1.1 parser 4618:
1.35 ! moko 4619: *nto* | *qnx*)
! 4620: lt_cv_deplibs_check_method=pass_all
! 4621: ;;
! 4622:
1.15 paf 4623: openbsd*)
1.35 ! moko 4624: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 4625: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.15 paf 4626: else
1.35 ! moko 4627: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1 parser 4628: fi
4629: ;;
4630:
1.15 paf 4631: osf3* | osf4* | osf5*)
4632: lt_cv_deplibs_check_method=pass_all
4633: ;;
4634:
1.35 ! moko 4635: rdos*)
1.15 paf 4636: lt_cv_deplibs_check_method=pass_all
4637: ;;
4638:
4639: solaris*)
4640: lt_cv_deplibs_check_method=pass_all
4641: ;;
4642:
1.35 ! moko 4643: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.15 paf 4644: lt_cv_deplibs_check_method=pass_all
4645: ;;
4646:
1.35 ! moko 4647: sysv4 | sysv4.3*)
1.15 paf 4648: case $host_vendor in
4649: motorola)
4650: 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]'
4651: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4652: ;;
4653: ncr)
4654: lt_cv_deplibs_check_method=pass_all
4655: ;;
4656: sequent)
4657: lt_cv_file_magic_cmd='/bin/file'
4658: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4659: ;;
4660: sni)
4661: lt_cv_file_magic_cmd='/bin/file'
4662: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4663: lt_cv_file_magic_test_file=/lib/libc.so
4664: ;;
4665: siemens)
4666: lt_cv_deplibs_check_method=pass_all
4667: ;;
1.35 ! moko 4668: pc)
! 4669: lt_cv_deplibs_check_method=pass_all
! 4670: ;;
1.15 paf 4671: esac
4672: ;;
1.35 ! moko 4673:
! 4674: tpf*)
! 4675: lt_cv_deplibs_check_method=pass_all
! 4676: ;;
1.15 paf 4677: esac
4678:
4679: fi
4680: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4681: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.35 ! moko 4682:
! 4683: file_magic_glob=
! 4684: want_nocaseglob=no
! 4685: if test "$build" = "$host"; then
! 4686: case $host_os in
! 4687: mingw* | pw32*)
! 4688: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
! 4689: want_nocaseglob=yes
! 4690: else
! 4691: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
! 4692: fi
! 4693: ;;
! 4694: esac
! 4695: fi
! 4696:
1.15 paf 4697: file_magic_cmd=$lt_cv_file_magic_cmd
4698: deplibs_check_method=$lt_cv_deplibs_check_method
1.35 ! moko 4699: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 4700:
! 4701:
1.15 paf 4702:
4703:
4704:
4705:
4706:
4707:
4708:
4709:
1.35 ! moko 4710:
! 4711:
! 4712:
! 4713:
! 4714:
! 4715:
! 4716:
! 4717:
! 4718:
! 4719:
! 4720:
! 4721:
! 4722: if test -n "$ac_tool_prefix"; then
! 4723: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 4724: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 4725: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4726: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4727: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
! 4728: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4729: else
! 4730: if test -n "$DLLTOOL"; then
! 4731: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 4732: else
! 4733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4734: for as_dir in $PATH
! 4735: do
! 4736: IFS=$as_save_IFS
! 4737: test -z "$as_dir" && as_dir=.
! 4738: for ac_exec_ext in '' $ac_executable_extensions; do
! 4739: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4740: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 4741: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4742: break 2
! 4743: fi
! 4744: done
! 4745: done
! 4746:
! 4747: fi
! 4748: fi
! 4749: DLLTOOL=$ac_cv_prog_DLLTOOL
! 4750: if test -n "$DLLTOOL"; then
! 4751: echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 4752: echo "${ECHO_T}$DLLTOOL" >&6
! 4753: else
! 4754: echo "$as_me:$LINENO: result: no" >&5
! 4755: echo "${ECHO_T}no" >&6
! 4756: fi
! 4757:
! 4758: fi
! 4759: if test -z "$ac_cv_prog_DLLTOOL"; then
! 4760: ac_ct_DLLTOOL=$DLLTOOL
! 4761: # Extract the first word of "dlltool", so it can be a program name with args.
! 4762: set dummy dlltool; ac_word=$2
! 4763: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4764: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4765: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.15 paf 4766: echo $ECHO_N "(cached) $ECHO_C" >&6
1.11 paf 4767: else
1.35 ! moko 4768: if test -n "$ac_ct_DLLTOOL"; then
! 4769: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 4770: else
! 4771: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4772: for as_dir in $PATH
! 4773: do
! 4774: IFS=$as_save_IFS
! 4775: test -z "$as_dir" && as_dir=.
! 4776: for ac_exec_ext in '' $ac_executable_extensions; do
! 4777: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4778: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 4779: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4780: break 2
! 4781: fi
! 4782: done
! 4783: done
! 4784:
! 4785: test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
! 4786: fi
! 4787: fi
! 4788: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 4789: if test -n "$ac_ct_DLLTOOL"; then
! 4790: echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 4791: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
! 4792: else
! 4793: echo "$as_me:$LINENO: result: no" >&5
! 4794: echo "${ECHO_T}no" >&6
! 4795: fi
! 4796:
! 4797: DLLTOOL=$ac_ct_DLLTOOL
! 4798: else
! 4799: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 4800: fi
! 4801:
! 4802: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 4803:
! 4804:
! 4805:
! 4806:
1.15 paf 4807:
4808:
4809:
4810:
4811:
4812:
1.35 ! moko 4813: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
! 4814: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
! 4815: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
! 4816: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4817: else
! 4818: lt_cv_sharedlib_from_linklib_cmd='unknown'
1.15 paf 4819:
4820: case $host_os in
1.35 ! moko 4821: cygwin* | mingw* | pw32* | cegcc*)
! 4822: # two different shell functions defined in ltmain.sh
! 4823: # decide which to use based on capabilities of $DLLTOOL
! 4824: case `$DLLTOOL --help 2>&1` in
! 4825: *--identify-strict*)
! 4826: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
! 4827: ;;
! 4828: *)
! 4829: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
! 4830: ;;
! 4831: esac
1.15 paf 4832: ;;
1.35 ! moko 4833: *)
! 4834: # fallback: assume linklib IS sharedlib
! 4835: lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.15 paf 4836: ;;
4837: esac
4838:
4839: fi
1.35 ! moko 4840: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
! 4841: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
! 4842: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
! 4843: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.15 paf 4844:
4845:
4846:
4847:
4848:
4849:
4850:
4851:
1.35 ! moko 4852: if test -n "$ac_tool_prefix"; then
! 4853: for ac_prog in ar
! 4854: do
! 4855: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4856: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4857: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4858: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4859: if test "${ac_cv_prog_AR+set}" = set; then
! 4860: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4861: else
! 4862: if test -n "$AR"; then
! 4863: ac_cv_prog_AR="$AR" # Let the user override the test.
! 4864: else
! 4865: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4866: for as_dir in $PATH
! 4867: do
! 4868: IFS=$as_save_IFS
! 4869: test -z "$as_dir" && as_dir=.
! 4870: for ac_exec_ext in '' $ac_executable_extensions; do
! 4871: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4872: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 4873: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4874: break 2
1.15 paf 4875: fi
1.35 ! moko 4876: done
1.15 paf 4877: done
4878:
1.11 paf 4879: fi
4880: fi
1.35 ! moko 4881: AR=$ac_cv_prog_AR
! 4882: if test -n "$AR"; then
! 4883: echo "$as_me:$LINENO: result: $AR" >&5
! 4884: echo "${ECHO_T}$AR" >&6
1.11 paf 4885: else
1.35 ! moko 4886: echo "$as_me:$LINENO: result: no" >&5
! 4887: echo "${ECHO_T}no" >&6
1.11 paf 4888: fi
4889:
1.35 ! moko 4890: test -n "$AR" && break
! 4891: done
1.24 paf 4892: fi
1.35 ! moko 4893: if test -z "$AR"; then
! 4894: ac_ct_AR=$AR
! 4895: for ac_prog in ar
! 4896: do
! 4897: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4898: set dummy $ac_prog; ac_word=$2
! 4899: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4900: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4901: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.15 paf 4902: echo $ECHO_N "(cached) $ECHO_C" >&6
1.11 paf 4903: else
1.35 ! moko 4904: if test -n "$ac_ct_AR"; then
! 4905: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 4906: else
! 4907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4908: for as_dir in $PATH
1.15 paf 4909: do
1.35 ! moko 4910: IFS=$as_save_IFS
! 4911: test -z "$as_dir" && as_dir=.
! 4912: for ac_exec_ext in '' $ac_executable_extensions; do
! 4913: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4914: ac_cv_prog_ac_ct_AR="$ac_prog"
! 4915: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4916: break 2
1.15 paf 4917: fi
1.35 ! moko 4918: done
! 4919: done
1.15 paf 4920:
1.11 paf 4921: fi
4922: fi
1.35 ! moko 4923: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 4924: if test -n "$ac_ct_AR"; then
! 4925: echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 4926: echo "${ECHO_T}$ac_ct_AR" >&6
1.15 paf 4927: else
1.35 ! moko 4928: echo "$as_me:$LINENO: result: no" >&5
! 4929: echo "${ECHO_T}no" >&6
1.11 paf 4930: fi
4931:
1.35 ! moko 4932: test -n "$ac_ct_AR" && break
1.15 paf 4933: done
1.35 ! moko 4934: test -n "$ac_ct_AR" || ac_ct_AR="false"
! 4935:
! 4936: AR=$ac_ct_AR
1.11 paf 4937: fi
1.15 paf 4938:
1.35 ! moko 4939: : ${AR=ar}
! 4940: : ${AR_FLAGS=cru}
! 4941:
1.15 paf 4942:
4943:
1.11 paf 4944:
1.15 paf 4945:
1.11 paf 4946:
4947:
1.15 paf 4948:
1.11 paf 4949:
1.15 paf 4950:
4951:
1.35 ! moko 4952: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
! 4953: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
! 4954: if test "${lt_cv_ar_at_file+set}" = set; then
1.15 paf 4955: echo $ECHO_N "(cached) $ECHO_C" >&6
4956: else
1.35 ! moko 4957: lt_cv_ar_at_file=no
! 4958: cat >conftest.$ac_ext <<_ACEOF
1.15 paf 4959: /* confdefs.h. */
4960: _ACEOF
4961: cat confdefs.h >>conftest.$ac_ext
4962: cat >>conftest.$ac_ext <<_ACEOF
4963: /* end confdefs.h. */
4964:
4965: int
4966: main ()
4967: {
4968:
4969: ;
4970: return 0;
4971: }
4972: _ACEOF
4973: rm -f conftest.$ac_objext
4974: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.25 paf 4975: (eval $ac_compile) 2>conftest.er1
1.15 paf 4976: ac_status=$?
1.25 paf 4977: grep -v '^ *+' conftest.er1 >conftest.err
4978: rm -f conftest.er1
4979: cat conftest.err >&5
1.15 paf 4980: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981: (exit $ac_status); } &&
1.25 paf 4982: { ac_try='test -z "$ac_c_werror_flag"
4983: || test ! -s conftest.err'
4984: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985: (eval $ac_try) 2>&5
4986: ac_status=$?
4987: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988: (exit $ac_status); }; } &&
4989: { ac_try='test -s conftest.$ac_objext'
1.15 paf 4990: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4991: (eval $ac_try) 2>&5
4992: ac_status=$?
4993: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994: (exit $ac_status); }; }; then
1.35 ! moko 4995: echo conftest.$ac_objext > conftest.lst
! 4996: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
! 4997: { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
! 4998: (eval $lt_ar_try) 2>&5
! 4999: ac_status=$?
! 5000: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5001: (exit $ac_status); }
! 5002: if test "$ac_status" -eq 0; then
! 5003: # Ensure the archiver fails upon bogus file names.
! 5004: rm -f conftest.$ac_objext libconftest.a
! 5005: { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
! 5006: (eval $lt_ar_try) 2>&5
! 5007: ac_status=$?
! 5008: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5009: (exit $ac_status); }
! 5010: if test "$ac_status" -ne 0; then
! 5011: lt_cv_ar_at_file=@
! 5012: fi
! 5013: fi
! 5014: rm -f conftest.* libconftest.a
! 5015:
1.11 paf 5016: else
1.15 paf 5017: echo "$as_me: failed program was:" >&5
5018: sed 's/^/| /' conftest.$ac_ext >&5
5019:
1.11 paf 5020: fi
1.25 paf 5021: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 5022:
1.35 ! moko 5023: fi
! 5024: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
! 5025: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
! 5026:
! 5027: if test "x$lt_cv_ar_at_file" = xno; then
! 5028: archiver_list_spec=
1.11 paf 5029: else
1.35 ! moko 5030: archiver_list_spec=$lt_cv_ar_at_file
1.11 paf 5031: fi
1.15 paf 5032:
1.11 paf 5033:
1.1 parser 5034:
1.35 ! moko 5035:
! 5036:
! 5037:
! 5038:
! 5039: if test -n "$ac_tool_prefix"; then
! 5040: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5041: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5042: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5043: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5044: if test "${ac_cv_prog_STRIP+set}" = set; then
! 5045: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5046: else
! 5047: if test -n "$STRIP"; then
! 5048: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5049: else
! 5050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5051: for as_dir in $PATH
! 5052: do
! 5053: IFS=$as_save_IFS
! 5054: test -z "$as_dir" && as_dir=.
! 5055: for ac_exec_ext in '' $ac_executable_extensions; do
! 5056: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5057: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5058: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5059: break 2
! 5060: fi
! 5061: done
! 5062: done
! 5063:
! 5064: fi
! 5065: fi
! 5066: STRIP=$ac_cv_prog_STRIP
! 5067: if test -n "$STRIP"; then
! 5068: echo "$as_me:$LINENO: result: $STRIP" >&5
! 5069: echo "${ECHO_T}$STRIP" >&6
1.1 parser 5070: else
1.35 ! moko 5071: echo "$as_me:$LINENO: result: no" >&5
! 5072: echo "${ECHO_T}no" >&6
1.1 parser 5073: fi
5074:
1.15 paf 5075: fi
1.35 ! moko 5076: if test -z "$ac_cv_prog_STRIP"; then
! 5077: ac_ct_STRIP=$STRIP
! 5078: # Extract the first word of "strip", so it can be a program name with args.
! 5079: set dummy strip; ac_word=$2
! 5080: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5081: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5082: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 5083: echo $ECHO_N "(cached) $ECHO_C" >&6
1.15 paf 5084: else
1.35 ! moko 5085: if test -n "$ac_ct_STRIP"; then
! 5086: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1 parser 5087: else
1.35 ! moko 5088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5089: for as_dir in $PATH
! 5090: do
! 5091: IFS=$as_save_IFS
! 5092: test -z "$as_dir" && as_dir=.
! 5093: for ac_exec_ext in '' $ac_executable_extensions; do
! 5094: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5095: ac_cv_prog_ac_ct_STRIP="strip"
! 5096: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5097: break 2
! 5098: fi
! 5099: done
! 5100: done
1.15 paf 5101:
1.35 ! moko 5102: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1 parser 5103: fi
1.15 paf 5104: fi
1.35 ! moko 5105: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5106: if test -n "$ac_ct_STRIP"; then
! 5107: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 5108: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 5109: else
! 5110: echo "$as_me:$LINENO: result: no" >&5
! 5111: echo "${ECHO_T}no" >&6
1.15 paf 5112: fi
1.1 parser 5113:
1.35 ! moko 5114: STRIP=$ac_ct_STRIP
! 5115: else
! 5116: STRIP="$ac_cv_prog_STRIP"
1.15 paf 5117: fi
1.1 parser 5118:
1.35 ! moko 5119: test -z "$STRIP" && STRIP=:
1.1 parser 5120:
5121:
5122:
5123:
5124:
5125:
1.35 ! moko 5126: if test -n "$ac_tool_prefix"; then
! 5127: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5128: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5129: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5130: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5131: if test "${ac_cv_prog_RANLIB+set}" = set; then
1.15 paf 5132: echo $ECHO_N "(cached) $ECHO_C" >&6
5133: else
1.35 ! moko 5134: if test -n "$RANLIB"; then
! 5135: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.15 paf 5136: else
1.35 ! moko 5137: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5138: for as_dir in $PATH
! 5139: do
! 5140: IFS=$as_save_IFS
! 5141: test -z "$as_dir" && as_dir=.
! 5142: for ac_exec_ext in '' $ac_executable_extensions; do
! 5143: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5144: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5145: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5146: break 2
! 5147: fi
! 5148: done
! 5149: done
1.15 paf 5150:
5151: fi
5152: fi
1.35 ! moko 5153: RANLIB=$ac_cv_prog_RANLIB
! 5154: if test -n "$RANLIB"; then
! 5155: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 5156: echo "${ECHO_T}$RANLIB" >&6
! 5157: else
! 5158: echo "$as_me:$LINENO: result: no" >&5
! 5159: echo "${ECHO_T}no" >&6
! 5160: fi
1.15 paf 5161:
5162: fi
1.35 ! moko 5163: if test -z "$ac_cv_prog_RANLIB"; then
! 5164: ac_ct_RANLIB=$RANLIB
! 5165: # Extract the first word of "ranlib", so it can be a program name with args.
! 5166: set dummy ranlib; ac_word=$2
! 5167: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5168: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5169: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 5170: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5171: else
! 5172: if test -n "$ac_ct_RANLIB"; then
! 5173: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5174: else
! 5175: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5176: for as_dir in $PATH
! 5177: do
! 5178: IFS=$as_save_IFS
! 5179: test -z "$as_dir" && as_dir=.
! 5180: for ac_exec_ext in '' $ac_executable_extensions; do
! 5181: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5182: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5183: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5184: break 2
! 5185: fi
! 5186: done
1.15 paf 5187: done
5188:
1.35 ! moko 5189: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 5190: fi
1.15 paf 5191: fi
1.35 ! moko 5192: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5193: if test -n "$ac_ct_RANLIB"; then
! 5194: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 5195: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.15 paf 5196: else
1.35 ! moko 5197: echo "$as_me:$LINENO: result: no" >&5
! 5198: echo "${ECHO_T}no" >&6
1.15 paf 5199: fi
5200:
1.35 ! moko 5201: RANLIB=$ac_ct_RANLIB
1.15 paf 5202: else
1.35 ! moko 5203: RANLIB="$ac_cv_prog_RANLIB"
1.15 paf 5204: fi
5205:
1.35 ! moko 5206: test -z "$RANLIB" && RANLIB=:
! 5207:
! 5208:
! 5209:
! 5210:
! 5211:
! 5212:
! 5213: # Determine commands to create old-style static archives.
! 5214: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 5215: old_postinstall_cmds='chmod 644 $oldlib'
! 5216: old_postuninstall_cmds=
1.15 paf 5217:
1.35 ! moko 5218: if test -n "$RANLIB"; then
! 5219: case $host_os in
! 5220: openbsd*)
! 5221: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.15 paf 5222: ;;
1.35 ! moko 5223: *)
! 5224: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.15 paf 5225: ;;
1.35 ! moko 5226: esac
! 5227: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
! 5228: fi
! 5229:
! 5230: case $host_os in
! 5231: darwin*)
! 5232: lock_old_archive_extraction=yes ;;
! 5233: *)
! 5234: lock_old_archive_extraction=no ;;
1.15 paf 5235: esac
5236:
5237:
5238:
5239:
5240:
5241:
5242:
5243:
5244:
5245:
5246:
5247:
5248:
5249:
5250:
5251:
5252:
1.1 parser 5253:
5254:
1.15 paf 5255:
5256:
5257:
5258:
5259:
5260:
1.1 parser 5261:
5262:
5263:
1.15 paf 5264:
5265:
5266:
5267:
5268:
5269:
1.35 ! moko 5270:
! 5271:
! 5272:
! 5273:
! 5274:
! 5275: # If no C compiler was specified, use CC.
! 5276: LTCC=${LTCC-"$CC"}
! 5277:
! 5278: # If no C compiler flags were specified, use CFLAGS.
! 5279: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 5280:
! 5281: # Allow CC to be a program name with arguments.
! 5282: compiler=$CC
! 5283:
! 5284:
! 5285: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 5286: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 5287: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
! 5288: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
1.15 paf 5289: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 5290: else
5291:
1.35 ! moko 5292: # These are sane defaults that work on at least a few old systems.
! 5293: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
1.15 paf 5294:
1.35 ! moko 5295: # Character class describing NM global symbol codes.
! 5296: symcode='[BCDEGRST]'
1.15 paf 5297:
1.35 ! moko 5298: # Regexp to match symbols that can be accessed directly from C.
! 5299: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.15 paf 5300:
1.35 ! moko 5301: # Define system-specific variables.
! 5302: case $host_os in
! 5303: aix*)
! 5304: symcode='[BCDT]'
! 5305: ;;
! 5306: cygwin* | mingw* | pw32* | cegcc*)
! 5307: symcode='[ABCDGISTW]'
! 5308: ;;
! 5309: hpux*)
! 5310: if test "$host_cpu" = ia64; then
! 5311: symcode='[ABCDEGRST]'
! 5312: fi
! 5313: ;;
! 5314: irix* | nonstopux*)
! 5315: symcode='[BCDEGRST]'
! 5316: ;;
! 5317: osf*)
! 5318: symcode='[BCDEGQRST]'
! 5319: ;;
! 5320: solaris*)
! 5321: symcode='[BDRT]'
! 5322: ;;
! 5323: sco3.2v5*)
! 5324: symcode='[DT]'
! 5325: ;;
! 5326: sysv4.2uw2*)
! 5327: symcode='[DT]'
! 5328: ;;
! 5329: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 5330: symcode='[ABDT]'
! 5331: ;;
! 5332: sysv4)
! 5333: symcode='[DFNSTU]'
! 5334: ;;
! 5335: esac
! 5336:
! 5337: # If we're using GNU nm, then use its standard symbol codes.
! 5338: case `$NM -V 2>&1` in
! 5339: *GNU* | *'with BFD'*)
! 5340: symcode='[ABCDGIRSTW]' ;;
! 5341: esac
! 5342:
! 5343: # Transform an extracted symbol line into a proper C declaration.
! 5344: # Some systems (esp. on ia64) link data and code symbols differently,
! 5345: # so use this general approach.
! 5346: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 5347:
! 5348: # Transform an extracted symbol line into symbol name and symbol address
! 5349: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 5350: 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'"
! 5351:
! 5352: # Handle CRLF in mingw tool chain
! 5353: opt_cr=
! 5354: case $build_os in
! 5355: mingw*)
! 5356: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 5357: ;;
! 5358: esac
! 5359:
! 5360: # Try without a prefix underscore, then with it.
! 5361: for ac_symprfx in "" "_"; do
! 5362:
! 5363: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 5364: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 5365:
! 5366: # Write the raw and C identifiers.
! 5367: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5368: # Fake it for dumpbin and say T for any non-static function
! 5369: # and D for any global variable.
! 5370: # Also find C++ and __fastcall symbols from MSVC++,
! 5371: # which start with @ or ?.
! 5372: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 5373: " {last_section=section; section=\$ 3};"\
! 5374: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
! 5375: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 5376: " \$ 0!~/External *\|/{next};"\
! 5377: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 5378: " {if(hide[section]) next};"\
! 5379: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 5380: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 5381: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 5382: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 5383: " ' prfx=^$ac_symprfx"
! 5384: else
! 5385: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 5386: fi
! 5387: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
! 5388:
! 5389: # Check to see that the pipe works correctly.
! 5390: pipe_works=no
1.15 paf 5391:
1.35 ! moko 5392: rm -f conftest*
! 5393: cat > conftest.$ac_ext <<_LT_EOF
! 5394: #ifdef __cplusplus
! 5395: extern "C" {
! 5396: #endif
! 5397: char nm_test_var;
! 5398: void nm_test_func(void);
! 5399: void nm_test_func(void){}
! 5400: #ifdef __cplusplus
1.15 paf 5401: }
1.35 ! moko 5402: #endif
! 5403: int main(){nm_test_var='a';nm_test_func();return(0);}
! 5404: _LT_EOF
! 5405:
! 5406: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5407: (eval $ac_compile) 2>&5
1.15 paf 5408: ac_status=$?
5409: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.35 ! moko 5410: (exit $ac_status); }; then
! 5411: # Now try to grab the symbols.
! 5412: nlist=conftest.nm
! 5413: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
! 5414: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.25 paf 5415: ac_status=$?
5416: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.35 ! moko 5417: (exit $ac_status); } && test -s "$nlist"; then
! 5418: # Try sorting and uniquifying the output.
! 5419: if sort "$nlist" | uniq > "$nlist"T; then
! 5420: mv -f "$nlist"T "$nlist"
! 5421: else
! 5422: rm -f "$nlist"T
! 5423: fi
! 5424:
! 5425: # Make sure that we snagged all the symbols we need.
! 5426: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 5427: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 5428: cat <<_LT_EOF > conftest.$ac_ext
! 5429: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
! 5430: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
! 5431: /* DATA imports from DLLs on WIN32 con't be const, because runtime
! 5432: relocations are performed -- see ld's documentation on pseudo-relocs. */
! 5433: # define LT_DLSYM_CONST
! 5434: #elif defined(__osf__)
! 5435: /* This system does not cope well with relocations in const data. */
! 5436: # define LT_DLSYM_CONST
! 5437: #else
! 5438: # define LT_DLSYM_CONST const
! 5439: #endif
! 5440:
! 5441: #ifdef __cplusplus
! 5442: extern "C" {
! 5443: #endif
! 5444:
! 5445: _LT_EOF
! 5446: # Now generate the symbol file.
! 5447: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
! 5448:
! 5449: cat <<_LT_EOF >> conftest.$ac_ext
! 5450:
! 5451: /* The mapping between symbol names and symbols. */
! 5452: LT_DLSYM_CONST struct {
! 5453: const char *name;
! 5454: void *address;
! 5455: }
! 5456: lt__PROGRAM__LTX_preloaded_symbols[] =
! 5457: {
! 5458: { "@PROGRAM@", (void *) 0 },
! 5459: _LT_EOF
! 5460: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 5461: cat <<\_LT_EOF >> conftest.$ac_ext
! 5462: {0, (void *) 0}
! 5463: };
! 5464:
! 5465: /* This works around a problem in FreeBSD linker */
! 5466: #ifdef FREEBSD_WORKAROUND
! 5467: static const void *lt_preloaded_setup() {
! 5468: return lt__PROGRAM__LTX_preloaded_symbols;
! 5469: }
! 5470: #endif
! 5471:
! 5472: #ifdef __cplusplus
! 5473: }
! 5474: #endif
! 5475: _LT_EOF
! 5476: # Now try linking the two files.
! 5477: mv conftest.$ac_objext conftstm.$ac_objext
! 5478: lt_globsym_save_LIBS=$LIBS
! 5479: lt_globsym_save_CFLAGS=$CFLAGS
! 5480: LIBS="conftstm.$ac_objext"
! 5481: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 5482: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5483: (eval $ac_link) 2>&5
1.15 paf 5484: ac_status=$?
5485: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.35 ! moko 5486: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 5487: pipe_works=yes
! 5488: fi
! 5489: LIBS=$lt_globsym_save_LIBS
! 5490: CFLAGS=$lt_globsym_save_CFLAGS
! 5491: else
! 5492: echo "cannot find nm_test_func in $nlist" >&5
! 5493: fi
! 5494: else
! 5495: echo "cannot find nm_test_var in $nlist" >&5
! 5496: fi
! 5497: else
! 5498: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 5499: fi
! 5500: else
! 5501: echo "$progname: failed program was:" >&5
! 5502: cat conftest.$ac_ext >&5
! 5503: fi
! 5504: rm -rf conftest* conftst*
! 5505:
! 5506: # Do not use the global_symbol_pipe unless it works.
! 5507: if test "$pipe_works" = yes; then
! 5508: break
! 5509: else
! 5510: lt_cv_sys_global_symbol_pipe=
! 5511: fi
! 5512: done
! 5513:
! 5514: fi
! 5515:
! 5516: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 5517: lt_cv_sys_global_symbol_to_cdecl=
! 5518: fi
! 5519: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 5520: echo "$as_me:$LINENO: result: failed" >&5
! 5521: echo "${ECHO_T}failed" >&6
1.1 parser 5522: else
1.35 ! moko 5523: echo "$as_me:$LINENO: result: ok" >&5
! 5524: echo "${ECHO_T}ok" >&6
! 5525: fi
1.15 paf 5526:
1.35 ! moko 5527: # Response file support.
! 5528: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5529: nm_file_list_spec='@'
! 5530: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
! 5531: nm_file_list_spec='@'
1.1 parser 5532: fi
5533:
1.15 paf 5534:
5535:
5536:
5537:
5538:
5539:
5540:
5541:
5542:
5543:
1.1 parser 5544:
5545:
1.15 paf 5546:
5547:
5548:
1.1 parser 5549:
1.15 paf 5550:
5551:
5552:
5553:
1.35 ! moko 5554:
! 5555:
! 5556:
! 5557:
! 5558:
! 5559:
! 5560: echo "$as_me:$LINENO: checking for sysroot" >&5
! 5561: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
! 5562:
! 5563: # Check whether --with-sysroot or --without-sysroot was given.
! 5564: if test "${with_sysroot+set}" = set; then
! 5565: withval="$with_sysroot"
! 5566:
1.15 paf 5567: else
1.35 ! moko 5568: with_sysroot=no
1.15 paf 5569: fi;
5570:
1.35 ! moko 5571: lt_sysroot=
! 5572: case ${with_sysroot} in #(
! 5573: yes)
! 5574: if test "$GCC" = yes; then
! 5575: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
! 5576: fi
! 5577: ;; #(
! 5578: /*)
! 5579: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
! 5580: ;; #(
! 5581: no|'')
! 5582: ;; #(
! 5583: *)
! 5584: echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
! 5585: echo "${ECHO_T}${with_sysroot}" >&6
! 5586: { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
! 5587: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
! 5588: { (exit 1); exit 1; }; }
! 5589: ;;
! 5590: esac
! 5591:
! 5592: echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
! 5593: echo "${ECHO_T}${lt_sysroot:-no}" >&6
! 5594:
! 5595:
! 5596:
! 5597:
! 5598:
! 5599: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 5600: if test "${enable_libtool_lock+set}" = set; then
! 5601: enableval="$enable_libtool_lock"
1.15 paf 5602:
1.35 ! moko 5603: fi;
! 5604: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.1 parser 5605:
1.35 ! moko 5606: # Some flags need to be propagated to the compiler or linker for good
! 5607: # libtool support.
! 5608: case $host in
! 5609: ia64-*-hpux*)
! 5610: # Find out which ABI we are using.
! 5611: echo 'int i;' > conftest.$ac_ext
! 5612: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5613: (eval $ac_compile) 2>&5
! 5614: ac_status=$?
! 5615: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5616: (exit $ac_status); }; then
! 5617: case `/usr/bin/file conftest.$ac_objext` in
! 5618: *ELF-32*)
! 5619: HPUX_IA64_MODE="32"
! 5620: ;;
! 5621: *ELF-64*)
! 5622: HPUX_IA64_MODE="64"
! 5623: ;;
1.15 paf 5624: esac
5625: fi
1.35 ! moko 5626: rm -rf conftest*
! 5627: ;;
! 5628: *-*-irix6*)
! 5629: # Find out which ABI we are using.
! 5630: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 5631: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5632: (eval $ac_compile) 2>&5
1.15 paf 5633: ac_status=$?
5634: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.35 ! moko 5635: (exit $ac_status); }; then
! 5636: if test "$lt_cv_prog_gnu_ld" = yes; then
! 5637: case `/usr/bin/file conftest.$ac_objext` in
! 5638: *32-bit*)
! 5639: LD="${LD-ld} -melf32bsmip"
! 5640: ;;
! 5641: *N32*)
! 5642: LD="${LD-ld} -melf32bmipn32"
! 5643: ;;
! 5644: *64-bit*)
! 5645: LD="${LD-ld} -melf64bmip"
! 5646: ;;
! 5647: esac
! 5648: else
! 5649: case `/usr/bin/file conftest.$ac_objext` in
! 5650: *32-bit*)
! 5651: LD="${LD-ld} -32"
! 5652: ;;
! 5653: *N32*)
! 5654: LD="${LD-ld} -n32"
! 5655: ;;
! 5656: *64-bit*)
! 5657: LD="${LD-ld} -64"
! 5658: ;;
! 5659: esac
! 5660: fi
! 5661: fi
! 5662: rm -rf conftest*
! 5663: ;;
! 5664:
! 5665: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 5666: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 5667: # Find out which ABI we are using.
! 5668: echo 'int i;' > conftest.$ac_ext
! 5669: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5670: (eval $ac_compile) 2>&5
1.25 paf 5671: ac_status=$?
5672: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.35 ! moko 5673: (exit $ac_status); }; then
! 5674: case `/usr/bin/file conftest.o` in
! 5675: *32-bit*)
! 5676: case $host in
! 5677: x86_64-*kfreebsd*-gnu)
! 5678: LD="${LD-ld} -m elf_i386_fbsd"
! 5679: ;;
! 5680: x86_64-*linux*)
! 5681: LD="${LD-ld} -m elf_i386"
! 5682: ;;
! 5683: ppc64-*linux*|powerpc64-*linux*)
! 5684: LD="${LD-ld} -m elf32ppclinux"
! 5685: ;;
! 5686: s390x-*linux*)
! 5687: LD="${LD-ld} -m elf_s390"
! 5688: ;;
! 5689: sparc64-*linux*)
! 5690: LD="${LD-ld} -m elf32_sparc"
! 5691: ;;
! 5692: esac
1.15 paf 5693: ;;
1.35 ! moko 5694: *64-bit*)
! 5695: case $host in
! 5696: x86_64-*kfreebsd*-gnu)
! 5697: LD="${LD-ld} -m elf_x86_64_fbsd"
! 5698: ;;
! 5699: x86_64-*linux*)
! 5700: LD="${LD-ld} -m elf_x86_64"
! 5701: ;;
! 5702: ppc*-*linux*|powerpc*-*linux*)
! 5703: LD="${LD-ld} -m elf64ppc"
! 5704: ;;
! 5705: s390*-*linux*|s390*-*tpf*)
! 5706: LD="${LD-ld} -m elf64_s390"
! 5707: ;;
! 5708: sparc*-*linux*)
! 5709: LD="${LD-ld} -m elf64_sparc"
! 5710: ;;
! 5711: esac
1.15 paf 5712: ;;
1.35 ! moko 5713: esac
1.15 paf 5714: fi
1.35 ! moko 5715: rm -rf conftest*
! 5716: ;;
1.15 paf 5717:
1.35 ! moko 5718: *-*-sco3.2v5*)
! 5719: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 5720: SAVE_CFLAGS="$CFLAGS"
! 5721: CFLAGS="$CFLAGS -belf"
! 5722: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 5723: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 5724: if test "${lt_cv_cc_needs_belf+set}" = set; then
1.15 paf 5725: echo $ECHO_N "(cached) $ECHO_C" >&6
5726: else
1.35 ! moko 5727: ac_ext=c
! 5728: ac_cpp='$CPP $CPPFLAGS'
! 5729: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5730: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5731: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5732:
! 5733: cat >conftest.$ac_ext <<_ACEOF
1.15 paf 5734: /* confdefs.h. */
5735: _ACEOF
5736: cat confdefs.h >>conftest.$ac_ext
5737: cat >>conftest.$ac_ext <<_ACEOF
5738: /* end confdefs.h. */
5739:
5740: int
5741: main ()
5742: {
5743:
5744: ;
5745: return 0;
5746: }
5747: _ACEOF
5748: rm -f conftest.$ac_objext conftest$ac_exeext
5749: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.25 paf 5750: (eval $ac_link) 2>conftest.er1
1.15 paf 5751: ac_status=$?
1.25 paf 5752: grep -v '^ *+' conftest.er1 >conftest.err
5753: rm -f conftest.er1
5754: cat conftest.err >&5
1.15 paf 5755: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756: (exit $ac_status); } &&
1.25 paf 5757: { ac_try='test -z "$ac_c_werror_flag"
5758: || test ! -s conftest.err'
5759: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5760: (eval $ac_try) 2>&5
5761: ac_status=$?
5762: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763: (exit $ac_status); }; } &&
5764: { ac_try='test -s conftest$ac_exeext'
1.15 paf 5765: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766: (eval $ac_try) 2>&5
5767: ac_status=$?
5768: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769: (exit $ac_status); }; }; then
1.35 ! moko 5770: lt_cv_cc_needs_belf=yes
1.15 paf 5771: else
5772: echo "$as_me: failed program was:" >&5
5773: sed 's/^/| /' conftest.$ac_ext >&5
5774:
1.35 ! moko 5775: lt_cv_cc_needs_belf=no
1.15 paf 5776: fi
1.25 paf 5777: rm -f conftest.err conftest.$ac_objext \
5778: conftest$ac_exeext conftest.$ac_ext
1.35 ! moko 5779: ac_ext=c
! 5780: ac_cpp='$CPP $CPPFLAGS'
! 5781: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5782: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5783: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15 paf 5784:
5785: fi
1.35 ! moko 5786: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 5787: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
! 5788: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 5789: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 5790: CFLAGS="$SAVE_CFLAGS"
! 5791: fi
! 5792: ;;
! 5793: *-*solaris*)
! 5794: # Find out which ABI we are using.
! 5795: echo 'int i;' > conftest.$ac_ext
! 5796: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5797: (eval $ac_compile) 2>&5
! 5798: ac_status=$?
! 5799: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5800: (exit $ac_status); }; then
! 5801: case `/usr/bin/file conftest.o` in
! 5802: *64-bit*)
! 5803: case $lt_cv_prog_gnu_ld in
! 5804: yes*)
! 5805: case $host in
! 5806: i?86-*-solaris*)
! 5807: LD="${LD-ld} -m elf_x86_64"
! 5808: ;;
! 5809: sparc*-*-solaris*)
! 5810: LD="${LD-ld} -m elf64_sparc"
! 5811: ;;
! 5812: esac
! 5813: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
! 5814: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
! 5815: LD="${LD-ld}_sol2"
! 5816: fi
! 5817: ;;
! 5818: *)
! 5819: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 5820: LD="${LD-ld} -64"
! 5821: fi
! 5822: ;;
! 5823: esac
! 5824: ;;
! 5825: esac
! 5826: fi
! 5827: rm -rf conftest*
! 5828: ;;
! 5829: esac
1.15 paf 5830:
1.35 ! moko 5831: need_locks="$enable_libtool_lock"
1.15 paf 5832:
1.35 ! moko 5833: if test -n "$ac_tool_prefix"; then
! 5834: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
! 5835: set dummy ${ac_tool_prefix}mt; ac_word=$2
! 5836: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5837: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5838: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
1.15 paf 5839: echo $ECHO_N "(cached) $ECHO_C" >&6
5840: else
1.35 ! moko 5841: if test -n "$MANIFEST_TOOL"; then
! 5842: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
! 5843: else
! 5844: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5845: for as_dir in $PATH
! 5846: do
! 5847: IFS=$as_save_IFS
! 5848: test -z "$as_dir" && as_dir=.
! 5849: for ac_exec_ext in '' $ac_executable_extensions; do
! 5850: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5851: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
! 5852: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5853: break 2
! 5854: fi
! 5855: done
! 5856: done
1.15 paf 5857:
1.35 ! moko 5858: fi
! 5859: fi
! 5860: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
! 5861: if test -n "$MANIFEST_TOOL"; then
! 5862: echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
! 5863: echo "${ECHO_T}$MANIFEST_TOOL" >&6
1.15 paf 5864: else
1.35 ! moko 5865: echo "$as_me:$LINENO: result: no" >&5
! 5866: echo "${ECHO_T}no" >&6
1.15 paf 5867: fi
5868:
5869: fi
1.35 ! moko 5870: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
! 5871: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
! 5872: # Extract the first word of "mt", so it can be a program name with args.
! 5873: set dummy mt; ac_word=$2
! 5874: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5875: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5876: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
! 5877: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5878: else
! 5879: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 5880: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
! 5881: else
! 5882: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5883: for as_dir in $PATH
! 5884: do
! 5885: IFS=$as_save_IFS
! 5886: test -z "$as_dir" && as_dir=.
! 5887: for ac_exec_ext in '' $ac_executable_extensions; do
! 5888: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5889: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
! 5890: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5891: break 2
! 5892: fi
! 5893: done
! 5894: done
1.15 paf 5895:
1.35 ! moko 5896: test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
! 5897: fi
! 5898: fi
! 5899: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
! 5900: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 5901: echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
! 5902: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
! 5903: else
! 5904: echo "$as_me:$LINENO: result: no" >&5
! 5905: echo "${ECHO_T}no" >&6
! 5906: fi
! 5907:
! 5908: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
! 5909: else
! 5910: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
! 5911: fi
1.15 paf 5912:
1.35 ! moko 5913: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
! 5914: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
! 5915: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
! 5916: if test "${lt_cv_path_mainfest_tool+set}" = set; then
1.15 paf 5917: echo $ECHO_N "(cached) $ECHO_C" >&6
5918: else
1.35 ! moko 5919: lt_cv_path_mainfest_tool=no
! 5920: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
! 5921: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
! 5922: cat conftest.err >&5
! 5923: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
! 5924: lt_cv_path_mainfest_tool=yes
! 5925: fi
! 5926: rm -f conftest*
! 5927: fi
! 5928: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
! 5929: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
! 5930: if test "x$lt_cv_path_mainfest_tool" != xyes; then
! 5931: MANIFEST_TOOL=:
! 5932: fi
! 5933:
! 5934:
! 5935:
1.15 paf 5936:
5937:
5938:
1.35 ! moko 5939: case $host_os in
! 5940: rhapsody* | darwin*)
! 5941: if test -n "$ac_tool_prefix"; then
! 5942: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 5943: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 5944: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5945: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5946: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
! 5947: echo $ECHO_N "(cached) $ECHO_C" >&6
1.15 paf 5948: else
1.35 ! moko 5949: if test -n "$DSYMUTIL"; then
! 5950: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 5951: else
! 5952: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5953: for as_dir in $PATH
! 5954: do
! 5955: IFS=$as_save_IFS
! 5956: test -z "$as_dir" && as_dir=.
! 5957: for ac_exec_ext in '' $ac_executable_extensions; do
! 5958: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5959: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 5960: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5961: break 2
! 5962: fi
! 5963: done
! 5964: done
1.15 paf 5965:
5966: fi
1.35 ! moko 5967: fi
! 5968: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 5969: if test -n "$DSYMUTIL"; then
! 5970: echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
! 5971: echo "${ECHO_T}$DSYMUTIL" >&6
! 5972: else
! 5973: echo "$as_me:$LINENO: result: no" >&5
! 5974: echo "${ECHO_T}no" >&6
! 5975: fi
1.15 paf 5976:
5977: fi
1.35 ! moko 5978: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 5979: ac_ct_DSYMUTIL=$DSYMUTIL
! 5980: # Extract the first word of "dsymutil", so it can be a program name with args.
! 5981: set dummy dsymutil; ac_word=$2
! 5982: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5983: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5984: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
! 5985: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5986: else
! 5987: if test -n "$ac_ct_DSYMUTIL"; then
! 5988: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 5989: else
! 5990: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5991: for as_dir in $PATH
! 5992: do
! 5993: IFS=$as_save_IFS
! 5994: test -z "$as_dir" && as_dir=.
! 5995: for ac_exec_ext in '' $ac_executable_extensions; do
! 5996: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5997: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 5998: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5999: break 2
! 6000: fi
! 6001: done
! 6002: done
1.15 paf 6003:
1.35 ! moko 6004: test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
! 6005: fi
! 6006: fi
! 6007: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 6008: if test -n "$ac_ct_DSYMUTIL"; then
! 6009: echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
! 6010: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
1.15 paf 6011: else
1.35 ! moko 6012: echo "$as_me:$LINENO: result: no" >&5
! 6013: echo "${ECHO_T}no" >&6
1.15 paf 6014: fi
6015:
1.35 ! moko 6016: DSYMUTIL=$ac_ct_DSYMUTIL
1.15 paf 6017: else
1.35 ! moko 6018: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.15 paf 6019: fi
6020:
1.35 ! moko 6021: if test -n "$ac_tool_prefix"; then
! 6022: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 6023: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 6024: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6025: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6026: if test "${ac_cv_prog_NMEDIT+set}" = set; then
! 6027: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6028: else
! 6029: if test -n "$NMEDIT"; then
! 6030: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 6031: else
! 6032: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6033: for as_dir in $PATH
! 6034: do
! 6035: IFS=$as_save_IFS
! 6036: test -z "$as_dir" && as_dir=.
! 6037: for ac_exec_ext in '' $ac_executable_extensions; do
! 6038: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6039: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 6040: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6041: break 2
! 6042: fi
! 6043: done
! 6044: done
1.15 paf 6045:
1.35 ! moko 6046: fi
! 6047: fi
! 6048: NMEDIT=$ac_cv_prog_NMEDIT
! 6049: if test -n "$NMEDIT"; then
! 6050: echo "$as_me:$LINENO: result: $NMEDIT" >&5
! 6051: echo "${ECHO_T}$NMEDIT" >&6
! 6052: else
! 6053: echo "$as_me:$LINENO: result: no" >&5
! 6054: echo "${ECHO_T}no" >&6
! 6055: fi
1.15 paf 6056:
1.35 ! moko 6057: fi
! 6058: if test -z "$ac_cv_prog_NMEDIT"; then
! 6059: ac_ct_NMEDIT=$NMEDIT
! 6060: # Extract the first word of "nmedit", so it can be a program name with args.
! 6061: set dummy nmedit; ac_word=$2
! 6062: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6063: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6064: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
! 6065: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6066: else
! 6067: if test -n "$ac_ct_NMEDIT"; then
! 6068: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
1.15 paf 6069: else
1.35 ! moko 6070: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6071: for as_dir in $PATH
! 6072: do
! 6073: IFS=$as_save_IFS
! 6074: test -z "$as_dir" && as_dir=.
! 6075: for ac_exec_ext in '' $ac_executable_extensions; do
! 6076: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6077: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 6078: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6079: break 2
! 6080: fi
! 6081: done
! 6082: done
1.15 paf 6083:
1.35 ! moko 6084: test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
! 6085: fi
! 6086: fi
! 6087: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 6088: if test -n "$ac_ct_NMEDIT"; then
! 6089: echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
! 6090: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
! 6091: else
! 6092: echo "$as_me:$LINENO: result: no" >&5
! 6093: echo "${ECHO_T}no" >&6
1.15 paf 6094: fi
6095:
1.35 ! moko 6096: NMEDIT=$ac_ct_NMEDIT
! 6097: else
! 6098: NMEDIT="$ac_cv_prog_NMEDIT"
1.15 paf 6099: fi
6100:
1.35 ! moko 6101: if test -n "$ac_tool_prefix"; then
! 6102: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 6103: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 6104: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6105: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6106: if test "${ac_cv_prog_LIPO+set}" = set; then
! 6107: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6108: else
! 6109: if test -n "$LIPO"; then
! 6110: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 6111: else
! 6112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6113: for as_dir in $PATH
! 6114: do
! 6115: IFS=$as_save_IFS
! 6116: test -z "$as_dir" && as_dir=.
! 6117: for ac_exec_ext in '' $ac_executable_extensions; do
! 6118: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6119: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 6120: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6121: break 2
! 6122: fi
! 6123: done
! 6124: done
1.15 paf 6125:
1.35 ! moko 6126: fi
! 6127: fi
! 6128: LIPO=$ac_cv_prog_LIPO
! 6129: if test -n "$LIPO"; then
! 6130: echo "$as_me:$LINENO: result: $LIPO" >&5
! 6131: echo "${ECHO_T}$LIPO" >&6
! 6132: else
! 6133: echo "$as_me:$LINENO: result: no" >&5
! 6134: echo "${ECHO_T}no" >&6
! 6135: fi
1.15 paf 6136:
1.35 ! moko 6137: fi
! 6138: if test -z "$ac_cv_prog_LIPO"; then
! 6139: ac_ct_LIPO=$LIPO
! 6140: # Extract the first word of "lipo", so it can be a program name with args.
! 6141: set dummy lipo; ac_word=$2
! 6142: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6143: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6144: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
! 6145: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6146: else
! 6147: if test -n "$ac_ct_LIPO"; then
! 6148: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 6149: else
! 6150: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6151: for as_dir in $PATH
! 6152: do
! 6153: IFS=$as_save_IFS
! 6154: test -z "$as_dir" && as_dir=.
! 6155: for ac_exec_ext in '' $ac_executable_extensions; do
! 6156: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6157: ac_cv_prog_ac_ct_LIPO="lipo"
! 6158: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6159: break 2
1.15 paf 6160: fi
1.35 ! moko 6161: done
! 6162: done
! 6163:
! 6164: test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
! 6165: fi
! 6166: fi
! 6167: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 6168: if test -n "$ac_ct_LIPO"; then
! 6169: echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
! 6170: echo "${ECHO_T}$ac_ct_LIPO" >&6
! 6171: else
! 6172: echo "$as_me:$LINENO: result: no" >&5
! 6173: echo "${ECHO_T}no" >&6
! 6174: fi
! 6175:
! 6176: LIPO=$ac_ct_LIPO
! 6177: else
! 6178: LIPO="$ac_cv_prog_LIPO"
! 6179: fi
1.15 paf 6180:
1.35 ! moko 6181: if test -n "$ac_tool_prefix"; then
! 6182: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 6183: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 6184: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6185: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6186: if test "${ac_cv_prog_OTOOL+set}" = set; then
! 6187: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6188: else
! 6189: if test -n "$OTOOL"; then
! 6190: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 6191: else
! 6192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6193: for as_dir in $PATH
! 6194: do
! 6195: IFS=$as_save_IFS
! 6196: test -z "$as_dir" && as_dir=.
! 6197: for ac_exec_ext in '' $ac_executable_extensions; do
! 6198: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6199: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 6200: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6201: break 2
! 6202: fi
! 6203: done
! 6204: done
1.15 paf 6205:
1.35 ! moko 6206: fi
! 6207: fi
! 6208: OTOOL=$ac_cv_prog_OTOOL
! 6209: if test -n "$OTOOL"; then
! 6210: echo "$as_me:$LINENO: result: $OTOOL" >&5
! 6211: echo "${ECHO_T}$OTOOL" >&6
! 6212: else
! 6213: echo "$as_me:$LINENO: result: no" >&5
! 6214: echo "${ECHO_T}no" >&6
! 6215: fi
1.15 paf 6216:
1.35 ! moko 6217: fi
! 6218: if test -z "$ac_cv_prog_OTOOL"; then
! 6219: ac_ct_OTOOL=$OTOOL
! 6220: # Extract the first word of "otool", so it can be a program name with args.
! 6221: set dummy otool; ac_word=$2
! 6222: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6223: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6224: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
! 6225: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6226: else
! 6227: if test -n "$ac_ct_OTOOL"; then
! 6228: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 6229: else
! 6230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6231: for as_dir in $PATH
! 6232: do
! 6233: IFS=$as_save_IFS
! 6234: test -z "$as_dir" && as_dir=.
! 6235: for ac_exec_ext in '' $ac_executable_extensions; do
! 6236: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6237: ac_cv_prog_ac_ct_OTOOL="otool"
! 6238: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6239: break 2
! 6240: fi
! 6241: done
! 6242: done
1.15 paf 6243:
1.35 ! moko 6244: test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
! 6245: fi
! 6246: fi
! 6247: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 6248: if test -n "$ac_ct_OTOOL"; then
! 6249: echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
! 6250: echo "${ECHO_T}$ac_ct_OTOOL" >&6
! 6251: else
! 6252: echo "$as_me:$LINENO: result: no" >&5
! 6253: echo "${ECHO_T}no" >&6
! 6254: fi
1.15 paf 6255:
1.35 ! moko 6256: OTOOL=$ac_ct_OTOOL
! 6257: else
! 6258: OTOOL="$ac_cv_prog_OTOOL"
! 6259: fi
1.15 paf 6260:
1.35 ! moko 6261: if test -n "$ac_tool_prefix"; then
! 6262: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 6263: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 6264: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6265: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6266: if test "${ac_cv_prog_OTOOL64+set}" = set; then
! 6267: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6268: else
! 6269: if test -n "$OTOOL64"; then
! 6270: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 6271: else
! 6272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6273: for as_dir in $PATH
! 6274: do
! 6275: IFS=$as_save_IFS
! 6276: test -z "$as_dir" && as_dir=.
! 6277: for ac_exec_ext in '' $ac_executable_extensions; do
! 6278: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6279: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 6280: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6281: break 2
! 6282: fi
! 6283: done
! 6284: done
1.15 paf 6285:
1.35 ! moko 6286: fi
! 6287: fi
! 6288: OTOOL64=$ac_cv_prog_OTOOL64
! 6289: if test -n "$OTOOL64"; then
! 6290: echo "$as_me:$LINENO: result: $OTOOL64" >&5
! 6291: echo "${ECHO_T}$OTOOL64" >&6
! 6292: else
! 6293: echo "$as_me:$LINENO: result: no" >&5
! 6294: echo "${ECHO_T}no" >&6
! 6295: fi
1.15 paf 6296:
1.35 ! moko 6297: fi
! 6298: if test -z "$ac_cv_prog_OTOOL64"; then
! 6299: ac_ct_OTOOL64=$OTOOL64
! 6300: # Extract the first word of "otool64", so it can be a program name with args.
! 6301: set dummy otool64; ac_word=$2
! 6302: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6303: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6304: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
! 6305: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6306: else
! 6307: if test -n "$ac_ct_OTOOL64"; then
! 6308: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 6309: else
! 6310: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6311: for as_dir in $PATH
! 6312: do
! 6313: IFS=$as_save_IFS
! 6314: test -z "$as_dir" && as_dir=.
! 6315: for ac_exec_ext in '' $ac_executable_extensions; do
! 6316: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6317: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 6318: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6319: break 2
! 6320: fi
! 6321: done
! 6322: done
1.15 paf 6323:
1.35 ! moko 6324: test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
! 6325: fi
! 6326: fi
! 6327: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 6328: if test -n "$ac_ct_OTOOL64"; then
! 6329: echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
! 6330: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
! 6331: else
! 6332: echo "$as_me:$LINENO: result: no" >&5
! 6333: echo "${ECHO_T}no" >&6
! 6334: fi
1.15 paf 6335:
1.35 ! moko 6336: OTOOL64=$ac_ct_OTOOL64
! 6337: else
! 6338: OTOOL64="$ac_cv_prog_OTOOL64"
! 6339: fi
1.15 paf 6340:
6341:
6342:
6343:
6344:
6345:
6346:
6347:
6348:
6349:
6350:
6351:
6352:
6353:
6354:
6355:
6356:
6357:
6358:
6359:
6360:
6361:
6362:
6363:
6364:
6365:
6366:
1.35 ! moko 6367: echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
! 6368: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
! 6369: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
! 6370: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6371: else
! 6372: lt_cv_apple_cc_single_mod=no
! 6373: if test -z "${LT_MULTI_MODULE}"; then
! 6374: # By default we will add the -single_module flag. You can override
! 6375: # by either setting the environment variable LT_MULTI_MODULE
! 6376: # non-empty at configure time, or by adding -multi_module to the
! 6377: # link flags.
! 6378: rm -rf libconftest.dylib*
! 6379: echo "int foo(void){return 1;}" > conftest.c
! 6380: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6381: -dynamiclib -Wl,-single_module conftest.c" >&5
! 6382: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6383: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 6384: _lt_result=$?
! 6385: # If there is a non-empty error log, and "single_module"
! 6386: # appears in it, assume the flag caused a linker warning
! 6387: if test -s conftest.err && $GREP single_module conftest.err; then
! 6388: cat conftest.err >&5
! 6389: # Otherwise, if the output was created with a 0 exit code from
! 6390: # the compiler, it worked.
! 6391: elif test -f libconftest.dylib && test $_lt_result -eq 0; then
! 6392: lt_cv_apple_cc_single_mod=yes
! 6393: else
! 6394: cat conftest.err >&5
! 6395: fi
! 6396: rm -rf libconftest.dylib*
! 6397: rm -f conftest.*
! 6398: fi
! 6399: fi
! 6400: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
! 6401: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
1.15 paf 6402:
1.35 ! moko 6403: echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
! 6404: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
! 6405: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
! 6406: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6407: else
! 6408: lt_cv_ld_exported_symbols_list=no
! 6409: save_LDFLAGS=$LDFLAGS
! 6410: echo "_main" > conftest.sym
! 6411: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 6412: cat >conftest.$ac_ext <<_ACEOF
! 6413: /* confdefs.h. */
! 6414: _ACEOF
! 6415: cat confdefs.h >>conftest.$ac_ext
! 6416: cat >>conftest.$ac_ext <<_ACEOF
! 6417: /* end confdefs.h. */
1.15 paf 6418:
1.35 ! moko 6419: int
! 6420: main ()
! 6421: {
1.15 paf 6422:
1.35 ! moko 6423: ;
! 6424: return 0;
! 6425: }
! 6426: _ACEOF
! 6427: rm -f conftest.$ac_objext conftest$ac_exeext
! 6428: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6429: (eval $ac_link) 2>conftest.er1
! 6430: ac_status=$?
! 6431: grep -v '^ *+' conftest.er1 >conftest.err
! 6432: rm -f conftest.er1
! 6433: cat conftest.err >&5
! 6434: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6435: (exit $ac_status); } &&
! 6436: { ac_try='test -z "$ac_c_werror_flag"
! 6437: || test ! -s conftest.err'
! 6438: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6439: (eval $ac_try) 2>&5
! 6440: ac_status=$?
! 6441: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6442: (exit $ac_status); }; } &&
! 6443: { ac_try='test -s conftest$ac_exeext'
! 6444: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6445: (eval $ac_try) 2>&5
! 6446: ac_status=$?
! 6447: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6448: (exit $ac_status); }; }; then
! 6449: lt_cv_ld_exported_symbols_list=yes
! 6450: else
! 6451: echo "$as_me: failed program was:" >&5
! 6452: sed 's/^/| /' conftest.$ac_ext >&5
1.15 paf 6453:
1.35 ! moko 6454: lt_cv_ld_exported_symbols_list=no
! 6455: fi
! 6456: rm -f conftest.err conftest.$ac_objext \
! 6457: conftest$ac_exeext conftest.$ac_ext
! 6458: LDFLAGS="$save_LDFLAGS"
1.15 paf 6459:
1.35 ! moko 6460: fi
! 6461: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
! 6462: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
1.15 paf 6463:
1.35 ! moko 6464: echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
! 6465: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
! 6466: if test "${lt_cv_ld_force_load+set}" = set; then
! 6467: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6468: else
! 6469: lt_cv_ld_force_load=no
! 6470: cat > conftest.c << _LT_EOF
! 6471: int forced_loaded() { return 2;}
! 6472: _LT_EOF
! 6473: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
! 6474: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
! 6475: echo "$AR cru libconftest.a conftest.o" >&5
! 6476: $AR cru libconftest.a conftest.o 2>&5
! 6477: echo "$RANLIB libconftest.a" >&5
! 6478: $RANLIB libconftest.a 2>&5
! 6479: cat > conftest.c << _LT_EOF
! 6480: int main() { return 0;}
! 6481: _LT_EOF
! 6482: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
! 6483: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
! 6484: _lt_result=$?
! 6485: if test -s conftest.err && $GREP force_load conftest.err; then
! 6486: cat conftest.err >&5
! 6487: elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
! 6488: lt_cv_ld_force_load=yes
! 6489: else
! 6490: cat conftest.err >&5
! 6491: fi
! 6492: rm -f conftest.err libconftest.a conftest conftest.c
! 6493: rm -rf conftest.dSYM
1.15 paf 6494:
1.35 ! moko 6495: fi
! 6496: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
! 6497: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
! 6498: case $host_os in
! 6499: rhapsody* | darwin1.[012])
! 6500: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 6501: darwin1.*)
! 6502: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6503: darwin*) # darwin 5.x on
! 6504: # if running on 10.5 or later, the deployment target defaults
! 6505: # to the OS version, if on x86, and 10.4, the deployment
! 6506: # target defaults to 10.4. Don't you love it?
! 6507: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 6508: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 6509: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6510: 10.[012]*)
! 6511: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6512: 10.*)
! 6513: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6514: esac
1.15 paf 6515: ;;
1.35 ! moko 6516: esac
! 6517: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 6518: _lt_dar_single_mod='$single_module'
! 6519: fi
! 6520: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 6521: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 6522: else
! 6523: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.15 paf 6524: fi
1.35 ! moko 6525: if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
! 6526: _lt_dsymutil='~$DSYMUTIL $lib || :'
1.15 paf 6527: else
1.35 ! moko 6528: _lt_dsymutil=
1.15 paf 6529: fi
6530: ;;
1.35 ! moko 6531: esac
1.15 paf 6532:
1.35 ! moko 6533: ac_ext=c
! 6534: ac_cpp='$CPP $CPPFLAGS'
! 6535: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6536: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6537: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6538: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 6539: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 6540: # On Suns, sometimes $CPP names a directory.
! 6541: if test -n "$CPP" && test -d "$CPP"; then
! 6542: CPP=
! 6543: fi
! 6544: if test -z "$CPP"; then
! 6545: if test "${ac_cv_prog_CPP+set}" = set; then
! 6546: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6547: else
! 6548: # Double quotes because CPP needs to be expanded
! 6549: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 6550: do
! 6551: ac_preproc_ok=false
! 6552: for ac_c_preproc_warn_flag in '' yes
! 6553: do
! 6554: # Use a header file that comes with gcc, so configuring glibc
! 6555: # with a fresh cross-compiler works.
! 6556: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6557: # <limits.h> exists even on freestanding compilers.
! 6558: # On the NeXT, cc -E runs the code through the compiler's parser,
! 6559: # not just through cpp. "Syntax error" is here to catch this case.
! 6560: cat >conftest.$ac_ext <<_ACEOF
! 6561: /* confdefs.h. */
! 6562: _ACEOF
! 6563: cat confdefs.h >>conftest.$ac_ext
! 6564: cat >>conftest.$ac_ext <<_ACEOF
! 6565: /* end confdefs.h. */
! 6566: #ifdef __STDC__
! 6567: # include <limits.h>
! 6568: #else
! 6569: # include <assert.h>
! 6570: #endif
! 6571: Syntax error
! 6572: _ACEOF
! 6573: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6574: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6575: ac_status=$?
! 6576: grep -v '^ *+' conftest.er1 >conftest.err
! 6577: rm -f conftest.er1
! 6578: cat conftest.err >&5
! 6579: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6580: (exit $ac_status); } >/dev/null; then
! 6581: if test -s conftest.err; then
! 6582: ac_cpp_err=$ac_c_preproc_warn_flag
! 6583: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 6584: else
! 6585: ac_cpp_err=
! 6586: fi
! 6587: else
! 6588: ac_cpp_err=yes
1.15 paf 6589: fi
1.35 ! moko 6590: if test -z "$ac_cpp_err"; then
! 6591: :
! 6592: else
! 6593: echo "$as_me: failed program was:" >&5
! 6594: sed 's/^/| /' conftest.$ac_ext >&5
1.15 paf 6595:
1.35 ! moko 6596: # Broken: fails on valid input.
! 6597: continue
! 6598: fi
! 6599: rm -f conftest.err conftest.$ac_ext
1.15 paf 6600:
1.35 ! moko 6601: # OK, works on sane cases. Now check whether non-existent headers
! 6602: # can be detected and how.
! 6603: cat >conftest.$ac_ext <<_ACEOF
! 6604: /* confdefs.h. */
! 6605: _ACEOF
! 6606: cat confdefs.h >>conftest.$ac_ext
! 6607: cat >>conftest.$ac_ext <<_ACEOF
! 6608: /* end confdefs.h. */
! 6609: #include <ac_nonexistent.h>
! 6610: _ACEOF
! 6611: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6612: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6613: ac_status=$?
! 6614: grep -v '^ *+' conftest.er1 >conftest.err
! 6615: rm -f conftest.er1
! 6616: cat conftest.err >&5
! 6617: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6618: (exit $ac_status); } >/dev/null; then
! 6619: if test -s conftest.err; then
! 6620: ac_cpp_err=$ac_c_preproc_warn_flag
! 6621: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.15 paf 6622: else
1.35 ! moko 6623: ac_cpp_err=
1.15 paf 6624: fi
6625: else
1.35 ! moko 6626: ac_cpp_err=yes
! 6627: fi
! 6628: if test -z "$ac_cpp_err"; then
! 6629: # Broken: success on invalid input.
! 6630: continue
! 6631: else
! 6632: echo "$as_me: failed program was:" >&5
! 6633: sed 's/^/| /' conftest.$ac_ext >&5
! 6634:
! 6635: # Passes both tests.
! 6636: ac_preproc_ok=:
! 6637: break
1.15 paf 6638: fi
1.35 ! moko 6639: rm -f conftest.err conftest.$ac_ext
1.15 paf 6640:
1.35 ! moko 6641: done
! 6642: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6643: rm -f conftest.err conftest.$ac_ext
! 6644: if $ac_preproc_ok; then
! 6645: break
1.15 paf 6646: fi
6647:
1.35 ! moko 6648: done
! 6649: ac_cv_prog_CPP=$CPP
1.15 paf 6650:
1.35 ! moko 6651: fi
! 6652: CPP=$ac_cv_prog_CPP
! 6653: else
! 6654: ac_cv_prog_CPP=$CPP
! 6655: fi
! 6656: echo "$as_me:$LINENO: result: $CPP" >&5
! 6657: echo "${ECHO_T}$CPP" >&6
! 6658: ac_preproc_ok=false
! 6659: for ac_c_preproc_warn_flag in '' yes
! 6660: do
! 6661: # Use a header file that comes with gcc, so configuring glibc
! 6662: # with a fresh cross-compiler works.
! 6663: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6664: # <limits.h> exists even on freestanding compilers.
! 6665: # On the NeXT, cc -E runs the code through the compiler's parser,
! 6666: # not just through cpp. "Syntax error" is here to catch this case.
! 6667: cat >conftest.$ac_ext <<_ACEOF
! 6668: /* confdefs.h. */
! 6669: _ACEOF
! 6670: cat confdefs.h >>conftest.$ac_ext
! 6671: cat >>conftest.$ac_ext <<_ACEOF
! 6672: /* end confdefs.h. */
! 6673: #ifdef __STDC__
! 6674: # include <limits.h>
! 6675: #else
! 6676: # include <assert.h>
! 6677: #endif
! 6678: Syntax error
! 6679: _ACEOF
! 6680: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6681: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6682: ac_status=$?
! 6683: grep -v '^ *+' conftest.er1 >conftest.err
! 6684: rm -f conftest.er1
! 6685: cat conftest.err >&5
! 6686: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6687: (exit $ac_status); } >/dev/null; then
! 6688: if test -s conftest.err; then
! 6689: ac_cpp_err=$ac_c_preproc_warn_flag
! 6690: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 6691: else
! 6692: ac_cpp_err=
! 6693: fi
! 6694: else
! 6695: ac_cpp_err=yes
! 6696: fi
! 6697: if test -z "$ac_cpp_err"; then
! 6698: :
! 6699: else
! 6700: echo "$as_me: failed program was:" >&5
! 6701: sed 's/^/| /' conftest.$ac_ext >&5
1.15 paf 6702:
1.35 ! moko 6703: # Broken: fails on valid input.
! 6704: continue
! 6705: fi
! 6706: rm -f conftest.err conftest.$ac_ext
1.15 paf 6707:
1.35 ! moko 6708: # OK, works on sane cases. Now check whether non-existent headers
! 6709: # can be detected and how.
! 6710: cat >conftest.$ac_ext <<_ACEOF
! 6711: /* confdefs.h. */
! 6712: _ACEOF
! 6713: cat confdefs.h >>conftest.$ac_ext
! 6714: cat >>conftest.$ac_ext <<_ACEOF
! 6715: /* end confdefs.h. */
! 6716: #include <ac_nonexistent.h>
! 6717: _ACEOF
! 6718: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6719: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6720: ac_status=$?
! 6721: grep -v '^ *+' conftest.er1 >conftest.err
! 6722: rm -f conftest.er1
! 6723: cat conftest.err >&5
! 6724: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6725: (exit $ac_status); } >/dev/null; then
! 6726: if test -s conftest.err; then
! 6727: ac_cpp_err=$ac_c_preproc_warn_flag
! 6728: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.15 paf 6729: else
1.35 ! moko 6730: ac_cpp_err=
1.15 paf 6731: fi
1.35 ! moko 6732: else
! 6733: ac_cpp_err=yes
! 6734: fi
! 6735: if test -z "$ac_cpp_err"; then
! 6736: # Broken: success on invalid input.
! 6737: continue
! 6738: else
! 6739: echo "$as_me: failed program was:" >&5
! 6740: sed 's/^/| /' conftest.$ac_ext >&5
! 6741:
! 6742: # Passes both tests.
! 6743: ac_preproc_ok=:
! 6744: break
! 6745: fi
! 6746: rm -f conftest.err conftest.$ac_ext
! 6747:
! 6748: done
! 6749: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6750: rm -f conftest.err conftest.$ac_ext
! 6751: if $ac_preproc_ok; then
! 6752: :
! 6753: else
! 6754: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 6755: See \`config.log' for more details." >&5
! 6756: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 6757: See \`config.log' for more details." >&2;}
! 6758: { (exit 1); exit 1; }; }
! 6759: fi
1.15 paf 6760:
1.35 ! moko 6761: ac_ext=c
! 6762: ac_cpp='$CPP $CPPFLAGS'
! 6763: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6764: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6765: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15 paf 6766:
6767:
1.35 ! moko 6768: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 6769: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 6770: if test "${ac_cv_header_stdc+set}" = set; then
! 6771: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6772: else
! 6773: cat >conftest.$ac_ext <<_ACEOF
! 6774: /* confdefs.h. */
! 6775: _ACEOF
! 6776: cat confdefs.h >>conftest.$ac_ext
! 6777: cat >>conftest.$ac_ext <<_ACEOF
! 6778: /* end confdefs.h. */
! 6779: #include <stdlib.h>
! 6780: #include <stdarg.h>
! 6781: #include <string.h>
! 6782: #include <float.h>
1.15 paf 6783:
1.35 ! moko 6784: int
! 6785: main ()
! 6786: {
1.15 paf 6787:
1.35 ! moko 6788: ;
! 6789: return 0;
! 6790: }
! 6791: _ACEOF
! 6792: rm -f conftest.$ac_objext
! 6793: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6794: (eval $ac_compile) 2>conftest.er1
! 6795: ac_status=$?
! 6796: grep -v '^ *+' conftest.er1 >conftest.err
! 6797: rm -f conftest.er1
! 6798: cat conftest.err >&5
! 6799: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6800: (exit $ac_status); } &&
! 6801: { ac_try='test -z "$ac_c_werror_flag"
! 6802: || test ! -s conftest.err'
! 6803: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6804: (eval $ac_try) 2>&5
! 6805: ac_status=$?
! 6806: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6807: (exit $ac_status); }; } &&
! 6808: { ac_try='test -s conftest.$ac_objext'
! 6809: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6810: (eval $ac_try) 2>&5
! 6811: ac_status=$?
! 6812: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6813: (exit $ac_status); }; }; then
! 6814: ac_cv_header_stdc=yes
! 6815: else
! 6816: echo "$as_me: failed program was:" >&5
! 6817: sed 's/^/| /' conftest.$ac_ext >&5
1.15 paf 6818:
1.35 ! moko 6819: ac_cv_header_stdc=no
! 6820: fi
! 6821: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 6822:
1.35 ! moko 6823: if test $ac_cv_header_stdc = yes; then
! 6824: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 6825: cat >conftest.$ac_ext <<_ACEOF
! 6826: /* confdefs.h. */
! 6827: _ACEOF
! 6828: cat confdefs.h >>conftest.$ac_ext
! 6829: cat >>conftest.$ac_ext <<_ACEOF
! 6830: /* end confdefs.h. */
! 6831: #include <string.h>
! 6832:
! 6833: _ACEOF
! 6834: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6835: $EGREP "memchr" >/dev/null 2>&1; then
! 6836: :
! 6837: else
! 6838: ac_cv_header_stdc=no
! 6839: fi
! 6840: rm -f conftest*
! 6841:
! 6842: fi
! 6843:
! 6844: if test $ac_cv_header_stdc = yes; then
! 6845: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 6846: cat >conftest.$ac_ext <<_ACEOF
! 6847: /* confdefs.h. */
! 6848: _ACEOF
! 6849: cat confdefs.h >>conftest.$ac_ext
! 6850: cat >>conftest.$ac_ext <<_ACEOF
! 6851: /* end confdefs.h. */
! 6852: #include <stdlib.h>
! 6853:
! 6854: _ACEOF
! 6855: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6856: $EGREP "free" >/dev/null 2>&1; then
! 6857: :
! 6858: else
! 6859: ac_cv_header_stdc=no
! 6860: fi
! 6861: rm -f conftest*
! 6862:
! 6863: fi
1.15 paf 6864:
1.35 ! moko 6865: if test $ac_cv_header_stdc = yes; then
! 6866: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 6867: if test "$cross_compiling" = yes; then
! 6868: :
! 6869: else
! 6870: cat >conftest.$ac_ext <<_ACEOF
! 6871: /* confdefs.h. */
! 6872: _ACEOF
! 6873: cat confdefs.h >>conftest.$ac_ext
! 6874: cat >>conftest.$ac_ext <<_ACEOF
! 6875: /* end confdefs.h. */
! 6876: #include <ctype.h>
! 6877: #if ((' ' & 0x0FF) == 0x020)
! 6878: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 6879: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 6880: #else
! 6881: # define ISLOWER(c) \
! 6882: (('a' <= (c) && (c) <= 'i') \
! 6883: || ('j' <= (c) && (c) <= 'r') \
! 6884: || ('s' <= (c) && (c) <= 'z'))
! 6885: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 6886: #endif
1.15 paf 6887:
1.35 ! moko 6888: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 6889: int
! 6890: main ()
! 6891: {
! 6892: int i;
! 6893: for (i = 0; i < 256; i++)
! 6894: if (XOR (islower (i), ISLOWER (i))
! 6895: || toupper (i) != TOUPPER (i))
! 6896: exit(2);
! 6897: exit (0);
! 6898: }
! 6899: _ACEOF
! 6900: rm -f conftest$ac_exeext
! 6901: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6902: (eval $ac_link) 2>&5
! 6903: ac_status=$?
! 6904: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6905: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 6906: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6907: (eval $ac_try) 2>&5
! 6908: ac_status=$?
! 6909: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6910: (exit $ac_status); }; }; then
! 6911: :
! 6912: else
! 6913: echo "$as_me: program exited with status $ac_status" >&5
! 6914: echo "$as_me: failed program was:" >&5
! 6915: sed 's/^/| /' conftest.$ac_ext >&5
1.15 paf 6916:
1.35 ! moko 6917: ( exit $ac_status )
! 6918: ac_cv_header_stdc=no
! 6919: fi
! 6920: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 6921: fi
! 6922: fi
! 6923: fi
! 6924: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 6925: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 6926: if test $ac_cv_header_stdc = yes; then
1.15 paf 6927:
1.35 ! moko 6928: cat >>confdefs.h <<\_ACEOF
! 6929: #define STDC_HEADERS 1
! 6930: _ACEOF
1.15 paf 6931:
1.35 ! moko 6932: fi
1.15 paf 6933:
1.35 ! moko 6934: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.15 paf 6935:
6936:
6937:
6938:
6939:
6940:
6941:
6942:
6943:
1.35 ! moko 6944: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 6945: inttypes.h stdint.h unistd.h
! 6946: do
! 6947: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6948: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6949: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 6950: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 6951: echo $ECHO_N "(cached) $ECHO_C" >&6
1.15 paf 6952: else
6953: cat >conftest.$ac_ext <<_ACEOF
6954: /* confdefs.h. */
6955: _ACEOF
6956: cat confdefs.h >>conftest.$ac_ext
6957: cat >>conftest.$ac_ext <<_ACEOF
6958: /* end confdefs.h. */
1.35 ! moko 6959: $ac_includes_default
1.25 paf 6960:
1.35 ! moko 6961: #include <$ac_header>
1.15 paf 6962: _ACEOF
1.35 ! moko 6963: rm -f conftest.$ac_objext
! 6964: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6965: (eval $ac_compile) 2>conftest.er1
1.15 paf 6966: ac_status=$?
1.25 paf 6967: grep -v '^ *+' conftest.er1 >conftest.err
6968: rm -f conftest.er1
6969: cat conftest.err >&5
1.15 paf 6970: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971: (exit $ac_status); } &&
1.25 paf 6972: { ac_try='test -z "$ac_c_werror_flag"
6973: || test ! -s conftest.err'
6974: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975: (eval $ac_try) 2>&5
6976: ac_status=$?
6977: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978: (exit $ac_status); }; } &&
1.35 ! moko 6979: { ac_try='test -s conftest.$ac_objext'
1.15 paf 6980: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981: (eval $ac_try) 2>&5
6982: ac_status=$?
6983: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984: (exit $ac_status); }; }; then
1.35 ! moko 6985: eval "$as_ac_Header=yes"
1.15 paf 6986: else
6987: echo "$as_me: failed program was:" >&5
6988: sed 's/^/| /' conftest.$ac_ext >&5
6989:
1.35 ! moko 6990: eval "$as_ac_Header=no"
! 6991: fi
! 6992: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 6993: fi
1.35 ! moko 6994: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 6995: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 6996: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 6997: cat >>confdefs.h <<_ACEOF
! 6998: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 6999: _ACEOF
! 7000:
1.15 paf 7001: fi
1.35 ! moko 7002:
! 7003: done
! 7004:
! 7005:
! 7006:
! 7007: for ac_header in dlfcn.h
! 7008: do
! 7009: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 7010: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 7011: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 7012: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.15 paf 7013: echo $ECHO_N "(cached) $ECHO_C" >&6
7014: else
1.35 ! moko 7015: cat >conftest.$ac_ext <<_ACEOF
1.15 paf 7016: /* confdefs.h. */
7017: _ACEOF
7018: cat confdefs.h >>conftest.$ac_ext
7019: cat >>conftest.$ac_ext <<_ACEOF
7020: /* end confdefs.h. */
1.35 ! moko 7021: $ac_includes_default
1.15 paf 7022:
1.35 ! moko 7023: #include <$ac_header>
1.15 paf 7024: _ACEOF
1.35 ! moko 7025: rm -f conftest.$ac_objext
! 7026: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 7027: (eval $ac_compile) 2>conftest.er1
1.15 paf 7028: ac_status=$?
1.25 paf 7029: grep -v '^ *+' conftest.er1 >conftest.err
7030: rm -f conftest.er1
7031: cat conftest.err >&5
1.15 paf 7032: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033: (exit $ac_status); } &&
1.25 paf 7034: { ac_try='test -z "$ac_c_werror_flag"
7035: || test ! -s conftest.err'
7036: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037: (eval $ac_try) 2>&5
7038: ac_status=$?
7039: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040: (exit $ac_status); }; } &&
1.35 ! moko 7041: { ac_try='test -s conftest.$ac_objext'
1.15 paf 7042: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043: (eval $ac_try) 2>&5
7044: ac_status=$?
7045: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046: (exit $ac_status); }; }; then
1.35 ! moko 7047: eval "$as_ac_Header=yes"
1.15 paf 7048: else
7049: echo "$as_me: failed program was:" >&5
7050: sed 's/^/| /' conftest.$ac_ext >&5
7051:
1.35 ! moko 7052: eval "$as_ac_Header=no"
1.15 paf 7053: fi
1.35 ! moko 7054: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 7055: fi
1.35 ! moko 7056: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 7057: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 7058: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 7059: cat >>confdefs.h <<_ACEOF
! 7060: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.15 paf 7061: _ACEOF
1.25 paf 7062:
1.35 ! moko 7063: fi
! 7064:
! 7065: done
1.25 paf 7066:
7067:
7068:
1.35 ! moko 7069:
! 7070: func_stripname_cnf ()
1.15 paf 7071: {
1.35 ! moko 7072: case ${2} in
! 7073: .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
! 7074: *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
! 7075: esac
! 7076: } # func_stripname_cnf
! 7077:
! 7078:
! 7079:
! 7080:
! 7081:
! 7082: # Set options
! 7083: enable_dlopen=yes
! 7084:
! 7085:
! 7086:
! 7087:
! 7088: enable_win32_dll=no
! 7089:
1.15 paf 7090:
1.35 ! moko 7091: # Check whether --enable-shared or --disable-shared was given.
! 7092: if test "${enable_shared+set}" = set; then
! 7093: enableval="$enable_shared"
! 7094: p=${PACKAGE-default}
! 7095: case $enableval in
! 7096: yes) enable_shared=yes ;;
! 7097: no) enable_shared=no ;;
! 7098: *)
! 7099: enable_shared=no
! 7100: # Look at the argument we got. We use all the common list separators.
! 7101: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7102: for pkg in $enableval; do
! 7103: IFS="$lt_save_ifs"
! 7104: if test "X$pkg" = "X$p"; then
! 7105: enable_shared=yes
! 7106: fi
! 7107: done
! 7108: IFS="$lt_save_ifs"
! 7109: ;;
! 7110: esac
1.15 paf 7111: else
1.35 ! moko 7112: enable_shared=yes
! 7113: fi;
! 7114:
! 7115:
! 7116:
! 7117:
! 7118:
! 7119:
! 7120:
1.15 paf 7121:
1.35 ! moko 7122: # Check whether --enable-static or --disable-static was given.
! 7123: if test "${enable_static+set}" = set; then
! 7124: enableval="$enable_static"
! 7125: p=${PACKAGE-default}
! 7126: case $enableval in
! 7127: yes) enable_static=yes ;;
! 7128: no) enable_static=no ;;
! 7129: *)
! 7130: enable_static=no
! 7131: # Look at the argument we got. We use all the common list separators.
! 7132: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7133: for pkg in $enableval; do
! 7134: IFS="$lt_save_ifs"
! 7135: if test "X$pkg" = "X$p"; then
! 7136: enable_static=yes
! 7137: fi
! 7138: done
! 7139: IFS="$lt_save_ifs"
! 7140: ;;
! 7141: esac
1.15 paf 7142: else
1.35 ! moko 7143: enable_static=yes
! 7144: fi;
! 7145:
! 7146:
! 7147:
! 7148:
! 7149:
! 7150:
! 7151:
! 7152:
! 7153:
! 7154: # Check whether --with-pic or --without-pic was given.
! 7155: if test "${with_pic+set}" = set; then
! 7156: withval="$with_pic"
! 7157: lt_p=${PACKAGE-default}
! 7158: case $withval in
! 7159: yes|no) pic_mode=$withval ;;
! 7160: *)
! 7161: pic_mode=default
! 7162: # Look at the argument we got. We use all the common list separators.
! 7163: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7164: for lt_pkg in $withval; do
! 7165: IFS="$lt_save_ifs"
! 7166: if test "X$lt_pkg" = "X$lt_p"; then
! 7167: pic_mode=yes
! 7168: fi
! 7169: done
! 7170: IFS="$lt_save_ifs"
! 7171: ;;
! 7172: esac
1.15 paf 7173: else
1.35 ! moko 7174: pic_mode=default
! 7175: fi;
! 7176:
! 7177: test -z "$pic_mode" && pic_mode=default
! 7178:
! 7179:
! 7180:
! 7181:
! 7182:
! 7183:
1.15 paf 7184:
1.35 ! moko 7185: # Check whether --enable-fast-install or --disable-fast-install was given.
! 7186: if test "${enable_fast_install+set}" = set; then
! 7187: enableval="$enable_fast_install"
! 7188: p=${PACKAGE-default}
! 7189: case $enableval in
! 7190: yes) enable_fast_install=yes ;;
! 7191: no) enable_fast_install=no ;;
! 7192: *)
! 7193: enable_fast_install=no
! 7194: # Look at the argument we got. We use all the common list separators.
! 7195: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7196: for pkg in $enableval; do
! 7197: IFS="$lt_save_ifs"
! 7198: if test "X$pkg" = "X$p"; then
! 7199: enable_fast_install=yes
! 7200: fi
! 7201: done
! 7202: IFS="$lt_save_ifs"
! 7203: ;;
! 7204: esac
1.15 paf 7205: else
1.35 ! moko 7206: enable_fast_install=yes
! 7207: fi;
! 7208:
! 7209:
! 7210:
! 7211:
! 7212:
! 7213:
! 7214:
! 7215:
! 7216:
! 7217:
! 7218: # This can be used to rebuild libtool when needed
! 7219: LIBTOOL_DEPS="$ltmain"
! 7220:
! 7221: # Always use our own libtool.
! 7222: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 7223:
! 7224:
! 7225:
! 7226:
! 7227:
! 7228:
! 7229:
! 7230:
! 7231:
! 7232:
! 7233:
! 7234:
! 7235:
! 7236:
! 7237:
! 7238:
! 7239:
! 7240:
! 7241:
! 7242:
! 7243:
! 7244:
! 7245:
! 7246:
! 7247:
! 7248:
! 7249:
! 7250:
! 7251:
! 7252:
! 7253: test -z "$LN_S" && LN_S="ln -s"
! 7254:
! 7255:
! 7256:
! 7257:
! 7258:
! 7259:
! 7260:
! 7261:
! 7262:
! 7263:
! 7264:
! 7265:
! 7266:
1.15 paf 7267:
1.35 ! moko 7268: if test -n "${ZSH_VERSION+set}" ; then
! 7269: setopt NO_GLOB_SUBST
1.15 paf 7270: fi
1.35 ! moko 7271:
! 7272: echo "$as_me:$LINENO: checking for objdir" >&5
! 7273: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 7274: if test "${lt_cv_objdir+set}" = set; then
! 7275: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7276: else
! 7277: rm -f .libs 2>/dev/null
! 7278: mkdir .libs 2>/dev/null
! 7279: if test -d .libs; then
! 7280: lt_cv_objdir=.libs
! 7281: else
! 7282: # MS-DOS does not allow filenames that begin with a dot.
! 7283: lt_cv_objdir=_libs
1.15 paf 7284: fi
1.35 ! moko 7285: rmdir .libs 2>/dev/null
! 7286: fi
! 7287: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 7288: echo "${ECHO_T}$lt_cv_objdir" >&6
! 7289: objdir=$lt_cv_objdir
1.15 paf 7290:
7291:
7292:
7293:
7294:
1.35 ! moko 7295: cat >>confdefs.h <<_ACEOF
! 7296: #define LT_OBJDIR "$lt_cv_objdir/"
! 7297: _ACEOF
1.15 paf 7298:
7299:
7300:
7301:
1.35 ! moko 7302: case $host_os in
! 7303: aix3*)
! 7304: # AIX sometimes has problems with the GCC collect2 program. For some
! 7305: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 7306: # vanish in a puff of smoke.
! 7307: if test "X${COLLECT_NAMES+set}" != Xset; then
! 7308: COLLECT_NAMES=
! 7309: export COLLECT_NAMES
! 7310: fi
! 7311: ;;
! 7312: esac
1.15 paf 7313:
1.35 ! moko 7314: # Global variables:
! 7315: ofile=libtool
! 7316: can_build_shared=yes
1.15 paf 7317:
1.35 ! moko 7318: # All known linkers require a `.a' archive for static linking (except MSVC,
! 7319: # which needs '.lib').
! 7320: libext=a
1.15 paf 7321:
1.35 ! moko 7322: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.15 paf 7323:
1.35 ! moko 7324: old_CC="$CC"
! 7325: old_CFLAGS="$CFLAGS"
1.15 paf 7326:
1.35 ! moko 7327: # Set sane defaults for various variables
! 7328: test -z "$CC" && CC=cc
! 7329: test -z "$LTCC" && LTCC=$CC
! 7330: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 7331: test -z "$LD" && LD=ld
! 7332: test -z "$ac_objext" && ac_objext=o
1.15 paf 7333:
1.35 ! moko 7334: for cc_temp in $compiler""; do
! 7335: case $cc_temp in
! 7336: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7337: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7338: \-*) ;;
! 7339: *) break;;
1.15 paf 7340: esac
1.35 ! moko 7341: done
! 7342: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.15 paf 7343:
7344:
1.35 ! moko 7345: # Only perform the check for file, if the check method requires it
! 7346: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7347: case $deplibs_check_method in
! 7348: file_magic*)
! 7349: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7350: echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 7351: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! 7352: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7353: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7354: else
! 7355: case $MAGIC_CMD in
! 7356: [\\/*] | ?:[\\/]*)
! 7357: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7358: ;;
! 7359: *)
! 7360: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7361: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7362: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7363: for ac_dir in $ac_dummy; do
! 7364: IFS="$lt_save_ifs"
! 7365: test -z "$ac_dir" && ac_dir=.
! 7366: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7367: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7368: if test -n "$file_magic_test_file"; then
! 7369: case $deplibs_check_method in
! 7370: "file_magic "*)
! 7371: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7372: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7373: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7374: $EGREP "$file_magic_regex" > /dev/null; then
! 7375: :
! 7376: else
! 7377: cat <<_LT_EOF 1>&2
1.15 paf 7378:
1.35 ! moko 7379: *** Warning: the command libtool uses to detect shared libraries,
! 7380: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7381: *** The result is that libtool may fail to recognize shared libraries
! 7382: *** as such. This will affect the creation of libtool libraries that
! 7383: *** depend on shared libraries, but programs linked with such libtool
! 7384: *** libraries will work regardless of this problem. Nevertheless, you
! 7385: *** may want to report the problem to your system manager and/or to
! 7386: *** bug-libtool@gnu.org
1.15 paf 7387:
1.35 ! moko 7388: _LT_EOF
! 7389: fi ;;
! 7390: esac
! 7391: fi
! 7392: break
! 7393: fi
! 7394: done
! 7395: IFS="$lt_save_ifs"
! 7396: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7397: ;;
! 7398: esac
! 7399: fi
1.15 paf 7400:
1.35 ! moko 7401: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7402: if test -n "$MAGIC_CMD"; then
! 7403: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7404: echo "${ECHO_T}$MAGIC_CMD" >&6
1.15 paf 7405: else
1.35 ! moko 7406: echo "$as_me:$LINENO: result: no" >&5
! 7407: echo "${ECHO_T}no" >&6
! 7408: fi
! 7409:
1.15 paf 7410:
7411:
7412:
7413:
1.35 ! moko 7414: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7415: if test -n "$ac_tool_prefix"; then
! 7416: echo "$as_me:$LINENO: checking for file" >&5
! 7417: echo $ECHO_N "checking for file... $ECHO_C" >&6
! 7418: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7419: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7420: else
! 7421: case $MAGIC_CMD in
! 7422: [\\/*] | ?:[\\/]*)
! 7423: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7424: ;;
! 7425: *)
! 7426: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7427: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7428: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7429: for ac_dir in $ac_dummy; do
! 7430: IFS="$lt_save_ifs"
! 7431: test -z "$ac_dir" && ac_dir=.
! 7432: if test -f $ac_dir/file; then
! 7433: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7434: if test -n "$file_magic_test_file"; then
! 7435: case $deplibs_check_method in
! 7436: "file_magic "*)
! 7437: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7438: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7439: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7440: $EGREP "$file_magic_regex" > /dev/null; then
! 7441: :
! 7442: else
! 7443: cat <<_LT_EOF 1>&2
! 7444:
! 7445: *** Warning: the command libtool uses to detect shared libraries,
! 7446: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7447: *** The result is that libtool may fail to recognize shared libraries
! 7448: *** as such. This will affect the creation of libtool libraries that
! 7449: *** depend on shared libraries, but programs linked with such libtool
! 7450: *** libraries will work regardless of this problem. Nevertheless, you
! 7451: *** may want to report the problem to your system manager and/or to
! 7452: *** bug-libtool@gnu.org
1.15 paf 7453:
1.35 ! moko 7454: _LT_EOF
! 7455: fi ;;
! 7456: esac
! 7457: fi
! 7458: break
! 7459: fi
! 7460: done
! 7461: IFS="$lt_save_ifs"
! 7462: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7463: ;;
! 7464: esac
! 7465: fi
1.15 paf 7466:
1.35 ! moko 7467: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7468: if test -n "$MAGIC_CMD"; then
! 7469: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7470: echo "${ECHO_T}$MAGIC_CMD" >&6
! 7471: else
! 7472: echo "$as_me:$LINENO: result: no" >&5
! 7473: echo "${ECHO_T}no" >&6
! 7474: fi
1.15 paf 7475:
7476:
1.35 ! moko 7477: else
! 7478: MAGIC_CMD=:
1.15 paf 7479: fi
7480: fi
1.35 ! moko 7481:
! 7482: fi
! 7483: ;;
! 7484: esac
! 7485:
! 7486: # Use C for the default configuration in the libtool script
! 7487:
! 7488: lt_save_CC="$CC"
! 7489: ac_ext=c
! 7490: ac_cpp='$CPP $CPPFLAGS'
! 7491: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7492: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7493: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7494:
! 7495:
! 7496: # Source file extension for C test sources.
! 7497: ac_ext=c
! 7498:
! 7499: # Object file extension for compiled C test sources.
! 7500: objext=o
! 7501: objext=$objext
! 7502:
! 7503: # Code to be used in simple compile tests
! 7504: lt_simple_compile_test_code="int some_variable = 0;"
! 7505:
! 7506: # Code to be used in simple link tests
! 7507: lt_simple_link_test_code='int main(){return(0);}'
1.15 paf 7508:
7509:
7510:
7511:
7512:
7513:
7514:
1.35 ! moko 7515: # If no C compiler was specified, use CC.
! 7516: LTCC=${LTCC-"$CC"}
1.15 paf 7517:
1.35 ! moko 7518: # If no C compiler flags were specified, use CFLAGS.
! 7519: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.15 paf 7520:
1.35 ! moko 7521: # Allow CC to be a program name with arguments.
! 7522: compiler=$CC
1.15 paf 7523:
1.35 ! moko 7524: # Save the default compiler, since it gets overwritten when the other
! 7525: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 7526: compiler_DEFAULT=$CC
1.15 paf 7527:
1.35 ! moko 7528: # save warnings/boilerplate of simple test code
! 7529: ac_outfile=conftest.$ac_objext
! 7530: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7531: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7532: _lt_compiler_boilerplate=`cat conftest.err`
! 7533: $RM conftest*
1.15 paf 7534:
1.35 ! moko 7535: ac_outfile=conftest.$ac_objext
! 7536: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7537: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7538: _lt_linker_boilerplate=`cat conftest.err`
! 7539: $RM -r conftest*
1.15 paf 7540:
7541:
1.35 ! moko 7542: if test -n "$compiler"; then
1.15 paf 7543:
1.35 ! moko 7544: lt_prog_compiler_no_builtin_flag=
1.15 paf 7545:
1.35 ! moko 7546: if test "$GCC" = yes; then
! 7547: case $cc_basename in
! 7548: nvcc*)
! 7549: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
! 7550: *)
! 7551: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
1.15 paf 7552: esac
7553:
1.35 ! moko 7554: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7555: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 7556: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.15 paf 7557: echo $ECHO_N "(cached) $ECHO_C" >&6
7558: else
1.35 ! moko 7559: lt_cv_prog_compiler_rtti_exceptions=no
! 7560: ac_outfile=conftest.$ac_objext
! 7561: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7562: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7563: # Insert the option either (1) after the last *FLAGS variable, or
! 7564: # (2) before a word containing "conftest.", or (3) at the end.
! 7565: # Note that $ac_compile itself does not contain backslashes and begins
! 7566: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7567: # The option is referenced via a variable to avoid confusing sed.
! 7568: lt_compile=`echo "$ac_compile" | $SED \
! 7569: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7570: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7571: -e 's:$: $lt_compiler_flag:'`
! 7572: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 7573: (eval "$lt_compile" 2>conftest.err)
! 7574: ac_status=$?
! 7575: cat conftest.err >&5
! 7576: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7577: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7578: # The compiler can only warn and ignore the option if not recognized
! 7579: # So say no if there are warnings other than the usual output.
! 7580: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 7581: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7582: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7583: lt_cv_prog_compiler_rtti_exceptions=yes
! 7584: fi
! 7585: fi
! 7586: $RM conftest*
1.15 paf 7587:
7588: fi
1.35 ! moko 7589: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7590: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.15 paf 7591:
1.35 ! moko 7592: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7593: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 7594: else
! 7595: :
1.15 paf 7596: fi
7597:
1.35 ! moko 7598: fi
1.15 paf 7599:
7600:
7601:
7602:
7603:
7604:
1.35 ! moko 7605: lt_prog_compiler_wl=
! 7606: lt_prog_compiler_pic=
! 7607: lt_prog_compiler_static=
1.15 paf 7608:
7609:
1.35 ! moko 7610: if test "$GCC" = yes; then
! 7611: lt_prog_compiler_wl='-Wl,'
! 7612: lt_prog_compiler_static='-static'
1.15 paf 7613:
1.35 ! moko 7614: case $host_os in
! 7615: aix*)
! 7616: # All AIX code is PIC.
! 7617: if test "$host_cpu" = ia64; then
! 7618: # AIX 5 now supports IA64 processor
! 7619: lt_prog_compiler_static='-Bstatic'
! 7620: fi
! 7621: ;;
1.15 paf 7622:
1.35 ! moko 7623: amigaos*)
! 7624: case $host_cpu in
! 7625: powerpc)
! 7626: # see comment about AmigaOS4 .so support
! 7627: lt_prog_compiler_pic='-fPIC'
! 7628: ;;
! 7629: m68k)
! 7630: # FIXME: we need at least 68020 code to build shared libraries, but
! 7631: # adding the `-m68020' flag to GCC prevents building anything better,
! 7632: # like `-m68040'.
! 7633: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7634: ;;
! 7635: esac
! 7636: ;;
1.15 paf 7637:
1.35 ! moko 7638: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7639: # PIC is the default for these OSes.
! 7640: ;;
1.15 paf 7641:
1.35 ! moko 7642: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7643: # This hack is so that the source file can tell whether it is being
! 7644: # built for inclusion in a dll (and should export symbols for example).
! 7645: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7646: # (--disable-auto-import) libraries
! 7647: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7648: ;;
1.15 paf 7649:
1.35 ! moko 7650: darwin* | rhapsody*)
! 7651: # PIC is the default on this platform
! 7652: # Common symbols not allowed in MH_DYLIB files
! 7653: lt_prog_compiler_pic='-fno-common'
! 7654: ;;
1.15 paf 7655:
1.35 ! moko 7656: haiku*)
! 7657: # PIC is the default for Haiku.
! 7658: # The "-static" flag exists, but is broken.
! 7659: lt_prog_compiler_static=
! 7660: ;;
1.15 paf 7661:
1.35 ! moko 7662: hpux*)
! 7663: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 7664: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 7665: # sets the default TLS model and affects inlining.
! 7666: case $host_cpu in
! 7667: hppa*64*)
! 7668: # +Z the default
! 7669: ;;
! 7670: *)
! 7671: lt_prog_compiler_pic='-fPIC'
! 7672: ;;
! 7673: esac
! 7674: ;;
1.15 paf 7675:
1.35 ! moko 7676: interix[3-9]*)
! 7677: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7678: # Instead, we relocate shared libraries at runtime.
! 7679: ;;
1.15 paf 7680:
1.35 ! moko 7681: msdosdjgpp*)
! 7682: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7683: # on systems that don't support them.
! 7684: lt_prog_compiler_can_build_shared=no
! 7685: enable_shared=no
! 7686: ;;
1.15 paf 7687:
1.35 ! moko 7688: *nto* | *qnx*)
! 7689: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7690: # it will coredump.
! 7691: lt_prog_compiler_pic='-fPIC -shared'
! 7692: ;;
1.15 paf 7693:
1.35 ! moko 7694: sysv4*MP*)
! 7695: if test -d /usr/nec; then
! 7696: lt_prog_compiler_pic=-Kconform_pic
! 7697: fi
! 7698: ;;
1.15 paf 7699:
1.35 ! moko 7700: *)
! 7701: lt_prog_compiler_pic='-fPIC'
! 7702: ;;
! 7703: esac
1.15 paf 7704:
1.35 ! moko 7705: case $cc_basename in
! 7706: nvcc*) # Cuda Compiler Driver 2.2
! 7707: lt_prog_compiler_wl='-Xlinker '
! 7708: if test -n "$lt_prog_compiler_pic"; then
! 7709: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
! 7710: fi
! 7711: ;;
! 7712: esac
! 7713: else
! 7714: # PORTME Check for flag to pass linker flags through the system compiler.
! 7715: case $host_os in
! 7716: aix*)
! 7717: lt_prog_compiler_wl='-Wl,'
! 7718: if test "$host_cpu" = ia64; then
! 7719: # AIX 5 now supports IA64 processor
! 7720: lt_prog_compiler_static='-Bstatic'
! 7721: else
! 7722: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 7723: fi
! 7724: ;;
1.15 paf 7725:
1.35 ! moko 7726: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7727: # This hack is so that the source file can tell whether it is being
! 7728: # built for inclusion in a dll (and should export symbols for example).
! 7729: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7730: ;;
1.15 paf 7731:
1.35 ! moko 7732: hpux9* | hpux10* | hpux11*)
! 7733: lt_prog_compiler_wl='-Wl,'
! 7734: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7735: # not for PA HP-UX.
! 7736: case $host_cpu in
! 7737: hppa*64*|ia64*)
! 7738: # +Z the default
! 7739: ;;
! 7740: *)
! 7741: lt_prog_compiler_pic='+Z'
! 7742: ;;
! 7743: esac
! 7744: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 7745: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 7746: ;;
1.15 paf 7747:
1.35 ! moko 7748: irix5* | irix6* | nonstopux*)
! 7749: lt_prog_compiler_wl='-Wl,'
! 7750: # PIC (with -KPIC) is the default.
! 7751: lt_prog_compiler_static='-non_shared'
! 7752: ;;
1.15 paf 7753:
1.35 ! moko 7754: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 7755: case $cc_basename in
! 7756: # old Intel for x86_64 which still supported -KPIC.
! 7757: ecc*)
! 7758: lt_prog_compiler_wl='-Wl,'
! 7759: lt_prog_compiler_pic='-KPIC'
! 7760: lt_prog_compiler_static='-static'
! 7761: ;;
! 7762: # icc used to be incompatible with GCC.
! 7763: # ICC 10 doesn't accept -KPIC any more.
! 7764: icc* | ifort*)
! 7765: lt_prog_compiler_wl='-Wl,'
! 7766: lt_prog_compiler_pic='-fPIC'
! 7767: lt_prog_compiler_static='-static'
! 7768: ;;
! 7769: # Lahey Fortran 8.1.
! 7770: lf95*)
! 7771: lt_prog_compiler_wl='-Wl,'
! 7772: lt_prog_compiler_pic='--shared'
! 7773: lt_prog_compiler_static='--static'
! 7774: ;;
! 7775: nagfor*)
! 7776: # NAG Fortran compiler
! 7777: lt_prog_compiler_wl='-Wl,-Wl,,'
! 7778: lt_prog_compiler_pic='-PIC'
! 7779: lt_prog_compiler_static='-Bstatic'
! 7780: ;;
! 7781: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
! 7782: # Portland Group compilers (*not* the Pentium gcc compiler,
! 7783: # which looks to be a dead project)
! 7784: lt_prog_compiler_wl='-Wl,'
! 7785: lt_prog_compiler_pic='-fpic'
! 7786: lt_prog_compiler_static='-Bstatic'
! 7787: ;;
! 7788: ccc*)
! 7789: lt_prog_compiler_wl='-Wl,'
! 7790: # All Alpha code is PIC.
! 7791: lt_prog_compiler_static='-non_shared'
! 7792: ;;
! 7793: xl* | bgxl* | bgf* | mpixl*)
! 7794: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
! 7795: lt_prog_compiler_wl='-Wl,'
! 7796: lt_prog_compiler_pic='-qpic'
! 7797: lt_prog_compiler_static='-qstaticlink'
! 7798: ;;
! 7799: *)
! 7800: case `$CC -V 2>&1 | sed 5q` in
! 7801: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
! 7802: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 7803: lt_prog_compiler_pic='-KPIC'
! 7804: lt_prog_compiler_static='-Bstatic'
! 7805: lt_prog_compiler_wl=''
! 7806: ;;
! 7807: *Sun\ F* | *Sun*Fortran*)
! 7808: lt_prog_compiler_pic='-KPIC'
! 7809: lt_prog_compiler_static='-Bstatic'
! 7810: lt_prog_compiler_wl='-Qoption ld '
! 7811: ;;
! 7812: *Sun\ C*)
! 7813: # Sun C 5.9
! 7814: lt_prog_compiler_pic='-KPIC'
! 7815: lt_prog_compiler_static='-Bstatic'
! 7816: lt_prog_compiler_wl='-Wl,'
! 7817: ;;
! 7818: *Intel*\ [CF]*Compiler*)
! 7819: lt_prog_compiler_wl='-Wl,'
! 7820: lt_prog_compiler_pic='-fPIC'
! 7821: lt_prog_compiler_static='-static'
! 7822: ;;
! 7823: *Portland\ Group*)
! 7824: lt_prog_compiler_wl='-Wl,'
! 7825: lt_prog_compiler_pic='-fpic'
! 7826: lt_prog_compiler_static='-Bstatic'
! 7827: ;;
! 7828: esac
! 7829: ;;
! 7830: esac
! 7831: ;;
1.15 paf 7832:
1.35 ! moko 7833: newsos6)
! 7834: lt_prog_compiler_pic='-KPIC'
! 7835: lt_prog_compiler_static='-Bstatic'
! 7836: ;;
1.15 paf 7837:
1.35 ! moko 7838: *nto* | *qnx*)
! 7839: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7840: # it will coredump.
! 7841: lt_prog_compiler_pic='-fPIC -shared'
! 7842: ;;
1.15 paf 7843:
1.35 ! moko 7844: osf3* | osf4* | osf5*)
! 7845: lt_prog_compiler_wl='-Wl,'
! 7846: # All OSF/1 code is PIC.
! 7847: lt_prog_compiler_static='-non_shared'
! 7848: ;;
1.15 paf 7849:
1.35 ! moko 7850: rdos*)
! 7851: lt_prog_compiler_static='-non_shared'
! 7852: ;;
1.15 paf 7853:
1.35 ! moko 7854: solaris*)
! 7855: lt_prog_compiler_pic='-KPIC'
! 7856: lt_prog_compiler_static='-Bstatic'
! 7857: case $cc_basename in
! 7858: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
! 7859: lt_prog_compiler_wl='-Qoption ld ';;
! 7860: *)
! 7861: lt_prog_compiler_wl='-Wl,';;
! 7862: esac
! 7863: ;;
1.15 paf 7864:
1.35 ! moko 7865: sunos4*)
! 7866: lt_prog_compiler_wl='-Qoption ld '
! 7867: lt_prog_compiler_pic='-PIC'
! 7868: lt_prog_compiler_static='-Bstatic'
! 7869: ;;
1.15 paf 7870:
1.35 ! moko 7871: sysv4 | sysv4.2uw2* | sysv4.3*)
! 7872: lt_prog_compiler_wl='-Wl,'
! 7873: lt_prog_compiler_pic='-KPIC'
! 7874: lt_prog_compiler_static='-Bstatic'
! 7875: ;;
1.15 paf 7876:
1.35 ! moko 7877: sysv4*MP*)
! 7878: if test -d /usr/nec ;then
! 7879: lt_prog_compiler_pic='-Kconform_pic'
! 7880: lt_prog_compiler_static='-Bstatic'
! 7881: fi
! 7882: ;;
1.15 paf 7883:
1.35 ! moko 7884: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 7885: lt_prog_compiler_wl='-Wl,'
! 7886: lt_prog_compiler_pic='-KPIC'
! 7887: lt_prog_compiler_static='-Bstatic'
! 7888: ;;
1.15 paf 7889:
1.35 ! moko 7890: unicos*)
! 7891: lt_prog_compiler_wl='-Wl,'
! 7892: lt_prog_compiler_can_build_shared=no
! 7893: ;;
1.15 paf 7894:
1.35 ! moko 7895: uts4*)
! 7896: lt_prog_compiler_pic='-pic'
! 7897: lt_prog_compiler_static='-Bstatic'
! 7898: ;;
1.15 paf 7899:
1.35 ! moko 7900: *)
! 7901: lt_prog_compiler_can_build_shared=no
! 7902: ;;
! 7903: esac
! 7904: fi
1.15 paf 7905:
1.35 ! moko 7906: case $host_os in
! 7907: # For platforms which do not support PIC, -DPIC is meaningless:
! 7908: *djgpp*)
! 7909: lt_prog_compiler_pic=
! 7910: ;;
! 7911: *)
! 7912: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 7913: ;;
! 7914: esac
1.15 paf 7915:
1.35 ! moko 7916: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 7917: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 7918: if test "${lt_cv_prog_compiler_pic+set}" = set; then
! 7919: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7920: else
! 7921: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
! 7922: fi
! 7923: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
! 7924: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
! 7925: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.15 paf 7926:
1.35 ! moko 7927: #
! 7928: # Check to make sure the PIC flag actually works.
! 7929: #
! 7930: if test -n "$lt_prog_compiler_pic"; then
! 7931: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 7932: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
! 7933: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
! 7934: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7935: else
! 7936: lt_cv_prog_compiler_pic_works=no
! 7937: ac_outfile=conftest.$ac_objext
! 7938: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7939: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 7940: # Insert the option either (1) after the last *FLAGS variable, or
! 7941: # (2) before a word containing "conftest.", or (3) at the end.
! 7942: # Note that $ac_compile itself does not contain backslashes and begins
! 7943: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7944: # The option is referenced via a variable to avoid confusing sed.
! 7945: lt_compile=`echo "$ac_compile" | $SED \
! 7946: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7947: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7948: -e 's:$: $lt_compiler_flag:'`
! 7949: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 7950: (eval "$lt_compile" 2>conftest.err)
! 7951: ac_status=$?
! 7952: cat conftest.err >&5
! 7953: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7954: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7955: # The compiler can only warn and ignore the option if not recognized
! 7956: # So say no if there are warnings other than the usual output.
! 7957: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 7958: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7959: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7960: lt_cv_prog_compiler_pic_works=yes
! 7961: fi
! 7962: fi
! 7963: $RM conftest*
1.15 paf 7964:
1.35 ! moko 7965: fi
! 7966: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! 7967: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.15 paf 7968:
1.35 ! moko 7969: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 7970: case $lt_prog_compiler_pic in
! 7971: "" | " "*) ;;
! 7972: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 7973: esac
! 7974: else
! 7975: lt_prog_compiler_pic=
! 7976: lt_prog_compiler_can_build_shared=no
! 7977: fi
1.15 paf 7978:
1.35 ! moko 7979: fi
1.15 paf 7980:
7981:
7982:
7983:
7984:
7985:
7986:
7987:
7988:
7989:
7990:
1.35 ! moko 7991: #
! 7992: # Check to make sure the static flag actually works.
! 7993: #
! 7994: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 7995: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 7996: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 7997: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
! 7998: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7999: else
! 8000: lt_cv_prog_compiler_static_works=no
! 8001: save_LDFLAGS="$LDFLAGS"
! 8002: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 8003: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 8004: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 8005: # The linker can only warn and ignore the option if not recognized
! 8006: # So say no if there are warnings
! 8007: if test -s conftest.err; then
! 8008: # Append any errors to the config.log.
! 8009: cat conftest.err 1>&5
! 8010: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 8011: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8012: if diff conftest.exp conftest.er2 >/dev/null; then
! 8013: lt_cv_prog_compiler_static_works=yes
! 8014: fi
! 8015: else
! 8016: lt_cv_prog_compiler_static_works=yes
! 8017: fi
! 8018: fi
! 8019: $RM -r conftest*
! 8020: LDFLAGS="$save_LDFLAGS"
1.15 paf 8021:
1.35 ! moko 8022: fi
! 8023: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! 8024: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
1.15 paf 8025:
1.35 ! moko 8026: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 8027: :
! 8028: else
! 8029: lt_prog_compiler_static=
! 8030: fi
1.15 paf 8031:
8032:
8033:
8034:
8035:
8036:
8037:
1.35 ! moko 8038: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8039: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 8040: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8041: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8042: else
! 8043: lt_cv_prog_compiler_c_o=no
! 8044: $RM -r conftest 2>/dev/null
! 8045: mkdir conftest
! 8046: cd conftest
! 8047: mkdir out
! 8048: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8049:
! 8050: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8051: # Insert the option either (1) after the last *FLAGS variable, or
! 8052: # (2) before a word containing "conftest.", or (3) at the end.
! 8053: # Note that $ac_compile itself does not contain backslashes and begins
! 8054: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8055: lt_compile=`echo "$ac_compile" | $SED \
! 8056: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8057: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8058: -e 's:$: $lt_compiler_flag:'`
! 8059: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8060: (eval "$lt_compile" 2>out/conftest.err)
! 8061: ac_status=$?
! 8062: cat out/conftest.err >&5
! 8063: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8064: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8065: then
! 8066: # The compiler can only warn and ignore the option if not recognized
! 8067: # So say no if there are warnings
! 8068: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8069: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8070: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8071: lt_cv_prog_compiler_c_o=yes
! 8072: fi
! 8073: fi
! 8074: chmod u+w . 2>&5
! 8075: $RM conftest*
! 8076: # SGI C++ compiler will create directory out/ii_files/ for
! 8077: # template instantiation
! 8078: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8079: $RM out/* && rmdir out
! 8080: cd ..
! 8081: $RM -r conftest
! 8082: $RM conftest*
1.15 paf 8083:
1.35 ! moko 8084: fi
! 8085: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8086: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
1.15 paf 8087:
8088:
8089:
8090:
8091:
8092:
1.35 ! moko 8093: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8094: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 8095: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8096: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8097: else
! 8098: lt_cv_prog_compiler_c_o=no
! 8099: $RM -r conftest 2>/dev/null
! 8100: mkdir conftest
! 8101: cd conftest
! 8102: mkdir out
! 8103: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8104:
! 8105: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8106: # Insert the option either (1) after the last *FLAGS variable, or
! 8107: # (2) before a word containing "conftest.", or (3) at the end.
! 8108: # Note that $ac_compile itself does not contain backslashes and begins
! 8109: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8110: lt_compile=`echo "$ac_compile" | $SED \
! 8111: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8112: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8113: -e 's:$: $lt_compiler_flag:'`
! 8114: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8115: (eval "$lt_compile" 2>out/conftest.err)
! 8116: ac_status=$?
! 8117: cat out/conftest.err >&5
! 8118: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8119: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8120: then
! 8121: # The compiler can only warn and ignore the option if not recognized
! 8122: # So say no if there are warnings
! 8123: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8124: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8125: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8126: lt_cv_prog_compiler_c_o=yes
! 8127: fi
! 8128: fi
! 8129: chmod u+w . 2>&5
! 8130: $RM conftest*
! 8131: # SGI C++ compiler will create directory out/ii_files/ for
! 8132: # template instantiation
! 8133: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8134: $RM out/* && rmdir out
! 8135: cd ..
! 8136: $RM -r conftest
! 8137: $RM conftest*
1.15 paf 8138:
1.35 ! moko 8139: fi
! 8140: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8141: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
1.15 paf 8142:
8143:
8144:
8145:
1.35 ! moko 8146: hard_links="nottested"
! 8147: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 8148: # do not overwrite the value of need_locks provided by the user
! 8149: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 8150: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 8151: hard_links=yes
! 8152: $RM conftest*
! 8153: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8154: touch conftest.a
! 8155: ln conftest.a conftest.b 2>&5 || hard_links=no
! 8156: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8157: echo "$as_me:$LINENO: result: $hard_links" >&5
! 8158: echo "${ECHO_T}$hard_links" >&6
! 8159: if test "$hard_links" = no; then
! 8160: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 8161: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 8162: need_locks=warn
! 8163: fi
! 8164: else
! 8165: need_locks=no
! 8166: fi
1.15 paf 8167:
8168:
8169:
8170:
8171:
8172:
1.35 ! moko 8173: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 8174: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.15 paf 8175:
1.35 ! moko 8176: runpath_var=
! 8177: allow_undefined_flag=
! 8178: always_export_symbols=no
! 8179: archive_cmds=
! 8180: archive_expsym_cmds=
! 8181: compiler_needs_object=no
! 8182: enable_shared_with_static_runtimes=no
! 8183: export_dynamic_flag_spec=
! 8184: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8185: hardcode_automatic=no
! 8186: hardcode_direct=no
! 8187: hardcode_direct_absolute=no
! 8188: hardcode_libdir_flag_spec=
! 8189: hardcode_libdir_separator=
! 8190: hardcode_minus_L=no
! 8191: hardcode_shlibpath_var=unsupported
! 8192: inherit_rpath=no
! 8193: link_all_deplibs=unknown
! 8194: module_cmds=
! 8195: module_expsym_cmds=
! 8196: old_archive_from_new_cmds=
! 8197: old_archive_from_expsyms_cmds=
! 8198: thread_safe_flag_spec=
! 8199: whole_archive_flag_spec=
! 8200: # include_expsyms should be a list of space-separated symbols to be *always*
! 8201: # included in the symbol list
! 8202: include_expsyms=
! 8203: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8204: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8205: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8206: # as well as any symbol that contains `d'.
! 8207: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8208: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8209: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8210: # the symbol is explicitly referenced. Since portable code cannot
! 8211: # rely on this symbol name, it's probably fine to never include it in
! 8212: # preloaded symbol tables.
! 8213: # Exclude shared library initialization/finalization symbols.
! 8214: extract_expsyms_cmds=
1.15 paf 8215:
8216: case $host_os in
1.35 ! moko 8217: cygwin* | mingw* | pw32* | cegcc*)
! 8218: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8219: # When not using gcc, we currently assume that we are using
! 8220: # Microsoft Visual C++.
! 8221: if test "$GCC" != yes; then
! 8222: with_gnu_ld=no
! 8223: fi
! 8224: ;;
! 8225: interix*)
! 8226: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8227: with_gnu_ld=yes
! 8228: ;;
! 8229: openbsd*)
! 8230: with_gnu_ld=no
1.15 paf 8231: ;;
8232: esac
8233:
1.35 ! moko 8234: ld_shlibs=yes
1.15 paf 8235:
1.35 ! moko 8236: # On some targets, GNU ld is compatible enough with the native linker
! 8237: # that we're better off using the native interface for both.
! 8238: lt_use_gnu_ld_interface=no
! 8239: if test "$with_gnu_ld" = yes; then
! 8240: case $host_os in
! 8241: aix*)
! 8242: # The AIX port of GNU ld has always aspired to compatibility
! 8243: # with the native linker. However, as the warning in the GNU ld
! 8244: # block says, versions before 2.19.5* couldn't really create working
! 8245: # shared libraries, regardless of the interface used.
! 8246: case `$LD -v 2>&1` in
! 8247: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
! 8248: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
! 8249: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
! 8250: *)
! 8251: lt_use_gnu_ld_interface=yes
! 8252: ;;
! 8253: esac
! 8254: ;;
! 8255: *)
! 8256: lt_use_gnu_ld_interface=yes
! 8257: ;;
! 8258: esac
! 8259: fi
1.15 paf 8260:
1.35 ! moko 8261: if test "$lt_use_gnu_ld_interface" = yes; then
! 8262: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8263: wlarc='${wl}'
! 8264:
! 8265: # Set some defaults for GNU ld with shared library support. These
! 8266: # are reset later if shared libraries are not supported. Putting them
! 8267: # here allows them to be overridden if necessary.
! 8268: runpath_var=LD_RUN_PATH
! 8269: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8270: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8271: # ancient GNU ld didn't support --whole-archive et. al.
! 8272: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 8273: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8274: else
! 8275: whole_archive_flag_spec=
! 8276: fi
! 8277: supports_anon_versioning=no
! 8278: case `$LD -v 2>&1` in
! 8279: *GNU\ gold*) supports_anon_versioning=yes ;;
! 8280: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8281: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8282: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8283: *\ 2.11.*) ;; # other 2.11 versions
! 8284: *) supports_anon_versioning=yes ;;
! 8285: esac
1.15 paf 8286:
1.35 ! moko 8287: # See if GNU ld supports shared libraries.
! 8288: case $host_os in
! 8289: aix[3-9]*)
! 8290: # On AIX/PPC, the GNU linker is very broken
! 8291: if test "$host_cpu" != ia64; then
! 8292: ld_shlibs=no
! 8293: cat <<_LT_EOF 1>&2
1.15 paf 8294:
1.35 ! moko 8295: *** Warning: the GNU linker, at least up to release 2.19, is reported
! 8296: *** to be unable to reliably create shared libraries on AIX.
! 8297: *** Therefore, libtool is disabling shared libraries support. If you
! 8298: *** really care for shared libraries, you may want to install binutils
! 8299: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
! 8300: *** You will then need to restart the configuration process.
1.15 paf 8301:
1.35 ! moko 8302: _LT_EOF
! 8303: fi
! 8304: ;;
1.15 paf 8305:
1.35 ! moko 8306: amigaos*)
! 8307: case $host_cpu in
! 8308: powerpc)
! 8309: # see comment about AmigaOS4 .so support
! 8310: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8311: archive_expsym_cmds=''
! 8312: ;;
! 8313: m68k)
! 8314: 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)'
! 8315: hardcode_libdir_flag_spec='-L$libdir'
! 8316: hardcode_minus_L=yes
! 8317: ;;
! 8318: esac
! 8319: ;;
1.15 paf 8320:
1.35 ! moko 8321: beos*)
! 8322: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8323: allow_undefined_flag=unsupported
! 8324: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8325: # support --undefined. This deserves some investigation. FIXME
! 8326: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8327: else
! 8328: ld_shlibs=no
! 8329: fi
! 8330: ;;
1.15 paf 8331:
1.35 ! moko 8332: cygwin* | mingw* | pw32* | cegcc*)
! 8333: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8334: # as there is no search path for DLLs.
! 8335: hardcode_libdir_flag_spec='-L$libdir'
! 8336: export_dynamic_flag_spec='${wl}--export-all-symbols'
! 8337: allow_undefined_flag=unsupported
! 8338: always_export_symbols=no
! 8339: enable_shared_with_static_runtimes=yes
! 8340: 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'
! 8341: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 8342:
! 8343: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 8344: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8345: # If the export-symbols file already is a .def file (1st line
! 8346: # is EXPORTS), use it as is; otherwise, prepend...
! 8347: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8348: cp $export_symbols $output_objdir/$soname.def;
! 8349: else
! 8350: echo EXPORTS > $output_objdir/$soname.def;
! 8351: cat $export_symbols >> $output_objdir/$soname.def;
! 8352: fi~
! 8353: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8354: else
! 8355: ld_shlibs=no
! 8356: fi
! 8357: ;;
1.15 paf 8358:
1.35 ! moko 8359: haiku*)
! 8360: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8361: link_all_deplibs=yes
! 8362: ;;
1.15 paf 8363:
1.35 ! moko 8364: interix[3-9]*)
! 8365: hardcode_direct=no
! 8366: hardcode_shlibpath_var=no
! 8367: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8368: export_dynamic_flag_spec='${wl}-E'
! 8369: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8370: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8371: # default) and relocated if they conflict, which is a slow very memory
! 8372: # consuming and fragmenting process. To avoid this, we pick a random,
! 8373: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8374: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8375: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8376: 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'
! 8377: ;;
1.15 paf 8378:
1.35 ! moko 8379: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
! 8380: tmp_diet=no
! 8381: if test "$host_os" = linux-dietlibc; then
! 8382: case $cc_basename in
! 8383: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 8384: esac
! 8385: fi
! 8386: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 8387: && test "$tmp_diet" = no
! 8388: then
! 8389: tmp_addflag=' $pic_flag'
! 8390: tmp_sharedflag='-shared'
! 8391: case $cc_basename,$host_cpu in
! 8392: pgcc*) # Portland Group C compiler
! 8393: 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'
! 8394: tmp_addflag=' $pic_flag'
! 8395: ;;
! 8396: pgf77* | pgf90* | pgf95* | pgfortran*)
! 8397: # Portland Group f77 and f90 compilers
! 8398: 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'
! 8399: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8400: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8401: tmp_addflag=' -i_dynamic' ;;
! 8402: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8403: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8404: ifc* | ifort*) # Intel Fortran compiler
! 8405: tmp_addflag=' -nofor_main' ;;
! 8406: lf95*) # Lahey Fortran 8.1
! 8407: whole_archive_flag_spec=
! 8408: tmp_sharedflag='--shared' ;;
! 8409: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 8410: tmp_sharedflag='-qmkshrobj'
! 8411: tmp_addflag= ;;
! 8412: nvcc*) # Cuda Compiler Driver 2.2
! 8413: 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'
! 8414: compiler_needs_object=yes
! 8415: ;;
! 8416: esac
! 8417: case `$CC -V 2>&1 | sed 5q` in
! 8418: *Sun\ C*) # Sun C 5.9
! 8419: 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'
! 8420: compiler_needs_object=yes
! 8421: tmp_sharedflag='-G' ;;
! 8422: *Sun\ F*) # Sun Fortran 8.3
! 8423: tmp_sharedflag='-G' ;;
! 8424: esac
! 8425: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.15 paf 8426:
1.35 ! moko 8427: if test "x$supports_anon_versioning" = xyes; then
! 8428: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8429: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8430: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8431: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8432: fi
! 8433:
! 8434: case $cc_basename in
! 8435: xlf* | bgf* | bgxlf* | mpixlf*)
! 8436: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 8437: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 8438: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8439: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
! 8440: if test "x$supports_anon_versioning" = xyes; then
! 8441: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8442: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8443: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8444: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 8445: fi
! 8446: ;;
! 8447: esac
! 8448: else
! 8449: ld_shlibs=no
! 8450: fi
! 8451: ;;
1.15 paf 8452:
1.35 ! moko 8453: netbsd*)
! 8454: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8455: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8456: wlarc=
! 8457: else
! 8458: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8459: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8460: fi
! 8461: ;;
1.15 paf 8462:
1.35 ! moko 8463: solaris*)
! 8464: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 8465: ld_shlibs=no
! 8466: cat <<_LT_EOF 1>&2
1.15 paf 8467:
1.35 ! moko 8468: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8469: *** create shared libraries on Solaris systems. Therefore, libtool
! 8470: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8471: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8472: *** your PATH or compiler configuration so that the native linker is
! 8473: *** used, and then restart.
1.15 paf 8474:
1.35 ! moko 8475: _LT_EOF
! 8476: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8477: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8478: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8479: else
! 8480: ld_shlibs=no
! 8481: fi
! 8482: ;;
1.15 paf 8483:
1.35 ! moko 8484: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8485: case `$LD -v 2>&1` in
! 8486: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8487: ld_shlibs=no
! 8488: cat <<_LT_EOF 1>&2
1.31 misha 8489:
1.35 ! moko 8490: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8491: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8492: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8493: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8494: *** your PATH or compiler configuration so that the native linker is
! 8495: *** used, and then restart.
1.31 misha 8496:
1.35 ! moko 8497: _LT_EOF
! 8498: ;;
! 8499: *)
! 8500: # For security reasons, it is highly recommended that you always
! 8501: # use absolute paths for naming shared libraries, and exclude the
! 8502: # DT_RUNPATH tag from executables and libraries. But doing so
! 8503: # requires that you compile everything twice, which is a pain.
! 8504: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8505: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8506: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8507: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8508: else
! 8509: ld_shlibs=no
! 8510: fi
! 8511: ;;
! 8512: esac
! 8513: ;;
1.31 misha 8514:
1.35 ! moko 8515: sunos4*)
! 8516: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8517: wlarc=
! 8518: hardcode_direct=yes
! 8519: hardcode_shlibpath_var=no
! 8520: ;;
1.15 paf 8521:
1.35 ! moko 8522: *)
! 8523: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8524: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8525: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8526: else
! 8527: ld_shlibs=no
! 8528: fi
! 8529: ;;
! 8530: esac
1.15 paf 8531:
1.35 ! moko 8532: if test "$ld_shlibs" = no; then
! 8533: runpath_var=
! 8534: hardcode_libdir_flag_spec=
! 8535: export_dynamic_flag_spec=
! 8536: whole_archive_flag_spec=
! 8537: fi
! 8538: else
! 8539: # PORTME fill in a description of your system's linker (not GNU ld)
! 8540: case $host_os in
! 8541: aix3*)
! 8542: allow_undefined_flag=unsupported
! 8543: always_export_symbols=yes
! 8544: 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'
! 8545: # Note: this linker hardcodes the directories in LIBPATH if there
! 8546: # are no directories specified by -L.
! 8547: hardcode_minus_L=yes
! 8548: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8549: # Neither direct hardcoding nor static linking is supported with a
! 8550: # broken collect2.
! 8551: hardcode_direct=unsupported
! 8552: fi
! 8553: ;;
1.15 paf 8554:
1.35 ! moko 8555: aix[4-9]*)
! 8556: if test "$host_cpu" = ia64; then
! 8557: # On IA64, the linker does run time linking by default, so we don't
! 8558: # have to do anything special.
! 8559: aix_use_runtimelinking=no
! 8560: exp_sym_flag='-Bexport'
! 8561: no_entry_flag=""
! 8562: else
! 8563: # If we're using GNU nm, then we don't want the "-C" option.
! 8564: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8565: # Also, AIX nm treats weak defined symbols like other global
! 8566: # defined symbols, whereas GNU nm marks them as "W".
! 8567: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 8568: 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'
! 8569: else
! 8570: 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'
! 8571: fi
! 8572: aix_use_runtimelinking=no
1.15 paf 8573:
1.35 ! moko 8574: # Test if we are trying to use run time linking or normal
! 8575: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8576: # need to do runtime linking.
! 8577: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8578: for ld_flag in $LDFLAGS; do
! 8579: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8580: aix_use_runtimelinking=yes
! 8581: break
! 8582: fi
! 8583: done
! 8584: ;;
! 8585: esac
1.15 paf 8586:
1.35 ! moko 8587: exp_sym_flag='-bexport'
! 8588: no_entry_flag='-bnoentry'
! 8589: fi
1.23 paf 8590:
1.35 ! moko 8591: # When large executables or shared objects are built, AIX ld can
! 8592: # have problems creating the table of contents. If linking a library
! 8593: # or program results in "error TOC overflow" add -mminimal-toc to
! 8594: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8595: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8596:
! 8597: archive_cmds=''
! 8598: hardcode_direct=yes
! 8599: hardcode_direct_absolute=yes
! 8600: hardcode_libdir_separator=':'
! 8601: link_all_deplibs=yes
! 8602: file_list_spec='${wl}-f,'
! 8603:
! 8604: if test "$GCC" = yes; then
! 8605: case $host_os in aix4.[012]|aix4.[012].*)
! 8606: # We only want to do this on AIX 4.2 and lower, the check
! 8607: # below for broken collect2 doesn't work under 4.3+
! 8608: collect2name=`${CC} -print-prog-name=collect2`
! 8609: if test -f "$collect2name" &&
! 8610: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 8611: then
! 8612: # We have reworked collect2
! 8613: :
! 8614: else
! 8615: # We have old collect2
! 8616: hardcode_direct=unsupported
! 8617: # It fails to find uninstalled libraries when the uninstalled
! 8618: # path is not listed in the libpath. Setting hardcode_minus_L
! 8619: # to unsupported forces relinking
! 8620: hardcode_minus_L=yes
! 8621: hardcode_libdir_flag_spec='-L$libdir'
! 8622: hardcode_libdir_separator=
! 8623: fi
! 8624: ;;
! 8625: esac
! 8626: shared_flag='-shared'
! 8627: if test "$aix_use_runtimelinking" = yes; then
! 8628: shared_flag="$shared_flag "'${wl}-G'
! 8629: fi
! 8630: else
! 8631: # not using gcc
! 8632: if test "$host_cpu" = ia64; then
! 8633: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8634: # chokes on -Wl,-G. The following line is correct:
! 8635: shared_flag='-G'
! 8636: else
! 8637: if test "$aix_use_runtimelinking" = yes; then
! 8638: shared_flag='${wl}-G'
! 8639: else
! 8640: shared_flag='${wl}-bM:SRE'
! 8641: fi
! 8642: fi
! 8643: fi
1.15 paf 8644:
1.35 ! moko 8645: export_dynamic_flag_spec='${wl}-bexpall'
! 8646: # It seems that -bexpall does not export symbols beginning with
! 8647: # underscore (_), so it is better to generate a list of symbols to export.
! 8648: always_export_symbols=yes
! 8649: if test "$aix_use_runtimelinking" = yes; then
! 8650: # Warning - without using the other runtime loading flags (-brtl),
! 8651: # -berok will link without error, but may produce a broken library.
! 8652: allow_undefined_flag='-berok'
! 8653: # Determine the default libpath from the value encoded in an
! 8654: # empty executable.
! 8655: if test "${lt_cv_aix_libpath+set}" = set; then
! 8656: aix_libpath=$lt_cv_aix_libpath
! 8657: else
! 8658: if test "${lt_cv_aix_libpath_+set}" = set; then
1.15 paf 8659: echo $ECHO_N "(cached) $ECHO_C" >&6
8660: else
1.35 ! moko 8661: cat >conftest.$ac_ext <<_ACEOF
1.15 paf 8662: /* confdefs.h. */
8663: _ACEOF
8664: cat confdefs.h >>conftest.$ac_ext
8665: cat >>conftest.$ac_ext <<_ACEOF
8666: /* end confdefs.h. */
1.35 ! moko 8667:
! 8668: int
! 8669: main ()
! 8670: {
! 8671:
! 8672: ;
! 8673: return 0;
! 8674: }
1.15 paf 8675: _ACEOF
1.35 ! moko 8676: rm -f conftest.$ac_objext conftest$ac_exeext
! 8677: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8678: (eval $ac_link) 2>conftest.er1
1.15 paf 8679: ac_status=$?
1.25 paf 8680: grep -v '^ *+' conftest.er1 >conftest.err
8681: rm -f conftest.er1
8682: cat conftest.err >&5
1.15 paf 8683: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684: (exit $ac_status); } &&
1.25 paf 8685: { ac_try='test -z "$ac_c_werror_flag"
8686: || test ! -s conftest.err'
8687: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688: (eval $ac_try) 2>&5
8689: ac_status=$?
8690: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691: (exit $ac_status); }; } &&
1.35 ! moko 8692: { ac_try='test -s conftest$ac_exeext'
1.15 paf 8693: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8694: (eval $ac_try) 2>&5
8695: ac_status=$?
8696: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697: (exit $ac_status); }; }; then
1.35 ! moko 8698:
! 8699: lt_aix_libpath_sed='
! 8700: /Import File Strings/,/^$/ {
! 8701: /^0/ {
! 8702: s/^0 *\([^ ]*\) *$/\1/
! 8703: p
! 8704: }
! 8705: }'
! 8706: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8707: # Check for a 64-bit object if we didn't find anything.
! 8708: if test -z "$lt_cv_aix_libpath_"; then
! 8709: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8710: fi
1.15 paf 8711: else
8712: echo "$as_me: failed program was:" >&5
8713: sed 's/^/| /' conftest.$ac_ext >&5
8714:
8715: fi
1.35 ! moko 8716: rm -f conftest.err conftest.$ac_objext \
! 8717: conftest$ac_exeext conftest.$ac_ext
! 8718: if test -z "$lt_cv_aix_libpath_"; then
! 8719: lt_cv_aix_libpath_="/usr/lib:/lib"
! 8720: fi
! 8721:
! 8722: fi
! 8723:
! 8724: aix_libpath=$lt_cv_aix_libpath_
! 8725: fi
1.15 paf 8726:
1.35 ! moko 8727: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8728: 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"
! 8729: else
! 8730: if test "$host_cpu" = ia64; then
! 8731: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 8732: allow_undefined_flag="-z nodefs"
! 8733: 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"
! 8734: else
! 8735: # Determine the default libpath from the value encoded in an
! 8736: # empty executable.
! 8737: if test "${lt_cv_aix_libpath+set}" = set; then
! 8738: aix_libpath=$lt_cv_aix_libpath
! 8739: else
! 8740: if test "${lt_cv_aix_libpath_+set}" = set; then
! 8741: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8742: else
! 8743: cat >conftest.$ac_ext <<_ACEOF
! 8744: /* confdefs.h. */
1.15 paf 8745: _ACEOF
8746: cat confdefs.h >>conftest.$ac_ext
8747: cat >>conftest.$ac_ext <<_ACEOF
8748: /* end confdefs.h. */
1.35 ! moko 8749:
! 8750: int
! 8751: main ()
! 8752: {
! 8753:
! 8754: ;
! 8755: return 0;
! 8756: }
1.15 paf 8757: _ACEOF
1.35 ! moko 8758: rm -f conftest.$ac_objext conftest$ac_exeext
! 8759: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8760: (eval $ac_link) 2>conftest.er1
1.15 paf 8761: ac_status=$?
8762: grep -v '^ *+' conftest.er1 >conftest.err
8763: rm -f conftest.er1
8764: cat conftest.err >&5
8765: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.35 ! moko 8766: (exit $ac_status); } &&
! 8767: { ac_try='test -z "$ac_c_werror_flag"
! 8768: || test ! -s conftest.err'
! 8769: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8770: (eval $ac_try) 2>&5
! 8771: ac_status=$?
! 8772: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8773: (exit $ac_status); }; } &&
! 8774: { ac_try='test -s conftest$ac_exeext'
! 8775: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8776: (eval $ac_try) 2>&5
! 8777: ac_status=$?
! 8778: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8779: (exit $ac_status); }; }; then
! 8780:
! 8781: lt_aix_libpath_sed='
! 8782: /Import File Strings/,/^$/ {
! 8783: /^0/ {
! 8784: s/^0 *\([^ ]*\) *$/\1/
! 8785: p
! 8786: }
! 8787: }'
! 8788: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8789: # Check for a 64-bit object if we didn't find anything.
! 8790: if test -z "$lt_cv_aix_libpath_"; then
! 8791: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1.15 paf 8792: fi
8793: else
8794: echo "$as_me: failed program was:" >&5
8795: sed 's/^/| /' conftest.$ac_ext >&5
8796:
8797: fi
1.35 ! moko 8798: rm -f conftest.err conftest.$ac_objext \
! 8799: conftest$ac_exeext conftest.$ac_ext
! 8800: if test -z "$lt_cv_aix_libpath_"; then
! 8801: lt_cv_aix_libpath_="/usr/lib:/lib"
! 8802: fi
! 8803:
! 8804: fi
! 8805:
! 8806: aix_libpath=$lt_cv_aix_libpath_
! 8807: fi
! 8808:
! 8809: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8810: # Warning - without using the other run time loading flags,
! 8811: # -berok will link without error, but may produce a broken library.
! 8812: no_undefined_flag=' ${wl}-bernotok'
! 8813: allow_undefined_flag=' ${wl}-berok'
! 8814: if test "$with_gnu_ld" = yes; then
! 8815: # We only use this code for GNU lds that support --whole-archive.
! 8816: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 8817: else
! 8818: # Exported symbols can be pulled into shared objects from archives
! 8819: whole_archive_flag_spec='$convenience'
! 8820: fi
! 8821: archive_cmds_need_lc=yes
! 8822: # This is similar to how AIX traditionally builds its shared libraries.
! 8823: 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'
! 8824: fi
! 8825: fi
! 8826: ;;
! 8827:
! 8828: amigaos*)
! 8829: case $host_cpu in
! 8830: powerpc)
! 8831: # see comment about AmigaOS4 .so support
! 8832: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8833: archive_expsym_cmds=''
! 8834: ;;
! 8835: m68k)
! 8836: 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)'
! 8837: hardcode_libdir_flag_spec='-L$libdir'
! 8838: hardcode_minus_L=yes
! 8839: ;;
! 8840: esac
! 8841: ;;
! 8842:
! 8843: bsdi[45]*)
! 8844: export_dynamic_flag_spec=-rdynamic
! 8845: ;;
! 8846:
! 8847: cygwin* | mingw* | pw32* | cegcc*)
! 8848: # When not using gcc, we currently assume that we are using
! 8849: # Microsoft Visual C++.
! 8850: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 8851: # no search path for DLLs.
! 8852: case $cc_basename in
! 8853: cl*)
! 8854: # Native MSVC
! 8855: hardcode_libdir_flag_spec=' '
! 8856: allow_undefined_flag=unsupported
! 8857: always_export_symbols=yes
! 8858: file_list_spec='@'
! 8859: # Tell ltmain to make .lib files, not .a files.
! 8860: libext=lib
! 8861: # Tell ltmain to make .dll files, not .so files.
! 8862: shrext_cmds=".dll"
! 8863: # FIXME: Setting linknames here is a bad hack.
! 8864: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 8865: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8866: sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 8867: else
! 8868: sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 8869: fi~
! 8870: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 8871: linknames='
! 8872: # The linker will not automatically build a static lib if we build a DLL.
! 8873: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
! 8874: enable_shared_with_static_runtimes=yes
! 8875: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 8876: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 8877: # Don't use ranlib
! 8878: old_postinstall_cmds='chmod 644 $oldlib'
! 8879: postlink_cmds='lt_outputfile="@OUTPUT@"~
! 8880: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 8881: case $lt_outputfile in
! 8882: *.exe|*.EXE) ;;
! 8883: *)
! 8884: lt_outputfile="$lt_outputfile.exe"
! 8885: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 8886: ;;
! 8887: esac~
! 8888: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 8889: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 8890: $RM "$lt_outputfile.manifest";
! 8891: fi'
! 8892: ;;
! 8893: *)
! 8894: # Assume MSVC wrapper
! 8895: hardcode_libdir_flag_spec=' '
! 8896: allow_undefined_flag=unsupported
! 8897: # Tell ltmain to make .lib files, not .a files.
! 8898: libext=lib
! 8899: # Tell ltmain to make .dll files, not .so files.
! 8900: shrext_cmds=".dll"
! 8901: # FIXME: Setting linknames here is a bad hack.
! 8902: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
! 8903: # The linker will automatically build a .lib file if we build a DLL.
! 8904: old_archive_from_new_cmds='true'
! 8905: # FIXME: Should let the user specify the lib program.
! 8906: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 8907: enable_shared_with_static_runtimes=yes
! 8908: ;;
! 8909: esac
! 8910: ;;
! 8911:
! 8912: darwin* | rhapsody*)
! 8913:
! 8914:
! 8915: archive_cmds_need_lc=no
! 8916: hardcode_direct=no
! 8917: hardcode_automatic=yes
! 8918: hardcode_shlibpath_var=unsupported
! 8919: if test "$lt_cv_ld_force_load" = "yes"; then
! 8920: 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\"`'
! 8921:
! 8922: else
! 8923: whole_archive_flag_spec=''
! 8924: fi
! 8925: link_all_deplibs=yes
! 8926: allow_undefined_flag="$_lt_dar_allow_undefined"
! 8927: case $cc_basename in
! 8928: ifort*) _lt_dar_can_shared=yes ;;
! 8929: *) _lt_dar_can_shared=$GCC ;;
! 8930: esac
! 8931: if test "$_lt_dar_can_shared" = "yes"; then
! 8932: output_verbose_link_cmd=func_echo_all
! 8933: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 8934: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 8935: 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}"
! 8936: 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}"
! 8937:
! 8938: else
! 8939: ld_shlibs=no
! 8940: fi
! 8941:
! 8942: ;;
! 8943:
! 8944: dgux*)
! 8945: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8946: hardcode_libdir_flag_spec='-L$libdir'
! 8947: hardcode_shlibpath_var=no
! 8948: ;;
! 8949:
! 8950: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 8951: # support. Future versions do this automatically, but an explicit c++rt0.o
! 8952: # does not break anything, and helps significantly (at the cost of a little
! 8953: # extra space).
! 8954: freebsd2.2*)
! 8955: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 8956: hardcode_libdir_flag_spec='-R$libdir'
! 8957: hardcode_direct=yes
! 8958: hardcode_shlibpath_var=no
! 8959: ;;
! 8960:
! 8961: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 8962: freebsd2.*)
! 8963: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8964: hardcode_direct=yes
! 8965: hardcode_minus_L=yes
! 8966: hardcode_shlibpath_var=no
! 8967: ;;
! 8968:
! 8969: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 8970: freebsd* | dragonfly*)
! 8971: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8972: hardcode_libdir_flag_spec='-R$libdir'
! 8973: hardcode_direct=yes
! 8974: hardcode_shlibpath_var=no
! 8975: ;;
! 8976:
! 8977: hpux9*)
! 8978: if test "$GCC" = yes; then
! 8979: 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'
! 8980: else
! 8981: 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'
! 8982: fi
! 8983: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8984: hardcode_libdir_separator=:
! 8985: hardcode_direct=yes
! 8986:
! 8987: # hardcode_minus_L: Not really in the search PATH,
! 8988: # but as the default location of the library.
! 8989: hardcode_minus_L=yes
! 8990: export_dynamic_flag_spec='${wl}-E'
! 8991: ;;
! 8992:
! 8993: hpux10*)
! 8994: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 8995: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8996: else
! 8997: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 8998: fi
! 8999: if test "$with_gnu_ld" = no; then
! 9000: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9001: hardcode_libdir_separator=:
! 9002: hardcode_direct=yes
! 9003: hardcode_direct_absolute=yes
! 9004: export_dynamic_flag_spec='${wl}-E'
! 9005: # hardcode_minus_L: Not really in the search PATH,
! 9006: # but as the default location of the library.
! 9007: hardcode_minus_L=yes
! 9008: fi
! 9009: ;;
! 9010:
! 9011: hpux11*)
! 9012: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 9013: case $host_cpu in
! 9014: hppa*64*)
! 9015: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9016: ;;
! 9017: ia64*)
! 9018: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9019: ;;
! 9020: *)
! 9021: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9022: ;;
! 9023: esac
! 9024: else
! 9025: case $host_cpu in
! 9026: hppa*64*)
! 9027: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9028: ;;
! 9029: ia64*)
! 9030: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9031: ;;
! 9032: *)
1.15 paf 9033:
1.35 ! moko 9034: # Older versions of the 11.00 compiler do not understand -b yet
! 9035: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
! 9036: echo "$as_me:$LINENO: checking if $CC understands -b" >&5
! 9037: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
! 9038: if test "${lt_cv_prog_compiler__b+set}" = set; then
1.15 paf 9039: echo $ECHO_N "(cached) $ECHO_C" >&6
9040: else
1.35 ! moko 9041: lt_cv_prog_compiler__b=no
! 9042: save_LDFLAGS="$LDFLAGS"
! 9043: LDFLAGS="$LDFLAGS -b"
! 9044: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 9045: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 9046: # The linker can only warn and ignore the option if not recognized
! 9047: # So say no if there are warnings
! 9048: if test -s conftest.err; then
! 9049: # Append any errors to the config.log.
! 9050: cat conftest.err 1>&5
! 9051: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 9052: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9053: if diff conftest.exp conftest.er2 >/dev/null; then
! 9054: lt_cv_prog_compiler__b=yes
! 9055: fi
! 9056: else
! 9057: lt_cv_prog_compiler__b=yes
! 9058: fi
! 9059: fi
! 9060: $RM -r conftest*
! 9061: LDFLAGS="$save_LDFLAGS"
1.15 paf 9062:
1.1 parser 9063: fi
1.35 ! moko 9064: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
! 9065: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.1 parser 9066:
1.35 ! moko 9067: if test x"$lt_cv_prog_compiler__b" = xyes; then
! 9068: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9069: else
! 9070: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.1 parser 9071: fi
9072:
1.35 ! moko 9073: ;;
! 9074: esac
! 9075: fi
! 9076: if test "$with_gnu_ld" = no; then
! 9077: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9078: hardcode_libdir_separator=:
! 9079:
! 9080: case $host_cpu in
! 9081: hppa*64*|ia64*)
! 9082: hardcode_direct=no
! 9083: hardcode_shlibpath_var=no
! 9084: ;;
! 9085: *)
! 9086: hardcode_direct=yes
! 9087: hardcode_direct_absolute=yes
! 9088: export_dynamic_flag_spec='${wl}-E'
1.15 paf 9089:
1.35 ! moko 9090: # hardcode_minus_L: Not really in the search PATH,
! 9091: # but as the default location of the library.
! 9092: hardcode_minus_L=yes
! 9093: ;;
! 9094: esac
! 9095: fi
! 9096: ;;
1.1 parser 9097:
1.35 ! moko 9098: irix5* | irix6* | nonstopux*)
! 9099: if test "$GCC" = yes; then
! 9100: 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'
! 9101: # Try to use the -exported_symbol ld option, if it does not
! 9102: # work, assume that -exports_file does not work either and
! 9103: # implicitly export all symbols.
! 9104: # This should be the same for all languages, so no per-tag cache variable.
! 9105: echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
! 9106: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
! 9107: if test "${lt_cv_irix_exported_symbol+set}" = set; then
1.15 paf 9108: echo $ECHO_N "(cached) $ECHO_C" >&6
9109: else
1.35 ! moko 9110: save_LDFLAGS="$LDFLAGS"
! 9111: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 9112: cat >conftest.$ac_ext <<_ACEOF
1.15 paf 9113: /* confdefs.h. */
9114: _ACEOF
9115: cat confdefs.h >>conftest.$ac_ext
9116: cat >>conftest.$ac_ext <<_ACEOF
9117: /* end confdefs.h. */
1.35 ! moko 9118: int foo (void) { return 0; }
1.15 paf 9119: _ACEOF
1.35 ! moko 9120: rm -f conftest.$ac_objext conftest$ac_exeext
! 9121: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9122: (eval $ac_link) 2>conftest.er1
1.15 paf 9123: ac_status=$?
1.25 paf 9124: grep -v '^ *+' conftest.er1 >conftest.err
9125: rm -f conftest.er1
9126: cat conftest.err >&5
1.15 paf 9127: echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128: (exit $ac_status); } &&
1.25 paf 9129: { ac_try='test -z "$ac_c_werror_flag"
9130: || test ! -s conftest.err'
9131: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132: (eval $ac_try) 2>&5
9133: ac_status=$?
9134: echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135: (exit $ac_status); }; } &&
1.35 ! moko 9136: { ac_try='test -s conftest$ac_exeext'
1.15 paf 9137: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138: (eval $ac_try) 2>&5
9139: ac_status=$?
9140: echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141: (exit $ac_status); }; }; then
1.35 ! moko 9142: lt_cv_irix_exported_symbol=yes
1.1 parser 9143: else
1.15 paf 9144: echo "$as_me: failed program was:" >&5
9145: sed 's/^/| /' conftest.$ac_ext >&5
9146:
1.35 ! moko 9147: lt_cv_irix_exported_symbol=no
1.15 paf 9148: fi
1.35 ! moko 9149: rm -f conftest.err conftest.$ac_objext \
! 9150: conftest$ac_exeext conftest.$ac_ext
! 9151: LDFLAGS="$save_LDFLAGS"
1.1 parser 9152: fi
1.35 ! moko 9153: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
! 9154: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
! 9155: if test "$lt_cv_irix_exported_symbol" = yes; then
! 9156: 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'
! 9157: fi
! 9158: else
! 9159: 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'
! 9160: 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'
! 9161: fi
! 9162: archive_cmds_need_lc='no'
! 9163: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9164: hardcode_libdir_separator=:
! 9165: inherit_rpath=yes
! 9166: link_all_deplibs=yes
! 9167: ;;
! 9168:
! 9169: netbsd*)
! 9170: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9171: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 9172: else
! 9173: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 9174: fi
! 9175: hardcode_libdir_flag_spec='-R$libdir'
! 9176: hardcode_direct=yes
! 9177: hardcode_shlibpath_var=no
! 9178: ;;
! 9179:
! 9180: newsos6)
! 9181: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9182: hardcode_direct=yes
! 9183: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9184: hardcode_libdir_separator=:
! 9185: hardcode_shlibpath_var=no
! 9186: ;;
! 9187:
! 9188: *nto* | *qnx*)
! 9189: ;;
1.1 parser 9190:
1.35 ! moko 9191: openbsd*)
! 9192: if test -f /usr/libexec/ld.so; then
! 9193: hardcode_direct=yes
! 9194: hardcode_shlibpath_var=no
! 9195: hardcode_direct_absolute=yes
! 9196: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9197: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9198: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 9199: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9200: export_dynamic_flag_spec='${wl}-E'
! 9201: else
! 9202: case $host_os in
! 9203: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 9204: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9205: hardcode_libdir_flag_spec='-R$libdir'
! 9206: ;;
! 9207: *)
! 9208: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9209: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9210: ;;
! 9211: esac
! 9212: fi
! 9213: else
! 9214: ld_shlibs=no
! 9215: fi
! 9216: ;;
1.1 parser 9217:
1.35 ! moko 9218: os2*)
! 9219: hardcode_libdir_flag_spec='-L$libdir'
! 9220: hardcode_minus_L=yes
! 9221: allow_undefined_flag=unsupported
! 9222: 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'
! 9223: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 9224: ;;
1.1 parser 9225:
1.35 ! moko 9226: osf3*)
! 9227: if test "$GCC" = yes; then
! 9228: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 9229: 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'
! 9230: else
! 9231: allow_undefined_flag=' -expect_unresolved \*'
! 9232: 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'
! 9233: fi
! 9234: archive_cmds_need_lc='no'
! 9235: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9236: hardcode_libdir_separator=:
! 9237: ;;
1.1 parser 9238:
1.35 ! moko 9239: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 9240: if test "$GCC" = yes; then
! 9241: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 9242: 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'
! 9243: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9244: else
! 9245: allow_undefined_flag=' -expect_unresolved \*'
! 9246: 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'
! 9247: 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~
! 9248: $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'
1.1 parser 9249:
1.35 ! moko 9250: # Both c and cxx compiler support -rpath directly
! 9251: hardcode_libdir_flag_spec='-rpath $libdir'
! 9252: fi
! 9253: archive_cmds_need_lc='no'
! 9254: hardcode_libdir_separator=:
! 9255: ;;
1.1 parser 9256:
1.35 ! moko 9257: solaris*)
! 9258: no_undefined_flag=' -z defs'
! 9259: if test "$GCC" = yes; then
! 9260: wlarc='${wl}'
! 9261: archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9262: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9263: $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'
! 9264: else
! 9265: case `$CC -V 2>&1` in
! 9266: *"Compilers 5.0"*)
! 9267: wlarc=''
! 9268: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9269: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9270: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 9271: ;;
! 9272: *)
! 9273: wlarc='${wl}'
! 9274: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 9275: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9276: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 9277: ;;
! 9278: esac
! 9279: fi
! 9280: hardcode_libdir_flag_spec='-R$libdir'
! 9281: hardcode_shlibpath_var=no
! 9282: case $host_os in
! 9283: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 9284: *)
! 9285: # The compiler driver will combine and reorder linker options,
! 9286: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 9287: # but is careful enough not to reorder.
! 9288: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 9289: if test "$GCC" = yes; then
! 9290: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 9291: else
! 9292: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 9293: fi
! 9294: ;;
! 9295: esac
! 9296: link_all_deplibs=yes
! 9297: ;;
! 9298:
! 9299: sunos4*)
! 9300: if test "x$host_vendor" = xsequent; then
! 9301: # Use $CC to link under sequent, because it throws in some extra .o
! 9302: # files that make .init and .fini sections work.
! 9303: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 9304: else
! 9305: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 9306: fi
! 9307: hardcode_libdir_flag_spec='-L$libdir'
! 9308: hardcode_direct=yes
! 9309: hardcode_minus_L=yes
! 9310: hardcode_shlibpath_var=no
! 9311: ;;
! 9312:
! 9313: sysv4)
! 9314: case $host_vendor in
! 9315: sni)
! 9316: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9317: hardcode_direct=yes # is this really true???
! 9318: ;;
! 9319: siemens)
! 9320: ## LD is ld it makes a PLAMLIB
! 9321: ## CC just makes a GrossModule.
! 9322: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 9323: reload_cmds='$CC -r -o $output$reload_objs'
! 9324: hardcode_direct=no
! 9325: ;;
! 9326: motorola)
! 9327: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9328: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 9329: ;;
! 9330: esac
! 9331: runpath_var='LD_RUN_PATH'
! 9332: hardcode_shlibpath_var=no
! 9333: ;;
! 9334:
! 9335: sysv4.3*)
! 9336: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9337: hardcode_shlibpath_var=no
! 9338: export_dynamic_flag_spec='-Bexport'
! 9339: ;;
! 9340:
! 9341: sysv4*MP*)
! 9342: if test -d /usr/nec; then
! 9343: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9344: hardcode_shlibpath_var=no
! 9345: runpath_var=LD_RUN_PATH
! 9346: hardcode_runpath_var=yes
! 9347: ld_shlibs=yes
! 9348: fi
! 9349: ;;
! 9350:
! 9351: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9352: no_undefined_flag='${wl}-z,text'
! 9353: archive_cmds_need_lc=no
! 9354: hardcode_shlibpath_var=no
! 9355: runpath_var='LD_RUN_PATH'
! 9356:
! 9357: if test "$GCC" = yes; then
! 9358: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9359: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9360: else
! 9361: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9362: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9363: fi
! 9364: ;;
1.15 paf 9365:
1.35 ! moko 9366: sysv5* | sco3.2v5* | sco5v6*)
! 9367: # Note: We can NOT use -z defs as we might desire, because we do not
! 9368: # link with -lc, and that would cause any symbols used from libc to
! 9369: # always be unresolved, which means just about no library would
! 9370: # ever link correctly. If we're not using GNU ld we use -z text
! 9371: # though, which does catch some bad symbols but isn't as heavy-handed
! 9372: # as -z defs.
! 9373: no_undefined_flag='${wl}-z,text'
! 9374: allow_undefined_flag='${wl}-z,nodefs'
! 9375: archive_cmds_need_lc=no
! 9376: hardcode_shlibpath_var=no
! 9377: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 9378: hardcode_libdir_separator=':'
! 9379: link_all_deplibs=yes
! 9380: export_dynamic_flag_spec='${wl}-Bexport'
! 9381: runpath_var='LD_RUN_PATH'
! 9382:
! 9383: if test "$GCC" = yes; then
! 9384: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9385: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9386: else
! 9387: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9388: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9389: fi
! 9390: ;;
1.15 paf 9391:
1.35 ! moko 9392: uts4*)
! 9393: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9394: hardcode_libdir_flag_spec='-L$libdir'
! 9395: hardcode_shlibpath_var=no
1.15 paf 9396: ;;
1.35 ! moko 9397:
1.15 paf 9398: *)
1.35 ! moko 9399: ld_shlibs=no
1.15 paf 9400: ;;
1.35 ! moko 9401: esac
! 9402:
! 9403: if test x$host_vendor = xsni; then
! 9404: case $host in
! 9405: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 9406: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9407: ;;
! 9408: esac
! 9409: fi
1.1 parser 9410: fi
9411:
1.35 ! moko 9412: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 9413: echo "${ECHO_T}$ld_shlibs" >&6
! 9414: test "$ld_shlibs" = no && can_build_shared=no
! 9415:
! 9416: with_gnu_ld=$with_gnu_ld
1.1 parser 9417:
9418:
1.15 paf 9419:
9420:
9421:
1.1 parser 9422:
9423:
1.15 paf 9424:
9425:
9426:
9427:
9428:
9429:
9430:
9431:
1.35 ! moko 9432: #
! 9433: # Do we need to explicitly link libc?
! 9434: #
! 9435: case "x$archive_cmds_need_lc" in
! 9436: x|xyes)
! 9437: # Assume -lc should be added
! 9438: archive_cmds_need_lc=yes
! 9439:
! 9440: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9441: case $archive_cmds in
! 9442: *'~'*)
! 9443: # FIXME: we may have to deal with multi-command sequences.
! 9444: ;;
! 9445: '$CC '*)
! 9446: # Test whether the compiler implicitly links with -lc since on some
! 9447: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9448: # to ld, don't add -lc before -lgcc.
! 9449: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 9450: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 9451: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
! 9452: echo $ECHO_N "(cached) $ECHO_C" >&6
1.15 paf 9453: else
1.35 ! moko 9454: $RM conftest*
! 9455: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9456:
! 9457: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9458: (eval $ac_compile) 2>&5
! 9459: ac_status=$?
! 9460: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9461: (exit $ac_status); } 2>conftest.err; then
! 9462: soname=conftest
! 9463: lib=conftest
! 9464: libobjs=conftest.$ac_objext
! 9465: deplibs=
! 9466: wl=$lt_prog_compiler_wl
! 9467: pic_flag=$lt_prog_compiler_pic
! 9468: compiler_flags=-v
! 9469: linker_flags=-v
! 9470: verstring=
! 9471: output_objdir=.
! 9472: libname=conftest
! 9473: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9474: allow_undefined_flag=
! 9475: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 9476: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9477: ac_status=$?
! 9478: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9479: (exit $ac_status); }
! 9480: then
! 9481: lt_cv_archive_cmds_need_lc=no
! 9482: else
! 9483: lt_cv_archive_cmds_need_lc=yes
! 9484: fi
! 9485: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9486: else
! 9487: cat conftest.err 1>&5
! 9488: fi
! 9489: $RM conftest*
! 9490:
1.15 paf 9491: fi
1.35 ! moko 9492: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
! 9493: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
! 9494: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
! 9495: ;;
! 9496: esac
! 9497: fi
! 9498: ;;
! 9499: esac
! 9500:
! 9501:
! 9502:
! 9503:
! 9504:
! 9505:
! 9506:
! 9507:
! 9508:
! 9509:
! 9510:
! 9511:
! 9512:
! 9513:
! 9514:
! 9515:
! 9516:
! 9517:
! 9518:
! 9519:
! 9520:
! 9521:
! 9522:
! 9523:
! 9524:
! 9525:
! 9526:
! 9527:
! 9528:
! 9529:
! 9530:
! 9531:
! 9532:
! 9533:
! 9534:
! 9535:
! 9536:
! 9537:
! 9538:
! 9539:
! 9540:
! 9541:
! 9542:
! 9543:
! 9544:
! 9545:
! 9546:
! 9547:
! 9548:
! 9549:
! 9550:
! 9551:
! 9552:
! 9553:
! 9554:
1.15 paf 9555:
9556:
9557:
9558:
9559:
9560:
9561:
9562:
9563:
9564:
9565:
9566:
9567:
9568:
9569:
9570:
9571:
9572:
9573:
9574:
9575:
9576:
9577:
9578:
9579:
9580:
9581:
9582:
9583:
9584:
9585:
9586:
9587:
9588:
9589:
9590:
9591:
9592:
9593:
9594:
9595:
9596:
9597:
9598:
9599:
1.1 parser 9600:
1.15 paf 9601:
9602:
9603:
9604:
9605:
1.1 parser 9606:
1.15 paf 9607:
9608:
9609:
9610:
1.1 parser 9611:
1.15 paf 9612:
9613:
9614:
9615:
1.1 parser 9616:
9617:
9618:
9619:
9620:
9621:
9622:
1.15 paf 9623:
9624:
9625:
1.25 paf 9626:
1.15 paf 9627:
9628:
1.1 parser 9629:
1.15 paf 9630:
9631:
9632:
1.1 parser 9633:
9634:
9635:
9636:
1.15 paf 9637:
9638:
1.1 parser 9639:
1.15 paf 9640:
9641:
9642:
9643:
1.1 parser 9644:
1.25 paf 9645:
1.15 paf 9646:
9647:
1.25 paf 9648:
1.15 paf 9649:
9650:
1.35 ! moko 9651:
! 9652: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 9653: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 9654:
! 9655: if test "$GCC" = yes; then
! 9656: case $host_os in
! 9657: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9658: *) lt_awk_arg="/^libraries:/" ;;
! 9659: esac
! 9660: case $host_os in
! 9661: mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
! 9662: *) lt_sed_strip_eq="s,=/,/,g" ;;
! 9663: esac
! 9664: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
! 9665: case $lt_search_path_spec in
! 9666: *\;*)
! 9667: # if the path contains ";" then we assume it to be the separator
! 9668: # otherwise default to the standard path separator (i.e. ":") - it is
! 9669: # assumed that no part of a normal pathname contains ";" but that should
! 9670: # okay in the real world where ";" in dirpaths is itself problematic.
! 9671: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
! 9672: ;;
! 9673: *)
! 9674: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
! 9675: ;;
! 9676: esac
! 9677: # Ok, now we have the path, separated by spaces, we can step through it
! 9678: # and add multilib dir if necessary.
! 9679: lt_tmp_lt_search_path_spec=
! 9680: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9681: for lt_sys_path in $lt_search_path_spec; do
! 9682: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9683: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9684: else
! 9685: test -d "$lt_sys_path" && \
! 9686: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 9687: fi
! 9688: done
! 9689: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
! 9690: BEGIN {RS=" "; FS="/|\n";} {
! 9691: lt_foo="";
! 9692: lt_count=0;
! 9693: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9694: if ($lt_i != "" && $lt_i != ".") {
! 9695: if ($lt_i == "..") {
! 9696: lt_count++;
! 9697: } else {
! 9698: if (lt_count == 0) {
! 9699: lt_foo="/" $lt_i lt_foo;
! 9700: } else {
! 9701: lt_count--;
! 9702: }
! 9703: }
! 9704: }
! 9705: }
! 9706: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9707: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9708: }'`
! 9709: # AWK program above erroneously prepends '/' to C:/dos/paths
! 9710: # for these hosts.
! 9711: case $host_os in
! 9712: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
! 9713: $SED 's,/\([A-Za-z]:\),\1,g'` ;;
! 9714: esac
! 9715: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
! 9716: else
! 9717: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 9718: fi
! 9719: library_names_spec=
! 9720: libname_spec='lib$name'
! 9721: soname_spec=
! 9722: shrext_cmds=".so"
! 9723: postinstall_cmds=
! 9724: postuninstall_cmds=
! 9725: finish_cmds=
! 9726: finish_eval=
! 9727: shlibpath_var=
! 9728: shlibpath_overrides_runpath=unknown
! 9729: version_type=none
! 9730: dynamic_linker="$host_os ld.so"
! 9731: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 9732: need_lib_prefix=unknown
! 9733: hardcode_into_libs=no
! 9734:
! 9735: # when you set need_version to no, make sure it does not cause -set_version
! 9736: # flags to be left without arguments
! 9737: need_version=unknown
! 9738:
! 9739: case $host_os in
! 9740: aix3*)
! 9741: version_type=linux # correct to gnu/linux during the next big refactor
! 9742: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 9743: shlibpath_var=LIBPATH
! 9744:
! 9745: # AIX 3 has no versioning support, so we append a major version to the name.
! 9746: soname_spec='${libname}${release}${shared_ext}$major'
! 9747: ;;
! 9748:
! 9749: aix[4-9]*)
! 9750: version_type=linux # correct to gnu/linux during the next big refactor
! 9751: need_lib_prefix=no
! 9752: need_version=no
! 9753: hardcode_into_libs=yes
! 9754: if test "$host_cpu" = ia64; then
! 9755: # AIX 5 supports IA64
! 9756: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 9757: shlibpath_var=LD_LIBRARY_PATH
1.15 paf 9758: else
1.35 ! moko 9759: # With GCC up to 2.95.x, collect2 would create an import file
! 9760: # for dependence libraries. The import file would start with
! 9761: # the line `#! .'. This would cause the generated library to
! 9762: # depend on `.', always an invalid library. This was fixed in
! 9763: # development snapshots of GCC prior to 3.0.
! 9764: case $host_os in
! 9765: aix4 | aix4.[01] | aix4.[01].*)
! 9766: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 9767: echo ' yes '
! 9768: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 9769: :
! 9770: else
! 9771: can_build_shared=no
! 9772: fi
! 9773: ;;
! 9774: esac
! 9775: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 9776: # soname into executable. Probably we can add versioning support to
! 9777: # collect2, so additional links can be useful in future.
! 9778: if test "$aix_use_runtimelinking" = yes; then
! 9779: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 9780: # instead of lib<name>.a to let people know that these are not
! 9781: # typical AIX shared libraries.
! 9782: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9783: else
! 9784: # We preserve .a as extension for shared libraries through AIX4.2
! 9785: # and later when we are not doing run time linking.
! 9786: library_names_spec='${libname}${release}.a $libname.a'
! 9787: soname_spec='${libname}${release}${shared_ext}$major'
! 9788: fi
! 9789: shlibpath_var=LIBPATH
1.15 paf 9790: fi
1.35 ! moko 9791: ;;
! 9792:
! 9793: amigaos*)
! 9794: case $host_cpu in
! 9795: powerpc)
! 9796: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 9797: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 9798: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9799: ;;
! 9800: m68k)
! 9801: library_names_spec='$libname.ixlibrary $libname.a'
! 9802: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 9803: 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'
! 9804: ;;
! 9805: esac
! 9806: ;;
! 9807:
! 9808: beos*)
! 9809: library_names_spec='${libname}${shared_ext}'
! 9810: dynamic_linker="$host_os ld.so"
! 9811: shlibpath_var=LIBRARY_PATH
! 9812: ;;
! 9813:
! 9814: bsdi[45]*)
! 9815: version_type=linux # correct to gnu/linux during the next big refactor
! 9816: need_version=no
! 9817: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9818: soname_spec='${libname}${release}${shared_ext}$major'
! 9819: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 9820: shlibpath_var=LD_LIBRARY_PATH
! 9821: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 9822: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 9823: # the default ld.so.conf also contains /usr/contrib/lib and
! 9824: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 9825: # libtool to hard-code these into programs
! 9826: ;;
! 9827:
! 9828: cygwin* | mingw* | pw32* | cegcc*)
! 9829: version_type=windows
! 9830: shrext_cmds=".dll"
! 9831: need_version=no
! 9832: need_lib_prefix=no
! 9833:
! 9834: case $GCC,$cc_basename in
! 9835: yes,*)
! 9836: # gcc
! 9837: library_names_spec='$libname.dll.a'
! 9838: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 9839: postinstall_cmds='base_file=`basename \${file}`~
! 9840: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 9841: dldir=$destdir/`dirname \$dlpath`~
! 9842: test -d \$dldir || mkdir -p \$dldir~
! 9843: $install_prog $dir/$dlname \$dldir/$dlname~
! 9844: chmod a+x \$dldir/$dlname~
! 9845: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 9846: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 9847: fi'
! 9848: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 9849: dlpath=$dir/\$dldll~
! 9850: $RM \$dlpath'
! 9851: shlibpath_overrides_runpath=yes
! 9852:
! 9853: case $host_os in
! 9854: cygwin*)
! 9855: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 9856: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9857:
! 9858: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
! 9859: ;;
! 9860: mingw* | cegcc*)
! 9861: # MinGW DLLs use traditional 'lib' prefix
! 9862: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9863: ;;
! 9864: pw32*)
! 9865: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 9866: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9867: ;;
! 9868: esac
! 9869: dynamic_linker='Win32 ld.exe'
! 9870: ;;
! 9871:
! 9872: *,cl*)
! 9873: # Native MSVC
! 9874: libname_spec='$name'
! 9875: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9876: library_names_spec='${libname}.dll.lib'
! 9877:
! 9878: case $build_os in
! 9879: mingw*)
! 9880: sys_lib_search_path_spec=
! 9881: lt_save_ifs=$IFS
! 9882: IFS=';'
! 9883: for lt_path in $LIB
! 9884: do
! 9885: IFS=$lt_save_ifs
! 9886: # Let DOS variable expansion print the short 8.3 style file name.
! 9887: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 9888: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 9889: done
! 9890: IFS=$lt_save_ifs
! 9891: # Convert to MSYS style.
! 9892: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 9893: ;;
! 9894: cygwin*)
! 9895: # Convert to unix form, then to dos form, then back to unix form
! 9896: # but this time dos style (no spaces!) so that the unix form looks
! 9897: # like /cygdrive/c/PROGRA~1:/cygdr...
! 9898: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 9899: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 9900: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9901: ;;
! 9902: *)
! 9903: sys_lib_search_path_spec="$LIB"
! 9904: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 9905: # It is most probably a Windows format PATH.
! 9906: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 9907: else
! 9908: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9909: fi
! 9910: # FIXME: find the short name or the path components, as spaces are
! 9911: # common. (e.g. "Program Files" -> "PROGRA~1")
! 9912: ;;
! 9913: esac
! 9914:
! 9915: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 9916: postinstall_cmds='base_file=`basename \${file}`~
! 9917: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 9918: dldir=$destdir/`dirname \$dlpath`~
! 9919: test -d \$dldir || mkdir -p \$dldir~
! 9920: $install_prog $dir/$dlname \$dldir/$dlname'
! 9921: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 9922: dlpath=$dir/\$dldll~
! 9923: $RM \$dlpath'
! 9924: shlibpath_overrides_runpath=yes
! 9925: dynamic_linker='Win32 link.exe'
! 9926: ;;
! 9927:
! 9928: *)
! 9929: # Assume MSVC wrapper
! 9930: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 9931: dynamic_linker='Win32 ld.exe'
! 9932: ;;
! 9933: esac
! 9934: # FIXME: first we should search . and the directory the executable is in
! 9935: shlibpath_var=PATH
! 9936: ;;
! 9937:
! 9938: darwin* | rhapsody*)
! 9939: dynamic_linker="$host_os dyld"
! 9940: version_type=darwin
! 9941: need_lib_prefix=no
! 9942: need_version=no
! 9943: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 9944: soname_spec='${libname}${release}${major}$shared_ext'
! 9945: shlibpath_overrides_runpath=yes
! 9946: shlibpath_var=DYLD_LIBRARY_PATH
! 9947: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 9948:
! 9949: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 9950: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 9951: ;;
! 9952:
! 9953: dgux*)
! 9954: version_type=linux # correct to gnu/linux during the next big refactor
! 9955: need_lib_prefix=no
! 9956: need_version=no
! 9957: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 9958: soname_spec='${libname}${release}${shared_ext}$major'
! 9959: shlibpath_var=LD_LIBRARY_PATH
! 9960: ;;
! 9961:
! 9962: freebsd* | dragonfly*)
! 9963: # DragonFly does not have aout. When/if they implement a new
! 9964: # versioning mechanism, adjust this.
! 9965: if test -x /usr/bin/objformat; then
! 9966: objformat=`/usr/bin/objformat`
1.15 paf 9967: else
1.35 ! moko 9968: case $host_os in
! 9969: freebsd[23].*) objformat=aout ;;
! 9970: *) objformat=elf ;;
! 9971: esac
! 9972: fi
! 9973: version_type=freebsd-$objformat
! 9974: case $version_type in
! 9975: freebsd-elf*)
! 9976: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9977: need_version=no
! 9978: need_lib_prefix=no
! 9979: ;;
! 9980: freebsd-*)
! 9981: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 9982: need_version=yes
! 9983: ;;
! 9984: esac
! 9985: shlibpath_var=LD_LIBRARY_PATH
! 9986: case $host_os in
! 9987: freebsd2.*)
! 9988: shlibpath_overrides_runpath=yes
! 9989: ;;
! 9990: freebsd3.[01]* | freebsdelf3.[01]*)
! 9991: shlibpath_overrides_runpath=yes
! 9992: hardcode_into_libs=yes
! 9993: ;;
! 9994: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 9995: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 9996: shlibpath_overrides_runpath=no
! 9997: hardcode_into_libs=yes
! 9998: ;;
! 9999: *) # from 4.6 on, and DragonFly
! 10000: shlibpath_overrides_runpath=yes
! 10001: hardcode_into_libs=yes
! 10002: ;;
! 10003: esac
! 10004: ;;
! 10005:
! 10006: gnu*)
! 10007: version_type=linux # correct to gnu/linux during the next big refactor
! 10008: need_lib_prefix=no
! 10009: need_version=no
! 10010: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 10011: soname_spec='${libname}${release}${shared_ext}$major'
! 10012: shlibpath_var=LD_LIBRARY_PATH
! 10013: shlibpath_overrides_runpath=no
! 10014: hardcode_into_libs=yes
! 10015: ;;
! 10016:
! 10017: haiku*)
! 10018: version_type=linux # correct to gnu/linux during the next big refactor
! 10019: need_lib_prefix=no
! 10020: need_version=no
! 10021: dynamic_linker="$host_os runtime_loader"
! 10022: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 10023: soname_spec='${libname}${release}${shared_ext}$major'
! 10024: shlibpath_var=LIBRARY_PATH
! 10025: shlibpath_overrides_runpath=yes
! 10026: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 10027: hardcode_into_libs=yes
! 10028: ;;
! 10029:
! 10030: hpux9* | hpux10* | hpux11*)
! 10031: # Give a soname corresponding to the major version so that dld.sl refuses to
! 10032: # link against other versions.
! 10033: version_type=sunos
! 10034: need_lib_prefix=no
! 10035: need_version=no
! 10036: case $host_cpu in
! 10037: ia64*)
! 10038: shrext_cmds='.so'
! 10039: hardcode_into_libs=yes
! 10040: dynamic_linker="$host_os dld.so"
! 10041: shlibpath_var=LD_LIBRARY_PATH
! 10042: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 10043: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10044: soname_spec='${libname}${release}${shared_ext}$major'
! 10045: if test "X$HPUX_IA64_MODE" = X32; then
! 10046: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 10047: else
! 10048: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 10049: fi
! 10050: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 10051: ;;
! 10052: hppa*64*)
! 10053: shrext_cmds='.sl'
! 10054: hardcode_into_libs=yes
! 10055: dynamic_linker="$host_os dld.sl"
! 10056: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 10057: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 10058: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10059: soname_spec='${libname}${release}${shared_ext}$major'
! 10060: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 10061: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 10062: ;;
! 10063: *)
! 10064: shrext_cmds='.sl'
! 10065: dynamic_linker="$host_os dld.sl"
! 10066: shlibpath_var=SHLIB_PATH
! 10067: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 10068: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10069: soname_spec='${libname}${release}${shared_ext}$major'
! 10070: ;;
! 10071: esac
! 10072: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 10073: postinstall_cmds='chmod 555 $lib'
! 10074: # or fails outright, so override atomically:
! 10075: install_override_mode=555
! 10076: ;;
! 10077:
! 10078: interix[3-9]*)
! 10079: version_type=linux # correct to gnu/linux during the next big refactor
! 10080: need_lib_prefix=no
! 10081: need_version=no
! 10082: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 10083: soname_spec='${libname}${release}${shared_ext}$major'
! 10084: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 10085: shlibpath_var=LD_LIBRARY_PATH
! 10086: shlibpath_overrides_runpath=no
! 10087: hardcode_into_libs=yes
! 10088: ;;
! 10089:
! 10090: irix5* | irix6* | nonstopux*)
! 10091: case $host_os in
! 10092: nonstopux*) version_type=nonstopux ;;
! 10093: *)
! 10094: if test "$lt_cv_prog_gnu_ld" = yes; then
! 10095: version_type=linux # correct to gnu/linux during the next big refactor
! 10096: else
! 10097: version_type=irix
! 10098: fi ;;
! 10099: esac
! 10100: need_lib_prefix=no
! 10101: need_version=no
! 10102: soname_spec='${libname}${release}${shared_ext}$major'
! 10103: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10104: case $host_os in
! 10105: irix5* | nonstopux*)
! 10106: libsuff= shlibsuff=
! 10107: ;;
! 10108: *)
! 10109: case $LD in # libtool.m4 will add one of these switches to LD
! 10110: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 10111: libsuff= shlibsuff= libmagic=32-bit;;
! 10112: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 10113: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 10114: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 10115: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 10116: *) libsuff= shlibsuff= libmagic=never-match;;
! 10117: esac
! 10118: ;;
! 10119: esac
! 10120: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 10121: shlibpath_overrides_runpath=no
! 10122: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 10123: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 10124: hardcode_into_libs=yes
! 10125: ;;
! 10126:
! 10127: # No shared lib support for Linux oldld, aout, or coff.
! 10128: linux*oldld* | linux*aout* | linux*coff*)
! 10129: dynamic_linker=no
! 10130: ;;
! 10131:
! 10132: # This must be glibc/ELF.
! 10133: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 10134: version_type=linux # correct to gnu/linux during the next big refactor
! 10135: need_lib_prefix=no
! 10136: need_version=no
! 10137: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10138: soname_spec='${libname}${release}${shared_ext}$major'
! 10139: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 10140: shlibpath_var=LD_LIBRARY_PATH
! 10141: shlibpath_overrides_runpath=no
! 10142:
! 10143: # Some binutils ld are patched to set DT_RUNPATH
! 10144: if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
! 10145: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10146: else
! 10147: lt_cv_shlibpath_overrides_runpath=no
! 10148: save_LDFLAGS=$LDFLAGS
! 10149: save_libdir=$libdir
! 10150: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 10151: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 10152: cat >conftest.$ac_ext <<_ACEOF
! 10153: /* confdefs.h. */
! 10154: _ACEOF
! 10155: cat confdefs.h >>conftest.$ac_ext
! 10156: cat >>conftest.$ac_ext <<_ACEOF
! 10157: /* end confdefs.h. */
! 10158:
! 10159: int
! 10160: main ()
! 10161: {
! 10162:
! 10163: ;
! 10164: return 0;
! 10165: }
! 10166: _ACEOF
! 10167: rm -f conftest.$ac_objext conftest$ac_exeext
! 10168: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10169: (eval $ac_link) 2>conftest.er1
! 10170: ac_status=$?
! 10171: grep -v '^ *+' conftest.er1 >conftest.err
! 10172: rm -f conftest.er1
! 10173: cat conftest.err >&5
! 10174: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10175: (exit $ac_status); } &&
! 10176: { ac_try='test -z "$ac_c_werror_flag"
! 10177: || test ! -s conftest.err'
! 10178: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10179: (eval $ac_try) 2>&5
! 10180: ac_status=$?
! 10181: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10182: (exit $ac_status); }; } &&
! 10183: { ac_try='test -s conftest$ac_exeext'
! 10184: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10185: (eval $ac_try) 2>&5
! 10186: ac_status=$?
! 10187: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10188: (exit $ac_status); }; }; then
! 10189: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 10190: lt_cv_shlibpath_overrides_runpath=yes
! 10191: fi
! 10192:
! 10193: else
! 10194: echo "$as_me: failed program was:" >&5
! 10195: sed 's/^/| /' conftest.$ac_ext >&5
! 10196:
! 10197: fi
! 10198: rm -f conftest.err conftest.$ac_objext \
! 10199: conftest$ac_exeext conftest.$ac_ext
! 10200: LDFLAGS=$save_LDFLAGS
! 10201: libdir=$save_libdir
! 10202:
! 10203: fi
! 10204:
! 10205: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 10206:
! 10207: # This implies no fast_install, which is unacceptable.
! 10208: # Some rework will be needed to allow for fast_install
! 10209: # before this can be enabled.
! 10210: hardcode_into_libs=yes
! 10211:
! 10212: # Append ld.so.conf contents to the search path
! 10213: if test -f /etc/ld.so.conf; then
! 10214: 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' ' '`
! 10215: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 10216: fi
! 10217:
! 10218: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 10219: # powerpc, because MkLinux only supported shared libraries with the
! 10220: # GNU dynamic linker. Since this was broken with cross compilers,
! 10221: # most powerpc-linux boxes support dynamic linking these days and
! 10222: # people can always --disable-shared, the test was removed, and we
! 10223: # assume the GNU/Linux dynamic linker is in use.
! 10224: dynamic_linker='GNU/Linux ld.so'
! 10225: ;;
! 10226:
! 10227: netbsd*)
! 10228: version_type=sunos
! 10229: need_lib_prefix=no
! 10230: need_version=no
! 10231: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 10232: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10233: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 10234: dynamic_linker='NetBSD (a.out) ld.so'
! 10235: else
! 10236: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 10237: soname_spec='${libname}${release}${shared_ext}$major'
! 10238: dynamic_linker='NetBSD ld.elf_so'
! 10239: fi
! 10240: shlibpath_var=LD_LIBRARY_PATH
! 10241: shlibpath_overrides_runpath=yes
! 10242: hardcode_into_libs=yes
! 10243: ;;
! 10244:
! 10245: newsos6)
! 10246: version_type=linux # correct to gnu/linux during the next big refactor
! 10247: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10248: shlibpath_var=LD_LIBRARY_PATH
! 10249: shlibpath_overrides_runpath=yes
! 10250: ;;
! 10251:
! 10252: *nto* | *qnx*)
! 10253: version_type=qnx
! 10254: need_lib_prefix=no
! 10255: need_version=no
! 10256: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10257: soname_spec='${libname}${release}${shared_ext}$major'
! 10258: shlibpath_var=LD_LIBRARY_PATH
! 10259: shlibpath_overrides_runpath=no
! 10260: hardcode_into_libs=yes
! 10261: dynamic_linker='ldqnx.so'
! 10262: ;;
! 10263:
! 10264: openbsd*)
! 10265: version_type=sunos
! 10266: sys_lib_dlsearch_path_spec="/usr/lib"
! 10267: need_lib_prefix=no
! 10268: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 10269: case $host_os in
! 10270: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 10271: *) need_version=no ;;
! 10272: esac
! 10273: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10274: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 10275: shlibpath_var=LD_LIBRARY_PATH
! 10276: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 10277: case $host_os in
! 10278: openbsd2.[89] | openbsd2.[89].*)
! 10279: shlibpath_overrides_runpath=no
! 10280: ;;
! 10281: *)
! 10282: shlibpath_overrides_runpath=yes
! 10283: ;;
! 10284: esac
! 10285: else
! 10286: shlibpath_overrides_runpath=yes
! 10287: fi
! 10288: ;;
! 10289:
! 10290: os2*)
! 10291: libname_spec='$name'
! 10292: shrext_cmds=".dll"
! 10293: need_lib_prefix=no
! 10294: library_names_spec='$libname${shared_ext} $libname.a'
! 10295: dynamic_linker='OS/2 ld.exe'
! 10296: shlibpath_var=LIBPATH
! 10297: ;;
! 10298:
! 10299: osf3* | osf4* | osf5*)
! 10300: version_type=osf
! 10301: need_lib_prefix=no
! 10302: need_version=no
! 10303: soname_spec='${libname}${release}${shared_ext}$major'
! 10304: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10305: shlibpath_var=LD_LIBRARY_PATH
! 10306: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 10307: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 10308: ;;
! 10309:
! 10310: rdos*)
! 10311: dynamic_linker=no
! 10312: ;;
! 10313:
! 10314: solaris*)
! 10315: version_type=linux # correct to gnu/linux during the next big refactor
! 10316: need_lib_prefix=no
! 10317: need_version=no
! 10318: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10319: soname_spec='${libname}${release}${shared_ext}$major'
! 10320: shlibpath_var=LD_LIBRARY_PATH
! 10321: shlibpath_overrides_runpath=yes
! 10322: hardcode_into_libs=yes
! 10323: # ldd complains unless libraries are executable
! 10324: postinstall_cmds='chmod +x $lib'
! 10325: ;;
! 10326:
! 10327: sunos4*)
! 10328: version_type=sunos
! 10329: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10330: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 10331: shlibpath_var=LD_LIBRARY_PATH
! 10332: shlibpath_overrides_runpath=yes
! 10333: if test "$with_gnu_ld" = yes; then
! 10334: need_lib_prefix=no
! 10335: fi
! 10336: need_version=yes
! 10337: ;;
! 10338:
! 10339: sysv4 | sysv4.3*)
! 10340: version_type=linux # correct to gnu/linux during the next big refactor
! 10341: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10342: soname_spec='${libname}${release}${shared_ext}$major'
! 10343: shlibpath_var=LD_LIBRARY_PATH
! 10344: case $host_vendor in
! 10345: sni)
! 10346: shlibpath_overrides_runpath=no
! 10347: need_lib_prefix=no
! 10348: runpath_var=LD_RUN_PATH
! 10349: ;;
! 10350: siemens)
! 10351: need_lib_prefix=no
! 10352: ;;
! 10353: motorola)
! 10354: need_lib_prefix=no
! 10355: need_version=no
! 10356: shlibpath_overrides_runpath=no
! 10357: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 10358: ;;
! 10359: esac
! 10360: ;;
! 10361:
! 10362: sysv4*MP*)
! 10363: if test -d /usr/nec ;then
! 10364: version_type=linux # correct to gnu/linux during the next big refactor
! 10365: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 10366: soname_spec='$libname${shared_ext}.$major'
! 10367: shlibpath_var=LD_LIBRARY_PATH
! 10368: fi
! 10369: ;;
! 10370:
! 10371: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 10372: version_type=freebsd-elf
! 10373: need_lib_prefix=no
! 10374: need_version=no
! 10375: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10376: soname_spec='${libname}${release}${shared_ext}$major'
! 10377: shlibpath_var=LD_LIBRARY_PATH
! 10378: shlibpath_overrides_runpath=yes
! 10379: hardcode_into_libs=yes
! 10380: if test "$with_gnu_ld" = yes; then
! 10381: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 10382: else
! 10383: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 10384: case $host_os in
! 10385: sco3.2v5*)
! 10386: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 10387: ;;
! 10388: esac
! 10389: fi
! 10390: sys_lib_dlsearch_path_spec='/usr/lib'
! 10391: ;;
! 10392:
! 10393: tpf*)
! 10394: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 10395: version_type=linux # correct to gnu/linux during the next big refactor
! 10396: need_lib_prefix=no
! 10397: need_version=no
! 10398: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10399: shlibpath_var=LD_LIBRARY_PATH
! 10400: shlibpath_overrides_runpath=no
! 10401: hardcode_into_libs=yes
! 10402: ;;
! 10403:
! 10404: uts4*)
! 10405: version_type=linux # correct to gnu/linux during the next big refactor
! 10406: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10407: soname_spec='${libname}${release}${shared_ext}$major'
! 10408: shlibpath_var=LD_LIBRARY_PATH
! 10409: ;;
! 10410:
! 10411: *)
! 10412: dynamic_linker=no
! 10413: ;;
! 10414: esac
! 10415: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 10416: echo "${ECHO_T}$dynamic_linker" >&6
! 10417: test "$dynamic_linker" = no && can_build_shared=no
! 10418:
! 10419: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 10420: if test "$GCC" = yes; then
! 10421: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 10422: fi
! 10423:
! 10424: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 10425: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 10426: fi
! 10427: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 10428: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 10429: fi
! 10430:
! 10431:
! 10432:
! 10433:
! 10434:
! 10435:
! 10436:
! 10437:
! 10438:
! 10439:
! 10440:
! 10441:
! 10442:
! 10443:
! 10444:
! 10445:
! 10446:
! 10447:
! 10448:
! 10449:
! 10450:
! 10451:
! 10452:
! 10453:
! 10454:
! 10455:
! 10456:
! 10457:
! 10458:
! 10459:
! 10460:
! 10461:
! 10462:
! 10463:
! 10464:
! 10465:
! 10466:
! 10467:
! 10468:
! 10469:
! 10470:
! 10471:
! 10472:
! 10473:
! 10474:
! 10475:
! 10476:
! 10477:
! 10478:
! 10479:
! 10480:
! 10481:
! 10482:
! 10483:
! 10484:
! 10485:
! 10486:
! 10487:
! 10488:
! 10489:
! 10490:
! 10491:
! 10492:
! 10493:
! 10494:
! 10495:
! 10496:
! 10497:
! 10498:
! 10499:
! 10500:
! 10501:
! 10502:
! 10503:
! 10504:
! 10505:
! 10506:
! 10507:
! 10508:
! 10509:
! 10510:
! 10511:
! 10512:
! 10513:
! 10514:
! 10515:
! 10516:
! 10517:
! 10518:
! 10519:
! 10520:
! 10521:
! 10522: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 10523: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 10524: hardcode_action=
! 10525: if test -n "$hardcode_libdir_flag_spec" ||
! 10526: test -n "$runpath_var" ||
! 10527: test "X$hardcode_automatic" = "Xyes" ; then
! 10528:
! 10529: # We can hardcode non-existent directories.
! 10530: if test "$hardcode_direct" != no &&
! 10531: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 10532: # have to relink, otherwise we might link with an installed library
! 10533: # when we should be linking with a yet-to-be-installed one
! 10534: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 10535: test "$hardcode_minus_L" != no; then
! 10536: # Linking always hardcodes the temporary library directory.
! 10537: hardcode_action=relink
! 10538: else
! 10539: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 10540: hardcode_action=immediate
! 10541: fi
! 10542: else
! 10543: # We cannot hardcode anything, or else we can only hardcode existing
! 10544: # directories.
! 10545: hardcode_action=unsupported
! 10546: fi
! 10547: echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 10548: echo "${ECHO_T}$hardcode_action" >&6
! 10549:
! 10550: if test "$hardcode_action" = relink ||
! 10551: test "$inherit_rpath" = yes; then
! 10552: # Fast installation is not supported
! 10553: enable_fast_install=no
! 10554: elif test "$shlibpath_overrides_runpath" = yes ||
! 10555: test "$enable_shared" = no; then
! 10556: # Fast installation is not necessary
! 10557: enable_fast_install=needless
! 10558: fi
! 10559:
! 10560:
! 10561:
! 10562:
! 10563:
! 10564:
! 10565: if test "x$enable_dlopen" != xyes; then
! 10566: enable_dlopen=unknown
! 10567: enable_dlopen_self=unknown
! 10568: enable_dlopen_self_static=unknown
! 10569: else
! 10570: lt_cv_dlopen=no
! 10571: lt_cv_dlopen_libs=
! 10572:
! 10573: case $host_os in
! 10574: beos*)
! 10575: lt_cv_dlopen="load_add_on"
! 10576: lt_cv_dlopen_libs=
! 10577: lt_cv_dlopen_self=yes
! 10578: ;;
! 10579:
! 10580: mingw* | pw32* | cegcc*)
! 10581: lt_cv_dlopen="LoadLibrary"
! 10582: lt_cv_dlopen_libs=
! 10583: ;;
! 10584:
! 10585: cygwin*)
! 10586: lt_cv_dlopen="dlopen"
! 10587: lt_cv_dlopen_libs=
! 10588: ;;
! 10589:
! 10590: darwin*)
! 10591: # if libdl is installed we need to link against it
! 10592: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10593: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 10594: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10595: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10596: else
! 10597: ac_check_lib_save_LIBS=$LIBS
! 10598: LIBS="-ldl $LIBS"
! 10599: cat >conftest.$ac_ext <<_ACEOF
! 10600: /* confdefs.h. */
! 10601: _ACEOF
! 10602: cat confdefs.h >>conftest.$ac_ext
! 10603: cat >>conftest.$ac_ext <<_ACEOF
! 10604: /* end confdefs.h. */
! 10605:
! 10606: /* Override any gcc2 internal prototype to avoid an error. */
! 10607: #ifdef __cplusplus
! 10608: extern "C"
! 10609: #endif
! 10610: /* We use char because int might match the return type of a gcc2
! 10611: builtin and then its argument prototype would still apply. */
! 10612: char dlopen ();
! 10613: int
! 10614: main ()
! 10615: {
! 10616: dlopen ();
! 10617: ;
! 10618: return 0;
! 10619: }
! 10620: _ACEOF
! 10621: rm -f conftest.$ac_objext conftest$ac_exeext
! 10622: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10623: (eval $ac_link) 2>conftest.er1
! 10624: ac_status=$?
! 10625: grep -v '^ *+' conftest.er1 >conftest.err
! 10626: rm -f conftest.er1
! 10627: cat conftest.err >&5
! 10628: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10629: (exit $ac_status); } &&
! 10630: { ac_try='test -z "$ac_c_werror_flag"
! 10631: || test ! -s conftest.err'
! 10632: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10633: (eval $ac_try) 2>&5
! 10634: ac_status=$?
! 10635: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10636: (exit $ac_status); }; } &&
! 10637: { ac_try='test -s conftest$ac_exeext'
! 10638: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10639: (eval $ac_try) 2>&5
! 10640: ac_status=$?
! 10641: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10642: (exit $ac_status); }; }; then
! 10643: ac_cv_lib_dl_dlopen=yes
! 10644: else
! 10645: echo "$as_me: failed program was:" >&5
! 10646: sed 's/^/| /' conftest.$ac_ext >&5
! 10647:
! 10648: ac_cv_lib_dl_dlopen=no
! 10649: fi
! 10650: rm -f conftest.err conftest.$ac_objext \
! 10651: conftest$ac_exeext conftest.$ac_ext
! 10652: LIBS=$ac_check_lib_save_LIBS
! 10653: fi
! 10654: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10655: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 10656: if test $ac_cv_lib_dl_dlopen = yes; then
! 10657: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10658: else
! 10659:
! 10660: lt_cv_dlopen="dyld"
! 10661: lt_cv_dlopen_libs=
! 10662: lt_cv_dlopen_self=yes
! 10663:
! 10664: fi
! 10665:
! 10666: ;;
! 10667:
! 10668: *)
! 10669: echo "$as_me:$LINENO: checking for shl_load" >&5
! 10670: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 10671: if test "${ac_cv_func_shl_load+set}" = set; then
! 10672: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10673: else
! 10674: cat >conftest.$ac_ext <<_ACEOF
! 10675: /* confdefs.h. */
! 10676: _ACEOF
! 10677: cat confdefs.h >>conftest.$ac_ext
! 10678: cat >>conftest.$ac_ext <<_ACEOF
! 10679: /* end confdefs.h. */
! 10680: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 10681: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10682: #define shl_load innocuous_shl_load
! 10683:
! 10684: /* System header to define __stub macros and hopefully few prototypes,
! 10685: which can conflict with char shl_load (); below.
! 10686: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10687: <limits.h> exists even on freestanding compilers. */
! 10688:
! 10689: #ifdef __STDC__
! 10690: # include <limits.h>
! 10691: #else
! 10692: # include <assert.h>
! 10693: #endif
! 10694:
! 10695: #undef shl_load
! 10696:
! 10697: /* Override any gcc2 internal prototype to avoid an error. */
! 10698: #ifdef __cplusplus
! 10699: extern "C"
! 10700: {
! 10701: #endif
! 10702: /* We use char because int might match the return type of a gcc2
! 10703: builtin and then its argument prototype would still apply. */
! 10704: char shl_load ();
! 10705: /* The GNU C library defines this for functions which it implements
! 10706: to always fail with ENOSYS. Some functions are actually named
! 10707: something starting with __ and the normal name is an alias. */
! 10708: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 10709: choke me
! 10710: #else
! 10711: char (*f) () = shl_load;
! 10712: #endif
! 10713: #ifdef __cplusplus
! 10714: }
! 10715: #endif
! 10716:
! 10717: int
! 10718: main ()
! 10719: {
! 10720: return f != shl_load;
! 10721: ;
! 10722: return 0;
! 10723: }
! 10724: _ACEOF
! 10725: rm -f conftest.$ac_objext conftest$ac_exeext
! 10726: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10727: (eval $ac_link) 2>conftest.er1
! 10728: ac_status=$?
! 10729: grep -v '^ *+' conftest.er1 >conftest.err
! 10730: rm -f conftest.er1
! 10731: cat conftest.err >&5
! 10732: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10733: (exit $ac_status); } &&
! 10734: { ac_try='test -z "$ac_c_werror_flag"
! 10735: || test ! -s conftest.err'
! 10736: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10737: (eval $ac_try) 2>&5
! 10738: ac_status=$?
! 10739: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10740: (exit $ac_status); }; } &&
! 10741: { ac_try='test -s conftest$ac_exeext'
! 10742: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10743: (eval $ac_try) 2>&5
! 10744: ac_status=$?
! 10745: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10746: (exit $ac_status); }; }; then
! 10747: ac_cv_func_shl_load=yes
! 10748: else
! 10749: echo "$as_me: failed program was:" >&5
! 10750: sed 's/^/| /' conftest.$ac_ext >&5
! 10751:
! 10752: ac_cv_func_shl_load=no
! 10753: fi
! 10754: rm -f conftest.err conftest.$ac_objext \
! 10755: conftest$ac_exeext conftest.$ac_ext
! 10756: fi
! 10757: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 10758: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 10759: if test $ac_cv_func_shl_load = yes; then
! 10760: lt_cv_dlopen="shl_load"
! 10761: else
! 10762: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 10763: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 10764: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 10765: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10766: else
! 10767: ac_check_lib_save_LIBS=$LIBS
! 10768: LIBS="-ldld $LIBS"
! 10769: cat >conftest.$ac_ext <<_ACEOF
! 10770: /* confdefs.h. */
! 10771: _ACEOF
! 10772: cat confdefs.h >>conftest.$ac_ext
! 10773: cat >>conftest.$ac_ext <<_ACEOF
! 10774: /* end confdefs.h. */
! 10775:
! 10776: /* Override any gcc2 internal prototype to avoid an error. */
! 10777: #ifdef __cplusplus
! 10778: extern "C"
! 10779: #endif
! 10780: /* We use char because int might match the return type of a gcc2
! 10781: builtin and then its argument prototype would still apply. */
! 10782: char shl_load ();
! 10783: int
! 10784: main ()
! 10785: {
! 10786: shl_load ();
! 10787: ;
! 10788: return 0;
! 10789: }
! 10790: _ACEOF
! 10791: rm -f conftest.$ac_objext conftest$ac_exeext
! 10792: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10793: (eval $ac_link) 2>conftest.er1
! 10794: ac_status=$?
! 10795: grep -v '^ *+' conftest.er1 >conftest.err
! 10796: rm -f conftest.er1
! 10797: cat conftest.err >&5
! 10798: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10799: (exit $ac_status); } &&
! 10800: { ac_try='test -z "$ac_c_werror_flag"
! 10801: || test ! -s conftest.err'
! 10802: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10803: (eval $ac_try) 2>&5
! 10804: ac_status=$?
! 10805: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10806: (exit $ac_status); }; } &&
! 10807: { ac_try='test -s conftest$ac_exeext'
! 10808: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10809: (eval $ac_try) 2>&5
! 10810: ac_status=$?
! 10811: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10812: (exit $ac_status); }; }; then
! 10813: ac_cv_lib_dld_shl_load=yes
! 10814: else
! 10815: echo "$as_me: failed program was:" >&5
! 10816: sed 's/^/| /' conftest.$ac_ext >&5
! 10817:
! 10818: ac_cv_lib_dld_shl_load=no
! 10819: fi
! 10820: rm -f conftest.err conftest.$ac_objext \
! 10821: conftest$ac_exeext conftest.$ac_ext
! 10822: LIBS=$ac_check_lib_save_LIBS
! 10823: fi
! 10824: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 10825: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 10826: if test $ac_cv_lib_dld_shl_load = yes; then
! 10827: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 10828: else
! 10829: echo "$as_me:$LINENO: checking for dlopen" >&5
! 10830: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 10831: if test "${ac_cv_func_dlopen+set}" = set; then
! 10832: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10833: else
! 10834: cat >conftest.$ac_ext <<_ACEOF
! 10835: /* confdefs.h. */
! 10836: _ACEOF
! 10837: cat confdefs.h >>conftest.$ac_ext
! 10838: cat >>conftest.$ac_ext <<_ACEOF
! 10839: /* end confdefs.h. */
! 10840: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 10841: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10842: #define dlopen innocuous_dlopen
! 10843:
! 10844: /* System header to define __stub macros and hopefully few prototypes,
! 10845: which can conflict with char dlopen (); below.
! 10846: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10847: <limits.h> exists even on freestanding compilers. */
! 10848:
! 10849: #ifdef __STDC__
! 10850: # include <limits.h>
! 10851: #else
! 10852: # include <assert.h>
! 10853: #endif
! 10854:
! 10855: #undef dlopen
! 10856:
! 10857: /* Override any gcc2 internal prototype to avoid an error. */
! 10858: #ifdef __cplusplus
! 10859: extern "C"
! 10860: {
! 10861: #endif
! 10862: /* We use char because int might match the return type of a gcc2
! 10863: builtin and then its argument prototype would still apply. */
! 10864: char dlopen ();
! 10865: /* The GNU C library defines this for functions which it implements
! 10866: to always fail with ENOSYS. Some functions are actually named
! 10867: something starting with __ and the normal name is an alias. */
! 10868: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 10869: choke me
! 10870: #else
! 10871: char (*f) () = dlopen;
! 10872: #endif
! 10873: #ifdef __cplusplus
! 10874: }
! 10875: #endif
! 10876:
! 10877: int
! 10878: main ()
! 10879: {
! 10880: return f != dlopen;
! 10881: ;
! 10882: return 0;
! 10883: }
! 10884: _ACEOF
! 10885: rm -f conftest.$ac_objext conftest$ac_exeext
! 10886: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10887: (eval $ac_link) 2>conftest.er1
! 10888: ac_status=$?
! 10889: grep -v '^ *+' conftest.er1 >conftest.err
! 10890: rm -f conftest.er1
! 10891: cat conftest.err >&5
! 10892: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10893: (exit $ac_status); } &&
! 10894: { ac_try='test -z "$ac_c_werror_flag"
! 10895: || test ! -s conftest.err'
! 10896: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10897: (eval $ac_try) 2>&5
! 10898: ac_status=$?
! 10899: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10900: (exit $ac_status); }; } &&
! 10901: { ac_try='test -s conftest$ac_exeext'
! 10902: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10903: (eval $ac_try) 2>&5
! 10904: ac_status=$?
! 10905: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10906: (exit $ac_status); }; }; then
! 10907: ac_cv_func_dlopen=yes
! 10908: else
! 10909: echo "$as_me: failed program was:" >&5
! 10910: sed 's/^/| /' conftest.$ac_ext >&5
! 10911:
! 10912: ac_cv_func_dlopen=no
! 10913: fi
! 10914: rm -f conftest.err conftest.$ac_objext \
! 10915: conftest$ac_exeext conftest.$ac_ext
! 10916: fi
! 10917: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 10918: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 10919: if test $ac_cv_func_dlopen = yes; then
! 10920: lt_cv_dlopen="dlopen"
! 10921: else
! 10922: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10923: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 10924: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10925: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10926: else
! 10927: ac_check_lib_save_LIBS=$LIBS
! 10928: LIBS="-ldl $LIBS"
! 10929: cat >conftest.$ac_ext <<_ACEOF
! 10930: /* confdefs.h. */
! 10931: _ACEOF
! 10932: cat confdefs.h >>conftest.$ac_ext
! 10933: cat >>conftest.$ac_ext <<_ACEOF
! 10934: /* end confdefs.h. */
! 10935:
! 10936: /* Override any gcc2 internal prototype to avoid an error. */
! 10937: #ifdef __cplusplus
! 10938: extern "C"
! 10939: #endif
! 10940: /* We use char because int might match the return type of a gcc2
! 10941: builtin and then its argument prototype would still apply. */
! 10942: char dlopen ();
! 10943: int
! 10944: main ()
! 10945: {
! 10946: dlopen ();
! 10947: ;
! 10948: return 0;
! 10949: }
! 10950: _ACEOF
! 10951: rm -f conftest.$ac_objext conftest$ac_exeext
! 10952: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10953: (eval $ac_link) 2>conftest.er1
! 10954: ac_status=$?
! 10955: grep -v '^ *+' conftest.er1 >conftest.err
! 10956: rm -f conftest.er1
! 10957: cat conftest.err >&5
! 10958: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10959: (exit $ac_status); } &&
! 10960: { ac_try='test -z "$ac_c_werror_flag"
! 10961: || test ! -s conftest.err'
! 10962: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10963: (eval $ac_try) 2>&5
! 10964: ac_status=$?
! 10965: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10966: (exit $ac_status); }; } &&
! 10967: { ac_try='test -s conftest$ac_exeext'
! 10968: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10969: (eval $ac_try) 2>&5
! 10970: ac_status=$?
! 10971: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10972: (exit $ac_status); }; }; then
! 10973: ac_cv_lib_dl_dlopen=yes
! 10974: else
! 10975: echo "$as_me: failed program was:" >&5
! 10976: sed 's/^/| /' conftest.$ac_ext >&5
! 10977:
! 10978: ac_cv_lib_dl_dlopen=no
! 10979: fi
! 10980: rm -f conftest.err conftest.$ac_objext \
! 10981: conftest$ac_exeext conftest.$ac_ext
! 10982: LIBS=$ac_check_lib_save_LIBS
! 10983: fi
! 10984: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10985: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 10986: if test $ac_cv_lib_dl_dlopen = yes; then
! 10987: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10988: else
! 10989: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 10990: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 10991: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 10992: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10993: else
! 10994: ac_check_lib_save_LIBS=$LIBS
! 10995: LIBS="-lsvld $LIBS"
! 10996: cat >conftest.$ac_ext <<_ACEOF
! 10997: /* confdefs.h. */
! 10998: _ACEOF
! 10999: cat confdefs.h >>conftest.$ac_ext
! 11000: cat >>conftest.$ac_ext <<_ACEOF
! 11001: /* end confdefs.h. */
! 11002:
! 11003: /* Override any gcc2 internal prototype to avoid an error. */
! 11004: #ifdef __cplusplus
! 11005: extern "C"
! 11006: #endif
! 11007: /* We use char because int might match the return type of a gcc2
! 11008: builtin and then its argument prototype would still apply. */
! 11009: char dlopen ();
! 11010: int
! 11011: main ()
! 11012: {
! 11013: dlopen ();
! 11014: ;
! 11015: return 0;
! 11016: }
! 11017: _ACEOF
! 11018: rm -f conftest.$ac_objext conftest$ac_exeext
! 11019: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11020: (eval $ac_link) 2>conftest.er1
! 11021: ac_status=$?
! 11022: grep -v '^ *+' conftest.er1 >conftest.err
! 11023: rm -f conftest.er1
! 11024: cat conftest.err >&5
! 11025: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11026: (exit $ac_status); } &&
! 11027: { ac_try='test -z "$ac_c_werror_flag"
! 11028: || test ! -s conftest.err'
! 11029: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11030: (eval $ac_try) 2>&5
! 11031: ac_status=$?
! 11032: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11033: (exit $ac_status); }; } &&
! 11034: { ac_try='test -s conftest$ac_exeext'
! 11035: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11036: (eval $ac_try) 2>&5
! 11037: ac_status=$?
! 11038: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11039: (exit $ac_status); }; }; then
! 11040: ac_cv_lib_svld_dlopen=yes
! 11041: else
! 11042: echo "$as_me: failed program was:" >&5
! 11043: sed 's/^/| /' conftest.$ac_ext >&5
! 11044:
! 11045: ac_cv_lib_svld_dlopen=no
! 11046: fi
! 11047: rm -f conftest.err conftest.$ac_objext \
! 11048: conftest$ac_exeext conftest.$ac_ext
! 11049: LIBS=$ac_check_lib_save_LIBS
! 11050: fi
! 11051: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 11052: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 11053: if test $ac_cv_lib_svld_dlopen = yes; then
! 11054: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 11055: else
! 11056: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 11057: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 11058: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 11059: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11060: else
! 11061: ac_check_lib_save_LIBS=$LIBS
! 11062: LIBS="-ldld $LIBS"
! 11063: cat >conftest.$ac_ext <<_ACEOF
! 11064: /* confdefs.h. */
! 11065: _ACEOF
! 11066: cat confdefs.h >>conftest.$ac_ext
! 11067: cat >>conftest.$ac_ext <<_ACEOF
! 11068: /* end confdefs.h. */
! 11069:
! 11070: /* Override any gcc2 internal prototype to avoid an error. */
! 11071: #ifdef __cplusplus
! 11072: extern "C"
! 11073: #endif
! 11074: /* We use char because int might match the return type of a gcc2
! 11075: builtin and then its argument prototype would still apply. */
! 11076: char dld_link ();
! 11077: int
! 11078: main ()
! 11079: {
! 11080: dld_link ();
! 11081: ;
! 11082: return 0;
! 11083: }
! 11084: _ACEOF
! 11085: rm -f conftest.$ac_objext conftest$ac_exeext
! 11086: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11087: (eval $ac_link) 2>conftest.er1
! 11088: ac_status=$?
! 11089: grep -v '^ *+' conftest.er1 >conftest.err
! 11090: rm -f conftest.er1
! 11091: cat conftest.err >&5
! 11092: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11093: (exit $ac_status); } &&
! 11094: { ac_try='test -z "$ac_c_werror_flag"
! 11095: || test ! -s conftest.err'
! 11096: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11097: (eval $ac_try) 2>&5
! 11098: ac_status=$?
! 11099: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11100: (exit $ac_status); }; } &&
! 11101: { ac_try='test -s conftest$ac_exeext'
! 11102: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11103: (eval $ac_try) 2>&5
! 11104: ac_status=$?
! 11105: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11106: (exit $ac_status); }; }; then
! 11107: ac_cv_lib_dld_dld_link=yes
! 11108: else
! 11109: echo "$as_me: failed program was:" >&5
! 11110: sed 's/^/| /' conftest.$ac_ext >&5
! 11111:
! 11112: ac_cv_lib_dld_dld_link=no
! 11113: fi
! 11114: rm -f conftest.err conftest.$ac_objext \
! 11115: conftest$ac_exeext conftest.$ac_ext
! 11116: LIBS=$ac_check_lib_save_LIBS
! 11117: fi
! 11118: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 11119: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 11120: if test $ac_cv_lib_dld_dld_link = yes; then
! 11121: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 11122: fi
! 11123:
! 11124:
! 11125: fi
! 11126:
! 11127:
! 11128: fi
! 11129:
! 11130:
! 11131: fi
! 11132:
! 11133:
! 11134: fi
! 11135:
! 11136:
! 11137: fi
! 11138:
! 11139: ;;
! 11140: esac
! 11141:
! 11142: if test "x$lt_cv_dlopen" != xno; then
! 11143: enable_dlopen=yes
! 11144: else
! 11145: enable_dlopen=no
! 11146: fi
! 11147:
! 11148: case $lt_cv_dlopen in
! 11149: dlopen)
! 11150: save_CPPFLAGS="$CPPFLAGS"
! 11151: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 11152:
! 11153: save_LDFLAGS="$LDFLAGS"
! 11154: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 11155:
! 11156: save_LIBS="$LIBS"
! 11157: LIBS="$lt_cv_dlopen_libs $LIBS"
! 11158:
! 11159: echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 11160: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! 11161: if test "${lt_cv_dlopen_self+set}" = set; then
! 11162: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11163: else
! 11164: if test "$cross_compiling" = yes; then :
! 11165: lt_cv_dlopen_self=cross
! 11166: else
! 11167: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11168: lt_status=$lt_dlunknown
! 11169: cat > conftest.$ac_ext <<_LT_EOF
! 11170: #line $LINENO "configure"
! 11171: #include "confdefs.h"
! 11172:
! 11173: #if HAVE_DLFCN_H
! 11174: #include <dlfcn.h>
! 11175: #endif
! 11176:
! 11177: #include <stdio.h>
! 11178:
! 11179: #ifdef RTLD_GLOBAL
! 11180: # define LT_DLGLOBAL RTLD_GLOBAL
! 11181: #else
! 11182: # ifdef DL_GLOBAL
! 11183: # define LT_DLGLOBAL DL_GLOBAL
! 11184: # else
! 11185: # define LT_DLGLOBAL 0
! 11186: # endif
! 11187: #endif
! 11188:
! 11189: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11190: find out it does not work in some platform. */
! 11191: #ifndef LT_DLLAZY_OR_NOW
! 11192: # ifdef RTLD_LAZY
! 11193: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11194: # else
! 11195: # ifdef DL_LAZY
! 11196: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11197: # else
! 11198: # ifdef RTLD_NOW
! 11199: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11200: # else
! 11201: # ifdef DL_NOW
! 11202: # define LT_DLLAZY_OR_NOW DL_NOW
! 11203: # else
! 11204: # define LT_DLLAZY_OR_NOW 0
! 11205: # endif
! 11206: # endif
! 11207: # endif
! 11208: # endif
! 11209: #endif
! 11210:
! 11211: /* When -fvisbility=hidden is used, assume the code has been annotated
! 11212: correspondingly for the symbols needed. */
! 11213: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11214: int fnord () __attribute__((visibility("default")));
! 11215: #endif
! 11216:
! 11217: int fnord () { return 42; }
! 11218: int main ()
! 11219: {
! 11220: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11221: int status = $lt_dlunknown;
! 11222:
! 11223: if (self)
! 11224: {
! 11225: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11226: else
! 11227: {
! 11228: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11229: else puts (dlerror ());
! 11230: }
! 11231: /* dlclose (self); */
! 11232: }
! 11233: else
! 11234: puts (dlerror ());
! 11235:
! 11236: return status;
! 11237: }
! 11238: _LT_EOF
! 11239: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11240: (eval $ac_link) 2>&5
! 11241: ac_status=$?
! 11242: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11243: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 11244: (./conftest; exit; ) >&5 2>/dev/null
! 11245: lt_status=$?
! 11246: case x$lt_status in
! 11247: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 11248: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 11249: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 11250: esac
! 11251: else :
! 11252: # compilation failed
! 11253: lt_cv_dlopen_self=no
! 11254: fi
! 11255: fi
! 11256: rm -fr conftest*
! 11257:
! 11258:
! 11259: fi
! 11260: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 11261: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
! 11262:
! 11263: if test "x$lt_cv_dlopen_self" = xyes; then
! 11264: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 11265: echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 11266: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
! 11267: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 11268: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11269: else
! 11270: if test "$cross_compiling" = yes; then :
! 11271: lt_cv_dlopen_self_static=cross
! 11272: else
! 11273: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11274: lt_status=$lt_dlunknown
! 11275: cat > conftest.$ac_ext <<_LT_EOF
! 11276: #line $LINENO "configure"
! 11277: #include "confdefs.h"
! 11278:
! 11279: #if HAVE_DLFCN_H
! 11280: #include <dlfcn.h>
! 11281: #endif
! 11282:
! 11283: #include <stdio.h>
! 11284:
! 11285: #ifdef RTLD_GLOBAL
! 11286: # define LT_DLGLOBAL RTLD_GLOBAL
! 11287: #else
! 11288: # ifdef DL_GLOBAL
! 11289: # define LT_DLGLOBAL DL_GLOBAL
! 11290: # else
! 11291: # define LT_DLGLOBAL 0
! 11292: # endif
! 11293: #endif
! 11294:
! 11295: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11296: find out it does not work in some platform. */
! 11297: #ifndef LT_DLLAZY_OR_NOW
! 11298: # ifdef RTLD_LAZY
! 11299: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11300: # else
! 11301: # ifdef DL_LAZY
! 11302: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11303: # else
! 11304: # ifdef RTLD_NOW
! 11305: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11306: # else
! 11307: # ifdef DL_NOW
! 11308: # define LT_DLLAZY_OR_NOW DL_NOW
! 11309: # else
! 11310: # define LT_DLLAZY_OR_NOW 0
! 11311: # endif
! 11312: # endif
! 11313: # endif
! 11314: # endif
! 11315: #endif
! 11316:
! 11317: /* When -fvisbility=hidden is used, assume the code has been annotated
! 11318: correspondingly for the symbols needed. */
! 11319: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11320: int fnord () __attribute__((visibility("default")));
! 11321: #endif
! 11322:
! 11323: int fnord () { return 42; }
! 11324: int main ()
! 11325: {
! 11326: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11327: int status = $lt_dlunknown;
! 11328:
! 11329: if (self)
! 11330: {
! 11331: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11332: else
! 11333: {
! 11334: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11335: else puts (dlerror ());
! 11336: }
! 11337: /* dlclose (self); */
! 11338: }
! 11339: else
! 11340: puts (dlerror ());
! 11341:
! 11342: return status;
! 11343: }
! 11344: _LT_EOF
! 11345: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11346: (eval $ac_link) 2>&5
! 11347: ac_status=$?
! 11348: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11349: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 11350: (./conftest; exit; ) >&5 2>/dev/null
! 11351: lt_status=$?
! 11352: case x$lt_status in
! 11353: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 11354: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 11355: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 11356: esac
! 11357: else :
! 11358: # compilation failed
! 11359: lt_cv_dlopen_self_static=no
! 11360: fi
! 11361: fi
! 11362: rm -fr conftest*
! 11363:
! 11364:
! 11365: fi
! 11366: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 11367: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
! 11368: fi
! 11369:
! 11370: CPPFLAGS="$save_CPPFLAGS"
! 11371: LDFLAGS="$save_LDFLAGS"
! 11372: LIBS="$save_LIBS"
! 11373: ;;
! 11374: esac
! 11375:
! 11376: case $lt_cv_dlopen_self in
! 11377: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 11378: *) enable_dlopen_self=unknown ;;
! 11379: esac
! 11380:
! 11381: case $lt_cv_dlopen_self_static in
! 11382: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 11383: *) enable_dlopen_self_static=unknown ;;
! 11384: esac
! 11385: fi
! 11386:
! 11387:
! 11388:
! 11389:
! 11390:
! 11391:
! 11392:
! 11393:
! 11394:
! 11395:
! 11396:
! 11397:
! 11398:
! 11399:
! 11400:
! 11401:
! 11402:
! 11403: striplib=
! 11404: old_striplib=
! 11405: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 11406: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
! 11407: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 11408: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 11409: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 11410: echo "$as_me:$LINENO: result: yes" >&5
! 11411: echo "${ECHO_T}yes" >&6
! 11412: else
! 11413: # FIXME - insert some real tests, host_os isn't really good enough
! 11414: case $host_os in
! 11415: darwin*)
! 11416: if test -n "$STRIP" ; then
! 11417: striplib="$STRIP -x"
! 11418: old_striplib="$STRIP -S"
! 11419: echo "$as_me:$LINENO: result: yes" >&5
! 11420: echo "${ECHO_T}yes" >&6
! 11421: else
! 11422: echo "$as_me:$LINENO: result: no" >&5
! 11423: echo "${ECHO_T}no" >&6
! 11424: fi
! 11425: ;;
! 11426: *)
! 11427: echo "$as_me:$LINENO: result: no" >&5
! 11428: echo "${ECHO_T}no" >&6
! 11429: ;;
! 11430: esac
! 11431: fi
! 11432:
! 11433:
! 11434:
! 11435:
! 11436:
! 11437:
! 11438:
! 11439:
! 11440:
! 11441:
! 11442:
! 11443:
! 11444: # Report which library types will actually be built
! 11445: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 11446: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 11447: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 11448: echo "${ECHO_T}$can_build_shared" >&6
! 11449:
! 11450: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 11451: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 11452: test "$can_build_shared" = "no" && enable_shared=no
! 11453:
! 11454: # On AIX, shared libraries and static libraries use the same namespace, and
! 11455: # are all built from PIC.
! 11456: case $host_os in
! 11457: aix3*)
! 11458: test "$enable_shared" = yes && enable_static=no
! 11459: if test -n "$RANLIB"; then
! 11460: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 11461: postinstall_cmds='$RANLIB $lib'
! 11462: fi
! 11463: ;;
! 11464:
! 11465: aix[4-9]*)
! 11466: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 11467: test "$enable_shared" = yes && enable_static=no
! 11468: fi
! 11469: ;;
! 11470: esac
! 11471: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 11472: echo "${ECHO_T}$enable_shared" >&6
! 11473:
! 11474: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 11475: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 11476: # Make sure either enable_shared or enable_static is yes.
! 11477: test "$enable_shared" = yes || enable_static=yes
! 11478: echo "$as_me:$LINENO: result: $enable_static" >&5
! 11479: echo "${ECHO_T}$enable_static" >&6
! 11480:
! 11481:
! 11482:
! 11483:
! 11484: fi
! 11485: ac_ext=c
! 11486: ac_cpp='$CPP $CPPFLAGS'
! 11487: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11488: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11489: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11490:
! 11491: CC="$lt_save_CC"
! 11492:
! 11493: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 11494: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 11495: (test "X$CXX" != "Xg++"))) ; then
! 11496: ac_ext=cc
! 11497: ac_cpp='$CXXCPP $CPPFLAGS'
! 11498: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11499: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11500: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 11501: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
! 11502: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
! 11503: if test -z "$CXXCPP"; then
! 11504: if test "${ac_cv_prog_CXXCPP+set}" = set; then
! 11505: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11506: else
! 11507: # Double quotes because CXXCPP needs to be expanded
! 11508: for CXXCPP in "$CXX -E" "/lib/cpp"
! 11509: do
! 11510: ac_preproc_ok=false
! 11511: for ac_cxx_preproc_warn_flag in '' yes
! 11512: do
! 11513: # Use a header file that comes with gcc, so configuring glibc
! 11514: # with a fresh cross-compiler works.
! 11515: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11516: # <limits.h> exists even on freestanding compilers.
! 11517: # On the NeXT, cc -E runs the code through the compiler's parser,
! 11518: # not just through cpp. "Syntax error" is here to catch this case.
! 11519: cat >conftest.$ac_ext <<_ACEOF
! 11520: /* confdefs.h. */
! 11521: _ACEOF
! 11522: cat confdefs.h >>conftest.$ac_ext
! 11523: cat >>conftest.$ac_ext <<_ACEOF
! 11524: /* end confdefs.h. */
! 11525: #ifdef __STDC__
! 11526: # include <limits.h>
! 11527: #else
! 11528: # include <assert.h>
! 11529: #endif
! 11530: Syntax error
! 11531: _ACEOF
! 11532: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11533: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11534: ac_status=$?
! 11535: grep -v '^ *+' conftest.er1 >conftest.err
! 11536: rm -f conftest.er1
! 11537: cat conftest.err >&5
! 11538: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11539: (exit $ac_status); } >/dev/null; then
! 11540: if test -s conftest.err; then
! 11541: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11542: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11543: else
! 11544: ac_cpp_err=
! 11545: fi
! 11546: else
! 11547: ac_cpp_err=yes
! 11548: fi
! 11549: if test -z "$ac_cpp_err"; then
! 11550: :
! 11551: else
! 11552: echo "$as_me: failed program was:" >&5
! 11553: sed 's/^/| /' conftest.$ac_ext >&5
! 11554:
! 11555: # Broken: fails on valid input.
! 11556: continue
! 11557: fi
! 11558: rm -f conftest.err conftest.$ac_ext
! 11559:
! 11560: # OK, works on sane cases. Now check whether non-existent headers
! 11561: # can be detected and how.
! 11562: cat >conftest.$ac_ext <<_ACEOF
! 11563: /* confdefs.h. */
! 11564: _ACEOF
! 11565: cat confdefs.h >>conftest.$ac_ext
! 11566: cat >>conftest.$ac_ext <<_ACEOF
! 11567: /* end confdefs.h. */
! 11568: #include <ac_nonexistent.h>
! 11569: _ACEOF
! 11570: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11571: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11572: ac_status=$?
! 11573: grep -v '^ *+' conftest.er1 >conftest.err
! 11574: rm -f conftest.er1
! 11575: cat conftest.err >&5
! 11576: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11577: (exit $ac_status); } >/dev/null; then
! 11578: if test -s conftest.err; then
! 11579: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11580: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11581: else
! 11582: ac_cpp_err=
! 11583: fi
! 11584: else
! 11585: ac_cpp_err=yes
! 11586: fi
! 11587: if test -z "$ac_cpp_err"; then
! 11588: # Broken: success on invalid input.
! 11589: continue
! 11590: else
! 11591: echo "$as_me: failed program was:" >&5
! 11592: sed 's/^/| /' conftest.$ac_ext >&5
! 11593:
! 11594: # Passes both tests.
! 11595: ac_preproc_ok=:
! 11596: break
! 11597: fi
! 11598: rm -f conftest.err conftest.$ac_ext
! 11599:
! 11600: done
! 11601: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 11602: rm -f conftest.err conftest.$ac_ext
! 11603: if $ac_preproc_ok; then
! 11604: break
! 11605: fi
! 11606:
! 11607: done
! 11608: ac_cv_prog_CXXCPP=$CXXCPP
! 11609:
! 11610: fi
! 11611: CXXCPP=$ac_cv_prog_CXXCPP
! 11612: else
! 11613: ac_cv_prog_CXXCPP=$CXXCPP
! 11614: fi
! 11615: echo "$as_me:$LINENO: result: $CXXCPP" >&5
! 11616: echo "${ECHO_T}$CXXCPP" >&6
! 11617: ac_preproc_ok=false
! 11618: for ac_cxx_preproc_warn_flag in '' yes
! 11619: do
! 11620: # Use a header file that comes with gcc, so configuring glibc
! 11621: # with a fresh cross-compiler works.
! 11622: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11623: # <limits.h> exists even on freestanding compilers.
! 11624: # On the NeXT, cc -E runs the code through the compiler's parser,
! 11625: # not just through cpp. "Syntax error" is here to catch this case.
! 11626: cat >conftest.$ac_ext <<_ACEOF
! 11627: /* confdefs.h. */
! 11628: _ACEOF
! 11629: cat confdefs.h >>conftest.$ac_ext
! 11630: cat >>conftest.$ac_ext <<_ACEOF
! 11631: /* end confdefs.h. */
! 11632: #ifdef __STDC__
! 11633: # include <limits.h>
! 11634: #else
! 11635: # include <assert.h>
! 11636: #endif
! 11637: Syntax error
! 11638: _ACEOF
! 11639: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11640: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11641: ac_status=$?
! 11642: grep -v '^ *+' conftest.er1 >conftest.err
! 11643: rm -f conftest.er1
! 11644: cat conftest.err >&5
! 11645: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11646: (exit $ac_status); } >/dev/null; then
! 11647: if test -s conftest.err; then
! 11648: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11649: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11650: else
! 11651: ac_cpp_err=
! 11652: fi
! 11653: else
! 11654: ac_cpp_err=yes
! 11655: fi
! 11656: if test -z "$ac_cpp_err"; then
! 11657: :
! 11658: else
! 11659: echo "$as_me: failed program was:" >&5
! 11660: sed 's/^/| /' conftest.$ac_ext >&5
! 11661:
! 11662: # Broken: fails on valid input.
! 11663: continue
! 11664: fi
! 11665: rm -f conftest.err conftest.$ac_ext
! 11666:
! 11667: # OK, works on sane cases. Now check whether non-existent headers
! 11668: # can be detected and how.
! 11669: cat >conftest.$ac_ext <<_ACEOF
! 11670: /* confdefs.h. */
! 11671: _ACEOF
! 11672: cat confdefs.h >>conftest.$ac_ext
! 11673: cat >>conftest.$ac_ext <<_ACEOF
! 11674: /* end confdefs.h. */
! 11675: #include <ac_nonexistent.h>
! 11676: _ACEOF
! 11677: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11678: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11679: ac_status=$?
! 11680: grep -v '^ *+' conftest.er1 >conftest.err
! 11681: rm -f conftest.er1
! 11682: cat conftest.err >&5
! 11683: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11684: (exit $ac_status); } >/dev/null; then
! 11685: if test -s conftest.err; then
! 11686: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11687: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11688: else
! 11689: ac_cpp_err=
! 11690: fi
! 11691: else
! 11692: ac_cpp_err=yes
! 11693: fi
! 11694: if test -z "$ac_cpp_err"; then
! 11695: # Broken: success on invalid input.
! 11696: continue
! 11697: else
! 11698: echo "$as_me: failed program was:" >&5
! 11699: sed 's/^/| /' conftest.$ac_ext >&5
! 11700:
! 11701: # Passes both tests.
! 11702: ac_preproc_ok=:
! 11703: break
! 11704: fi
! 11705: rm -f conftest.err conftest.$ac_ext
! 11706:
! 11707: done
! 11708: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 11709: rm -f conftest.err conftest.$ac_ext
! 11710: if $ac_preproc_ok; then
! 11711: :
! 11712: else
! 11713: { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 11714: See \`config.log' for more details." >&5
! 11715: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 11716: See \`config.log' for more details." >&2;}
! 11717: { (exit 1); exit 1; }; }
! 11718: fi
! 11719:
! 11720: ac_ext=c
! 11721: ac_cpp='$CPP $CPPFLAGS'
! 11722: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11723: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11724: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11725:
! 11726: else
! 11727: _lt_caught_CXX_error=yes
! 11728: fi
! 11729:
! 11730: ac_ext=cc
! 11731: ac_cpp='$CXXCPP $CPPFLAGS'
! 11732: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11733: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11734: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 11735:
! 11736: archive_cmds_need_lc_CXX=no
! 11737: allow_undefined_flag_CXX=
! 11738: always_export_symbols_CXX=no
! 11739: archive_expsym_cmds_CXX=
! 11740: compiler_needs_object_CXX=no
! 11741: export_dynamic_flag_spec_CXX=
! 11742: hardcode_direct_CXX=no
! 11743: hardcode_direct_absolute_CXX=no
! 11744: hardcode_libdir_flag_spec_CXX=
! 11745: hardcode_libdir_separator_CXX=
! 11746: hardcode_minus_L_CXX=no
! 11747: hardcode_shlibpath_var_CXX=unsupported
! 11748: hardcode_automatic_CXX=no
! 11749: inherit_rpath_CXX=no
! 11750: module_cmds_CXX=
! 11751: module_expsym_cmds_CXX=
! 11752: link_all_deplibs_CXX=unknown
! 11753: old_archive_cmds_CXX=$old_archive_cmds
! 11754: reload_flag_CXX=$reload_flag
! 11755: reload_cmds_CXX=$reload_cmds
! 11756: no_undefined_flag_CXX=
! 11757: whole_archive_flag_spec_CXX=
! 11758: enable_shared_with_static_runtimes_CXX=no
! 11759:
! 11760: # Source file extension for C++ test sources.
! 11761: ac_ext=cpp
! 11762:
! 11763: # Object file extension for compiled C++ test sources.
! 11764: objext=o
! 11765: objext_CXX=$objext
! 11766:
! 11767: # No sense in running all these tests if we already determined that
! 11768: # the CXX compiler isn't working. Some variables (like enable_shared)
! 11769: # are currently assumed to apply to all compilers on this platform,
! 11770: # and will be corrupted by setting them based on a non-working compiler.
! 11771: if test "$_lt_caught_CXX_error" != yes; then
! 11772: # Code to be used in simple compile tests
! 11773: lt_simple_compile_test_code="int some_variable = 0;"
! 11774:
! 11775: # Code to be used in simple link tests
! 11776: lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
! 11777:
! 11778: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 11779:
! 11780:
! 11781:
! 11782:
! 11783:
! 11784:
! 11785: # If no C compiler was specified, use CC.
! 11786: LTCC=${LTCC-"$CC"}
! 11787:
! 11788: # If no C compiler flags were specified, use CFLAGS.
! 11789: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 11790:
! 11791: # Allow CC to be a program name with arguments.
! 11792: compiler=$CC
! 11793:
! 11794:
! 11795: # save warnings/boilerplate of simple test code
! 11796: ac_outfile=conftest.$ac_objext
! 11797: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 11798: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 11799: _lt_compiler_boilerplate=`cat conftest.err`
! 11800: $RM conftest*
! 11801:
! 11802: ac_outfile=conftest.$ac_objext
! 11803: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 11804: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 11805: _lt_linker_boilerplate=`cat conftest.err`
! 11806: $RM -r conftest*
! 11807:
! 11808:
! 11809: # Allow CC to be a program name with arguments.
! 11810: lt_save_CC=$CC
! 11811: lt_save_CFLAGS=$CFLAGS
! 11812: lt_save_LD=$LD
! 11813: lt_save_GCC=$GCC
! 11814: GCC=$GXX
! 11815: lt_save_with_gnu_ld=$with_gnu_ld
! 11816: lt_save_path_LD=$lt_cv_path_LD
! 11817: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
! 11818: lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
! 11819: else
! 11820: $as_unset lt_cv_prog_gnu_ld
! 11821: fi
! 11822: if test -n "${lt_cv_path_LDCXX+set}"; then
! 11823: lt_cv_path_LD=$lt_cv_path_LDCXX
! 11824: else
! 11825: $as_unset lt_cv_path_LD
! 11826: fi
! 11827: test -z "${LDCXX+set}" || LD=$LDCXX
! 11828: CC=${CXX-"c++"}
! 11829: CFLAGS=$CXXFLAGS
! 11830: compiler=$CC
! 11831: compiler_CXX=$CC
! 11832: for cc_temp in $compiler""; do
! 11833: case $cc_temp in
! 11834: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 11835: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 11836: \-*) ;;
! 11837: *) break;;
! 11838: esac
! 11839: done
! 11840: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
! 11841:
! 11842:
! 11843: if test -n "$compiler"; then
! 11844: # We don't want -fno-exception when compiling C++ code, so set the
! 11845: # no_builtin_flag separately
! 11846: if test "$GXX" = yes; then
! 11847: lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
! 11848: else
! 11849: lt_prog_compiler_no_builtin_flag_CXX=
! 11850: fi
! 11851:
! 11852: if test "$GXX" = yes; then
! 11853: # Set up default GNU C++ configuration
! 11854:
! 11855:
! 11856:
! 11857: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 11858: if test "${with_gnu_ld+set}" = set; then
! 11859: withval="$with_gnu_ld"
! 11860: test "$withval" = no || with_gnu_ld=yes
! 11861: else
! 11862: with_gnu_ld=no
! 11863: fi;
! 11864: ac_prog=ld
! 11865: if test "$GCC" = yes; then
! 11866: # Check if gcc -print-prog-name=ld gives a path.
! 11867: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 11868: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
! 11869: case $host in
! 11870: *-*-mingw*)
! 11871: # gcc leaves a trailing carriage return which upsets mingw
! 11872: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 11873: *)
! 11874: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 11875: esac
! 11876: case $ac_prog in
! 11877: # Accept absolute paths.
! 11878: [\\/]* | ?:[\\/]*)
! 11879: re_direlt='/[^/][^/]*/\.\./'
! 11880: # Canonicalize the pathname of ld
! 11881: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 11882: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 11883: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 11884: done
! 11885: test -z "$LD" && LD="$ac_prog"
! 11886: ;;
! 11887: "")
! 11888: # If it fails, then pretend we aren't using GCC.
! 11889: ac_prog=ld
! 11890: ;;
! 11891: *)
! 11892: # If it is relative, then search for the first ld in PATH.
! 11893: with_gnu_ld=unknown
! 11894: ;;
! 11895: esac
! 11896: elif test "$with_gnu_ld" = yes; then
! 11897: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 11898: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 11899: else
! 11900: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 11901: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 11902: fi
! 11903: if test "${lt_cv_path_LD+set}" = set; then
! 11904: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11905: else
! 11906: if test -z "$LD"; then
! 11907: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 11908: for ac_dir in $PATH; do
! 11909: IFS="$lt_save_ifs"
! 11910: test -z "$ac_dir" && ac_dir=.
! 11911: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 11912: lt_cv_path_LD="$ac_dir/$ac_prog"
! 11913: # Check to see if the program is GNU ld. I'd rather use --version,
! 11914: # but apparently some variants of GNU ld only accept -v.
! 11915: # Break only if it was the GNU/non-GNU ld that we prefer.
! 11916: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 11917: *GNU* | *'with BFD'*)
! 11918: test "$with_gnu_ld" != no && break
! 11919: ;;
! 11920: *)
! 11921: test "$with_gnu_ld" != yes && break
! 11922: ;;
! 11923: esac
! 11924: fi
! 11925: done
! 11926: IFS="$lt_save_ifs"
! 11927: else
! 11928: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 11929: fi
! 11930: fi
! 11931:
! 11932: LD="$lt_cv_path_LD"
! 11933: if test -n "$LD"; then
! 11934: echo "$as_me:$LINENO: result: $LD" >&5
! 11935: echo "${ECHO_T}$LD" >&6
! 11936: else
! 11937: echo "$as_me:$LINENO: result: no" >&5
! 11938: echo "${ECHO_T}no" >&6
! 11939: fi
! 11940: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 11941: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 11942: { (exit 1); exit 1; }; }
! 11943: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 11944: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 11945: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 11946: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11947: else
! 11948: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 11949: case `$LD -v 2>&1 </dev/null` in
! 11950: *GNU* | *'with BFD'*)
! 11951: lt_cv_prog_gnu_ld=yes
! 11952: ;;
! 11953: *)
! 11954: lt_cv_prog_gnu_ld=no
! 11955: ;;
! 11956: esac
! 11957: fi
! 11958: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 11959: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 11960: with_gnu_ld=$lt_cv_prog_gnu_ld
! 11961:
! 11962:
! 11963:
! 11964:
! 11965:
! 11966:
! 11967:
! 11968: # Check if GNU C++ uses GNU ld as the underlying linker, since the
! 11969: # archiving commands below assume that GNU ld is being used.
! 11970: if test "$with_gnu_ld" = yes; then
! 11971: archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 11972: archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 11973:
! 11974: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 11975: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 11976:
! 11977: # If archive_cmds runs LD, not CC, wlarc should be empty
! 11978: # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
! 11979: # investigate it a little bit more. (MM)
! 11980: wlarc='${wl}'
! 11981:
! 11982: # ancient GNU ld didn't support --whole-archive et. al.
! 11983: if eval "`$CC -print-prog-name=ld` --help 2>&1" |
! 11984: $GREP 'no-whole-archive' > /dev/null; then
! 11985: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 11986: else
! 11987: whole_archive_flag_spec_CXX=
! 11988: fi
! 11989: else
! 11990: with_gnu_ld=no
! 11991: wlarc=
! 11992:
! 11993: # A generic and very simple default shared library creation
! 11994: # command for GNU C++ for the case where it uses the native
! 11995: # linker, instead of GNU ld. If possible, this setting should
! 11996: # overridden to take advantage of the native linker features on
! 11997: # the platform it is being used on.
! 11998: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 11999: fi
! 12000:
! 12001: # Commands to make compiler produce verbose output that lists
! 12002: # what "hidden" libraries, object files and flags are used when
! 12003: # linking a shared library.
! 12004: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 12005:
! 12006: else
! 12007: GXX=no
! 12008: with_gnu_ld=no
! 12009: wlarc=
! 12010: fi
! 12011:
! 12012: # PORTME: fill in a description of your system's C++ link characteristics
! 12013: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 12014: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 12015: ld_shlibs_CXX=yes
! 12016: case $host_os in
! 12017: aix3*)
! 12018: # FIXME: insert proper C++ library support
! 12019: ld_shlibs_CXX=no
! 12020: ;;
! 12021: aix[4-9]*)
! 12022: if test "$host_cpu" = ia64; then
! 12023: # On IA64, the linker does run time linking by default, so we don't
! 12024: # have to do anything special.
! 12025: aix_use_runtimelinking=no
! 12026: exp_sym_flag='-Bexport'
! 12027: no_entry_flag=""
! 12028: else
! 12029: aix_use_runtimelinking=no
! 12030:
! 12031: # Test if we are trying to use run time linking or normal
! 12032: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 12033: # need to do runtime linking.
! 12034: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 12035: for ld_flag in $LDFLAGS; do
! 12036: case $ld_flag in
! 12037: *-brtl*)
! 12038: aix_use_runtimelinking=yes
! 12039: break
! 12040: ;;
! 12041: esac
! 12042: done
! 12043: ;;
! 12044: esac
! 12045:
! 12046: exp_sym_flag='-bexport'
! 12047: no_entry_flag='-bnoentry'
! 12048: fi
! 12049:
! 12050: # When large executables or shared objects are built, AIX ld can
! 12051: # have problems creating the table of contents. If linking a library
! 12052: # or program results in "error TOC overflow" add -mminimal-toc to
! 12053: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 12054: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 12055:
! 12056: archive_cmds_CXX=''
! 12057: hardcode_direct_CXX=yes
! 12058: hardcode_direct_absolute_CXX=yes
! 12059: hardcode_libdir_separator_CXX=':'
! 12060: link_all_deplibs_CXX=yes
! 12061: file_list_spec_CXX='${wl}-f,'
! 12062:
! 12063: if test "$GXX" = yes; then
! 12064: case $host_os in aix4.[012]|aix4.[012].*)
! 12065: # We only want to do this on AIX 4.2 and lower, the check
! 12066: # below for broken collect2 doesn't work under 4.3+
! 12067: collect2name=`${CC} -print-prog-name=collect2`
! 12068: if test -f "$collect2name" &&
! 12069: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 12070: then
! 12071: # We have reworked collect2
! 12072: :
! 12073: else
! 12074: # We have old collect2
! 12075: hardcode_direct_CXX=unsupported
! 12076: # It fails to find uninstalled libraries when the uninstalled
! 12077: # path is not listed in the libpath. Setting hardcode_minus_L
! 12078: # to unsupported forces relinking
! 12079: hardcode_minus_L_CXX=yes
! 12080: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 12081: hardcode_libdir_separator_CXX=
! 12082: fi
! 12083: esac
! 12084: shared_flag='-shared'
! 12085: if test "$aix_use_runtimelinking" = yes; then
! 12086: shared_flag="$shared_flag "'${wl}-G'
! 12087: fi
! 12088: else
! 12089: # not using gcc
! 12090: if test "$host_cpu" = ia64; then
! 12091: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 12092: # chokes on -Wl,-G. The following line is correct:
! 12093: shared_flag='-G'
! 12094: else
! 12095: if test "$aix_use_runtimelinking" = yes; then
! 12096: shared_flag='${wl}-G'
! 12097: else
! 12098: shared_flag='${wl}-bM:SRE'
! 12099: fi
! 12100: fi
! 12101: fi
! 12102:
! 12103: export_dynamic_flag_spec_CXX='${wl}-bexpall'
! 12104: # It seems that -bexpall does not export symbols beginning with
! 12105: # underscore (_), so it is better to generate a list of symbols to
! 12106: # export.
! 12107: always_export_symbols_CXX=yes
! 12108: if test "$aix_use_runtimelinking" = yes; then
! 12109: # Warning - without using the other runtime loading flags (-brtl),
! 12110: # -berok will link without error, but may produce a broken library.
! 12111: allow_undefined_flag_CXX='-berok'
! 12112: # Determine the default libpath from the value encoded in an empty
! 12113: # executable.
! 12114: if test "${lt_cv_aix_libpath+set}" = set; then
! 12115: aix_libpath=$lt_cv_aix_libpath
! 12116: else
! 12117: if test "${lt_cv_aix_libpath__CXX+set}" = set; then
! 12118: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12119: else
! 12120: cat >conftest.$ac_ext <<_ACEOF
! 12121: /* confdefs.h. */
! 12122: _ACEOF
! 12123: cat confdefs.h >>conftest.$ac_ext
! 12124: cat >>conftest.$ac_ext <<_ACEOF
! 12125: /* end confdefs.h. */
! 12126:
! 12127: int
! 12128: main ()
! 12129: {
! 12130:
! 12131: ;
! 12132: return 0;
! 12133: }
! 12134: _ACEOF
! 12135: rm -f conftest.$ac_objext conftest$ac_exeext
! 12136: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 12137: (eval $ac_link) 2>conftest.er1
! 12138: ac_status=$?
! 12139: grep -v '^ *+' conftest.er1 >conftest.err
! 12140: rm -f conftest.er1
! 12141: cat conftest.err >&5
! 12142: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12143: (exit $ac_status); } &&
! 12144: { ac_try='test -z "$ac_cxx_werror_flag"
! 12145: || test ! -s conftest.err'
! 12146: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12147: (eval $ac_try) 2>&5
! 12148: ac_status=$?
! 12149: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12150: (exit $ac_status); }; } &&
! 12151: { ac_try='test -s conftest$ac_exeext'
! 12152: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12153: (eval $ac_try) 2>&5
! 12154: ac_status=$?
! 12155: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12156: (exit $ac_status); }; }; then
! 12157:
! 12158: lt_aix_libpath_sed='
! 12159: /Import File Strings/,/^$/ {
! 12160: /^0/ {
! 12161: s/^0 *\([^ ]*\) *$/\1/
! 12162: p
! 12163: }
! 12164: }'
! 12165: lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12166: # Check for a 64-bit object if we didn't find anything.
! 12167: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12168: lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12169: fi
! 12170: else
! 12171: echo "$as_me: failed program was:" >&5
! 12172: sed 's/^/| /' conftest.$ac_ext >&5
! 12173:
! 12174: fi
! 12175: rm -f conftest.err conftest.$ac_objext \
! 12176: conftest$ac_exeext conftest.$ac_ext
! 12177: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12178: lt_cv_aix_libpath__CXX="/usr/lib:/lib"
! 12179: fi
! 12180:
! 12181: fi
! 12182:
! 12183: aix_libpath=$lt_cv_aix_libpath__CXX
! 12184: fi
! 12185:
! 12186: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 12187:
! 12188: archive_expsym_cmds_CXX='$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"
! 12189: else
! 12190: if test "$host_cpu" = ia64; then
! 12191: hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
! 12192: allow_undefined_flag_CXX="-z nodefs"
! 12193: archive_expsym_cmds_CXX="\$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"
! 12194: else
! 12195: # Determine the default libpath from the value encoded in an
! 12196: # empty executable.
! 12197: if test "${lt_cv_aix_libpath+set}" = set; then
! 12198: aix_libpath=$lt_cv_aix_libpath
! 12199: else
! 12200: if test "${lt_cv_aix_libpath__CXX+set}" = set; then
! 12201: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12202: else
! 12203: cat >conftest.$ac_ext <<_ACEOF
! 12204: /* confdefs.h. */
! 12205: _ACEOF
! 12206: cat confdefs.h >>conftest.$ac_ext
! 12207: cat >>conftest.$ac_ext <<_ACEOF
! 12208: /* end confdefs.h. */
! 12209:
! 12210: int
! 12211: main ()
! 12212: {
! 12213:
! 12214: ;
! 12215: return 0;
! 12216: }
! 12217: _ACEOF
! 12218: rm -f conftest.$ac_objext conftest$ac_exeext
! 12219: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 12220: (eval $ac_link) 2>conftest.er1
! 12221: ac_status=$?
! 12222: grep -v '^ *+' conftest.er1 >conftest.err
! 12223: rm -f conftest.er1
! 12224: cat conftest.err >&5
! 12225: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12226: (exit $ac_status); } &&
! 12227: { ac_try='test -z "$ac_cxx_werror_flag"
! 12228: || test ! -s conftest.err'
! 12229: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12230: (eval $ac_try) 2>&5
! 12231: ac_status=$?
! 12232: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12233: (exit $ac_status); }; } &&
! 12234: { ac_try='test -s conftest$ac_exeext'
! 12235: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12236: (eval $ac_try) 2>&5
! 12237: ac_status=$?
! 12238: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12239: (exit $ac_status); }; }; then
! 12240:
! 12241: lt_aix_libpath_sed='
! 12242: /Import File Strings/,/^$/ {
! 12243: /^0/ {
! 12244: s/^0 *\([^ ]*\) *$/\1/
! 12245: p
! 12246: }
! 12247: }'
! 12248: lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12249: # Check for a 64-bit object if we didn't find anything.
! 12250: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12251: lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12252: fi
! 12253: else
! 12254: echo "$as_me: failed program was:" >&5
! 12255: sed 's/^/| /' conftest.$ac_ext >&5
! 12256:
! 12257: fi
! 12258: rm -f conftest.err conftest.$ac_objext \
! 12259: conftest$ac_exeext conftest.$ac_ext
! 12260: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12261: lt_cv_aix_libpath__CXX="/usr/lib:/lib"
! 12262: fi
! 12263:
! 12264: fi
! 12265:
! 12266: aix_libpath=$lt_cv_aix_libpath__CXX
! 12267: fi
! 12268:
! 12269: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 12270: # Warning - without using the other run time loading flags,
! 12271: # -berok will link without error, but may produce a broken library.
! 12272: no_undefined_flag_CXX=' ${wl}-bernotok'
! 12273: allow_undefined_flag_CXX=' ${wl}-berok'
! 12274: if test "$with_gnu_ld" = yes; then
! 12275: # We only use this code for GNU lds that support --whole-archive.
! 12276: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12277: else
! 12278: # Exported symbols can be pulled into shared objects from archives
! 12279: whole_archive_flag_spec_CXX='$convenience'
! 12280: fi
! 12281: archive_cmds_need_lc_CXX=yes
! 12282: # This is similar to how AIX traditionally builds its shared
! 12283: # libraries.
! 12284: archive_expsym_cmds_CXX="\$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'
! 12285: fi
! 12286: fi
! 12287: ;;
! 12288:
! 12289: beos*)
! 12290: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 12291: allow_undefined_flag_CXX=unsupported
! 12292: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 12293: # support --undefined. This deserves some investigation. FIXME
! 12294: archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12295: else
! 12296: ld_shlibs_CXX=no
! 12297: fi
! 12298: ;;
! 12299:
! 12300: chorus*)
! 12301: case $cc_basename in
! 12302: *)
! 12303: # FIXME: insert proper C++ library support
! 12304: ld_shlibs_CXX=no
! 12305: ;;
! 12306: esac
! 12307: ;;
! 12308:
! 12309: cygwin* | mingw* | pw32* | cegcc*)
! 12310: case $GXX,$cc_basename in
! 12311: ,cl* | no,cl*)
! 12312: # Native MSVC
! 12313: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 12314: # no search path for DLLs.
! 12315: hardcode_libdir_flag_spec_CXX=' '
! 12316: allow_undefined_flag_CXX=unsupported
! 12317: always_export_symbols_CXX=yes
! 12318: file_list_spec_CXX='@'
! 12319: # Tell ltmain to make .lib files, not .a files.
! 12320: libext=lib
! 12321: # Tell ltmain to make .dll files, not .so files.
! 12322: shrext_cmds=".dll"
! 12323: # FIXME: Setting linknames here is a bad hack.
! 12324: archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 12325: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 12326: $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 12327: else
! 12328: $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 12329: fi~
! 12330: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 12331: linknames='
! 12332: # The linker will not automatically build a static lib if we build a DLL.
! 12333: # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
! 12334: enable_shared_with_static_runtimes_CXX=yes
! 12335: # Don't use ranlib
! 12336: old_postinstall_cmds_CXX='chmod 644 $oldlib'
! 12337: postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
! 12338: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 12339: case $lt_outputfile in
! 12340: *.exe|*.EXE) ;;
! 12341: *)
! 12342: lt_outputfile="$lt_outputfile.exe"
! 12343: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 12344: ;;
! 12345: esac~
! 12346: func_to_tool_file "$lt_outputfile"~
! 12347: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 12348: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 12349: $RM "$lt_outputfile.manifest";
! 12350: fi'
! 12351: ;;
! 12352: *)
! 12353: # g++
! 12354: # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
! 12355: # as there is no search path for DLLs.
! 12356: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 12357: export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
! 12358: allow_undefined_flag_CXX=unsupported
! 12359: always_export_symbols_CXX=no
! 12360: enable_shared_with_static_runtimes_CXX=yes
! 12361:
! 12362: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 12363: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 12364: # If the export-symbols file already is a .def file (1st line
! 12365: # is EXPORTS), use it as is; otherwise, prepend...
! 12366: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 12367: cp $export_symbols $output_objdir/$soname.def;
! 12368: else
! 12369: echo EXPORTS > $output_objdir/$soname.def;
! 12370: cat $export_symbols >> $output_objdir/$soname.def;
! 12371: fi~
! 12372: $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 12373: else
! 12374: ld_shlibs_CXX=no
! 12375: fi
! 12376: ;;
! 12377: esac
! 12378: ;;
! 12379: darwin* | rhapsody*)
! 12380:
! 12381:
! 12382: archive_cmds_need_lc_CXX=no
! 12383: hardcode_direct_CXX=no
! 12384: hardcode_automatic_CXX=yes
! 12385: hardcode_shlibpath_var_CXX=unsupported
! 12386: if test "$lt_cv_ld_force_load" = "yes"; then
! 12387: whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
! 12388:
! 12389: else
! 12390: whole_archive_flag_spec_CXX=''
! 12391: fi
! 12392: link_all_deplibs_CXX=yes
! 12393: allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
! 12394: case $cc_basename in
! 12395: ifort*) _lt_dar_can_shared=yes ;;
! 12396: *) _lt_dar_can_shared=$GCC ;;
! 12397: esac
! 12398: if test "$_lt_dar_can_shared" = "yes"; then
! 12399: output_verbose_link_cmd=func_echo_all
! 12400: archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 12401: module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 12402: archive_expsym_cmds_CXX="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}"
! 12403: module_expsym_cmds_CXX="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}"
! 12404: if test "$lt_cv_apple_cc_single_mod" != "yes"; then
! 12405: archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
! 12406: archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
! 12407: fi
! 12408:
! 12409: else
! 12410: ld_shlibs_CXX=no
! 12411: fi
! 12412:
! 12413: ;;
! 12414:
! 12415: dgux*)
! 12416: case $cc_basename in
! 12417: ec++*)
! 12418: # FIXME: insert proper C++ library support
! 12419: ld_shlibs_CXX=no
! 12420: ;;
! 12421: ghcx*)
! 12422: # Green Hills C++ Compiler
! 12423: # FIXME: insert proper C++ library support
! 12424: ld_shlibs_CXX=no
! 12425: ;;
! 12426: *)
! 12427: # FIXME: insert proper C++ library support
! 12428: ld_shlibs_CXX=no
! 12429: ;;
! 12430: esac
! 12431: ;;
! 12432:
! 12433: freebsd2.*)
! 12434: # C++ shared libraries reported to be fairly broken before
! 12435: # switch to ELF
! 12436: ld_shlibs_CXX=no
! 12437: ;;
! 12438:
! 12439: freebsd-elf*)
! 12440: archive_cmds_need_lc_CXX=no
! 12441: ;;
! 12442:
! 12443: freebsd* | dragonfly*)
! 12444: # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
! 12445: # conventions
! 12446: ld_shlibs_CXX=yes
! 12447: ;;
! 12448:
! 12449: gnu*)
! 12450: ;;
! 12451:
! 12452: haiku*)
! 12453: archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12454: link_all_deplibs_CXX=yes
! 12455: ;;
! 12456:
! 12457: hpux9*)
! 12458: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 12459: hardcode_libdir_separator_CXX=:
! 12460: export_dynamic_flag_spec_CXX='${wl}-E'
! 12461: hardcode_direct_CXX=yes
! 12462: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 12463: # but as the default
! 12464: # location of the library.
! 12465:
! 12466: case $cc_basename in
! 12467: CC*)
! 12468: # FIXME: insert proper C++ library support
! 12469: ld_shlibs_CXX=no
! 12470: ;;
! 12471: aCC*)
! 12472: archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 12473: # Commands to make compiler produce verbose output that lists
! 12474: # what "hidden" libraries, object files and flags are used when
! 12475: # linking a shared library.
! 12476: #
! 12477: # There doesn't appear to be a way to prevent this compiler from
! 12478: # explicitly linking system object files so we need to strip them
! 12479: # from the output so that they don't get included in the library
! 12480: # dependencies.
! 12481: output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
! 12482: ;;
! 12483: *)
! 12484: if test "$GXX" = yes; then
! 12485: archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 12486: else
! 12487: # FIXME: insert proper C++ library support
! 12488: ld_shlibs_CXX=no
! 12489: fi
! 12490: ;;
! 12491: esac
! 12492: ;;
! 12493:
! 12494: hpux10*|hpux11*)
! 12495: if test $with_gnu_ld = no; then
! 12496: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 12497: hardcode_libdir_separator_CXX=:
! 12498:
! 12499: case $host_cpu in
! 12500: hppa*64*|ia64*)
! 12501: ;;
! 12502: *)
! 12503: export_dynamic_flag_spec_CXX='${wl}-E'
! 12504: ;;
! 12505: esac
! 12506: fi
! 12507: case $host_cpu in
! 12508: hppa*64*|ia64*)
! 12509: hardcode_direct_CXX=no
! 12510: hardcode_shlibpath_var_CXX=no
! 12511: ;;
! 12512: *)
! 12513: hardcode_direct_CXX=yes
! 12514: hardcode_direct_absolute_CXX=yes
! 12515: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 12516: # but as the default
! 12517: # location of the library.
! 12518: ;;
! 12519: esac
! 12520:
! 12521: case $cc_basename in
! 12522: CC*)
! 12523: # FIXME: insert proper C++ library support
! 12524: ld_shlibs_CXX=no
! 12525: ;;
! 12526: aCC*)
! 12527: case $host_cpu in
! 12528: hppa*64*)
! 12529: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12530: ;;
! 12531: ia64*)
! 12532: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12533: ;;
! 12534: *)
! 12535: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12536: ;;
! 12537: esac
! 12538: # Commands to make compiler produce verbose output that lists
! 12539: # what "hidden" libraries, object files and flags are used when
! 12540: # linking a shared library.
! 12541: #
! 12542: # There doesn't appear to be a way to prevent this compiler from
! 12543: # explicitly linking system object files so we need to strip them
! 12544: # from the output so that they don't get included in the library
! 12545: # dependencies.
! 12546: output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
! 12547: ;;
! 12548: *)
! 12549: if test "$GXX" = yes; then
! 12550: if test $with_gnu_ld = no; then
! 12551: case $host_cpu in
! 12552: hppa*64*)
! 12553: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12554: ;;
! 12555: ia64*)
! 12556: archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12557: ;;
! 12558: *)
! 12559: archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12560: ;;
! 12561: esac
! 12562: fi
! 12563: else
! 12564: # FIXME: insert proper C++ library support
! 12565: ld_shlibs_CXX=no
! 12566: fi
! 12567: ;;
! 12568: esac
! 12569: ;;
! 12570:
! 12571: interix[3-9]*)
! 12572: hardcode_direct_CXX=no
! 12573: hardcode_shlibpath_var_CXX=no
! 12574: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12575: export_dynamic_flag_spec_CXX='${wl}-E'
! 12576: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 12577: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 12578: # default) and relocated if they conflict, which is a slow very memory
! 12579: # consuming and fragmenting process. To avoid this, we pick a random,
! 12580: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 12581: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 12582: archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 12583: archive_expsym_cmds_CXX='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'
! 12584: ;;
! 12585: irix5* | irix6*)
! 12586: case $cc_basename in
! 12587: CC*)
! 12588: # SGI C++
! 12589: archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
! 12590:
! 12591: # Archives containing C++ object files must be created using
! 12592: # "CC -ar", where "CC" is the IRIX C++ compiler. This is
! 12593: # necessary to make sure instantiated templates are included
! 12594: # in the archive.
! 12595: old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
! 12596: ;;
! 12597: *)
! 12598: if test "$GXX" = yes; then
! 12599: if test "$with_gnu_ld" = no; then
! 12600: archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
! 12601: else
! 12602: archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
! 12603: fi
! 12604: fi
! 12605: link_all_deplibs_CXX=yes
! 12606: ;;
! 12607: esac
! 12608: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12609: hardcode_libdir_separator_CXX=:
! 12610: inherit_rpath_CXX=yes
! 12611: ;;
! 12612:
! 12613: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 12614: case $cc_basename in
! 12615: KCC*)
! 12616: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12617:
! 12618: # KCC will only create a shared library if the output file
! 12619: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12620: # to its proper name (with version) after linking.
! 12621: archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
! 12622: archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
! 12623: # Commands to make compiler produce verbose output that lists
! 12624: # what "hidden" libraries, object files and flags are used when
! 12625: # linking a shared library.
! 12626: #
! 12627: # There doesn't appear to be a way to prevent this compiler from
! 12628: # explicitly linking system object files so we need to strip them
! 12629: # from the output so that they don't get included in the library
! 12630: # dependencies.
! 12631: output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
! 12632:
! 12633: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12634: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12635:
! 12636: # Archives containing C++ object files must be created using
! 12637: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12638: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12639: ;;
! 12640: icpc* | ecpc* )
! 12641: # Intel C++
! 12642: with_gnu_ld=yes
! 12643: # version 8.0 and above of icpc choke on multiply defined symbols
! 12644: # if we add $predep_objects and $postdep_objects, however 7.1 and
! 12645: # earlier do not add the objects themselves.
! 12646: case `$CC -V 2>&1` in
! 12647: *"Version 7."*)
! 12648: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12649: archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 12650: ;;
! 12651: *) # Version 8.0 or newer
! 12652: tmp_idyn=
! 12653: case $host_cpu in
! 12654: ia64*) tmp_idyn=' -i_dynamic';;
! 12655: esac
! 12656: archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12657: archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 12658: ;;
! 12659: esac
! 12660: archive_cmds_need_lc_CXX=no
! 12661: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12662: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12663: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12664: ;;
! 12665: pgCC* | pgcpp*)
! 12666: # Portland Group C++ compiler
! 12667: case `$CC -V` in
! 12668: *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
! 12669: prelink_cmds_CXX='tpldir=Template.dir~
! 12670: rm -rf $tpldir~
! 12671: $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
! 12672: compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
! 12673: old_archive_cmds_CXX='tpldir=Template.dir~
! 12674: rm -rf $tpldir~
! 12675: $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
! 12676: $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
! 12677: $RANLIB $oldlib'
! 12678: archive_cmds_CXX='tpldir=Template.dir~
! 12679: rm -rf $tpldir~
! 12680: $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
! 12681: $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12682: archive_expsym_cmds_CXX='tpldir=Template.dir~
! 12683: rm -rf $tpldir~
! 12684: $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
! 12685: $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
! 12686: ;;
! 12687: *) # Version 6 and above use weak symbols
! 12688: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12689: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
! 12690: ;;
! 12691: esac
! 12692:
! 12693: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 12694: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12695: whole_archive_flag_spec_CXX='${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'
! 12696: ;;
! 12697: cxx*)
! 12698: # Compaq C++
! 12699: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12700: archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
! 12701:
! 12702: runpath_var=LD_RUN_PATH
! 12703: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12704: hardcode_libdir_separator_CXX=:
! 12705:
! 12706: # Commands to make compiler produce verbose output that lists
! 12707: # what "hidden" libraries, object files and flags are used when
! 12708: # linking a shared library.
! 12709: #
! 12710: # There doesn't appear to be a way to prevent this compiler from
! 12711: # explicitly linking system object files so we need to strip them
! 12712: # from the output so that they don't get included in the library
! 12713: # dependencies.
! 12714: output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
! 12715: ;;
! 12716: xl* | mpixl* | bgxl*)
! 12717: # IBM XL 8.0 on PPC, with GNU ld
! 12718: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12719: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12720: archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12721: if test "x$supports_anon_versioning" = xyes; then
! 12722: archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
! 12723: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 12724: echo "local: *; };" >> $output_objdir/$libname.ver~
! 12725: $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 12726: fi
! 12727: ;;
! 12728: *)
! 12729: case `$CC -V 2>&1 | sed 5q` in
! 12730: *Sun\ C*)
! 12731: # Sun C++ 5.9
! 12732: no_undefined_flag_CXX=' -zdefs'
! 12733: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12734: archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
! 12735: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12736: whole_archive_flag_spec_CXX='${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'
! 12737: compiler_needs_object_CXX=yes
! 12738:
! 12739: # Not sure whether something based on
! 12740: # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
! 12741: # would be better.
! 12742: output_verbose_link_cmd='func_echo_all'
! 12743:
! 12744: # Archives containing C++ object files must be created using
! 12745: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 12746: # necessary to make sure instantiated templates are included
! 12747: # in the archive.
! 12748: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 12749: ;;
! 12750: esac
! 12751: ;;
! 12752: esac
! 12753: ;;
! 12754:
! 12755: lynxos*)
! 12756: # FIXME: insert proper C++ library support
! 12757: ld_shlibs_CXX=no
! 12758: ;;
! 12759:
! 12760: m88k*)
! 12761: # FIXME: insert proper C++ library support
! 12762: ld_shlibs_CXX=no
! 12763: ;;
! 12764:
! 12765: mvs*)
! 12766: case $cc_basename in
! 12767: cxx*)
! 12768: # FIXME: insert proper C++ library support
! 12769: ld_shlibs_CXX=no
! 12770: ;;
! 12771: *)
! 12772: # FIXME: insert proper C++ library support
! 12773: ld_shlibs_CXX=no
! 12774: ;;
! 12775: esac
! 12776: ;;
! 12777:
! 12778: netbsd*)
! 12779: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 12780: archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
! 12781: wlarc=
! 12782: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12783: hardcode_direct_CXX=yes
! 12784: hardcode_shlibpath_var_CXX=no
! 12785: fi
! 12786: # Workaround some broken pre-1.5 toolchains
! 12787: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
! 12788: ;;
! 12789:
! 12790: *nto* | *qnx*)
! 12791: ld_shlibs_CXX=yes
! 12792: ;;
! 12793:
! 12794: openbsd2*)
! 12795: # C++ shared libraries are fairly broken
! 12796: ld_shlibs_CXX=no
! 12797: ;;
! 12798:
! 12799: openbsd*)
! 12800: if test -f /usr/libexec/ld.so; then
! 12801: hardcode_direct_CXX=yes
! 12802: hardcode_shlibpath_var_CXX=no
! 12803: hardcode_direct_absolute_CXX=yes
! 12804: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 12805: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12806: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 12807: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 12808: export_dynamic_flag_spec_CXX='${wl}-E'
! 12809: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 12810: fi
! 12811: output_verbose_link_cmd=func_echo_all
! 12812: else
! 12813: ld_shlibs_CXX=no
! 12814: fi
! 12815: ;;
! 12816:
! 12817: osf3* | osf4* | osf5*)
! 12818: case $cc_basename in
! 12819: KCC*)
! 12820: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12821:
! 12822: # KCC will only create a shared library if the output file
! 12823: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12824: # to its proper name (with version) after linking.
! 12825: archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
! 12826:
! 12827: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12828: hardcode_libdir_separator_CXX=:
! 12829:
! 12830: # Archives containing C++ object files must be created using
! 12831: # the KAI C++ compiler.
! 12832: case $host in
! 12833: osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
! 12834: *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
! 12835: esac
! 12836: ;;
! 12837: RCC*)
! 12838: # Rational C++ 2.4.1
! 12839: # FIXME: insert proper C++ library support
! 12840: ld_shlibs_CXX=no
! 12841: ;;
! 12842: cxx*)
! 12843: case $host in
! 12844: osf3*)
! 12845: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12846: archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
! 12847: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12848: ;;
! 12849: *)
! 12850: allow_undefined_flag_CXX=' -expect_unresolved \*'
! 12851: archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
! 12852: archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
! 12853: echo "-hidden">> $lib.exp~
! 12854: $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
! 12855: $RM $lib.exp'
! 12856: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12857: ;;
! 12858: esac
! 12859:
! 12860: hardcode_libdir_separator_CXX=:
! 12861:
! 12862: # Commands to make compiler produce verbose output that lists
! 12863: # what "hidden" libraries, object files and flags are used when
! 12864: # linking a shared library.
! 12865: #
! 12866: # There doesn't appear to be a way to prevent this compiler from
! 12867: # explicitly linking system object files so we need to strip them
! 12868: # from the output so that they don't get included in the library
! 12869: # dependencies.
! 12870: output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
! 12871: ;;
! 12872: *)
! 12873: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12874: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12875: case $host in
! 12876: osf3*)
! 12877: archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
! 12878: ;;
! 12879: *)
! 12880: archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
! 12881: ;;
! 12882: esac
! 12883:
! 12884: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12885: hardcode_libdir_separator_CXX=:
! 12886:
! 12887: # Commands to make compiler produce verbose output that lists
! 12888: # what "hidden" libraries, object files and flags are used when
! 12889: # linking a shared library.
! 12890: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 12891:
! 12892: else
! 12893: # FIXME: insert proper C++ library support
! 12894: ld_shlibs_CXX=no
! 12895: fi
! 12896: ;;
! 12897: esac
! 12898: ;;
! 12899:
! 12900: psos*)
! 12901: # FIXME: insert proper C++ library support
! 12902: ld_shlibs_CXX=no
! 12903: ;;
! 12904:
! 12905: sunos4*)
! 12906: case $cc_basename in
! 12907: CC*)
! 12908: # Sun C++ 4.x
! 12909: # FIXME: insert proper C++ library support
! 12910: ld_shlibs_CXX=no
! 12911: ;;
! 12912: lcc*)
! 12913: # Lucid
! 12914: # FIXME: insert proper C++ library support
! 12915: ld_shlibs_CXX=no
! 12916: ;;
! 12917: *)
! 12918: # FIXME: insert proper C++ library support
! 12919: ld_shlibs_CXX=no
! 12920: ;;
! 12921: esac
! 12922: ;;
! 12923:
! 12924: solaris*)
! 12925: case $cc_basename in
! 12926: CC* | sunCC*)
! 12927: # Sun C++ 4.2, 5.x and Centerline C++
! 12928: archive_cmds_need_lc_CXX=yes
! 12929: no_undefined_flag_CXX=' -zdefs'
! 12930: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12931: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 12932: $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 12933:
! 12934: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12935: hardcode_shlibpath_var_CXX=no
! 12936: case $host_os in
! 12937: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 12938: *)
! 12939: # The compiler driver will combine and reorder linker options,
! 12940: # but understands `-z linker_flag'.
! 12941: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 12942: whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
! 12943: ;;
! 12944: esac
! 12945: link_all_deplibs_CXX=yes
! 12946:
! 12947: output_verbose_link_cmd='func_echo_all'
! 12948:
! 12949: # Archives containing C++ object files must be created using
! 12950: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 12951: # necessary to make sure instantiated templates are included
! 12952: # in the archive.
! 12953: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 12954: ;;
! 12955: gcx*)
! 12956: # Green Hills C++ Compiler
! 12957: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12958:
! 12959: # The C++ compiler must be used to create the archive.
! 12960: old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
! 12961: ;;
! 12962: *)
! 12963: # GNU C++ compiler with Solaris linker
! 12964: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12965: no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
! 12966: if $CC --version | $GREP -v '^2\.7' > /dev/null; then
! 12967: archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12968: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 12969: $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 12970:
! 12971: # Commands to make compiler produce verbose output that lists
! 12972: # what "hidden" libraries, object files and flags are used when
! 12973: # linking a shared library.
! 12974: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 12975: else
! 12976: # g++ 2.7 appears to require `-G' NOT `-shared' on this
! 12977: # platform.
! 12978: archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12979: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 12980: $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 12981:
! 12982: # Commands to make compiler produce verbose output that lists
! 12983: # what "hidden" libraries, object files and flags are used when
! 12984: # linking a shared library.
! 12985: output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 12986: fi
! 12987:
! 12988: hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
! 12989: case $host_os in
! 12990: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 12991: *)
! 12992: whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 12993: ;;
! 12994: esac
! 12995: fi
! 12996: ;;
! 12997: esac
! 12998: ;;
! 12999:
! 13000: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 13001: no_undefined_flag_CXX='${wl}-z,text'
! 13002: archive_cmds_need_lc_CXX=no
! 13003: hardcode_shlibpath_var_CXX=no
! 13004: runpath_var='LD_RUN_PATH'
! 13005:
! 13006: case $cc_basename in
! 13007: CC*)
! 13008: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13009: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13010: ;;
! 13011: *)
! 13012: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13013: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13014: ;;
! 13015: esac
! 13016: ;;
! 13017:
! 13018: sysv5* | sco3.2v5* | sco5v6*)
! 13019: # Note: We can NOT use -z defs as we might desire, because we do not
! 13020: # link with -lc, and that would cause any symbols used from libc to
! 13021: # always be unresolved, which means just about no library would
! 13022: # ever link correctly. If we're not using GNU ld we use -z text
! 13023: # though, which does catch some bad symbols but isn't as heavy-handed
! 13024: # as -z defs.
! 13025: no_undefined_flag_CXX='${wl}-z,text'
! 13026: allow_undefined_flag_CXX='${wl}-z,nodefs'
! 13027: archive_cmds_need_lc_CXX=no
! 13028: hardcode_shlibpath_var_CXX=no
! 13029: hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
! 13030: hardcode_libdir_separator_CXX=':'
! 13031: link_all_deplibs_CXX=yes
! 13032: export_dynamic_flag_spec_CXX='${wl}-Bexport'
! 13033: runpath_var='LD_RUN_PATH'
! 13034:
! 13035: case $cc_basename in
! 13036: CC*)
! 13037: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13038: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13039: old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
! 13040: '"$old_archive_cmds_CXX"
! 13041: reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
! 13042: '"$reload_cmds_CXX"
! 13043: ;;
! 13044: *)
! 13045: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13046: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13047: ;;
! 13048: esac
! 13049: ;;
! 13050:
! 13051: tandem*)
! 13052: case $cc_basename in
! 13053: NCC*)
! 13054: # NonStop-UX NCC 3.20
! 13055: # FIXME: insert proper C++ library support
! 13056: ld_shlibs_CXX=no
! 13057: ;;
! 13058: *)
! 13059: # FIXME: insert proper C++ library support
! 13060: ld_shlibs_CXX=no
! 13061: ;;
! 13062: esac
! 13063: ;;
! 13064:
! 13065: vxworks*)
! 13066: # FIXME: insert proper C++ library support
! 13067: ld_shlibs_CXX=no
! 13068: ;;
! 13069:
! 13070: *)
! 13071: # FIXME: insert proper C++ library support
! 13072: ld_shlibs_CXX=no
! 13073: ;;
! 13074: esac
! 13075:
! 13076: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 13077: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 13078: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 13079:
! 13080: GCC_CXX="$GXX"
! 13081: LD_CXX="$LD"
! 13082:
! 13083: ## CAVEAT EMPTOR:
! 13084: ## There is no encapsulation within the following macros, do not change
! 13085: ## the running order or otherwise move them around unless you know exactly
! 13086: ## what you are doing...
! 13087: # Dependencies to place before and after the object being linked:
! 13088: predep_objects_CXX=
! 13089: postdep_objects_CXX=
! 13090: predeps_CXX=
! 13091: postdeps_CXX=
! 13092: compiler_lib_search_path_CXX=
! 13093:
! 13094: cat > conftest.$ac_ext <<_LT_EOF
! 13095: class Foo
! 13096: {
! 13097: public:
! 13098: Foo (void) { a = 0; }
! 13099: private:
! 13100: int a;
! 13101: };
! 13102: _LT_EOF
! 13103:
! 13104:
! 13105: _lt_libdeps_save_CFLAGS=$CFLAGS
! 13106: case "$CC $CFLAGS " in #(
! 13107: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
! 13108: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
! 13109: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
! 13110: esac
! 13111:
! 13112: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 13113: (eval $ac_compile) 2>&5
! 13114: ac_status=$?
! 13115: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13116: (exit $ac_status); }; then
! 13117: # Parse the compiler output and extract the necessary
! 13118: # objects, libraries and library flags.
! 13119:
! 13120: # Sentinel used to keep track of whether or not we are before
! 13121: # the conftest object file.
! 13122: pre_test_object_deps_done=no
! 13123:
! 13124: for p in `eval "$output_verbose_link_cmd"`; do
! 13125: case ${prev}${p} in
! 13126:
! 13127: -L* | -R* | -l*)
! 13128: # Some compilers place space between "-{L,R}" and the path.
! 13129: # Remove the space.
! 13130: if test $p = "-L" ||
! 13131: test $p = "-R"; then
! 13132: prev=$p
! 13133: continue
! 13134: fi
! 13135:
! 13136: # Expand the sysroot to ease extracting the directories later.
! 13137: if test -z "$prev"; then
! 13138: case $p in
! 13139: -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
! 13140: -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
! 13141: -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
! 13142: esac
! 13143: fi
! 13144: case $p in
! 13145: =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
! 13146: esac
! 13147: if test "$pre_test_object_deps_done" = no; then
! 13148: case ${prev} in
! 13149: -L | -R)
! 13150: # Internal compiler library paths should come after those
! 13151: # provided the user. The postdeps already come after the
! 13152: # user supplied libs so there is no need to process them.
! 13153: if test -z "$compiler_lib_search_path_CXX"; then
! 13154: compiler_lib_search_path_CXX="${prev}${p}"
! 13155: else
! 13156: compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
! 13157: fi
! 13158: ;;
! 13159: # The "-l" case would never come before the object being
! 13160: # linked, so don't bother handling this case.
! 13161: esac
! 13162: else
! 13163: if test -z "$postdeps_CXX"; then
! 13164: postdeps_CXX="${prev}${p}"
! 13165: else
! 13166: postdeps_CXX="${postdeps_CXX} ${prev}${p}"
! 13167: fi
! 13168: fi
! 13169: prev=
! 13170: ;;
! 13171:
! 13172: *.lto.$objext) ;; # Ignore GCC LTO objects
! 13173: *.$objext)
! 13174: # This assumes that the test object file only shows up
! 13175: # once in the compiler output.
! 13176: if test "$p" = "conftest.$objext"; then
! 13177: pre_test_object_deps_done=yes
! 13178: continue
! 13179: fi
! 13180:
! 13181: if test "$pre_test_object_deps_done" = no; then
! 13182: if test -z "$predep_objects_CXX"; then
! 13183: predep_objects_CXX="$p"
! 13184: else
! 13185: predep_objects_CXX="$predep_objects_CXX $p"
! 13186: fi
! 13187: else
! 13188: if test -z "$postdep_objects_CXX"; then
! 13189: postdep_objects_CXX="$p"
! 13190: else
! 13191: postdep_objects_CXX="$postdep_objects_CXX $p"
! 13192: fi
! 13193: fi
! 13194: ;;
! 13195:
! 13196: *) ;; # Ignore the rest.
! 13197:
! 13198: esac
! 13199: done
! 13200:
! 13201: # Clean up.
! 13202: rm -f a.out a.exe
! 13203: else
! 13204: echo "libtool.m4: error: problem compiling CXX test program"
! 13205: fi
! 13206:
! 13207: $RM -f confest.$objext
! 13208: CFLAGS=$_lt_libdeps_save_CFLAGS
! 13209:
! 13210: # PORTME: override above test on systems where it is broken
! 13211: case $host_os in
! 13212: interix[3-9]*)
! 13213: # Interix 3.5 installs completely hosed .la files for C++, so rather than
! 13214: # hack all around it, let's just trust "g++" to DTRT.
! 13215: predep_objects_CXX=
! 13216: postdep_objects_CXX=
! 13217: postdeps_CXX=
! 13218: ;;
! 13219:
! 13220: linux*)
! 13221: case `$CC -V 2>&1 | sed 5q` in
! 13222: *Sun\ C*)
! 13223: # Sun C++ 5.9
! 13224:
! 13225: # The more standards-conforming stlport4 library is
! 13226: # incompatible with the Cstd library. Avoid specifying
! 13227: # it if it's in CXXFLAGS. Ignore libCrun as
! 13228: # -library=stlport4 depends on it.
! 13229: case " $CXX $CXXFLAGS " in
! 13230: *" -library=stlport4 "*)
! 13231: solaris_use_stlport4=yes
! 13232: ;;
! 13233: esac
! 13234:
! 13235: if test "$solaris_use_stlport4" != yes; then
! 13236: postdeps_CXX='-library=Cstd -library=Crun'
! 13237: fi
! 13238: ;;
! 13239: esac
! 13240: ;;
! 13241:
! 13242: solaris*)
! 13243: case $cc_basename in
! 13244: CC* | sunCC*)
! 13245: # The more standards-conforming stlport4 library is
! 13246: # incompatible with the Cstd library. Avoid specifying
! 13247: # it if it's in CXXFLAGS. Ignore libCrun as
! 13248: # -library=stlport4 depends on it.
! 13249: case " $CXX $CXXFLAGS " in
! 13250: *" -library=stlport4 "*)
! 13251: solaris_use_stlport4=yes
! 13252: ;;
! 13253: esac
! 13254:
! 13255: # Adding this requires a known-good setup of shared libraries for
! 13256: # Sun compiler versions before 5.6, else PIC objects from an old
! 13257: # archive will be linked into the output, leading to subtle bugs.
! 13258: if test "$solaris_use_stlport4" != yes; then
! 13259: postdeps_CXX='-library=Cstd -library=Crun'
! 13260: fi
! 13261: ;;
! 13262: esac
! 13263: ;;
! 13264: esac
! 13265:
! 13266:
! 13267: case " $postdeps_CXX " in
! 13268: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
! 13269: esac
! 13270: compiler_lib_search_dirs_CXX=
! 13271: if test -n "${compiler_lib_search_path_CXX}"; then
! 13272: compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
! 13273: fi
! 13274:
! 13275:
! 13276:
! 13277:
! 13278:
! 13279:
! 13280:
! 13281:
! 13282:
! 13283:
! 13284:
! 13285:
! 13286:
! 13287:
! 13288:
! 13289:
! 13290:
! 13291:
! 13292:
! 13293:
! 13294:
! 13295:
! 13296:
! 13297:
! 13298:
! 13299:
! 13300:
! 13301:
! 13302:
! 13303:
! 13304:
! 13305: lt_prog_compiler_wl_CXX=
! 13306: lt_prog_compiler_pic_CXX=
! 13307: lt_prog_compiler_static_CXX=
! 13308:
! 13309:
! 13310: # C++ specific cases for pic, static, wl, etc.
! 13311: if test "$GXX" = yes; then
! 13312: lt_prog_compiler_wl_CXX='-Wl,'
! 13313: lt_prog_compiler_static_CXX='-static'
! 13314:
! 13315: case $host_os in
! 13316: aix*)
! 13317: # All AIX code is PIC.
! 13318: if test "$host_cpu" = ia64; then
! 13319: # AIX 5 now supports IA64 processor
! 13320: lt_prog_compiler_static_CXX='-Bstatic'
! 13321: fi
! 13322: ;;
! 13323:
! 13324: amigaos*)
! 13325: case $host_cpu in
! 13326: powerpc)
! 13327: # see comment about AmigaOS4 .so support
! 13328: lt_prog_compiler_pic_CXX='-fPIC'
! 13329: ;;
! 13330: m68k)
! 13331: # FIXME: we need at least 68020 code to build shared libraries, but
! 13332: # adding the `-m68020' flag to GCC prevents building anything better,
! 13333: # like `-m68040'.
! 13334: lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
! 13335: ;;
! 13336: esac
! 13337: ;;
! 13338:
! 13339: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 13340: # PIC is the default for these OSes.
! 13341: ;;
! 13342: mingw* | cygwin* | os2* | pw32* | cegcc*)
! 13343: # This hack is so that the source file can tell whether it is being
! 13344: # built for inclusion in a dll (and should export symbols for example).
! 13345: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 13346: # (--disable-auto-import) libraries
! 13347: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 13348: ;;
! 13349: darwin* | rhapsody*)
! 13350: # PIC is the default on this platform
! 13351: # Common symbols not allowed in MH_DYLIB files
! 13352: lt_prog_compiler_pic_CXX='-fno-common'
! 13353: ;;
! 13354: *djgpp*)
! 13355: # DJGPP does not support shared libraries at all
! 13356: lt_prog_compiler_pic_CXX=
! 13357: ;;
! 13358: haiku*)
! 13359: # PIC is the default for Haiku.
! 13360: # The "-static" flag exists, but is broken.
! 13361: lt_prog_compiler_static_CXX=
! 13362: ;;
! 13363: interix[3-9]*)
! 13364: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 13365: # Instead, we relocate shared libraries at runtime.
! 13366: ;;
! 13367: sysv4*MP*)
! 13368: if test -d /usr/nec; then
! 13369: lt_prog_compiler_pic_CXX=-Kconform_pic
! 13370: fi
! 13371: ;;
! 13372: hpux*)
! 13373: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 13374: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 13375: # sets the default TLS model and affects inlining.
! 13376: case $host_cpu in
! 13377: hppa*64*)
! 13378: ;;
! 13379: *)
! 13380: lt_prog_compiler_pic_CXX='-fPIC'
! 13381: ;;
! 13382: esac
! 13383: ;;
! 13384: *qnx* | *nto*)
! 13385: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 13386: # it will coredump.
! 13387: lt_prog_compiler_pic_CXX='-fPIC -shared'
! 13388: ;;
! 13389: *)
! 13390: lt_prog_compiler_pic_CXX='-fPIC'
! 13391: ;;
! 13392: esac
! 13393: else
! 13394: case $host_os in
! 13395: aix[4-9]*)
! 13396: # All AIX code is PIC.
! 13397: if test "$host_cpu" = ia64; then
! 13398: # AIX 5 now supports IA64 processor
! 13399: lt_prog_compiler_static_CXX='-Bstatic'
! 13400: else
! 13401: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
! 13402: fi
! 13403: ;;
! 13404: chorus*)
! 13405: case $cc_basename in
! 13406: cxch68*)
! 13407: # Green Hills C++ Compiler
! 13408: # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
! 13409: ;;
! 13410: esac
! 13411: ;;
! 13412: mingw* | cygwin* | os2* | pw32* | cegcc*)
! 13413: # This hack is so that the source file can tell whether it is being
! 13414: # built for inclusion in a dll (and should export symbols for example).
! 13415: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 13416: ;;
! 13417: dgux*)
! 13418: case $cc_basename in
! 13419: ec++*)
! 13420: lt_prog_compiler_pic_CXX='-KPIC'
! 13421: ;;
! 13422: ghcx*)
! 13423: # Green Hills C++ Compiler
! 13424: lt_prog_compiler_pic_CXX='-pic'
! 13425: ;;
! 13426: *)
! 13427: ;;
! 13428: esac
! 13429: ;;
! 13430: freebsd* | dragonfly*)
! 13431: # FreeBSD uses GNU C++
! 13432: ;;
! 13433: hpux9* | hpux10* | hpux11*)
! 13434: case $cc_basename in
! 13435: CC*)
! 13436: lt_prog_compiler_wl_CXX='-Wl,'
! 13437: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 13438: if test "$host_cpu" != ia64; then
! 13439: lt_prog_compiler_pic_CXX='+Z'
! 13440: fi
! 13441: ;;
! 13442: aCC*)
! 13443: lt_prog_compiler_wl_CXX='-Wl,'
! 13444: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 13445: case $host_cpu in
! 13446: hppa*64*|ia64*)
! 13447: # +Z the default
! 13448: ;;
! 13449: *)
! 13450: lt_prog_compiler_pic_CXX='+Z'
! 13451: ;;
! 13452: esac
! 13453: ;;
! 13454: *)
! 13455: ;;
! 13456: esac
! 13457: ;;
! 13458: interix*)
! 13459: # This is c89, which is MS Visual C++ (no shared libs)
! 13460: # Anyone wants to do a port?
! 13461: ;;
! 13462: irix5* | irix6* | nonstopux*)
! 13463: case $cc_basename in
! 13464: CC*)
! 13465: lt_prog_compiler_wl_CXX='-Wl,'
! 13466: lt_prog_compiler_static_CXX='-non_shared'
! 13467: # CC pic flag -KPIC is the default.
! 13468: ;;
! 13469: *)
! 13470: ;;
! 13471: esac
! 13472: ;;
! 13473: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 13474: case $cc_basename in
! 13475: KCC*)
! 13476: # KAI C++ Compiler
! 13477: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 13478: lt_prog_compiler_pic_CXX='-fPIC'
! 13479: ;;
! 13480: ecpc* )
! 13481: # old Intel C++ for x86_64 which still supported -KPIC.
! 13482: lt_prog_compiler_wl_CXX='-Wl,'
! 13483: lt_prog_compiler_pic_CXX='-KPIC'
! 13484: lt_prog_compiler_static_CXX='-static'
! 13485: ;;
! 13486: icpc* )
! 13487: # Intel C++, used to be incompatible with GCC.
! 13488: # ICC 10 doesn't accept -KPIC any more.
! 13489: lt_prog_compiler_wl_CXX='-Wl,'
! 13490: lt_prog_compiler_pic_CXX='-fPIC'
! 13491: lt_prog_compiler_static_CXX='-static'
! 13492: ;;
! 13493: pgCC* | pgcpp*)
! 13494: # Portland Group C++ compiler
! 13495: lt_prog_compiler_wl_CXX='-Wl,'
! 13496: lt_prog_compiler_pic_CXX='-fpic'
! 13497: lt_prog_compiler_static_CXX='-Bstatic'
! 13498: ;;
! 13499: cxx*)
! 13500: # Compaq C++
! 13501: # Make sure the PIC flag is empty. It appears that all Alpha
! 13502: # Linux and Compaq Tru64 Unix objects are PIC.
! 13503: lt_prog_compiler_pic_CXX=
! 13504: lt_prog_compiler_static_CXX='-non_shared'
! 13505: ;;
! 13506: xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
! 13507: # IBM XL 8.0, 9.0 on PPC and BlueGene
! 13508: lt_prog_compiler_wl_CXX='-Wl,'
! 13509: lt_prog_compiler_pic_CXX='-qpic'
! 13510: lt_prog_compiler_static_CXX='-qstaticlink'
! 13511: ;;
! 13512: *)
! 13513: case `$CC -V 2>&1 | sed 5q` in
! 13514: *Sun\ C*)
! 13515: # Sun C++ 5.9
! 13516: lt_prog_compiler_pic_CXX='-KPIC'
! 13517: lt_prog_compiler_static_CXX='-Bstatic'
! 13518: lt_prog_compiler_wl_CXX='-Qoption ld '
! 13519: ;;
! 13520: esac
! 13521: ;;
! 13522: esac
! 13523: ;;
! 13524: lynxos*)
! 13525: ;;
! 13526: m88k*)
! 13527: ;;
! 13528: mvs*)
! 13529: case $cc_basename in
! 13530: cxx*)
! 13531: lt_prog_compiler_pic_CXX='-W c,exportall'
! 13532: ;;
! 13533: *)
! 13534: ;;
! 13535: esac
! 13536: ;;
! 13537: netbsd*)
! 13538: ;;
! 13539: *qnx* | *nto*)
! 13540: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 13541: # it will coredump.
! 13542: lt_prog_compiler_pic_CXX='-fPIC -shared'
! 13543: ;;
! 13544: osf3* | osf4* | osf5*)
! 13545: case $cc_basename in
! 13546: KCC*)
! 13547: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 13548: ;;
! 13549: RCC*)
! 13550: # Rational C++ 2.4.1
! 13551: lt_prog_compiler_pic_CXX='-pic'
! 13552: ;;
! 13553: cxx*)
! 13554: # Digital/Compaq C++
! 13555: lt_prog_compiler_wl_CXX='-Wl,'
! 13556: # Make sure the PIC flag is empty. It appears that all Alpha
! 13557: # Linux and Compaq Tru64 Unix objects are PIC.
! 13558: lt_prog_compiler_pic_CXX=
! 13559: lt_prog_compiler_static_CXX='-non_shared'
! 13560: ;;
! 13561: *)
! 13562: ;;
! 13563: esac
! 13564: ;;
! 13565: psos*)
! 13566: ;;
! 13567: solaris*)
! 13568: case $cc_basename in
! 13569: CC* | sunCC*)
! 13570: # Sun C++ 4.2, 5.x and Centerline C++
! 13571: lt_prog_compiler_pic_CXX='-KPIC'
! 13572: lt_prog_compiler_static_CXX='-Bstatic'
! 13573: lt_prog_compiler_wl_CXX='-Qoption ld '
! 13574: ;;
! 13575: gcx*)
! 13576: # Green Hills C++ Compiler
! 13577: lt_prog_compiler_pic_CXX='-PIC'
! 13578: ;;
! 13579: *)
! 13580: ;;
! 13581: esac
! 13582: ;;
! 13583: sunos4*)
! 13584: case $cc_basename in
! 13585: CC*)
! 13586: # Sun C++ 4.x
! 13587: lt_prog_compiler_pic_CXX='-pic'
! 13588: lt_prog_compiler_static_CXX='-Bstatic'
! 13589: ;;
! 13590: lcc*)
! 13591: # Lucid
! 13592: lt_prog_compiler_pic_CXX='-pic'
! 13593: ;;
! 13594: *)
! 13595: ;;
! 13596: esac
! 13597: ;;
! 13598: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 13599: case $cc_basename in
! 13600: CC*)
! 13601: lt_prog_compiler_wl_CXX='-Wl,'
! 13602: lt_prog_compiler_pic_CXX='-KPIC'
! 13603: lt_prog_compiler_static_CXX='-Bstatic'
! 13604: ;;
! 13605: esac
! 13606: ;;
! 13607: tandem*)
! 13608: case $cc_basename in
! 13609: NCC*)
! 13610: # NonStop-UX NCC 3.20
! 13611: lt_prog_compiler_pic_CXX='-KPIC'
! 13612: ;;
! 13613: *)
! 13614: ;;
! 13615: esac
! 13616: ;;
! 13617: vxworks*)
! 13618: ;;
! 13619: *)
! 13620: lt_prog_compiler_can_build_shared_CXX=no
! 13621: ;;
! 13622: esac
! 13623: fi
! 13624:
! 13625: case $host_os in
! 13626: # For platforms which do not support PIC, -DPIC is meaningless:
! 13627: *djgpp*)
! 13628: lt_prog_compiler_pic_CXX=
! 13629: ;;
! 13630: *)
! 13631: lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
! 13632: ;;
! 13633: esac
! 13634:
! 13635: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 13636: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 13637: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
! 13638: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13639: else
! 13640: lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
! 13641: fi
! 13642: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
! 13643: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
! 13644: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
! 13645:
! 13646: #
! 13647: # Check to make sure the PIC flag actually works.
! 13648: #
! 13649: if test -n "$lt_prog_compiler_pic_CXX"; then
! 13650: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
! 13651: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
! 13652: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
! 13653: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13654: else
! 13655: lt_cv_prog_compiler_pic_works_CXX=no
! 13656: ac_outfile=conftest.$ac_objext
! 13657: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13658: lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
! 13659: # Insert the option either (1) after the last *FLAGS variable, or
! 13660: # (2) before a word containing "conftest.", or (3) at the end.
! 13661: # Note that $ac_compile itself does not contain backslashes and begins
! 13662: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13663: # The option is referenced via a variable to avoid confusing sed.
! 13664: lt_compile=`echo "$ac_compile" | $SED \
! 13665: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13666: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13667: -e 's:$: $lt_compiler_flag:'`
! 13668: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 13669: (eval "$lt_compile" 2>conftest.err)
! 13670: ac_status=$?
! 13671: cat conftest.err >&5
! 13672: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13673: if (exit $ac_status) && test -s "$ac_outfile"; then
! 13674: # The compiler can only warn and ignore the option if not recognized
! 13675: # So say no if there are warnings other than the usual output.
! 13676: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 13677: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13678: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 13679: lt_cv_prog_compiler_pic_works_CXX=yes
! 13680: fi
! 13681: fi
! 13682: $RM conftest*
! 13683:
! 13684: fi
! 13685: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
! 13686: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
! 13687:
! 13688: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
! 13689: case $lt_prog_compiler_pic_CXX in
! 13690: "" | " "*) ;;
! 13691: *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
! 13692: esac
! 13693: else
! 13694: lt_prog_compiler_pic_CXX=
! 13695: lt_prog_compiler_can_build_shared_CXX=no
! 13696: fi
! 13697:
! 13698: fi
! 13699:
! 13700:
! 13701:
! 13702:
! 13703:
! 13704: #
! 13705: # Check to make sure the static flag actually works.
! 13706: #
! 13707: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
! 13708: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 13709: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 13710: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
! 13711: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13712: else
! 13713: lt_cv_prog_compiler_static_works_CXX=no
! 13714: save_LDFLAGS="$LDFLAGS"
! 13715: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 13716: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 13717: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 13718: # The linker can only warn and ignore the option if not recognized
! 13719: # So say no if there are warnings
! 13720: if test -s conftest.err; then
! 13721: # Append any errors to the config.log.
! 13722: cat conftest.err 1>&5
! 13723: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 13724: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13725: if diff conftest.exp conftest.er2 >/dev/null; then
! 13726: lt_cv_prog_compiler_static_works_CXX=yes
! 13727: fi
! 13728: else
! 13729: lt_cv_prog_compiler_static_works_CXX=yes
! 13730: fi
! 13731: fi
! 13732: $RM -r conftest*
! 13733: LDFLAGS="$save_LDFLAGS"
! 13734:
! 13735: fi
! 13736: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
! 13737: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
! 13738:
! 13739: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
! 13740: :
! 13741: else
! 13742: lt_prog_compiler_static_CXX=
! 13743: fi
! 13744:
! 13745:
! 13746:
! 13747:
! 13748: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 13749: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 13750: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 13751: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13752: else
! 13753: lt_cv_prog_compiler_c_o_CXX=no
! 13754: $RM -r conftest 2>/dev/null
! 13755: mkdir conftest
! 13756: cd conftest
! 13757: mkdir out
! 13758: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13759:
! 13760: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 13761: # Insert the option either (1) after the last *FLAGS variable, or
! 13762: # (2) before a word containing "conftest.", or (3) at the end.
! 13763: # Note that $ac_compile itself does not contain backslashes and begins
! 13764: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13765: lt_compile=`echo "$ac_compile" | $SED \
! 13766: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13767: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13768: -e 's:$: $lt_compiler_flag:'`
! 13769: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 13770: (eval "$lt_compile" 2>out/conftest.err)
! 13771: ac_status=$?
! 13772: cat out/conftest.err >&5
! 13773: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13774: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 13775: then
! 13776: # The compiler can only warn and ignore the option if not recognized
! 13777: # So say no if there are warnings
! 13778: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 13779: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 13780: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 13781: lt_cv_prog_compiler_c_o_CXX=yes
! 13782: fi
! 13783: fi
! 13784: chmod u+w . 2>&5
! 13785: $RM conftest*
! 13786: # SGI C++ compiler will create directory out/ii_files/ for
! 13787: # template instantiation
! 13788: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 13789: $RM out/* && rmdir out
! 13790: cd ..
! 13791: $RM -r conftest
! 13792: $RM conftest*
! 13793:
! 13794: fi
! 13795: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 13796: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 13797:
! 13798:
! 13799:
! 13800: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 13801: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 13802: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 13803: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13804: else
! 13805: lt_cv_prog_compiler_c_o_CXX=no
! 13806: $RM -r conftest 2>/dev/null
! 13807: mkdir conftest
! 13808: cd conftest
! 13809: mkdir out
! 13810: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13811:
! 13812: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 13813: # Insert the option either (1) after the last *FLAGS variable, or
! 13814: # (2) before a word containing "conftest.", or (3) at the end.
! 13815: # Note that $ac_compile itself does not contain backslashes and begins
! 13816: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13817: lt_compile=`echo "$ac_compile" | $SED \
! 13818: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13819: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13820: -e 's:$: $lt_compiler_flag:'`
! 13821: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 13822: (eval "$lt_compile" 2>out/conftest.err)
! 13823: ac_status=$?
! 13824: cat out/conftest.err >&5
! 13825: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13826: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 13827: then
! 13828: # The compiler can only warn and ignore the option if not recognized
! 13829: # So say no if there are warnings
! 13830: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 13831: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 13832: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 13833: lt_cv_prog_compiler_c_o_CXX=yes
! 13834: fi
! 13835: fi
! 13836: chmod u+w . 2>&5
! 13837: $RM conftest*
! 13838: # SGI C++ compiler will create directory out/ii_files/ for
! 13839: # template instantiation
! 13840: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 13841: $RM out/* && rmdir out
! 13842: cd ..
! 13843: $RM -r conftest
! 13844: $RM conftest*
! 13845:
! 13846: fi
! 13847: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 13848: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 13849:
! 13850:
! 13851:
! 13852:
! 13853: hard_links="nottested"
! 13854: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
! 13855: # do not overwrite the value of need_locks provided by the user
! 13856: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 13857: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 13858: hard_links=yes
! 13859: $RM conftest*
! 13860: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13861: touch conftest.a
! 13862: ln conftest.a conftest.b 2>&5 || hard_links=no
! 13863: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13864: echo "$as_me:$LINENO: result: $hard_links" >&5
! 13865: echo "${ECHO_T}$hard_links" >&6
! 13866: if test "$hard_links" = no; then
! 13867: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 13868: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 13869: need_locks=warn
! 13870: fi
! 13871: else
! 13872: need_locks=no
! 13873: fi
! 13874:
! 13875:
! 13876:
! 13877: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 13878: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 13879:
! 13880: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13881: exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 13882: case $host_os in
! 13883: aix[4-9]*)
! 13884: # If we're using GNU nm, then we don't want the "-C" option.
! 13885: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 13886: # Also, AIX nm treats weak defined symbols like other global defined
! 13887: # symbols, whereas GNU nm marks them as "W".
! 13888: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 13889: export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 13890: else
! 13891: export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 13892: fi
! 13893: ;;
! 13894: pw32*)
! 13895: export_symbols_cmds_CXX="$ltdll_cmds"
! 13896: ;;
! 13897: cygwin* | mingw* | cegcc*)
! 13898: case $cc_basename in
! 13899: cl*)
! 13900: exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 13901: ;;
! 13902: *)
! 13903: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
! 13904: exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 13905: ;;
! 13906: esac
! 13907: ;;
! 13908: *)
! 13909: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13910: ;;
! 13911: esac
! 13912:
! 13913: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 13914: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 13915: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 13916:
! 13917: with_gnu_ld_CXX=$with_gnu_ld
! 13918:
! 13919:
! 13920:
! 13921:
! 13922:
! 13923:
! 13924: #
! 13925: # Do we need to explicitly link libc?
! 13926: #
! 13927: case "x$archive_cmds_need_lc_CXX" in
! 13928: x|xyes)
! 13929: # Assume -lc should be added
! 13930: archive_cmds_need_lc_CXX=yes
! 13931:
! 13932: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 13933: case $archive_cmds_CXX in
! 13934: *'~'*)
! 13935: # FIXME: we may have to deal with multi-command sequences.
! 13936: ;;
! 13937: '$CC '*)
! 13938: # Test whether the compiler implicitly links with -lc since on some
! 13939: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 13940: # to ld, don't add -lc before -lgcc.
! 13941: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 13942: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 13943: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
! 13944: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13945: else
! 13946: $RM conftest*
! 13947: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13948:
! 13949: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 13950: (eval $ac_compile) 2>&5
! 13951: ac_status=$?
! 13952: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13953: (exit $ac_status); } 2>conftest.err; then
! 13954: soname=conftest
! 13955: lib=conftest
! 13956: libobjs=conftest.$ac_objext
! 13957: deplibs=
! 13958: wl=$lt_prog_compiler_wl_CXX
! 13959: pic_flag=$lt_prog_compiler_pic_CXX
! 13960: compiler_flags=-v
! 13961: linker_flags=-v
! 13962: verstring=
! 13963: output_objdir=.
! 13964: libname=conftest
! 13965: lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
! 13966: allow_undefined_flag_CXX=
! 13967: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 13968: (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 13969: ac_status=$?
! 13970: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13971: (exit $ac_status); }
! 13972: then
! 13973: lt_cv_archive_cmds_need_lc_CXX=no
! 13974: else
! 13975: lt_cv_archive_cmds_need_lc_CXX=yes
! 13976: fi
! 13977: allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
! 13978: else
! 13979: cat conftest.err 1>&5
! 13980: fi
! 13981: $RM conftest*
! 13982:
! 13983: fi
! 13984: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
! 13985: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
! 13986: archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
! 13987: ;;
! 13988: esac
! 13989: fi
! 13990: ;;
! 13991: esac
! 13992:
! 13993:
! 13994:
! 13995:
! 13996:
! 13997:
! 13998:
! 13999:
! 14000:
! 14001:
! 14002:
! 14003:
! 14004:
! 14005:
! 14006:
! 14007:
! 14008:
! 14009:
! 14010:
! 14011:
! 14012:
! 14013:
! 14014:
! 14015:
! 14016:
! 14017:
! 14018:
! 14019:
! 14020:
! 14021:
! 14022:
! 14023:
! 14024:
! 14025:
! 14026:
! 14027:
! 14028:
! 14029:
! 14030:
! 14031:
! 14032:
! 14033:
! 14034:
! 14035:
! 14036:
! 14037:
! 14038:
! 14039:
! 14040:
! 14041:
! 14042:
! 14043:
! 14044:
! 14045:
! 14046:
! 14047:
! 14048:
! 14049:
! 14050:
! 14051:
! 14052:
! 14053:
! 14054: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 14055: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 14056:
! 14057: library_names_spec=
! 14058: libname_spec='lib$name'
! 14059: soname_spec=
! 14060: shrext_cmds=".so"
! 14061: postinstall_cmds=
! 14062: postuninstall_cmds=
! 14063: finish_cmds=
! 14064: finish_eval=
! 14065: shlibpath_var=
! 14066: shlibpath_overrides_runpath=unknown
! 14067: version_type=none
! 14068: dynamic_linker="$host_os ld.so"
! 14069: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 14070: need_lib_prefix=unknown
! 14071: hardcode_into_libs=no
! 14072:
! 14073: # when you set need_version to no, make sure it does not cause -set_version
! 14074: # flags to be left without arguments
! 14075: need_version=unknown
! 14076:
! 14077: case $host_os in
! 14078: aix3*)
! 14079: version_type=linux # correct to gnu/linux during the next big refactor
! 14080: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 14081: shlibpath_var=LIBPATH
! 14082:
! 14083: # AIX 3 has no versioning support, so we append a major version to the name.
! 14084: soname_spec='${libname}${release}${shared_ext}$major'
! 14085: ;;
! 14086:
! 14087: aix[4-9]*)
! 14088: version_type=linux # correct to gnu/linux during the next big refactor
! 14089: need_lib_prefix=no
! 14090: need_version=no
! 14091: hardcode_into_libs=yes
! 14092: if test "$host_cpu" = ia64; then
! 14093: # AIX 5 supports IA64
! 14094: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 14095: shlibpath_var=LD_LIBRARY_PATH
! 14096: else
! 14097: # With GCC up to 2.95.x, collect2 would create an import file
! 14098: # for dependence libraries. The import file would start with
! 14099: # the line `#! .'. This would cause the generated library to
! 14100: # depend on `.', always an invalid library. This was fixed in
! 14101: # development snapshots of GCC prior to 3.0.
! 14102: case $host_os in
! 14103: aix4 | aix4.[01] | aix4.[01].*)
! 14104: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 14105: echo ' yes '
! 14106: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 14107: :
! 14108: else
! 14109: can_build_shared=no
! 14110: fi
! 14111: ;;
! 14112: esac
! 14113: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 14114: # soname into executable. Probably we can add versioning support to
! 14115: # collect2, so additional links can be useful in future.
! 14116: if test "$aix_use_runtimelinking" = yes; then
! 14117: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 14118: # instead of lib<name>.a to let people know that these are not
! 14119: # typical AIX shared libraries.
! 14120: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14121: else
! 14122: # We preserve .a as extension for shared libraries through AIX4.2
! 14123: # and later when we are not doing run time linking.
! 14124: library_names_spec='${libname}${release}.a $libname.a'
! 14125: soname_spec='${libname}${release}${shared_ext}$major'
! 14126: fi
! 14127: shlibpath_var=LIBPATH
! 14128: fi
! 14129: ;;
! 14130:
! 14131: amigaos*)
! 14132: case $host_cpu in
! 14133: powerpc)
! 14134: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 14135: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 14136: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14137: ;;
! 14138: m68k)
! 14139: library_names_spec='$libname.ixlibrary $libname.a'
! 14140: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 14141: 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'
! 14142: ;;
! 14143: esac
! 14144: ;;
! 14145:
! 14146: beos*)
! 14147: library_names_spec='${libname}${shared_ext}'
! 14148: dynamic_linker="$host_os ld.so"
! 14149: shlibpath_var=LIBRARY_PATH
! 14150: ;;
! 14151:
! 14152: bsdi[45]*)
! 14153: version_type=linux # correct to gnu/linux during the next big refactor
! 14154: need_version=no
! 14155: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14156: soname_spec='${libname}${release}${shared_ext}$major'
! 14157: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 14158: shlibpath_var=LD_LIBRARY_PATH
! 14159: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 14160: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 14161: # the default ld.so.conf also contains /usr/contrib/lib and
! 14162: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 14163: # libtool to hard-code these into programs
! 14164: ;;
! 14165:
! 14166: cygwin* | mingw* | pw32* | cegcc*)
! 14167: version_type=windows
! 14168: shrext_cmds=".dll"
! 14169: need_version=no
! 14170: need_lib_prefix=no
! 14171:
! 14172: case $GCC,$cc_basename in
! 14173: yes,*)
! 14174: # gcc
! 14175: library_names_spec='$libname.dll.a'
! 14176: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14177: postinstall_cmds='base_file=`basename \${file}`~
! 14178: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 14179: dldir=$destdir/`dirname \$dlpath`~
! 14180: test -d \$dldir || mkdir -p \$dldir~
! 14181: $install_prog $dir/$dlname \$dldir/$dlname~
! 14182: chmod a+x \$dldir/$dlname~
! 14183: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 14184: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 14185: fi'
! 14186: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14187: dlpath=$dir/\$dldll~
! 14188: $RM \$dlpath'
! 14189: shlibpath_overrides_runpath=yes
! 14190:
! 14191: case $host_os in
! 14192: cygwin*)
! 14193: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 14194: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14195:
! 14196: ;;
! 14197: mingw* | cegcc*)
! 14198: # MinGW DLLs use traditional 'lib' prefix
! 14199: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14200: ;;
! 14201: pw32*)
! 14202: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 14203: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14204: ;;
! 14205: esac
! 14206: dynamic_linker='Win32 ld.exe'
! 14207: ;;
! 14208:
! 14209: *,cl*)
! 14210: # Native MSVC
! 14211: libname_spec='$name'
! 14212: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14213: library_names_spec='${libname}.dll.lib'
! 14214:
! 14215: case $build_os in
! 14216: mingw*)
! 14217: sys_lib_search_path_spec=
! 14218: lt_save_ifs=$IFS
! 14219: IFS=';'
! 14220: for lt_path in $LIB
! 14221: do
! 14222: IFS=$lt_save_ifs
! 14223: # Let DOS variable expansion print the short 8.3 style file name.
! 14224: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 14225: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 14226: done
! 14227: IFS=$lt_save_ifs
! 14228: # Convert to MSYS style.
! 14229: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 14230: ;;
! 14231: cygwin*)
! 14232: # Convert to unix form, then to dos form, then back to unix form
! 14233: # but this time dos style (no spaces!) so that the unix form looks
! 14234: # like /cygdrive/c/PROGRA~1:/cygdr...
! 14235: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 14236: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 14237: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14238: ;;
! 14239: *)
! 14240: sys_lib_search_path_spec="$LIB"
! 14241: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 14242: # It is most probably a Windows format PATH.
! 14243: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 14244: else
! 14245: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14246: fi
! 14247: # FIXME: find the short name or the path components, as spaces are
! 14248: # common. (e.g. "Program Files" -> "PROGRA~1")
! 14249: ;;
! 14250: esac
! 14251:
! 14252: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14253: postinstall_cmds='base_file=`basename \${file}`~
! 14254: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 14255: dldir=$destdir/`dirname \$dlpath`~
! 14256: test -d \$dldir || mkdir -p \$dldir~
! 14257: $install_prog $dir/$dlname \$dldir/$dlname'
! 14258: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14259: dlpath=$dir/\$dldll~
! 14260: $RM \$dlpath'
! 14261: shlibpath_overrides_runpath=yes
! 14262: dynamic_linker='Win32 link.exe'
! 14263: ;;
! 14264:
! 14265: *)
! 14266: # Assume MSVC wrapper
! 14267: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 14268: dynamic_linker='Win32 ld.exe'
! 14269: ;;
! 14270: esac
! 14271: # FIXME: first we should search . and the directory the executable is in
! 14272: shlibpath_var=PATH
! 14273: ;;
! 14274:
! 14275: darwin* | rhapsody*)
! 14276: dynamic_linker="$host_os dyld"
! 14277: version_type=darwin
! 14278: need_lib_prefix=no
! 14279: need_version=no
! 14280: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 14281: soname_spec='${libname}${release}${major}$shared_ext'
! 14282: shlibpath_overrides_runpath=yes
! 14283: shlibpath_var=DYLD_LIBRARY_PATH
! 14284: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 14285:
! 14286: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 14287: ;;
! 14288:
! 14289: dgux*)
! 14290: version_type=linux # correct to gnu/linux during the next big refactor
! 14291: need_lib_prefix=no
! 14292: need_version=no
! 14293: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 14294: soname_spec='${libname}${release}${shared_ext}$major'
! 14295: shlibpath_var=LD_LIBRARY_PATH
! 14296: ;;
! 14297:
! 14298: freebsd* | dragonfly*)
! 14299: # DragonFly does not have aout. When/if they implement a new
! 14300: # versioning mechanism, adjust this.
! 14301: if test -x /usr/bin/objformat; then
! 14302: objformat=`/usr/bin/objformat`
! 14303: else
! 14304: case $host_os in
! 14305: freebsd[23].*) objformat=aout ;;
! 14306: *) objformat=elf ;;
! 14307: esac
! 14308: fi
! 14309: version_type=freebsd-$objformat
! 14310: case $version_type in
! 14311: freebsd-elf*)
! 14312: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14313: need_version=no
! 14314: need_lib_prefix=no
! 14315: ;;
! 14316: freebsd-*)
! 14317: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 14318: need_version=yes
! 14319: ;;
! 14320: esac
! 14321: shlibpath_var=LD_LIBRARY_PATH
! 14322: case $host_os in
! 14323: freebsd2.*)
! 14324: shlibpath_overrides_runpath=yes
! 14325: ;;
! 14326: freebsd3.[01]* | freebsdelf3.[01]*)
! 14327: shlibpath_overrides_runpath=yes
! 14328: hardcode_into_libs=yes
! 14329: ;;
! 14330: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 14331: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 14332: shlibpath_overrides_runpath=no
! 14333: hardcode_into_libs=yes
! 14334: ;;
! 14335: *) # from 4.6 on, and DragonFly
! 14336: shlibpath_overrides_runpath=yes
! 14337: hardcode_into_libs=yes
! 14338: ;;
! 14339: esac
! 14340: ;;
! 14341:
! 14342: gnu*)
! 14343: version_type=linux # correct to gnu/linux during the next big refactor
! 14344: need_lib_prefix=no
! 14345: need_version=no
! 14346: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14347: soname_spec='${libname}${release}${shared_ext}$major'
! 14348: shlibpath_var=LD_LIBRARY_PATH
! 14349: shlibpath_overrides_runpath=no
! 14350: hardcode_into_libs=yes
! 14351: ;;
! 14352:
! 14353: haiku*)
! 14354: version_type=linux # correct to gnu/linux during the next big refactor
! 14355: need_lib_prefix=no
! 14356: need_version=no
! 14357: dynamic_linker="$host_os runtime_loader"
! 14358: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14359: soname_spec='${libname}${release}${shared_ext}$major'
! 14360: shlibpath_var=LIBRARY_PATH
! 14361: shlibpath_overrides_runpath=yes
! 14362: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 14363: hardcode_into_libs=yes
! 14364: ;;
! 14365:
! 14366: hpux9* | hpux10* | hpux11*)
! 14367: # Give a soname corresponding to the major version so that dld.sl refuses to
! 14368: # link against other versions.
! 14369: version_type=sunos
! 14370: need_lib_prefix=no
! 14371: need_version=no
! 14372: case $host_cpu in
! 14373: ia64*)
! 14374: shrext_cmds='.so'
! 14375: hardcode_into_libs=yes
! 14376: dynamic_linker="$host_os dld.so"
! 14377: shlibpath_var=LD_LIBRARY_PATH
! 14378: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14379: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14380: soname_spec='${libname}${release}${shared_ext}$major'
! 14381: if test "X$HPUX_IA64_MODE" = X32; then
! 14382: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 14383: else
! 14384: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 14385: fi
! 14386: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14387: ;;
! 14388: hppa*64*)
! 14389: shrext_cmds='.sl'
! 14390: hardcode_into_libs=yes
! 14391: dynamic_linker="$host_os dld.sl"
! 14392: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 14393: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14394: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14395: soname_spec='${libname}${release}${shared_ext}$major'
! 14396: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 14397: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14398: ;;
! 14399: *)
! 14400: shrext_cmds='.sl'
! 14401: dynamic_linker="$host_os dld.sl"
! 14402: shlibpath_var=SHLIB_PATH
! 14403: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 14404: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14405: soname_spec='${libname}${release}${shared_ext}$major'
! 14406: ;;
! 14407: esac
! 14408: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 14409: postinstall_cmds='chmod 555 $lib'
! 14410: # or fails outright, so override atomically:
! 14411: install_override_mode=555
! 14412: ;;
! 14413:
! 14414: interix[3-9]*)
! 14415: version_type=linux # correct to gnu/linux during the next big refactor
! 14416: need_lib_prefix=no
! 14417: need_version=no
! 14418: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14419: soname_spec='${libname}${release}${shared_ext}$major'
! 14420: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 14421: shlibpath_var=LD_LIBRARY_PATH
! 14422: shlibpath_overrides_runpath=no
! 14423: hardcode_into_libs=yes
! 14424: ;;
! 14425:
! 14426: irix5* | irix6* | nonstopux*)
! 14427: case $host_os in
! 14428: nonstopux*) version_type=nonstopux ;;
! 14429: *)
! 14430: if test "$lt_cv_prog_gnu_ld" = yes; then
! 14431: version_type=linux # correct to gnu/linux during the next big refactor
! 14432: else
! 14433: version_type=irix
! 14434: fi ;;
! 14435: esac
! 14436: need_lib_prefix=no
! 14437: need_version=no
! 14438: soname_spec='${libname}${release}${shared_ext}$major'
! 14439: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14440: case $host_os in
! 14441: irix5* | nonstopux*)
! 14442: libsuff= shlibsuff=
! 14443: ;;
! 14444: *)
! 14445: case $LD in # libtool.m4 will add one of these switches to LD
! 14446: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 14447: libsuff= shlibsuff= libmagic=32-bit;;
! 14448: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 14449: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 14450: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 14451: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 14452: *) libsuff= shlibsuff= libmagic=never-match;;
! 14453: esac
! 14454: ;;
! 14455: esac
! 14456: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 14457: shlibpath_overrides_runpath=no
! 14458: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 14459: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 14460: hardcode_into_libs=yes
! 14461: ;;
! 14462:
! 14463: # No shared lib support for Linux oldld, aout, or coff.
! 14464: linux*oldld* | linux*aout* | linux*coff*)
! 14465: dynamic_linker=no
! 14466: ;;
! 14467:
! 14468: # This must be glibc/ELF.
! 14469: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 14470: version_type=linux # correct to gnu/linux during the next big refactor
! 14471: need_lib_prefix=no
! 14472: need_version=no
! 14473: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14474: soname_spec='${libname}${release}${shared_ext}$major'
! 14475: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 14476: shlibpath_var=LD_LIBRARY_PATH
! 14477: shlibpath_overrides_runpath=no
! 14478:
! 14479: # Some binutils ld are patched to set DT_RUNPATH
! 14480: if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
! 14481: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14482: else
! 14483: lt_cv_shlibpath_overrides_runpath=no
! 14484: save_LDFLAGS=$LDFLAGS
! 14485: save_libdir=$libdir
! 14486: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
! 14487: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
! 14488: cat >conftest.$ac_ext <<_ACEOF
! 14489: /* confdefs.h. */
! 14490: _ACEOF
! 14491: cat confdefs.h >>conftest.$ac_ext
! 14492: cat >>conftest.$ac_ext <<_ACEOF
! 14493: /* end confdefs.h. */
! 14494:
! 14495: int
! 14496: main ()
! 14497: {
! 14498:
! 14499: ;
! 14500: return 0;
! 14501: }
! 14502: _ACEOF
! 14503: rm -f conftest.$ac_objext conftest$ac_exeext
! 14504: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 14505: (eval $ac_link) 2>conftest.er1
! 14506: ac_status=$?
! 14507: grep -v '^ *+' conftest.er1 >conftest.err
! 14508: rm -f conftest.er1
! 14509: cat conftest.err >&5
! 14510: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14511: (exit $ac_status); } &&
! 14512: { ac_try='test -z "$ac_cxx_werror_flag"
! 14513: || test ! -s conftest.err'
! 14514: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 14515: (eval $ac_try) 2>&5
! 14516: ac_status=$?
! 14517: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14518: (exit $ac_status); }; } &&
! 14519: { ac_try='test -s conftest$ac_exeext'
! 14520: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 14521: (eval $ac_try) 2>&5
! 14522: ac_status=$?
! 14523: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14524: (exit $ac_status); }; }; then
! 14525: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 14526: lt_cv_shlibpath_overrides_runpath=yes
! 14527: fi
! 14528:
! 14529: else
! 14530: echo "$as_me: failed program was:" >&5
! 14531: sed 's/^/| /' conftest.$ac_ext >&5
! 14532:
! 14533: fi
! 14534: rm -f conftest.err conftest.$ac_objext \
! 14535: conftest$ac_exeext conftest.$ac_ext
! 14536: LDFLAGS=$save_LDFLAGS
! 14537: libdir=$save_libdir
! 14538:
! 14539: fi
! 14540:
! 14541: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 14542:
! 14543: # This implies no fast_install, which is unacceptable.
! 14544: # Some rework will be needed to allow for fast_install
! 14545: # before this can be enabled.
! 14546: hardcode_into_libs=yes
! 14547:
! 14548: # Append ld.so.conf contents to the search path
! 14549: if test -f /etc/ld.so.conf; then
! 14550: 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' ' '`
! 14551: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 14552: fi
! 14553:
! 14554: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 14555: # powerpc, because MkLinux only supported shared libraries with the
! 14556: # GNU dynamic linker. Since this was broken with cross compilers,
! 14557: # most powerpc-linux boxes support dynamic linking these days and
! 14558: # people can always --disable-shared, the test was removed, and we
! 14559: # assume the GNU/Linux dynamic linker is in use.
! 14560: dynamic_linker='GNU/Linux ld.so'
! 14561: ;;
! 14562:
! 14563: netbsd*)
! 14564: version_type=sunos
! 14565: need_lib_prefix=no
! 14566: need_version=no
! 14567: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 14568: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14569: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14570: dynamic_linker='NetBSD (a.out) ld.so'
! 14571: else
! 14572: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14573: soname_spec='${libname}${release}${shared_ext}$major'
! 14574: dynamic_linker='NetBSD ld.elf_so'
! 14575: fi
! 14576: shlibpath_var=LD_LIBRARY_PATH
! 14577: shlibpath_overrides_runpath=yes
! 14578: hardcode_into_libs=yes
! 14579: ;;
! 14580:
! 14581: newsos6)
! 14582: version_type=linux # correct to gnu/linux during the next big refactor
! 14583: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14584: shlibpath_var=LD_LIBRARY_PATH
! 14585: shlibpath_overrides_runpath=yes
! 14586: ;;
! 14587:
! 14588: *nto* | *qnx*)
! 14589: version_type=qnx
! 14590: need_lib_prefix=no
! 14591: need_version=no
! 14592: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14593: soname_spec='${libname}${release}${shared_ext}$major'
! 14594: shlibpath_var=LD_LIBRARY_PATH
! 14595: shlibpath_overrides_runpath=no
! 14596: hardcode_into_libs=yes
! 14597: dynamic_linker='ldqnx.so'
! 14598: ;;
! 14599:
! 14600: openbsd*)
! 14601: version_type=sunos
! 14602: sys_lib_dlsearch_path_spec="/usr/lib"
! 14603: need_lib_prefix=no
! 14604: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 14605: case $host_os in
! 14606: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 14607: *) need_version=no ;;
! 14608: esac
! 14609: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14610: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14611: shlibpath_var=LD_LIBRARY_PATH
! 14612: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 14613: case $host_os in
! 14614: openbsd2.[89] | openbsd2.[89].*)
! 14615: shlibpath_overrides_runpath=no
! 14616: ;;
! 14617: *)
! 14618: shlibpath_overrides_runpath=yes
! 14619: ;;
! 14620: esac
! 14621: else
! 14622: shlibpath_overrides_runpath=yes
! 14623: fi
! 14624: ;;
! 14625:
! 14626: os2*)
! 14627: libname_spec='$name'
! 14628: shrext_cmds=".dll"
! 14629: need_lib_prefix=no
! 14630: library_names_spec='$libname${shared_ext} $libname.a'
! 14631: dynamic_linker='OS/2 ld.exe'
! 14632: shlibpath_var=LIBPATH
! 14633: ;;
! 14634:
! 14635: osf3* | osf4* | osf5*)
! 14636: version_type=osf
! 14637: need_lib_prefix=no
! 14638: need_version=no
! 14639: soname_spec='${libname}${release}${shared_ext}$major'
! 14640: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14641: shlibpath_var=LD_LIBRARY_PATH
! 14642: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 14643: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 14644: ;;
! 14645:
! 14646: rdos*)
! 14647: dynamic_linker=no
! 14648: ;;
! 14649:
! 14650: solaris*)
! 14651: version_type=linux # correct to gnu/linux during the next big refactor
! 14652: need_lib_prefix=no
! 14653: need_version=no
! 14654: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14655: soname_spec='${libname}${release}${shared_ext}$major'
! 14656: shlibpath_var=LD_LIBRARY_PATH
! 14657: shlibpath_overrides_runpath=yes
! 14658: hardcode_into_libs=yes
! 14659: # ldd complains unless libraries are executable
! 14660: postinstall_cmds='chmod +x $lib'
! 14661: ;;
! 14662:
! 14663: sunos4*)
! 14664: version_type=sunos
! 14665: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14666: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 14667: shlibpath_var=LD_LIBRARY_PATH
! 14668: shlibpath_overrides_runpath=yes
! 14669: if test "$with_gnu_ld" = yes; then
! 14670: need_lib_prefix=no
! 14671: fi
! 14672: need_version=yes
! 14673: ;;
! 14674:
! 14675: sysv4 | sysv4.3*)
! 14676: version_type=linux # correct to gnu/linux during the next big refactor
! 14677: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14678: soname_spec='${libname}${release}${shared_ext}$major'
! 14679: shlibpath_var=LD_LIBRARY_PATH
! 14680: case $host_vendor in
! 14681: sni)
! 14682: shlibpath_overrides_runpath=no
! 14683: need_lib_prefix=no
! 14684: runpath_var=LD_RUN_PATH
! 14685: ;;
! 14686: siemens)
! 14687: need_lib_prefix=no
! 14688: ;;
! 14689: motorola)
! 14690: need_lib_prefix=no
! 14691: need_version=no
! 14692: shlibpath_overrides_runpath=no
! 14693: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 14694: ;;
! 14695: esac
! 14696: ;;
! 14697:
! 14698: sysv4*MP*)
! 14699: if test -d /usr/nec ;then
! 14700: version_type=linux # correct to gnu/linux during the next big refactor
! 14701: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 14702: soname_spec='$libname${shared_ext}.$major'
! 14703: shlibpath_var=LD_LIBRARY_PATH
! 14704: fi
! 14705: ;;
! 14706:
! 14707: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 14708: version_type=freebsd-elf
! 14709: need_lib_prefix=no
! 14710: need_version=no
! 14711: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14712: soname_spec='${libname}${release}${shared_ext}$major'
! 14713: shlibpath_var=LD_LIBRARY_PATH
! 14714: shlibpath_overrides_runpath=yes
! 14715: hardcode_into_libs=yes
! 14716: if test "$with_gnu_ld" = yes; then
! 14717: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 14718: else
! 14719: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 14720: case $host_os in
! 14721: sco3.2v5*)
! 14722: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 14723: ;;
! 14724: esac
! 14725: fi
! 14726: sys_lib_dlsearch_path_spec='/usr/lib'
! 14727: ;;
! 14728:
! 14729: tpf*)
! 14730: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 14731: version_type=linux # correct to gnu/linux during the next big refactor
! 14732: need_lib_prefix=no
! 14733: need_version=no
! 14734: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14735: shlibpath_var=LD_LIBRARY_PATH
! 14736: shlibpath_overrides_runpath=no
! 14737: hardcode_into_libs=yes
! 14738: ;;
! 14739:
! 14740: uts4*)
! 14741: version_type=linux # correct to gnu/linux during the next big refactor
! 14742: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14743: soname_spec='${libname}${release}${shared_ext}$major'
! 14744: shlibpath_var=LD_LIBRARY_PATH
! 14745: ;;
! 14746:
! 14747: *)
! 14748: dynamic_linker=no
! 14749: ;;
! 14750: esac
! 14751: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 14752: echo "${ECHO_T}$dynamic_linker" >&6
! 14753: test "$dynamic_linker" = no && can_build_shared=no
! 14754:
! 14755: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 14756: if test "$GCC" = yes; then
! 14757: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 14758: fi
! 14759:
! 14760: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 14761: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 14762: fi
! 14763: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 14764: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 14765: fi
! 14766:
! 14767:
! 14768:
! 14769:
! 14770:
! 14771:
! 14772:
! 14773:
! 14774:
! 14775:
! 14776:
! 14777:
! 14778:
! 14779:
! 14780:
! 14781:
! 14782:
! 14783:
! 14784:
! 14785:
! 14786:
! 14787:
! 14788:
! 14789:
! 14790:
! 14791:
! 14792:
! 14793:
! 14794:
! 14795:
! 14796:
! 14797:
! 14798:
! 14799:
! 14800:
! 14801:
! 14802:
! 14803:
! 14804: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 14805: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 14806: hardcode_action_CXX=
! 14807: if test -n "$hardcode_libdir_flag_spec_CXX" ||
! 14808: test -n "$runpath_var_CXX" ||
! 14809: test "X$hardcode_automatic_CXX" = "Xyes" ; then
! 14810:
! 14811: # We can hardcode non-existent directories.
! 14812: if test "$hardcode_direct_CXX" != no &&
! 14813: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 14814: # have to relink, otherwise we might link with an installed library
! 14815: # when we should be linking with a yet-to-be-installed one
! 14816: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
! 14817: test "$hardcode_minus_L_CXX" != no; then
! 14818: # Linking always hardcodes the temporary library directory.
! 14819: hardcode_action_CXX=relink
! 14820: else
! 14821: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 14822: hardcode_action_CXX=immediate
! 14823: fi
! 14824: else
! 14825: # We cannot hardcode anything, or else we can only hardcode existing
! 14826: # directories.
! 14827: hardcode_action_CXX=unsupported
! 14828: fi
! 14829: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
! 14830: echo "${ECHO_T}$hardcode_action_CXX" >&6
! 14831:
! 14832: if test "$hardcode_action_CXX" = relink ||
! 14833: test "$inherit_rpath_CXX" = yes; then
! 14834: # Fast installation is not supported
! 14835: enable_fast_install=no
! 14836: elif test "$shlibpath_overrides_runpath" = yes ||
! 14837: test "$enable_shared" = no; then
! 14838: # Fast installation is not necessary
! 14839: enable_fast_install=needless
! 14840: fi
! 14841:
! 14842:
! 14843:
! 14844:
! 14845:
! 14846:
! 14847:
! 14848: fi # test -n "$compiler"
! 14849:
! 14850: CC=$lt_save_CC
! 14851: CFLAGS=$lt_save_CFLAGS
! 14852: LDCXX=$LD
! 14853: LD=$lt_save_LD
! 14854: GCC=$lt_save_GCC
! 14855: with_gnu_ld=$lt_save_with_gnu_ld
! 14856: lt_cv_path_LDCXX=$lt_cv_path_LD
! 14857: lt_cv_path_LD=$lt_save_path_LD
! 14858: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
! 14859: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
! 14860: fi # test "$_lt_caught_CXX_error" != yes
! 14861:
! 14862: ac_ext=c
! 14863: ac_cpp='$CPP $CPPFLAGS'
! 14864: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 14865: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 14866: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 14867:
! 14868:
! 14869:
! 14870:
! 14871:
! 14872:
! 14873:
! 14874:
! 14875:
! 14876:
! 14877:
! 14878:
! 14879:
! 14880:
! 14881:
! 14882: ac_config_commands="$ac_config_commands libtool"
! 14883:
! 14884:
! 14885:
! 14886:
! 14887: # Only expand once:
! 14888:
! 14889:
! 14890:
! 14891: case libltdl/m4 in
! 14892: [\\/]* | ?:[\\/]* ) ac_macro_dir=libltdl/m4 ;;
! 14893: *) ac_macro_dir=$srcdir/libltdl/m4 ;;
! 14894: esac
! 14895: if test -d "$ac_macro_dir"; then :
! 14896: else
! 14897: { { echo "$as_me:$LINENO: error: cannot find macro directory \`libltdl/m4'" >&5
! 14898: echo "$as_me: error: cannot find macro directory \`libltdl/m4'" >&2;}
! 14899: { (exit 1); exit 1; }; }
! 14900: fi
! 14901:
! 14902:
! 14903:
! 14904:
! 14905:
! 14906:
! 14907:
! 14908:
! 14909:
! 14910:
! 14911:
! 14912:
! 14913:
! 14914: case $enable_ltdl_convenience in
! 14915: no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
! 14916: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
! 14917: { (exit 1); exit 1; }; } ;;
! 14918: "") enable_ltdl_convenience=yes
! 14919: ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
! 14920: esac
! 14921: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
! 14922: LTDLDEPS=$LIBLTDL
! 14923: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
! 14924:
! 14925:
! 14926:
! 14927:
! 14928:
! 14929: # For backwards non-gettext consistent compatibility...
! 14930: INCLTDL="$LTDLINCL"
! 14931:
! 14932:
! 14933:
! 14934:
! 14935:
! 14936: # Check whether --enable-static or --disable-static was given.
! 14937: if test "${enable_static+set}" = set; then
! 14938: enableval="$enable_static"
! 14939: p=${PACKAGE-default}
! 14940: case $enableval in
! 14941: yes) enable_static=yes ;;
! 14942: no) enable_static=no ;;
! 14943: *)
! 14944: enable_static=no
! 14945: # Look at the argument we got. We use all the common list separators.
! 14946: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 14947: for pkg in $enableval; do
! 14948: IFS="$lt_save_ifs"
! 14949: if test "X$pkg" = "X$p"; then
! 14950: enable_static=yes
! 14951: fi
! 14952: done
! 14953: IFS="$lt_save_ifs"
! 14954: ;;
! 14955: esac
! 14956: else
! 14957: enable_static=no
! 14958: fi;
! 14959:
! 14960:
! 14961:
! 14962:
! 14963:
! 14964: enable_win32_dll=yes
! 14965:
! 14966: case $host in
! 14967: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
! 14968: if test -n "$ac_tool_prefix"; then
! 14969: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
! 14970: set dummy ${ac_tool_prefix}as; ac_word=$2
! 14971: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 14972: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 14973: if test "${ac_cv_prog_AS+set}" = set; then
! 14974: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14975: else
! 14976: if test -n "$AS"; then
! 14977: ac_cv_prog_AS="$AS" # Let the user override the test.
! 14978: else
! 14979: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 14980: for as_dir in $PATH
! 14981: do
! 14982: IFS=$as_save_IFS
! 14983: test -z "$as_dir" && as_dir=.
! 14984: for ac_exec_ext in '' $ac_executable_extensions; do
! 14985: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 14986: ac_cv_prog_AS="${ac_tool_prefix}as"
! 14987: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 14988: break 2
! 14989: fi
! 14990: done
! 14991: done
! 14992:
! 14993: fi
! 14994: fi
! 14995: AS=$ac_cv_prog_AS
! 14996: if test -n "$AS"; then
! 14997: echo "$as_me:$LINENO: result: $AS" >&5
! 14998: echo "${ECHO_T}$AS" >&6
! 14999: else
! 15000: echo "$as_me:$LINENO: result: no" >&5
! 15001: echo "${ECHO_T}no" >&6
! 15002: fi
! 15003:
! 15004: fi
! 15005: if test -z "$ac_cv_prog_AS"; then
! 15006: ac_ct_AS=$AS
! 15007: # Extract the first word of "as", so it can be a program name with args.
! 15008: set dummy as; ac_word=$2
! 15009: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 15010: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 15011: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
! 15012: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15013: else
! 15014: if test -n "$ac_ct_AS"; then
! 15015: ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
! 15016: else
! 15017: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 15018: for as_dir in $PATH
! 15019: do
! 15020: IFS=$as_save_IFS
! 15021: test -z "$as_dir" && as_dir=.
! 15022: for ac_exec_ext in '' $ac_executable_extensions; do
! 15023: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 15024: ac_cv_prog_ac_ct_AS="as"
! 15025: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 15026: break 2
! 15027: fi
! 15028: done
! 15029: done
! 15030:
! 15031: test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
! 15032: fi
! 15033: fi
! 15034: ac_ct_AS=$ac_cv_prog_ac_ct_AS
! 15035: if test -n "$ac_ct_AS"; then
! 15036: echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
! 15037: echo "${ECHO_T}$ac_ct_AS" >&6
! 15038: else
! 15039: echo "$as_me:$LINENO: result: no" >&5
! 15040: echo "${ECHO_T}no" >&6
! 15041: fi
! 15042:
! 15043: AS=$ac_ct_AS
! 15044: else
! 15045: AS="$ac_cv_prog_AS"
! 15046: fi
! 15047:
! 15048: if test -n "$ac_tool_prefix"; then
! 15049: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 15050: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 15051: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 15052: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 15053: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
! 15054: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15055: else
! 15056: if test -n "$DLLTOOL"; then
! 15057: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 15058: else
! 15059: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 15060: for as_dir in $PATH
! 15061: do
! 15062: IFS=$as_save_IFS
! 15063: test -z "$as_dir" && as_dir=.
! 15064: for ac_exec_ext in '' $ac_executable_extensions; do
! 15065: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 15066: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 15067: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 15068: break 2
! 15069: fi
! 15070: done
! 15071: done
! 15072:
! 15073: fi
! 15074: fi
! 15075: DLLTOOL=$ac_cv_prog_DLLTOOL
! 15076: if test -n "$DLLTOOL"; then
! 15077: echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 15078: echo "${ECHO_T}$DLLTOOL" >&6
! 15079: else
! 15080: echo "$as_me:$LINENO: result: no" >&5
! 15081: echo "${ECHO_T}no" >&6
! 15082: fi
! 15083:
! 15084: fi
! 15085: if test -z "$ac_cv_prog_DLLTOOL"; then
! 15086: ac_ct_DLLTOOL=$DLLTOOL
! 15087: # Extract the first word of "dlltool", so it can be a program name with args.
! 15088: set dummy dlltool; ac_word=$2
! 15089: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 15090: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 15091: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
! 15092: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15093: else
! 15094: if test -n "$ac_ct_DLLTOOL"; then
! 15095: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 15096: else
! 15097: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 15098: for as_dir in $PATH
! 15099: do
! 15100: IFS=$as_save_IFS
! 15101: test -z "$as_dir" && as_dir=.
! 15102: for ac_exec_ext in '' $ac_executable_extensions; do
! 15103: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 15104: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 15105: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 15106: break 2
! 15107: fi
! 15108: done
! 15109: done
! 15110:
! 15111: test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
! 15112: fi
! 15113: fi
! 15114: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 15115: if test -n "$ac_ct_DLLTOOL"; then
! 15116: echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 15117: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
! 15118: else
! 15119: echo "$as_me:$LINENO: result: no" >&5
! 15120: echo "${ECHO_T}no" >&6
! 15121: fi
! 15122:
! 15123: DLLTOOL=$ac_ct_DLLTOOL
! 15124: else
! 15125: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 15126: fi
! 15127:
! 15128: if test -n "$ac_tool_prefix"; then
! 15129: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 15130: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 15131: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 15132: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 15133: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
! 15134: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15135: else
! 15136: if test -n "$OBJDUMP"; then
! 15137: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 15138: else
! 15139: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 15140: for as_dir in $PATH
! 15141: do
! 15142: IFS=$as_save_IFS
! 15143: test -z "$as_dir" && as_dir=.
! 15144: for ac_exec_ext in '' $ac_executable_extensions; do
! 15145: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 15146: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 15147: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 15148: break 2
! 15149: fi
! 15150: done
! 15151: done
! 15152:
! 15153: fi
! 15154: fi
! 15155: OBJDUMP=$ac_cv_prog_OBJDUMP
! 15156: if test -n "$OBJDUMP"; then
! 15157: echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 15158: echo "${ECHO_T}$OBJDUMP" >&6
! 15159: else
! 15160: echo "$as_me:$LINENO: result: no" >&5
! 15161: echo "${ECHO_T}no" >&6
! 15162: fi
! 15163:
! 15164: fi
! 15165: if test -z "$ac_cv_prog_OBJDUMP"; then
! 15166: ac_ct_OBJDUMP=$OBJDUMP
! 15167: # Extract the first word of "objdump", so it can be a program name with args.
! 15168: set dummy objdump; ac_word=$2
! 15169: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 15170: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 15171: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 15172: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15173: else
! 15174: if test -n "$ac_ct_OBJDUMP"; then
! 15175: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 15176: else
! 15177: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 15178: for as_dir in $PATH
! 15179: do
! 15180: IFS=$as_save_IFS
! 15181: test -z "$as_dir" && as_dir=.
! 15182: for ac_exec_ext in '' $ac_executable_extensions; do
! 15183: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 15184: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 15185: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 15186: break 2
! 15187: fi
! 15188: done
! 15189: done
! 15190:
! 15191: test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
! 15192: fi
! 15193: fi
! 15194: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 15195: if test -n "$ac_ct_OBJDUMP"; then
! 15196: echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 15197: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
! 15198: else
! 15199: echo "$as_me:$LINENO: result: no" >&5
! 15200: echo "${ECHO_T}no" >&6
! 15201: fi
! 15202:
! 15203: OBJDUMP=$ac_ct_OBJDUMP
! 15204: else
! 15205: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 15206: fi
! 15207:
! 15208: ;;
! 15209: esac
! 15210:
! 15211: test -z "$AS" && AS=as
! 15212:
! 15213:
! 15214:
! 15215:
! 15216:
! 15217: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 15218:
! 15219:
! 15220: test -z "$OBJDUMP" && OBJDUMP=objdump
! 15221:
! 15222:
! 15223:
! 15224:
! 15225:
! 15226:
! 15227: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
! 15228: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
! 15229: if test "${libltdl_cv_shlibext+set}" = set; then
! 15230: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15231: else
! 15232:
! 15233: module=yes
! 15234: eval libltdl_cv_shlibext=$shrext_cmds
! 15235: module=no
! 15236: eval libltdl_cv_shrext=$shrext_cmds
! 15237:
! 15238: fi
! 15239: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
! 15240: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
! 15241: if test -n "$libltdl_cv_shlibext"; then
! 15242:
! 15243: cat >>confdefs.h <<_ACEOF
! 15244: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
! 15245: _ACEOF
! 15246:
! 15247: fi
! 15248: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
! 15249:
! 15250: cat >>confdefs.h <<_ACEOF
! 15251: #define LT_SHARED_EXT "$libltdl_cv_shrext"
! 15252: _ACEOF
! 15253:
! 15254: fi
! 15255:
! 15256: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
! 15257: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
! 15258: if test "${lt_cv_module_path_var+set}" = set; then
! 15259: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15260: else
! 15261: lt_cv_module_path_var="$shlibpath_var"
! 15262: fi
! 15263: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
! 15264: echo "${ECHO_T}$lt_cv_module_path_var" >&6
! 15265: if test -n "$lt_cv_module_path_var"; then
! 15266:
! 15267: cat >>confdefs.h <<_ACEOF
! 15268: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
! 15269: _ACEOF
! 15270:
! 15271: fi
! 15272:
! 15273: echo "$as_me:$LINENO: checking for the default library search path" >&5
! 15274: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
! 15275: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
! 15276: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15277: else
! 15278: lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
! 15279: fi
! 15280: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
! 15281: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
! 15282: if test -n "$lt_cv_sys_dlsearch_path"; then
! 15283: sys_dlsearch_path=
! 15284: for dir in $lt_cv_sys_dlsearch_path; do
! 15285: if test -z "$sys_dlsearch_path"; then
! 15286: sys_dlsearch_path="$dir"
! 15287: else
! 15288: sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
! 15289: fi
! 15290: done
! 15291:
! 15292: cat >>confdefs.h <<_ACEOF
! 15293: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
! 15294: _ACEOF
! 15295:
! 15296: fi
! 15297:
! 15298:
! 15299: LT_DLLOADERS=
! 15300:
! 15301:
! 15302: ac_ext=c
! 15303: ac_cpp='$CPP $CPPFLAGS'
! 15304: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 15305: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 15306: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 15307:
! 15308:
! 15309: LIBADD_DLOPEN=
! 15310: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
! 15311: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
! 15312: if test "${ac_cv_search_dlopen+set}" = set; then
! 15313: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15314: else
! 15315: ac_func_search_save_LIBS=$LIBS
! 15316: ac_cv_search_dlopen=no
! 15317: cat >conftest.$ac_ext <<_ACEOF
! 15318: /* confdefs.h. */
! 15319: _ACEOF
! 15320: cat confdefs.h >>conftest.$ac_ext
! 15321: cat >>conftest.$ac_ext <<_ACEOF
! 15322: /* end confdefs.h. */
! 15323:
! 15324: /* Override any gcc2 internal prototype to avoid an error. */
! 15325: #ifdef __cplusplus
! 15326: extern "C"
! 15327: #endif
! 15328: /* We use char because int might match the return type of a gcc2
! 15329: builtin and then its argument prototype would still apply. */
! 15330: char dlopen ();
! 15331: int
! 15332: main ()
! 15333: {
! 15334: dlopen ();
! 15335: ;
! 15336: return 0;
! 15337: }
! 15338: _ACEOF
! 15339: rm -f conftest.$ac_objext conftest$ac_exeext
! 15340: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15341: (eval $ac_link) 2>conftest.er1
! 15342: ac_status=$?
! 15343: grep -v '^ *+' conftest.er1 >conftest.err
! 15344: rm -f conftest.er1
! 15345: cat conftest.err >&5
! 15346: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15347: (exit $ac_status); } &&
! 15348: { ac_try='test -z "$ac_c_werror_flag"
! 15349: || test ! -s conftest.err'
! 15350: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15351: (eval $ac_try) 2>&5
! 15352: ac_status=$?
! 15353: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15354: (exit $ac_status); }; } &&
! 15355: { ac_try='test -s conftest$ac_exeext'
! 15356: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15357: (eval $ac_try) 2>&5
! 15358: ac_status=$?
! 15359: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15360: (exit $ac_status); }; }; then
! 15361: ac_cv_search_dlopen="none required"
! 15362: else
! 15363: echo "$as_me: failed program was:" >&5
! 15364: sed 's/^/| /' conftest.$ac_ext >&5
! 15365:
! 15366: fi
! 15367: rm -f conftest.err conftest.$ac_objext \
! 15368: conftest$ac_exeext conftest.$ac_ext
! 15369: if test "$ac_cv_search_dlopen" = no; then
! 15370: for ac_lib in dl; do
! 15371: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 15372: cat >conftest.$ac_ext <<_ACEOF
! 15373: /* confdefs.h. */
! 15374: _ACEOF
! 15375: cat confdefs.h >>conftest.$ac_ext
! 15376: cat >>conftest.$ac_ext <<_ACEOF
! 15377: /* end confdefs.h. */
! 15378:
! 15379: /* Override any gcc2 internal prototype to avoid an error. */
! 15380: #ifdef __cplusplus
! 15381: extern "C"
! 15382: #endif
! 15383: /* We use char because int might match the return type of a gcc2
! 15384: builtin and then its argument prototype would still apply. */
! 15385: char dlopen ();
! 15386: int
! 15387: main ()
! 15388: {
! 15389: dlopen ();
! 15390: ;
! 15391: return 0;
! 15392: }
! 15393: _ACEOF
! 15394: rm -f conftest.$ac_objext conftest$ac_exeext
! 15395: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15396: (eval $ac_link) 2>conftest.er1
! 15397: ac_status=$?
! 15398: grep -v '^ *+' conftest.er1 >conftest.err
! 15399: rm -f conftest.er1
! 15400: cat conftest.err >&5
! 15401: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15402: (exit $ac_status); } &&
! 15403: { ac_try='test -z "$ac_c_werror_flag"
! 15404: || test ! -s conftest.err'
! 15405: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15406: (eval $ac_try) 2>&5
! 15407: ac_status=$?
! 15408: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15409: (exit $ac_status); }; } &&
! 15410: { ac_try='test -s conftest$ac_exeext'
! 15411: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15412: (eval $ac_try) 2>&5
! 15413: ac_status=$?
! 15414: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15415: (exit $ac_status); }; }; then
! 15416: ac_cv_search_dlopen="-l$ac_lib"
! 15417: break
! 15418: else
! 15419: echo "$as_me: failed program was:" >&5
! 15420: sed 's/^/| /' conftest.$ac_ext >&5
! 15421:
! 15422: fi
! 15423: rm -f conftest.err conftest.$ac_objext \
! 15424: conftest$ac_exeext conftest.$ac_ext
! 15425: done
! 15426: fi
! 15427: LIBS=$ac_func_search_save_LIBS
! 15428: fi
! 15429: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
! 15430: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
! 15431: if test "$ac_cv_search_dlopen" != no; then
! 15432: test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
! 15433:
! 15434: cat >>confdefs.h <<\_ACEOF
! 15435: #define HAVE_LIBDL 1
! 15436: _ACEOF
! 15437:
! 15438: if test "$ac_cv_search_dlopen" != "none required" ; then
! 15439: LIBADD_DLOPEN="-ldl"
! 15440: fi
! 15441: libltdl_cv_lib_dl_dlopen="yes"
! 15442: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15443: else
! 15444: cat >conftest.$ac_ext <<_ACEOF
! 15445: /* confdefs.h. */
! 15446: _ACEOF
! 15447: cat confdefs.h >>conftest.$ac_ext
! 15448: cat >>conftest.$ac_ext <<_ACEOF
! 15449: /* end confdefs.h. */
! 15450: #if HAVE_DLFCN_H
! 15451: # include <dlfcn.h>
! 15452: #endif
! 15453:
! 15454: int
! 15455: main ()
! 15456: {
! 15457: dlopen(0, 0);
! 15458: ;
! 15459: return 0;
! 15460: }
! 15461: _ACEOF
! 15462: rm -f conftest.$ac_objext conftest$ac_exeext
! 15463: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15464: (eval $ac_link) 2>conftest.er1
! 15465: ac_status=$?
! 15466: grep -v '^ *+' conftest.er1 >conftest.err
! 15467: rm -f conftest.er1
! 15468: cat conftest.err >&5
! 15469: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15470: (exit $ac_status); } &&
! 15471: { ac_try='test -z "$ac_c_werror_flag"
! 15472: || test ! -s conftest.err'
! 15473: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15474: (eval $ac_try) 2>&5
! 15475: ac_status=$?
! 15476: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15477: (exit $ac_status); }; } &&
! 15478: { ac_try='test -s conftest$ac_exeext'
! 15479: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15480: (eval $ac_try) 2>&5
! 15481: ac_status=$?
! 15482: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15483: (exit $ac_status); }; }; then
! 15484:
! 15485: cat >>confdefs.h <<\_ACEOF
! 15486: #define HAVE_LIBDL 1
! 15487: _ACEOF
! 15488:
! 15489: libltdl_cv_func_dlopen="yes"
! 15490: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15491: else
! 15492: echo "$as_me: failed program was:" >&5
! 15493: sed 's/^/| /' conftest.$ac_ext >&5
! 15494:
! 15495: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 15496: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 15497: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 15498: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15499: else
! 15500: ac_check_lib_save_LIBS=$LIBS
! 15501: LIBS="-lsvld $LIBS"
! 15502: cat >conftest.$ac_ext <<_ACEOF
! 15503: /* confdefs.h. */
! 15504: _ACEOF
! 15505: cat confdefs.h >>conftest.$ac_ext
! 15506: cat >>conftest.$ac_ext <<_ACEOF
! 15507: /* end confdefs.h. */
! 15508:
! 15509: /* Override any gcc2 internal prototype to avoid an error. */
! 15510: #ifdef __cplusplus
! 15511: extern "C"
! 15512: #endif
! 15513: /* We use char because int might match the return type of a gcc2
! 15514: builtin and then its argument prototype would still apply. */
! 15515: char dlopen ();
! 15516: int
! 15517: main ()
! 15518: {
! 15519: dlopen ();
! 15520: ;
! 15521: return 0;
! 15522: }
! 15523: _ACEOF
! 15524: rm -f conftest.$ac_objext conftest$ac_exeext
! 15525: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15526: (eval $ac_link) 2>conftest.er1
! 15527: ac_status=$?
! 15528: grep -v '^ *+' conftest.er1 >conftest.err
! 15529: rm -f conftest.er1
! 15530: cat conftest.err >&5
! 15531: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15532: (exit $ac_status); } &&
! 15533: { ac_try='test -z "$ac_c_werror_flag"
! 15534: || test ! -s conftest.err'
! 15535: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15536: (eval $ac_try) 2>&5
! 15537: ac_status=$?
! 15538: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15539: (exit $ac_status); }; } &&
! 15540: { ac_try='test -s conftest$ac_exeext'
! 15541: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15542: (eval $ac_try) 2>&5
! 15543: ac_status=$?
! 15544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15545: (exit $ac_status); }; }; then
! 15546: ac_cv_lib_svld_dlopen=yes
! 15547: else
! 15548: echo "$as_me: failed program was:" >&5
! 15549: sed 's/^/| /' conftest.$ac_ext >&5
! 15550:
! 15551: ac_cv_lib_svld_dlopen=no
! 15552: fi
! 15553: rm -f conftest.err conftest.$ac_objext \
! 15554: conftest$ac_exeext conftest.$ac_ext
! 15555: LIBS=$ac_check_lib_save_LIBS
! 15556: fi
! 15557: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 15558: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 15559: if test $ac_cv_lib_svld_dlopen = yes; then
! 15560:
! 15561: cat >>confdefs.h <<\_ACEOF
! 15562: #define HAVE_LIBDL 1
! 15563: _ACEOF
! 15564:
! 15565: LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
! 15566: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15567: fi
! 15568:
! 15569: fi
! 15570: rm -f conftest.err conftest.$ac_objext \
! 15571: conftest$ac_exeext conftest.$ac_ext
! 15572: fi
! 15573:
! 15574: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
! 15575: then
! 15576: lt_save_LIBS="$LIBS"
! 15577: LIBS="$LIBS $LIBADD_DLOPEN"
! 15578:
! 15579: for ac_func in dlerror
! 15580: do
! 15581: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 15582: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 15583: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 15584: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 15585: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15586: else
! 15587: cat >conftest.$ac_ext <<_ACEOF
! 15588: /* confdefs.h. */
! 15589: _ACEOF
! 15590: cat confdefs.h >>conftest.$ac_ext
! 15591: cat >>conftest.$ac_ext <<_ACEOF
! 15592: /* end confdefs.h. */
! 15593: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 15594: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15595: #define $ac_func innocuous_$ac_func
! 15596:
! 15597: /* System header to define __stub macros and hopefully few prototypes,
! 15598: which can conflict with char $ac_func (); below.
! 15599: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15600: <limits.h> exists even on freestanding compilers. */
! 15601:
! 15602: #ifdef __STDC__
! 15603: # include <limits.h>
! 15604: #else
! 15605: # include <assert.h>
! 15606: #endif
! 15607:
! 15608: #undef $ac_func
! 15609:
! 15610: /* Override any gcc2 internal prototype to avoid an error. */
! 15611: #ifdef __cplusplus
! 15612: extern "C"
! 15613: {
! 15614: #endif
! 15615: /* We use char because int might match the return type of a gcc2
! 15616: builtin and then its argument prototype would still apply. */
! 15617: char $ac_func ();
! 15618: /* The GNU C library defines this for functions which it implements
! 15619: to always fail with ENOSYS. Some functions are actually named
! 15620: something starting with __ and the normal name is an alias. */
! 15621: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 15622: choke me
! 15623: #else
! 15624: char (*f) () = $ac_func;
! 15625: #endif
! 15626: #ifdef __cplusplus
! 15627: }
! 15628: #endif
! 15629:
! 15630: int
! 15631: main ()
! 15632: {
! 15633: return f != $ac_func;
! 15634: ;
! 15635: return 0;
! 15636: }
! 15637: _ACEOF
! 15638: rm -f conftest.$ac_objext conftest$ac_exeext
! 15639: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15640: (eval $ac_link) 2>conftest.er1
! 15641: ac_status=$?
! 15642: grep -v '^ *+' conftest.er1 >conftest.err
! 15643: rm -f conftest.er1
! 15644: cat conftest.err >&5
! 15645: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15646: (exit $ac_status); } &&
! 15647: { ac_try='test -z "$ac_c_werror_flag"
! 15648: || test ! -s conftest.err'
! 15649: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15650: (eval $ac_try) 2>&5
! 15651: ac_status=$?
! 15652: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15653: (exit $ac_status); }; } &&
! 15654: { ac_try='test -s conftest$ac_exeext'
! 15655: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15656: (eval $ac_try) 2>&5
! 15657: ac_status=$?
! 15658: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15659: (exit $ac_status); }; }; then
! 15660: eval "$as_ac_var=yes"
! 15661: else
! 15662: echo "$as_me: failed program was:" >&5
! 15663: sed 's/^/| /' conftest.$ac_ext >&5
! 15664:
! 15665: eval "$as_ac_var=no"
! 15666: fi
! 15667: rm -f conftest.err conftest.$ac_objext \
! 15668: conftest$ac_exeext conftest.$ac_ext
! 15669: fi
! 15670: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 15671: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 15672: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 15673: cat >>confdefs.h <<_ACEOF
! 15674: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 15675: _ACEOF
! 15676:
! 15677: fi
! 15678: done
! 15679:
! 15680: LIBS="$lt_save_LIBS"
! 15681: fi
! 15682:
! 15683:
! 15684: LIBADD_SHL_LOAD=
! 15685: echo "$as_me:$LINENO: checking for shl_load" >&5
! 15686: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 15687: if test "${ac_cv_func_shl_load+set}" = set; then
! 15688: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15689: else
! 15690: cat >conftest.$ac_ext <<_ACEOF
! 15691: /* confdefs.h. */
! 15692: _ACEOF
! 15693: cat confdefs.h >>conftest.$ac_ext
! 15694: cat >>conftest.$ac_ext <<_ACEOF
! 15695: /* end confdefs.h. */
! 15696: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 15697: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15698: #define shl_load innocuous_shl_load
! 15699:
! 15700: /* System header to define __stub macros and hopefully few prototypes,
! 15701: which can conflict with char shl_load (); below.
! 15702: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15703: <limits.h> exists even on freestanding compilers. */
! 15704:
! 15705: #ifdef __STDC__
! 15706: # include <limits.h>
! 15707: #else
! 15708: # include <assert.h>
! 15709: #endif
! 15710:
! 15711: #undef shl_load
! 15712:
! 15713: /* Override any gcc2 internal prototype to avoid an error. */
! 15714: #ifdef __cplusplus
! 15715: extern "C"
! 15716: {
! 15717: #endif
! 15718: /* We use char because int might match the return type of a gcc2
! 15719: builtin and then its argument prototype would still apply. */
! 15720: char shl_load ();
! 15721: /* The GNU C library defines this for functions which it implements
! 15722: to always fail with ENOSYS. Some functions are actually named
! 15723: something starting with __ and the normal name is an alias. */
! 15724: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 15725: choke me
! 15726: #else
! 15727: char (*f) () = shl_load;
! 15728: #endif
! 15729: #ifdef __cplusplus
! 15730: }
! 15731: #endif
! 15732:
! 15733: int
! 15734: main ()
! 15735: {
! 15736: return f != shl_load;
! 15737: ;
! 15738: return 0;
! 15739: }
! 15740: _ACEOF
! 15741: rm -f conftest.$ac_objext conftest$ac_exeext
! 15742: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15743: (eval $ac_link) 2>conftest.er1
! 15744: ac_status=$?
! 15745: grep -v '^ *+' conftest.er1 >conftest.err
! 15746: rm -f conftest.er1
! 15747: cat conftest.err >&5
! 15748: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15749: (exit $ac_status); } &&
! 15750: { ac_try='test -z "$ac_c_werror_flag"
! 15751: || test ! -s conftest.err'
! 15752: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15753: (eval $ac_try) 2>&5
! 15754: ac_status=$?
! 15755: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15756: (exit $ac_status); }; } &&
! 15757: { ac_try='test -s conftest$ac_exeext'
! 15758: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15759: (eval $ac_try) 2>&5
! 15760: ac_status=$?
! 15761: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15762: (exit $ac_status); }; }; then
! 15763: ac_cv_func_shl_load=yes
! 15764: else
! 15765: echo "$as_me: failed program was:" >&5
! 15766: sed 's/^/| /' conftest.$ac_ext >&5
! 15767:
! 15768: ac_cv_func_shl_load=no
! 15769: fi
! 15770: rm -f conftest.err conftest.$ac_objext \
! 15771: conftest$ac_exeext conftest.$ac_ext
! 15772: fi
! 15773: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 15774: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 15775: if test $ac_cv_func_shl_load = yes; then
! 15776:
! 15777: cat >>confdefs.h <<\_ACEOF
! 15778: #define HAVE_SHL_LOAD 1
! 15779: _ACEOF
! 15780:
! 15781: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
! 15782: else
! 15783: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 15784: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 15785: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 15786: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15787: else
! 15788: ac_check_lib_save_LIBS=$LIBS
! 15789: LIBS="-ldld $LIBS"
! 15790: cat >conftest.$ac_ext <<_ACEOF
! 15791: /* confdefs.h. */
! 15792: _ACEOF
! 15793: cat confdefs.h >>conftest.$ac_ext
! 15794: cat >>conftest.$ac_ext <<_ACEOF
! 15795: /* end confdefs.h. */
! 15796:
! 15797: /* Override any gcc2 internal prototype to avoid an error. */
! 15798: #ifdef __cplusplus
! 15799: extern "C"
! 15800: #endif
! 15801: /* We use char because int might match the return type of a gcc2
! 15802: builtin and then its argument prototype would still apply. */
! 15803: char shl_load ();
! 15804: int
! 15805: main ()
! 15806: {
! 15807: shl_load ();
! 15808: ;
! 15809: return 0;
! 15810: }
! 15811: _ACEOF
! 15812: rm -f conftest.$ac_objext conftest$ac_exeext
! 15813: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15814: (eval $ac_link) 2>conftest.er1
! 15815: ac_status=$?
! 15816: grep -v '^ *+' conftest.er1 >conftest.err
! 15817: rm -f conftest.er1
! 15818: cat conftest.err >&5
! 15819: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15820: (exit $ac_status); } &&
! 15821: { ac_try='test -z "$ac_c_werror_flag"
! 15822: || test ! -s conftest.err'
! 15823: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15824: (eval $ac_try) 2>&5
! 15825: ac_status=$?
! 15826: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15827: (exit $ac_status); }; } &&
! 15828: { ac_try='test -s conftest$ac_exeext'
! 15829: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15830: (eval $ac_try) 2>&5
! 15831: ac_status=$?
! 15832: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15833: (exit $ac_status); }; }; then
! 15834: ac_cv_lib_dld_shl_load=yes
! 15835: else
! 15836: echo "$as_me: failed program was:" >&5
! 15837: sed 's/^/| /' conftest.$ac_ext >&5
! 15838:
! 15839: ac_cv_lib_dld_shl_load=no
! 15840: fi
! 15841: rm -f conftest.err conftest.$ac_objext \
! 15842: conftest$ac_exeext conftest.$ac_ext
! 15843: LIBS=$ac_check_lib_save_LIBS
! 15844: fi
! 15845: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 15846: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 15847: if test $ac_cv_lib_dld_shl_load = yes; then
! 15848:
! 15849: cat >>confdefs.h <<\_ACEOF
! 15850: #define HAVE_SHL_LOAD 1
! 15851: _ACEOF
! 15852:
! 15853: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
! 15854: LIBADD_SHL_LOAD="-ldld"
! 15855: fi
! 15856:
! 15857: fi
! 15858:
! 15859:
! 15860:
! 15861: case $host_os in
! 15862: darwin[1567].*)
! 15863: # We only want this for pre-Mac OS X 10.4.
! 15864: echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
! 15865: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
! 15866: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
! 15867: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15868: else
! 15869: cat >conftest.$ac_ext <<_ACEOF
! 15870: /* confdefs.h. */
! 15871: _ACEOF
! 15872: cat confdefs.h >>conftest.$ac_ext
! 15873: cat >>conftest.$ac_ext <<_ACEOF
! 15874: /* end confdefs.h. */
! 15875: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
! 15876: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15877: #define _dyld_func_lookup innocuous__dyld_func_lookup
! 15878:
! 15879: /* System header to define __stub macros and hopefully few prototypes,
! 15880: which can conflict with char _dyld_func_lookup (); below.
! 15881: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15882: <limits.h> exists even on freestanding compilers. */
! 15883:
! 15884: #ifdef __STDC__
! 15885: # include <limits.h>
! 15886: #else
! 15887: # include <assert.h>
! 15888: #endif
! 15889:
! 15890: #undef _dyld_func_lookup
! 15891:
! 15892: /* Override any gcc2 internal prototype to avoid an error. */
! 15893: #ifdef __cplusplus
! 15894: extern "C"
! 15895: {
! 15896: #endif
! 15897: /* We use char because int might match the return type of a gcc2
! 15898: builtin and then its argument prototype would still apply. */
! 15899: char _dyld_func_lookup ();
! 15900: /* The GNU C library defines this for functions which it implements
! 15901: to always fail with ENOSYS. Some functions are actually named
! 15902: something starting with __ and the normal name is an alias. */
! 15903: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
! 15904: choke me
! 15905: #else
! 15906: char (*f) () = _dyld_func_lookup;
! 15907: #endif
! 15908: #ifdef __cplusplus
! 15909: }
! 15910: #endif
! 15911:
! 15912: int
! 15913: main ()
! 15914: {
! 15915: return f != _dyld_func_lookup;
! 15916: ;
! 15917: return 0;
! 15918: }
! 15919: _ACEOF
! 15920: rm -f conftest.$ac_objext conftest$ac_exeext
! 15921: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15922: (eval $ac_link) 2>conftest.er1
! 15923: ac_status=$?
! 15924: grep -v '^ *+' conftest.er1 >conftest.err
! 15925: rm -f conftest.er1
! 15926: cat conftest.err >&5
! 15927: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15928: (exit $ac_status); } &&
! 15929: { ac_try='test -z "$ac_c_werror_flag"
! 15930: || test ! -s conftest.err'
! 15931: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15932: (eval $ac_try) 2>&5
! 15933: ac_status=$?
! 15934: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15935: (exit $ac_status); }; } &&
! 15936: { ac_try='test -s conftest$ac_exeext'
! 15937: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15938: (eval $ac_try) 2>&5
! 15939: ac_status=$?
! 15940: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15941: (exit $ac_status); }; }; then
! 15942: ac_cv_func__dyld_func_lookup=yes
! 15943: else
! 15944: echo "$as_me: failed program was:" >&5
! 15945: sed 's/^/| /' conftest.$ac_ext >&5
! 15946:
! 15947: ac_cv_func__dyld_func_lookup=no
! 15948: fi
! 15949: rm -f conftest.err conftest.$ac_objext \
! 15950: conftest$ac_exeext conftest.$ac_ext
! 15951: fi
! 15952: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
! 15953: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
! 15954: if test $ac_cv_func__dyld_func_lookup = yes; then
! 15955:
! 15956: cat >>confdefs.h <<\_ACEOF
! 15957: #define HAVE_DYLD 1
! 15958: _ACEOF
! 15959:
! 15960: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
! 15961: fi
! 15962:
! 15963: ;;
! 15964: beos*)
! 15965: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
! 15966: ;;
! 15967: cygwin* | mingw* | os2* | pw32*)
! 15968: echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
! 15969: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
! 15970: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
! 15971: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15972: else
! 15973: cat >conftest.$ac_ext <<_ACEOF
! 15974: /* confdefs.h. */
! 15975: _ACEOF
! 15976: cat confdefs.h >>conftest.$ac_ext
! 15977: cat >>conftest.$ac_ext <<_ACEOF
! 15978: /* end confdefs.h. */
! 15979: #include <sys/cygwin.h>
! 15980:
! 15981: int
! 15982: main ()
! 15983: {
! 15984: #ifndef cygwin_conv_path
! 15985: char *p = (char *) cygwin_conv_path;
! 15986: #endif
! 15987:
! 15988: ;
! 15989: return 0;
! 15990: }
! 15991: _ACEOF
! 15992: rm -f conftest.$ac_objext
! 15993: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 15994: (eval $ac_compile) 2>conftest.er1
! 15995: ac_status=$?
! 15996: grep -v '^ *+' conftest.er1 >conftest.err
! 15997: rm -f conftest.er1
! 15998: cat conftest.err >&5
! 15999: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16000: (exit $ac_status); } &&
! 16001: { ac_try='test -z "$ac_c_werror_flag"
! 16002: || test ! -s conftest.err'
! 16003: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16004: (eval $ac_try) 2>&5
! 16005: ac_status=$?
! 16006: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16007: (exit $ac_status); }; } &&
! 16008: { ac_try='test -s conftest.$ac_objext'
! 16009: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16010: (eval $ac_try) 2>&5
! 16011: ac_status=$?
! 16012: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16013: (exit $ac_status); }; }; then
! 16014: ac_cv_have_decl_cygwin_conv_path=yes
! 16015: else
! 16016: echo "$as_me: failed program was:" >&5
! 16017: sed 's/^/| /' conftest.$ac_ext >&5
! 16018:
! 16019: ac_cv_have_decl_cygwin_conv_path=no
! 16020: fi
! 16021: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16022: fi
! 16023: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
! 16024: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
! 16025: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
! 16026:
! 16027: cat >>confdefs.h <<_ACEOF
! 16028: #define HAVE_DECL_CYGWIN_CONV_PATH 1
! 16029: _ACEOF
! 16030:
! 16031:
! 16032: else
! 16033: cat >>confdefs.h <<_ACEOF
! 16034: #define HAVE_DECL_CYGWIN_CONV_PATH 0
! 16035: _ACEOF
! 16036:
! 16037:
! 16038: fi
! 16039:
! 16040:
! 16041: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
! 16042: ;;
! 16043: esac
! 16044:
! 16045: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 16046: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 16047: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 16048: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16049: else
! 16050: ac_check_lib_save_LIBS=$LIBS
! 16051: LIBS="-ldld $LIBS"
! 16052: cat >conftest.$ac_ext <<_ACEOF
! 16053: /* confdefs.h. */
! 16054: _ACEOF
! 16055: cat confdefs.h >>conftest.$ac_ext
! 16056: cat >>conftest.$ac_ext <<_ACEOF
! 16057: /* end confdefs.h. */
! 16058:
! 16059: /* Override any gcc2 internal prototype to avoid an error. */
! 16060: #ifdef __cplusplus
! 16061: extern "C"
! 16062: #endif
! 16063: /* We use char because int might match the return type of a gcc2
! 16064: builtin and then its argument prototype would still apply. */
! 16065: char dld_link ();
! 16066: int
! 16067: main ()
! 16068: {
! 16069: dld_link ();
! 16070: ;
! 16071: return 0;
! 16072: }
! 16073: _ACEOF
! 16074: rm -f conftest.$ac_objext conftest$ac_exeext
! 16075: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16076: (eval $ac_link) 2>conftest.er1
! 16077: ac_status=$?
! 16078: grep -v '^ *+' conftest.er1 >conftest.err
! 16079: rm -f conftest.er1
! 16080: cat conftest.err >&5
! 16081: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16082: (exit $ac_status); } &&
! 16083: { ac_try='test -z "$ac_c_werror_flag"
! 16084: || test ! -s conftest.err'
! 16085: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16086: (eval $ac_try) 2>&5
! 16087: ac_status=$?
! 16088: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16089: (exit $ac_status); }; } &&
! 16090: { ac_try='test -s conftest$ac_exeext'
! 16091: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16092: (eval $ac_try) 2>&5
! 16093: ac_status=$?
! 16094: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16095: (exit $ac_status); }; }; then
! 16096: ac_cv_lib_dld_dld_link=yes
! 16097: else
! 16098: echo "$as_me: failed program was:" >&5
! 16099: sed 's/^/| /' conftest.$ac_ext >&5
! 16100:
! 16101: ac_cv_lib_dld_dld_link=no
! 16102: fi
! 16103: rm -f conftest.err conftest.$ac_objext \
! 16104: conftest$ac_exeext conftest.$ac_ext
! 16105: LIBS=$ac_check_lib_save_LIBS
! 16106: fi
! 16107: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 16108: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 16109: if test $ac_cv_lib_dld_dld_link = yes; then
! 16110:
! 16111: cat >>confdefs.h <<\_ACEOF
! 16112: #define HAVE_DLD 1
! 16113: _ACEOF
! 16114:
! 16115: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
! 16116: fi
! 16117:
! 16118:
! 16119:
! 16120:
! 16121: LT_DLPREOPEN=
! 16122: if test -n "$LT_DLLOADERS"
! 16123: then
! 16124: for lt_loader in $LT_DLLOADERS; do
! 16125: LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
! 16126: done
! 16127:
! 16128: cat >>confdefs.h <<\_ACEOF
! 16129: #define HAVE_LIBDLLOADER 1
! 16130: _ACEOF
! 16131:
! 16132: fi
! 16133:
! 16134:
! 16135: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
! 16136:
! 16137:
! 16138: ac_ext=c
! 16139: ac_cpp='$CPP $CPPFLAGS'
! 16140: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 16141: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 16142: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 16143:
! 16144:
! 16145: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
! 16146: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
! 16147: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
! 16148: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16149: else
! 16150: lt_cv_sys_symbol_underscore=no
! 16151: cat > conftest.$ac_ext <<_LT_EOF
! 16152: void nm_test_func(){}
! 16153: int main(){nm_test_func;return 0;}
! 16154: _LT_EOF
! 16155: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16156: (eval $ac_compile) 2>&5
! 16157: ac_status=$?
! 16158: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16159: (exit $ac_status); }; then
! 16160: # Now try to grab the symbols.
! 16161: ac_nlist=conftest.nm
! 16162: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
! 16163: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
! 16164: ac_status=$?
! 16165: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16166: (exit $ac_status); } && test -s "$ac_nlist"; then
! 16167: # See whether the symbols have a leading underscore.
! 16168: if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
! 16169: lt_cv_sys_symbol_underscore=yes
! 16170: else
! 16171: if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
! 16172: :
! 16173: else
! 16174: echo "configure: cannot find nm_test_func in $ac_nlist" >&5
! 16175: fi
! 16176: fi
! 16177: else
! 16178: echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 16179: fi
! 16180: else
! 16181: echo "configure: failed program was:" >&5
! 16182: cat conftest.c >&5
! 16183: fi
! 16184: rm -rf conftest*
! 16185:
! 16186: fi
! 16187: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
! 16188: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
! 16189: sys_symbol_underscore=$lt_cv_sys_symbol_underscore
! 16190:
! 16191:
! 16192: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
! 16193: if test x"$libltdl_cv_func_dlopen" = xyes ||
! 16194: test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
! 16195: echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
! 16196: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
! 16197: if test "${libltdl_cv_need_uscore+set}" = set; then
! 16198: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16199: else
! 16200: libltdl_cv_need_uscore=unknown
! 16201: save_LIBS="$LIBS"
! 16202: LIBS="$LIBS $LIBADD_DLOPEN"
! 16203: if test "$cross_compiling" = yes; then :
! 16204: libltdl_cv_need_uscore=cross
! 16205: else
! 16206: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 16207: lt_status=$lt_dlunknown
! 16208: cat > conftest.$ac_ext <<_LT_EOF
! 16209: #line $LINENO "configure"
! 16210: #include "confdefs.h"
! 16211:
! 16212: #if HAVE_DLFCN_H
! 16213: #include <dlfcn.h>
! 16214: #endif
! 16215:
! 16216: #include <stdio.h>
! 16217:
! 16218: #ifdef RTLD_GLOBAL
! 16219: # define LT_DLGLOBAL RTLD_GLOBAL
! 16220: #else
! 16221: # ifdef DL_GLOBAL
! 16222: # define LT_DLGLOBAL DL_GLOBAL
! 16223: # else
! 16224: # define LT_DLGLOBAL 0
! 16225: # endif
! 16226: #endif
! 16227:
! 16228: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 16229: find out it does not work in some platform. */
! 16230: #ifndef LT_DLLAZY_OR_NOW
! 16231: # ifdef RTLD_LAZY
! 16232: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 16233: # else
! 16234: # ifdef DL_LAZY
! 16235: # define LT_DLLAZY_OR_NOW DL_LAZY
! 16236: # else
! 16237: # ifdef RTLD_NOW
! 16238: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 16239: # else
! 16240: # ifdef DL_NOW
! 16241: # define LT_DLLAZY_OR_NOW DL_NOW
! 16242: # else
! 16243: # define LT_DLLAZY_OR_NOW 0
! 16244: # endif
! 16245: # endif
! 16246: # endif
! 16247: # endif
! 16248: #endif
! 16249:
! 16250: /* When -fvisbility=hidden is used, assume the code has been annotated
! 16251: correspondingly for the symbols needed. */
! 16252: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 16253: int fnord () __attribute__((visibility("default")));
! 16254: #endif
! 16255:
! 16256: int fnord () { return 42; }
! 16257: int main ()
! 16258: {
! 16259: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 16260: int status = $lt_dlunknown;
! 16261:
! 16262: if (self)
! 16263: {
! 16264: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 16265: else
! 16266: {
! 16267: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 16268: else puts (dlerror ());
! 16269: }
! 16270: /* dlclose (self); */
! 16271: }
! 16272: else
! 16273: puts (dlerror ());
! 16274:
! 16275: return status;
! 16276: }
! 16277: _LT_EOF
! 16278: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16279: (eval $ac_link) 2>&5
! 16280: ac_status=$?
! 16281: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16282: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 16283: (./conftest; exit; ) >&5 2>/dev/null
! 16284: lt_status=$?
! 16285: case x$lt_status in
! 16286: x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
! 16287: x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
! 16288: x$lt_dlunknown|x*) ;;
! 16289: esac
! 16290: else :
! 16291: # compilation failed
! 16292:
! 16293: fi
! 16294: fi
! 16295: rm -fr conftest*
! 16296:
! 16297: LIBS="$save_LIBS"
! 16298:
! 16299: fi
! 16300: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
! 16301: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
! 16302: fi
! 16303: fi
! 16304:
! 16305: if test x"$libltdl_cv_need_uscore" = xyes; then
! 16306:
! 16307: cat >>confdefs.h <<\_ACEOF
! 16308: #define NEED_USCORE 1
! 16309: _ACEOF
! 16310:
! 16311: fi
! 16312:
! 16313: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
! 16314: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
! 16315: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
! 16316: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16317: else
! 16318: # PORTME does your system automatically load deplibs for dlopen?
! 16319: # or its logical equivalent (e.g. shl_load for HP-UX < 11)
! 16320: # For now, we just catch OSes we know something about -- in the
! 16321: # future, we'll try test this programmatically.
! 16322: lt_cv_sys_dlopen_deplibs=unknown
! 16323: case $host_os in
! 16324: aix3*|aix4.1.*|aix4.2.*)
! 16325: # Unknown whether this is true for these versions of AIX, but
! 16326: # we want this `case' here to explicitly catch those versions.
! 16327: lt_cv_sys_dlopen_deplibs=unknown
! 16328: ;;
! 16329: aix[4-9]*)
! 16330: lt_cv_sys_dlopen_deplibs=yes
! 16331: ;;
! 16332: amigaos*)
! 16333: case $host_cpu in
! 16334: powerpc)
! 16335: lt_cv_sys_dlopen_deplibs=no
! 16336: ;;
! 16337: esac
! 16338: ;;
! 16339: darwin*)
! 16340: # Assuming the user has installed a libdl from somewhere, this is true
! 16341: # If you are looking for one http://www.opendarwin.org/projects/dlcompat
! 16342: lt_cv_sys_dlopen_deplibs=yes
! 16343: ;;
! 16344: freebsd* | dragonfly*)
! 16345: lt_cv_sys_dlopen_deplibs=yes
! 16346: ;;
! 16347: gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 16348: # GNU and its variants, using gnu ld.so (Glibc)
! 16349: lt_cv_sys_dlopen_deplibs=yes
! 16350: ;;
! 16351: hpux10*|hpux11*)
! 16352: lt_cv_sys_dlopen_deplibs=yes
! 16353: ;;
! 16354: interix*)
! 16355: lt_cv_sys_dlopen_deplibs=yes
! 16356: ;;
! 16357: irix[12345]*|irix6.[01]*)
! 16358: # Catch all versions of IRIX before 6.2, and indicate that we don't
! 16359: # know how it worked for any of those versions.
! 16360: lt_cv_sys_dlopen_deplibs=unknown
! 16361: ;;
! 16362: irix*)
! 16363: # The case above catches anything before 6.2, and it's known that
! 16364: # at 6.2 and later dlopen does load deplibs.
! 16365: lt_cv_sys_dlopen_deplibs=yes
! 16366: ;;
! 16367: netbsd*)
! 16368: lt_cv_sys_dlopen_deplibs=yes
! 16369: ;;
! 16370: openbsd*)
! 16371: lt_cv_sys_dlopen_deplibs=yes
! 16372: ;;
! 16373: osf[1234]*)
! 16374: # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
! 16375: # it did *not* use an RPATH in a shared library to find objects the
! 16376: # library depends on, so we explicitly say `no'.
! 16377: lt_cv_sys_dlopen_deplibs=no
! 16378: ;;
! 16379: osf5.0|osf5.0a|osf5.1)
! 16380: # dlopen *does* load deplibs and with the right loader patch applied
! 16381: # it even uses RPATH in a shared library to search for shared objects
! 16382: # that the library depends on, but there's no easy way to know if that
! 16383: # patch is installed. Since this is the case, all we can really
! 16384: # say is unknown -- it depends on the patch being installed. If
! 16385: # it is, this changes to `yes'. Without it, it would be `no'.
! 16386: lt_cv_sys_dlopen_deplibs=unknown
! 16387: ;;
! 16388: osf*)
! 16389: # the two cases above should catch all versions of osf <= 5.1. Read
! 16390: # the comments above for what we know about them.
! 16391: # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
! 16392: # is used to find them so we can finally say `yes'.
! 16393: lt_cv_sys_dlopen_deplibs=yes
! 16394: ;;
! 16395: qnx*)
! 16396: lt_cv_sys_dlopen_deplibs=yes
! 16397: ;;
! 16398: solaris*)
! 16399: lt_cv_sys_dlopen_deplibs=yes
! 16400: ;;
! 16401: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 16402: libltdl_cv_sys_dlopen_deplibs=yes
! 16403: ;;
! 16404: esac
! 16405:
! 16406: fi
! 16407: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
! 16408: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
! 16409: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
! 16410:
! 16411: cat >>confdefs.h <<\_ACEOF
! 16412: #define LTDL_DLOPEN_DEPLIBS 1
! 16413: _ACEOF
! 16414:
! 16415: fi
! 16416:
! 16417: :
! 16418:
! 16419:
! 16420: for ac_header in argz.h
! 16421: do
! 16422: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 16423: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 16424: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 16425: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 16426: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16427: else
! 16428: cat >conftest.$ac_ext <<_ACEOF
! 16429: /* confdefs.h. */
! 16430: _ACEOF
! 16431: cat confdefs.h >>conftest.$ac_ext
! 16432: cat >>conftest.$ac_ext <<_ACEOF
! 16433: /* end confdefs.h. */
! 16434: $ac_includes_default
! 16435:
! 16436: #include <$ac_header>
! 16437: _ACEOF
! 16438: rm -f conftest.$ac_objext
! 16439: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16440: (eval $ac_compile) 2>conftest.er1
! 16441: ac_status=$?
! 16442: grep -v '^ *+' conftest.er1 >conftest.err
! 16443: rm -f conftest.er1
! 16444: cat conftest.err >&5
! 16445: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16446: (exit $ac_status); } &&
! 16447: { ac_try='test -z "$ac_c_werror_flag"
! 16448: || test ! -s conftest.err'
! 16449: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16450: (eval $ac_try) 2>&5
! 16451: ac_status=$?
! 16452: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16453: (exit $ac_status); }; } &&
! 16454: { ac_try='test -s conftest.$ac_objext'
! 16455: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16456: (eval $ac_try) 2>&5
! 16457: ac_status=$?
! 16458: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16459: (exit $ac_status); }; }; then
! 16460: eval "$as_ac_Header=yes"
! 16461: else
! 16462: echo "$as_me: failed program was:" >&5
! 16463: sed 's/^/| /' conftest.$ac_ext >&5
! 16464:
! 16465: eval "$as_ac_Header=no"
! 16466: fi
! 16467: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16468: fi
! 16469: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 16470: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 16471: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 16472: cat >>confdefs.h <<_ACEOF
! 16473: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 16474: _ACEOF
! 16475:
! 16476: fi
! 16477:
! 16478: done
! 16479:
! 16480:
! 16481: echo "$as_me:$LINENO: checking for error_t" >&5
! 16482: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
! 16483: if test "${ac_cv_type_error_t+set}" = set; then
! 16484: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16485: else
! 16486: cat >conftest.$ac_ext <<_ACEOF
! 16487: /* confdefs.h. */
! 16488: _ACEOF
! 16489: cat confdefs.h >>conftest.$ac_ext
! 16490: cat >>conftest.$ac_ext <<_ACEOF
! 16491: /* end confdefs.h. */
! 16492: #if defined(HAVE_ARGZ_H)
! 16493: # include <argz.h>
! 16494: #endif
! 16495:
! 16496: int
! 16497: main ()
! 16498: {
! 16499: if ((error_t *) 0)
! 16500: return 0;
! 16501: if (sizeof (error_t))
! 16502: return 0;
! 16503: ;
! 16504: return 0;
! 16505: }
! 16506: _ACEOF
! 16507: rm -f conftest.$ac_objext
! 16508: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16509: (eval $ac_compile) 2>conftest.er1
! 16510: ac_status=$?
! 16511: grep -v '^ *+' conftest.er1 >conftest.err
! 16512: rm -f conftest.er1
! 16513: cat conftest.err >&5
! 16514: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16515: (exit $ac_status); } &&
! 16516: { ac_try='test -z "$ac_c_werror_flag"
! 16517: || test ! -s conftest.err'
! 16518: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16519: (eval $ac_try) 2>&5
! 16520: ac_status=$?
! 16521: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16522: (exit $ac_status); }; } &&
! 16523: { ac_try='test -s conftest.$ac_objext'
! 16524: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16525: (eval $ac_try) 2>&5
! 16526: ac_status=$?
! 16527: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16528: (exit $ac_status); }; }; then
! 16529: ac_cv_type_error_t=yes
! 16530: else
! 16531: echo "$as_me: failed program was:" >&5
! 16532: sed 's/^/| /' conftest.$ac_ext >&5
! 16533:
! 16534: ac_cv_type_error_t=no
! 16535: fi
! 16536: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16537: fi
! 16538: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
! 16539: echo "${ECHO_T}$ac_cv_type_error_t" >&6
! 16540: if test $ac_cv_type_error_t = yes; then
! 16541:
! 16542: cat >>confdefs.h <<_ACEOF
! 16543: #define HAVE_ERROR_T 1
! 16544: _ACEOF
! 16545:
! 16546:
! 16547: else
! 16548:
! 16549: cat >>confdefs.h <<\_ACEOF
! 16550: #define error_t int
! 16551: _ACEOF
! 16552:
! 16553:
! 16554: cat >>confdefs.h <<\_ACEOF
! 16555: #define __error_t_defined 1
! 16556: _ACEOF
! 16557:
! 16558: fi
! 16559:
! 16560:
! 16561: ARGZ_H=
! 16562:
! 16563:
! 16564:
! 16565:
! 16566:
! 16567:
! 16568:
! 16569: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
! 16570: argz_next argz_stringify
! 16571: do
! 16572: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16573: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 16574: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 16575: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 16576: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16577: else
! 16578: cat >conftest.$ac_ext <<_ACEOF
! 16579: /* confdefs.h. */
! 16580: _ACEOF
! 16581: cat confdefs.h >>conftest.$ac_ext
! 16582: cat >>conftest.$ac_ext <<_ACEOF
! 16583: /* end confdefs.h. */
! 16584: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 16585: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 16586: #define $ac_func innocuous_$ac_func
! 16587:
! 16588: /* System header to define __stub macros and hopefully few prototypes,
! 16589: which can conflict with char $ac_func (); below.
! 16590: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 16591: <limits.h> exists even on freestanding compilers. */
! 16592:
! 16593: #ifdef __STDC__
! 16594: # include <limits.h>
! 16595: #else
! 16596: # include <assert.h>
! 16597: #endif
! 16598:
! 16599: #undef $ac_func
! 16600:
! 16601: /* Override any gcc2 internal prototype to avoid an error. */
! 16602: #ifdef __cplusplus
! 16603: extern "C"
! 16604: {
! 16605: #endif
! 16606: /* We use char because int might match the return type of a gcc2
! 16607: builtin and then its argument prototype would still apply. */
! 16608: char $ac_func ();
! 16609: /* The GNU C library defines this for functions which it implements
! 16610: to always fail with ENOSYS. Some functions are actually named
! 16611: something starting with __ and the normal name is an alias. */
! 16612: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 16613: choke me
! 16614: #else
! 16615: char (*f) () = $ac_func;
! 16616: #endif
! 16617: #ifdef __cplusplus
! 16618: }
! 16619: #endif
! 16620:
! 16621: int
! 16622: main ()
! 16623: {
! 16624: return f != $ac_func;
! 16625: ;
! 16626: return 0;
! 16627: }
! 16628: _ACEOF
! 16629: rm -f conftest.$ac_objext conftest$ac_exeext
! 16630: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16631: (eval $ac_link) 2>conftest.er1
! 16632: ac_status=$?
! 16633: grep -v '^ *+' conftest.er1 >conftest.err
! 16634: rm -f conftest.er1
! 16635: cat conftest.err >&5
! 16636: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16637: (exit $ac_status); } &&
! 16638: { ac_try='test -z "$ac_c_werror_flag"
! 16639: || test ! -s conftest.err'
! 16640: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16641: (eval $ac_try) 2>&5
! 16642: ac_status=$?
! 16643: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16644: (exit $ac_status); }; } &&
! 16645: { ac_try='test -s conftest$ac_exeext'
! 16646: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16647: (eval $ac_try) 2>&5
! 16648: ac_status=$?
! 16649: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16650: (exit $ac_status); }; }; then
! 16651: eval "$as_ac_var=yes"
! 16652: else
! 16653: echo "$as_me: failed program was:" >&5
! 16654: sed 's/^/| /' conftest.$ac_ext >&5
! 16655:
! 16656: eval "$as_ac_var=no"
! 16657: fi
! 16658: rm -f conftest.err conftest.$ac_objext \
! 16659: conftest$ac_exeext conftest.$ac_ext
! 16660: fi
! 16661: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 16662: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 16663: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 16664: cat >>confdefs.h <<_ACEOF
! 16665: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16666: _ACEOF
! 16667:
! 16668: else
! 16669: ARGZ_H=argz.h;
! 16670:
! 16671: _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
! 16672:
! 16673: fi
! 16674: done
! 16675:
! 16676:
! 16677: if test -z "$ARGZ_H"; then
! 16678: echo "$as_me:$LINENO: checking if argz actually works" >&5
! 16679: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
! 16680: if test "${lt_cv_sys_argz_works+set}" = set; then
! 16681: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16682: else
! 16683: case $host_os in #(
! 16684: *cygwin*)
! 16685: lt_cv_sys_argz_works=no
! 16686: if test "$cross_compiling" != no; then
! 16687: lt_cv_sys_argz_works="guessing no"
! 16688: else
! 16689: lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
! 16690: save_IFS=$IFS
! 16691: IFS=-.
! 16692: set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
! 16693: IFS=$save_IFS
! 16694: lt_os_major=${2-0}
! 16695: lt_os_minor=${3-0}
! 16696: lt_os_micro=${4-0}
! 16697: if test "$lt_os_major" -gt 1 \
! 16698: || { test "$lt_os_major" -eq 1 \
! 16699: && { test "$lt_os_minor" -gt 5 \
! 16700: || { test "$lt_os_minor" -eq 5 \
! 16701: && test "$lt_os_micro" -gt 24; }; }; }; then
! 16702: lt_cv_sys_argz_works=yes
! 16703: fi
! 16704: fi
! 16705: ;; #(
! 16706: *) lt_cv_sys_argz_works=yes ;;
! 16707: esac
! 16708: fi
! 16709: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
! 16710: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
! 16711: if test "$lt_cv_sys_argz_works" = yes; then
! 16712:
! 16713: cat >>confdefs.h <<\_ACEOF
! 16714: #define HAVE_WORKING_ARGZ 1
! 16715: _ACEOF
! 16716:
! 16717: else
! 16718: ARGZ_H=argz.h
! 16719:
! 16720:
! 16721: _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
! 16722:
! 16723: fi
! 16724:
! 16725: fi
! 16726:
! 16727:
! 16728:
! 16729:
! 16730: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
! 16731: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
! 16732: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
! 16733: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16734: else
! 16735: if test -n "$lt_cv_sys_global_symbol_pipe"; then
! 16736: libltdl_cv_preloaded_symbols=yes
! 16737: else
! 16738: libltdl_cv_preloaded_symbols=no
! 16739: fi
! 16740:
! 16741: fi
! 16742: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
! 16743: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
! 16744: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
! 16745:
! 16746: cat >>confdefs.h <<\_ACEOF
! 16747: #define HAVE_PRELOADED_SYMBOLS 1
! 16748: _ACEOF
! 16749:
! 16750: fi
! 16751:
! 16752: # Set options
! 16753:
! 16754:
! 16755:
! 16756:
! 16757:
! 16758:
! 16759:
! 16760:
! 16761:
! 16762:
! 16763:
! 16764:
! 16765: # Check whether --with-included_ltdl or --without-included_ltdl was given.
! 16766: if test "${with_included_ltdl+set}" = set; then
! 16767: withval="$with_included_ltdl"
! 16768:
! 16769: fi;
! 16770:
! 16771: if test "x$with_included_ltdl" != xyes; then
! 16772: # We are not being forced to use the included libltdl sources, so
! 16773: # decide whether there is a useful installed version we can use.
! 16774: echo "$as_me:$LINENO: checking for ltdl.h" >&5
! 16775: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
! 16776: if test "${ac_cv_header_ltdl_h+set}" = set; then
! 16777: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16778: else
! 16779: cat >conftest.$ac_ext <<_ACEOF
! 16780: /* confdefs.h. */
! 16781: _ACEOF
! 16782: cat confdefs.h >>conftest.$ac_ext
! 16783: cat >>conftest.$ac_ext <<_ACEOF
! 16784: /* end confdefs.h. */
! 16785: $ac_includes_default
! 16786:
! 16787:
! 16788: #include <ltdl.h>
! 16789: _ACEOF
! 16790: rm -f conftest.$ac_objext
! 16791: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16792: (eval $ac_compile) 2>conftest.er1
! 16793: ac_status=$?
! 16794: grep -v '^ *+' conftest.er1 >conftest.err
! 16795: rm -f conftest.er1
! 16796: cat conftest.err >&5
! 16797: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16798: (exit $ac_status); } &&
! 16799: { ac_try='test -z "$ac_c_werror_flag"
! 16800: || test ! -s conftest.err'
! 16801: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16802: (eval $ac_try) 2>&5
! 16803: ac_status=$?
! 16804: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16805: (exit $ac_status); }; } &&
! 16806: { ac_try='test -s conftest.$ac_objext'
! 16807: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16808: (eval $ac_try) 2>&5
! 16809: ac_status=$?
! 16810: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16811: (exit $ac_status); }; }; then
! 16812: ac_cv_header_ltdl_h=yes
! 16813: else
! 16814: echo "$as_me: failed program was:" >&5
! 16815: sed 's/^/| /' conftest.$ac_ext >&5
! 16816:
! 16817: ac_cv_header_ltdl_h=no
! 16818: fi
! 16819: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16820: fi
! 16821: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
! 16822: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
! 16823: if test $ac_cv_header_ltdl_h = yes; then
! 16824: echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
! 16825: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
! 16826: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
! 16827: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16828: else
! 16829: cat >conftest.$ac_ext <<_ACEOF
! 16830: /* confdefs.h. */
! 16831: _ACEOF
! 16832: cat confdefs.h >>conftest.$ac_ext
! 16833: cat >>conftest.$ac_ext <<_ACEOF
! 16834: /* end confdefs.h. */
! 16835: $ac_includes_default
! 16836: #include <ltdl.h>
! 16837:
! 16838: int
! 16839: main ()
! 16840: {
! 16841: #ifndef lt_dlinterface_register
! 16842: char *p = (char *) lt_dlinterface_register;
! 16843: #endif
! 16844:
! 16845: ;
! 16846: return 0;
! 16847: }
! 16848: _ACEOF
! 16849: rm -f conftest.$ac_objext
! 16850: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16851: (eval $ac_compile) 2>conftest.er1
! 16852: ac_status=$?
! 16853: grep -v '^ *+' conftest.er1 >conftest.err
! 16854: rm -f conftest.er1
! 16855: cat conftest.err >&5
! 16856: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16857: (exit $ac_status); } &&
! 16858: { ac_try='test -z "$ac_c_werror_flag"
! 16859: || test ! -s conftest.err'
! 16860: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16861: (eval $ac_try) 2>&5
! 16862: ac_status=$?
! 16863: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16864: (exit $ac_status); }; } &&
! 16865: { ac_try='test -s conftest.$ac_objext'
! 16866: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16867: (eval $ac_try) 2>&5
! 16868: ac_status=$?
! 16869: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16870: (exit $ac_status); }; }; then
! 16871: ac_cv_have_decl_lt_dlinterface_register=yes
! 16872: else
! 16873: echo "$as_me: failed program was:" >&5
! 16874: sed 's/^/| /' conftest.$ac_ext >&5
! 16875:
! 16876: ac_cv_have_decl_lt_dlinterface_register=no
! 16877: fi
! 16878: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16879: fi
! 16880: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
! 16881: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
! 16882: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
! 16883: echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
! 16884: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
! 16885: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
! 16886: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16887: else
! 16888: ac_check_lib_save_LIBS=$LIBS
! 16889: LIBS="-lltdl $LIBS"
! 16890: cat >conftest.$ac_ext <<_ACEOF
! 16891: /* confdefs.h. */
! 16892: _ACEOF
! 16893: cat confdefs.h >>conftest.$ac_ext
! 16894: cat >>conftest.$ac_ext <<_ACEOF
! 16895: /* end confdefs.h. */
! 16896:
! 16897: /* Override any gcc2 internal prototype to avoid an error. */
! 16898: #ifdef __cplusplus
! 16899: extern "C"
! 16900: #endif
! 16901: /* We use char because int might match the return type of a gcc2
! 16902: builtin and then its argument prototype would still apply. */
! 16903: char lt_dladvise_preload ();
! 16904: int
! 16905: main ()
! 16906: {
! 16907: lt_dladvise_preload ();
! 16908: ;
! 16909: return 0;
! 16910: }
! 16911: _ACEOF
! 16912: rm -f conftest.$ac_objext conftest$ac_exeext
! 16913: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16914: (eval $ac_link) 2>conftest.er1
! 16915: ac_status=$?
! 16916: grep -v '^ *+' conftest.er1 >conftest.err
! 16917: rm -f conftest.er1
! 16918: cat conftest.err >&5
! 16919: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16920: (exit $ac_status); } &&
! 16921: { ac_try='test -z "$ac_c_werror_flag"
! 16922: || test ! -s conftest.err'
! 16923: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16924: (eval $ac_try) 2>&5
! 16925: ac_status=$?
! 16926: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16927: (exit $ac_status); }; } &&
! 16928: { ac_try='test -s conftest$ac_exeext'
! 16929: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16930: (eval $ac_try) 2>&5
! 16931: ac_status=$?
! 16932: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16933: (exit $ac_status); }; }; then
! 16934: ac_cv_lib_ltdl_lt_dladvise_preload=yes
! 16935: else
! 16936: echo "$as_me: failed program was:" >&5
! 16937: sed 's/^/| /' conftest.$ac_ext >&5
! 16938:
! 16939: ac_cv_lib_ltdl_lt_dladvise_preload=no
! 16940: fi
! 16941: rm -f conftest.err conftest.$ac_objext \
! 16942: conftest$ac_exeext conftest.$ac_ext
! 16943: LIBS=$ac_check_lib_save_LIBS
! 16944: fi
! 16945: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
! 16946: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
! 16947: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
! 16948: with_included_ltdl=no
! 16949: else
! 16950: with_included_ltdl=yes
! 16951: fi
! 16952:
! 16953: else
! 16954: with_included_ltdl=yes
! 16955: fi
! 16956:
! 16957: else
! 16958: with_included_ltdl=yes
! 16959: fi
! 16960:
! 16961:
! 16962: fi
! 16963:
! 16964:
! 16965:
! 16966:
! 16967: # Check whether --with-ltdl_include or --without-ltdl_include was given.
! 16968: if test "${with_ltdl_include+set}" = set; then
! 16969: withval="$with_ltdl_include"
! 16970:
! 16971: fi;
! 16972:
! 16973: if test -n "$with_ltdl_include"; then
! 16974: if test -f "$with_ltdl_include/ltdl.h"; then :
! 16975: else
! 16976: { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
! 16977: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
! 16978: { (exit 1); exit 1; }; }
! 16979: fi
! 16980: else
! 16981: with_ltdl_include=no
! 16982: fi
! 16983:
! 16984:
! 16985: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
! 16986: if test "${with_ltdl_lib+set}" = set; then
! 16987: withval="$with_ltdl_lib"
! 16988:
! 16989: fi;
! 16990:
! 16991: if test -n "$with_ltdl_lib"; then
! 16992: if test -f "$with_ltdl_lib/libltdl.la"; then :
! 16993: else
! 16994: { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
! 16995: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
! 16996: { (exit 1); exit 1; }; }
! 16997: fi
! 16998: else
! 16999: with_ltdl_lib=no
! 17000: fi
! 17001:
! 17002: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
! 17003: ,yes,no,no,)
! 17004: case $enable_ltdl_convenience in
! 17005: no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
! 17006: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
! 17007: { (exit 1); exit 1; }; } ;;
! 17008: "") enable_ltdl_convenience=yes
! 17009: ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
! 17010: esac
! 17011: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
! 17012: LTDLDEPS=$LIBLTDL
! 17013: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
! 17014:
! 17015:
! 17016:
! 17017:
! 17018:
! 17019: # For backwards non-gettext consistent compatibility...
! 17020: INCLTDL="$LTDLINCL"
! 17021:
! 17022:
! 17023: ;;
! 17024: ,no,no,no,)
! 17025: # If the included ltdl is not to be used, then use the
! 17026: # preinstalled libltdl we found.
! 17027:
! 17028: cat >>confdefs.h <<\_ACEOF
! 17029: #define HAVE_LTDL 1
! 17030: _ACEOF
! 17031:
! 17032: LIBLTDL=-lltdl
! 17033: LTDLDEPS=
! 17034: LTDLINCL=
! 17035: ;;
! 17036: ,no*,no,*)
! 17037: { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
! 17038: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
! 17039: { (exit 1); exit 1; }; }
! 17040: ;;
! 17041: *) with_included_ltdl=no
! 17042: LIBLTDL="-L$with_ltdl_lib -lltdl"
! 17043: LTDLDEPS=
! 17044: LTDLINCL="-I$with_ltdl_include"
! 17045: ;;
! 17046: esac
! 17047: INCLTDL="$LTDLINCL"
! 17048:
! 17049: # Report our decision...
! 17050: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
! 17051: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
! 17052: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
! 17053: echo "${ECHO_T}$LTDLINCL" >&6
! 17054: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
! 17055: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
! 17056: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
! 17057: echo "${ECHO_T}$LIBLTDL" >&6
! 17058:
! 17059:
! 17060:
! 17061: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
! 17062: if test "${enable_ltdl_install+set}" = set; then
! 17063: enableval="$enable_ltdl_install"
! 17064:
! 17065: fi;
! 17066:
! 17067: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
! 17068: *yes*) ;;
! 17069: *) enable_ltdl_convenience=yes ;;
! 17070: esac
! 17071:
! 17072:
! 17073:
! 17074: if test x"${enable_ltdl_install-no}" != xno; then
! 17075: INSTALL_LTDL_TRUE=
! 17076: INSTALL_LTDL_FALSE='#'
! 17077: else
! 17078: INSTALL_LTDL_TRUE='#'
! 17079: INSTALL_LTDL_FALSE=
! 17080: fi
! 17081:
! 17082:
! 17083:
! 17084: if test x"${enable_ltdl_convenience-no}" != xno; then
! 17085: CONVENIENCE_LTDL_TRUE=
! 17086: CONVENIENCE_LTDL_FALSE='#'
! 17087: else
! 17088: CONVENIENCE_LTDL_TRUE='#'
! 17089: CONVENIENCE_LTDL_FALSE=
! 17090: fi
! 17091:
! 17092:
! 17093:
! 17094:
! 17095:
! 17096: subdirs="$subdirs libltdl"
! 17097:
! 17098:
! 17099:
! 17100:
! 17101: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
! 17102: # the user used. This is so that ltdl.h can pick up the parent projects
! 17103: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
! 17104: # definitions required by ltdl.c.
! 17105: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
! 17106:
! 17107:
! 17108:
! 17109:
! 17110:
! 17111:
! 17112:
! 17113:
! 17114:
! 17115: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
! 17116: do
! 17117: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17118: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17119: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17120: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17121: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17122: else
! 17123: cat >conftest.$ac_ext <<_ACEOF
! 17124: /* confdefs.h. */
! 17125: _ACEOF
! 17126: cat confdefs.h >>conftest.$ac_ext
! 17127: cat >>conftest.$ac_ext <<_ACEOF
! 17128: /* end confdefs.h. */
! 17129: $ac_includes_default
! 17130:
! 17131: #include <$ac_header>
! 17132: _ACEOF
! 17133: rm -f conftest.$ac_objext
! 17134: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17135: (eval $ac_compile) 2>conftest.er1
! 17136: ac_status=$?
! 17137: grep -v '^ *+' conftest.er1 >conftest.err
! 17138: rm -f conftest.er1
! 17139: cat conftest.err >&5
! 17140: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17141: (exit $ac_status); } &&
! 17142: { ac_try='test -z "$ac_c_werror_flag"
! 17143: || test ! -s conftest.err'
! 17144: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17145: (eval $ac_try) 2>&5
! 17146: ac_status=$?
! 17147: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17148: (exit $ac_status); }; } &&
! 17149: { ac_try='test -s conftest.$ac_objext'
! 17150: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17151: (eval $ac_try) 2>&5
! 17152: ac_status=$?
! 17153: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17154: (exit $ac_status); }; }; then
! 17155: eval "$as_ac_Header=yes"
! 17156: else
! 17157: echo "$as_me: failed program was:" >&5
! 17158: sed 's/^/| /' conftest.$ac_ext >&5
! 17159:
! 17160: eval "$as_ac_Header=no"
! 17161: fi
! 17162: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17163: fi
! 17164: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17165: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17166: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 17167: cat >>confdefs.h <<_ACEOF
! 17168: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17169: _ACEOF
! 17170:
! 17171: fi
! 17172:
! 17173: done
! 17174:
! 17175:
! 17176:
! 17177:
! 17178:
! 17179: for ac_func in closedir opendir readdir
! 17180: do
! 17181: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17182: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 17183: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 17184: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 17185: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17186: else
! 17187: cat >conftest.$ac_ext <<_ACEOF
! 17188: /* confdefs.h. */
! 17189: _ACEOF
! 17190: cat confdefs.h >>conftest.$ac_ext
! 17191: cat >>conftest.$ac_ext <<_ACEOF
! 17192: /* end confdefs.h. */
! 17193: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 17194: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 17195: #define $ac_func innocuous_$ac_func
! 17196:
! 17197: /* System header to define __stub macros and hopefully few prototypes,
! 17198: which can conflict with char $ac_func (); below.
! 17199: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 17200: <limits.h> exists even on freestanding compilers. */
! 17201:
! 17202: #ifdef __STDC__
! 17203: # include <limits.h>
! 17204: #else
! 17205: # include <assert.h>
! 17206: #endif
! 17207:
! 17208: #undef $ac_func
! 17209:
! 17210: /* Override any gcc2 internal prototype to avoid an error. */
! 17211: #ifdef __cplusplus
! 17212: extern "C"
! 17213: {
! 17214: #endif
! 17215: /* We use char because int might match the return type of a gcc2
! 17216: builtin and then its argument prototype would still apply. */
! 17217: char $ac_func ();
! 17218: /* The GNU C library defines this for functions which it implements
! 17219: to always fail with ENOSYS. Some functions are actually named
! 17220: something starting with __ and the normal name is an alias. */
! 17221: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 17222: choke me
! 17223: #else
! 17224: char (*f) () = $ac_func;
! 17225: #endif
! 17226: #ifdef __cplusplus
! 17227: }
! 17228: #endif
! 17229:
! 17230: int
! 17231: main ()
! 17232: {
! 17233: return f != $ac_func;
! 17234: ;
! 17235: return 0;
! 17236: }
! 17237: _ACEOF
! 17238: rm -f conftest.$ac_objext conftest$ac_exeext
! 17239: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17240: (eval $ac_link) 2>conftest.er1
! 17241: ac_status=$?
! 17242: grep -v '^ *+' conftest.er1 >conftest.err
! 17243: rm -f conftest.er1
! 17244: cat conftest.err >&5
! 17245: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17246: (exit $ac_status); } &&
! 17247: { ac_try='test -z "$ac_c_werror_flag"
! 17248: || test ! -s conftest.err'
! 17249: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17250: (eval $ac_try) 2>&5
! 17251: ac_status=$?
! 17252: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17253: (exit $ac_status); }; } &&
! 17254: { ac_try='test -s conftest$ac_exeext'
! 17255: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17256: (eval $ac_try) 2>&5
! 17257: ac_status=$?
! 17258: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17259: (exit $ac_status); }; }; then
! 17260: eval "$as_ac_var=yes"
! 17261: else
! 17262: echo "$as_me: failed program was:" >&5
! 17263: sed 's/^/| /' conftest.$ac_ext >&5
! 17264:
! 17265: eval "$as_ac_var=no"
! 17266: fi
! 17267: rm -f conftest.err conftest.$ac_objext \
! 17268: conftest$ac_exeext conftest.$ac_ext
! 17269: fi
! 17270: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 17271: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 17272: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 17273: cat >>confdefs.h <<_ACEOF
! 17274: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17275: _ACEOF
! 17276:
! 17277: else
! 17278:
! 17279:
! 17280: _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
! 17281:
! 17282: fi
! 17283: done
! 17284:
! 17285:
! 17286:
! 17287: for ac_func in strlcat strlcpy
! 17288: do
! 17289: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17290: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 17291: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 17292: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 17293: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17294: else
! 17295: cat >conftest.$ac_ext <<_ACEOF
! 17296: /* confdefs.h. */
! 17297: _ACEOF
! 17298: cat confdefs.h >>conftest.$ac_ext
! 17299: cat >>conftest.$ac_ext <<_ACEOF
! 17300: /* end confdefs.h. */
! 17301: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 17302: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 17303: #define $ac_func innocuous_$ac_func
! 17304:
! 17305: /* System header to define __stub macros and hopefully few prototypes,
! 17306: which can conflict with char $ac_func (); below.
! 17307: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 17308: <limits.h> exists even on freestanding compilers. */
! 17309:
! 17310: #ifdef __STDC__
! 17311: # include <limits.h>
! 17312: #else
! 17313: # include <assert.h>
! 17314: #endif
! 17315:
! 17316: #undef $ac_func
! 17317:
! 17318: /* Override any gcc2 internal prototype to avoid an error. */
! 17319: #ifdef __cplusplus
! 17320: extern "C"
! 17321: {
! 17322: #endif
! 17323: /* We use char because int might match the return type of a gcc2
! 17324: builtin and then its argument prototype would still apply. */
! 17325: char $ac_func ();
! 17326: /* The GNU C library defines this for functions which it implements
! 17327: to always fail with ENOSYS. Some functions are actually named
! 17328: something starting with __ and the normal name is an alias. */
! 17329: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 17330: choke me
! 17331: #else
! 17332: char (*f) () = $ac_func;
! 17333: #endif
! 17334: #ifdef __cplusplus
! 17335: }
! 17336: #endif
! 17337:
! 17338: int
! 17339: main ()
! 17340: {
! 17341: return f != $ac_func;
! 17342: ;
! 17343: return 0;
! 17344: }
! 17345: _ACEOF
! 17346: rm -f conftest.$ac_objext conftest$ac_exeext
! 17347: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17348: (eval $ac_link) 2>conftest.er1
! 17349: ac_status=$?
! 17350: grep -v '^ *+' conftest.er1 >conftest.err
! 17351: rm -f conftest.er1
! 17352: cat conftest.err >&5
! 17353: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17354: (exit $ac_status); } &&
! 17355: { ac_try='test -z "$ac_c_werror_flag"
! 17356: || test ! -s conftest.err'
! 17357: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17358: (eval $ac_try) 2>&5
! 17359: ac_status=$?
! 17360: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17361: (exit $ac_status); }; } &&
! 17362: { ac_try='test -s conftest$ac_exeext'
! 17363: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17364: (eval $ac_try) 2>&5
! 17365: ac_status=$?
! 17366: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17367: (exit $ac_status); }; }; then
! 17368: eval "$as_ac_var=yes"
! 17369: else
! 17370: echo "$as_me: failed program was:" >&5
! 17371: sed 's/^/| /' conftest.$ac_ext >&5
! 17372:
! 17373: eval "$as_ac_var=no"
! 17374: fi
! 17375: rm -f conftest.err conftest.$ac_objext \
! 17376: conftest$ac_exeext conftest.$ac_ext
! 17377: fi
! 17378: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 17379: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 17380: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 17381: cat >>confdefs.h <<_ACEOF
! 17382: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17383: _ACEOF
! 17384:
! 17385: else
! 17386:
! 17387:
! 17388: _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
! 17389:
! 17390: fi
! 17391: done
! 17392:
! 17393:
! 17394:
! 17395: cat >>confdefs.h <<_ACEOF
! 17396: #define LT_LIBEXT "$libext"
! 17397: _ACEOF
! 17398:
! 17399:
! 17400: name=
! 17401: eval "lt_libprefix=\"$libname_spec\""
! 17402:
! 17403: cat >>confdefs.h <<_ACEOF
! 17404: #define LT_LIBPREFIX "$lt_libprefix"
! 17405: _ACEOF
! 17406:
! 17407:
! 17408: name=ltdl
! 17409: eval "LTDLOPEN=\"$libname_spec\""
! 17410:
! 17411:
! 17412:
! 17413:
! 17414:
! 17415:
! 17416:
! 17417:
! 17418: # Only expand once:
! 17419:
! 17420:
! 17421:
! 17422:
! 17423: case "$host" in
! 17424: *-freebsd4*)
! 17425:
! 17426: cat >>confdefs.h <<\_ACEOF
! 17427: #define FREEBSD4
! 17428: _ACEOF
! 17429:
! 17430: esac
! 17431:
! 17432:
! 17433:
! 17434:
! 17435:
! 17436:
! 17437:
! 17438: for ac_header in stdio.h \
! 17439: stdlib.h \
! 17440: string.h \
! 17441: setjmp.h \
! 17442: ctype.h
! 17443:
! 17444: do
! 17445: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17446: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17447: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17448: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17449: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17450: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17451: fi
! 17452: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17453: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17454: else
! 17455: # Is the header compilable?
! 17456: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 17457: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 17458: cat >conftest.$ac_ext <<_ACEOF
! 17459: /* confdefs.h. */
! 17460: _ACEOF
! 17461: cat confdefs.h >>conftest.$ac_ext
! 17462: cat >>conftest.$ac_ext <<_ACEOF
! 17463: /* end confdefs.h. */
! 17464: $ac_includes_default
! 17465: #include <$ac_header>
! 17466: _ACEOF
! 17467: rm -f conftest.$ac_objext
! 17468: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17469: (eval $ac_compile) 2>conftest.er1
! 17470: ac_status=$?
! 17471: grep -v '^ *+' conftest.er1 >conftest.err
! 17472: rm -f conftest.er1
! 17473: cat conftest.err >&5
! 17474: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17475: (exit $ac_status); } &&
! 17476: { ac_try='test -z "$ac_c_werror_flag"
! 17477: || test ! -s conftest.err'
! 17478: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17479: (eval $ac_try) 2>&5
! 17480: ac_status=$?
! 17481: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17482: (exit $ac_status); }; } &&
! 17483: { ac_try='test -s conftest.$ac_objext'
! 17484: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17485: (eval $ac_try) 2>&5
! 17486: ac_status=$?
! 17487: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17488: (exit $ac_status); }; }; then
! 17489: ac_header_compiler=yes
! 17490: else
! 17491: echo "$as_me: failed program was:" >&5
! 17492: sed 's/^/| /' conftest.$ac_ext >&5
! 17493:
! 17494: ac_header_compiler=no
! 17495: fi
! 17496: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17497: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 17498: echo "${ECHO_T}$ac_header_compiler" >&6
! 17499:
! 17500: # Is the header present?
! 17501: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 17502: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 17503: cat >conftest.$ac_ext <<_ACEOF
! 17504: /* confdefs.h. */
! 17505: _ACEOF
! 17506: cat confdefs.h >>conftest.$ac_ext
! 17507: cat >>conftest.$ac_ext <<_ACEOF
! 17508: /* end confdefs.h. */
! 17509: #include <$ac_header>
! 17510: _ACEOF
! 17511: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 17512: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 17513: ac_status=$?
! 17514: grep -v '^ *+' conftest.er1 >conftest.err
! 17515: rm -f conftest.er1
! 17516: cat conftest.err >&5
! 17517: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17518: (exit $ac_status); } >/dev/null; then
! 17519: if test -s conftest.err; then
! 17520: ac_cpp_err=$ac_c_preproc_warn_flag
! 17521: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 17522: else
! 17523: ac_cpp_err=
! 17524: fi
! 17525: else
! 17526: ac_cpp_err=yes
! 17527: fi
! 17528: if test -z "$ac_cpp_err"; then
! 17529: ac_header_preproc=yes
! 17530: else
! 17531: echo "$as_me: failed program was:" >&5
! 17532: sed 's/^/| /' conftest.$ac_ext >&5
! 17533:
! 17534: ac_header_preproc=no
! 17535: fi
! 17536: rm -f conftest.err conftest.$ac_ext
! 17537: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 17538: echo "${ECHO_T}$ac_header_preproc" >&6
! 17539:
! 17540: # So? What about this header?
! 17541: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 17542: yes:no: )
! 17543: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 17544: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 17545: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 17546: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 17547: ac_header_preproc=yes
! 17548: ;;
! 17549: no:yes:* )
! 17550: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 17551: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 17552: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 17553: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 17554: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 17555: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 17556: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 17557: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 17558: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 17559: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 17560: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 17561: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 17562: (
! 17563: cat <<\_ASBOX
! 17564: ## ------------------------------------------ ##
! 17565: ## Report this to the AC_PACKAGE_NAME lists. ##
! 17566: ## ------------------------------------------ ##
! 17567: _ASBOX
! 17568: ) |
! 17569: sed "s/^/$as_me: WARNING: /" >&2
! 17570: ;;
! 17571: esac
! 17572: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17573: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17574: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17575: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17576: else
! 17577: eval "$as_ac_Header=\$ac_header_preproc"
! 17578: fi
! 17579: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17580: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17581:
! 17582: fi
! 17583: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 17584: cat >>confdefs.h <<_ACEOF
! 17585: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17586: _ACEOF
! 17587:
! 17588: fi
! 17589:
! 17590: done
! 17591:
! 17592:
! 17593:
! 17594: echo "$as_me:$LINENO: checking for size_t" >&5
! 17595: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
! 17596: if test "${ac_cv_type_size_t+set}" = set; then
! 17597: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17598: else
! 17599: cat >conftest.$ac_ext <<_ACEOF
! 17600: /* confdefs.h. */
! 17601: _ACEOF
! 17602: cat confdefs.h >>conftest.$ac_ext
! 17603: cat >>conftest.$ac_ext <<_ACEOF
! 17604: /* end confdefs.h. */
! 17605: $ac_includes_default
! 17606: int
! 17607: main ()
! 17608: {
! 17609: if ((size_t *) 0)
! 17610: return 0;
! 17611: if (sizeof (size_t))
! 17612: return 0;
! 17613: ;
! 17614: return 0;
! 17615: }
! 17616: _ACEOF
! 17617: rm -f conftest.$ac_objext
! 17618: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17619: (eval $ac_compile) 2>conftest.er1
! 17620: ac_status=$?
! 17621: grep -v '^ *+' conftest.er1 >conftest.err
! 17622: rm -f conftest.er1
! 17623: cat conftest.err >&5
! 17624: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17625: (exit $ac_status); } &&
! 17626: { ac_try='test -z "$ac_c_werror_flag"
! 17627: || test ! -s conftest.err'
! 17628: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17629: (eval $ac_try) 2>&5
! 17630: ac_status=$?
! 17631: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17632: (exit $ac_status); }; } &&
! 17633: { ac_try='test -s conftest.$ac_objext'
! 17634: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17635: (eval $ac_try) 2>&5
! 17636: ac_status=$?
! 17637: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17638: (exit $ac_status); }; }; then
! 17639: ac_cv_type_size_t=yes
! 17640: else
! 17641: echo "$as_me: failed program was:" >&5
! 17642: sed 's/^/| /' conftest.$ac_ext >&5
! 17643:
! 17644: ac_cv_type_size_t=no
! 17645: fi
! 17646: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17647: fi
! 17648: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
! 17649: echo "${ECHO_T}$ac_cv_type_size_t" >&6
! 17650: if test $ac_cv_type_size_t = yes; then
! 17651: :
! 17652: else
! 17653:
! 17654: cat >>confdefs.h <<_ACEOF
! 17655: #define size_t unsigned
! 17656: _ACEOF
! 17657:
! 17658: fi
! 17659:
! 17660:
! 17661:
! 17662:
! 17663: ac_config_files="$ac_config_files Makefile"
! 17664: cat >confcache <<\_ACEOF
! 17665: # This file is a shell script that caches the results of configure
! 17666: # tests run on this system so they can be shared between configure
! 17667: # scripts and configure runs, see configure's option --config-cache.
! 17668: # It is not useful on other systems. If it contains results you don't
! 17669: # want to keep, you may remove or edit it.
! 17670: #
! 17671: # config.status only pays attention to the cache file if you give it
! 17672: # the --recheck option to rerun configure.
! 17673: #
! 17674: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 17675: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 17676: # following values.
! 17677:
! 17678: _ACEOF
! 17679:
! 17680: # The following way of writing the cache mishandles newlines in values,
! 17681: # but we know of no workaround that is simple, portable, and efficient.
! 17682: # So, don't put newlines in cache variables' values.
! 17683: # Ultrix sh set writes to stderr and can't be redirected directly,
! 17684: # and sets the high bit in the cache file unless we assign to the vars.
! 17685: {
! 17686: (set) 2>&1 |
! 17687: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 17688: *ac_space=\ *)
! 17689: # `set' does not quote correctly, so add quotes (double-quote
! 17690: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 17691: sed -n \
! 17692: "s/'/'\\\\''/g;
! 17693: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 17694: ;;
! 17695: *)
! 17696: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 17697: sed -n \
! 17698: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 17699: ;;
! 17700: esac;
! 17701: } |
! 17702: sed '
! 17703: t clear
! 17704: : clear
! 17705: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 17706: t end
! 17707: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 17708: : end' >>confcache
! 17709: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 17710: if test -w $cache_file; then
! 17711: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 17712: cat confcache >$cache_file
! 17713: else
! 17714: echo "not updating unwritable cache $cache_file"
! 17715: fi
! 17716: fi
! 17717: rm -f confcache
! 17718:
! 17719: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 17720: # Let make expand exec_prefix.
! 17721: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 17722:
! 17723: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 17724: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 17725: # trailing colons and then remove the whole line if VPATH becomes empty
! 17726: # (actually we leave an empty line to preserve line numbers).
! 17727: if test "x$srcdir" = x.; then
! 17728: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 17729: s/:*\$(srcdir):*/:/;
! 17730: s/:*\${srcdir}:*/:/;
! 17731: s/:*@srcdir@:*/:/;
! 17732: s/^\([^=]*=[ ]*\):*/\1/;
! 17733: s/:*$//;
! 17734: s/^[^=]*=[ ]*$//;
! 17735: }'
! 17736: fi
! 17737:
! 17738: DEFS=-DHAVE_CONFIG_H
! 17739:
! 17740: ac_libobjs=
! 17741: ac_ltlibobjs=
! 17742: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 17743: # 1. Remove the extension, and $U if already installed.
! 17744: ac_i=`echo "$ac_i" |
! 17745: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 17746: # 2. Add them.
! 17747: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 17748: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 17749: done
! 17750: LIBOBJS=$ac_libobjs
! 17751:
! 17752: LTLIBOBJS=$ac_ltlibobjs
! 17753:
! 17754:
! 17755: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 17756: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 17757: Usually this means the macro was only invoked conditionally." >&5
! 17758: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 17759: Usually this means the macro was only invoked conditionally." >&2;}
! 17760: { (exit 1); exit 1; }; }
! 17761: fi
! 17762: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 17763: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 17764: Usually this means the macro was only invoked conditionally." >&5
! 17765: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 17766: Usually this means the macro was only invoked conditionally." >&2;}
! 17767: { (exit 1); exit 1; }; }
! 17768: fi
! 17769: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 17770: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 17771: Usually this means the macro was only invoked conditionally." >&5
! 17772: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 17773: Usually this means the macro was only invoked conditionally." >&2;}
! 17774: { (exit 1); exit 1; }; }
! 17775: fi
! 17776: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
! 17777: { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
! 17778: Usually this means the macro was only invoked conditionally." >&5
! 17779: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
! 17780: Usually this means the macro was only invoked conditionally." >&2;}
! 17781: { (exit 1); exit 1; }; }
! 17782: fi
! 17783: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
! 17784: { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 17785: Usually this means the macro was only invoked conditionally." >&5
! 17786: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 17787: Usually this means the macro was only invoked conditionally." >&2;}
! 17788: { (exit 1); exit 1; }; }
! 17789: fi
! 17790: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[ ]*,,;s,[ :].*$,,'`
! 17791:
! 17792: _ltdl_libobjs=
! 17793: _ltdl_ltlibobjs=
! 17794: if test -n "$_LT_LIBOBJS"; then
! 17795: # Remove the extension.
! 17796: _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
! 17797: for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
! 17798: _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
! 17799: _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
! 17800: done
! 17801: fi
! 17802: ltdl_LIBOBJS=$_ltdl_libobjs
! 17803:
! 17804: ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
! 17805:
! 17806:
! 17807:
! 17808: : ${CONFIG_STATUS=./config.status}
! 17809: ac_clean_files_save=$ac_clean_files
! 17810: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 17811: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 17812: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 17813: cat >$CONFIG_STATUS <<_ACEOF
! 17814: #! $SHELL
! 17815: # Generated by $as_me.
! 17816: # Run this file to recreate the current configuration.
! 17817: # Compiler output produced by configure, useful for debugging
! 17818: # configure, is in config.log if it exists.
! 17819:
! 17820: debug=false
! 17821: ac_cs_recheck=false
! 17822: ac_cs_silent=false
! 17823: SHELL=\${CONFIG_SHELL-$SHELL}
! 17824: _ACEOF
! 17825:
! 17826: cat >>$CONFIG_STATUS <<\_ACEOF
! 17827: ## --------------------- ##
! 17828: ## M4sh Initialization. ##
! 17829: ## --------------------- ##
! 17830:
! 17831: # Be Bourne compatible
! 17832: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 17833: emulate sh
! 17834: NULLCMD=:
! 17835: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 17836: # is contrary to our usage. Disable this feature.
! 17837: alias -g '${1+"$@"}'='"$@"'
! 17838: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 17839: set -o posix
! 17840: fi
! 17841: DUALCASE=1; export DUALCASE # for MKS sh
! 17842:
! 17843: # Support unset when possible.
! 17844: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 17845: as_unset=unset
! 17846: else
! 17847: as_unset=false
! 17848: fi
! 17849:
! 17850:
! 17851: # Work around bugs in pre-3.0 UWIN ksh.
! 17852: $as_unset ENV MAIL MAILPATH
! 17853: PS1='$ '
! 17854: PS2='> '
! 17855: PS4='+ '
! 17856:
! 17857: # NLS nuisances.
! 17858: for as_var in \
! 17859: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 17860: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 17861: LC_TELEPHONE LC_TIME
! 17862: do
! 17863: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 17864: eval $as_var=C; export $as_var
! 17865: else
! 17866: $as_unset $as_var
! 17867: fi
! 17868: done
! 17869:
! 17870: # Required to use basename.
! 17871: if expr a : '\(a\)' >/dev/null 2>&1; then
! 17872: as_expr=expr
! 17873: else
! 17874: as_expr=false
! 17875: fi
! 17876:
! 17877: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 17878: as_basename=basename
! 17879: else
! 17880: as_basename=false
! 17881: fi
! 17882:
! 17883:
! 17884: # Name of the executable.
! 17885: as_me=`$as_basename "$0" ||
! 17886: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 17887: X"$0" : 'X\(//\)$' \| \
! 17888: X"$0" : 'X\(/\)$' \| \
! 17889: . : '\(.\)' 2>/dev/null ||
! 17890: echo X/"$0" |
! 17891: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 17892: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 17893: /^X\/\(\/\).*/{ s//\1/; q; }
! 17894: s/.*/./; q'`
! 17895:
! 17896:
! 17897: # PATH needs CR, and LINENO needs CR and PATH.
! 17898: # Avoid depending upon Character Ranges.
! 17899: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 17900: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 17901: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 17902: as_cr_digits='0123456789'
! 17903: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 17904:
! 17905: # The user is always right.
! 17906: if test "${PATH_SEPARATOR+set}" != set; then
! 17907: echo "#! /bin/sh" >conf$$.sh
! 17908: echo "exit 0" >>conf$$.sh
! 17909: chmod +x conf$$.sh
! 17910: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 17911: PATH_SEPARATOR=';'
! 17912: else
! 17913: PATH_SEPARATOR=:
! 17914: fi
! 17915: rm -f conf$$.sh
! 17916: fi
! 17917:
! 17918:
! 17919: as_lineno_1=$LINENO
! 17920: as_lineno_2=$LINENO
! 17921: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 17922: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 17923: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 17924: # Find who we are. Look in the path if we contain no path at all
! 17925: # relative or not.
! 17926: case $0 in
! 17927: *[\\/]* ) as_myself=$0 ;;
! 17928: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 17929: for as_dir in $PATH
! 17930: do
! 17931: IFS=$as_save_IFS
! 17932: test -z "$as_dir" && as_dir=.
! 17933: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 17934: done
! 17935:
! 17936: ;;
! 17937: esac
! 17938: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 17939: # in which case we are not to be found in the path.
! 17940: if test "x$as_myself" = x; then
! 17941: as_myself=$0
! 17942: fi
! 17943: if test ! -f "$as_myself"; then
! 17944: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 17945: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 17946: { (exit 1); exit 1; }; }
! 17947: fi
! 17948: case $CONFIG_SHELL in
! 17949: '')
! 17950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 17951: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 17952: do
! 17953: IFS=$as_save_IFS
! 17954: test -z "$as_dir" && as_dir=.
! 17955: for as_base in sh bash ksh sh5; do
! 17956: case $as_dir in
! 17957: /*)
! 17958: if ("$as_dir/$as_base" -c '
! 17959: as_lineno_1=$LINENO
! 17960: as_lineno_2=$LINENO
! 17961: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 17962: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 17963: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 17964: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 17965: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 17966: CONFIG_SHELL=$as_dir/$as_base
! 17967: export CONFIG_SHELL
! 17968: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 17969: fi;;
! 17970: esac
! 17971: done
! 17972: done
! 17973: ;;
! 17974: esac
! 17975:
! 17976: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 17977: # uniformly replaced by the line number. The first 'sed' inserts a
! 17978: # line-number line before each line; the second 'sed' does the real
! 17979: # work. The second script uses 'N' to pair each line-number line
! 17980: # with the numbered line, and appends trailing '-' during
! 17981: # substitution so that $LINENO is not a special case at line end.
! 17982: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 17983: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 17984: sed '=' <$as_myself |
! 17985: sed '
! 17986: N
! 17987: s,$,-,
! 17988: : loop
! 17989: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 17990: t loop
! 17991: s,-$,,
! 17992: s,^['$as_cr_digits']*\n,,
! 17993: ' >$as_me.lineno &&
! 17994: chmod +x $as_me.lineno ||
! 17995: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 17996: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 17997: { (exit 1); exit 1; }; }
! 17998:
! 17999: # Don't try to exec as it changes $[0], causing all sort of problems
! 18000: # (the dirname of $[0] is not the place where we might find the
! 18001: # original and so on. Autoconf is especially sensible to this).
! 18002: . ./$as_me.lineno
! 18003: # Exit status is that of the last command.
! 18004: exit
! 18005: }
! 18006:
! 18007:
! 18008: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 18009: *c*,-n*) ECHO_N= ECHO_C='
! 18010: ' ECHO_T=' ' ;;
! 18011: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 18012: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 18013: esac
! 18014:
! 18015: if expr a : '\(a\)' >/dev/null 2>&1; then
! 18016: as_expr=expr
! 18017: else
! 18018: as_expr=false
! 18019: fi
! 18020:
! 18021: rm -f conf$$ conf$$.exe conf$$.file
! 18022: echo >conf$$.file
! 18023: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 18024: # We could just check for DJGPP; but this test a) works b) is more generic
! 18025: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 18026: if test -f conf$$.exe; then
! 18027: # Don't use ln at all; we don't have any links
! 18028: as_ln_s='cp -p'
! 18029: else
! 18030: as_ln_s='ln -s'
! 18031: fi
! 18032: elif ln conf$$.file conf$$ 2>/dev/null; then
! 18033: as_ln_s=ln
! 18034: else
! 18035: as_ln_s='cp -p'
! 18036: fi
! 18037: rm -f conf$$ conf$$.exe conf$$.file
! 18038:
! 18039: if mkdir -p . 2>/dev/null; then
! 18040: as_mkdir_p=:
! 18041: else
! 18042: test -d ./-p && rmdir ./-p
! 18043: as_mkdir_p=false
! 18044: fi
! 18045:
! 18046: as_executable_p="test -f"
! 18047:
! 18048: # Sed expression to map a string onto a valid CPP name.
! 18049: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 18050:
! 18051: # Sed expression to map a string onto a valid variable name.
! 18052: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 18053:
! 18054:
! 18055: # IFS
! 18056: # We need space, tab and new line, in precisely that order.
! 18057: as_nl='
! 18058: '
! 18059: IFS=" $as_nl"
! 18060:
! 18061: # CDPATH.
! 18062: $as_unset CDPATH
! 18063:
! 18064: exec 6>&1
! 18065:
! 18066: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 18067: # report actual input values of CONFIG_FILES etc. instead of their
! 18068: # values after options handling. Logging --version etc. is OK.
! 18069: exec 5>>config.log
! 18070: {
! 18071: echo
! 18072: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 18073: ## Running $as_me. ##
! 18074: _ASBOX
! 18075: } >&5
! 18076: cat >&5 <<_CSEOF
! 18077:
! 18078: This file was extended by $as_me, which was
! 18079: generated by GNU Autoconf 2.59. Invocation command line was
! 18080:
! 18081: CONFIG_FILES = $CONFIG_FILES
! 18082: CONFIG_HEADERS = $CONFIG_HEADERS
! 18083: CONFIG_LINKS = $CONFIG_LINKS
! 18084: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 18085: $ $0 $@
! 18086:
! 18087: _CSEOF
! 18088: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 18089: echo >&5
! 18090: _ACEOF
! 18091:
! 18092: # Files that config.status was made for.
! 18093: if test -n "$ac_config_files"; then
! 18094: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 18095: fi
! 18096:
! 18097: if test -n "$ac_config_headers"; then
! 18098: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 18099: fi
! 18100:
! 18101: if test -n "$ac_config_links"; then
! 18102: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 18103: fi
! 18104:
! 18105: if test -n "$ac_config_commands"; then
! 18106: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 18107: fi
! 18108:
! 18109: cat >>$CONFIG_STATUS <<\_ACEOF
! 18110:
! 18111: ac_cs_usage="\
! 18112: \`$as_me' instantiates files from templates according to the
! 18113: current configuration.
! 18114:
! 18115: Usage: $0 [OPTIONS] [FILE]...
! 18116:
! 18117: -h, --help print this help, then exit
! 18118: -V, --version print version number, then exit
! 18119: -q, --quiet do not print progress messages
! 18120: -d, --debug don't remove temporary files
! 18121: --recheck update $as_me by reconfiguring in the same conditions
! 18122: --file=FILE[:TEMPLATE]
! 18123: instantiate the configuration file FILE
! 18124: --header=FILE[:TEMPLATE]
! 18125: instantiate the configuration header FILE
! 18126:
! 18127: Configuration files:
! 18128: $config_files
! 18129:
! 18130: Configuration headers:
! 18131: $config_headers
! 18132:
! 18133: Configuration commands:
! 18134: $config_commands
! 18135:
! 18136: Report bugs to <bug-autoconf@gnu.org>."
! 18137: _ACEOF
! 18138:
! 18139: cat >>$CONFIG_STATUS <<_ACEOF
! 18140: ac_cs_version="\\
! 18141: config.status
! 18142: configured by $0, generated by GNU Autoconf 2.59,
! 18143: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 18144:
! 18145: Copyright (C) 2003 Free Software Foundation, Inc.
! 18146: This config.status script is free software; the Free Software Foundation
! 18147: gives unlimited permission to copy, distribute and modify it."
! 18148: srcdir=$srcdir
! 18149: INSTALL="$INSTALL"
! 18150: _ACEOF
! 18151:
! 18152: cat >>$CONFIG_STATUS <<\_ACEOF
! 18153: # If no file are specified by the user, then we need to provide default
! 18154: # value. By we need to know if files were specified by the user.
! 18155: ac_need_defaults=:
! 18156: while test $# != 0
! 18157: do
! 18158: case $1 in
! 18159: --*=*)
! 18160: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 18161: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 18162: ac_shift=:
! 18163: ;;
! 18164: -*)
! 18165: ac_option=$1
! 18166: ac_optarg=$2
! 18167: ac_shift=shift
! 18168: ;;
! 18169: *) # This is not an option, so the user has probably given explicit
! 18170: # arguments.
! 18171: ac_option=$1
! 18172: ac_need_defaults=false;;
! 18173: esac
! 18174:
! 18175: case $ac_option in
! 18176: # Handling of the options.
! 18177: _ACEOF
! 18178: cat >>$CONFIG_STATUS <<\_ACEOF
! 18179: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 18180: ac_cs_recheck=: ;;
! 18181: --version | --vers* | -V )
! 18182: echo "$ac_cs_version"; exit 0 ;;
! 18183: --he | --h)
! 18184: # Conflict between --help and --header
! 18185: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 18186: Try \`$0 --help' for more information." >&5
! 18187: echo "$as_me: error: ambiguous option: $1
! 18188: Try \`$0 --help' for more information." >&2;}
! 18189: { (exit 1); exit 1; }; };;
! 18190: --help | --hel | -h )
! 18191: echo "$ac_cs_usage"; exit 0 ;;
! 18192: --debug | --d* | -d )
! 18193: debug=: ;;
! 18194: --file | --fil | --fi | --f )
! 18195: $ac_shift
! 18196: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 18197: ac_need_defaults=false;;
! 18198: --header | --heade | --head | --hea )
! 18199: $ac_shift
! 18200: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 18201: ac_need_defaults=false;;
! 18202: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 18203: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 18204: ac_cs_silent=: ;;
! 18205:
! 18206: # This is an error.
! 18207: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 18208: Try \`$0 --help' for more information." >&5
! 18209: echo "$as_me: error: unrecognized option: $1
! 18210: Try \`$0 --help' for more information." >&2;}
! 18211: { (exit 1); exit 1; }; } ;;
! 18212:
! 18213: *) ac_config_targets="$ac_config_targets $1" ;;
! 18214:
! 18215: esac
! 18216: shift
! 18217: done
! 18218:
! 18219: ac_configure_extra_args=
! 18220:
! 18221: if $ac_cs_silent; then
! 18222: exec 6>/dev/null
! 18223: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 18224: fi
! 18225:
! 18226: _ACEOF
! 18227: cat >>$CONFIG_STATUS <<_ACEOF
! 18228: if \$ac_cs_recheck; then
! 18229: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 18230: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 18231: fi
! 18232:
! 18233: _ACEOF
! 18234:
! 18235: cat >>$CONFIG_STATUS <<_ACEOF
! 18236: #
! 18237: # INIT-COMMANDS section.
! 18238: #
! 18239:
! 18240: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 18241:
! 18242:
! 18243: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 18244: # if CDPATH is set.
! 18245: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 18246:
! 18247: sed_quote_subst='$sed_quote_subst'
! 18248: double_quote_subst='$double_quote_subst'
! 18249: delay_variable_subst='$delay_variable_subst'
! 18250: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
! 18251: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
! 18252: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
! 18253: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
! 18254: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
! 18255: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
! 18256: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
! 18257: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
! 18258: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
! 18259: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
! 18260: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
! 18261: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
! 18262: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
! 18263: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
! 18264: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
! 18265: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
! 18266: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
! 18267: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
! 18268: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
! 18269: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
! 18270: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
! 18271: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
! 18272: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
! 18273: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
! 18274: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
! 18275: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
! 18276: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
! 18277: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
! 18278: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
! 18279: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
! 18280: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
! 18281: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
! 18282: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
! 18283: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
! 18284: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
! 18285: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
! 18286: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
! 18287: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
! 18288: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
! 18289: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
! 18290: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
! 18291: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
! 18292: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
! 18293: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
! 18294: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
! 18295: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18296: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18297: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
! 18298: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
! 18299: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
! 18300: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
! 18301: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
! 18302: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
! 18303: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
! 18304: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
! 18305: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
! 18306: 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"`'
! 18307: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
! 18308: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
! 18309: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
! 18310: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
! 18311: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
! 18312: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
! 18313: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
! 18314: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
! 18315: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
! 18316: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
! 18317: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
! 18318: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
! 18319: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
! 18320: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
! 18321: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
! 18322: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
! 18323: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
! 18324: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
! 18325: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 18326: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
! 18327: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
! 18328: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18329: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18330: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
! 18331: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
! 18332: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 18333: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
! 18334: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 18335: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
! 18336: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 18337: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
! 18338: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 18339: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 18340: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18341: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
! 18342: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
! 18343: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
! 18344: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
! 18345: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 18346: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
! 18347: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
! 18348: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
! 18349: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
! 18350: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
! 18351: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
! 18352: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
! 18353: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
! 18354: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
! 18355: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
! 18356: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
! 18357: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
! 18358: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
! 18359: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
! 18360: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
! 18361: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 18362: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
! 18363: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
! 18364: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
! 18365: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
! 18366: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
! 18367: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18368: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18369: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
! 18370: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
! 18371: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
! 18372: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
! 18373: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
! 18374: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
! 18375: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
! 18376: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
! 18377: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
! 18378: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
! 18379: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
! 18380: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
! 18381: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
! 18382: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
! 18383: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
! 18384: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
! 18385: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
! 18386: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
! 18387: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
! 18388: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18389: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18390: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18391: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
! 18392: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
! 18393: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18394: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
! 18395: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
! 18396: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
! 18397: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
! 18398: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
! 18399: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
! 18400: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18401: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18402: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
! 18403: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18404: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18405: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18406: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18407: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18408: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18409: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
! 18410: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18411: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18412: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18413: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
! 18414: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
! 18415: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
! 18416: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
! 18417: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
! 18418: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
! 18419: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
! 18420: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
! 18421: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
! 18422: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18423: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
! 18424: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
! 18425: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18426: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18427: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18428: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
! 18429: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
! 18430: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
! 18431: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
! 18432: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
! 18433: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
! 18434: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
! 18435:
! 18436: LTCC='$LTCC'
! 18437: LTCFLAGS='$LTCFLAGS'
! 18438: compiler='$compiler_DEFAULT'
! 18439:
! 18440: # A function that is used when there is no print builtin or printf.
! 18441: func_fallback_echo ()
! 18442: {
! 18443: eval 'cat <<_LTECHO_EOF
! 18444: \$1
! 18445: _LTECHO_EOF'
! 18446: }
! 18447:
! 18448: # Quote evaled strings.
! 18449: for var in SHELL \
! 18450: ECHO \
! 18451: PATH_SEPARATOR \
! 18452: SED \
! 18453: GREP \
! 18454: EGREP \
! 18455: FGREP \
! 18456: LD \
! 18457: NM \
! 18458: LN_S \
! 18459: lt_SP2NL \
! 18460: lt_NL2SP \
! 18461: reload_flag \
! 18462: OBJDUMP \
! 18463: deplibs_check_method \
! 18464: file_magic_cmd \
! 18465: file_magic_glob \
! 18466: want_nocaseglob \
! 18467: DLLTOOL \
! 18468: sharedlib_from_linklib_cmd \
! 18469: AR \
! 18470: AR_FLAGS \
! 18471: archiver_list_spec \
! 18472: STRIP \
! 18473: RANLIB \
! 18474: CC \
! 18475: CFLAGS \
! 18476: compiler \
! 18477: lt_cv_sys_global_symbol_pipe \
! 18478: lt_cv_sys_global_symbol_to_cdecl \
! 18479: lt_cv_sys_global_symbol_to_c_name_address \
! 18480: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 18481: nm_file_list_spec \
! 18482: lt_prog_compiler_no_builtin_flag \
! 18483: lt_prog_compiler_pic \
! 18484: lt_prog_compiler_wl \
! 18485: lt_prog_compiler_static \
! 18486: lt_cv_prog_compiler_c_o \
! 18487: need_locks \
! 18488: MANIFEST_TOOL \
! 18489: DSYMUTIL \
! 18490: NMEDIT \
! 18491: LIPO \
! 18492: OTOOL \
! 18493: OTOOL64 \
! 18494: shrext_cmds \
! 18495: export_dynamic_flag_spec \
! 18496: whole_archive_flag_spec \
! 18497: compiler_needs_object \
! 18498: with_gnu_ld \
! 18499: allow_undefined_flag \
! 18500: no_undefined_flag \
! 18501: hardcode_libdir_flag_spec \
! 18502: hardcode_libdir_separator \
! 18503: exclude_expsyms \
! 18504: include_expsyms \
! 18505: file_list_spec \
! 18506: variables_saved_for_relink \
! 18507: libname_spec \
! 18508: library_names_spec \
! 18509: soname_spec \
! 18510: install_override_mode \
! 18511: finish_eval \
! 18512: old_striplib \
! 18513: striplib \
! 18514: compiler_lib_search_dirs \
! 18515: predep_objects \
! 18516: postdep_objects \
! 18517: predeps \
! 18518: postdeps \
! 18519: compiler_lib_search_path \
! 18520: AS \
! 18521: LD_CXX \
! 18522: reload_flag_CXX \
! 18523: compiler_CXX \
! 18524: lt_prog_compiler_no_builtin_flag_CXX \
! 18525: lt_prog_compiler_pic_CXX \
! 18526: lt_prog_compiler_wl_CXX \
! 18527: lt_prog_compiler_static_CXX \
! 18528: lt_cv_prog_compiler_c_o_CXX \
! 18529: export_dynamic_flag_spec_CXX \
! 18530: whole_archive_flag_spec_CXX \
! 18531: compiler_needs_object_CXX \
! 18532: with_gnu_ld_CXX \
! 18533: allow_undefined_flag_CXX \
! 18534: no_undefined_flag_CXX \
! 18535: hardcode_libdir_flag_spec_CXX \
! 18536: hardcode_libdir_separator_CXX \
! 18537: exclude_expsyms_CXX \
! 18538: include_expsyms_CXX \
! 18539: file_list_spec_CXX \
! 18540: compiler_lib_search_dirs_CXX \
! 18541: predep_objects_CXX \
! 18542: postdep_objects_CXX \
! 18543: predeps_CXX \
! 18544: postdeps_CXX \
! 18545: compiler_lib_search_path_CXX; do
! 18546: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 18547: *[\\\\\\\`\\"\\\$]*)
! 18548: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 18549: ;;
! 18550: *)
! 18551: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 18552: ;;
! 18553: esac
! 18554: done
! 18555:
! 18556: # Double-quote double-evaled strings.
! 18557: for var in reload_cmds \
! 18558: old_postinstall_cmds \
! 18559: old_postuninstall_cmds \
! 18560: old_archive_cmds \
! 18561: extract_expsyms_cmds \
! 18562: old_archive_from_new_cmds \
! 18563: old_archive_from_expsyms_cmds \
! 18564: archive_cmds \
! 18565: archive_expsym_cmds \
! 18566: module_cmds \
! 18567: module_expsym_cmds \
! 18568: export_symbols_cmds \
! 18569: prelink_cmds \
! 18570: postlink_cmds \
! 18571: postinstall_cmds \
! 18572: postuninstall_cmds \
! 18573: finish_cmds \
! 18574: sys_lib_search_path_spec \
! 18575: sys_lib_dlsearch_path_spec \
! 18576: reload_cmds_CXX \
! 18577: old_archive_cmds_CXX \
! 18578: old_archive_from_new_cmds_CXX \
! 18579: old_archive_from_expsyms_cmds_CXX \
! 18580: archive_cmds_CXX \
! 18581: archive_expsym_cmds_CXX \
! 18582: module_cmds_CXX \
! 18583: module_expsym_cmds_CXX \
! 18584: export_symbols_cmds_CXX \
! 18585: prelink_cmds_CXX \
! 18586: postlink_cmds_CXX; do
! 18587: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 18588: *[\\\\\\\`\\"\\\$]*)
! 18589: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 18590: ;;
! 18591: *)
! 18592: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 18593: ;;
! 18594: esac
! 18595: done
! 18596:
! 18597: ac_aux_dir='$ac_aux_dir'
! 18598: xsi_shell='$xsi_shell'
! 18599: lt_shell_append='$lt_shell_append'
! 18600:
! 18601: # See if we are running on zsh, and set the options which allow our
! 18602: # commands through without removal of \ escapes INIT.
! 18603: if test -n "\${ZSH_VERSION+set}" ; then
! 18604: setopt NO_GLOB_SUBST
! 18605: fi
! 18606:
! 18607:
! 18608: PACKAGE='$PACKAGE'
! 18609: VERSION='$VERSION'
! 18610: TIMESTAMP='$TIMESTAMP'
! 18611: RM='$RM'
! 18612: ofile='$ofile'
! 18613:
! 18614:
! 18615:
! 18616:
! 18617:
! 18618:
! 18619: _ACEOF
! 18620:
! 18621:
! 18622:
! 18623: cat >>$CONFIG_STATUS <<\_ACEOF
! 18624: for ac_config_target in $ac_config_targets
! 18625: do
! 18626: case "$ac_config_target" in
! 18627: # Handling of arguments.
! 18628: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 18629: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 18630: "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 18631: "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
! 18632: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 18633: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 18634: { (exit 1); exit 1; }; };;
! 18635: esac
! 18636: done
! 18637:
! 18638: # If the user did not use the arguments to specify the items to instantiate,
! 18639: # then the envvar interface is used. Set only those that are not.
! 18640: # We use the long form for the default assignment because of an extremely
! 18641: # bizarre bug on SunOS 4.1.3.
! 18642: if $ac_need_defaults; then
! 18643: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 18644: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 18645: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 18646: fi
! 18647:
! 18648: # Have a temporary directory for convenience. Make it in the build tree
! 18649: # simply because there is no reason to put it here, and in addition,
! 18650: # creating and moving files from /tmp can sometimes cause problems.
! 18651: # Create a temporary directory, and hook for its removal unless debugging.
! 18652: $debug ||
! 18653: {
! 18654: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 18655: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 18656: }
! 18657:
! 18658: # Create a (secure) tmp directory for tmp files.
! 18659:
! 18660: {
! 18661: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 18662: test -n "$tmp" && test -d "$tmp"
! 18663: } ||
! 18664: {
! 18665: tmp=./confstat$$-$RANDOM
! 18666: (umask 077 && mkdir $tmp)
! 18667: } ||
! 18668: {
! 18669: echo "$me: cannot create a temporary directory in ." >&2
! 18670: { (exit 1); exit 1; }
! 18671: }
! 18672:
! 18673: _ACEOF
! 18674:
! 18675: cat >>$CONFIG_STATUS <<_ACEOF
! 18676:
! 18677: #
! 18678: # CONFIG_FILES section.
! 18679: #
! 18680:
! 18681: # No need to generate the scripts if there are no CONFIG_FILES.
! 18682: # This happens for instance when ./config.status config.h
! 18683: if test -n "\$CONFIG_FILES"; then
! 18684: # Protect against being on the right side of a sed subst in config.status.
! 18685: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 18686: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 18687: s,@SHELL@,$SHELL,;t t
! 18688: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 18689: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 18690: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 18691: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 18692: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 18693: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 18694: s,@exec_prefix@,$exec_prefix,;t t
! 18695: s,@prefix@,$prefix,;t t
! 18696: s,@program_transform_name@,$program_transform_name,;t t
! 18697: s,@bindir@,$bindir,;t t
! 18698: s,@sbindir@,$sbindir,;t t
! 18699: s,@libexecdir@,$libexecdir,;t t
! 18700: s,@datadir@,$datadir,;t t
! 18701: s,@sysconfdir@,$sysconfdir,;t t
! 18702: s,@sharedstatedir@,$sharedstatedir,;t t
! 18703: s,@localstatedir@,$localstatedir,;t t
! 18704: s,@libdir@,$libdir,;t t
! 18705: s,@includedir@,$includedir,;t t
! 18706: s,@oldincludedir@,$oldincludedir,;t t
! 18707: s,@infodir@,$infodir,;t t
! 18708: s,@mandir@,$mandir,;t t
! 18709: s,@build_alias@,$build_alias,;t t
! 18710: s,@host_alias@,$host_alias,;t t
! 18711: s,@target_alias@,$target_alias,;t t
! 18712: s,@DEFS@,$DEFS,;t t
! 18713: s,@ECHO_C@,$ECHO_C,;t t
! 18714: s,@ECHO_N@,$ECHO_N,;t t
! 18715: s,@ECHO_T@,$ECHO_T,;t t
! 18716: s,@LIBS@,$LIBS,;t t
! 18717: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 18718: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 18719: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 18720: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 18721: s,@PACKAGE@,$PACKAGE,;t t
! 18722: s,@VERSION@,$VERSION,;t t
! 18723: s,@ACLOCAL@,$ACLOCAL,;t t
! 18724: s,@AUTOCONF@,$AUTOCONF,;t t
! 18725: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 18726: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 18727: s,@MAKEINFO@,$MAKEINFO,;t t
! 18728: s,@install_sh@,$install_sh,;t t
! 18729: s,@STRIP@,$STRIP,;t t
! 18730: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 18731: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 18732: s,@mkdir_p@,$mkdir_p,;t t
! 18733: s,@AWK@,$AWK,;t t
! 18734: s,@SET_MAKE@,$SET_MAKE,;t t
! 18735: s,@am__leading_dot@,$am__leading_dot,;t t
! 18736: s,@AMTAR@,$AMTAR,;t t
! 18737: s,@am__tar@,$am__tar,;t t
! 18738: s,@am__untar@,$am__untar,;t t
! 18739: s,@MYSQL_INC@,$MYSQL_INC,;t t
! 18740: s,@LDFLAGS@,$LDFLAGS,;t t
! 18741: s,@CXX@,$CXX,;t t
! 18742: s,@CXXFLAGS@,$CXXFLAGS,;t t
! 18743: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 18744: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
! 18745: s,@EXEEXT@,$EXEEXT,;t t
! 18746: s,@OBJEXT@,$OBJEXT,;t t
! 18747: s,@DEPDIR@,$DEPDIR,;t t
! 18748: s,@am__include@,$am__include,;t t
! 18749: s,@am__quote@,$am__quote,;t t
! 18750: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 18751: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 18752: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 18753: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
! 18754: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
! 18755: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
! 18756: s,@CC@,$CC,;t t
! 18757: s,@CFLAGS@,$CFLAGS,;t t
! 18758: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 18759: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 18760: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 18761: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 18762: s,@LIBTOOL@,$LIBTOOL,;t t
! 18763: s,@build@,$build,;t t
! 18764: s,@build_cpu@,$build_cpu,;t t
! 18765: s,@build_vendor@,$build_vendor,;t t
! 18766: s,@build_os@,$build_os,;t t
! 18767: s,@host@,$host,;t t
! 18768: s,@host_cpu@,$host_cpu,;t t
! 18769: s,@host_vendor@,$host_vendor,;t t
! 18770: s,@host_os@,$host_os,;t t
! 18771: s,@SED@,$SED,;t t
! 18772: s,@EGREP@,$EGREP,;t t
! 18773: s,@FGREP@,$FGREP,;t t
! 18774: s,@GREP@,$GREP,;t t
! 18775: s,@LD@,$LD,;t t
! 18776: s,@DUMPBIN@,$DUMPBIN,;t t
! 18777: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
! 18778: s,@NM@,$NM,;t t
! 18779: s,@LN_S@,$LN_S,;t t
! 18780: s,@OBJDUMP@,$OBJDUMP,;t t
! 18781: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
! 18782: s,@DLLTOOL@,$DLLTOOL,;t t
! 18783: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
! 18784: s,@AR@,$AR,;t t
! 18785: s,@ac_ct_AR@,$ac_ct_AR,;t t
! 18786: s,@RANLIB@,$RANLIB,;t t
! 18787: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 18788: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
! 18789: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
! 18790: s,@DSYMUTIL@,$DSYMUTIL,;t t
! 18791: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
! 18792: s,@NMEDIT@,$NMEDIT,;t t
! 18793: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
! 18794: s,@LIPO@,$LIPO,;t t
! 18795: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
! 18796: s,@OTOOL@,$OTOOL,;t t
! 18797: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
! 18798: s,@OTOOL64@,$OTOOL64,;t t
! 18799: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
! 18800: s,@CPP@,$CPP,;t t
! 18801: s,@CXXCPP@,$CXXCPP,;t t
! 18802: s,@LIBLTDL@,$LIBLTDL,;t t
! 18803: s,@LTDLDEPS@,$LTDLDEPS,;t t
! 18804: s,@LTDLINCL@,$LTDLINCL,;t t
! 18805: s,@INCLTDL@,$INCLTDL,;t t
! 18806: s,@LIBADD_DL@,$LIBADD_DL,;t t
! 18807: s,@AS@,$AS,;t t
! 18808: s,@ac_ct_AS@,$ac_ct_AS,;t t
! 18809: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
! 18810: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
! 18811: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
! 18812: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
! 18813: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
! 18814: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
! 18815: s,@ARGZ_H@,$ARGZ_H,;t t
! 18816: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
! 18817: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
! 18818: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
! 18819: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
! 18820: s,@subdirs@,$subdirs,;t t
! 18821: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
! 18822: s,@LTDLOPEN@,$LTDLOPEN,;t t
! 18823: s,@LIBOBJS@,$LIBOBJS,;t t
! 18824: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 18825: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
! 18826: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
! 18827: CEOF
! 18828:
! 18829: _ACEOF
! 18830:
! 18831: cat >>$CONFIG_STATUS <<\_ACEOF
! 18832: # Split the substitutions into bite-sized pieces for seds with
! 18833: # small command number limits, like on Digital OSF/1 and HP-UX.
! 18834: ac_max_sed_lines=48
! 18835: ac_sed_frag=1 # Number of current file.
! 18836: ac_beg=1 # First line for current file.
! 18837: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 18838: ac_more_lines=:
! 18839: ac_sed_cmds=
! 18840: while $ac_more_lines; do
! 18841: if test $ac_beg -gt 1; then
! 18842: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 18843: else
! 18844: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 18845: fi
! 18846: if test ! -s $tmp/subs.frag; then
! 18847: ac_more_lines=false
! 18848: else
! 18849: # The purpose of the label and of the branching condition is to
! 18850: # speed up the sed processing (if there are no `@' at all, there
! 18851: # is no need to browse any of the substitutions).
! 18852: # These are the two extra sed commands mentioned above.
! 18853: (echo ':t
! 18854: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 18855: if test -z "$ac_sed_cmds"; then
! 18856: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 18857: else
! 18858: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 18859: fi
! 18860: ac_sed_frag=`expr $ac_sed_frag + 1`
! 18861: ac_beg=$ac_end
! 18862: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 18863: fi
! 18864: done
! 18865: if test -z "$ac_sed_cmds"; then
! 18866: ac_sed_cmds=cat
! 18867: fi
! 18868: fi # test -n "$CONFIG_FILES"
! 18869:
! 18870: _ACEOF
! 18871: cat >>$CONFIG_STATUS <<\_ACEOF
! 18872: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 18873: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 18874: case $ac_file in
! 18875: - | *:- | *:-:* ) # input from stdin
! 18876: cat >$tmp/stdin
! 18877: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 18878: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 18879: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 18880: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 18881: * ) ac_file_in=$ac_file.in ;;
! 18882: esac
! 18883:
! 18884: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 18885: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 18886: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18887: X"$ac_file" : 'X\(//\)[^/]' \| \
! 18888: X"$ac_file" : 'X\(//\)$' \| \
! 18889: X"$ac_file" : 'X\(/\)' \| \
! 18890: . : '\(.\)' 2>/dev/null ||
! 18891: echo X"$ac_file" |
! 18892: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 18893: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 18894: /^X\(\/\/\)$/{ s//\1/; q; }
! 18895: /^X\(\/\).*/{ s//\1/; q; }
! 18896: s/.*/./; q'`
! 18897: { if $as_mkdir_p; then
! 18898: mkdir -p "$ac_dir"
! 18899: else
! 18900: as_dir="$ac_dir"
! 18901: as_dirs=
! 18902: while test ! -d "$as_dir"; do
! 18903: as_dirs="$as_dir $as_dirs"
! 18904: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 18905: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18906: X"$as_dir" : 'X\(//\)[^/]' \| \
! 18907: X"$as_dir" : 'X\(//\)$' \| \
! 18908: X"$as_dir" : 'X\(/\)' \| \
! 18909: . : '\(.\)' 2>/dev/null ||
! 18910: echo X"$as_dir" |
! 18911: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 18912: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 18913: /^X\(\/\/\)$/{ s//\1/; q; }
! 18914: /^X\(\/\).*/{ s//\1/; q; }
! 18915: s/.*/./; q'`
! 18916: done
! 18917: test ! -n "$as_dirs" || mkdir $as_dirs
! 18918: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 18919: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 18920: { (exit 1); exit 1; }; }; }
! 18921:
! 18922: ac_builddir=.
! 18923:
! 18924: if test "$ac_dir" != .; then
! 18925: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 18926: # A "../" for each directory in $ac_dir_suffix.
! 18927: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 18928: else
! 18929: ac_dir_suffix= ac_top_builddir=
! 18930: fi
! 18931:
! 18932: case $srcdir in
! 18933: .) # No --srcdir option. We are building in place.
! 18934: ac_srcdir=.
! 18935: if test -z "$ac_top_builddir"; then
! 18936: ac_top_srcdir=.
! 18937: else
! 18938: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 18939: fi ;;
! 18940: [\\/]* | ?:[\\/]* ) # Absolute path.
! 18941: ac_srcdir=$srcdir$ac_dir_suffix;
! 18942: ac_top_srcdir=$srcdir ;;
! 18943: *) # Relative path.
! 18944: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 18945: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 18946: esac
! 18947:
! 18948: # Do not use `cd foo && pwd` to compute absolute paths, because
! 18949: # the directories may not exist.
! 18950: case `pwd` in
! 18951: .) ac_abs_builddir="$ac_dir";;
! 18952: *)
! 18953: case "$ac_dir" in
! 18954: .) ac_abs_builddir=`pwd`;;
! 18955: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 18956: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 18957: esac;;
! 18958: esac
! 18959: case $ac_abs_builddir in
! 18960: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 18961: *)
! 18962: case ${ac_top_builddir}. in
! 18963: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 18964: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 18965: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 18966: esac;;
! 18967: esac
! 18968: case $ac_abs_builddir in
! 18969: .) ac_abs_srcdir=$ac_srcdir;;
! 18970: *)
! 18971: case $ac_srcdir in
! 18972: .) ac_abs_srcdir=$ac_abs_builddir;;
! 18973: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 18974: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 18975: esac;;
! 18976: esac
! 18977: case $ac_abs_builddir in
! 18978: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 18979: *)
! 18980: case $ac_top_srcdir in
! 18981: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 18982: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 18983: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 18984: esac;;
! 18985: esac
! 18986:
! 18987:
! 18988: case $INSTALL in
! 18989: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 18990: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
! 18991: esac
! 18992:
! 18993: if test x"$ac_file" != x-; then
! 18994: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 18995: echo "$as_me: creating $ac_file" >&6;}
! 18996: rm -f "$ac_file"
! 18997: fi
! 18998: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 18999: # use $as_me), people would be surprised to read:
! 19000: # /* config.h. Generated by config.status. */
! 19001: if test x"$ac_file" = x-; then
! 19002: configure_input=
! 19003: else
! 19004: configure_input="$ac_file. "
! 19005: fi
! 19006: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 19007: sed 's,.*/,,'` by configure."
! 19008:
! 19009: # First look for the input files in the build tree, otherwise in the
! 19010: # src tree.
! 19011: ac_file_inputs=`IFS=:
! 19012: for f in $ac_file_in; do
! 19013: case $f in
! 19014: -) echo $tmp/stdin ;;
! 19015: [\\/$]*)
! 19016: # Absolute (can't be DOS-style, as IFS=:)
! 19017: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19018: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19019: { (exit 1); exit 1; }; }
! 19020: echo "$f";;
! 19021: *) # Relative
! 19022: if test -f "$f"; then
! 19023: # Build tree
! 19024: echo "$f"
! 19025: elif test -f "$srcdir/$f"; then
! 19026: # Source tree
! 19027: echo "$srcdir/$f"
! 19028: else
! 19029: # /dev/null tree
! 19030: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19031: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19032: { (exit 1); exit 1; }; }
! 19033: fi;;
! 19034: esac
! 19035: done` || { (exit 1); exit 1; }
! 19036: _ACEOF
! 19037: cat >>$CONFIG_STATUS <<_ACEOF
! 19038: sed "$ac_vpsub
! 19039: $extrasub
! 19040: _ACEOF
! 19041: cat >>$CONFIG_STATUS <<\_ACEOF
! 19042: :t
! 19043: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 19044: s,@configure_input@,$configure_input,;t t
! 19045: s,@srcdir@,$ac_srcdir,;t t
! 19046: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 19047: s,@top_srcdir@,$ac_top_srcdir,;t t
! 19048: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 19049: s,@builddir@,$ac_builddir,;t t
! 19050: s,@abs_builddir@,$ac_abs_builddir,;t t
! 19051: s,@top_builddir@,$ac_top_builddir,;t t
! 19052: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 19053: s,@INSTALL@,$ac_INSTALL,;t t
! 19054: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 19055: rm -f $tmp/stdin
! 19056: if test x"$ac_file" != x-; then
! 19057: mv $tmp/out $ac_file
! 19058: else
! 19059: cat $tmp/out
! 19060: rm -f $tmp/out
! 19061: fi
! 19062:
! 19063: done
! 19064: _ACEOF
! 19065: cat >>$CONFIG_STATUS <<\_ACEOF
! 19066:
! 19067: #
! 19068: # CONFIG_HEADER section.
! 19069: #
! 19070:
! 19071: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 19072: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 19073: #
! 19074: # ac_d sets the value in "#define NAME VALUE" lines.
! 19075: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 19076: ac_dB='[ ].*$,\1#\2'
! 19077: ac_dC=' '
! 19078: ac_dD=',;t'
! 19079: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 19080: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 19081: ac_uB='$,\1#\2define\3'
! 19082: ac_uC=' '
! 19083: ac_uD=',;t'
! 19084:
! 19085: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 19086: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 19087: case $ac_file in
! 19088: - | *:- | *:-:* ) # input from stdin
! 19089: cat >$tmp/stdin
! 19090: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19091: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19092: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19093: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19094: * ) ac_file_in=$ac_file.in ;;
! 19095: esac
! 19096:
! 19097: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 19098: echo "$as_me: creating $ac_file" >&6;}
! 19099:
! 19100: # First look for the input files in the build tree, otherwise in the
! 19101: # src tree.
! 19102: ac_file_inputs=`IFS=:
! 19103: for f in $ac_file_in; do
! 19104: case $f in
! 19105: -) echo $tmp/stdin ;;
! 19106: [\\/$]*)
! 19107: # Absolute (can't be DOS-style, as IFS=:)
! 19108: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19109: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19110: { (exit 1); exit 1; }; }
! 19111: # Do quote $f, to prevent DOS paths from being IFS'd.
! 19112: echo "$f";;
! 19113: *) # Relative
! 19114: if test -f "$f"; then
! 19115: # Build tree
! 19116: echo "$f"
! 19117: elif test -f "$srcdir/$f"; then
! 19118: # Source tree
! 19119: echo "$srcdir/$f"
! 19120: else
! 19121: # /dev/null tree
! 19122: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19123: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19124: { (exit 1); exit 1; }; }
! 19125: fi;;
! 19126: esac
! 19127: done` || { (exit 1); exit 1; }
! 19128: # Remove the trailing spaces.
! 19129: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 19130:
! 19131: _ACEOF
! 19132:
! 19133: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 19134: # `conftest.undefs', that substitutes the proper values into
! 19135: # config.h.in to produce config.h. The first handles `#define'
! 19136: # templates, and the second `#undef' templates.
! 19137: # And first: Protect against being on the right side of a sed subst in
! 19138: # config.status. Protect against being in an unquoted here document
! 19139: # in config.status.
! 19140: rm -f conftest.defines conftest.undefs
! 19141: # Using a here document instead of a string reduces the quoting nightmare.
! 19142: # Putting comments in sed scripts is not portable.
! 19143: #
! 19144: # `end' is used to avoid that the second main sed command (meant for
! 19145: # 0-ary CPP macros) applies to n-ary macro definitions.
! 19146: # See the Autoconf documentation for `clear'.
! 19147: cat >confdef2sed.sed <<\_ACEOF
! 19148: s/[\\&,]/\\&/g
! 19149: s,[\\$`],\\&,g
! 19150: t clear
! 19151: : clear
! 19152: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 19153: t end
! 19154: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 19155: : end
! 19156: _ACEOF
! 19157: # If some macros were called several times there might be several times
! 19158: # the same #defines, which is useless. Nevertheless, we may not want to
! 19159: # sort them, since we want the *last* AC-DEFINE to be honored.
! 19160: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 19161: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 19162: rm -f confdef2sed.sed
! 19163:
! 19164: # This sed command replaces #undef with comments. This is necessary, for
! 19165: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 19166: # on some systems where configure will not decide to define it.
! 19167: cat >>conftest.undefs <<\_ACEOF
! 19168: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 19169: _ACEOF
! 19170:
! 19171: # Break up conftest.defines because some shells have a limit on the size
! 19172: # of here documents, and old seds have small limits too (100 cmds).
! 19173: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 19174: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 19175: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 19176: echo ' :' >>$CONFIG_STATUS
! 19177: rm -f conftest.tail
! 19178: while grep . conftest.defines >/dev/null
! 19179: do
! 19180: # Write a limited-size here document to $tmp/defines.sed.
! 19181: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 19182: # Speed up: don't consider the non `#define' lines.
! 19183: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 19184: # Work around the forget-to-reset-the-flag bug.
! 19185: echo 't clr' >>$CONFIG_STATUS
! 19186: echo ': clr' >>$CONFIG_STATUS
! 19187: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 19188: echo 'CEOF
! 19189: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 19190: rm -f $tmp/in
! 19191: mv $tmp/out $tmp/in
! 19192: ' >>$CONFIG_STATUS
! 19193: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 19194: rm -f conftest.defines
! 19195: mv conftest.tail conftest.defines
! 19196: done
! 19197: rm -f conftest.defines
! 19198: echo ' fi # grep' >>$CONFIG_STATUS
! 19199: echo >>$CONFIG_STATUS
! 19200:
! 19201: # Break up conftest.undefs because some shells have a limit on the size
! 19202: # of here documents, and old seds have small limits too (100 cmds).
! 19203: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 19204: rm -f conftest.tail
! 19205: while grep . conftest.undefs >/dev/null
! 19206: do
! 19207: # Write a limited-size here document to $tmp/undefs.sed.
! 19208: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 19209: # Speed up: don't consider the non `#undef'
! 19210: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 19211: # Work around the forget-to-reset-the-flag bug.
! 19212: echo 't clr' >>$CONFIG_STATUS
! 19213: echo ': clr' >>$CONFIG_STATUS
! 19214: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 19215: echo 'CEOF
! 19216: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 19217: rm -f $tmp/in
! 19218: mv $tmp/out $tmp/in
! 19219: ' >>$CONFIG_STATUS
! 19220: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 19221: rm -f conftest.undefs
! 19222: mv conftest.tail conftest.undefs
! 19223: done
! 19224: rm -f conftest.undefs
! 19225:
! 19226: cat >>$CONFIG_STATUS <<\_ACEOF
! 19227: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 19228: # use $as_me), people would be surprised to read:
! 19229: # /* config.h. Generated by config.status. */
! 19230: if test x"$ac_file" = x-; then
! 19231: echo "/* Generated by configure. */" >$tmp/config.h
! 19232: else
! 19233: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 19234: fi
! 19235: cat $tmp/in >>$tmp/config.h
! 19236: rm -f $tmp/in
! 19237: if test x"$ac_file" != x-; then
! 19238: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 19239: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 19240: echo "$as_me: $ac_file is unchanged" >&6;}
! 19241: else
! 19242: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 19243: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19244: X"$ac_file" : 'X\(//\)[^/]' \| \
! 19245: X"$ac_file" : 'X\(//\)$' \| \
! 19246: X"$ac_file" : 'X\(/\)' \| \
! 19247: . : '\(.\)' 2>/dev/null ||
! 19248: echo X"$ac_file" |
! 19249: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19250: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19251: /^X\(\/\/\)$/{ s//\1/; q; }
! 19252: /^X\(\/\).*/{ s//\1/; q; }
! 19253: s/.*/./; q'`
! 19254: { if $as_mkdir_p; then
! 19255: mkdir -p "$ac_dir"
! 19256: else
! 19257: as_dir="$ac_dir"
! 19258: as_dirs=
! 19259: while test ! -d "$as_dir"; do
! 19260: as_dirs="$as_dir $as_dirs"
! 19261: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19262: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19263: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19264: X"$as_dir" : 'X\(//\)$' \| \
! 19265: X"$as_dir" : 'X\(/\)' \| \
! 19266: . : '\(.\)' 2>/dev/null ||
! 19267: echo X"$as_dir" |
! 19268: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19269: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19270: /^X\(\/\/\)$/{ s//\1/; q; }
! 19271: /^X\(\/\).*/{ s//\1/; q; }
! 19272: s/.*/./; q'`
! 19273: done
! 19274: test ! -n "$as_dirs" || mkdir $as_dirs
! 19275: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19276: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19277: { (exit 1); exit 1; }; }; }
! 19278:
! 19279: rm -f $ac_file
! 19280: mv $tmp/config.h $ac_file
! 19281: fi
! 19282: else
! 19283: cat $tmp/config.h
! 19284: rm -f $tmp/config.h
! 19285: fi
! 19286: # Compute $ac_file's index in $config_headers.
! 19287: _am_stamp_count=1
! 19288: for _am_header in $config_headers :; do
! 19289: case $_am_header in
! 19290: $ac_file | $ac_file:* )
! 19291: break ;;
! 19292: * )
! 19293: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 19294: esac
! 19295: done
! 19296: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 19297: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19298: X$ac_file : 'X\(//\)[^/]' \| \
! 19299: X$ac_file : 'X\(//\)$' \| \
! 19300: X$ac_file : 'X\(/\)' \| \
! 19301: . : '\(.\)' 2>/dev/null ||
! 19302: echo X$ac_file |
! 19303: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19304: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19305: /^X\(\/\/\)$/{ s//\1/; q; }
! 19306: /^X\(\/\).*/{ s//\1/; q; }
! 19307: s/.*/./; q'`/stamp-h$_am_stamp_count
! 19308: done
! 19309: _ACEOF
! 19310: cat >>$CONFIG_STATUS <<\_ACEOF
! 19311:
! 19312: #
! 19313: # CONFIG_COMMANDS section.
! 19314: #
! 19315: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 19316: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 19317: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19318: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 19319: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19320: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 19321: X"$ac_dest" : 'X\(//\)$' \| \
! 19322: X"$ac_dest" : 'X\(/\)' \| \
! 19323: . : '\(.\)' 2>/dev/null ||
! 19324: echo X"$ac_dest" |
! 19325: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19326: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19327: /^X\(\/\/\)$/{ s//\1/; q; }
! 19328: /^X\(\/\).*/{ s//\1/; q; }
! 19329: s/.*/./; q'`
! 19330: { if $as_mkdir_p; then
! 19331: mkdir -p "$ac_dir"
! 19332: else
! 19333: as_dir="$ac_dir"
! 19334: as_dirs=
! 19335: while test ! -d "$as_dir"; do
! 19336: as_dirs="$as_dir $as_dirs"
! 19337: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19339: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19340: X"$as_dir" : 'X\(//\)$' \| \
! 19341: X"$as_dir" : 'X\(/\)' \| \
! 19342: . : '\(.\)' 2>/dev/null ||
! 19343: echo X"$as_dir" |
! 19344: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19345: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19346: /^X\(\/\/\)$/{ s//\1/; q; }
! 19347: /^X\(\/\).*/{ s//\1/; q; }
! 19348: s/.*/./; q'`
! 19349: done
! 19350: test ! -n "$as_dirs" || mkdir $as_dirs
! 19351: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19352: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19353: { (exit 1); exit 1; }; }; }
! 19354:
! 19355: ac_builddir=.
! 19356:
! 19357: if test "$ac_dir" != .; then
! 19358: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 19359: # A "../" for each directory in $ac_dir_suffix.
! 19360: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 19361: else
! 19362: ac_dir_suffix= ac_top_builddir=
! 19363: fi
! 19364:
! 19365: case $srcdir in
! 19366: .) # No --srcdir option. We are building in place.
! 19367: ac_srcdir=.
! 19368: if test -z "$ac_top_builddir"; then
! 19369: ac_top_srcdir=.
! 19370: else
! 19371: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 19372: fi ;;
! 19373: [\\/]* | ?:[\\/]* ) # Absolute path.
! 19374: ac_srcdir=$srcdir$ac_dir_suffix;
! 19375: ac_top_srcdir=$srcdir ;;
! 19376: *) # Relative path.
! 19377: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 19378: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 19379: esac
! 19380:
! 19381: # Do not use `cd foo && pwd` to compute absolute paths, because
! 19382: # the directories may not exist.
! 19383: case `pwd` in
! 19384: .) ac_abs_builddir="$ac_dir";;
! 19385: *)
! 19386: case "$ac_dir" in
! 19387: .) ac_abs_builddir=`pwd`;;
! 19388: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 19389: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 19390: esac;;
! 19391: esac
! 19392: case $ac_abs_builddir in
! 19393: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19394: *)
! 19395: case ${ac_top_builddir}. in
! 19396: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 19397: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19398: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 19399: esac;;
! 19400: esac
! 19401: case $ac_abs_builddir in
! 19402: .) ac_abs_srcdir=$ac_srcdir;;
! 19403: *)
! 19404: case $ac_srcdir in
! 19405: .) ac_abs_srcdir=$ac_abs_builddir;;
! 19406: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 19407: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 19408: esac;;
! 19409: esac
! 19410: case $ac_abs_builddir in
! 19411: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19412: *)
! 19413: case $ac_top_srcdir in
! 19414: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 19415: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19416: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 19417: esac;;
! 19418: esac
! 19419:
! 19420:
! 19421: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 19422: echo "$as_me: executing $ac_dest commands" >&6;}
! 19423: case $ac_dest in
! 19424: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 19425: # Strip MF so we end up with the name of the file.
! 19426: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 19427: # Check whether this is an Automake generated Makefile or not.
! 19428: # We used to match only the files named `Makefile.in', but
! 19429: # some people rename them; so instead we look at the file content.
! 19430: # Grep'ing the first line is not enough: some people post-process
! 19431: # each Makefile.in and add a new line on top of each file to say so.
! 19432: # So let's grep whole file.
! 19433: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 19434: dirpart=`(dirname "$mf") 2>/dev/null ||
! 19435: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19436: X"$mf" : 'X\(//\)[^/]' \| \
! 19437: X"$mf" : 'X\(//\)$' \| \
! 19438: X"$mf" : 'X\(/\)' \| \
! 19439: . : '\(.\)' 2>/dev/null ||
! 19440: echo X"$mf" |
! 19441: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19442: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19443: /^X\(\/\/\)$/{ s//\1/; q; }
! 19444: /^X\(\/\).*/{ s//\1/; q; }
! 19445: s/.*/./; q'`
! 19446: else
! 19447: continue
! 19448: fi
! 19449: # Extract the definition of DEPDIR, am__include, and am__quote
! 19450: # from the Makefile without running `make'.
! 19451: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 19452: test -z "$DEPDIR" && continue
! 19453: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 19454: test -z "am__include" && continue
! 19455: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 19456: # When using ansi2knr, U may be empty or an underscore; expand it
! 19457: U=`sed -n 's/^U = //p' < "$mf"`
! 19458: # Find all dependency output files, they are included files with
! 19459: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 19460: # simplest approach to changing $(DEPDIR) to its actual value in the
! 19461: # expansion.
! 19462: for file in `sed -n "
! 19463: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 19464: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 19465: # Make sure the directory exists.
! 19466: test -f "$dirpart/$file" && continue
! 19467: fdir=`(dirname "$file") 2>/dev/null ||
! 19468: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19469: X"$file" : 'X\(//\)[^/]' \| \
! 19470: X"$file" : 'X\(//\)$' \| \
! 19471: X"$file" : 'X\(/\)' \| \
! 19472: . : '\(.\)' 2>/dev/null ||
! 19473: echo X"$file" |
! 19474: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19475: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19476: /^X\(\/\/\)$/{ s//\1/; q; }
! 19477: /^X\(\/\).*/{ s//\1/; q; }
! 19478: s/.*/./; q'`
! 19479: { if $as_mkdir_p; then
! 19480: mkdir -p $dirpart/$fdir
! 19481: else
! 19482: as_dir=$dirpart/$fdir
! 19483: as_dirs=
! 19484: while test ! -d "$as_dir"; do
! 19485: as_dirs="$as_dir $as_dirs"
! 19486: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19487: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19488: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19489: X"$as_dir" : 'X\(//\)$' \| \
! 19490: X"$as_dir" : 'X\(/\)' \| \
! 19491: . : '\(.\)' 2>/dev/null ||
! 19492: echo X"$as_dir" |
! 19493: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19494: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19495: /^X\(\/\/\)$/{ s//\1/; q; }
! 19496: /^X\(\/\).*/{ s//\1/; q; }
! 19497: s/.*/./; q'`
! 19498: done
! 19499: test ! -n "$as_dirs" || mkdir $as_dirs
! 19500: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 19501: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 19502: { (exit 1); exit 1; }; }; }
! 19503:
! 19504: # echo "creating $dirpart/$file"
! 19505: echo '# dummy' > "$dirpart/$file"
! 19506: done
! 19507: done
! 19508: ;;
! 19509: libtool )
! 19510:
! 19511: # See if we are running on zsh, and set the options which allow our
! 19512: # commands through without removal of \ escapes.
! 19513: if test -n "${ZSH_VERSION+set}" ; then
! 19514: setopt NO_GLOB_SUBST
! 19515: fi
! 19516:
! 19517: cfgfile="${ofile}T"
! 19518: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 19519: $RM "$cfgfile"
! 19520:
! 19521: cat <<_LT_EOF >> "$cfgfile"
! 19522: #! $SHELL
! 19523:
! 19524: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 19525: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 19526: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19527: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 19528: #
! 19529: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 19530: # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
! 19531: # Foundation, Inc.
! 19532: # Written by Gordon Matzigkeit, 1996
! 19533: #
! 19534: # This file is part of GNU Libtool.
! 19535: #
! 19536: # GNU Libtool is free software; you can redistribute it and/or
! 19537: # modify it under the terms of the GNU General Public License as
! 19538: # published by the Free Software Foundation; either version 2 of
! 19539: # the License, or (at your option) any later version.
! 19540: #
! 19541: # As a special exception to the GNU General Public License,
! 19542: # if you distribute this file as part of a program or library that
! 19543: # is built using GNU Libtool, you may include this file under the
! 19544: # same distribution terms that you use for the rest of that program.
! 19545: #
! 19546: # GNU Libtool is distributed in the hope that it will be useful,
! 19547: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 19548: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 19549: # GNU General Public License for more details.
! 19550: #
! 19551: # You should have received a copy of the GNU General Public License
! 19552: # along with GNU Libtool; see the file COPYING. If not, a copy
! 19553: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 19554: # obtained by writing to the Free Software Foundation, Inc.,
! 19555: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 19556:
! 19557:
! 19558: # The names of the tagged configurations supported by this script.
! 19559: available_tags="CXX "
! 19560:
! 19561: # ### BEGIN LIBTOOL CONFIG
! 19562:
! 19563: # Which release of libtool.m4 was used?
! 19564: macro_version=$macro_version
! 19565: macro_revision=$macro_revision
! 19566:
! 19567: # Whether or not to build shared libraries.
! 19568: build_libtool_libs=$enable_shared
! 19569:
! 19570: # Whether or not to build static libraries.
! 19571: build_old_libs=$enable_static
! 19572:
! 19573: # What type of objects to build.
! 19574: pic_mode=$pic_mode
! 19575:
! 19576: # Whether or not to optimize for fast installation.
! 19577: fast_install=$enable_fast_install
! 19578:
! 19579: # Shell to use when invoking shell scripts.
! 19580: SHELL=$lt_SHELL
! 19581:
! 19582: # An echo program that protects backslashes.
! 19583: ECHO=$lt_ECHO
! 19584:
! 19585: # The PATH separator for the build system.
! 19586: PATH_SEPARATOR=$lt_PATH_SEPARATOR
! 19587:
! 19588: # The host system.
! 19589: host_alias=$host_alias
! 19590: host=$host
! 19591: host_os=$host_os
! 19592:
! 19593: # The build system.
! 19594: build_alias=$build_alias
! 19595: build=$build
! 19596: build_os=$build_os
! 19597:
! 19598: # A sed program that does not truncate output.
! 19599: SED=$lt_SED
! 19600:
! 19601: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 19602: Xsed="\$SED -e 1s/^X//"
! 19603:
! 19604: # A grep program that handles long lines.
! 19605: GREP=$lt_GREP
! 19606:
! 19607: # An ERE matcher.
! 19608: EGREP=$lt_EGREP
! 19609:
! 19610: # A literal string matcher.
! 19611: FGREP=$lt_FGREP
! 19612:
! 19613: # A BSD- or MS-compatible name lister.
! 19614: NM=$lt_NM
! 19615:
! 19616: # Whether we need soft or hard links.
! 19617: LN_S=$lt_LN_S
! 19618:
! 19619: # What is the maximum length of a command?
! 19620: max_cmd_len=$max_cmd_len
! 19621:
! 19622: # Object file suffix (normally "o").
! 19623: objext=$ac_objext
! 19624:
! 19625: # Executable file suffix (normally "").
! 19626: exeext=$exeext
! 19627:
! 19628: # whether the shell understands "unset".
! 19629: lt_unset=$lt_unset
! 19630:
! 19631: # turn spaces into newlines.
! 19632: SP2NL=$lt_lt_SP2NL
! 19633:
! 19634: # turn newlines into spaces.
! 19635: NL2SP=$lt_lt_NL2SP
! 19636:
! 19637: # convert \$build file names to \$host format.
! 19638: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 19639:
! 19640: # convert \$build files to toolchain format.
! 19641: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 19642:
! 19643: # An object symbol dumper.
! 19644: OBJDUMP=$lt_OBJDUMP
! 19645:
! 19646: # Method to check whether dependent libraries are shared objects.
! 19647: deplibs_check_method=$lt_deplibs_check_method
! 19648:
! 19649: # Command to use when deplibs_check_method = "file_magic".
! 19650: file_magic_cmd=$lt_file_magic_cmd
! 19651:
! 19652: # How to find potential files when deplibs_check_method = "file_magic".
! 19653: file_magic_glob=$lt_file_magic_glob
! 19654:
! 19655: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
! 19656: want_nocaseglob=$lt_want_nocaseglob
! 19657:
! 19658: # DLL creation program.
! 19659: DLLTOOL=$lt_DLLTOOL
! 19660:
! 19661: # Command to associate shared and link libraries.
! 19662: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
! 19663:
! 19664: # The archiver.
! 19665: AR=$lt_AR
! 19666:
! 19667: # Flags to create an archive.
! 19668: AR_FLAGS=$lt_AR_FLAGS
! 19669:
! 19670: # How to feed a file listing to the archiver.
! 19671: archiver_list_spec=$lt_archiver_list_spec
! 19672:
! 19673: # A symbol stripping program.
! 19674: STRIP=$lt_STRIP
! 19675:
! 19676: # Commands used to install an old-style archive.
! 19677: RANLIB=$lt_RANLIB
! 19678: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19679: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19680:
! 19681: # Whether to use a lock for old archive extraction.
! 19682: lock_old_archive_extraction=$lock_old_archive_extraction
! 19683:
! 19684: # A C compiler.
! 19685: LTCC=$lt_CC
! 19686:
! 19687: # LTCC compiler flags.
! 19688: LTCFLAGS=$lt_CFLAGS
! 19689:
! 19690: # Take the output of nm and produce a listing of raw symbols and C names.
! 19691: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19692:
! 19693: # Transform the output of nm in a proper C declaration.
! 19694: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19695:
! 19696: # Transform the output of nm in a C name address pair.
! 19697: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19698:
! 19699: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 19700: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 19701:
! 19702: # Specify filename containing input files for \$NM.
! 19703: nm_file_list_spec=$lt_nm_file_list_spec
! 19704:
! 19705: # The root where to search for dependent libraries,and in which our libraries should be installed.
! 19706: lt_sysroot=$lt_sysroot
! 19707:
! 19708: # The name of the directory that contains temporary libtool files.
! 19709: objdir=$objdir
! 19710:
! 19711: # Used to examine libraries when file_magic_cmd begins with "file".
! 19712: MAGIC_CMD=$MAGIC_CMD
! 19713:
! 19714: # Must we lock files when doing compilation?
! 19715: need_locks=$lt_need_locks
! 19716:
! 19717: # Manifest tool.
! 19718: MANIFEST_TOOL=$lt_MANIFEST_TOOL
! 19719:
! 19720: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 19721: DSYMUTIL=$lt_DSYMUTIL
! 19722:
! 19723: # Tool to change global to local symbols on Mac OS X.
! 19724: NMEDIT=$lt_NMEDIT
! 19725:
! 19726: # Tool to manipulate fat objects and archives on Mac OS X.
! 19727: LIPO=$lt_LIPO
! 19728:
! 19729: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 19730: OTOOL=$lt_OTOOL
! 19731:
! 19732: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 19733: OTOOL64=$lt_OTOOL64
! 19734:
! 19735: # Old archive suffix (normally "a").
! 19736: libext=$libext
! 19737:
! 19738: # Shared library suffix (normally ".so").
! 19739: shrext_cmds=$lt_shrext_cmds
! 19740:
! 19741: # The commands to extract the exported symbol list from a shared archive.
! 19742: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19743:
! 19744: # Variables whose values should be saved in libtool wrapper scripts and
! 19745: # restored at link time.
! 19746: variables_saved_for_relink=$lt_variables_saved_for_relink
! 19747:
! 19748: # Do we need the "lib" prefix for modules?
! 19749: need_lib_prefix=$need_lib_prefix
! 19750:
! 19751: # Do we need a version for libraries?
! 19752: need_version=$need_version
! 19753:
! 19754: # Library versioning type.
! 19755: version_type=$version_type
! 19756:
! 19757: # Shared library runtime path variable.
! 19758: runpath_var=$runpath_var
! 19759:
! 19760: # Shared library path variable.
! 19761: shlibpath_var=$shlibpath_var
! 19762:
! 19763: # Is shlibpath searched before the hard-coded library search path?
! 19764: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19765:
! 19766: # Format of library name prefix.
! 19767: libname_spec=$lt_libname_spec
! 19768:
! 19769: # List of archive names. First name is the real one, the rest are links.
! 19770: # The last name is the one that the linker finds with -lNAME
! 19771: library_names_spec=$lt_library_names_spec
! 19772:
! 19773: # The coded name of the library, if different from the real name.
! 19774: soname_spec=$lt_soname_spec
! 19775:
! 19776: # Permission mode override for installation of shared libraries.
! 19777: install_override_mode=$lt_install_override_mode
! 19778:
! 19779: # Command to use after installation of a shared archive.
! 19780: postinstall_cmds=$lt_postinstall_cmds
! 19781:
! 19782: # Command to use after uninstallation of a shared archive.
! 19783: postuninstall_cmds=$lt_postuninstall_cmds
! 19784:
! 19785: # Commands used to finish a libtool library installation in a directory.
! 19786: finish_cmds=$lt_finish_cmds
! 19787:
! 19788: # As "finish_cmds", except a single script fragment to be evaled but
! 19789: # not shown.
! 19790: finish_eval=$lt_finish_eval
! 19791:
! 19792: # Whether we should hardcode library paths into libraries.
! 19793: hardcode_into_libs=$hardcode_into_libs
! 19794:
! 19795: # Compile-time system search path for libraries.
! 19796: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19797:
! 19798: # Run-time system search path for libraries.
! 19799: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19800:
! 19801: # Whether dlopen is supported.
! 19802: dlopen_support=$enable_dlopen
! 19803:
! 19804: # Whether dlopen of programs is supported.
! 19805: dlopen_self=$enable_dlopen_self
! 19806:
! 19807: # Whether dlopen of statically linked programs is supported.
! 19808: dlopen_self_static=$enable_dlopen_self_static
! 19809:
! 19810: # Commands to strip libraries.
! 19811: old_striplib=$lt_old_striplib
! 19812: striplib=$lt_striplib
! 19813:
! 19814: # Assembler program.
! 19815: AS=$lt_AS
! 19816:
! 19817:
! 19818: # The linker used to build libraries.
! 19819: LD=$lt_LD
! 19820:
! 19821: # How to create reloadable object files.
! 19822: reload_flag=$lt_reload_flag
! 19823: reload_cmds=$lt_reload_cmds
! 19824:
! 19825: # Commands used to build an old-style archive.
! 19826: old_archive_cmds=$lt_old_archive_cmds
! 19827:
! 19828: # A language specific compiler.
! 19829: CC=$lt_compiler
! 19830:
! 19831: # Is the compiler the GNU compiler?
! 19832: with_gcc=$GCC
! 19833:
! 19834: # Compiler flag to turn off builtin functions.
! 19835: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 19836:
! 19837: # Additional compiler flags for building library objects.
! 19838: pic_flag=$lt_lt_prog_compiler_pic
! 19839:
! 19840: # How to pass a linker flag through the compiler.
! 19841: wl=$lt_lt_prog_compiler_wl
! 19842:
! 19843: # Compiler flag to prevent dynamic linking.
! 19844: link_static_flag=$lt_lt_prog_compiler_static
! 19845:
! 19846: # Does compiler simultaneously support -c and -o options?
! 19847: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 19848:
! 19849: # Whether or not to add -lc for building shared libraries.
! 19850: build_libtool_need_lc=$archive_cmds_need_lc
! 19851:
! 19852: # Whether or not to disallow shared libs when runtime libs are static.
! 19853: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 19854:
! 19855: # Compiler flag to allow reflexive dlopens.
! 19856: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 19857:
! 19858: # Compiler flag to generate shared objects directly from archives.
! 19859: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 19860:
! 19861: # Whether the compiler copes with passing no objects directly.
! 19862: compiler_needs_object=$lt_compiler_needs_object
! 19863:
! 19864: # Create an old-style archive from a shared archive.
! 19865: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 19866:
! 19867: # Create a temporary old-style archive to link instead of a shared archive.
! 19868: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 19869:
! 19870: # Commands used to build a shared archive.
! 19871: archive_cmds=$lt_archive_cmds
! 19872: archive_expsym_cmds=$lt_archive_expsym_cmds
! 19873:
! 19874: # Commands used to build a loadable module if different from building
! 19875: # a shared archive.
! 19876: module_cmds=$lt_module_cmds
! 19877: module_expsym_cmds=$lt_module_expsym_cmds
! 19878:
! 19879: # Whether we are building with GNU ld or not.
! 19880: with_gnu_ld=$lt_with_gnu_ld
! 19881:
! 19882: # Flag that allows shared libraries with undefined symbols to be built.
! 19883: allow_undefined_flag=$lt_allow_undefined_flag
! 19884:
! 19885: # Flag that enforces no undefined symbols.
! 19886: no_undefined_flag=$lt_no_undefined_flag
! 19887:
! 19888: # Flag to hardcode \$libdir into a binary during linking.
! 19889: # This must work even if \$libdir does not exist
! 19890: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 19891:
! 19892: # Whether we need a single "-rpath" flag with a separated argument.
! 19893: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 19894:
! 19895: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 19896: # DIR into the resulting binary.
! 19897: hardcode_direct=$hardcode_direct
! 19898:
! 19899: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 19900: # DIR into the resulting binary and the resulting library dependency is
! 19901: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 19902: # library is relocated.
! 19903: hardcode_direct_absolute=$hardcode_direct_absolute
! 19904:
! 19905: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 19906: # into the resulting binary.
! 19907: hardcode_minus_L=$hardcode_minus_L
! 19908:
! 19909: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 19910: # into the resulting binary.
! 19911: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 19912:
! 19913: # Set to "yes" if building a shared library automatically hardcodes DIR
! 19914: # into the library and all subsequent libraries and executables linked
! 19915: # against it.
! 19916: hardcode_automatic=$hardcode_automatic
! 19917:
! 19918: # Set to yes if linker adds runtime paths of dependent libraries
! 19919: # to runtime path list.
! 19920: inherit_rpath=$inherit_rpath
! 19921:
! 19922: # Whether libtool must link a program against all its dependency libraries.
! 19923: link_all_deplibs=$link_all_deplibs
! 19924:
! 19925: # Set to "yes" if exported symbols are required.
! 19926: always_export_symbols=$always_export_symbols
! 19927:
! 19928: # The commands to list exported symbols.
! 19929: export_symbols_cmds=$lt_export_symbols_cmds
! 19930:
! 19931: # Symbols that should not be listed in the preloaded symbols.
! 19932: exclude_expsyms=$lt_exclude_expsyms
! 19933:
! 19934: # Symbols that must always be exported.
! 19935: include_expsyms=$lt_include_expsyms
! 19936:
! 19937: # Commands necessary for linking programs (against libraries) with templates.
! 19938: prelink_cmds=$lt_prelink_cmds
! 19939:
! 19940: # Commands necessary for finishing linking programs.
! 19941: postlink_cmds=$lt_postlink_cmds
! 19942:
! 19943: # Specify filename containing input files.
! 19944: file_list_spec=$lt_file_list_spec
! 19945:
! 19946: # How to hardcode a shared library path into an executable.
! 19947: hardcode_action=$hardcode_action
! 19948:
! 19949: # The directories searched by this compiler when creating a shared library.
! 19950: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
! 19951:
! 19952: # Dependencies to place before and after the objects being linked to
! 19953: # create a shared library.
! 19954: predep_objects=$lt_predep_objects
! 19955: postdep_objects=$lt_postdep_objects
! 19956: predeps=$lt_predeps
! 19957: postdeps=$lt_postdeps
! 19958:
! 19959: # The library search path used internally by the compiler when linking
! 19960: # a shared library.
! 19961: compiler_lib_search_path=$lt_compiler_lib_search_path
! 19962:
! 19963: # ### END LIBTOOL CONFIG
! 19964:
! 19965: _LT_EOF
! 19966:
! 19967: case $host_os in
! 19968: aix3*)
! 19969: cat <<\_LT_EOF >> "$cfgfile"
! 19970: # AIX sometimes has problems with the GCC collect2 program. For some
! 19971: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 19972: # vanish in a puff of smoke.
! 19973: if test "X${COLLECT_NAMES+set}" != Xset; then
! 19974: COLLECT_NAMES=
! 19975: export COLLECT_NAMES
! 19976: fi
! 19977: _LT_EOF
! 19978: ;;
! 19979: esac
! 19980:
! 19981:
! 19982: ltmain="$ac_aux_dir/ltmain.sh"
! 19983:
! 19984:
! 19985: # We use sed instead of cat because bash on DJGPP gets confused if
! 19986: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 19987: # text mode, it properly converts lines to CR/LF. This bash problem
! 19988: # is reportedly fixed, but why not run on old versions too?
! 19989: sed '$q' "$ltmain" >> "$cfgfile" \
! 19990: || (rm -f "$cfgfile"; exit 1)
! 19991:
! 19992: if test x"$xsi_shell" = xyes; then
! 19993: sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
! 19994: func_dirname ()\
! 19995: {\
! 19996: \ case ${1} in\
! 19997: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 19998: \ * ) func_dirname_result="${3}" ;;\
! 19999: \ esac\
! 20000: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
! 20001: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20002: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20003: test 0 -eq $? || _lt_function_replace_fail=:
! 20004:
! 20005:
! 20006: sed -e '/^func_basename ()$/,/^} # func_basename /c\
! 20007: func_basename ()\
! 20008: {\
! 20009: \ func_basename_result="${1##*/}"\
! 20010: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 20011: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20012: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20013: test 0 -eq $? || _lt_function_replace_fail=:
! 20014:
! 20015:
! 20016: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
! 20017: func_dirname_and_basename ()\
! 20018: {\
! 20019: \ case ${1} in\
! 20020: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 20021: \ * ) func_dirname_result="${3}" ;;\
! 20022: \ esac\
! 20023: \ func_basename_result="${1##*/}"\
! 20024: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 20025: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20026: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20027: test 0 -eq $? || _lt_function_replace_fail=:
! 20028:
! 20029:
! 20030: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
! 20031: func_stripname ()\
! 20032: {\
! 20033: \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
! 20034: \ # positional parameters, so assign one to ordinary parameter first.\
! 20035: \ func_stripname_result=${3}\
! 20036: \ func_stripname_result=${func_stripname_result#"${1}"}\
! 20037: \ func_stripname_result=${func_stripname_result%"${2}"}\
! 20038: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
! 20039: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20040: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20041: test 0 -eq $? || _lt_function_replace_fail=:
! 20042:
! 20043:
! 20044: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
! 20045: func_split_long_opt ()\
! 20046: {\
! 20047: \ func_split_long_opt_name=${1%%=*}\
! 20048: \ func_split_long_opt_arg=${1#*=}\
! 20049: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 20050: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20051: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20052: test 0 -eq $? || _lt_function_replace_fail=:
! 20053:
! 20054:
! 20055: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
! 20056: func_split_short_opt ()\
! 20057: {\
! 20058: \ func_split_short_opt_arg=${1#??}\
! 20059: \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
! 20060: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 20061: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20062: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20063: test 0 -eq $? || _lt_function_replace_fail=:
! 20064:
! 20065:
! 20066: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
! 20067: func_lo2o ()\
! 20068: {\
! 20069: \ case ${1} in\
! 20070: \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
! 20071: \ *) func_lo2o_result=${1} ;;\
! 20072: \ esac\
! 20073: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
! 20074: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20075: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20076: test 0 -eq $? || _lt_function_replace_fail=:
! 20077:
! 20078:
! 20079: sed -e '/^func_xform ()$/,/^} # func_xform /c\
! 20080: func_xform ()\
! 20081: {\
! 20082: func_xform_result=${1%.*}.lo\
! 20083: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
! 20084: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20085: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20086: test 0 -eq $? || _lt_function_replace_fail=:
! 20087:
! 20088:
! 20089: sed -e '/^func_arith ()$/,/^} # func_arith /c\
! 20090: func_arith ()\
! 20091: {\
! 20092: func_arith_result=$(( $* ))\
! 20093: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
! 20094: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20095: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20096: test 0 -eq $? || _lt_function_replace_fail=:
! 20097:
! 20098:
! 20099: sed -e '/^func_len ()$/,/^} # func_len /c\
! 20100: func_len ()\
! 20101: {\
! 20102: func_len_result=${#1}\
! 20103: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
! 20104: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20105: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20106: test 0 -eq $? || _lt_function_replace_fail=:
! 20107:
! 20108: fi
! 20109:
! 20110: if test x"$lt_shell_append" = xyes; then
! 20111: sed -e '/^func_append ()$/,/^} # func_append /c\
! 20112: func_append ()\
! 20113: {\
! 20114: eval "${1}+=\\${2}"\
! 20115: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
! 20116: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20117: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20118: test 0 -eq $? || _lt_function_replace_fail=:
! 20119:
! 20120:
! 20121: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
! 20122: func_append_quoted ()\
! 20123: {\
! 20124: \ func_quote_for_eval "${2}"\
! 20125: \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
! 20126: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
! 20127: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20128: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20129: test 0 -eq $? || _lt_function_replace_fail=:
! 20130:
! 20131:
! 20132: # Save a `func_append' function call where possible by direct use of '+='
! 20133: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
! 20134: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20135: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20136: test 0 -eq $? || _lt_function_replace_fail=:
! 20137: else
! 20138: # Save a `func_append' function call even when '+=' is not available
! 20139: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
! 20140: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20141: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20142: test 0 -eq $? || _lt_function_replace_fail=:
! 20143: fi
! 20144:
! 20145: if test x"$_lt_function_replace_fail" = x":"; then
! 20146: { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
! 20147: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
! 20148: fi
! 20149:
! 20150:
! 20151: mv -f "$cfgfile" "$ofile" ||
! 20152: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 20153: chmod +x "$ofile"
! 20154:
! 20155:
! 20156: cat <<_LT_EOF >> "$ofile"
! 20157:
! 20158: # ### BEGIN LIBTOOL TAG CONFIG: CXX
! 20159:
! 20160: # The linker used to build libraries.
! 20161: LD=$lt_LD_CXX
! 20162:
! 20163: # How to create reloadable object files.
! 20164: reload_flag=$lt_reload_flag_CXX
! 20165: reload_cmds=$lt_reload_cmds_CXX
! 20166:
! 20167: # Commands used to build an old-style archive.
! 20168: old_archive_cmds=$lt_old_archive_cmds_CXX
! 20169:
! 20170: # A language specific compiler.
! 20171: CC=$lt_compiler_CXX
! 20172:
! 20173: # Is the compiler the GNU compiler?
! 20174: with_gcc=$GCC_CXX
! 20175:
! 20176: # Compiler flag to turn off builtin functions.
! 20177: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
! 20178:
! 20179: # Additional compiler flags for building library objects.
! 20180: pic_flag=$lt_lt_prog_compiler_pic_CXX
! 20181:
! 20182: # How to pass a linker flag through the compiler.
! 20183: wl=$lt_lt_prog_compiler_wl_CXX
! 20184:
! 20185: # Compiler flag to prevent dynamic linking.
! 20186: link_static_flag=$lt_lt_prog_compiler_static_CXX
! 20187:
! 20188: # Does compiler simultaneously support -c and -o options?
! 20189: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
! 20190:
! 20191: # Whether or not to add -lc for building shared libraries.
! 20192: build_libtool_need_lc=$archive_cmds_need_lc_CXX
! 20193:
! 20194: # Whether or not to disallow shared libs when runtime libs are static.
! 20195: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
! 20196:
! 20197: # Compiler flag to allow reflexive dlopens.
! 20198: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
! 20199:
! 20200: # Compiler flag to generate shared objects directly from archives.
! 20201: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
! 20202:
! 20203: # Whether the compiler copes with passing no objects directly.
! 20204: compiler_needs_object=$lt_compiler_needs_object_CXX
! 20205:
! 20206: # Create an old-style archive from a shared archive.
! 20207: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
! 20208:
! 20209: # Create a temporary old-style archive to link instead of a shared archive.
! 20210: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
! 20211:
! 20212: # Commands used to build a shared archive.
! 20213: archive_cmds=$lt_archive_cmds_CXX
! 20214: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
! 20215:
! 20216: # Commands used to build a loadable module if different from building
! 20217: # a shared archive.
! 20218: module_cmds=$lt_module_cmds_CXX
! 20219: module_expsym_cmds=$lt_module_expsym_cmds_CXX
! 20220:
! 20221: # Whether we are building with GNU ld or not.
! 20222: with_gnu_ld=$lt_with_gnu_ld_CXX
! 20223:
! 20224: # Flag that allows shared libraries with undefined symbols to be built.
! 20225: allow_undefined_flag=$lt_allow_undefined_flag_CXX
! 20226:
! 20227: # Flag that enforces no undefined symbols.
! 20228: no_undefined_flag=$lt_no_undefined_flag_CXX
! 20229:
! 20230: # Flag to hardcode \$libdir into a binary during linking.
! 20231: # This must work even if \$libdir does not exist
! 20232: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
! 20233:
! 20234: # Whether we need a single "-rpath" flag with a separated argument.
! 20235: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
! 20236:
! 20237: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20238: # DIR into the resulting binary.
! 20239: hardcode_direct=$hardcode_direct_CXX
! 20240:
! 20241: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20242: # DIR into the resulting binary and the resulting library dependency is
! 20243: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 20244: # library is relocated.
! 20245: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
! 20246:
! 20247: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 20248: # into the resulting binary.
! 20249: hardcode_minus_L=$hardcode_minus_L_CXX
! 20250:
! 20251: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 20252: # into the resulting binary.
! 20253: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
! 20254:
! 20255: # Set to "yes" if building a shared library automatically hardcodes DIR
! 20256: # into the library and all subsequent libraries and executables linked
! 20257: # against it.
! 20258: hardcode_automatic=$hardcode_automatic_CXX
! 20259:
! 20260: # Set to yes if linker adds runtime paths of dependent libraries
! 20261: # to runtime path list.
! 20262: inherit_rpath=$inherit_rpath_CXX
! 20263:
! 20264: # Whether libtool must link a program against all its dependency libraries.
! 20265: link_all_deplibs=$link_all_deplibs_CXX
! 20266:
! 20267: # Set to "yes" if exported symbols are required.
! 20268: always_export_symbols=$always_export_symbols_CXX
! 20269:
! 20270: # The commands to list exported symbols.
! 20271: export_symbols_cmds=$lt_export_symbols_cmds_CXX
! 20272:
! 20273: # Symbols that should not be listed in the preloaded symbols.
! 20274: exclude_expsyms=$lt_exclude_expsyms_CXX
! 20275:
! 20276: # Symbols that must always be exported.
! 20277: include_expsyms=$lt_include_expsyms_CXX
! 20278:
! 20279: # Commands necessary for linking programs (against libraries) with templates.
! 20280: prelink_cmds=$lt_prelink_cmds_CXX
! 20281:
! 20282: # Commands necessary for finishing linking programs.
! 20283: postlink_cmds=$lt_postlink_cmds_CXX
! 20284:
! 20285: # Specify filename containing input files.
! 20286: file_list_spec=$lt_file_list_spec_CXX
! 20287:
! 20288: # How to hardcode a shared library path into an executable.
! 20289: hardcode_action=$hardcode_action_CXX
! 20290:
! 20291: # The directories searched by this compiler when creating a shared library.
! 20292: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
! 20293:
! 20294: # Dependencies to place before and after the objects being linked to
! 20295: # create a shared library.
! 20296: predep_objects=$lt_predep_objects_CXX
! 20297: postdep_objects=$lt_postdep_objects_CXX
! 20298: predeps=$lt_predeps_CXX
! 20299: postdeps=$lt_postdeps_CXX
! 20300:
! 20301: # The library search path used internally by the compiler when linking
! 20302: # a shared library.
! 20303: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
! 20304:
! 20305: # ### END LIBTOOL TAG CONFIG: CXX
! 20306: _LT_EOF
1.1 parser 20307:
1.15 paf 20308: ;;
20309: esac
20310: done
20311: _ACEOF
1.1 parser 20312:
1.15 paf 20313: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 parser 20314:
1.15 paf 20315: { (exit 0); exit 0; }
20316: _ACEOF
1.1 parser 20317: chmod +x $CONFIG_STATUS
1.15 paf 20318: ac_clean_files=$ac_clean_files_save
20319:
20320:
20321: # configure is writing to config.log, and then calls config.status.
20322: # config.status does its own redirection, appending to config.log.
20323: # Unfortunately, on DOS this fails, as config.log is still kept open
20324: # by configure, so config.status won't be able to write to it; its
20325: # output is simply discarded. So we exec the FD to /dev/null,
20326: # effectively closing config.log, so it can be properly (re)opened and
20327: # appended to by config.status. When coming back to configure, we
20328: # need to make the FD available again.
20329: if test "$no_create" != yes; then
20330: ac_cs_success=:
20331: ac_config_status_args=
20332: test "$silent" = yes &&
20333: ac_config_status_args="$ac_config_status_args --quiet"
20334: exec 5>/dev/null
20335: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20336: exec 5>>config.log
20337: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20338: # would make configure fail if this is the last instruction.
20339: $ac_cs_success || { (exit 1); exit 1; }
20340: fi
1.1 parser 20341:
1.15 paf 20342: #
20343: # CONFIG_SUBDIRS section.
20344: #
1.1 parser 20345: if test "$no_recursion" != yes; then
20346:
20347: # Remove --cache-file and --srcdir arguments so they do not pile up.
20348: ac_sub_configure_args=
20349: ac_prev=
20350: for ac_arg in $ac_configure_args; do
20351: if test -n "$ac_prev"; then
20352: ac_prev=
20353: continue
20354: fi
1.15 paf 20355: case $ac_arg in
1.1 parser 20356: -cache-file | --cache-file | --cache-fil | --cache-fi \
20357: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20358: ac_prev=cache_file ;;
20359: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.15 paf 20360: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
20361: | --c=*)
20362: ;;
20363: --config-cache | -C)
1.1 parser 20364: ;;
20365: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20366: ac_prev=srcdir ;;
20367: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20368: ;;
1.15 paf 20369: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
20370: ac_prev=prefix ;;
20371: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20372: ;;
1.1 parser 20373: *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20374: esac
20375: done
20376:
1.15 paf 20377: # Always prepend --prefix to ensure using the same prefix
20378: # in subdir configurations.
20379: ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
20380:
20381: ac_popdir=`pwd`
20382: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1 parser 20383:
20384: # Do not complain, so a configure script can configure whichever
20385: # parts of a large source tree are present.
1.15 paf 20386: test -d $srcdir/$ac_dir || continue
1.1 parser 20387:
1.15 paf 20388: { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
20389: echo "$as_me: configuring in $ac_dir" >&6;}
20390: { if $as_mkdir_p; then
20391: mkdir -p "$ac_dir"
20392: else
20393: as_dir="$ac_dir"
20394: as_dirs=
20395: while test ! -d "$as_dir"; do
20396: as_dirs="$as_dir $as_dirs"
20397: as_dir=`(dirname "$as_dir") 2>/dev/null ||
20398: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.25 paf 20399: X"$as_dir" : 'X\(//\)[^/]' \| \
20400: X"$as_dir" : 'X\(//\)$' \| \
20401: X"$as_dir" : 'X\(/\)' \| \
20402: . : '\(.\)' 2>/dev/null ||
1.15 paf 20403: echo X"$as_dir" |
20404: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20405: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20406: /^X\(\/\/\)$/{ s//\1/; q; }
20407: /^X\(\/\).*/{ s//\1/; q; }
20408: s/.*/./; q'`
20409: done
20410: test ! -n "$as_dirs" || mkdir $as_dirs
20411: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20412: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20413: { (exit 1); exit 1; }; }; }
20414:
20415: ac_builddir=.
20416:
20417: if test "$ac_dir" != .; then
20418: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20419: # A "../" for each directory in $ac_dir_suffix.
20420: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20421: else
20422: ac_dir_suffix= ac_top_builddir=
20423: fi
20424:
20425: case $srcdir in
20426: .) # No --srcdir option. We are building in place.
20427: ac_srcdir=.
20428: if test -z "$ac_top_builddir"; then
20429: ac_top_srcdir=.
20430: else
20431: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20432: fi ;;
20433: [\\/]* | ?:[\\/]* ) # Absolute path.
20434: ac_srcdir=$srcdir$ac_dir_suffix;
20435: ac_top_srcdir=$srcdir ;;
20436: *) # Relative path.
20437: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20438: ac_top_srcdir=$ac_top_builddir$srcdir ;;
20439: esac
1.25 paf 20440:
20441: # Do not use `cd foo && pwd` to compute absolute paths, because
20442: # the directories may not exist.
20443: case `pwd` in
20444: .) ac_abs_builddir="$ac_dir";;
20445: *)
20446: case "$ac_dir" in
20447: .) ac_abs_builddir=`pwd`;;
20448: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20449: *) ac_abs_builddir=`pwd`/"$ac_dir";;
20450: esac;;
20451: esac
20452: case $ac_abs_builddir in
20453: .) ac_abs_top_builddir=${ac_top_builddir}.;;
20454: *)
20455: case ${ac_top_builddir}. in
20456: .) ac_abs_top_builddir=$ac_abs_builddir;;
20457: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20458: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20459: esac;;
20460: esac
20461: case $ac_abs_builddir in
20462: .) ac_abs_srcdir=$ac_srcdir;;
20463: *)
20464: case $ac_srcdir in
20465: .) ac_abs_srcdir=$ac_abs_builddir;;
20466: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20467: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20468: esac;;
20469: esac
20470: case $ac_abs_builddir in
20471: .) ac_abs_top_srcdir=$ac_top_srcdir;;
20472: *)
20473: case $ac_top_srcdir in
20474: .) ac_abs_top_srcdir=$ac_abs_builddir;;
20475: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20476: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20477: esac;;
20478: esac
1.1 parser 20479:
20480:
1.15 paf 20481: cd $ac_dir
1.1 parser 20482:
20483: # Check for guested configure; otherwise get Cygnus style configure.
1.15 paf 20484: if test -f $ac_srcdir/configure.gnu; then
20485: ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
20486: elif test -f $ac_srcdir/configure; then
20487: ac_sub_configure="$SHELL '$ac_srcdir/configure'"
20488: elif test -f $ac_srcdir/configure.in; then
1.1 parser 20489: ac_sub_configure=$ac_configure
20490: else
1.15 paf 20491: { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20492: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1 parser 20493: ac_sub_configure=
20494: fi
20495:
20496: # The recursion is here.
20497: if test -n "$ac_sub_configure"; then
20498: # Make the cache file name correct relative to the subdirectory.
1.15 paf 20499: case $cache_file in
20500: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1 parser 20501: *) # Relative path.
1.25 paf 20502: ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1 parser 20503: esac
20504:
1.15 paf 20505: { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20506: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1 parser 20507: # The eval makes quoting arguments work.
1.15 paf 20508: eval $ac_sub_configure $ac_sub_configure_args \
1.25 paf 20509: --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
20510: { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.15 paf 20511: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20512: { (exit 1); exit 1; }; }
1.1 parser 20513: fi
20514:
20515: cd $ac_popdir
20516: done
20517: fi
20518:
E-mail: