Annotation of sql/oracle/configure, revision 1.25
1.1 parser 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.25 ! moko 3: # Generated by GNU Autoconf 2.59 for parser3 10.2.
1.1 parser 4: #
1.18 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.11 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.18 paf 22: DUALCASE=1; export DUALCASE # for MKS sh
1.11 paf 23:
24: # Support unset when possible.
1.18 paf 25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.11 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.18 paf 44: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.11 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.18 paf 221: test -d ./-p && rmdir ./-p
1.11 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.18 paf 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.11 paf 229:
230: # Sed expression to map a string onto a valid variable name.
1.18 paf 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.11 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:
1.25 ! moko 243: lt_ltdl_dir='libltdl'
1.11 paf 244:
245: SHELL=${CONFIG_SHELL-/bin/sh}
246:
1.25 ! moko 247: lt_dlopen_dir="$lt_ltdl_dir"
1.11 paf 248:
249:
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`
1.1 parser 254:
1.11 paf 255: exec 6>&1
256:
257: #
258: # Initializations.
259: #
1.1 parser 260: ac_default_prefix=/usr/local
1.11 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.
1.25 ! moko 274: PACKAGE_NAME='parser3'
! 275: PACKAGE_TARNAME='parser3'
! 276: PACKAGE_VERSION='10.2'
! 277: PACKAGE_STRING='parser3 10.2'
! 278: PACKAGE_BUGREPORT=''
1.11 paf 279:
280: ac_unique_file="parser3oracle.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.25 ! 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 ORACLE_OCI_INC ORACLE_PUBLIC_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 AS ac_ct_AS DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP 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 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 LT_DLLOADERS LIBADD_DLOPEN LIBADD_SHL_LOAD LIBADD_DLD_LINK LT_DLPREOPEN LIBADD_DL 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.11 paf 320: ac_subst_files=''
1.1 parser 321:
322: # Initialize some variables set by options.
1.11 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.11 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.11 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.11 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.11 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.11 paf 379: bindir=$ac_optarg ;;
1.1 parser 380:
381: -build | --build | --buil | --bui | --bu)
1.11 paf 382: ac_prev=build_alias ;;
1.1 parser 383: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.11 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.11 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.11 paf 400: datadir=$ac_optarg ;;
1.1 parser 401:
402: -disable-* | --disable-*)
1.11 paf 403: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 parser 404: # Reject names that are not valid shell variable names.
1.11 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.11 paf 412: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 parser 413: # Reject names that are not valid shell variable names.
1.11 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.11 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.11 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.11 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.11 paf 445: ac_prev=host_alias ;;
1.1 parser 446: -host=* | --host=* | --hos=* | --ho=*)
1.11 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.11 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.11 paf 459: infodir=$ac_optarg ;;
1.1 parser 460:
461: -libdir | --libdir | --libdi | --libd)
462: ac_prev=libdir ;;
463: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.11 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.11 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.11 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.11 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.11 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.11 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.11 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.11 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.11 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.11 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.11 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.11 paf 563: sharedstatedir=$ac_optarg ;;
1.1 parser 564:
565: -site | --site | --sit)
566: ac_prev=site ;;
567: -site=* | --site=* | --sit=*)
1.11 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.11 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.11 paf 580: sysconfdir=$ac_optarg ;;
1.1 parser 581:
582: -target | --target | --targe | --targ | --tar | --ta | --t)
1.11 paf 583: ac_prev=target_alias ;;
1.1 parser 584: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.11 paf 585: target_alias=$ac_optarg ;;
1.1 parser 586:
587: -v | -verbose | --verbose | --verbos | --verbo | --verb)
588: verbose=yes ;;
589:
1.11 paf 590: -version | --version | --versio | --versi | --vers | -V)
591: ac_init_version=: ;;
1.1 parser 592:
593: -with-* | --with-*)
1.11 paf 594: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 parser 595: # Reject names that are not valid shell variable names.
1.11 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.11 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.11 paf 604: eval "with_$ac_package='$ac_optarg'" ;;
1.1 parser 605:
606: -without-* | --without-*)
1.11 paf 607: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 parser 608: # Reject names that are not valid shell variable names.
1.11 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.11 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.11 paf 631: x_libraries=$ac_optarg ;;
1.1 parser 632:
1.11 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.11 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.11 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.11 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.11 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.11 paf 676: # Be sure to have absolute paths.
677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.18 paf 678: localstatedir libdir includedir oldincludedir infodir mandir
1.1 parser 679: do
1.11 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.11 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.11 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.11 paf 716: ac_confdir=`(dirname "$0") 2>/dev/null ||
717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18 paf 718: X"$0" : 'X\(//\)[^/]' \| \
719: X"$0" : 'X\(//\)$' \| \
720: X"$0" : 'X\(/\)' \| \
721: . : '\(.\)' 2>/dev/null ||
1.11 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.11 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.11 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.11 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.15 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.25 ! 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.11 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
1.25 ! moko 800: \`configure' configures parser3 10.2 to adapt to many kinds of systems.
1.11 paf 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.18 paf 825: [$ac_default_prefix]
1.11 paf 826: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.18 paf 827: [PREFIX]
1.11 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
1.25 ! moko 865: case $ac_init_help in
! 866: short | recursive ) echo "Configuration of parser3 10.2:";;
! 867: esac
1.11 paf 868: cat <<\_ACEOF
869:
870: Optional Features:
871: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
872: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.18 paf 873: --disable-dependency-tracking speeds up one-time build
874: --enable-dependency-tracking do not reject slow dependency extractors
1.25 ! moko 875: --enable-shared[=PKGS]
! 876: build shared libraries [default=yes]
! 877: --enable-static[=PKGS]
! 878: build static libraries [default=yes]
! 879: --enable-fast-install[=PKGS]
! 880: optimize for fast installation [default=yes]
1.11 paf 881: --disable-libtool-lock avoid locking (might break parallel builds)
1.25 ! moko 882: --enable-ltdl-install install libltdl
1.11 paf 883:
884: Optional Packages:
885: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
886: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
887: --with-oracleoci-inc=DIR DIR is the Oracle OCI includes directory
888: --with-oraclepublic-inc=DIR DIR is the Oracle public includes directory
1.23 misha 889: --with-dynamic-stdcpp link libstdc++ dynamically
890: by default, libstdc++ is linked statically
1.25 ! moko 891: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
! 892: both]
! 893: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 894: --with-sysroot=DIR Search for dependent libraries within DIR
! 895: (or the compiler's sysroot if not specified).
! 896: --with-included-ltdl use the GNU ltdl sources included here
! 897: --with-ltdl-include=DIR use the ltdl headers installed in DIR
! 898: --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1.11 paf 899:
900: Some influential environment variables:
901: CXX C++ compiler command
902: CXXFLAGS C++ compiler flags
903: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
904: nonstandard directory <lib dir>
905: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
906: headers in a nonstandard directory <include dir>
907: CC C compiler command
908: CFLAGS C compiler flags
1.15 paf 909: CPP C preprocessor
1.25 ! moko 910: CXXCPP C++ preprocessor
1.11 paf 911:
912: Use these variables to override the choices made by `configure' or to help
913: it to find libraries and programs with nonstandard names/locations.
914:
915: _ACEOF
916: fi
917:
918: if test "$ac_init_help" = "recursive"; then
919: # If there are subdirs, report their specific --help.
920: ac_popdir=`pwd`
921: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
922: test -d $ac_dir || continue
923: ac_builddir=.
924:
925: if test "$ac_dir" != .; then
926: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
927: # A "../" for each directory in $ac_dir_suffix.
928: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
929: else
930: ac_dir_suffix= ac_top_builddir=
931: fi
932:
933: case $srcdir in
934: .) # No --srcdir option. We are building in place.
935: ac_srcdir=.
936: if test -z "$ac_top_builddir"; then
937: ac_top_srcdir=.
938: else
939: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
940: fi ;;
941: [\\/]* | ?:[\\/]* ) # Absolute path.
942: ac_srcdir=$srcdir$ac_dir_suffix;
943: ac_top_srcdir=$srcdir ;;
944: *) # Relative path.
945: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
946: ac_top_srcdir=$ac_top_builddir$srcdir ;;
947: esac
1.18 paf 948:
949: # Do not use `cd foo && pwd` to compute absolute paths, because
950: # the directories may not exist.
951: case `pwd` in
952: .) ac_abs_builddir="$ac_dir";;
953: *)
954: case "$ac_dir" in
955: .) ac_abs_builddir=`pwd`;;
956: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
957: *) ac_abs_builddir=`pwd`/"$ac_dir";;
958: esac;;
959: esac
960: case $ac_abs_builddir in
961: .) ac_abs_top_builddir=${ac_top_builddir}.;;
962: *)
963: case ${ac_top_builddir}. in
964: .) ac_abs_top_builddir=$ac_abs_builddir;;
965: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
966: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
967: esac;;
968: esac
969: case $ac_abs_builddir in
970: .) ac_abs_srcdir=$ac_srcdir;;
971: *)
972: case $ac_srcdir in
973: .) ac_abs_srcdir=$ac_abs_builddir;;
974: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
975: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
976: esac;;
977: esac
978: case $ac_abs_builddir in
979: .) ac_abs_top_srcdir=$ac_top_srcdir;;
980: *)
981: case $ac_top_srcdir in
982: .) ac_abs_top_srcdir=$ac_abs_builddir;;
983: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
984: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
985: esac;;
986: esac
1.11 paf 987:
988: cd $ac_dir
989: # Check for guested configure; otherwise get Cygnus style configure.
990: if test -f $ac_srcdir/configure.gnu; then
991: echo
992: $SHELL $ac_srcdir/configure.gnu --help=recursive
993: elif test -f $ac_srcdir/configure; then
994: echo
995: $SHELL $ac_srcdir/configure --help=recursive
996: elif test -f $ac_srcdir/configure.ac ||
1.18 paf 997: test -f $ac_srcdir/configure.in; then
1.11 paf 998: echo
999: $ac_configure --help
1000: else
1001: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1002: fi
1003: cd $ac_popdir
1004: done
1005: fi
1.1 parser 1006:
1.11 paf 1007: test -n "$ac_init_help" && exit 0
1008: if $ac_init_version; then
1009: cat <<\_ACEOF
1.25 ! moko 1010: parser3 configure 10.2
! 1011: generated by GNU Autoconf 2.59
1.11 paf 1012:
1.18 paf 1013: Copyright (C) 2003 Free Software Foundation, Inc.
1.11 paf 1014: This configure script is free software; the Free Software Foundation
1015: gives unlimited permission to copy, distribute and modify it.
1016: _ACEOF
1017: exit 0
1018: fi
1019: exec 5>config.log
1020: cat >&5 <<_ACEOF
1021: This file contains any messages produced by compilers while
1022: running configure, to aid debugging if configure makes a mistake.
1023:
1.25 ! moko 1024: It was created by parser3 $as_me 10.2, which was
1.18 paf 1025: generated by GNU Autoconf 2.59. Invocation command line was
1.11 paf 1026:
1027: $ $0 $@
1028:
1029: _ACEOF
1030: {
1031: cat <<_ASUNAME
1032: ## --------- ##
1033: ## Platform. ##
1034: ## --------- ##
1035:
1036: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1037: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1038: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1039: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1040: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1041:
1042: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1043: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1044:
1045: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1046: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1047: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1048: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1049: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1050: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1051: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1052:
1053: _ASUNAME
1054:
1055: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1056: for as_dir in $PATH
1057: do
1058: IFS=$as_save_IFS
1059: test -z "$as_dir" && as_dir=.
1060: echo "PATH: $as_dir"
1061: done
1062:
1063: } >&5
1064:
1065: cat >&5 <<_ACEOF
1066:
1067:
1068: ## ----------- ##
1069: ## Core tests. ##
1070: ## ----------- ##
1071:
1072: _ACEOF
1073:
1074:
1075: # Keep a trace of the command line.
1076: # Strip out --no-create and --no-recursion so they do not pile up.
1077: # Strip out --silent because we don't want to record it for future runs.
1078: # Also quote any args containing shell meta-characters.
1079: # Make two passes to allow for proper duplicate-argument suppression.
1080: ac_configure_args=
1081: ac_configure_args0=
1082: ac_configure_args1=
1083: ac_sep=
1084: ac_must_keep_next=false
1085: for ac_pass in 1 2
1086: do
1087: for ac_arg
1088: do
1089: case $ac_arg in
1090: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1091: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092: | -silent | --silent | --silen | --sile | --sil)
1093: continue ;;
1094: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1095: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1096: esac
1097: case $ac_pass in
1098: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1099: 2)
1100: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1101: if test $ac_must_keep_next = true; then
1.18 paf 1102: ac_must_keep_next=false # Got value, back to normal.
1.11 paf 1103: else
1.18 paf 1104: case $ac_arg in
1105: *=* | --config-cache | -C | -disable-* | --disable-* \
1106: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1107: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1108: | -with-* | --with-* | -without-* | --without-* | --x)
1109: case "$ac_configure_args0 " in
1110: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1111: esac
1112: ;;
1113: -* ) ac_must_keep_next=true ;;
1114: esac
1.11 paf 1115: fi
1116: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1117: # Get rid of the leading space.
1118: ac_sep=" "
1119: ;;
1120: esac
1121: done
1122: done
1123: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1124: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1125:
1126: # When interrupted or exit'd, cleanup temporary files, and complete
1127: # config.log. We remove comments because anyway the quotes in there
1128: # would cause problems or look ugly.
1129: # WARNING: Be sure not to use single quotes in there, as some shells,
1130: # such as our DU 5.0 friend, will then `close' the trap.
1131: trap 'exit_status=$?
1132: # Save into config.log some information that might help in debugging.
1133: {
1134: echo
1135:
1136: cat <<\_ASBOX
1137: ## ---------------- ##
1138: ## Cache variables. ##
1139: ## ---------------- ##
1140: _ASBOX
1141: echo
1142: # The following way of writing the cache mishandles newlines in values,
1143: {
1144: (set) 2>&1 |
1145: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1146: *ac_space=\ *)
1147: sed -n \
1.18 paf 1148: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1149: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.11 paf 1150: ;;
1151: *)
1152: sed -n \
1.18 paf 1153: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.11 paf 1154: ;;
1155: esac;
1156: }
1157: echo
1158:
1159: cat <<\_ASBOX
1160: ## ----------------- ##
1161: ## Output variables. ##
1162: ## ----------------- ##
1163: _ASBOX
1164: echo
1165: for ac_var in $ac_subst_vars
1166: do
1167: eval ac_val=$`echo $ac_var`
1168: echo "$ac_var='"'"'$ac_val'"'"'"
1169: done | sort
1170: echo
1171:
1172: if test -n "$ac_subst_files"; then
1173: cat <<\_ASBOX
1174: ## ------------- ##
1175: ## Output files. ##
1176: ## ------------- ##
1177: _ASBOX
1178: echo
1179: for ac_var in $ac_subst_files
1180: do
1181: eval ac_val=$`echo $ac_var`
1.18 paf 1182: echo "$ac_var='"'"'$ac_val'"'"'"
1.11 paf 1183: done | sort
1184: echo
1185: fi
1186:
1187: if test -s confdefs.h; then
1188: cat <<\_ASBOX
1189: ## ----------- ##
1190: ## confdefs.h. ##
1191: ## ----------- ##
1192: _ASBOX
1193: echo
1194: sed "/^$/d" confdefs.h | sort
1195: echo
1196: fi
1197: test "$ac_signal" != 0 &&
1198: echo "$as_me: caught signal $ac_signal"
1199: echo "$as_me: exit $exit_status"
1200: } >&5
1.18 paf 1201: rm -f core *.core &&
1.11 paf 1202: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1203: exit $exit_status
1204: ' 0
1205: for ac_signal in 1 2 13 15; do
1206: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1207: done
1208: ac_signal=0
1209:
1210: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1211: rm -rf conftest* confdefs.h
1212: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1213: echo >confdefs.h
1214:
1215: # Predefined preprocessor variables.
1216:
1217: cat >>confdefs.h <<_ACEOF
1218: #define PACKAGE_NAME "$PACKAGE_NAME"
1219: _ACEOF
1220:
1221:
1222: cat >>confdefs.h <<_ACEOF
1223: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1224: _ACEOF
1225:
1226:
1227: cat >>confdefs.h <<_ACEOF
1228: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1229: _ACEOF
1230:
1231:
1232: cat >>confdefs.h <<_ACEOF
1233: #define PACKAGE_STRING "$PACKAGE_STRING"
1234: _ACEOF
1235:
1236:
1237: cat >>confdefs.h <<_ACEOF
1238: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1239: _ACEOF
1240:
1241:
1242: # Let the site file select an alternate cache file if it wants to.
1.1 parser 1243: # Prefer explicitly selected file to automatically selected ones.
1244: if test -z "$CONFIG_SITE"; then
1245: if test "x$prefix" != xNONE; then
1246: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1247: else
1248: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1249: fi
1250: fi
1251: for ac_site_file in $CONFIG_SITE; do
1252: if test -r "$ac_site_file"; then
1.11 paf 1253: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1254: echo "$as_me: loading site script $ac_site_file" >&6;}
1255: sed 's/^/| /' "$ac_site_file" >&5
1.1 parser 1256: . "$ac_site_file"
1257: fi
1258: done
1259:
1260: if test -r "$cache_file"; then
1.11 paf 1261: # Some versions of bash will fail to source /dev/null (special
1262: # files actually), so we avoid doing that.
1263: if test -f "$cache_file"; then
1264: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1265: echo "$as_me: loading cache $cache_file" >&6;}
1266: case $cache_file in
1267: [\\/]* | ?:[\\/]* ) . $cache_file;;
1268: *) . ./$cache_file;;
1269: esac
1270: fi
1.1 parser 1271: else
1.11 paf 1272: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1273: echo "$as_me: creating cache $cache_file" >&6;}
1274: >$cache_file
1275: fi
1276:
1277: # Check that the precious variables saved in the cache have kept the same
1278: # value.
1279: ac_cache_corrupted=false
1280: for ac_var in `(set) 2>&1 |
1.18 paf 1281: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.11 paf 1282: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1283: eval ac_new_set=\$ac_env_${ac_var}_set
1284: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1285: eval ac_new_val="\$ac_env_${ac_var}_value"
1286: case $ac_old_set,$ac_new_set in
1287: set,)
1288: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1289: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1290: ac_cache_corrupted=: ;;
1291: ,set)
1292: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1293: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1294: ac_cache_corrupted=: ;;
1295: ,);;
1296: *)
1297: if test "x$ac_old_val" != "x$ac_new_val"; then
1.18 paf 1298: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.11 paf 1299: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.18 paf 1300: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.11 paf 1301: echo "$as_me: former value: $ac_old_val" >&2;}
1.18 paf 1302: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.11 paf 1303: echo "$as_me: current value: $ac_new_val" >&2;}
1.18 paf 1304: ac_cache_corrupted=:
1.11 paf 1305: fi;;
1306: esac
1307: # Pass precious variables to config.status.
1308: if test "$ac_new_set" = set; then
1309: case $ac_new_val in
1310: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1311: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1312: *) ac_arg=$ac_var=$ac_new_val ;;
1313: esac
1314: case " $ac_configure_args " in
1315: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1316: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1317: esac
1318: fi
1319: done
1320: if $ac_cache_corrupted; then
1321: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1322: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1323: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1324: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1325: { (exit 1); exit 1; }; }
1.1 parser 1326: fi
1327:
1328: ac_ext=c
1329: ac_cpp='$CPP $CPPFLAGS'
1.11 paf 1330: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1331: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1332: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1 parser 1333:
1334:
1.11 paf 1335:
1336:
1337:
1338:
1339:
1340:
1341:
1342:
1343:
1344:
1345:
1346:
1347:
1348:
1349:
1350:
1351:
1.25 ! moko 1352:
! 1353:
! 1354:
! 1355:
! 1356:
! 1357:
! 1358:
! 1359:
! 1360:
! 1361: ac_config_headers="$ac_config_headers config_auto.h"
! 1362:
! 1363:
! 1364:
1.18 paf 1365: am__api_version="1.9"
1.1 parser 1366: ac_aux_dir=
1367: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1368: if test -f $ac_dir/install-sh; then
1369: ac_aux_dir=$ac_dir
1370: ac_install_sh="$ac_aux_dir/install-sh -c"
1371: break
1372: elif test -f $ac_dir/install.sh; then
1373: ac_aux_dir=$ac_dir
1374: ac_install_sh="$ac_aux_dir/install.sh -c"
1375: break
1.11 paf 1376: elif test -f $ac_dir/shtool; then
1377: ac_aux_dir=$ac_dir
1378: ac_install_sh="$ac_aux_dir/shtool install -c"
1379: break
1.1 parser 1380: fi
1381: done
1382: if test -z "$ac_aux_dir"; then
1.11 paf 1383: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1384: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1385: { (exit 1); exit 1; }; }
1386: fi
1387: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1388: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1389: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1 parser 1390:
1391: # Find a good install program. We prefer a C program (faster),
1392: # so one script is as good as another. But avoid the broken or
1393: # incompatible versions:
1394: # SysV /etc/install, /usr/sbin/install
1395: # SunOS /usr/etc/install
1396: # IRIX /sbin/install
1397: # AIX /bin/install
1.11 paf 1398: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 1399: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1400: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1401: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.18 paf 1402: # OS/2's system install, which has a completely different semantic
1.1 parser 1403: # ./install, which can be erroneously created by make from ./install.sh.
1.11 paf 1404: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1405: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 parser 1406: if test -z "$INSTALL"; then
1.11 paf 1407: if test "${ac_cv_path_install+set}" = set; then
1408: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1409: else
1.11 paf 1410: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411: for as_dir in $PATH
1412: do
1413: IFS=$as_save_IFS
1414: test -z "$as_dir" && as_dir=.
1415: # Account for people who put trailing slashes in PATH elements.
1416: case $as_dir/ in
1417: ./ | .// | /cC/* | \
1418: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.18 paf 1419: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.11 paf 1420: /usr/ucb/* ) ;;
1421: *)
1422: # OSF1 and SCO ODT 3.0 have their own names for install.
1423: # Don't use installbsd from OSF since it installs stuff as root
1424: # by default.
1425: for ac_prog in ginstall scoinst install; do
1426: for ac_exec_ext in '' $ac_executable_extensions; do
1.18 paf 1427: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1428: if test $ac_prog = install &&
1429: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1430: # AIX install. It has an incompatible calling convention.
1431: :
1432: elif test $ac_prog = install &&
1433: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1434: # program-specific install script used by HP pwplus--don't use.
1435: :
1436: else
1437: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1438: break 3
1439: fi
1440: fi
1.1 parser 1441: done
1.11 paf 1442: done
1443: ;;
1444: esac
1445: done
1446:
1.1 parser 1447:
1448: fi
1449: if test "${ac_cv_path_install+set}" = set; then
1.11 paf 1450: INSTALL=$ac_cv_path_install
1.1 parser 1451: else
1452: # As a last resort, use the slow shell script. We don't cache a
1453: # path for INSTALL within a source directory, because that will
1454: # break other packages using the cache if that directory is
1455: # removed, or if the path is relative.
1.11 paf 1456: INSTALL=$ac_install_sh
1.1 parser 1457: fi
1458: fi
1.11 paf 1459: echo "$as_me:$LINENO: result: $INSTALL" >&5
1460: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 1461:
1462: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1463: # It thinks the first close brace ends the variable substitution.
1464: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1465:
1.11 paf 1466: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1467:
1468: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1469:
1.11 paf 1470: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1471: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1 parser 1472: # Just in case
1473: sleep 1
1.11 paf 1474: echo timestamp > conftest.file
1.1 parser 1475: # Do `set' in a subshell so we don't clobber the current shell's
1476: # arguments. Must try -L first in case configure is actually a
1477: # symlink; some systems play weird games with the mod time of symlinks
1478: # (eg FreeBSD returns the mod time of the symlink's containing
1479: # directory).
1480: if (
1.11 paf 1481: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 parser 1482: if test "$*" = "X"; then
1483: # -L didn't work.
1.11 paf 1484: set X `ls -t $srcdir/configure conftest.file`
1.1 parser 1485: fi
1.11 paf 1486: rm -f conftest.file
1487: if test "$*" != "X $srcdir/configure conftest.file" \
1488: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 parser 1489:
1490: # If neither matched, then we have a broken ls. This can happen
1491: # if, for instance, CONFIG_SHELL is bash and it inherits a
1492: # broken ls alias from the environment. This has actually
1493: # happened. Such a system could not be considered "sane".
1.11 paf 1494: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1495: alias in your environment" >&5
1496: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1497: alias in your environment" >&2;}
1498: { (exit 1); exit 1; }; }
1.1 parser 1499: fi
1500:
1.11 paf 1501: test "$2" = conftest.file
1.1 parser 1502: )
1503: then
1504: # Ok.
1505: :
1506: else
1.11 paf 1507: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1508: Check your system clock" >&5
1509: echo "$as_me: error: newly created file is older than distributed files!
1510: Check your system clock" >&2;}
1511: { (exit 1); exit 1; }; }
1.1 parser 1512: fi
1.11 paf 1513: echo "$as_me:$LINENO: result: yes" >&5
1514: echo "${ECHO_T}yes" >&6
1.1 parser 1515: test "$program_prefix" != NONE &&
1.11 paf 1516: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 parser 1517: # Use a double $ so make ignores it.
1518: test "$program_suffix" != NONE &&
1.11 paf 1519: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1520: # Double any \ or $. echo might interpret backslashes.
1521: # By default was `s,x,x', remove it if useless.
1522: cat <<\_ACEOF >conftest.sed
1523: s/[\\$]/&&/g;s/;s,x,x,$//
1524: _ACEOF
1525: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1526: rm conftest.sed
1527:
1528: # expand $ac_aux_dir to an absolute path
1529: am_aux_dir=`cd $ac_aux_dir && pwd`
1530:
1531: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1532: # Use eval to expand $SHELL
1533: if eval "$MISSING --run true"; then
1534: am_missing_run="$MISSING --run "
1535: else
1536: am_missing_run=
1537: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1538: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1539: fi
1540:
1.18 paf 1541: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1542: # We used to keeping the `.' as first argument, in order to
1543: # allow $(mkdir_p) to be used without argument. As in
1544: # $(mkdir_p) $(somedir)
1545: # where $(somedir) is conditionally defined. However this is wrong
1546: # for two reasons:
1547: # 1. if the package is installed by a user who cannot write `.'
1548: # make install will fail,
1549: # 2. the above comment should most certainly read
1550: # $(mkdir_p) $(DESTDIR)$(somedir)
1551: # so it does not work when $(somedir) is undefined and
1552: # $(DESTDIR) is not.
1553: # To support the latter case, we have to write
1554: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1555: # so the `.' trick is pointless.
1556: mkdir_p='mkdir -p --'
1557: else
1558: # On NextStep and OpenStep, the `mkdir' command does not
1559: # recognize any option. It will interpret all options as
1560: # directories to create, and then abort because `.' already
1561: # exists.
1562: for d in ./-p ./--version;
1563: do
1564: test -d $d && rmdir $d
1565: done
1566: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1567: if test -f "$ac_aux_dir/mkinstalldirs"; then
1568: mkdir_p='$(mkinstalldirs)'
1569: else
1570: mkdir_p='$(install_sh) -d'
1571: fi
1572: fi
1573:
1.11 paf 1574: for ac_prog in gawk mawk nawk awk
1575: do
1576: # Extract the first word of "$ac_prog", so it can be a program name with args.
1577: set dummy $ac_prog; ac_word=$2
1578: echo "$as_me:$LINENO: checking for $ac_word" >&5
1579: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1580: if test "${ac_cv_prog_AWK+set}" = set; then
1581: echo $ECHO_N "(cached) $ECHO_C" >&6
1582: else
1583: if test -n "$AWK"; then
1584: ac_cv_prog_AWK="$AWK" # Let the user override the test.
1585: else
1586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587: for as_dir in $PATH
1588: do
1589: IFS=$as_save_IFS
1590: test -z "$as_dir" && as_dir=.
1591: for ac_exec_ext in '' $ac_executable_extensions; do
1592: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1593: ac_cv_prog_AWK="$ac_prog"
1594: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1595: break 2
1596: fi
1597: done
1598: done
1599:
1600: fi
1601: fi
1602: AWK=$ac_cv_prog_AWK
1603: if test -n "$AWK"; then
1604: echo "$as_me:$LINENO: result: $AWK" >&5
1605: echo "${ECHO_T}$AWK" >&6
1606: else
1607: echo "$as_me:$LINENO: result: no" >&5
1608: echo "${ECHO_T}no" >&6
1609: fi
1.1 parser 1610:
1.11 paf 1611: test -n "$AWK" && break
1612: done
1.1 parser 1613:
1.11 paf 1614: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1615: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.18 paf 1616: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.11 paf 1617: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1618: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1619: else
1.11 paf 1620: cat >conftest.make <<\_ACEOF
1.1 parser 1621: all:
1.11 paf 1622: @echo 'ac_maketemp="$(MAKE)"'
1623: _ACEOF
1.1 parser 1624: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.11 paf 1625: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 parser 1626: if test -n "$ac_maketemp"; then
1627: eval ac_cv_prog_make_${ac_make}_set=yes
1628: else
1629: eval ac_cv_prog_make_${ac_make}_set=no
1630: fi
1.11 paf 1631: rm -f conftest.make
1.1 parser 1632: fi
1633: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.11 paf 1634: echo "$as_me:$LINENO: result: yes" >&5
1635: echo "${ECHO_T}yes" >&6
1.1 parser 1636: SET_MAKE=
1637: else
1.11 paf 1638: echo "$as_me:$LINENO: result: no" >&5
1639: echo "${ECHO_T}no" >&6
1.1 parser 1640: SET_MAKE="MAKE=${MAKE-make}"
1641: fi
1642:
1.18 paf 1643: rm -rf .tst 2>/dev/null
1644: mkdir .tst 2>/dev/null
1645: if test -d .tst; then
1646: am__leading_dot=.
1647: else
1648: am__leading_dot=_
1649: fi
1650: rmdir .tst 2>/dev/null
1651:
1652: # test to see if srcdir already configured
1.11 paf 1653: if test "`cd $srcdir && pwd`" != "`pwd`" &&
1654: test -f $srcdir/config.status; then
1655: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1656: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1657: { (exit 1); exit 1; }; }
1658: fi
1659:
1660: # test whether we have cygpath
1661: if test -z "$CYGPATH_W"; then
1662: if (cygpath --version) >/dev/null 2>/dev/null; then
1663: CYGPATH_W='cygpath -w'
1664: else
1665: CYGPATH_W=echo
1666: fi
1667: fi
1668:
1669:
1670: # Define the identity of the package.
1.25 ! moko 1671: PACKAGE='parser3'
! 1672: VERSION='10.2'
1.1 parser 1673:
1674:
1.25 ! moko 1675: cat >>confdefs.h <<_ACEOF
! 1676: #define PACKAGE "$PACKAGE"
! 1677: _ACEOF
! 1678:
! 1679:
! 1680: cat >>confdefs.h <<_ACEOF
! 1681: #define VERSION "$VERSION"
! 1682: _ACEOF
! 1683:
1.11 paf 1684: # Some tools Automake needs.
1685:
1686: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1687:
1688:
1689: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1690:
1691:
1692: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1693:
1694:
1695: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1696:
1697:
1698: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 parser 1699:
1.11 paf 1700: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1 parser 1701:
1.11 paf 1702: # Installed binaries are usually stripped using `strip' when the user
1703: # run `make install-strip'. However `strip' might not be the right
1704: # tool to use in cross-compilation environments, therefore Automake
1705: # will honor the `STRIP' environment variable to overrule this program.
1706: if test "$cross_compiling" != no; then
1707: if test -n "$ac_tool_prefix"; then
1708: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1709: set dummy ${ac_tool_prefix}strip; ac_word=$2
1710: echo "$as_me:$LINENO: checking for $ac_word" >&5
1711: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712: if test "${ac_cv_prog_STRIP+set}" = set; then
1713: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1714: else
1.11 paf 1715: if test -n "$STRIP"; then
1716: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1717: else
1718: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719: for as_dir in $PATH
1720: do
1721: IFS=$as_save_IFS
1722: test -z "$as_dir" && as_dir=.
1723: for ac_exec_ext in '' $ac_executable_extensions; do
1724: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1726: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727: break 2
1728: fi
1729: done
1730: done
1731:
1732: fi
1733: fi
1734: STRIP=$ac_cv_prog_STRIP
1735: if test -n "$STRIP"; then
1736: echo "$as_me:$LINENO: result: $STRIP" >&5
1737: echo "${ECHO_T}$STRIP" >&6
1738: else
1739: echo "$as_me:$LINENO: result: no" >&5
1740: echo "${ECHO_T}no" >&6
1.1 parser 1741: fi
1742:
1.11 paf 1743: fi
1744: if test -z "$ac_cv_prog_STRIP"; then
1745: ac_ct_STRIP=$STRIP
1746: # Extract the first word of "strip", so it can be a program name with args.
1747: set dummy strip; ac_word=$2
1748: echo "$as_me:$LINENO: checking for $ac_word" >&5
1749: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1751: echo $ECHO_N "(cached) $ECHO_C" >&6
1752: else
1753: if test -n "$ac_ct_STRIP"; then
1754: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1 parser 1755: else
1.11 paf 1756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757: for as_dir in $PATH
1758: do
1759: IFS=$as_save_IFS
1760: test -z "$as_dir" && as_dir=.
1761: for ac_exec_ext in '' $ac_executable_extensions; do
1762: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763: ac_cv_prog_ac_ct_STRIP="strip"
1764: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765: break 2
1766: fi
1767: done
1768: done
1769:
1770: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1771: fi
1.1 parser 1772: fi
1.11 paf 1773: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1774: if test -n "$ac_ct_STRIP"; then
1775: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1776: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1 parser 1777: else
1.11 paf 1778: echo "$as_me:$LINENO: result: no" >&5
1779: echo "${ECHO_T}no" >&6
1.1 parser 1780: fi
1781:
1.11 paf 1782: STRIP=$ac_ct_STRIP
1.1 parser 1783: else
1.11 paf 1784: STRIP="$ac_cv_prog_STRIP"
1.1 parser 1785: fi
1786:
1787: fi
1.11 paf 1788: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1 parser 1789:
1.11 paf 1790: # We need awk for the "check" target. The system "awk" is bad on
1791: # some platforms.
1.18 paf 1792: # Always define AMTAR for backward compatibility.
1793:
1794: AMTAR=${AMTAR-"${am_missing_run}tar"}
1795:
1796: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1797:
1798:
1.1 parser 1799:
1800:
1801:
1802:
1803:
1804:
1.2 parser 1805: # Check whether --with-oracleoci-inc or --without-oracleoci-inc was given.
1.1 parser 1806: if test "${with_oracleoci_inc+set}" = set; then
1807: withval="$with_oracleoci_inc"
1.11 paf 1808:
1.1 parser 1809: else
1810: withval="$ORACLE_HOME/rdbms/demo"
1811:
1.11 paf 1812: fi;
1.25 ! moko 1813:
1.2 parser 1814: ORACLE_OCI_INC=$withval
1.1 parser 1815:
1816:
1.2 parser 1817: if test \! -f "$ORACLE_OCI_INC/oci.h"; then
1.11 paf 1818: { { echo "$as_me:$LINENO: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" >&5
1819: echo "$as_me: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" >&2;}
1820: { (exit 1); exit 1; }; }
1.2 parser 1821: fi
1822:
1823:
1824: # Check whether --with-oraclepublic-inc or --without-oraclepublic-inc was given.
1.1 parser 1825: if test "${with_oraclepublic_inc+set}" = set; then
1826: withval="$with_oraclepublic_inc"
1.11 paf 1827:
1.1 parser 1828: else
1829: withval="$ORACLE_HOME/network/public"
1830:
1.11 paf 1831: fi;
1.25 ! moko 1832:
1.2 parser 1833: ORACLE_PUBLIC_INC=$withval
1.1 parser 1834:
1835:
1.2 parser 1836: if test \! -f "$ORACLE_PUBLIC_INC/nzt.h"; then
1.11 paf 1837: { { echo "$as_me:$LINENO: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" >&5
1838: echo "$as_me: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" >&2;}
1839: { (exit 1); exit 1; }; }
1.2 parser 1840: fi
1841:
1.1 parser 1842:
1.23 misha 1843: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
1844: if test "${with_dynamic_stdcpp+set}" = set; then
1845: withval="$with_dynamic_stdcpp"
1846:
1847: LDFLAGS="-lstdc++"
1848:
1849: else
1850:
1851: LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic"
1852:
1853: fi;
1854:
1855:
1856:
1857:
1.1 parser 1858: # Find a good install program. We prefer a C program (faster),
1859: # so one script is as good as another. But avoid the broken or
1860: # incompatible versions:
1861: # SysV /etc/install, /usr/sbin/install
1862: # SunOS /usr/etc/install
1863: # IRIX /sbin/install
1864: # AIX /bin/install
1.11 paf 1865: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 1866: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1867: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1868: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.18 paf 1869: # OS/2's system install, which has a completely different semantic
1.1 parser 1870: # ./install, which can be erroneously created by make from ./install.sh.
1.11 paf 1871: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1872: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 parser 1873: if test -z "$INSTALL"; then
1.11 paf 1874: if test "${ac_cv_path_install+set}" = set; then
1875: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1876: else
1.11 paf 1877: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878: for as_dir in $PATH
1879: do
1880: IFS=$as_save_IFS
1881: test -z "$as_dir" && as_dir=.
1882: # Account for people who put trailing slashes in PATH elements.
1883: case $as_dir/ in
1884: ./ | .// | /cC/* | \
1885: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.18 paf 1886: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.11 paf 1887: /usr/ucb/* ) ;;
1888: *)
1889: # OSF1 and SCO ODT 3.0 have their own names for install.
1890: # Don't use installbsd from OSF since it installs stuff as root
1891: # by default.
1892: for ac_prog in ginstall scoinst install; do
1893: for ac_exec_ext in '' $ac_executable_extensions; do
1.18 paf 1894: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1895: if test $ac_prog = install &&
1896: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1897: # AIX install. It has an incompatible calling convention.
1898: :
1899: elif test $ac_prog = install &&
1900: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1901: # program-specific install script used by HP pwplus--don't use.
1902: :
1903: else
1904: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1905: break 3
1906: fi
1907: fi
1.1 parser 1908: done
1.11 paf 1909: done
1910: ;;
1911: esac
1912: done
1913:
1.1 parser 1914:
1915: fi
1916: if test "${ac_cv_path_install+set}" = set; then
1.11 paf 1917: INSTALL=$ac_cv_path_install
1.1 parser 1918: else
1919: # As a last resort, use the slow shell script. We don't cache a
1920: # path for INSTALL within a source directory, because that will
1921: # break other packages using the cache if that directory is
1922: # removed, or if the path is relative.
1.11 paf 1923: INSTALL=$ac_install_sh
1.1 parser 1924: fi
1925: fi
1.11 paf 1926: echo "$as_me:$LINENO: result: $INSTALL" >&5
1927: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 1928:
1929: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1930: # It thinks the first close brace ends the variable substitution.
1931: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1932:
1.11 paf 1933: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1934:
1935: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1936:
1.11 paf 1937: ac_ext=cc
1.1 parser 1938: ac_cpp='$CXXCPP $CPPFLAGS'
1.11 paf 1939: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1940: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1941: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1942: if test -n "$ac_tool_prefix"; then
1943: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1944: do
1945: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1946: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1947: echo "$as_me:$LINENO: checking for $ac_word" >&5
1948: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1949: if test "${ac_cv_prog_CXX+set}" = set; then
1950: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1951: else
1952: if test -n "$CXX"; then
1953: ac_cv_prog_CXX="$CXX" # Let the user override the test.
1954: else
1.11 paf 1955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956: for as_dir in $PATH
1957: do
1958: IFS=$as_save_IFS
1959: test -z "$as_dir" && as_dir=.
1960: for ac_exec_ext in '' $ac_executable_extensions; do
1961: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1962: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1963: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964: break 2
1965: fi
1966: done
1967: done
1968:
1.1 parser 1969: fi
1970: fi
1.11 paf 1971: CXX=$ac_cv_prog_CXX
1.1 parser 1972: if test -n "$CXX"; then
1.11 paf 1973: echo "$as_me:$LINENO: result: $CXX" >&5
1974: echo "${ECHO_T}$CXX" >&6
1.1 parser 1975: else
1.11 paf 1976: echo "$as_me:$LINENO: result: no" >&5
1977: echo "${ECHO_T}no" >&6
1.1 parser 1978: fi
1979:
1.11 paf 1980: test -n "$CXX" && break
1981: done
1982: fi
1983: if test -z "$CXX"; then
1984: ac_ct_CXX=$CXX
1985: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1986: do
1987: # Extract the first word of "$ac_prog", so it can be a program name with args.
1988: set dummy $ac_prog; ac_word=$2
1989: echo "$as_me:$LINENO: checking for $ac_word" >&5
1990: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1991: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1992: echo $ECHO_N "(cached) $ECHO_C" >&6
1993: else
1994: if test -n "$ac_ct_CXX"; then
1995: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1996: else
1997: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998: for as_dir in $PATH
1999: do
2000: IFS=$as_save_IFS
2001: test -z "$as_dir" && as_dir=.
2002: for ac_exec_ext in '' $ac_executable_extensions; do
2003: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004: ac_cv_prog_ac_ct_CXX="$ac_prog"
2005: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006: break 2
2007: fi
2008: done
1.1 parser 2009: done
2010:
1.11 paf 2011: fi
2012: fi
2013: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2014: if test -n "$ac_ct_CXX"; then
2015: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2016: echo "${ECHO_T}$ac_ct_CXX" >&6
2017: else
2018: echo "$as_me:$LINENO: result: no" >&5
2019: echo "${ECHO_T}no" >&6
2020: fi
1.1 parser 2021:
1.11 paf 2022: test -n "$ac_ct_CXX" && break
2023: done
2024: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1 parser 2025:
1.11 paf 2026: CXX=$ac_ct_CXX
2027: fi
1.1 parser 2028:
2029:
1.11 paf 2030: # Provide some information about the compiler.
2031: echo "$as_me:$LINENO:" \
2032: "checking for C++ compiler version" >&5
2033: ac_compiler=`set X $ac_compile; echo $2`
2034: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2035: (eval $ac_compiler --version </dev/null >&5) 2>&5
2036: ac_status=$?
2037: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038: (exit $ac_status); }
2039: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2040: (eval $ac_compiler -v </dev/null >&5) 2>&5
2041: ac_status=$?
2042: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043: (exit $ac_status); }
2044: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2045: (eval $ac_compiler -V </dev/null >&5) 2>&5
2046: ac_status=$?
2047: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048: (exit $ac_status); }
2049:
2050: cat >conftest.$ac_ext <<_ACEOF
2051: /* confdefs.h. */
2052: _ACEOF
2053: cat confdefs.h >>conftest.$ac_ext
2054: cat >>conftest.$ac_ext <<_ACEOF
2055: /* end confdefs.h. */
2056:
2057: int
2058: main ()
2059: {
2060:
2061: ;
2062: return 0;
2063: }
2064: _ACEOF
2065: ac_clean_files_save=$ac_clean_files
2066: ac_clean_files="$ac_clean_files a.out a.exe b.out"
2067: # Try to create an executable without -o first, disregard a.out.
2068: # It will help us diagnose broken compilers, and finding out an intuition
2069: # of exeext.
1.18 paf 2070: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2071: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.11 paf 2072: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2073: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2074: (eval $ac_link_default) 2>&5
2075: ac_status=$?
2076: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077: (exit $ac_status); }; then
2078: # Find the output, starting from the most likely. This scheme is
2079: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2080: # resort.
2081:
2082: # Be careful to initialize this variable, since it used to be cached.
2083: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2084: ac_cv_exeext=
2085: # b.out is created by i960 compilers.
2086: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2087: do
2088: test -f "$ac_file" || continue
2089: case $ac_file in
2090: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.18 paf 2091: ;;
1.11 paf 2092: conftest.$ac_ext )
1.18 paf 2093: # This is the source file.
2094: ;;
1.11 paf 2095: [ab].out )
1.18 paf 2096: # We found the default executable, but exeext='' is most
2097: # certainly right.
2098: break;;
1.11 paf 2099: *.* )
1.18 paf 2100: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2101: # FIXME: I believe we export ac_cv_exeext for Libtool,
2102: # but it would be cool to find out if it's true. Does anybody
2103: # maintain Libtool? --akim.
2104: export ac_cv_exeext
2105: break;;
1.11 paf 2106: * )
1.18 paf 2107: break;;
1.11 paf 2108: esac
2109: done
2110: else
2111: echo "$as_me: failed program was:" >&5
2112: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2113:
1.11 paf 2114: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2115: See \`config.log' for more details." >&5
2116: echo "$as_me: error: C++ compiler cannot create executables
2117: See \`config.log' for more details." >&2;}
2118: { (exit 77); exit 77; }; }
2119: fi
2120:
2121: ac_exeext=$ac_cv_exeext
2122: echo "$as_me:$LINENO: result: $ac_file" >&5
2123: echo "${ECHO_T}$ac_file" >&6
2124:
2125: # Check the compiler produces executables we can run. If not, either
2126: # the compiler is broken, or we cross compile.
2127: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2128: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2129: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2130: # If not cross compiling, check that we can run a simple program.
2131: if test "$cross_compiling" != yes; then
2132: if { ac_try='./$ac_file'
2133: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134: (eval $ac_try) 2>&5
2135: ac_status=$?
2136: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137: (exit $ac_status); }; }; then
2138: cross_compiling=no
2139: else
2140: if test "$cross_compiling" = maybe; then
2141: cross_compiling=yes
2142: else
2143: { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2144: If you meant to cross compile, use \`--host'.
2145: See \`config.log' for more details." >&5
2146: echo "$as_me: error: cannot run C++ compiled programs.
2147: If you meant to cross compile, use \`--host'.
2148: See \`config.log' for more details." >&2;}
2149: { (exit 1); exit 1; }; }
2150: fi
1.1 parser 2151: fi
1.11 paf 2152: fi
2153: echo "$as_me:$LINENO: result: yes" >&5
2154: echo "${ECHO_T}yes" >&6
2155:
2156: rm -f a.out a.exe conftest$ac_cv_exeext b.out
2157: ac_clean_files=$ac_clean_files_save
2158: # Check the compiler produces executables we can run. If not, either
2159: # the compiler is broken, or we cross compile.
2160: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2161: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2162: echo "$as_me:$LINENO: result: $cross_compiling" >&5
2163: echo "${ECHO_T}$cross_compiling" >&6
2164:
2165: echo "$as_me:$LINENO: checking for suffix of executables" >&5
2166: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2167: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2168: (eval $ac_link) 2>&5
2169: ac_status=$?
2170: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171: (exit $ac_status); }; then
2172: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2173: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2174: # work properly (i.e., refer to `conftest.exe'), while it won't with
2175: # `rm'.
2176: for ac_file in conftest.exe conftest conftest.*; do
2177: test -f "$ac_file" || continue
2178: case $ac_file in
2179: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2180: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.18 paf 2181: export ac_cv_exeext
2182: break;;
1.11 paf 2183: * ) break;;
2184: esac
2185: done
1.1 parser 2186: else
1.11 paf 2187: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2188: See \`config.log' for more details." >&5
2189: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2190: See \`config.log' for more details." >&2;}
2191: { (exit 1); exit 1; }; }
2192: fi
2193:
2194: rm -f conftest$ac_cv_exeext
2195: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2196: echo "${ECHO_T}$ac_cv_exeext" >&6
2197:
2198: rm -f conftest.$ac_ext
2199: EXEEXT=$ac_cv_exeext
2200: ac_exeext=$EXEEXT
2201: echo "$as_me:$LINENO: checking for suffix of object files" >&5
2202: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2203: if test "${ac_cv_objext+set}" = set; then
2204: echo $ECHO_N "(cached) $ECHO_C" >&6
2205: else
2206: cat >conftest.$ac_ext <<_ACEOF
2207: /* confdefs.h. */
2208: _ACEOF
2209: cat confdefs.h >>conftest.$ac_ext
2210: cat >>conftest.$ac_ext <<_ACEOF
2211: /* end confdefs.h. */
2212:
2213: int
2214: main ()
2215: {
2216:
2217: ;
2218: return 0;
2219: }
2220: _ACEOF
2221: rm -f conftest.o conftest.obj
2222: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223: (eval $ac_compile) 2>&5
2224: ac_status=$?
2225: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226: (exit $ac_status); }; then
2227: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2228: case $ac_file in
2229: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2230: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2231: break;;
2232: esac
2233: done
1.1 parser 2234: else
1.11 paf 2235: echo "$as_me: failed program was:" >&5
2236: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2237:
1.11 paf 2238: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2239: See \`config.log' for more details." >&5
2240: echo "$as_me: error: cannot compute suffix of object files: cannot compile
2241: See \`config.log' for more details." >&2;}
2242: { (exit 1); exit 1; }; }
2243: fi
2244:
2245: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2246: fi
2247: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2248: echo "${ECHO_T}$ac_cv_objext" >&6
2249: OBJEXT=$ac_cv_objext
2250: ac_objext=$OBJEXT
2251: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2252: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2253: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2254: echo $ECHO_N "(cached) $ECHO_C" >&6
2255: else
2256: cat >conftest.$ac_ext <<_ACEOF
2257: /* confdefs.h. */
2258: _ACEOF
2259: cat confdefs.h >>conftest.$ac_ext
2260: cat >>conftest.$ac_ext <<_ACEOF
2261: /* end confdefs.h. */
2262:
2263: int
2264: main ()
2265: {
2266: #ifndef __GNUC__
2267: choke me
2268: #endif
1.1 parser 2269:
1.11 paf 2270: ;
2271: return 0;
2272: }
2273: _ACEOF
2274: rm -f conftest.$ac_objext
2275: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 2276: (eval $ac_compile) 2>conftest.er1
1.11 paf 2277: ac_status=$?
1.18 paf 2278: grep -v '^ *+' conftest.er1 >conftest.err
2279: rm -f conftest.er1
2280: cat conftest.err >&5
1.11 paf 2281: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282: (exit $ac_status); } &&
1.18 paf 2283: { ac_try='test -z "$ac_cxx_werror_flag"
2284: || test ! -s conftest.err'
2285: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286: (eval $ac_try) 2>&5
2287: ac_status=$?
2288: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289: (exit $ac_status); }; } &&
2290: { ac_try='test -s conftest.$ac_objext'
1.11 paf 2291: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292: (eval $ac_try) 2>&5
2293: ac_status=$?
2294: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295: (exit $ac_status); }; }; then
2296: ac_compiler_gnu=yes
2297: else
2298: echo "$as_me: failed program was:" >&5
2299: sed 's/^/| /' conftest.$ac_ext >&5
2300:
2301: ac_compiler_gnu=no
2302: fi
1.18 paf 2303: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 2304: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2305:
2306: fi
2307: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2308: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2309: GXX=`test $ac_compiler_gnu = yes && echo yes`
2310: ac_test_CXXFLAGS=${CXXFLAGS+set}
2311: ac_save_CXXFLAGS=$CXXFLAGS
2312: CXXFLAGS="-g"
2313: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2314: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2315: if test "${ac_cv_prog_cxx_g+set}" = set; then
2316: echo $ECHO_N "(cached) $ECHO_C" >&6
2317: else
2318: cat >conftest.$ac_ext <<_ACEOF
2319: /* confdefs.h. */
2320: _ACEOF
2321: cat confdefs.h >>conftest.$ac_ext
2322: cat >>conftest.$ac_ext <<_ACEOF
2323: /* end confdefs.h. */
2324:
2325: int
2326: main ()
2327: {
2328:
2329: ;
2330: return 0;
2331: }
2332: _ACEOF
2333: rm -f conftest.$ac_objext
2334: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 2335: (eval $ac_compile) 2>conftest.er1
1.11 paf 2336: ac_status=$?
1.18 paf 2337: grep -v '^ *+' conftest.er1 >conftest.err
2338: rm -f conftest.er1
2339: cat conftest.err >&5
1.11 paf 2340: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341: (exit $ac_status); } &&
1.18 paf 2342: { ac_try='test -z "$ac_cxx_werror_flag"
2343: || test ! -s conftest.err'
2344: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345: (eval $ac_try) 2>&5
2346: ac_status=$?
2347: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348: (exit $ac_status); }; } &&
2349: { ac_try='test -s conftest.$ac_objext'
1.11 paf 2350: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351: (eval $ac_try) 2>&5
2352: ac_status=$?
2353: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354: (exit $ac_status); }; }; then
2355: ac_cv_prog_cxx_g=yes
1.1 parser 2356: else
1.11 paf 2357: echo "$as_me: failed program was:" >&5
2358: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2359:
1.11 paf 2360: ac_cv_prog_cxx_g=no
1.1 parser 2361: fi
1.18 paf 2362: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 parser 2363: fi
1.11 paf 2364: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2365: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1 parser 2366: if test "$ac_test_CXXFLAGS" = set; then
1.11 paf 2367: CXXFLAGS=$ac_save_CXXFLAGS
1.1 parser 2368: elif test $ac_cv_prog_cxx_g = yes; then
2369: if test "$GXX" = yes; then
2370: CXXFLAGS="-g -O2"
2371: else
2372: CXXFLAGS="-g"
2373: fi
2374: else
2375: if test "$GXX" = yes; then
2376: CXXFLAGS="-O2"
2377: else
2378: CXXFLAGS=
2379: fi
2380: fi
1.11 paf 2381: for ac_declaration in \
1.18 paf 2382: '' \
1.11 paf 2383: 'extern "C" void std::exit (int) throw (); using std::exit;' \
2384: 'extern "C" void std::exit (int); using std::exit;' \
2385: 'extern "C" void exit (int) throw ();' \
2386: 'extern "C" void exit (int);' \
2387: 'void exit (int);'
2388: do
2389: cat >conftest.$ac_ext <<_ACEOF
2390: /* confdefs.h. */
2391: _ACEOF
2392: cat confdefs.h >>conftest.$ac_ext
2393: cat >>conftest.$ac_ext <<_ACEOF
2394: /* end confdefs.h. */
1.18 paf 2395: $ac_declaration
1.11 paf 2396: #include <stdlib.h>
2397: int
2398: main ()
2399: {
2400: exit (42);
2401: ;
2402: return 0;
2403: }
2404: _ACEOF
2405: rm -f conftest.$ac_objext
2406: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 2407: (eval $ac_compile) 2>conftest.er1
1.11 paf 2408: ac_status=$?
1.18 paf 2409: grep -v '^ *+' conftest.er1 >conftest.err
2410: rm -f conftest.er1
2411: cat conftest.err >&5
1.11 paf 2412: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413: (exit $ac_status); } &&
1.18 paf 2414: { ac_try='test -z "$ac_cxx_werror_flag"
2415: || test ! -s conftest.err'
2416: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417: (eval $ac_try) 2>&5
2418: ac_status=$?
2419: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420: (exit $ac_status); }; } &&
2421: { ac_try='test -s conftest.$ac_objext'
1.11 paf 2422: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423: (eval $ac_try) 2>&5
2424: ac_status=$?
2425: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426: (exit $ac_status); }; }; then
2427: :
2428: else
2429: echo "$as_me: failed program was:" >&5
2430: sed 's/^/| /' conftest.$ac_ext >&5
2431:
2432: continue
2433: fi
1.18 paf 2434: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 2435: cat >conftest.$ac_ext <<_ACEOF
2436: /* confdefs.h. */
2437: _ACEOF
2438: cat confdefs.h >>conftest.$ac_ext
2439: cat >>conftest.$ac_ext <<_ACEOF
2440: /* end confdefs.h. */
2441: $ac_declaration
2442: int
2443: main ()
2444: {
2445: exit (42);
2446: ;
2447: return 0;
2448: }
2449: _ACEOF
2450: rm -f conftest.$ac_objext
2451: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 2452: (eval $ac_compile) 2>conftest.er1
1.11 paf 2453: ac_status=$?
1.18 paf 2454: grep -v '^ *+' conftest.er1 >conftest.err
2455: rm -f conftest.er1
2456: cat conftest.err >&5
1.11 paf 2457: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458: (exit $ac_status); } &&
1.18 paf 2459: { ac_try='test -z "$ac_cxx_werror_flag"
2460: || test ! -s conftest.err'
2461: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462: (eval $ac_try) 2>&5
2463: ac_status=$?
2464: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465: (exit $ac_status); }; } &&
2466: { ac_try='test -s conftest.$ac_objext'
1.11 paf 2467: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468: (eval $ac_try) 2>&5
2469: ac_status=$?
2470: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471: (exit $ac_status); }; }; then
2472: break
2473: else
2474: echo "$as_me: failed program was:" >&5
2475: sed 's/^/| /' conftest.$ac_ext >&5
2476:
2477: fi
1.18 paf 2478: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 2479: done
2480: rm -f conftest*
2481: if test -n "$ac_declaration"; then
2482: echo '#ifdef __cplusplus' >>confdefs.h
2483: echo $ac_declaration >>confdefs.h
2484: echo '#endif' >>confdefs.h
2485: fi
2486:
1.15 paf 2487: ac_ext=c
2488: ac_cpp='$CPP $CPPFLAGS'
2489: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2490: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2491: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.18 paf 2492: DEPDIR="${am__leading_dot}deps"
1.11 paf 2493:
2494: ac_config_commands="$ac_config_commands depfiles"
2495:
2496:
2497: am_make=${MAKE-make}
2498: cat > confinc << 'END'
1.18 paf 2499: am__doit:
1.11 paf 2500: @echo done
1.18 paf 2501: .PHONY: am__doit
1.11 paf 2502: END
2503: # If we don't find an include directive, just comment out the code.
2504: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2505: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2506: am__include="#"
2507: am__quote=
2508: _am_result=none
2509: # First try GNU make style include.
2510: echo "include confinc" > confmf
2511: # We grep out `Entering directory' and `Leaving directory'
2512: # messages which can occur if `w' ends up in MAKEFLAGS.
2513: # In particular we don't look at `^make:' because GNU make might
2514: # be invoked under some other name (usually "gmake"), in which
2515: # case it prints its new name instead of `make'.
2516: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2517: am__include=include
2518: am__quote=
2519: _am_result=GNU
2520: fi
2521: # Now try BSD make style include.
2522: if test "$am__include" = "#"; then
2523: echo '.include "confinc"' > confmf
2524: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2525: am__include=.include
2526: am__quote="\""
2527: _am_result=BSD
2528: fi
2529: fi
2530:
2531:
2532: echo "$as_me:$LINENO: result: $_am_result" >&5
2533: echo "${ECHO_T}$_am_result" >&6
2534: rm -f confinc confmf
2535:
2536: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2537: if test "${enable_dependency_tracking+set}" = set; then
2538: enableval="$enable_dependency_tracking"
2539:
2540: fi;
2541: if test "x$enable_dependency_tracking" != xno; then
2542: am_depcomp="$ac_aux_dir/depcomp"
2543: AMDEPBACKSLASH='\'
2544: fi
2545:
2546:
2547: if test "x$enable_dependency_tracking" != xno; then
2548: AMDEP_TRUE=
2549: AMDEP_FALSE='#'
2550: else
2551: AMDEP_TRUE='#'
2552: AMDEP_FALSE=
2553: fi
2554:
2555:
2556:
2557:
2558: depcc="$CXX" am_compiler_list=
2559:
2560: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2561: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2562: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2563: echo $ECHO_N "(cached) $ECHO_C" >&6
2564: else
2565: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2566: # We make a subdir and do the tests there. Otherwise we can end up
2567: # making bogus files that we don't know about and never remove. For
2568: # instance it was reported that on HP-UX the gcc test will end up
2569: # making a dummy file named `D' -- because `-MD' means `put the output
2570: # in D'.
2571: mkdir conftest.dir
2572: # Copy depcomp to subdir because otherwise we won't find it if we're
2573: # using a relative directory.
2574: cp "$am_depcomp" conftest.dir
2575: cd conftest.dir
1.18 paf 2576: # We will build objects and dependencies in a subdirectory because
2577: # it helps to detect inapplicable dependency modes. For instance
2578: # both Tru64's cc and ICC support -MD to output dependencies as a
2579: # side effect of compilation, but ICC will put the dependencies in
2580: # the current directory while Tru64 will put them in the object
2581: # directory.
2582: mkdir sub
1.11 paf 2583:
2584: am_cv_CXX_dependencies_compiler_type=none
2585: if test "$am_compiler_list" = ""; then
2586: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2587: fi
2588: for depmode in $am_compiler_list; do
1.18 paf 2589: # Setup a source with many dependencies, because some compilers
2590: # like to wrap large dependency lists on column 80 (with \), and
2591: # we should not choose a depcomp mode which is confused by this.
2592: #
1.11 paf 2593: # We need to recreate these files for each test, as the compiler may
2594: # overwrite some of them when testing with obscure command lines.
2595: # This happens at least with the AIX C compiler.
1.18 paf 2596: : > sub/conftest.c
2597: for i in 1 2 3 4 5 6; do
2598: echo '#include "conftst'$i'.h"' >> sub/conftest.c
2599: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2600: # Solaris 8's {/usr,}/bin/sh.
2601: touch sub/conftst$i.h
2602: done
2603: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.11 paf 2604:
2605: case $depmode in
2606: nosideeffect)
2607: # after this tag, mechanisms are not by side-effect, so they'll
2608: # only be used when explicitly requested
2609: if test "x$enable_dependency_tracking" = xyes; then
2610: continue
2611: else
2612: break
2613: fi
2614: ;;
2615: none) break ;;
2616: esac
2617: # We check with `-c' and `-o' for the sake of the "dashmstdout"
2618: # mode. It turns out that the SunPro C++ compiler does not properly
2619: # handle `-M -o', and we need to detect this.
2620: if depmode=$depmode \
1.18 paf 2621: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2622: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2623: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2624: >/dev/null 2>conftest.err &&
2625: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2626: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.11 paf 2627: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.18 paf 2628: # icc doesn't choke on unknown options, it will just issue warnings
2629: # or remarks (even with -Werror). So we grep stderr for any message
2630: # that says an option was ignored or not supported.
2631: # When given -MP, icc 7.0 and 7.1 complain thusly:
2632: # icc: Command line warning: ignoring option '-M'; no argument required
2633: # The diagnosis changed in icc 8.0:
2634: # icc: Command line remark: option '-MP' not supported
2635: if (grep 'ignoring option' conftest.err ||
2636: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2637: am_cv_CXX_dependencies_compiler_type=$depmode
2638: break
2639: fi
1.11 paf 2640: fi
2641: done
2642:
2643: cd ..
2644: rm -rf conftest.dir
2645: else
2646: am_cv_CXX_dependencies_compiler_type=none
2647: fi
2648:
2649: fi
2650: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2651: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2652: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2653:
1.1 parser 2654:
2655:
1.11 paf 2656: if
2657: test "x$enable_dependency_tracking" != xno \
2658: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2659: am__fastdepCXX_TRUE=
2660: am__fastdepCXX_FALSE='#'
2661: else
2662: am__fastdepCXX_TRUE='#'
2663: am__fastdepCXX_FALSE=
2664: fi
2665:
2666:
2667: ac_ext=c
2668: ac_cpp='$CPP $CPPFLAGS'
2669: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2670: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2671: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2672: if test -n "$ac_tool_prefix"; then
2673: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2674: set dummy ${ac_tool_prefix}gcc; ac_word=$2
2675: echo "$as_me:$LINENO: checking for $ac_word" >&5
2676: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677: if test "${ac_cv_prog_CC+set}" = set; then
2678: echo $ECHO_N "(cached) $ECHO_C" >&6
2679: else
2680: if test -n "$CC"; then
2681: ac_cv_prog_CC="$CC" # Let the user override the test.
2682: else
2683: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684: for as_dir in $PATH
2685: do
2686: IFS=$as_save_IFS
2687: test -z "$as_dir" && as_dir=.
2688: for ac_exec_ext in '' $ac_executable_extensions; do
2689: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690: ac_cv_prog_CC="${ac_tool_prefix}gcc"
2691: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692: break 2
2693: fi
2694: done
2695: done
1.1 parser 2696:
1.11 paf 2697: fi
2698: fi
2699: CC=$ac_cv_prog_CC
2700: if test -n "$CC"; then
2701: echo "$as_me:$LINENO: result: $CC" >&5
2702: echo "${ECHO_T}$CC" >&6
2703: else
2704: echo "$as_me:$LINENO: result: no" >&5
2705: echo "${ECHO_T}no" >&6
2706: fi
1.1 parser 2707:
1.11 paf 2708: fi
2709: if test -z "$ac_cv_prog_CC"; then
2710: ac_ct_CC=$CC
2711: # Extract the first word of "gcc", so it can be a program name with args.
2712: set dummy gcc; ac_word=$2
2713: echo "$as_me:$LINENO: checking for $ac_word" >&5
2714: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2715: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2716: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2717: else
1.11 paf 2718: if test -n "$ac_ct_CC"; then
2719: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1 parser 2720: else
1.11 paf 2721: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722: for as_dir in $PATH
2723: do
2724: IFS=$as_save_IFS
2725: test -z "$as_dir" && as_dir=.
2726: for ac_exec_ext in '' $ac_executable_extensions; do
2727: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728: ac_cv_prog_ac_ct_CC="gcc"
2729: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2730: break 2
2731: fi
2732: done
2733: done
2734:
2735: fi
1.1 parser 2736: fi
1.11 paf 2737: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2738: if test -n "$ac_ct_CC"; then
2739: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2740: echo "${ECHO_T}$ac_ct_CC" >&6
2741: else
2742: echo "$as_me:$LINENO: result: no" >&5
2743: echo "${ECHO_T}no" >&6
1.1 parser 2744: fi
1.11 paf 2745:
2746: CC=$ac_ct_CC
1.1 parser 2747: else
1.11 paf 2748: CC="$ac_cv_prog_CC"
1.1 parser 2749: fi
2750:
1.11 paf 2751: if test -z "$CC"; then
2752: if test -n "$ac_tool_prefix"; then
2753: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2754: set dummy ${ac_tool_prefix}cc; ac_word=$2
2755: echo "$as_me:$LINENO: checking for $ac_word" >&5
2756: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757: if test "${ac_cv_prog_CC+set}" = set; then
2758: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2759: else
2760: if test -n "$CC"; then
2761: ac_cv_prog_CC="$CC" # Let the user override the test.
2762: else
1.11 paf 2763: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764: for as_dir in $PATH
2765: do
2766: IFS=$as_save_IFS
2767: test -z "$as_dir" && as_dir=.
2768: for ac_exec_ext in '' $ac_executable_extensions; do
2769: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770: ac_cv_prog_CC="${ac_tool_prefix}cc"
2771: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2772: break 2
2773: fi
2774: done
2775: done
2776:
1.1 parser 2777: fi
2778: fi
1.11 paf 2779: CC=$ac_cv_prog_CC
1.1 parser 2780: if test -n "$CC"; then
1.11 paf 2781: echo "$as_me:$LINENO: result: $CC" >&5
2782: echo "${ECHO_T}$CC" >&6
2783: else
2784: echo "$as_me:$LINENO: result: no" >&5
2785: echo "${ECHO_T}no" >&6
2786: fi
2787:
2788: fi
2789: if test -z "$ac_cv_prog_CC"; then
2790: ac_ct_CC=$CC
2791: # Extract the first word of "cc", so it can be a program name with args.
2792: set dummy cc; ac_word=$2
2793: echo "$as_me:$LINENO: checking for $ac_word" >&5
2794: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2796: echo $ECHO_N "(cached) $ECHO_C" >&6
2797: else
2798: if test -n "$ac_ct_CC"; then
2799: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2800: else
2801: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802: for as_dir in $PATH
2803: do
2804: IFS=$as_save_IFS
2805: test -z "$as_dir" && as_dir=.
2806: for ac_exec_ext in '' $ac_executable_extensions; do
2807: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808: ac_cv_prog_ac_ct_CC="cc"
2809: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810: break 2
2811: fi
2812: done
2813: done
2814:
2815: fi
2816: fi
2817: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2818: if test -n "$ac_ct_CC"; then
2819: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2820: echo "${ECHO_T}$ac_ct_CC" >&6
2821: else
2822: echo "$as_me:$LINENO: result: no" >&5
2823: echo "${ECHO_T}no" >&6
2824: fi
2825:
2826: CC=$ac_ct_CC
1.1 parser 2827: else
1.11 paf 2828: CC="$ac_cv_prog_CC"
1.1 parser 2829: fi
2830:
1.11 paf 2831: fi
1.1 parser 2832: if test -z "$CC"; then
2833: # Extract the first word of "cc", so it can be a program name with args.
2834: set dummy cc; ac_word=$2
1.11 paf 2835: echo "$as_me:$LINENO: checking for $ac_word" >&5
2836: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2837: if test "${ac_cv_prog_CC+set}" = set; then
2838: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2839: else
2840: if test -n "$CC"; then
2841: ac_cv_prog_CC="$CC" # Let the user override the test.
2842: else
2843: ac_prog_rejected=no
1.11 paf 2844: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845: for as_dir in $PATH
2846: do
2847: IFS=$as_save_IFS
2848: test -z "$as_dir" && as_dir=.
2849: for ac_exec_ext in '' $ac_executable_extensions; do
2850: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2852: ac_prog_rejected=yes
2853: continue
2854: fi
2855: ac_cv_prog_CC="cc"
2856: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857: break 2
2858: fi
2859: done
2860: done
2861:
1.1 parser 2862: if test $ac_prog_rejected = yes; then
2863: # We found a bogon in the path, so make sure we never use it.
2864: set dummy $ac_cv_prog_CC
2865: shift
1.11 paf 2866: if test $# != 0; then
1.1 parser 2867: # We chose a different compiler from the bogus one.
2868: # However, it has the same basename, so the bogon will be chosen
2869: # first if we set CC to just the basename; use the full file name.
2870: shift
1.11 paf 2871: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1 parser 2872: fi
2873: fi
2874: fi
2875: fi
1.11 paf 2876: CC=$ac_cv_prog_CC
1.1 parser 2877: if test -n "$CC"; then
1.11 paf 2878: echo "$as_me:$LINENO: result: $CC" >&5
2879: echo "${ECHO_T}$CC" >&6
1.1 parser 2880: else
1.11 paf 2881: echo "$as_me:$LINENO: result: no" >&5
2882: echo "${ECHO_T}no" >&6
1.1 parser 2883: fi
2884:
1.11 paf 2885: fi
2886: if test -z "$CC"; then
2887: if test -n "$ac_tool_prefix"; then
2888: for ac_prog in cl
2889: do
2890: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2891: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2892: echo "$as_me:$LINENO: checking for $ac_word" >&5
2893: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2894: if test "${ac_cv_prog_CC+set}" = set; then
2895: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2896: else
2897: if test -n "$CC"; then
2898: ac_cv_prog_CC="$CC" # Let the user override the test.
2899: else
1.11 paf 2900: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901: for as_dir in $PATH
2902: do
2903: IFS=$as_save_IFS
2904: test -z "$as_dir" && as_dir=.
2905: for ac_exec_ext in '' $ac_executable_extensions; do
2906: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2907: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2908: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2909: break 2
2910: fi
2911: done
2912: done
2913:
1.1 parser 2914: fi
2915: fi
1.11 paf 2916: CC=$ac_cv_prog_CC
1.1 parser 2917: if test -n "$CC"; then
1.11 paf 2918: echo "$as_me:$LINENO: result: $CC" >&5
2919: echo "${ECHO_T}$CC" >&6
1.1 parser 2920: else
1.11 paf 2921: echo "$as_me:$LINENO: result: no" >&5
2922: echo "${ECHO_T}no" >&6
1.1 parser 2923: fi
1.11 paf 2924:
2925: test -n "$CC" && break
2926: done
2927: fi
2928: if test -z "$CC"; then
2929: ac_ct_CC=$CC
2930: for ac_prog in cl
2931: do
2932: # Extract the first word of "$ac_prog", so it can be a program name with args.
2933: set dummy $ac_prog; ac_word=$2
2934: echo "$as_me:$LINENO: checking for $ac_word" >&5
2935: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2936: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2937: echo $ECHO_N "(cached) $ECHO_C" >&6
2938: else
2939: if test -n "$ac_ct_CC"; then
2940: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2941: else
2942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943: for as_dir in $PATH
2944: do
2945: IFS=$as_save_IFS
2946: test -z "$as_dir" && as_dir=.
2947: for ac_exec_ext in '' $ac_executable_extensions; do
2948: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949: ac_cv_prog_ac_ct_CC="$ac_prog"
2950: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951: break 2
1.1 parser 2952: fi
1.11 paf 2953: done
2954: done
2955:
2956: fi
2957: fi
2958: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2959: if test -n "$ac_ct_CC"; then
2960: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2961: echo "${ECHO_T}$ac_ct_CC" >&6
2962: else
2963: echo "$as_me:$LINENO: result: no" >&5
2964: echo "${ECHO_T}no" >&6
1.1 parser 2965: fi
2966:
1.11 paf 2967: test -n "$ac_ct_CC" && break
2968: done
1.1 parser 2969:
1.11 paf 2970: CC=$ac_ct_CC
2971: fi
1.1 parser 2972:
1.11 paf 2973: fi
1.1 parser 2974:
2975:
1.11 paf 2976: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2977: See \`config.log' for more details." >&5
2978: echo "$as_me: error: no acceptable C compiler found in \$PATH
2979: See \`config.log' for more details." >&2;}
2980: { (exit 1); exit 1; }; }
2981:
2982: # Provide some information about the compiler.
2983: echo "$as_me:$LINENO:" \
2984: "checking for C compiler version" >&5
2985: ac_compiler=`set X $ac_compile; echo $2`
2986: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2987: (eval $ac_compiler --version </dev/null >&5) 2>&5
2988: ac_status=$?
2989: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990: (exit $ac_status); }
2991: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2992: (eval $ac_compiler -v </dev/null >&5) 2>&5
2993: ac_status=$?
2994: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995: (exit $ac_status); }
2996: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2997: (eval $ac_compiler -V </dev/null >&5) 2>&5
2998: ac_status=$?
2999: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000: (exit $ac_status); }
3001:
3002: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3003: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3004: if test "${ac_cv_c_compiler_gnu+set}" = set; then
3005: echo $ECHO_N "(cached) $ECHO_C" >&6
3006: else
3007: cat >conftest.$ac_ext <<_ACEOF
3008: /* confdefs.h. */
3009: _ACEOF
3010: cat confdefs.h >>conftest.$ac_ext
3011: cat >>conftest.$ac_ext <<_ACEOF
3012: /* end confdefs.h. */
3013:
3014: int
3015: main ()
3016: {
3017: #ifndef __GNUC__
3018: choke me
1.1 parser 3019: #endif
3020:
1.11 paf 3021: ;
3022: return 0;
3023: }
3024: _ACEOF
3025: rm -f conftest.$ac_objext
3026: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 3027: (eval $ac_compile) 2>conftest.er1
1.11 paf 3028: ac_status=$?
1.18 paf 3029: grep -v '^ *+' conftest.er1 >conftest.err
3030: rm -f conftest.er1
3031: cat conftest.err >&5
1.11 paf 3032: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033: (exit $ac_status); } &&
1.18 paf 3034: { ac_try='test -z "$ac_c_werror_flag"
3035: || test ! -s conftest.err'
3036: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037: (eval $ac_try) 2>&5
3038: ac_status=$?
3039: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040: (exit $ac_status); }; } &&
3041: { ac_try='test -s conftest.$ac_objext'
1.11 paf 3042: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043: (eval $ac_try) 2>&5
3044: ac_status=$?
3045: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046: (exit $ac_status); }; }; then
3047: ac_compiler_gnu=yes
3048: else
3049: echo "$as_me: failed program was:" >&5
3050: sed 's/^/| /' conftest.$ac_ext >&5
3051:
3052: ac_compiler_gnu=no
3053: fi
1.18 paf 3054: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 3055: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3056:
3057: fi
3058: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3059: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3060: GCC=`test $ac_compiler_gnu = yes && echo yes`
3061: ac_test_CFLAGS=${CFLAGS+set}
3062: ac_save_CFLAGS=$CFLAGS
3063: CFLAGS="-g"
3064: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3065: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3066: if test "${ac_cv_prog_cc_g+set}" = set; then
3067: echo $ECHO_N "(cached) $ECHO_C" >&6
3068: else
3069: cat >conftest.$ac_ext <<_ACEOF
3070: /* confdefs.h. */
3071: _ACEOF
3072: cat confdefs.h >>conftest.$ac_ext
3073: cat >>conftest.$ac_ext <<_ACEOF
3074: /* end confdefs.h. */
3075:
3076: int
3077: main ()
3078: {
3079:
3080: ;
3081: return 0;
3082: }
3083: _ACEOF
3084: rm -f conftest.$ac_objext
3085: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 3086: (eval $ac_compile) 2>conftest.er1
1.11 paf 3087: ac_status=$?
1.18 paf 3088: grep -v '^ *+' conftest.er1 >conftest.err
3089: rm -f conftest.er1
3090: cat conftest.err >&5
1.11 paf 3091: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092: (exit $ac_status); } &&
1.18 paf 3093: { ac_try='test -z "$ac_c_werror_flag"
3094: || test ! -s conftest.err'
3095: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096: (eval $ac_try) 2>&5
3097: ac_status=$?
3098: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099: (exit $ac_status); }; } &&
3100: { ac_try='test -s conftest.$ac_objext'
1.11 paf 3101: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102: (eval $ac_try) 2>&5
3103: ac_status=$?
3104: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105: (exit $ac_status); }; }; then
3106: ac_cv_prog_cc_g=yes
1.1 parser 3107: else
1.11 paf 3108: echo "$as_me: failed program was:" >&5
3109: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 3110:
1.11 paf 3111: ac_cv_prog_cc_g=no
1.1 parser 3112: fi
1.18 paf 3113: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 parser 3114: fi
1.11 paf 3115: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3116: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1 parser 3117: if test "$ac_test_CFLAGS" = set; then
1.11 paf 3118: CFLAGS=$ac_save_CFLAGS
1.1 parser 3119: elif test $ac_cv_prog_cc_g = yes; then
3120: if test "$GCC" = yes; then
3121: CFLAGS="-g -O2"
3122: else
3123: CFLAGS="-g"
3124: fi
3125: else
3126: if test "$GCC" = yes; then
3127: CFLAGS="-O2"
3128: else
3129: CFLAGS=
3130: fi
3131: fi
1.11 paf 3132: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3133: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3134: if test "${ac_cv_prog_cc_stdc+set}" = set; then
3135: echo $ECHO_N "(cached) $ECHO_C" >&6
3136: else
3137: ac_cv_prog_cc_stdc=no
3138: ac_save_CC=$CC
3139: cat >conftest.$ac_ext <<_ACEOF
3140: /* confdefs.h. */
3141: _ACEOF
3142: cat confdefs.h >>conftest.$ac_ext
3143: cat >>conftest.$ac_ext <<_ACEOF
3144: /* end confdefs.h. */
3145: #include <stdarg.h>
3146: #include <stdio.h>
3147: #include <sys/types.h>
3148: #include <sys/stat.h>
3149: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3150: struct buf { int x; };
3151: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3152: static char *e (p, i)
3153: char **p;
3154: int i;
3155: {
3156: return p[i];
3157: }
3158: static char *f (char * (*g) (char **, int), char **p, ...)
3159: {
3160: char *s;
3161: va_list v;
3162: va_start (v,p);
3163: s = g (p, va_arg (v,int));
3164: va_end (v);
3165: return s;
3166: }
1.18 paf 3167:
3168: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3169: function prototypes and stuff, but not '\xHH' hex character constants.
3170: These don't provoke an error unfortunately, instead are silently treated
3171: as 'x'. The following induces an error, until -std1 is added to get
3172: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3173: array size at least. It's necessary to write '\x00'==0 to get something
3174: that's true only with -std1. */
3175: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3176:
1.11 paf 3177: int test (int i, double x);
3178: struct s1 {int (*f) (int a);};
3179: struct s2 {int (*f) (double a);};
3180: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3181: int argc;
3182: char **argv;
3183: int
3184: main ()
3185: {
3186: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3187: ;
3188: return 0;
3189: }
3190: _ACEOF
3191: # Don't try gcc -ansi; that turns off useful extensions and
3192: # breaks some systems' header files.
3193: # AIX -qlanglvl=ansi
3194: # Ultrix and OSF/1 -std1
3195: # HP-UX 10.20 and later -Ae
3196: # HP-UX older versions -Aa -D_HPUX_SOURCE
3197: # SVR4 -Xc -D__EXTENSIONS__
3198: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3199: do
3200: CC="$ac_save_CC $ac_arg"
3201: rm -f conftest.$ac_objext
3202: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 3203: (eval $ac_compile) 2>conftest.er1
1.11 paf 3204: ac_status=$?
1.18 paf 3205: grep -v '^ *+' conftest.er1 >conftest.err
3206: rm -f conftest.er1
3207: cat conftest.err >&5
1.11 paf 3208: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209: (exit $ac_status); } &&
1.18 paf 3210: { ac_try='test -z "$ac_c_werror_flag"
3211: || test ! -s conftest.err'
3212: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213: (eval $ac_try) 2>&5
3214: ac_status=$?
3215: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216: (exit $ac_status); }; } &&
3217: { ac_try='test -s conftest.$ac_objext'
1.11 paf 3218: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219: (eval $ac_try) 2>&5
3220: ac_status=$?
3221: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222: (exit $ac_status); }; }; then
3223: ac_cv_prog_cc_stdc=$ac_arg
3224: break
3225: else
3226: echo "$as_me: failed program was:" >&5
3227: sed 's/^/| /' conftest.$ac_ext >&5
3228:
3229: fi
1.18 paf 3230: rm -f conftest.err conftest.$ac_objext
1.11 paf 3231: done
3232: rm -f conftest.$ac_ext conftest.$ac_objext
3233: CC=$ac_save_CC
3234:
3235: fi
3236:
3237: case "x$ac_cv_prog_cc_stdc" in
3238: x|xno)
3239: echo "$as_me:$LINENO: result: none needed" >&5
3240: echo "${ECHO_T}none needed" >&6 ;;
3241: *)
3242: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3243: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3244: CC="$CC $ac_cv_prog_cc_stdc" ;;
3245: esac
3246:
3247: # Some people use a C++ compiler to compile C. Since we use `exit',
3248: # in C++ we need to declare it. In case someone uses the same compiler
3249: # for both compiling C and C++ we need to have the C++ compiler decide
3250: # the declaration of exit, since it's the most demanding environment.
3251: cat >conftest.$ac_ext <<_ACEOF
3252: #ifndef __cplusplus
3253: choke me
3254: #endif
3255: _ACEOF
3256: rm -f conftest.$ac_objext
3257: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 3258: (eval $ac_compile) 2>conftest.er1
1.11 paf 3259: ac_status=$?
1.18 paf 3260: grep -v '^ *+' conftest.er1 >conftest.err
3261: rm -f conftest.er1
3262: cat conftest.err >&5
1.11 paf 3263: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264: (exit $ac_status); } &&
1.18 paf 3265: { ac_try='test -z "$ac_c_werror_flag"
3266: || test ! -s conftest.err'
3267: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268: (eval $ac_try) 2>&5
3269: ac_status=$?
3270: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271: (exit $ac_status); }; } &&
3272: { ac_try='test -s conftest.$ac_objext'
1.11 paf 3273: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3274: (eval $ac_try) 2>&5
3275: ac_status=$?
3276: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277: (exit $ac_status); }; }; then
3278: for ac_declaration in \
1.18 paf 3279: '' \
1.11 paf 3280: 'extern "C" void std::exit (int) throw (); using std::exit;' \
3281: 'extern "C" void std::exit (int); using std::exit;' \
3282: 'extern "C" void exit (int) throw ();' \
3283: 'extern "C" void exit (int);' \
3284: 'void exit (int);'
3285: do
3286: cat >conftest.$ac_ext <<_ACEOF
3287: /* confdefs.h. */
3288: _ACEOF
3289: cat confdefs.h >>conftest.$ac_ext
3290: cat >>conftest.$ac_ext <<_ACEOF
3291: /* end confdefs.h. */
1.18 paf 3292: $ac_declaration
1.11 paf 3293: #include <stdlib.h>
3294: int
3295: main ()
3296: {
3297: exit (42);
3298: ;
3299: return 0;
3300: }
3301: _ACEOF
3302: rm -f conftest.$ac_objext
3303: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 3304: (eval $ac_compile) 2>conftest.er1
1.11 paf 3305: ac_status=$?
1.18 paf 3306: grep -v '^ *+' conftest.er1 >conftest.err
3307: rm -f conftest.er1
3308: cat conftest.err >&5
1.11 paf 3309: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310: (exit $ac_status); } &&
1.18 paf 3311: { ac_try='test -z "$ac_c_werror_flag"
3312: || test ! -s conftest.err'
3313: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314: (eval $ac_try) 2>&5
3315: ac_status=$?
3316: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317: (exit $ac_status); }; } &&
3318: { ac_try='test -s conftest.$ac_objext'
1.11 paf 3319: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320: (eval $ac_try) 2>&5
3321: ac_status=$?
3322: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323: (exit $ac_status); }; }; then
3324: :
3325: else
3326: echo "$as_me: failed program was:" >&5
3327: sed 's/^/| /' conftest.$ac_ext >&5
3328:
3329: continue
3330: fi
1.18 paf 3331: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 3332: cat >conftest.$ac_ext <<_ACEOF
3333: /* confdefs.h. */
3334: _ACEOF
3335: cat confdefs.h >>conftest.$ac_ext
3336: cat >>conftest.$ac_ext <<_ACEOF
3337: /* end confdefs.h. */
3338: $ac_declaration
3339: int
3340: main ()
3341: {
3342: exit (42);
3343: ;
3344: return 0;
3345: }
3346: _ACEOF
3347: rm -f conftest.$ac_objext
3348: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 3349: (eval $ac_compile) 2>conftest.er1
1.11 paf 3350: ac_status=$?
1.18 paf 3351: grep -v '^ *+' conftest.er1 >conftest.err
3352: rm -f conftest.er1
3353: cat conftest.err >&5
1.11 paf 3354: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355: (exit $ac_status); } &&
1.18 paf 3356: { ac_try='test -z "$ac_c_werror_flag"
3357: || test ! -s conftest.err'
3358: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359: (eval $ac_try) 2>&5
3360: ac_status=$?
3361: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362: (exit $ac_status); }; } &&
3363: { ac_try='test -s conftest.$ac_objext'
1.11 paf 3364: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365: (eval $ac_try) 2>&5
3366: ac_status=$?
3367: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368: (exit $ac_status); }; }; then
3369: break
3370: else
3371: echo "$as_me: failed program was:" >&5
3372: sed 's/^/| /' conftest.$ac_ext >&5
3373:
3374: fi
1.18 paf 3375: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 3376: done
3377: rm -f conftest*
3378: if test -n "$ac_declaration"; then
3379: echo '#ifdef __cplusplus' >>confdefs.h
3380: echo $ac_declaration >>confdefs.h
3381: echo '#endif' >>confdefs.h
3382: fi
3383:
3384: else
3385: echo "$as_me: failed program was:" >&5
3386: sed 's/^/| /' conftest.$ac_ext >&5
3387:
3388: fi
1.18 paf 3389: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 3390: ac_ext=c
3391: ac_cpp='$CPP $CPPFLAGS'
3392: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3393: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11 paf 3395:
3396: depcc="$CC" am_compiler_list=
3397:
3398: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3399: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3400: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3401: echo $ECHO_N "(cached) $ECHO_C" >&6
3402: else
3403: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3404: # We make a subdir and do the tests there. Otherwise we can end up
3405: # making bogus files that we don't know about and never remove. For
3406: # instance it was reported that on HP-UX the gcc test will end up
3407: # making a dummy file named `D' -- because `-MD' means `put the output
3408: # in D'.
3409: mkdir conftest.dir
3410: # Copy depcomp to subdir because otherwise we won't find it if we're
3411: # using a relative directory.
3412: cp "$am_depcomp" conftest.dir
3413: cd conftest.dir
1.18 paf 3414: # We will build objects and dependencies in a subdirectory because
3415: # it helps to detect inapplicable dependency modes. For instance
3416: # both Tru64's cc and ICC support -MD to output dependencies as a
3417: # side effect of compilation, but ICC will put the dependencies in
3418: # the current directory while Tru64 will put them in the object
3419: # directory.
3420: mkdir sub
1.11 paf 3421:
3422: am_cv_CC_dependencies_compiler_type=none
3423: if test "$am_compiler_list" = ""; then
3424: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3425: fi
3426: for depmode in $am_compiler_list; do
1.18 paf 3427: # Setup a source with many dependencies, because some compilers
3428: # like to wrap large dependency lists on column 80 (with \), and
3429: # we should not choose a depcomp mode which is confused by this.
3430: #
1.11 paf 3431: # We need to recreate these files for each test, as the compiler may
3432: # overwrite some of them when testing with obscure command lines.
3433: # This happens at least with the AIX C compiler.
1.18 paf 3434: : > sub/conftest.c
3435: for i in 1 2 3 4 5 6; do
3436: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3437: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3438: # Solaris 8's {/usr,}/bin/sh.
3439: touch sub/conftst$i.h
3440: done
3441: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.11 paf 3442:
3443: case $depmode in
3444: nosideeffect)
3445: # after this tag, mechanisms are not by side-effect, so they'll
3446: # only be used when explicitly requested
3447: if test "x$enable_dependency_tracking" = xyes; then
3448: continue
3449: else
3450: break
3451: fi
3452: ;;
3453: none) break ;;
3454: esac
3455: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3456: # mode. It turns out that the SunPro C++ compiler does not properly
3457: # handle `-M -o', and we need to detect this.
3458: if depmode=$depmode \
1.18 paf 3459: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3460: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3461: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3462: >/dev/null 2>conftest.err &&
3463: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3464: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.11 paf 3465: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.18 paf 3466: # icc doesn't choke on unknown options, it will just issue warnings
3467: # or remarks (even with -Werror). So we grep stderr for any message
3468: # that says an option was ignored or not supported.
3469: # When given -MP, icc 7.0 and 7.1 complain thusly:
3470: # icc: Command line warning: ignoring option '-M'; no argument required
3471: # The diagnosis changed in icc 8.0:
3472: # icc: Command line remark: option '-MP' not supported
3473: if (grep 'ignoring option' conftest.err ||
3474: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3475: am_cv_CC_dependencies_compiler_type=$depmode
3476: break
3477: fi
1.11 paf 3478: fi
3479: done
3480:
3481: cd ..
3482: rm -rf conftest.dir
3483: else
3484: am_cv_CC_dependencies_compiler_type=none
3485: fi
3486:
3487: fi
3488: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3489: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3490: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3491:
3492:
3493:
3494: if
3495: test "x$enable_dependency_tracking" != xno \
3496: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3497: am__fastdepCC_TRUE=
3498: am__fastdepCC_FALSE='#'
3499: else
3500: am__fastdepCC_TRUE='#'
3501: am__fastdepCC_FALSE=
3502: fi
3503:
3504:
1.15 paf 3505:
3506:
3507:
3508:
3509:
3510:
3511:
3512:
1.25 ! moko 3513:
! 3514: case `pwd` in
! 3515: *\ * | *\ *)
! 3516: { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 3517: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.15 paf 3518: esac
3519:
1.25 ! moko 3520:
! 3521:
! 3522: macro_version='2.4.2'
! 3523: macro_revision='1.3337'
! 3524:
! 3525:
! 3526:
! 3527:
! 3528:
! 3529:
! 3530:
! 3531:
! 3532:
! 3533:
! 3534:
! 3535:
! 3536:
! 3537: ltmain="$ac_aux_dir/ltmain.sh"
! 3538:
1.15 paf 3539: # Make sure we can run config.sub.
3540: $ac_config_sub sun4 >/dev/null 2>&1 ||
3541: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3542: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3543: { (exit 1); exit 1; }; }
3544:
3545: echo "$as_me:$LINENO: checking build system type" >&5
3546: echo $ECHO_N "checking build system type... $ECHO_C" >&6
3547: if test "${ac_cv_build+set}" = set; then
3548: echo $ECHO_N "(cached) $ECHO_C" >&6
3549: else
3550: ac_cv_build_alias=$build_alias
3551: test -z "$ac_cv_build_alias" &&
3552: ac_cv_build_alias=`$ac_config_guess`
3553: test -z "$ac_cv_build_alias" &&
3554: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3555: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3556: { (exit 1); exit 1; }; }
3557: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3558: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3559: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3560: { (exit 1); exit 1; }; }
3561:
3562: fi
3563: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3564: echo "${ECHO_T}$ac_cv_build" >&6
3565: build=$ac_cv_build
3566: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3567: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3568: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3569:
3570:
3571: echo "$as_me:$LINENO: checking host system type" >&5
3572: echo $ECHO_N "checking host system type... $ECHO_C" >&6
3573: if test "${ac_cv_host+set}" = set; then
3574: echo $ECHO_N "(cached) $ECHO_C" >&6
3575: else
3576: ac_cv_host_alias=$host_alias
3577: test -z "$ac_cv_host_alias" &&
3578: ac_cv_host_alias=$ac_cv_build_alias
3579: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3580: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3581: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3582: { (exit 1); exit 1; }; }
3583:
3584: fi
3585: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3586: echo "${ECHO_T}$ac_cv_host" >&6
3587: host=$ac_cv_host
3588: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3589: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3590: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3591:
3592:
1.25 ! moko 3593: # Backslashify metacharacters that are still active within
! 3594: # double-quoted strings.
! 3595: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 3596:
! 3597: # Same as above, but do not quote variable references.
! 3598: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 3599:
! 3600: # Sed substitution to delay expansion of an escaped shell variable in a
! 3601: # double_quote_subst'ed string.
! 3602: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 3603:
! 3604: # Sed substitution to delay expansion of an escaped single quote.
! 3605: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 3606:
! 3607: # Sed substitution to avoid accidental globbing in evaled expressions
! 3608: no_glob_subst='s/\*/\\\*/g'
! 3609:
! 3610: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 3611: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
! 3612: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
! 3613:
! 3614: echo "$as_me:$LINENO: checking how to print strings" >&5
! 3615: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
! 3616: # Test print first, because it will be a builtin if present.
! 3617: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
! 3618: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3619: ECHO='print -r --'
! 3620: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3621: ECHO='printf %s\n'
! 3622: else
! 3623: # Use this function as a fallback that always works.
! 3624: func_fallback_echo ()
! 3625: {
! 3626: eval 'cat <<_LTECHO_EOF
! 3627: $1
! 3628: _LTECHO_EOF'
! 3629: }
! 3630: ECHO='func_fallback_echo'
1.11 paf 3631: fi
3632:
1.25 ! moko 3633: # func_echo_all arg...
! 3634: # Invoke $ECHO with all args, space-separated.
! 3635: func_echo_all ()
! 3636: {
! 3637: $ECHO ""
! 3638: }
! 3639:
! 3640: case "$ECHO" in
! 3641: printf*) echo "$as_me:$LINENO: result: printf" >&5
! 3642: echo "${ECHO_T}printf" >&6 ;;
! 3643: print*) echo "$as_me:$LINENO: result: print -r" >&5
! 3644: echo "${ECHO_T}print -r" >&6 ;;
! 3645: *) echo "$as_me:$LINENO: result: cat" >&5
! 3646: echo "${ECHO_T}cat" >&6 ;;
! 3647: esac
! 3648:
! 3649:
! 3650:
! 3651:
! 3652:
! 3653:
! 3654:
! 3655:
! 3656:
! 3657:
! 3658:
! 3659:
1.1 parser 3660:
1.25 ! moko 3661:
! 3662: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3663: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! 3664: if test "${lt_cv_path_SED+set}" = set; then
! 3665: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3666: else
! 3667: # Loop through the user's path and test for sed and gsed.
! 3668: # Then use that list of sed's as ones to test for truncation.
! 3669: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3670: for as_dir in $PATH
! 3671: do
! 3672: IFS=$as_save_IFS
! 3673: test -z "$as_dir" && as_dir=.
! 3674: for lt_ac_prog in sed gsed; do
! 3675: for ac_exec_ext in '' $ac_executable_extensions; do
! 3676: if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
! 3677: lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
! 3678: fi
! 3679: done
! 3680: done
! 3681: done
! 3682: IFS=$as_save_IFS
! 3683: lt_ac_max=0
! 3684: lt_ac_count=0
! 3685: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 3686: # along with /bin/sed that truncates output.
! 3687: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
! 3688: test ! -f $lt_ac_sed && continue
! 3689: cat /dev/null > conftest.in
! 3690: lt_ac_count=0
! 3691: echo $ECHO_N "0123456789$ECHO_C" >conftest.in
! 3692: # Check for GNU sed and select it if it is found.
! 3693: if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
! 3694: lt_cv_path_SED=$lt_ac_sed
! 3695: break
! 3696: fi
! 3697: while true; do
! 3698: cat conftest.in conftest.in >conftest.tmp
! 3699: mv conftest.tmp conftest.in
! 3700: cp conftest.in conftest.nl
! 3701: echo >>conftest.nl
! 3702: $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
! 3703: cmp -s conftest.out conftest.nl || break
! 3704: # 10000 chars as input seems more than enough
! 3705: test $lt_ac_count -gt 10 && break
! 3706: lt_ac_count=`expr $lt_ac_count + 1`
! 3707: if test $lt_ac_count -gt $lt_ac_max; then
! 3708: lt_ac_max=$lt_ac_count
! 3709: lt_cv_path_SED=$lt_ac_sed
! 3710: fi
! 3711: done
! 3712: done
! 3713:
! 3714: fi
! 3715:
! 3716: SED=$lt_cv_path_SED
! 3717:
! 3718: echo "$as_me:$LINENO: result: $SED" >&5
! 3719: echo "${ECHO_T}$SED" >&6
! 3720:
! 3721: test -z "$SED" && SED=sed
! 3722: Xsed="$SED -e 1s/^X//"
! 3723:
! 3724:
! 3725:
! 3726:
! 3727:
! 3728:
! 3729:
! 3730:
! 3731:
! 3732:
! 3733:
! 3734: echo "$as_me:$LINENO: checking for egrep" >&5
! 3735: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 3736: if test "${ac_cv_prog_egrep+set}" = set; then
! 3737: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3738: else
! 3739: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 3740: then ac_cv_prog_egrep='grep -E'
! 3741: else ac_cv_prog_egrep='egrep'
! 3742: fi
! 3743: fi
! 3744: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 3745: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 3746: EGREP=$ac_cv_prog_egrep
! 3747:
! 3748:
! 3749: echo "$as_me:$LINENO: checking for fgrep" >&5
! 3750: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
! 3751: if test "${ac_cv_prog_fgrep+set}" = set; then
! 3752: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3753: else
! 3754: if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
! 3755: then ac_cv_prog_fgrep='grep -F'
! 3756: else ac_cv_prog_fgrep='fgrep'
! 3757: fi
! 3758: fi
! 3759: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
! 3760: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
! 3761: FGREP=$ac_cv_prog_fgrep
! 3762:
! 3763:
! 3764: test -z "$GREP" && GREP=grep
! 3765:
! 3766:
! 3767:
! 3768:
! 3769:
! 3770:
! 3771:
! 3772:
! 3773:
! 3774:
! 3775:
! 3776:
! 3777:
! 3778:
! 3779:
! 3780:
! 3781:
! 3782:
! 3783:
! 3784: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 3785: if test "${with_gnu_ld+set}" = set; then
! 3786: withval="$with_gnu_ld"
! 3787: test "$withval" = no || with_gnu_ld=yes
1.1 parser 3788: else
3789: with_gnu_ld=no
1.11 paf 3790: fi;
1.1 parser 3791: ac_prog=ld
1.11 paf 3792: if test "$GCC" = yes; then
1.1 parser 3793: # Check if gcc -print-prog-name=ld gives a path.
1.25 ! moko 3794: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 3795: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.11 paf 3796: case $host in
3797: *-*-mingw*)
3798: # gcc leaves a trailing carriage return which upsets mingw
3799: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3800: *)
3801: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3802: esac
3803: case $ac_prog in
1.1 parser 3804: # Accept absolute paths.
1.25 ! moko 3805: [\\/]* | ?:[\\/]*)
1.1 parser 3806: re_direlt='/[^/][^/]*/\.\./'
1.25 ! moko 3807: # Canonicalize the pathname of ld
! 3808: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 3809: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 3810: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.1 parser 3811: done
3812: test -z "$LD" && LD="$ac_prog"
3813: ;;
3814: "")
3815: # If it fails, then pretend we aren't using GCC.
3816: ac_prog=ld
3817: ;;
3818: *)
3819: # If it is relative, then search for the first ld in PATH.
3820: with_gnu_ld=unknown
3821: ;;
3822: esac
3823: elif test "$with_gnu_ld" = yes; then
1.11 paf 3824: echo "$as_me:$LINENO: checking for GNU ld" >&5
3825: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1 parser 3826: else
1.11 paf 3827: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3828: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1 parser 3829: fi
1.11 paf 3830: if test "${lt_cv_path_LD+set}" = set; then
3831: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3832: else
3833: if test -z "$LD"; then
1.25 ! moko 3834: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1 parser 3835: for ac_dir in $PATH; do
1.25 ! moko 3836: IFS="$lt_save_ifs"
1.1 parser 3837: test -z "$ac_dir" && ac_dir=.
3838: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.11 paf 3839: lt_cv_path_LD="$ac_dir/$ac_prog"
1.1 parser 3840: # Check to see if the program is GNU ld. I'd rather use --version,
1.25 ! moko 3841: # but apparently some variants of GNU ld only accept -v.
1.1 parser 3842: # Break only if it was the GNU/non-GNU ld that we prefer.
1.25 ! moko 3843: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 3844: *GNU* | *'with BFD'*)
1.1 parser 3845: test "$with_gnu_ld" != no && break
1.25 ! moko 3846: ;;
! 3847: *)
1.1 parser 3848: test "$with_gnu_ld" != yes && break
1.25 ! moko 3849: ;;
! 3850: esac
1.1 parser 3851: fi
3852: done
1.25 ! moko 3853: IFS="$lt_save_ifs"
1.1 parser 3854: else
1.11 paf 3855: lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1 parser 3856: fi
3857: fi
3858:
1.11 paf 3859: LD="$lt_cv_path_LD"
1.1 parser 3860: if test -n "$LD"; then
1.11 paf 3861: echo "$as_me:$LINENO: result: $LD" >&5
3862: echo "${ECHO_T}$LD" >&6
1.1 parser 3863: else
1.11 paf 3864: echo "$as_me:$LINENO: result: no" >&5
3865: echo "${ECHO_T}no" >&6
1.1 parser 3866: fi
1.11 paf 3867: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3868: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3869: { (exit 1); exit 1; }; }
3870: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3871: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3872: if test "${lt_cv_prog_gnu_ld+set}" = set; then
3873: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3874: else
1.25 ! moko 3875: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 3876: case `$LD -v 2>&1 </dev/null` in
! 3877: *GNU* | *'with BFD'*)
1.11 paf 3878: lt_cv_prog_gnu_ld=yes
1.25 ! moko 3879: ;;
! 3880: *)
1.11 paf 3881: lt_cv_prog_gnu_ld=no
1.25 ! moko 3882: ;;
! 3883: esac
1.1 parser 3884: fi
1.11 paf 3885: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3886: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3887: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1 parser 3888:
3889:
3890:
1.25 ! moko 3891:
! 3892:
! 3893:
! 3894:
! 3895:
! 3896:
! 3897: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
! 3898: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
1.11 paf 3899: if test "${lt_cv_path_NM+set}" = set; then
3900: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3901: else
3902: if test -n "$NM"; then
3903: # Let the user override the test.
1.11 paf 3904: lt_cv_path_NM="$NM"
1.1 parser 3905: else
1.25 ! moko 3906: lt_nm_to_check="${ac_tool_prefix}nm"
! 3907: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 3908: lt_nm_to_check="$lt_nm_to_check nm"
! 3909: fi
! 3910: for lt_tmp_nm in $lt_nm_to_check; do
! 3911: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3912: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 3913: IFS="$lt_save_ifs"
! 3914: test -z "$ac_dir" && ac_dir=.
! 3915: tmp_nm="$ac_dir/$lt_tmp_nm"
! 3916: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 3917: # Check to see if the nm accepts a BSD-compat flag.
! 3918: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 3919: # nm: unknown option "B" ignored
! 3920: # Tru64's nm complains that /dev/null is an invalid object file
! 3921: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 3922: */dev/null* | *'Invalid file or object type'*)
! 3923: lt_cv_path_NM="$tmp_nm -B"
! 3924: break
! 3925: ;;
! 3926: *)
! 3927: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 3928: */dev/null*)
! 3929: lt_cv_path_NM="$tmp_nm -p"
! 3930: break
! 3931: ;;
! 3932: *)
! 3933: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 3934: continue # so that we can try to find one that supports BSD flags
! 3935: ;;
! 3936: esac
! 3937: ;;
! 3938: esac
1.1 parser 3939: fi
1.25 ! moko 3940: done
! 3941: IFS="$lt_save_ifs"
1.1 parser 3942: done
1.25 ! moko 3943: : ${lt_cv_path_NM=no}
1.1 parser 3944: fi
3945: fi
1.25 ! moko 3946: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 3947: echo "${ECHO_T}$lt_cv_path_NM" >&6
! 3948: if test "$lt_cv_path_NM" != "no"; then
! 3949: NM="$lt_cv_path_NM"
! 3950: else
! 3951: # Didn't find any BSD compatible name lister, look for dumpbin.
! 3952: if test -n "$DUMPBIN"; then :
! 3953: # Let the user override the test.
! 3954: else
! 3955: if test -n "$ac_tool_prefix"; then
! 3956: for ac_prog in dumpbin "link -dump"
! 3957: do
! 3958: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3959: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3960: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3961: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3962: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
! 3963: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3964: else
! 3965: if test -n "$DUMPBIN"; then
! 3966: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 3967: else
! 3968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3969: for as_dir in $PATH
! 3970: do
! 3971: IFS=$as_save_IFS
! 3972: test -z "$as_dir" && as_dir=.
! 3973: for ac_exec_ext in '' $ac_executable_extensions; do
! 3974: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3975: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 3976: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3977: break 2
! 3978: fi
! 3979: done
! 3980: done
1.1 parser 3981:
1.25 ! moko 3982: fi
! 3983: fi
! 3984: DUMPBIN=$ac_cv_prog_DUMPBIN
! 3985: if test -n "$DUMPBIN"; then
! 3986: echo "$as_me:$LINENO: result: $DUMPBIN" >&5
! 3987: echo "${ECHO_T}$DUMPBIN" >&6
! 3988: else
! 3989: echo "$as_me:$LINENO: result: no" >&5
! 3990: echo "${ECHO_T}no" >&6
! 3991: fi
1.1 parser 3992:
1.25 ! moko 3993: test -n "$DUMPBIN" && break
! 3994: done
! 3995: fi
! 3996: if test -z "$DUMPBIN"; then
! 3997: ac_ct_DUMPBIN=$DUMPBIN
! 3998: for ac_prog in dumpbin "link -dump"
! 3999: do
! 4000: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4001: set dummy $ac_prog; ac_word=$2
! 4002: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4003: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4004: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
1.11 paf 4005: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4006: else
1.25 ! moko 4007: if test -n "$ac_ct_DUMPBIN"; then
! 4008: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 4009: else
1.11 paf 4010: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011: for as_dir in $PATH
4012: do
4013: IFS=$as_save_IFS
4014: test -z "$as_dir" && as_dir=.
1.25 ! moko 4015: for ac_exec_ext in '' $ac_executable_extensions; do
! 4016: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4017: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 4018: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4019: break 2
! 4020: fi
! 4021: done
! 4022: done
! 4023:
! 4024: fi
! 4025: fi
! 4026: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 4027: if test -n "$ac_ct_DUMPBIN"; then
! 4028: echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
! 4029: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
! 4030: else
! 4031: echo "$as_me:$LINENO: result: no" >&5
! 4032: echo "${ECHO_T}no" >&6
! 4033: fi
! 4034:
! 4035: test -n "$ac_ct_DUMPBIN" && break
1.11 paf 4036: done
1.25 ! moko 4037: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
1.11 paf 4038:
1.25 ! moko 4039: DUMPBIN=$ac_ct_DUMPBIN
! 4040: fi
1.11 paf 4041:
1.25 ! moko 4042: case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
! 4043: *COFF*)
! 4044: DUMPBIN="$DUMPBIN -symbols"
! 4045: ;;
! 4046: *)
! 4047: DUMPBIN=:
! 4048: ;;
! 4049: esac
! 4050: fi
1.11 paf 4051:
1.25 ! moko 4052: if test "$DUMPBIN" != ":"; then
! 4053: NM="$DUMPBIN"
! 4054: fi
1.1 parser 4055: fi
1.25 ! moko 4056: test -z "$NM" && NM=nm
! 4057:
! 4058:
! 4059:
! 4060:
! 4061:
1.1 parser 4062:
1.25 ! moko 4063: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
! 4064: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
! 4065: if test "${lt_cv_nm_interface+set}" = set; then
! 4066: echo $ECHO_N "(cached) $ECHO_C" >&6
1.7 paf 4067: else
1.25 ! moko 4068: lt_cv_nm_interface="BSD nm"
! 4069: echo "int some_variable = 0;" > conftest.$ac_ext
! 4070: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
! 4071: (eval "$ac_compile" 2>conftest.err)
! 4072: cat conftest.err >&5
! 4073: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 4074: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 4075: cat conftest.err >&5
! 4076: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
! 4077: cat conftest.out >&5
! 4078: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 4079: lt_cv_nm_interface="MS dumpbin"
! 4080: fi
! 4081: rm -f conftest*
1.7 paf 4082: fi
1.25 ! moko 4083: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
! 4084: echo "${ECHO_T}$lt_cv_nm_interface" >&6
1.11 paf 4085:
4086: echo "$as_me:$LINENO: checking whether ln -s works" >&5
4087: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4088: LN_S=$as_ln_s
4089: if test "$LN_S" = "ln -s"; then
4090: echo "$as_me:$LINENO: result: yes" >&5
4091: echo "${ECHO_T}yes" >&6
4092: else
4093: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4094: echo "${ECHO_T}no, using $LN_S" >&6
4095: fi
4096:
1.25 ! moko 4097: # find the maximum length of command line arguments
! 4098: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 4099: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
! 4100: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.11 paf 4101: echo $ECHO_N "(cached) $ECHO_C" >&6
4102: else
1.25 ! moko 4103: i=0
! 4104: teststring="ABCD"
! 4105:
! 4106: case $build_os in
! 4107: msdosdjgpp*)
! 4108: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 4109: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 4110: # during glob expansion). Even if it were fixed, the result of this
! 4111: # check would be larger than it should be.
! 4112: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 4113: ;;
1.11 paf 4114:
1.25 ! moko 4115: gnu*)
! 4116: # Under GNU Hurd, this test is not required because there is
! 4117: # no limit to the length of command line arguments.
! 4118: # Libtool will interpret -1 as no limit whatsoever
! 4119: lt_cv_sys_max_cmd_len=-1;
! 4120: ;;
1.7 paf 4121:
1.25 ! moko 4122: cygwin* | mingw* | cegcc*)
! 4123: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 4124: # about 5 minutes as the teststring grows exponentially.
! 4125: # Worse, since 9x/ME are not pre-emptively multitasking,
! 4126: # you end up with a "frozen" computer, even though with patience
! 4127: # the test eventually succeeds (with a max line length of 256k).
! 4128: # Instead, let's just punt: use the minimum linelength reported by
! 4129: # all of the supported platforms: 8192 (on NT/2K/XP).
! 4130: lt_cv_sys_max_cmd_len=8192;
! 4131: ;;
1.1 parser 4132:
1.25 ! moko 4133: mint*)
! 4134: # On MiNT this can take a long time and run out of memory.
! 4135: lt_cv_sys_max_cmd_len=8192;
! 4136: ;;
1.1 parser 4137:
1.25 ! moko 4138: amigaos*)
! 4139: # On AmigaOS with pdksh, this test takes hours, literally.
! 4140: # So we just punt and use a minimum line length of 8192.
! 4141: lt_cv_sys_max_cmd_len=8192;
! 4142: ;;
1.1 parser 4143:
1.25 ! moko 4144: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 4145: # This has been around since 386BSD, at least. Likely further.
! 4146: if test -x /sbin/sysctl; then
! 4147: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 4148: elif test -x /usr/sbin/sysctl; then
! 4149: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 4150: else
! 4151: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 4152: fi
! 4153: # And add a safety zone
! 4154: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4155: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1.11 paf 4156: ;;
1.25 ! moko 4157:
! 4158: interix*)
! 4159: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 4160: lt_cv_sys_max_cmd_len=196608
1.11 paf 4161: ;;
1.1 parser 4162:
1.25 ! moko 4163: os2*)
! 4164: # The test takes a long time on OS/2.
! 4165: lt_cv_sys_max_cmd_len=8192
! 4166: ;;
! 4167:
! 4168: osf*)
! 4169: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 4170: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 4171: # nice to cause kernel panics so lets avoid the loop below.
! 4172: # First set a reasonable default.
! 4173: lt_cv_sys_max_cmd_len=16384
! 4174: #
! 4175: if test -x /sbin/sysconfig; then
! 4176: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 4177: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 4178: esac
! 4179: fi
! 4180: ;;
! 4181: sco3.2v5*)
! 4182: lt_cv_sys_max_cmd_len=102400
! 4183: ;;
! 4184: sysv5* | sco5v6* | sysv4.2uw2*)
! 4185: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 4186: if test -n "$kargmax"; then
! 4187: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 4188: else
! 4189: lt_cv_sys_max_cmd_len=32768
! 4190: fi
! 4191: ;;
! 4192: *)
! 4193: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 4194: if test -n "$lt_cv_sys_max_cmd_len"; then
! 4195: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4196: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4197: else
! 4198: # Make teststring a little bigger before we do anything with it.
! 4199: # a 1K string should be a reasonable start.
! 4200: for i in 1 2 3 4 5 6 7 8 ; do
! 4201: teststring=$teststring$teststring
! 4202: done
! 4203: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 4204: # If test is not a shell built-in, we'll probably end up computing a
! 4205: # maximum length that is only half of the actual maximum length, but
! 4206: # we can't tell.
! 4207: while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
! 4208: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
! 4209: test $i != 17 # 1/2 MB should be enough
! 4210: do
! 4211: i=`expr $i + 1`
! 4212: teststring=$teststring$teststring
! 4213: done
! 4214: # Only check the string length outside the loop.
! 4215: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 4216: teststring=
! 4217: # Add a significant safety factor because C++ compilers can tack on
! 4218: # massive amounts of additional arguments before passing them to the
! 4219: # linker. It appears as though 1/2 is a usable value.
! 4220: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 4221: fi
! 4222: ;;
! 4223: esac
! 4224:
! 4225: fi
! 4226:
! 4227: if test -n $lt_cv_sys_max_cmd_len ; then
! 4228: echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 4229: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
! 4230: else
! 4231: echo "$as_me:$LINENO: result: none" >&5
! 4232: echo "${ECHO_T}none" >&6
! 4233: fi
! 4234: max_cmd_len=$lt_cv_sys_max_cmd_len
! 4235:
! 4236:
! 4237:
! 4238:
! 4239:
! 4240:
! 4241: : ${CP="cp -f"}
! 4242: : ${MV="mv -f"}
! 4243: : ${RM="rm -f"}
! 4244:
! 4245: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
! 4246: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
! 4247: # Try some XSI features
! 4248: xsi_shell=no
! 4249: ( _lt_dummy="a/b/c"
! 4250: test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
! 4251: = c,a/b,b/c, \
! 4252: && eval 'test $(( 1 + 1 )) -eq 2 \
! 4253: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 4254: && xsi_shell=yes
! 4255: echo "$as_me:$LINENO: result: $xsi_shell" >&5
! 4256: echo "${ECHO_T}$xsi_shell" >&6
! 4257:
! 4258:
! 4259: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
! 4260: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
! 4261: lt_shell_append=no
! 4262: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 4263: >/dev/null 2>&1 \
! 4264: && lt_shell_append=yes
! 4265: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
! 4266: echo "${ECHO_T}$lt_shell_append" >&6
! 4267:
! 4268:
! 4269: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 4270: lt_unset=unset
! 4271: else
! 4272: lt_unset=false
! 4273: fi
! 4274:
! 4275:
! 4276:
! 4277:
! 4278:
! 4279: # test EBCDIC or ASCII
! 4280: case `echo X|tr X '\101'` in
! 4281: A) # ASCII based system
! 4282: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 4283: lt_SP2NL='tr \040 \012'
! 4284: lt_NL2SP='tr \015\012 \040\040'
! 4285: ;;
! 4286: *) # EBCDIC based system
! 4287: lt_SP2NL='tr \100 \n'
! 4288: lt_NL2SP='tr \r\n \100\100'
! 4289: ;;
! 4290: esac
! 4291:
! 4292:
! 4293:
! 4294:
! 4295:
! 4296:
! 4297:
! 4298:
! 4299:
! 4300: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
! 4301: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
! 4302: if test "${lt_cv_to_host_file_cmd+set}" = set; then
! 4303: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4304: else
! 4305: case $host in
! 4306: *-*-mingw* )
! 4307: case $build in
! 4308: *-*-mingw* ) # actually msys
! 4309: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
! 4310: ;;
! 4311: *-*-cygwin* )
! 4312: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
! 4313: ;;
! 4314: * ) # otherwise, assume *nix
! 4315: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
! 4316: ;;
! 4317: esac
! 4318: ;;
! 4319: *-*-cygwin* )
! 4320: case $build in
! 4321: *-*-mingw* ) # actually msys
! 4322: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
! 4323: ;;
! 4324: *-*-cygwin* )
! 4325: lt_cv_to_host_file_cmd=func_convert_file_noop
! 4326: ;;
! 4327: * ) # otherwise, assume *nix
! 4328: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
! 4329: ;;
! 4330: esac
! 4331: ;;
! 4332: * ) # unhandled hosts (and "normal" native builds)
! 4333: lt_cv_to_host_file_cmd=func_convert_file_noop
! 4334: ;;
! 4335: esac
! 4336:
! 4337: fi
! 4338:
! 4339: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 4340: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
! 4341: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
! 4342:
! 4343:
! 4344:
! 4345:
! 4346:
! 4347: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
! 4348: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
! 4349: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
! 4350: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4351: else
! 4352: #assume ordinary cross tools, or native build.
! 4353: lt_cv_to_tool_file_cmd=func_convert_file_noop
! 4354: case $host in
! 4355: *-*-mingw* )
! 4356: case $build in
! 4357: *-*-mingw* ) # actually msys
! 4358: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
! 4359: ;;
! 4360: esac
! 4361: ;;
! 4362: esac
! 4363:
! 4364: fi
! 4365:
! 4366: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 4367: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
! 4368: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
! 4369:
! 4370:
! 4371:
! 4372:
! 4373:
! 4374: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 4375: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! 4376: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 4377: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4378: else
! 4379: lt_cv_ld_reload_flag='-r'
! 4380: fi
! 4381: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 4382: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
! 4383: reload_flag=$lt_cv_ld_reload_flag
! 4384: case $reload_flag in
! 4385: "" | " "*) ;;
! 4386: *) reload_flag=" $reload_flag" ;;
! 4387: esac
! 4388: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4389: case $host_os in
! 4390: cygwin* | mingw* | pw32* | cegcc*)
! 4391: if test "$GCC" != yes; then
! 4392: reload_cmds=false
! 4393: fi
! 4394: ;;
! 4395: darwin*)
! 4396: if test "$GCC" = yes; then
! 4397: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 4398: else
! 4399: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4400: fi
! 4401: ;;
! 4402: esac
! 4403:
! 4404:
! 4405:
! 4406:
! 4407:
! 4408:
! 4409:
! 4410:
! 4411:
! 4412: if test -n "$ac_tool_prefix"; then
! 4413: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 4414: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 4415: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4416: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4417: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
! 4418: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4419: else
! 4420: if test -n "$OBJDUMP"; then
! 4421: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 4422: else
! 4423: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4424: for as_dir in $PATH
! 4425: do
! 4426: IFS=$as_save_IFS
! 4427: test -z "$as_dir" && as_dir=.
! 4428: for ac_exec_ext in '' $ac_executable_extensions; do
! 4429: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4430: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 4431: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4432: break 2
! 4433: fi
! 4434: done
! 4435: done
! 4436:
! 4437: fi
! 4438: fi
! 4439: OBJDUMP=$ac_cv_prog_OBJDUMP
! 4440: if test -n "$OBJDUMP"; then
! 4441: echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 4442: echo "${ECHO_T}$OBJDUMP" >&6
! 4443: else
! 4444: echo "$as_me:$LINENO: result: no" >&5
! 4445: echo "${ECHO_T}no" >&6
! 4446: fi
! 4447:
! 4448: fi
! 4449: if test -z "$ac_cv_prog_OBJDUMP"; then
! 4450: ac_ct_OBJDUMP=$OBJDUMP
! 4451: # Extract the first word of "objdump", so it can be a program name with args.
! 4452: set dummy objdump; ac_word=$2
! 4453: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4454: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4455: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 4456: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4457: else
! 4458: if test -n "$ac_ct_OBJDUMP"; then
! 4459: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 4460: else
! 4461: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4462: for as_dir in $PATH
! 4463: do
! 4464: IFS=$as_save_IFS
! 4465: test -z "$as_dir" && as_dir=.
! 4466: for ac_exec_ext in '' $ac_executable_extensions; do
! 4467: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4468: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 4469: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4470: break 2
! 4471: fi
! 4472: done
! 4473: done
! 4474:
! 4475: test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
! 4476: fi
! 4477: fi
! 4478: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 4479: if test -n "$ac_ct_OBJDUMP"; then
! 4480: echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 4481: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
! 4482: else
! 4483: echo "$as_me:$LINENO: result: no" >&5
! 4484: echo "${ECHO_T}no" >&6
! 4485: fi
! 4486:
! 4487: OBJDUMP=$ac_ct_OBJDUMP
! 4488: else
! 4489: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 4490: fi
! 4491:
! 4492: test -z "$OBJDUMP" && OBJDUMP=objdump
! 4493:
! 4494:
! 4495:
! 4496:
! 4497:
! 4498:
! 4499: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! 4500: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
! 4501: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 4502: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4503: else
! 4504: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 4505: lt_cv_file_magic_test_file=
! 4506: lt_cv_deplibs_check_method='unknown'
! 4507: # Need to set the preceding variable on all platforms that support
! 4508: # interlibrary dependencies.
! 4509: # 'none' -- dependencies not supported.
! 4510: # `unknown' -- same as none, but documents that we really don't know.
! 4511: # 'pass_all' -- all dependencies passed with no checks.
! 4512: # 'test_compile' -- check by making test program.
! 4513: # 'file_magic [[regex]]' -- check by looking for files in library path
! 4514: # which responds to the $file_magic_cmd with a given extended regex.
! 4515: # If you have `file' or equivalent on your system and you're not sure
! 4516: # whether `pass_all' will *always* work, you probably want this one.
! 4517:
! 4518: case $host_os in
! 4519: aix[4-9]*)
! 4520: lt_cv_deplibs_check_method=pass_all
! 4521: ;;
! 4522:
! 4523: beos*)
! 4524: lt_cv_deplibs_check_method=pass_all
! 4525: ;;
! 4526:
! 4527: bsdi[45]*)
! 4528: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 4529: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4530: lt_cv_file_magic_test_file=/shlib/libc.so
! 4531: ;;
! 4532:
! 4533: cygwin*)
! 4534: # func_win32_libid is a shell function defined in ltmain.sh
! 4535: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4536: lt_cv_file_magic_cmd='func_win32_libid'
! 4537: ;;
! 4538:
! 4539: mingw* | pw32*)
! 4540: # Base MSYS/MinGW do not provide the 'file' command needed by
! 4541: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 4542: # unless we find 'file', for example because we are cross-compiling.
! 4543: # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
! 4544: if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
! 4545: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4546: lt_cv_file_magic_cmd='func_win32_libid'
! 4547: else
! 4548: # Keep this pattern in sync with the one in func_win32_libid.
! 4549: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
! 4550: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4551: fi
! 4552: ;;
! 4553:
! 4554: cegcc*)
! 4555: # use the weaker test based on 'objdump'. See mingw*.
! 4556: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 4557: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4558: ;;
! 4559:
! 4560: darwin* | rhapsody*)
! 4561: lt_cv_deplibs_check_method=pass_all
! 4562: ;;
! 4563:
! 4564: freebsd* | dragonfly*)
! 4565: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.11 paf 4566: case $host_cpu in
4567: i*86 )
4568: # Not sure whether the presence of OpenBSD here was a mistake.
4569: # Let's accept both of them until this is cleared up.
1.25 ! moko 4570: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.11 paf 4571: lt_cv_file_magic_cmd=/usr/bin/file
4572: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1 parser 4573: ;;
4574: esac
1.11 paf 4575: else
4576: lt_cv_deplibs_check_method=pass_all
1.1 parser 4577: fi
4578: ;;
4579:
1.11 paf 4580: gnu*)
4581: lt_cv_deplibs_check_method=pass_all
4582: ;;
1.1 parser 4583:
1.25 ! moko 4584: haiku*)
! 4585: lt_cv_deplibs_check_method=pass_all
1.11 paf 4586: ;;
1.1 parser 4587:
1.25 ! moko 4588: hpux10.20* | hpux11*)
! 4589: lt_cv_file_magic_cmd=/usr/bin/file
! 4590: case $host_cpu in
! 4591: ia64*)
! 4592: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 4593: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 4594: ;;
! 4595: hppa*64*)
! 4596: 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]'
! 4597: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.11 paf 4598: ;;
4599: *)
1.25 ! moko 4600: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
! 4601: lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.11 paf 4602: ;;
4603: esac
1.25 ! moko 4604: ;;
! 4605:
! 4606: interix[3-9]*)
! 4607: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 4608: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 4609: ;;
! 4610:
! 4611: irix5* | irix6* | nonstopux*)
! 4612: case $LD in
! 4613: *-32|*"-32 ") libmagic=32-bit;;
! 4614: *-n32|*"-n32 ") libmagic=N32;;
! 4615: *-64|*"-64 ") libmagic=64-bit;;
! 4616: *) libmagic=never-match;;
! 4617: esac
1.11 paf 4618: lt_cv_deplibs_check_method=pass_all
4619: ;;
4620:
1.25 ! moko 4621: # This must be glibc/ELF.
! 4622: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 4623: lt_cv_deplibs_check_method=pass_all
1.11 paf 4624: ;;
4625:
4626: netbsd*)
1.25 ! moko 4627: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 4628: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.11 paf 4629: else
1.25 ! moko 4630: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.11 paf 4631: fi
4632: ;;
4633:
4634: newos6*)
4635: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4636: lt_cv_file_magic_cmd=/usr/bin/file
4637: lt_cv_file_magic_test_file=/usr/lib/libnls.so
4638: ;;
4639:
1.25 ! moko 4640: *nto* | *qnx*)
! 4641: lt_cv_deplibs_check_method=pass_all
! 4642: ;;
! 4643:
1.11 paf 4644: openbsd*)
1.25 ! moko 4645: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 4646: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.11 paf 4647: else
1.25 ! moko 4648: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.11 paf 4649: fi
4650: ;;
4651:
4652: osf3* | osf4* | osf5*)
4653: lt_cv_deplibs_check_method=pass_all
4654: ;;
4655:
1.25 ! moko 4656: rdos*)
1.11 paf 4657: lt_cv_deplibs_check_method=pass_all
4658: ;;
4659:
4660: solaris*)
4661: lt_cv_deplibs_check_method=pass_all
4662: ;;
4663:
1.25 ! moko 4664: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.11 paf 4665: lt_cv_deplibs_check_method=pass_all
4666: ;;
4667:
1.25 ! moko 4668: sysv4 | sysv4.3*)
1.11 paf 4669: case $host_vendor in
4670: motorola)
4671: 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]'
4672: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4673: ;;
4674: ncr)
4675: lt_cv_deplibs_check_method=pass_all
4676: ;;
4677: sequent)
4678: lt_cv_file_magic_cmd='/bin/file'
4679: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4680: ;;
4681: sni)
4682: lt_cv_file_magic_cmd='/bin/file'
4683: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4684: lt_cv_file_magic_test_file=/lib/libc.so
4685: ;;
4686: siemens)
4687: lt_cv_deplibs_check_method=pass_all
4688: ;;
1.25 ! moko 4689: pc)
! 4690: lt_cv_deplibs_check_method=pass_all
! 4691: ;;
1.11 paf 4692: esac
4693: ;;
1.25 ! moko 4694:
! 4695: tpf*)
! 4696: lt_cv_deplibs_check_method=pass_all
! 4697: ;;
! 4698: esac
1.11 paf 4699:
4700: fi
4701: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4702: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.25 ! moko 4703:
! 4704: file_magic_glob=
! 4705: want_nocaseglob=no
! 4706: if test "$build" = "$host"; then
! 4707: case $host_os in
! 4708: mingw* | pw32*)
! 4709: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
! 4710: want_nocaseglob=yes
! 4711: else
! 4712: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
! 4713: fi
! 4714: ;;
! 4715: esac
! 4716: fi
! 4717:
1.11 paf 4718: file_magic_cmd=$lt_cv_file_magic_cmd
4719: deplibs_check_method=$lt_cv_deplibs_check_method
1.25 ! moko 4720: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 4721:
! 4722:
! 4723:
1.11 paf 4724:
4725:
4726:
4727:
4728:
4729:
4730:
4731:
1.25 ! moko 4732:
! 4733:
! 4734:
! 4735:
! 4736:
! 4737:
! 4738:
! 4739:
! 4740:
! 4741:
! 4742:
! 4743: if test -n "$ac_tool_prefix"; then
! 4744: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 4745: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 4746: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4747: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4748: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
! 4749: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4750: else
! 4751: if test -n "$DLLTOOL"; then
! 4752: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 4753: else
! 4754: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4755: for as_dir in $PATH
! 4756: do
! 4757: IFS=$as_save_IFS
! 4758: test -z "$as_dir" && as_dir=.
! 4759: for ac_exec_ext in '' $ac_executable_extensions; do
! 4760: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4761: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 4762: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4763: break 2
! 4764: fi
! 4765: done
! 4766: done
! 4767:
! 4768: fi
! 4769: fi
! 4770: DLLTOOL=$ac_cv_prog_DLLTOOL
! 4771: if test -n "$DLLTOOL"; then
! 4772: echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 4773: echo "${ECHO_T}$DLLTOOL" >&6
! 4774: else
! 4775: echo "$as_me:$LINENO: result: no" >&5
! 4776: echo "${ECHO_T}no" >&6
! 4777: fi
! 4778:
! 4779: fi
! 4780: if test -z "$ac_cv_prog_DLLTOOL"; then
! 4781: ac_ct_DLLTOOL=$DLLTOOL
! 4782: # Extract the first word of "dlltool", so it can be a program name with args.
! 4783: set dummy dlltool; ac_word=$2
! 4784: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4785: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4786: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.11 paf 4787: echo $ECHO_N "(cached) $ECHO_C" >&6
4788: else
1.25 ! moko 4789: if test -n "$ac_ct_DLLTOOL"; then
! 4790: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 4791: else
! 4792: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4793: for as_dir in $PATH
! 4794: do
! 4795: IFS=$as_save_IFS
! 4796: test -z "$as_dir" && as_dir=.
! 4797: for ac_exec_ext in '' $ac_executable_extensions; do
! 4798: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4799: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 4800: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4801: break 2
! 4802: fi
! 4803: done
! 4804: done
! 4805:
! 4806: test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
! 4807: fi
! 4808: fi
! 4809: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 4810: if test -n "$ac_ct_DLLTOOL"; then
! 4811: echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 4812: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
! 4813: else
! 4814: echo "$as_me:$LINENO: result: no" >&5
! 4815: echo "${ECHO_T}no" >&6
! 4816: fi
! 4817:
! 4818: DLLTOOL=$ac_ct_DLLTOOL
! 4819: else
! 4820: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 4821: fi
! 4822:
! 4823: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 4824:
1.11 paf 4825:
4826:
4827:
4828:
4829:
4830:
1.25 ! moko 4831: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
! 4832: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
! 4833: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
! 4834: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4835: else
! 4836: lt_cv_sharedlib_from_linklib_cmd='unknown'
1.11 paf 4837:
4838: case $host_os in
1.25 ! moko 4839: cygwin* | mingw* | pw32* | cegcc*)
! 4840: # two different shell functions defined in ltmain.sh
! 4841: # decide which to use based on capabilities of $DLLTOOL
! 4842: case `$DLLTOOL --help 2>&1` in
! 4843: *--identify-strict*)
! 4844: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
! 4845: ;;
! 4846: *)
! 4847: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
! 4848: ;;
! 4849: esac
1.11 paf 4850: ;;
1.25 ! moko 4851: *)
! 4852: # fallback: assume linklib IS sharedlib
! 4853: lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.11 paf 4854: ;;
4855: esac
4856:
4857: fi
1.25 ! moko 4858: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
! 4859: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
! 4860: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
! 4861: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.11 paf 4862:
4863:
4864:
4865:
4866:
4867:
4868:
4869:
1.25 ! moko 4870: if test -n "$ac_tool_prefix"; then
! 4871: for ac_prog in ar
! 4872: do
! 4873: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4874: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4875: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4876: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4877: if test "${ac_cv_prog_AR+set}" = set; then
! 4878: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4879: else
! 4880: if test -n "$AR"; then
! 4881: ac_cv_prog_AR="$AR" # Let the user override the test.
! 4882: else
! 4883: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4884: for as_dir in $PATH
! 4885: do
! 4886: IFS=$as_save_IFS
! 4887: test -z "$as_dir" && as_dir=.
! 4888: for ac_exec_ext in '' $ac_executable_extensions; do
! 4889: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4890: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 4891: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4892: break 2
1.11 paf 4893: fi
4894: done
1.25 ! moko 4895: done
1.11 paf 4896:
4897: fi
4898: fi
1.25 ! moko 4899: AR=$ac_cv_prog_AR
! 4900: if test -n "$AR"; then
! 4901: echo "$as_me:$LINENO: result: $AR" >&5
! 4902: echo "${ECHO_T}$AR" >&6
1.11 paf 4903: else
1.25 ! moko 4904: echo "$as_me:$LINENO: result: no" >&5
! 4905: echo "${ECHO_T}no" >&6
1.11 paf 4906: fi
4907:
1.25 ! moko 4908: test -n "$AR" && break
! 4909: done
1.15 paf 4910: fi
1.25 ! moko 4911: if test -z "$AR"; then
! 4912: ac_ct_AR=$AR
! 4913: for ac_prog in ar
! 4914: do
! 4915: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4916: set dummy $ac_prog; ac_word=$2
! 4917: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4918: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4919: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.11 paf 4920: echo $ECHO_N "(cached) $ECHO_C" >&6
4921: else
1.25 ! moko 4922: if test -n "$ac_ct_AR"; then
! 4923: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 4924: else
! 4925: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4926: for as_dir in $PATH
1.11 paf 4927: do
1.25 ! moko 4928: IFS=$as_save_IFS
! 4929: test -z "$as_dir" && as_dir=.
! 4930: for ac_exec_ext in '' $ac_executable_extensions; do
! 4931: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4932: ac_cv_prog_ac_ct_AR="$ac_prog"
! 4933: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4934: break 2
1.11 paf 4935: fi
1.25 ! moko 4936: done
! 4937: done
1.11 paf 4938:
4939: fi
4940: fi
1.25 ! moko 4941: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 4942: if test -n "$ac_ct_AR"; then
! 4943: echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 4944: echo "${ECHO_T}$ac_ct_AR" >&6
1.1 parser 4945: else
1.25 ! moko 4946: echo "$as_me:$LINENO: result: no" >&5
! 4947: echo "${ECHO_T}no" >&6
1.1 parser 4948: fi
1.11 paf 4949:
1.25 ! moko 4950: test -n "$ac_ct_AR" && break
1.11 paf 4951: done
1.25 ! moko 4952: test -n "$ac_ct_AR" || ac_ct_AR="false"
! 4953:
! 4954: AR=$ac_ct_AR
1.1 parser 4955: fi
4956:
1.25 ! moko 4957: : ${AR=ar}
! 4958: : ${AR_FLAGS=cru}
! 4959:
1.11 paf 4960:
4961:
1.1 parser 4962:
1.11 paf 4963:
4964:
4965:
4966:
4967:
4968:
4969:
1.25 ! moko 4970: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
! 4971: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
! 4972: if test "${lt_cv_ar_at_file+set}" = set; then
1.11 paf 4973: echo $ECHO_N "(cached) $ECHO_C" >&6
4974: else
1.25 ! moko 4975: lt_cv_ar_at_file=no
! 4976: cat >conftest.$ac_ext <<_ACEOF
1.11 paf 4977: /* confdefs.h. */
4978: _ACEOF
4979: cat confdefs.h >>conftest.$ac_ext
4980: cat >>conftest.$ac_ext <<_ACEOF
4981: /* end confdefs.h. */
4982:
4983: int
4984: main ()
4985: {
4986:
4987: ;
4988: return 0;
4989: }
4990: _ACEOF
4991: rm -f conftest.$ac_objext
4992: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18 paf 4993: (eval $ac_compile) 2>conftest.er1
1.11 paf 4994: ac_status=$?
1.18 paf 4995: grep -v '^ *+' conftest.er1 >conftest.err
4996: rm -f conftest.er1
4997: cat conftest.err >&5
1.11 paf 4998: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999: (exit $ac_status); } &&
1.18 paf 5000: { ac_try='test -z "$ac_c_werror_flag"
5001: || test ! -s conftest.err'
5002: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003: (eval $ac_try) 2>&5
5004: ac_status=$?
5005: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006: (exit $ac_status); }; } &&
5007: { ac_try='test -s conftest.$ac_objext'
1.11 paf 5008: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009: (eval $ac_try) 2>&5
5010: ac_status=$?
5011: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012: (exit $ac_status); }; }; then
1.25 ! moko 5013: echo conftest.$ac_objext > conftest.lst
! 5014: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
! 5015: { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
! 5016: (eval $lt_ar_try) 2>&5
! 5017: ac_status=$?
! 5018: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5019: (exit $ac_status); }
! 5020: if test "$ac_status" -eq 0; then
! 5021: # Ensure the archiver fails upon bogus file names.
! 5022: rm -f conftest.$ac_objext libconftest.a
! 5023: { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
! 5024: (eval $lt_ar_try) 2>&5
! 5025: ac_status=$?
! 5026: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5027: (exit $ac_status); }
! 5028: if test "$ac_status" -ne 0; then
! 5029: lt_cv_ar_at_file=@
! 5030: fi
! 5031: fi
! 5032: rm -f conftest.* libconftest.a
! 5033:
1.11 paf 5034: else
5035: echo "$as_me: failed program was:" >&5
5036: sed 's/^/| /' conftest.$ac_ext >&5
5037:
5038: fi
1.18 paf 5039: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 5040:
1.25 ! moko 5041: fi
! 5042: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
! 5043: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
1.11 paf 5044:
1.25 ! moko 5045: if test "x$lt_cv_ar_at_file" = xno; then
! 5046: archiver_list_spec=
1.11 paf 5047: else
1.25 ! moko 5048: archiver_list_spec=$lt_cv_ar_at_file
1.11 paf 5049: fi
5050:
5051:
5052:
1.25 ! moko 5053:
! 5054:
! 5055:
! 5056:
! 5057: if test -n "$ac_tool_prefix"; then
! 5058: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5059: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5060: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5061: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5062: if test "${ac_cv_prog_STRIP+set}" = set; then
! 5063: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5064: else
! 5065: if test -n "$STRIP"; then
! 5066: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5067: else
! 5068: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5069: for as_dir in $PATH
! 5070: do
! 5071: IFS=$as_save_IFS
! 5072: test -z "$as_dir" && as_dir=.
! 5073: for ac_exec_ext in '' $ac_executable_extensions; do
! 5074: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5075: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5076: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5077: break 2
! 5078: fi
! 5079: done
! 5080: done
! 5081:
! 5082: fi
! 5083: fi
! 5084: STRIP=$ac_cv_prog_STRIP
! 5085: if test -n "$STRIP"; then
! 5086: echo "$as_me:$LINENO: result: $STRIP" >&5
! 5087: echo "${ECHO_T}$STRIP" >&6
1.7 paf 5088: else
1.25 ! moko 5089: echo "$as_me:$LINENO: result: no" >&5
! 5090: echo "${ECHO_T}no" >&6
1.11 paf 5091: fi
5092:
1.7 paf 5093: fi
1.25 ! moko 5094: if test -z "$ac_cv_prog_STRIP"; then
! 5095: ac_ct_STRIP=$STRIP
! 5096: # Extract the first word of "strip", so it can be a program name with args.
! 5097: set dummy strip; ac_word=$2
! 5098: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5099: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5100: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 5101: echo $ECHO_N "(cached) $ECHO_C" >&6
1.11 paf 5102: else
1.25 ! moko 5103: if test -n "$ac_ct_STRIP"; then
! 5104: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.7 paf 5105: else
1.25 ! moko 5106: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5107: for as_dir in $PATH
! 5108: do
! 5109: IFS=$as_save_IFS
! 5110: test -z "$as_dir" && as_dir=.
! 5111: for ac_exec_ext in '' $ac_executable_extensions; do
! 5112: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5113: ac_cv_prog_ac_ct_STRIP="strip"
! 5114: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5115: break 2
! 5116: fi
! 5117: done
! 5118: done
1.11 paf 5119:
1.25 ! moko 5120: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.11 paf 5121: fi
5122: fi
1.25 ! moko 5123: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5124: if test -n "$ac_ct_STRIP"; then
! 5125: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 5126: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 5127: else
! 5128: echo "$as_me:$LINENO: result: no" >&5
! 5129: echo "${ECHO_T}no" >&6
1.11 paf 5130: fi
5131:
1.25 ! moko 5132: STRIP=$ac_ct_STRIP
! 5133: else
! 5134: STRIP="$ac_cv_prog_STRIP"
1.11 paf 5135: fi
5136:
1.25 ! moko 5137: test -z "$STRIP" && STRIP=:
1.11 paf 5138:
5139:
5140:
5141:
5142:
5143:
1.25 ! moko 5144: if test -n "$ac_tool_prefix"; then
! 5145: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5146: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5147: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5148: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5149: if test "${ac_cv_prog_RANLIB+set}" = set; then
1.11 paf 5150: echo $ECHO_N "(cached) $ECHO_C" >&6
5151: else
1.25 ! moko 5152: if test -n "$RANLIB"; then
! 5153: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.11 paf 5154: else
1.25 ! moko 5155: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5156: for as_dir in $PATH
! 5157: do
! 5158: IFS=$as_save_IFS
! 5159: test -z "$as_dir" && as_dir=.
! 5160: for ac_exec_ext in '' $ac_executable_extensions; do
! 5161: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5162: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5163: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5164: break 2
! 5165: fi
! 5166: done
! 5167: done
1.11 paf 5168:
5169: fi
5170: fi
1.25 ! moko 5171: RANLIB=$ac_cv_prog_RANLIB
! 5172: if test -n "$RANLIB"; then
! 5173: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 5174: echo "${ECHO_T}$RANLIB" >&6
! 5175: else
! 5176: echo "$as_me:$LINENO: result: no" >&5
! 5177: echo "${ECHO_T}no" >&6
! 5178: fi
1.11 paf 5179:
5180: fi
1.25 ! moko 5181: if test -z "$ac_cv_prog_RANLIB"; then
! 5182: ac_ct_RANLIB=$RANLIB
! 5183: # Extract the first word of "ranlib", so it can be a program name with args.
! 5184: set dummy ranlib; ac_word=$2
! 5185: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5186: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5187: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 5188: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5189: else
! 5190: if test -n "$ac_ct_RANLIB"; then
! 5191: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5192: else
! 5193: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5194: for as_dir in $PATH
! 5195: do
! 5196: IFS=$as_save_IFS
! 5197: test -z "$as_dir" && as_dir=.
! 5198: for ac_exec_ext in '' $ac_executable_extensions; do
! 5199: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5200: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5201: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5202: break 2
! 5203: fi
! 5204: done
1.11 paf 5205: done
5206:
1.25 ! moko 5207: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 5208: fi
! 5209: fi
! 5210: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5211: if test -n "$ac_ct_RANLIB"; then
! 5212: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 5213: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.11 paf 5214: else
1.25 ! moko 5215: echo "$as_me:$LINENO: result: no" >&5
! 5216: echo "${ECHO_T}no" >&6
1.11 paf 5217: fi
5218:
1.25 ! moko 5219: RANLIB=$ac_ct_RANLIB
1.7 paf 5220: else
1.25 ! moko 5221: RANLIB="$ac_cv_prog_RANLIB"
1.7 paf 5222: fi
1.11 paf 5223:
1.25 ! moko 5224: test -z "$RANLIB" && RANLIB=:
! 5225:
! 5226:
! 5227:
! 5228:
! 5229:
! 5230:
! 5231: # Determine commands to create old-style static archives.
! 5232: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 5233: old_postinstall_cmds='chmod 644 $oldlib'
! 5234: old_postuninstall_cmds=
1.11 paf 5235:
1.25 ! moko 5236: if test -n "$RANLIB"; then
! 5237: case $host_os in
! 5238: openbsd*)
! 5239: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.11 paf 5240: ;;
1.25 ! moko 5241: *)
! 5242: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.11 paf 5243: ;;
1.25 ! moko 5244: esac
! 5245: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.11 paf 5246: fi
5247:
1.25 ! moko 5248: case $host_os in
! 5249: darwin*)
! 5250: lock_old_archive_extraction=yes ;;
! 5251: *)
! 5252: lock_old_archive_extraction=no ;;
! 5253: esac
1.11 paf 5254:
5255:
5256:
5257:
5258:
5259:
5260:
5261:
5262:
5263:
5264:
5265:
5266:
5267:
5268:
5269:
5270:
5271:
5272:
5273:
5274:
5275:
5276:
5277:
5278:
5279:
5280:
5281:
5282:
5283:
5284:
5285:
5286:
5287:
5288:
5289:
5290:
5291:
5292:
1.25 ! moko 5293: # If no C compiler was specified, use CC.
! 5294: LTCC=${LTCC-"$CC"}
1.11 paf 5295:
1.25 ! moko 5296: # If no C compiler flags were specified, use CFLAGS.
! 5297: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.11 paf 5298:
1.25 ! moko 5299: # Allow CC to be a program name with arguments.
! 5300: compiler=$CC
1.11 paf 5301:
5302:
1.25 ! moko 5303: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 5304: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 5305: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
! 5306: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 5307: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5308: else
! 5309:
! 5310: # These are sane defaults that work on at least a few old systems.
! 5311: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
1.11 paf 5312:
1.25 ! moko 5313: # Character class describing NM global symbol codes.
! 5314: symcode='[BCDEGRST]'
1.11 paf 5315:
1.25 ! moko 5316: # Regexp to match symbols that can be accessed directly from C.
! 5317: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.11 paf 5318:
1.25 ! moko 5319: # Define system-specific variables.
! 5320: case $host_os in
! 5321: aix*)
! 5322: symcode='[BCDT]'
! 5323: ;;
! 5324: cygwin* | mingw* | pw32* | cegcc*)
! 5325: symcode='[ABCDGISTW]'
! 5326: ;;
! 5327: hpux*)
! 5328: if test "$host_cpu" = ia64; then
! 5329: symcode='[ABCDEGRST]'
! 5330: fi
! 5331: ;;
! 5332: irix* | nonstopux*)
! 5333: symcode='[BCDEGRST]'
! 5334: ;;
! 5335: osf*)
! 5336: symcode='[BCDEGQRST]'
! 5337: ;;
! 5338: solaris*)
! 5339: symcode='[BDRT]'
! 5340: ;;
! 5341: sco3.2v5*)
! 5342: symcode='[DT]'
! 5343: ;;
! 5344: sysv4.2uw2*)
! 5345: symcode='[DT]'
! 5346: ;;
! 5347: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 5348: symcode='[ABDT]'
! 5349: ;;
! 5350: sysv4)
! 5351: symcode='[DFNSTU]'
! 5352: ;;
! 5353: esac
1.11 paf 5354:
1.25 ! moko 5355: # If we're using GNU nm, then use its standard symbol codes.
! 5356: case `$NM -V 2>&1` in
! 5357: *GNU* | *'with BFD'*)
! 5358: symcode='[ABCDGIRSTW]' ;;
! 5359: esac
1.11 paf 5360:
1.25 ! moko 5361: # Transform an extracted symbol line into a proper C declaration.
! 5362: # Some systems (esp. on ia64) link data and code symbols differently,
! 5363: # so use this general approach.
! 5364: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.11 paf 5365:
1.25 ! moko 5366: # Transform an extracted symbol line into symbol name and symbol address
! 5367: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 5368: 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'"
1.11 paf 5369:
1.25 ! moko 5370: # Handle CRLF in mingw tool chain
! 5371: opt_cr=
! 5372: case $build_os in
! 5373: mingw*)
! 5374: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 5375: ;;
! 5376: esac
1.11 paf 5377:
1.25 ! moko 5378: # Try without a prefix underscore, then with it.
! 5379: for ac_symprfx in "" "_"; do
1.11 paf 5380:
1.25 ! moko 5381: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 5382: symxfrm="\\1 $ac_symprfx\\2 \\2"
1.11 paf 5383:
1.25 ! moko 5384: # Write the raw and C identifiers.
! 5385: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5386: # Fake it for dumpbin and say T for any non-static function
! 5387: # and D for any global variable.
! 5388: # Also find C++ and __fastcall symbols from MSVC++,
! 5389: # which start with @ or ?.
! 5390: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 5391: " {last_section=section; section=\$ 3};"\
! 5392: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
! 5393: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 5394: " \$ 0!~/External *\|/{next};"\
! 5395: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 5396: " {if(hide[section]) next};"\
! 5397: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 5398: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 5399: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 5400: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 5401: " ' prfx=^$ac_symprfx"
! 5402: else
! 5403: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.11 paf 5404: fi
1.25 ! moko 5405: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.11 paf 5406:
1.25 ! moko 5407: # Check to see that the pipe works correctly.
! 5408: pipe_works=no
1.11 paf 5409:
1.25 ! moko 5410: rm -f conftest*
! 5411: cat > conftest.$ac_ext <<_LT_EOF
! 5412: #ifdef __cplusplus
! 5413: extern "C" {
! 5414: #endif
! 5415: char nm_test_var;
! 5416: void nm_test_func(void);
! 5417: void nm_test_func(void){}
! 5418: #ifdef __cplusplus
! 5419: }
! 5420: #endif
! 5421: int main(){nm_test_var='a';nm_test_func();return(0);}
! 5422: _LT_EOF
1.11 paf 5423:
1.25 ! moko 5424: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5425: (eval $ac_compile) 2>&5
! 5426: ac_status=$?
! 5427: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5428: (exit $ac_status); }; then
! 5429: # Now try to grab the symbols.
! 5430: nlist=conftest.nm
! 5431: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
! 5432: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
! 5433: ac_status=$?
! 5434: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5435: (exit $ac_status); } && test -s "$nlist"; then
! 5436: # Try sorting and uniquifying the output.
! 5437: if sort "$nlist" | uniq > "$nlist"T; then
! 5438: mv -f "$nlist"T "$nlist"
! 5439: else
! 5440: rm -f "$nlist"T
! 5441: fi
1.11 paf 5442:
1.25 ! moko 5443: # Make sure that we snagged all the symbols we need.
! 5444: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 5445: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 5446: cat <<_LT_EOF > conftest.$ac_ext
! 5447: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
! 5448: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
! 5449: /* DATA imports from DLLs on WIN32 con't be const, because runtime
! 5450: relocations are performed -- see ld's documentation on pseudo-relocs. */
! 5451: # define LT_DLSYM_CONST
! 5452: #elif defined(__osf__)
! 5453: /* This system does not cope well with relocations in const data. */
! 5454: # define LT_DLSYM_CONST
! 5455: #else
! 5456: # define LT_DLSYM_CONST const
! 5457: #endif
1.11 paf 5458:
1.25 ! moko 5459: #ifdef __cplusplus
! 5460: extern "C" {
! 5461: #endif
1.11 paf 5462:
1.25 ! moko 5463: _LT_EOF
! 5464: # Now generate the symbol file.
! 5465: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.11 paf 5466:
1.25 ! moko 5467: cat <<_LT_EOF >> conftest.$ac_ext
1.11 paf 5468:
1.25 ! moko 5469: /* The mapping between symbol names and symbols. */
! 5470: LT_DLSYM_CONST struct {
! 5471: const char *name;
! 5472: void *address;
! 5473: }
! 5474: lt__PROGRAM__LTX_preloaded_symbols[] =
! 5475: {
! 5476: { "@PROGRAM@", (void *) 0 },
! 5477: _LT_EOF
! 5478: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 5479: cat <<\_LT_EOF >> conftest.$ac_ext
! 5480: {0, (void *) 0}
! 5481: };
1.11 paf 5482:
1.25 ! moko 5483: /* This works around a problem in FreeBSD linker */
! 5484: #ifdef FREEBSD_WORKAROUND
! 5485: static const void *lt_preloaded_setup() {
! 5486: return lt__PROGRAM__LTX_preloaded_symbols;
! 5487: }
! 5488: #endif
1.11 paf 5489:
1.25 ! moko 5490: #ifdef __cplusplus
! 5491: }
! 5492: #endif
! 5493: _LT_EOF
! 5494: # Now try linking the two files.
! 5495: mv conftest.$ac_objext conftstm.$ac_objext
! 5496: lt_globsym_save_LIBS=$LIBS
! 5497: lt_globsym_save_CFLAGS=$CFLAGS
! 5498: LIBS="conftstm.$ac_objext"
! 5499: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 5500: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5501: (eval $ac_link) 2>&5
! 5502: ac_status=$?
! 5503: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5504: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 5505: pipe_works=yes
! 5506: fi
! 5507: LIBS=$lt_globsym_save_LIBS
! 5508: CFLAGS=$lt_globsym_save_CFLAGS
! 5509: else
! 5510: echo "cannot find nm_test_func in $nlist" >&5
! 5511: fi
! 5512: else
! 5513: echo "cannot find nm_test_var in $nlist" >&5
1.11 paf 5514: fi
1.25 ! moko 5515: else
! 5516: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 5517: fi
! 5518: else
! 5519: echo "$progname: failed program was:" >&5
! 5520: cat conftest.$ac_ext >&5
! 5521: fi
! 5522: rm -rf conftest* conftst*
! 5523:
! 5524: # Do not use the global_symbol_pipe unless it works.
! 5525: if test "$pipe_works" = yes; then
! 5526: break
1.11 paf 5527: else
1.25 ! moko 5528: lt_cv_sys_global_symbol_pipe=
! 5529: fi
! 5530: done
! 5531:
! 5532: fi
1.11 paf 5533:
1.25 ! moko 5534: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 5535: lt_cv_sys_global_symbol_to_cdecl=
! 5536: fi
! 5537: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 5538: echo "$as_me:$LINENO: result: failed" >&5
! 5539: echo "${ECHO_T}failed" >&6
! 5540: else
! 5541: echo "$as_me:$LINENO: result: ok" >&5
! 5542: echo "${ECHO_T}ok" >&6
! 5543: fi
1.11 paf 5544:
1.25 ! moko 5545: # Response file support.
! 5546: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5547: nm_file_list_spec='@'
! 5548: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
! 5549: nm_file_list_spec='@'
! 5550: fi
1.11 paf 5551:
5552:
5553:
5554:
5555:
5556:
5557:
5558:
5559:
5560:
5561:
5562:
1.25 ! moko 5563:
! 5564:
! 5565:
! 5566:
! 5567:
! 5568:
! 5569:
! 5570:
! 5571:
! 5572:
! 5573:
! 5574:
! 5575:
! 5576:
! 5577:
! 5578: echo "$as_me:$LINENO: checking for sysroot" >&5
! 5579: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
! 5580:
! 5581: # Check whether --with-sysroot or --without-sysroot was given.
! 5582: if test "${with_sysroot+set}" = set; then
! 5583: withval="$with_sysroot"
! 5584:
1.11 paf 5585: else
1.25 ! moko 5586: with_sysroot=no
! 5587: fi;
! 5588:
! 5589: lt_sysroot=
! 5590: case ${with_sysroot} in #(
! 5591: yes)
! 5592: if test "$GCC" = yes; then
! 5593: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
! 5594: fi
! 5595: ;; #(
! 5596: /*)
! 5597: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
! 5598: ;; #(
! 5599: no|'')
! 5600: ;; #(
! 5601: *)
! 5602: echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
! 5603: echo "${ECHO_T}${with_sysroot}" >&6
! 5604: { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
! 5605: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
! 5606: { (exit 1); exit 1; }; }
! 5607: ;;
! 5608: esac
! 5609:
! 5610: echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
! 5611: echo "${ECHO_T}${lt_sysroot:-no}" >&6
! 5612:
! 5613:
1.11 paf 5614:
5615:
5616:
1.25 ! moko 5617: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 5618: if test "${enable_libtool_lock+set}" = set; then
! 5619: enableval="$enable_libtool_lock"
! 5620:
! 5621: fi;
! 5622: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 5623:
! 5624: # Some flags need to be propagated to the compiler or linker for good
! 5625: # libtool support.
! 5626: case $host in
! 5627: ia64-*-hpux*)
! 5628: # Find out which ABI we are using.
! 5629: echo 'int i;' > conftest.$ac_ext
! 5630: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5631: (eval $ac_compile) 2>&5
1.11 paf 5632: ac_status=$?
5633: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.25 ! moko 5634: (exit $ac_status); }; then
! 5635: case `/usr/bin/file conftest.$ac_objext` in
! 5636: *ELF-32*)
! 5637: HPUX_IA64_MODE="32"
! 5638: ;;
! 5639: *ELF-64*)
! 5640: HPUX_IA64_MODE="64"
! 5641: ;;
! 5642: esac
! 5643: fi
! 5644: rm -rf conftest*
! 5645: ;;
! 5646: *-*-irix6*)
! 5647: # Find out which ABI we are using.
! 5648: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 5649: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5650: (eval $ac_compile) 2>&5
1.18 paf 5651: ac_status=$?
5652: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.25 ! moko 5653: (exit $ac_status); }; then
! 5654: if test "$lt_cv_prog_gnu_ld" = yes; then
! 5655: case `/usr/bin/file conftest.$ac_objext` in
! 5656: *32-bit*)
! 5657: LD="${LD-ld} -melf32bsmip"
! 5658: ;;
! 5659: *N32*)
! 5660: LD="${LD-ld} -melf32bmipn32"
! 5661: ;;
! 5662: *64-bit*)
! 5663: LD="${LD-ld} -melf64bmip"
! 5664: ;;
! 5665: esac
! 5666: else
! 5667: case `/usr/bin/file conftest.$ac_objext` in
! 5668: *32-bit*)
! 5669: LD="${LD-ld} -32"
! 5670: ;;
! 5671: *N32*)
! 5672: LD="${LD-ld} -n32"
! 5673: ;;
! 5674: *64-bit*)
! 5675: LD="${LD-ld} -64"
! 5676: ;;
! 5677: esac
! 5678: fi
! 5679: fi
! 5680: rm -rf conftest*
! 5681: ;;
! 5682:
! 5683: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 5684: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 5685: # Find out which ABI we are using.
! 5686: echo 'int i;' > conftest.$ac_ext
! 5687: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5688: (eval $ac_compile) 2>&5
1.11 paf 5689: ac_status=$?
5690: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.25 ! moko 5691: (exit $ac_status); }; then
! 5692: case `/usr/bin/file conftest.o` in
! 5693: *32-bit*)
! 5694: case $host in
! 5695: x86_64-*kfreebsd*-gnu)
! 5696: LD="${LD-ld} -m elf_i386_fbsd"
! 5697: ;;
! 5698: x86_64-*linux*)
! 5699: LD="${LD-ld} -m elf_i386"
! 5700: ;;
! 5701: ppc64-*linux*|powerpc64-*linux*)
! 5702: LD="${LD-ld} -m elf32ppclinux"
! 5703: ;;
! 5704: s390x-*linux*)
! 5705: LD="${LD-ld} -m elf_s390"
! 5706: ;;
! 5707: sparc64-*linux*)
! 5708: LD="${LD-ld} -m elf32_sparc"
! 5709: ;;
! 5710: esac
1.11 paf 5711: ;;
1.25 ! moko 5712: *64-bit*)
! 5713: case $host in
! 5714: x86_64-*kfreebsd*-gnu)
! 5715: LD="${LD-ld} -m elf_x86_64_fbsd"
! 5716: ;;
! 5717: x86_64-*linux*)
! 5718: LD="${LD-ld} -m elf_x86_64"
! 5719: ;;
! 5720: ppc*-*linux*|powerpc*-*linux*)
! 5721: LD="${LD-ld} -m elf64ppc"
! 5722: ;;
! 5723: s390*-*linux*|s390*-*tpf*)
! 5724: LD="${LD-ld} -m elf64_s390"
! 5725: ;;
! 5726: sparc*-*linux*)
! 5727: LD="${LD-ld} -m elf64_sparc"
! 5728: ;;
! 5729: esac
1.11 paf 5730: ;;
1.25 ! moko 5731: esac
1.11 paf 5732: fi
1.25 ! moko 5733: rm -rf conftest*
! 5734: ;;
1.11 paf 5735:
1.25 ! moko 5736: *-*-sco3.2v5*)
! 5737: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 5738: SAVE_CFLAGS="$CFLAGS"
! 5739: CFLAGS="$CFLAGS -belf"
! 5740: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 5741: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 5742: if test "${lt_cv_cc_needs_belf+set}" = set; then
1.11 paf 5743: echo $ECHO_N "(cached) $ECHO_C" >&6
5744: else
1.25 ! moko 5745: ac_ext=c
! 5746: ac_cpp='$CPP $CPPFLAGS'
! 5747: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5748: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5749: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5750:
! 5751: cat >conftest.$ac_ext <<_ACEOF
1.11 paf 5752: /* confdefs.h. */
5753: _ACEOF
5754: cat confdefs.h >>conftest.$ac_ext
5755: cat >>conftest.$ac_ext <<_ACEOF
5756: /* end confdefs.h. */
5757:
5758: int
5759: main ()
5760: {
5761:
5762: ;
5763: return 0;
5764: }
5765: _ACEOF
5766: rm -f conftest.$ac_objext conftest$ac_exeext
5767: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18 paf 5768: (eval $ac_link) 2>conftest.er1
1.11 paf 5769: ac_status=$?
1.18 paf 5770: grep -v '^ *+' conftest.er1 >conftest.err
5771: rm -f conftest.er1
5772: cat conftest.err >&5
1.11 paf 5773: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774: (exit $ac_status); } &&
1.18 paf 5775: { ac_try='test -z "$ac_c_werror_flag"
5776: || test ! -s conftest.err'
5777: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778: (eval $ac_try) 2>&5
5779: ac_status=$?
5780: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781: (exit $ac_status); }; } &&
5782: { ac_try='test -s conftest$ac_exeext'
1.11 paf 5783: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5784: (eval $ac_try) 2>&5
5785: ac_status=$?
5786: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787: (exit $ac_status); }; }; then
1.25 ! moko 5788: lt_cv_cc_needs_belf=yes
1.11 paf 5789: else
5790: echo "$as_me: failed program was:" >&5
5791: sed 's/^/| /' conftest.$ac_ext >&5
5792:
1.25 ! moko 5793: lt_cv_cc_needs_belf=no
1.11 paf 5794: fi
1.18 paf 5795: rm -f conftest.err conftest.$ac_objext \
5796: conftest$ac_exeext conftest.$ac_ext
1.25 ! moko 5797: ac_ext=c
! 5798: ac_cpp='$CPP $CPPFLAGS'
! 5799: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5800: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5801: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11 paf 5802:
5803: fi
1.25 ! moko 5804: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 5805: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
! 5806: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 5807: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 5808: CFLAGS="$SAVE_CFLAGS"
! 5809: fi
! 5810: ;;
! 5811: *-*solaris*)
! 5812: # Find out which ABI we are using.
! 5813: echo 'int i;' > conftest.$ac_ext
! 5814: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5815: (eval $ac_compile) 2>&5
! 5816: ac_status=$?
! 5817: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5818: (exit $ac_status); }; then
! 5819: case `/usr/bin/file conftest.o` in
! 5820: *64-bit*)
! 5821: case $lt_cv_prog_gnu_ld in
! 5822: yes*)
! 5823: case $host in
! 5824: i?86-*-solaris*)
! 5825: LD="${LD-ld} -m elf_x86_64"
! 5826: ;;
! 5827: sparc*-*-solaris*)
! 5828: LD="${LD-ld} -m elf64_sparc"
! 5829: ;;
! 5830: esac
! 5831: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
! 5832: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
! 5833: LD="${LD-ld}_sol2"
! 5834: fi
! 5835: ;;
! 5836: *)
! 5837: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 5838: LD="${LD-ld} -64"
! 5839: fi
! 5840: ;;
! 5841: esac
! 5842: ;;
! 5843: esac
! 5844: fi
! 5845: rm -rf conftest*
! 5846: ;;
! 5847: esac
1.11 paf 5848:
1.25 ! moko 5849: need_locks="$enable_libtool_lock"
1.11 paf 5850:
1.25 ! moko 5851: if test -n "$ac_tool_prefix"; then
! 5852: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
! 5853: set dummy ${ac_tool_prefix}mt; ac_word=$2
! 5854: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5855: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5856: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
! 5857: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5858: else
! 5859: if test -n "$MANIFEST_TOOL"; then
! 5860: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
! 5861: else
! 5862: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5863: for as_dir in $PATH
! 5864: do
! 5865: IFS=$as_save_IFS
! 5866: test -z "$as_dir" && as_dir=.
! 5867: for ac_exec_ext in '' $ac_executable_extensions; do
! 5868: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5869: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
! 5870: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5871: break 2
! 5872: fi
! 5873: done
! 5874: done
1.11 paf 5875:
1.25 ! moko 5876: fi
! 5877: fi
! 5878: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
! 5879: if test -n "$MANIFEST_TOOL"; then
! 5880: echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
! 5881: echo "${ECHO_T}$MANIFEST_TOOL" >&6
! 5882: else
! 5883: echo "$as_me:$LINENO: result: no" >&5
! 5884: echo "${ECHO_T}no" >&6
! 5885: fi
1.11 paf 5886:
1.25 ! moko 5887: fi
! 5888: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
! 5889: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
! 5890: # Extract the first word of "mt", so it can be a program name with args.
! 5891: set dummy mt; ac_word=$2
! 5892: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5893: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5894: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
1.11 paf 5895: echo $ECHO_N "(cached) $ECHO_C" >&6
5896: else
1.25 ! moko 5897: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 5898: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
! 5899: else
! 5900: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5901: for as_dir in $PATH
! 5902: do
! 5903: IFS=$as_save_IFS
! 5904: test -z "$as_dir" && as_dir=.
! 5905: for ac_exec_ext in '' $ac_executable_extensions; do
! 5906: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5907: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
! 5908: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5909: break 2
! 5910: fi
! 5911: done
! 5912: done
1.11 paf 5913:
1.25 ! moko 5914: test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
! 5915: fi
! 5916: fi
! 5917: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
! 5918: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 5919: echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
! 5920: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
1.11 paf 5921: else
1.25 ! moko 5922: echo "$as_me:$LINENO: result: no" >&5
! 5923: echo "${ECHO_T}no" >&6
1.11 paf 5924: fi
5925:
1.25 ! moko 5926: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
! 5927: else
! 5928: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
1.11 paf 5929: fi
5930:
1.25 ! moko 5931: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
! 5932: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
! 5933: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
! 5934: if test "${lt_cv_path_mainfest_tool+set}" = set; then
1.11 paf 5935: echo $ECHO_N "(cached) $ECHO_C" >&6
5936: else
1.25 ! moko 5937: lt_cv_path_mainfest_tool=no
! 5938: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
! 5939: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
! 5940: cat conftest.err >&5
! 5941: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
! 5942: lt_cv_path_mainfest_tool=yes
! 5943: fi
! 5944: rm -f conftest*
! 5945: fi
! 5946: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
! 5947: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
! 5948: if test "x$lt_cv_path_mainfest_tool" != xyes; then
! 5949: MANIFEST_TOOL=:
! 5950: fi
! 5951:
! 5952:
! 5953:
! 5954:
1.11 paf 5955:
5956:
1.25 ! moko 5957: case $host_os in
! 5958: rhapsody* | darwin*)
! 5959: if test -n "$ac_tool_prefix"; then
! 5960: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 5961: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 5962: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5963: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5964: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
! 5965: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5966: else
! 5967: if test -n "$DSYMUTIL"; then
! 5968: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 5969: else
! 5970: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5971: for as_dir in $PATH
! 5972: do
! 5973: IFS=$as_save_IFS
! 5974: test -z "$as_dir" && as_dir=.
! 5975: for ac_exec_ext in '' $ac_executable_extensions; do
! 5976: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5977: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 5978: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5979: break 2
! 5980: fi
! 5981: done
! 5982: done
1.11 paf 5983:
1.25 ! moko 5984: fi
! 5985: fi
! 5986: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 5987: if test -n "$DSYMUTIL"; then
! 5988: echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
! 5989: echo "${ECHO_T}$DSYMUTIL" >&6
1.11 paf 5990: else
1.25 ! moko 5991: echo "$as_me:$LINENO: result: no" >&5
! 5992: echo "${ECHO_T}no" >&6
! 5993: fi
1.11 paf 5994:
5995: fi
1.25 ! moko 5996: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 5997: ac_ct_DSYMUTIL=$DSYMUTIL
! 5998: # Extract the first word of "dsymutil", so it can be a program name with args.
! 5999: set dummy dsymutil; ac_word=$2
! 6000: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6001: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6002: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
! 6003: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6004: else
! 6005: if test -n "$ac_ct_DSYMUTIL"; then
! 6006: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 6007: else
! 6008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6009: for as_dir in $PATH
! 6010: do
! 6011: IFS=$as_save_IFS
! 6012: test -z "$as_dir" && as_dir=.
! 6013: for ac_exec_ext in '' $ac_executable_extensions; do
! 6014: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6015: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 6016: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6017: break 2
! 6018: fi
! 6019: done
! 6020: done
1.11 paf 6021:
1.25 ! moko 6022: test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
! 6023: fi
! 6024: fi
! 6025: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 6026: if test -n "$ac_ct_DSYMUTIL"; then
! 6027: echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
! 6028: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
! 6029: else
! 6030: echo "$as_me:$LINENO: result: no" >&5
! 6031: echo "${ECHO_T}no" >&6
1.11 paf 6032: fi
6033:
1.25 ! moko 6034: DSYMUTIL=$ac_ct_DSYMUTIL
1.11 paf 6035: else
1.25 ! moko 6036: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.11 paf 6037: fi
6038:
1.25 ! moko 6039: if test -n "$ac_tool_prefix"; then
! 6040: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 6041: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 6042: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6043: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6044: if test "${ac_cv_prog_NMEDIT+set}" = set; then
! 6045: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6046: else
! 6047: if test -n "$NMEDIT"; then
! 6048: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 6049: else
! 6050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6051: for as_dir in $PATH
! 6052: do
! 6053: IFS=$as_save_IFS
! 6054: test -z "$as_dir" && as_dir=.
! 6055: for ac_exec_ext in '' $ac_executable_extensions; do
! 6056: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6057: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 6058: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6059: break 2
1.11 paf 6060: fi
1.25 ! moko 6061: done
! 6062: done
! 6063:
! 6064: fi
! 6065: fi
! 6066: NMEDIT=$ac_cv_prog_NMEDIT
! 6067: if test -n "$NMEDIT"; then
! 6068: echo "$as_me:$LINENO: result: $NMEDIT" >&5
! 6069: echo "${ECHO_T}$NMEDIT" >&6
1.11 paf 6070: else
1.25 ! moko 6071: echo "$as_me:$LINENO: result: no" >&5
! 6072: echo "${ECHO_T}no" >&6
1.11 paf 6073: fi
6074:
1.25 ! moko 6075: fi
! 6076: if test -z "$ac_cv_prog_NMEDIT"; then
! 6077: ac_ct_NMEDIT=$NMEDIT
! 6078: # Extract the first word of "nmedit", so it can be a program name with args.
! 6079: set dummy nmedit; ac_word=$2
! 6080: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6081: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6082: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
! 6083: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6084: else
! 6085: if test -n "$ac_ct_NMEDIT"; then
! 6086: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 6087: else
! 6088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6089: for as_dir in $PATH
! 6090: do
! 6091: IFS=$as_save_IFS
! 6092: test -z "$as_dir" && as_dir=.
! 6093: for ac_exec_ext in '' $ac_executable_extensions; do
! 6094: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6095: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 6096: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6097: break 2
! 6098: fi
! 6099: done
! 6100: done
1.11 paf 6101:
1.25 ! moko 6102: test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
! 6103: fi
! 6104: fi
! 6105: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 6106: if test -n "$ac_ct_NMEDIT"; then
! 6107: echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
! 6108: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
! 6109: else
! 6110: echo "$as_me:$LINENO: result: no" >&5
! 6111: echo "${ECHO_T}no" >&6
! 6112: fi
1.11 paf 6113:
1.25 ! moko 6114: NMEDIT=$ac_ct_NMEDIT
1.11 paf 6115: else
1.25 ! moko 6116: NMEDIT="$ac_cv_prog_NMEDIT"
1.11 paf 6117: fi
6118:
1.25 ! moko 6119: if test -n "$ac_tool_prefix"; then
! 6120: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 6121: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 6122: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6123: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6124: if test "${ac_cv_prog_LIPO+set}" = set; then
! 6125: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6126: else
! 6127: if test -n "$LIPO"; then
! 6128: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 6129: else
! 6130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6131: for as_dir in $PATH
! 6132: do
! 6133: IFS=$as_save_IFS
! 6134: test -z "$as_dir" && as_dir=.
! 6135: for ac_exec_ext in '' $ac_executable_extensions; do
! 6136: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6137: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 6138: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6139: break 2
1.11 paf 6140: fi
1.25 ! moko 6141: done
! 6142: done
! 6143:
! 6144: fi
! 6145: fi
! 6146: LIPO=$ac_cv_prog_LIPO
! 6147: if test -n "$LIPO"; then
! 6148: echo "$as_me:$LINENO: result: $LIPO" >&5
! 6149: echo "${ECHO_T}$LIPO" >&6
! 6150: else
! 6151: echo "$as_me:$LINENO: result: no" >&5
! 6152: echo "${ECHO_T}no" >&6
1.11 paf 6153: fi
6154:
1.25 ! moko 6155: fi
! 6156: if test -z "$ac_cv_prog_LIPO"; then
! 6157: ac_ct_LIPO=$LIPO
! 6158: # Extract the first word of "lipo", so it can be a program name with args.
! 6159: set dummy lipo; ac_word=$2
! 6160: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6161: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6162: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
! 6163: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6164: else
! 6165: if test -n "$ac_ct_LIPO"; then
! 6166: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 6167: else
! 6168: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6169: for as_dir in $PATH
! 6170: do
! 6171: IFS=$as_save_IFS
! 6172: test -z "$as_dir" && as_dir=.
! 6173: for ac_exec_ext in '' $ac_executable_extensions; do
! 6174: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6175: ac_cv_prog_ac_ct_LIPO="lipo"
! 6176: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6177: break 2
1.11 paf 6178: fi
1.25 ! moko 6179: done
! 6180: done
1.11 paf 6181:
1.25 ! moko 6182: test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
! 6183: fi
! 6184: fi
! 6185: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 6186: if test -n "$ac_ct_LIPO"; then
! 6187: echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
! 6188: echo "${ECHO_T}$ac_ct_LIPO" >&6
! 6189: else
! 6190: echo "$as_me:$LINENO: result: no" >&5
! 6191: echo "${ECHO_T}no" >&6
! 6192: fi
1.11 paf 6193:
1.25 ! moko 6194: LIPO=$ac_ct_LIPO
! 6195: else
! 6196: LIPO="$ac_cv_prog_LIPO"
! 6197: fi
1.11 paf 6198:
1.25 ! moko 6199: if test -n "$ac_tool_prefix"; then
! 6200: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 6201: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 6202: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6203: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6204: if test "${ac_cv_prog_OTOOL+set}" = set; then
! 6205: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6206: else
! 6207: if test -n "$OTOOL"; then
! 6208: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 6209: else
! 6210: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6211: for as_dir in $PATH
! 6212: do
! 6213: IFS=$as_save_IFS
! 6214: test -z "$as_dir" && as_dir=.
! 6215: for ac_exec_ext in '' $ac_executable_extensions; do
! 6216: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6217: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 6218: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6219: break 2
! 6220: fi
! 6221: done
! 6222: done
1.11 paf 6223:
1.25 ! moko 6224: fi
! 6225: fi
! 6226: OTOOL=$ac_cv_prog_OTOOL
! 6227: if test -n "$OTOOL"; then
! 6228: echo "$as_me:$LINENO: result: $OTOOL" >&5
! 6229: echo "${ECHO_T}$OTOOL" >&6
! 6230: else
! 6231: echo "$as_me:$LINENO: result: no" >&5
! 6232: echo "${ECHO_T}no" >&6
! 6233: fi
1.11 paf 6234:
1.25 ! moko 6235: fi
! 6236: if test -z "$ac_cv_prog_OTOOL"; then
! 6237: ac_ct_OTOOL=$OTOOL
! 6238: # Extract the first word of "otool", so it can be a program name with args.
! 6239: set dummy otool; ac_word=$2
! 6240: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6241: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6242: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
! 6243: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6244: else
! 6245: if test -n "$ac_ct_OTOOL"; then
! 6246: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 6247: else
! 6248: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6249: for as_dir in $PATH
! 6250: do
! 6251: IFS=$as_save_IFS
! 6252: test -z "$as_dir" && as_dir=.
! 6253: for ac_exec_ext in '' $ac_executable_extensions; do
! 6254: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6255: ac_cv_prog_ac_ct_OTOOL="otool"
! 6256: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6257: break 2
! 6258: fi
! 6259: done
! 6260: done
1.11 paf 6261:
1.25 ! moko 6262: test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
! 6263: fi
! 6264: fi
! 6265: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 6266: if test -n "$ac_ct_OTOOL"; then
! 6267: echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
! 6268: echo "${ECHO_T}$ac_ct_OTOOL" >&6
! 6269: else
! 6270: echo "$as_me:$LINENO: result: no" >&5
! 6271: echo "${ECHO_T}no" >&6
! 6272: fi
1.11 paf 6273:
1.25 ! moko 6274: OTOOL=$ac_ct_OTOOL
! 6275: else
! 6276: OTOOL="$ac_cv_prog_OTOOL"
! 6277: fi
1.11 paf 6278:
1.25 ! moko 6279: if test -n "$ac_tool_prefix"; then
! 6280: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 6281: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 6282: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6283: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6284: if test "${ac_cv_prog_OTOOL64+set}" = set; then
! 6285: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6286: else
! 6287: if test -n "$OTOOL64"; then
! 6288: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 6289: else
! 6290: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6291: for as_dir in $PATH
! 6292: do
! 6293: IFS=$as_save_IFS
! 6294: test -z "$as_dir" && as_dir=.
! 6295: for ac_exec_ext in '' $ac_executable_extensions; do
! 6296: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6297: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 6298: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6299: break 2
! 6300: fi
! 6301: done
! 6302: done
1.11 paf 6303:
1.25 ! moko 6304: fi
! 6305: fi
! 6306: OTOOL64=$ac_cv_prog_OTOOL64
! 6307: if test -n "$OTOOL64"; then
! 6308: echo "$as_me:$LINENO: result: $OTOOL64" >&5
! 6309: echo "${ECHO_T}$OTOOL64" >&6
! 6310: else
! 6311: echo "$as_me:$LINENO: result: no" >&5
! 6312: echo "${ECHO_T}no" >&6
! 6313: fi
1.11 paf 6314:
1.25 ! moko 6315: fi
! 6316: if test -z "$ac_cv_prog_OTOOL64"; then
! 6317: ac_ct_OTOOL64=$OTOOL64
! 6318: # Extract the first word of "otool64", so it can be a program name with args.
! 6319: set dummy otool64; ac_word=$2
! 6320: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6321: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6322: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
! 6323: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6324: else
! 6325: if test -n "$ac_ct_OTOOL64"; then
! 6326: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 6327: else
! 6328: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6329: for as_dir in $PATH
! 6330: do
! 6331: IFS=$as_save_IFS
! 6332: test -z "$as_dir" && as_dir=.
! 6333: for ac_exec_ext in '' $ac_executable_extensions; do
! 6334: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6335: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 6336: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6337: break 2
! 6338: fi
! 6339: done
! 6340: done
1.11 paf 6341:
1.25 ! moko 6342: test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
! 6343: fi
! 6344: fi
! 6345: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 6346: if test -n "$ac_ct_OTOOL64"; then
! 6347: echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
! 6348: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
! 6349: else
! 6350: echo "$as_me:$LINENO: result: no" >&5
! 6351: echo "${ECHO_T}no" >&6
! 6352: fi
1.11 paf 6353:
1.25 ! moko 6354: OTOOL64=$ac_ct_OTOOL64
! 6355: else
! 6356: OTOOL64="$ac_cv_prog_OTOOL64"
! 6357: fi
1.11 paf 6358:
6359:
6360:
6361:
6362:
6363:
6364:
6365:
6366:
6367:
6368:
6369:
6370:
6371:
6372:
6373:
6374:
6375:
6376:
6377:
6378:
6379:
6380:
6381:
6382:
6383:
6384:
1.25 ! moko 6385: echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
! 6386: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
! 6387: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
! 6388: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6389: else
! 6390: lt_cv_apple_cc_single_mod=no
! 6391: if test -z "${LT_MULTI_MODULE}"; then
! 6392: # By default we will add the -single_module flag. You can override
! 6393: # by either setting the environment variable LT_MULTI_MODULE
! 6394: # non-empty at configure time, or by adding -multi_module to the
! 6395: # link flags.
! 6396: rm -rf libconftest.dylib*
! 6397: echo "int foo(void){return 1;}" > conftest.c
! 6398: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6399: -dynamiclib -Wl,-single_module conftest.c" >&5
! 6400: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6401: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 6402: _lt_result=$?
! 6403: # If there is a non-empty error log, and "single_module"
! 6404: # appears in it, assume the flag caused a linker warning
! 6405: if test -s conftest.err && $GREP single_module conftest.err; then
! 6406: cat conftest.err >&5
! 6407: # Otherwise, if the output was created with a 0 exit code from
! 6408: # the compiler, it worked.
! 6409: elif test -f libconftest.dylib && test $_lt_result -eq 0; then
! 6410: lt_cv_apple_cc_single_mod=yes
! 6411: else
! 6412: cat conftest.err >&5
! 6413: fi
! 6414: rm -rf libconftest.dylib*
! 6415: rm -f conftest.*
! 6416: fi
! 6417: fi
! 6418: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
! 6419: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
1.11 paf 6420:
1.25 ! moko 6421: echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
! 6422: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
! 6423: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
! 6424: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6425: else
! 6426: lt_cv_ld_exported_symbols_list=no
! 6427: save_LDFLAGS=$LDFLAGS
! 6428: echo "_main" > conftest.sym
! 6429: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 6430: cat >conftest.$ac_ext <<_ACEOF
! 6431: /* confdefs.h. */
! 6432: _ACEOF
! 6433: cat confdefs.h >>conftest.$ac_ext
! 6434: cat >>conftest.$ac_ext <<_ACEOF
! 6435: /* end confdefs.h. */
1.11 paf 6436:
1.25 ! moko 6437: int
! 6438: main ()
! 6439: {
1.11 paf 6440:
1.25 ! moko 6441: ;
! 6442: return 0;
! 6443: }
! 6444: _ACEOF
! 6445: rm -f conftest.$ac_objext conftest$ac_exeext
! 6446: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6447: (eval $ac_link) 2>conftest.er1
! 6448: ac_status=$?
! 6449: grep -v '^ *+' conftest.er1 >conftest.err
! 6450: rm -f conftest.er1
! 6451: cat conftest.err >&5
! 6452: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6453: (exit $ac_status); } &&
! 6454: { ac_try='test -z "$ac_c_werror_flag"
! 6455: || test ! -s conftest.err'
! 6456: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6457: (eval $ac_try) 2>&5
! 6458: ac_status=$?
! 6459: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6460: (exit $ac_status); }; } &&
! 6461: { ac_try='test -s conftest$ac_exeext'
! 6462: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6463: (eval $ac_try) 2>&5
! 6464: ac_status=$?
! 6465: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6466: (exit $ac_status); }; }; then
! 6467: lt_cv_ld_exported_symbols_list=yes
! 6468: else
! 6469: echo "$as_me: failed program was:" >&5
! 6470: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6471:
1.25 ! moko 6472: lt_cv_ld_exported_symbols_list=no
! 6473: fi
! 6474: rm -f conftest.err conftest.$ac_objext \
! 6475: conftest$ac_exeext conftest.$ac_ext
! 6476: LDFLAGS="$save_LDFLAGS"
1.11 paf 6477:
1.25 ! moko 6478: fi
! 6479: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
! 6480: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
1.11 paf 6481:
1.25 ! moko 6482: echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
! 6483: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
! 6484: if test "${lt_cv_ld_force_load+set}" = set; then
! 6485: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6486: else
! 6487: lt_cv_ld_force_load=no
! 6488: cat > conftest.c << _LT_EOF
! 6489: int forced_loaded() { return 2;}
! 6490: _LT_EOF
! 6491: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
! 6492: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
! 6493: echo "$AR cru libconftest.a conftest.o" >&5
! 6494: $AR cru libconftest.a conftest.o 2>&5
! 6495: echo "$RANLIB libconftest.a" >&5
! 6496: $RANLIB libconftest.a 2>&5
! 6497: cat > conftest.c << _LT_EOF
! 6498: int main() { return 0;}
! 6499: _LT_EOF
! 6500: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
! 6501: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
! 6502: _lt_result=$?
! 6503: if test -s conftest.err && $GREP force_load conftest.err; then
! 6504: cat conftest.err >&5
! 6505: elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
! 6506: lt_cv_ld_force_load=yes
! 6507: else
! 6508: cat conftest.err >&5
! 6509: fi
! 6510: rm -f conftest.err libconftest.a conftest conftest.c
! 6511: rm -rf conftest.dSYM
1.11 paf 6512:
1.25 ! moko 6513: fi
! 6514: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
! 6515: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
! 6516: case $host_os in
! 6517: rhapsody* | darwin1.[012])
! 6518: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 6519: darwin1.*)
! 6520: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6521: darwin*) # darwin 5.x on
! 6522: # if running on 10.5 or later, the deployment target defaults
! 6523: # to the OS version, if on x86, and 10.4, the deployment
! 6524: # target defaults to 10.4. Don't you love it?
! 6525: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 6526: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 6527: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6528: 10.[012]*)
! 6529: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6530: 10.*)
! 6531: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6532: esac
1.11 paf 6533: ;;
1.25 ! moko 6534: esac
! 6535: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 6536: _lt_dar_single_mod='$single_module'
! 6537: fi
! 6538: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 6539: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 6540: else
! 6541: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.11 paf 6542: fi
1.25 ! moko 6543: if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
! 6544: _lt_dsymutil='~$DSYMUTIL $lib || :'
1.11 paf 6545: else
1.25 ! moko 6546: _lt_dsymutil=
1.11 paf 6547: fi
6548: ;;
1.25 ! moko 6549: esac
1.11 paf 6550:
1.25 ! moko 6551: ac_ext=c
! 6552: ac_cpp='$CPP $CPPFLAGS'
! 6553: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6554: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6555: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6556: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 6557: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 6558: # On Suns, sometimes $CPP names a directory.
! 6559: if test -n "$CPP" && test -d "$CPP"; then
! 6560: CPP=
! 6561: fi
! 6562: if test -z "$CPP"; then
! 6563: if test "${ac_cv_prog_CPP+set}" = set; then
! 6564: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6565: else
! 6566: # Double quotes because CPP needs to be expanded
! 6567: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 6568: do
! 6569: ac_preproc_ok=false
! 6570: for ac_c_preproc_warn_flag in '' yes
! 6571: do
! 6572: # Use a header file that comes with gcc, so configuring glibc
! 6573: # with a fresh cross-compiler works.
! 6574: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6575: # <limits.h> exists even on freestanding compilers.
! 6576: # On the NeXT, cc -E runs the code through the compiler's parser,
! 6577: # not just through cpp. "Syntax error" is here to catch this case.
! 6578: cat >conftest.$ac_ext <<_ACEOF
! 6579: /* confdefs.h. */
! 6580: _ACEOF
! 6581: cat confdefs.h >>conftest.$ac_ext
! 6582: cat >>conftest.$ac_ext <<_ACEOF
! 6583: /* end confdefs.h. */
! 6584: #ifdef __STDC__
! 6585: # include <limits.h>
! 6586: #else
! 6587: # include <assert.h>
! 6588: #endif
! 6589: Syntax error
! 6590: _ACEOF
! 6591: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6592: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6593: ac_status=$?
! 6594: grep -v '^ *+' conftest.er1 >conftest.err
! 6595: rm -f conftest.er1
! 6596: cat conftest.err >&5
! 6597: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6598: (exit $ac_status); } >/dev/null; then
! 6599: if test -s conftest.err; then
! 6600: ac_cpp_err=$ac_c_preproc_warn_flag
! 6601: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 6602: else
! 6603: ac_cpp_err=
! 6604: fi
! 6605: else
! 6606: ac_cpp_err=yes
1.11 paf 6607: fi
1.25 ! moko 6608: if test -z "$ac_cpp_err"; then
! 6609: :
! 6610: else
! 6611: echo "$as_me: failed program was:" >&5
! 6612: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6613:
1.25 ! moko 6614: # Broken: fails on valid input.
! 6615: continue
! 6616: fi
! 6617: rm -f conftest.err conftest.$ac_ext
1.11 paf 6618:
1.25 ! moko 6619: # OK, works on sane cases. Now check whether non-existent headers
! 6620: # can be detected and how.
! 6621: cat >conftest.$ac_ext <<_ACEOF
! 6622: /* confdefs.h. */
! 6623: _ACEOF
! 6624: cat confdefs.h >>conftest.$ac_ext
! 6625: cat >>conftest.$ac_ext <<_ACEOF
! 6626: /* end confdefs.h. */
! 6627: #include <ac_nonexistent.h>
! 6628: _ACEOF
! 6629: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6630: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6631: ac_status=$?
! 6632: grep -v '^ *+' conftest.er1 >conftest.err
! 6633: rm -f conftest.er1
! 6634: cat conftest.err >&5
! 6635: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6636: (exit $ac_status); } >/dev/null; then
! 6637: if test -s conftest.err; then
! 6638: ac_cpp_err=$ac_c_preproc_warn_flag
! 6639: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11 paf 6640: else
1.25 ! moko 6641: ac_cpp_err=
1.11 paf 6642: fi
6643: else
1.25 ! moko 6644: ac_cpp_err=yes
1.11 paf 6645: fi
1.25 ! moko 6646: if test -z "$ac_cpp_err"; then
! 6647: # Broken: success on invalid input.
! 6648: continue
! 6649: else
! 6650: echo "$as_me: failed program was:" >&5
! 6651: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6652:
1.25 ! moko 6653: # Passes both tests.
! 6654: ac_preproc_ok=:
! 6655: break
1.11 paf 6656: fi
1.25 ! moko 6657: rm -f conftest.err conftest.$ac_ext
1.11 paf 6658:
1.25 ! moko 6659: done
! 6660: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6661: rm -f conftest.err conftest.$ac_ext
! 6662: if $ac_preproc_ok; then
! 6663: break
! 6664: fi
1.11 paf 6665:
1.25 ! moko 6666: done
! 6667: ac_cv_prog_CPP=$CPP
1.11 paf 6668:
1.25 ! moko 6669: fi
! 6670: CPP=$ac_cv_prog_CPP
! 6671: else
! 6672: ac_cv_prog_CPP=$CPP
! 6673: fi
! 6674: echo "$as_me:$LINENO: result: $CPP" >&5
! 6675: echo "${ECHO_T}$CPP" >&6
! 6676: ac_preproc_ok=false
! 6677: for ac_c_preproc_warn_flag in '' yes
! 6678: do
! 6679: # Use a header file that comes with gcc, so configuring glibc
! 6680: # with a fresh cross-compiler works.
! 6681: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6682: # <limits.h> exists even on freestanding compilers.
! 6683: # On the NeXT, cc -E runs the code through the compiler's parser,
! 6684: # not just through cpp. "Syntax error" is here to catch this case.
! 6685: cat >conftest.$ac_ext <<_ACEOF
! 6686: /* confdefs.h. */
! 6687: _ACEOF
! 6688: cat confdefs.h >>conftest.$ac_ext
! 6689: cat >>conftest.$ac_ext <<_ACEOF
! 6690: /* end confdefs.h. */
! 6691: #ifdef __STDC__
! 6692: # include <limits.h>
! 6693: #else
! 6694: # include <assert.h>
! 6695: #endif
! 6696: Syntax error
! 6697: _ACEOF
! 6698: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6699: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6700: ac_status=$?
! 6701: grep -v '^ *+' conftest.er1 >conftest.err
! 6702: rm -f conftest.er1
! 6703: cat conftest.err >&5
! 6704: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6705: (exit $ac_status); } >/dev/null; then
! 6706: if test -s conftest.err; then
! 6707: ac_cpp_err=$ac_c_preproc_warn_flag
! 6708: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 6709: else
! 6710: ac_cpp_err=
! 6711: fi
! 6712: else
! 6713: ac_cpp_err=yes
! 6714: fi
! 6715: if test -z "$ac_cpp_err"; then
! 6716: :
! 6717: else
! 6718: echo "$as_me: failed program was:" >&5
! 6719: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6720:
1.25 ! moko 6721: # Broken: fails on valid input.
! 6722: continue
! 6723: fi
! 6724: rm -f conftest.err conftest.$ac_ext
1.11 paf 6725:
1.25 ! moko 6726: # OK, works on sane cases. Now check whether non-existent headers
! 6727: # can be detected and how.
! 6728: cat >conftest.$ac_ext <<_ACEOF
! 6729: /* confdefs.h. */
! 6730: _ACEOF
! 6731: cat confdefs.h >>conftest.$ac_ext
! 6732: cat >>conftest.$ac_ext <<_ACEOF
! 6733: /* end confdefs.h. */
! 6734: #include <ac_nonexistent.h>
! 6735: _ACEOF
! 6736: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6737: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6738: ac_status=$?
! 6739: grep -v '^ *+' conftest.er1 >conftest.err
! 6740: rm -f conftest.er1
! 6741: cat conftest.err >&5
! 6742: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6743: (exit $ac_status); } >/dev/null; then
! 6744: if test -s conftest.err; then
! 6745: ac_cpp_err=$ac_c_preproc_warn_flag
! 6746: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11 paf 6747: else
1.25 ! moko 6748: ac_cpp_err=
1.11 paf 6749: fi
1.25 ! moko 6750: else
! 6751: ac_cpp_err=yes
! 6752: fi
! 6753: if test -z "$ac_cpp_err"; then
! 6754: # Broken: success on invalid input.
! 6755: continue
! 6756: else
! 6757: echo "$as_me: failed program was:" >&5
! 6758: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6759:
1.25 ! moko 6760: # Passes both tests.
! 6761: ac_preproc_ok=:
! 6762: break
! 6763: fi
! 6764: rm -f conftest.err conftest.$ac_ext
1.11 paf 6765:
1.25 ! moko 6766: done
! 6767: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6768: rm -f conftest.err conftest.$ac_ext
! 6769: if $ac_preproc_ok; then
! 6770: :
! 6771: else
! 6772: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 6773: See \`config.log' for more details." >&5
! 6774: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 6775: See \`config.log' for more details." >&2;}
! 6776: { (exit 1); exit 1; }; }
! 6777: fi
1.11 paf 6778:
1.25 ! moko 6779: ac_ext=c
! 6780: ac_cpp='$CPP $CPPFLAGS'
! 6781: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6782: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6783: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11 paf 6784:
6785:
1.25 ! moko 6786: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 6787: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 6788: if test "${ac_cv_header_stdc+set}" = set; then
! 6789: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6790: else
! 6791: cat >conftest.$ac_ext <<_ACEOF
! 6792: /* confdefs.h. */
! 6793: _ACEOF
! 6794: cat confdefs.h >>conftest.$ac_ext
! 6795: cat >>conftest.$ac_ext <<_ACEOF
! 6796: /* end confdefs.h. */
! 6797: #include <stdlib.h>
! 6798: #include <stdarg.h>
! 6799: #include <string.h>
! 6800: #include <float.h>
1.11 paf 6801:
1.25 ! moko 6802: int
! 6803: main ()
! 6804: {
1.11 paf 6805:
1.25 ! moko 6806: ;
! 6807: return 0;
! 6808: }
! 6809: _ACEOF
! 6810: rm -f conftest.$ac_objext
! 6811: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6812: (eval $ac_compile) 2>conftest.er1
! 6813: ac_status=$?
! 6814: grep -v '^ *+' conftest.er1 >conftest.err
! 6815: rm -f conftest.er1
! 6816: cat conftest.err >&5
! 6817: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6818: (exit $ac_status); } &&
! 6819: { ac_try='test -z "$ac_c_werror_flag"
! 6820: || test ! -s conftest.err'
! 6821: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6822: (eval $ac_try) 2>&5
! 6823: ac_status=$?
! 6824: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6825: (exit $ac_status); }; } &&
! 6826: { ac_try='test -s conftest.$ac_objext'
! 6827: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6828: (eval $ac_try) 2>&5
! 6829: ac_status=$?
! 6830: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6831: (exit $ac_status); }; }; then
! 6832: ac_cv_header_stdc=yes
! 6833: else
! 6834: echo "$as_me: failed program was:" >&5
! 6835: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6836:
1.25 ! moko 6837: ac_cv_header_stdc=no
! 6838: fi
! 6839: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 6840:
1.25 ! moko 6841: if test $ac_cv_header_stdc = yes; then
! 6842: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 6843: cat >conftest.$ac_ext <<_ACEOF
! 6844: /* confdefs.h. */
! 6845: _ACEOF
! 6846: cat confdefs.h >>conftest.$ac_ext
! 6847: cat >>conftest.$ac_ext <<_ACEOF
! 6848: /* end confdefs.h. */
! 6849: #include <string.h>
1.11 paf 6850:
1.25 ! moko 6851: _ACEOF
! 6852: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6853: $EGREP "memchr" >/dev/null 2>&1; then
! 6854: :
! 6855: else
! 6856: ac_cv_header_stdc=no
! 6857: fi
! 6858: rm -f conftest*
1.11 paf 6859:
1.25 ! moko 6860: fi
1.11 paf 6861:
1.25 ! moko 6862: if test $ac_cv_header_stdc = yes; then
! 6863: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 6864: cat >conftest.$ac_ext <<_ACEOF
! 6865: /* confdefs.h. */
! 6866: _ACEOF
! 6867: cat confdefs.h >>conftest.$ac_ext
! 6868: cat >>conftest.$ac_ext <<_ACEOF
! 6869: /* end confdefs.h. */
! 6870: #include <stdlib.h>
1.11 paf 6871:
1.25 ! moko 6872: _ACEOF
! 6873: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6874: $EGREP "free" >/dev/null 2>&1; then
! 6875: :
! 6876: else
! 6877: ac_cv_header_stdc=no
! 6878: fi
! 6879: rm -f conftest*
1.11 paf 6880:
1.25 ! moko 6881: fi
1.11 paf 6882:
1.25 ! moko 6883: if test $ac_cv_header_stdc = yes; then
! 6884: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 6885: if test "$cross_compiling" = yes; then
! 6886: :
! 6887: else
! 6888: cat >conftest.$ac_ext <<_ACEOF
! 6889: /* confdefs.h. */
! 6890: _ACEOF
! 6891: cat confdefs.h >>conftest.$ac_ext
! 6892: cat >>conftest.$ac_ext <<_ACEOF
! 6893: /* end confdefs.h. */
! 6894: #include <ctype.h>
! 6895: #if ((' ' & 0x0FF) == 0x020)
! 6896: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 6897: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 6898: #else
! 6899: # define ISLOWER(c) \
! 6900: (('a' <= (c) && (c) <= 'i') \
! 6901: || ('j' <= (c) && (c) <= 'r') \
! 6902: || ('s' <= (c) && (c) <= 'z'))
! 6903: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 6904: #endif
1.11 paf 6905:
1.25 ! moko 6906: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 6907: int
! 6908: main ()
! 6909: {
! 6910: int i;
! 6911: for (i = 0; i < 256; i++)
! 6912: if (XOR (islower (i), ISLOWER (i))
! 6913: || toupper (i) != TOUPPER (i))
! 6914: exit(2);
! 6915: exit (0);
! 6916: }
! 6917: _ACEOF
! 6918: rm -f conftest$ac_exeext
! 6919: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6920: (eval $ac_link) 2>&5
! 6921: ac_status=$?
! 6922: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6923: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 6924: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6925: (eval $ac_try) 2>&5
! 6926: ac_status=$?
! 6927: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6928: (exit $ac_status); }; }; then
! 6929: :
! 6930: else
! 6931: echo "$as_me: program exited with status $ac_status" >&5
! 6932: echo "$as_me: failed program was:" >&5
! 6933: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 6934:
1.25 ! moko 6935: ( exit $ac_status )
! 6936: ac_cv_header_stdc=no
! 6937: fi
! 6938: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 6939: fi
! 6940: fi
! 6941: fi
! 6942: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 6943: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 6944: if test $ac_cv_header_stdc = yes; then
1.11 paf 6945:
1.25 ! moko 6946: cat >>confdefs.h <<\_ACEOF
! 6947: #define STDC_HEADERS 1
! 6948: _ACEOF
1.11 paf 6949:
1.25 ! moko 6950: fi
1.11 paf 6951:
1.25 ! moko 6952: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.11 paf 6953:
6954:
6955:
6956:
6957:
6958:
6959:
6960:
6961:
1.25 ! moko 6962: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 6963: inttypes.h stdint.h unistd.h
! 6964: do
! 6965: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6966: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6967: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 6968: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 6969: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6970: else
! 6971: cat >conftest.$ac_ext <<_ACEOF
! 6972: /* confdefs.h. */
! 6973: _ACEOF
! 6974: cat confdefs.h >>conftest.$ac_ext
! 6975: cat >>conftest.$ac_ext <<_ACEOF
! 6976: /* end confdefs.h. */
! 6977: $ac_includes_default
1.11 paf 6978:
1.25 ! moko 6979: #include <$ac_header>
1.11 paf 6980: _ACEOF
1.25 ! moko 6981: rm -f conftest.$ac_objext
! 6982: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6983: (eval $ac_compile) 2>conftest.er1
1.11 paf 6984: ac_status=$?
1.18 paf 6985: grep -v '^ *+' conftest.er1 >conftest.err
6986: rm -f conftest.er1
6987: cat conftest.err >&5
1.11 paf 6988: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989: (exit $ac_status); } &&
1.18 paf 6990: { ac_try='test -z "$ac_c_werror_flag"
6991: || test ! -s conftest.err'
6992: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993: (eval $ac_try) 2>&5
6994: ac_status=$?
6995: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996: (exit $ac_status); }; } &&
1.25 ! moko 6997: { ac_try='test -s conftest.$ac_objext'
1.11 paf 6998: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999: (eval $ac_try) 2>&5
7000: ac_status=$?
7001: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002: (exit $ac_status); }; }; then
1.25 ! moko 7003: eval "$as_ac_Header=yes"
1.11 paf 7004: else
7005: echo "$as_me: failed program was:" >&5
7006: sed 's/^/| /' conftest.$ac_ext >&5
7007:
1.25 ! moko 7008: eval "$as_ac_Header=no"
! 7009: fi
! 7010: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 7011: fi
1.25 ! moko 7012: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 7013: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 7014: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 7015: cat >>confdefs.h <<_ACEOF
! 7016: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 7017: _ACEOF
! 7018:
1.11 paf 7019: fi
1.25 ! moko 7020:
! 7021: done
! 7022:
! 7023:
! 7024:
! 7025: for ac_header in dlfcn.h
! 7026: do
! 7027: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 7028: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 7029: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 7030: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.11 paf 7031: echo $ECHO_N "(cached) $ECHO_C" >&6
7032: else
1.25 ! moko 7033: cat >conftest.$ac_ext <<_ACEOF
1.11 paf 7034: /* confdefs.h. */
7035: _ACEOF
7036: cat confdefs.h >>conftest.$ac_ext
7037: cat >>conftest.$ac_ext <<_ACEOF
7038: /* end confdefs.h. */
1.25 ! moko 7039: $ac_includes_default
1.11 paf 7040:
1.25 ! moko 7041: #include <$ac_header>
1.11 paf 7042: _ACEOF
1.25 ! moko 7043: rm -f conftest.$ac_objext
! 7044: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 7045: (eval $ac_compile) 2>conftest.er1
1.11 paf 7046: ac_status=$?
1.18 paf 7047: grep -v '^ *+' conftest.er1 >conftest.err
7048: rm -f conftest.er1
7049: cat conftest.err >&5
1.11 paf 7050: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051: (exit $ac_status); } &&
1.18 paf 7052: { ac_try='test -z "$ac_c_werror_flag"
7053: || test ! -s conftest.err'
7054: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055: (eval $ac_try) 2>&5
7056: ac_status=$?
7057: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058: (exit $ac_status); }; } &&
1.25 ! moko 7059: { ac_try='test -s conftest.$ac_objext'
1.11 paf 7060: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061: (eval $ac_try) 2>&5
7062: ac_status=$?
7063: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064: (exit $ac_status); }; }; then
1.25 ! moko 7065: eval "$as_ac_Header=yes"
1.11 paf 7066: else
7067: echo "$as_me: failed program was:" >&5
7068: sed 's/^/| /' conftest.$ac_ext >&5
7069:
1.25 ! moko 7070: eval "$as_ac_Header=no"
1.11 paf 7071: fi
1.25 ! moko 7072: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11 paf 7073: fi
1.25 ! moko 7074: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 7075: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 7076: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 7077: cat >>confdefs.h <<_ACEOF
! 7078: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.11 paf 7079: _ACEOF
1.18 paf 7080:
1.25 ! moko 7081: fi
! 7082:
! 7083: done
! 7084:
1.18 paf 7085:
7086:
7087:
1.25 ! moko 7088: func_stripname_cnf ()
1.11 paf 7089: {
1.25 ! moko 7090: case ${2} in
! 7091: .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
! 7092: *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
! 7093: esac
! 7094: } # func_stripname_cnf
! 7095:
! 7096:
! 7097:
! 7098:
! 7099:
! 7100: # Set options
! 7101: enable_dlopen=yes
! 7102: enable_win32_dll=yes
! 7103:
! 7104: case $host in
! 7105: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
! 7106: if test -n "$ac_tool_prefix"; then
! 7107: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
! 7108: set dummy ${ac_tool_prefix}as; ac_word=$2
! 7109: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7110: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7111: if test "${ac_cv_prog_AS+set}" = set; then
! 7112: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7113: else
! 7114: if test -n "$AS"; then
! 7115: ac_cv_prog_AS="$AS" # Let the user override the test.
! 7116: else
! 7117: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7118: for as_dir in $PATH
! 7119: do
! 7120: IFS=$as_save_IFS
! 7121: test -z "$as_dir" && as_dir=.
! 7122: for ac_exec_ext in '' $ac_executable_extensions; do
! 7123: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7124: ac_cv_prog_AS="${ac_tool_prefix}as"
! 7125: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7126: break 2
! 7127: fi
! 7128: done
! 7129: done
1.11 paf 7130:
1.25 ! moko 7131: fi
! 7132: fi
! 7133: AS=$ac_cv_prog_AS
! 7134: if test -n "$AS"; then
! 7135: echo "$as_me:$LINENO: result: $AS" >&5
! 7136: echo "${ECHO_T}$AS" >&6
! 7137: else
! 7138: echo "$as_me:$LINENO: result: no" >&5
! 7139: echo "${ECHO_T}no" >&6
! 7140: fi
! 7141:
! 7142: fi
! 7143: if test -z "$ac_cv_prog_AS"; then
! 7144: ac_ct_AS=$AS
! 7145: # Extract the first word of "as", so it can be a program name with args.
! 7146: set dummy as; ac_word=$2
! 7147: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7148: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7149: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
! 7150: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7151: else
! 7152: if test -n "$ac_ct_AS"; then
! 7153: ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
1.11 paf 7154: else
1.25 ! moko 7155: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7156: for as_dir in $PATH
! 7157: do
! 7158: IFS=$as_save_IFS
! 7159: test -z "$as_dir" && as_dir=.
! 7160: for ac_exec_ext in '' $ac_executable_extensions; do
! 7161: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7162: ac_cv_prog_ac_ct_AS="as"
! 7163: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7164: break 2
! 7165: fi
! 7166: done
! 7167: done
1.11 paf 7168:
1.25 ! moko 7169: test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
! 7170: fi
1.11 paf 7171: fi
1.25 ! moko 7172: ac_ct_AS=$ac_cv_prog_ac_ct_AS
! 7173: if test -n "$ac_ct_AS"; then
! 7174: echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
! 7175: echo "${ECHO_T}$ac_ct_AS" >&6
! 7176: else
! 7177: echo "$as_me:$LINENO: result: no" >&5
! 7178: echo "${ECHO_T}no" >&6
1.11 paf 7179: fi
1.25 ! moko 7180:
! 7181: AS=$ac_ct_AS
1.11 paf 7182: else
1.25 ! moko 7183: AS="$ac_cv_prog_AS"
! 7184: fi
! 7185:
! 7186: if test -n "$ac_tool_prefix"; then
! 7187: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 7188: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 7189: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7190: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7191: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
1.11 paf 7192: echo $ECHO_N "(cached) $ECHO_C" >&6
7193: else
1.25 ! moko 7194: if test -n "$DLLTOOL"; then
! 7195: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.11 paf 7196: else
1.25 ! moko 7197: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7198: for as_dir in $PATH
! 7199: do
! 7200: IFS=$as_save_IFS
! 7201: test -z "$as_dir" && as_dir=.
! 7202: for ac_exec_ext in '' $ac_executable_extensions; do
! 7203: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7204: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 7205: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7206: break 2
! 7207: fi
! 7208: done
! 7209: done
1.11 paf 7210:
7211: fi
7212: fi
1.25 ! moko 7213: DLLTOOL=$ac_cv_prog_DLLTOOL
! 7214: if test -n "$DLLTOOL"; then
! 7215: echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 7216: echo "${ECHO_T}$DLLTOOL" >&6
1.11 paf 7217: else
1.25 ! moko 7218: echo "$as_me:$LINENO: result: no" >&5
! 7219: echo "${ECHO_T}no" >&6
! 7220: fi
! 7221:
! 7222: fi
! 7223: if test -z "$ac_cv_prog_DLLTOOL"; then
! 7224: ac_ct_DLLTOOL=$DLLTOOL
! 7225: # Extract the first word of "dlltool", so it can be a program name with args.
! 7226: set dummy dlltool; ac_word=$2
! 7227: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7228: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7229: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.11 paf 7230: echo $ECHO_N "(cached) $ECHO_C" >&6
7231: else
1.25 ! moko 7232: if test -n "$ac_ct_DLLTOOL"; then
! 7233: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.11 paf 7234: else
1.25 ! moko 7235: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7236: for as_dir in $PATH
! 7237: do
! 7238: IFS=$as_save_IFS
! 7239: test -z "$as_dir" && as_dir=.
! 7240: for ac_exec_ext in '' $ac_executable_extensions; do
! 7241: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7242: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 7243: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7244: break 2
! 7245: fi
! 7246: done
! 7247: done
1.11 paf 7248:
1.25 ! moko 7249: test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
! 7250: fi
1.11 paf 7251: fi
1.25 ! moko 7252: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 7253: if test -n "$ac_ct_DLLTOOL"; then
! 7254: echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 7255: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
! 7256: else
! 7257: echo "$as_me:$LINENO: result: no" >&5
! 7258: echo "${ECHO_T}no" >&6
1.11 paf 7259: fi
1.25 ! moko 7260:
! 7261: DLLTOOL=$ac_ct_DLLTOOL
1.11 paf 7262: else
1.25 ! moko 7263: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 7264: fi
! 7265:
! 7266: if test -n "$ac_tool_prefix"; then
! 7267: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 7268: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 7269: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7270: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7271: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
1.11 paf 7272: echo $ECHO_N "(cached) $ECHO_C" >&6
7273: else
1.25 ! moko 7274: if test -n "$OBJDUMP"; then
! 7275: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 7276: else
! 7277: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7278: for as_dir in $PATH
! 7279: do
! 7280: IFS=$as_save_IFS
! 7281: test -z "$as_dir" && as_dir=.
! 7282: for ac_exec_ext in '' $ac_executable_extensions; do
! 7283: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7284: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 7285: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7286: break 2
! 7287: fi
! 7288: done
! 7289: done
! 7290:
! 7291: fi
! 7292: fi
! 7293: OBJDUMP=$ac_cv_prog_OBJDUMP
! 7294: if test -n "$OBJDUMP"; then
! 7295: echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 7296: echo "${ECHO_T}$OBJDUMP" >&6
! 7297: else
! 7298: echo "$as_me:$LINENO: result: no" >&5
! 7299: echo "${ECHO_T}no" >&6
! 7300: fi
1.11 paf 7301:
1.25 ! moko 7302: fi
! 7303: if test -z "$ac_cv_prog_OBJDUMP"; then
! 7304: ac_ct_OBJDUMP=$OBJDUMP
! 7305: # Extract the first word of "objdump", so it can be a program name with args.
! 7306: set dummy objdump; ac_word=$2
! 7307: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7308: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7309: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 7310: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7311: else
! 7312: if test -n "$ac_ct_OBJDUMP"; then
! 7313: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.11 paf 7314: else
1.25 ! moko 7315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7316: for as_dir in $PATH
! 7317: do
! 7318: IFS=$as_save_IFS
! 7319: test -z "$as_dir" && as_dir=.
! 7320: for ac_exec_ext in '' $ac_executable_extensions; do
! 7321: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7322: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 7323: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7324: break 2
! 7325: fi
! 7326: done
! 7327: done
1.11 paf 7328:
1.25 ! moko 7329: test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
! 7330: fi
1.11 paf 7331: fi
1.25 ! moko 7332: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 7333: if test -n "$ac_ct_OBJDUMP"; then
! 7334: echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 7335: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
! 7336: else
! 7337: echo "$as_me:$LINENO: result: no" >&5
! 7338: echo "${ECHO_T}no" >&6
1.11 paf 7339: fi
1.25 ! moko 7340:
! 7341: OBJDUMP=$ac_ct_OBJDUMP
! 7342: else
! 7343: OBJDUMP="$ac_cv_prog_OBJDUMP"
1.11 paf 7344: fi
7345:
1.25 ! moko 7346: ;;
! 7347: esac
! 7348:
! 7349: test -z "$AS" && AS=as
! 7350:
1.11 paf 7351:
7352:
7353:
7354:
1.25 ! moko 7355: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.11 paf 7356:
7357:
7358:
7359:
7360:
1.25 ! moko 7361: test -z "$OBJDUMP" && OBJDUMP=objdump
1.11 paf 7362:
7363:
7364:
7365:
7366:
7367:
7368:
7369:
7370:
1.25 ! moko 7371: # Check whether --enable-shared or --disable-shared was given.
! 7372: if test "${enable_shared+set}" = set; then
! 7373: enableval="$enable_shared"
! 7374: p=${PACKAGE-default}
! 7375: case $enableval in
! 7376: yes) enable_shared=yes ;;
! 7377: no) enable_shared=no ;;
! 7378: *)
! 7379: enable_shared=no
! 7380: # Look at the argument we got. We use all the common list separators.
! 7381: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7382: for pkg in $enableval; do
! 7383: IFS="$lt_save_ifs"
! 7384: if test "X$pkg" = "X$p"; then
! 7385: enable_shared=yes
! 7386: fi
! 7387: done
! 7388: IFS="$lt_save_ifs"
! 7389: ;;
! 7390: esac
! 7391: else
! 7392: enable_shared=yes
! 7393: fi;
1.11 paf 7394:
7395:
7396:
7397:
7398:
7399:
7400:
7401:
1.25 ! moko 7402: # Check whether --enable-static or --disable-static was given.
! 7403: if test "${enable_static+set}" = set; then
! 7404: enableval="$enable_static"
! 7405: p=${PACKAGE-default}
! 7406: case $enableval in
! 7407: yes) enable_static=yes ;;
! 7408: no) enable_static=no ;;
! 7409: *)
! 7410: enable_static=no
! 7411: # Look at the argument we got. We use all the common list separators.
! 7412: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7413: for pkg in $enableval; do
! 7414: IFS="$lt_save_ifs"
! 7415: if test "X$pkg" = "X$p"; then
! 7416: enable_static=yes
! 7417: fi
! 7418: done
! 7419: IFS="$lt_save_ifs"
! 7420: ;;
! 7421: esac
1.11 paf 7422: else
1.25 ! moko 7423: enable_static=yes
! 7424: fi;
! 7425:
1.11 paf 7426:
7427:
7428:
7429:
7430:
7431:
7432:
7433:
1.25 ! moko 7434: # Check whether --with-pic or --without-pic was given.
! 7435: if test "${with_pic+set}" = set; then
! 7436: withval="$with_pic"
! 7437: lt_p=${PACKAGE-default}
! 7438: case $withval in
! 7439: yes|no) pic_mode=$withval ;;
! 7440: *)
! 7441: pic_mode=default
! 7442: # Look at the argument we got. We use all the common list separators.
! 7443: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7444: for lt_pkg in $withval; do
! 7445: IFS="$lt_save_ifs"
! 7446: if test "X$lt_pkg" = "X$lt_p"; then
! 7447: pic_mode=yes
! 7448: fi
! 7449: done
! 7450: IFS="$lt_save_ifs"
! 7451: ;;
1.11 paf 7452: esac
1.25 ! moko 7453: else
! 7454: pic_mode=default
! 7455: fi;
1.11 paf 7456:
1.25 ! moko 7457: test -z "$pic_mode" && pic_mode=default
1.11 paf 7458:
7459:
7460:
7461:
7462:
7463:
7464:
1.25 ! moko 7465: # Check whether --enable-fast-install or --disable-fast-install was given.
! 7466: if test "${enable_fast_install+set}" = set; then
! 7467: enableval="$enable_fast_install"
! 7468: p=${PACKAGE-default}
! 7469: case $enableval in
! 7470: yes) enable_fast_install=yes ;;
! 7471: no) enable_fast_install=no ;;
1.11 paf 7472: *)
1.25 ! moko 7473: enable_fast_install=no
! 7474: # Look at the argument we got. We use all the common list separators.
! 7475: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7476: for pkg in $enableval; do
! 7477: IFS="$lt_save_ifs"
! 7478: if test "X$pkg" = "X$p"; then
! 7479: enable_fast_install=yes
! 7480: fi
! 7481: done
! 7482: IFS="$lt_save_ifs"
1.11 paf 7483: ;;
7484: esac
1.25 ! moko 7485: else
! 7486: enable_fast_install=yes
! 7487: fi;
1.11 paf 7488:
7489:
7490:
7491:
7492:
7493:
7494:
7495:
7496:
7497:
1.25 ! moko 7498: # This can be used to rebuild libtool when needed
! 7499: LIBTOOL_DEPS="$ltmain"
1.11 paf 7500:
1.25 ! moko 7501: # Always use our own libtool.
! 7502: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.11 paf 7503:
7504:
7505:
7506:
7507:
7508:
7509:
7510:
7511:
7512:
7513:
7514:
7515:
7516:
7517:
7518:
7519:
7520:
7521:
7522:
7523:
7524:
7525:
7526:
7527:
7528:
7529:
7530:
7531:
7532:
1.25 ! moko 7533: test -z "$LN_S" && LN_S="ln -s"
1.11 paf 7534:
7535:
7536:
7537:
7538:
7539:
7540:
7541:
7542:
7543:
7544:
7545:
7546:
7547:
1.25 ! moko 7548: if test -n "${ZSH_VERSION+set}" ; then
! 7549: setopt NO_GLOB_SUBST
! 7550: fi
1.11 paf 7551:
1.25 ! moko 7552: echo "$as_me:$LINENO: checking for objdir" >&5
! 7553: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 7554: if test "${lt_cv_objdir+set}" = set; then
! 7555: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7556: else
! 7557: rm -f .libs 2>/dev/null
! 7558: mkdir .libs 2>/dev/null
! 7559: if test -d .libs; then
! 7560: lt_cv_objdir=.libs
! 7561: else
! 7562: # MS-DOS does not allow filenames that begin with a dot.
! 7563: lt_cv_objdir=_libs
! 7564: fi
! 7565: rmdir .libs 2>/dev/null
! 7566: fi
! 7567: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 7568: echo "${ECHO_T}$lt_cv_objdir" >&6
! 7569: objdir=$lt_cv_objdir
1.11 paf 7570:
7571:
7572:
7573:
7574:
1.25 ! moko 7575: cat >>confdefs.h <<_ACEOF
! 7576: #define LT_OBJDIR "$lt_cv_objdir/"
! 7577: _ACEOF
1.11 paf 7578:
7579:
7580:
7581:
1.25 ! moko 7582: case $host_os in
! 7583: aix3*)
! 7584: # AIX sometimes has problems with the GCC collect2 program. For some
! 7585: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 7586: # vanish in a puff of smoke.
! 7587: if test "X${COLLECT_NAMES+set}" != Xset; then
! 7588: COLLECT_NAMES=
! 7589: export COLLECT_NAMES
! 7590: fi
! 7591: ;;
! 7592: esac
1.11 paf 7593:
1.25 ! moko 7594: # Global variables:
! 7595: ofile=libtool
! 7596: can_build_shared=yes
1.11 paf 7597:
1.25 ! moko 7598: # All known linkers require a `.a' archive for static linking (except MSVC,
! 7599: # which needs '.lib').
! 7600: libext=a
1.11 paf 7601:
1.25 ! moko 7602: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.11 paf 7603:
1.25 ! moko 7604: old_CC="$CC"
! 7605: old_CFLAGS="$CFLAGS"
1.11 paf 7606:
1.25 ! moko 7607: # Set sane defaults for various variables
! 7608: test -z "$CC" && CC=cc
! 7609: test -z "$LTCC" && LTCC=$CC
! 7610: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 7611: test -z "$LD" && LD=ld
! 7612: test -z "$ac_objext" && ac_objext=o
1.11 paf 7613:
1.25 ! moko 7614: for cc_temp in $compiler""; do
! 7615: case $cc_temp in
! 7616: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7617: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7618: \-*) ;;
! 7619: *) break;;
! 7620: esac
! 7621: done
! 7622: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.11 paf 7623:
7624:
1.25 ! moko 7625: # Only perform the check for file, if the check method requires it
! 7626: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7627: case $deplibs_check_method in
! 7628: file_magic*)
! 7629: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7630: echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 7631: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! 7632: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7633: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7634: else
! 7635: case $MAGIC_CMD in
! 7636: [\\/*] | ?:[\\/]*)
! 7637: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7638: ;;
! 7639: *)
! 7640: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7641: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7642: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7643: for ac_dir in $ac_dummy; do
! 7644: IFS="$lt_save_ifs"
! 7645: test -z "$ac_dir" && ac_dir=.
! 7646: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7647: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7648: if test -n "$file_magic_test_file"; then
! 7649: case $deplibs_check_method in
! 7650: "file_magic "*)
! 7651: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7652: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7653: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7654: $EGREP "$file_magic_regex" > /dev/null; then
! 7655: :
! 7656: else
! 7657: cat <<_LT_EOF 1>&2
1.11 paf 7658:
1.25 ! moko 7659: *** Warning: the command libtool uses to detect shared libraries,
! 7660: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7661: *** The result is that libtool may fail to recognize shared libraries
! 7662: *** as such. This will affect the creation of libtool libraries that
! 7663: *** depend on shared libraries, but programs linked with such libtool
! 7664: *** libraries will work regardless of this problem. Nevertheless, you
! 7665: *** may want to report the problem to your system manager and/or to
! 7666: *** bug-libtool@gnu.org
1.11 paf 7667:
1.25 ! moko 7668: _LT_EOF
! 7669: fi ;;
! 7670: esac
! 7671: fi
! 7672: break
! 7673: fi
! 7674: done
! 7675: IFS="$lt_save_ifs"
! 7676: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7677: ;;
! 7678: esac
! 7679: fi
1.7 paf 7680:
1.25 ! moko 7681: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7682: if test -n "$MAGIC_CMD"; then
! 7683: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7684: echo "${ECHO_T}$MAGIC_CMD" >&6
! 7685: else
! 7686: echo "$as_me:$LINENO: result: no" >&5
! 7687: echo "${ECHO_T}no" >&6
! 7688: fi
1.7 paf 7689:
7690:
7691:
7692:
7693:
1.25 ! moko 7694: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7695: if test -n "$ac_tool_prefix"; then
! 7696: echo "$as_me:$LINENO: checking for file" >&5
! 7697: echo $ECHO_N "checking for file... $ECHO_C" >&6
! 7698: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7699: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7700: else
! 7701: case $MAGIC_CMD in
! 7702: [\\/*] | ?:[\\/]*)
! 7703: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7704: ;;
! 7705: *)
! 7706: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7707: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7708: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7709: for ac_dir in $ac_dummy; do
! 7710: IFS="$lt_save_ifs"
! 7711: test -z "$ac_dir" && ac_dir=.
! 7712: if test -f $ac_dir/file; then
! 7713: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7714: if test -n "$file_magic_test_file"; then
! 7715: case $deplibs_check_method in
! 7716: "file_magic "*)
! 7717: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7718: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7719: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7720: $EGREP "$file_magic_regex" > /dev/null; then
! 7721: :
! 7722: else
! 7723: cat <<_LT_EOF 1>&2
1.7 paf 7724:
1.25 ! moko 7725: *** Warning: the command libtool uses to detect shared libraries,
! 7726: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7727: *** The result is that libtool may fail to recognize shared libraries
! 7728: *** as such. This will affect the creation of libtool libraries that
! 7729: *** depend on shared libraries, but programs linked with such libtool
! 7730: *** libraries will work regardless of this problem. Nevertheless, you
! 7731: *** may want to report the problem to your system manager and/or to
! 7732: *** bug-libtool@gnu.org
1.7 paf 7733:
1.25 ! moko 7734: _LT_EOF
! 7735: fi ;;
! 7736: esac
! 7737: fi
! 7738: break
! 7739: fi
! 7740: done
! 7741: IFS="$lt_save_ifs"
! 7742: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7743: ;;
! 7744: esac
! 7745: fi
1.7 paf 7746:
1.25 ! moko 7747: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7748: if test -n "$MAGIC_CMD"; then
! 7749: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7750: echo "${ECHO_T}$MAGIC_CMD" >&6
! 7751: else
! 7752: echo "$as_me:$LINENO: result: no" >&5
! 7753: echo "${ECHO_T}no" >&6
1.11 paf 7754: fi
7755:
7756:
1.25 ! moko 7757: else
! 7758: MAGIC_CMD=:
! 7759: fi
1.1 parser 7760: fi
7761:
1.25 ! moko 7762: fi
! 7763: ;;
! 7764: esac
1.1 parser 7765:
1.25 ! moko 7766: # Use C for the default configuration in the libtool script
1.1 parser 7767:
1.25 ! moko 7768: lt_save_CC="$CC"
! 7769: ac_ext=c
! 7770: ac_cpp='$CPP $CPPFLAGS'
! 7771: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7772: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7773: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1 parser 7774:
7775:
1.25 ! moko 7776: # Source file extension for C test sources.
! 7777: ac_ext=c
1.11 paf 7778:
1.25 ! moko 7779: # Object file extension for compiled C test sources.
! 7780: objext=o
! 7781: objext=$objext
1.11 paf 7782:
1.25 ! moko 7783: # Code to be used in simple compile tests
! 7784: lt_simple_compile_test_code="int some_variable = 0;"
1.11 paf 7785:
1.25 ! moko 7786: # Code to be used in simple link tests
! 7787: lt_simple_link_test_code='int main(){return(0);}'
1.11 paf 7788:
7789:
7790:
7791:
7792:
1.1 parser 7793:
7794:
1.25 ! moko 7795: # If no C compiler was specified, use CC.
! 7796: LTCC=${LTCC-"$CC"}
1.1 parser 7797:
1.25 ! moko 7798: # If no C compiler flags were specified, use CFLAGS.
! 7799: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.1 parser 7800:
1.25 ! moko 7801: # Allow CC to be a program name with arguments.
! 7802: compiler=$CC
1.1 parser 7803:
1.25 ! moko 7804: # Save the default compiler, since it gets overwritten when the other
! 7805: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 7806: compiler_DEFAULT=$CC
! 7807:
! 7808: # save warnings/boilerplate of simple test code
! 7809: ac_outfile=conftest.$ac_objext
! 7810: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7811: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7812: _lt_compiler_boilerplate=`cat conftest.err`
! 7813: $RM conftest*
! 7814:
! 7815: ac_outfile=conftest.$ac_objext
! 7816: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7817: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7818: _lt_linker_boilerplate=`cat conftest.err`
! 7819: $RM -r conftest*
! 7820:
! 7821:
! 7822: ## CAVEAT EMPTOR:
! 7823: ## There is no encapsulation within the following macros, do not change
! 7824: ## the running order or otherwise move them around unless you know exactly
! 7825: ## what you are doing...
! 7826: if test -n "$compiler"; then
1.1 parser 7827:
1.25 ! moko 7828: lt_prog_compiler_no_builtin_flag=
1.1 parser 7829:
1.25 ! moko 7830: if test "$GCC" = yes; then
! 7831: case $cc_basename in
! 7832: nvcc*)
! 7833: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
! 7834: *)
! 7835: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
! 7836: esac
1.1 parser 7837:
1.25 ! moko 7838: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7839: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 7840: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.11 paf 7841: echo $ECHO_N "(cached) $ECHO_C" >&6
7842: else
1.25 ! moko 7843: lt_cv_prog_compiler_rtti_exceptions=no
! 7844: ac_outfile=conftest.$ac_objext
! 7845: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7846: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7847: # Insert the option either (1) after the last *FLAGS variable, or
! 7848: # (2) before a word containing "conftest.", or (3) at the end.
! 7849: # Note that $ac_compile itself does not contain backslashes and begins
! 7850: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7851: # The option is referenced via a variable to avoid confusing sed.
! 7852: lt_compile=`echo "$ac_compile" | $SED \
! 7853: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7854: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7855: -e 's:$: $lt_compiler_flag:'`
! 7856: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 7857: (eval "$lt_compile" 2>conftest.err)
! 7858: ac_status=$?
! 7859: cat conftest.err >&5
! 7860: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7861: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7862: # The compiler can only warn and ignore the option if not recognized
! 7863: # So say no if there are warnings other than the usual output.
! 7864: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 7865: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7866: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7867: lt_cv_prog_compiler_rtti_exceptions=yes
! 7868: fi
! 7869: fi
! 7870: $RM conftest*
1.11 paf 7871:
7872: fi
1.25 ! moko 7873: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7874: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.11 paf 7875:
1.25 ! moko 7876: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7877: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.11 paf 7878: else
1.25 ! moko 7879: :
1.11 paf 7880: fi
7881:
7882: fi
7883:
1.25 ! moko 7884:
! 7885:
! 7886:
! 7887:
! 7888:
! 7889: lt_prog_compiler_wl=
! 7890: lt_prog_compiler_pic=
! 7891: lt_prog_compiler_static=
! 7892:
! 7893:
! 7894: if test "$GCC" = yes; then
! 7895: lt_prog_compiler_wl='-Wl,'
! 7896: lt_prog_compiler_static='-static'
! 7897:
! 7898: case $host_os in
! 7899: aix*)
! 7900: # All AIX code is PIC.
! 7901: if test "$host_cpu" = ia64; then
! 7902: # AIX 5 now supports IA64 processor
! 7903: lt_prog_compiler_static='-Bstatic'
! 7904: fi
! 7905: ;;
! 7906:
! 7907: amigaos*)
! 7908: case $host_cpu in
! 7909: powerpc)
! 7910: # see comment about AmigaOS4 .so support
! 7911: lt_prog_compiler_pic='-fPIC'
! 7912: ;;
! 7913: m68k)
! 7914: # FIXME: we need at least 68020 code to build shared libraries, but
! 7915: # adding the `-m68020' flag to GCC prevents building anything better,
! 7916: # like `-m68040'.
! 7917: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7918: ;;
! 7919: esac
! 7920: ;;
! 7921:
! 7922: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7923: # PIC is the default for these OSes.
! 7924: ;;
! 7925:
! 7926: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7927: # This hack is so that the source file can tell whether it is being
! 7928: # built for inclusion in a dll (and should export symbols for example).
! 7929: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7930: # (--disable-auto-import) libraries
! 7931: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7932: ;;
! 7933:
! 7934: darwin* | rhapsody*)
! 7935: # PIC is the default on this platform
! 7936: # Common symbols not allowed in MH_DYLIB files
! 7937: lt_prog_compiler_pic='-fno-common'
! 7938: ;;
! 7939:
! 7940: haiku*)
! 7941: # PIC is the default for Haiku.
! 7942: # The "-static" flag exists, but is broken.
! 7943: lt_prog_compiler_static=
! 7944: ;;
! 7945:
! 7946: hpux*)
! 7947: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 7948: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 7949: # sets the default TLS model and affects inlining.
! 7950: case $host_cpu in
! 7951: hppa*64*)
! 7952: # +Z the default
! 7953: ;;
! 7954: *)
! 7955: lt_prog_compiler_pic='-fPIC'
! 7956: ;;
! 7957: esac
! 7958: ;;
! 7959:
! 7960: interix[3-9]*)
! 7961: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7962: # Instead, we relocate shared libraries at runtime.
! 7963: ;;
! 7964:
! 7965: msdosdjgpp*)
! 7966: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7967: # on systems that don't support them.
! 7968: lt_prog_compiler_can_build_shared=no
! 7969: enable_shared=no
! 7970: ;;
! 7971:
! 7972: *nto* | *qnx*)
! 7973: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7974: # it will coredump.
! 7975: lt_prog_compiler_pic='-fPIC -shared'
! 7976: ;;
! 7977:
! 7978: sysv4*MP*)
! 7979: if test -d /usr/nec; then
! 7980: lt_prog_compiler_pic=-Kconform_pic
! 7981: fi
! 7982: ;;
! 7983:
! 7984: *)
! 7985: lt_prog_compiler_pic='-fPIC'
! 7986: ;;
! 7987: esac
! 7988:
! 7989: case $cc_basename in
! 7990: nvcc*) # Cuda Compiler Driver 2.2
! 7991: lt_prog_compiler_wl='-Xlinker '
! 7992: if test -n "$lt_prog_compiler_pic"; then
! 7993: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
! 7994: fi
! 7995: ;;
! 7996: esac
! 7997: else
! 7998: # PORTME Check for flag to pass linker flags through the system compiler.
! 7999: case $host_os in
! 8000: aix*)
! 8001: lt_prog_compiler_wl='-Wl,'
! 8002: if test "$host_cpu" = ia64; then
! 8003: # AIX 5 now supports IA64 processor
! 8004: lt_prog_compiler_static='-Bstatic'
! 8005: else
! 8006: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 8007: fi
! 8008: ;;
! 8009:
! 8010: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 8011: # This hack is so that the source file can tell whether it is being
! 8012: # built for inclusion in a dll (and should export symbols for example).
! 8013: lt_prog_compiler_pic='-DDLL_EXPORT'
! 8014: ;;
! 8015:
! 8016: hpux9* | hpux10* | hpux11*)
! 8017: lt_prog_compiler_wl='-Wl,'
! 8018: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 8019: # not for PA HP-UX.
! 8020: case $host_cpu in
! 8021: hppa*64*|ia64*)
! 8022: # +Z the default
! 8023: ;;
! 8024: *)
! 8025: lt_prog_compiler_pic='+Z'
! 8026: ;;
! 8027: esac
! 8028: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 8029: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 8030: ;;
! 8031:
! 8032: irix5* | irix6* | nonstopux*)
! 8033: lt_prog_compiler_wl='-Wl,'
! 8034: # PIC (with -KPIC) is the default.
! 8035: lt_prog_compiler_static='-non_shared'
! 8036: ;;
! 8037:
! 8038: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 8039: case $cc_basename in
! 8040: # old Intel for x86_64 which still supported -KPIC.
! 8041: ecc*)
! 8042: lt_prog_compiler_wl='-Wl,'
! 8043: lt_prog_compiler_pic='-KPIC'
! 8044: lt_prog_compiler_static='-static'
! 8045: ;;
! 8046: # icc used to be incompatible with GCC.
! 8047: # ICC 10 doesn't accept -KPIC any more.
! 8048: icc* | ifort*)
! 8049: lt_prog_compiler_wl='-Wl,'
! 8050: lt_prog_compiler_pic='-fPIC'
! 8051: lt_prog_compiler_static='-static'
! 8052: ;;
! 8053: # Lahey Fortran 8.1.
! 8054: lf95*)
! 8055: lt_prog_compiler_wl='-Wl,'
! 8056: lt_prog_compiler_pic='--shared'
! 8057: lt_prog_compiler_static='--static'
! 8058: ;;
! 8059: nagfor*)
! 8060: # NAG Fortran compiler
! 8061: lt_prog_compiler_wl='-Wl,-Wl,,'
! 8062: lt_prog_compiler_pic='-PIC'
! 8063: lt_prog_compiler_static='-Bstatic'
! 8064: ;;
! 8065: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
! 8066: # Portland Group compilers (*not* the Pentium gcc compiler,
! 8067: # which looks to be a dead project)
! 8068: lt_prog_compiler_wl='-Wl,'
! 8069: lt_prog_compiler_pic='-fpic'
! 8070: lt_prog_compiler_static='-Bstatic'
! 8071: ;;
! 8072: ccc*)
! 8073: lt_prog_compiler_wl='-Wl,'
! 8074: # All Alpha code is PIC.
! 8075: lt_prog_compiler_static='-non_shared'
! 8076: ;;
! 8077: xl* | bgxl* | bgf* | mpixl*)
! 8078: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
! 8079: lt_prog_compiler_wl='-Wl,'
! 8080: lt_prog_compiler_pic='-qpic'
! 8081: lt_prog_compiler_static='-qstaticlink'
! 8082: ;;
! 8083: *)
! 8084: case `$CC -V 2>&1 | sed 5q` in
! 8085: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
! 8086: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 8087: lt_prog_compiler_pic='-KPIC'
! 8088: lt_prog_compiler_static='-Bstatic'
! 8089: lt_prog_compiler_wl=''
! 8090: ;;
! 8091: *Sun\ F* | *Sun*Fortran*)
! 8092: lt_prog_compiler_pic='-KPIC'
! 8093: lt_prog_compiler_static='-Bstatic'
! 8094: lt_prog_compiler_wl='-Qoption ld '
! 8095: ;;
! 8096: *Sun\ C*)
! 8097: # Sun C 5.9
! 8098: lt_prog_compiler_pic='-KPIC'
! 8099: lt_prog_compiler_static='-Bstatic'
! 8100: lt_prog_compiler_wl='-Wl,'
! 8101: ;;
! 8102: *Intel*\ [CF]*Compiler*)
! 8103: lt_prog_compiler_wl='-Wl,'
! 8104: lt_prog_compiler_pic='-fPIC'
! 8105: lt_prog_compiler_static='-static'
! 8106: ;;
! 8107: *Portland\ Group*)
! 8108: lt_prog_compiler_wl='-Wl,'
! 8109: lt_prog_compiler_pic='-fpic'
! 8110: lt_prog_compiler_static='-Bstatic'
! 8111: ;;
! 8112: esac
! 8113: ;;
! 8114: esac
! 8115: ;;
! 8116:
! 8117: newsos6)
! 8118: lt_prog_compiler_pic='-KPIC'
! 8119: lt_prog_compiler_static='-Bstatic'
! 8120: ;;
! 8121:
! 8122: *nto* | *qnx*)
! 8123: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 8124: # it will coredump.
! 8125: lt_prog_compiler_pic='-fPIC -shared'
! 8126: ;;
! 8127:
! 8128: osf3* | osf4* | osf5*)
! 8129: lt_prog_compiler_wl='-Wl,'
! 8130: # All OSF/1 code is PIC.
! 8131: lt_prog_compiler_static='-non_shared'
! 8132: ;;
! 8133:
! 8134: rdos*)
! 8135: lt_prog_compiler_static='-non_shared'
! 8136: ;;
! 8137:
! 8138: solaris*)
! 8139: lt_prog_compiler_pic='-KPIC'
! 8140: lt_prog_compiler_static='-Bstatic'
! 8141: case $cc_basename in
! 8142: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
! 8143: lt_prog_compiler_wl='-Qoption ld ';;
! 8144: *)
! 8145: lt_prog_compiler_wl='-Wl,';;
! 8146: esac
! 8147: ;;
! 8148:
! 8149: sunos4*)
! 8150: lt_prog_compiler_wl='-Qoption ld '
! 8151: lt_prog_compiler_pic='-PIC'
! 8152: lt_prog_compiler_static='-Bstatic'
! 8153: ;;
! 8154:
! 8155: sysv4 | sysv4.2uw2* | sysv4.3*)
! 8156: lt_prog_compiler_wl='-Wl,'
! 8157: lt_prog_compiler_pic='-KPIC'
! 8158: lt_prog_compiler_static='-Bstatic'
! 8159: ;;
! 8160:
! 8161: sysv4*MP*)
! 8162: if test -d /usr/nec ;then
! 8163: lt_prog_compiler_pic='-Kconform_pic'
! 8164: lt_prog_compiler_static='-Bstatic'
! 8165: fi
! 8166: ;;
! 8167:
! 8168: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 8169: lt_prog_compiler_wl='-Wl,'
! 8170: lt_prog_compiler_pic='-KPIC'
! 8171: lt_prog_compiler_static='-Bstatic'
! 8172: ;;
! 8173:
! 8174: unicos*)
! 8175: lt_prog_compiler_wl='-Wl,'
! 8176: lt_prog_compiler_can_build_shared=no
! 8177: ;;
! 8178:
! 8179: uts4*)
! 8180: lt_prog_compiler_pic='-pic'
! 8181: lt_prog_compiler_static='-Bstatic'
! 8182: ;;
! 8183:
! 8184: *)
! 8185: lt_prog_compiler_can_build_shared=no
! 8186: ;;
! 8187: esac
! 8188: fi
! 8189:
! 8190: case $host_os in
! 8191: # For platforms which do not support PIC, -DPIC is meaningless:
! 8192: *djgpp*)
! 8193: lt_prog_compiler_pic=
1.11 paf 8194: ;;
1.25 ! moko 8195: *)
! 8196: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.11 paf 8197: ;;
8198: esac
1.25 ! moko 8199:
! 8200: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 8201: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 8202: if test "${lt_cv_prog_compiler_pic+set}" = set; then
! 8203: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8204: else
! 8205: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
! 8206: fi
! 8207: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
! 8208: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
! 8209: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
! 8210:
! 8211: #
! 8212: # Check to make sure the PIC flag actually works.
! 8213: #
! 8214: if test -n "$lt_prog_compiler_pic"; then
! 8215: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 8216: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
! 8217: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
1.11 paf 8218: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 8219: else
1.25 ! moko 8220: lt_cv_prog_compiler_pic_works=no
! 8221: ac_outfile=conftest.$ac_objext
! 8222: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8223: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 8224: # Insert the option either (1) after the last *FLAGS variable, or
! 8225: # (2) before a word containing "conftest.", or (3) at the end.
! 8226: # Note that $ac_compile itself does not contain backslashes and begins
! 8227: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8228: # The option is referenced via a variable to avoid confusing sed.
! 8229: lt_compile=`echo "$ac_compile" | $SED \
! 8230: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8231: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8232: -e 's:$: $lt_compiler_flag:'`
! 8233: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8234: (eval "$lt_compile" 2>conftest.err)
! 8235: ac_status=$?
! 8236: cat conftest.err >&5
! 8237: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8238: if (exit $ac_status) && test -s "$ac_outfile"; then
! 8239: # The compiler can only warn and ignore the option if not recognized
! 8240: # So say no if there are warnings other than the usual output.
! 8241: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 8242: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8243: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 8244: lt_cv_prog_compiler_pic_works=yes
! 8245: fi
! 8246: fi
! 8247: $RM conftest*
! 8248:
1.1 parser 8249: fi
1.25 ! moko 8250: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! 8251: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.11 paf 8252:
1.25 ! moko 8253: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 8254: case $lt_prog_compiler_pic in
! 8255: "" | " "*) ;;
! 8256: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 8257: esac
! 8258: else
! 8259: lt_prog_compiler_pic=
! 8260: lt_prog_compiler_can_build_shared=no
1.1 parser 8261: fi
1.11 paf 8262:
1.1 parser 8263: fi
1.11 paf 8264:
1.1 parser 8265:
8266:
1.4 paf 8267:
8268:
1.11 paf 8269:
8270:
1.4 paf 8271:
8272:
1.25 ! moko 8273:
! 8274:
! 8275: #
! 8276: # Check to make sure the static flag actually works.
! 8277: #
! 8278: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 8279: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 8280: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 8281: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
! 8282: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8283: else
! 8284: lt_cv_prog_compiler_static_works=no
! 8285: save_LDFLAGS="$LDFLAGS"
! 8286: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 8287: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 8288: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 8289: # The linker can only warn and ignore the option if not recognized
! 8290: # So say no if there are warnings
! 8291: if test -s conftest.err; then
! 8292: # Append any errors to the config.log.
! 8293: cat conftest.err 1>&5
! 8294: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 8295: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8296: if diff conftest.exp conftest.er2 >/dev/null; then
! 8297: lt_cv_prog_compiler_static_works=yes
! 8298: fi
! 8299: else
! 8300: lt_cv_prog_compiler_static_works=yes
! 8301: fi
! 8302: fi
! 8303: $RM -r conftest*
! 8304: LDFLAGS="$save_LDFLAGS"
! 8305:
! 8306: fi
! 8307: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! 8308: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
! 8309:
! 8310: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 8311: :
1.4 paf 8312: else
1.25 ! moko 8313: lt_prog_compiler_static=
! 8314: fi
1.11 paf 8315:
8316:
1.25 ! moko 8317:
! 8318:
! 8319:
! 8320:
! 8321:
! 8322: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8323: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 8324: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8325: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8326: else
! 8327: lt_cv_prog_compiler_c_o=no
! 8328: $RM -r conftest 2>/dev/null
! 8329: mkdir conftest
! 8330: cd conftest
! 8331: mkdir out
! 8332: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8333:
! 8334: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8335: # Insert the option either (1) after the last *FLAGS variable, or
! 8336: # (2) before a word containing "conftest.", or (3) at the end.
! 8337: # Note that $ac_compile itself does not contain backslashes and begins
! 8338: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8339: lt_compile=`echo "$ac_compile" | $SED \
! 8340: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8341: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8342: -e 's:$: $lt_compiler_flag:'`
! 8343: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8344: (eval "$lt_compile" 2>out/conftest.err)
! 8345: ac_status=$?
! 8346: cat out/conftest.err >&5
! 8347: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8348: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8349: then
! 8350: # The compiler can only warn and ignore the option if not recognized
! 8351: # So say no if there are warnings
! 8352: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8353: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8354: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8355: lt_cv_prog_compiler_c_o=yes
! 8356: fi
! 8357: fi
! 8358: chmod u+w . 2>&5
! 8359: $RM conftest*
! 8360: # SGI C++ compiler will create directory out/ii_files/ for
! 8361: # template instantiation
! 8362: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8363: $RM out/* && rmdir out
! 8364: cd ..
! 8365: $RM -r conftest
! 8366: $RM conftest*
! 8367:
! 8368: fi
! 8369: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8370: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
! 8371:
! 8372:
! 8373:
! 8374:
! 8375:
! 8376:
! 8377: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8378: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 8379: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8380: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8381: else
! 8382: lt_cv_prog_compiler_c_o=no
! 8383: $RM -r conftest 2>/dev/null
! 8384: mkdir conftest
! 8385: cd conftest
! 8386: mkdir out
! 8387: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8388:
! 8389: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8390: # Insert the option either (1) after the last *FLAGS variable, or
! 8391: # (2) before a word containing "conftest.", or (3) at the end.
! 8392: # Note that $ac_compile itself does not contain backslashes and begins
! 8393: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8394: lt_compile=`echo "$ac_compile" | $SED \
! 8395: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8396: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8397: -e 's:$: $lt_compiler_flag:'`
! 8398: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8399: (eval "$lt_compile" 2>out/conftest.err)
! 8400: ac_status=$?
! 8401: cat out/conftest.err >&5
! 8402: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8403: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8404: then
! 8405: # The compiler can only warn and ignore the option if not recognized
! 8406: # So say no if there are warnings
! 8407: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8408: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8409: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8410: lt_cv_prog_compiler_c_o=yes
! 8411: fi
! 8412: fi
! 8413: chmod u+w . 2>&5
! 8414: $RM conftest*
! 8415: # SGI C++ compiler will create directory out/ii_files/ for
! 8416: # template instantiation
! 8417: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8418: $RM out/* && rmdir out
! 8419: cd ..
! 8420: $RM -r conftest
! 8421: $RM conftest*
! 8422:
! 8423: fi
! 8424: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8425: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
! 8426:
! 8427:
! 8428:
! 8429:
! 8430: hard_links="nottested"
! 8431: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 8432: # do not overwrite the value of need_locks provided by the user
! 8433: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 8434: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 8435: hard_links=yes
! 8436: $RM conftest*
! 8437: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8438: touch conftest.a
! 8439: ln conftest.a conftest.b 2>&5 || hard_links=no
! 8440: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8441: echo "$as_me:$LINENO: result: $hard_links" >&5
! 8442: echo "${ECHO_T}$hard_links" >&6
! 8443: if test "$hard_links" = no; then
! 8444: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 8445: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 8446: need_locks=warn
! 8447: fi
! 8448: else
! 8449: need_locks=no
! 8450: fi
! 8451:
! 8452:
! 8453:
! 8454:
! 8455:
! 8456:
! 8457: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 8458: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 8459:
! 8460: runpath_var=
! 8461: allow_undefined_flag=
! 8462: always_export_symbols=no
! 8463: archive_cmds=
! 8464: archive_expsym_cmds=
! 8465: compiler_needs_object=no
! 8466: enable_shared_with_static_runtimes=no
! 8467: export_dynamic_flag_spec=
! 8468: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8469: hardcode_automatic=no
! 8470: hardcode_direct=no
! 8471: hardcode_direct_absolute=no
! 8472: hardcode_libdir_flag_spec=
! 8473: hardcode_libdir_separator=
! 8474: hardcode_minus_L=no
! 8475: hardcode_shlibpath_var=unsupported
! 8476: inherit_rpath=no
! 8477: link_all_deplibs=unknown
! 8478: module_cmds=
! 8479: module_expsym_cmds=
! 8480: old_archive_from_new_cmds=
! 8481: old_archive_from_expsyms_cmds=
! 8482: thread_safe_flag_spec=
! 8483: whole_archive_flag_spec=
! 8484: # include_expsyms should be a list of space-separated symbols to be *always*
! 8485: # included in the symbol list
! 8486: include_expsyms=
! 8487: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8488: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8489: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8490: # as well as any symbol that contains `d'.
! 8491: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8492: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8493: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8494: # the symbol is explicitly referenced. Since portable code cannot
! 8495: # rely on this symbol name, it's probably fine to never include it in
! 8496: # preloaded symbol tables.
! 8497: # Exclude shared library initialization/finalization symbols.
! 8498: extract_expsyms_cmds=
! 8499:
! 8500: case $host_os in
! 8501: cygwin* | mingw* | pw32* | cegcc*)
! 8502: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8503: # When not using gcc, we currently assume that we are using
! 8504: # Microsoft Visual C++.
! 8505: if test "$GCC" != yes; then
! 8506: with_gnu_ld=no
! 8507: fi
! 8508: ;;
! 8509: interix*)
! 8510: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8511: with_gnu_ld=yes
! 8512: ;;
! 8513: openbsd*)
! 8514: with_gnu_ld=no
! 8515: ;;
! 8516: esac
! 8517:
! 8518: ld_shlibs=yes
! 8519:
! 8520: # On some targets, GNU ld is compatible enough with the native linker
! 8521: # that we're better off using the native interface for both.
! 8522: lt_use_gnu_ld_interface=no
! 8523: if test "$with_gnu_ld" = yes; then
! 8524: case $host_os in
! 8525: aix*)
! 8526: # The AIX port of GNU ld has always aspired to compatibility
! 8527: # with the native linker. However, as the warning in the GNU ld
! 8528: # block says, versions before 2.19.5* couldn't really create working
! 8529: # shared libraries, regardless of the interface used.
! 8530: case `$LD -v 2>&1` in
! 8531: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
! 8532: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
! 8533: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
! 8534: *)
! 8535: lt_use_gnu_ld_interface=yes
! 8536: ;;
! 8537: esac
! 8538: ;;
! 8539: *)
! 8540: lt_use_gnu_ld_interface=yes
! 8541: ;;
! 8542: esac
! 8543: fi
! 8544:
! 8545: if test "$lt_use_gnu_ld_interface" = yes; then
! 8546: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8547: wlarc='${wl}'
! 8548:
! 8549: # Set some defaults for GNU ld with shared library support. These
! 8550: # are reset later if shared libraries are not supported. Putting them
! 8551: # here allows them to be overridden if necessary.
! 8552: runpath_var=LD_RUN_PATH
! 8553: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8554: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8555: # ancient GNU ld didn't support --whole-archive et. al.
! 8556: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 8557: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8558: else
! 8559: whole_archive_flag_spec=
! 8560: fi
! 8561: supports_anon_versioning=no
! 8562: case `$LD -v 2>&1` in
! 8563: *GNU\ gold*) supports_anon_versioning=yes ;;
! 8564: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8565: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8566: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8567: *\ 2.11.*) ;; # other 2.11 versions
! 8568: *) supports_anon_versioning=yes ;;
! 8569: esac
! 8570:
! 8571: # See if GNU ld supports shared libraries.
! 8572: case $host_os in
! 8573: aix[3-9]*)
! 8574: # On AIX/PPC, the GNU linker is very broken
! 8575: if test "$host_cpu" != ia64; then
! 8576: ld_shlibs=no
! 8577: cat <<_LT_EOF 1>&2
! 8578:
! 8579: *** Warning: the GNU linker, at least up to release 2.19, is reported
! 8580: *** to be unable to reliably create shared libraries on AIX.
! 8581: *** Therefore, libtool is disabling shared libraries support. If you
! 8582: *** really care for shared libraries, you may want to install binutils
! 8583: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
! 8584: *** You will then need to restart the configuration process.
! 8585:
! 8586: _LT_EOF
! 8587: fi
! 8588: ;;
! 8589:
! 8590: amigaos*)
! 8591: case $host_cpu in
! 8592: powerpc)
! 8593: # see comment about AmigaOS4 .so support
! 8594: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8595: archive_expsym_cmds=''
! 8596: ;;
! 8597: m68k)
! 8598: 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)'
! 8599: hardcode_libdir_flag_spec='-L$libdir'
! 8600: hardcode_minus_L=yes
! 8601: ;;
! 8602: esac
! 8603: ;;
! 8604:
! 8605: beos*)
! 8606: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8607: allow_undefined_flag=unsupported
! 8608: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8609: # support --undefined. This deserves some investigation. FIXME
! 8610: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8611: else
! 8612: ld_shlibs=no
! 8613: fi
! 8614: ;;
! 8615:
! 8616: cygwin* | mingw* | pw32* | cegcc*)
! 8617: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8618: # as there is no search path for DLLs.
! 8619: hardcode_libdir_flag_spec='-L$libdir'
! 8620: export_dynamic_flag_spec='${wl}--export-all-symbols'
! 8621: allow_undefined_flag=unsupported
! 8622: always_export_symbols=no
! 8623: enable_shared_with_static_runtimes=yes
! 8624: 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'
! 8625: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 8626:
! 8627: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 8628: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8629: # If the export-symbols file already is a .def file (1st line
! 8630: # is EXPORTS), use it as is; otherwise, prepend...
! 8631: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8632: cp $export_symbols $output_objdir/$soname.def;
! 8633: else
! 8634: echo EXPORTS > $output_objdir/$soname.def;
! 8635: cat $export_symbols >> $output_objdir/$soname.def;
! 8636: fi~
! 8637: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8638: else
! 8639: ld_shlibs=no
! 8640: fi
! 8641: ;;
! 8642:
! 8643: haiku*)
! 8644: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8645: link_all_deplibs=yes
! 8646: ;;
! 8647:
! 8648: interix[3-9]*)
! 8649: hardcode_direct=no
! 8650: hardcode_shlibpath_var=no
! 8651: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8652: export_dynamic_flag_spec='${wl}-E'
! 8653: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8654: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8655: # default) and relocated if they conflict, which is a slow very memory
! 8656: # consuming and fragmenting process. To avoid this, we pick a random,
! 8657: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8658: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8659: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8660: 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'
! 8661: ;;
! 8662:
! 8663: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
! 8664: tmp_diet=no
! 8665: if test "$host_os" = linux-dietlibc; then
! 8666: case $cc_basename in
! 8667: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 8668: esac
! 8669: fi
! 8670: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 8671: && test "$tmp_diet" = no
! 8672: then
! 8673: tmp_addflag=' $pic_flag'
! 8674: tmp_sharedflag='-shared'
! 8675: case $cc_basename,$host_cpu in
! 8676: pgcc*) # Portland Group C compiler
! 8677: 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'
! 8678: tmp_addflag=' $pic_flag'
! 8679: ;;
! 8680: pgf77* | pgf90* | pgf95* | pgfortran*)
! 8681: # Portland Group f77 and f90 compilers
! 8682: 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'
! 8683: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8684: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8685: tmp_addflag=' -i_dynamic' ;;
! 8686: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8687: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8688: ifc* | ifort*) # Intel Fortran compiler
! 8689: tmp_addflag=' -nofor_main' ;;
! 8690: lf95*) # Lahey Fortran 8.1
! 8691: whole_archive_flag_spec=
! 8692: tmp_sharedflag='--shared' ;;
! 8693: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 8694: tmp_sharedflag='-qmkshrobj'
! 8695: tmp_addflag= ;;
! 8696: nvcc*) # Cuda Compiler Driver 2.2
! 8697: 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'
! 8698: compiler_needs_object=yes
! 8699: ;;
! 8700: esac
! 8701: case `$CC -V 2>&1 | sed 5q` in
! 8702: *Sun\ C*) # Sun C 5.9
! 8703: 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'
! 8704: compiler_needs_object=yes
! 8705: tmp_sharedflag='-G' ;;
! 8706: *Sun\ F*) # Sun Fortran 8.3
! 8707: tmp_sharedflag='-G' ;;
! 8708: esac
! 8709: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8710:
! 8711: if test "x$supports_anon_versioning" = xyes; then
! 8712: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8713: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8714: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8715: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8716: fi
! 8717:
! 8718: case $cc_basename in
! 8719: xlf* | bgf* | bgxlf* | mpixlf*)
! 8720: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 8721: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 8722: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8723: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
! 8724: if test "x$supports_anon_versioning" = xyes; then
! 8725: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8726: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8727: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8728: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 8729: fi
! 8730: ;;
! 8731: esac
! 8732: else
! 8733: ld_shlibs=no
! 8734: fi
! 8735: ;;
! 8736:
! 8737: netbsd*)
! 8738: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8739: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8740: wlarc=
! 8741: else
! 8742: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8743: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8744: fi
! 8745: ;;
! 8746:
! 8747: solaris*)
! 8748: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 8749: ld_shlibs=no
! 8750: cat <<_LT_EOF 1>&2
! 8751:
! 8752: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8753: *** create shared libraries on Solaris systems. Therefore, libtool
! 8754: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8755: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8756: *** your PATH or compiler configuration so that the native linker is
! 8757: *** used, and then restart.
! 8758:
! 8759: _LT_EOF
! 8760: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8761: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8762: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8763: else
! 8764: ld_shlibs=no
! 8765: fi
! 8766: ;;
! 8767:
! 8768: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8769: case `$LD -v 2>&1` in
! 8770: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8771: ld_shlibs=no
! 8772: cat <<_LT_EOF 1>&2
! 8773:
! 8774: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8775: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8776: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8777: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8778: *** your PATH or compiler configuration so that the native linker is
! 8779: *** used, and then restart.
! 8780:
! 8781: _LT_EOF
! 8782: ;;
! 8783: *)
! 8784: # For security reasons, it is highly recommended that you always
! 8785: # use absolute paths for naming shared libraries, and exclude the
! 8786: # DT_RUNPATH tag from executables and libraries. But doing so
! 8787: # requires that you compile everything twice, which is a pain.
! 8788: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8789: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8790: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8791: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8792: else
! 8793: ld_shlibs=no
! 8794: fi
! 8795: ;;
! 8796: esac
! 8797: ;;
! 8798:
! 8799: sunos4*)
! 8800: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8801: wlarc=
! 8802: hardcode_direct=yes
! 8803: hardcode_shlibpath_var=no
! 8804: ;;
! 8805:
! 8806: *)
! 8807: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8808: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8809: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8810: else
! 8811: ld_shlibs=no
! 8812: fi
! 8813: ;;
! 8814: esac
! 8815:
! 8816: if test "$ld_shlibs" = no; then
! 8817: runpath_var=
! 8818: hardcode_libdir_flag_spec=
! 8819: export_dynamic_flag_spec=
! 8820: whole_archive_flag_spec=
! 8821: fi
! 8822: else
! 8823: # PORTME fill in a description of your system's linker (not GNU ld)
! 8824: case $host_os in
! 8825: aix3*)
! 8826: allow_undefined_flag=unsupported
! 8827: always_export_symbols=yes
! 8828: 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'
! 8829: # Note: this linker hardcodes the directories in LIBPATH if there
! 8830: # are no directories specified by -L.
! 8831: hardcode_minus_L=yes
! 8832: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8833: # Neither direct hardcoding nor static linking is supported with a
! 8834: # broken collect2.
! 8835: hardcode_direct=unsupported
! 8836: fi
! 8837: ;;
! 8838:
! 8839: aix[4-9]*)
! 8840: if test "$host_cpu" = ia64; then
! 8841: # On IA64, the linker does run time linking by default, so we don't
! 8842: # have to do anything special.
! 8843: aix_use_runtimelinking=no
! 8844: exp_sym_flag='-Bexport'
! 8845: no_entry_flag=""
! 8846: else
! 8847: # If we're using GNU nm, then we don't want the "-C" option.
! 8848: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8849: # Also, AIX nm treats weak defined symbols like other global
! 8850: # defined symbols, whereas GNU nm marks them as "W".
! 8851: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 8852: 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'
! 8853: else
! 8854: 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'
! 8855: fi
! 8856: aix_use_runtimelinking=no
! 8857:
! 8858: # Test if we are trying to use run time linking or normal
! 8859: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8860: # need to do runtime linking.
! 8861: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8862: for ld_flag in $LDFLAGS; do
! 8863: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8864: aix_use_runtimelinking=yes
! 8865: break
! 8866: fi
! 8867: done
! 8868: ;;
! 8869: esac
! 8870:
! 8871: exp_sym_flag='-bexport'
! 8872: no_entry_flag='-bnoentry'
! 8873: fi
! 8874:
! 8875: # When large executables or shared objects are built, AIX ld can
! 8876: # have problems creating the table of contents. If linking a library
! 8877: # or program results in "error TOC overflow" add -mminimal-toc to
! 8878: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8879: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8880:
! 8881: archive_cmds=''
! 8882: hardcode_direct=yes
! 8883: hardcode_direct_absolute=yes
! 8884: hardcode_libdir_separator=':'
! 8885: link_all_deplibs=yes
! 8886: file_list_spec='${wl}-f,'
! 8887:
! 8888: if test "$GCC" = yes; then
! 8889: case $host_os in aix4.[012]|aix4.[012].*)
! 8890: # We only want to do this on AIX 4.2 and lower, the check
! 8891: # below for broken collect2 doesn't work under 4.3+
! 8892: collect2name=`${CC} -print-prog-name=collect2`
! 8893: if test -f "$collect2name" &&
! 8894: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 8895: then
! 8896: # We have reworked collect2
! 8897: :
! 8898: else
! 8899: # We have old collect2
! 8900: hardcode_direct=unsupported
! 8901: # It fails to find uninstalled libraries when the uninstalled
! 8902: # path is not listed in the libpath. Setting hardcode_minus_L
! 8903: # to unsupported forces relinking
! 8904: hardcode_minus_L=yes
! 8905: hardcode_libdir_flag_spec='-L$libdir'
! 8906: hardcode_libdir_separator=
! 8907: fi
! 8908: ;;
! 8909: esac
! 8910: shared_flag='-shared'
! 8911: if test "$aix_use_runtimelinking" = yes; then
! 8912: shared_flag="$shared_flag "'${wl}-G'
! 8913: fi
! 8914: else
! 8915: # not using gcc
! 8916: if test "$host_cpu" = ia64; then
! 8917: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8918: # chokes on -Wl,-G. The following line is correct:
! 8919: shared_flag='-G'
! 8920: else
! 8921: if test "$aix_use_runtimelinking" = yes; then
! 8922: shared_flag='${wl}-G'
! 8923: else
! 8924: shared_flag='${wl}-bM:SRE'
! 8925: fi
! 8926: fi
! 8927: fi
! 8928:
! 8929: export_dynamic_flag_spec='${wl}-bexpall'
! 8930: # It seems that -bexpall does not export symbols beginning with
! 8931: # underscore (_), so it is better to generate a list of symbols to export.
! 8932: always_export_symbols=yes
! 8933: if test "$aix_use_runtimelinking" = yes; then
! 8934: # Warning - without using the other runtime loading flags (-brtl),
! 8935: # -berok will link without error, but may produce a broken library.
! 8936: allow_undefined_flag='-berok'
! 8937: # Determine the default libpath from the value encoded in an
! 8938: # empty executable.
! 8939: if test "${lt_cv_aix_libpath+set}" = set; then
! 8940: aix_libpath=$lt_cv_aix_libpath
! 8941: else
! 8942: if test "${lt_cv_aix_libpath_+set}" = set; then
! 8943: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8944: else
! 8945: cat >conftest.$ac_ext <<_ACEOF
1.11 paf 8946: /* confdefs.h. */
8947: _ACEOF
8948: cat confdefs.h >>conftest.$ac_ext
8949: cat >>conftest.$ac_ext <<_ACEOF
8950: /* end confdefs.h. */
1.1 parser 8951:
1.11 paf 8952: int
8953: main ()
8954: {
1.1 parser 8955:
1.11 paf 8956: ;
8957: return 0;
8958: }
8959: _ACEOF
1.17 paf 8960: rm -f conftest.$ac_objext conftest$ac_exeext
8961: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18 paf 8962: (eval $ac_link) 2>conftest.er1
1.11 paf 8963: ac_status=$?
1.18 paf 8964: grep -v '^ *+' conftest.er1 >conftest.err
8965: rm -f conftest.er1
8966: cat conftest.err >&5
1.11 paf 8967: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968: (exit $ac_status); } &&
1.18 paf 8969: { ac_try='test -z "$ac_c_werror_flag"
8970: || test ! -s conftest.err'
8971: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972: (eval $ac_try) 2>&5
8973: ac_status=$?
8974: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975: (exit $ac_status); }; } &&
8976: { ac_try='test -s conftest$ac_exeext'
1.11 paf 8977: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978: (eval $ac_try) 2>&5
8979: ac_status=$?
8980: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981: (exit $ac_status); }; }; then
8982:
1.25 ! moko 8983: lt_aix_libpath_sed='
! 8984: /Import File Strings/,/^$/ {
! 8985: /^0/ {
! 8986: s/^0 *\([^ ]*\) *$/\1/
! 8987: p
! 8988: }
! 8989: }'
! 8990: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8991: # Check for a 64-bit object if we didn't find anything.
! 8992: if test -z "$lt_cv_aix_libpath_"; then
! 8993: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8994: fi
1.11 paf 8995: else
8996: echo "$as_me: failed program was:" >&5
8997: sed 's/^/| /' conftest.$ac_ext >&5
8998:
8999: fi
1.18 paf 9000: rm -f conftest.err conftest.$ac_objext \
9001: conftest$ac_exeext conftest.$ac_ext
1.25 ! moko 9002: if test -z "$lt_cv_aix_libpath_"; then
! 9003: lt_cv_aix_libpath_="/usr/lib:/lib"
! 9004: fi
1.11 paf 9005:
9006: fi
9007:
1.25 ! moko 9008: aix_libpath=$lt_cv_aix_libpath_
! 9009: fi
1.11 paf 9010:
1.25 ! moko 9011: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 9012: 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"
! 9013: else
! 9014: if test "$host_cpu" = ia64; then
! 9015: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 9016: allow_undefined_flag="-z nodefs"
! 9017: 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"
! 9018: else
! 9019: # Determine the default libpath from the value encoded in an
! 9020: # empty executable.
! 9021: if test "${lt_cv_aix_libpath+set}" = set; then
! 9022: aix_libpath=$lt_cv_aix_libpath
! 9023: else
! 9024: if test "${lt_cv_aix_libpath_+set}" = set; then
1.11 paf 9025: echo $ECHO_N "(cached) $ECHO_C" >&6
9026: else
9027: cat >conftest.$ac_ext <<_ACEOF
9028: /* confdefs.h. */
9029: _ACEOF
9030: cat confdefs.h >>conftest.$ac_ext
9031: cat >>conftest.$ac_ext <<_ACEOF
9032: /* end confdefs.h. */
1.25 ! moko 9033:
1.11 paf 9034: int
9035: main ()
9036: {
1.25 ! moko 9037:
1.11 paf 9038: ;
9039: return 0;
9040: }
9041: _ACEOF
1.25 ! moko 9042: rm -f conftest.$ac_objext conftest$ac_exeext
! 9043: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9044: (eval $ac_link) 2>conftest.er1
1.11 paf 9045: ac_status=$?
1.18 paf 9046: grep -v '^ *+' conftest.er1 >conftest.err
9047: rm -f conftest.er1
9048: cat conftest.err >&5
1.11 paf 9049: echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050: (exit $ac_status); } &&
1.18 paf 9051: { ac_try='test -z "$ac_c_werror_flag"
9052: || test ! -s conftest.err'
9053: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054: (eval $ac_try) 2>&5
9055: ac_status=$?
9056: echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057: (exit $ac_status); }; } &&
1.25 ! moko 9058: { ac_try='test -s conftest$ac_exeext'
1.11 paf 9059: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060: (eval $ac_try) 2>&5
9061: ac_status=$?
9062: echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063: (exit $ac_status); }; }; then
1.25 ! moko 9064:
! 9065: lt_aix_libpath_sed='
! 9066: /Import File Strings/,/^$/ {
! 9067: /^0/ {
! 9068: s/^0 *\([^ ]*\) *$/\1/
! 9069: p
! 9070: }
! 9071: }'
! 9072: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9073: # Check for a 64-bit object if we didn't find anything.
! 9074: if test -z "$lt_cv_aix_libpath_"; then
! 9075: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9076: fi
1.1 parser 9077: else
1.11 paf 9078: echo "$as_me: failed program was:" >&5
9079: sed 's/^/| /' conftest.$ac_ext >&5
9080:
9081: fi
1.25 ! moko 9082: rm -f conftest.err conftest.$ac_objext \
! 9083: conftest$ac_exeext conftest.$ac_ext
! 9084: if test -z "$lt_cv_aix_libpath_"; then
! 9085: lt_cv_aix_libpath_="/usr/lib:/lib"
! 9086: fi
! 9087:
! 9088: fi
! 9089:
! 9090: aix_libpath=$lt_cv_aix_libpath_
1.1 parser 9091: fi
9092:
1.25 ! moko 9093: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 9094: # Warning - without using the other run time loading flags,
! 9095: # -berok will link without error, but may produce a broken library.
! 9096: no_undefined_flag=' ${wl}-bernotok'
! 9097: allow_undefined_flag=' ${wl}-berok'
! 9098: if test "$with_gnu_ld" = yes; then
! 9099: # We only use this code for GNU lds that support --whole-archive.
! 9100: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 9101: else
! 9102: # Exported symbols can be pulled into shared objects from archives
! 9103: whole_archive_flag_spec='$convenience'
! 9104: fi
! 9105: archive_cmds_need_lc=yes
! 9106: # This is similar to how AIX traditionally builds its shared libraries.
! 9107: 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'
! 9108: fi
! 9109: fi
! 9110: ;;
1.1 parser 9111:
1.25 ! moko 9112: amigaos*)
! 9113: case $host_cpu in
! 9114: powerpc)
! 9115: # see comment about AmigaOS4 .so support
! 9116: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9117: archive_expsym_cmds=''
! 9118: ;;
! 9119: m68k)
! 9120: 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)'
! 9121: hardcode_libdir_flag_spec='-L$libdir'
! 9122: hardcode_minus_L=yes
! 9123: ;;
! 9124: esac
! 9125: ;;
1.1 parser 9126:
1.25 ! moko 9127: bsdi[45]*)
! 9128: export_dynamic_flag_spec=-rdynamic
! 9129: ;;
1.1 parser 9130:
1.25 ! moko 9131: cygwin* | mingw* | pw32* | cegcc*)
! 9132: # When not using gcc, we currently assume that we are using
! 9133: # Microsoft Visual C++.
! 9134: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 9135: # no search path for DLLs.
! 9136: case $cc_basename in
! 9137: cl*)
! 9138: # Native MSVC
! 9139: hardcode_libdir_flag_spec=' '
! 9140: allow_undefined_flag=unsupported
! 9141: always_export_symbols=yes
! 9142: file_list_spec='@'
! 9143: # Tell ltmain to make .lib files, not .a files.
! 9144: libext=lib
! 9145: # Tell ltmain to make .dll files, not .so files.
! 9146: shrext_cmds=".dll"
! 9147: # FIXME: Setting linknames here is a bad hack.
! 9148: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 9149: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 9150: sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 9151: else
! 9152: sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 9153: fi~
! 9154: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 9155: linknames='
! 9156: # The linker will not automatically build a static lib if we build a DLL.
! 9157: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
! 9158: enable_shared_with_static_runtimes=yes
! 9159: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 9160: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 9161: # Don't use ranlib
! 9162: old_postinstall_cmds='chmod 644 $oldlib'
! 9163: postlink_cmds='lt_outputfile="@OUTPUT@"~
! 9164: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 9165: case $lt_outputfile in
! 9166: *.exe|*.EXE) ;;
! 9167: *)
! 9168: lt_outputfile="$lt_outputfile.exe"
! 9169: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 9170: ;;
! 9171: esac~
! 9172: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 9173: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 9174: $RM "$lt_outputfile.manifest";
! 9175: fi'
! 9176: ;;
! 9177: *)
! 9178: # Assume MSVC wrapper
! 9179: hardcode_libdir_flag_spec=' '
! 9180: allow_undefined_flag=unsupported
! 9181: # Tell ltmain to make .lib files, not .a files.
! 9182: libext=lib
! 9183: # Tell ltmain to make .dll files, not .so files.
! 9184: shrext_cmds=".dll"
! 9185: # FIXME: Setting linknames here is a bad hack.
! 9186: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
! 9187: # The linker will automatically build a .lib file if we build a DLL.
! 9188: old_archive_from_new_cmds='true'
! 9189: # FIXME: Should let the user specify the lib program.
! 9190: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 9191: enable_shared_with_static_runtimes=yes
! 9192: ;;
! 9193: esac
! 9194: ;;
1.1 parser 9195:
1.25 ! moko 9196: darwin* | rhapsody*)
1.1 parser 9197:
1.11 paf 9198:
1.25 ! moko 9199: archive_cmds_need_lc=no
! 9200: hardcode_direct=no
! 9201: hardcode_automatic=yes
! 9202: hardcode_shlibpath_var=unsupported
! 9203: if test "$lt_cv_ld_force_load" = "yes"; then
! 9204: 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\"`'
1.11 paf 9205:
1.1 parser 9206: else
1.25 ! moko 9207: whole_archive_flag_spec=''
1.1 parser 9208: fi
1.25 ! moko 9209: link_all_deplibs=yes
! 9210: allow_undefined_flag="$_lt_dar_allow_undefined"
! 9211: case $cc_basename in
! 9212: ifort*) _lt_dar_can_shared=yes ;;
! 9213: *) _lt_dar_can_shared=$GCC ;;
! 9214: esac
! 9215: if test "$_lt_dar_can_shared" = "yes"; then
! 9216: output_verbose_link_cmd=func_echo_all
! 9217: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 9218: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 9219: 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}"
! 9220: 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}"
1.1 parser 9221:
1.25 ! moko 9222: else
! 9223: ld_shlibs=no
! 9224: fi
1.1 parser 9225:
1.25 ! moko 9226: ;;
1.1 parser 9227:
1.25 ! moko 9228: dgux*)
! 9229: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9230: hardcode_libdir_flag_spec='-L$libdir'
! 9231: hardcode_shlibpath_var=no
! 9232: ;;
1.11 paf 9233:
1.25 ! moko 9234: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 9235: # support. Future versions do this automatically, but an explicit c++rt0.o
! 9236: # does not break anything, and helps significantly (at the cost of a little
! 9237: # extra space).
! 9238: freebsd2.2*)
! 9239: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 9240: hardcode_libdir_flag_spec='-R$libdir'
! 9241: hardcode_direct=yes
! 9242: hardcode_shlibpath_var=no
! 9243: ;;
1.11 paf 9244:
1.25 ! moko 9245: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 9246: freebsd2.*)
! 9247: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9248: hardcode_direct=yes
! 9249: hardcode_minus_L=yes
! 9250: hardcode_shlibpath_var=no
! 9251: ;;
1.11 paf 9252:
1.25 ! moko 9253: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 9254: freebsd* | dragonfly*)
! 9255: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9256: hardcode_libdir_flag_spec='-R$libdir'
! 9257: hardcode_direct=yes
! 9258: hardcode_shlibpath_var=no
! 9259: ;;
1.1 parser 9260:
1.25 ! moko 9261: hpux9*)
! 9262: if test "$GCC" = yes; then
! 9263: 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'
! 9264: else
! 9265: 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'
! 9266: fi
! 9267: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9268: hardcode_libdir_separator=:
! 9269: hardcode_direct=yes
! 9270:
! 9271: # hardcode_minus_L: Not really in the search PATH,
! 9272: # but as the default location of the library.
! 9273: hardcode_minus_L=yes
! 9274: export_dynamic_flag_spec='${wl}-E'
! 9275: ;;
1.1 parser 9276:
1.25 ! moko 9277: hpux10*)
! 9278: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 9279: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9280: else
! 9281: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 9282: fi
! 9283: if test "$with_gnu_ld" = no; then
! 9284: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9285: hardcode_libdir_separator=:
! 9286: hardcode_direct=yes
! 9287: hardcode_direct_absolute=yes
! 9288: export_dynamic_flag_spec='${wl}-E'
! 9289: # hardcode_minus_L: Not really in the search PATH,
! 9290: # but as the default location of the library.
! 9291: hardcode_minus_L=yes
! 9292: fi
! 9293: ;;
1.11 paf 9294:
1.25 ! moko 9295: hpux11*)
! 9296: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 9297: case $host_cpu in
! 9298: hppa*64*)
! 9299: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9300: ;;
! 9301: ia64*)
! 9302: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9303: ;;
! 9304: *)
! 9305: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9306: ;;
! 9307: esac
! 9308: else
! 9309: case $host_cpu in
! 9310: hppa*64*)
! 9311: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9312: ;;
! 9313: ia64*)
! 9314: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9315: ;;
! 9316: *)
1.11 paf 9317:
1.25 ! moko 9318: # Older versions of the 11.00 compiler do not understand -b yet
! 9319: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
! 9320: echo "$as_me:$LINENO: checking if $CC understands -b" >&5
! 9321: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
! 9322: if test "${lt_cv_prog_compiler__b+set}" = set; then
! 9323: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9324: else
! 9325: lt_cv_prog_compiler__b=no
! 9326: save_LDFLAGS="$LDFLAGS"
! 9327: LDFLAGS="$LDFLAGS -b"
! 9328: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 9329: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 9330: # The linker can only warn and ignore the option if not recognized
! 9331: # So say no if there are warnings
! 9332: if test -s conftest.err; then
! 9333: # Append any errors to the config.log.
! 9334: cat conftest.err 1>&5
! 9335: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 9336: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9337: if diff conftest.exp conftest.er2 >/dev/null; then
! 9338: lt_cv_prog_compiler__b=yes
! 9339: fi
! 9340: else
! 9341: lt_cv_prog_compiler__b=yes
! 9342: fi
! 9343: fi
! 9344: $RM -r conftest*
! 9345: LDFLAGS="$save_LDFLAGS"
1.11 paf 9346:
9347: fi
1.25 ! moko 9348: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
! 9349: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.11 paf 9350:
1.25 ! moko 9351: if test x"$lt_cv_prog_compiler__b" = xyes; then
! 9352: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.11 paf 9353: else
1.25 ! moko 9354: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.11 paf 9355: fi
9356:
1.25 ! moko 9357: ;;
! 9358: esac
! 9359: fi
! 9360: if test "$with_gnu_ld" = no; then
! 9361: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9362: hardcode_libdir_separator=:
! 9363:
! 9364: case $host_cpu in
! 9365: hppa*64*|ia64*)
! 9366: hardcode_direct=no
! 9367: hardcode_shlibpath_var=no
! 9368: ;;
! 9369: *)
! 9370: hardcode_direct=yes
! 9371: hardcode_direct_absolute=yes
! 9372: export_dynamic_flag_spec='${wl}-E'
1.11 paf 9373:
1.25 ! moko 9374: # hardcode_minus_L: Not really in the search PATH,
! 9375: # but as the default location of the library.
! 9376: hardcode_minus_L=yes
! 9377: ;;
! 9378: esac
! 9379: fi
! 9380: ;;
1.11 paf 9381:
1.25 ! moko 9382: irix5* | irix6* | nonstopux*)
! 9383: if test "$GCC" = yes; then
! 9384: 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'
! 9385: # Try to use the -exported_symbol ld option, if it does not
! 9386: # work, assume that -exports_file does not work either and
! 9387: # implicitly export all symbols.
! 9388: # This should be the same for all languages, so no per-tag cache variable.
! 9389: echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
! 9390: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
! 9391: if test "${lt_cv_irix_exported_symbol+set}" = set; then
! 9392: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9393: else
! 9394: save_LDFLAGS="$LDFLAGS"
! 9395: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 9396: cat >conftest.$ac_ext <<_ACEOF
! 9397: /* confdefs.h. */
! 9398: _ACEOF
! 9399: cat confdefs.h >>conftest.$ac_ext
! 9400: cat >>conftest.$ac_ext <<_ACEOF
! 9401: /* end confdefs.h. */
! 9402: int foo (void) { return 0; }
! 9403: _ACEOF
! 9404: rm -f conftest.$ac_objext conftest$ac_exeext
! 9405: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9406: (eval $ac_link) 2>conftest.er1
! 9407: ac_status=$?
! 9408: grep -v '^ *+' conftest.er1 >conftest.err
! 9409: rm -f conftest.er1
! 9410: cat conftest.err >&5
! 9411: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9412: (exit $ac_status); } &&
! 9413: { ac_try='test -z "$ac_c_werror_flag"
! 9414: || test ! -s conftest.err'
! 9415: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9416: (eval $ac_try) 2>&5
! 9417: ac_status=$?
! 9418: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9419: (exit $ac_status); }; } &&
! 9420: { ac_try='test -s conftest$ac_exeext'
! 9421: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9422: (eval $ac_try) 2>&5
! 9423: ac_status=$?
! 9424: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9425: (exit $ac_status); }; }; then
! 9426: lt_cv_irix_exported_symbol=yes
! 9427: else
! 9428: echo "$as_me: failed program was:" >&5
! 9429: sed 's/^/| /' conftest.$ac_ext >&5
1.11 paf 9430:
1.25 ! moko 9431: lt_cv_irix_exported_symbol=no
1.11 paf 9432: fi
1.25 ! moko 9433: rm -f conftest.err conftest.$ac_objext \
! 9434: conftest$ac_exeext conftest.$ac_ext
! 9435: LDFLAGS="$save_LDFLAGS"
1.11 paf 9436: fi
1.25 ! moko 9437: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
! 9438: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
! 9439: if test "$lt_cv_irix_exported_symbol" = yes; then
! 9440: 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'
! 9441: fi
! 9442: else
! 9443: 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'
! 9444: 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'
! 9445: fi
! 9446: archive_cmds_need_lc='no'
! 9447: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9448: hardcode_libdir_separator=:
! 9449: inherit_rpath=yes
! 9450: link_all_deplibs=yes
! 9451: ;;
1.11 paf 9452:
1.25 ! moko 9453: netbsd*)
! 9454: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9455: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 9456: else
! 9457: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 9458: fi
! 9459: hardcode_libdir_flag_spec='-R$libdir'
! 9460: hardcode_direct=yes
! 9461: hardcode_shlibpath_var=no
! 9462: ;;
1.11 paf 9463:
1.25 ! moko 9464: newsos6)
! 9465: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9466: hardcode_direct=yes
! 9467: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9468: hardcode_libdir_separator=:
! 9469: hardcode_shlibpath_var=no
! 9470: ;;
1.11 paf 9471:
1.25 ! moko 9472: *nto* | *qnx*)
! 9473: ;;
1.11 paf 9474:
1.25 ! moko 9475: openbsd*)
! 9476: if test -f /usr/libexec/ld.so; then
! 9477: hardcode_direct=yes
! 9478: hardcode_shlibpath_var=no
! 9479: hardcode_direct_absolute=yes
! 9480: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9481: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9482: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 9483: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9484: export_dynamic_flag_spec='${wl}-E'
! 9485: else
! 9486: case $host_os in
! 9487: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 9488: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9489: hardcode_libdir_flag_spec='-R$libdir'
! 9490: ;;
! 9491: *)
! 9492: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9493: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9494: ;;
! 9495: esac
! 9496: fi
! 9497: else
! 9498: ld_shlibs=no
! 9499: fi
! 9500: ;;
! 9501:
! 9502: os2*)
! 9503: hardcode_libdir_flag_spec='-L$libdir'
! 9504: hardcode_minus_L=yes
! 9505: allow_undefined_flag=unsupported
! 9506: 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'
! 9507: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 9508: ;;
! 9509:
! 9510: osf3*)
! 9511: if test "$GCC" = yes; then
! 9512: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 9513: 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'
! 9514: else
! 9515: allow_undefined_flag=' -expect_unresolved \*'
! 9516: 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'
! 9517: fi
! 9518: archive_cmds_need_lc='no'
! 9519: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9520: hardcode_libdir_separator=:
! 9521: ;;
! 9522:
! 9523: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 9524: if test "$GCC" = yes; then
! 9525: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 9526: 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'
! 9527: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9528: else
! 9529: allow_undefined_flag=' -expect_unresolved \*'
! 9530: 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'
! 9531: 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~
! 9532: $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'
! 9533:
! 9534: # Both c and cxx compiler support -rpath directly
! 9535: hardcode_libdir_flag_spec='-rpath $libdir'
! 9536: fi
! 9537: archive_cmds_need_lc='no'
! 9538: hardcode_libdir_separator=:
! 9539: ;;
! 9540:
! 9541: solaris*)
! 9542: no_undefined_flag=' -z defs'
! 9543: if test "$GCC" = yes; then
! 9544: wlarc='${wl}'
! 9545: archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9546: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9547: $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'
! 9548: else
! 9549: case `$CC -V 2>&1` in
! 9550: *"Compilers 5.0"*)
! 9551: wlarc=''
! 9552: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9553: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9554: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 9555: ;;
! 9556: *)
! 9557: wlarc='${wl}'
! 9558: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 9559: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9560: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 9561: ;;
! 9562: esac
! 9563: fi
! 9564: hardcode_libdir_flag_spec='-R$libdir'
! 9565: hardcode_shlibpath_var=no
! 9566: case $host_os in
! 9567: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 9568: *)
! 9569: # The compiler driver will combine and reorder linker options,
! 9570: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 9571: # but is careful enough not to reorder.
! 9572: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 9573: if test "$GCC" = yes; then
! 9574: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 9575: else
! 9576: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 9577: fi
! 9578: ;;
! 9579: esac
! 9580: link_all_deplibs=yes
! 9581: ;;
! 9582:
! 9583: sunos4*)
! 9584: if test "x$host_vendor" = xsequent; then
! 9585: # Use $CC to link under sequent, because it throws in some extra .o
! 9586: # files that make .init and .fini sections work.
! 9587: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 9588: else
! 9589: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 9590: fi
! 9591: hardcode_libdir_flag_spec='-L$libdir'
! 9592: hardcode_direct=yes
! 9593: hardcode_minus_L=yes
! 9594: hardcode_shlibpath_var=no
! 9595: ;;
! 9596:
! 9597: sysv4)
! 9598: case $host_vendor in
! 9599: sni)
! 9600: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9601: hardcode_direct=yes # is this really true???
! 9602: ;;
! 9603: siemens)
! 9604: ## LD is ld it makes a PLAMLIB
! 9605: ## CC just makes a GrossModule.
! 9606: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 9607: reload_cmds='$CC -r -o $output$reload_objs'
! 9608: hardcode_direct=no
! 9609: ;;
! 9610: motorola)
! 9611: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9612: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 9613: ;;
! 9614: esac
! 9615: runpath_var='LD_RUN_PATH'
! 9616: hardcode_shlibpath_var=no
! 9617: ;;
! 9618:
! 9619: sysv4.3*)
! 9620: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9621: hardcode_shlibpath_var=no
! 9622: export_dynamic_flag_spec='-Bexport'
! 9623: ;;
! 9624:
! 9625: sysv4*MP*)
! 9626: if test -d /usr/nec; then
! 9627: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9628: hardcode_shlibpath_var=no
! 9629: runpath_var=LD_RUN_PATH
! 9630: hardcode_runpath_var=yes
! 9631: ld_shlibs=yes
! 9632: fi
! 9633: ;;
! 9634:
! 9635: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9636: no_undefined_flag='${wl}-z,text'
! 9637: archive_cmds_need_lc=no
! 9638: hardcode_shlibpath_var=no
! 9639: runpath_var='LD_RUN_PATH'
! 9640:
! 9641: if test "$GCC" = yes; then
! 9642: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9643: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9644: else
! 9645: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9646: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9647: fi
! 9648: ;;
! 9649:
! 9650: sysv5* | sco3.2v5* | sco5v6*)
! 9651: # Note: We can NOT use -z defs as we might desire, because we do not
! 9652: # link with -lc, and that would cause any symbols used from libc to
! 9653: # always be unresolved, which means just about no library would
! 9654: # ever link correctly. If we're not using GNU ld we use -z text
! 9655: # though, which does catch some bad symbols but isn't as heavy-handed
! 9656: # as -z defs.
! 9657: no_undefined_flag='${wl}-z,text'
! 9658: allow_undefined_flag='${wl}-z,nodefs'
! 9659: archive_cmds_need_lc=no
! 9660: hardcode_shlibpath_var=no
! 9661: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 9662: hardcode_libdir_separator=':'
! 9663: link_all_deplibs=yes
! 9664: export_dynamic_flag_spec='${wl}-Bexport'
! 9665: runpath_var='LD_RUN_PATH'
! 9666:
! 9667: if test "$GCC" = yes; then
! 9668: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9669: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9670: else
! 9671: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9672: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9673: fi
! 9674: ;;
! 9675:
! 9676: uts4*)
! 9677: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9678: hardcode_libdir_flag_spec='-L$libdir'
! 9679: hardcode_shlibpath_var=no
! 9680: ;;
! 9681:
! 9682: *)
! 9683: ld_shlibs=no
! 9684: ;;
! 9685: esac
! 9686:
! 9687: if test x$host_vendor = xsni; then
! 9688: case $host in
! 9689: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 9690: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9691: ;;
! 9692: esac
! 9693: fi
! 9694: fi
! 9695:
! 9696: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 9697: echo "${ECHO_T}$ld_shlibs" >&6
! 9698: test "$ld_shlibs" = no && can_build_shared=no
! 9699:
! 9700: with_gnu_ld=$with_gnu_ld
! 9701:
! 9702:
! 9703:
! 9704:
! 9705:
! 9706:
! 9707:
! 9708:
! 9709:
! 9710:
! 9711:
! 9712:
! 9713:
! 9714:
! 9715:
! 9716: #
! 9717: # Do we need to explicitly link libc?
! 9718: #
! 9719: case "x$archive_cmds_need_lc" in
! 9720: x|xyes)
! 9721: # Assume -lc should be added
! 9722: archive_cmds_need_lc=yes
! 9723:
! 9724: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9725: case $archive_cmds in
! 9726: *'~'*)
! 9727: # FIXME: we may have to deal with multi-command sequences.
! 9728: ;;
! 9729: '$CC '*)
! 9730: # Test whether the compiler implicitly links with -lc since on some
! 9731: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9732: # to ld, don't add -lc before -lgcc.
! 9733: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 9734: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 9735: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
! 9736: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9737: else
! 9738: $RM conftest*
! 9739: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9740:
! 9741: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9742: (eval $ac_compile) 2>&5
! 9743: ac_status=$?
! 9744: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9745: (exit $ac_status); } 2>conftest.err; then
! 9746: soname=conftest
! 9747: lib=conftest
! 9748: libobjs=conftest.$ac_objext
! 9749: deplibs=
! 9750: wl=$lt_prog_compiler_wl
! 9751: pic_flag=$lt_prog_compiler_pic
! 9752: compiler_flags=-v
! 9753: linker_flags=-v
! 9754: verstring=
! 9755: output_objdir=.
! 9756: libname=conftest
! 9757: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9758: allow_undefined_flag=
! 9759: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 9760: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9761: ac_status=$?
! 9762: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9763: (exit $ac_status); }
! 9764: then
! 9765: lt_cv_archive_cmds_need_lc=no
! 9766: else
! 9767: lt_cv_archive_cmds_need_lc=yes
! 9768: fi
! 9769: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9770: else
! 9771: cat conftest.err 1>&5
! 9772: fi
! 9773: $RM conftest*
! 9774:
! 9775: fi
! 9776: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
! 9777: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
! 9778: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
! 9779: ;;
! 9780: esac
! 9781: fi
! 9782: ;;
! 9783: esac
1.11 paf 9784:
9785:
9786:
9787:
9788:
9789:
9790:
9791:
9792:
9793:
9794:
9795:
9796:
9797:
9798:
9799:
9800:
9801:
9802:
9803:
9804:
9805:
9806:
9807:
9808:
9809:
9810:
9811:
9812:
9813:
9814:
9815:
9816:
9817:
9818:
9819:
9820:
9821:
9822:
9823:
1.1 parser 9824:
1.11 paf 9825:
9826:
9827:
9828:
9829:
1.1 parser 9830:
1.11 paf 9831:
9832:
9833:
9834:
1.1 parser 9835:
1.11 paf 9836:
9837:
9838:
9839:
1.1 parser 9840:
9841:
9842:
9843:
9844:
9845:
9846:
1.11 paf 9847:
9848:
9849:
1.18 paf 9850:
1.11 paf 9851:
9852:
1.1 parser 9853:
1.11 paf 9854:
9855:
9856:
1.1 parser 9857:
9858:
9859:
9860:
1.11 paf 9861:
9862:
1.1 parser 9863:
1.11 paf 9864:
9865:
9866:
1.25 ! moko 9867:
! 9868:
! 9869:
! 9870:
! 9871:
! 9872:
! 9873:
! 9874:
! 9875:
! 9876:
! 9877:
! 9878:
! 9879:
! 9880:
! 9881:
! 9882:
! 9883:
! 9884:
! 9885:
! 9886:
! 9887:
! 9888:
! 9889:
! 9890:
! 9891:
! 9892:
! 9893:
! 9894:
! 9895:
! 9896:
! 9897:
! 9898:
! 9899:
! 9900:
! 9901:
! 9902:
! 9903:
! 9904:
! 9905:
! 9906:
! 9907:
! 9908:
! 9909:
! 9910:
! 9911:
! 9912:
! 9913:
! 9914:
! 9915:
! 9916:
! 9917:
! 9918:
! 9919:
! 9920:
! 9921:
! 9922:
! 9923:
! 9924:
! 9925:
! 9926:
! 9927:
! 9928:
! 9929:
! 9930:
! 9931:
! 9932:
! 9933:
! 9934:
! 9935:
! 9936: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 9937: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 9938:
! 9939: if test "$GCC" = yes; then
! 9940: case $host_os in
! 9941: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9942: *) lt_awk_arg="/^libraries:/" ;;
! 9943: esac
! 9944: case $host_os in
! 9945: mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
! 9946: *) lt_sed_strip_eq="s,=/,/,g" ;;
! 9947: esac
! 9948: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
! 9949: case $lt_search_path_spec in
! 9950: *\;*)
! 9951: # if the path contains ";" then we assume it to be the separator
! 9952: # otherwise default to the standard path separator (i.e. ":") - it is
! 9953: # assumed that no part of a normal pathname contains ";" but that should
! 9954: # okay in the real world where ";" in dirpaths is itself problematic.
! 9955: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
! 9956: ;;
! 9957: *)
! 9958: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
! 9959: ;;
! 9960: esac
! 9961: # Ok, now we have the path, separated by spaces, we can step through it
! 9962: # and add multilib dir if necessary.
! 9963: lt_tmp_lt_search_path_spec=
! 9964: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9965: for lt_sys_path in $lt_search_path_spec; do
! 9966: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9967: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9968: else
! 9969: test -d "$lt_sys_path" && \
! 9970: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 9971: fi
! 9972: done
! 9973: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
! 9974: BEGIN {RS=" "; FS="/|\n";} {
! 9975: lt_foo="";
! 9976: lt_count=0;
! 9977: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9978: if ($lt_i != "" && $lt_i != ".") {
! 9979: if ($lt_i == "..") {
! 9980: lt_count++;
! 9981: } else {
! 9982: if (lt_count == 0) {
! 9983: lt_foo="/" $lt_i lt_foo;
! 9984: } else {
! 9985: lt_count--;
! 9986: }
! 9987: }
! 9988: }
! 9989: }
! 9990: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9991: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9992: }'`
! 9993: # AWK program above erroneously prepends '/' to C:/dos/paths
! 9994: # for these hosts.
! 9995: case $host_os in
! 9996: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
! 9997: $SED 's,/\([A-Za-z]:\),\1,g'` ;;
! 9998: esac
! 9999: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
! 10000: else
! 10001: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 10002: fi
! 10003: library_names_spec=
! 10004: libname_spec='lib$name'
! 10005: soname_spec=
! 10006: shrext_cmds=".so"
! 10007: postinstall_cmds=
! 10008: postuninstall_cmds=
! 10009: finish_cmds=
! 10010: finish_eval=
! 10011: shlibpath_var=
! 10012: shlibpath_overrides_runpath=unknown
! 10013: version_type=none
! 10014: dynamic_linker="$host_os ld.so"
! 10015: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 10016: need_lib_prefix=unknown
! 10017: hardcode_into_libs=no
! 10018:
! 10019: # when you set need_version to no, make sure it does not cause -set_version
! 10020: # flags to be left without arguments
! 10021: need_version=unknown
! 10022:
! 10023: case $host_os in
! 10024: aix3*)
! 10025: version_type=linux # correct to gnu/linux during the next big refactor
! 10026: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 10027: shlibpath_var=LIBPATH
! 10028:
! 10029: # AIX 3 has no versioning support, so we append a major version to the name.
! 10030: soname_spec='${libname}${release}${shared_ext}$major'
! 10031: ;;
! 10032:
! 10033: aix[4-9]*)
! 10034: version_type=linux # correct to gnu/linux during the next big refactor
! 10035: need_lib_prefix=no
! 10036: need_version=no
! 10037: hardcode_into_libs=yes
! 10038: if test "$host_cpu" = ia64; then
! 10039: # AIX 5 supports IA64
! 10040: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 10041: shlibpath_var=LD_LIBRARY_PATH
! 10042: else
! 10043: # With GCC up to 2.95.x, collect2 would create an import file
! 10044: # for dependence libraries. The import file would start with
! 10045: # the line `#! .'. This would cause the generated library to
! 10046: # depend on `.', always an invalid library. This was fixed in
! 10047: # development snapshots of GCC prior to 3.0.
! 10048: case $host_os in
! 10049: aix4 | aix4.[01] | aix4.[01].*)
! 10050: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 10051: echo ' yes '
! 10052: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 10053: :
! 10054: else
! 10055: can_build_shared=no
! 10056: fi
! 10057: ;;
! 10058: esac
! 10059: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 10060: # soname into executable. Probably we can add versioning support to
! 10061: # collect2, so additional links can be useful in future.
! 10062: if test "$aix_use_runtimelinking" = yes; then
! 10063: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 10064: # instead of lib<name>.a to let people know that these are not
! 10065: # typical AIX shared libraries.
! 10066: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10067: else
! 10068: # We preserve .a as extension for shared libraries through AIX4.2
! 10069: # and later when we are not doing run time linking.
! 10070: library_names_spec='${libname}${release}.a $libname.a'
! 10071: soname_spec='${libname}${release}${shared_ext}$major'
! 10072: fi
! 10073: shlibpath_var=LIBPATH
! 10074: fi
! 10075: ;;
! 10076:
! 10077: amigaos*)
! 10078: case $host_cpu in
! 10079: powerpc)
! 10080: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 10081: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 10082: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10083: ;;
! 10084: m68k)
! 10085: library_names_spec='$libname.ixlibrary $libname.a'
! 10086: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 10087: 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'
! 10088: ;;
! 10089: esac
! 10090: ;;
! 10091:
! 10092: beos*)
! 10093: library_names_spec='${libname}${shared_ext}'
! 10094: dynamic_linker="$host_os ld.so"
! 10095: shlibpath_var=LIBRARY_PATH
! 10096: ;;
! 10097:
! 10098: bsdi[45]*)
! 10099: version_type=linux # correct to gnu/linux during the next big refactor
! 10100: need_version=no
! 10101: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10102: soname_spec='${libname}${release}${shared_ext}$major'
! 10103: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 10104: shlibpath_var=LD_LIBRARY_PATH
! 10105: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 10106: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 10107: # the default ld.so.conf also contains /usr/contrib/lib and
! 10108: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 10109: # libtool to hard-code these into programs
! 10110: ;;
! 10111:
! 10112: cygwin* | mingw* | pw32* | cegcc*)
! 10113: version_type=windows
! 10114: shrext_cmds=".dll"
! 10115: need_version=no
! 10116: need_lib_prefix=no
! 10117:
! 10118: case $GCC,$cc_basename in
! 10119: yes,*)
! 10120: # gcc
! 10121: library_names_spec='$libname.dll.a'
! 10122: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 10123: postinstall_cmds='base_file=`basename \${file}`~
! 10124: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 10125: dldir=$destdir/`dirname \$dlpath`~
! 10126: test -d \$dldir || mkdir -p \$dldir~
! 10127: $install_prog $dir/$dlname \$dldir/$dlname~
! 10128: chmod a+x \$dldir/$dlname~
! 10129: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 10130: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 10131: fi'
! 10132: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 10133: dlpath=$dir/\$dldll~
! 10134: $RM \$dlpath'
! 10135: shlibpath_overrides_runpath=yes
! 10136:
! 10137: case $host_os in
! 10138: cygwin*)
! 10139: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 10140: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10141:
! 10142: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
! 10143: ;;
! 10144: mingw* | cegcc*)
! 10145: # MinGW DLLs use traditional 'lib' prefix
! 10146: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10147: ;;
! 10148: pw32*)
! 10149: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 10150: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10151: ;;
! 10152: esac
! 10153: dynamic_linker='Win32 ld.exe'
! 10154: ;;
! 10155:
! 10156: *,cl*)
! 10157: # Native MSVC
! 10158: libname_spec='$name'
! 10159: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10160: library_names_spec='${libname}.dll.lib'
! 10161:
! 10162: case $build_os in
! 10163: mingw*)
! 10164: sys_lib_search_path_spec=
! 10165: lt_save_ifs=$IFS
! 10166: IFS=';'
! 10167: for lt_path in $LIB
! 10168: do
! 10169: IFS=$lt_save_ifs
! 10170: # Let DOS variable expansion print the short 8.3 style file name.
! 10171: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 10172: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 10173: done
! 10174: IFS=$lt_save_ifs
! 10175: # Convert to MSYS style.
! 10176: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 10177: ;;
! 10178: cygwin*)
! 10179: # Convert to unix form, then to dos form, then back to unix form
! 10180: # but this time dos style (no spaces!) so that the unix form looks
! 10181: # like /cygdrive/c/PROGRA~1:/cygdr...
! 10182: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 10183: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 10184: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 10185: ;;
! 10186: *)
! 10187: sys_lib_search_path_spec="$LIB"
! 10188: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 10189: # It is most probably a Windows format PATH.
! 10190: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 10191: else
! 10192: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 10193: fi
! 10194: # FIXME: find the short name or the path components, as spaces are
! 10195: # common. (e.g. "Program Files" -> "PROGRA~1")
! 10196: ;;
! 10197: esac
! 10198:
! 10199: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 10200: postinstall_cmds='base_file=`basename \${file}`~
! 10201: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 10202: dldir=$destdir/`dirname \$dlpath`~
! 10203: test -d \$dldir || mkdir -p \$dldir~
! 10204: $install_prog $dir/$dlname \$dldir/$dlname'
! 10205: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 10206: dlpath=$dir/\$dldll~
! 10207: $RM \$dlpath'
! 10208: shlibpath_overrides_runpath=yes
! 10209: dynamic_linker='Win32 link.exe'
! 10210: ;;
! 10211:
! 10212: *)
! 10213: # Assume MSVC wrapper
! 10214: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 10215: dynamic_linker='Win32 ld.exe'
! 10216: ;;
! 10217: esac
! 10218: # FIXME: first we should search . and the directory the executable is in
! 10219: shlibpath_var=PATH
! 10220: ;;
! 10221:
! 10222: darwin* | rhapsody*)
! 10223: dynamic_linker="$host_os dyld"
! 10224: version_type=darwin
! 10225: need_lib_prefix=no
! 10226: need_version=no
! 10227: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 10228: soname_spec='${libname}${release}${major}$shared_ext'
! 10229: shlibpath_overrides_runpath=yes
! 10230: shlibpath_var=DYLD_LIBRARY_PATH
! 10231: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 10232:
! 10233: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 10234: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 10235: ;;
! 10236:
! 10237: dgux*)
! 10238: version_type=linux # correct to gnu/linux during the next big refactor
! 10239: need_lib_prefix=no
! 10240: need_version=no
! 10241: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 10242: soname_spec='${libname}${release}${shared_ext}$major'
! 10243: shlibpath_var=LD_LIBRARY_PATH
! 10244: ;;
! 10245:
! 10246: freebsd* | dragonfly*)
! 10247: # DragonFly does not have aout. When/if they implement a new
! 10248: # versioning mechanism, adjust this.
! 10249: if test -x /usr/bin/objformat; then
! 10250: objformat=`/usr/bin/objformat`
1.11 paf 10251: else
1.25 ! moko 10252: case $host_os in
! 10253: freebsd[23].*) objformat=aout ;;
! 10254: *) objformat=elf ;;
! 10255: esac
1.11 paf 10256: fi
1.25 ! moko 10257: version_type=freebsd-$objformat
! 10258: case $version_type in
! 10259: freebsd-elf*)
! 10260: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10261: need_version=no
! 10262: need_lib_prefix=no
! 10263: ;;
! 10264: freebsd-*)
! 10265: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 10266: need_version=yes
! 10267: ;;
! 10268: esac
! 10269: shlibpath_var=LD_LIBRARY_PATH
! 10270: case $host_os in
! 10271: freebsd2.*)
! 10272: shlibpath_overrides_runpath=yes
! 10273: ;;
! 10274: freebsd3.[01]* | freebsdelf3.[01]*)
! 10275: shlibpath_overrides_runpath=yes
! 10276: hardcode_into_libs=yes
! 10277: ;;
! 10278: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 10279: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 10280: shlibpath_overrides_runpath=no
! 10281: hardcode_into_libs=yes
! 10282: ;;
! 10283: *) # from 4.6 on, and DragonFly
! 10284: shlibpath_overrides_runpath=yes
! 10285: hardcode_into_libs=yes
! 10286: ;;
! 10287: esac
! 10288: ;;
! 10289:
! 10290: gnu*)
! 10291: version_type=linux # correct to gnu/linux during the next big refactor
! 10292: need_lib_prefix=no
! 10293: need_version=no
! 10294: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 10295: soname_spec='${libname}${release}${shared_ext}$major'
! 10296: shlibpath_var=LD_LIBRARY_PATH
! 10297: shlibpath_overrides_runpath=no
! 10298: hardcode_into_libs=yes
! 10299: ;;
! 10300:
! 10301: haiku*)
! 10302: version_type=linux # correct to gnu/linux during the next big refactor
! 10303: need_lib_prefix=no
! 10304: need_version=no
! 10305: dynamic_linker="$host_os runtime_loader"
! 10306: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 10307: soname_spec='${libname}${release}${shared_ext}$major'
! 10308: shlibpath_var=LIBRARY_PATH
! 10309: shlibpath_overrides_runpath=yes
! 10310: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 10311: hardcode_into_libs=yes
! 10312: ;;
! 10313:
! 10314: hpux9* | hpux10* | hpux11*)
! 10315: # Give a soname corresponding to the major version so that dld.sl refuses to
! 10316: # link against other versions.
! 10317: version_type=sunos
! 10318: need_lib_prefix=no
! 10319: need_version=no
! 10320: case $host_cpu in
! 10321: ia64*)
! 10322: shrext_cmds='.so'
! 10323: hardcode_into_libs=yes
! 10324: dynamic_linker="$host_os dld.so"
! 10325: shlibpath_var=LD_LIBRARY_PATH
! 10326: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 10327: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10328: soname_spec='${libname}${release}${shared_ext}$major'
! 10329: if test "X$HPUX_IA64_MODE" = X32; then
! 10330: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.11 paf 10331: else
1.25 ! moko 10332: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 10333: fi
! 10334: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 10335: ;;
! 10336: hppa*64*)
! 10337: shrext_cmds='.sl'
! 10338: hardcode_into_libs=yes
! 10339: dynamic_linker="$host_os dld.sl"
! 10340: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 10341: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 10342: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10343: soname_spec='${libname}${release}${shared_ext}$major'
! 10344: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 10345: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 10346: ;;
! 10347: *)
! 10348: shrext_cmds='.sl'
! 10349: dynamic_linker="$host_os dld.sl"
! 10350: shlibpath_var=SHLIB_PATH
! 10351: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 10352: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10353: soname_spec='${libname}${release}${shared_ext}$major'
! 10354: ;;
! 10355: esac
! 10356: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 10357: postinstall_cmds='chmod 555 $lib'
! 10358: # or fails outright, so override atomically:
! 10359: install_override_mode=555
! 10360: ;;
! 10361:
! 10362: interix[3-9]*)
! 10363: version_type=linux # correct to gnu/linux during the next big refactor
! 10364: need_lib_prefix=no
! 10365: need_version=no
! 10366: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 10367: soname_spec='${libname}${release}${shared_ext}$major'
! 10368: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 10369: shlibpath_var=LD_LIBRARY_PATH
! 10370: shlibpath_overrides_runpath=no
! 10371: hardcode_into_libs=yes
! 10372: ;;
! 10373:
! 10374: irix5* | irix6* | nonstopux*)
! 10375: case $host_os in
! 10376: nonstopux*) version_type=nonstopux ;;
! 10377: *)
! 10378: if test "$lt_cv_prog_gnu_ld" = yes; then
! 10379: version_type=linux # correct to gnu/linux during the next big refactor
! 10380: else
! 10381: version_type=irix
! 10382: fi ;;
! 10383: esac
! 10384: need_lib_prefix=no
! 10385: need_version=no
! 10386: soname_spec='${libname}${release}${shared_ext}$major'
! 10387: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10388: case $host_os in
! 10389: irix5* | nonstopux*)
! 10390: libsuff= shlibsuff=
! 10391: ;;
! 10392: *)
! 10393: case $LD in # libtool.m4 will add one of these switches to LD
! 10394: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 10395: libsuff= shlibsuff= libmagic=32-bit;;
! 10396: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 10397: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 10398: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 10399: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 10400: *) libsuff= shlibsuff= libmagic=never-match;;
! 10401: esac
! 10402: ;;
! 10403: esac
! 10404: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 10405: shlibpath_overrides_runpath=no
! 10406: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 10407: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 10408: hardcode_into_libs=yes
! 10409: ;;
! 10410:
! 10411: # No shared lib support for Linux oldld, aout, or coff.
! 10412: linux*oldld* | linux*aout* | linux*coff*)
! 10413: dynamic_linker=no
! 10414: ;;
! 10415:
! 10416: # This must be glibc/ELF.
! 10417: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 10418: version_type=linux # correct to gnu/linux during the next big refactor
! 10419: need_lib_prefix=no
! 10420: need_version=no
! 10421: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10422: soname_spec='${libname}${release}${shared_ext}$major'
! 10423: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 10424: shlibpath_var=LD_LIBRARY_PATH
! 10425: shlibpath_overrides_runpath=no
! 10426:
! 10427: # Some binutils ld are patched to set DT_RUNPATH
! 10428: if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
! 10429: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10430: else
! 10431: lt_cv_shlibpath_overrides_runpath=no
! 10432: save_LDFLAGS=$LDFLAGS
! 10433: save_libdir=$libdir
! 10434: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 10435: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 10436: cat >conftest.$ac_ext <<_ACEOF
! 10437: /* confdefs.h. */
! 10438: _ACEOF
! 10439: cat confdefs.h >>conftest.$ac_ext
! 10440: cat >>conftest.$ac_ext <<_ACEOF
! 10441: /* end confdefs.h. */
! 10442:
! 10443: int
! 10444: main ()
! 10445: {
! 10446:
! 10447: ;
! 10448: return 0;
! 10449: }
! 10450: _ACEOF
! 10451: rm -f conftest.$ac_objext conftest$ac_exeext
! 10452: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10453: (eval $ac_link) 2>conftest.er1
! 10454: ac_status=$?
! 10455: grep -v '^ *+' conftest.er1 >conftest.err
! 10456: rm -f conftest.er1
! 10457: cat conftest.err >&5
! 10458: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10459: (exit $ac_status); } &&
! 10460: { ac_try='test -z "$ac_c_werror_flag"
! 10461: || test ! -s conftest.err'
! 10462: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10463: (eval $ac_try) 2>&5
! 10464: ac_status=$?
! 10465: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10466: (exit $ac_status); }; } &&
! 10467: { ac_try='test -s conftest$ac_exeext'
! 10468: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10469: (eval $ac_try) 2>&5
! 10470: ac_status=$?
! 10471: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10472: (exit $ac_status); }; }; then
! 10473: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 10474: lt_cv_shlibpath_overrides_runpath=yes
! 10475: fi
! 10476:
! 10477: else
! 10478: echo "$as_me: failed program was:" >&5
! 10479: sed 's/^/| /' conftest.$ac_ext >&5
! 10480:
! 10481: fi
! 10482: rm -f conftest.err conftest.$ac_objext \
! 10483: conftest$ac_exeext conftest.$ac_ext
! 10484: LDFLAGS=$save_LDFLAGS
! 10485: libdir=$save_libdir
! 10486:
! 10487: fi
! 10488:
! 10489: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 10490:
! 10491: # This implies no fast_install, which is unacceptable.
! 10492: # Some rework will be needed to allow for fast_install
! 10493: # before this can be enabled.
! 10494: hardcode_into_libs=yes
! 10495:
! 10496: # Append ld.so.conf contents to the search path
! 10497: if test -f /etc/ld.so.conf; then
! 10498: 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' ' '`
! 10499: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 10500: fi
! 10501:
! 10502: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 10503: # powerpc, because MkLinux only supported shared libraries with the
! 10504: # GNU dynamic linker. Since this was broken with cross compilers,
! 10505: # most powerpc-linux boxes support dynamic linking these days and
! 10506: # people can always --disable-shared, the test was removed, and we
! 10507: # assume the GNU/Linux dynamic linker is in use.
! 10508: dynamic_linker='GNU/Linux ld.so'
! 10509: ;;
! 10510:
! 10511: netbsd*)
! 10512: version_type=sunos
! 10513: need_lib_prefix=no
! 10514: need_version=no
! 10515: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 10516: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10517: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 10518: dynamic_linker='NetBSD (a.out) ld.so'
! 10519: else
! 10520: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 10521: soname_spec='${libname}${release}${shared_ext}$major'
! 10522: dynamic_linker='NetBSD ld.elf_so'
! 10523: fi
! 10524: shlibpath_var=LD_LIBRARY_PATH
! 10525: shlibpath_overrides_runpath=yes
! 10526: hardcode_into_libs=yes
! 10527: ;;
! 10528:
! 10529: newsos6)
! 10530: version_type=linux # correct to gnu/linux during the next big refactor
! 10531: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10532: shlibpath_var=LD_LIBRARY_PATH
! 10533: shlibpath_overrides_runpath=yes
! 10534: ;;
! 10535:
! 10536: *nto* | *qnx*)
! 10537: version_type=qnx
! 10538: need_lib_prefix=no
! 10539: need_version=no
! 10540: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10541: soname_spec='${libname}${release}${shared_ext}$major'
! 10542: shlibpath_var=LD_LIBRARY_PATH
! 10543: shlibpath_overrides_runpath=no
! 10544: hardcode_into_libs=yes
! 10545: dynamic_linker='ldqnx.so'
! 10546: ;;
! 10547:
! 10548: openbsd*)
! 10549: version_type=sunos
! 10550: sys_lib_dlsearch_path_spec="/usr/lib"
! 10551: need_lib_prefix=no
! 10552: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 10553: case $host_os in
! 10554: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 10555: *) need_version=no ;;
! 10556: esac
! 10557: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10558: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 10559: shlibpath_var=LD_LIBRARY_PATH
! 10560: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 10561: case $host_os in
! 10562: openbsd2.[89] | openbsd2.[89].*)
! 10563: shlibpath_overrides_runpath=no
! 10564: ;;
! 10565: *)
! 10566: shlibpath_overrides_runpath=yes
! 10567: ;;
! 10568: esac
! 10569: else
! 10570: shlibpath_overrides_runpath=yes
! 10571: fi
! 10572: ;;
! 10573:
! 10574: os2*)
! 10575: libname_spec='$name'
! 10576: shrext_cmds=".dll"
! 10577: need_lib_prefix=no
! 10578: library_names_spec='$libname${shared_ext} $libname.a'
! 10579: dynamic_linker='OS/2 ld.exe'
! 10580: shlibpath_var=LIBPATH
! 10581: ;;
! 10582:
! 10583: osf3* | osf4* | osf5*)
! 10584: version_type=osf
! 10585: need_lib_prefix=no
! 10586: need_version=no
! 10587: soname_spec='${libname}${release}${shared_ext}$major'
! 10588: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10589: shlibpath_var=LD_LIBRARY_PATH
! 10590: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 10591: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 10592: ;;
! 10593:
! 10594: rdos*)
! 10595: dynamic_linker=no
! 10596: ;;
! 10597:
! 10598: solaris*)
! 10599: version_type=linux # correct to gnu/linux during the next big refactor
! 10600: need_lib_prefix=no
! 10601: need_version=no
! 10602: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10603: soname_spec='${libname}${release}${shared_ext}$major'
! 10604: shlibpath_var=LD_LIBRARY_PATH
! 10605: shlibpath_overrides_runpath=yes
! 10606: hardcode_into_libs=yes
! 10607: # ldd complains unless libraries are executable
! 10608: postinstall_cmds='chmod +x $lib'
! 10609: ;;
! 10610:
! 10611: sunos4*)
! 10612: version_type=sunos
! 10613: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10614: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 10615: shlibpath_var=LD_LIBRARY_PATH
! 10616: shlibpath_overrides_runpath=yes
! 10617: if test "$with_gnu_ld" = yes; then
! 10618: need_lib_prefix=no
! 10619: fi
! 10620: need_version=yes
! 10621: ;;
! 10622:
! 10623: sysv4 | sysv4.3*)
! 10624: version_type=linux # correct to gnu/linux during the next big refactor
! 10625: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10626: soname_spec='${libname}${release}${shared_ext}$major'
! 10627: shlibpath_var=LD_LIBRARY_PATH
! 10628: case $host_vendor in
! 10629: sni)
! 10630: shlibpath_overrides_runpath=no
! 10631: need_lib_prefix=no
! 10632: runpath_var=LD_RUN_PATH
! 10633: ;;
! 10634: siemens)
! 10635: need_lib_prefix=no
! 10636: ;;
! 10637: motorola)
! 10638: need_lib_prefix=no
! 10639: need_version=no
! 10640: shlibpath_overrides_runpath=no
! 10641: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 10642: ;;
! 10643: esac
! 10644: ;;
! 10645:
! 10646: sysv4*MP*)
! 10647: if test -d /usr/nec ;then
! 10648: version_type=linux # correct to gnu/linux during the next big refactor
! 10649: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 10650: soname_spec='$libname${shared_ext}.$major'
! 10651: shlibpath_var=LD_LIBRARY_PATH
! 10652: fi
! 10653: ;;
! 10654:
! 10655: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 10656: version_type=freebsd-elf
! 10657: need_lib_prefix=no
! 10658: need_version=no
! 10659: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10660: soname_spec='${libname}${release}${shared_ext}$major'
! 10661: shlibpath_var=LD_LIBRARY_PATH
! 10662: shlibpath_overrides_runpath=yes
! 10663: hardcode_into_libs=yes
! 10664: if test "$with_gnu_ld" = yes; then
! 10665: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 10666: else
! 10667: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 10668: case $host_os in
! 10669: sco3.2v5*)
! 10670: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 10671: ;;
! 10672: esac
! 10673: fi
! 10674: sys_lib_dlsearch_path_spec='/usr/lib'
! 10675: ;;
! 10676:
! 10677: tpf*)
! 10678: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 10679: version_type=linux # correct to gnu/linux during the next big refactor
! 10680: need_lib_prefix=no
! 10681: need_version=no
! 10682: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10683: shlibpath_var=LD_LIBRARY_PATH
! 10684: shlibpath_overrides_runpath=no
! 10685: hardcode_into_libs=yes
! 10686: ;;
! 10687:
! 10688: uts4*)
! 10689: version_type=linux # correct to gnu/linux during the next big refactor
! 10690: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10691: soname_spec='${libname}${release}${shared_ext}$major'
! 10692: shlibpath_var=LD_LIBRARY_PATH
! 10693: ;;
! 10694:
! 10695: *)
! 10696: dynamic_linker=no
! 10697: ;;
! 10698: esac
! 10699: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 10700: echo "${ECHO_T}$dynamic_linker" >&6
! 10701: test "$dynamic_linker" = no && can_build_shared=no
! 10702:
! 10703: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 10704: if test "$GCC" = yes; then
! 10705: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 10706: fi
! 10707:
! 10708: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 10709: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 10710: fi
! 10711: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 10712: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 10713: fi
! 10714:
! 10715:
! 10716:
! 10717:
! 10718:
! 10719:
! 10720:
! 10721:
! 10722:
! 10723:
! 10724:
! 10725:
! 10726:
! 10727:
! 10728:
! 10729:
! 10730:
! 10731:
! 10732:
! 10733:
! 10734:
! 10735:
! 10736:
! 10737:
! 10738:
! 10739:
! 10740:
! 10741:
! 10742:
! 10743:
! 10744:
! 10745:
! 10746:
! 10747:
! 10748:
! 10749:
! 10750:
! 10751:
! 10752:
! 10753:
! 10754:
! 10755:
! 10756:
! 10757:
! 10758:
! 10759:
! 10760:
! 10761:
! 10762:
! 10763:
! 10764:
! 10765:
! 10766:
! 10767:
! 10768:
! 10769:
! 10770:
! 10771:
! 10772:
! 10773:
! 10774:
! 10775:
! 10776:
! 10777:
! 10778:
! 10779:
! 10780:
! 10781:
! 10782:
! 10783:
! 10784:
! 10785:
! 10786:
! 10787:
! 10788:
! 10789:
! 10790:
! 10791:
! 10792:
! 10793:
! 10794:
! 10795:
! 10796:
! 10797:
! 10798:
! 10799:
! 10800:
! 10801:
! 10802:
! 10803:
! 10804:
! 10805:
! 10806: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 10807: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 10808: hardcode_action=
! 10809: if test -n "$hardcode_libdir_flag_spec" ||
! 10810: test -n "$runpath_var" ||
! 10811: test "X$hardcode_automatic" = "Xyes" ; then
! 10812:
! 10813: # We can hardcode non-existent directories.
! 10814: if test "$hardcode_direct" != no &&
! 10815: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 10816: # have to relink, otherwise we might link with an installed library
! 10817: # when we should be linking with a yet-to-be-installed one
! 10818: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 10819: test "$hardcode_minus_L" != no; then
! 10820: # Linking always hardcodes the temporary library directory.
! 10821: hardcode_action=relink
! 10822: else
! 10823: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 10824: hardcode_action=immediate
! 10825: fi
! 10826: else
! 10827: # We cannot hardcode anything, or else we can only hardcode existing
! 10828: # directories.
! 10829: hardcode_action=unsupported
! 10830: fi
! 10831: echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 10832: echo "${ECHO_T}$hardcode_action" >&6
! 10833:
! 10834: if test "$hardcode_action" = relink ||
! 10835: test "$inherit_rpath" = yes; then
! 10836: # Fast installation is not supported
! 10837: enable_fast_install=no
! 10838: elif test "$shlibpath_overrides_runpath" = yes ||
! 10839: test "$enable_shared" = no; then
! 10840: # Fast installation is not necessary
! 10841: enable_fast_install=needless
! 10842: fi
! 10843:
! 10844:
! 10845:
! 10846:
! 10847:
! 10848:
! 10849: if test "x$enable_dlopen" != xyes; then
! 10850: enable_dlopen=unknown
! 10851: enable_dlopen_self=unknown
! 10852: enable_dlopen_self_static=unknown
! 10853: else
! 10854: lt_cv_dlopen=no
! 10855: lt_cv_dlopen_libs=
! 10856:
! 10857: case $host_os in
! 10858: beos*)
! 10859: lt_cv_dlopen="load_add_on"
! 10860: lt_cv_dlopen_libs=
! 10861: lt_cv_dlopen_self=yes
! 10862: ;;
! 10863:
! 10864: mingw* | pw32* | cegcc*)
! 10865: lt_cv_dlopen="LoadLibrary"
! 10866: lt_cv_dlopen_libs=
! 10867: ;;
! 10868:
! 10869: cygwin*)
! 10870: lt_cv_dlopen="dlopen"
! 10871: lt_cv_dlopen_libs=
! 10872: ;;
! 10873:
! 10874: darwin*)
! 10875: # if libdl is installed we need to link against it
! 10876: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10877: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 10878: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10879: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10880: else
! 10881: ac_check_lib_save_LIBS=$LIBS
! 10882: LIBS="-ldl $LIBS"
! 10883: cat >conftest.$ac_ext <<_ACEOF
! 10884: /* confdefs.h. */
! 10885: _ACEOF
! 10886: cat confdefs.h >>conftest.$ac_ext
! 10887: cat >>conftest.$ac_ext <<_ACEOF
! 10888: /* end confdefs.h. */
! 10889:
! 10890: /* Override any gcc2 internal prototype to avoid an error. */
! 10891: #ifdef __cplusplus
! 10892: extern "C"
! 10893: #endif
! 10894: /* We use char because int might match the return type of a gcc2
! 10895: builtin and then its argument prototype would still apply. */
! 10896: char dlopen ();
! 10897: int
! 10898: main ()
! 10899: {
! 10900: dlopen ();
! 10901: ;
! 10902: return 0;
! 10903: }
! 10904: _ACEOF
! 10905: rm -f conftest.$ac_objext conftest$ac_exeext
! 10906: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10907: (eval $ac_link) 2>conftest.er1
! 10908: ac_status=$?
! 10909: grep -v '^ *+' conftest.er1 >conftest.err
! 10910: rm -f conftest.er1
! 10911: cat conftest.err >&5
! 10912: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10913: (exit $ac_status); } &&
! 10914: { ac_try='test -z "$ac_c_werror_flag"
! 10915: || test ! -s conftest.err'
! 10916: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10917: (eval $ac_try) 2>&5
! 10918: ac_status=$?
! 10919: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10920: (exit $ac_status); }; } &&
! 10921: { ac_try='test -s conftest$ac_exeext'
! 10922: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10923: (eval $ac_try) 2>&5
! 10924: ac_status=$?
! 10925: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10926: (exit $ac_status); }; }; then
! 10927: ac_cv_lib_dl_dlopen=yes
! 10928: else
! 10929: echo "$as_me: failed program was:" >&5
! 10930: sed 's/^/| /' conftest.$ac_ext >&5
! 10931:
! 10932: ac_cv_lib_dl_dlopen=no
! 10933: fi
! 10934: rm -f conftest.err conftest.$ac_objext \
! 10935: conftest$ac_exeext conftest.$ac_ext
! 10936: LIBS=$ac_check_lib_save_LIBS
! 10937: fi
! 10938: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10939: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 10940: if test $ac_cv_lib_dl_dlopen = yes; then
! 10941: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10942: else
! 10943:
! 10944: lt_cv_dlopen="dyld"
! 10945: lt_cv_dlopen_libs=
! 10946: lt_cv_dlopen_self=yes
! 10947:
! 10948: fi
! 10949:
! 10950: ;;
! 10951:
! 10952: *)
! 10953: echo "$as_me:$LINENO: checking for shl_load" >&5
! 10954: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 10955: if test "${ac_cv_func_shl_load+set}" = set; then
! 10956: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10957: else
! 10958: cat >conftest.$ac_ext <<_ACEOF
! 10959: /* confdefs.h. */
! 10960: _ACEOF
! 10961: cat confdefs.h >>conftest.$ac_ext
! 10962: cat >>conftest.$ac_ext <<_ACEOF
! 10963: /* end confdefs.h. */
! 10964: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 10965: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10966: #define shl_load innocuous_shl_load
! 10967:
! 10968: /* System header to define __stub macros and hopefully few prototypes,
! 10969: which can conflict with char shl_load (); below.
! 10970: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10971: <limits.h> exists even on freestanding compilers. */
! 10972:
! 10973: #ifdef __STDC__
! 10974: # include <limits.h>
! 10975: #else
! 10976: # include <assert.h>
! 10977: #endif
! 10978:
! 10979: #undef shl_load
! 10980:
! 10981: /* Override any gcc2 internal prototype to avoid an error. */
! 10982: #ifdef __cplusplus
! 10983: extern "C"
! 10984: {
! 10985: #endif
! 10986: /* We use char because int might match the return type of a gcc2
! 10987: builtin and then its argument prototype would still apply. */
! 10988: char shl_load ();
! 10989: /* The GNU C library defines this for functions which it implements
! 10990: to always fail with ENOSYS. Some functions are actually named
! 10991: something starting with __ and the normal name is an alias. */
! 10992: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 10993: choke me
! 10994: #else
! 10995: char (*f) () = shl_load;
! 10996: #endif
! 10997: #ifdef __cplusplus
! 10998: }
! 10999: #endif
! 11000:
! 11001: int
! 11002: main ()
! 11003: {
! 11004: return f != shl_load;
! 11005: ;
! 11006: return 0;
! 11007: }
! 11008: _ACEOF
! 11009: rm -f conftest.$ac_objext conftest$ac_exeext
! 11010: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11011: (eval $ac_link) 2>conftest.er1
! 11012: ac_status=$?
! 11013: grep -v '^ *+' conftest.er1 >conftest.err
! 11014: rm -f conftest.er1
! 11015: cat conftest.err >&5
! 11016: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11017: (exit $ac_status); } &&
! 11018: { ac_try='test -z "$ac_c_werror_flag"
! 11019: || test ! -s conftest.err'
! 11020: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11021: (eval $ac_try) 2>&5
! 11022: ac_status=$?
! 11023: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11024: (exit $ac_status); }; } &&
! 11025: { ac_try='test -s conftest$ac_exeext'
! 11026: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11027: (eval $ac_try) 2>&5
! 11028: ac_status=$?
! 11029: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11030: (exit $ac_status); }; }; then
! 11031: ac_cv_func_shl_load=yes
! 11032: else
! 11033: echo "$as_me: failed program was:" >&5
! 11034: sed 's/^/| /' conftest.$ac_ext >&5
! 11035:
! 11036: ac_cv_func_shl_load=no
! 11037: fi
! 11038: rm -f conftest.err conftest.$ac_objext \
! 11039: conftest$ac_exeext conftest.$ac_ext
! 11040: fi
! 11041: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 11042: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 11043: if test $ac_cv_func_shl_load = yes; then
! 11044: lt_cv_dlopen="shl_load"
! 11045: else
! 11046: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 11047: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 11048: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 11049: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11050: else
! 11051: ac_check_lib_save_LIBS=$LIBS
! 11052: LIBS="-ldld $LIBS"
! 11053: cat >conftest.$ac_ext <<_ACEOF
! 11054: /* confdefs.h. */
! 11055: _ACEOF
! 11056: cat confdefs.h >>conftest.$ac_ext
! 11057: cat >>conftest.$ac_ext <<_ACEOF
! 11058: /* end confdefs.h. */
! 11059:
! 11060: /* Override any gcc2 internal prototype to avoid an error. */
! 11061: #ifdef __cplusplus
! 11062: extern "C"
! 11063: #endif
! 11064: /* We use char because int might match the return type of a gcc2
! 11065: builtin and then its argument prototype would still apply. */
! 11066: char shl_load ();
! 11067: int
! 11068: main ()
! 11069: {
! 11070: shl_load ();
! 11071: ;
! 11072: return 0;
! 11073: }
! 11074: _ACEOF
! 11075: rm -f conftest.$ac_objext conftest$ac_exeext
! 11076: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11077: (eval $ac_link) 2>conftest.er1
! 11078: ac_status=$?
! 11079: grep -v '^ *+' conftest.er1 >conftest.err
! 11080: rm -f conftest.er1
! 11081: cat conftest.err >&5
! 11082: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11083: (exit $ac_status); } &&
! 11084: { ac_try='test -z "$ac_c_werror_flag"
! 11085: || test ! -s conftest.err'
! 11086: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11087: (eval $ac_try) 2>&5
! 11088: ac_status=$?
! 11089: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11090: (exit $ac_status); }; } &&
! 11091: { ac_try='test -s conftest$ac_exeext'
! 11092: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11093: (eval $ac_try) 2>&5
! 11094: ac_status=$?
! 11095: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11096: (exit $ac_status); }; }; then
! 11097: ac_cv_lib_dld_shl_load=yes
! 11098: else
! 11099: echo "$as_me: failed program was:" >&5
! 11100: sed 's/^/| /' conftest.$ac_ext >&5
! 11101:
! 11102: ac_cv_lib_dld_shl_load=no
! 11103: fi
! 11104: rm -f conftest.err conftest.$ac_objext \
! 11105: conftest$ac_exeext conftest.$ac_ext
! 11106: LIBS=$ac_check_lib_save_LIBS
! 11107: fi
! 11108: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 11109: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 11110: if test $ac_cv_lib_dld_shl_load = yes; then
! 11111: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 11112: else
! 11113: echo "$as_me:$LINENO: checking for dlopen" >&5
! 11114: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 11115: if test "${ac_cv_func_dlopen+set}" = set; then
! 11116: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11117: else
! 11118: cat >conftest.$ac_ext <<_ACEOF
! 11119: /* confdefs.h. */
! 11120: _ACEOF
! 11121: cat confdefs.h >>conftest.$ac_ext
! 11122: cat >>conftest.$ac_ext <<_ACEOF
! 11123: /* end confdefs.h. */
! 11124: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 11125: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 11126: #define dlopen innocuous_dlopen
! 11127:
! 11128: /* System header to define __stub macros and hopefully few prototypes,
! 11129: which can conflict with char dlopen (); below.
! 11130: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11131: <limits.h> exists even on freestanding compilers. */
! 11132:
! 11133: #ifdef __STDC__
! 11134: # include <limits.h>
! 11135: #else
! 11136: # include <assert.h>
! 11137: #endif
! 11138:
! 11139: #undef dlopen
! 11140:
! 11141: /* Override any gcc2 internal prototype to avoid an error. */
! 11142: #ifdef __cplusplus
! 11143: extern "C"
! 11144: {
! 11145: #endif
! 11146: /* We use char because int might match the return type of a gcc2
! 11147: builtin and then its argument prototype would still apply. */
! 11148: char dlopen ();
! 11149: /* The GNU C library defines this for functions which it implements
! 11150: to always fail with ENOSYS. Some functions are actually named
! 11151: something starting with __ and the normal name is an alias. */
! 11152: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 11153: choke me
! 11154: #else
! 11155: char (*f) () = dlopen;
! 11156: #endif
! 11157: #ifdef __cplusplus
! 11158: }
! 11159: #endif
! 11160:
! 11161: int
! 11162: main ()
! 11163: {
! 11164: return f != dlopen;
! 11165: ;
! 11166: return 0;
! 11167: }
! 11168: _ACEOF
! 11169: rm -f conftest.$ac_objext conftest$ac_exeext
! 11170: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11171: (eval $ac_link) 2>conftest.er1
! 11172: ac_status=$?
! 11173: grep -v '^ *+' conftest.er1 >conftest.err
! 11174: rm -f conftest.er1
! 11175: cat conftest.err >&5
! 11176: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11177: (exit $ac_status); } &&
! 11178: { ac_try='test -z "$ac_c_werror_flag"
! 11179: || test ! -s conftest.err'
! 11180: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11181: (eval $ac_try) 2>&5
! 11182: ac_status=$?
! 11183: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11184: (exit $ac_status); }; } &&
! 11185: { ac_try='test -s conftest$ac_exeext'
! 11186: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11187: (eval $ac_try) 2>&5
! 11188: ac_status=$?
! 11189: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11190: (exit $ac_status); }; }; then
! 11191: ac_cv_func_dlopen=yes
! 11192: else
! 11193: echo "$as_me: failed program was:" >&5
! 11194: sed 's/^/| /' conftest.$ac_ext >&5
! 11195:
! 11196: ac_cv_func_dlopen=no
! 11197: fi
! 11198: rm -f conftest.err conftest.$ac_objext \
! 11199: conftest$ac_exeext conftest.$ac_ext
! 11200: fi
! 11201: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 11202: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 11203: if test $ac_cv_func_dlopen = yes; then
! 11204: lt_cv_dlopen="dlopen"
! 11205: else
! 11206: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 11207: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 11208: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 11209: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11210: else
! 11211: ac_check_lib_save_LIBS=$LIBS
! 11212: LIBS="-ldl $LIBS"
! 11213: cat >conftest.$ac_ext <<_ACEOF
! 11214: /* confdefs.h. */
! 11215: _ACEOF
! 11216: cat confdefs.h >>conftest.$ac_ext
! 11217: cat >>conftest.$ac_ext <<_ACEOF
! 11218: /* end confdefs.h. */
! 11219:
! 11220: /* Override any gcc2 internal prototype to avoid an error. */
! 11221: #ifdef __cplusplus
! 11222: extern "C"
! 11223: #endif
! 11224: /* We use char because int might match the return type of a gcc2
! 11225: builtin and then its argument prototype would still apply. */
! 11226: char dlopen ();
! 11227: int
! 11228: main ()
! 11229: {
! 11230: dlopen ();
! 11231: ;
! 11232: return 0;
! 11233: }
! 11234: _ACEOF
! 11235: rm -f conftest.$ac_objext conftest$ac_exeext
! 11236: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11237: (eval $ac_link) 2>conftest.er1
! 11238: ac_status=$?
! 11239: grep -v '^ *+' conftest.er1 >conftest.err
! 11240: rm -f conftest.er1
! 11241: cat conftest.err >&5
! 11242: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11243: (exit $ac_status); } &&
! 11244: { ac_try='test -z "$ac_c_werror_flag"
! 11245: || test ! -s conftest.err'
! 11246: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11247: (eval $ac_try) 2>&5
! 11248: ac_status=$?
! 11249: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11250: (exit $ac_status); }; } &&
! 11251: { ac_try='test -s conftest$ac_exeext'
! 11252: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11253: (eval $ac_try) 2>&5
! 11254: ac_status=$?
! 11255: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11256: (exit $ac_status); }; }; then
! 11257: ac_cv_lib_dl_dlopen=yes
! 11258: else
! 11259: echo "$as_me: failed program was:" >&5
! 11260: sed 's/^/| /' conftest.$ac_ext >&5
! 11261:
! 11262: ac_cv_lib_dl_dlopen=no
! 11263: fi
! 11264: rm -f conftest.err conftest.$ac_objext \
! 11265: conftest$ac_exeext conftest.$ac_ext
! 11266: LIBS=$ac_check_lib_save_LIBS
! 11267: fi
! 11268: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 11269: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 11270: if test $ac_cv_lib_dl_dlopen = yes; then
! 11271: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 11272: else
! 11273: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 11274: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 11275: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 11276: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11277: else
! 11278: ac_check_lib_save_LIBS=$LIBS
! 11279: LIBS="-lsvld $LIBS"
! 11280: cat >conftest.$ac_ext <<_ACEOF
! 11281: /* confdefs.h. */
! 11282: _ACEOF
! 11283: cat confdefs.h >>conftest.$ac_ext
! 11284: cat >>conftest.$ac_ext <<_ACEOF
! 11285: /* end confdefs.h. */
! 11286:
! 11287: /* Override any gcc2 internal prototype to avoid an error. */
! 11288: #ifdef __cplusplus
! 11289: extern "C"
! 11290: #endif
! 11291: /* We use char because int might match the return type of a gcc2
! 11292: builtin and then its argument prototype would still apply. */
! 11293: char dlopen ();
! 11294: int
! 11295: main ()
! 11296: {
! 11297: dlopen ();
! 11298: ;
! 11299: return 0;
! 11300: }
! 11301: _ACEOF
! 11302: rm -f conftest.$ac_objext conftest$ac_exeext
! 11303: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11304: (eval $ac_link) 2>conftest.er1
! 11305: ac_status=$?
! 11306: grep -v '^ *+' conftest.er1 >conftest.err
! 11307: rm -f conftest.er1
! 11308: cat conftest.err >&5
! 11309: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11310: (exit $ac_status); } &&
! 11311: { ac_try='test -z "$ac_c_werror_flag"
! 11312: || test ! -s conftest.err'
! 11313: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11314: (eval $ac_try) 2>&5
! 11315: ac_status=$?
! 11316: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11317: (exit $ac_status); }; } &&
! 11318: { ac_try='test -s conftest$ac_exeext'
! 11319: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11320: (eval $ac_try) 2>&5
! 11321: ac_status=$?
! 11322: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11323: (exit $ac_status); }; }; then
! 11324: ac_cv_lib_svld_dlopen=yes
! 11325: else
! 11326: echo "$as_me: failed program was:" >&5
! 11327: sed 's/^/| /' conftest.$ac_ext >&5
! 11328:
! 11329: ac_cv_lib_svld_dlopen=no
! 11330: fi
! 11331: rm -f conftest.err conftest.$ac_objext \
! 11332: conftest$ac_exeext conftest.$ac_ext
! 11333: LIBS=$ac_check_lib_save_LIBS
! 11334: fi
! 11335: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 11336: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 11337: if test $ac_cv_lib_svld_dlopen = yes; then
! 11338: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 11339: else
! 11340: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 11341: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 11342: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 11343: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11344: else
! 11345: ac_check_lib_save_LIBS=$LIBS
! 11346: LIBS="-ldld $LIBS"
! 11347: cat >conftest.$ac_ext <<_ACEOF
! 11348: /* confdefs.h. */
! 11349: _ACEOF
! 11350: cat confdefs.h >>conftest.$ac_ext
! 11351: cat >>conftest.$ac_ext <<_ACEOF
! 11352: /* end confdefs.h. */
! 11353:
! 11354: /* Override any gcc2 internal prototype to avoid an error. */
! 11355: #ifdef __cplusplus
! 11356: extern "C"
! 11357: #endif
! 11358: /* We use char because int might match the return type of a gcc2
! 11359: builtin and then its argument prototype would still apply. */
! 11360: char dld_link ();
! 11361: int
! 11362: main ()
! 11363: {
! 11364: dld_link ();
! 11365: ;
! 11366: return 0;
! 11367: }
! 11368: _ACEOF
! 11369: rm -f conftest.$ac_objext conftest$ac_exeext
! 11370: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11371: (eval $ac_link) 2>conftest.er1
! 11372: ac_status=$?
! 11373: grep -v '^ *+' conftest.er1 >conftest.err
! 11374: rm -f conftest.er1
! 11375: cat conftest.err >&5
! 11376: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11377: (exit $ac_status); } &&
! 11378: { ac_try='test -z "$ac_c_werror_flag"
! 11379: || test ! -s conftest.err'
! 11380: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11381: (eval $ac_try) 2>&5
! 11382: ac_status=$?
! 11383: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11384: (exit $ac_status); }; } &&
! 11385: { ac_try='test -s conftest$ac_exeext'
! 11386: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11387: (eval $ac_try) 2>&5
! 11388: ac_status=$?
! 11389: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11390: (exit $ac_status); }; }; then
! 11391: ac_cv_lib_dld_dld_link=yes
! 11392: else
! 11393: echo "$as_me: failed program was:" >&5
! 11394: sed 's/^/| /' conftest.$ac_ext >&5
! 11395:
! 11396: ac_cv_lib_dld_dld_link=no
! 11397: fi
! 11398: rm -f conftest.err conftest.$ac_objext \
! 11399: conftest$ac_exeext conftest.$ac_ext
! 11400: LIBS=$ac_check_lib_save_LIBS
! 11401: fi
! 11402: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 11403: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 11404: if test $ac_cv_lib_dld_dld_link = yes; then
! 11405: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 11406: fi
! 11407:
! 11408:
! 11409: fi
! 11410:
! 11411:
! 11412: fi
! 11413:
! 11414:
! 11415: fi
! 11416:
! 11417:
! 11418: fi
! 11419:
! 11420:
! 11421: fi
! 11422:
! 11423: ;;
! 11424: esac
! 11425:
! 11426: if test "x$lt_cv_dlopen" != xno; then
! 11427: enable_dlopen=yes
! 11428: else
! 11429: enable_dlopen=no
! 11430: fi
! 11431:
! 11432: case $lt_cv_dlopen in
! 11433: dlopen)
! 11434: save_CPPFLAGS="$CPPFLAGS"
! 11435: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 11436:
! 11437: save_LDFLAGS="$LDFLAGS"
! 11438: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 11439:
! 11440: save_LIBS="$LIBS"
! 11441: LIBS="$lt_cv_dlopen_libs $LIBS"
! 11442:
! 11443: echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 11444: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! 11445: if test "${lt_cv_dlopen_self+set}" = set; then
! 11446: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11447: else
! 11448: if test "$cross_compiling" = yes; then :
! 11449: lt_cv_dlopen_self=cross
! 11450: else
! 11451: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11452: lt_status=$lt_dlunknown
! 11453: cat > conftest.$ac_ext <<_LT_EOF
! 11454: #line $LINENO "configure"
! 11455: #include "confdefs.h"
! 11456:
! 11457: #if HAVE_DLFCN_H
! 11458: #include <dlfcn.h>
! 11459: #endif
! 11460:
! 11461: #include <stdio.h>
! 11462:
! 11463: #ifdef RTLD_GLOBAL
! 11464: # define LT_DLGLOBAL RTLD_GLOBAL
! 11465: #else
! 11466: # ifdef DL_GLOBAL
! 11467: # define LT_DLGLOBAL DL_GLOBAL
! 11468: # else
! 11469: # define LT_DLGLOBAL 0
! 11470: # endif
! 11471: #endif
! 11472:
! 11473: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11474: find out it does not work in some platform. */
! 11475: #ifndef LT_DLLAZY_OR_NOW
! 11476: # ifdef RTLD_LAZY
! 11477: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11478: # else
! 11479: # ifdef DL_LAZY
! 11480: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11481: # else
! 11482: # ifdef RTLD_NOW
! 11483: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11484: # else
! 11485: # ifdef DL_NOW
! 11486: # define LT_DLLAZY_OR_NOW DL_NOW
! 11487: # else
! 11488: # define LT_DLLAZY_OR_NOW 0
! 11489: # endif
! 11490: # endif
! 11491: # endif
! 11492: # endif
! 11493: #endif
! 11494:
! 11495: /* When -fvisbility=hidden is used, assume the code has been annotated
! 11496: correspondingly for the symbols needed. */
! 11497: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11498: int fnord () __attribute__((visibility("default")));
! 11499: #endif
! 11500:
! 11501: int fnord () { return 42; }
! 11502: int main ()
! 11503: {
! 11504: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11505: int status = $lt_dlunknown;
! 11506:
! 11507: if (self)
! 11508: {
! 11509: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11510: else
! 11511: {
! 11512: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11513: else puts (dlerror ());
! 11514: }
! 11515: /* dlclose (self); */
! 11516: }
! 11517: else
! 11518: puts (dlerror ());
! 11519:
! 11520: return status;
! 11521: }
! 11522: _LT_EOF
! 11523: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11524: (eval $ac_link) 2>&5
! 11525: ac_status=$?
! 11526: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11527: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 11528: (./conftest; exit; ) >&5 2>/dev/null
! 11529: lt_status=$?
! 11530: case x$lt_status in
! 11531: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 11532: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 11533: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 11534: esac
! 11535: else :
! 11536: # compilation failed
! 11537: lt_cv_dlopen_self=no
! 11538: fi
! 11539: fi
! 11540: rm -fr conftest*
! 11541:
! 11542:
! 11543: fi
! 11544: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 11545: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
! 11546:
! 11547: if test "x$lt_cv_dlopen_self" = xyes; then
! 11548: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 11549: echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 11550: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
! 11551: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 11552: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11553: else
! 11554: if test "$cross_compiling" = yes; then :
! 11555: lt_cv_dlopen_self_static=cross
! 11556: else
! 11557: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11558: lt_status=$lt_dlunknown
! 11559: cat > conftest.$ac_ext <<_LT_EOF
! 11560: #line $LINENO "configure"
! 11561: #include "confdefs.h"
! 11562:
! 11563: #if HAVE_DLFCN_H
! 11564: #include <dlfcn.h>
! 11565: #endif
! 11566:
! 11567: #include <stdio.h>
! 11568:
! 11569: #ifdef RTLD_GLOBAL
! 11570: # define LT_DLGLOBAL RTLD_GLOBAL
! 11571: #else
! 11572: # ifdef DL_GLOBAL
! 11573: # define LT_DLGLOBAL DL_GLOBAL
! 11574: # else
! 11575: # define LT_DLGLOBAL 0
! 11576: # endif
! 11577: #endif
! 11578:
! 11579: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11580: find out it does not work in some platform. */
! 11581: #ifndef LT_DLLAZY_OR_NOW
! 11582: # ifdef RTLD_LAZY
! 11583: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11584: # else
! 11585: # ifdef DL_LAZY
! 11586: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11587: # else
! 11588: # ifdef RTLD_NOW
! 11589: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11590: # else
! 11591: # ifdef DL_NOW
! 11592: # define LT_DLLAZY_OR_NOW DL_NOW
! 11593: # else
! 11594: # define LT_DLLAZY_OR_NOW 0
! 11595: # endif
! 11596: # endif
! 11597: # endif
! 11598: # endif
! 11599: #endif
! 11600:
! 11601: /* When -fvisbility=hidden is used, assume the code has been annotated
! 11602: correspondingly for the symbols needed. */
! 11603: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11604: int fnord () __attribute__((visibility("default")));
! 11605: #endif
! 11606:
! 11607: int fnord () { return 42; }
! 11608: int main ()
! 11609: {
! 11610: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11611: int status = $lt_dlunknown;
! 11612:
! 11613: if (self)
! 11614: {
! 11615: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11616: else
! 11617: {
! 11618: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11619: else puts (dlerror ());
! 11620: }
! 11621: /* dlclose (self); */
! 11622: }
! 11623: else
! 11624: puts (dlerror ());
! 11625:
! 11626: return status;
! 11627: }
! 11628: _LT_EOF
! 11629: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11630: (eval $ac_link) 2>&5
! 11631: ac_status=$?
! 11632: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11633: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 11634: (./conftest; exit; ) >&5 2>/dev/null
! 11635: lt_status=$?
! 11636: case x$lt_status in
! 11637: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 11638: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 11639: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 11640: esac
! 11641: else :
! 11642: # compilation failed
! 11643: lt_cv_dlopen_self_static=no
! 11644: fi
! 11645: fi
! 11646: rm -fr conftest*
! 11647:
! 11648:
! 11649: fi
! 11650: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 11651: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
! 11652: fi
! 11653:
! 11654: CPPFLAGS="$save_CPPFLAGS"
! 11655: LDFLAGS="$save_LDFLAGS"
! 11656: LIBS="$save_LIBS"
! 11657: ;;
! 11658: esac
! 11659:
! 11660: case $lt_cv_dlopen_self in
! 11661: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 11662: *) enable_dlopen_self=unknown ;;
! 11663: esac
! 11664:
! 11665: case $lt_cv_dlopen_self_static in
! 11666: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 11667: *) enable_dlopen_self_static=unknown ;;
! 11668: esac
! 11669: fi
! 11670:
! 11671:
! 11672:
! 11673:
! 11674:
! 11675:
! 11676:
! 11677:
! 11678:
! 11679:
! 11680:
! 11681:
! 11682:
! 11683:
! 11684:
! 11685:
! 11686:
! 11687: striplib=
! 11688: old_striplib=
! 11689: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 11690: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
! 11691: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 11692: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 11693: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 11694: echo "$as_me:$LINENO: result: yes" >&5
! 11695: echo "${ECHO_T}yes" >&6
! 11696: else
! 11697: # FIXME - insert some real tests, host_os isn't really good enough
! 11698: case $host_os in
! 11699: darwin*)
! 11700: if test -n "$STRIP" ; then
! 11701: striplib="$STRIP -x"
! 11702: old_striplib="$STRIP -S"
! 11703: echo "$as_me:$LINENO: result: yes" >&5
! 11704: echo "${ECHO_T}yes" >&6
! 11705: else
! 11706: echo "$as_me:$LINENO: result: no" >&5
! 11707: echo "${ECHO_T}no" >&6
! 11708: fi
! 11709: ;;
! 11710: *)
! 11711: echo "$as_me:$LINENO: result: no" >&5
! 11712: echo "${ECHO_T}no" >&6
! 11713: ;;
! 11714: esac
! 11715: fi
! 11716:
! 11717:
! 11718:
! 11719:
! 11720:
! 11721:
! 11722:
! 11723:
! 11724:
! 11725:
! 11726:
! 11727:
! 11728: # Report which library types will actually be built
! 11729: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 11730: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 11731: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 11732: echo "${ECHO_T}$can_build_shared" >&6
! 11733:
! 11734: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 11735: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 11736: test "$can_build_shared" = "no" && enable_shared=no
! 11737:
! 11738: # On AIX, shared libraries and static libraries use the same namespace, and
! 11739: # are all built from PIC.
! 11740: case $host_os in
! 11741: aix3*)
! 11742: test "$enable_shared" = yes && enable_static=no
! 11743: if test -n "$RANLIB"; then
! 11744: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 11745: postinstall_cmds='$RANLIB $lib'
! 11746: fi
! 11747: ;;
! 11748:
! 11749: aix[4-9]*)
! 11750: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 11751: test "$enable_shared" = yes && enable_static=no
! 11752: fi
! 11753: ;;
! 11754: esac
! 11755: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 11756: echo "${ECHO_T}$enable_shared" >&6
! 11757:
! 11758: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 11759: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 11760: # Make sure either enable_shared or enable_static is yes.
! 11761: test "$enable_shared" = yes || enable_static=yes
! 11762: echo "$as_me:$LINENO: result: $enable_static" >&5
! 11763: echo "${ECHO_T}$enable_static" >&6
! 11764:
! 11765:
! 11766:
! 11767:
! 11768: fi
! 11769: ac_ext=c
! 11770: ac_cpp='$CPP $CPPFLAGS'
! 11771: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11772: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11773: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11774:
! 11775: CC="$lt_save_CC"
! 11776:
! 11777: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 11778: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 11779: (test "X$CXX" != "Xg++"))) ; then
! 11780: ac_ext=cc
! 11781: ac_cpp='$CXXCPP $CPPFLAGS'
! 11782: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11783: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11784: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 11785: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
! 11786: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
! 11787: if test -z "$CXXCPP"; then
! 11788: if test "${ac_cv_prog_CXXCPP+set}" = set; then
! 11789: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11790: else
! 11791: # Double quotes because CXXCPP needs to be expanded
! 11792: for CXXCPP in "$CXX -E" "/lib/cpp"
! 11793: do
! 11794: ac_preproc_ok=false
! 11795: for ac_cxx_preproc_warn_flag in '' yes
! 11796: do
! 11797: # Use a header file that comes with gcc, so configuring glibc
! 11798: # with a fresh cross-compiler works.
! 11799: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11800: # <limits.h> exists even on freestanding compilers.
! 11801: # On the NeXT, cc -E runs the code through the compiler's parser,
! 11802: # not just through cpp. "Syntax error" is here to catch this case.
! 11803: cat >conftest.$ac_ext <<_ACEOF
! 11804: /* confdefs.h. */
! 11805: _ACEOF
! 11806: cat confdefs.h >>conftest.$ac_ext
! 11807: cat >>conftest.$ac_ext <<_ACEOF
! 11808: /* end confdefs.h. */
! 11809: #ifdef __STDC__
! 11810: # include <limits.h>
! 11811: #else
! 11812: # include <assert.h>
! 11813: #endif
! 11814: Syntax error
! 11815: _ACEOF
! 11816: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11817: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11818: ac_status=$?
! 11819: grep -v '^ *+' conftest.er1 >conftest.err
! 11820: rm -f conftest.er1
! 11821: cat conftest.err >&5
! 11822: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11823: (exit $ac_status); } >/dev/null; then
! 11824: if test -s conftest.err; then
! 11825: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11826: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11827: else
! 11828: ac_cpp_err=
! 11829: fi
! 11830: else
! 11831: ac_cpp_err=yes
! 11832: fi
! 11833: if test -z "$ac_cpp_err"; then
! 11834: :
! 11835: else
! 11836: echo "$as_me: failed program was:" >&5
! 11837: sed 's/^/| /' conftest.$ac_ext >&5
! 11838:
! 11839: # Broken: fails on valid input.
! 11840: continue
! 11841: fi
! 11842: rm -f conftest.err conftest.$ac_ext
! 11843:
! 11844: # OK, works on sane cases. Now check whether non-existent headers
! 11845: # can be detected and how.
! 11846: cat >conftest.$ac_ext <<_ACEOF
! 11847: /* confdefs.h. */
! 11848: _ACEOF
! 11849: cat confdefs.h >>conftest.$ac_ext
! 11850: cat >>conftest.$ac_ext <<_ACEOF
! 11851: /* end confdefs.h. */
! 11852: #include <ac_nonexistent.h>
! 11853: _ACEOF
! 11854: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11855: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11856: ac_status=$?
! 11857: grep -v '^ *+' conftest.er1 >conftest.err
! 11858: rm -f conftest.er1
! 11859: cat conftest.err >&5
! 11860: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11861: (exit $ac_status); } >/dev/null; then
! 11862: if test -s conftest.err; then
! 11863: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11864: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11865: else
! 11866: ac_cpp_err=
! 11867: fi
! 11868: else
! 11869: ac_cpp_err=yes
! 11870: fi
! 11871: if test -z "$ac_cpp_err"; then
! 11872: # Broken: success on invalid input.
! 11873: continue
! 11874: else
! 11875: echo "$as_me: failed program was:" >&5
! 11876: sed 's/^/| /' conftest.$ac_ext >&5
! 11877:
! 11878: # Passes both tests.
! 11879: ac_preproc_ok=:
! 11880: break
! 11881: fi
! 11882: rm -f conftest.err conftest.$ac_ext
! 11883:
! 11884: done
! 11885: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 11886: rm -f conftest.err conftest.$ac_ext
! 11887: if $ac_preproc_ok; then
! 11888: break
! 11889: fi
! 11890:
! 11891: done
! 11892: ac_cv_prog_CXXCPP=$CXXCPP
! 11893:
! 11894: fi
! 11895: CXXCPP=$ac_cv_prog_CXXCPP
! 11896: else
! 11897: ac_cv_prog_CXXCPP=$CXXCPP
! 11898: fi
! 11899: echo "$as_me:$LINENO: result: $CXXCPP" >&5
! 11900: echo "${ECHO_T}$CXXCPP" >&6
! 11901: ac_preproc_ok=false
! 11902: for ac_cxx_preproc_warn_flag in '' yes
! 11903: do
! 11904: # Use a header file that comes with gcc, so configuring glibc
! 11905: # with a fresh cross-compiler works.
! 11906: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11907: # <limits.h> exists even on freestanding compilers.
! 11908: # On the NeXT, cc -E runs the code through the compiler's parser,
! 11909: # not just through cpp. "Syntax error" is here to catch this case.
! 11910: cat >conftest.$ac_ext <<_ACEOF
! 11911: /* confdefs.h. */
! 11912: _ACEOF
! 11913: cat confdefs.h >>conftest.$ac_ext
! 11914: cat >>conftest.$ac_ext <<_ACEOF
! 11915: /* end confdefs.h. */
! 11916: #ifdef __STDC__
! 11917: # include <limits.h>
! 11918: #else
! 11919: # include <assert.h>
! 11920: #endif
! 11921: Syntax error
! 11922: _ACEOF
! 11923: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11924: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11925: ac_status=$?
! 11926: grep -v '^ *+' conftest.er1 >conftest.err
! 11927: rm -f conftest.er1
! 11928: cat conftest.err >&5
! 11929: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11930: (exit $ac_status); } >/dev/null; then
! 11931: if test -s conftest.err; then
! 11932: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11933: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11934: else
! 11935: ac_cpp_err=
! 11936: fi
! 11937: else
! 11938: ac_cpp_err=yes
! 11939: fi
! 11940: if test -z "$ac_cpp_err"; then
! 11941: :
! 11942: else
! 11943: echo "$as_me: failed program was:" >&5
! 11944: sed 's/^/| /' conftest.$ac_ext >&5
! 11945:
! 11946: # Broken: fails on valid input.
! 11947: continue
! 11948: fi
! 11949: rm -f conftest.err conftest.$ac_ext
! 11950:
! 11951: # OK, works on sane cases. Now check whether non-existent headers
! 11952: # can be detected and how.
! 11953: cat >conftest.$ac_ext <<_ACEOF
! 11954: /* confdefs.h. */
! 11955: _ACEOF
! 11956: cat confdefs.h >>conftest.$ac_ext
! 11957: cat >>conftest.$ac_ext <<_ACEOF
! 11958: /* end confdefs.h. */
! 11959: #include <ac_nonexistent.h>
! 11960: _ACEOF
! 11961: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11962: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11963: ac_status=$?
! 11964: grep -v '^ *+' conftest.er1 >conftest.err
! 11965: rm -f conftest.er1
! 11966: cat conftest.err >&5
! 11967: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11968: (exit $ac_status); } >/dev/null; then
! 11969: if test -s conftest.err; then
! 11970: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11971: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11972: else
! 11973: ac_cpp_err=
! 11974: fi
! 11975: else
! 11976: ac_cpp_err=yes
! 11977: fi
! 11978: if test -z "$ac_cpp_err"; then
! 11979: # Broken: success on invalid input.
! 11980: continue
! 11981: else
! 11982: echo "$as_me: failed program was:" >&5
! 11983: sed 's/^/| /' conftest.$ac_ext >&5
! 11984:
! 11985: # Passes both tests.
! 11986: ac_preproc_ok=:
! 11987: break
! 11988: fi
! 11989: rm -f conftest.err conftest.$ac_ext
! 11990:
! 11991: done
! 11992: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 11993: rm -f conftest.err conftest.$ac_ext
! 11994: if $ac_preproc_ok; then
! 11995: :
! 11996: else
! 11997: { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 11998: See \`config.log' for more details." >&5
! 11999: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 12000: See \`config.log' for more details." >&2;}
! 12001: { (exit 1); exit 1; }; }
! 12002: fi
! 12003:
! 12004: ac_ext=c
! 12005: ac_cpp='$CPP $CPPFLAGS'
! 12006: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12007: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12008: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12009:
! 12010: else
! 12011: _lt_caught_CXX_error=yes
! 12012: fi
! 12013:
! 12014: ac_ext=cc
! 12015: ac_cpp='$CXXCPP $CPPFLAGS'
! 12016: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12017: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12018: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 12019:
! 12020: archive_cmds_need_lc_CXX=no
! 12021: allow_undefined_flag_CXX=
! 12022: always_export_symbols_CXX=no
! 12023: archive_expsym_cmds_CXX=
! 12024: compiler_needs_object_CXX=no
! 12025: export_dynamic_flag_spec_CXX=
! 12026: hardcode_direct_CXX=no
! 12027: hardcode_direct_absolute_CXX=no
! 12028: hardcode_libdir_flag_spec_CXX=
! 12029: hardcode_libdir_separator_CXX=
! 12030: hardcode_minus_L_CXX=no
! 12031: hardcode_shlibpath_var_CXX=unsupported
! 12032: hardcode_automatic_CXX=no
! 12033: inherit_rpath_CXX=no
! 12034: module_cmds_CXX=
! 12035: module_expsym_cmds_CXX=
! 12036: link_all_deplibs_CXX=unknown
! 12037: old_archive_cmds_CXX=$old_archive_cmds
! 12038: reload_flag_CXX=$reload_flag
! 12039: reload_cmds_CXX=$reload_cmds
! 12040: no_undefined_flag_CXX=
! 12041: whole_archive_flag_spec_CXX=
! 12042: enable_shared_with_static_runtimes_CXX=no
! 12043:
! 12044: # Source file extension for C++ test sources.
! 12045: ac_ext=cpp
! 12046:
! 12047: # Object file extension for compiled C++ test sources.
! 12048: objext=o
! 12049: objext_CXX=$objext
! 12050:
! 12051: # No sense in running all these tests if we already determined that
! 12052: # the CXX compiler isn't working. Some variables (like enable_shared)
! 12053: # are currently assumed to apply to all compilers on this platform,
! 12054: # and will be corrupted by setting them based on a non-working compiler.
! 12055: if test "$_lt_caught_CXX_error" != yes; then
! 12056: # Code to be used in simple compile tests
! 12057: lt_simple_compile_test_code="int some_variable = 0;"
! 12058:
! 12059: # Code to be used in simple link tests
! 12060: lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
! 12061:
! 12062: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 12063:
! 12064:
! 12065:
! 12066:
! 12067:
! 12068:
! 12069: # If no C compiler was specified, use CC.
! 12070: LTCC=${LTCC-"$CC"}
! 12071:
! 12072: # If no C compiler flags were specified, use CFLAGS.
! 12073: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 12074:
! 12075: # Allow CC to be a program name with arguments.
! 12076: compiler=$CC
! 12077:
! 12078:
! 12079: # save warnings/boilerplate of simple test code
! 12080: ac_outfile=conftest.$ac_objext
! 12081: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 12082: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 12083: _lt_compiler_boilerplate=`cat conftest.err`
! 12084: $RM conftest*
! 12085:
! 12086: ac_outfile=conftest.$ac_objext
! 12087: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 12088: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 12089: _lt_linker_boilerplate=`cat conftest.err`
! 12090: $RM -r conftest*
! 12091:
! 12092:
! 12093: # Allow CC to be a program name with arguments.
! 12094: lt_save_CC=$CC
! 12095: lt_save_CFLAGS=$CFLAGS
! 12096: lt_save_LD=$LD
! 12097: lt_save_GCC=$GCC
! 12098: GCC=$GXX
! 12099: lt_save_with_gnu_ld=$with_gnu_ld
! 12100: lt_save_path_LD=$lt_cv_path_LD
! 12101: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
! 12102: lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
! 12103: else
! 12104: $as_unset lt_cv_prog_gnu_ld
! 12105: fi
! 12106: if test -n "${lt_cv_path_LDCXX+set}"; then
! 12107: lt_cv_path_LD=$lt_cv_path_LDCXX
! 12108: else
! 12109: $as_unset lt_cv_path_LD
! 12110: fi
! 12111: test -z "${LDCXX+set}" || LD=$LDCXX
! 12112: CC=${CXX-"c++"}
! 12113: CFLAGS=$CXXFLAGS
! 12114: compiler=$CC
! 12115: compiler_CXX=$CC
! 12116: for cc_temp in $compiler""; do
! 12117: case $cc_temp in
! 12118: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 12119: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 12120: \-*) ;;
! 12121: *) break;;
! 12122: esac
! 12123: done
! 12124: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
! 12125:
! 12126:
! 12127: if test -n "$compiler"; then
! 12128: # We don't want -fno-exception when compiling C++ code, so set the
! 12129: # no_builtin_flag separately
! 12130: if test "$GXX" = yes; then
! 12131: lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
! 12132: else
! 12133: lt_prog_compiler_no_builtin_flag_CXX=
! 12134: fi
! 12135:
! 12136: if test "$GXX" = yes; then
! 12137: # Set up default GNU C++ configuration
! 12138:
! 12139:
! 12140:
! 12141: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 12142: if test "${with_gnu_ld+set}" = set; then
! 12143: withval="$with_gnu_ld"
! 12144: test "$withval" = no || with_gnu_ld=yes
! 12145: else
! 12146: with_gnu_ld=no
! 12147: fi;
! 12148: ac_prog=ld
! 12149: if test "$GCC" = yes; then
! 12150: # Check if gcc -print-prog-name=ld gives a path.
! 12151: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 12152: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
! 12153: case $host in
! 12154: *-*-mingw*)
! 12155: # gcc leaves a trailing carriage return which upsets mingw
! 12156: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 12157: *)
! 12158: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 12159: esac
! 12160: case $ac_prog in
! 12161: # Accept absolute paths.
! 12162: [\\/]* | ?:[\\/]*)
! 12163: re_direlt='/[^/][^/]*/\.\./'
! 12164: # Canonicalize the pathname of ld
! 12165: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 12166: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 12167: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 12168: done
! 12169: test -z "$LD" && LD="$ac_prog"
! 12170: ;;
! 12171: "")
! 12172: # If it fails, then pretend we aren't using GCC.
! 12173: ac_prog=ld
! 12174: ;;
! 12175: *)
! 12176: # If it is relative, then search for the first ld in PATH.
! 12177: with_gnu_ld=unknown
! 12178: ;;
! 12179: esac
! 12180: elif test "$with_gnu_ld" = yes; then
! 12181: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 12182: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 12183: else
! 12184: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 12185: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 12186: fi
! 12187: if test "${lt_cv_path_LD+set}" = set; then
! 12188: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12189: else
! 12190: if test -z "$LD"; then
! 12191: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 12192: for ac_dir in $PATH; do
! 12193: IFS="$lt_save_ifs"
! 12194: test -z "$ac_dir" && ac_dir=.
! 12195: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 12196: lt_cv_path_LD="$ac_dir/$ac_prog"
! 12197: # Check to see if the program is GNU ld. I'd rather use --version,
! 12198: # but apparently some variants of GNU ld only accept -v.
! 12199: # Break only if it was the GNU/non-GNU ld that we prefer.
! 12200: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 12201: *GNU* | *'with BFD'*)
! 12202: test "$with_gnu_ld" != no && break
! 12203: ;;
! 12204: *)
! 12205: test "$with_gnu_ld" != yes && break
! 12206: ;;
! 12207: esac
! 12208: fi
! 12209: done
! 12210: IFS="$lt_save_ifs"
! 12211: else
! 12212: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 12213: fi
! 12214: fi
! 12215:
! 12216: LD="$lt_cv_path_LD"
! 12217: if test -n "$LD"; then
! 12218: echo "$as_me:$LINENO: result: $LD" >&5
! 12219: echo "${ECHO_T}$LD" >&6
! 12220: else
! 12221: echo "$as_me:$LINENO: result: no" >&5
! 12222: echo "${ECHO_T}no" >&6
! 12223: fi
! 12224: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 12225: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 12226: { (exit 1); exit 1; }; }
! 12227: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 12228: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 12229: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 12230: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12231: else
! 12232: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 12233: case `$LD -v 2>&1 </dev/null` in
! 12234: *GNU* | *'with BFD'*)
! 12235: lt_cv_prog_gnu_ld=yes
! 12236: ;;
! 12237: *)
! 12238: lt_cv_prog_gnu_ld=no
! 12239: ;;
! 12240: esac
! 12241: fi
! 12242: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 12243: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 12244: with_gnu_ld=$lt_cv_prog_gnu_ld
! 12245:
! 12246:
! 12247:
! 12248:
! 12249:
! 12250:
! 12251:
! 12252: # Check if GNU C++ uses GNU ld as the underlying linker, since the
! 12253: # archiving commands below assume that GNU ld is being used.
! 12254: if test "$with_gnu_ld" = yes; then
! 12255: archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12256: 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'
! 12257:
! 12258: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12259: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12260:
! 12261: # If archive_cmds runs LD, not CC, wlarc should be empty
! 12262: # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
! 12263: # investigate it a little bit more. (MM)
! 12264: wlarc='${wl}'
! 12265:
! 12266: # ancient GNU ld didn't support --whole-archive et. al.
! 12267: if eval "`$CC -print-prog-name=ld` --help 2>&1" |
! 12268: $GREP 'no-whole-archive' > /dev/null; then
! 12269: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 12270: else
! 12271: whole_archive_flag_spec_CXX=
! 12272: fi
! 12273: else
! 12274: with_gnu_ld=no
! 12275: wlarc=
! 12276:
! 12277: # A generic and very simple default shared library creation
! 12278: # command for GNU C++ for the case where it uses the native
! 12279: # linker, instead of GNU ld. If possible, this setting should
! 12280: # overridden to take advantage of the native linker features on
! 12281: # the platform it is being used on.
! 12282: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 12283: fi
! 12284:
! 12285: # Commands to make compiler produce verbose output that lists
! 12286: # what "hidden" libraries, object files and flags are used when
! 12287: # linking a shared library.
! 12288: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 12289:
! 12290: else
! 12291: GXX=no
! 12292: with_gnu_ld=no
! 12293: wlarc=
! 12294: fi
! 12295:
! 12296: # PORTME: fill in a description of your system's C++ link characteristics
! 12297: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 12298: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 12299: ld_shlibs_CXX=yes
! 12300: case $host_os in
! 12301: aix3*)
! 12302: # FIXME: insert proper C++ library support
! 12303: ld_shlibs_CXX=no
! 12304: ;;
! 12305: aix[4-9]*)
! 12306: if test "$host_cpu" = ia64; then
! 12307: # On IA64, the linker does run time linking by default, so we don't
! 12308: # have to do anything special.
! 12309: aix_use_runtimelinking=no
! 12310: exp_sym_flag='-Bexport'
! 12311: no_entry_flag=""
! 12312: else
! 12313: aix_use_runtimelinking=no
! 12314:
! 12315: # Test if we are trying to use run time linking or normal
! 12316: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 12317: # need to do runtime linking.
! 12318: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 12319: for ld_flag in $LDFLAGS; do
! 12320: case $ld_flag in
! 12321: *-brtl*)
! 12322: aix_use_runtimelinking=yes
! 12323: break
! 12324: ;;
! 12325: esac
! 12326: done
! 12327: ;;
! 12328: esac
! 12329:
! 12330: exp_sym_flag='-bexport'
! 12331: no_entry_flag='-bnoentry'
! 12332: fi
! 12333:
! 12334: # When large executables or shared objects are built, AIX ld can
! 12335: # have problems creating the table of contents. If linking a library
! 12336: # or program results in "error TOC overflow" add -mminimal-toc to
! 12337: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 12338: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 12339:
! 12340: archive_cmds_CXX=''
! 12341: hardcode_direct_CXX=yes
! 12342: hardcode_direct_absolute_CXX=yes
! 12343: hardcode_libdir_separator_CXX=':'
! 12344: link_all_deplibs_CXX=yes
! 12345: file_list_spec_CXX='${wl}-f,'
! 12346:
! 12347: if test "$GXX" = yes; then
! 12348: case $host_os in aix4.[012]|aix4.[012].*)
! 12349: # We only want to do this on AIX 4.2 and lower, the check
! 12350: # below for broken collect2 doesn't work under 4.3+
! 12351: collect2name=`${CC} -print-prog-name=collect2`
! 12352: if test -f "$collect2name" &&
! 12353: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 12354: then
! 12355: # We have reworked collect2
! 12356: :
! 12357: else
! 12358: # We have old collect2
! 12359: hardcode_direct_CXX=unsupported
! 12360: # It fails to find uninstalled libraries when the uninstalled
! 12361: # path is not listed in the libpath. Setting hardcode_minus_L
! 12362: # to unsupported forces relinking
! 12363: hardcode_minus_L_CXX=yes
! 12364: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 12365: hardcode_libdir_separator_CXX=
! 12366: fi
! 12367: esac
! 12368: shared_flag='-shared'
! 12369: if test "$aix_use_runtimelinking" = yes; then
! 12370: shared_flag="$shared_flag "'${wl}-G'
! 12371: fi
! 12372: else
! 12373: # not using gcc
! 12374: if test "$host_cpu" = ia64; then
! 12375: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 12376: # chokes on -Wl,-G. The following line is correct:
! 12377: shared_flag='-G'
! 12378: else
! 12379: if test "$aix_use_runtimelinking" = yes; then
! 12380: shared_flag='${wl}-G'
! 12381: else
! 12382: shared_flag='${wl}-bM:SRE'
! 12383: fi
! 12384: fi
! 12385: fi
! 12386:
! 12387: export_dynamic_flag_spec_CXX='${wl}-bexpall'
! 12388: # It seems that -bexpall does not export symbols beginning with
! 12389: # underscore (_), so it is better to generate a list of symbols to
! 12390: # export.
! 12391: always_export_symbols_CXX=yes
! 12392: if test "$aix_use_runtimelinking" = yes; then
! 12393: # Warning - without using the other runtime loading flags (-brtl),
! 12394: # -berok will link without error, but may produce a broken library.
! 12395: allow_undefined_flag_CXX='-berok'
! 12396: # Determine the default libpath from the value encoded in an empty
! 12397: # executable.
! 12398: if test "${lt_cv_aix_libpath+set}" = set; then
! 12399: aix_libpath=$lt_cv_aix_libpath
! 12400: else
! 12401: if test "${lt_cv_aix_libpath__CXX+set}" = set; then
! 12402: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12403: else
! 12404: cat >conftest.$ac_ext <<_ACEOF
! 12405: /* confdefs.h. */
! 12406: _ACEOF
! 12407: cat confdefs.h >>conftest.$ac_ext
! 12408: cat >>conftest.$ac_ext <<_ACEOF
! 12409: /* end confdefs.h. */
! 12410:
! 12411: int
! 12412: main ()
! 12413: {
! 12414:
! 12415: ;
! 12416: return 0;
! 12417: }
! 12418: _ACEOF
! 12419: rm -f conftest.$ac_objext conftest$ac_exeext
! 12420: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 12421: (eval $ac_link) 2>conftest.er1
! 12422: ac_status=$?
! 12423: grep -v '^ *+' conftest.er1 >conftest.err
! 12424: rm -f conftest.er1
! 12425: cat conftest.err >&5
! 12426: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12427: (exit $ac_status); } &&
! 12428: { ac_try='test -z "$ac_cxx_werror_flag"
! 12429: || test ! -s conftest.err'
! 12430: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12431: (eval $ac_try) 2>&5
! 12432: ac_status=$?
! 12433: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12434: (exit $ac_status); }; } &&
! 12435: { ac_try='test -s conftest$ac_exeext'
! 12436: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12437: (eval $ac_try) 2>&5
! 12438: ac_status=$?
! 12439: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12440: (exit $ac_status); }; }; then
! 12441:
! 12442: lt_aix_libpath_sed='
! 12443: /Import File Strings/,/^$/ {
! 12444: /^0/ {
! 12445: s/^0 *\([^ ]*\) *$/\1/
! 12446: p
! 12447: }
! 12448: }'
! 12449: lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12450: # Check for a 64-bit object if we didn't find anything.
! 12451: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12452: lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12453: fi
! 12454: else
! 12455: echo "$as_me: failed program was:" >&5
! 12456: sed 's/^/| /' conftest.$ac_ext >&5
! 12457:
! 12458: fi
! 12459: rm -f conftest.err conftest.$ac_objext \
! 12460: conftest$ac_exeext conftest.$ac_ext
! 12461: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12462: lt_cv_aix_libpath__CXX="/usr/lib:/lib"
! 12463: fi
! 12464:
! 12465: fi
! 12466:
! 12467: aix_libpath=$lt_cv_aix_libpath__CXX
! 12468: fi
! 12469:
! 12470: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 12471:
! 12472: 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"
! 12473: else
! 12474: if test "$host_cpu" = ia64; then
! 12475: hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
! 12476: allow_undefined_flag_CXX="-z nodefs"
! 12477: 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"
! 12478: else
! 12479: # Determine the default libpath from the value encoded in an
! 12480: # empty executable.
! 12481: if test "${lt_cv_aix_libpath+set}" = set; then
! 12482: aix_libpath=$lt_cv_aix_libpath
! 12483: else
! 12484: if test "${lt_cv_aix_libpath__CXX+set}" = set; then
! 12485: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12486: else
! 12487: cat >conftest.$ac_ext <<_ACEOF
! 12488: /* confdefs.h. */
! 12489: _ACEOF
! 12490: cat confdefs.h >>conftest.$ac_ext
! 12491: cat >>conftest.$ac_ext <<_ACEOF
! 12492: /* end confdefs.h. */
! 12493:
! 12494: int
! 12495: main ()
! 12496: {
! 12497:
! 12498: ;
! 12499: return 0;
! 12500: }
! 12501: _ACEOF
! 12502: rm -f conftest.$ac_objext conftest$ac_exeext
! 12503: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 12504: (eval $ac_link) 2>conftest.er1
! 12505: ac_status=$?
! 12506: grep -v '^ *+' conftest.er1 >conftest.err
! 12507: rm -f conftest.er1
! 12508: cat conftest.err >&5
! 12509: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12510: (exit $ac_status); } &&
! 12511: { ac_try='test -z "$ac_cxx_werror_flag"
! 12512: || test ! -s conftest.err'
! 12513: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12514: (eval $ac_try) 2>&5
! 12515: ac_status=$?
! 12516: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12517: (exit $ac_status); }; } &&
! 12518: { ac_try='test -s conftest$ac_exeext'
! 12519: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12520: (eval $ac_try) 2>&5
! 12521: ac_status=$?
! 12522: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12523: (exit $ac_status); }; }; then
! 12524:
! 12525: lt_aix_libpath_sed='
! 12526: /Import File Strings/,/^$/ {
! 12527: /^0/ {
! 12528: s/^0 *\([^ ]*\) *$/\1/
! 12529: p
! 12530: }
! 12531: }'
! 12532: lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12533: # Check for a 64-bit object if we didn't find anything.
! 12534: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12535: lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12536: fi
! 12537: else
! 12538: echo "$as_me: failed program was:" >&5
! 12539: sed 's/^/| /' conftest.$ac_ext >&5
! 12540:
! 12541: fi
! 12542: rm -f conftest.err conftest.$ac_objext \
! 12543: conftest$ac_exeext conftest.$ac_ext
! 12544: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12545: lt_cv_aix_libpath__CXX="/usr/lib:/lib"
! 12546: fi
! 12547:
! 12548: fi
! 12549:
! 12550: aix_libpath=$lt_cv_aix_libpath__CXX
! 12551: fi
! 12552:
! 12553: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 12554: # Warning - without using the other run time loading flags,
! 12555: # -berok will link without error, but may produce a broken library.
! 12556: no_undefined_flag_CXX=' ${wl}-bernotok'
! 12557: allow_undefined_flag_CXX=' ${wl}-berok'
! 12558: if test "$with_gnu_ld" = yes; then
! 12559: # We only use this code for GNU lds that support --whole-archive.
! 12560: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12561: else
! 12562: # Exported symbols can be pulled into shared objects from archives
! 12563: whole_archive_flag_spec_CXX='$convenience'
! 12564: fi
! 12565: archive_cmds_need_lc_CXX=yes
! 12566: # This is similar to how AIX traditionally builds its shared
! 12567: # libraries.
! 12568: 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'
! 12569: fi
! 12570: fi
! 12571: ;;
! 12572:
! 12573: beos*)
! 12574: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 12575: allow_undefined_flag_CXX=unsupported
! 12576: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 12577: # support --undefined. This deserves some investigation. FIXME
! 12578: archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12579: else
! 12580: ld_shlibs_CXX=no
! 12581: fi
! 12582: ;;
! 12583:
! 12584: chorus*)
! 12585: case $cc_basename in
! 12586: *)
! 12587: # FIXME: insert proper C++ library support
! 12588: ld_shlibs_CXX=no
! 12589: ;;
! 12590: esac
! 12591: ;;
! 12592:
! 12593: cygwin* | mingw* | pw32* | cegcc*)
! 12594: case $GXX,$cc_basename in
! 12595: ,cl* | no,cl*)
! 12596: # Native MSVC
! 12597: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 12598: # no search path for DLLs.
! 12599: hardcode_libdir_flag_spec_CXX=' '
! 12600: allow_undefined_flag_CXX=unsupported
! 12601: always_export_symbols_CXX=yes
! 12602: file_list_spec_CXX='@'
! 12603: # Tell ltmain to make .lib files, not .a files.
! 12604: libext=lib
! 12605: # Tell ltmain to make .dll files, not .so files.
! 12606: shrext_cmds=".dll"
! 12607: # FIXME: Setting linknames here is a bad hack.
! 12608: archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 12609: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 12610: $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 12611: else
! 12612: $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 12613: fi~
! 12614: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 12615: linknames='
! 12616: # The linker will not automatically build a static lib if we build a DLL.
! 12617: # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
! 12618: enable_shared_with_static_runtimes_CXX=yes
! 12619: # Don't use ranlib
! 12620: old_postinstall_cmds_CXX='chmod 644 $oldlib'
! 12621: postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
! 12622: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 12623: case $lt_outputfile in
! 12624: *.exe|*.EXE) ;;
! 12625: *)
! 12626: lt_outputfile="$lt_outputfile.exe"
! 12627: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 12628: ;;
! 12629: esac~
! 12630: func_to_tool_file "$lt_outputfile"~
! 12631: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 12632: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 12633: $RM "$lt_outputfile.manifest";
! 12634: fi'
! 12635: ;;
! 12636: *)
! 12637: # g++
! 12638: # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
! 12639: # as there is no search path for DLLs.
! 12640: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 12641: export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
! 12642: allow_undefined_flag_CXX=unsupported
! 12643: always_export_symbols_CXX=no
! 12644: enable_shared_with_static_runtimes_CXX=yes
! 12645:
! 12646: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 12647: 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'
! 12648: # If the export-symbols file already is a .def file (1st line
! 12649: # is EXPORTS), use it as is; otherwise, prepend...
! 12650: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 12651: cp $export_symbols $output_objdir/$soname.def;
! 12652: else
! 12653: echo EXPORTS > $output_objdir/$soname.def;
! 12654: cat $export_symbols >> $output_objdir/$soname.def;
! 12655: fi~
! 12656: $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'
! 12657: else
! 12658: ld_shlibs_CXX=no
! 12659: fi
! 12660: ;;
! 12661: esac
! 12662: ;;
! 12663: darwin* | rhapsody*)
! 12664:
! 12665:
! 12666: archive_cmds_need_lc_CXX=no
! 12667: hardcode_direct_CXX=no
! 12668: hardcode_automatic_CXX=yes
! 12669: hardcode_shlibpath_var_CXX=unsupported
! 12670: if test "$lt_cv_ld_force_load" = "yes"; then
! 12671: 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\"`'
! 12672:
! 12673: else
! 12674: whole_archive_flag_spec_CXX=''
! 12675: fi
! 12676: link_all_deplibs_CXX=yes
! 12677: allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
! 12678: case $cc_basename in
! 12679: ifort*) _lt_dar_can_shared=yes ;;
! 12680: *) _lt_dar_can_shared=$GCC ;;
! 12681: esac
! 12682: if test "$_lt_dar_can_shared" = "yes"; then
! 12683: output_verbose_link_cmd=func_echo_all
! 12684: 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}"
! 12685: module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 12686: 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}"
! 12687: 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}"
! 12688: if test "$lt_cv_apple_cc_single_mod" != "yes"; then
! 12689: 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}"
! 12690: 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}"
! 12691: fi
! 12692:
! 12693: else
! 12694: ld_shlibs_CXX=no
! 12695: fi
! 12696:
! 12697: ;;
! 12698:
! 12699: dgux*)
! 12700: case $cc_basename in
! 12701: ec++*)
! 12702: # FIXME: insert proper C++ library support
! 12703: ld_shlibs_CXX=no
! 12704: ;;
! 12705: ghcx*)
! 12706: # Green Hills C++ Compiler
! 12707: # FIXME: insert proper C++ library support
! 12708: ld_shlibs_CXX=no
! 12709: ;;
! 12710: *)
! 12711: # FIXME: insert proper C++ library support
! 12712: ld_shlibs_CXX=no
! 12713: ;;
! 12714: esac
! 12715: ;;
! 12716:
! 12717: freebsd2.*)
! 12718: # C++ shared libraries reported to be fairly broken before
! 12719: # switch to ELF
! 12720: ld_shlibs_CXX=no
! 12721: ;;
! 12722:
! 12723: freebsd-elf*)
! 12724: archive_cmds_need_lc_CXX=no
! 12725: ;;
! 12726:
! 12727: freebsd* | dragonfly*)
! 12728: # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
! 12729: # conventions
! 12730: ld_shlibs_CXX=yes
! 12731: ;;
! 12732:
! 12733: gnu*)
! 12734: ;;
! 12735:
! 12736: haiku*)
! 12737: archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12738: link_all_deplibs_CXX=yes
! 12739: ;;
! 12740:
! 12741: hpux9*)
! 12742: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 12743: hardcode_libdir_separator_CXX=:
! 12744: export_dynamic_flag_spec_CXX='${wl}-E'
! 12745: hardcode_direct_CXX=yes
! 12746: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 12747: # but as the default
! 12748: # location of the library.
! 12749:
! 12750: case $cc_basename in
! 12751: CC*)
! 12752: # FIXME: insert proper C++ library support
! 12753: ld_shlibs_CXX=no
! 12754: ;;
! 12755: aCC*)
! 12756: 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'
! 12757: # Commands to make compiler produce verbose output that lists
! 12758: # what "hidden" libraries, object files and flags are used when
! 12759: # linking a shared library.
! 12760: #
! 12761: # There doesn't appear to be a way to prevent this compiler from
! 12762: # explicitly linking system object files so we need to strip them
! 12763: # from the output so that they don't get included in the library
! 12764: # dependencies.
! 12765: 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"'
! 12766: ;;
! 12767: *)
! 12768: if test "$GXX" = yes; then
! 12769: 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'
! 12770: else
! 12771: # FIXME: insert proper C++ library support
! 12772: ld_shlibs_CXX=no
! 12773: fi
! 12774: ;;
! 12775: esac
! 12776: ;;
! 12777:
! 12778: hpux10*|hpux11*)
! 12779: if test $with_gnu_ld = no; then
! 12780: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 12781: hardcode_libdir_separator_CXX=:
! 12782:
! 12783: case $host_cpu in
! 12784: hppa*64*|ia64*)
! 12785: ;;
! 12786: *)
! 12787: export_dynamic_flag_spec_CXX='${wl}-E'
! 12788: ;;
! 12789: esac
! 12790: fi
! 12791: case $host_cpu in
! 12792: hppa*64*|ia64*)
! 12793: hardcode_direct_CXX=no
! 12794: hardcode_shlibpath_var_CXX=no
! 12795: ;;
! 12796: *)
! 12797: hardcode_direct_CXX=yes
! 12798: hardcode_direct_absolute_CXX=yes
! 12799: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 12800: # but as the default
! 12801: # location of the library.
! 12802: ;;
! 12803: esac
! 12804:
! 12805: case $cc_basename in
! 12806: CC*)
! 12807: # FIXME: insert proper C++ library support
! 12808: ld_shlibs_CXX=no
! 12809: ;;
! 12810: aCC*)
! 12811: case $host_cpu in
! 12812: hppa*64*)
! 12813: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12814: ;;
! 12815: ia64*)
! 12816: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12817: ;;
! 12818: *)
! 12819: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12820: ;;
! 12821: esac
! 12822: # Commands to make compiler produce verbose output that lists
! 12823: # what "hidden" libraries, object files and flags are used when
! 12824: # linking a shared library.
! 12825: #
! 12826: # There doesn't appear to be a way to prevent this compiler from
! 12827: # explicitly linking system object files so we need to strip them
! 12828: # from the output so that they don't get included in the library
! 12829: # dependencies.
! 12830: 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"'
! 12831: ;;
! 12832: *)
! 12833: if test "$GXX" = yes; then
! 12834: if test $with_gnu_ld = no; then
! 12835: case $host_cpu in
! 12836: hppa*64*)
! 12837: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12838: ;;
! 12839: ia64*)
! 12840: archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12841: ;;
! 12842: *)
! 12843: 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'
! 12844: ;;
! 12845: esac
! 12846: fi
! 12847: else
! 12848: # FIXME: insert proper C++ library support
! 12849: ld_shlibs_CXX=no
! 12850: fi
! 12851: ;;
! 12852: esac
! 12853: ;;
! 12854:
! 12855: interix[3-9]*)
! 12856: hardcode_direct_CXX=no
! 12857: hardcode_shlibpath_var_CXX=no
! 12858: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12859: export_dynamic_flag_spec_CXX='${wl}-E'
! 12860: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 12861: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 12862: # default) and relocated if they conflict, which is a slow very memory
! 12863: # consuming and fragmenting process. To avoid this, we pick a random,
! 12864: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 12865: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 12866: 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'
! 12867: 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'
! 12868: ;;
! 12869: irix5* | irix6*)
! 12870: case $cc_basename in
! 12871: CC*)
! 12872: # SGI C++
! 12873: 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'
! 12874:
! 12875: # Archives containing C++ object files must be created using
! 12876: # "CC -ar", where "CC" is the IRIX C++ compiler. This is
! 12877: # necessary to make sure instantiated templates are included
! 12878: # in the archive.
! 12879: old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
! 12880: ;;
! 12881: *)
! 12882: if test "$GXX" = yes; then
! 12883: if test "$with_gnu_ld" = no; then
! 12884: 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'
! 12885: else
! 12886: 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'
! 12887: fi
! 12888: fi
! 12889: link_all_deplibs_CXX=yes
! 12890: ;;
! 12891: esac
! 12892: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12893: hardcode_libdir_separator_CXX=:
! 12894: inherit_rpath_CXX=yes
! 12895: ;;
! 12896:
! 12897: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 12898: case $cc_basename in
! 12899: KCC*)
! 12900: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12901:
! 12902: # KCC will only create a shared library if the output file
! 12903: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12904: # to its proper name (with version) after linking.
! 12905: 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'
! 12906: 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'
! 12907: # Commands to make compiler produce verbose output that lists
! 12908: # what "hidden" libraries, object files and flags are used when
! 12909: # linking a shared library.
! 12910: #
! 12911: # There doesn't appear to be a way to prevent this compiler from
! 12912: # explicitly linking system object files so we need to strip them
! 12913: # from the output so that they don't get included in the library
! 12914: # dependencies.
! 12915: 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"'
! 12916:
! 12917: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12918: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12919:
! 12920: # Archives containing C++ object files must be created using
! 12921: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12922: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12923: ;;
! 12924: icpc* | ecpc* )
! 12925: # Intel C++
! 12926: with_gnu_ld=yes
! 12927: # version 8.0 and above of icpc choke on multiply defined symbols
! 12928: # if we add $predep_objects and $postdep_objects, however 7.1 and
! 12929: # earlier do not add the objects themselves.
! 12930: case `$CC -V 2>&1` in
! 12931: *"Version 7."*)
! 12932: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12933: 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'
! 12934: ;;
! 12935: *) # Version 8.0 or newer
! 12936: tmp_idyn=
! 12937: case $host_cpu in
! 12938: ia64*) tmp_idyn=' -i_dynamic';;
! 12939: esac
! 12940: archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12941: 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'
! 12942: ;;
! 12943: esac
! 12944: archive_cmds_need_lc_CXX=no
! 12945: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12946: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12947: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12948: ;;
! 12949: pgCC* | pgcpp*)
! 12950: # Portland Group C++ compiler
! 12951: case `$CC -V` in
! 12952: *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
! 12953: prelink_cmds_CXX='tpldir=Template.dir~
! 12954: rm -rf $tpldir~
! 12955: $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
! 12956: compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
! 12957: old_archive_cmds_CXX='tpldir=Template.dir~
! 12958: rm -rf $tpldir~
! 12959: $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
! 12960: $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
! 12961: $RANLIB $oldlib'
! 12962: archive_cmds_CXX='tpldir=Template.dir~
! 12963: rm -rf $tpldir~
! 12964: $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
! 12965: $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12966: archive_expsym_cmds_CXX='tpldir=Template.dir~
! 12967: rm -rf $tpldir~
! 12968: $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
! 12969: $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'
! 12970: ;;
! 12971: *) # Version 6 and above use weak symbols
! 12972: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12973: 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'
! 12974: ;;
! 12975: esac
! 12976:
! 12977: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 12978: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12979: 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'
! 12980: ;;
! 12981: cxx*)
! 12982: # Compaq C++
! 12983: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12984: 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'
! 12985:
! 12986: runpath_var=LD_RUN_PATH
! 12987: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12988: hardcode_libdir_separator_CXX=:
! 12989:
! 12990: # Commands to make compiler produce verbose output that lists
! 12991: # what "hidden" libraries, object files and flags are used when
! 12992: # linking a shared library.
! 12993: #
! 12994: # There doesn't appear to be a way to prevent this compiler from
! 12995: # explicitly linking system object files so we need to strip them
! 12996: # from the output so that they don't get included in the library
! 12997: # dependencies.
! 12998: 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'
! 12999: ;;
! 13000: xl* | mpixl* | bgxl*)
! 13001: # IBM XL 8.0 on PPC, with GNU ld
! 13002: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 13003: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 13004: archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13005: if test "x$supports_anon_versioning" = xyes; then
! 13006: archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
! 13007: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 13008: echo "local: *; };" >> $output_objdir/$libname.ver~
! 13009: $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 13010: fi
! 13011: ;;
! 13012: *)
! 13013: case `$CC -V 2>&1 | sed 5q` in
! 13014: *Sun\ C*)
! 13015: # Sun C++ 5.9
! 13016: no_undefined_flag_CXX=' -zdefs'
! 13017: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 13018: 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'
! 13019: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 13020: 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'
! 13021: compiler_needs_object_CXX=yes
! 13022:
! 13023: # Not sure whether something based on
! 13024: # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
! 13025: # would be better.
! 13026: output_verbose_link_cmd='func_echo_all'
! 13027:
! 13028: # Archives containing C++ object files must be created using
! 13029: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 13030: # necessary to make sure instantiated templates are included
! 13031: # in the archive.
! 13032: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 13033: ;;
! 13034: esac
! 13035: ;;
! 13036: esac
! 13037: ;;
! 13038:
! 13039: lynxos*)
! 13040: # FIXME: insert proper C++ library support
! 13041: ld_shlibs_CXX=no
! 13042: ;;
! 13043:
! 13044: m88k*)
! 13045: # FIXME: insert proper C++ library support
! 13046: ld_shlibs_CXX=no
! 13047: ;;
! 13048:
! 13049: mvs*)
! 13050: case $cc_basename in
! 13051: cxx*)
! 13052: # FIXME: insert proper C++ library support
! 13053: ld_shlibs_CXX=no
! 13054: ;;
! 13055: *)
! 13056: # FIXME: insert proper C++ library support
! 13057: ld_shlibs_CXX=no
! 13058: ;;
! 13059: esac
! 13060: ;;
! 13061:
! 13062: netbsd*)
! 13063: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 13064: archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
! 13065: wlarc=
! 13066: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 13067: hardcode_direct_CXX=yes
! 13068: hardcode_shlibpath_var_CXX=no
! 13069: fi
! 13070: # Workaround some broken pre-1.5 toolchains
! 13071: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
! 13072: ;;
! 13073:
! 13074: *nto* | *qnx*)
! 13075: ld_shlibs_CXX=yes
! 13076: ;;
! 13077:
! 13078: openbsd2*)
! 13079: # C++ shared libraries are fairly broken
! 13080: ld_shlibs_CXX=no
! 13081: ;;
! 13082:
! 13083: openbsd*)
! 13084: if test -f /usr/libexec/ld.so; then
! 13085: hardcode_direct_CXX=yes
! 13086: hardcode_shlibpath_var_CXX=no
! 13087: hardcode_direct_absolute_CXX=yes
! 13088: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 13089: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 13090: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 13091: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 13092: export_dynamic_flag_spec_CXX='${wl}-E'
! 13093: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 13094: fi
! 13095: output_verbose_link_cmd=func_echo_all
! 13096: else
! 13097: ld_shlibs_CXX=no
! 13098: fi
! 13099: ;;
! 13100:
! 13101: osf3* | osf4* | osf5*)
! 13102: case $cc_basename in
! 13103: KCC*)
! 13104: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 13105:
! 13106: # KCC will only create a shared library if the output file
! 13107: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 13108: # to its proper name (with version) after linking.
! 13109: 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'
! 13110:
! 13111: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 13112: hardcode_libdir_separator_CXX=:
! 13113:
! 13114: # Archives containing C++ object files must be created using
! 13115: # the KAI C++ compiler.
! 13116: case $host in
! 13117: osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
! 13118: *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
! 13119: esac
! 13120: ;;
! 13121: RCC*)
! 13122: # Rational C++ 2.4.1
! 13123: # FIXME: insert proper C++ library support
! 13124: ld_shlibs_CXX=no
! 13125: ;;
! 13126: cxx*)
! 13127: case $host in
! 13128: osf3*)
! 13129: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 13130: 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'
! 13131: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 13132: ;;
! 13133: *)
! 13134: allow_undefined_flag_CXX=' -expect_unresolved \*'
! 13135: 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'
! 13136: archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
! 13137: echo "-hidden">> $lib.exp~
! 13138: $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~
! 13139: $RM $lib.exp'
! 13140: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 13141: ;;
! 13142: esac
! 13143:
! 13144: hardcode_libdir_separator_CXX=:
! 13145:
! 13146: # Commands to make compiler produce verbose output that lists
! 13147: # what "hidden" libraries, object files and flags are used when
! 13148: # linking a shared library.
! 13149: #
! 13150: # There doesn't appear to be a way to prevent this compiler from
! 13151: # explicitly linking system object files so we need to strip them
! 13152: # from the output so that they don't get included in the library
! 13153: # dependencies.
! 13154: 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"'
! 13155: ;;
! 13156: *)
! 13157: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 13158: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 13159: case $host in
! 13160: osf3*)
! 13161: 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'
! 13162: ;;
! 13163: *)
! 13164: 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'
! 13165: ;;
! 13166: esac
! 13167:
! 13168: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 13169: hardcode_libdir_separator_CXX=:
! 13170:
! 13171: # Commands to make compiler produce verbose output that lists
! 13172: # what "hidden" libraries, object files and flags are used when
! 13173: # linking a shared library.
! 13174: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 13175:
! 13176: else
! 13177: # FIXME: insert proper C++ library support
! 13178: ld_shlibs_CXX=no
! 13179: fi
! 13180: ;;
! 13181: esac
! 13182: ;;
! 13183:
! 13184: psos*)
! 13185: # FIXME: insert proper C++ library support
! 13186: ld_shlibs_CXX=no
! 13187: ;;
! 13188:
! 13189: sunos4*)
! 13190: case $cc_basename in
! 13191: CC*)
! 13192: # Sun C++ 4.x
! 13193: # FIXME: insert proper C++ library support
! 13194: ld_shlibs_CXX=no
! 13195: ;;
! 13196: lcc*)
! 13197: # Lucid
! 13198: # FIXME: insert proper C++ library support
! 13199: ld_shlibs_CXX=no
! 13200: ;;
! 13201: *)
! 13202: # FIXME: insert proper C++ library support
! 13203: ld_shlibs_CXX=no
! 13204: ;;
! 13205: esac
! 13206: ;;
! 13207:
! 13208: solaris*)
! 13209: case $cc_basename in
! 13210: CC* | sunCC*)
! 13211: # Sun C++ 4.2, 5.x and Centerline C++
! 13212: archive_cmds_need_lc_CXX=yes
! 13213: no_undefined_flag_CXX=' -zdefs'
! 13214: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 13215: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 13216: $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'
! 13217:
! 13218: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 13219: hardcode_shlibpath_var_CXX=no
! 13220: case $host_os in
! 13221: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 13222: *)
! 13223: # The compiler driver will combine and reorder linker options,
! 13224: # but understands `-z linker_flag'.
! 13225: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 13226: whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
! 13227: ;;
! 13228: esac
! 13229: link_all_deplibs_CXX=yes
! 13230:
! 13231: output_verbose_link_cmd='func_echo_all'
! 13232:
! 13233: # Archives containing C++ object files must be created using
! 13234: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 13235: # necessary to make sure instantiated templates are included
! 13236: # in the archive.
! 13237: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 13238: ;;
! 13239: gcx*)
! 13240: # Green Hills C++ Compiler
! 13241: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 13242:
! 13243: # The C++ compiler must be used to create the archive.
! 13244: old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
! 13245: ;;
! 13246: *)
! 13247: # GNU C++ compiler with Solaris linker
! 13248: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 13249: no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
! 13250: if $CC --version | $GREP -v '^2\.7' > /dev/null; then
! 13251: archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 13252: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 13253: $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 13254:
! 13255: # Commands to make compiler produce verbose output that lists
! 13256: # what "hidden" libraries, object files and flags are used when
! 13257: # linking a shared library.
! 13258: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 13259: else
! 13260: # g++ 2.7 appears to require `-G' NOT `-shared' on this
! 13261: # platform.
! 13262: archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 13263: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 13264: $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 13265:
! 13266: # Commands to make compiler produce verbose output that lists
! 13267: # what "hidden" libraries, object files and flags are used when
! 13268: # linking a shared library.
! 13269: output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 13270: fi
! 13271:
! 13272: hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
! 13273: case $host_os in
! 13274: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 13275: *)
! 13276: whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 13277: ;;
! 13278: esac
! 13279: fi
! 13280: ;;
! 13281: esac
! 13282: ;;
! 13283:
! 13284: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 13285: no_undefined_flag_CXX='${wl}-z,text'
! 13286: archive_cmds_need_lc_CXX=no
! 13287: hardcode_shlibpath_var_CXX=no
! 13288: runpath_var='LD_RUN_PATH'
! 13289:
! 13290: case $cc_basename in
! 13291: CC*)
! 13292: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13293: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13294: ;;
! 13295: *)
! 13296: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13297: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13298: ;;
! 13299: esac
! 13300: ;;
! 13301:
! 13302: sysv5* | sco3.2v5* | sco5v6*)
! 13303: # Note: We can NOT use -z defs as we might desire, because we do not
! 13304: # link with -lc, and that would cause any symbols used from libc to
! 13305: # always be unresolved, which means just about no library would
! 13306: # ever link correctly. If we're not using GNU ld we use -z text
! 13307: # though, which does catch some bad symbols but isn't as heavy-handed
! 13308: # as -z defs.
! 13309: no_undefined_flag_CXX='${wl}-z,text'
! 13310: allow_undefined_flag_CXX='${wl}-z,nodefs'
! 13311: archive_cmds_need_lc_CXX=no
! 13312: hardcode_shlibpath_var_CXX=no
! 13313: hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
! 13314: hardcode_libdir_separator_CXX=':'
! 13315: link_all_deplibs_CXX=yes
! 13316: export_dynamic_flag_spec_CXX='${wl}-Bexport'
! 13317: runpath_var='LD_RUN_PATH'
! 13318:
! 13319: case $cc_basename in
! 13320: CC*)
! 13321: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13322: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13323: old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
! 13324: '"$old_archive_cmds_CXX"
! 13325: reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
! 13326: '"$reload_cmds_CXX"
! 13327: ;;
! 13328: *)
! 13329: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13330: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13331: ;;
! 13332: esac
! 13333: ;;
! 13334:
! 13335: tandem*)
! 13336: case $cc_basename in
! 13337: NCC*)
! 13338: # NonStop-UX NCC 3.20
! 13339: # FIXME: insert proper C++ library support
! 13340: ld_shlibs_CXX=no
! 13341: ;;
! 13342: *)
! 13343: # FIXME: insert proper C++ library support
! 13344: ld_shlibs_CXX=no
! 13345: ;;
! 13346: esac
! 13347: ;;
! 13348:
! 13349: vxworks*)
! 13350: # FIXME: insert proper C++ library support
! 13351: ld_shlibs_CXX=no
! 13352: ;;
! 13353:
! 13354: *)
! 13355: # FIXME: insert proper C++ library support
! 13356: ld_shlibs_CXX=no
! 13357: ;;
! 13358: esac
! 13359:
! 13360: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 13361: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 13362: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 13363:
! 13364: GCC_CXX="$GXX"
! 13365: LD_CXX="$LD"
! 13366:
! 13367: ## CAVEAT EMPTOR:
! 13368: ## There is no encapsulation within the following macros, do not change
! 13369: ## the running order or otherwise move them around unless you know exactly
! 13370: ## what you are doing...
! 13371: # Dependencies to place before and after the object being linked:
! 13372: predep_objects_CXX=
! 13373: postdep_objects_CXX=
! 13374: predeps_CXX=
! 13375: postdeps_CXX=
! 13376: compiler_lib_search_path_CXX=
! 13377:
! 13378: cat > conftest.$ac_ext <<_LT_EOF
! 13379: class Foo
! 13380: {
! 13381: public:
! 13382: Foo (void) { a = 0; }
! 13383: private:
! 13384: int a;
! 13385: };
! 13386: _LT_EOF
! 13387:
! 13388:
! 13389: _lt_libdeps_save_CFLAGS=$CFLAGS
! 13390: case "$CC $CFLAGS " in #(
! 13391: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
! 13392: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
! 13393: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
! 13394: esac
! 13395:
! 13396: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 13397: (eval $ac_compile) 2>&5
! 13398: ac_status=$?
! 13399: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13400: (exit $ac_status); }; then
! 13401: # Parse the compiler output and extract the necessary
! 13402: # objects, libraries and library flags.
! 13403:
! 13404: # Sentinel used to keep track of whether or not we are before
! 13405: # the conftest object file.
! 13406: pre_test_object_deps_done=no
! 13407:
! 13408: for p in `eval "$output_verbose_link_cmd"`; do
! 13409: case ${prev}${p} in
! 13410:
! 13411: -L* | -R* | -l*)
! 13412: # Some compilers place space between "-{L,R}" and the path.
! 13413: # Remove the space.
! 13414: if test $p = "-L" ||
! 13415: test $p = "-R"; then
! 13416: prev=$p
! 13417: continue
! 13418: fi
! 13419:
! 13420: # Expand the sysroot to ease extracting the directories later.
! 13421: if test -z "$prev"; then
! 13422: case $p in
! 13423: -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
! 13424: -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
! 13425: -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
! 13426: esac
! 13427: fi
! 13428: case $p in
! 13429: =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
! 13430: esac
! 13431: if test "$pre_test_object_deps_done" = no; then
! 13432: case ${prev} in
! 13433: -L | -R)
! 13434: # Internal compiler library paths should come after those
! 13435: # provided the user. The postdeps already come after the
! 13436: # user supplied libs so there is no need to process them.
! 13437: if test -z "$compiler_lib_search_path_CXX"; then
! 13438: compiler_lib_search_path_CXX="${prev}${p}"
! 13439: else
! 13440: compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
! 13441: fi
! 13442: ;;
! 13443: # The "-l" case would never come before the object being
! 13444: # linked, so don't bother handling this case.
! 13445: esac
! 13446: else
! 13447: if test -z "$postdeps_CXX"; then
! 13448: postdeps_CXX="${prev}${p}"
! 13449: else
! 13450: postdeps_CXX="${postdeps_CXX} ${prev}${p}"
! 13451: fi
! 13452: fi
! 13453: prev=
! 13454: ;;
! 13455:
! 13456: *.lto.$objext) ;; # Ignore GCC LTO objects
! 13457: *.$objext)
! 13458: # This assumes that the test object file only shows up
! 13459: # once in the compiler output.
! 13460: if test "$p" = "conftest.$objext"; then
! 13461: pre_test_object_deps_done=yes
! 13462: continue
! 13463: fi
! 13464:
! 13465: if test "$pre_test_object_deps_done" = no; then
! 13466: if test -z "$predep_objects_CXX"; then
! 13467: predep_objects_CXX="$p"
! 13468: else
! 13469: predep_objects_CXX="$predep_objects_CXX $p"
! 13470: fi
! 13471: else
! 13472: if test -z "$postdep_objects_CXX"; then
! 13473: postdep_objects_CXX="$p"
! 13474: else
! 13475: postdep_objects_CXX="$postdep_objects_CXX $p"
! 13476: fi
! 13477: fi
! 13478: ;;
! 13479:
! 13480: *) ;; # Ignore the rest.
! 13481:
! 13482: esac
! 13483: done
! 13484:
! 13485: # Clean up.
! 13486: rm -f a.out a.exe
! 13487: else
! 13488: echo "libtool.m4: error: problem compiling CXX test program"
! 13489: fi
! 13490:
! 13491: $RM -f confest.$objext
! 13492: CFLAGS=$_lt_libdeps_save_CFLAGS
! 13493:
! 13494: # PORTME: override above test on systems where it is broken
! 13495: case $host_os in
! 13496: interix[3-9]*)
! 13497: # Interix 3.5 installs completely hosed .la files for C++, so rather than
! 13498: # hack all around it, let's just trust "g++" to DTRT.
! 13499: predep_objects_CXX=
! 13500: postdep_objects_CXX=
! 13501: postdeps_CXX=
! 13502: ;;
! 13503:
! 13504: linux*)
! 13505: case `$CC -V 2>&1 | sed 5q` in
! 13506: *Sun\ C*)
! 13507: # Sun C++ 5.9
! 13508:
! 13509: # The more standards-conforming stlport4 library is
! 13510: # incompatible with the Cstd library. Avoid specifying
! 13511: # it if it's in CXXFLAGS. Ignore libCrun as
! 13512: # -library=stlport4 depends on it.
! 13513: case " $CXX $CXXFLAGS " in
! 13514: *" -library=stlport4 "*)
! 13515: solaris_use_stlport4=yes
! 13516: ;;
! 13517: esac
! 13518:
! 13519: if test "$solaris_use_stlport4" != yes; then
! 13520: postdeps_CXX='-library=Cstd -library=Crun'
! 13521: fi
! 13522: ;;
! 13523: esac
! 13524: ;;
! 13525:
! 13526: solaris*)
! 13527: case $cc_basename in
! 13528: CC* | sunCC*)
! 13529: # The more standards-conforming stlport4 library is
! 13530: # incompatible with the Cstd library. Avoid specifying
! 13531: # it if it's in CXXFLAGS. Ignore libCrun as
! 13532: # -library=stlport4 depends on it.
! 13533: case " $CXX $CXXFLAGS " in
! 13534: *" -library=stlport4 "*)
! 13535: solaris_use_stlport4=yes
! 13536: ;;
! 13537: esac
! 13538:
! 13539: # Adding this requires a known-good setup of shared libraries for
! 13540: # Sun compiler versions before 5.6, else PIC objects from an old
! 13541: # archive will be linked into the output, leading to subtle bugs.
! 13542: if test "$solaris_use_stlport4" != yes; then
! 13543: postdeps_CXX='-library=Cstd -library=Crun'
! 13544: fi
! 13545: ;;
! 13546: esac
! 13547: ;;
! 13548: esac
! 13549:
! 13550:
! 13551: case " $postdeps_CXX " in
! 13552: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
! 13553: esac
! 13554: compiler_lib_search_dirs_CXX=
! 13555: if test -n "${compiler_lib_search_path_CXX}"; then
! 13556: compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
! 13557: fi
! 13558:
! 13559:
! 13560:
! 13561:
! 13562:
! 13563:
! 13564:
! 13565:
! 13566:
! 13567:
! 13568:
! 13569:
! 13570:
! 13571:
! 13572:
! 13573:
! 13574:
! 13575:
! 13576:
! 13577:
! 13578:
! 13579:
! 13580:
! 13581:
! 13582:
! 13583:
! 13584:
! 13585:
! 13586:
! 13587:
! 13588:
! 13589: lt_prog_compiler_wl_CXX=
! 13590: lt_prog_compiler_pic_CXX=
! 13591: lt_prog_compiler_static_CXX=
! 13592:
! 13593:
! 13594: # C++ specific cases for pic, static, wl, etc.
! 13595: if test "$GXX" = yes; then
! 13596: lt_prog_compiler_wl_CXX='-Wl,'
! 13597: lt_prog_compiler_static_CXX='-static'
! 13598:
! 13599: case $host_os in
! 13600: aix*)
! 13601: # All AIX code is PIC.
! 13602: if test "$host_cpu" = ia64; then
! 13603: # AIX 5 now supports IA64 processor
! 13604: lt_prog_compiler_static_CXX='-Bstatic'
! 13605: fi
! 13606: ;;
! 13607:
! 13608: amigaos*)
! 13609: case $host_cpu in
! 13610: powerpc)
! 13611: # see comment about AmigaOS4 .so support
! 13612: lt_prog_compiler_pic_CXX='-fPIC'
! 13613: ;;
! 13614: m68k)
! 13615: # FIXME: we need at least 68020 code to build shared libraries, but
! 13616: # adding the `-m68020' flag to GCC prevents building anything better,
! 13617: # like `-m68040'.
! 13618: lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
! 13619: ;;
! 13620: esac
! 13621: ;;
! 13622:
! 13623: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 13624: # PIC is the default for these OSes.
! 13625: ;;
! 13626: mingw* | cygwin* | os2* | pw32* | cegcc*)
! 13627: # This hack is so that the source file can tell whether it is being
! 13628: # built for inclusion in a dll (and should export symbols for example).
! 13629: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 13630: # (--disable-auto-import) libraries
! 13631: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 13632: ;;
! 13633: darwin* | rhapsody*)
! 13634: # PIC is the default on this platform
! 13635: # Common symbols not allowed in MH_DYLIB files
! 13636: lt_prog_compiler_pic_CXX='-fno-common'
! 13637: ;;
! 13638: *djgpp*)
! 13639: # DJGPP does not support shared libraries at all
! 13640: lt_prog_compiler_pic_CXX=
! 13641: ;;
! 13642: haiku*)
! 13643: # PIC is the default for Haiku.
! 13644: # The "-static" flag exists, but is broken.
! 13645: lt_prog_compiler_static_CXX=
! 13646: ;;
! 13647: interix[3-9]*)
! 13648: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 13649: # Instead, we relocate shared libraries at runtime.
! 13650: ;;
! 13651: sysv4*MP*)
! 13652: if test -d /usr/nec; then
! 13653: lt_prog_compiler_pic_CXX=-Kconform_pic
! 13654: fi
! 13655: ;;
! 13656: hpux*)
! 13657: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 13658: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 13659: # sets the default TLS model and affects inlining.
! 13660: case $host_cpu in
! 13661: hppa*64*)
! 13662: ;;
! 13663: *)
! 13664: lt_prog_compiler_pic_CXX='-fPIC'
! 13665: ;;
! 13666: esac
! 13667: ;;
! 13668: *qnx* | *nto*)
! 13669: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 13670: # it will coredump.
! 13671: lt_prog_compiler_pic_CXX='-fPIC -shared'
! 13672: ;;
! 13673: *)
! 13674: lt_prog_compiler_pic_CXX='-fPIC'
! 13675: ;;
! 13676: esac
! 13677: else
! 13678: case $host_os in
! 13679: aix[4-9]*)
! 13680: # All AIX code is PIC.
! 13681: if test "$host_cpu" = ia64; then
! 13682: # AIX 5 now supports IA64 processor
! 13683: lt_prog_compiler_static_CXX='-Bstatic'
! 13684: else
! 13685: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
! 13686: fi
! 13687: ;;
! 13688: chorus*)
! 13689: case $cc_basename in
! 13690: cxch68*)
! 13691: # Green Hills C++ Compiler
! 13692: # _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"
! 13693: ;;
! 13694: esac
! 13695: ;;
! 13696: mingw* | cygwin* | os2* | pw32* | cegcc*)
! 13697: # This hack is so that the source file can tell whether it is being
! 13698: # built for inclusion in a dll (and should export symbols for example).
! 13699: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 13700: ;;
! 13701: dgux*)
! 13702: case $cc_basename in
! 13703: ec++*)
! 13704: lt_prog_compiler_pic_CXX='-KPIC'
! 13705: ;;
! 13706: ghcx*)
! 13707: # Green Hills C++ Compiler
! 13708: lt_prog_compiler_pic_CXX='-pic'
! 13709: ;;
! 13710: *)
! 13711: ;;
! 13712: esac
! 13713: ;;
! 13714: freebsd* | dragonfly*)
! 13715: # FreeBSD uses GNU C++
! 13716: ;;
! 13717: hpux9* | hpux10* | hpux11*)
! 13718: case $cc_basename in
! 13719: CC*)
! 13720: lt_prog_compiler_wl_CXX='-Wl,'
! 13721: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 13722: if test "$host_cpu" != ia64; then
! 13723: lt_prog_compiler_pic_CXX='+Z'
! 13724: fi
! 13725: ;;
! 13726: aCC*)
! 13727: lt_prog_compiler_wl_CXX='-Wl,'
! 13728: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 13729: case $host_cpu in
! 13730: hppa*64*|ia64*)
! 13731: # +Z the default
! 13732: ;;
! 13733: *)
! 13734: lt_prog_compiler_pic_CXX='+Z'
! 13735: ;;
! 13736: esac
! 13737: ;;
! 13738: *)
! 13739: ;;
! 13740: esac
! 13741: ;;
! 13742: interix*)
! 13743: # This is c89, which is MS Visual C++ (no shared libs)
! 13744: # Anyone wants to do a port?
! 13745: ;;
! 13746: irix5* | irix6* | nonstopux*)
! 13747: case $cc_basename in
! 13748: CC*)
! 13749: lt_prog_compiler_wl_CXX='-Wl,'
! 13750: lt_prog_compiler_static_CXX='-non_shared'
! 13751: # CC pic flag -KPIC is the default.
! 13752: ;;
! 13753: *)
! 13754: ;;
! 13755: esac
! 13756: ;;
! 13757: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 13758: case $cc_basename in
! 13759: KCC*)
! 13760: # KAI C++ Compiler
! 13761: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 13762: lt_prog_compiler_pic_CXX='-fPIC'
! 13763: ;;
! 13764: ecpc* )
! 13765: # old Intel C++ for x86_64 which still supported -KPIC.
! 13766: lt_prog_compiler_wl_CXX='-Wl,'
! 13767: lt_prog_compiler_pic_CXX='-KPIC'
! 13768: lt_prog_compiler_static_CXX='-static'
! 13769: ;;
! 13770: icpc* )
! 13771: # Intel C++, used to be incompatible with GCC.
! 13772: # ICC 10 doesn't accept -KPIC any more.
! 13773: lt_prog_compiler_wl_CXX='-Wl,'
! 13774: lt_prog_compiler_pic_CXX='-fPIC'
! 13775: lt_prog_compiler_static_CXX='-static'
! 13776: ;;
! 13777: pgCC* | pgcpp*)
! 13778: # Portland Group C++ compiler
! 13779: lt_prog_compiler_wl_CXX='-Wl,'
! 13780: lt_prog_compiler_pic_CXX='-fpic'
! 13781: lt_prog_compiler_static_CXX='-Bstatic'
! 13782: ;;
! 13783: cxx*)
! 13784: # Compaq C++
! 13785: # Make sure the PIC flag is empty. It appears that all Alpha
! 13786: # Linux and Compaq Tru64 Unix objects are PIC.
! 13787: lt_prog_compiler_pic_CXX=
! 13788: lt_prog_compiler_static_CXX='-non_shared'
! 13789: ;;
! 13790: xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
! 13791: # IBM XL 8.0, 9.0 on PPC and BlueGene
! 13792: lt_prog_compiler_wl_CXX='-Wl,'
! 13793: lt_prog_compiler_pic_CXX='-qpic'
! 13794: lt_prog_compiler_static_CXX='-qstaticlink'
! 13795: ;;
! 13796: *)
! 13797: case `$CC -V 2>&1 | sed 5q` in
! 13798: *Sun\ C*)
! 13799: # Sun C++ 5.9
! 13800: lt_prog_compiler_pic_CXX='-KPIC'
! 13801: lt_prog_compiler_static_CXX='-Bstatic'
! 13802: lt_prog_compiler_wl_CXX='-Qoption ld '
! 13803: ;;
! 13804: esac
! 13805: ;;
! 13806: esac
! 13807: ;;
! 13808: lynxos*)
! 13809: ;;
! 13810: m88k*)
! 13811: ;;
! 13812: mvs*)
! 13813: case $cc_basename in
! 13814: cxx*)
! 13815: lt_prog_compiler_pic_CXX='-W c,exportall'
! 13816: ;;
! 13817: *)
! 13818: ;;
! 13819: esac
! 13820: ;;
! 13821: netbsd*)
! 13822: ;;
! 13823: *qnx* | *nto*)
! 13824: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 13825: # it will coredump.
! 13826: lt_prog_compiler_pic_CXX='-fPIC -shared'
! 13827: ;;
! 13828: osf3* | osf4* | osf5*)
! 13829: case $cc_basename in
! 13830: KCC*)
! 13831: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 13832: ;;
! 13833: RCC*)
! 13834: # Rational C++ 2.4.1
! 13835: lt_prog_compiler_pic_CXX='-pic'
! 13836: ;;
! 13837: cxx*)
! 13838: # Digital/Compaq C++
! 13839: lt_prog_compiler_wl_CXX='-Wl,'
! 13840: # Make sure the PIC flag is empty. It appears that all Alpha
! 13841: # Linux and Compaq Tru64 Unix objects are PIC.
! 13842: lt_prog_compiler_pic_CXX=
! 13843: lt_prog_compiler_static_CXX='-non_shared'
! 13844: ;;
! 13845: *)
! 13846: ;;
! 13847: esac
! 13848: ;;
! 13849: psos*)
! 13850: ;;
! 13851: solaris*)
! 13852: case $cc_basename in
! 13853: CC* | sunCC*)
! 13854: # Sun C++ 4.2, 5.x and Centerline C++
! 13855: lt_prog_compiler_pic_CXX='-KPIC'
! 13856: lt_prog_compiler_static_CXX='-Bstatic'
! 13857: lt_prog_compiler_wl_CXX='-Qoption ld '
! 13858: ;;
! 13859: gcx*)
! 13860: # Green Hills C++ Compiler
! 13861: lt_prog_compiler_pic_CXX='-PIC'
! 13862: ;;
! 13863: *)
! 13864: ;;
! 13865: esac
! 13866: ;;
! 13867: sunos4*)
! 13868: case $cc_basename in
! 13869: CC*)
! 13870: # Sun C++ 4.x
! 13871: lt_prog_compiler_pic_CXX='-pic'
! 13872: lt_prog_compiler_static_CXX='-Bstatic'
! 13873: ;;
! 13874: lcc*)
! 13875: # Lucid
! 13876: lt_prog_compiler_pic_CXX='-pic'
! 13877: ;;
! 13878: *)
! 13879: ;;
! 13880: esac
! 13881: ;;
! 13882: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 13883: case $cc_basename in
! 13884: CC*)
! 13885: lt_prog_compiler_wl_CXX='-Wl,'
! 13886: lt_prog_compiler_pic_CXX='-KPIC'
! 13887: lt_prog_compiler_static_CXX='-Bstatic'
! 13888: ;;
! 13889: esac
! 13890: ;;
! 13891: tandem*)
! 13892: case $cc_basename in
! 13893: NCC*)
! 13894: # NonStop-UX NCC 3.20
! 13895: lt_prog_compiler_pic_CXX='-KPIC'
! 13896: ;;
! 13897: *)
! 13898: ;;
! 13899: esac
! 13900: ;;
! 13901: vxworks*)
! 13902: ;;
! 13903: *)
! 13904: lt_prog_compiler_can_build_shared_CXX=no
! 13905: ;;
! 13906: esac
! 13907: fi
! 13908:
! 13909: case $host_os in
! 13910: # For platforms which do not support PIC, -DPIC is meaningless:
! 13911: *djgpp*)
! 13912: lt_prog_compiler_pic_CXX=
! 13913: ;;
! 13914: *)
! 13915: lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
! 13916: ;;
! 13917: esac
! 13918:
! 13919: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 13920: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 13921: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
! 13922: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13923: else
! 13924: lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
! 13925: fi
! 13926: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
! 13927: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
! 13928: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
! 13929:
! 13930: #
! 13931: # Check to make sure the PIC flag actually works.
! 13932: #
! 13933: if test -n "$lt_prog_compiler_pic_CXX"; then
! 13934: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
! 13935: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
! 13936: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
! 13937: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13938: else
! 13939: lt_cv_prog_compiler_pic_works_CXX=no
! 13940: ac_outfile=conftest.$ac_objext
! 13941: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13942: lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
! 13943: # Insert the option either (1) after the last *FLAGS variable, or
! 13944: # (2) before a word containing "conftest.", or (3) at the end.
! 13945: # Note that $ac_compile itself does not contain backslashes and begins
! 13946: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13947: # The option is referenced via a variable to avoid confusing sed.
! 13948: lt_compile=`echo "$ac_compile" | $SED \
! 13949: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13950: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13951: -e 's:$: $lt_compiler_flag:'`
! 13952: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 13953: (eval "$lt_compile" 2>conftest.err)
! 13954: ac_status=$?
! 13955: cat conftest.err >&5
! 13956: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13957: if (exit $ac_status) && test -s "$ac_outfile"; then
! 13958: # The compiler can only warn and ignore the option if not recognized
! 13959: # So say no if there are warnings other than the usual output.
! 13960: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 13961: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13962: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 13963: lt_cv_prog_compiler_pic_works_CXX=yes
! 13964: fi
! 13965: fi
! 13966: $RM conftest*
! 13967:
! 13968: fi
! 13969: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
! 13970: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
! 13971:
! 13972: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
! 13973: case $lt_prog_compiler_pic_CXX in
! 13974: "" | " "*) ;;
! 13975: *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
! 13976: esac
! 13977: else
! 13978: lt_prog_compiler_pic_CXX=
! 13979: lt_prog_compiler_can_build_shared_CXX=no
! 13980: fi
! 13981:
! 13982: fi
! 13983:
! 13984:
! 13985:
! 13986:
! 13987:
! 13988: #
! 13989: # Check to make sure the static flag actually works.
! 13990: #
! 13991: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
! 13992: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 13993: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 13994: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
! 13995: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13996: else
! 13997: lt_cv_prog_compiler_static_works_CXX=no
! 13998: save_LDFLAGS="$LDFLAGS"
! 13999: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 14000: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 14001: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 14002: # The linker can only warn and ignore the option if not recognized
! 14003: # So say no if there are warnings
! 14004: if test -s conftest.err; then
! 14005: # Append any errors to the config.log.
! 14006: cat conftest.err 1>&5
! 14007: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 14008: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 14009: if diff conftest.exp conftest.er2 >/dev/null; then
! 14010: lt_cv_prog_compiler_static_works_CXX=yes
! 14011: fi
! 14012: else
! 14013: lt_cv_prog_compiler_static_works_CXX=yes
! 14014: fi
! 14015: fi
! 14016: $RM -r conftest*
! 14017: LDFLAGS="$save_LDFLAGS"
! 14018:
! 14019: fi
! 14020: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
! 14021: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
! 14022:
! 14023: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
! 14024: :
! 14025: else
! 14026: lt_prog_compiler_static_CXX=
! 14027: fi
! 14028:
! 14029:
! 14030:
! 14031:
! 14032: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 14033: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 14034: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 14035: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14036: else
! 14037: lt_cv_prog_compiler_c_o_CXX=no
! 14038: $RM -r conftest 2>/dev/null
! 14039: mkdir conftest
! 14040: cd conftest
! 14041: mkdir out
! 14042: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14043:
! 14044: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 14045: # Insert the option either (1) after the last *FLAGS variable, or
! 14046: # (2) before a word containing "conftest.", or (3) at the end.
! 14047: # Note that $ac_compile itself does not contain backslashes and begins
! 14048: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14049: lt_compile=`echo "$ac_compile" | $SED \
! 14050: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14051: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14052: -e 's:$: $lt_compiler_flag:'`
! 14053: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 14054: (eval "$lt_compile" 2>out/conftest.err)
! 14055: ac_status=$?
! 14056: cat out/conftest.err >&5
! 14057: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14058: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 14059: then
! 14060: # The compiler can only warn and ignore the option if not recognized
! 14061: # So say no if there are warnings
! 14062: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 14063: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 14064: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 14065: lt_cv_prog_compiler_c_o_CXX=yes
! 14066: fi
! 14067: fi
! 14068: chmod u+w . 2>&5
! 14069: $RM conftest*
! 14070: # SGI C++ compiler will create directory out/ii_files/ for
! 14071: # template instantiation
! 14072: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 14073: $RM out/* && rmdir out
! 14074: cd ..
! 14075: $RM -r conftest
! 14076: $RM conftest*
! 14077:
! 14078: fi
! 14079: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 14080: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 14081:
! 14082:
! 14083:
! 14084: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 14085: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 14086: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 14087: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14088: else
! 14089: lt_cv_prog_compiler_c_o_CXX=no
! 14090: $RM -r conftest 2>/dev/null
! 14091: mkdir conftest
! 14092: cd conftest
! 14093: mkdir out
! 14094: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14095:
! 14096: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 14097: # Insert the option either (1) after the last *FLAGS variable, or
! 14098: # (2) before a word containing "conftest.", or (3) at the end.
! 14099: # Note that $ac_compile itself does not contain backslashes and begins
! 14100: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14101: lt_compile=`echo "$ac_compile" | $SED \
! 14102: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14103: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14104: -e 's:$: $lt_compiler_flag:'`
! 14105: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 14106: (eval "$lt_compile" 2>out/conftest.err)
! 14107: ac_status=$?
! 14108: cat out/conftest.err >&5
! 14109: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14110: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 14111: then
! 14112: # The compiler can only warn and ignore the option if not recognized
! 14113: # So say no if there are warnings
! 14114: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 14115: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 14116: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 14117: lt_cv_prog_compiler_c_o_CXX=yes
! 14118: fi
! 14119: fi
! 14120: chmod u+w . 2>&5
! 14121: $RM conftest*
! 14122: # SGI C++ compiler will create directory out/ii_files/ for
! 14123: # template instantiation
! 14124: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 14125: $RM out/* && rmdir out
! 14126: cd ..
! 14127: $RM -r conftest
! 14128: $RM conftest*
! 14129:
! 14130: fi
! 14131: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 14132: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 14133:
! 14134:
! 14135:
! 14136:
! 14137: hard_links="nottested"
! 14138: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
! 14139: # do not overwrite the value of need_locks provided by the user
! 14140: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 14141: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 14142: hard_links=yes
! 14143: $RM conftest*
! 14144: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14145: touch conftest.a
! 14146: ln conftest.a conftest.b 2>&5 || hard_links=no
! 14147: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14148: echo "$as_me:$LINENO: result: $hard_links" >&5
! 14149: echo "${ECHO_T}$hard_links" >&6
! 14150: if test "$hard_links" = no; then
! 14151: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 14152: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 14153: need_locks=warn
! 14154: fi
! 14155: else
! 14156: need_locks=no
! 14157: fi
! 14158:
! 14159:
! 14160:
! 14161: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 14162: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 14163:
! 14164: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 14165: exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 14166: case $host_os in
! 14167: aix[4-9]*)
! 14168: # If we're using GNU nm, then we don't want the "-C" option.
! 14169: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 14170: # Also, AIX nm treats weak defined symbols like other global defined
! 14171: # symbols, whereas GNU nm marks them as "W".
! 14172: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 14173: 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'
! 14174: else
! 14175: 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'
! 14176: fi
! 14177: ;;
! 14178: pw32*)
! 14179: export_symbols_cmds_CXX="$ltdll_cmds"
! 14180: ;;
! 14181: cygwin* | mingw* | cegcc*)
! 14182: case $cc_basename in
! 14183: cl*)
! 14184: exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 14185: ;;
! 14186: *)
! 14187: 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'
! 14188: exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 14189: ;;
! 14190: esac
! 14191: ;;
! 14192: *)
! 14193: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 14194: ;;
! 14195: esac
! 14196:
! 14197: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 14198: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 14199: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 14200:
! 14201: with_gnu_ld_CXX=$with_gnu_ld
! 14202:
! 14203:
! 14204:
! 14205:
! 14206:
! 14207:
! 14208: #
! 14209: # Do we need to explicitly link libc?
! 14210: #
! 14211: case "x$archive_cmds_need_lc_CXX" in
! 14212: x|xyes)
! 14213: # Assume -lc should be added
! 14214: archive_cmds_need_lc_CXX=yes
! 14215:
! 14216: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 14217: case $archive_cmds_CXX in
! 14218: *'~'*)
! 14219: # FIXME: we may have to deal with multi-command sequences.
! 14220: ;;
! 14221: '$CC '*)
! 14222: # Test whether the compiler implicitly links with -lc since on some
! 14223: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 14224: # to ld, don't add -lc before -lgcc.
! 14225: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 14226: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 14227: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
! 14228: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14229: else
! 14230: $RM conftest*
! 14231: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14232:
! 14233: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 14234: (eval $ac_compile) 2>&5
! 14235: ac_status=$?
! 14236: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14237: (exit $ac_status); } 2>conftest.err; then
! 14238: soname=conftest
! 14239: lib=conftest
! 14240: libobjs=conftest.$ac_objext
! 14241: deplibs=
! 14242: wl=$lt_prog_compiler_wl_CXX
! 14243: pic_flag=$lt_prog_compiler_pic_CXX
! 14244: compiler_flags=-v
! 14245: linker_flags=-v
! 14246: verstring=
! 14247: output_objdir=.
! 14248: libname=conftest
! 14249: lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
! 14250: allow_undefined_flag_CXX=
! 14251: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 14252: (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 14253: ac_status=$?
! 14254: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14255: (exit $ac_status); }
! 14256: then
! 14257: lt_cv_archive_cmds_need_lc_CXX=no
! 14258: else
! 14259: lt_cv_archive_cmds_need_lc_CXX=yes
! 14260: fi
! 14261: allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
! 14262: else
! 14263: cat conftest.err 1>&5
! 14264: fi
! 14265: $RM conftest*
! 14266:
! 14267: fi
! 14268: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
! 14269: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
! 14270: archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
! 14271: ;;
! 14272: esac
! 14273: fi
! 14274: ;;
! 14275: esac
! 14276:
! 14277:
! 14278:
! 14279:
! 14280:
! 14281:
! 14282:
! 14283:
! 14284:
! 14285:
! 14286:
! 14287:
! 14288:
! 14289:
! 14290:
! 14291:
! 14292:
! 14293:
! 14294:
! 14295:
! 14296:
! 14297:
! 14298:
! 14299:
! 14300:
! 14301:
! 14302:
! 14303:
! 14304:
! 14305:
! 14306:
! 14307:
! 14308:
! 14309:
! 14310:
! 14311:
! 14312:
! 14313:
! 14314:
! 14315:
! 14316:
! 14317:
! 14318:
! 14319:
! 14320:
! 14321:
! 14322:
! 14323:
! 14324:
! 14325:
! 14326:
! 14327:
! 14328:
! 14329:
! 14330:
! 14331:
! 14332:
! 14333:
! 14334:
! 14335:
! 14336:
! 14337:
! 14338: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 14339: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 14340:
! 14341: library_names_spec=
! 14342: libname_spec='lib$name'
! 14343: soname_spec=
! 14344: shrext_cmds=".so"
! 14345: postinstall_cmds=
! 14346: postuninstall_cmds=
! 14347: finish_cmds=
! 14348: finish_eval=
! 14349: shlibpath_var=
! 14350: shlibpath_overrides_runpath=unknown
! 14351: version_type=none
! 14352: dynamic_linker="$host_os ld.so"
! 14353: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 14354: need_lib_prefix=unknown
! 14355: hardcode_into_libs=no
! 14356:
! 14357: # when you set need_version to no, make sure it does not cause -set_version
! 14358: # flags to be left without arguments
! 14359: need_version=unknown
! 14360:
! 14361: case $host_os in
! 14362: aix3*)
! 14363: version_type=linux # correct to gnu/linux during the next big refactor
! 14364: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 14365: shlibpath_var=LIBPATH
! 14366:
! 14367: # AIX 3 has no versioning support, so we append a major version to the name.
! 14368: soname_spec='${libname}${release}${shared_ext}$major'
! 14369: ;;
! 14370:
! 14371: aix[4-9]*)
! 14372: version_type=linux # correct to gnu/linux during the next big refactor
! 14373: need_lib_prefix=no
! 14374: need_version=no
! 14375: hardcode_into_libs=yes
! 14376: if test "$host_cpu" = ia64; then
! 14377: # AIX 5 supports IA64
! 14378: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 14379: shlibpath_var=LD_LIBRARY_PATH
! 14380: else
! 14381: # With GCC up to 2.95.x, collect2 would create an import file
! 14382: # for dependence libraries. The import file would start with
! 14383: # the line `#! .'. This would cause the generated library to
! 14384: # depend on `.', always an invalid library. This was fixed in
! 14385: # development snapshots of GCC prior to 3.0.
! 14386: case $host_os in
! 14387: aix4 | aix4.[01] | aix4.[01].*)
! 14388: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 14389: echo ' yes '
! 14390: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 14391: :
! 14392: else
! 14393: can_build_shared=no
! 14394: fi
! 14395: ;;
! 14396: esac
! 14397: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 14398: # soname into executable. Probably we can add versioning support to
! 14399: # collect2, so additional links can be useful in future.
! 14400: if test "$aix_use_runtimelinking" = yes; then
! 14401: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 14402: # instead of lib<name>.a to let people know that these are not
! 14403: # typical AIX shared libraries.
! 14404: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14405: else
! 14406: # We preserve .a as extension for shared libraries through AIX4.2
! 14407: # and later when we are not doing run time linking.
! 14408: library_names_spec='${libname}${release}.a $libname.a'
! 14409: soname_spec='${libname}${release}${shared_ext}$major'
! 14410: fi
! 14411: shlibpath_var=LIBPATH
! 14412: fi
! 14413: ;;
! 14414:
! 14415: amigaos*)
! 14416: case $host_cpu in
! 14417: powerpc)
! 14418: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 14419: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 14420: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14421: ;;
! 14422: m68k)
! 14423: library_names_spec='$libname.ixlibrary $libname.a'
! 14424: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 14425: 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'
! 14426: ;;
! 14427: esac
! 14428: ;;
! 14429:
! 14430: beos*)
! 14431: library_names_spec='${libname}${shared_ext}'
! 14432: dynamic_linker="$host_os ld.so"
! 14433: shlibpath_var=LIBRARY_PATH
! 14434: ;;
! 14435:
! 14436: bsdi[45]*)
! 14437: version_type=linux # correct to gnu/linux during the next big refactor
! 14438: need_version=no
! 14439: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14440: soname_spec='${libname}${release}${shared_ext}$major'
! 14441: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 14442: shlibpath_var=LD_LIBRARY_PATH
! 14443: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 14444: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 14445: # the default ld.so.conf also contains /usr/contrib/lib and
! 14446: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 14447: # libtool to hard-code these into programs
! 14448: ;;
! 14449:
! 14450: cygwin* | mingw* | pw32* | cegcc*)
! 14451: version_type=windows
! 14452: shrext_cmds=".dll"
! 14453: need_version=no
! 14454: need_lib_prefix=no
! 14455:
! 14456: case $GCC,$cc_basename in
! 14457: yes,*)
! 14458: # gcc
! 14459: library_names_spec='$libname.dll.a'
! 14460: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14461: postinstall_cmds='base_file=`basename \${file}`~
! 14462: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 14463: dldir=$destdir/`dirname \$dlpath`~
! 14464: test -d \$dldir || mkdir -p \$dldir~
! 14465: $install_prog $dir/$dlname \$dldir/$dlname~
! 14466: chmod a+x \$dldir/$dlname~
! 14467: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 14468: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 14469: fi'
! 14470: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14471: dlpath=$dir/\$dldll~
! 14472: $RM \$dlpath'
! 14473: shlibpath_overrides_runpath=yes
! 14474:
! 14475: case $host_os in
! 14476: cygwin*)
! 14477: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 14478: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14479:
! 14480: ;;
! 14481: mingw* | cegcc*)
! 14482: # MinGW DLLs use traditional 'lib' prefix
! 14483: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14484: ;;
! 14485: pw32*)
! 14486: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 14487: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14488: ;;
! 14489: esac
! 14490: dynamic_linker='Win32 ld.exe'
! 14491: ;;
! 14492:
! 14493: *,cl*)
! 14494: # Native MSVC
! 14495: libname_spec='$name'
! 14496: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14497: library_names_spec='${libname}.dll.lib'
! 14498:
! 14499: case $build_os in
! 14500: mingw*)
! 14501: sys_lib_search_path_spec=
! 14502: lt_save_ifs=$IFS
! 14503: IFS=';'
! 14504: for lt_path in $LIB
! 14505: do
! 14506: IFS=$lt_save_ifs
! 14507: # Let DOS variable expansion print the short 8.3 style file name.
! 14508: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 14509: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 14510: done
! 14511: IFS=$lt_save_ifs
! 14512: # Convert to MSYS style.
! 14513: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 14514: ;;
! 14515: cygwin*)
! 14516: # Convert to unix form, then to dos form, then back to unix form
! 14517: # but this time dos style (no spaces!) so that the unix form looks
! 14518: # like /cygdrive/c/PROGRA~1:/cygdr...
! 14519: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 14520: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 14521: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14522: ;;
! 14523: *)
! 14524: sys_lib_search_path_spec="$LIB"
! 14525: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 14526: # It is most probably a Windows format PATH.
! 14527: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 14528: else
! 14529: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14530: fi
! 14531: # FIXME: find the short name or the path components, as spaces are
! 14532: # common. (e.g. "Program Files" -> "PROGRA~1")
! 14533: ;;
! 14534: esac
! 14535:
! 14536: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14537: postinstall_cmds='base_file=`basename \${file}`~
! 14538: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 14539: dldir=$destdir/`dirname \$dlpath`~
! 14540: test -d \$dldir || mkdir -p \$dldir~
! 14541: $install_prog $dir/$dlname \$dldir/$dlname'
! 14542: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14543: dlpath=$dir/\$dldll~
! 14544: $RM \$dlpath'
! 14545: shlibpath_overrides_runpath=yes
! 14546: dynamic_linker='Win32 link.exe'
! 14547: ;;
! 14548:
! 14549: *)
! 14550: # Assume MSVC wrapper
! 14551: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 14552: dynamic_linker='Win32 ld.exe'
! 14553: ;;
! 14554: esac
! 14555: # FIXME: first we should search . and the directory the executable is in
! 14556: shlibpath_var=PATH
! 14557: ;;
! 14558:
! 14559: darwin* | rhapsody*)
! 14560: dynamic_linker="$host_os dyld"
! 14561: version_type=darwin
! 14562: need_lib_prefix=no
! 14563: need_version=no
! 14564: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 14565: soname_spec='${libname}${release}${major}$shared_ext'
! 14566: shlibpath_overrides_runpath=yes
! 14567: shlibpath_var=DYLD_LIBRARY_PATH
! 14568: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 14569:
! 14570: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 14571: ;;
! 14572:
! 14573: dgux*)
! 14574: version_type=linux # correct to gnu/linux during the next big refactor
! 14575: need_lib_prefix=no
! 14576: need_version=no
! 14577: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 14578: soname_spec='${libname}${release}${shared_ext}$major'
! 14579: shlibpath_var=LD_LIBRARY_PATH
! 14580: ;;
! 14581:
! 14582: freebsd* | dragonfly*)
! 14583: # DragonFly does not have aout. When/if they implement a new
! 14584: # versioning mechanism, adjust this.
! 14585: if test -x /usr/bin/objformat; then
! 14586: objformat=`/usr/bin/objformat`
! 14587: else
! 14588: case $host_os in
! 14589: freebsd[23].*) objformat=aout ;;
! 14590: *) objformat=elf ;;
! 14591: esac
! 14592: fi
! 14593: version_type=freebsd-$objformat
! 14594: case $version_type in
! 14595: freebsd-elf*)
! 14596: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14597: need_version=no
! 14598: need_lib_prefix=no
! 14599: ;;
! 14600: freebsd-*)
! 14601: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 14602: need_version=yes
! 14603: ;;
! 14604: esac
! 14605: shlibpath_var=LD_LIBRARY_PATH
! 14606: case $host_os in
! 14607: freebsd2.*)
! 14608: shlibpath_overrides_runpath=yes
! 14609: ;;
! 14610: freebsd3.[01]* | freebsdelf3.[01]*)
! 14611: shlibpath_overrides_runpath=yes
! 14612: hardcode_into_libs=yes
! 14613: ;;
! 14614: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 14615: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 14616: shlibpath_overrides_runpath=no
! 14617: hardcode_into_libs=yes
! 14618: ;;
! 14619: *) # from 4.6 on, and DragonFly
! 14620: shlibpath_overrides_runpath=yes
! 14621: hardcode_into_libs=yes
! 14622: ;;
! 14623: esac
! 14624: ;;
! 14625:
! 14626: gnu*)
! 14627: version_type=linux # correct to gnu/linux during the next big refactor
! 14628: need_lib_prefix=no
! 14629: need_version=no
! 14630: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14631: soname_spec='${libname}${release}${shared_ext}$major'
! 14632: shlibpath_var=LD_LIBRARY_PATH
! 14633: shlibpath_overrides_runpath=no
! 14634: hardcode_into_libs=yes
! 14635: ;;
! 14636:
! 14637: haiku*)
! 14638: version_type=linux # correct to gnu/linux during the next big refactor
! 14639: need_lib_prefix=no
! 14640: need_version=no
! 14641: dynamic_linker="$host_os runtime_loader"
! 14642: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14643: soname_spec='${libname}${release}${shared_ext}$major'
! 14644: shlibpath_var=LIBRARY_PATH
! 14645: shlibpath_overrides_runpath=yes
! 14646: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 14647: hardcode_into_libs=yes
! 14648: ;;
! 14649:
! 14650: hpux9* | hpux10* | hpux11*)
! 14651: # Give a soname corresponding to the major version so that dld.sl refuses to
! 14652: # link against other versions.
! 14653: version_type=sunos
! 14654: need_lib_prefix=no
! 14655: need_version=no
! 14656: case $host_cpu in
! 14657: ia64*)
! 14658: shrext_cmds='.so'
! 14659: hardcode_into_libs=yes
! 14660: dynamic_linker="$host_os dld.so"
! 14661: shlibpath_var=LD_LIBRARY_PATH
! 14662: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14663: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14664: soname_spec='${libname}${release}${shared_ext}$major'
! 14665: if test "X$HPUX_IA64_MODE" = X32; then
! 14666: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 14667: else
! 14668: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 14669: fi
! 14670: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14671: ;;
! 14672: hppa*64*)
! 14673: shrext_cmds='.sl'
! 14674: hardcode_into_libs=yes
! 14675: dynamic_linker="$host_os dld.sl"
! 14676: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 14677: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14678: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14679: soname_spec='${libname}${release}${shared_ext}$major'
! 14680: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 14681: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14682: ;;
! 14683: *)
! 14684: shrext_cmds='.sl'
! 14685: dynamic_linker="$host_os dld.sl"
! 14686: shlibpath_var=SHLIB_PATH
! 14687: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 14688: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14689: soname_spec='${libname}${release}${shared_ext}$major'
! 14690: ;;
! 14691: esac
! 14692: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 14693: postinstall_cmds='chmod 555 $lib'
! 14694: # or fails outright, so override atomically:
! 14695: install_override_mode=555
! 14696: ;;
! 14697:
! 14698: interix[3-9]*)
! 14699: version_type=linux # correct to gnu/linux during the next big refactor
! 14700: need_lib_prefix=no
! 14701: need_version=no
! 14702: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14703: soname_spec='${libname}${release}${shared_ext}$major'
! 14704: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 14705: shlibpath_var=LD_LIBRARY_PATH
! 14706: shlibpath_overrides_runpath=no
! 14707: hardcode_into_libs=yes
! 14708: ;;
! 14709:
! 14710: irix5* | irix6* | nonstopux*)
! 14711: case $host_os in
! 14712: nonstopux*) version_type=nonstopux ;;
! 14713: *)
! 14714: if test "$lt_cv_prog_gnu_ld" = yes; then
! 14715: version_type=linux # correct to gnu/linux during the next big refactor
! 14716: else
! 14717: version_type=irix
! 14718: fi ;;
! 14719: esac
! 14720: need_lib_prefix=no
! 14721: need_version=no
! 14722: soname_spec='${libname}${release}${shared_ext}$major'
! 14723: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14724: case $host_os in
! 14725: irix5* | nonstopux*)
! 14726: libsuff= shlibsuff=
! 14727: ;;
! 14728: *)
! 14729: case $LD in # libtool.m4 will add one of these switches to LD
! 14730: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 14731: libsuff= shlibsuff= libmagic=32-bit;;
! 14732: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 14733: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 14734: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 14735: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 14736: *) libsuff= shlibsuff= libmagic=never-match;;
! 14737: esac
! 14738: ;;
! 14739: esac
! 14740: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 14741: shlibpath_overrides_runpath=no
! 14742: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 14743: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 14744: hardcode_into_libs=yes
! 14745: ;;
! 14746:
! 14747: # No shared lib support for Linux oldld, aout, or coff.
! 14748: linux*oldld* | linux*aout* | linux*coff*)
! 14749: dynamic_linker=no
! 14750: ;;
! 14751:
! 14752: # This must be glibc/ELF.
! 14753: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 14754: version_type=linux # correct to gnu/linux during the next big refactor
! 14755: need_lib_prefix=no
! 14756: need_version=no
! 14757: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14758: soname_spec='${libname}${release}${shared_ext}$major'
! 14759: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 14760: shlibpath_var=LD_LIBRARY_PATH
! 14761: shlibpath_overrides_runpath=no
! 14762:
! 14763: # Some binutils ld are patched to set DT_RUNPATH
! 14764: if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
! 14765: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14766: else
! 14767: lt_cv_shlibpath_overrides_runpath=no
! 14768: save_LDFLAGS=$LDFLAGS
! 14769: save_libdir=$libdir
! 14770: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
! 14771: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
! 14772: cat >conftest.$ac_ext <<_ACEOF
! 14773: /* confdefs.h. */
! 14774: _ACEOF
! 14775: cat confdefs.h >>conftest.$ac_ext
! 14776: cat >>conftest.$ac_ext <<_ACEOF
! 14777: /* end confdefs.h. */
! 14778:
! 14779: int
! 14780: main ()
! 14781: {
! 14782:
! 14783: ;
! 14784: return 0;
! 14785: }
! 14786: _ACEOF
! 14787: rm -f conftest.$ac_objext conftest$ac_exeext
! 14788: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 14789: (eval $ac_link) 2>conftest.er1
! 14790: ac_status=$?
! 14791: grep -v '^ *+' conftest.er1 >conftest.err
! 14792: rm -f conftest.er1
! 14793: cat conftest.err >&5
! 14794: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14795: (exit $ac_status); } &&
! 14796: { ac_try='test -z "$ac_cxx_werror_flag"
! 14797: || test ! -s conftest.err'
! 14798: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 14799: (eval $ac_try) 2>&5
! 14800: ac_status=$?
! 14801: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14802: (exit $ac_status); }; } &&
! 14803: { ac_try='test -s conftest$ac_exeext'
! 14804: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 14805: (eval $ac_try) 2>&5
! 14806: ac_status=$?
! 14807: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14808: (exit $ac_status); }; }; then
! 14809: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 14810: lt_cv_shlibpath_overrides_runpath=yes
! 14811: fi
! 14812:
! 14813: else
! 14814: echo "$as_me: failed program was:" >&5
! 14815: sed 's/^/| /' conftest.$ac_ext >&5
! 14816:
! 14817: fi
! 14818: rm -f conftest.err conftest.$ac_objext \
! 14819: conftest$ac_exeext conftest.$ac_ext
! 14820: LDFLAGS=$save_LDFLAGS
! 14821: libdir=$save_libdir
! 14822:
! 14823: fi
! 14824:
! 14825: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 14826:
! 14827: # This implies no fast_install, which is unacceptable.
! 14828: # Some rework will be needed to allow for fast_install
! 14829: # before this can be enabled.
! 14830: hardcode_into_libs=yes
! 14831:
! 14832: # Append ld.so.conf contents to the search path
! 14833: if test -f /etc/ld.so.conf; then
! 14834: 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' ' '`
! 14835: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 14836: fi
! 14837:
! 14838: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 14839: # powerpc, because MkLinux only supported shared libraries with the
! 14840: # GNU dynamic linker. Since this was broken with cross compilers,
! 14841: # most powerpc-linux boxes support dynamic linking these days and
! 14842: # people can always --disable-shared, the test was removed, and we
! 14843: # assume the GNU/Linux dynamic linker is in use.
! 14844: dynamic_linker='GNU/Linux ld.so'
! 14845: ;;
! 14846:
! 14847: netbsd*)
! 14848: version_type=sunos
! 14849: need_lib_prefix=no
! 14850: need_version=no
! 14851: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 14852: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14853: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14854: dynamic_linker='NetBSD (a.out) ld.so'
! 14855: else
! 14856: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14857: soname_spec='${libname}${release}${shared_ext}$major'
! 14858: dynamic_linker='NetBSD ld.elf_so'
! 14859: fi
! 14860: shlibpath_var=LD_LIBRARY_PATH
! 14861: shlibpath_overrides_runpath=yes
! 14862: hardcode_into_libs=yes
! 14863: ;;
! 14864:
! 14865: newsos6)
! 14866: version_type=linux # correct to gnu/linux during the next big refactor
! 14867: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14868: shlibpath_var=LD_LIBRARY_PATH
! 14869: shlibpath_overrides_runpath=yes
! 14870: ;;
! 14871:
! 14872: *nto* | *qnx*)
! 14873: version_type=qnx
! 14874: need_lib_prefix=no
! 14875: need_version=no
! 14876: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14877: soname_spec='${libname}${release}${shared_ext}$major'
! 14878: shlibpath_var=LD_LIBRARY_PATH
! 14879: shlibpath_overrides_runpath=no
! 14880: hardcode_into_libs=yes
! 14881: dynamic_linker='ldqnx.so'
! 14882: ;;
! 14883:
! 14884: openbsd*)
! 14885: version_type=sunos
! 14886: sys_lib_dlsearch_path_spec="/usr/lib"
! 14887: need_lib_prefix=no
! 14888: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 14889: case $host_os in
! 14890: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 14891: *) need_version=no ;;
! 14892: esac
! 14893: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14894: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14895: shlibpath_var=LD_LIBRARY_PATH
! 14896: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 14897: case $host_os in
! 14898: openbsd2.[89] | openbsd2.[89].*)
! 14899: shlibpath_overrides_runpath=no
! 14900: ;;
! 14901: *)
! 14902: shlibpath_overrides_runpath=yes
! 14903: ;;
! 14904: esac
! 14905: else
! 14906: shlibpath_overrides_runpath=yes
! 14907: fi
! 14908: ;;
! 14909:
! 14910: os2*)
! 14911: libname_spec='$name'
! 14912: shrext_cmds=".dll"
! 14913: need_lib_prefix=no
! 14914: library_names_spec='$libname${shared_ext} $libname.a'
! 14915: dynamic_linker='OS/2 ld.exe'
! 14916: shlibpath_var=LIBPATH
! 14917: ;;
! 14918:
! 14919: osf3* | osf4* | osf5*)
! 14920: version_type=osf
! 14921: need_lib_prefix=no
! 14922: need_version=no
! 14923: soname_spec='${libname}${release}${shared_ext}$major'
! 14924: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14925: shlibpath_var=LD_LIBRARY_PATH
! 14926: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 14927: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 14928: ;;
! 14929:
! 14930: rdos*)
! 14931: dynamic_linker=no
! 14932: ;;
! 14933:
! 14934: solaris*)
! 14935: version_type=linux # correct to gnu/linux during the next big refactor
! 14936: need_lib_prefix=no
! 14937: need_version=no
! 14938: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14939: soname_spec='${libname}${release}${shared_ext}$major'
! 14940: shlibpath_var=LD_LIBRARY_PATH
! 14941: shlibpath_overrides_runpath=yes
! 14942: hardcode_into_libs=yes
! 14943: # ldd complains unless libraries are executable
! 14944: postinstall_cmds='chmod +x $lib'
! 14945: ;;
! 14946:
! 14947: sunos4*)
! 14948: version_type=sunos
! 14949: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14950: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 14951: shlibpath_var=LD_LIBRARY_PATH
! 14952: shlibpath_overrides_runpath=yes
! 14953: if test "$with_gnu_ld" = yes; then
! 14954: need_lib_prefix=no
! 14955: fi
! 14956: need_version=yes
! 14957: ;;
! 14958:
! 14959: sysv4 | sysv4.3*)
! 14960: version_type=linux # correct to gnu/linux during the next big refactor
! 14961: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14962: soname_spec='${libname}${release}${shared_ext}$major'
! 14963: shlibpath_var=LD_LIBRARY_PATH
! 14964: case $host_vendor in
! 14965: sni)
! 14966: shlibpath_overrides_runpath=no
! 14967: need_lib_prefix=no
! 14968: runpath_var=LD_RUN_PATH
! 14969: ;;
! 14970: siemens)
! 14971: need_lib_prefix=no
! 14972: ;;
! 14973: motorola)
! 14974: need_lib_prefix=no
! 14975: need_version=no
! 14976: shlibpath_overrides_runpath=no
! 14977: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 14978: ;;
! 14979: esac
! 14980: ;;
! 14981:
! 14982: sysv4*MP*)
! 14983: if test -d /usr/nec ;then
! 14984: version_type=linux # correct to gnu/linux during the next big refactor
! 14985: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 14986: soname_spec='$libname${shared_ext}.$major'
! 14987: shlibpath_var=LD_LIBRARY_PATH
! 14988: fi
! 14989: ;;
! 14990:
! 14991: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 14992: version_type=freebsd-elf
! 14993: need_lib_prefix=no
! 14994: need_version=no
! 14995: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14996: soname_spec='${libname}${release}${shared_ext}$major'
! 14997: shlibpath_var=LD_LIBRARY_PATH
! 14998: shlibpath_overrides_runpath=yes
! 14999: hardcode_into_libs=yes
! 15000: if test "$with_gnu_ld" = yes; then
! 15001: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 15002: else
! 15003: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 15004: case $host_os in
! 15005: sco3.2v5*)
! 15006: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 15007: ;;
! 15008: esac
! 15009: fi
! 15010: sys_lib_dlsearch_path_spec='/usr/lib'
! 15011: ;;
! 15012:
! 15013: tpf*)
! 15014: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 15015: version_type=linux # correct to gnu/linux during the next big refactor
! 15016: need_lib_prefix=no
! 15017: need_version=no
! 15018: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15019: shlibpath_var=LD_LIBRARY_PATH
! 15020: shlibpath_overrides_runpath=no
! 15021: hardcode_into_libs=yes
! 15022: ;;
! 15023:
! 15024: uts4*)
! 15025: version_type=linux # correct to gnu/linux during the next big refactor
! 15026: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15027: soname_spec='${libname}${release}${shared_ext}$major'
! 15028: shlibpath_var=LD_LIBRARY_PATH
! 15029: ;;
! 15030:
! 15031: *)
! 15032: dynamic_linker=no
! 15033: ;;
! 15034: esac
! 15035: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 15036: echo "${ECHO_T}$dynamic_linker" >&6
! 15037: test "$dynamic_linker" = no && can_build_shared=no
! 15038:
! 15039: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 15040: if test "$GCC" = yes; then
! 15041: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 15042: fi
! 15043:
! 15044: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 15045: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 15046: fi
! 15047: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 15048: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 15049: fi
! 15050:
! 15051:
! 15052:
! 15053:
! 15054:
! 15055:
! 15056:
! 15057:
! 15058:
! 15059:
! 15060:
! 15061:
! 15062:
! 15063:
! 15064:
! 15065:
! 15066:
! 15067:
! 15068:
! 15069:
! 15070:
! 15071:
! 15072:
! 15073:
! 15074:
! 15075:
! 15076:
! 15077:
! 15078:
! 15079:
! 15080:
! 15081:
! 15082:
! 15083:
! 15084:
! 15085:
! 15086:
! 15087:
! 15088: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 15089: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 15090: hardcode_action_CXX=
! 15091: if test -n "$hardcode_libdir_flag_spec_CXX" ||
! 15092: test -n "$runpath_var_CXX" ||
! 15093: test "X$hardcode_automatic_CXX" = "Xyes" ; then
! 15094:
! 15095: # We can hardcode non-existent directories.
! 15096: if test "$hardcode_direct_CXX" != no &&
! 15097: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 15098: # have to relink, otherwise we might link with an installed library
! 15099: # when we should be linking with a yet-to-be-installed one
! 15100: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
! 15101: test "$hardcode_minus_L_CXX" != no; then
! 15102: # Linking always hardcodes the temporary library directory.
! 15103: hardcode_action_CXX=relink
! 15104: else
! 15105: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 15106: hardcode_action_CXX=immediate
! 15107: fi
! 15108: else
! 15109: # We cannot hardcode anything, or else we can only hardcode existing
! 15110: # directories.
! 15111: hardcode_action_CXX=unsupported
! 15112: fi
! 15113: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
! 15114: echo "${ECHO_T}$hardcode_action_CXX" >&6
! 15115:
! 15116: if test "$hardcode_action_CXX" = relink ||
! 15117: test "$inherit_rpath_CXX" = yes; then
! 15118: # Fast installation is not supported
! 15119: enable_fast_install=no
! 15120: elif test "$shlibpath_overrides_runpath" = yes ||
! 15121: test "$enable_shared" = no; then
! 15122: # Fast installation is not necessary
! 15123: enable_fast_install=needless
! 15124: fi
! 15125:
! 15126:
! 15127:
! 15128:
! 15129:
! 15130:
! 15131:
! 15132: fi # test -n "$compiler"
! 15133:
! 15134: CC=$lt_save_CC
! 15135: CFLAGS=$lt_save_CFLAGS
! 15136: LDCXX=$LD
! 15137: LD=$lt_save_LD
! 15138: GCC=$lt_save_GCC
! 15139: with_gnu_ld=$lt_save_with_gnu_ld
! 15140: lt_cv_path_LDCXX=$lt_cv_path_LD
! 15141: lt_cv_path_LD=$lt_save_path_LD
! 15142: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
! 15143: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
! 15144: fi # test "$_lt_caught_CXX_error" != yes
! 15145:
! 15146: ac_ext=c
! 15147: ac_cpp='$CPP $CPPFLAGS'
! 15148: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 15149: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 15150: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 15151:
! 15152:
! 15153:
! 15154:
! 15155:
! 15156:
! 15157:
! 15158:
! 15159:
! 15160:
! 15161:
! 15162:
! 15163:
! 15164:
! 15165:
! 15166: ac_config_commands="$ac_config_commands libtool"
! 15167:
! 15168:
! 15169:
! 15170:
! 15171: # Only expand once:
! 15172:
! 15173:
! 15174: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
! 15175: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
! 15176: if test "${libltdl_cv_shlibext+set}" = set; then
! 15177: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15178: else
! 15179:
! 15180: module=yes
! 15181: eval libltdl_cv_shlibext=$shrext_cmds
! 15182: module=no
! 15183: eval libltdl_cv_shrext=$shrext_cmds
! 15184:
! 15185: fi
! 15186: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
! 15187: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
! 15188: if test -n "$libltdl_cv_shlibext"; then
! 15189:
! 15190: cat >>confdefs.h <<_ACEOF
! 15191: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
! 15192: _ACEOF
! 15193:
! 15194: fi
! 15195: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
! 15196:
! 15197: cat >>confdefs.h <<_ACEOF
! 15198: #define LT_SHARED_EXT "$libltdl_cv_shrext"
! 15199: _ACEOF
! 15200:
! 15201: fi
! 15202:
! 15203: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
! 15204: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
! 15205: if test "${lt_cv_module_path_var+set}" = set; then
! 15206: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15207: else
! 15208: lt_cv_module_path_var="$shlibpath_var"
! 15209: fi
! 15210: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
! 15211: echo "${ECHO_T}$lt_cv_module_path_var" >&6
! 15212: if test -n "$lt_cv_module_path_var"; then
! 15213:
! 15214: cat >>confdefs.h <<_ACEOF
! 15215: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
! 15216: _ACEOF
! 15217:
! 15218: fi
! 15219:
! 15220: echo "$as_me:$LINENO: checking for the default library search path" >&5
! 15221: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
! 15222: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
! 15223: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15224: else
! 15225: lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
! 15226: fi
! 15227: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
! 15228: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
! 15229: if test -n "$lt_cv_sys_dlsearch_path"; then
! 15230: sys_dlsearch_path=
! 15231: for dir in $lt_cv_sys_dlsearch_path; do
! 15232: if test -z "$sys_dlsearch_path"; then
! 15233: sys_dlsearch_path="$dir"
! 15234: else
! 15235: sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
! 15236: fi
! 15237: done
! 15238:
! 15239: cat >>confdefs.h <<_ACEOF
! 15240: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
! 15241: _ACEOF
! 15242:
! 15243: fi
! 15244:
! 15245:
! 15246: LT_DLLOADERS=
! 15247:
! 15248:
! 15249: ac_ext=c
! 15250: ac_cpp='$CPP $CPPFLAGS'
! 15251: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 15252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 15253: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 15254:
! 15255:
! 15256: LIBADD_DLOPEN=
! 15257: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
! 15258: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
! 15259: if test "${ac_cv_search_dlopen+set}" = set; then
! 15260: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15261: else
! 15262: ac_func_search_save_LIBS=$LIBS
! 15263: ac_cv_search_dlopen=no
! 15264: cat >conftest.$ac_ext <<_ACEOF
! 15265: /* confdefs.h. */
! 15266: _ACEOF
! 15267: cat confdefs.h >>conftest.$ac_ext
! 15268: cat >>conftest.$ac_ext <<_ACEOF
! 15269: /* end confdefs.h. */
! 15270:
! 15271: /* Override any gcc2 internal prototype to avoid an error. */
! 15272: #ifdef __cplusplus
! 15273: extern "C"
! 15274: #endif
! 15275: /* We use char because int might match the return type of a gcc2
! 15276: builtin and then its argument prototype would still apply. */
! 15277: char dlopen ();
! 15278: int
! 15279: main ()
! 15280: {
! 15281: dlopen ();
! 15282: ;
! 15283: return 0;
! 15284: }
! 15285: _ACEOF
! 15286: rm -f conftest.$ac_objext conftest$ac_exeext
! 15287: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15288: (eval $ac_link) 2>conftest.er1
! 15289: ac_status=$?
! 15290: grep -v '^ *+' conftest.er1 >conftest.err
! 15291: rm -f conftest.er1
! 15292: cat conftest.err >&5
! 15293: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15294: (exit $ac_status); } &&
! 15295: { ac_try='test -z "$ac_c_werror_flag"
! 15296: || test ! -s conftest.err'
! 15297: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15298: (eval $ac_try) 2>&5
! 15299: ac_status=$?
! 15300: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15301: (exit $ac_status); }; } &&
! 15302: { ac_try='test -s conftest$ac_exeext'
! 15303: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15304: (eval $ac_try) 2>&5
! 15305: ac_status=$?
! 15306: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15307: (exit $ac_status); }; }; then
! 15308: ac_cv_search_dlopen="none required"
! 15309: else
! 15310: echo "$as_me: failed program was:" >&5
! 15311: sed 's/^/| /' conftest.$ac_ext >&5
! 15312:
! 15313: fi
! 15314: rm -f conftest.err conftest.$ac_objext \
! 15315: conftest$ac_exeext conftest.$ac_ext
! 15316: if test "$ac_cv_search_dlopen" = no; then
! 15317: for ac_lib in dl; do
! 15318: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 15319: cat >conftest.$ac_ext <<_ACEOF
! 15320: /* confdefs.h. */
! 15321: _ACEOF
! 15322: cat confdefs.h >>conftest.$ac_ext
! 15323: cat >>conftest.$ac_ext <<_ACEOF
! 15324: /* end confdefs.h. */
! 15325:
! 15326: /* Override any gcc2 internal prototype to avoid an error. */
! 15327: #ifdef __cplusplus
! 15328: extern "C"
! 15329: #endif
! 15330: /* We use char because int might match the return type of a gcc2
! 15331: builtin and then its argument prototype would still apply. */
! 15332: char dlopen ();
! 15333: int
! 15334: main ()
! 15335: {
! 15336: dlopen ();
! 15337: ;
! 15338: return 0;
! 15339: }
! 15340: _ACEOF
! 15341: rm -f conftest.$ac_objext conftest$ac_exeext
! 15342: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15343: (eval $ac_link) 2>conftest.er1
! 15344: ac_status=$?
! 15345: grep -v '^ *+' conftest.er1 >conftest.err
! 15346: rm -f conftest.er1
! 15347: cat conftest.err >&5
! 15348: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15349: (exit $ac_status); } &&
! 15350: { ac_try='test -z "$ac_c_werror_flag"
! 15351: || test ! -s conftest.err'
! 15352: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15353: (eval $ac_try) 2>&5
! 15354: ac_status=$?
! 15355: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15356: (exit $ac_status); }; } &&
! 15357: { ac_try='test -s conftest$ac_exeext'
! 15358: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15359: (eval $ac_try) 2>&5
! 15360: ac_status=$?
! 15361: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15362: (exit $ac_status); }; }; then
! 15363: ac_cv_search_dlopen="-l$ac_lib"
! 15364: break
! 15365: else
! 15366: echo "$as_me: failed program was:" >&5
! 15367: sed 's/^/| /' conftest.$ac_ext >&5
! 15368:
! 15369: fi
! 15370: rm -f conftest.err conftest.$ac_objext \
! 15371: conftest$ac_exeext conftest.$ac_ext
! 15372: done
! 15373: fi
! 15374: LIBS=$ac_func_search_save_LIBS
! 15375: fi
! 15376: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
! 15377: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
! 15378: if test "$ac_cv_search_dlopen" != no; then
! 15379: test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
! 15380:
! 15381: cat >>confdefs.h <<\_ACEOF
! 15382: #define HAVE_LIBDL 1
! 15383: _ACEOF
! 15384:
! 15385: if test "$ac_cv_search_dlopen" != "none required" ; then
! 15386: LIBADD_DLOPEN="-ldl"
! 15387: fi
! 15388: libltdl_cv_lib_dl_dlopen="yes"
! 15389: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15390: else
! 15391: cat >conftest.$ac_ext <<_ACEOF
! 15392: /* confdefs.h. */
! 15393: _ACEOF
! 15394: cat confdefs.h >>conftest.$ac_ext
! 15395: cat >>conftest.$ac_ext <<_ACEOF
! 15396: /* end confdefs.h. */
! 15397: #if HAVE_DLFCN_H
! 15398: # include <dlfcn.h>
! 15399: #endif
! 15400:
! 15401: int
! 15402: main ()
! 15403: {
! 15404: dlopen(0, 0);
! 15405: ;
! 15406: return 0;
! 15407: }
! 15408: _ACEOF
! 15409: rm -f conftest.$ac_objext conftest$ac_exeext
! 15410: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15411: (eval $ac_link) 2>conftest.er1
! 15412: ac_status=$?
! 15413: grep -v '^ *+' conftest.er1 >conftest.err
! 15414: rm -f conftest.er1
! 15415: cat conftest.err >&5
! 15416: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15417: (exit $ac_status); } &&
! 15418: { ac_try='test -z "$ac_c_werror_flag"
! 15419: || test ! -s conftest.err'
! 15420: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15421: (eval $ac_try) 2>&5
! 15422: ac_status=$?
! 15423: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15424: (exit $ac_status); }; } &&
! 15425: { ac_try='test -s conftest$ac_exeext'
! 15426: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15427: (eval $ac_try) 2>&5
! 15428: ac_status=$?
! 15429: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15430: (exit $ac_status); }; }; then
! 15431:
! 15432: cat >>confdefs.h <<\_ACEOF
! 15433: #define HAVE_LIBDL 1
! 15434: _ACEOF
! 15435:
! 15436: libltdl_cv_func_dlopen="yes"
! 15437: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15438: else
! 15439: echo "$as_me: failed program was:" >&5
! 15440: sed 's/^/| /' conftest.$ac_ext >&5
! 15441:
! 15442: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 15443: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 15444: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 15445: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15446: else
! 15447: ac_check_lib_save_LIBS=$LIBS
! 15448: LIBS="-lsvld $LIBS"
! 15449: cat >conftest.$ac_ext <<_ACEOF
! 15450: /* confdefs.h. */
! 15451: _ACEOF
! 15452: cat confdefs.h >>conftest.$ac_ext
! 15453: cat >>conftest.$ac_ext <<_ACEOF
! 15454: /* end confdefs.h. */
! 15455:
! 15456: /* Override any gcc2 internal prototype to avoid an error. */
! 15457: #ifdef __cplusplus
! 15458: extern "C"
! 15459: #endif
! 15460: /* We use char because int might match the return type of a gcc2
! 15461: builtin and then its argument prototype would still apply. */
! 15462: char dlopen ();
! 15463: int
! 15464: main ()
! 15465: {
! 15466: dlopen ();
! 15467: ;
! 15468: return 0;
! 15469: }
! 15470: _ACEOF
! 15471: rm -f conftest.$ac_objext conftest$ac_exeext
! 15472: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15473: (eval $ac_link) 2>conftest.er1
! 15474: ac_status=$?
! 15475: grep -v '^ *+' conftest.er1 >conftest.err
! 15476: rm -f conftest.er1
! 15477: cat conftest.err >&5
! 15478: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15479: (exit $ac_status); } &&
! 15480: { ac_try='test -z "$ac_c_werror_flag"
! 15481: || test ! -s conftest.err'
! 15482: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15483: (eval $ac_try) 2>&5
! 15484: ac_status=$?
! 15485: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15486: (exit $ac_status); }; } &&
! 15487: { ac_try='test -s conftest$ac_exeext'
! 15488: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15489: (eval $ac_try) 2>&5
! 15490: ac_status=$?
! 15491: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15492: (exit $ac_status); }; }; then
! 15493: ac_cv_lib_svld_dlopen=yes
! 15494: else
! 15495: echo "$as_me: failed program was:" >&5
! 15496: sed 's/^/| /' conftest.$ac_ext >&5
! 15497:
! 15498: ac_cv_lib_svld_dlopen=no
! 15499: fi
! 15500: rm -f conftest.err conftest.$ac_objext \
! 15501: conftest$ac_exeext conftest.$ac_ext
! 15502: LIBS=$ac_check_lib_save_LIBS
! 15503: fi
! 15504: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 15505: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 15506: if test $ac_cv_lib_svld_dlopen = yes; then
! 15507:
! 15508: cat >>confdefs.h <<\_ACEOF
! 15509: #define HAVE_LIBDL 1
! 15510: _ACEOF
! 15511:
! 15512: LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
! 15513: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15514: fi
! 15515:
! 15516: fi
! 15517: rm -f conftest.err conftest.$ac_objext \
! 15518: conftest$ac_exeext conftest.$ac_ext
! 15519: fi
! 15520:
! 15521: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
! 15522: then
! 15523: lt_save_LIBS="$LIBS"
! 15524: LIBS="$LIBS $LIBADD_DLOPEN"
! 15525:
! 15526: for ac_func in dlerror
! 15527: do
! 15528: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 15529: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 15530: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 15531: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 15532: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15533: else
! 15534: cat >conftest.$ac_ext <<_ACEOF
! 15535: /* confdefs.h. */
! 15536: _ACEOF
! 15537: cat confdefs.h >>conftest.$ac_ext
! 15538: cat >>conftest.$ac_ext <<_ACEOF
! 15539: /* end confdefs.h. */
! 15540: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 15541: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15542: #define $ac_func innocuous_$ac_func
! 15543:
! 15544: /* System header to define __stub macros and hopefully few prototypes,
! 15545: which can conflict with char $ac_func (); below.
! 15546: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15547: <limits.h> exists even on freestanding compilers. */
! 15548:
! 15549: #ifdef __STDC__
! 15550: # include <limits.h>
! 15551: #else
! 15552: # include <assert.h>
! 15553: #endif
! 15554:
! 15555: #undef $ac_func
! 15556:
! 15557: /* Override any gcc2 internal prototype to avoid an error. */
! 15558: #ifdef __cplusplus
! 15559: extern "C"
! 15560: {
! 15561: #endif
! 15562: /* We use char because int might match the return type of a gcc2
! 15563: builtin and then its argument prototype would still apply. */
! 15564: char $ac_func ();
! 15565: /* The GNU C library defines this for functions which it implements
! 15566: to always fail with ENOSYS. Some functions are actually named
! 15567: something starting with __ and the normal name is an alias. */
! 15568: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 15569: choke me
! 15570: #else
! 15571: char (*f) () = $ac_func;
! 15572: #endif
! 15573: #ifdef __cplusplus
! 15574: }
! 15575: #endif
! 15576:
! 15577: int
! 15578: main ()
! 15579: {
! 15580: return f != $ac_func;
! 15581: ;
! 15582: return 0;
! 15583: }
! 15584: _ACEOF
! 15585: rm -f conftest.$ac_objext conftest$ac_exeext
! 15586: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15587: (eval $ac_link) 2>conftest.er1
! 15588: ac_status=$?
! 15589: grep -v '^ *+' conftest.er1 >conftest.err
! 15590: rm -f conftest.er1
! 15591: cat conftest.err >&5
! 15592: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15593: (exit $ac_status); } &&
! 15594: { ac_try='test -z "$ac_c_werror_flag"
! 15595: || test ! -s conftest.err'
! 15596: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15597: (eval $ac_try) 2>&5
! 15598: ac_status=$?
! 15599: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15600: (exit $ac_status); }; } &&
! 15601: { ac_try='test -s conftest$ac_exeext'
! 15602: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15603: (eval $ac_try) 2>&5
! 15604: ac_status=$?
! 15605: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15606: (exit $ac_status); }; }; then
! 15607: eval "$as_ac_var=yes"
! 15608: else
! 15609: echo "$as_me: failed program was:" >&5
! 15610: sed 's/^/| /' conftest.$ac_ext >&5
! 15611:
! 15612: eval "$as_ac_var=no"
! 15613: fi
! 15614: rm -f conftest.err conftest.$ac_objext \
! 15615: conftest$ac_exeext conftest.$ac_ext
! 15616: fi
! 15617: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 15618: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 15619: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 15620: cat >>confdefs.h <<_ACEOF
! 15621: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 15622: _ACEOF
! 15623:
! 15624: fi
! 15625: done
! 15626:
! 15627: LIBS="$lt_save_LIBS"
! 15628: fi
! 15629:
! 15630:
! 15631: LIBADD_SHL_LOAD=
! 15632: echo "$as_me:$LINENO: checking for shl_load" >&5
! 15633: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 15634: if test "${ac_cv_func_shl_load+set}" = set; then
! 15635: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15636: else
! 15637: cat >conftest.$ac_ext <<_ACEOF
! 15638: /* confdefs.h. */
! 15639: _ACEOF
! 15640: cat confdefs.h >>conftest.$ac_ext
! 15641: cat >>conftest.$ac_ext <<_ACEOF
! 15642: /* end confdefs.h. */
! 15643: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 15644: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15645: #define shl_load innocuous_shl_load
! 15646:
! 15647: /* System header to define __stub macros and hopefully few prototypes,
! 15648: which can conflict with char shl_load (); below.
! 15649: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15650: <limits.h> exists even on freestanding compilers. */
! 15651:
! 15652: #ifdef __STDC__
! 15653: # include <limits.h>
! 15654: #else
! 15655: # include <assert.h>
! 15656: #endif
! 15657:
! 15658: #undef shl_load
! 15659:
! 15660: /* Override any gcc2 internal prototype to avoid an error. */
! 15661: #ifdef __cplusplus
! 15662: extern "C"
! 15663: {
! 15664: #endif
! 15665: /* We use char because int might match the return type of a gcc2
! 15666: builtin and then its argument prototype would still apply. */
! 15667: char shl_load ();
! 15668: /* The GNU C library defines this for functions which it implements
! 15669: to always fail with ENOSYS. Some functions are actually named
! 15670: something starting with __ and the normal name is an alias. */
! 15671: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 15672: choke me
! 15673: #else
! 15674: char (*f) () = shl_load;
! 15675: #endif
! 15676: #ifdef __cplusplus
! 15677: }
! 15678: #endif
! 15679:
! 15680: int
! 15681: main ()
! 15682: {
! 15683: return f != shl_load;
! 15684: ;
! 15685: return 0;
! 15686: }
! 15687: _ACEOF
! 15688: rm -f conftest.$ac_objext conftest$ac_exeext
! 15689: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15690: (eval $ac_link) 2>conftest.er1
! 15691: ac_status=$?
! 15692: grep -v '^ *+' conftest.er1 >conftest.err
! 15693: rm -f conftest.er1
! 15694: cat conftest.err >&5
! 15695: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15696: (exit $ac_status); } &&
! 15697: { ac_try='test -z "$ac_c_werror_flag"
! 15698: || test ! -s conftest.err'
! 15699: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15700: (eval $ac_try) 2>&5
! 15701: ac_status=$?
! 15702: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15703: (exit $ac_status); }; } &&
! 15704: { ac_try='test -s conftest$ac_exeext'
! 15705: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15706: (eval $ac_try) 2>&5
! 15707: ac_status=$?
! 15708: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15709: (exit $ac_status); }; }; then
! 15710: ac_cv_func_shl_load=yes
! 15711: else
! 15712: echo "$as_me: failed program was:" >&5
! 15713: sed 's/^/| /' conftest.$ac_ext >&5
! 15714:
! 15715: ac_cv_func_shl_load=no
! 15716: fi
! 15717: rm -f conftest.err conftest.$ac_objext \
! 15718: conftest$ac_exeext conftest.$ac_ext
! 15719: fi
! 15720: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 15721: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 15722: if test $ac_cv_func_shl_load = yes; then
! 15723:
! 15724: cat >>confdefs.h <<\_ACEOF
! 15725: #define HAVE_SHL_LOAD 1
! 15726: _ACEOF
! 15727:
! 15728: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
! 15729: else
! 15730: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 15731: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 15732: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 15733: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15734: else
! 15735: ac_check_lib_save_LIBS=$LIBS
! 15736: LIBS="-ldld $LIBS"
! 15737: cat >conftest.$ac_ext <<_ACEOF
! 15738: /* confdefs.h. */
! 15739: _ACEOF
! 15740: cat confdefs.h >>conftest.$ac_ext
! 15741: cat >>conftest.$ac_ext <<_ACEOF
! 15742: /* end confdefs.h. */
! 15743:
! 15744: /* Override any gcc2 internal prototype to avoid an error. */
! 15745: #ifdef __cplusplus
! 15746: extern "C"
! 15747: #endif
! 15748: /* We use char because int might match the return type of a gcc2
! 15749: builtin and then its argument prototype would still apply. */
! 15750: char shl_load ();
! 15751: int
! 15752: main ()
! 15753: {
! 15754: shl_load ();
! 15755: ;
! 15756: return 0;
! 15757: }
! 15758: _ACEOF
! 15759: rm -f conftest.$ac_objext conftest$ac_exeext
! 15760: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15761: (eval $ac_link) 2>conftest.er1
! 15762: ac_status=$?
! 15763: grep -v '^ *+' conftest.er1 >conftest.err
! 15764: rm -f conftest.er1
! 15765: cat conftest.err >&5
! 15766: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15767: (exit $ac_status); } &&
! 15768: { ac_try='test -z "$ac_c_werror_flag"
! 15769: || test ! -s conftest.err'
! 15770: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15771: (eval $ac_try) 2>&5
! 15772: ac_status=$?
! 15773: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15774: (exit $ac_status); }; } &&
! 15775: { ac_try='test -s conftest$ac_exeext'
! 15776: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15777: (eval $ac_try) 2>&5
! 15778: ac_status=$?
! 15779: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15780: (exit $ac_status); }; }; then
! 15781: ac_cv_lib_dld_shl_load=yes
! 15782: else
! 15783: echo "$as_me: failed program was:" >&5
! 15784: sed 's/^/| /' conftest.$ac_ext >&5
! 15785:
! 15786: ac_cv_lib_dld_shl_load=no
! 15787: fi
! 15788: rm -f conftest.err conftest.$ac_objext \
! 15789: conftest$ac_exeext conftest.$ac_ext
! 15790: LIBS=$ac_check_lib_save_LIBS
! 15791: fi
! 15792: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 15793: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 15794: if test $ac_cv_lib_dld_shl_load = yes; then
! 15795:
! 15796: cat >>confdefs.h <<\_ACEOF
! 15797: #define HAVE_SHL_LOAD 1
! 15798: _ACEOF
! 15799:
! 15800: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
! 15801: LIBADD_SHL_LOAD="-ldld"
! 15802: fi
! 15803:
! 15804: fi
! 15805:
! 15806:
! 15807:
! 15808: case $host_os in
! 15809: darwin[1567].*)
! 15810: # We only want this for pre-Mac OS X 10.4.
! 15811: echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
! 15812: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
! 15813: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
! 15814: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15815: else
! 15816: cat >conftest.$ac_ext <<_ACEOF
! 15817: /* confdefs.h. */
! 15818: _ACEOF
! 15819: cat confdefs.h >>conftest.$ac_ext
! 15820: cat >>conftest.$ac_ext <<_ACEOF
! 15821: /* end confdefs.h. */
! 15822: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
! 15823: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15824: #define _dyld_func_lookup innocuous__dyld_func_lookup
! 15825:
! 15826: /* System header to define __stub macros and hopefully few prototypes,
! 15827: which can conflict with char _dyld_func_lookup (); below.
! 15828: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15829: <limits.h> exists even on freestanding compilers. */
! 15830:
! 15831: #ifdef __STDC__
! 15832: # include <limits.h>
! 15833: #else
! 15834: # include <assert.h>
! 15835: #endif
! 15836:
! 15837: #undef _dyld_func_lookup
! 15838:
! 15839: /* Override any gcc2 internal prototype to avoid an error. */
! 15840: #ifdef __cplusplus
! 15841: extern "C"
! 15842: {
! 15843: #endif
! 15844: /* We use char because int might match the return type of a gcc2
! 15845: builtin and then its argument prototype would still apply. */
! 15846: char _dyld_func_lookup ();
! 15847: /* The GNU C library defines this for functions which it implements
! 15848: to always fail with ENOSYS. Some functions are actually named
! 15849: something starting with __ and the normal name is an alias. */
! 15850: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
! 15851: choke me
! 15852: #else
! 15853: char (*f) () = _dyld_func_lookup;
! 15854: #endif
! 15855: #ifdef __cplusplus
! 15856: }
! 15857: #endif
! 15858:
! 15859: int
! 15860: main ()
! 15861: {
! 15862: return f != _dyld_func_lookup;
! 15863: ;
! 15864: return 0;
! 15865: }
! 15866: _ACEOF
! 15867: rm -f conftest.$ac_objext conftest$ac_exeext
! 15868: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15869: (eval $ac_link) 2>conftest.er1
! 15870: ac_status=$?
! 15871: grep -v '^ *+' conftest.er1 >conftest.err
! 15872: rm -f conftest.er1
! 15873: cat conftest.err >&5
! 15874: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15875: (exit $ac_status); } &&
! 15876: { ac_try='test -z "$ac_c_werror_flag"
! 15877: || test ! -s conftest.err'
! 15878: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15879: (eval $ac_try) 2>&5
! 15880: ac_status=$?
! 15881: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15882: (exit $ac_status); }; } &&
! 15883: { ac_try='test -s conftest$ac_exeext'
! 15884: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15885: (eval $ac_try) 2>&5
! 15886: ac_status=$?
! 15887: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15888: (exit $ac_status); }; }; then
! 15889: ac_cv_func__dyld_func_lookup=yes
! 15890: else
! 15891: echo "$as_me: failed program was:" >&5
! 15892: sed 's/^/| /' conftest.$ac_ext >&5
! 15893:
! 15894: ac_cv_func__dyld_func_lookup=no
! 15895: fi
! 15896: rm -f conftest.err conftest.$ac_objext \
! 15897: conftest$ac_exeext conftest.$ac_ext
! 15898: fi
! 15899: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
! 15900: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
! 15901: if test $ac_cv_func__dyld_func_lookup = yes; then
! 15902:
! 15903: cat >>confdefs.h <<\_ACEOF
! 15904: #define HAVE_DYLD 1
! 15905: _ACEOF
! 15906:
! 15907: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
! 15908: fi
! 15909:
! 15910: ;;
! 15911: beos*)
! 15912: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
! 15913: ;;
! 15914: cygwin* | mingw* | os2* | pw32*)
! 15915: echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
! 15916: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
! 15917: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
! 15918: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15919: else
! 15920: cat >conftest.$ac_ext <<_ACEOF
! 15921: /* confdefs.h. */
! 15922: _ACEOF
! 15923: cat confdefs.h >>conftest.$ac_ext
! 15924: cat >>conftest.$ac_ext <<_ACEOF
! 15925: /* end confdefs.h. */
! 15926: #include <sys/cygwin.h>
! 15927:
! 15928: int
! 15929: main ()
! 15930: {
! 15931: #ifndef cygwin_conv_path
! 15932: char *p = (char *) cygwin_conv_path;
! 15933: #endif
! 15934:
! 15935: ;
! 15936: return 0;
! 15937: }
! 15938: _ACEOF
! 15939: rm -f conftest.$ac_objext
! 15940: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 15941: (eval $ac_compile) 2>conftest.er1
! 15942: ac_status=$?
! 15943: grep -v '^ *+' conftest.er1 >conftest.err
! 15944: rm -f conftest.er1
! 15945: cat conftest.err >&5
! 15946: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15947: (exit $ac_status); } &&
! 15948: { ac_try='test -z "$ac_c_werror_flag"
! 15949: || test ! -s conftest.err'
! 15950: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15951: (eval $ac_try) 2>&5
! 15952: ac_status=$?
! 15953: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15954: (exit $ac_status); }; } &&
! 15955: { ac_try='test -s conftest.$ac_objext'
! 15956: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15957: (eval $ac_try) 2>&5
! 15958: ac_status=$?
! 15959: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15960: (exit $ac_status); }; }; then
! 15961: ac_cv_have_decl_cygwin_conv_path=yes
! 15962: else
! 15963: echo "$as_me: failed program was:" >&5
! 15964: sed 's/^/| /' conftest.$ac_ext >&5
! 15965:
! 15966: ac_cv_have_decl_cygwin_conv_path=no
! 15967: fi
! 15968: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 15969: fi
! 15970: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
! 15971: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
! 15972: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
! 15973:
! 15974: cat >>confdefs.h <<_ACEOF
! 15975: #define HAVE_DECL_CYGWIN_CONV_PATH 1
! 15976: _ACEOF
! 15977:
! 15978:
! 15979: else
! 15980: cat >>confdefs.h <<_ACEOF
! 15981: #define HAVE_DECL_CYGWIN_CONV_PATH 0
! 15982: _ACEOF
! 15983:
! 15984:
! 15985: fi
! 15986:
! 15987:
! 15988: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
! 15989: ;;
! 15990: esac
! 15991:
! 15992: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 15993: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 15994: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 15995: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15996: else
! 15997: ac_check_lib_save_LIBS=$LIBS
! 15998: LIBS="-ldld $LIBS"
! 15999: cat >conftest.$ac_ext <<_ACEOF
! 16000: /* confdefs.h. */
! 16001: _ACEOF
! 16002: cat confdefs.h >>conftest.$ac_ext
! 16003: cat >>conftest.$ac_ext <<_ACEOF
! 16004: /* end confdefs.h. */
! 16005:
! 16006: /* Override any gcc2 internal prototype to avoid an error. */
! 16007: #ifdef __cplusplus
! 16008: extern "C"
! 16009: #endif
! 16010: /* We use char because int might match the return type of a gcc2
! 16011: builtin and then its argument prototype would still apply. */
! 16012: char dld_link ();
! 16013: int
! 16014: main ()
! 16015: {
! 16016: dld_link ();
! 16017: ;
! 16018: return 0;
! 16019: }
! 16020: _ACEOF
! 16021: rm -f conftest.$ac_objext conftest$ac_exeext
! 16022: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16023: (eval $ac_link) 2>conftest.er1
! 16024: ac_status=$?
! 16025: grep -v '^ *+' conftest.er1 >conftest.err
! 16026: rm -f conftest.er1
! 16027: cat conftest.err >&5
! 16028: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16029: (exit $ac_status); } &&
! 16030: { ac_try='test -z "$ac_c_werror_flag"
! 16031: || test ! -s conftest.err'
! 16032: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16033: (eval $ac_try) 2>&5
! 16034: ac_status=$?
! 16035: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16036: (exit $ac_status); }; } &&
! 16037: { ac_try='test -s conftest$ac_exeext'
! 16038: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16039: (eval $ac_try) 2>&5
! 16040: ac_status=$?
! 16041: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16042: (exit $ac_status); }; }; then
! 16043: ac_cv_lib_dld_dld_link=yes
! 16044: else
! 16045: echo "$as_me: failed program was:" >&5
! 16046: sed 's/^/| /' conftest.$ac_ext >&5
! 16047:
! 16048: ac_cv_lib_dld_dld_link=no
! 16049: fi
! 16050: rm -f conftest.err conftest.$ac_objext \
! 16051: conftest$ac_exeext conftest.$ac_ext
! 16052: LIBS=$ac_check_lib_save_LIBS
! 16053: fi
! 16054: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 16055: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 16056: if test $ac_cv_lib_dld_dld_link = yes; then
! 16057:
! 16058: cat >>confdefs.h <<\_ACEOF
! 16059: #define HAVE_DLD 1
! 16060: _ACEOF
! 16061:
! 16062: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
! 16063: fi
! 16064:
! 16065:
! 16066:
! 16067:
! 16068: LT_DLPREOPEN=
! 16069: if test -n "$LT_DLLOADERS"
! 16070: then
! 16071: for lt_loader in $LT_DLLOADERS; do
! 16072: LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
! 16073: done
! 16074:
! 16075: cat >>confdefs.h <<\_ACEOF
! 16076: #define HAVE_LIBDLLOADER 1
! 16077: _ACEOF
! 16078:
! 16079: fi
! 16080:
! 16081:
! 16082: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
! 16083:
! 16084:
! 16085: ac_ext=c
! 16086: ac_cpp='$CPP $CPPFLAGS'
! 16087: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 16088: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 16089: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 16090:
! 16091:
! 16092: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
! 16093: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
! 16094: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
! 16095: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16096: else
! 16097: lt_cv_sys_symbol_underscore=no
! 16098: cat > conftest.$ac_ext <<_LT_EOF
! 16099: void nm_test_func(){}
! 16100: int main(){nm_test_func;return 0;}
! 16101: _LT_EOF
! 16102: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16103: (eval $ac_compile) 2>&5
! 16104: ac_status=$?
! 16105: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16106: (exit $ac_status); }; then
! 16107: # Now try to grab the symbols.
! 16108: ac_nlist=conftest.nm
! 16109: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
! 16110: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
! 16111: ac_status=$?
! 16112: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16113: (exit $ac_status); } && test -s "$ac_nlist"; then
! 16114: # See whether the symbols have a leading underscore.
! 16115: if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
! 16116: lt_cv_sys_symbol_underscore=yes
! 16117: else
! 16118: if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
! 16119: :
! 16120: else
! 16121: echo "configure: cannot find nm_test_func in $ac_nlist" >&5
! 16122: fi
! 16123: fi
! 16124: else
! 16125: echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 16126: fi
! 16127: else
! 16128: echo "configure: failed program was:" >&5
! 16129: cat conftest.c >&5
! 16130: fi
! 16131: rm -rf conftest*
! 16132:
! 16133: fi
! 16134: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
! 16135: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
! 16136: sys_symbol_underscore=$lt_cv_sys_symbol_underscore
! 16137:
! 16138:
! 16139: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
! 16140: if test x"$libltdl_cv_func_dlopen" = xyes ||
! 16141: test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
! 16142: echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
! 16143: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
! 16144: if test "${libltdl_cv_need_uscore+set}" = set; then
! 16145: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16146: else
! 16147: libltdl_cv_need_uscore=unknown
! 16148: save_LIBS="$LIBS"
! 16149: LIBS="$LIBS $LIBADD_DLOPEN"
! 16150: if test "$cross_compiling" = yes; then :
! 16151: libltdl_cv_need_uscore=cross
! 16152: else
! 16153: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 16154: lt_status=$lt_dlunknown
! 16155: cat > conftest.$ac_ext <<_LT_EOF
! 16156: #line $LINENO "configure"
! 16157: #include "confdefs.h"
! 16158:
! 16159: #if HAVE_DLFCN_H
! 16160: #include <dlfcn.h>
! 16161: #endif
! 16162:
! 16163: #include <stdio.h>
! 16164:
! 16165: #ifdef RTLD_GLOBAL
! 16166: # define LT_DLGLOBAL RTLD_GLOBAL
! 16167: #else
! 16168: # ifdef DL_GLOBAL
! 16169: # define LT_DLGLOBAL DL_GLOBAL
! 16170: # else
! 16171: # define LT_DLGLOBAL 0
! 16172: # endif
! 16173: #endif
! 16174:
! 16175: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 16176: find out it does not work in some platform. */
! 16177: #ifndef LT_DLLAZY_OR_NOW
! 16178: # ifdef RTLD_LAZY
! 16179: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 16180: # else
! 16181: # ifdef DL_LAZY
! 16182: # define LT_DLLAZY_OR_NOW DL_LAZY
! 16183: # else
! 16184: # ifdef RTLD_NOW
! 16185: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 16186: # else
! 16187: # ifdef DL_NOW
! 16188: # define LT_DLLAZY_OR_NOW DL_NOW
! 16189: # else
! 16190: # define LT_DLLAZY_OR_NOW 0
! 16191: # endif
! 16192: # endif
! 16193: # endif
! 16194: # endif
! 16195: #endif
! 16196:
! 16197: /* When -fvisbility=hidden is used, assume the code has been annotated
! 16198: correspondingly for the symbols needed. */
! 16199: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 16200: int fnord () __attribute__((visibility("default")));
! 16201: #endif
! 16202:
! 16203: int fnord () { return 42; }
! 16204: int main ()
! 16205: {
! 16206: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 16207: int status = $lt_dlunknown;
! 16208:
! 16209: if (self)
! 16210: {
! 16211: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 16212: else
! 16213: {
! 16214: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 16215: else puts (dlerror ());
! 16216: }
! 16217: /* dlclose (self); */
! 16218: }
! 16219: else
! 16220: puts (dlerror ());
! 16221:
! 16222: return status;
! 16223: }
! 16224: _LT_EOF
! 16225: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16226: (eval $ac_link) 2>&5
! 16227: ac_status=$?
! 16228: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16229: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 16230: (./conftest; exit; ) >&5 2>/dev/null
! 16231: lt_status=$?
! 16232: case x$lt_status in
! 16233: x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
! 16234: x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
! 16235: x$lt_dlunknown|x*) ;;
! 16236: esac
! 16237: else :
! 16238: # compilation failed
! 16239:
! 16240: fi
! 16241: fi
! 16242: rm -fr conftest*
! 16243:
! 16244: LIBS="$save_LIBS"
! 16245:
! 16246: fi
! 16247: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
! 16248: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
! 16249: fi
! 16250: fi
! 16251:
! 16252: if test x"$libltdl_cv_need_uscore" = xyes; then
! 16253:
! 16254: cat >>confdefs.h <<\_ACEOF
! 16255: #define NEED_USCORE 1
! 16256: _ACEOF
! 16257:
! 16258: fi
! 16259:
! 16260: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
! 16261: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
! 16262: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
! 16263: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16264: else
! 16265: # PORTME does your system automatically load deplibs for dlopen?
! 16266: # or its logical equivalent (e.g. shl_load for HP-UX < 11)
! 16267: # For now, we just catch OSes we know something about -- in the
! 16268: # future, we'll try test this programmatically.
! 16269: lt_cv_sys_dlopen_deplibs=unknown
! 16270: case $host_os in
! 16271: aix3*|aix4.1.*|aix4.2.*)
! 16272: # Unknown whether this is true for these versions of AIX, but
! 16273: # we want this `case' here to explicitly catch those versions.
! 16274: lt_cv_sys_dlopen_deplibs=unknown
! 16275: ;;
! 16276: aix[4-9]*)
! 16277: lt_cv_sys_dlopen_deplibs=yes
! 16278: ;;
! 16279: amigaos*)
! 16280: case $host_cpu in
! 16281: powerpc)
! 16282: lt_cv_sys_dlopen_deplibs=no
! 16283: ;;
! 16284: esac
! 16285: ;;
! 16286: darwin*)
! 16287: # Assuming the user has installed a libdl from somewhere, this is true
! 16288: # If you are looking for one http://www.opendarwin.org/projects/dlcompat
! 16289: lt_cv_sys_dlopen_deplibs=yes
! 16290: ;;
! 16291: freebsd* | dragonfly*)
! 16292: lt_cv_sys_dlopen_deplibs=yes
! 16293: ;;
! 16294: gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 16295: # GNU and its variants, using gnu ld.so (Glibc)
! 16296: lt_cv_sys_dlopen_deplibs=yes
! 16297: ;;
! 16298: hpux10*|hpux11*)
! 16299: lt_cv_sys_dlopen_deplibs=yes
! 16300: ;;
! 16301: interix*)
! 16302: lt_cv_sys_dlopen_deplibs=yes
! 16303: ;;
! 16304: irix[12345]*|irix6.[01]*)
! 16305: # Catch all versions of IRIX before 6.2, and indicate that we don't
! 16306: # know how it worked for any of those versions.
! 16307: lt_cv_sys_dlopen_deplibs=unknown
! 16308: ;;
! 16309: irix*)
! 16310: # The case above catches anything before 6.2, and it's known that
! 16311: # at 6.2 and later dlopen does load deplibs.
! 16312: lt_cv_sys_dlopen_deplibs=yes
! 16313: ;;
! 16314: netbsd*)
! 16315: lt_cv_sys_dlopen_deplibs=yes
! 16316: ;;
! 16317: openbsd*)
! 16318: lt_cv_sys_dlopen_deplibs=yes
! 16319: ;;
! 16320: osf[1234]*)
! 16321: # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
! 16322: # it did *not* use an RPATH in a shared library to find objects the
! 16323: # library depends on, so we explicitly say `no'.
! 16324: lt_cv_sys_dlopen_deplibs=no
! 16325: ;;
! 16326: osf5.0|osf5.0a|osf5.1)
! 16327: # dlopen *does* load deplibs and with the right loader patch applied
! 16328: # it even uses RPATH in a shared library to search for shared objects
! 16329: # that the library depends on, but there's no easy way to know if that
! 16330: # patch is installed. Since this is the case, all we can really
! 16331: # say is unknown -- it depends on the patch being installed. If
! 16332: # it is, this changes to `yes'. Without it, it would be `no'.
! 16333: lt_cv_sys_dlopen_deplibs=unknown
! 16334: ;;
! 16335: osf*)
! 16336: # the two cases above should catch all versions of osf <= 5.1. Read
! 16337: # the comments above for what we know about them.
! 16338: # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
! 16339: # is used to find them so we can finally say `yes'.
! 16340: lt_cv_sys_dlopen_deplibs=yes
! 16341: ;;
! 16342: qnx*)
! 16343: lt_cv_sys_dlopen_deplibs=yes
! 16344: ;;
! 16345: solaris*)
! 16346: lt_cv_sys_dlopen_deplibs=yes
! 16347: ;;
! 16348: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 16349: libltdl_cv_sys_dlopen_deplibs=yes
! 16350: ;;
! 16351: esac
! 16352:
! 16353: fi
! 16354: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
! 16355: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
! 16356: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
! 16357:
! 16358: cat >>confdefs.h <<\_ACEOF
! 16359: #define LTDL_DLOPEN_DEPLIBS 1
! 16360: _ACEOF
! 16361:
! 16362: fi
! 16363:
! 16364: :
! 16365:
! 16366:
! 16367: for ac_header in argz.h
! 16368: do
! 16369: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 16370: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 16371: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 16372: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 16373: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16374: else
! 16375: cat >conftest.$ac_ext <<_ACEOF
! 16376: /* confdefs.h. */
! 16377: _ACEOF
! 16378: cat confdefs.h >>conftest.$ac_ext
! 16379: cat >>conftest.$ac_ext <<_ACEOF
! 16380: /* end confdefs.h. */
! 16381: $ac_includes_default
! 16382:
! 16383: #include <$ac_header>
! 16384: _ACEOF
! 16385: rm -f conftest.$ac_objext
! 16386: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16387: (eval $ac_compile) 2>conftest.er1
! 16388: ac_status=$?
! 16389: grep -v '^ *+' conftest.er1 >conftest.err
! 16390: rm -f conftest.er1
! 16391: cat conftest.err >&5
! 16392: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16393: (exit $ac_status); } &&
! 16394: { ac_try='test -z "$ac_c_werror_flag"
! 16395: || test ! -s conftest.err'
! 16396: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16397: (eval $ac_try) 2>&5
! 16398: ac_status=$?
! 16399: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16400: (exit $ac_status); }; } &&
! 16401: { ac_try='test -s conftest.$ac_objext'
! 16402: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16403: (eval $ac_try) 2>&5
! 16404: ac_status=$?
! 16405: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16406: (exit $ac_status); }; }; then
! 16407: eval "$as_ac_Header=yes"
! 16408: else
! 16409: echo "$as_me: failed program was:" >&5
! 16410: sed 's/^/| /' conftest.$ac_ext >&5
! 16411:
! 16412: eval "$as_ac_Header=no"
! 16413: fi
! 16414: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16415: fi
! 16416: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 16417: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 16418: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 16419: cat >>confdefs.h <<_ACEOF
! 16420: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 16421: _ACEOF
! 16422:
! 16423: fi
! 16424:
! 16425: done
! 16426:
! 16427:
! 16428: echo "$as_me:$LINENO: checking for error_t" >&5
! 16429: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
! 16430: if test "${ac_cv_type_error_t+set}" = set; then
! 16431: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16432: else
! 16433: cat >conftest.$ac_ext <<_ACEOF
! 16434: /* confdefs.h. */
! 16435: _ACEOF
! 16436: cat confdefs.h >>conftest.$ac_ext
! 16437: cat >>conftest.$ac_ext <<_ACEOF
! 16438: /* end confdefs.h. */
! 16439: #if defined(HAVE_ARGZ_H)
! 16440: # include <argz.h>
! 16441: #endif
! 16442:
! 16443: int
! 16444: main ()
! 16445: {
! 16446: if ((error_t *) 0)
! 16447: return 0;
! 16448: if (sizeof (error_t))
! 16449: return 0;
! 16450: ;
! 16451: return 0;
! 16452: }
! 16453: _ACEOF
! 16454: rm -f conftest.$ac_objext
! 16455: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16456: (eval $ac_compile) 2>conftest.er1
! 16457: ac_status=$?
! 16458: grep -v '^ *+' conftest.er1 >conftest.err
! 16459: rm -f conftest.er1
! 16460: cat conftest.err >&5
! 16461: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16462: (exit $ac_status); } &&
! 16463: { ac_try='test -z "$ac_c_werror_flag"
! 16464: || test ! -s conftest.err'
! 16465: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16466: (eval $ac_try) 2>&5
! 16467: ac_status=$?
! 16468: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16469: (exit $ac_status); }; } &&
! 16470: { ac_try='test -s conftest.$ac_objext'
! 16471: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16472: (eval $ac_try) 2>&5
! 16473: ac_status=$?
! 16474: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16475: (exit $ac_status); }; }; then
! 16476: ac_cv_type_error_t=yes
! 16477: else
! 16478: echo "$as_me: failed program was:" >&5
! 16479: sed 's/^/| /' conftest.$ac_ext >&5
! 16480:
! 16481: ac_cv_type_error_t=no
! 16482: fi
! 16483: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16484: fi
! 16485: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
! 16486: echo "${ECHO_T}$ac_cv_type_error_t" >&6
! 16487: if test $ac_cv_type_error_t = yes; then
! 16488:
! 16489: cat >>confdefs.h <<_ACEOF
! 16490: #define HAVE_ERROR_T 1
! 16491: _ACEOF
! 16492:
! 16493:
! 16494: else
! 16495:
! 16496: cat >>confdefs.h <<\_ACEOF
! 16497: #define error_t int
! 16498: _ACEOF
! 16499:
! 16500:
! 16501: cat >>confdefs.h <<\_ACEOF
! 16502: #define __error_t_defined 1
! 16503: _ACEOF
! 16504:
! 16505: fi
! 16506:
! 16507:
! 16508: ARGZ_H=
! 16509:
! 16510:
! 16511:
! 16512:
! 16513:
! 16514:
! 16515:
! 16516: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
! 16517: argz_next argz_stringify
! 16518: do
! 16519: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16520: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 16521: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 16522: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 16523: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16524: else
! 16525: cat >conftest.$ac_ext <<_ACEOF
! 16526: /* confdefs.h. */
! 16527: _ACEOF
! 16528: cat confdefs.h >>conftest.$ac_ext
! 16529: cat >>conftest.$ac_ext <<_ACEOF
! 16530: /* end confdefs.h. */
! 16531: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 16532: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 16533: #define $ac_func innocuous_$ac_func
! 16534:
! 16535: /* System header to define __stub macros and hopefully few prototypes,
! 16536: which can conflict with char $ac_func (); below.
! 16537: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 16538: <limits.h> exists even on freestanding compilers. */
! 16539:
! 16540: #ifdef __STDC__
! 16541: # include <limits.h>
! 16542: #else
! 16543: # include <assert.h>
! 16544: #endif
! 16545:
! 16546: #undef $ac_func
! 16547:
! 16548: /* Override any gcc2 internal prototype to avoid an error. */
! 16549: #ifdef __cplusplus
! 16550: extern "C"
! 16551: {
! 16552: #endif
! 16553: /* We use char because int might match the return type of a gcc2
! 16554: builtin and then its argument prototype would still apply. */
! 16555: char $ac_func ();
! 16556: /* The GNU C library defines this for functions which it implements
! 16557: to always fail with ENOSYS. Some functions are actually named
! 16558: something starting with __ and the normal name is an alias. */
! 16559: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 16560: choke me
! 16561: #else
! 16562: char (*f) () = $ac_func;
! 16563: #endif
! 16564: #ifdef __cplusplus
! 16565: }
! 16566: #endif
! 16567:
! 16568: int
! 16569: main ()
! 16570: {
! 16571: return f != $ac_func;
! 16572: ;
! 16573: return 0;
! 16574: }
! 16575: _ACEOF
! 16576: rm -f conftest.$ac_objext conftest$ac_exeext
! 16577: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16578: (eval $ac_link) 2>conftest.er1
! 16579: ac_status=$?
! 16580: grep -v '^ *+' conftest.er1 >conftest.err
! 16581: rm -f conftest.er1
! 16582: cat conftest.err >&5
! 16583: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16584: (exit $ac_status); } &&
! 16585: { ac_try='test -z "$ac_c_werror_flag"
! 16586: || test ! -s conftest.err'
! 16587: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16588: (eval $ac_try) 2>&5
! 16589: ac_status=$?
! 16590: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16591: (exit $ac_status); }; } &&
! 16592: { ac_try='test -s conftest$ac_exeext'
! 16593: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16594: (eval $ac_try) 2>&5
! 16595: ac_status=$?
! 16596: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16597: (exit $ac_status); }; }; then
! 16598: eval "$as_ac_var=yes"
! 16599: else
! 16600: echo "$as_me: failed program was:" >&5
! 16601: sed 's/^/| /' conftest.$ac_ext >&5
! 16602:
! 16603: eval "$as_ac_var=no"
! 16604: fi
! 16605: rm -f conftest.err conftest.$ac_objext \
! 16606: conftest$ac_exeext conftest.$ac_ext
! 16607: fi
! 16608: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 16609: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 16610: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 16611: cat >>confdefs.h <<_ACEOF
! 16612: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16613: _ACEOF
! 16614:
! 16615: else
! 16616: ARGZ_H=argz.h;
! 16617:
! 16618: _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
! 16619:
! 16620: fi
! 16621: done
! 16622:
! 16623:
! 16624: if test -z "$ARGZ_H"; then
! 16625: echo "$as_me:$LINENO: checking if argz actually works" >&5
! 16626: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
! 16627: if test "${lt_cv_sys_argz_works+set}" = set; then
! 16628: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16629: else
! 16630: case $host_os in #(
! 16631: *cygwin*)
! 16632: lt_cv_sys_argz_works=no
! 16633: if test "$cross_compiling" != no; then
! 16634: lt_cv_sys_argz_works="guessing no"
! 16635: else
! 16636: lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
! 16637: save_IFS=$IFS
! 16638: IFS=-.
! 16639: set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
! 16640: IFS=$save_IFS
! 16641: lt_os_major=${2-0}
! 16642: lt_os_minor=${3-0}
! 16643: lt_os_micro=${4-0}
! 16644: if test "$lt_os_major" -gt 1 \
! 16645: || { test "$lt_os_major" -eq 1 \
! 16646: && { test "$lt_os_minor" -gt 5 \
! 16647: || { test "$lt_os_minor" -eq 5 \
! 16648: && test "$lt_os_micro" -gt 24; }; }; }; then
! 16649: lt_cv_sys_argz_works=yes
! 16650: fi
! 16651: fi
! 16652: ;; #(
! 16653: *) lt_cv_sys_argz_works=yes ;;
! 16654: esac
! 16655: fi
! 16656: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
! 16657: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
! 16658: if test "$lt_cv_sys_argz_works" = yes; then
! 16659:
! 16660: cat >>confdefs.h <<\_ACEOF
! 16661: #define HAVE_WORKING_ARGZ 1
! 16662: _ACEOF
! 16663:
! 16664: else
! 16665: ARGZ_H=argz.h
! 16666:
! 16667:
! 16668: _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
! 16669:
! 16670: fi
! 16671:
! 16672: fi
! 16673:
! 16674:
! 16675:
! 16676:
! 16677: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
! 16678: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
! 16679: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
! 16680: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16681: else
! 16682: if test -n "$lt_cv_sys_global_symbol_pipe"; then
! 16683: libltdl_cv_preloaded_symbols=yes
! 16684: else
! 16685: libltdl_cv_preloaded_symbols=no
! 16686: fi
! 16687:
! 16688: fi
! 16689: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
! 16690: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
! 16691: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
! 16692:
! 16693: cat >>confdefs.h <<\_ACEOF
! 16694: #define HAVE_PRELOADED_SYMBOLS 1
! 16695: _ACEOF
! 16696:
! 16697: fi
! 16698:
! 16699: # Set options
! 16700:
! 16701:
! 16702:
! 16703:
! 16704:
! 16705:
! 16706:
! 16707:
! 16708:
! 16709:
! 16710:
! 16711:
! 16712: # Check whether --with-included_ltdl or --without-included_ltdl was given.
! 16713: if test "${with_included_ltdl+set}" = set; then
! 16714: withval="$with_included_ltdl"
! 16715:
! 16716: fi;
! 16717:
! 16718: if test "x$with_included_ltdl" != xyes; then
! 16719: # We are not being forced to use the included libltdl sources, so
! 16720: # decide whether there is a useful installed version we can use.
! 16721: echo "$as_me:$LINENO: checking for ltdl.h" >&5
! 16722: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
! 16723: if test "${ac_cv_header_ltdl_h+set}" = set; then
! 16724: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16725: else
! 16726: cat >conftest.$ac_ext <<_ACEOF
! 16727: /* confdefs.h. */
! 16728: _ACEOF
! 16729: cat confdefs.h >>conftest.$ac_ext
! 16730: cat >>conftest.$ac_ext <<_ACEOF
! 16731: /* end confdefs.h. */
! 16732: $ac_includes_default
! 16733:
! 16734:
! 16735: #include <ltdl.h>
! 16736: _ACEOF
! 16737: rm -f conftest.$ac_objext
! 16738: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16739: (eval $ac_compile) 2>conftest.er1
! 16740: ac_status=$?
! 16741: grep -v '^ *+' conftest.er1 >conftest.err
! 16742: rm -f conftest.er1
! 16743: cat conftest.err >&5
! 16744: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16745: (exit $ac_status); } &&
! 16746: { ac_try='test -z "$ac_c_werror_flag"
! 16747: || test ! -s conftest.err'
! 16748: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16749: (eval $ac_try) 2>&5
! 16750: ac_status=$?
! 16751: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16752: (exit $ac_status); }; } &&
! 16753: { ac_try='test -s conftest.$ac_objext'
! 16754: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16755: (eval $ac_try) 2>&5
! 16756: ac_status=$?
! 16757: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16758: (exit $ac_status); }; }; then
! 16759: ac_cv_header_ltdl_h=yes
! 16760: else
! 16761: echo "$as_me: failed program was:" >&5
! 16762: sed 's/^/| /' conftest.$ac_ext >&5
! 16763:
! 16764: ac_cv_header_ltdl_h=no
! 16765: fi
! 16766: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16767: fi
! 16768: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
! 16769: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
! 16770: if test $ac_cv_header_ltdl_h = yes; then
! 16771: echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
! 16772: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
! 16773: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
! 16774: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16775: else
! 16776: cat >conftest.$ac_ext <<_ACEOF
! 16777: /* confdefs.h. */
! 16778: _ACEOF
! 16779: cat confdefs.h >>conftest.$ac_ext
! 16780: cat >>conftest.$ac_ext <<_ACEOF
! 16781: /* end confdefs.h. */
! 16782: $ac_includes_default
! 16783: #include <ltdl.h>
! 16784:
! 16785: int
! 16786: main ()
! 16787: {
! 16788: #ifndef lt_dlinterface_register
! 16789: char *p = (char *) lt_dlinterface_register;
! 16790: #endif
! 16791:
! 16792: ;
! 16793: return 0;
! 16794: }
! 16795: _ACEOF
! 16796: rm -f conftest.$ac_objext
! 16797: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16798: (eval $ac_compile) 2>conftest.er1
! 16799: ac_status=$?
! 16800: grep -v '^ *+' conftest.er1 >conftest.err
! 16801: rm -f conftest.er1
! 16802: cat conftest.err >&5
! 16803: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16804: (exit $ac_status); } &&
! 16805: { ac_try='test -z "$ac_c_werror_flag"
! 16806: || test ! -s conftest.err'
! 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); }; } &&
! 16812: { ac_try='test -s conftest.$ac_objext'
! 16813: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16814: (eval $ac_try) 2>&5
! 16815: ac_status=$?
! 16816: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16817: (exit $ac_status); }; }; then
! 16818: ac_cv_have_decl_lt_dlinterface_register=yes
! 16819: else
! 16820: echo "$as_me: failed program was:" >&5
! 16821: sed 's/^/| /' conftest.$ac_ext >&5
! 16822:
! 16823: ac_cv_have_decl_lt_dlinterface_register=no
! 16824: fi
! 16825: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16826: fi
! 16827: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
! 16828: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
! 16829: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
! 16830: echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
! 16831: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
! 16832: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
! 16833: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16834: else
! 16835: ac_check_lib_save_LIBS=$LIBS
! 16836: LIBS="-lltdl $LIBS"
! 16837: cat >conftest.$ac_ext <<_ACEOF
! 16838: /* confdefs.h. */
! 16839: _ACEOF
! 16840: cat confdefs.h >>conftest.$ac_ext
! 16841: cat >>conftest.$ac_ext <<_ACEOF
! 16842: /* end confdefs.h. */
! 16843:
! 16844: /* Override any gcc2 internal prototype to avoid an error. */
! 16845: #ifdef __cplusplus
! 16846: extern "C"
! 16847: #endif
! 16848: /* We use char because int might match the return type of a gcc2
! 16849: builtin and then its argument prototype would still apply. */
! 16850: char lt_dladvise_preload ();
! 16851: int
! 16852: main ()
! 16853: {
! 16854: lt_dladvise_preload ();
! 16855: ;
! 16856: return 0;
! 16857: }
! 16858: _ACEOF
! 16859: rm -f conftest.$ac_objext conftest$ac_exeext
! 16860: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16861: (eval $ac_link) 2>conftest.er1
! 16862: ac_status=$?
! 16863: grep -v '^ *+' conftest.er1 >conftest.err
! 16864: rm -f conftest.er1
! 16865: cat conftest.err >&5
! 16866: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16867: (exit $ac_status); } &&
! 16868: { ac_try='test -z "$ac_c_werror_flag"
! 16869: || test ! -s conftest.err'
! 16870: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16871: (eval $ac_try) 2>&5
! 16872: ac_status=$?
! 16873: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16874: (exit $ac_status); }; } &&
! 16875: { ac_try='test -s conftest$ac_exeext'
! 16876: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16877: (eval $ac_try) 2>&5
! 16878: ac_status=$?
! 16879: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16880: (exit $ac_status); }; }; then
! 16881: ac_cv_lib_ltdl_lt_dladvise_preload=yes
! 16882: else
! 16883: echo "$as_me: failed program was:" >&5
! 16884: sed 's/^/| /' conftest.$ac_ext >&5
! 16885:
! 16886: ac_cv_lib_ltdl_lt_dladvise_preload=no
! 16887: fi
! 16888: rm -f conftest.err conftest.$ac_objext \
! 16889: conftest$ac_exeext conftest.$ac_ext
! 16890: LIBS=$ac_check_lib_save_LIBS
! 16891: fi
! 16892: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
! 16893: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
! 16894: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
! 16895: with_included_ltdl=no
! 16896: else
! 16897: with_included_ltdl=yes
! 16898: fi
! 16899:
! 16900: else
! 16901: with_included_ltdl=yes
! 16902: fi
! 16903:
! 16904: else
! 16905: with_included_ltdl=yes
! 16906: fi
! 16907:
! 16908:
! 16909: fi
! 16910:
! 16911:
! 16912:
! 16913:
! 16914: # Check whether --with-ltdl_include or --without-ltdl_include was given.
! 16915: if test "${with_ltdl_include+set}" = set; then
! 16916: withval="$with_ltdl_include"
! 16917:
! 16918: fi;
! 16919:
! 16920: if test -n "$with_ltdl_include"; then
! 16921: if test -f "$with_ltdl_include/ltdl.h"; then :
! 16922: else
! 16923: { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
! 16924: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
! 16925: { (exit 1); exit 1; }; }
! 16926: fi
! 16927: else
! 16928: with_ltdl_include=no
! 16929: fi
! 16930:
! 16931:
! 16932: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
! 16933: if test "${with_ltdl_lib+set}" = set; then
! 16934: withval="$with_ltdl_lib"
! 16935:
! 16936: fi;
! 16937:
! 16938: if test -n "$with_ltdl_lib"; then
! 16939: if test -f "$with_ltdl_lib/libltdl.la"; then :
! 16940: else
! 16941: { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
! 16942: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
! 16943: { (exit 1); exit 1; }; }
! 16944: fi
! 16945: else
! 16946: with_ltdl_lib=no
! 16947: fi
! 16948:
! 16949: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
! 16950: ,yes,no,no,)
! 16951: case $enable_ltdl_convenience in
! 16952: no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
! 16953: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
! 16954: { (exit 1); exit 1; }; } ;;
! 16955: "") enable_ltdl_convenience=yes
! 16956: ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
! 16957: esac
! 16958: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
! 16959: LTDLDEPS=$LIBLTDL
! 16960: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
! 16961:
! 16962:
! 16963:
! 16964:
! 16965:
! 16966: # For backwards non-gettext consistent compatibility...
! 16967: INCLTDL="$LTDLINCL"
! 16968:
! 16969:
! 16970: ;;
! 16971: ,no,no,no,)
! 16972: # If the included ltdl is not to be used, then use the
! 16973: # preinstalled libltdl we found.
! 16974:
! 16975: cat >>confdefs.h <<\_ACEOF
! 16976: #define HAVE_LTDL 1
! 16977: _ACEOF
! 16978:
! 16979: LIBLTDL=-lltdl
! 16980: LTDLDEPS=
! 16981: LTDLINCL=
! 16982: ;;
! 16983: ,no*,no,*)
! 16984: { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
! 16985: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
! 16986: { (exit 1); exit 1; }; }
! 16987: ;;
! 16988: *) with_included_ltdl=no
! 16989: LIBLTDL="-L$with_ltdl_lib -lltdl"
! 16990: LTDLDEPS=
! 16991: LTDLINCL="-I$with_ltdl_include"
! 16992: ;;
! 16993: esac
! 16994: INCLTDL="$LTDLINCL"
! 16995:
! 16996: # Report our decision...
! 16997: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
! 16998: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
! 16999: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
! 17000: echo "${ECHO_T}$LTDLINCL" >&6
! 17001: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
! 17002: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
! 17003: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
! 17004: echo "${ECHO_T}$LIBLTDL" >&6
! 17005:
! 17006:
! 17007:
! 17008: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
! 17009: if test "${enable_ltdl_install+set}" = set; then
! 17010: enableval="$enable_ltdl_install"
! 17011:
! 17012: fi;
! 17013:
! 17014: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
! 17015: *yes*) ;;
! 17016: *) enable_ltdl_convenience=yes ;;
! 17017: esac
! 17018:
! 17019:
! 17020:
! 17021: if test x"${enable_ltdl_install-no}" != xno; then
! 17022: INSTALL_LTDL_TRUE=
! 17023: INSTALL_LTDL_FALSE='#'
! 17024: else
! 17025: INSTALL_LTDL_TRUE='#'
! 17026: INSTALL_LTDL_FALSE=
! 17027: fi
! 17028:
! 17029:
! 17030:
! 17031: if test x"${enable_ltdl_convenience-no}" != xno; then
! 17032: CONVENIENCE_LTDL_TRUE=
! 17033: CONVENIENCE_LTDL_FALSE='#'
! 17034: else
! 17035: CONVENIENCE_LTDL_TRUE='#'
! 17036: CONVENIENCE_LTDL_FALSE=
! 17037: fi
! 17038:
! 17039:
! 17040:
! 17041:
! 17042:
! 17043: subdirs="$subdirs libltdl"
! 17044:
! 17045:
! 17046:
! 17047:
! 17048: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
! 17049: # the user used. This is so that ltdl.h can pick up the parent projects
! 17050: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
! 17051: # definitions required by ltdl.c.
! 17052: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
! 17053:
! 17054:
! 17055:
! 17056:
! 17057:
! 17058:
! 17059:
! 17060:
! 17061:
! 17062: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
! 17063: do
! 17064: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17065: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17066: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17067: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17068: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17069: else
! 17070: cat >conftest.$ac_ext <<_ACEOF
! 17071: /* confdefs.h. */
! 17072: _ACEOF
! 17073: cat confdefs.h >>conftest.$ac_ext
! 17074: cat >>conftest.$ac_ext <<_ACEOF
! 17075: /* end confdefs.h. */
! 17076: $ac_includes_default
! 17077:
! 17078: #include <$ac_header>
! 17079: _ACEOF
! 17080: rm -f conftest.$ac_objext
! 17081: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17082: (eval $ac_compile) 2>conftest.er1
! 17083: ac_status=$?
! 17084: grep -v '^ *+' conftest.er1 >conftest.err
! 17085: rm -f conftest.er1
! 17086: cat conftest.err >&5
! 17087: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17088: (exit $ac_status); } &&
! 17089: { ac_try='test -z "$ac_c_werror_flag"
! 17090: || test ! -s conftest.err'
! 17091: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17092: (eval $ac_try) 2>&5
! 17093: ac_status=$?
! 17094: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17095: (exit $ac_status); }; } &&
! 17096: { ac_try='test -s conftest.$ac_objext'
! 17097: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17098: (eval $ac_try) 2>&5
! 17099: ac_status=$?
! 17100: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17101: (exit $ac_status); }; }; then
! 17102: eval "$as_ac_Header=yes"
! 17103: else
! 17104: echo "$as_me: failed program was:" >&5
! 17105: sed 's/^/| /' conftest.$ac_ext >&5
! 17106:
! 17107: eval "$as_ac_Header=no"
! 17108: fi
! 17109: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17110: fi
! 17111: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17112: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17113: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 17114: cat >>confdefs.h <<_ACEOF
! 17115: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17116: _ACEOF
! 17117:
! 17118: fi
! 17119:
! 17120: done
! 17121:
! 17122:
! 17123:
! 17124:
! 17125:
! 17126: for ac_func in closedir opendir readdir
! 17127: do
! 17128: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17129: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 17130: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 17131: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 17132: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17133: else
! 17134: cat >conftest.$ac_ext <<_ACEOF
! 17135: /* confdefs.h. */
! 17136: _ACEOF
! 17137: cat confdefs.h >>conftest.$ac_ext
! 17138: cat >>conftest.$ac_ext <<_ACEOF
! 17139: /* end confdefs.h. */
! 17140: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 17141: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 17142: #define $ac_func innocuous_$ac_func
! 17143:
! 17144: /* System header to define __stub macros and hopefully few prototypes,
! 17145: which can conflict with char $ac_func (); below.
! 17146: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 17147: <limits.h> exists even on freestanding compilers. */
! 17148:
! 17149: #ifdef __STDC__
! 17150: # include <limits.h>
! 17151: #else
! 17152: # include <assert.h>
! 17153: #endif
! 17154:
! 17155: #undef $ac_func
! 17156:
! 17157: /* Override any gcc2 internal prototype to avoid an error. */
! 17158: #ifdef __cplusplus
! 17159: extern "C"
! 17160: {
! 17161: #endif
! 17162: /* We use char because int might match the return type of a gcc2
! 17163: builtin and then its argument prototype would still apply. */
! 17164: char $ac_func ();
! 17165: /* The GNU C library defines this for functions which it implements
! 17166: to always fail with ENOSYS. Some functions are actually named
! 17167: something starting with __ and the normal name is an alias. */
! 17168: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 17169: choke me
! 17170: #else
! 17171: char (*f) () = $ac_func;
! 17172: #endif
! 17173: #ifdef __cplusplus
! 17174: }
! 17175: #endif
! 17176:
! 17177: int
! 17178: main ()
! 17179: {
! 17180: return f != $ac_func;
! 17181: ;
! 17182: return 0;
! 17183: }
! 17184: _ACEOF
! 17185: rm -f conftest.$ac_objext conftest$ac_exeext
! 17186: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17187: (eval $ac_link) 2>conftest.er1
! 17188: ac_status=$?
! 17189: grep -v '^ *+' conftest.er1 >conftest.err
! 17190: rm -f conftest.er1
! 17191: cat conftest.err >&5
! 17192: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17193: (exit $ac_status); } &&
! 17194: { ac_try='test -z "$ac_c_werror_flag"
! 17195: || test ! -s conftest.err'
! 17196: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17197: (eval $ac_try) 2>&5
! 17198: ac_status=$?
! 17199: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17200: (exit $ac_status); }; } &&
! 17201: { ac_try='test -s conftest$ac_exeext'
! 17202: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17203: (eval $ac_try) 2>&5
! 17204: ac_status=$?
! 17205: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17206: (exit $ac_status); }; }; then
! 17207: eval "$as_ac_var=yes"
! 17208: else
! 17209: echo "$as_me: failed program was:" >&5
! 17210: sed 's/^/| /' conftest.$ac_ext >&5
! 17211:
! 17212: eval "$as_ac_var=no"
! 17213: fi
! 17214: rm -f conftest.err conftest.$ac_objext \
! 17215: conftest$ac_exeext conftest.$ac_ext
! 17216: fi
! 17217: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 17218: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 17219: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 17220: cat >>confdefs.h <<_ACEOF
! 17221: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17222: _ACEOF
! 17223:
! 17224: else
! 17225:
! 17226:
! 17227: _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
! 17228:
! 17229: fi
! 17230: done
! 17231:
! 17232:
! 17233:
! 17234: for ac_func in strlcat strlcpy
! 17235: do
! 17236: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17237: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 17238: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 17239: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 17240: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17241: else
! 17242: cat >conftest.$ac_ext <<_ACEOF
! 17243: /* confdefs.h. */
! 17244: _ACEOF
! 17245: cat confdefs.h >>conftest.$ac_ext
! 17246: cat >>conftest.$ac_ext <<_ACEOF
! 17247: /* end confdefs.h. */
! 17248: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 17249: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 17250: #define $ac_func innocuous_$ac_func
! 17251:
! 17252: /* System header to define __stub macros and hopefully few prototypes,
! 17253: which can conflict with char $ac_func (); below.
! 17254: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 17255: <limits.h> exists even on freestanding compilers. */
! 17256:
! 17257: #ifdef __STDC__
! 17258: # include <limits.h>
! 17259: #else
! 17260: # include <assert.h>
! 17261: #endif
! 17262:
! 17263: #undef $ac_func
! 17264:
! 17265: /* Override any gcc2 internal prototype to avoid an error. */
! 17266: #ifdef __cplusplus
! 17267: extern "C"
! 17268: {
! 17269: #endif
! 17270: /* We use char because int might match the return type of a gcc2
! 17271: builtin and then its argument prototype would still apply. */
! 17272: char $ac_func ();
! 17273: /* The GNU C library defines this for functions which it implements
! 17274: to always fail with ENOSYS. Some functions are actually named
! 17275: something starting with __ and the normal name is an alias. */
! 17276: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 17277: choke me
! 17278: #else
! 17279: char (*f) () = $ac_func;
! 17280: #endif
! 17281: #ifdef __cplusplus
! 17282: }
! 17283: #endif
! 17284:
! 17285: int
! 17286: main ()
! 17287: {
! 17288: return f != $ac_func;
! 17289: ;
! 17290: return 0;
! 17291: }
! 17292: _ACEOF
! 17293: rm -f conftest.$ac_objext conftest$ac_exeext
! 17294: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17295: (eval $ac_link) 2>conftest.er1
! 17296: ac_status=$?
! 17297: grep -v '^ *+' conftest.er1 >conftest.err
! 17298: rm -f conftest.er1
! 17299: cat conftest.err >&5
! 17300: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17301: (exit $ac_status); } &&
! 17302: { ac_try='test -z "$ac_c_werror_flag"
! 17303: || test ! -s conftest.err'
! 17304: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17305: (eval $ac_try) 2>&5
! 17306: ac_status=$?
! 17307: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17308: (exit $ac_status); }; } &&
! 17309: { ac_try='test -s conftest$ac_exeext'
! 17310: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17311: (eval $ac_try) 2>&5
! 17312: ac_status=$?
! 17313: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17314: (exit $ac_status); }; }; then
! 17315: eval "$as_ac_var=yes"
! 17316: else
! 17317: echo "$as_me: failed program was:" >&5
! 17318: sed 's/^/| /' conftest.$ac_ext >&5
! 17319:
! 17320: eval "$as_ac_var=no"
! 17321: fi
! 17322: rm -f conftest.err conftest.$ac_objext \
! 17323: conftest$ac_exeext conftest.$ac_ext
! 17324: fi
! 17325: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 17326: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 17327: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 17328: cat >>confdefs.h <<_ACEOF
! 17329: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17330: _ACEOF
! 17331:
! 17332: else
! 17333:
! 17334:
! 17335: _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
! 17336:
! 17337: fi
! 17338: done
! 17339:
! 17340:
! 17341:
! 17342: cat >>confdefs.h <<_ACEOF
! 17343: #define LT_LIBEXT "$libext"
! 17344: _ACEOF
! 17345:
! 17346:
! 17347: name=
! 17348: eval "lt_libprefix=\"$libname_spec\""
! 17349:
! 17350: cat >>confdefs.h <<_ACEOF
! 17351: #define LT_LIBPREFIX "$lt_libprefix"
! 17352: _ACEOF
! 17353:
! 17354:
! 17355: name=ltdl
! 17356: eval "LTDLOPEN=\"$libname_spec\""
! 17357:
! 17358:
! 17359:
! 17360:
! 17361:
! 17362:
! 17363:
! 17364:
! 17365: # Only expand once:
! 17366:
! 17367:
! 17368:
! 17369:
! 17370: # Check whether --enable-static or --disable-static was given.
! 17371: if test "${enable_static+set}" = set; then
! 17372: enableval="$enable_static"
! 17373: p=${PACKAGE-default}
! 17374: case $enableval in
! 17375: yes) enable_static=yes ;;
! 17376: no) enable_static=no ;;
! 17377: *)
! 17378: enable_static=no
! 17379: # Look at the argument we got. We use all the common list separators.
! 17380: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 17381: for pkg in $enableval; do
! 17382: IFS="$lt_save_ifs"
! 17383: if test "X$pkg" = "X$p"; then
! 17384: enable_static=yes
! 17385: fi
! 17386: done
! 17387: IFS="$lt_save_ifs"
! 17388: ;;
! 17389: esac
! 17390: else
! 17391: enable_static=no
! 17392: fi;
! 17393:
! 17394:
! 17395:
! 17396:
! 17397:
! 17398:
! 17399:
! 17400:
! 17401:
! 17402:
! 17403:
! 17404:
! 17405:
! 17406:
! 17407: for ac_header in stdio.h \
! 17408: stdlib.h \
! 17409: string.h \
! 17410: setjmp.h \
! 17411: ctype.h \
! 17412: setjmp.h
! 17413:
! 17414: do
! 17415: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17416: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17417: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17418: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17419: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17420: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17421: fi
! 17422: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17423: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17424: else
! 17425: # Is the header compilable?
! 17426: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 17427: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 17428: cat >conftest.$ac_ext <<_ACEOF
! 17429: /* confdefs.h. */
! 17430: _ACEOF
! 17431: cat confdefs.h >>conftest.$ac_ext
! 17432: cat >>conftest.$ac_ext <<_ACEOF
! 17433: /* end confdefs.h. */
! 17434: $ac_includes_default
! 17435: #include <$ac_header>
! 17436: _ACEOF
! 17437: rm -f conftest.$ac_objext
! 17438: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17439: (eval $ac_compile) 2>conftest.er1
! 17440: ac_status=$?
! 17441: grep -v '^ *+' conftest.er1 >conftest.err
! 17442: rm -f conftest.er1
! 17443: cat conftest.err >&5
! 17444: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17445: (exit $ac_status); } &&
! 17446: { ac_try='test -z "$ac_c_werror_flag"
! 17447: || test ! -s conftest.err'
! 17448: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17449: (eval $ac_try) 2>&5
! 17450: ac_status=$?
! 17451: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17452: (exit $ac_status); }; } &&
! 17453: { ac_try='test -s conftest.$ac_objext'
! 17454: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17455: (eval $ac_try) 2>&5
! 17456: ac_status=$?
! 17457: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17458: (exit $ac_status); }; }; then
! 17459: ac_header_compiler=yes
! 17460: else
! 17461: echo "$as_me: failed program was:" >&5
! 17462: sed 's/^/| /' conftest.$ac_ext >&5
! 17463:
! 17464: ac_header_compiler=no
! 17465: fi
! 17466: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17467: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 17468: echo "${ECHO_T}$ac_header_compiler" >&6
! 17469:
! 17470: # Is the header present?
! 17471: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 17472: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 17473: cat >conftest.$ac_ext <<_ACEOF
! 17474: /* confdefs.h. */
! 17475: _ACEOF
! 17476: cat confdefs.h >>conftest.$ac_ext
! 17477: cat >>conftest.$ac_ext <<_ACEOF
! 17478: /* end confdefs.h. */
! 17479: #include <$ac_header>
! 17480: _ACEOF
! 17481: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 17482: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 17483: ac_status=$?
! 17484: grep -v '^ *+' conftest.er1 >conftest.err
! 17485: rm -f conftest.er1
! 17486: cat conftest.err >&5
! 17487: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17488: (exit $ac_status); } >/dev/null; then
! 17489: if test -s conftest.err; then
! 17490: ac_cpp_err=$ac_c_preproc_warn_flag
! 17491: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 17492: else
! 17493: ac_cpp_err=
! 17494: fi
! 17495: else
! 17496: ac_cpp_err=yes
! 17497: fi
! 17498: if test -z "$ac_cpp_err"; then
! 17499: ac_header_preproc=yes
! 17500: else
! 17501: echo "$as_me: failed program was:" >&5
! 17502: sed 's/^/| /' conftest.$ac_ext >&5
! 17503:
! 17504: ac_header_preproc=no
! 17505: fi
! 17506: rm -f conftest.err conftest.$ac_ext
! 17507: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 17508: echo "${ECHO_T}$ac_header_preproc" >&6
! 17509:
! 17510: # So? What about this header?
! 17511: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 17512: yes:no: )
! 17513: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 17514: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 17515: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 17516: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 17517: ac_header_preproc=yes
! 17518: ;;
! 17519: no:yes:* )
! 17520: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 17521: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 17522: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 17523: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 17524: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 17525: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 17526: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 17527: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 17528: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 17529: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 17530: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 17531: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 17532: (
! 17533: cat <<\_ASBOX
! 17534: ## ---------------------------------- ##
! 17535: ## Report this to the parser3 lists. ##
! 17536: ## ---------------------------------- ##
! 17537: _ASBOX
! 17538: ) |
! 17539: sed "s/^/$as_me: WARNING: /" >&2
! 17540: ;;
! 17541: esac
! 17542: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17543: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17544: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17545: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17546: else
! 17547: eval "$as_ac_Header=\$ac_header_preproc"
! 17548: fi
! 17549: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17550: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17551:
! 17552: fi
! 17553: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 17554: cat >>confdefs.h <<_ACEOF
! 17555: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17556: _ACEOF
! 17557:
! 17558: fi
! 17559:
! 17560: done
! 17561:
! 17562:
! 17563: echo "$as_me:$LINENO: checking for BSD setenv/getenv/unsetenv" >&5
! 17564: echo $ECHO_N "checking for BSD setenv/getenv/unsetenv... $ECHO_C" >&6
! 17565: cat >conftest.$ac_ext <<_ACEOF
! 17566: /* confdefs.h. */
! 17567: _ACEOF
! 17568: cat confdefs.h >>conftest.$ac_ext
! 17569: cat >>conftest.$ac_ext <<_ACEOF
! 17570: /* end confdefs.h. */
! 17571: #ifdef HAVE_STDLIB_H
! 17572: # include <stdlib.h>
! 17573: #endif
! 17574: #ifdef HAVE_STRING_H
! 17575: # include <string.h>
! 17576: #endif
! 17577:
! 17578: int
! 17579: main ()
! 17580: {
! 17581: #define TEST_NAME "oracle-configure-test-var"
! 17582: #define TEST_VALUE "oracle-configure-test-value"
! 17583: int result=setenv(TEST_NAME, TEST_VALUE, 1/*overwrite*/);
! 17584: char *getenv_value=getenv(TEST_NAME);
! 17585: if(!getenv_value)
! 17586: return 1;
! 17587: if(strcmp(getenv_value, TEST_VALUE)!=0)
! 17588: return 2;
! 17589: unsetenv(TEST_NAME);
! 17590:
! 17591: ;
! 17592: return 0;
! 17593: }
! 17594: _ACEOF
! 17595: rm -f conftest.$ac_objext conftest$ac_exeext
! 17596: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17597: (eval $ac_link) 2>conftest.er1
! 17598: ac_status=$?
! 17599: grep -v '^ *+' conftest.er1 >conftest.err
! 17600: rm -f conftest.er1
! 17601: cat conftest.err >&5
! 17602: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17603: (exit $ac_status); } &&
! 17604: { ac_try='test -z "$ac_c_werror_flag"
! 17605: || test ! -s conftest.err'
! 17606: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17607: (eval $ac_try) 2>&5
! 17608: ac_status=$?
! 17609: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17610: (exit $ac_status); }; } &&
! 17611: { ac_try='test -s conftest$ac_exeext'
! 17612: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17613: (eval $ac_try) 2>&5
! 17614: ac_status=$?
! 17615: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17616: (exit $ac_status); }; }; then
! 17617:
! 17618: echo "$as_me:$LINENO: result: yes" >&5
! 17619: echo "${ECHO_T}yes" >&6
! 17620:
! 17621: cat >>confdefs.h <<\_ACEOF
! 17622: #define HAVE_SETENV
! 17623: _ACEOF
! 17624:
! 17625:
! 17626: else
! 17627: echo "$as_me: failed program was:" >&5
! 17628: sed 's/^/| /' conftest.$ac_ext >&5
! 17629:
! 17630: echo "$as_me:$LINENO: result: no" >&5
! 17631: echo "${ECHO_T}no" >&6
! 17632:
! 17633: echo "$as_me:$LINENO: checking for POSIX putenv/getenv" >&5
! 17634: echo $ECHO_N "checking for POSIX putenv/getenv... $ECHO_C" >&6
! 17635: cat >conftest.$ac_ext <<_ACEOF
! 17636: /* confdefs.h. */
! 17637: _ACEOF
! 17638: cat confdefs.h >>conftest.$ac_ext
! 17639: cat >>conftest.$ac_ext <<_ACEOF
! 17640: /* end confdefs.h. */
! 17641: #ifdef HAVE_STDLIB_H
! 17642: # include <stdlib.h>
! 17643: #endif
! 17644: #ifdef HAVE_STRING_H
! 17645: # include <string.h>
! 17646: #endif
! 17647:
! 17648: int
! 17649: main ()
! 17650: {
! 17651: #define TEST_NAME "oracle-configure-test-var"
! 17652: #define TEST_VALUE "oracle-configure-test-value"
! 17653: int result=putenv(TEST_NAME"="TEST_VALUE);
! 17654: char *getenv_value=getenv(TEST_NAME);
! 17655: if(!getenv_value)
! 17656: return 1;
! 17657: if(strcmp(getenv_value, TEST_NAME)!=0)
! 17658: return 2;
! 17659:
! 17660: ;
! 17661: return 0;
! 17662: }
! 17663: _ACEOF
! 17664: rm -f conftest.$ac_objext conftest$ac_exeext
! 17665: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17666: (eval $ac_link) 2>conftest.er1
! 17667: ac_status=$?
! 17668: grep -v '^ *+' conftest.er1 >conftest.err
! 17669: rm -f conftest.er1
! 17670: cat conftest.err >&5
! 17671: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17672: (exit $ac_status); } &&
! 17673: { ac_try='test -z "$ac_c_werror_flag"
! 17674: || test ! -s conftest.err'
! 17675: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17676: (eval $ac_try) 2>&5
! 17677: ac_status=$?
! 17678: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17679: (exit $ac_status); }; } &&
! 17680: { ac_try='test -s conftest$ac_exeext'
! 17681: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17682: (eval $ac_try) 2>&5
! 17683: ac_status=$?
! 17684: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17685: (exit $ac_status); }; }; then
! 17686:
! 17687: echo "$as_me:$LINENO: result: yes" >&5
! 17688: echo "${ECHO_T}yes" >&6
! 17689:
! 17690: cat >>confdefs.h <<\_ACEOF
! 17691: #define HAVE_PUTENV
! 17692: _ACEOF
! 17693:
! 17694:
! 17695: else
! 17696: echo "$as_me: failed program was:" >&5
! 17697: sed 's/^/| /' conftest.$ac_ext >&5
! 17698:
! 17699: echo "$as_me:$LINENO: result: no" >&5
! 17700: echo "${ECHO_T}no" >&6
! 17701: { { echo "$as_me:$LINENO: error: \"there must be some function to modify environment\"" >&5
! 17702: echo "$as_me: error: \"there must be some function to modify environment\"" >&2;}
! 17703: { (exit 1); exit 1; }; }
! 17704:
! 17705: fi
! 17706: rm -f conftest.err conftest.$ac_objext \
! 17707: conftest$ac_exeext conftest.$ac_ext
! 17708:
! 17709: fi
! 17710: rm -f conftest.err conftest.$ac_objext \
! 17711: conftest$ac_exeext conftest.$ac_ext
! 17712:
! 17713:
! 17714: echo "$as_me:$LINENO: checking for size_t" >&5
! 17715: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
! 17716: if test "${ac_cv_type_size_t+set}" = set; then
! 17717: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17718: else
! 17719: cat >conftest.$ac_ext <<_ACEOF
! 17720: /* confdefs.h. */
! 17721: _ACEOF
! 17722: cat confdefs.h >>conftest.$ac_ext
! 17723: cat >>conftest.$ac_ext <<_ACEOF
! 17724: /* end confdefs.h. */
! 17725: $ac_includes_default
! 17726: int
! 17727: main ()
! 17728: {
! 17729: if ((size_t *) 0)
! 17730: return 0;
! 17731: if (sizeof (size_t))
! 17732: return 0;
! 17733: ;
! 17734: return 0;
! 17735: }
! 17736: _ACEOF
! 17737: rm -f conftest.$ac_objext
! 17738: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17739: (eval $ac_compile) 2>conftest.er1
! 17740: ac_status=$?
! 17741: grep -v '^ *+' conftest.er1 >conftest.err
! 17742: rm -f conftest.er1
! 17743: cat conftest.err >&5
! 17744: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17745: (exit $ac_status); } &&
! 17746: { ac_try='test -z "$ac_c_werror_flag"
! 17747: || test ! -s conftest.err'
! 17748: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17749: (eval $ac_try) 2>&5
! 17750: ac_status=$?
! 17751: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17752: (exit $ac_status); }; } &&
! 17753: { ac_try='test -s conftest.$ac_objext'
! 17754: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17755: (eval $ac_try) 2>&5
! 17756: ac_status=$?
! 17757: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17758: (exit $ac_status); }; }; then
! 17759: ac_cv_type_size_t=yes
! 17760: else
! 17761: echo "$as_me: failed program was:" >&5
! 17762: sed 's/^/| /' conftest.$ac_ext >&5
! 17763:
! 17764: ac_cv_type_size_t=no
! 17765: fi
! 17766: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17767: fi
! 17768: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
! 17769: echo "${ECHO_T}$ac_cv_type_size_t" >&6
! 17770: if test $ac_cv_type_size_t = yes; then
! 17771: :
! 17772: else
! 17773:
! 17774: cat >>confdefs.h <<_ACEOF
! 17775: #define size_t unsigned
! 17776: _ACEOF
! 17777:
! 17778: fi
! 17779:
! 17780:
! 17781:
! 17782:
! 17783: ac_config_files="$ac_config_files Makefile"
! 17784: cat >confcache <<\_ACEOF
! 17785: # This file is a shell script that caches the results of configure
! 17786: # tests run on this system so they can be shared between configure
! 17787: # scripts and configure runs, see configure's option --config-cache.
! 17788: # It is not useful on other systems. If it contains results you don't
! 17789: # want to keep, you may remove or edit it.
! 17790: #
! 17791: # config.status only pays attention to the cache file if you give it
! 17792: # the --recheck option to rerun configure.
! 17793: #
! 17794: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 17795: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 17796: # following values.
! 17797:
! 17798: _ACEOF
! 17799:
! 17800: # The following way of writing the cache mishandles newlines in values,
! 17801: # but we know of no workaround that is simple, portable, and efficient.
! 17802: # So, don't put newlines in cache variables' values.
! 17803: # Ultrix sh set writes to stderr and can't be redirected directly,
! 17804: # and sets the high bit in the cache file unless we assign to the vars.
! 17805: {
! 17806: (set) 2>&1 |
! 17807: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 17808: *ac_space=\ *)
! 17809: # `set' does not quote correctly, so add quotes (double-quote
! 17810: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 17811: sed -n \
! 17812: "s/'/'\\\\''/g;
! 17813: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 17814: ;;
! 17815: *)
! 17816: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 17817: sed -n \
! 17818: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 17819: ;;
! 17820: esac;
! 17821: } |
! 17822: sed '
! 17823: t clear
! 17824: : clear
! 17825: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 17826: t end
! 17827: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 17828: : end' >>confcache
! 17829: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 17830: if test -w $cache_file; then
! 17831: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 17832: cat confcache >$cache_file
! 17833: else
! 17834: echo "not updating unwritable cache $cache_file"
! 17835: fi
! 17836: fi
! 17837: rm -f confcache
! 17838:
! 17839: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 17840: # Let make expand exec_prefix.
! 17841: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 17842:
! 17843: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 17844: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 17845: # trailing colons and then remove the whole line if VPATH becomes empty
! 17846: # (actually we leave an empty line to preserve line numbers).
! 17847: if test "x$srcdir" = x.; then
! 17848: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 17849: s/:*\$(srcdir):*/:/;
! 17850: s/:*\${srcdir}:*/:/;
! 17851: s/:*@srcdir@:*/:/;
! 17852: s/^\([^=]*=[ ]*\):*/\1/;
! 17853: s/:*$//;
! 17854: s/^[^=]*=[ ]*$//;
! 17855: }'
! 17856: fi
! 17857:
! 17858: DEFS=-DHAVE_CONFIG_H
! 17859:
! 17860: ac_libobjs=
! 17861: ac_ltlibobjs=
! 17862: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 17863: # 1. Remove the extension, and $U if already installed.
! 17864: ac_i=`echo "$ac_i" |
! 17865: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 17866: # 2. Add them.
! 17867: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 17868: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 17869: done
! 17870: LIBOBJS=$ac_libobjs
! 17871:
! 17872: LTLIBOBJS=$ac_ltlibobjs
! 17873:
! 17874:
! 17875: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 17876: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 17877: Usually this means the macro was only invoked conditionally." >&5
! 17878: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 17879: Usually this means the macro was only invoked conditionally." >&2;}
! 17880: { (exit 1); exit 1; }; }
! 17881: fi
! 17882: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 17883: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 17884: Usually this means the macro was only invoked conditionally." >&5
! 17885: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 17886: Usually this means the macro was only invoked conditionally." >&2;}
! 17887: { (exit 1); exit 1; }; }
! 17888: fi
! 17889: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 17890: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 17891: Usually this means the macro was only invoked conditionally." >&5
! 17892: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 17893: Usually this means the macro was only invoked conditionally." >&2;}
! 17894: { (exit 1); exit 1; }; }
! 17895: fi
! 17896: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
! 17897: { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
! 17898: Usually this means the macro was only invoked conditionally." >&5
! 17899: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
! 17900: Usually this means the macro was only invoked conditionally." >&2;}
! 17901: { (exit 1); exit 1; }; }
! 17902: fi
! 17903: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
! 17904: { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 17905: Usually this means the macro was only invoked conditionally." >&5
! 17906: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 17907: Usually this means the macro was only invoked conditionally." >&2;}
! 17908: { (exit 1); exit 1; }; }
! 17909: fi
! 17910: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[ ]*,,;s,[ :].*$,,'`
! 17911:
! 17912: _ltdl_libobjs=
! 17913: _ltdl_ltlibobjs=
! 17914: if test -n "$_LT_LIBOBJS"; then
! 17915: # Remove the extension.
! 17916: _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
! 17917: for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
! 17918: _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
! 17919: _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
! 17920: done
! 17921: fi
! 17922: ltdl_LIBOBJS=$_ltdl_libobjs
! 17923:
! 17924: ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
! 17925:
! 17926:
! 17927:
! 17928: : ${CONFIG_STATUS=./config.status}
! 17929: ac_clean_files_save=$ac_clean_files
! 17930: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 17931: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 17932: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 17933: cat >$CONFIG_STATUS <<_ACEOF
! 17934: #! $SHELL
! 17935: # Generated by $as_me.
! 17936: # Run this file to recreate the current configuration.
! 17937: # Compiler output produced by configure, useful for debugging
! 17938: # configure, is in config.log if it exists.
! 17939:
! 17940: debug=false
! 17941: ac_cs_recheck=false
! 17942: ac_cs_silent=false
! 17943: SHELL=\${CONFIG_SHELL-$SHELL}
! 17944: _ACEOF
! 17945:
! 17946: cat >>$CONFIG_STATUS <<\_ACEOF
! 17947: ## --------------------- ##
! 17948: ## M4sh Initialization. ##
! 17949: ## --------------------- ##
! 17950:
! 17951: # Be Bourne compatible
! 17952: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 17953: emulate sh
! 17954: NULLCMD=:
! 17955: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 17956: # is contrary to our usage. Disable this feature.
! 17957: alias -g '${1+"$@"}'='"$@"'
! 17958: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 17959: set -o posix
! 17960: fi
! 17961: DUALCASE=1; export DUALCASE # for MKS sh
! 17962:
! 17963: # Support unset when possible.
! 17964: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 17965: as_unset=unset
! 17966: else
! 17967: as_unset=false
! 17968: fi
! 17969:
! 17970:
! 17971: # Work around bugs in pre-3.0 UWIN ksh.
! 17972: $as_unset ENV MAIL MAILPATH
! 17973: PS1='$ '
! 17974: PS2='> '
! 17975: PS4='+ '
! 17976:
! 17977: # NLS nuisances.
! 17978: for as_var in \
! 17979: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 17980: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 17981: LC_TELEPHONE LC_TIME
! 17982: do
! 17983: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 17984: eval $as_var=C; export $as_var
! 17985: else
! 17986: $as_unset $as_var
! 17987: fi
! 17988: done
! 17989:
! 17990: # Required to use basename.
! 17991: if expr a : '\(a\)' >/dev/null 2>&1; then
! 17992: as_expr=expr
! 17993: else
! 17994: as_expr=false
! 17995: fi
! 17996:
! 17997: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 17998: as_basename=basename
! 17999: else
! 18000: as_basename=false
! 18001: fi
! 18002:
! 18003:
! 18004: # Name of the executable.
! 18005: as_me=`$as_basename "$0" ||
! 18006: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 18007: X"$0" : 'X\(//\)$' \| \
! 18008: X"$0" : 'X\(/\)$' \| \
! 18009: . : '\(.\)' 2>/dev/null ||
! 18010: echo X/"$0" |
! 18011: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 18012: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 18013: /^X\/\(\/\).*/{ s//\1/; q; }
! 18014: s/.*/./; q'`
! 18015:
! 18016:
! 18017: # PATH needs CR, and LINENO needs CR and PATH.
! 18018: # Avoid depending upon Character Ranges.
! 18019: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 18020: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 18021: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 18022: as_cr_digits='0123456789'
! 18023: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 18024:
! 18025: # The user is always right.
! 18026: if test "${PATH_SEPARATOR+set}" != set; then
! 18027: echo "#! /bin/sh" >conf$$.sh
! 18028: echo "exit 0" >>conf$$.sh
! 18029: chmod +x conf$$.sh
! 18030: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 18031: PATH_SEPARATOR=';'
! 18032: else
! 18033: PATH_SEPARATOR=:
! 18034: fi
! 18035: rm -f conf$$.sh
! 18036: fi
! 18037:
! 18038:
! 18039: as_lineno_1=$LINENO
! 18040: as_lineno_2=$LINENO
! 18041: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 18042: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 18043: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 18044: # Find who we are. Look in the path if we contain no path at all
! 18045: # relative or not.
! 18046: case $0 in
! 18047: *[\\/]* ) as_myself=$0 ;;
! 18048: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 18049: for as_dir in $PATH
! 18050: do
! 18051: IFS=$as_save_IFS
! 18052: test -z "$as_dir" && as_dir=.
! 18053: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 18054: done
! 18055:
! 18056: ;;
! 18057: esac
! 18058: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 18059: # in which case we are not to be found in the path.
! 18060: if test "x$as_myself" = x; then
! 18061: as_myself=$0
! 18062: fi
! 18063: if test ! -f "$as_myself"; then
! 18064: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 18065: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 18066: { (exit 1); exit 1; }; }
! 18067: fi
! 18068: case $CONFIG_SHELL in
! 18069: '')
! 18070: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 18071: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 18072: do
! 18073: IFS=$as_save_IFS
! 18074: test -z "$as_dir" && as_dir=.
! 18075: for as_base in sh bash ksh sh5; do
! 18076: case $as_dir in
! 18077: /*)
! 18078: if ("$as_dir/$as_base" -c '
! 18079: as_lineno_1=$LINENO
! 18080: as_lineno_2=$LINENO
! 18081: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 18082: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 18083: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 18084: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 18085: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 18086: CONFIG_SHELL=$as_dir/$as_base
! 18087: export CONFIG_SHELL
! 18088: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 18089: fi;;
! 18090: esac
! 18091: done
! 18092: done
! 18093: ;;
! 18094: esac
! 18095:
! 18096: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 18097: # uniformly replaced by the line number. The first 'sed' inserts a
! 18098: # line-number line before each line; the second 'sed' does the real
! 18099: # work. The second script uses 'N' to pair each line-number line
! 18100: # with the numbered line, and appends trailing '-' during
! 18101: # substitution so that $LINENO is not a special case at line end.
! 18102: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 18103: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 18104: sed '=' <$as_myself |
! 18105: sed '
! 18106: N
! 18107: s,$,-,
! 18108: : loop
! 18109: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 18110: t loop
! 18111: s,-$,,
! 18112: s,^['$as_cr_digits']*\n,,
! 18113: ' >$as_me.lineno &&
! 18114: chmod +x $as_me.lineno ||
! 18115: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 18116: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 18117: { (exit 1); exit 1; }; }
! 18118:
! 18119: # Don't try to exec as it changes $[0], causing all sort of problems
! 18120: # (the dirname of $[0] is not the place where we might find the
! 18121: # original and so on. Autoconf is especially sensible to this).
! 18122: . ./$as_me.lineno
! 18123: # Exit status is that of the last command.
! 18124: exit
! 18125: }
! 18126:
! 18127:
! 18128: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 18129: *c*,-n*) ECHO_N= ECHO_C='
! 18130: ' ECHO_T=' ' ;;
! 18131: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 18132: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 18133: esac
! 18134:
! 18135: if expr a : '\(a\)' >/dev/null 2>&1; then
! 18136: as_expr=expr
! 18137: else
! 18138: as_expr=false
! 18139: fi
! 18140:
! 18141: rm -f conf$$ conf$$.exe conf$$.file
! 18142: echo >conf$$.file
! 18143: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 18144: # We could just check for DJGPP; but this test a) works b) is more generic
! 18145: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 18146: if test -f conf$$.exe; then
! 18147: # Don't use ln at all; we don't have any links
! 18148: as_ln_s='cp -p'
! 18149: else
! 18150: as_ln_s='ln -s'
! 18151: fi
! 18152: elif ln conf$$.file conf$$ 2>/dev/null; then
! 18153: as_ln_s=ln
! 18154: else
! 18155: as_ln_s='cp -p'
! 18156: fi
! 18157: rm -f conf$$ conf$$.exe conf$$.file
! 18158:
! 18159: if mkdir -p . 2>/dev/null; then
! 18160: as_mkdir_p=:
! 18161: else
! 18162: test -d ./-p && rmdir ./-p
! 18163: as_mkdir_p=false
! 18164: fi
! 18165:
! 18166: as_executable_p="test -f"
! 18167:
! 18168: # Sed expression to map a string onto a valid CPP name.
! 18169: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 18170:
! 18171: # Sed expression to map a string onto a valid variable name.
! 18172: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 18173:
! 18174:
! 18175: # IFS
! 18176: # We need space, tab and new line, in precisely that order.
! 18177: as_nl='
! 18178: '
! 18179: IFS=" $as_nl"
! 18180:
! 18181: # CDPATH.
! 18182: $as_unset CDPATH
! 18183:
! 18184: exec 6>&1
! 18185:
! 18186: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 18187: # report actual input values of CONFIG_FILES etc. instead of their
! 18188: # values after options handling. Logging --version etc. is OK.
! 18189: exec 5>>config.log
! 18190: {
! 18191: echo
! 18192: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 18193: ## Running $as_me. ##
! 18194: _ASBOX
! 18195: } >&5
! 18196: cat >&5 <<_CSEOF
! 18197:
! 18198: This file was extended by parser3 $as_me 10.2, which was
! 18199: generated by GNU Autoconf 2.59. Invocation command line was
! 18200:
! 18201: CONFIG_FILES = $CONFIG_FILES
! 18202: CONFIG_HEADERS = $CONFIG_HEADERS
! 18203: CONFIG_LINKS = $CONFIG_LINKS
! 18204: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 18205: $ $0 $@
! 18206:
! 18207: _CSEOF
! 18208: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 18209: echo >&5
! 18210: _ACEOF
! 18211:
! 18212: # Files that config.status was made for.
! 18213: if test -n "$ac_config_files"; then
! 18214: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 18215: fi
! 18216:
! 18217: if test -n "$ac_config_headers"; then
! 18218: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 18219: fi
! 18220:
! 18221: if test -n "$ac_config_links"; then
! 18222: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 18223: fi
! 18224:
! 18225: if test -n "$ac_config_commands"; then
! 18226: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 18227: fi
! 18228:
! 18229: cat >>$CONFIG_STATUS <<\_ACEOF
! 18230:
! 18231: ac_cs_usage="\
! 18232: \`$as_me' instantiates files from templates according to the
! 18233: current configuration.
! 18234:
! 18235: Usage: $0 [OPTIONS] [FILE]...
! 18236:
! 18237: -h, --help print this help, then exit
! 18238: -V, --version print version number, then exit
! 18239: -q, --quiet do not print progress messages
! 18240: -d, --debug don't remove temporary files
! 18241: --recheck update $as_me by reconfiguring in the same conditions
! 18242: --file=FILE[:TEMPLATE]
! 18243: instantiate the configuration file FILE
! 18244: --header=FILE[:TEMPLATE]
! 18245: instantiate the configuration header FILE
! 18246:
! 18247: Configuration files:
! 18248: $config_files
! 18249:
! 18250: Configuration headers:
! 18251: $config_headers
! 18252:
! 18253: Configuration commands:
! 18254: $config_commands
! 18255:
! 18256: Report bugs to <bug-autoconf@gnu.org>."
! 18257: _ACEOF
! 18258:
! 18259: cat >>$CONFIG_STATUS <<_ACEOF
! 18260: ac_cs_version="\\
! 18261: parser3 config.status 10.2
! 18262: configured by $0, generated by GNU Autoconf 2.59,
! 18263: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 18264:
! 18265: Copyright (C) 2003 Free Software Foundation, Inc.
! 18266: This config.status script is free software; the Free Software Foundation
! 18267: gives unlimited permission to copy, distribute and modify it."
! 18268: srcdir=$srcdir
! 18269: INSTALL="$INSTALL"
! 18270: _ACEOF
! 18271:
! 18272: cat >>$CONFIG_STATUS <<\_ACEOF
! 18273: # If no file are specified by the user, then we need to provide default
! 18274: # value. By we need to know if files were specified by the user.
! 18275: ac_need_defaults=:
! 18276: while test $# != 0
! 18277: do
! 18278: case $1 in
! 18279: --*=*)
! 18280: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 18281: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 18282: ac_shift=:
! 18283: ;;
! 18284: -*)
! 18285: ac_option=$1
! 18286: ac_optarg=$2
! 18287: ac_shift=shift
! 18288: ;;
! 18289: *) # This is not an option, so the user has probably given explicit
! 18290: # arguments.
! 18291: ac_option=$1
! 18292: ac_need_defaults=false;;
! 18293: esac
! 18294:
! 18295: case $ac_option in
! 18296: # Handling of the options.
! 18297: _ACEOF
! 18298: cat >>$CONFIG_STATUS <<\_ACEOF
! 18299: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 18300: ac_cs_recheck=: ;;
! 18301: --version | --vers* | -V )
! 18302: echo "$ac_cs_version"; exit 0 ;;
! 18303: --he | --h)
! 18304: # Conflict between --help and --header
! 18305: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 18306: Try \`$0 --help' for more information." >&5
! 18307: echo "$as_me: error: ambiguous option: $1
! 18308: Try \`$0 --help' for more information." >&2;}
! 18309: { (exit 1); exit 1; }; };;
! 18310: --help | --hel | -h )
! 18311: echo "$ac_cs_usage"; exit 0 ;;
! 18312: --debug | --d* | -d )
! 18313: debug=: ;;
! 18314: --file | --fil | --fi | --f )
! 18315: $ac_shift
! 18316: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 18317: ac_need_defaults=false;;
! 18318: --header | --heade | --head | --hea )
! 18319: $ac_shift
! 18320: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 18321: ac_need_defaults=false;;
! 18322: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 18323: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 18324: ac_cs_silent=: ;;
! 18325:
! 18326: # This is an error.
! 18327: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 18328: Try \`$0 --help' for more information." >&5
! 18329: echo "$as_me: error: unrecognized option: $1
! 18330: Try \`$0 --help' for more information." >&2;}
! 18331: { (exit 1); exit 1; }; } ;;
! 18332:
! 18333: *) ac_config_targets="$ac_config_targets $1" ;;
! 18334:
! 18335: esac
! 18336: shift
! 18337: done
! 18338:
! 18339: ac_configure_extra_args=
! 18340:
! 18341: if $ac_cs_silent; then
! 18342: exec 6>/dev/null
! 18343: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 18344: fi
! 18345:
! 18346: _ACEOF
! 18347: cat >>$CONFIG_STATUS <<_ACEOF
! 18348: if \$ac_cs_recheck; then
! 18349: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 18350: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 18351: fi
! 18352:
! 18353: _ACEOF
! 18354:
! 18355: cat >>$CONFIG_STATUS <<_ACEOF
! 18356: #
! 18357: # INIT-COMMANDS section.
! 18358: #
! 18359:
! 18360: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 18361:
! 18362:
! 18363: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 18364: # if CDPATH is set.
! 18365: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 18366:
! 18367: sed_quote_subst='$sed_quote_subst'
! 18368: double_quote_subst='$double_quote_subst'
! 18369: delay_variable_subst='$delay_variable_subst'
! 18370: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
! 18371: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
! 18372: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
! 18373: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
! 18374: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
! 18375: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
! 18376: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
! 18377: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
! 18378: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
! 18379: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
! 18380: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
! 18381: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
! 18382: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
! 18383: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
! 18384: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
! 18385: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
! 18386: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
! 18387: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
! 18388: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
! 18389: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
! 18390: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
! 18391: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
! 18392: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
! 18393: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
! 18394: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
! 18395: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
! 18396: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
! 18397: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
! 18398: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
! 18399: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
! 18400: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
! 18401: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
! 18402: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
! 18403: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
! 18404: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
! 18405: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
! 18406: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
! 18407: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
! 18408: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
! 18409: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
! 18410: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
! 18411: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
! 18412: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
! 18413: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
! 18414: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
! 18415: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
! 18416: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18417: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18418: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
! 18419: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
! 18420: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
! 18421: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
! 18422: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
! 18423: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
! 18424: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
! 18425: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
! 18426: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
! 18427: 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"`'
! 18428: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
! 18429: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
! 18430: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
! 18431: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
! 18432: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
! 18433: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
! 18434: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
! 18435: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
! 18436: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
! 18437: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
! 18438: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
! 18439: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
! 18440: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
! 18441: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
! 18442: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
! 18443: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
! 18444: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
! 18445: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
! 18446: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 18447: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
! 18448: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
! 18449: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18450: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18451: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
! 18452: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
! 18453: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 18454: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
! 18455: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 18456: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
! 18457: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 18458: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
! 18459: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 18460: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 18461: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18462: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
! 18463: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
! 18464: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
! 18465: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
! 18466: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 18467: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
! 18468: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
! 18469: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
! 18470: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
! 18471: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
! 18472: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
! 18473: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
! 18474: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
! 18475: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
! 18476: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
! 18477: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
! 18478: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
! 18479: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
! 18480: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
! 18481: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
! 18482: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 18483: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
! 18484: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
! 18485: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
! 18486: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
! 18487: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
! 18488: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18489: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18490: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
! 18491: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
! 18492: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
! 18493: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
! 18494: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
! 18495: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
! 18496: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
! 18497: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
! 18498: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
! 18499: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
! 18500: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
! 18501: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
! 18502: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
! 18503: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
! 18504: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
! 18505: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
! 18506: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
! 18507: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
! 18508: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18509: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18510: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18511: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
! 18512: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
! 18513: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18514: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
! 18515: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
! 18516: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
! 18517: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
! 18518: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
! 18519: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
! 18520: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18521: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18522: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
! 18523: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18524: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18525: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18526: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18527: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18528: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18529: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
! 18530: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18531: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18532: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18533: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
! 18534: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
! 18535: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
! 18536: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
! 18537: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
! 18538: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
! 18539: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
! 18540: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
! 18541: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
! 18542: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18543: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
! 18544: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
! 18545: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18546: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18547: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18548: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
! 18549: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
! 18550: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
! 18551: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
! 18552: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
! 18553: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
! 18554: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
! 18555:
! 18556: LTCC='$LTCC'
! 18557: LTCFLAGS='$LTCFLAGS'
! 18558: compiler='$compiler_DEFAULT'
! 18559:
! 18560: # A function that is used when there is no print builtin or printf.
! 18561: func_fallback_echo ()
! 18562: {
! 18563: eval 'cat <<_LTECHO_EOF
! 18564: \$1
! 18565: _LTECHO_EOF'
! 18566: }
! 18567:
! 18568: # Quote evaled strings.
! 18569: for var in AS \
! 18570: DLLTOOL \
! 18571: OBJDUMP \
! 18572: SHELL \
! 18573: ECHO \
! 18574: PATH_SEPARATOR \
! 18575: SED \
! 18576: GREP \
! 18577: EGREP \
! 18578: FGREP \
! 18579: LD \
! 18580: NM \
! 18581: LN_S \
! 18582: lt_SP2NL \
! 18583: lt_NL2SP \
! 18584: reload_flag \
! 18585: deplibs_check_method \
! 18586: file_magic_cmd \
! 18587: file_magic_glob \
! 18588: want_nocaseglob \
! 18589: sharedlib_from_linklib_cmd \
! 18590: AR \
! 18591: AR_FLAGS \
! 18592: archiver_list_spec \
! 18593: STRIP \
! 18594: RANLIB \
! 18595: CC \
! 18596: CFLAGS \
! 18597: compiler \
! 18598: lt_cv_sys_global_symbol_pipe \
! 18599: lt_cv_sys_global_symbol_to_cdecl \
! 18600: lt_cv_sys_global_symbol_to_c_name_address \
! 18601: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 18602: nm_file_list_spec \
! 18603: lt_prog_compiler_no_builtin_flag \
! 18604: lt_prog_compiler_pic \
! 18605: lt_prog_compiler_wl \
! 18606: lt_prog_compiler_static \
! 18607: lt_cv_prog_compiler_c_o \
! 18608: need_locks \
! 18609: MANIFEST_TOOL \
! 18610: DSYMUTIL \
! 18611: NMEDIT \
! 18612: LIPO \
! 18613: OTOOL \
! 18614: OTOOL64 \
! 18615: shrext_cmds \
! 18616: export_dynamic_flag_spec \
! 18617: whole_archive_flag_spec \
! 18618: compiler_needs_object \
! 18619: with_gnu_ld \
! 18620: allow_undefined_flag \
! 18621: no_undefined_flag \
! 18622: hardcode_libdir_flag_spec \
! 18623: hardcode_libdir_separator \
! 18624: exclude_expsyms \
! 18625: include_expsyms \
! 18626: file_list_spec \
! 18627: variables_saved_for_relink \
! 18628: libname_spec \
! 18629: library_names_spec \
! 18630: soname_spec \
! 18631: install_override_mode \
! 18632: finish_eval \
! 18633: old_striplib \
! 18634: striplib \
! 18635: compiler_lib_search_dirs \
! 18636: predep_objects \
! 18637: postdep_objects \
! 18638: predeps \
! 18639: postdeps \
! 18640: compiler_lib_search_path \
! 18641: LD_CXX \
! 18642: reload_flag_CXX \
! 18643: compiler_CXX \
! 18644: lt_prog_compiler_no_builtin_flag_CXX \
! 18645: lt_prog_compiler_pic_CXX \
! 18646: lt_prog_compiler_wl_CXX \
! 18647: lt_prog_compiler_static_CXX \
! 18648: lt_cv_prog_compiler_c_o_CXX \
! 18649: export_dynamic_flag_spec_CXX \
! 18650: whole_archive_flag_spec_CXX \
! 18651: compiler_needs_object_CXX \
! 18652: with_gnu_ld_CXX \
! 18653: allow_undefined_flag_CXX \
! 18654: no_undefined_flag_CXX \
! 18655: hardcode_libdir_flag_spec_CXX \
! 18656: hardcode_libdir_separator_CXX \
! 18657: exclude_expsyms_CXX \
! 18658: include_expsyms_CXX \
! 18659: file_list_spec_CXX \
! 18660: compiler_lib_search_dirs_CXX \
! 18661: predep_objects_CXX \
! 18662: postdep_objects_CXX \
! 18663: predeps_CXX \
! 18664: postdeps_CXX \
! 18665: compiler_lib_search_path_CXX; do
! 18666: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 18667: *[\\\\\\\`\\"\\\$]*)
! 18668: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 18669: ;;
! 18670: *)
! 18671: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 18672: ;;
! 18673: esac
! 18674: done
! 18675:
! 18676: # Double-quote double-evaled strings.
! 18677: for var in reload_cmds \
! 18678: old_postinstall_cmds \
! 18679: old_postuninstall_cmds \
! 18680: old_archive_cmds \
! 18681: extract_expsyms_cmds \
! 18682: old_archive_from_new_cmds \
! 18683: old_archive_from_expsyms_cmds \
! 18684: archive_cmds \
! 18685: archive_expsym_cmds \
! 18686: module_cmds \
! 18687: module_expsym_cmds \
! 18688: export_symbols_cmds \
! 18689: prelink_cmds \
! 18690: postlink_cmds \
! 18691: postinstall_cmds \
! 18692: postuninstall_cmds \
! 18693: finish_cmds \
! 18694: sys_lib_search_path_spec \
! 18695: sys_lib_dlsearch_path_spec \
! 18696: reload_cmds_CXX \
! 18697: old_archive_cmds_CXX \
! 18698: old_archive_from_new_cmds_CXX \
! 18699: old_archive_from_expsyms_cmds_CXX \
! 18700: archive_cmds_CXX \
! 18701: archive_expsym_cmds_CXX \
! 18702: module_cmds_CXX \
! 18703: module_expsym_cmds_CXX \
! 18704: export_symbols_cmds_CXX \
! 18705: prelink_cmds_CXX \
! 18706: postlink_cmds_CXX; do
! 18707: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 18708: *[\\\\\\\`\\"\\\$]*)
! 18709: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 18710: ;;
! 18711: *)
! 18712: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 18713: ;;
! 18714: esac
! 18715: done
! 18716:
! 18717: ac_aux_dir='$ac_aux_dir'
! 18718: xsi_shell='$xsi_shell'
! 18719: lt_shell_append='$lt_shell_append'
! 18720:
! 18721: # See if we are running on zsh, and set the options which allow our
! 18722: # commands through without removal of \ escapes INIT.
! 18723: if test -n "\${ZSH_VERSION+set}" ; then
! 18724: setopt NO_GLOB_SUBST
! 18725: fi
! 18726:
! 18727:
! 18728: PACKAGE='$PACKAGE'
! 18729: VERSION='$VERSION'
! 18730: TIMESTAMP='$TIMESTAMP'
! 18731: RM='$RM'
! 18732: ofile='$ofile'
! 18733:
! 18734:
! 18735:
! 18736:
! 18737:
! 18738:
! 18739: _ACEOF
! 18740:
! 18741:
! 18742:
! 18743: cat >>$CONFIG_STATUS <<\_ACEOF
! 18744: for ac_config_target in $ac_config_targets
! 18745: do
! 18746: case "$ac_config_target" in
! 18747: # Handling of arguments.
! 18748: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 18749: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 18750: "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 18751: "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
! 18752: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 18753: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 18754: { (exit 1); exit 1; }; };;
! 18755: esac
! 18756: done
! 18757:
! 18758: # If the user did not use the arguments to specify the items to instantiate,
! 18759: # then the envvar interface is used. Set only those that are not.
! 18760: # We use the long form for the default assignment because of an extremely
! 18761: # bizarre bug on SunOS 4.1.3.
! 18762: if $ac_need_defaults; then
! 18763: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 18764: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 18765: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 18766: fi
! 18767:
! 18768: # Have a temporary directory for convenience. Make it in the build tree
! 18769: # simply because there is no reason to put it here, and in addition,
! 18770: # creating and moving files from /tmp can sometimes cause problems.
! 18771: # Create a temporary directory, and hook for its removal unless debugging.
! 18772: $debug ||
! 18773: {
! 18774: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 18775: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 18776: }
! 18777:
! 18778: # Create a (secure) tmp directory for tmp files.
! 18779:
! 18780: {
! 18781: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 18782: test -n "$tmp" && test -d "$tmp"
! 18783: } ||
! 18784: {
! 18785: tmp=./confstat$$-$RANDOM
! 18786: (umask 077 && mkdir $tmp)
! 18787: } ||
! 18788: {
! 18789: echo "$me: cannot create a temporary directory in ." >&2
! 18790: { (exit 1); exit 1; }
! 18791: }
! 18792:
! 18793: _ACEOF
! 18794:
! 18795: cat >>$CONFIG_STATUS <<_ACEOF
! 18796:
! 18797: #
! 18798: # CONFIG_FILES section.
! 18799: #
! 18800:
! 18801: # No need to generate the scripts if there are no CONFIG_FILES.
! 18802: # This happens for instance when ./config.status config.h
! 18803: if test -n "\$CONFIG_FILES"; then
! 18804: # Protect against being on the right side of a sed subst in config.status.
! 18805: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 18806: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 18807: s,@SHELL@,$SHELL,;t t
! 18808: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 18809: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 18810: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 18811: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 18812: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 18813: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 18814: s,@exec_prefix@,$exec_prefix,;t t
! 18815: s,@prefix@,$prefix,;t t
! 18816: s,@program_transform_name@,$program_transform_name,;t t
! 18817: s,@bindir@,$bindir,;t t
! 18818: s,@sbindir@,$sbindir,;t t
! 18819: s,@libexecdir@,$libexecdir,;t t
! 18820: s,@datadir@,$datadir,;t t
! 18821: s,@sysconfdir@,$sysconfdir,;t t
! 18822: s,@sharedstatedir@,$sharedstatedir,;t t
! 18823: s,@localstatedir@,$localstatedir,;t t
! 18824: s,@libdir@,$libdir,;t t
! 18825: s,@includedir@,$includedir,;t t
! 18826: s,@oldincludedir@,$oldincludedir,;t t
! 18827: s,@infodir@,$infodir,;t t
! 18828: s,@mandir@,$mandir,;t t
! 18829: s,@build_alias@,$build_alias,;t t
! 18830: s,@host_alias@,$host_alias,;t t
! 18831: s,@target_alias@,$target_alias,;t t
! 18832: s,@DEFS@,$DEFS,;t t
! 18833: s,@ECHO_C@,$ECHO_C,;t t
! 18834: s,@ECHO_N@,$ECHO_N,;t t
! 18835: s,@ECHO_T@,$ECHO_T,;t t
! 18836: s,@LIBS@,$LIBS,;t t
! 18837: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 18838: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 18839: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 18840: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 18841: s,@PACKAGE@,$PACKAGE,;t t
! 18842: s,@VERSION@,$VERSION,;t t
! 18843: s,@ACLOCAL@,$ACLOCAL,;t t
! 18844: s,@AUTOCONF@,$AUTOCONF,;t t
! 18845: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 18846: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 18847: s,@MAKEINFO@,$MAKEINFO,;t t
! 18848: s,@install_sh@,$install_sh,;t t
! 18849: s,@STRIP@,$STRIP,;t t
! 18850: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 18851: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 18852: s,@mkdir_p@,$mkdir_p,;t t
! 18853: s,@AWK@,$AWK,;t t
! 18854: s,@SET_MAKE@,$SET_MAKE,;t t
! 18855: s,@am__leading_dot@,$am__leading_dot,;t t
! 18856: s,@AMTAR@,$AMTAR,;t t
! 18857: s,@am__tar@,$am__tar,;t t
! 18858: s,@am__untar@,$am__untar,;t t
! 18859: s,@ORACLE_OCI_INC@,$ORACLE_OCI_INC,;t t
! 18860: s,@ORACLE_PUBLIC_INC@,$ORACLE_PUBLIC_INC,;t t
! 18861: s,@LDFLAGS@,$LDFLAGS,;t t
! 18862: s,@CXX@,$CXX,;t t
! 18863: s,@CXXFLAGS@,$CXXFLAGS,;t t
! 18864: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 18865: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
! 18866: s,@EXEEXT@,$EXEEXT,;t t
! 18867: s,@OBJEXT@,$OBJEXT,;t t
! 18868: s,@DEPDIR@,$DEPDIR,;t t
! 18869: s,@am__include@,$am__include,;t t
! 18870: s,@am__quote@,$am__quote,;t t
! 18871: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 18872: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 18873: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 18874: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
! 18875: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
! 18876: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
! 18877: s,@CC@,$CC,;t t
! 18878: s,@CFLAGS@,$CFLAGS,;t t
! 18879: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 18880: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 18881: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 18882: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 18883: s,@AS@,$AS,;t t
! 18884: s,@ac_ct_AS@,$ac_ct_AS,;t t
! 18885: s,@DLLTOOL@,$DLLTOOL,;t t
! 18886: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
! 18887: s,@OBJDUMP@,$OBJDUMP,;t t
! 18888: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
! 18889: s,@LIBTOOL@,$LIBTOOL,;t t
! 18890: s,@build@,$build,;t t
! 18891: s,@build_cpu@,$build_cpu,;t t
! 18892: s,@build_vendor@,$build_vendor,;t t
! 18893: s,@build_os@,$build_os,;t t
! 18894: s,@host@,$host,;t t
! 18895: s,@host_cpu@,$host_cpu,;t t
! 18896: s,@host_vendor@,$host_vendor,;t t
! 18897: s,@host_os@,$host_os,;t t
! 18898: s,@SED@,$SED,;t t
! 18899: s,@EGREP@,$EGREP,;t t
! 18900: s,@FGREP@,$FGREP,;t t
! 18901: s,@GREP@,$GREP,;t t
! 18902: s,@LD@,$LD,;t t
! 18903: s,@DUMPBIN@,$DUMPBIN,;t t
! 18904: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
! 18905: s,@NM@,$NM,;t t
! 18906: s,@LN_S@,$LN_S,;t t
! 18907: s,@AR@,$AR,;t t
! 18908: s,@ac_ct_AR@,$ac_ct_AR,;t t
! 18909: s,@RANLIB@,$RANLIB,;t t
! 18910: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 18911: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
! 18912: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
! 18913: s,@DSYMUTIL@,$DSYMUTIL,;t t
! 18914: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
! 18915: s,@NMEDIT@,$NMEDIT,;t t
! 18916: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
! 18917: s,@LIPO@,$LIPO,;t t
! 18918: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
! 18919: s,@OTOOL@,$OTOOL,;t t
! 18920: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
! 18921: s,@OTOOL64@,$OTOOL64,;t t
! 18922: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
! 18923: s,@CPP@,$CPP,;t t
! 18924: s,@CXXCPP@,$CXXCPP,;t t
! 18925: s,@LIBLTDL@,$LIBLTDL,;t t
! 18926: s,@LTDLDEPS@,$LTDLDEPS,;t t
! 18927: s,@LTDLINCL@,$LTDLINCL,;t t
! 18928: s,@INCLTDL@,$INCLTDL,;t t
! 18929: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
! 18930: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
! 18931: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
! 18932: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
! 18933: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
! 18934: s,@LIBADD_DL@,$LIBADD_DL,;t t
! 18935: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
! 18936: s,@ARGZ_H@,$ARGZ_H,;t t
! 18937: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
! 18938: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
! 18939: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
! 18940: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
! 18941: s,@subdirs@,$subdirs,;t t
! 18942: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
! 18943: s,@LTDLOPEN@,$LTDLOPEN,;t t
! 18944: s,@LIBOBJS@,$LIBOBJS,;t t
! 18945: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 18946: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
! 18947: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
! 18948: CEOF
! 18949:
! 18950: _ACEOF
! 18951:
! 18952: cat >>$CONFIG_STATUS <<\_ACEOF
! 18953: # Split the substitutions into bite-sized pieces for seds with
! 18954: # small command number limits, like on Digital OSF/1 and HP-UX.
! 18955: ac_max_sed_lines=48
! 18956: ac_sed_frag=1 # Number of current file.
! 18957: ac_beg=1 # First line for current file.
! 18958: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 18959: ac_more_lines=:
! 18960: ac_sed_cmds=
! 18961: while $ac_more_lines; do
! 18962: if test $ac_beg -gt 1; then
! 18963: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 18964: else
! 18965: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 18966: fi
! 18967: if test ! -s $tmp/subs.frag; then
! 18968: ac_more_lines=false
! 18969: else
! 18970: # The purpose of the label and of the branching condition is to
! 18971: # speed up the sed processing (if there are no `@' at all, there
! 18972: # is no need to browse any of the substitutions).
! 18973: # These are the two extra sed commands mentioned above.
! 18974: (echo ':t
! 18975: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 18976: if test -z "$ac_sed_cmds"; then
! 18977: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 18978: else
! 18979: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 18980: fi
! 18981: ac_sed_frag=`expr $ac_sed_frag + 1`
! 18982: ac_beg=$ac_end
! 18983: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 18984: fi
! 18985: done
! 18986: if test -z "$ac_sed_cmds"; then
! 18987: ac_sed_cmds=cat
! 18988: fi
! 18989: fi # test -n "$CONFIG_FILES"
! 18990:
! 18991: _ACEOF
! 18992: cat >>$CONFIG_STATUS <<\_ACEOF
! 18993: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 18994: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 18995: case $ac_file in
! 18996: - | *:- | *:-:* ) # input from stdin
! 18997: cat >$tmp/stdin
! 18998: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 18999: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19000: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19001: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19002: * ) ac_file_in=$ac_file.in ;;
! 19003: esac
! 19004:
! 19005: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 19006: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 19007: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19008: X"$ac_file" : 'X\(//\)[^/]' \| \
! 19009: X"$ac_file" : 'X\(//\)$' \| \
! 19010: X"$ac_file" : 'X\(/\)' \| \
! 19011: . : '\(.\)' 2>/dev/null ||
! 19012: echo X"$ac_file" |
! 19013: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19014: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19015: /^X\(\/\/\)$/{ s//\1/; q; }
! 19016: /^X\(\/\).*/{ s//\1/; q; }
! 19017: s/.*/./; q'`
! 19018: { if $as_mkdir_p; then
! 19019: mkdir -p "$ac_dir"
! 19020: else
! 19021: as_dir="$ac_dir"
! 19022: as_dirs=
! 19023: while test ! -d "$as_dir"; do
! 19024: as_dirs="$as_dir $as_dirs"
! 19025: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19026: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19027: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19028: X"$as_dir" : 'X\(//\)$' \| \
! 19029: X"$as_dir" : 'X\(/\)' \| \
! 19030: . : '\(.\)' 2>/dev/null ||
! 19031: echo X"$as_dir" |
! 19032: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19033: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19034: /^X\(\/\/\)$/{ s//\1/; q; }
! 19035: /^X\(\/\).*/{ s//\1/; q; }
! 19036: s/.*/./; q'`
! 19037: done
! 19038: test ! -n "$as_dirs" || mkdir $as_dirs
! 19039: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19040: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19041: { (exit 1); exit 1; }; }; }
! 19042:
! 19043: ac_builddir=.
! 19044:
! 19045: if test "$ac_dir" != .; then
! 19046: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 19047: # A "../" for each directory in $ac_dir_suffix.
! 19048: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 19049: else
! 19050: ac_dir_suffix= ac_top_builddir=
! 19051: fi
! 19052:
! 19053: case $srcdir in
! 19054: .) # No --srcdir option. We are building in place.
! 19055: ac_srcdir=.
! 19056: if test -z "$ac_top_builddir"; then
! 19057: ac_top_srcdir=.
! 19058: else
! 19059: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 19060: fi ;;
! 19061: [\\/]* | ?:[\\/]* ) # Absolute path.
! 19062: ac_srcdir=$srcdir$ac_dir_suffix;
! 19063: ac_top_srcdir=$srcdir ;;
! 19064: *) # Relative path.
! 19065: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 19066: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 19067: esac
! 19068:
! 19069: # Do not use `cd foo && pwd` to compute absolute paths, because
! 19070: # the directories may not exist.
! 19071: case `pwd` in
! 19072: .) ac_abs_builddir="$ac_dir";;
! 19073: *)
! 19074: case "$ac_dir" in
! 19075: .) ac_abs_builddir=`pwd`;;
! 19076: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 19077: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 19078: esac;;
! 19079: esac
! 19080: case $ac_abs_builddir in
! 19081: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19082: *)
! 19083: case ${ac_top_builddir}. in
! 19084: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 19085: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19086: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 19087: esac;;
! 19088: esac
! 19089: case $ac_abs_builddir in
! 19090: .) ac_abs_srcdir=$ac_srcdir;;
! 19091: *)
! 19092: case $ac_srcdir in
! 19093: .) ac_abs_srcdir=$ac_abs_builddir;;
! 19094: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 19095: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 19096: esac;;
! 19097: esac
! 19098: case $ac_abs_builddir in
! 19099: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19100: *)
! 19101: case $ac_top_srcdir in
! 19102: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 19103: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19104: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 19105: esac;;
! 19106: esac
! 19107:
! 19108:
! 19109: case $INSTALL in
! 19110: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 19111: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
! 19112: esac
! 19113:
! 19114: if test x"$ac_file" != x-; then
! 19115: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 19116: echo "$as_me: creating $ac_file" >&6;}
! 19117: rm -f "$ac_file"
! 19118: fi
! 19119: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 19120: # use $as_me), people would be surprised to read:
! 19121: # /* config.h. Generated by config.status. */
! 19122: if test x"$ac_file" = x-; then
! 19123: configure_input=
! 19124: else
! 19125: configure_input="$ac_file. "
! 19126: fi
! 19127: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 19128: sed 's,.*/,,'` by configure."
! 19129:
! 19130: # First look for the input files in the build tree, otherwise in the
! 19131: # src tree.
! 19132: ac_file_inputs=`IFS=:
! 19133: for f in $ac_file_in; do
! 19134: case $f in
! 19135: -) echo $tmp/stdin ;;
! 19136: [\\/$]*)
! 19137: # Absolute (can't be DOS-style, as IFS=:)
! 19138: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19139: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19140: { (exit 1); exit 1; }; }
! 19141: echo "$f";;
! 19142: *) # Relative
! 19143: if test -f "$f"; then
! 19144: # Build tree
! 19145: echo "$f"
! 19146: elif test -f "$srcdir/$f"; then
! 19147: # Source tree
! 19148: echo "$srcdir/$f"
! 19149: else
! 19150: # /dev/null tree
! 19151: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19152: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19153: { (exit 1); exit 1; }; }
! 19154: fi;;
! 19155: esac
! 19156: done` || { (exit 1); exit 1; }
! 19157: _ACEOF
! 19158: cat >>$CONFIG_STATUS <<_ACEOF
! 19159: sed "$ac_vpsub
! 19160: $extrasub
! 19161: _ACEOF
! 19162: cat >>$CONFIG_STATUS <<\_ACEOF
! 19163: :t
! 19164: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 19165: s,@configure_input@,$configure_input,;t t
! 19166: s,@srcdir@,$ac_srcdir,;t t
! 19167: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 19168: s,@top_srcdir@,$ac_top_srcdir,;t t
! 19169: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 19170: s,@builddir@,$ac_builddir,;t t
! 19171: s,@abs_builddir@,$ac_abs_builddir,;t t
! 19172: s,@top_builddir@,$ac_top_builddir,;t t
! 19173: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 19174: s,@INSTALL@,$ac_INSTALL,;t t
! 19175: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 19176: rm -f $tmp/stdin
! 19177: if test x"$ac_file" != x-; then
! 19178: mv $tmp/out $ac_file
! 19179: else
! 19180: cat $tmp/out
! 19181: rm -f $tmp/out
! 19182: fi
! 19183:
! 19184: done
! 19185: _ACEOF
! 19186: cat >>$CONFIG_STATUS <<\_ACEOF
! 19187:
! 19188: #
! 19189: # CONFIG_HEADER section.
! 19190: #
! 19191:
! 19192: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 19193: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 19194: #
! 19195: # ac_d sets the value in "#define NAME VALUE" lines.
! 19196: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 19197: ac_dB='[ ].*$,\1#\2'
! 19198: ac_dC=' '
! 19199: ac_dD=',;t'
! 19200: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 19201: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 19202: ac_uB='$,\1#\2define\3'
! 19203: ac_uC=' '
! 19204: ac_uD=',;t'
! 19205:
! 19206: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 19207: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 19208: case $ac_file in
! 19209: - | *:- | *:-:* ) # input from stdin
! 19210: cat >$tmp/stdin
! 19211: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19212: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19213: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19214: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19215: * ) ac_file_in=$ac_file.in ;;
! 19216: esac
! 19217:
! 19218: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 19219: echo "$as_me: creating $ac_file" >&6;}
! 19220:
! 19221: # First look for the input files in the build tree, otherwise in the
! 19222: # src tree.
! 19223: ac_file_inputs=`IFS=:
! 19224: for f in $ac_file_in; do
! 19225: case $f in
! 19226: -) echo $tmp/stdin ;;
! 19227: [\\/$]*)
! 19228: # Absolute (can't be DOS-style, as IFS=:)
! 19229: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19230: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19231: { (exit 1); exit 1; }; }
! 19232: # Do quote $f, to prevent DOS paths from being IFS'd.
! 19233: echo "$f";;
! 19234: *) # Relative
! 19235: if test -f "$f"; then
! 19236: # Build tree
! 19237: echo "$f"
! 19238: elif test -f "$srcdir/$f"; then
! 19239: # Source tree
! 19240: echo "$srcdir/$f"
! 19241: else
! 19242: # /dev/null tree
! 19243: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19244: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19245: { (exit 1); exit 1; }; }
! 19246: fi;;
! 19247: esac
! 19248: done` || { (exit 1); exit 1; }
! 19249: # Remove the trailing spaces.
! 19250: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 19251:
! 19252: _ACEOF
! 19253:
! 19254: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 19255: # `conftest.undefs', that substitutes the proper values into
! 19256: # config.h.in to produce config.h. The first handles `#define'
! 19257: # templates, and the second `#undef' templates.
! 19258: # And first: Protect against being on the right side of a sed subst in
! 19259: # config.status. Protect against being in an unquoted here document
! 19260: # in config.status.
! 19261: rm -f conftest.defines conftest.undefs
! 19262: # Using a here document instead of a string reduces the quoting nightmare.
! 19263: # Putting comments in sed scripts is not portable.
! 19264: #
! 19265: # `end' is used to avoid that the second main sed command (meant for
! 19266: # 0-ary CPP macros) applies to n-ary macro definitions.
! 19267: # See the Autoconf documentation for `clear'.
! 19268: cat >confdef2sed.sed <<\_ACEOF
! 19269: s/[\\&,]/\\&/g
! 19270: s,[\\$`],\\&,g
! 19271: t clear
! 19272: : clear
! 19273: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 19274: t end
! 19275: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 19276: : end
! 19277: _ACEOF
! 19278: # If some macros were called several times there might be several times
! 19279: # the same #defines, which is useless. Nevertheless, we may not want to
! 19280: # sort them, since we want the *last* AC-DEFINE to be honored.
! 19281: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 19282: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 19283: rm -f confdef2sed.sed
! 19284:
! 19285: # This sed command replaces #undef with comments. This is necessary, for
! 19286: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 19287: # on some systems where configure will not decide to define it.
! 19288: cat >>conftest.undefs <<\_ACEOF
! 19289: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 19290: _ACEOF
! 19291:
! 19292: # Break up conftest.defines because some shells have a limit on the size
! 19293: # of here documents, and old seds have small limits too (100 cmds).
! 19294: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 19295: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 19296: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 19297: echo ' :' >>$CONFIG_STATUS
! 19298: rm -f conftest.tail
! 19299: while grep . conftest.defines >/dev/null
! 19300: do
! 19301: # Write a limited-size here document to $tmp/defines.sed.
! 19302: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 19303: # Speed up: don't consider the non `#define' lines.
! 19304: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 19305: # Work around the forget-to-reset-the-flag bug.
! 19306: echo 't clr' >>$CONFIG_STATUS
! 19307: echo ': clr' >>$CONFIG_STATUS
! 19308: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 19309: echo 'CEOF
! 19310: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 19311: rm -f $tmp/in
! 19312: mv $tmp/out $tmp/in
! 19313: ' >>$CONFIG_STATUS
! 19314: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 19315: rm -f conftest.defines
! 19316: mv conftest.tail conftest.defines
! 19317: done
! 19318: rm -f conftest.defines
! 19319: echo ' fi # grep' >>$CONFIG_STATUS
! 19320: echo >>$CONFIG_STATUS
! 19321:
! 19322: # Break up conftest.undefs because some shells have a limit on the size
! 19323: # of here documents, and old seds have small limits too (100 cmds).
! 19324: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 19325: rm -f conftest.tail
! 19326: while grep . conftest.undefs >/dev/null
! 19327: do
! 19328: # Write a limited-size here document to $tmp/undefs.sed.
! 19329: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 19330: # Speed up: don't consider the non `#undef'
! 19331: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 19332: # Work around the forget-to-reset-the-flag bug.
! 19333: echo 't clr' >>$CONFIG_STATUS
! 19334: echo ': clr' >>$CONFIG_STATUS
! 19335: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 19336: echo 'CEOF
! 19337: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 19338: rm -f $tmp/in
! 19339: mv $tmp/out $tmp/in
! 19340: ' >>$CONFIG_STATUS
! 19341: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 19342: rm -f conftest.undefs
! 19343: mv conftest.tail conftest.undefs
! 19344: done
! 19345: rm -f conftest.undefs
! 19346:
! 19347: cat >>$CONFIG_STATUS <<\_ACEOF
! 19348: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 19349: # use $as_me), people would be surprised to read:
! 19350: # /* config.h. Generated by config.status. */
! 19351: if test x"$ac_file" = x-; then
! 19352: echo "/* Generated by configure. */" >$tmp/config.h
! 19353: else
! 19354: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 19355: fi
! 19356: cat $tmp/in >>$tmp/config.h
! 19357: rm -f $tmp/in
! 19358: if test x"$ac_file" != x-; then
! 19359: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 19360: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 19361: echo "$as_me: $ac_file is unchanged" >&6;}
! 19362: else
! 19363: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 19364: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19365: X"$ac_file" : 'X\(//\)[^/]' \| \
! 19366: X"$ac_file" : 'X\(//\)$' \| \
! 19367: X"$ac_file" : 'X\(/\)' \| \
! 19368: . : '\(.\)' 2>/dev/null ||
! 19369: echo X"$ac_file" |
! 19370: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19371: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19372: /^X\(\/\/\)$/{ s//\1/; q; }
! 19373: /^X\(\/\).*/{ s//\1/; q; }
! 19374: s/.*/./; q'`
! 19375: { if $as_mkdir_p; then
! 19376: mkdir -p "$ac_dir"
! 19377: else
! 19378: as_dir="$ac_dir"
! 19379: as_dirs=
! 19380: while test ! -d "$as_dir"; do
! 19381: as_dirs="$as_dir $as_dirs"
! 19382: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19383: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19384: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19385: X"$as_dir" : 'X\(//\)$' \| \
! 19386: X"$as_dir" : 'X\(/\)' \| \
! 19387: . : '\(.\)' 2>/dev/null ||
! 19388: echo X"$as_dir" |
! 19389: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19390: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19391: /^X\(\/\/\)$/{ s//\1/; q; }
! 19392: /^X\(\/\).*/{ s//\1/; q; }
! 19393: s/.*/./; q'`
! 19394: done
! 19395: test ! -n "$as_dirs" || mkdir $as_dirs
! 19396: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19397: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19398: { (exit 1); exit 1; }; }; }
! 19399:
! 19400: rm -f $ac_file
! 19401: mv $tmp/config.h $ac_file
! 19402: fi
! 19403: else
! 19404: cat $tmp/config.h
! 19405: rm -f $tmp/config.h
! 19406: fi
! 19407: # Compute $ac_file's index in $config_headers.
! 19408: _am_stamp_count=1
! 19409: for _am_header in $config_headers :; do
! 19410: case $_am_header in
! 19411: $ac_file | $ac_file:* )
! 19412: break ;;
! 19413: * )
! 19414: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 19415: esac
! 19416: done
! 19417: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 19418: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19419: X$ac_file : 'X\(//\)[^/]' \| \
! 19420: X$ac_file : 'X\(//\)$' \| \
! 19421: X$ac_file : 'X\(/\)' \| \
! 19422: . : '\(.\)' 2>/dev/null ||
! 19423: echo X$ac_file |
! 19424: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19425: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19426: /^X\(\/\/\)$/{ s//\1/; q; }
! 19427: /^X\(\/\).*/{ s//\1/; q; }
! 19428: s/.*/./; q'`/stamp-h$_am_stamp_count
! 19429: done
! 19430: _ACEOF
! 19431: cat >>$CONFIG_STATUS <<\_ACEOF
! 19432:
! 19433: #
! 19434: # CONFIG_COMMANDS section.
! 19435: #
! 19436: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 19437: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 19438: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19439: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 19440: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19441: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 19442: X"$ac_dest" : 'X\(//\)$' \| \
! 19443: X"$ac_dest" : 'X\(/\)' \| \
! 19444: . : '\(.\)' 2>/dev/null ||
! 19445: echo X"$ac_dest" |
! 19446: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19447: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19448: /^X\(\/\/\)$/{ s//\1/; q; }
! 19449: /^X\(\/\).*/{ s//\1/; q; }
! 19450: s/.*/./; q'`
! 19451: { if $as_mkdir_p; then
! 19452: mkdir -p "$ac_dir"
! 19453: else
! 19454: as_dir="$ac_dir"
! 19455: as_dirs=
! 19456: while test ! -d "$as_dir"; do
! 19457: as_dirs="$as_dir $as_dirs"
! 19458: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19459: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19460: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19461: X"$as_dir" : 'X\(//\)$' \| \
! 19462: X"$as_dir" : 'X\(/\)' \| \
! 19463: . : '\(.\)' 2>/dev/null ||
! 19464: echo X"$as_dir" |
! 19465: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19466: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19467: /^X\(\/\/\)$/{ s//\1/; q; }
! 19468: /^X\(\/\).*/{ s//\1/; q; }
! 19469: s/.*/./; q'`
! 19470: done
! 19471: test ! -n "$as_dirs" || mkdir $as_dirs
! 19472: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19473: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19474: { (exit 1); exit 1; }; }; }
! 19475:
! 19476: ac_builddir=.
! 19477:
! 19478: if test "$ac_dir" != .; then
! 19479: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 19480: # A "../" for each directory in $ac_dir_suffix.
! 19481: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 19482: else
! 19483: ac_dir_suffix= ac_top_builddir=
! 19484: fi
! 19485:
! 19486: case $srcdir in
! 19487: .) # No --srcdir option. We are building in place.
! 19488: ac_srcdir=.
! 19489: if test -z "$ac_top_builddir"; then
! 19490: ac_top_srcdir=.
! 19491: else
! 19492: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 19493: fi ;;
! 19494: [\\/]* | ?:[\\/]* ) # Absolute path.
! 19495: ac_srcdir=$srcdir$ac_dir_suffix;
! 19496: ac_top_srcdir=$srcdir ;;
! 19497: *) # Relative path.
! 19498: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 19499: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 19500: esac
! 19501:
! 19502: # Do not use `cd foo && pwd` to compute absolute paths, because
! 19503: # the directories may not exist.
! 19504: case `pwd` in
! 19505: .) ac_abs_builddir="$ac_dir";;
! 19506: *)
! 19507: case "$ac_dir" in
! 19508: .) ac_abs_builddir=`pwd`;;
! 19509: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 19510: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 19511: esac;;
! 19512: esac
! 19513: case $ac_abs_builddir in
! 19514: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19515: *)
! 19516: case ${ac_top_builddir}. in
! 19517: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 19518: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19519: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 19520: esac;;
! 19521: esac
! 19522: case $ac_abs_builddir in
! 19523: .) ac_abs_srcdir=$ac_srcdir;;
! 19524: *)
! 19525: case $ac_srcdir in
! 19526: .) ac_abs_srcdir=$ac_abs_builddir;;
! 19527: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 19528: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 19529: esac;;
! 19530: esac
! 19531: case $ac_abs_builddir in
! 19532: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19533: *)
! 19534: case $ac_top_srcdir in
! 19535: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 19536: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19537: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 19538: esac;;
! 19539: esac
! 19540:
! 19541:
! 19542: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 19543: echo "$as_me: executing $ac_dest commands" >&6;}
! 19544: case $ac_dest in
! 19545: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 19546: # Strip MF so we end up with the name of the file.
! 19547: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 19548: # Check whether this is an Automake generated Makefile or not.
! 19549: # We used to match only the files named `Makefile.in', but
! 19550: # some people rename them; so instead we look at the file content.
! 19551: # Grep'ing the first line is not enough: some people post-process
! 19552: # each Makefile.in and add a new line on top of each file to say so.
! 19553: # So let's grep whole file.
! 19554: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 19555: dirpart=`(dirname "$mf") 2>/dev/null ||
! 19556: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19557: X"$mf" : 'X\(//\)[^/]' \| \
! 19558: X"$mf" : 'X\(//\)$' \| \
! 19559: X"$mf" : 'X\(/\)' \| \
! 19560: . : '\(.\)' 2>/dev/null ||
! 19561: echo X"$mf" |
! 19562: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19563: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19564: /^X\(\/\/\)$/{ s//\1/; q; }
! 19565: /^X\(\/\).*/{ s//\1/; q; }
! 19566: s/.*/./; q'`
! 19567: else
! 19568: continue
! 19569: fi
! 19570: # Extract the definition of DEPDIR, am__include, and am__quote
! 19571: # from the Makefile without running `make'.
! 19572: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 19573: test -z "$DEPDIR" && continue
! 19574: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 19575: test -z "am__include" && continue
! 19576: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 19577: # When using ansi2knr, U may be empty or an underscore; expand it
! 19578: U=`sed -n 's/^U = //p' < "$mf"`
! 19579: # Find all dependency output files, they are included files with
! 19580: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 19581: # simplest approach to changing $(DEPDIR) to its actual value in the
! 19582: # expansion.
! 19583: for file in `sed -n "
! 19584: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 19585: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 19586: # Make sure the directory exists.
! 19587: test -f "$dirpart/$file" && continue
! 19588: fdir=`(dirname "$file") 2>/dev/null ||
! 19589: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19590: X"$file" : 'X\(//\)[^/]' \| \
! 19591: X"$file" : 'X\(//\)$' \| \
! 19592: X"$file" : 'X\(/\)' \| \
! 19593: . : '\(.\)' 2>/dev/null ||
! 19594: echo X"$file" |
! 19595: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19596: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19597: /^X\(\/\/\)$/{ s//\1/; q; }
! 19598: /^X\(\/\).*/{ s//\1/; q; }
! 19599: s/.*/./; q'`
! 19600: { if $as_mkdir_p; then
! 19601: mkdir -p $dirpart/$fdir
! 19602: else
! 19603: as_dir=$dirpart/$fdir
! 19604: as_dirs=
! 19605: while test ! -d "$as_dir"; do
! 19606: as_dirs="$as_dir $as_dirs"
! 19607: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19608: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19609: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19610: X"$as_dir" : 'X\(//\)$' \| \
! 19611: X"$as_dir" : 'X\(/\)' \| \
! 19612: . : '\(.\)' 2>/dev/null ||
! 19613: echo X"$as_dir" |
! 19614: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19615: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19616: /^X\(\/\/\)$/{ s//\1/; q; }
! 19617: /^X\(\/\).*/{ s//\1/; q; }
! 19618: s/.*/./; q'`
! 19619: done
! 19620: test ! -n "$as_dirs" || mkdir $as_dirs
! 19621: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 19622: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 19623: { (exit 1); exit 1; }; }; }
! 19624:
! 19625: # echo "creating $dirpart/$file"
! 19626: echo '# dummy' > "$dirpart/$file"
! 19627: done
! 19628: done
! 19629: ;;
! 19630: libtool )
! 19631:
! 19632: # See if we are running on zsh, and set the options which allow our
! 19633: # commands through without removal of \ escapes.
! 19634: if test -n "${ZSH_VERSION+set}" ; then
! 19635: setopt NO_GLOB_SUBST
! 19636: fi
! 19637:
! 19638: cfgfile="${ofile}T"
! 19639: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 19640: $RM "$cfgfile"
! 19641:
! 19642: cat <<_LT_EOF >> "$cfgfile"
! 19643: #! $SHELL
! 19644:
! 19645: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 19646: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 19647: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19648: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 19649: #
! 19650: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 19651: # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
! 19652: # Foundation, Inc.
! 19653: # Written by Gordon Matzigkeit, 1996
! 19654: #
! 19655: # This file is part of GNU Libtool.
! 19656: #
! 19657: # GNU Libtool is free software; you can redistribute it and/or
! 19658: # modify it under the terms of the GNU General Public License as
! 19659: # published by the Free Software Foundation; either version 2 of
! 19660: # the License, or (at your option) any later version.
! 19661: #
! 19662: # As a special exception to the GNU General Public License,
! 19663: # if you distribute this file as part of a program or library that
! 19664: # is built using GNU Libtool, you may include this file under the
! 19665: # same distribution terms that you use for the rest of that program.
! 19666: #
! 19667: # GNU Libtool is distributed in the hope that it will be useful,
! 19668: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 19669: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 19670: # GNU General Public License for more details.
! 19671: #
! 19672: # You should have received a copy of the GNU General Public License
! 19673: # along with GNU Libtool; see the file COPYING. If not, a copy
! 19674: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 19675: # obtained by writing to the Free Software Foundation, Inc.,
! 19676: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 19677:
! 19678:
! 19679: # The names of the tagged configurations supported by this script.
! 19680: available_tags="CXX "
! 19681:
! 19682: # ### BEGIN LIBTOOL CONFIG
! 19683:
! 19684: # Which release of libtool.m4 was used?
! 19685: macro_version=$macro_version
! 19686: macro_revision=$macro_revision
! 19687:
! 19688: # Assembler program.
! 19689: AS=$lt_AS
! 19690:
! 19691: # DLL creation program.
! 19692: DLLTOOL=$lt_DLLTOOL
! 19693:
! 19694: # Object dumper program.
! 19695: OBJDUMP=$lt_OBJDUMP
! 19696:
! 19697: # Whether or not to build shared libraries.
! 19698: build_libtool_libs=$enable_shared
! 19699:
! 19700: # Whether or not to build static libraries.
! 19701: build_old_libs=$enable_static
! 19702:
! 19703: # What type of objects to build.
! 19704: pic_mode=$pic_mode
! 19705:
! 19706: # Whether or not to optimize for fast installation.
! 19707: fast_install=$enable_fast_install
! 19708:
! 19709: # Shell to use when invoking shell scripts.
! 19710: SHELL=$lt_SHELL
! 19711:
! 19712: # An echo program that protects backslashes.
! 19713: ECHO=$lt_ECHO
! 19714:
! 19715: # The PATH separator for the build system.
! 19716: PATH_SEPARATOR=$lt_PATH_SEPARATOR
! 19717:
! 19718: # The host system.
! 19719: host_alias=$host_alias
! 19720: host=$host
! 19721: host_os=$host_os
! 19722:
! 19723: # The build system.
! 19724: build_alias=$build_alias
! 19725: build=$build
! 19726: build_os=$build_os
! 19727:
! 19728: # A sed program that does not truncate output.
! 19729: SED=$lt_SED
! 19730:
! 19731: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 19732: Xsed="\$SED -e 1s/^X//"
! 19733:
! 19734: # A grep program that handles long lines.
! 19735: GREP=$lt_GREP
! 19736:
! 19737: # An ERE matcher.
! 19738: EGREP=$lt_EGREP
! 19739:
! 19740: # A literal string matcher.
! 19741: FGREP=$lt_FGREP
! 19742:
! 19743: # A BSD- or MS-compatible name lister.
! 19744: NM=$lt_NM
! 19745:
! 19746: # Whether we need soft or hard links.
! 19747: LN_S=$lt_LN_S
! 19748:
! 19749: # What is the maximum length of a command?
! 19750: max_cmd_len=$max_cmd_len
! 19751:
! 19752: # Object file suffix (normally "o").
! 19753: objext=$ac_objext
! 19754:
! 19755: # Executable file suffix (normally "").
! 19756: exeext=$exeext
! 19757:
! 19758: # whether the shell understands "unset".
! 19759: lt_unset=$lt_unset
! 19760:
! 19761: # turn spaces into newlines.
! 19762: SP2NL=$lt_lt_SP2NL
! 19763:
! 19764: # turn newlines into spaces.
! 19765: NL2SP=$lt_lt_NL2SP
! 19766:
! 19767: # convert \$build file names to \$host format.
! 19768: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 19769:
! 19770: # convert \$build files to toolchain format.
! 19771: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 19772:
! 19773: # Method to check whether dependent libraries are shared objects.
! 19774: deplibs_check_method=$lt_deplibs_check_method
! 19775:
! 19776: # Command to use when deplibs_check_method = "file_magic".
! 19777: file_magic_cmd=$lt_file_magic_cmd
! 19778:
! 19779: # How to find potential files when deplibs_check_method = "file_magic".
! 19780: file_magic_glob=$lt_file_magic_glob
! 19781:
! 19782: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
! 19783: want_nocaseglob=$lt_want_nocaseglob
! 19784:
! 19785: # Command to associate shared and link libraries.
! 19786: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
! 19787:
! 19788: # The archiver.
! 19789: AR=$lt_AR
! 19790:
! 19791: # Flags to create an archive.
! 19792: AR_FLAGS=$lt_AR_FLAGS
! 19793:
! 19794: # How to feed a file listing to the archiver.
! 19795: archiver_list_spec=$lt_archiver_list_spec
! 19796:
! 19797: # A symbol stripping program.
! 19798: STRIP=$lt_STRIP
! 19799:
! 19800: # Commands used to install an old-style archive.
! 19801: RANLIB=$lt_RANLIB
! 19802: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19803: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19804:
! 19805: # Whether to use a lock for old archive extraction.
! 19806: lock_old_archive_extraction=$lock_old_archive_extraction
! 19807:
! 19808: # A C compiler.
! 19809: LTCC=$lt_CC
! 19810:
! 19811: # LTCC compiler flags.
! 19812: LTCFLAGS=$lt_CFLAGS
! 19813:
! 19814: # Take the output of nm and produce a listing of raw symbols and C names.
! 19815: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19816:
! 19817: # Transform the output of nm in a proper C declaration.
! 19818: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19819:
! 19820: # Transform the output of nm in a C name address pair.
! 19821: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19822:
! 19823: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 19824: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 19825:
! 19826: # Specify filename containing input files for \$NM.
! 19827: nm_file_list_spec=$lt_nm_file_list_spec
! 19828:
! 19829: # The root where to search for dependent libraries,and in which our libraries should be installed.
! 19830: lt_sysroot=$lt_sysroot
! 19831:
! 19832: # The name of the directory that contains temporary libtool files.
! 19833: objdir=$objdir
! 19834:
! 19835: # Used to examine libraries when file_magic_cmd begins with "file".
! 19836: MAGIC_CMD=$MAGIC_CMD
! 19837:
! 19838: # Must we lock files when doing compilation?
! 19839: need_locks=$lt_need_locks
! 19840:
! 19841: # Manifest tool.
! 19842: MANIFEST_TOOL=$lt_MANIFEST_TOOL
! 19843:
! 19844: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 19845: DSYMUTIL=$lt_DSYMUTIL
! 19846:
! 19847: # Tool to change global to local symbols on Mac OS X.
! 19848: NMEDIT=$lt_NMEDIT
! 19849:
! 19850: # Tool to manipulate fat objects and archives on Mac OS X.
! 19851: LIPO=$lt_LIPO
! 19852:
! 19853: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 19854: OTOOL=$lt_OTOOL
! 19855:
! 19856: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 19857: OTOOL64=$lt_OTOOL64
! 19858:
! 19859: # Old archive suffix (normally "a").
! 19860: libext=$libext
! 19861:
! 19862: # Shared library suffix (normally ".so").
! 19863: shrext_cmds=$lt_shrext_cmds
! 19864:
! 19865: # The commands to extract the exported symbol list from a shared archive.
! 19866: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19867:
! 19868: # Variables whose values should be saved in libtool wrapper scripts and
! 19869: # restored at link time.
! 19870: variables_saved_for_relink=$lt_variables_saved_for_relink
! 19871:
! 19872: # Do we need the "lib" prefix for modules?
! 19873: need_lib_prefix=$need_lib_prefix
! 19874:
! 19875: # Do we need a version for libraries?
! 19876: need_version=$need_version
! 19877:
! 19878: # Library versioning type.
! 19879: version_type=$version_type
! 19880:
! 19881: # Shared library runtime path variable.
! 19882: runpath_var=$runpath_var
! 19883:
! 19884: # Shared library path variable.
! 19885: shlibpath_var=$shlibpath_var
! 19886:
! 19887: # Is shlibpath searched before the hard-coded library search path?
! 19888: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19889:
! 19890: # Format of library name prefix.
! 19891: libname_spec=$lt_libname_spec
! 19892:
! 19893: # List of archive names. First name is the real one, the rest are links.
! 19894: # The last name is the one that the linker finds with -lNAME
! 19895: library_names_spec=$lt_library_names_spec
! 19896:
! 19897: # The coded name of the library, if different from the real name.
! 19898: soname_spec=$lt_soname_spec
! 19899:
! 19900: # Permission mode override for installation of shared libraries.
! 19901: install_override_mode=$lt_install_override_mode
! 19902:
! 19903: # Command to use after installation of a shared archive.
! 19904: postinstall_cmds=$lt_postinstall_cmds
! 19905:
! 19906: # Command to use after uninstallation of a shared archive.
! 19907: postuninstall_cmds=$lt_postuninstall_cmds
! 19908:
! 19909: # Commands used to finish a libtool library installation in a directory.
! 19910: finish_cmds=$lt_finish_cmds
! 19911:
! 19912: # As "finish_cmds", except a single script fragment to be evaled but
! 19913: # not shown.
! 19914: finish_eval=$lt_finish_eval
! 19915:
! 19916: # Whether we should hardcode library paths into libraries.
! 19917: hardcode_into_libs=$hardcode_into_libs
! 19918:
! 19919: # Compile-time system search path for libraries.
! 19920: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19921:
! 19922: # Run-time system search path for libraries.
! 19923: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19924:
! 19925: # Whether dlopen is supported.
! 19926: dlopen_support=$enable_dlopen
! 19927:
! 19928: # Whether dlopen of programs is supported.
! 19929: dlopen_self=$enable_dlopen_self
! 19930:
! 19931: # Whether dlopen of statically linked programs is supported.
! 19932: dlopen_self_static=$enable_dlopen_self_static
! 19933:
! 19934: # Commands to strip libraries.
! 19935: old_striplib=$lt_old_striplib
! 19936: striplib=$lt_striplib
! 19937:
! 19938:
! 19939: # The linker used to build libraries.
! 19940: LD=$lt_LD
! 19941:
! 19942: # How to create reloadable object files.
! 19943: reload_flag=$lt_reload_flag
! 19944: reload_cmds=$lt_reload_cmds
! 19945:
! 19946: # Commands used to build an old-style archive.
! 19947: old_archive_cmds=$lt_old_archive_cmds
! 19948:
! 19949: # A language specific compiler.
! 19950: CC=$lt_compiler
! 19951:
! 19952: # Is the compiler the GNU compiler?
! 19953: with_gcc=$GCC
! 19954:
! 19955: # Compiler flag to turn off builtin functions.
! 19956: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 19957:
! 19958: # Additional compiler flags for building library objects.
! 19959: pic_flag=$lt_lt_prog_compiler_pic
! 19960:
! 19961: # How to pass a linker flag through the compiler.
! 19962: wl=$lt_lt_prog_compiler_wl
! 19963:
! 19964: # Compiler flag to prevent dynamic linking.
! 19965: link_static_flag=$lt_lt_prog_compiler_static
! 19966:
! 19967: # Does compiler simultaneously support -c and -o options?
! 19968: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 19969:
! 19970: # Whether or not to add -lc for building shared libraries.
! 19971: build_libtool_need_lc=$archive_cmds_need_lc
! 19972:
! 19973: # Whether or not to disallow shared libs when runtime libs are static.
! 19974: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 19975:
! 19976: # Compiler flag to allow reflexive dlopens.
! 19977: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 19978:
! 19979: # Compiler flag to generate shared objects directly from archives.
! 19980: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 19981:
! 19982: # Whether the compiler copes with passing no objects directly.
! 19983: compiler_needs_object=$lt_compiler_needs_object
! 19984:
! 19985: # Create an old-style archive from a shared archive.
! 19986: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 19987:
! 19988: # Create a temporary old-style archive to link instead of a shared archive.
! 19989: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 19990:
! 19991: # Commands used to build a shared archive.
! 19992: archive_cmds=$lt_archive_cmds
! 19993: archive_expsym_cmds=$lt_archive_expsym_cmds
! 19994:
! 19995: # Commands used to build a loadable module if different from building
! 19996: # a shared archive.
! 19997: module_cmds=$lt_module_cmds
! 19998: module_expsym_cmds=$lt_module_expsym_cmds
! 19999:
! 20000: # Whether we are building with GNU ld or not.
! 20001: with_gnu_ld=$lt_with_gnu_ld
! 20002:
! 20003: # Flag that allows shared libraries with undefined symbols to be built.
! 20004: allow_undefined_flag=$lt_allow_undefined_flag
! 20005:
! 20006: # Flag that enforces no undefined symbols.
! 20007: no_undefined_flag=$lt_no_undefined_flag
! 20008:
! 20009: # Flag to hardcode \$libdir into a binary during linking.
! 20010: # This must work even if \$libdir does not exist
! 20011: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 20012:
! 20013: # Whether we need a single "-rpath" flag with a separated argument.
! 20014: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 20015:
! 20016: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20017: # DIR into the resulting binary.
! 20018: hardcode_direct=$hardcode_direct
! 20019:
! 20020: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20021: # DIR into the resulting binary and the resulting library dependency is
! 20022: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 20023: # library is relocated.
! 20024: hardcode_direct_absolute=$hardcode_direct_absolute
! 20025:
! 20026: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 20027: # into the resulting binary.
! 20028: hardcode_minus_L=$hardcode_minus_L
! 20029:
! 20030: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 20031: # into the resulting binary.
! 20032: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 20033:
! 20034: # Set to "yes" if building a shared library automatically hardcodes DIR
! 20035: # into the library and all subsequent libraries and executables linked
! 20036: # against it.
! 20037: hardcode_automatic=$hardcode_automatic
! 20038:
! 20039: # Set to yes if linker adds runtime paths of dependent libraries
! 20040: # to runtime path list.
! 20041: inherit_rpath=$inherit_rpath
! 20042:
! 20043: # Whether libtool must link a program against all its dependency libraries.
! 20044: link_all_deplibs=$link_all_deplibs
! 20045:
! 20046: # Set to "yes" if exported symbols are required.
! 20047: always_export_symbols=$always_export_symbols
! 20048:
! 20049: # The commands to list exported symbols.
! 20050: export_symbols_cmds=$lt_export_symbols_cmds
! 20051:
! 20052: # Symbols that should not be listed in the preloaded symbols.
! 20053: exclude_expsyms=$lt_exclude_expsyms
! 20054:
! 20055: # Symbols that must always be exported.
! 20056: include_expsyms=$lt_include_expsyms
! 20057:
! 20058: # Commands necessary for linking programs (against libraries) with templates.
! 20059: prelink_cmds=$lt_prelink_cmds
! 20060:
! 20061: # Commands necessary for finishing linking programs.
! 20062: postlink_cmds=$lt_postlink_cmds
! 20063:
! 20064: # Specify filename containing input files.
! 20065: file_list_spec=$lt_file_list_spec
! 20066:
! 20067: # How to hardcode a shared library path into an executable.
! 20068: hardcode_action=$hardcode_action
! 20069:
! 20070: # The directories searched by this compiler when creating a shared library.
! 20071: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
! 20072:
! 20073: # Dependencies to place before and after the objects being linked to
! 20074: # create a shared library.
! 20075: predep_objects=$lt_predep_objects
! 20076: postdep_objects=$lt_postdep_objects
! 20077: predeps=$lt_predeps
! 20078: postdeps=$lt_postdeps
! 20079:
! 20080: # The library search path used internally by the compiler when linking
! 20081: # a shared library.
! 20082: compiler_lib_search_path=$lt_compiler_lib_search_path
! 20083:
! 20084: # ### END LIBTOOL CONFIG
! 20085:
! 20086: _LT_EOF
! 20087:
! 20088: case $host_os in
! 20089: aix3*)
! 20090: cat <<\_LT_EOF >> "$cfgfile"
! 20091: # AIX sometimes has problems with the GCC collect2 program. For some
! 20092: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 20093: # vanish in a puff of smoke.
! 20094: if test "X${COLLECT_NAMES+set}" != Xset; then
! 20095: COLLECT_NAMES=
! 20096: export COLLECT_NAMES
! 20097: fi
! 20098: _LT_EOF
! 20099: ;;
! 20100: esac
! 20101:
! 20102:
! 20103: ltmain="$ac_aux_dir/ltmain.sh"
! 20104:
! 20105:
! 20106: # We use sed instead of cat because bash on DJGPP gets confused if
! 20107: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 20108: # text mode, it properly converts lines to CR/LF. This bash problem
! 20109: # is reportedly fixed, but why not run on old versions too?
! 20110: sed '$q' "$ltmain" >> "$cfgfile" \
! 20111: || (rm -f "$cfgfile"; exit 1)
! 20112:
! 20113: if test x"$xsi_shell" = xyes; then
! 20114: sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
! 20115: func_dirname ()\
! 20116: {\
! 20117: \ case ${1} in\
! 20118: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 20119: \ * ) func_dirname_result="${3}" ;;\
! 20120: \ esac\
! 20121: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
! 20122: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20123: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20124: test 0 -eq $? || _lt_function_replace_fail=:
! 20125:
! 20126:
! 20127: sed -e '/^func_basename ()$/,/^} # func_basename /c\
! 20128: func_basename ()\
! 20129: {\
! 20130: \ func_basename_result="${1##*/}"\
! 20131: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 20132: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20133: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20134: test 0 -eq $? || _lt_function_replace_fail=:
! 20135:
! 20136:
! 20137: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
! 20138: func_dirname_and_basename ()\
! 20139: {\
! 20140: \ case ${1} in\
! 20141: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 20142: \ * ) func_dirname_result="${3}" ;;\
! 20143: \ esac\
! 20144: \ func_basename_result="${1##*/}"\
! 20145: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 20146: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20147: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20148: test 0 -eq $? || _lt_function_replace_fail=:
! 20149:
! 20150:
! 20151: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
! 20152: func_stripname ()\
! 20153: {\
! 20154: \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
! 20155: \ # positional parameters, so assign one to ordinary parameter first.\
! 20156: \ func_stripname_result=${3}\
! 20157: \ func_stripname_result=${func_stripname_result#"${1}"}\
! 20158: \ func_stripname_result=${func_stripname_result%"${2}"}\
! 20159: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
! 20160: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20161: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20162: test 0 -eq $? || _lt_function_replace_fail=:
! 20163:
! 20164:
! 20165: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
! 20166: func_split_long_opt ()\
! 20167: {\
! 20168: \ func_split_long_opt_name=${1%%=*}\
! 20169: \ func_split_long_opt_arg=${1#*=}\
! 20170: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 20171: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20172: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20173: test 0 -eq $? || _lt_function_replace_fail=:
! 20174:
! 20175:
! 20176: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
! 20177: func_split_short_opt ()\
! 20178: {\
! 20179: \ func_split_short_opt_arg=${1#??}\
! 20180: \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
! 20181: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 20182: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20183: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20184: test 0 -eq $? || _lt_function_replace_fail=:
! 20185:
! 20186:
! 20187: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
! 20188: func_lo2o ()\
! 20189: {\
! 20190: \ case ${1} in\
! 20191: \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
! 20192: \ *) func_lo2o_result=${1} ;;\
! 20193: \ esac\
! 20194: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
! 20195: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20196: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20197: test 0 -eq $? || _lt_function_replace_fail=:
! 20198:
! 20199:
! 20200: sed -e '/^func_xform ()$/,/^} # func_xform /c\
! 20201: func_xform ()\
! 20202: {\
! 20203: func_xform_result=${1%.*}.lo\
! 20204: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
! 20205: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20206: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20207: test 0 -eq $? || _lt_function_replace_fail=:
! 20208:
! 20209:
! 20210: sed -e '/^func_arith ()$/,/^} # func_arith /c\
! 20211: func_arith ()\
! 20212: {\
! 20213: func_arith_result=$(( $* ))\
! 20214: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
! 20215: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20216: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20217: test 0 -eq $? || _lt_function_replace_fail=:
! 20218:
! 20219:
! 20220: sed -e '/^func_len ()$/,/^} # func_len /c\
! 20221: func_len ()\
! 20222: {\
! 20223: func_len_result=${#1}\
! 20224: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
! 20225: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20226: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20227: test 0 -eq $? || _lt_function_replace_fail=:
! 20228:
! 20229: fi
! 20230:
! 20231: if test x"$lt_shell_append" = xyes; then
! 20232: sed -e '/^func_append ()$/,/^} # func_append /c\
! 20233: func_append ()\
! 20234: {\
! 20235: eval "${1}+=\\${2}"\
! 20236: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
! 20237: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20238: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20239: test 0 -eq $? || _lt_function_replace_fail=:
! 20240:
! 20241:
! 20242: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
! 20243: func_append_quoted ()\
! 20244: {\
! 20245: \ func_quote_for_eval "${2}"\
! 20246: \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
! 20247: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
! 20248: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20249: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20250: test 0 -eq $? || _lt_function_replace_fail=:
! 20251:
! 20252:
! 20253: # Save a `func_append' function call where possible by direct use of '+='
! 20254: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
! 20255: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20256: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20257: test 0 -eq $? || _lt_function_replace_fail=:
! 20258: else
! 20259: # Save a `func_append' function call even when '+=' is not available
! 20260: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
! 20261: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20262: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20263: test 0 -eq $? || _lt_function_replace_fail=:
! 20264: fi
! 20265:
! 20266: if test x"$_lt_function_replace_fail" = x":"; then
! 20267: { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
! 20268: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
! 20269: fi
! 20270:
! 20271:
! 20272: mv -f "$cfgfile" "$ofile" ||
! 20273: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 20274: chmod +x "$ofile"
! 20275:
! 20276:
! 20277: cat <<_LT_EOF >> "$ofile"
! 20278:
! 20279: # ### BEGIN LIBTOOL TAG CONFIG: CXX
! 20280:
! 20281: # The linker used to build libraries.
! 20282: LD=$lt_LD_CXX
! 20283:
! 20284: # How to create reloadable object files.
! 20285: reload_flag=$lt_reload_flag_CXX
! 20286: reload_cmds=$lt_reload_cmds_CXX
! 20287:
! 20288: # Commands used to build an old-style archive.
! 20289: old_archive_cmds=$lt_old_archive_cmds_CXX
! 20290:
! 20291: # A language specific compiler.
! 20292: CC=$lt_compiler_CXX
! 20293:
! 20294: # Is the compiler the GNU compiler?
! 20295: with_gcc=$GCC_CXX
! 20296:
! 20297: # Compiler flag to turn off builtin functions.
! 20298: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
! 20299:
! 20300: # Additional compiler flags for building library objects.
! 20301: pic_flag=$lt_lt_prog_compiler_pic_CXX
! 20302:
! 20303: # How to pass a linker flag through the compiler.
! 20304: wl=$lt_lt_prog_compiler_wl_CXX
! 20305:
! 20306: # Compiler flag to prevent dynamic linking.
! 20307: link_static_flag=$lt_lt_prog_compiler_static_CXX
! 20308:
! 20309: # Does compiler simultaneously support -c and -o options?
! 20310: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
! 20311:
! 20312: # Whether or not to add -lc for building shared libraries.
! 20313: build_libtool_need_lc=$archive_cmds_need_lc_CXX
! 20314:
! 20315: # Whether or not to disallow shared libs when runtime libs are static.
! 20316: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
! 20317:
! 20318: # Compiler flag to allow reflexive dlopens.
! 20319: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
! 20320:
! 20321: # Compiler flag to generate shared objects directly from archives.
! 20322: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
! 20323:
! 20324: # Whether the compiler copes with passing no objects directly.
! 20325: compiler_needs_object=$lt_compiler_needs_object_CXX
! 20326:
! 20327: # Create an old-style archive from a shared archive.
! 20328: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
! 20329:
! 20330: # Create a temporary old-style archive to link instead of a shared archive.
! 20331: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
! 20332:
! 20333: # Commands used to build a shared archive.
! 20334: archive_cmds=$lt_archive_cmds_CXX
! 20335: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
! 20336:
! 20337: # Commands used to build a loadable module if different from building
! 20338: # a shared archive.
! 20339: module_cmds=$lt_module_cmds_CXX
! 20340: module_expsym_cmds=$lt_module_expsym_cmds_CXX
! 20341:
! 20342: # Whether we are building with GNU ld or not.
! 20343: with_gnu_ld=$lt_with_gnu_ld_CXX
! 20344:
! 20345: # Flag that allows shared libraries with undefined symbols to be built.
! 20346: allow_undefined_flag=$lt_allow_undefined_flag_CXX
! 20347:
! 20348: # Flag that enforces no undefined symbols.
! 20349: no_undefined_flag=$lt_no_undefined_flag_CXX
! 20350:
! 20351: # Flag to hardcode \$libdir into a binary during linking.
! 20352: # This must work even if \$libdir does not exist
! 20353: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
! 20354:
! 20355: # Whether we need a single "-rpath" flag with a separated argument.
! 20356: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
! 20357:
! 20358: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20359: # DIR into the resulting binary.
! 20360: hardcode_direct=$hardcode_direct_CXX
! 20361:
! 20362: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20363: # DIR into the resulting binary and the resulting library dependency is
! 20364: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 20365: # library is relocated.
! 20366: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
! 20367:
! 20368: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 20369: # into the resulting binary.
! 20370: hardcode_minus_L=$hardcode_minus_L_CXX
! 20371:
! 20372: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 20373: # into the resulting binary.
! 20374: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
! 20375:
! 20376: # Set to "yes" if building a shared library automatically hardcodes DIR
! 20377: # into the library and all subsequent libraries and executables linked
! 20378: # against it.
! 20379: hardcode_automatic=$hardcode_automatic_CXX
! 20380:
! 20381: # Set to yes if linker adds runtime paths of dependent libraries
! 20382: # to runtime path list.
! 20383: inherit_rpath=$inherit_rpath_CXX
! 20384:
! 20385: # Whether libtool must link a program against all its dependency libraries.
! 20386: link_all_deplibs=$link_all_deplibs_CXX
! 20387:
! 20388: # Set to "yes" if exported symbols are required.
! 20389: always_export_symbols=$always_export_symbols_CXX
! 20390:
! 20391: # The commands to list exported symbols.
! 20392: export_symbols_cmds=$lt_export_symbols_cmds_CXX
! 20393:
! 20394: # Symbols that should not be listed in the preloaded symbols.
! 20395: exclude_expsyms=$lt_exclude_expsyms_CXX
1.11 paf 20396:
1.25 ! moko 20397: # Symbols that must always be exported.
! 20398: include_expsyms=$lt_include_expsyms_CXX
1.1 parser 20399:
1.25 ! moko 20400: # Commands necessary for linking programs (against libraries) with templates.
! 20401: prelink_cmds=$lt_prelink_cmds_CXX
1.18 paf 20402:
1.25 ! moko 20403: # Commands necessary for finishing linking programs.
! 20404: postlink_cmds=$lt_postlink_cmds_CXX
1.11 paf 20405:
1.25 ! moko 20406: # Specify filename containing input files.
! 20407: file_list_spec=$lt_file_list_spec_CXX
1.11 paf 20408:
1.25 ! moko 20409: # How to hardcode a shared library path into an executable.
! 20410: hardcode_action=$hardcode_action_CXX
1.18 paf 20411:
1.25 ! moko 20412: # The directories searched by this compiler when creating a shared library.
! 20413: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
1.11 paf 20414:
1.25 ! moko 20415: # Dependencies to place before and after the objects being linked to
! 20416: # create a shared library.
! 20417: predep_objects=$lt_predep_objects_CXX
! 20418: postdep_objects=$lt_postdep_objects_CXX
! 20419: predeps=$lt_predeps_CXX
! 20420: postdeps=$lt_postdeps_CXX
! 20421:
! 20422: # The library search path used internally by the compiler when linking
! 20423: # a shared library.
! 20424: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.11 paf 20425:
1.25 ! moko 20426: # ### END LIBTOOL TAG CONFIG: CXX
! 20427: _LT_EOF
1.1 parser 20428:
1.11 paf 20429: ;;
20430: esac
20431: done
20432: _ACEOF
1.1 parser 20433:
1.11 paf 20434: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 parser 20435:
1.11 paf 20436: { (exit 0); exit 0; }
20437: _ACEOF
1.1 parser 20438: chmod +x $CONFIG_STATUS
1.11 paf 20439: ac_clean_files=$ac_clean_files_save
20440:
20441:
20442: # configure is writing to config.log, and then calls config.status.
20443: # config.status does its own redirection, appending to config.log.
20444: # Unfortunately, on DOS this fails, as config.log is still kept open
20445: # by configure, so config.status won't be able to write to it; its
20446: # output is simply discarded. So we exec the FD to /dev/null,
20447: # effectively closing config.log, so it can be properly (re)opened and
20448: # appended to by config.status. When coming back to configure, we
20449: # need to make the FD available again.
20450: if test "$no_create" != yes; then
20451: ac_cs_success=:
20452: ac_config_status_args=
20453: test "$silent" = yes &&
20454: ac_config_status_args="$ac_config_status_args --quiet"
20455: exec 5>/dev/null
20456: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20457: exec 5>>config.log
20458: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20459: # would make configure fail if this is the last instruction.
20460: $ac_cs_success || { (exit 1); exit 1; }
20461: fi
1.1 parser 20462:
1.11 paf 20463: #
20464: # CONFIG_SUBDIRS section.
20465: #
1.1 parser 20466: if test "$no_recursion" != yes; then
20467:
20468: # Remove --cache-file and --srcdir arguments so they do not pile up.
20469: ac_sub_configure_args=
20470: ac_prev=
20471: for ac_arg in $ac_configure_args; do
20472: if test -n "$ac_prev"; then
20473: ac_prev=
20474: continue
20475: fi
1.11 paf 20476: case $ac_arg in
1.1 parser 20477: -cache-file | --cache-file | --cache-fil | --cache-fi \
20478: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20479: ac_prev=cache_file ;;
20480: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.11 paf 20481: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
20482: | --c=*)
20483: ;;
20484: --config-cache | -C)
1.1 parser 20485: ;;
20486: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20487: ac_prev=srcdir ;;
20488: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20489: ;;
1.11 paf 20490: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
20491: ac_prev=prefix ;;
20492: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20493: ;;
1.1 parser 20494: *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20495: esac
20496: done
20497:
1.11 paf 20498: # Always prepend --prefix to ensure using the same prefix
20499: # in subdir configurations.
20500: ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
20501:
20502: ac_popdir=`pwd`
20503: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1 parser 20504:
20505: # Do not complain, so a configure script can configure whichever
20506: # parts of a large source tree are present.
1.11 paf 20507: test -d $srcdir/$ac_dir || continue
1.1 parser 20508:
1.11 paf 20509: { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
20510: echo "$as_me: configuring in $ac_dir" >&6;}
20511: { if $as_mkdir_p; then
20512: mkdir -p "$ac_dir"
20513: else
20514: as_dir="$ac_dir"
20515: as_dirs=
20516: while test ! -d "$as_dir"; do
20517: as_dirs="$as_dir $as_dirs"
20518: as_dir=`(dirname "$as_dir") 2>/dev/null ||
20519: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18 paf 20520: X"$as_dir" : 'X\(//\)[^/]' \| \
20521: X"$as_dir" : 'X\(//\)$' \| \
20522: X"$as_dir" : 'X\(/\)' \| \
20523: . : '\(.\)' 2>/dev/null ||
1.11 paf 20524: echo X"$as_dir" |
20525: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20526: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20527: /^X\(\/\/\)$/{ s//\1/; q; }
20528: /^X\(\/\).*/{ s//\1/; q; }
20529: s/.*/./; q'`
20530: done
20531: test ! -n "$as_dirs" || mkdir $as_dirs
20532: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20533: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20534: { (exit 1); exit 1; }; }; }
20535:
20536: ac_builddir=.
20537:
20538: if test "$ac_dir" != .; then
20539: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20540: # A "../" for each directory in $ac_dir_suffix.
20541: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20542: else
20543: ac_dir_suffix= ac_top_builddir=
20544: fi
20545:
20546: case $srcdir in
20547: .) # No --srcdir option. We are building in place.
20548: ac_srcdir=.
20549: if test -z "$ac_top_builddir"; then
20550: ac_top_srcdir=.
20551: else
20552: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20553: fi ;;
20554: [\\/]* | ?:[\\/]* ) # Absolute path.
20555: ac_srcdir=$srcdir$ac_dir_suffix;
20556: ac_top_srcdir=$srcdir ;;
20557: *) # Relative path.
20558: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20559: ac_top_srcdir=$ac_top_builddir$srcdir ;;
20560: esac
1.18 paf 20561:
20562: # Do not use `cd foo && pwd` to compute absolute paths, because
20563: # the directories may not exist.
20564: case `pwd` in
20565: .) ac_abs_builddir="$ac_dir";;
20566: *)
20567: case "$ac_dir" in
20568: .) ac_abs_builddir=`pwd`;;
20569: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20570: *) ac_abs_builddir=`pwd`/"$ac_dir";;
20571: esac;;
20572: esac
20573: case $ac_abs_builddir in
20574: .) ac_abs_top_builddir=${ac_top_builddir}.;;
20575: *)
20576: case ${ac_top_builddir}. in
20577: .) ac_abs_top_builddir=$ac_abs_builddir;;
20578: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20579: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20580: esac;;
20581: esac
20582: case $ac_abs_builddir in
20583: .) ac_abs_srcdir=$ac_srcdir;;
20584: *)
20585: case $ac_srcdir in
20586: .) ac_abs_srcdir=$ac_abs_builddir;;
20587: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20588: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20589: esac;;
20590: esac
20591: case $ac_abs_builddir in
20592: .) ac_abs_top_srcdir=$ac_top_srcdir;;
20593: *)
20594: case $ac_top_srcdir in
20595: .) ac_abs_top_srcdir=$ac_abs_builddir;;
20596: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20597: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20598: esac;;
20599: esac
1.1 parser 20600:
20601:
1.11 paf 20602: cd $ac_dir
1.1 parser 20603:
20604: # Check for guested configure; otherwise get Cygnus style configure.
1.11 paf 20605: if test -f $ac_srcdir/configure.gnu; then
20606: ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
20607: elif test -f $ac_srcdir/configure; then
20608: ac_sub_configure="$SHELL '$ac_srcdir/configure'"
20609: elif test -f $ac_srcdir/configure.in; then
1.1 parser 20610: ac_sub_configure=$ac_configure
20611: else
1.11 paf 20612: { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20613: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1 parser 20614: ac_sub_configure=
20615: fi
20616:
20617: # The recursion is here.
20618: if test -n "$ac_sub_configure"; then
20619: # Make the cache file name correct relative to the subdirectory.
1.11 paf 20620: case $cache_file in
20621: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1 parser 20622: *) # Relative path.
1.18 paf 20623: ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1 parser 20624: esac
20625:
1.11 paf 20626: { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20627: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1 parser 20628: # The eval makes quoting arguments work.
1.11 paf 20629: eval $ac_sub_configure $ac_sub_configure_args \
1.18 paf 20630: --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
20631: { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.11 paf 20632: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20633: { (exit 1); exit 1; }; }
1.1 parser 20634: fi
20635:
20636: cd $ac_popdir
20637: done
20638: fi
20639:
E-mail: