Annotation of sql/pgsql/configure, revision 1.23
1.1 parser 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.23 ! moko 3: # Generated by GNU Autoconf 2.59 for parser3pgsql.C 10.3.
1.1 parser 4: #
1.16 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.10 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.16 paf 22: DUALCASE=1; export DUALCASE # for MKS sh
1.10 paf 23:
24: # Support unset when possible.
1.16 paf 25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.10 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.16 paf 44: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.10 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.16 paf 221: test -d ./-p && rmdir ./-p
1.10 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.16 paf 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.10 paf 229:
230: # Sed expression to map a string onto a valid variable name.
1.16 paf 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.10 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.23 ! moko 243: lt_ltdl_dir='libltdl'
1.10 paf 244:
245: SHELL=${CONFIG_SHELL-/bin/sh}
246:
1.23 ! moko 247: lt_dlopen_dir="$lt_ltdl_dir"
1.10 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.10 paf 255: exec 6>&1
256:
257: #
258: # Initializations.
259: #
1.1 parser 260: ac_default_prefix=/usr/local
1.10 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.23 ! moko 274: PACKAGE_NAME='parser3pgsql.C'
! 275: PACKAGE_TARNAME='parser3pgsql-c'
! 276: PACKAGE_VERSION='10.3'
! 277: PACKAGE_STRING='parser3pgsql.C 10.3'
! 278: PACKAGE_BUGREPORT=''
1.10 paf 279:
280: ac_unique_file="parser3pgsql.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.23 ! 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 PGSQL_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.10 paf 320: ac_subst_files=''
1.1 parser 321:
322: # Initialize some variables set by options.
1.10 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.10 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.10 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.10 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.10 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.10 paf 379: bindir=$ac_optarg ;;
1.1 parser 380:
381: -build | --build | --buil | --bui | --bu)
1.10 paf 382: ac_prev=build_alias ;;
1.1 parser 383: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.10 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.10 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.10 paf 400: datadir=$ac_optarg ;;
1.1 parser 401:
402: -disable-* | --disable-*)
1.10 paf 403: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 parser 404: # Reject names that are not valid shell variable names.
1.10 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.10 paf 412: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 parser 413: # Reject names that are not valid shell variable names.
1.10 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.10 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.10 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.10 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.10 paf 445: ac_prev=host_alias ;;
1.1 parser 446: -host=* | --host=* | --hos=* | --ho=*)
1.10 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.10 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.10 paf 459: infodir=$ac_optarg ;;
1.1 parser 460:
461: -libdir | --libdir | --libdi | --libd)
462: ac_prev=libdir ;;
463: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.10 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.10 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.10 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.10 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.10 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.10 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.10 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.10 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.10 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.10 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.10 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.10 paf 563: sharedstatedir=$ac_optarg ;;
1.1 parser 564:
565: -site | --site | --sit)
566: ac_prev=site ;;
567: -site=* | --site=* | --sit=*)
1.10 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.10 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.10 paf 580: sysconfdir=$ac_optarg ;;
1.1 parser 581:
582: -target | --target | --targe | --targ | --tar | --ta | --t)
1.10 paf 583: ac_prev=target_alias ;;
1.1 parser 584: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.10 paf 585: target_alias=$ac_optarg ;;
1.1 parser 586:
587: -v | -verbose | --verbose | --verbos | --verbo | --verb)
588: verbose=yes ;;
589:
1.10 paf 590: -version | --version | --versio | --versi | --vers | -V)
591: ac_init_version=: ;;
1.1 parser 592:
593: -with-* | --with-*)
1.10 paf 594: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 parser 595: # Reject names that are not valid shell variable names.
1.10 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.10 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.10 paf 604: eval "with_$ac_package='$ac_optarg'" ;;
1.1 parser 605:
606: -without-* | --without-*)
1.10 paf 607: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 parser 608: # Reject names that are not valid shell variable names.
1.10 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.10 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.10 paf 631: x_libraries=$ac_optarg ;;
1.1 parser 632:
1.10 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.10 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.10 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.10 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.10 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.10 paf 676: # Be sure to have absolute paths.
677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.16 paf 678: localstatedir libdir includedir oldincludedir infodir mandir
1.1 parser 679: do
1.10 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.10 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.10 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.10 paf 716: ac_confdir=`(dirname "$0") 2>/dev/null ||
717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.16 paf 718: X"$0" : 'X\(//\)[^/]' \| \
719: X"$0" : 'X\(//\)$' \| \
720: X"$0" : 'X\(/\)' \| \
721: . : '\(.\)' 2>/dev/null ||
1.10 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.10 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.10 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.10 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.23 ! 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.10 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.23 ! moko 800: \`configure' configures parser3pgsql.C 10.3 to adapt to many kinds of systems.
1.10 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.16 paf 825: [$ac_default_prefix]
1.10 paf 826: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.16 paf 827: [PREFIX]
1.10 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.23 ! moko 865: case $ac_init_help in
! 866: short | recursive ) echo "Configuration of parser3pgsql.C 10.3:";;
! 867: esac
1.10 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.16 paf 873: --disable-dependency-tracking speeds up one-time build
874: --enable-dependency-tracking do not reject slow dependency extractors
1.23 ! 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.10 paf 881: --disable-libtool-lock avoid locking (might break parallel builds)
1.23 ! moko 882: --enable-ltdl-install install libltdl
1.10 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)
1.23 ! moko 887: --with-pgsql-inc=DIR DIR is the PgSql includes directory
1.21 misha 888: --with-dynamic-stdcpp link libstdc++ dynamically
889: by default, libstdc++ is linked statically
1.23 ! moko 890: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
! 891: both]
! 892: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 893: --with-sysroot=DIR Search for dependent libraries within DIR
! 894: (or the compiler's sysroot if not specified).
! 895: --with-included-ltdl use the GNU ltdl sources included here
! 896: --with-ltdl-include=DIR use the ltdl headers installed in DIR
! 897: --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1.10 paf 898:
899: Some influential environment variables:
900: CXX C++ compiler command
901: CXXFLAGS C++ compiler flags
902: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
903: nonstandard directory <lib dir>
904: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
905: headers in a nonstandard directory <include dir>
906: CC C compiler command
907: CFLAGS C compiler flags
1.15 paf 908: CPP C preprocessor
1.23 ! moko 909: CXXCPP C++ preprocessor
1.10 paf 910:
911: Use these variables to override the choices made by `configure' or to help
912: it to find libraries and programs with nonstandard names/locations.
913:
914: _ACEOF
915: fi
916:
917: if test "$ac_init_help" = "recursive"; then
918: # If there are subdirs, report their specific --help.
919: ac_popdir=`pwd`
920: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
921: test -d $ac_dir || continue
922: ac_builddir=.
923:
924: if test "$ac_dir" != .; then
925: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
926: # A "../" for each directory in $ac_dir_suffix.
927: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
928: else
929: ac_dir_suffix= ac_top_builddir=
930: fi
931:
932: case $srcdir in
933: .) # No --srcdir option. We are building in place.
934: ac_srcdir=.
935: if test -z "$ac_top_builddir"; then
936: ac_top_srcdir=.
937: else
938: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
939: fi ;;
940: [\\/]* | ?:[\\/]* ) # Absolute path.
941: ac_srcdir=$srcdir$ac_dir_suffix;
942: ac_top_srcdir=$srcdir ;;
943: *) # Relative path.
944: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
945: ac_top_srcdir=$ac_top_builddir$srcdir ;;
946: esac
1.16 paf 947:
948: # Do not use `cd foo && pwd` to compute absolute paths, because
949: # the directories may not exist.
950: case `pwd` in
951: .) ac_abs_builddir="$ac_dir";;
952: *)
953: case "$ac_dir" in
954: .) ac_abs_builddir=`pwd`;;
955: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
956: *) ac_abs_builddir=`pwd`/"$ac_dir";;
957: esac;;
958: esac
959: case $ac_abs_builddir in
960: .) ac_abs_top_builddir=${ac_top_builddir}.;;
961: *)
962: case ${ac_top_builddir}. in
963: .) ac_abs_top_builddir=$ac_abs_builddir;;
964: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
965: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
966: esac;;
967: esac
968: case $ac_abs_builddir in
969: .) ac_abs_srcdir=$ac_srcdir;;
970: *)
971: case $ac_srcdir in
972: .) ac_abs_srcdir=$ac_abs_builddir;;
973: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
974: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
975: esac;;
976: esac
977: case $ac_abs_builddir in
978: .) ac_abs_top_srcdir=$ac_top_srcdir;;
979: *)
980: case $ac_top_srcdir in
981: .) ac_abs_top_srcdir=$ac_abs_builddir;;
982: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
983: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
984: esac;;
985: esac
1.10 paf 986:
987: cd $ac_dir
988: # Check for guested configure; otherwise get Cygnus style configure.
989: if test -f $ac_srcdir/configure.gnu; then
990: echo
991: $SHELL $ac_srcdir/configure.gnu --help=recursive
992: elif test -f $ac_srcdir/configure; then
993: echo
994: $SHELL $ac_srcdir/configure --help=recursive
995: elif test -f $ac_srcdir/configure.ac ||
1.16 paf 996: test -f $ac_srcdir/configure.in; then
1.10 paf 997: echo
998: $ac_configure --help
999: else
1000: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1001: fi
1002: cd $ac_popdir
1003: done
1004: fi
1.1 parser 1005:
1.10 paf 1006: test -n "$ac_init_help" && exit 0
1007: if $ac_init_version; then
1008: cat <<\_ACEOF
1.23 ! moko 1009: parser3pgsql.C configure 10.3
! 1010: generated by GNU Autoconf 2.59
1.10 paf 1011:
1.16 paf 1012: Copyright (C) 2003 Free Software Foundation, Inc.
1.10 paf 1013: This configure script is free software; the Free Software Foundation
1014: gives unlimited permission to copy, distribute and modify it.
1015: _ACEOF
1016: exit 0
1017: fi
1018: exec 5>config.log
1019: cat >&5 <<_ACEOF
1020: This file contains any messages produced by compilers while
1021: running configure, to aid debugging if configure makes a mistake.
1022:
1.23 ! moko 1023: It was created by parser3pgsql.C $as_me 10.3, which was
1.16 paf 1024: generated by GNU Autoconf 2.59. Invocation command line was
1.10 paf 1025:
1026: $ $0 $@
1027:
1028: _ACEOF
1029: {
1030: cat <<_ASUNAME
1031: ## --------- ##
1032: ## Platform. ##
1033: ## --------- ##
1034:
1035: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1036: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1037: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1038: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1039: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1040:
1041: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1042: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1043:
1044: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1045: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1046: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1047: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1048: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1049: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1050: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1051:
1052: _ASUNAME
1053:
1054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1055: for as_dir in $PATH
1056: do
1057: IFS=$as_save_IFS
1058: test -z "$as_dir" && as_dir=.
1059: echo "PATH: $as_dir"
1060: done
1061:
1062: } >&5
1063:
1064: cat >&5 <<_ACEOF
1065:
1066:
1067: ## ----------- ##
1068: ## Core tests. ##
1069: ## ----------- ##
1070:
1071: _ACEOF
1072:
1073:
1074: # Keep a trace of the command line.
1075: # Strip out --no-create and --no-recursion so they do not pile up.
1076: # Strip out --silent because we don't want to record it for future runs.
1077: # Also quote any args containing shell meta-characters.
1078: # Make two passes to allow for proper duplicate-argument suppression.
1079: ac_configure_args=
1080: ac_configure_args0=
1081: ac_configure_args1=
1082: ac_sep=
1083: ac_must_keep_next=false
1084: for ac_pass in 1 2
1085: do
1086: for ac_arg
1087: do
1088: case $ac_arg in
1089: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1090: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091: | -silent | --silent | --silen | --sile | --sil)
1092: continue ;;
1093: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1094: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1095: esac
1096: case $ac_pass in
1097: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1098: 2)
1099: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1100: if test $ac_must_keep_next = true; then
1.16 paf 1101: ac_must_keep_next=false # Got value, back to normal.
1.10 paf 1102: else
1.16 paf 1103: case $ac_arg in
1104: *=* | --config-cache | -C | -disable-* | --disable-* \
1105: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1106: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1107: | -with-* | --with-* | -without-* | --without-* | --x)
1108: case "$ac_configure_args0 " in
1109: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1110: esac
1111: ;;
1112: -* ) ac_must_keep_next=true ;;
1113: esac
1.10 paf 1114: fi
1115: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1116: # Get rid of the leading space.
1117: ac_sep=" "
1118: ;;
1119: esac
1120: done
1121: done
1122: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1123: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1124:
1125: # When interrupted or exit'd, cleanup temporary files, and complete
1126: # config.log. We remove comments because anyway the quotes in there
1127: # would cause problems or look ugly.
1128: # WARNING: Be sure not to use single quotes in there, as some shells,
1129: # such as our DU 5.0 friend, will then `close' the trap.
1130: trap 'exit_status=$?
1131: # Save into config.log some information that might help in debugging.
1132: {
1133: echo
1134:
1135: cat <<\_ASBOX
1136: ## ---------------- ##
1137: ## Cache variables. ##
1138: ## ---------------- ##
1139: _ASBOX
1140: echo
1141: # The following way of writing the cache mishandles newlines in values,
1142: {
1143: (set) 2>&1 |
1144: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1145: *ac_space=\ *)
1146: sed -n \
1.16 paf 1147: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1148: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.10 paf 1149: ;;
1150: *)
1151: sed -n \
1.16 paf 1152: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.10 paf 1153: ;;
1154: esac;
1155: }
1156: echo
1157:
1158: cat <<\_ASBOX
1159: ## ----------------- ##
1160: ## Output variables. ##
1161: ## ----------------- ##
1162: _ASBOX
1163: echo
1164: for ac_var in $ac_subst_vars
1165: do
1166: eval ac_val=$`echo $ac_var`
1167: echo "$ac_var='"'"'$ac_val'"'"'"
1168: done | sort
1169: echo
1170:
1171: if test -n "$ac_subst_files"; then
1172: cat <<\_ASBOX
1173: ## ------------- ##
1174: ## Output files. ##
1175: ## ------------- ##
1176: _ASBOX
1177: echo
1178: for ac_var in $ac_subst_files
1179: do
1180: eval ac_val=$`echo $ac_var`
1.16 paf 1181: echo "$ac_var='"'"'$ac_val'"'"'"
1.10 paf 1182: done | sort
1183: echo
1184: fi
1185:
1186: if test -s confdefs.h; then
1187: cat <<\_ASBOX
1188: ## ----------- ##
1189: ## confdefs.h. ##
1190: ## ----------- ##
1191: _ASBOX
1192: echo
1193: sed "/^$/d" confdefs.h | sort
1194: echo
1195: fi
1196: test "$ac_signal" != 0 &&
1197: echo "$as_me: caught signal $ac_signal"
1198: echo "$as_me: exit $exit_status"
1199: } >&5
1.16 paf 1200: rm -f core *.core &&
1.10 paf 1201: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1202: exit $exit_status
1203: ' 0
1204: for ac_signal in 1 2 13 15; do
1205: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1206: done
1207: ac_signal=0
1208:
1209: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1210: rm -rf conftest* confdefs.h
1211: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1212: echo >confdefs.h
1213:
1214: # Predefined preprocessor variables.
1215:
1216: cat >>confdefs.h <<_ACEOF
1217: #define PACKAGE_NAME "$PACKAGE_NAME"
1218: _ACEOF
1219:
1220:
1221: cat >>confdefs.h <<_ACEOF
1222: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1223: _ACEOF
1224:
1225:
1226: cat >>confdefs.h <<_ACEOF
1227: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1228: _ACEOF
1229:
1230:
1231: cat >>confdefs.h <<_ACEOF
1232: #define PACKAGE_STRING "$PACKAGE_STRING"
1233: _ACEOF
1234:
1235:
1236: cat >>confdefs.h <<_ACEOF
1237: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1238: _ACEOF
1239:
1240:
1241: # Let the site file select an alternate cache file if it wants to.
1.1 parser 1242: # Prefer explicitly selected file to automatically selected ones.
1243: if test -z "$CONFIG_SITE"; then
1244: if test "x$prefix" != xNONE; then
1245: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1246: else
1247: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1248: fi
1249: fi
1250: for ac_site_file in $CONFIG_SITE; do
1251: if test -r "$ac_site_file"; then
1.10 paf 1252: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1253: echo "$as_me: loading site script $ac_site_file" >&6;}
1254: sed 's/^/| /' "$ac_site_file" >&5
1.1 parser 1255: . "$ac_site_file"
1256: fi
1257: done
1258:
1259: if test -r "$cache_file"; then
1.10 paf 1260: # Some versions of bash will fail to source /dev/null (special
1261: # files actually), so we avoid doing that.
1262: if test -f "$cache_file"; then
1263: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1264: echo "$as_me: loading cache $cache_file" >&6;}
1265: case $cache_file in
1266: [\\/]* | ?:[\\/]* ) . $cache_file;;
1267: *) . ./$cache_file;;
1268: esac
1269: fi
1.1 parser 1270: else
1.10 paf 1271: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1272: echo "$as_me: creating cache $cache_file" >&6;}
1273: >$cache_file
1274: fi
1275:
1276: # Check that the precious variables saved in the cache have kept the same
1277: # value.
1278: ac_cache_corrupted=false
1279: for ac_var in `(set) 2>&1 |
1.16 paf 1280: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.10 paf 1281: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1282: eval ac_new_set=\$ac_env_${ac_var}_set
1283: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1284: eval ac_new_val="\$ac_env_${ac_var}_value"
1285: case $ac_old_set,$ac_new_set in
1286: set,)
1287: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1288: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1289: ac_cache_corrupted=: ;;
1290: ,set)
1291: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1292: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1293: ac_cache_corrupted=: ;;
1294: ,);;
1295: *)
1296: if test "x$ac_old_val" != "x$ac_new_val"; then
1.16 paf 1297: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.10 paf 1298: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.16 paf 1299: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.10 paf 1300: echo "$as_me: former value: $ac_old_val" >&2;}
1.16 paf 1301: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.10 paf 1302: echo "$as_me: current value: $ac_new_val" >&2;}
1.16 paf 1303: ac_cache_corrupted=:
1.10 paf 1304: fi;;
1305: esac
1306: # Pass precious variables to config.status.
1307: if test "$ac_new_set" = set; then
1308: case $ac_new_val in
1309: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1310: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1311: *) ac_arg=$ac_var=$ac_new_val ;;
1312: esac
1313: case " $ac_configure_args " in
1314: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1315: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1316: esac
1317: fi
1318: done
1319: if $ac_cache_corrupted; then
1320: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1321: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1322: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1323: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1324: { (exit 1); exit 1; }; }
1.1 parser 1325: fi
1326:
1327: ac_ext=c
1328: ac_cpp='$CPP $CPPFLAGS'
1.10 paf 1329: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1330: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1331: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1 parser 1332:
1333:
1.10 paf 1334:
1335:
1336:
1337:
1338:
1339:
1340:
1341:
1342:
1343:
1344:
1345:
1346:
1347:
1348:
1349:
1350:
1.23 ! moko 1351:
! 1352:
! 1353:
! 1354:
! 1355:
! 1356:
! 1357:
! 1358:
! 1359:
! 1360: ac_config_headers="$ac_config_headers config_auto.h"
! 1361:
! 1362:
! 1363:
1.16 paf 1364: am__api_version="1.9"
1.1 parser 1365: ac_aux_dir=
1366: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1367: if test -f $ac_dir/install-sh; then
1368: ac_aux_dir=$ac_dir
1369: ac_install_sh="$ac_aux_dir/install-sh -c"
1370: break
1371: elif test -f $ac_dir/install.sh; then
1372: ac_aux_dir=$ac_dir
1373: ac_install_sh="$ac_aux_dir/install.sh -c"
1374: break
1.10 paf 1375: elif test -f $ac_dir/shtool; then
1376: ac_aux_dir=$ac_dir
1377: ac_install_sh="$ac_aux_dir/shtool install -c"
1378: break
1.1 parser 1379: fi
1380: done
1381: if test -z "$ac_aux_dir"; then
1.10 paf 1382: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1383: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1384: { (exit 1); exit 1; }; }
1385: fi
1386: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1387: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1388: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1 parser 1389:
1390: # Find a good install program. We prefer a C program (faster),
1391: # so one script is as good as another. But avoid the broken or
1392: # incompatible versions:
1393: # SysV /etc/install, /usr/sbin/install
1394: # SunOS /usr/etc/install
1395: # IRIX /sbin/install
1396: # AIX /bin/install
1.10 paf 1397: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 1398: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1399: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1400: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.16 paf 1401: # OS/2's system install, which has a completely different semantic
1.1 parser 1402: # ./install, which can be erroneously created by make from ./install.sh.
1.10 paf 1403: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1404: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 parser 1405: if test -z "$INSTALL"; then
1.10 paf 1406: if test "${ac_cv_path_install+set}" = set; then
1407: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1408: else
1.10 paf 1409: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1410: for as_dir in $PATH
1411: do
1412: IFS=$as_save_IFS
1413: test -z "$as_dir" && as_dir=.
1414: # Account for people who put trailing slashes in PATH elements.
1415: case $as_dir/ in
1416: ./ | .// | /cC/* | \
1417: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.16 paf 1418: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.10 paf 1419: /usr/ucb/* ) ;;
1420: *)
1421: # OSF1 and SCO ODT 3.0 have their own names for install.
1422: # Don't use installbsd from OSF since it installs stuff as root
1423: # by default.
1424: for ac_prog in ginstall scoinst install; do
1425: for ac_exec_ext in '' $ac_executable_extensions; do
1.16 paf 1426: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1427: if test $ac_prog = install &&
1428: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1429: # AIX install. It has an incompatible calling convention.
1430: :
1431: elif test $ac_prog = install &&
1432: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1433: # program-specific install script used by HP pwplus--don't use.
1434: :
1435: else
1436: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1437: break 3
1438: fi
1439: fi
1.1 parser 1440: done
1.10 paf 1441: done
1442: ;;
1443: esac
1444: done
1445:
1.1 parser 1446:
1447: fi
1448: if test "${ac_cv_path_install+set}" = set; then
1.10 paf 1449: INSTALL=$ac_cv_path_install
1.1 parser 1450: else
1451: # As a last resort, use the slow shell script. We don't cache a
1452: # path for INSTALL within a source directory, because that will
1453: # break other packages using the cache if that directory is
1454: # removed, or if the path is relative.
1.10 paf 1455: INSTALL=$ac_install_sh
1.1 parser 1456: fi
1457: fi
1.10 paf 1458: echo "$as_me:$LINENO: result: $INSTALL" >&5
1459: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 1460:
1461: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1462: # It thinks the first close brace ends the variable substitution.
1463: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1464:
1.10 paf 1465: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1466:
1467: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1468:
1.10 paf 1469: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1470: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1 parser 1471: # Just in case
1472: sleep 1
1.10 paf 1473: echo timestamp > conftest.file
1.1 parser 1474: # Do `set' in a subshell so we don't clobber the current shell's
1475: # arguments. Must try -L first in case configure is actually a
1476: # symlink; some systems play weird games with the mod time of symlinks
1477: # (eg FreeBSD returns the mod time of the symlink's containing
1478: # directory).
1479: if (
1.10 paf 1480: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 parser 1481: if test "$*" = "X"; then
1482: # -L didn't work.
1.10 paf 1483: set X `ls -t $srcdir/configure conftest.file`
1.1 parser 1484: fi
1.10 paf 1485: rm -f conftest.file
1486: if test "$*" != "X $srcdir/configure conftest.file" \
1487: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 parser 1488:
1489: # If neither matched, then we have a broken ls. This can happen
1490: # if, for instance, CONFIG_SHELL is bash and it inherits a
1491: # broken ls alias from the environment. This has actually
1492: # happened. Such a system could not be considered "sane".
1.10 paf 1493: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1494: alias in your environment" >&5
1495: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1496: alias in your environment" >&2;}
1497: { (exit 1); exit 1; }; }
1.1 parser 1498: fi
1499:
1.10 paf 1500: test "$2" = conftest.file
1.1 parser 1501: )
1502: then
1503: # Ok.
1504: :
1505: else
1.10 paf 1506: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1507: Check your system clock" >&5
1508: echo "$as_me: error: newly created file is older than distributed files!
1509: Check your system clock" >&2;}
1510: { (exit 1); exit 1; }; }
1.1 parser 1511: fi
1.10 paf 1512: echo "$as_me:$LINENO: result: yes" >&5
1513: echo "${ECHO_T}yes" >&6
1.1 parser 1514: test "$program_prefix" != NONE &&
1.10 paf 1515: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 parser 1516: # Use a double $ so make ignores it.
1517: test "$program_suffix" != NONE &&
1.10 paf 1518: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1519: # Double any \ or $. echo might interpret backslashes.
1520: # By default was `s,x,x', remove it if useless.
1521: cat <<\_ACEOF >conftest.sed
1522: s/[\\$]/&&/g;s/;s,x,x,$//
1523: _ACEOF
1524: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1525: rm conftest.sed
1526:
1527: # expand $ac_aux_dir to an absolute path
1528: am_aux_dir=`cd $ac_aux_dir && pwd`
1529:
1530: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1531: # Use eval to expand $SHELL
1532: if eval "$MISSING --run true"; then
1533: am_missing_run="$MISSING --run "
1534: else
1535: am_missing_run=
1536: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1537: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1538: fi
1539:
1.16 paf 1540: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1541: # We used to keeping the `.' as first argument, in order to
1542: # allow $(mkdir_p) to be used without argument. As in
1543: # $(mkdir_p) $(somedir)
1544: # where $(somedir) is conditionally defined. However this is wrong
1545: # for two reasons:
1546: # 1. if the package is installed by a user who cannot write `.'
1547: # make install will fail,
1548: # 2. the above comment should most certainly read
1549: # $(mkdir_p) $(DESTDIR)$(somedir)
1550: # so it does not work when $(somedir) is undefined and
1551: # $(DESTDIR) is not.
1552: # To support the latter case, we have to write
1553: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1554: # so the `.' trick is pointless.
1555: mkdir_p='mkdir -p --'
1556: else
1557: # On NextStep and OpenStep, the `mkdir' command does not
1558: # recognize any option. It will interpret all options as
1559: # directories to create, and then abort because `.' already
1560: # exists.
1561: for d in ./-p ./--version;
1562: do
1563: test -d $d && rmdir $d
1564: done
1565: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1566: if test -f "$ac_aux_dir/mkinstalldirs"; then
1567: mkdir_p='$(mkinstalldirs)'
1568: else
1569: mkdir_p='$(install_sh) -d'
1570: fi
1571: fi
1572:
1.10 paf 1573: for ac_prog in gawk mawk nawk awk
1574: do
1575: # Extract the first word of "$ac_prog", so it can be a program name with args.
1576: set dummy $ac_prog; ac_word=$2
1577: echo "$as_me:$LINENO: checking for $ac_word" >&5
1578: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1579: if test "${ac_cv_prog_AWK+set}" = set; then
1580: echo $ECHO_N "(cached) $ECHO_C" >&6
1581: else
1582: if test -n "$AWK"; then
1583: ac_cv_prog_AWK="$AWK" # Let the user override the test.
1584: else
1585: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1586: for as_dir in $PATH
1587: do
1588: IFS=$as_save_IFS
1589: test -z "$as_dir" && as_dir=.
1590: for ac_exec_ext in '' $ac_executable_extensions; do
1591: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1592: ac_cv_prog_AWK="$ac_prog"
1593: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594: break 2
1595: fi
1596: done
1597: done
1598:
1599: fi
1600: fi
1601: AWK=$ac_cv_prog_AWK
1602: if test -n "$AWK"; then
1603: echo "$as_me:$LINENO: result: $AWK" >&5
1604: echo "${ECHO_T}$AWK" >&6
1605: else
1606: echo "$as_me:$LINENO: result: no" >&5
1607: echo "${ECHO_T}no" >&6
1608: fi
1.1 parser 1609:
1.10 paf 1610: test -n "$AWK" && break
1611: done
1.1 parser 1612:
1.10 paf 1613: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1614: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.16 paf 1615: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.10 paf 1616: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1617: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1618: else
1.10 paf 1619: cat >conftest.make <<\_ACEOF
1.1 parser 1620: all:
1.10 paf 1621: @echo 'ac_maketemp="$(MAKE)"'
1622: _ACEOF
1.1 parser 1623: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.10 paf 1624: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 parser 1625: if test -n "$ac_maketemp"; then
1626: eval ac_cv_prog_make_${ac_make}_set=yes
1627: else
1628: eval ac_cv_prog_make_${ac_make}_set=no
1629: fi
1.10 paf 1630: rm -f conftest.make
1.1 parser 1631: fi
1632: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.10 paf 1633: echo "$as_me:$LINENO: result: yes" >&5
1634: echo "${ECHO_T}yes" >&6
1.1 parser 1635: SET_MAKE=
1636: else
1.10 paf 1637: echo "$as_me:$LINENO: result: no" >&5
1638: echo "${ECHO_T}no" >&6
1.1 parser 1639: SET_MAKE="MAKE=${MAKE-make}"
1640: fi
1641:
1.16 paf 1642: rm -rf .tst 2>/dev/null
1643: mkdir .tst 2>/dev/null
1644: if test -d .tst; then
1645: am__leading_dot=.
1646: else
1647: am__leading_dot=_
1648: fi
1649: rmdir .tst 2>/dev/null
1650:
1651: # test to see if srcdir already configured
1.10 paf 1652: if test "`cd $srcdir && pwd`" != "`pwd`" &&
1653: test -f $srcdir/config.status; then
1654: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1655: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1656: { (exit 1); exit 1; }; }
1657: fi
1658:
1659: # test whether we have cygpath
1660: if test -z "$CYGPATH_W"; then
1661: if (cygpath --version) >/dev/null 2>/dev/null; then
1662: CYGPATH_W='cygpath -w'
1663: else
1664: CYGPATH_W=echo
1665: fi
1666: fi
1667:
1668:
1669: # Define the identity of the package.
1.23 ! moko 1670: PACKAGE='parser3pgsql-c'
! 1671: VERSION='10.3'
! 1672:
! 1673:
! 1674: cat >>confdefs.h <<_ACEOF
! 1675: #define PACKAGE "$PACKAGE"
! 1676: _ACEOF
! 1677:
1.1 parser 1678:
1.23 ! moko 1679: cat >>confdefs.h <<_ACEOF
! 1680: #define VERSION "$VERSION"
! 1681: _ACEOF
1.1 parser 1682:
1.10 paf 1683: # Some tools Automake needs.
1684:
1685: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1686:
1687:
1688: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1689:
1690:
1691: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1692:
1693:
1694: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1695:
1696:
1697: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 parser 1698:
1.10 paf 1699: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1 parser 1700:
1.10 paf 1701: # Installed binaries are usually stripped using `strip' when the user
1702: # run `make install-strip'. However `strip' might not be the right
1703: # tool to use in cross-compilation environments, therefore Automake
1704: # will honor the `STRIP' environment variable to overrule this program.
1705: if test "$cross_compiling" != no; then
1706: if test -n "$ac_tool_prefix"; then
1707: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1708: set dummy ${ac_tool_prefix}strip; ac_word=$2
1709: echo "$as_me:$LINENO: checking for $ac_word" >&5
1710: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1711: if test "${ac_cv_prog_STRIP+set}" = set; then
1712: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1713: else
1.10 paf 1714: if test -n "$STRIP"; then
1715: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1716: else
1717: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718: for as_dir in $PATH
1719: do
1720: IFS=$as_save_IFS
1721: test -z "$as_dir" && as_dir=.
1722: for ac_exec_ext in '' $ac_executable_extensions; do
1723: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1725: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726: break 2
1727: fi
1728: done
1729: done
1730:
1731: fi
1732: fi
1733: STRIP=$ac_cv_prog_STRIP
1734: if test -n "$STRIP"; then
1735: echo "$as_me:$LINENO: result: $STRIP" >&5
1736: echo "${ECHO_T}$STRIP" >&6
1737: else
1738: echo "$as_me:$LINENO: result: no" >&5
1739: echo "${ECHO_T}no" >&6
1.1 parser 1740: fi
1741:
1.10 paf 1742: fi
1743: if test -z "$ac_cv_prog_STRIP"; then
1744: ac_ct_STRIP=$STRIP
1745: # Extract the first word of "strip", so it can be a program name with args.
1746: set dummy strip; ac_word=$2
1747: echo "$as_me:$LINENO: checking for $ac_word" >&5
1748: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1749: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1750: echo $ECHO_N "(cached) $ECHO_C" >&6
1751: else
1752: if test -n "$ac_ct_STRIP"; then
1753: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1 parser 1754: else
1.10 paf 1755: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756: for as_dir in $PATH
1757: do
1758: IFS=$as_save_IFS
1759: test -z "$as_dir" && as_dir=.
1760: for ac_exec_ext in '' $ac_executable_extensions; do
1761: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1762: ac_cv_prog_ac_ct_STRIP="strip"
1763: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764: break 2
1765: fi
1766: done
1767: done
1768:
1769: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1770: fi
1.1 parser 1771: fi
1.10 paf 1772: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1773: if test -n "$ac_ct_STRIP"; then
1774: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1775: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1 parser 1776: else
1.10 paf 1777: echo "$as_me:$LINENO: result: no" >&5
1778: echo "${ECHO_T}no" >&6
1.1 parser 1779: fi
1780:
1.10 paf 1781: STRIP=$ac_ct_STRIP
1.1 parser 1782: else
1.10 paf 1783: STRIP="$ac_cv_prog_STRIP"
1.1 parser 1784: fi
1785:
1786: fi
1.10 paf 1787: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1 parser 1788:
1.10 paf 1789: # We need awk for the "check" target. The system "awk" is bad on
1790: # some platforms.
1.16 paf 1791: # Always define AMTAR for backward compatibility.
1792:
1793: AMTAR=${AMTAR-"${am_missing_run}tar"}
1794:
1795: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1796:
1797:
1.1 parser 1798:
1799:
1800:
1801:
1.23 ! moko 1802:
1.10 paf 1803:
1.1 parser 1804:
1805:
1806:
1.2 parser 1807: # Check whether --with-pgsql-inc or --without-pgsql-inc was given.
1.1 parser 1808: if test "${with_pgsql_inc+set}" = set; then
1809: withval="$with_pgsql_inc"
1.10 paf 1810:
1.23 ! moko 1811: if test -r "$withval/libpq-fe.h"; then
! 1812: PGSQL_INC=$withval
! 1813: fi
! 1814:
! 1815:
! 1816: if test -z "$PGSQL_INC"; then
! 1817: { { echo "$as_me:$LINENO: error: $PGSQL_INC does not seem to be valid PgSql includes directory" >&5
! 1818: echo "$as_me: error: $PGSQL_INC does not seem to be valid PgSql includes directory" >&2;}
! 1819: { (exit 1); exit 1; }; }
! 1820: fi
! 1821:
1.1 parser 1822: else
1.23 ! moko 1823: echo "$as_me:$LINENO: checking for PGSQL_INC directory" >&5
! 1824: echo $ECHO_N "checking for PGSQL_INC directory... $ECHO_C" >&6
! 1825: for d in \
! 1826: /usr/local/include/postgresql \
! 1827: /usr/include/postgresql \
! 1828: /usr/local/pgsql/include ; do
1.1 parser 1829:
1.23 ! moko 1830: if test -r "$d/libpq-fe.h"; then
! 1831: PGSQL_INC=$d
! 1832: fi
1.1 parser 1833:
1.23 ! moko 1834: done
1.1 parser 1835:
1.23 ! moko 1836: if test -z "$PGSQL_INC"; then
! 1837: { { echo "$as_me:$LINENO: error: use --with-pgsql-inc=DIR to specify PgSql includes directory" >&5
! 1838: echo "$as_me: error: use --with-pgsql-inc=DIR to specify PgSql includes directory" >&2;}
1.10 paf 1839: { (exit 1); exit 1; }; }
1.23 ! moko 1840: fi
! 1841:
! 1842: echo "$as_me:$LINENO: result: $PGSQL_INC" >&5
! 1843: echo "${ECHO_T}$PGSQL_INC" >&6
! 1844:
! 1845: fi;
! 1846:
1.1 parser 1847:
1.21 misha 1848:
1849:
1850: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
1851: if test "${with_dynamic_stdcpp+set}" = set; then
1852: withval="$with_dynamic_stdcpp"
1853:
1854: LDFLAGS="-lstdc++"
1855:
1856: else
1857:
1858: LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic"
1859:
1860: fi;
1861:
1862:
1863:
1864:
1.1 parser 1865: # Find a good install program. We prefer a C program (faster),
1866: # so one script is as good as another. But avoid the broken or
1867: # incompatible versions:
1868: # SysV /etc/install, /usr/sbin/install
1869: # SunOS /usr/etc/install
1870: # IRIX /sbin/install
1871: # AIX /bin/install
1.10 paf 1872: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 1873: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1874: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1875: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.16 paf 1876: # OS/2's system install, which has a completely different semantic
1.1 parser 1877: # ./install, which can be erroneously created by make from ./install.sh.
1.10 paf 1878: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1879: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1 parser 1880: if test -z "$INSTALL"; then
1.10 paf 1881: if test "${ac_cv_path_install+set}" = set; then
1882: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1883: else
1.10 paf 1884: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885: for as_dir in $PATH
1886: do
1887: IFS=$as_save_IFS
1888: test -z "$as_dir" && as_dir=.
1889: # Account for people who put trailing slashes in PATH elements.
1890: case $as_dir/ in
1891: ./ | .// | /cC/* | \
1892: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.16 paf 1893: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.10 paf 1894: /usr/ucb/* ) ;;
1895: *)
1896: # OSF1 and SCO ODT 3.0 have their own names for install.
1897: # Don't use installbsd from OSF since it installs stuff as root
1898: # by default.
1899: for ac_prog in ginstall scoinst install; do
1900: for ac_exec_ext in '' $ac_executable_extensions; do
1.16 paf 1901: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1902: if test $ac_prog = install &&
1903: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1904: # AIX install. It has an incompatible calling convention.
1905: :
1906: elif test $ac_prog = install &&
1907: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1908: # program-specific install script used by HP pwplus--don't use.
1909: :
1910: else
1911: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1912: break 3
1913: fi
1914: fi
1.1 parser 1915: done
1.10 paf 1916: done
1917: ;;
1918: esac
1919: done
1920:
1.1 parser 1921:
1922: fi
1923: if test "${ac_cv_path_install+set}" = set; then
1.10 paf 1924: INSTALL=$ac_cv_path_install
1.1 parser 1925: else
1926: # As a last resort, use the slow shell script. We don't cache a
1927: # path for INSTALL within a source directory, because that will
1928: # break other packages using the cache if that directory is
1929: # removed, or if the path is relative.
1.10 paf 1930: INSTALL=$ac_install_sh
1.1 parser 1931: fi
1932: fi
1.10 paf 1933: echo "$as_me:$LINENO: result: $INSTALL" >&5
1934: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 1935:
1936: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1937: # It thinks the first close brace ends the variable substitution.
1938: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1939:
1.10 paf 1940: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1941:
1942: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1943:
1.10 paf 1944: ac_ext=cc
1945: ac_cpp='$CXXCPP $CPPFLAGS'
1946: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1947: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1948: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1949: if test -n "$ac_tool_prefix"; then
1950: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1951: do
1952: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1953: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1954: echo "$as_me:$LINENO: checking for $ac_word" >&5
1955: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1956: if test "${ac_cv_prog_CXX+set}" = set; then
1957: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1958: else
1959: if test -n "$CXX"; then
1960: ac_cv_prog_CXX="$CXX" # Let the user override the test.
1961: else
1.10 paf 1962: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963: for as_dir in $PATH
1964: do
1965: IFS=$as_save_IFS
1966: test -z "$as_dir" && as_dir=.
1967: for ac_exec_ext in '' $ac_executable_extensions; do
1968: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1970: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971: break 2
1972: fi
1973: done
1974: done
1975:
1.1 parser 1976: fi
1977: fi
1.10 paf 1978: CXX=$ac_cv_prog_CXX
1.1 parser 1979: if test -n "$CXX"; then
1.10 paf 1980: echo "$as_me:$LINENO: result: $CXX" >&5
1981: echo "${ECHO_T}$CXX" >&6
1.1 parser 1982: else
1.10 paf 1983: echo "$as_me:$LINENO: result: no" >&5
1984: echo "${ECHO_T}no" >&6
1.1 parser 1985: fi
1986:
1.10 paf 1987: test -n "$CXX" && break
1988: done
1989: fi
1990: if test -z "$CXX"; then
1991: ac_ct_CXX=$CXX
1992: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1993: do
1994: # Extract the first word of "$ac_prog", so it can be a program name with args.
1995: set dummy $ac_prog; ac_word=$2
1996: echo "$as_me:$LINENO: checking for $ac_word" >&5
1997: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1999: echo $ECHO_N "(cached) $ECHO_C" >&6
2000: else
2001: if test -n "$ac_ct_CXX"; then
2002: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2003: else
2004: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005: for as_dir in $PATH
2006: do
2007: IFS=$as_save_IFS
2008: test -z "$as_dir" && as_dir=.
2009: for ac_exec_ext in '' $ac_executable_extensions; do
2010: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011: ac_cv_prog_ac_ct_CXX="$ac_prog"
2012: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013: break 2
2014: fi
2015: done
1.1 parser 2016: done
2017:
1.10 paf 2018: fi
2019: fi
2020: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2021: if test -n "$ac_ct_CXX"; then
2022: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2023: echo "${ECHO_T}$ac_ct_CXX" >&6
2024: else
2025: echo "$as_me:$LINENO: result: no" >&5
2026: echo "${ECHO_T}no" >&6
2027: fi
1.1 parser 2028:
1.10 paf 2029: test -n "$ac_ct_CXX" && break
2030: done
2031: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1 parser 2032:
1.10 paf 2033: CXX=$ac_ct_CXX
2034: fi
1.1 parser 2035:
2036:
1.10 paf 2037: # Provide some information about the compiler.
2038: echo "$as_me:$LINENO:" \
2039: "checking for C++ compiler version" >&5
2040: ac_compiler=`set X $ac_compile; echo $2`
2041: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2042: (eval $ac_compiler --version </dev/null >&5) 2>&5
2043: ac_status=$?
2044: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045: (exit $ac_status); }
2046: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2047: (eval $ac_compiler -v </dev/null >&5) 2>&5
2048: ac_status=$?
2049: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050: (exit $ac_status); }
2051: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2052: (eval $ac_compiler -V </dev/null >&5) 2>&5
2053: ac_status=$?
2054: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055: (exit $ac_status); }
2056:
2057: cat >conftest.$ac_ext <<_ACEOF
2058: /* confdefs.h. */
2059: _ACEOF
2060: cat confdefs.h >>conftest.$ac_ext
2061: cat >>conftest.$ac_ext <<_ACEOF
2062: /* end confdefs.h. */
2063:
2064: int
2065: main ()
2066: {
2067:
2068: ;
2069: return 0;
2070: }
2071: _ACEOF
2072: ac_clean_files_save=$ac_clean_files
2073: ac_clean_files="$ac_clean_files a.out a.exe b.out"
2074: # Try to create an executable without -o first, disregard a.out.
2075: # It will help us diagnose broken compilers, and finding out an intuition
2076: # of exeext.
1.16 paf 2077: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2078: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.10 paf 2079: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2080: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2081: (eval $ac_link_default) 2>&5
2082: ac_status=$?
2083: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084: (exit $ac_status); }; then
2085: # Find the output, starting from the most likely. This scheme is
2086: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2087: # resort.
2088:
2089: # Be careful to initialize this variable, since it used to be cached.
2090: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2091: ac_cv_exeext=
2092: # b.out is created by i960 compilers.
2093: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2094: do
2095: test -f "$ac_file" || continue
2096: case $ac_file in
2097: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.16 paf 2098: ;;
1.10 paf 2099: conftest.$ac_ext )
1.16 paf 2100: # This is the source file.
2101: ;;
1.10 paf 2102: [ab].out )
1.16 paf 2103: # We found the default executable, but exeext='' is most
2104: # certainly right.
2105: break;;
1.10 paf 2106: *.* )
1.16 paf 2107: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2108: # FIXME: I believe we export ac_cv_exeext for Libtool,
2109: # but it would be cool to find out if it's true. Does anybody
2110: # maintain Libtool? --akim.
2111: export ac_cv_exeext
2112: break;;
1.10 paf 2113: * )
1.16 paf 2114: break;;
1.10 paf 2115: esac
2116: done
2117: else
2118: echo "$as_me: failed program was:" >&5
2119: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2120:
1.10 paf 2121: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2122: See \`config.log' for more details." >&5
2123: echo "$as_me: error: C++ compiler cannot create executables
2124: See \`config.log' for more details." >&2;}
2125: { (exit 77); exit 77; }; }
2126: fi
2127:
2128: ac_exeext=$ac_cv_exeext
2129: echo "$as_me:$LINENO: result: $ac_file" >&5
2130: echo "${ECHO_T}$ac_file" >&6
2131:
2132: # Check the compiler produces executables we can run. If not, either
2133: # the compiler is broken, or we cross compile.
2134: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2135: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2136: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2137: # If not cross compiling, check that we can run a simple program.
2138: if test "$cross_compiling" != yes; then
2139: if { ac_try='./$ac_file'
2140: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2141: (eval $ac_try) 2>&5
2142: ac_status=$?
2143: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144: (exit $ac_status); }; }; then
2145: cross_compiling=no
2146: else
2147: if test "$cross_compiling" = maybe; then
2148: cross_compiling=yes
2149: else
2150: { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2151: If you meant to cross compile, use \`--host'.
2152: See \`config.log' for more details." >&5
2153: echo "$as_me: error: cannot run C++ compiled programs.
2154: If you meant to cross compile, use \`--host'.
2155: See \`config.log' for more details." >&2;}
2156: { (exit 1); exit 1; }; }
2157: fi
1.1 parser 2158: fi
1.10 paf 2159: fi
2160: echo "$as_me:$LINENO: result: yes" >&5
2161: echo "${ECHO_T}yes" >&6
2162:
2163: rm -f a.out a.exe conftest$ac_cv_exeext b.out
2164: ac_clean_files=$ac_clean_files_save
2165: # Check the compiler produces executables we can run. If not, either
2166: # the compiler is broken, or we cross compile.
2167: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2168: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2169: echo "$as_me:$LINENO: result: $cross_compiling" >&5
2170: echo "${ECHO_T}$cross_compiling" >&6
2171:
2172: echo "$as_me:$LINENO: checking for suffix of executables" >&5
2173: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2174: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2175: (eval $ac_link) 2>&5
2176: ac_status=$?
2177: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178: (exit $ac_status); }; then
2179: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2180: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2181: # work properly (i.e., refer to `conftest.exe'), while it won't with
2182: # `rm'.
2183: for ac_file in conftest.exe conftest conftest.*; do
2184: test -f "$ac_file" || continue
2185: case $ac_file in
2186: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2187: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.16 paf 2188: export ac_cv_exeext
2189: break;;
1.10 paf 2190: * ) break;;
2191: esac
2192: done
1.1 parser 2193: else
1.10 paf 2194: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2195: See \`config.log' for more details." >&5
2196: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2197: See \`config.log' for more details." >&2;}
2198: { (exit 1); exit 1; }; }
2199: fi
2200:
2201: rm -f conftest$ac_cv_exeext
2202: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2203: echo "${ECHO_T}$ac_cv_exeext" >&6
2204:
2205: rm -f conftest.$ac_ext
2206: EXEEXT=$ac_cv_exeext
2207: ac_exeext=$EXEEXT
2208: echo "$as_me:$LINENO: checking for suffix of object files" >&5
2209: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2210: if test "${ac_cv_objext+set}" = set; then
2211: echo $ECHO_N "(cached) $ECHO_C" >&6
2212: else
2213: cat >conftest.$ac_ext <<_ACEOF
2214: /* confdefs.h. */
2215: _ACEOF
2216: cat confdefs.h >>conftest.$ac_ext
2217: cat >>conftest.$ac_ext <<_ACEOF
2218: /* end confdefs.h. */
2219:
2220: int
2221: main ()
2222: {
2223:
2224: ;
2225: return 0;
2226: }
2227: _ACEOF
2228: rm -f conftest.o conftest.obj
2229: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2230: (eval $ac_compile) 2>&5
2231: ac_status=$?
2232: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233: (exit $ac_status); }; then
2234: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2235: case $ac_file in
2236: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2237: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2238: break;;
2239: esac
2240: done
1.1 parser 2241: else
1.10 paf 2242: echo "$as_me: failed program was:" >&5
2243: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2244:
1.10 paf 2245: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2246: See \`config.log' for more details." >&5
2247: echo "$as_me: error: cannot compute suffix of object files: cannot compile
2248: See \`config.log' for more details." >&2;}
2249: { (exit 1); exit 1; }; }
2250: fi
2251:
2252: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2253: fi
2254: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2255: echo "${ECHO_T}$ac_cv_objext" >&6
2256: OBJEXT=$ac_cv_objext
2257: ac_objext=$OBJEXT
2258: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2259: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2260: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2261: echo $ECHO_N "(cached) $ECHO_C" >&6
2262: else
2263: cat >conftest.$ac_ext <<_ACEOF
2264: /* confdefs.h. */
2265: _ACEOF
2266: cat confdefs.h >>conftest.$ac_ext
2267: cat >>conftest.$ac_ext <<_ACEOF
2268: /* end confdefs.h. */
2269:
2270: int
2271: main ()
2272: {
2273: #ifndef __GNUC__
2274: choke me
2275: #endif
1.1 parser 2276:
1.10 paf 2277: ;
2278: return 0;
2279: }
2280: _ACEOF
2281: rm -f conftest.$ac_objext
2282: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 2283: (eval $ac_compile) 2>conftest.er1
1.10 paf 2284: ac_status=$?
1.16 paf 2285: grep -v '^ *+' conftest.er1 >conftest.err
2286: rm -f conftest.er1
2287: cat conftest.err >&5
1.10 paf 2288: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289: (exit $ac_status); } &&
1.16 paf 2290: { ac_try='test -z "$ac_cxx_werror_flag"
2291: || test ! -s conftest.err'
2292: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293: (eval $ac_try) 2>&5
2294: ac_status=$?
2295: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296: (exit $ac_status); }; } &&
2297: { ac_try='test -s conftest.$ac_objext'
1.10 paf 2298: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299: (eval $ac_try) 2>&5
2300: ac_status=$?
2301: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302: (exit $ac_status); }; }; then
2303: ac_compiler_gnu=yes
2304: else
2305: echo "$as_me: failed program was:" >&5
2306: sed 's/^/| /' conftest.$ac_ext >&5
2307:
2308: ac_compiler_gnu=no
2309: fi
1.16 paf 2310: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 2311: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2312:
2313: fi
2314: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2315: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2316: GXX=`test $ac_compiler_gnu = yes && echo yes`
2317: ac_test_CXXFLAGS=${CXXFLAGS+set}
2318: ac_save_CXXFLAGS=$CXXFLAGS
2319: CXXFLAGS="-g"
2320: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2321: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2322: if test "${ac_cv_prog_cxx_g+set}" = set; then
2323: echo $ECHO_N "(cached) $ECHO_C" >&6
2324: else
2325: cat >conftest.$ac_ext <<_ACEOF
2326: /* confdefs.h. */
2327: _ACEOF
2328: cat confdefs.h >>conftest.$ac_ext
2329: cat >>conftest.$ac_ext <<_ACEOF
2330: /* end confdefs.h. */
2331:
2332: int
2333: main ()
2334: {
2335:
2336: ;
2337: return 0;
2338: }
2339: _ACEOF
2340: rm -f conftest.$ac_objext
2341: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 2342: (eval $ac_compile) 2>conftest.er1
1.10 paf 2343: ac_status=$?
1.16 paf 2344: grep -v '^ *+' conftest.er1 >conftest.err
2345: rm -f conftest.er1
2346: cat conftest.err >&5
1.10 paf 2347: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348: (exit $ac_status); } &&
1.16 paf 2349: { ac_try='test -z "$ac_cxx_werror_flag"
2350: || test ! -s conftest.err'
2351: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352: (eval $ac_try) 2>&5
2353: ac_status=$?
2354: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355: (exit $ac_status); }; } &&
2356: { ac_try='test -s conftest.$ac_objext'
1.10 paf 2357: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358: (eval $ac_try) 2>&5
2359: ac_status=$?
2360: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361: (exit $ac_status); }; }; then
2362: ac_cv_prog_cxx_g=yes
1.1 parser 2363: else
1.10 paf 2364: echo "$as_me: failed program was:" >&5
2365: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2366:
1.10 paf 2367: ac_cv_prog_cxx_g=no
1.1 parser 2368: fi
1.16 paf 2369: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 parser 2370: fi
1.10 paf 2371: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2372: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1 parser 2373: if test "$ac_test_CXXFLAGS" = set; then
1.10 paf 2374: CXXFLAGS=$ac_save_CXXFLAGS
1.1 parser 2375: elif test $ac_cv_prog_cxx_g = yes; then
2376: if test "$GXX" = yes; then
2377: CXXFLAGS="-g -O2"
2378: else
2379: CXXFLAGS="-g"
2380: fi
2381: else
2382: if test "$GXX" = yes; then
2383: CXXFLAGS="-O2"
2384: else
2385: CXXFLAGS=
2386: fi
2387: fi
1.10 paf 2388: for ac_declaration in \
1.16 paf 2389: '' \
1.10 paf 2390: 'extern "C" void std::exit (int) throw (); using std::exit;' \
2391: 'extern "C" void std::exit (int); using std::exit;' \
2392: 'extern "C" void exit (int) throw ();' \
2393: 'extern "C" void exit (int);' \
2394: 'void exit (int);'
2395: do
2396: cat >conftest.$ac_ext <<_ACEOF
2397: /* confdefs.h. */
2398: _ACEOF
2399: cat confdefs.h >>conftest.$ac_ext
2400: cat >>conftest.$ac_ext <<_ACEOF
2401: /* end confdefs.h. */
1.16 paf 2402: $ac_declaration
1.10 paf 2403: #include <stdlib.h>
2404: int
2405: main ()
2406: {
2407: exit (42);
2408: ;
2409: return 0;
2410: }
2411: _ACEOF
2412: rm -f conftest.$ac_objext
2413: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 2414: (eval $ac_compile) 2>conftest.er1
1.10 paf 2415: ac_status=$?
1.16 paf 2416: grep -v '^ *+' conftest.er1 >conftest.err
2417: rm -f conftest.er1
2418: cat conftest.err >&5
1.10 paf 2419: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420: (exit $ac_status); } &&
1.16 paf 2421: { ac_try='test -z "$ac_cxx_werror_flag"
2422: || test ! -s conftest.err'
2423: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424: (eval $ac_try) 2>&5
2425: ac_status=$?
2426: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427: (exit $ac_status); }; } &&
2428: { ac_try='test -s conftest.$ac_objext'
1.10 paf 2429: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430: (eval $ac_try) 2>&5
2431: ac_status=$?
2432: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433: (exit $ac_status); }; }; then
2434: :
2435: else
2436: echo "$as_me: failed program was:" >&5
2437: sed 's/^/| /' conftest.$ac_ext >&5
2438:
2439: continue
2440: fi
1.16 paf 2441: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 2442: cat >conftest.$ac_ext <<_ACEOF
2443: /* confdefs.h. */
2444: _ACEOF
2445: cat confdefs.h >>conftest.$ac_ext
2446: cat >>conftest.$ac_ext <<_ACEOF
2447: /* end confdefs.h. */
2448: $ac_declaration
2449: int
2450: main ()
2451: {
2452: exit (42);
2453: ;
2454: return 0;
2455: }
2456: _ACEOF
2457: rm -f conftest.$ac_objext
2458: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 2459: (eval $ac_compile) 2>conftest.er1
1.10 paf 2460: ac_status=$?
1.16 paf 2461: grep -v '^ *+' conftest.er1 >conftest.err
2462: rm -f conftest.er1
2463: cat conftest.err >&5
1.10 paf 2464: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465: (exit $ac_status); } &&
1.16 paf 2466: { ac_try='test -z "$ac_cxx_werror_flag"
2467: || test ! -s conftest.err'
2468: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469: (eval $ac_try) 2>&5
2470: ac_status=$?
2471: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472: (exit $ac_status); }; } &&
2473: { ac_try='test -s conftest.$ac_objext'
1.10 paf 2474: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475: (eval $ac_try) 2>&5
2476: ac_status=$?
2477: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478: (exit $ac_status); }; }; then
2479: break
2480: else
2481: echo "$as_me: failed program was:" >&5
2482: sed 's/^/| /' conftest.$ac_ext >&5
2483:
2484: fi
1.16 paf 2485: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 2486: done
2487: rm -f conftest*
2488: if test -n "$ac_declaration"; then
2489: echo '#ifdef __cplusplus' >>confdefs.h
2490: echo $ac_declaration >>confdefs.h
2491: echo '#endif' >>confdefs.h
2492: fi
2493:
1.15 paf 2494: ac_ext=c
2495: ac_cpp='$CPP $CPPFLAGS'
2496: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2497: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2498: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.16 paf 2499: DEPDIR="${am__leading_dot}deps"
1.10 paf 2500:
2501: ac_config_commands="$ac_config_commands depfiles"
2502:
2503:
2504: am_make=${MAKE-make}
2505: cat > confinc << 'END'
1.16 paf 2506: am__doit:
1.10 paf 2507: @echo done
1.16 paf 2508: .PHONY: am__doit
1.10 paf 2509: END
2510: # If we don't find an include directive, just comment out the code.
2511: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2512: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2513: am__include="#"
2514: am__quote=
2515: _am_result=none
2516: # First try GNU make style include.
2517: echo "include confinc" > confmf
2518: # We grep out `Entering directory' and `Leaving directory'
2519: # messages which can occur if `w' ends up in MAKEFLAGS.
2520: # In particular we don't look at `^make:' because GNU make might
2521: # be invoked under some other name (usually "gmake"), in which
2522: # case it prints its new name instead of `make'.
2523: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2524: am__include=include
2525: am__quote=
2526: _am_result=GNU
2527: fi
2528: # Now try BSD make style include.
2529: if test "$am__include" = "#"; then
2530: echo '.include "confinc"' > confmf
2531: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2532: am__include=.include
2533: am__quote="\""
2534: _am_result=BSD
2535: fi
2536: fi
2537:
2538:
2539: echo "$as_me:$LINENO: result: $_am_result" >&5
2540: echo "${ECHO_T}$_am_result" >&6
2541: rm -f confinc confmf
2542:
2543: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2544: if test "${enable_dependency_tracking+set}" = set; then
2545: enableval="$enable_dependency_tracking"
2546:
2547: fi;
2548: if test "x$enable_dependency_tracking" != xno; then
2549: am_depcomp="$ac_aux_dir/depcomp"
2550: AMDEPBACKSLASH='\'
2551: fi
2552:
2553:
2554: if test "x$enable_dependency_tracking" != xno; then
2555: AMDEP_TRUE=
2556: AMDEP_FALSE='#'
2557: else
2558: AMDEP_TRUE='#'
2559: AMDEP_FALSE=
2560: fi
2561:
2562:
2563:
2564:
2565: depcc="$CXX" am_compiler_list=
2566:
2567: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2568: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2569: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2570: echo $ECHO_N "(cached) $ECHO_C" >&6
2571: else
2572: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2573: # We make a subdir and do the tests there. Otherwise we can end up
2574: # making bogus files that we don't know about and never remove. For
2575: # instance it was reported that on HP-UX the gcc test will end up
2576: # making a dummy file named `D' -- because `-MD' means `put the output
2577: # in D'.
2578: mkdir conftest.dir
2579: # Copy depcomp to subdir because otherwise we won't find it if we're
2580: # using a relative directory.
2581: cp "$am_depcomp" conftest.dir
2582: cd conftest.dir
1.16 paf 2583: # We will build objects and dependencies in a subdirectory because
2584: # it helps to detect inapplicable dependency modes. For instance
2585: # both Tru64's cc and ICC support -MD to output dependencies as a
2586: # side effect of compilation, but ICC will put the dependencies in
2587: # the current directory while Tru64 will put them in the object
2588: # directory.
2589: mkdir sub
1.10 paf 2590:
2591: am_cv_CXX_dependencies_compiler_type=none
2592: if test "$am_compiler_list" = ""; then
2593: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2594: fi
2595: for depmode in $am_compiler_list; do
1.16 paf 2596: # Setup a source with many dependencies, because some compilers
2597: # like to wrap large dependency lists on column 80 (with \), and
2598: # we should not choose a depcomp mode which is confused by this.
2599: #
1.10 paf 2600: # We need to recreate these files for each test, as the compiler may
2601: # overwrite some of them when testing with obscure command lines.
2602: # This happens at least with the AIX C compiler.
1.16 paf 2603: : > sub/conftest.c
2604: for i in 1 2 3 4 5 6; do
2605: echo '#include "conftst'$i'.h"' >> sub/conftest.c
2606: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2607: # Solaris 8's {/usr,}/bin/sh.
2608: touch sub/conftst$i.h
2609: done
2610: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.10 paf 2611:
2612: case $depmode in
2613: nosideeffect)
2614: # after this tag, mechanisms are not by side-effect, so they'll
2615: # only be used when explicitly requested
2616: if test "x$enable_dependency_tracking" = xyes; then
2617: continue
2618: else
2619: break
2620: fi
2621: ;;
2622: none) break ;;
2623: esac
2624: # We check with `-c' and `-o' for the sake of the "dashmstdout"
2625: # mode. It turns out that the SunPro C++ compiler does not properly
2626: # handle `-M -o', and we need to detect this.
2627: if depmode=$depmode \
1.16 paf 2628: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2629: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2630: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2631: >/dev/null 2>conftest.err &&
2632: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2633: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.10 paf 2634: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.16 paf 2635: # icc doesn't choke on unknown options, it will just issue warnings
2636: # or remarks (even with -Werror). So we grep stderr for any message
2637: # that says an option was ignored or not supported.
2638: # When given -MP, icc 7.0 and 7.1 complain thusly:
2639: # icc: Command line warning: ignoring option '-M'; no argument required
2640: # The diagnosis changed in icc 8.0:
2641: # icc: Command line remark: option '-MP' not supported
2642: if (grep 'ignoring option' conftest.err ||
2643: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2644: am_cv_CXX_dependencies_compiler_type=$depmode
2645: break
2646: fi
1.10 paf 2647: fi
2648: done
2649:
2650: cd ..
2651: rm -rf conftest.dir
2652: else
2653: am_cv_CXX_dependencies_compiler_type=none
2654: fi
2655:
2656: fi
2657: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2658: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2659: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2660:
2661:
2662:
2663: if
2664: test "x$enable_dependency_tracking" != xno \
2665: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2666: am__fastdepCXX_TRUE=
2667: am__fastdepCXX_FALSE='#'
2668: else
2669: am__fastdepCXX_TRUE='#'
2670: am__fastdepCXX_FALSE=
2671: fi
2672:
1.1 parser 2673:
1.10 paf 2674: ac_ext=c
2675: ac_cpp='$CPP $CPPFLAGS'
2676: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679: if test -n "$ac_tool_prefix"; then
2680: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2681: set dummy ${ac_tool_prefix}gcc; ac_word=$2
2682: echo "$as_me:$LINENO: checking for $ac_word" >&5
2683: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684: if test "${ac_cv_prog_CC+set}" = set; then
2685: echo $ECHO_N "(cached) $ECHO_C" >&6
2686: else
2687: if test -n "$CC"; then
2688: ac_cv_prog_CC="$CC" # Let the user override the test.
2689: else
2690: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691: for as_dir in $PATH
2692: do
2693: IFS=$as_save_IFS
2694: test -z "$as_dir" && as_dir=.
2695: for ac_exec_ext in '' $ac_executable_extensions; do
2696: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697: ac_cv_prog_CC="${ac_tool_prefix}gcc"
2698: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699: break 2
2700: fi
2701: done
2702: done
1.1 parser 2703:
1.10 paf 2704: fi
2705: fi
2706: CC=$ac_cv_prog_CC
2707: if test -n "$CC"; then
2708: echo "$as_me:$LINENO: result: $CC" >&5
2709: echo "${ECHO_T}$CC" >&6
2710: else
2711: echo "$as_me:$LINENO: result: no" >&5
2712: echo "${ECHO_T}no" >&6
2713: fi
1.1 parser 2714:
1.10 paf 2715: fi
2716: if test -z "$ac_cv_prog_CC"; then
2717: ac_ct_CC=$CC
2718: # Extract the first word of "gcc", so it can be a program name with args.
2719: set dummy gcc; ac_word=$2
2720: echo "$as_me:$LINENO: checking for $ac_word" >&5
2721: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2722: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2723: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2724: else
1.10 paf 2725: if test -n "$ac_ct_CC"; then
2726: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1 parser 2727: else
1.10 paf 2728: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729: for as_dir in $PATH
2730: do
2731: IFS=$as_save_IFS
2732: test -z "$as_dir" && as_dir=.
2733: for ac_exec_ext in '' $ac_executable_extensions; do
2734: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2735: ac_cv_prog_ac_ct_CC="gcc"
2736: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737: break 2
2738: fi
2739: done
2740: done
2741:
2742: fi
1.1 parser 2743: fi
1.10 paf 2744: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2745: if test -n "$ac_ct_CC"; then
2746: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2747: echo "${ECHO_T}$ac_ct_CC" >&6
2748: else
2749: echo "$as_me:$LINENO: result: no" >&5
2750: echo "${ECHO_T}no" >&6
1.1 parser 2751: fi
1.10 paf 2752:
2753: CC=$ac_ct_CC
1.1 parser 2754: else
1.10 paf 2755: CC="$ac_cv_prog_CC"
1.1 parser 2756: fi
2757:
1.10 paf 2758: if test -z "$CC"; then
2759: if test -n "$ac_tool_prefix"; then
2760: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2761: set dummy ${ac_tool_prefix}cc; ac_word=$2
2762: echo "$as_me:$LINENO: checking for $ac_word" >&5
2763: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2764: if test "${ac_cv_prog_CC+set}" = set; then
2765: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2766: else
2767: if test -n "$CC"; then
2768: ac_cv_prog_CC="$CC" # Let the user override the test.
2769: else
1.10 paf 2770: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771: for as_dir in $PATH
2772: do
2773: IFS=$as_save_IFS
2774: test -z "$as_dir" && as_dir=.
2775: for ac_exec_ext in '' $ac_executable_extensions; do
2776: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2777: ac_cv_prog_CC="${ac_tool_prefix}cc"
2778: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2779: break 2
2780: fi
2781: done
2782: done
2783:
1.1 parser 2784: fi
2785: fi
1.10 paf 2786: CC=$ac_cv_prog_CC
1.1 parser 2787: if test -n "$CC"; then
1.10 paf 2788: echo "$as_me:$LINENO: result: $CC" >&5
2789: echo "${ECHO_T}$CC" >&6
2790: else
2791: echo "$as_me:$LINENO: result: no" >&5
2792: echo "${ECHO_T}no" >&6
2793: fi
2794:
2795: fi
2796: if test -z "$ac_cv_prog_CC"; then
2797: ac_ct_CC=$CC
2798: # Extract the first word of "cc", so it can be a program name with args.
2799: set dummy cc; ac_word=$2
2800: echo "$as_me:$LINENO: checking for $ac_word" >&5
2801: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2802: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2803: echo $ECHO_N "(cached) $ECHO_C" >&6
2804: else
2805: if test -n "$ac_ct_CC"; then
2806: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2807: else
2808: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809: for as_dir in $PATH
2810: do
2811: IFS=$as_save_IFS
2812: test -z "$as_dir" && as_dir=.
2813: for ac_exec_ext in '' $ac_executable_extensions; do
2814: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815: ac_cv_prog_ac_ct_CC="cc"
2816: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2817: break 2
2818: fi
2819: done
2820: done
2821:
2822: fi
2823: fi
2824: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2825: if test -n "$ac_ct_CC"; then
2826: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2827: echo "${ECHO_T}$ac_ct_CC" >&6
1.1 parser 2828: else
1.10 paf 2829: echo "$as_me:$LINENO: result: no" >&5
2830: echo "${ECHO_T}no" >&6
1.1 parser 2831: fi
2832:
1.10 paf 2833: CC=$ac_ct_CC
2834: else
2835: CC="$ac_cv_prog_CC"
2836: fi
2837:
2838: fi
1.1 parser 2839: if test -z "$CC"; then
2840: # Extract the first word of "cc", so it can be a program name with args.
2841: set dummy cc; ac_word=$2
1.10 paf 2842: echo "$as_me:$LINENO: checking for $ac_word" >&5
2843: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2844: if test "${ac_cv_prog_CC+set}" = set; then
2845: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2846: else
2847: if test -n "$CC"; then
2848: ac_cv_prog_CC="$CC" # Let the user override the test.
2849: else
2850: ac_prog_rejected=no
1.10 paf 2851: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852: for as_dir in $PATH
2853: do
2854: IFS=$as_save_IFS
2855: test -z "$as_dir" && as_dir=.
2856: for ac_exec_ext in '' $ac_executable_extensions; do
2857: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2858: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2859: ac_prog_rejected=yes
2860: continue
2861: fi
2862: ac_cv_prog_CC="cc"
2863: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2864: break 2
2865: fi
2866: done
2867: done
2868:
1.1 parser 2869: if test $ac_prog_rejected = yes; then
2870: # We found a bogon in the path, so make sure we never use it.
2871: set dummy $ac_cv_prog_CC
2872: shift
1.10 paf 2873: if test $# != 0; then
1.1 parser 2874: # We chose a different compiler from the bogus one.
2875: # However, it has the same basename, so the bogon will be chosen
2876: # first if we set CC to just the basename; use the full file name.
2877: shift
1.10 paf 2878: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1 parser 2879: fi
2880: fi
2881: fi
2882: fi
1.10 paf 2883: CC=$ac_cv_prog_CC
1.1 parser 2884: if test -n "$CC"; then
1.10 paf 2885: echo "$as_me:$LINENO: result: $CC" >&5
2886: echo "${ECHO_T}$CC" >&6
1.1 parser 2887: else
1.10 paf 2888: echo "$as_me:$LINENO: result: no" >&5
2889: echo "${ECHO_T}no" >&6
1.1 parser 2890: fi
2891:
1.10 paf 2892: fi
2893: if test -z "$CC"; then
2894: if test -n "$ac_tool_prefix"; then
2895: for ac_prog in cl
2896: do
2897: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2898: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2899: echo "$as_me:$LINENO: checking for $ac_word" >&5
2900: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2901: if test "${ac_cv_prog_CC+set}" = set; then
2902: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2903: else
2904: if test -n "$CC"; then
2905: ac_cv_prog_CC="$CC" # Let the user override the test.
2906: else
1.10 paf 2907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908: for as_dir in $PATH
2909: do
2910: IFS=$as_save_IFS
2911: test -z "$as_dir" && as_dir=.
2912: for ac_exec_ext in '' $ac_executable_extensions; do
2913: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2914: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2915: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2916: break 2
2917: fi
2918: done
2919: done
2920:
1.1 parser 2921: fi
2922: fi
1.10 paf 2923: CC=$ac_cv_prog_CC
1.1 parser 2924: if test -n "$CC"; then
1.10 paf 2925: echo "$as_me:$LINENO: result: $CC" >&5
2926: echo "${ECHO_T}$CC" >&6
1.1 parser 2927: else
1.10 paf 2928: echo "$as_me:$LINENO: result: no" >&5
2929: echo "${ECHO_T}no" >&6
2930: fi
2931:
2932: test -n "$CC" && break
2933: done
1.1 parser 2934: fi
1.10 paf 2935: if test -z "$CC"; then
2936: ac_ct_CC=$CC
2937: for ac_prog in cl
2938: do
2939: # Extract the first word of "$ac_prog", so it can be a program name with args.
2940: set dummy $ac_prog; ac_word=$2
2941: echo "$as_me:$LINENO: checking for $ac_word" >&5
2942: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2943: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2944: echo $ECHO_N "(cached) $ECHO_C" >&6
2945: else
2946: if test -n "$ac_ct_CC"; then
2947: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2948: else
2949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950: for as_dir in $PATH
2951: do
2952: IFS=$as_save_IFS
2953: test -z "$as_dir" && as_dir=.
2954: for ac_exec_ext in '' $ac_executable_extensions; do
2955: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956: ac_cv_prog_ac_ct_CC="$ac_prog"
2957: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2958: break 2
1.1 parser 2959: fi
1.10 paf 2960: done
2961: done
2962:
2963: fi
2964: fi
2965: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2966: if test -n "$ac_ct_CC"; then
2967: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2968: echo "${ECHO_T}$ac_ct_CC" >&6
2969: else
2970: echo "$as_me:$LINENO: result: no" >&5
2971: echo "${ECHO_T}no" >&6
1.1 parser 2972: fi
2973:
1.10 paf 2974: test -n "$ac_ct_CC" && break
2975: done
1.1 parser 2976:
1.10 paf 2977: CC=$ac_ct_CC
2978: fi
1.1 parser 2979:
1.10 paf 2980: fi
1.1 parser 2981:
2982:
1.10 paf 2983: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2984: See \`config.log' for more details." >&5
2985: echo "$as_me: error: no acceptable C compiler found in \$PATH
2986: See \`config.log' for more details." >&2;}
2987: { (exit 1); exit 1; }; }
2988:
2989: # Provide some information about the compiler.
2990: echo "$as_me:$LINENO:" \
2991: "checking for C compiler version" >&5
2992: ac_compiler=`set X $ac_compile; echo $2`
2993: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2994: (eval $ac_compiler --version </dev/null >&5) 2>&5
2995: ac_status=$?
2996: echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997: (exit $ac_status); }
2998: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2999: (eval $ac_compiler -v </dev/null >&5) 2>&5
3000: ac_status=$?
3001: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002: (exit $ac_status); }
3003: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3004: (eval $ac_compiler -V </dev/null >&5) 2>&5
3005: ac_status=$?
3006: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007: (exit $ac_status); }
3008:
3009: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3010: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3011: if test "${ac_cv_c_compiler_gnu+set}" = set; then
3012: echo $ECHO_N "(cached) $ECHO_C" >&6
3013: else
3014: cat >conftest.$ac_ext <<_ACEOF
3015: /* confdefs.h. */
3016: _ACEOF
3017: cat confdefs.h >>conftest.$ac_ext
3018: cat >>conftest.$ac_ext <<_ACEOF
3019: /* end confdefs.h. */
3020:
3021: int
3022: main ()
3023: {
3024: #ifndef __GNUC__
3025: choke me
1.1 parser 3026: #endif
3027:
1.10 paf 3028: ;
3029: return 0;
3030: }
3031: _ACEOF
3032: rm -f conftest.$ac_objext
3033: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 3034: (eval $ac_compile) 2>conftest.er1
1.10 paf 3035: ac_status=$?
1.16 paf 3036: grep -v '^ *+' conftest.er1 >conftest.err
3037: rm -f conftest.er1
3038: cat conftest.err >&5
1.10 paf 3039: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040: (exit $ac_status); } &&
1.16 paf 3041: { ac_try='test -z "$ac_c_werror_flag"
3042: || test ! -s conftest.err'
3043: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044: (eval $ac_try) 2>&5
3045: ac_status=$?
3046: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047: (exit $ac_status); }; } &&
3048: { ac_try='test -s conftest.$ac_objext'
1.10 paf 3049: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050: (eval $ac_try) 2>&5
3051: ac_status=$?
3052: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053: (exit $ac_status); }; }; then
3054: ac_compiler_gnu=yes
3055: else
3056: echo "$as_me: failed program was:" >&5
3057: sed 's/^/| /' conftest.$ac_ext >&5
3058:
3059: ac_compiler_gnu=no
3060: fi
1.16 paf 3061: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 3062: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3063:
3064: fi
3065: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3066: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3067: GCC=`test $ac_compiler_gnu = yes && echo yes`
3068: ac_test_CFLAGS=${CFLAGS+set}
3069: ac_save_CFLAGS=$CFLAGS
3070: CFLAGS="-g"
3071: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3072: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3073: if test "${ac_cv_prog_cc_g+set}" = set; then
3074: echo $ECHO_N "(cached) $ECHO_C" >&6
3075: else
3076: cat >conftest.$ac_ext <<_ACEOF
3077: /* confdefs.h. */
3078: _ACEOF
3079: cat confdefs.h >>conftest.$ac_ext
3080: cat >>conftest.$ac_ext <<_ACEOF
3081: /* end confdefs.h. */
3082:
3083: int
3084: main ()
3085: {
3086:
3087: ;
3088: return 0;
3089: }
3090: _ACEOF
3091: rm -f conftest.$ac_objext
3092: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 3093: (eval $ac_compile) 2>conftest.er1
1.10 paf 3094: ac_status=$?
1.16 paf 3095: grep -v '^ *+' conftest.er1 >conftest.err
3096: rm -f conftest.er1
3097: cat conftest.err >&5
1.10 paf 3098: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099: (exit $ac_status); } &&
1.16 paf 3100: { ac_try='test -z "$ac_c_werror_flag"
3101: || test ! -s conftest.err'
3102: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103: (eval $ac_try) 2>&5
3104: ac_status=$?
3105: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106: (exit $ac_status); }; } &&
3107: { ac_try='test -s conftest.$ac_objext'
1.10 paf 3108: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109: (eval $ac_try) 2>&5
3110: ac_status=$?
3111: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112: (exit $ac_status); }; }; then
3113: ac_cv_prog_cc_g=yes
1.1 parser 3114: else
1.10 paf 3115: echo "$as_me: failed program was:" >&5
3116: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 3117:
1.10 paf 3118: ac_cv_prog_cc_g=no
1.1 parser 3119: fi
1.16 paf 3120: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 parser 3121: fi
1.10 paf 3122: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3123: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1 parser 3124: if test "$ac_test_CFLAGS" = set; then
1.10 paf 3125: CFLAGS=$ac_save_CFLAGS
1.1 parser 3126: elif test $ac_cv_prog_cc_g = yes; then
3127: if test "$GCC" = yes; then
3128: CFLAGS="-g -O2"
3129: else
3130: CFLAGS="-g"
3131: fi
3132: else
3133: if test "$GCC" = yes; then
3134: CFLAGS="-O2"
3135: else
3136: CFLAGS=
3137: fi
3138: fi
1.10 paf 3139: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3140: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3141: if test "${ac_cv_prog_cc_stdc+set}" = set; then
3142: echo $ECHO_N "(cached) $ECHO_C" >&6
3143: else
3144: ac_cv_prog_cc_stdc=no
3145: ac_save_CC=$CC
3146: cat >conftest.$ac_ext <<_ACEOF
3147: /* confdefs.h. */
3148: _ACEOF
3149: cat confdefs.h >>conftest.$ac_ext
3150: cat >>conftest.$ac_ext <<_ACEOF
3151: /* end confdefs.h. */
3152: #include <stdarg.h>
3153: #include <stdio.h>
3154: #include <sys/types.h>
3155: #include <sys/stat.h>
3156: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3157: struct buf { int x; };
3158: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3159: static char *e (p, i)
3160: char **p;
3161: int i;
3162: {
3163: return p[i];
3164: }
3165: static char *f (char * (*g) (char **, int), char **p, ...)
3166: {
3167: char *s;
3168: va_list v;
3169: va_start (v,p);
3170: s = g (p, va_arg (v,int));
3171: va_end (v);
3172: return s;
3173: }
1.16 paf 3174:
3175: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3176: function prototypes and stuff, but not '\xHH' hex character constants.
3177: These don't provoke an error unfortunately, instead are silently treated
3178: as 'x'. The following induces an error, until -std1 is added to get
3179: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3180: array size at least. It's necessary to write '\x00'==0 to get something
3181: that's true only with -std1. */
3182: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3183:
1.10 paf 3184: int test (int i, double x);
3185: struct s1 {int (*f) (int a);};
3186: struct s2 {int (*f) (double a);};
3187: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3188: int argc;
3189: char **argv;
3190: int
3191: main ()
3192: {
3193: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3194: ;
3195: return 0;
3196: }
3197: _ACEOF
3198: # Don't try gcc -ansi; that turns off useful extensions and
3199: # breaks some systems' header files.
3200: # AIX -qlanglvl=ansi
3201: # Ultrix and OSF/1 -std1
3202: # HP-UX 10.20 and later -Ae
3203: # HP-UX older versions -Aa -D_HPUX_SOURCE
3204: # SVR4 -Xc -D__EXTENSIONS__
3205: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3206: do
3207: CC="$ac_save_CC $ac_arg"
3208: rm -f conftest.$ac_objext
3209: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 3210: (eval $ac_compile) 2>conftest.er1
1.10 paf 3211: ac_status=$?
1.16 paf 3212: grep -v '^ *+' conftest.er1 >conftest.err
3213: rm -f conftest.er1
3214: cat conftest.err >&5
1.10 paf 3215: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216: (exit $ac_status); } &&
1.16 paf 3217: { ac_try='test -z "$ac_c_werror_flag"
3218: || test ! -s conftest.err'
3219: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220: (eval $ac_try) 2>&5
3221: ac_status=$?
3222: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223: (exit $ac_status); }; } &&
3224: { ac_try='test -s conftest.$ac_objext'
1.10 paf 3225: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226: (eval $ac_try) 2>&5
3227: ac_status=$?
3228: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229: (exit $ac_status); }; }; then
3230: ac_cv_prog_cc_stdc=$ac_arg
3231: break
3232: else
3233: echo "$as_me: failed program was:" >&5
3234: sed 's/^/| /' conftest.$ac_ext >&5
3235:
3236: fi
1.16 paf 3237: rm -f conftest.err conftest.$ac_objext
1.10 paf 3238: done
3239: rm -f conftest.$ac_ext conftest.$ac_objext
3240: CC=$ac_save_CC
3241:
3242: fi
3243:
3244: case "x$ac_cv_prog_cc_stdc" in
3245: x|xno)
3246: echo "$as_me:$LINENO: result: none needed" >&5
3247: echo "${ECHO_T}none needed" >&6 ;;
3248: *)
3249: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3250: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3251: CC="$CC $ac_cv_prog_cc_stdc" ;;
3252: esac
3253:
3254: # Some people use a C++ compiler to compile C. Since we use `exit',
3255: # in C++ we need to declare it. In case someone uses the same compiler
3256: # for both compiling C and C++ we need to have the C++ compiler decide
3257: # the declaration of exit, since it's the most demanding environment.
3258: cat >conftest.$ac_ext <<_ACEOF
3259: #ifndef __cplusplus
3260: choke me
3261: #endif
3262: _ACEOF
3263: rm -f conftest.$ac_objext
3264: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 3265: (eval $ac_compile) 2>conftest.er1
1.10 paf 3266: ac_status=$?
1.16 paf 3267: grep -v '^ *+' conftest.er1 >conftest.err
3268: rm -f conftest.er1
3269: cat conftest.err >&5
1.10 paf 3270: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271: (exit $ac_status); } &&
1.16 paf 3272: { ac_try='test -z "$ac_c_werror_flag"
3273: || test ! -s conftest.err'
3274: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275: (eval $ac_try) 2>&5
3276: ac_status=$?
3277: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278: (exit $ac_status); }; } &&
3279: { ac_try='test -s conftest.$ac_objext'
1.10 paf 3280: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281: (eval $ac_try) 2>&5
3282: ac_status=$?
3283: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284: (exit $ac_status); }; }; then
3285: for ac_declaration in \
1.16 paf 3286: '' \
1.10 paf 3287: 'extern "C" void std::exit (int) throw (); using std::exit;' \
3288: 'extern "C" void std::exit (int); using std::exit;' \
3289: 'extern "C" void exit (int) throw ();' \
3290: 'extern "C" void exit (int);' \
3291: 'void exit (int);'
3292: do
3293: cat >conftest.$ac_ext <<_ACEOF
3294: /* confdefs.h. */
3295: _ACEOF
3296: cat confdefs.h >>conftest.$ac_ext
3297: cat >>conftest.$ac_ext <<_ACEOF
3298: /* end confdefs.h. */
1.16 paf 3299: $ac_declaration
1.10 paf 3300: #include <stdlib.h>
3301: int
3302: main ()
3303: {
3304: exit (42);
3305: ;
3306: return 0;
3307: }
3308: _ACEOF
3309: rm -f conftest.$ac_objext
3310: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 3311: (eval $ac_compile) 2>conftest.er1
1.10 paf 3312: ac_status=$?
1.16 paf 3313: grep -v '^ *+' conftest.er1 >conftest.err
3314: rm -f conftest.er1
3315: cat conftest.err >&5
1.10 paf 3316: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317: (exit $ac_status); } &&
1.16 paf 3318: { ac_try='test -z "$ac_c_werror_flag"
3319: || test ! -s conftest.err'
3320: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321: (eval $ac_try) 2>&5
3322: ac_status=$?
3323: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324: (exit $ac_status); }; } &&
3325: { ac_try='test -s conftest.$ac_objext'
1.10 paf 3326: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327: (eval $ac_try) 2>&5
3328: ac_status=$?
3329: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330: (exit $ac_status); }; }; then
3331: :
3332: else
3333: echo "$as_me: failed program was:" >&5
3334: sed 's/^/| /' conftest.$ac_ext >&5
3335:
3336: continue
3337: fi
1.16 paf 3338: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 3339: cat >conftest.$ac_ext <<_ACEOF
3340: /* confdefs.h. */
3341: _ACEOF
3342: cat confdefs.h >>conftest.$ac_ext
3343: cat >>conftest.$ac_ext <<_ACEOF
3344: /* end confdefs.h. */
3345: $ac_declaration
3346: int
3347: main ()
3348: {
3349: exit (42);
3350: ;
3351: return 0;
3352: }
3353: _ACEOF
3354: rm -f conftest.$ac_objext
3355: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 3356: (eval $ac_compile) 2>conftest.er1
1.10 paf 3357: ac_status=$?
1.16 paf 3358: grep -v '^ *+' conftest.er1 >conftest.err
3359: rm -f conftest.er1
3360: cat conftest.err >&5
1.10 paf 3361: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362: (exit $ac_status); } &&
1.16 paf 3363: { ac_try='test -z "$ac_c_werror_flag"
3364: || test ! -s conftest.err'
3365: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366: (eval $ac_try) 2>&5
3367: ac_status=$?
3368: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369: (exit $ac_status); }; } &&
3370: { ac_try='test -s conftest.$ac_objext'
1.10 paf 3371: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372: (eval $ac_try) 2>&5
3373: ac_status=$?
3374: echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375: (exit $ac_status); }; }; then
3376: break
3377: else
3378: echo "$as_me: failed program was:" >&5
3379: sed 's/^/| /' conftest.$ac_ext >&5
3380:
3381: fi
1.16 paf 3382: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 3383: done
3384: rm -f conftest*
3385: if test -n "$ac_declaration"; then
3386: echo '#ifdef __cplusplus' >>confdefs.h
3387: echo $ac_declaration >>confdefs.h
3388: echo '#endif' >>confdefs.h
3389: fi
3390:
3391: else
3392: echo "$as_me: failed program was:" >&5
3393: sed 's/^/| /' conftest.$ac_ext >&5
3394:
3395: fi
1.16 paf 3396: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15 paf 3397: ac_ext=c
3398: ac_cpp='$CPP $CPPFLAGS'
3399: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10 paf 3402:
3403: depcc="$CC" am_compiler_list=
3404:
3405: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3406: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3407: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3408: echo $ECHO_N "(cached) $ECHO_C" >&6
3409: else
3410: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3411: # We make a subdir and do the tests there. Otherwise we can end up
3412: # making bogus files that we don't know about and never remove. For
3413: # instance it was reported that on HP-UX the gcc test will end up
3414: # making a dummy file named `D' -- because `-MD' means `put the output
3415: # in D'.
3416: mkdir conftest.dir
3417: # Copy depcomp to subdir because otherwise we won't find it if we're
3418: # using a relative directory.
3419: cp "$am_depcomp" conftest.dir
3420: cd conftest.dir
1.16 paf 3421: # We will build objects and dependencies in a subdirectory because
3422: # it helps to detect inapplicable dependency modes. For instance
3423: # both Tru64's cc and ICC support -MD to output dependencies as a
3424: # side effect of compilation, but ICC will put the dependencies in
3425: # the current directory while Tru64 will put them in the object
3426: # directory.
3427: mkdir sub
1.10 paf 3428:
3429: am_cv_CC_dependencies_compiler_type=none
3430: if test "$am_compiler_list" = ""; then
3431: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3432: fi
3433: for depmode in $am_compiler_list; do
1.16 paf 3434: # Setup a source with many dependencies, because some compilers
3435: # like to wrap large dependency lists on column 80 (with \), and
3436: # we should not choose a depcomp mode which is confused by this.
3437: #
1.10 paf 3438: # We need to recreate these files for each test, as the compiler may
3439: # overwrite some of them when testing with obscure command lines.
3440: # This happens at least with the AIX C compiler.
1.16 paf 3441: : > sub/conftest.c
3442: for i in 1 2 3 4 5 6; do
3443: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3444: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3445: # Solaris 8's {/usr,}/bin/sh.
3446: touch sub/conftst$i.h
3447: done
3448: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.10 paf 3449:
3450: case $depmode in
3451: nosideeffect)
3452: # after this tag, mechanisms are not by side-effect, so they'll
3453: # only be used when explicitly requested
3454: if test "x$enable_dependency_tracking" = xyes; then
3455: continue
3456: else
3457: break
3458: fi
3459: ;;
3460: none) break ;;
3461: esac
3462: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3463: # mode. It turns out that the SunPro C++ compiler does not properly
3464: # handle `-M -o', and we need to detect this.
3465: if depmode=$depmode \
1.16 paf 3466: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3467: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3468: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3469: >/dev/null 2>conftest.err &&
3470: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3471: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.10 paf 3472: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.16 paf 3473: # icc doesn't choke on unknown options, it will just issue warnings
3474: # or remarks (even with -Werror). So we grep stderr for any message
3475: # that says an option was ignored or not supported.
3476: # When given -MP, icc 7.0 and 7.1 complain thusly:
3477: # icc: Command line warning: ignoring option '-M'; no argument required
3478: # The diagnosis changed in icc 8.0:
3479: # icc: Command line remark: option '-MP' not supported
3480: if (grep 'ignoring option' conftest.err ||
3481: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3482: am_cv_CC_dependencies_compiler_type=$depmode
3483: break
3484: fi
1.10 paf 3485: fi
3486: done
3487:
3488: cd ..
3489: rm -rf conftest.dir
3490: else
3491: am_cv_CC_dependencies_compiler_type=none
3492: fi
3493:
3494: fi
3495: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3496: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3497: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3498:
3499:
3500:
3501: if
3502: test "x$enable_dependency_tracking" != xno \
3503: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3504: am__fastdepCC_TRUE=
3505: am__fastdepCC_FALSE='#'
3506: else
3507: am__fastdepCC_TRUE='#'
3508: am__fastdepCC_FALSE=
3509: fi
3510:
3511:
1.15 paf 3512:
3513:
3514:
3515:
3516:
3517:
3518:
1.23 ! moko 3519:
! 3520:
! 3521: case `pwd` in
! 3522: *\ * | *\ *)
! 3523: { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 3524: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.15 paf 3525: esac
3526:
1.23 ! moko 3527:
! 3528:
! 3529: macro_version='2.4.2'
! 3530: macro_revision='1.3337'
! 3531:
! 3532:
! 3533:
! 3534:
! 3535:
! 3536:
! 3537:
! 3538:
! 3539:
! 3540:
! 3541:
! 3542:
! 3543:
! 3544: ltmain="$ac_aux_dir/ltmain.sh"
! 3545:
1.15 paf 3546: # Make sure we can run config.sub.
3547: $ac_config_sub sun4 >/dev/null 2>&1 ||
3548: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3549: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3550: { (exit 1); exit 1; }; }
3551:
3552: echo "$as_me:$LINENO: checking build system type" >&5
3553: echo $ECHO_N "checking build system type... $ECHO_C" >&6
3554: if test "${ac_cv_build+set}" = set; then
3555: echo $ECHO_N "(cached) $ECHO_C" >&6
3556: else
3557: ac_cv_build_alias=$build_alias
3558: test -z "$ac_cv_build_alias" &&
3559: ac_cv_build_alias=`$ac_config_guess`
3560: test -z "$ac_cv_build_alias" &&
3561: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3562: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3563: { (exit 1); exit 1; }; }
3564: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3565: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3566: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3567: { (exit 1); exit 1; }; }
3568:
3569: fi
3570: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3571: echo "${ECHO_T}$ac_cv_build" >&6
3572: build=$ac_cv_build
3573: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3574: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3575: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3576:
3577:
3578: echo "$as_me:$LINENO: checking host system type" >&5
3579: echo $ECHO_N "checking host system type... $ECHO_C" >&6
3580: if test "${ac_cv_host+set}" = set; then
3581: echo $ECHO_N "(cached) $ECHO_C" >&6
3582: else
3583: ac_cv_host_alias=$host_alias
3584: test -z "$ac_cv_host_alias" &&
3585: ac_cv_host_alias=$ac_cv_build_alias
3586: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3587: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3588: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3589: { (exit 1); exit 1; }; }
3590:
3591: fi
3592: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3593: echo "${ECHO_T}$ac_cv_host" >&6
3594: host=$ac_cv_host
3595: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3596: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3597: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3598:
3599:
1.23 ! moko 3600: # Backslashify metacharacters that are still active within
! 3601: # double-quoted strings.
! 3602: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 3603:
! 3604: # Same as above, but do not quote variable references.
! 3605: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 3606:
! 3607: # Sed substitution to delay expansion of an escaped shell variable in a
! 3608: # double_quote_subst'ed string.
! 3609: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 3610:
! 3611: # Sed substitution to delay expansion of an escaped single quote.
! 3612: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 3613:
! 3614: # Sed substitution to avoid accidental globbing in evaled expressions
! 3615: no_glob_subst='s/\*/\\\*/g'
! 3616:
! 3617: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 3618: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
! 3619: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
! 3620:
! 3621: echo "$as_me:$LINENO: checking how to print strings" >&5
! 3622: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
! 3623: # Test print first, because it will be a builtin if present.
! 3624: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
! 3625: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3626: ECHO='print -r --'
! 3627: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3628: ECHO='printf %s\n'
! 3629: else
! 3630: # Use this function as a fallback that always works.
! 3631: func_fallback_echo ()
! 3632: {
! 3633: eval 'cat <<_LTECHO_EOF
! 3634: $1
! 3635: _LTECHO_EOF'
! 3636: }
! 3637: ECHO='func_fallback_echo'
1.10 paf 3638: fi
3639:
1.23 ! moko 3640: # func_echo_all arg...
! 3641: # Invoke $ECHO with all args, space-separated.
! 3642: func_echo_all ()
! 3643: {
! 3644: $ECHO ""
! 3645: }
! 3646:
! 3647: case "$ECHO" in
! 3648: printf*) echo "$as_me:$LINENO: result: printf" >&5
! 3649: echo "${ECHO_T}printf" >&6 ;;
! 3650: print*) echo "$as_me:$LINENO: result: print -r" >&5
! 3651: echo "${ECHO_T}print -r" >&6 ;;
! 3652: *) echo "$as_me:$LINENO: result: cat" >&5
! 3653: echo "${ECHO_T}cat" >&6 ;;
! 3654: esac
! 3655:
! 3656:
! 3657:
! 3658:
! 3659:
! 3660:
! 3661:
! 3662:
! 3663:
! 3664:
! 3665:
! 3666:
! 3667:
! 3668:
! 3669: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3670: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! 3671: if test "${lt_cv_path_SED+set}" = set; then
! 3672: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3673: else
! 3674: # Loop through the user's path and test for sed and gsed.
! 3675: # Then use that list of sed's as ones to test for truncation.
! 3676: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3677: for as_dir in $PATH
! 3678: do
! 3679: IFS=$as_save_IFS
! 3680: test -z "$as_dir" && as_dir=.
! 3681: for lt_ac_prog in sed gsed; do
! 3682: for ac_exec_ext in '' $ac_executable_extensions; do
! 3683: if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
! 3684: lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
! 3685: fi
! 3686: done
! 3687: done
! 3688: done
! 3689: IFS=$as_save_IFS
! 3690: lt_ac_max=0
! 3691: lt_ac_count=0
! 3692: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 3693: # along with /bin/sed that truncates output.
! 3694: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
! 3695: test ! -f $lt_ac_sed && continue
! 3696: cat /dev/null > conftest.in
! 3697: lt_ac_count=0
! 3698: echo $ECHO_N "0123456789$ECHO_C" >conftest.in
! 3699: # Check for GNU sed and select it if it is found.
! 3700: if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
! 3701: lt_cv_path_SED=$lt_ac_sed
! 3702: break
! 3703: fi
! 3704: while true; do
! 3705: cat conftest.in conftest.in >conftest.tmp
! 3706: mv conftest.tmp conftest.in
! 3707: cp conftest.in conftest.nl
! 3708: echo >>conftest.nl
! 3709: $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
! 3710: cmp -s conftest.out conftest.nl || break
! 3711: # 10000 chars as input seems more than enough
! 3712: test $lt_ac_count -gt 10 && break
! 3713: lt_ac_count=`expr $lt_ac_count + 1`
! 3714: if test $lt_ac_count -gt $lt_ac_max; then
! 3715: lt_ac_max=$lt_ac_count
! 3716: lt_cv_path_SED=$lt_ac_sed
! 3717: fi
! 3718: done
! 3719: done
! 3720:
! 3721: fi
! 3722:
! 3723: SED=$lt_cv_path_SED
! 3724:
! 3725: echo "$as_me:$LINENO: result: $SED" >&5
! 3726: echo "${ECHO_T}$SED" >&6
! 3727:
! 3728: test -z "$SED" && SED=sed
! 3729: Xsed="$SED -e 1s/^X//"
! 3730:
! 3731:
! 3732:
! 3733:
! 3734:
! 3735:
! 3736:
! 3737:
! 3738:
! 3739:
! 3740:
! 3741: echo "$as_me:$LINENO: checking for egrep" >&5
! 3742: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 3743: if test "${ac_cv_prog_egrep+set}" = set; then
! 3744: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3745: else
! 3746: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 3747: then ac_cv_prog_egrep='grep -E'
! 3748: else ac_cv_prog_egrep='egrep'
! 3749: fi
! 3750: fi
! 3751: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 3752: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 3753: EGREP=$ac_cv_prog_egrep
! 3754:
! 3755:
! 3756: echo "$as_me:$LINENO: checking for fgrep" >&5
! 3757: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
! 3758: if test "${ac_cv_prog_fgrep+set}" = set; then
! 3759: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3760: else
! 3761: if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
! 3762: then ac_cv_prog_fgrep='grep -F'
! 3763: else ac_cv_prog_fgrep='fgrep'
! 3764: fi
! 3765: fi
! 3766: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
! 3767: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
! 3768: FGREP=$ac_cv_prog_fgrep
! 3769:
! 3770:
! 3771: test -z "$GREP" && GREP=grep
! 3772:
! 3773:
! 3774:
! 3775:
! 3776:
! 3777:
! 3778:
! 3779:
! 3780:
! 3781:
! 3782:
! 3783:
! 3784:
! 3785:
! 3786:
! 3787:
! 3788:
! 3789:
1.1 parser 3790:
3791: # Check whether --with-gnu-ld or --without-gnu-ld was given.
3792: if test "${with_gnu_ld+set}" = set; then
3793: withval="$with_gnu_ld"
3794: test "$withval" = no || with_gnu_ld=yes
3795: else
3796: with_gnu_ld=no
1.10 paf 3797: fi;
1.1 parser 3798: ac_prog=ld
1.10 paf 3799: if test "$GCC" = yes; then
1.1 parser 3800: # Check if gcc -print-prog-name=ld gives a path.
1.23 ! moko 3801: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 3802: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.10 paf 3803: case $host in
3804: *-*-mingw*)
3805: # gcc leaves a trailing carriage return which upsets mingw
3806: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3807: *)
3808: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3809: esac
3810: case $ac_prog in
1.1 parser 3811: # Accept absolute paths.
1.23 ! moko 3812: [\\/]* | ?:[\\/]*)
1.1 parser 3813: re_direlt='/[^/][^/]*/\.\./'
1.23 ! moko 3814: # Canonicalize the pathname of ld
! 3815: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 3816: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 3817: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.1 parser 3818: done
3819: test -z "$LD" && LD="$ac_prog"
3820: ;;
3821: "")
3822: # If it fails, then pretend we aren't using GCC.
3823: ac_prog=ld
3824: ;;
3825: *)
3826: # If it is relative, then search for the first ld in PATH.
3827: with_gnu_ld=unknown
3828: ;;
3829: esac
3830: elif test "$with_gnu_ld" = yes; then
1.10 paf 3831: echo "$as_me:$LINENO: checking for GNU ld" >&5
3832: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1 parser 3833: else
1.10 paf 3834: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3835: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1 parser 3836: fi
1.10 paf 3837: if test "${lt_cv_path_LD+set}" = set; then
3838: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3839: else
3840: if test -z "$LD"; then
1.23 ! moko 3841: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1 parser 3842: for ac_dir in $PATH; do
1.23 ! moko 3843: IFS="$lt_save_ifs"
1.1 parser 3844: test -z "$ac_dir" && ac_dir=.
3845: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.10 paf 3846: lt_cv_path_LD="$ac_dir/$ac_prog"
1.1 parser 3847: # Check to see if the program is GNU ld. I'd rather use --version,
1.23 ! moko 3848: # but apparently some variants of GNU ld only accept -v.
1.1 parser 3849: # Break only if it was the GNU/non-GNU ld that we prefer.
1.23 ! moko 3850: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 3851: *GNU* | *'with BFD'*)
1.1 parser 3852: test "$with_gnu_ld" != no && break
1.23 ! moko 3853: ;;
! 3854: *)
1.1 parser 3855: test "$with_gnu_ld" != yes && break
1.23 ! moko 3856: ;;
! 3857: esac
1.1 parser 3858: fi
3859: done
1.23 ! moko 3860: IFS="$lt_save_ifs"
1.1 parser 3861: else
1.10 paf 3862: lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1 parser 3863: fi
3864: fi
3865:
1.10 paf 3866: LD="$lt_cv_path_LD"
1.1 parser 3867: if test -n "$LD"; then
1.10 paf 3868: echo "$as_me:$LINENO: result: $LD" >&5
3869: echo "${ECHO_T}$LD" >&6
1.1 parser 3870: else
1.10 paf 3871: echo "$as_me:$LINENO: result: no" >&5
3872: echo "${ECHO_T}no" >&6
1.1 parser 3873: fi
1.10 paf 3874: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3875: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3876: { (exit 1); exit 1; }; }
3877: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3878: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3879: if test "${lt_cv_prog_gnu_ld+set}" = set; then
3880: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3881: else
1.23 ! moko 3882: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 3883: case `$LD -v 2>&1 </dev/null` in
! 3884: *GNU* | *'with BFD'*)
1.10 paf 3885: lt_cv_prog_gnu_ld=yes
1.23 ! moko 3886: ;;
! 3887: *)
1.10 paf 3888: lt_cv_prog_gnu_ld=no
1.23 ! moko 3889: ;;
! 3890: esac
1.1 parser 3891: fi
1.10 paf 3892: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3893: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3894: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1 parser 3895:
3896:
3897:
1.23 ! moko 3898:
! 3899:
! 3900:
! 3901:
! 3902:
! 3903:
! 3904: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
! 3905: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
1.10 paf 3906: if test "${lt_cv_path_NM+set}" = set; then
3907: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3908: else
3909: if test -n "$NM"; then
3910: # Let the user override the test.
1.10 paf 3911: lt_cv_path_NM="$NM"
1.1 parser 3912: else
1.23 ! moko 3913: lt_nm_to_check="${ac_tool_prefix}nm"
! 3914: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 3915: lt_nm_to_check="$lt_nm_to_check nm"
! 3916: fi
! 3917: for lt_tmp_nm in $lt_nm_to_check; do
! 3918: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3919: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 3920: IFS="$lt_save_ifs"
! 3921: test -z "$ac_dir" && ac_dir=.
! 3922: tmp_nm="$ac_dir/$lt_tmp_nm"
! 3923: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 3924: # Check to see if the nm accepts a BSD-compat flag.
! 3925: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 3926: # nm: unknown option "B" ignored
! 3927: # Tru64's nm complains that /dev/null is an invalid object file
! 3928: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 3929: */dev/null* | *'Invalid file or object type'*)
! 3930: lt_cv_path_NM="$tmp_nm -B"
! 3931: break
! 3932: ;;
! 3933: *)
! 3934: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 3935: */dev/null*)
! 3936: lt_cv_path_NM="$tmp_nm -p"
! 3937: break
! 3938: ;;
! 3939: *)
! 3940: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 3941: continue # so that we can try to find one that supports BSD flags
! 3942: ;;
! 3943: esac
! 3944: ;;
! 3945: esac
1.1 parser 3946: fi
1.23 ! moko 3947: done
! 3948: IFS="$lt_save_ifs"
1.1 parser 3949: done
1.23 ! moko 3950: : ${lt_cv_path_NM=no}
1.1 parser 3951: fi
3952: fi
1.23 ! moko 3953: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 3954: echo "${ECHO_T}$lt_cv_path_NM" >&6
! 3955: if test "$lt_cv_path_NM" != "no"; then
! 3956: NM="$lt_cv_path_NM"
! 3957: else
! 3958: # Didn't find any BSD compatible name lister, look for dumpbin.
! 3959: if test -n "$DUMPBIN"; then :
! 3960: # Let the user override the test.
! 3961: else
! 3962: if test -n "$ac_tool_prefix"; then
! 3963: for ac_prog in dumpbin "link -dump"
! 3964: do
! 3965: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3966: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3967: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3968: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3969: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
! 3970: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3971: else
! 3972: if test -n "$DUMPBIN"; then
! 3973: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 3974: else
! 3975: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3976: for as_dir in $PATH
! 3977: do
! 3978: IFS=$as_save_IFS
! 3979: test -z "$as_dir" && as_dir=.
! 3980: for ac_exec_ext in '' $ac_executable_extensions; do
! 3981: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3982: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 3983: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3984: break 2
! 3985: fi
! 3986: done
! 3987: done
1.1 parser 3988:
1.23 ! moko 3989: fi
! 3990: fi
! 3991: DUMPBIN=$ac_cv_prog_DUMPBIN
! 3992: if test -n "$DUMPBIN"; then
! 3993: echo "$as_me:$LINENO: result: $DUMPBIN" >&5
! 3994: echo "${ECHO_T}$DUMPBIN" >&6
! 3995: else
! 3996: echo "$as_me:$LINENO: result: no" >&5
! 3997: echo "${ECHO_T}no" >&6
! 3998: fi
1.1 parser 3999:
1.23 ! moko 4000: test -n "$DUMPBIN" && break
! 4001: done
! 4002: fi
! 4003: if test -z "$DUMPBIN"; then
! 4004: ac_ct_DUMPBIN=$DUMPBIN
! 4005: for ac_prog in dumpbin "link -dump"
! 4006: do
! 4007: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4008: set dummy $ac_prog; ac_word=$2
! 4009: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4010: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4011: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
1.10 paf 4012: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4013: else
1.23 ! moko 4014: if test -n "$ac_ct_DUMPBIN"; then
! 4015: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 4016: else
1.10 paf 4017: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018: for as_dir in $PATH
4019: do
4020: IFS=$as_save_IFS
4021: test -z "$as_dir" && as_dir=.
1.23 ! moko 4022: for ac_exec_ext in '' $ac_executable_extensions; do
! 4023: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4024: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 4025: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4026: break 2
! 4027: fi
! 4028: done
! 4029: done
! 4030:
! 4031: fi
! 4032: fi
! 4033: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 4034: if test -n "$ac_ct_DUMPBIN"; then
! 4035: echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
! 4036: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
! 4037: else
! 4038: echo "$as_me:$LINENO: result: no" >&5
! 4039: echo "${ECHO_T}no" >&6
! 4040: fi
! 4041:
! 4042: test -n "$ac_ct_DUMPBIN" && break
1.10 paf 4043: done
1.23 ! moko 4044: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
1.10 paf 4045:
1.23 ! moko 4046: DUMPBIN=$ac_ct_DUMPBIN
! 4047: fi
1.10 paf 4048:
1.23 ! moko 4049: case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
! 4050: *COFF*)
! 4051: DUMPBIN="$DUMPBIN -symbols"
! 4052: ;;
! 4053: *)
! 4054: DUMPBIN=:
! 4055: ;;
! 4056: esac
! 4057: fi
1.10 paf 4058:
1.23 ! moko 4059: if test "$DUMPBIN" != ":"; then
! 4060: NM="$DUMPBIN"
! 4061: fi
1.1 parser 4062: fi
1.23 ! moko 4063: test -z "$NM" && NM=nm
! 4064:
1.1 parser 4065:
1.23 ! moko 4066:
! 4067:
! 4068:
! 4069:
! 4070: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
! 4071: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
! 4072: if test "${lt_cv_nm_interface+set}" = set; then
! 4073: echo $ECHO_N "(cached) $ECHO_C" >&6
1.6 paf 4074: else
1.23 ! moko 4075: lt_cv_nm_interface="BSD nm"
! 4076: echo "int some_variable = 0;" > conftest.$ac_ext
! 4077: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
! 4078: (eval "$ac_compile" 2>conftest.err)
! 4079: cat conftest.err >&5
! 4080: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 4081: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 4082: cat conftest.err >&5
! 4083: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
! 4084: cat conftest.out >&5
! 4085: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 4086: lt_cv_nm_interface="MS dumpbin"
! 4087: fi
! 4088: rm -f conftest*
1.6 paf 4089: fi
1.23 ! moko 4090: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
! 4091: echo "${ECHO_T}$lt_cv_nm_interface" >&6
1.10 paf 4092:
4093: echo "$as_me:$LINENO: checking whether ln -s works" >&5
4094: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4095: LN_S=$as_ln_s
4096: if test "$LN_S" = "ln -s"; then
4097: echo "$as_me:$LINENO: result: yes" >&5
4098: echo "${ECHO_T}yes" >&6
4099: else
4100: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4101: echo "${ECHO_T}no, using $LN_S" >&6
4102: fi
4103:
1.23 ! moko 4104: # find the maximum length of command line arguments
! 4105: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 4106: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
! 4107: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.10 paf 4108: echo $ECHO_N "(cached) $ECHO_C" >&6
4109: else
1.23 ! moko 4110: i=0
! 4111: teststring="ABCD"
1.10 paf 4112:
1.23 ! moko 4113: case $build_os in
! 4114: msdosdjgpp*)
! 4115: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 4116: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 4117: # during glob expansion). Even if it were fixed, the result of this
! 4118: # check would be larger than it should be.
! 4119: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 4120: ;;
1.6 paf 4121:
1.23 ! moko 4122: gnu*)
! 4123: # Under GNU Hurd, this test is not required because there is
! 4124: # no limit to the length of command line arguments.
! 4125: # Libtool will interpret -1 as no limit whatsoever
! 4126: lt_cv_sys_max_cmd_len=-1;
! 4127: ;;
1.1 parser 4128:
1.23 ! moko 4129: cygwin* | mingw* | cegcc*)
! 4130: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 4131: # about 5 minutes as the teststring grows exponentially.
! 4132: # Worse, since 9x/ME are not pre-emptively multitasking,
! 4133: # you end up with a "frozen" computer, even though with patience
! 4134: # the test eventually succeeds (with a max line length of 256k).
! 4135: # Instead, let's just punt: use the minimum linelength reported by
! 4136: # all of the supported platforms: 8192 (on NT/2K/XP).
! 4137: lt_cv_sys_max_cmd_len=8192;
! 4138: ;;
1.1 parser 4139:
1.23 ! moko 4140: mint*)
! 4141: # On MiNT this can take a long time and run out of memory.
! 4142: lt_cv_sys_max_cmd_len=8192;
! 4143: ;;
1.1 parser 4144:
1.23 ! moko 4145: amigaos*)
! 4146: # On AmigaOS with pdksh, this test takes hours, literally.
! 4147: # So we just punt and use a minimum line length of 8192.
! 4148: lt_cv_sys_max_cmd_len=8192;
1.10 paf 4149: ;;
1.23 ! moko 4150:
! 4151: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 4152: # This has been around since 386BSD, at least. Likely further.
! 4153: if test -x /sbin/sysctl; then
! 4154: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 4155: elif test -x /usr/sbin/sysctl; then
! 4156: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 4157: else
! 4158: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 4159: fi
! 4160: # And add a safety zone
! 4161: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4162: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4163: ;;
! 4164:
! 4165: interix*)
! 4166: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 4167: lt_cv_sys_max_cmd_len=196608
! 4168: ;;
! 4169:
! 4170: os2*)
! 4171: # The test takes a long time on OS/2.
! 4172: lt_cv_sys_max_cmd_len=8192
! 4173: ;;
! 4174:
! 4175: osf*)
! 4176: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 4177: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 4178: # nice to cause kernel panics so lets avoid the loop below.
! 4179: # First set a reasonable default.
! 4180: lt_cv_sys_max_cmd_len=16384
! 4181: #
! 4182: if test -x /sbin/sysconfig; then
! 4183: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 4184: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 4185: esac
! 4186: fi
! 4187: ;;
! 4188: sco3.2v5*)
! 4189: lt_cv_sys_max_cmd_len=102400
! 4190: ;;
! 4191: sysv5* | sco5v6* | sysv4.2uw2*)
! 4192: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 4193: if test -n "$kargmax"; then
! 4194: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 4195: else
! 4196: lt_cv_sys_max_cmd_len=32768
! 4197: fi
! 4198: ;;
! 4199: *)
! 4200: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 4201: if test -n "$lt_cv_sys_max_cmd_len"; then
! 4202: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4203: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4204: else
! 4205: # Make teststring a little bigger before we do anything with it.
! 4206: # a 1K string should be a reasonable start.
! 4207: for i in 1 2 3 4 5 6 7 8 ; do
! 4208: teststring=$teststring$teststring
! 4209: done
! 4210: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 4211: # If test is not a shell built-in, we'll probably end up computing a
! 4212: # maximum length that is only half of the actual maximum length, but
! 4213: # we can't tell.
! 4214: while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
! 4215: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
! 4216: test $i != 17 # 1/2 MB should be enough
! 4217: do
! 4218: i=`expr $i + 1`
! 4219: teststring=$teststring$teststring
! 4220: done
! 4221: # Only check the string length outside the loop.
! 4222: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 4223: teststring=
! 4224: # Add a significant safety factor because C++ compilers can tack on
! 4225: # massive amounts of additional arguments before passing them to the
! 4226: # linker. It appears as though 1/2 is a usable value.
! 4227: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 4228: fi
1.10 paf 4229: ;;
4230: esac
1.23 ! moko 4231:
! 4232: fi
! 4233:
! 4234: if test -n $lt_cv_sys_max_cmd_len ; then
! 4235: echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 4236: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
! 4237: else
! 4238: echo "$as_me:$LINENO: result: none" >&5
! 4239: echo "${ECHO_T}none" >&6
! 4240: fi
! 4241: max_cmd_len=$lt_cv_sys_max_cmd_len
! 4242:
! 4243:
! 4244:
! 4245:
! 4246:
! 4247:
! 4248: : ${CP="cp -f"}
! 4249: : ${MV="mv -f"}
! 4250: : ${RM="rm -f"}
! 4251:
! 4252: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
! 4253: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
! 4254: # Try some XSI features
! 4255: xsi_shell=no
! 4256: ( _lt_dummy="a/b/c"
! 4257: test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
! 4258: = c,a/b,b/c, \
! 4259: && eval 'test $(( 1 + 1 )) -eq 2 \
! 4260: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 4261: && xsi_shell=yes
! 4262: echo "$as_me:$LINENO: result: $xsi_shell" >&5
! 4263: echo "${ECHO_T}$xsi_shell" >&6
! 4264:
! 4265:
! 4266: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
! 4267: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
! 4268: lt_shell_append=no
! 4269: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 4270: >/dev/null 2>&1 \
! 4271: && lt_shell_append=yes
! 4272: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
! 4273: echo "${ECHO_T}$lt_shell_append" >&6
! 4274:
! 4275:
! 4276: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 4277: lt_unset=unset
! 4278: else
! 4279: lt_unset=false
! 4280: fi
! 4281:
! 4282:
! 4283:
! 4284:
! 4285:
! 4286: # test EBCDIC or ASCII
! 4287: case `echo X|tr X '\101'` in
! 4288: A) # ASCII based system
! 4289: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 4290: lt_SP2NL='tr \040 \012'
! 4291: lt_NL2SP='tr \015\012 \040\040'
! 4292: ;;
! 4293: *) # EBCDIC based system
! 4294: lt_SP2NL='tr \100 \n'
! 4295: lt_NL2SP='tr \r\n \100\100'
! 4296: ;;
! 4297: esac
! 4298:
! 4299:
! 4300:
! 4301:
! 4302:
! 4303:
! 4304:
! 4305:
! 4306:
! 4307: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
! 4308: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
! 4309: if test "${lt_cv_to_host_file_cmd+set}" = set; then
! 4310: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4311: else
! 4312: case $host in
! 4313: *-*-mingw* )
! 4314: case $build in
! 4315: *-*-mingw* ) # actually msys
! 4316: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
! 4317: ;;
! 4318: *-*-cygwin* )
! 4319: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
! 4320: ;;
! 4321: * ) # otherwise, assume *nix
! 4322: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
! 4323: ;;
! 4324: esac
! 4325: ;;
! 4326: *-*-cygwin* )
! 4327: case $build in
! 4328: *-*-mingw* ) # actually msys
! 4329: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
! 4330: ;;
! 4331: *-*-cygwin* )
! 4332: lt_cv_to_host_file_cmd=func_convert_file_noop
! 4333: ;;
! 4334: * ) # otherwise, assume *nix
! 4335: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
! 4336: ;;
! 4337: esac
! 4338: ;;
! 4339: * ) # unhandled hosts (and "normal" native builds)
! 4340: lt_cv_to_host_file_cmd=func_convert_file_noop
! 4341: ;;
! 4342: esac
! 4343:
! 4344: fi
! 4345:
! 4346: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 4347: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
! 4348: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
! 4349:
! 4350:
! 4351:
! 4352:
! 4353:
! 4354: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
! 4355: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
! 4356: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
! 4357: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4358: else
! 4359: #assume ordinary cross tools, or native build.
! 4360: lt_cv_to_tool_file_cmd=func_convert_file_noop
! 4361: case $host in
! 4362: *-*-mingw* )
! 4363: case $build in
! 4364: *-*-mingw* ) # actually msys
! 4365: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
! 4366: ;;
! 4367: esac
! 4368: ;;
! 4369: esac
! 4370:
! 4371: fi
! 4372:
! 4373: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 4374: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
! 4375: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
! 4376:
! 4377:
! 4378:
! 4379:
! 4380:
! 4381: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 4382: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! 4383: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 4384: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4385: else
! 4386: lt_cv_ld_reload_flag='-r'
! 4387: fi
! 4388: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 4389: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
! 4390: reload_flag=$lt_cv_ld_reload_flag
! 4391: case $reload_flag in
! 4392: "" | " "*) ;;
! 4393: *) reload_flag=" $reload_flag" ;;
! 4394: esac
! 4395: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4396: case $host_os in
! 4397: cygwin* | mingw* | pw32* | cegcc*)
! 4398: if test "$GCC" != yes; then
! 4399: reload_cmds=false
! 4400: fi
! 4401: ;;
! 4402: darwin*)
! 4403: if test "$GCC" = yes; then
! 4404: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 4405: else
! 4406: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4407: fi
! 4408: ;;
! 4409: esac
! 4410:
! 4411:
! 4412:
! 4413:
! 4414:
! 4415:
! 4416:
! 4417:
! 4418:
! 4419: if test -n "$ac_tool_prefix"; then
! 4420: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 4421: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 4422: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4423: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4424: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
! 4425: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4426: else
! 4427: if test -n "$OBJDUMP"; then
! 4428: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 4429: else
! 4430: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4431: for as_dir in $PATH
! 4432: do
! 4433: IFS=$as_save_IFS
! 4434: test -z "$as_dir" && as_dir=.
! 4435: for ac_exec_ext in '' $ac_executable_extensions; do
! 4436: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4437: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 4438: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4439: break 2
! 4440: fi
! 4441: done
! 4442: done
! 4443:
! 4444: fi
! 4445: fi
! 4446: OBJDUMP=$ac_cv_prog_OBJDUMP
! 4447: if test -n "$OBJDUMP"; then
! 4448: echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 4449: echo "${ECHO_T}$OBJDUMP" >&6
! 4450: else
! 4451: echo "$as_me:$LINENO: result: no" >&5
! 4452: echo "${ECHO_T}no" >&6
! 4453: fi
! 4454:
! 4455: fi
! 4456: if test -z "$ac_cv_prog_OBJDUMP"; then
! 4457: ac_ct_OBJDUMP=$OBJDUMP
! 4458: # Extract the first word of "objdump", so it can be a program name with args.
! 4459: set dummy objdump; ac_word=$2
! 4460: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4461: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4462: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 4463: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4464: else
! 4465: if test -n "$ac_ct_OBJDUMP"; then
! 4466: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 4467: else
! 4468: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4469: for as_dir in $PATH
! 4470: do
! 4471: IFS=$as_save_IFS
! 4472: test -z "$as_dir" && as_dir=.
! 4473: for ac_exec_ext in '' $ac_executable_extensions; do
! 4474: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4475: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 4476: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4477: break 2
! 4478: fi
! 4479: done
! 4480: done
! 4481:
! 4482: test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
! 4483: fi
! 4484: fi
! 4485: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 4486: if test -n "$ac_ct_OBJDUMP"; then
! 4487: echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 4488: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
! 4489: else
! 4490: echo "$as_me:$LINENO: result: no" >&5
! 4491: echo "${ECHO_T}no" >&6
! 4492: fi
! 4493:
! 4494: OBJDUMP=$ac_ct_OBJDUMP
! 4495: else
! 4496: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 4497: fi
! 4498:
! 4499: test -z "$OBJDUMP" && OBJDUMP=objdump
! 4500:
! 4501:
! 4502:
! 4503:
! 4504:
! 4505:
! 4506: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! 4507: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
! 4508: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 4509: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4510: else
! 4511: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 4512: lt_cv_file_magic_test_file=
! 4513: lt_cv_deplibs_check_method='unknown'
! 4514: # Need to set the preceding variable on all platforms that support
! 4515: # interlibrary dependencies.
! 4516: # 'none' -- dependencies not supported.
! 4517: # `unknown' -- same as none, but documents that we really don't know.
! 4518: # 'pass_all' -- all dependencies passed with no checks.
! 4519: # 'test_compile' -- check by making test program.
! 4520: # 'file_magic [[regex]]' -- check by looking for files in library path
! 4521: # which responds to the $file_magic_cmd with a given extended regex.
! 4522: # If you have `file' or equivalent on your system and you're not sure
! 4523: # whether `pass_all' will *always* work, you probably want this one.
! 4524:
! 4525: case $host_os in
! 4526: aix[4-9]*)
! 4527: lt_cv_deplibs_check_method=pass_all
! 4528: ;;
! 4529:
! 4530: beos*)
! 4531: lt_cv_deplibs_check_method=pass_all
! 4532: ;;
! 4533:
! 4534: bsdi[45]*)
! 4535: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 4536: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4537: lt_cv_file_magic_test_file=/shlib/libc.so
! 4538: ;;
! 4539:
! 4540: cygwin*)
! 4541: # func_win32_libid is a shell function defined in ltmain.sh
! 4542: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4543: lt_cv_file_magic_cmd='func_win32_libid'
! 4544: ;;
! 4545:
! 4546: mingw* | pw32*)
! 4547: # Base MSYS/MinGW do not provide the 'file' command needed by
! 4548: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 4549: # unless we find 'file', for example because we are cross-compiling.
! 4550: # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
! 4551: if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
! 4552: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4553: lt_cv_file_magic_cmd='func_win32_libid'
! 4554: else
! 4555: # Keep this pattern in sync with the one in func_win32_libid.
! 4556: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
! 4557: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4558: fi
! 4559: ;;
! 4560:
! 4561: cegcc*)
! 4562: # use the weaker test based on 'objdump'. See mingw*.
! 4563: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 4564: lt_cv_file_magic_cmd='$OBJDUMP -f'
1.10 paf 4565: ;;
1.1 parser 4566:
1.23 ! moko 4567: darwin* | rhapsody*)
! 4568: lt_cv_deplibs_check_method=pass_all
! 4569: ;;
! 4570:
! 4571: freebsd* | dragonfly*)
! 4572: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.10 paf 4573: case $host_cpu in
4574: i*86 )
4575: # Not sure whether the presence of OpenBSD here was a mistake.
4576: # Let's accept both of them until this is cleared up.
1.23 ! moko 4577: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.10 paf 4578: lt_cv_file_magic_cmd=/usr/bin/file
4579: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1 parser 4580: ;;
4581: esac
1.10 paf 4582: else
4583: lt_cv_deplibs_check_method=pass_all
1.1 parser 4584: fi
4585: ;;
4586:
1.10 paf 4587: gnu*)
4588: lt_cv_deplibs_check_method=pass_all
4589: ;;
4590:
1.23 ! moko 4591: haiku*)
! 4592: lt_cv_deplibs_check_method=pass_all
1.10 paf 4593: ;;
1.1 parser 4594:
1.23 ! moko 4595: hpux10.20* | hpux11*)
! 4596: lt_cv_file_magic_cmd=/usr/bin/file
! 4597: case $host_cpu in
! 4598: ia64*)
! 4599: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 4600: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 4601: ;;
! 4602: hppa*64*)
! 4603: 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]'
! 4604: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.10 paf 4605: ;;
4606: *)
1.23 ! moko 4607: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
! 4608: lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.10 paf 4609: ;;
4610: esac
1.23 ! moko 4611: ;;
! 4612:
! 4613: interix[3-9]*)
! 4614: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 4615: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 4616: ;;
! 4617:
! 4618: irix5* | irix6* | nonstopux*)
! 4619: case $LD in
! 4620: *-32|*"-32 ") libmagic=32-bit;;
! 4621: *-n32|*"-n32 ") libmagic=N32;;
! 4622: *-64|*"-64 ") libmagic=64-bit;;
! 4623: *) libmagic=never-match;;
! 4624: esac
1.10 paf 4625: lt_cv_deplibs_check_method=pass_all
4626: ;;
1.1 parser 4627:
1.23 ! moko 4628: # This must be glibc/ELF.
! 4629: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 4630: lt_cv_deplibs_check_method=pass_all
1.10 paf 4631: ;;
4632:
4633: netbsd*)
1.23 ! moko 4634: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 4635: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.10 paf 4636: else
1.23 ! moko 4637: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.10 paf 4638: fi
4639: ;;
4640:
4641: newos6*)
4642: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4643: lt_cv_file_magic_cmd=/usr/bin/file
4644: lt_cv_file_magic_test_file=/usr/lib/libnls.so
4645: ;;
1.1 parser 4646:
1.23 ! moko 4647: *nto* | *qnx*)
! 4648: lt_cv_deplibs_check_method=pass_all
! 4649: ;;
! 4650:
1.10 paf 4651: openbsd*)
1.23 ! moko 4652: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 4653: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.10 paf 4654: else
1.23 ! moko 4655: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1 parser 4656: fi
4657: ;;
4658:
1.10 paf 4659: osf3* | osf4* | osf5*)
4660: lt_cv_deplibs_check_method=pass_all
4661: ;;
4662:
1.23 ! moko 4663: rdos*)
1.10 paf 4664: lt_cv_deplibs_check_method=pass_all
4665: ;;
4666:
4667: solaris*)
4668: lt_cv_deplibs_check_method=pass_all
4669: ;;
4670:
1.23 ! moko 4671: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.10 paf 4672: lt_cv_deplibs_check_method=pass_all
4673: ;;
4674:
1.23 ! moko 4675: sysv4 | sysv4.3*)
1.10 paf 4676: case $host_vendor in
4677: motorola)
4678: 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]'
4679: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4680: ;;
4681: ncr)
4682: lt_cv_deplibs_check_method=pass_all
4683: ;;
4684: sequent)
4685: lt_cv_file_magic_cmd='/bin/file'
4686: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4687: ;;
4688: sni)
4689: lt_cv_file_magic_cmd='/bin/file'
4690: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4691: lt_cv_file_magic_test_file=/lib/libc.so
4692: ;;
4693: siemens)
4694: lt_cv_deplibs_check_method=pass_all
4695: ;;
1.23 ! moko 4696: pc)
! 4697: lt_cv_deplibs_check_method=pass_all
! 4698: ;;
1.10 paf 4699: esac
4700: ;;
1.23 ! moko 4701:
! 4702: tpf*)
! 4703: lt_cv_deplibs_check_method=pass_all
! 4704: ;;
! 4705: esac
1.10 paf 4706:
4707: fi
4708: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4709: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.23 ! moko 4710:
! 4711: file_magic_glob=
! 4712: want_nocaseglob=no
! 4713: if test "$build" = "$host"; then
! 4714: case $host_os in
! 4715: mingw* | pw32*)
! 4716: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
! 4717: want_nocaseglob=yes
! 4718: else
! 4719: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
! 4720: fi
! 4721: ;;
! 4722: esac
! 4723: fi
! 4724:
1.10 paf 4725: file_magic_cmd=$lt_cv_file_magic_cmd
4726: deplibs_check_method=$lt_cv_deplibs_check_method
1.23 ! moko 4727: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 4728:
! 4729:
! 4730:
1.10 paf 4731:
4732:
4733:
4734:
4735:
4736:
4737:
4738:
1.23 ! moko 4739:
! 4740:
! 4741:
! 4742:
! 4743:
! 4744:
! 4745:
! 4746:
! 4747:
! 4748:
! 4749:
! 4750: if test -n "$ac_tool_prefix"; then
! 4751: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 4752: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 4753: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4754: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4755: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
! 4756: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4757: else
! 4758: if test -n "$DLLTOOL"; then
! 4759: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 4760: else
! 4761: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4762: for as_dir in $PATH
! 4763: do
! 4764: IFS=$as_save_IFS
! 4765: test -z "$as_dir" && as_dir=.
! 4766: for ac_exec_ext in '' $ac_executable_extensions; do
! 4767: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4768: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 4769: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4770: break 2
! 4771: fi
! 4772: done
! 4773: done
! 4774:
! 4775: fi
! 4776: fi
! 4777: DLLTOOL=$ac_cv_prog_DLLTOOL
! 4778: if test -n "$DLLTOOL"; then
! 4779: echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 4780: echo "${ECHO_T}$DLLTOOL" >&6
! 4781: else
! 4782: echo "$as_me:$LINENO: result: no" >&5
! 4783: echo "${ECHO_T}no" >&6
! 4784: fi
! 4785:
! 4786: fi
! 4787: if test -z "$ac_cv_prog_DLLTOOL"; then
! 4788: ac_ct_DLLTOOL=$DLLTOOL
! 4789: # Extract the first word of "dlltool", so it can be a program name with args.
! 4790: set dummy dlltool; ac_word=$2
! 4791: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4792: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4793: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.10 paf 4794: echo $ECHO_N "(cached) $ECHO_C" >&6
1.6 paf 4795: else
1.23 ! moko 4796: if test -n "$ac_ct_DLLTOOL"; then
! 4797: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 4798: else
! 4799: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4800: for as_dir in $PATH
! 4801: do
! 4802: IFS=$as_save_IFS
! 4803: test -z "$as_dir" && as_dir=.
! 4804: for ac_exec_ext in '' $ac_executable_extensions; do
! 4805: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4806: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 4807: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4808: break 2
! 4809: fi
! 4810: done
! 4811: done
! 4812:
! 4813: test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
! 4814: fi
! 4815: fi
! 4816: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 4817: if test -n "$ac_ct_DLLTOOL"; then
! 4818: echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 4819: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
! 4820: else
! 4821: echo "$as_me:$LINENO: result: no" >&5
! 4822: echo "${ECHO_T}no" >&6
! 4823: fi
! 4824:
! 4825: DLLTOOL=$ac_ct_DLLTOOL
! 4826: else
! 4827: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 4828: fi
! 4829:
! 4830: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 4831:
1.10 paf 4832:
4833:
4834:
4835:
4836:
4837:
1.23 ! moko 4838: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
! 4839: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
! 4840: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
! 4841: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4842: else
! 4843: lt_cv_sharedlib_from_linklib_cmd='unknown'
1.10 paf 4844:
4845: case $host_os in
1.23 ! moko 4846: cygwin* | mingw* | pw32* | cegcc*)
! 4847: # two different shell functions defined in ltmain.sh
! 4848: # decide which to use based on capabilities of $DLLTOOL
! 4849: case `$DLLTOOL --help 2>&1` in
! 4850: *--identify-strict*)
! 4851: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
! 4852: ;;
! 4853: *)
! 4854: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
! 4855: ;;
! 4856: esac
1.10 paf 4857: ;;
1.23 ! moko 4858: *)
! 4859: # fallback: assume linklib IS sharedlib
! 4860: lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.10 paf 4861: ;;
4862: esac
4863:
4864: fi
1.23 ! moko 4865: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
! 4866: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
! 4867: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
! 4868: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.10 paf 4869:
4870:
4871:
4872:
4873:
4874:
4875:
4876:
1.23 ! moko 4877: if test -n "$ac_tool_prefix"; then
! 4878: for ac_prog in ar
! 4879: do
! 4880: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4881: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4882: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4883: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4884: if test "${ac_cv_prog_AR+set}" = set; then
! 4885: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4886: else
! 4887: if test -n "$AR"; then
! 4888: ac_cv_prog_AR="$AR" # Let the user override the test.
! 4889: else
! 4890: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4891: for as_dir in $PATH
! 4892: do
! 4893: IFS=$as_save_IFS
! 4894: test -z "$as_dir" && as_dir=.
! 4895: for ac_exec_ext in '' $ac_executable_extensions; do
! 4896: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4897: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 4898: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4899: break 2
1.10 paf 4900: fi
4901: done
1.23 ! moko 4902: done
1.10 paf 4903:
1.6 paf 4904: fi
4905: fi
1.23 ! moko 4906: AR=$ac_cv_prog_AR
! 4907: if test -n "$AR"; then
! 4908: echo "$as_me:$LINENO: result: $AR" >&5
! 4909: echo "${ECHO_T}$AR" >&6
1.6 paf 4910: else
1.23 ! moko 4911: echo "$as_me:$LINENO: result: no" >&5
! 4912: echo "${ECHO_T}no" >&6
1.6 paf 4913: fi
4914:
1.23 ! moko 4915: test -n "$AR" && break
! 4916: done
1.15 paf 4917: fi
1.23 ! moko 4918: if test -z "$AR"; then
! 4919: ac_ct_AR=$AR
! 4920: for ac_prog in ar
! 4921: do
! 4922: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4923: set dummy $ac_prog; ac_word=$2
! 4924: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4925: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4926: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.10 paf 4927: echo $ECHO_N "(cached) $ECHO_C" >&6
1.6 paf 4928: else
1.23 ! moko 4929: if test -n "$ac_ct_AR"; then
! 4930: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 4931: else
! 4932: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4933: for as_dir in $PATH
1.10 paf 4934: do
1.23 ! moko 4935: IFS=$as_save_IFS
! 4936: test -z "$as_dir" && as_dir=.
! 4937: for ac_exec_ext in '' $ac_executable_extensions; do
! 4938: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4939: ac_cv_prog_ac_ct_AR="$ac_prog"
! 4940: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4941: break 2
1.10 paf 4942: fi
1.23 ! moko 4943: done
! 4944: done
1.10 paf 4945:
1.6 paf 4946: fi
4947: fi
1.23 ! moko 4948: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 4949: if test -n "$ac_ct_AR"; then
! 4950: echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 4951: echo "${ECHO_T}$ac_ct_AR" >&6
1.10 paf 4952: else
1.23 ! moko 4953: echo "$as_me:$LINENO: result: no" >&5
! 4954: echo "${ECHO_T}no" >&6
1.6 paf 4955: fi
1.10 paf 4956:
1.23 ! moko 4957: test -n "$ac_ct_AR" && break
1.10 paf 4958: done
1.23 ! moko 4959: test -n "$ac_ct_AR" || ac_ct_AR="false"
! 4960:
! 4961: AR=$ac_ct_AR
1.6 paf 4962: fi
4963:
1.23 ! moko 4964: : ${AR=ar}
! 4965: : ${AR_FLAGS=cru}
! 4966:
1.10 paf 4967:
4968:
1.6 paf 4969:
1.10 paf 4970:
1.6 paf 4971:
4972:
1.10 paf 4973:
4974:
4975:
4976:
1.23 ! moko 4977: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
! 4978: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
! 4979: if test "${lt_cv_ar_at_file+set}" = set; then
1.10 paf 4980: echo $ECHO_N "(cached) $ECHO_C" >&6
4981: else
1.23 ! moko 4982: lt_cv_ar_at_file=no
! 4983: cat >conftest.$ac_ext <<_ACEOF
1.10 paf 4984: /* confdefs.h. */
4985: _ACEOF
4986: cat confdefs.h >>conftest.$ac_ext
4987: cat >>conftest.$ac_ext <<_ACEOF
4988: /* end confdefs.h. */
4989:
4990: int
4991: main ()
4992: {
4993:
4994: ;
4995: return 0;
4996: }
4997: _ACEOF
4998: rm -f conftest.$ac_objext
4999: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16 paf 5000: (eval $ac_compile) 2>conftest.er1
1.10 paf 5001: ac_status=$?
1.16 paf 5002: grep -v '^ *+' conftest.er1 >conftest.err
5003: rm -f conftest.er1
5004: cat conftest.err >&5
1.10 paf 5005: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006: (exit $ac_status); } &&
1.16 paf 5007: { ac_try='test -z "$ac_c_werror_flag"
5008: || test ! -s conftest.err'
5009: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010: (eval $ac_try) 2>&5
5011: ac_status=$?
5012: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013: (exit $ac_status); }; } &&
5014: { ac_try='test -s conftest.$ac_objext'
1.10 paf 5015: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016: (eval $ac_try) 2>&5
5017: ac_status=$?
5018: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019: (exit $ac_status); }; }; then
1.23 ! moko 5020: echo conftest.$ac_objext > conftest.lst
! 5021: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
! 5022: { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
! 5023: (eval $lt_ar_try) 2>&5
! 5024: ac_status=$?
! 5025: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5026: (exit $ac_status); }
! 5027: if test "$ac_status" -eq 0; then
! 5028: # Ensure the archiver fails upon bogus file names.
! 5029: rm -f conftest.$ac_objext libconftest.a
! 5030: { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
! 5031: (eval $lt_ar_try) 2>&5
! 5032: ac_status=$?
! 5033: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5034: (exit $ac_status); }
! 5035: if test "$ac_status" -ne 0; then
! 5036: lt_cv_ar_at_file=@
! 5037: fi
! 5038: fi
! 5039: rm -f conftest.* libconftest.a
! 5040:
1.6 paf 5041: else
1.10 paf 5042: echo "$as_me: failed program was:" >&5
5043: sed 's/^/| /' conftest.$ac_ext >&5
5044:
1.6 paf 5045: fi
1.16 paf 5046: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.6 paf 5047:
1.23 ! moko 5048: fi
! 5049: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
! 5050: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
1.6 paf 5051:
1.23 ! moko 5052: if test "x$lt_cv_ar_at_file" = xno; then
! 5053: archiver_list_spec=
1.6 paf 5054: else
1.23 ! moko 5055: archiver_list_spec=$lt_cv_ar_at_file
1.6 paf 5056: fi
1.10 paf 5057:
5058:
5059:
1.23 ! moko 5060:
! 5061:
! 5062:
! 5063:
! 5064: if test -n "$ac_tool_prefix"; then
! 5065: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5066: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5067: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5068: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5069: if test "${ac_cv_prog_STRIP+set}" = set; then
! 5070: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5071: else
! 5072: if test -n "$STRIP"; then
! 5073: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5074: else
! 5075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5076: for as_dir in $PATH
! 5077: do
! 5078: IFS=$as_save_IFS
! 5079: test -z "$as_dir" && as_dir=.
! 5080: for ac_exec_ext in '' $ac_executable_extensions; do
! 5081: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5082: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5083: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5084: break 2
! 5085: fi
! 5086: done
! 5087: done
! 5088:
! 5089: fi
! 5090: fi
! 5091: STRIP=$ac_cv_prog_STRIP
! 5092: if test -n "$STRIP"; then
! 5093: echo "$as_me:$LINENO: result: $STRIP" >&5
! 5094: echo "${ECHO_T}$STRIP" >&6
1.6 paf 5095: else
1.23 ! moko 5096: echo "$as_me:$LINENO: result: no" >&5
! 5097: echo "${ECHO_T}no" >&6
1.6 paf 5098: fi
5099:
5100: fi
1.23 ! moko 5101: if test -z "$ac_cv_prog_STRIP"; then
! 5102: ac_ct_STRIP=$STRIP
! 5103: # Extract the first word of "strip", so it can be a program name with args.
! 5104: set dummy strip; ac_word=$2
! 5105: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5106: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5107: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 5108: echo $ECHO_N "(cached) $ECHO_C" >&6
1.10 paf 5109: else
1.23 ! moko 5110: if test -n "$ac_ct_STRIP"; then
! 5111: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1 parser 5112: else
1.23 ! moko 5113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5114: for as_dir in $PATH
! 5115: do
! 5116: IFS=$as_save_IFS
! 5117: test -z "$as_dir" && as_dir=.
! 5118: for ac_exec_ext in '' $ac_executable_extensions; do
! 5119: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5120: ac_cv_prog_ac_ct_STRIP="strip"
! 5121: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5122: break 2
! 5123: fi
! 5124: done
! 5125: done
1.10 paf 5126:
1.23 ! moko 5127: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.10 paf 5128: fi
5129: fi
1.23 ! moko 5130: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5131: if test -n "$ac_ct_STRIP"; then
! 5132: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 5133: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 5134: else
! 5135: echo "$as_me:$LINENO: result: no" >&5
! 5136: echo "${ECHO_T}no" >&6
1.1 parser 5137: fi
5138:
1.23 ! moko 5139: STRIP=$ac_ct_STRIP
! 5140: else
! 5141: STRIP="$ac_cv_prog_STRIP"
1.10 paf 5142: fi
1.1 parser 5143:
1.23 ! moko 5144: test -z "$STRIP" && STRIP=:
1.1 parser 5145:
5146:
5147:
5148:
5149:
5150:
1.23 ! moko 5151: if test -n "$ac_tool_prefix"; then
! 5152: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5153: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5154: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5155: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5156: if test "${ac_cv_prog_RANLIB+set}" = set; then
1.10 paf 5157: echo $ECHO_N "(cached) $ECHO_C" >&6
5158: else
1.23 ! moko 5159: if test -n "$RANLIB"; then
! 5160: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.10 paf 5161: else
1.23 ! moko 5162: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5163: for as_dir in $PATH
! 5164: do
! 5165: IFS=$as_save_IFS
! 5166: test -z "$as_dir" && as_dir=.
! 5167: for ac_exec_ext in '' $ac_executable_extensions; do
! 5168: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5169: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5170: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5171: break 2
! 5172: fi
! 5173: done
! 5174: done
1.10 paf 5175:
5176: fi
5177: fi
1.23 ! moko 5178: RANLIB=$ac_cv_prog_RANLIB
! 5179: if test -n "$RANLIB"; then
! 5180: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 5181: echo "${ECHO_T}$RANLIB" >&6
! 5182: else
! 5183: echo "$as_me:$LINENO: result: no" >&5
! 5184: echo "${ECHO_T}no" >&6
! 5185: fi
1.1 parser 5186:
1.10 paf 5187: fi
1.23 ! moko 5188: if test -z "$ac_cv_prog_RANLIB"; then
! 5189: ac_ct_RANLIB=$RANLIB
! 5190: # Extract the first word of "ranlib", so it can be a program name with args.
! 5191: set dummy ranlib; ac_word=$2
! 5192: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5193: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5194: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 5195: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5196: else
! 5197: if test -n "$ac_ct_RANLIB"; then
! 5198: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5199: else
! 5200: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5201: for as_dir in $PATH
! 5202: do
! 5203: IFS=$as_save_IFS
! 5204: test -z "$as_dir" && as_dir=.
! 5205: for ac_exec_ext in '' $ac_executable_extensions; do
! 5206: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5207: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5208: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5209: break 2
! 5210: fi
! 5211: done
1.10 paf 5212: done
5213:
1.23 ! moko 5214: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 5215: fi
! 5216: fi
! 5217: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5218: if test -n "$ac_ct_RANLIB"; then
! 5219: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 5220: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.10 paf 5221: else
1.23 ! moko 5222: echo "$as_me:$LINENO: result: no" >&5
! 5223: echo "${ECHO_T}no" >&6
1.10 paf 5224: fi
5225:
1.23 ! moko 5226: RANLIB=$ac_ct_RANLIB
1.10 paf 5227: else
1.23 ! moko 5228: RANLIB="$ac_cv_prog_RANLIB"
1.10 paf 5229: fi
5230:
1.23 ! moko 5231: test -z "$RANLIB" && RANLIB=:
! 5232:
! 5233:
! 5234:
! 5235:
! 5236:
! 5237:
! 5238: # Determine commands to create old-style static archives.
! 5239: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 5240: old_postinstall_cmds='chmod 644 $oldlib'
! 5241: old_postuninstall_cmds=
1.10 paf 5242:
1.23 ! moko 5243: if test -n "$RANLIB"; then
! 5244: case $host_os in
! 5245: openbsd*)
! 5246: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.10 paf 5247: ;;
1.23 ! moko 5248: *)
! 5249: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.10 paf 5250: ;;
1.23 ! moko 5251: esac
! 5252: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.10 paf 5253: fi
5254:
1.23 ! moko 5255: case $host_os in
! 5256: darwin*)
! 5257: lock_old_archive_extraction=yes ;;
! 5258: *)
! 5259: lock_old_archive_extraction=no ;;
! 5260: esac
1.10 paf 5261:
5262:
5263:
5264:
5265:
5266:
5267:
5268:
5269:
5270:
5271:
5272:
5273:
5274:
5275:
5276:
1.1 parser 5277:
5278:
1.10 paf 5279:
5280:
5281:
5282:
5283:
1.1 parser 5284:
1.10 paf 5285:
1.1 parser 5286:
5287:
1.10 paf 5288:
5289:
5290:
5291:
5292:
5293:
1.1 parser 5294:
1.10 paf 5295:
5296:
5297:
5298:
5299:
1.23 ! moko 5300: # If no C compiler was specified, use CC.
! 5301: LTCC=${LTCC-"$CC"}
1.1 parser 5302:
1.23 ! moko 5303: # If no C compiler flags were specified, use CFLAGS.
! 5304: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.10 paf 5305:
1.23 ! moko 5306: # Allow CC to be a program name with arguments.
! 5307: compiler=$CC
1.10 paf 5308:
1.1 parser 5309:
1.23 ! moko 5310: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 5311: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 5312: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
! 5313: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 5314: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5315: else
! 5316:
! 5317: # These are sane defaults that work on at least a few old systems.
! 5318: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
1.10 paf 5319:
1.23 ! moko 5320: # Character class describing NM global symbol codes.
! 5321: symcode='[BCDEGRST]'
1.10 paf 5322:
1.23 ! moko 5323: # Regexp to match symbols that can be accessed directly from C.
! 5324: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.10 paf 5325:
1.23 ! moko 5326: # Define system-specific variables.
! 5327: case $host_os in
! 5328: aix*)
! 5329: symcode='[BCDT]'
! 5330: ;;
! 5331: cygwin* | mingw* | pw32* | cegcc*)
! 5332: symcode='[ABCDGISTW]'
! 5333: ;;
! 5334: hpux*)
! 5335: if test "$host_cpu" = ia64; then
! 5336: symcode='[ABCDEGRST]'
! 5337: fi
! 5338: ;;
! 5339: irix* | nonstopux*)
! 5340: symcode='[BCDEGRST]'
! 5341: ;;
! 5342: osf*)
! 5343: symcode='[BCDEGQRST]'
! 5344: ;;
! 5345: solaris*)
! 5346: symcode='[BDRT]'
! 5347: ;;
! 5348: sco3.2v5*)
! 5349: symcode='[DT]'
! 5350: ;;
! 5351: sysv4.2uw2*)
! 5352: symcode='[DT]'
! 5353: ;;
! 5354: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 5355: symcode='[ABDT]'
! 5356: ;;
! 5357: sysv4)
! 5358: symcode='[DFNSTU]'
! 5359: ;;
! 5360: esac
1.10 paf 5361:
1.23 ! moko 5362: # If we're using GNU nm, then use its standard symbol codes.
! 5363: case `$NM -V 2>&1` in
! 5364: *GNU* | *'with BFD'*)
! 5365: symcode='[ABCDGIRSTW]' ;;
! 5366: esac
1.10 paf 5367:
1.23 ! moko 5368: # Transform an extracted symbol line into a proper C declaration.
! 5369: # Some systems (esp. on ia64) link data and code symbols differently,
! 5370: # so use this general approach.
! 5371: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.10 paf 5372:
1.23 ! moko 5373: # Transform an extracted symbol line into symbol name and symbol address
! 5374: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 5375: 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.10 paf 5376:
1.23 ! moko 5377: # Handle CRLF in mingw tool chain
! 5378: opt_cr=
! 5379: case $build_os in
! 5380: mingw*)
! 5381: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 5382: ;;
! 5383: esac
1.10 paf 5384:
1.23 ! moko 5385: # Try without a prefix underscore, then with it.
! 5386: for ac_symprfx in "" "_"; do
1.1 parser 5387:
1.23 ! moko 5388: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 5389: symxfrm="\\1 $ac_symprfx\\2 \\2"
1.10 paf 5390:
1.23 ! moko 5391: # Write the raw and C identifiers.
! 5392: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5393: # Fake it for dumpbin and say T for any non-static function
! 5394: # and D for any global variable.
! 5395: # Also find C++ and __fastcall symbols from MSVC++,
! 5396: # which start with @ or ?.
! 5397: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 5398: " {last_section=section; section=\$ 3};"\
! 5399: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
! 5400: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 5401: " \$ 0!~/External *\|/{next};"\
! 5402: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 5403: " {if(hide[section]) next};"\
! 5404: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 5405: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 5406: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 5407: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 5408: " ' prfx=^$ac_symprfx"
! 5409: else
! 5410: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.10 paf 5411: fi
1.23 ! moko 5412: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.10 paf 5413:
1.23 ! moko 5414: # Check to see that the pipe works correctly.
! 5415: pipe_works=no
1.10 paf 5416:
1.23 ! moko 5417: rm -f conftest*
! 5418: cat > conftest.$ac_ext <<_LT_EOF
! 5419: #ifdef __cplusplus
! 5420: extern "C" {
! 5421: #endif
! 5422: char nm_test_var;
! 5423: void nm_test_func(void);
! 5424: void nm_test_func(void){}
! 5425: #ifdef __cplusplus
! 5426: }
! 5427: #endif
! 5428: int main(){nm_test_var='a';nm_test_func();return(0);}
! 5429: _LT_EOF
1.1 parser 5430:
1.23 ! moko 5431: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5432: (eval $ac_compile) 2>&5
! 5433: ac_status=$?
! 5434: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5435: (exit $ac_status); }; then
! 5436: # Now try to grab the symbols.
! 5437: nlist=conftest.nm
! 5438: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
! 5439: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
! 5440: ac_status=$?
! 5441: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5442: (exit $ac_status); } && test -s "$nlist"; then
! 5443: # Try sorting and uniquifying the output.
! 5444: if sort "$nlist" | uniq > "$nlist"T; then
! 5445: mv -f "$nlist"T "$nlist"
! 5446: else
! 5447: rm -f "$nlist"T
! 5448: fi
1.10 paf 5449:
1.23 ! moko 5450: # Make sure that we snagged all the symbols we need.
! 5451: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 5452: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 5453: cat <<_LT_EOF > conftest.$ac_ext
! 5454: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
! 5455: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
! 5456: /* DATA imports from DLLs on WIN32 con't be const, because runtime
! 5457: relocations are performed -- see ld's documentation on pseudo-relocs. */
! 5458: # define LT_DLSYM_CONST
! 5459: #elif defined(__osf__)
! 5460: /* This system does not cope well with relocations in const data. */
! 5461: # define LT_DLSYM_CONST
! 5462: #else
! 5463: # define LT_DLSYM_CONST const
! 5464: #endif
1.10 paf 5465:
1.23 ! moko 5466: #ifdef __cplusplus
! 5467: extern "C" {
! 5468: #endif
1.10 paf 5469:
1.23 ! moko 5470: _LT_EOF
! 5471: # Now generate the symbol file.
! 5472: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.10 paf 5473:
1.23 ! moko 5474: cat <<_LT_EOF >> conftest.$ac_ext
1.10 paf 5475:
1.23 ! moko 5476: /* The mapping between symbol names and symbols. */
! 5477: LT_DLSYM_CONST struct {
! 5478: const char *name;
! 5479: void *address;
! 5480: }
! 5481: lt__PROGRAM__LTX_preloaded_symbols[] =
! 5482: {
! 5483: { "@PROGRAM@", (void *) 0 },
! 5484: _LT_EOF
! 5485: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 5486: cat <<\_LT_EOF >> conftest.$ac_ext
! 5487: {0, (void *) 0}
! 5488: };
1.10 paf 5489:
1.23 ! moko 5490: /* This works around a problem in FreeBSD linker */
! 5491: #ifdef FREEBSD_WORKAROUND
! 5492: static const void *lt_preloaded_setup() {
! 5493: return lt__PROGRAM__LTX_preloaded_symbols;
! 5494: }
! 5495: #endif
1.1 parser 5496:
1.23 ! moko 5497: #ifdef __cplusplus
! 5498: }
! 5499: #endif
! 5500: _LT_EOF
! 5501: # Now try linking the two files.
! 5502: mv conftest.$ac_objext conftstm.$ac_objext
! 5503: lt_globsym_save_LIBS=$LIBS
! 5504: lt_globsym_save_CFLAGS=$CFLAGS
! 5505: LIBS="conftstm.$ac_objext"
! 5506: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 5507: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5508: (eval $ac_link) 2>&5
! 5509: ac_status=$?
! 5510: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5511: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 5512: pipe_works=yes
! 5513: fi
! 5514: LIBS=$lt_globsym_save_LIBS
! 5515: CFLAGS=$lt_globsym_save_CFLAGS
! 5516: else
! 5517: echo "cannot find nm_test_func in $nlist" >&5
! 5518: fi
! 5519: else
! 5520: echo "cannot find nm_test_var in $nlist" >&5
1.10 paf 5521: fi
1.23 ! moko 5522: else
! 5523: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 5524: fi
! 5525: else
! 5526: echo "$progname: failed program was:" >&5
! 5527: cat conftest.$ac_ext >&5
! 5528: fi
! 5529: rm -rf conftest* conftst*
! 5530:
! 5531: # Do not use the global_symbol_pipe unless it works.
! 5532: if test "$pipe_works" = yes; then
! 5533: break
1.10 paf 5534: else
1.23 ! moko 5535: lt_cv_sys_global_symbol_pipe=
! 5536: fi
! 5537: done
! 5538:
! 5539: fi
1.10 paf 5540:
1.23 ! moko 5541: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 5542: lt_cv_sys_global_symbol_to_cdecl=
! 5543: fi
! 5544: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 5545: echo "$as_me:$LINENO: result: failed" >&5
! 5546: echo "${ECHO_T}failed" >&6
! 5547: else
! 5548: echo "$as_me:$LINENO: result: ok" >&5
! 5549: echo "${ECHO_T}ok" >&6
! 5550: fi
1.10 paf 5551:
1.23 ! moko 5552: # Response file support.
! 5553: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5554: nm_file_list_spec='@'
! 5555: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
! 5556: nm_file_list_spec='@'
! 5557: fi
1.10 paf 5558:
5559:
5560:
5561:
5562:
5563:
5564:
5565:
5566:
5567:
5568:
5569:
1.23 ! moko 5570:
! 5571:
! 5572:
! 5573:
! 5574:
! 5575:
! 5576:
! 5577:
! 5578:
! 5579:
! 5580:
! 5581:
! 5582:
! 5583:
! 5584:
! 5585: echo "$as_me:$LINENO: checking for sysroot" >&5
! 5586: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
! 5587:
! 5588: # Check whether --with-sysroot or --without-sysroot was given.
! 5589: if test "${with_sysroot+set}" = set; then
! 5590: withval="$with_sysroot"
! 5591:
1.10 paf 5592: else
1.23 ! moko 5593: with_sysroot=no
! 5594: fi;
! 5595:
! 5596: lt_sysroot=
! 5597: case ${with_sysroot} in #(
! 5598: yes)
! 5599: if test "$GCC" = yes; then
! 5600: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
! 5601: fi
! 5602: ;; #(
! 5603: /*)
! 5604: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
! 5605: ;; #(
! 5606: no|'')
! 5607: ;; #(
! 5608: *)
! 5609: echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
! 5610: echo "${ECHO_T}${with_sysroot}" >&6
! 5611: { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
! 5612: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
! 5613: { (exit 1); exit 1; }; }
! 5614: ;;
! 5615: esac
! 5616:
! 5617: echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
! 5618: echo "${ECHO_T}${lt_sysroot:-no}" >&6
! 5619:
! 5620:
1.10 paf 5621:
5622:
5623:
1.23 ! moko 5624: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 5625: if test "${enable_libtool_lock+set}" = set; then
! 5626: enableval="$enable_libtool_lock"
! 5627:
! 5628: fi;
! 5629: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 5630:
! 5631: # Some flags need to be propagated to the compiler or linker for good
! 5632: # libtool support.
! 5633: case $host in
! 5634: ia64-*-hpux*)
! 5635: # Find out which ABI we are using.
! 5636: echo 'int i;' > conftest.$ac_ext
! 5637: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5638: (eval $ac_compile) 2>&5
1.10 paf 5639: ac_status=$?
5640: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.23 ! moko 5641: (exit $ac_status); }; then
! 5642: case `/usr/bin/file conftest.$ac_objext` in
! 5643: *ELF-32*)
! 5644: HPUX_IA64_MODE="32"
! 5645: ;;
! 5646: *ELF-64*)
! 5647: HPUX_IA64_MODE="64"
! 5648: ;;
! 5649: esac
! 5650: fi
! 5651: rm -rf conftest*
! 5652: ;;
! 5653: *-*-irix6*)
! 5654: # Find out which ABI we are using.
! 5655: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 5656: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5657: (eval $ac_compile) 2>&5
1.16 paf 5658: ac_status=$?
5659: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.23 ! moko 5660: (exit $ac_status); }; then
! 5661: if test "$lt_cv_prog_gnu_ld" = yes; then
! 5662: case `/usr/bin/file conftest.$ac_objext` in
! 5663: *32-bit*)
! 5664: LD="${LD-ld} -melf32bsmip"
! 5665: ;;
! 5666: *N32*)
! 5667: LD="${LD-ld} -melf32bmipn32"
! 5668: ;;
! 5669: *64-bit*)
! 5670: LD="${LD-ld} -melf64bmip"
! 5671: ;;
! 5672: esac
! 5673: else
! 5674: case `/usr/bin/file conftest.$ac_objext` in
! 5675: *32-bit*)
! 5676: LD="${LD-ld} -32"
! 5677: ;;
! 5678: *N32*)
! 5679: LD="${LD-ld} -n32"
! 5680: ;;
! 5681: *64-bit*)
! 5682: LD="${LD-ld} -64"
! 5683: ;;
! 5684: esac
! 5685: fi
! 5686: fi
! 5687: rm -rf conftest*
! 5688: ;;
! 5689:
! 5690: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 5691: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 5692: # Find out which ABI we are using.
! 5693: echo 'int i;' > conftest.$ac_ext
! 5694: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5695: (eval $ac_compile) 2>&5
1.10 paf 5696: ac_status=$?
5697: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.23 ! moko 5698: (exit $ac_status); }; then
! 5699: case `/usr/bin/file conftest.o` in
! 5700: *32-bit*)
! 5701: case $host in
! 5702: x86_64-*kfreebsd*-gnu)
! 5703: LD="${LD-ld} -m elf_i386_fbsd"
! 5704: ;;
! 5705: x86_64-*linux*)
! 5706: LD="${LD-ld} -m elf_i386"
! 5707: ;;
! 5708: ppc64-*linux*|powerpc64-*linux*)
! 5709: LD="${LD-ld} -m elf32ppclinux"
! 5710: ;;
! 5711: s390x-*linux*)
! 5712: LD="${LD-ld} -m elf_s390"
! 5713: ;;
! 5714: sparc64-*linux*)
! 5715: LD="${LD-ld} -m elf32_sparc"
! 5716: ;;
! 5717: esac
1.10 paf 5718: ;;
1.23 ! moko 5719: *64-bit*)
! 5720: case $host in
! 5721: x86_64-*kfreebsd*-gnu)
! 5722: LD="${LD-ld} -m elf_x86_64_fbsd"
! 5723: ;;
! 5724: x86_64-*linux*)
! 5725: LD="${LD-ld} -m elf_x86_64"
! 5726: ;;
! 5727: ppc*-*linux*|powerpc*-*linux*)
! 5728: LD="${LD-ld} -m elf64ppc"
! 5729: ;;
! 5730: s390*-*linux*|s390*-*tpf*)
! 5731: LD="${LD-ld} -m elf64_s390"
! 5732: ;;
! 5733: sparc*-*linux*)
! 5734: LD="${LD-ld} -m elf64_sparc"
! 5735: ;;
! 5736: esac
1.10 paf 5737: ;;
1.23 ! moko 5738: esac
1.10 paf 5739: fi
1.23 ! moko 5740: rm -rf conftest*
! 5741: ;;
1.10 paf 5742:
1.23 ! moko 5743: *-*-sco3.2v5*)
! 5744: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 5745: SAVE_CFLAGS="$CFLAGS"
! 5746: CFLAGS="$CFLAGS -belf"
! 5747: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 5748: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 5749: if test "${lt_cv_cc_needs_belf+set}" = set; then
1.10 paf 5750: echo $ECHO_N "(cached) $ECHO_C" >&6
5751: else
1.23 ! moko 5752: ac_ext=c
! 5753: ac_cpp='$CPP $CPPFLAGS'
! 5754: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5755: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5756: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5757:
! 5758: cat >conftest.$ac_ext <<_ACEOF
1.10 paf 5759: /* confdefs.h. */
5760: _ACEOF
5761: cat confdefs.h >>conftest.$ac_ext
5762: cat >>conftest.$ac_ext <<_ACEOF
5763: /* end confdefs.h. */
5764:
5765: int
5766: main ()
5767: {
5768:
5769: ;
5770: return 0;
5771: }
5772: _ACEOF
5773: rm -f conftest.$ac_objext conftest$ac_exeext
5774: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.16 paf 5775: (eval $ac_link) 2>conftest.er1
1.10 paf 5776: ac_status=$?
1.16 paf 5777: grep -v '^ *+' conftest.er1 >conftest.err
5778: rm -f conftest.er1
5779: cat conftest.err >&5
1.10 paf 5780: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781: (exit $ac_status); } &&
1.16 paf 5782: { ac_try='test -z "$ac_c_werror_flag"
5783: || test ! -s conftest.err'
5784: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785: (eval $ac_try) 2>&5
5786: ac_status=$?
5787: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788: (exit $ac_status); }; } &&
5789: { ac_try='test -s conftest$ac_exeext'
1.10 paf 5790: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791: (eval $ac_try) 2>&5
5792: ac_status=$?
5793: echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794: (exit $ac_status); }; }; then
1.23 ! moko 5795: lt_cv_cc_needs_belf=yes
1.10 paf 5796: else
5797: echo "$as_me: failed program was:" >&5
5798: sed 's/^/| /' conftest.$ac_ext >&5
5799:
1.23 ! moko 5800: lt_cv_cc_needs_belf=no
1.10 paf 5801: fi
1.16 paf 5802: rm -f conftest.err conftest.$ac_objext \
5803: conftest$ac_exeext conftest.$ac_ext
1.23 ! moko 5804: ac_ext=c
! 5805: ac_cpp='$CPP $CPPFLAGS'
! 5806: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5807: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5808: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10 paf 5809:
5810: fi
1.23 ! moko 5811: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 5812: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
! 5813: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 5814: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 5815: CFLAGS="$SAVE_CFLAGS"
! 5816: fi
! 5817: ;;
! 5818: *-*solaris*)
! 5819: # Find out which ABI we are using.
! 5820: echo 'int i;' > conftest.$ac_ext
! 5821: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5822: (eval $ac_compile) 2>&5
! 5823: ac_status=$?
! 5824: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5825: (exit $ac_status); }; then
! 5826: case `/usr/bin/file conftest.o` in
! 5827: *64-bit*)
! 5828: case $lt_cv_prog_gnu_ld in
! 5829: yes*)
! 5830: case $host in
! 5831: i?86-*-solaris*)
! 5832: LD="${LD-ld} -m elf_x86_64"
! 5833: ;;
! 5834: sparc*-*-solaris*)
! 5835: LD="${LD-ld} -m elf64_sparc"
! 5836: ;;
! 5837: esac
! 5838: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
! 5839: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
! 5840: LD="${LD-ld}_sol2"
! 5841: fi
! 5842: ;;
! 5843: *)
! 5844: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 5845: LD="${LD-ld} -64"
! 5846: fi
! 5847: ;;
! 5848: esac
! 5849: ;;
! 5850: esac
! 5851: fi
! 5852: rm -rf conftest*
! 5853: ;;
! 5854: esac
1.10 paf 5855:
1.23 ! moko 5856: need_locks="$enable_libtool_lock"
1.10 paf 5857:
1.23 ! moko 5858: if test -n "$ac_tool_prefix"; then
! 5859: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
! 5860: set dummy ${ac_tool_prefix}mt; ac_word=$2
! 5861: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5862: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5863: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
! 5864: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5865: else
! 5866: if test -n "$MANIFEST_TOOL"; then
! 5867: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
! 5868: else
! 5869: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5870: for as_dir in $PATH
! 5871: do
! 5872: IFS=$as_save_IFS
! 5873: test -z "$as_dir" && as_dir=.
! 5874: for ac_exec_ext in '' $ac_executable_extensions; do
! 5875: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5876: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
! 5877: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5878: break 2
! 5879: fi
! 5880: done
! 5881: done
1.10 paf 5882:
1.23 ! moko 5883: fi
! 5884: fi
! 5885: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
! 5886: if test -n "$MANIFEST_TOOL"; then
! 5887: echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
! 5888: echo "${ECHO_T}$MANIFEST_TOOL" >&6
! 5889: else
! 5890: echo "$as_me:$LINENO: result: no" >&5
! 5891: echo "${ECHO_T}no" >&6
! 5892: fi
1.10 paf 5893:
1.23 ! moko 5894: fi
! 5895: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
! 5896: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
! 5897: # Extract the first word of "mt", so it can be a program name with args.
! 5898: set dummy mt; ac_word=$2
! 5899: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5900: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5901: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
1.10 paf 5902: echo $ECHO_N "(cached) $ECHO_C" >&6
5903: else
1.23 ! moko 5904: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 5905: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
! 5906: else
! 5907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5908: for as_dir in $PATH
! 5909: do
! 5910: IFS=$as_save_IFS
! 5911: test -z "$as_dir" && as_dir=.
! 5912: for ac_exec_ext in '' $ac_executable_extensions; do
! 5913: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5914: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
! 5915: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5916: break 2
! 5917: fi
! 5918: done
! 5919: done
1.10 paf 5920:
1.23 ! moko 5921: test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
! 5922: fi
! 5923: fi
! 5924: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
! 5925: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 5926: echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
! 5927: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
1.10 paf 5928: else
1.23 ! moko 5929: echo "$as_me:$LINENO: result: no" >&5
! 5930: echo "${ECHO_T}no" >&6
1.10 paf 5931: fi
5932:
1.23 ! moko 5933: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
! 5934: else
! 5935: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
1.10 paf 5936: fi
5937:
1.23 ! moko 5938: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
! 5939: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
! 5940: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
! 5941: if test "${lt_cv_path_mainfest_tool+set}" = set; then
1.10 paf 5942: echo $ECHO_N "(cached) $ECHO_C" >&6
5943: else
1.23 ! moko 5944: lt_cv_path_mainfest_tool=no
! 5945: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
! 5946: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
! 5947: cat conftest.err >&5
! 5948: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
! 5949: lt_cv_path_mainfest_tool=yes
! 5950: fi
! 5951: rm -f conftest*
! 5952: fi
! 5953: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
! 5954: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
! 5955: if test "x$lt_cv_path_mainfest_tool" != xyes; then
! 5956: MANIFEST_TOOL=:
! 5957: fi
! 5958:
! 5959:
! 5960:
! 5961:
1.10 paf 5962:
5963:
1.23 ! moko 5964: case $host_os in
! 5965: rhapsody* | darwin*)
! 5966: if test -n "$ac_tool_prefix"; then
! 5967: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 5968: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 5969: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5970: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5971: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
! 5972: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5973: else
! 5974: if test -n "$DSYMUTIL"; then
! 5975: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 5976: else
! 5977: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5978: for as_dir in $PATH
! 5979: do
! 5980: IFS=$as_save_IFS
! 5981: test -z "$as_dir" && as_dir=.
! 5982: for ac_exec_ext in '' $ac_executable_extensions; do
! 5983: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5984: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 5985: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5986: break 2
! 5987: fi
! 5988: done
! 5989: done
1.10 paf 5990:
1.23 ! moko 5991: fi
! 5992: fi
! 5993: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 5994: if test -n "$DSYMUTIL"; then
! 5995: echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
! 5996: echo "${ECHO_T}$DSYMUTIL" >&6
1.10 paf 5997: else
1.23 ! moko 5998: echo "$as_me:$LINENO: result: no" >&5
! 5999: echo "${ECHO_T}no" >&6
! 6000: fi
1.10 paf 6001:
6002: fi
1.23 ! moko 6003: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 6004: ac_ct_DSYMUTIL=$DSYMUTIL
! 6005: # Extract the first word of "dsymutil", so it can be a program name with args.
! 6006: set dummy dsymutil; ac_word=$2
! 6007: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6008: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6009: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
! 6010: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6011: else
! 6012: if test -n "$ac_ct_DSYMUTIL"; then
! 6013: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 6014: else
! 6015: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6016: for as_dir in $PATH
! 6017: do
! 6018: IFS=$as_save_IFS
! 6019: test -z "$as_dir" && as_dir=.
! 6020: for ac_exec_ext in '' $ac_executable_extensions; do
! 6021: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6022: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 6023: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6024: break 2
! 6025: fi
! 6026: done
! 6027: done
1.10 paf 6028:
1.23 ! moko 6029: test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
! 6030: fi
! 6031: fi
! 6032: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 6033: if test -n "$ac_ct_DSYMUTIL"; then
! 6034: echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
! 6035: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
! 6036: else
! 6037: echo "$as_me:$LINENO: result: no" >&5
! 6038: echo "${ECHO_T}no" >&6
1.10 paf 6039: fi
6040:
1.23 ! moko 6041: DSYMUTIL=$ac_ct_DSYMUTIL
1.10 paf 6042: else
1.23 ! moko 6043: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.10 paf 6044: fi
6045:
1.23 ! moko 6046: if test -n "$ac_tool_prefix"; then
! 6047: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 6048: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 6049: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6050: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6051: if test "${ac_cv_prog_NMEDIT+set}" = set; then
! 6052: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6053: else
! 6054: if test -n "$NMEDIT"; then
! 6055: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 6056: else
! 6057: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6058: for as_dir in $PATH
! 6059: do
! 6060: IFS=$as_save_IFS
! 6061: test -z "$as_dir" && as_dir=.
! 6062: for ac_exec_ext in '' $ac_executable_extensions; do
! 6063: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6064: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 6065: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6066: break 2
1.10 paf 6067: fi
1.23 ! moko 6068: done
! 6069: done
! 6070:
! 6071: fi
! 6072: fi
! 6073: NMEDIT=$ac_cv_prog_NMEDIT
! 6074: if test -n "$NMEDIT"; then
! 6075: echo "$as_me:$LINENO: result: $NMEDIT" >&5
! 6076: echo "${ECHO_T}$NMEDIT" >&6
1.10 paf 6077: else
1.23 ! moko 6078: echo "$as_me:$LINENO: result: no" >&5
! 6079: echo "${ECHO_T}no" >&6
1.10 paf 6080: fi
6081:
1.23 ! moko 6082: fi
! 6083: if test -z "$ac_cv_prog_NMEDIT"; then
! 6084: ac_ct_NMEDIT=$NMEDIT
! 6085: # Extract the first word of "nmedit", so it can be a program name with args.
! 6086: set dummy nmedit; ac_word=$2
! 6087: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6088: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6089: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
! 6090: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6091: else
! 6092: if test -n "$ac_ct_NMEDIT"; then
! 6093: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 6094: else
! 6095: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6096: for as_dir in $PATH
! 6097: do
! 6098: IFS=$as_save_IFS
! 6099: test -z "$as_dir" && as_dir=.
! 6100: for ac_exec_ext in '' $ac_executable_extensions; do
! 6101: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6102: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 6103: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6104: break 2
! 6105: fi
! 6106: done
! 6107: done
1.10 paf 6108:
1.23 ! moko 6109: test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
! 6110: fi
! 6111: fi
! 6112: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 6113: if test -n "$ac_ct_NMEDIT"; then
! 6114: echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
! 6115: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
! 6116: else
! 6117: echo "$as_me:$LINENO: result: no" >&5
! 6118: echo "${ECHO_T}no" >&6
! 6119: fi
1.10 paf 6120:
1.23 ! moko 6121: NMEDIT=$ac_ct_NMEDIT
1.10 paf 6122: else
1.23 ! moko 6123: NMEDIT="$ac_cv_prog_NMEDIT"
1.10 paf 6124: fi
6125:
1.23 ! moko 6126: if test -n "$ac_tool_prefix"; then
! 6127: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 6128: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 6129: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6130: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6131: if test "${ac_cv_prog_LIPO+set}" = set; then
! 6132: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6133: else
! 6134: if test -n "$LIPO"; then
! 6135: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 6136: else
! 6137: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6138: for as_dir in $PATH
! 6139: do
! 6140: IFS=$as_save_IFS
! 6141: test -z "$as_dir" && as_dir=.
! 6142: for ac_exec_ext in '' $ac_executable_extensions; do
! 6143: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6144: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 6145: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6146: break 2
1.10 paf 6147: fi
1.23 ! moko 6148: done
! 6149: done
! 6150:
! 6151: fi
! 6152: fi
! 6153: LIPO=$ac_cv_prog_LIPO
! 6154: if test -n "$LIPO"; then
! 6155: echo "$as_me:$LINENO: result: $LIPO" >&5
! 6156: echo "${ECHO_T}$LIPO" >&6
! 6157: else
! 6158: echo "$as_me:$LINENO: result: no" >&5
! 6159: echo "${ECHO_T}no" >&6
1.10 paf 6160: fi
6161:
1.23 ! moko 6162: fi
! 6163: if test -z "$ac_cv_prog_LIPO"; then
! 6164: ac_ct_LIPO=$LIPO
! 6165: # Extract the first word of "lipo", so it can be a program name with args.
! 6166: set dummy lipo; ac_word=$2
! 6167: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6168: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6169: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
! 6170: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6171: else
! 6172: if test -n "$ac_ct_LIPO"; then
! 6173: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 6174: else
! 6175: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6176: for as_dir in $PATH
! 6177: do
! 6178: IFS=$as_save_IFS
! 6179: test -z "$as_dir" && as_dir=.
! 6180: for ac_exec_ext in '' $ac_executable_extensions; do
! 6181: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6182: ac_cv_prog_ac_ct_LIPO="lipo"
! 6183: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6184: break 2
1.10 paf 6185: fi
1.23 ! moko 6186: done
! 6187: done
1.10 paf 6188:
1.23 ! moko 6189: test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
! 6190: fi
! 6191: fi
! 6192: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 6193: if test -n "$ac_ct_LIPO"; then
! 6194: echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
! 6195: echo "${ECHO_T}$ac_ct_LIPO" >&6
! 6196: else
! 6197: echo "$as_me:$LINENO: result: no" >&5
! 6198: echo "${ECHO_T}no" >&6
! 6199: fi
1.10 paf 6200:
1.23 ! moko 6201: LIPO=$ac_ct_LIPO
! 6202: else
! 6203: LIPO="$ac_cv_prog_LIPO"
! 6204: fi
1.10 paf 6205:
1.23 ! moko 6206: if test -n "$ac_tool_prefix"; then
! 6207: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 6208: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 6209: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6210: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6211: if test "${ac_cv_prog_OTOOL+set}" = set; then
! 6212: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6213: else
! 6214: if test -n "$OTOOL"; then
! 6215: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 6216: else
! 6217: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6218: for as_dir in $PATH
! 6219: do
! 6220: IFS=$as_save_IFS
! 6221: test -z "$as_dir" && as_dir=.
! 6222: for ac_exec_ext in '' $ac_executable_extensions; do
! 6223: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6224: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 6225: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6226: break 2
! 6227: fi
! 6228: done
! 6229: done
1.10 paf 6230:
1.23 ! moko 6231: fi
! 6232: fi
! 6233: OTOOL=$ac_cv_prog_OTOOL
! 6234: if test -n "$OTOOL"; then
! 6235: echo "$as_me:$LINENO: result: $OTOOL" >&5
! 6236: echo "${ECHO_T}$OTOOL" >&6
! 6237: else
! 6238: echo "$as_me:$LINENO: result: no" >&5
! 6239: echo "${ECHO_T}no" >&6
! 6240: fi
1.10 paf 6241:
1.23 ! moko 6242: fi
! 6243: if test -z "$ac_cv_prog_OTOOL"; then
! 6244: ac_ct_OTOOL=$OTOOL
! 6245: # Extract the first word of "otool", so it can be a program name with args.
! 6246: set dummy otool; ac_word=$2
! 6247: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6248: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6249: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
! 6250: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6251: else
! 6252: if test -n "$ac_ct_OTOOL"; then
! 6253: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 6254: else
! 6255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6256: for as_dir in $PATH
! 6257: do
! 6258: IFS=$as_save_IFS
! 6259: test -z "$as_dir" && as_dir=.
! 6260: for ac_exec_ext in '' $ac_executable_extensions; do
! 6261: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6262: ac_cv_prog_ac_ct_OTOOL="otool"
! 6263: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6264: break 2
! 6265: fi
! 6266: done
! 6267: done
1.10 paf 6268:
1.23 ! moko 6269: test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
! 6270: fi
! 6271: fi
! 6272: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 6273: if test -n "$ac_ct_OTOOL"; then
! 6274: echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
! 6275: echo "${ECHO_T}$ac_ct_OTOOL" >&6
! 6276: else
! 6277: echo "$as_me:$LINENO: result: no" >&5
! 6278: echo "${ECHO_T}no" >&6
! 6279: fi
1.10 paf 6280:
1.23 ! moko 6281: OTOOL=$ac_ct_OTOOL
! 6282: else
! 6283: OTOOL="$ac_cv_prog_OTOOL"
! 6284: fi
1.10 paf 6285:
1.23 ! moko 6286: if test -n "$ac_tool_prefix"; then
! 6287: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 6288: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 6289: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6290: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6291: if test "${ac_cv_prog_OTOOL64+set}" = set; then
! 6292: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6293: else
! 6294: if test -n "$OTOOL64"; then
! 6295: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 6296: else
! 6297: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6298: for as_dir in $PATH
! 6299: do
! 6300: IFS=$as_save_IFS
! 6301: test -z "$as_dir" && as_dir=.
! 6302: for ac_exec_ext in '' $ac_executable_extensions; do
! 6303: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6304: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 6305: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6306: break 2
! 6307: fi
! 6308: done
! 6309: done
1.10 paf 6310:
1.23 ! moko 6311: fi
! 6312: fi
! 6313: OTOOL64=$ac_cv_prog_OTOOL64
! 6314: if test -n "$OTOOL64"; then
! 6315: echo "$as_me:$LINENO: result: $OTOOL64" >&5
! 6316: echo "${ECHO_T}$OTOOL64" >&6
! 6317: else
! 6318: echo "$as_me:$LINENO: result: no" >&5
! 6319: echo "${ECHO_T}no" >&6
! 6320: fi
1.10 paf 6321:
1.23 ! moko 6322: fi
! 6323: if test -z "$ac_cv_prog_OTOOL64"; then
! 6324: ac_ct_OTOOL64=$OTOOL64
! 6325: # Extract the first word of "otool64", so it can be a program name with args.
! 6326: set dummy otool64; ac_word=$2
! 6327: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6328: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6329: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
! 6330: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6331: else
! 6332: if test -n "$ac_ct_OTOOL64"; then
! 6333: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 6334: else
! 6335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6336: for as_dir in $PATH
! 6337: do
! 6338: IFS=$as_save_IFS
! 6339: test -z "$as_dir" && as_dir=.
! 6340: for ac_exec_ext in '' $ac_executable_extensions; do
! 6341: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6342: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 6343: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6344: break 2
! 6345: fi
! 6346: done
! 6347: done
1.10 paf 6348:
1.23 ! moko 6349: test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
! 6350: fi
! 6351: fi
! 6352: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 6353: if test -n "$ac_ct_OTOOL64"; then
! 6354: echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
! 6355: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
! 6356: else
! 6357: echo "$as_me:$LINENO: result: no" >&5
! 6358: echo "${ECHO_T}no" >&6
! 6359: fi
1.10 paf 6360:
1.23 ! moko 6361: OTOOL64=$ac_ct_OTOOL64
! 6362: else
! 6363: OTOOL64="$ac_cv_prog_OTOOL64"
! 6364: fi
1.10 paf 6365:
6366:
6367:
6368:
6369:
6370:
6371:
6372:
6373:
6374:
6375:
6376:
6377:
6378:
6379:
6380:
6381:
6382:
6383:
6384:
6385:
6386:
6387:
6388:
6389:
6390:
6391:
1.23 ! moko 6392: echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
! 6393: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
! 6394: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
! 6395: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6396: else
! 6397: lt_cv_apple_cc_single_mod=no
! 6398: if test -z "${LT_MULTI_MODULE}"; then
! 6399: # By default we will add the -single_module flag. You can override
! 6400: # by either setting the environment variable LT_MULTI_MODULE
! 6401: # non-empty at configure time, or by adding -multi_module to the
! 6402: # link flags.
! 6403: rm -rf libconftest.dylib*
! 6404: echo "int foo(void){return 1;}" > conftest.c
! 6405: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6406: -dynamiclib -Wl,-single_module conftest.c" >&5
! 6407: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6408: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 6409: _lt_result=$?
! 6410: # If there is a non-empty error log, and "single_module"
! 6411: # appears in it, assume the flag caused a linker warning
! 6412: if test -s conftest.err && $GREP single_module conftest.err; then
! 6413: cat conftest.err >&5
! 6414: # Otherwise, if the output was created with a 0 exit code from
! 6415: # the compiler, it worked.
! 6416: elif test -f libconftest.dylib && test $_lt_result -eq 0; then
! 6417: lt_cv_apple_cc_single_mod=yes
! 6418: else
! 6419: cat conftest.err >&5
! 6420: fi
! 6421: rm -rf libconftest.dylib*
! 6422: rm -f conftest.*
! 6423: fi
! 6424: fi
! 6425: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
! 6426: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
1.10 paf 6427:
1.23 ! moko 6428: echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
! 6429: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
! 6430: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
! 6431: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6432: else
! 6433: lt_cv_ld_exported_symbols_list=no
! 6434: save_LDFLAGS=$LDFLAGS
! 6435: echo "_main" > conftest.sym
! 6436: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 6437: cat >conftest.$ac_ext <<_ACEOF
! 6438: /* confdefs.h. */
! 6439: _ACEOF
! 6440: cat confdefs.h >>conftest.$ac_ext
! 6441: cat >>conftest.$ac_ext <<_ACEOF
! 6442: /* end confdefs.h. */
1.10 paf 6443:
1.23 ! moko 6444: int
! 6445: main ()
! 6446: {
1.10 paf 6447:
1.23 ! moko 6448: ;
! 6449: return 0;
! 6450: }
! 6451: _ACEOF
! 6452: rm -f conftest.$ac_objext conftest$ac_exeext
! 6453: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6454: (eval $ac_link) 2>conftest.er1
! 6455: ac_status=$?
! 6456: grep -v '^ *+' conftest.er1 >conftest.err
! 6457: rm -f conftest.er1
! 6458: cat conftest.err >&5
! 6459: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6460: (exit $ac_status); } &&
! 6461: { ac_try='test -z "$ac_c_werror_flag"
! 6462: || test ! -s conftest.err'
! 6463: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6464: (eval $ac_try) 2>&5
! 6465: ac_status=$?
! 6466: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6467: (exit $ac_status); }; } &&
! 6468: { ac_try='test -s conftest$ac_exeext'
! 6469: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6470: (eval $ac_try) 2>&5
! 6471: ac_status=$?
! 6472: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6473: (exit $ac_status); }; }; then
! 6474: lt_cv_ld_exported_symbols_list=yes
! 6475: else
! 6476: echo "$as_me: failed program was:" >&5
! 6477: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6478:
1.23 ! moko 6479: lt_cv_ld_exported_symbols_list=no
! 6480: fi
! 6481: rm -f conftest.err conftest.$ac_objext \
! 6482: conftest$ac_exeext conftest.$ac_ext
! 6483: LDFLAGS="$save_LDFLAGS"
1.10 paf 6484:
1.23 ! moko 6485: fi
! 6486: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
! 6487: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
1.10 paf 6488:
1.23 ! moko 6489: echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
! 6490: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
! 6491: if test "${lt_cv_ld_force_load+set}" = set; then
! 6492: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6493: else
! 6494: lt_cv_ld_force_load=no
! 6495: cat > conftest.c << _LT_EOF
! 6496: int forced_loaded() { return 2;}
! 6497: _LT_EOF
! 6498: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
! 6499: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
! 6500: echo "$AR cru libconftest.a conftest.o" >&5
! 6501: $AR cru libconftest.a conftest.o 2>&5
! 6502: echo "$RANLIB libconftest.a" >&5
! 6503: $RANLIB libconftest.a 2>&5
! 6504: cat > conftest.c << _LT_EOF
! 6505: int main() { return 0;}
! 6506: _LT_EOF
! 6507: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
! 6508: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
! 6509: _lt_result=$?
! 6510: if test -s conftest.err && $GREP force_load conftest.err; then
! 6511: cat conftest.err >&5
! 6512: elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
! 6513: lt_cv_ld_force_load=yes
! 6514: else
! 6515: cat conftest.err >&5
! 6516: fi
! 6517: rm -f conftest.err libconftest.a conftest conftest.c
! 6518: rm -rf conftest.dSYM
1.10 paf 6519:
1.23 ! moko 6520: fi
! 6521: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
! 6522: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
! 6523: case $host_os in
! 6524: rhapsody* | darwin1.[012])
! 6525: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 6526: darwin1.*)
! 6527: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6528: darwin*) # darwin 5.x on
! 6529: # if running on 10.5 or later, the deployment target defaults
! 6530: # to the OS version, if on x86, and 10.4, the deployment
! 6531: # target defaults to 10.4. Don't you love it?
! 6532: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 6533: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 6534: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6535: 10.[012]*)
! 6536: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6537: 10.*)
! 6538: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6539: esac
1.10 paf 6540: ;;
1.23 ! moko 6541: esac
! 6542: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 6543: _lt_dar_single_mod='$single_module'
! 6544: fi
! 6545: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 6546: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 6547: else
! 6548: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.10 paf 6549: fi
1.23 ! moko 6550: if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
! 6551: _lt_dsymutil='~$DSYMUTIL $lib || :'
1.10 paf 6552: else
1.23 ! moko 6553: _lt_dsymutil=
1.10 paf 6554: fi
6555: ;;
1.23 ! moko 6556: esac
1.10 paf 6557:
1.23 ! moko 6558: ac_ext=c
! 6559: ac_cpp='$CPP $CPPFLAGS'
! 6560: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6561: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6562: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6563: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 6564: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 6565: # On Suns, sometimes $CPP names a directory.
! 6566: if test -n "$CPP" && test -d "$CPP"; then
! 6567: CPP=
! 6568: fi
! 6569: if test -z "$CPP"; then
! 6570: if test "${ac_cv_prog_CPP+set}" = set; then
! 6571: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6572: else
! 6573: # Double quotes because CPP needs to be expanded
! 6574: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 6575: do
! 6576: ac_preproc_ok=false
! 6577: for ac_c_preproc_warn_flag in '' yes
! 6578: do
! 6579: # Use a header file that comes with gcc, so configuring glibc
! 6580: # with a fresh cross-compiler works.
! 6581: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6582: # <limits.h> exists even on freestanding compilers.
! 6583: # On the NeXT, cc -E runs the code through the compiler's parser,
! 6584: # not just through cpp. "Syntax error" is here to catch this case.
! 6585: cat >conftest.$ac_ext <<_ACEOF
! 6586: /* confdefs.h. */
! 6587: _ACEOF
! 6588: cat confdefs.h >>conftest.$ac_ext
! 6589: cat >>conftest.$ac_ext <<_ACEOF
! 6590: /* end confdefs.h. */
! 6591: #ifdef __STDC__
! 6592: # include <limits.h>
! 6593: #else
! 6594: # include <assert.h>
! 6595: #endif
! 6596: Syntax error
! 6597: _ACEOF
! 6598: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6599: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6600: ac_status=$?
! 6601: grep -v '^ *+' conftest.er1 >conftest.err
! 6602: rm -f conftest.er1
! 6603: cat conftest.err >&5
! 6604: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6605: (exit $ac_status); } >/dev/null; then
! 6606: if test -s conftest.err; then
! 6607: ac_cpp_err=$ac_c_preproc_warn_flag
! 6608: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 6609: else
! 6610: ac_cpp_err=
! 6611: fi
! 6612: else
! 6613: ac_cpp_err=yes
1.10 paf 6614: fi
1.23 ! moko 6615: if test -z "$ac_cpp_err"; then
! 6616: :
! 6617: else
! 6618: echo "$as_me: failed program was:" >&5
! 6619: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6620:
1.23 ! moko 6621: # Broken: fails on valid input.
! 6622: continue
! 6623: fi
! 6624: rm -f conftest.err conftest.$ac_ext
1.10 paf 6625:
1.23 ! moko 6626: # OK, works on sane cases. Now check whether non-existent headers
! 6627: # can be detected and how.
! 6628: cat >conftest.$ac_ext <<_ACEOF
! 6629: /* confdefs.h. */
! 6630: _ACEOF
! 6631: cat confdefs.h >>conftest.$ac_ext
! 6632: cat >>conftest.$ac_ext <<_ACEOF
! 6633: /* end confdefs.h. */
! 6634: #include <ac_nonexistent.h>
! 6635: _ACEOF
! 6636: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6637: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6638: ac_status=$?
! 6639: grep -v '^ *+' conftest.er1 >conftest.err
! 6640: rm -f conftest.er1
! 6641: cat conftest.err >&5
! 6642: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6643: (exit $ac_status); } >/dev/null; then
! 6644: if test -s conftest.err; then
! 6645: ac_cpp_err=$ac_c_preproc_warn_flag
! 6646: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.10 paf 6647: else
1.23 ! moko 6648: ac_cpp_err=
1.10 paf 6649: fi
6650: else
1.23 ! moko 6651: ac_cpp_err=yes
1.10 paf 6652: fi
1.23 ! moko 6653: if test -z "$ac_cpp_err"; then
! 6654: # Broken: success on invalid input.
! 6655: continue
! 6656: else
! 6657: echo "$as_me: failed program was:" >&5
! 6658: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6659:
1.23 ! moko 6660: # Passes both tests.
! 6661: ac_preproc_ok=:
! 6662: break
1.10 paf 6663: fi
1.23 ! moko 6664: rm -f conftest.err conftest.$ac_ext
1.10 paf 6665:
1.23 ! moko 6666: done
! 6667: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6668: rm -f conftest.err conftest.$ac_ext
! 6669: if $ac_preproc_ok; then
! 6670: break
! 6671: fi
1.10 paf 6672:
1.23 ! moko 6673: done
! 6674: ac_cv_prog_CPP=$CPP
1.10 paf 6675:
1.23 ! moko 6676: fi
! 6677: CPP=$ac_cv_prog_CPP
! 6678: else
! 6679: ac_cv_prog_CPP=$CPP
! 6680: fi
! 6681: echo "$as_me:$LINENO: result: $CPP" >&5
! 6682: echo "${ECHO_T}$CPP" >&6
! 6683: ac_preproc_ok=false
! 6684: for ac_c_preproc_warn_flag in '' yes
! 6685: do
! 6686: # Use a header file that comes with gcc, so configuring glibc
! 6687: # with a fresh cross-compiler works.
! 6688: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6689: # <limits.h> exists even on freestanding compilers.
! 6690: # On the NeXT, cc -E runs the code through the compiler's parser,
! 6691: # not just through cpp. "Syntax error" is here to catch this case.
! 6692: cat >conftest.$ac_ext <<_ACEOF
! 6693: /* confdefs.h. */
! 6694: _ACEOF
! 6695: cat confdefs.h >>conftest.$ac_ext
! 6696: cat >>conftest.$ac_ext <<_ACEOF
! 6697: /* end confdefs.h. */
! 6698: #ifdef __STDC__
! 6699: # include <limits.h>
! 6700: #else
! 6701: # include <assert.h>
! 6702: #endif
! 6703: Syntax error
! 6704: _ACEOF
! 6705: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6706: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6707: ac_status=$?
! 6708: grep -v '^ *+' conftest.er1 >conftest.err
! 6709: rm -f conftest.er1
! 6710: cat conftest.err >&5
! 6711: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6712: (exit $ac_status); } >/dev/null; then
! 6713: if test -s conftest.err; then
! 6714: ac_cpp_err=$ac_c_preproc_warn_flag
! 6715: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 6716: else
! 6717: ac_cpp_err=
! 6718: fi
! 6719: else
! 6720: ac_cpp_err=yes
! 6721: fi
! 6722: if test -z "$ac_cpp_err"; then
! 6723: :
! 6724: else
! 6725: echo "$as_me: failed program was:" >&5
! 6726: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6727:
1.23 ! moko 6728: # Broken: fails on valid input.
! 6729: continue
! 6730: fi
! 6731: rm -f conftest.err conftest.$ac_ext
1.10 paf 6732:
1.23 ! moko 6733: # OK, works on sane cases. Now check whether non-existent headers
! 6734: # can be detected and how.
! 6735: cat >conftest.$ac_ext <<_ACEOF
! 6736: /* confdefs.h. */
! 6737: _ACEOF
! 6738: cat confdefs.h >>conftest.$ac_ext
! 6739: cat >>conftest.$ac_ext <<_ACEOF
! 6740: /* end confdefs.h. */
! 6741: #include <ac_nonexistent.h>
! 6742: _ACEOF
! 6743: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 6744: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 6745: ac_status=$?
! 6746: grep -v '^ *+' conftest.er1 >conftest.err
! 6747: rm -f conftest.er1
! 6748: cat conftest.err >&5
! 6749: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6750: (exit $ac_status); } >/dev/null; then
! 6751: if test -s conftest.err; then
! 6752: ac_cpp_err=$ac_c_preproc_warn_flag
! 6753: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.10 paf 6754: else
1.23 ! moko 6755: ac_cpp_err=
1.10 paf 6756: fi
1.23 ! moko 6757: else
! 6758: ac_cpp_err=yes
! 6759: fi
! 6760: if test -z "$ac_cpp_err"; then
! 6761: # Broken: success on invalid input.
! 6762: continue
! 6763: else
! 6764: echo "$as_me: failed program was:" >&5
! 6765: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6766:
1.23 ! moko 6767: # Passes both tests.
! 6768: ac_preproc_ok=:
! 6769: break
! 6770: fi
! 6771: rm -f conftest.err conftest.$ac_ext
1.10 paf 6772:
1.23 ! moko 6773: done
! 6774: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6775: rm -f conftest.err conftest.$ac_ext
! 6776: if $ac_preproc_ok; then
! 6777: :
! 6778: else
! 6779: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 6780: See \`config.log' for more details." >&5
! 6781: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 6782: See \`config.log' for more details." >&2;}
! 6783: { (exit 1); exit 1; }; }
! 6784: fi
1.10 paf 6785:
1.23 ! moko 6786: ac_ext=c
! 6787: ac_cpp='$CPP $CPPFLAGS'
! 6788: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6789: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6790: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10 paf 6791:
6792:
1.23 ! moko 6793: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 6794: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 6795: if test "${ac_cv_header_stdc+set}" = set; then
! 6796: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6797: else
! 6798: cat >conftest.$ac_ext <<_ACEOF
! 6799: /* confdefs.h. */
! 6800: _ACEOF
! 6801: cat confdefs.h >>conftest.$ac_ext
! 6802: cat >>conftest.$ac_ext <<_ACEOF
! 6803: /* end confdefs.h. */
! 6804: #include <stdlib.h>
! 6805: #include <stdarg.h>
! 6806: #include <string.h>
! 6807: #include <float.h>
1.10 paf 6808:
1.23 ! moko 6809: int
! 6810: main ()
! 6811: {
1.10 paf 6812:
1.23 ! moko 6813: ;
! 6814: return 0;
! 6815: }
! 6816: _ACEOF
! 6817: rm -f conftest.$ac_objext
! 6818: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6819: (eval $ac_compile) 2>conftest.er1
! 6820: ac_status=$?
! 6821: grep -v '^ *+' conftest.er1 >conftest.err
! 6822: rm -f conftest.er1
! 6823: cat conftest.err >&5
! 6824: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6825: (exit $ac_status); } &&
! 6826: { ac_try='test -z "$ac_c_werror_flag"
! 6827: || test ! -s conftest.err'
! 6828: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6829: (eval $ac_try) 2>&5
! 6830: ac_status=$?
! 6831: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6832: (exit $ac_status); }; } &&
! 6833: { ac_try='test -s conftest.$ac_objext'
! 6834: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6835: (eval $ac_try) 2>&5
! 6836: ac_status=$?
! 6837: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6838: (exit $ac_status); }; }; then
! 6839: ac_cv_header_stdc=yes
! 6840: else
! 6841: echo "$as_me: failed program was:" >&5
! 6842: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6843:
1.23 ! moko 6844: ac_cv_header_stdc=no
! 6845: fi
! 6846: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 6847:
1.23 ! moko 6848: if test $ac_cv_header_stdc = yes; then
! 6849: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 6850: cat >conftest.$ac_ext <<_ACEOF
! 6851: /* confdefs.h. */
! 6852: _ACEOF
! 6853: cat confdefs.h >>conftest.$ac_ext
! 6854: cat >>conftest.$ac_ext <<_ACEOF
! 6855: /* end confdefs.h. */
! 6856: #include <string.h>
1.10 paf 6857:
1.23 ! moko 6858: _ACEOF
! 6859: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6860: $EGREP "memchr" >/dev/null 2>&1; then
! 6861: :
! 6862: else
! 6863: ac_cv_header_stdc=no
! 6864: fi
! 6865: rm -f conftest*
! 6866:
! 6867: fi
1.10 paf 6868:
1.23 ! moko 6869: if test $ac_cv_header_stdc = yes; then
! 6870: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 6871: cat >conftest.$ac_ext <<_ACEOF
! 6872: /* confdefs.h. */
! 6873: _ACEOF
! 6874: cat confdefs.h >>conftest.$ac_ext
! 6875: cat >>conftest.$ac_ext <<_ACEOF
! 6876: /* end confdefs.h. */
! 6877: #include <stdlib.h>
1.10 paf 6878:
1.23 ! moko 6879: _ACEOF
! 6880: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6881: $EGREP "free" >/dev/null 2>&1; then
! 6882: :
! 6883: else
! 6884: ac_cv_header_stdc=no
! 6885: fi
! 6886: rm -f conftest*
1.10 paf 6887:
1.23 ! moko 6888: fi
1.10 paf 6889:
1.23 ! moko 6890: if test $ac_cv_header_stdc = yes; then
! 6891: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 6892: if test "$cross_compiling" = yes; then
! 6893: :
! 6894: else
! 6895: cat >conftest.$ac_ext <<_ACEOF
! 6896: /* confdefs.h. */
! 6897: _ACEOF
! 6898: cat confdefs.h >>conftest.$ac_ext
! 6899: cat >>conftest.$ac_ext <<_ACEOF
! 6900: /* end confdefs.h. */
! 6901: #include <ctype.h>
! 6902: #if ((' ' & 0x0FF) == 0x020)
! 6903: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 6904: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 6905: #else
! 6906: # define ISLOWER(c) \
! 6907: (('a' <= (c) && (c) <= 'i') \
! 6908: || ('j' <= (c) && (c) <= 'r') \
! 6909: || ('s' <= (c) && (c) <= 'z'))
! 6910: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 6911: #endif
1.10 paf 6912:
1.23 ! moko 6913: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 6914: int
! 6915: main ()
! 6916: {
! 6917: int i;
! 6918: for (i = 0; i < 256; i++)
! 6919: if (XOR (islower (i), ISLOWER (i))
! 6920: || toupper (i) != TOUPPER (i))
! 6921: exit(2);
! 6922: exit (0);
! 6923: }
! 6924: _ACEOF
! 6925: rm -f conftest$ac_exeext
! 6926: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6927: (eval $ac_link) 2>&5
! 6928: ac_status=$?
! 6929: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6930: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 6931: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6932: (eval $ac_try) 2>&5
! 6933: ac_status=$?
! 6934: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6935: (exit $ac_status); }; }; then
! 6936: :
! 6937: else
! 6938: echo "$as_me: program exited with status $ac_status" >&5
! 6939: echo "$as_me: failed program was:" >&5
! 6940: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 6941:
1.23 ! moko 6942: ( exit $ac_status )
! 6943: ac_cv_header_stdc=no
! 6944: fi
! 6945: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 6946: fi
! 6947: fi
! 6948: fi
! 6949: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 6950: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 6951: if test $ac_cv_header_stdc = yes; then
1.10 paf 6952:
1.23 ! moko 6953: cat >>confdefs.h <<\_ACEOF
! 6954: #define STDC_HEADERS 1
! 6955: _ACEOF
1.10 paf 6956:
1.23 ! moko 6957: fi
1.10 paf 6958:
1.23 ! moko 6959: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.10 paf 6960:
6961:
6962:
6963:
6964:
6965:
6966:
6967:
6968:
1.23 ! moko 6969: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 6970: inttypes.h stdint.h unistd.h
! 6971: do
! 6972: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6973: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6974: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 6975: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 6976: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6977: else
! 6978: cat >conftest.$ac_ext <<_ACEOF
! 6979: /* confdefs.h. */
! 6980: _ACEOF
! 6981: cat confdefs.h >>conftest.$ac_ext
! 6982: cat >>conftest.$ac_ext <<_ACEOF
! 6983: /* end confdefs.h. */
! 6984: $ac_includes_default
1.10 paf 6985:
1.23 ! moko 6986: #include <$ac_header>
! 6987: _ACEOF
! 6988: rm -f conftest.$ac_objext
! 6989: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6990: (eval $ac_compile) 2>conftest.er1
1.10 paf 6991: ac_status=$?
1.16 paf 6992: grep -v '^ *+' conftest.er1 >conftest.err
6993: rm -f conftest.er1
6994: cat conftest.err >&5
1.10 paf 6995: echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996: (exit $ac_status); } &&
1.16 paf 6997: { ac_try='test -z "$ac_c_werror_flag"
6998: || test ! -s conftest.err'
6999: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000: (eval $ac_try) 2>&5
7001: ac_status=$?
7002: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003: (exit $ac_status); }; } &&
1.23 ! moko 7004: { ac_try='test -s conftest.$ac_objext'
1.10 paf 7005: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006: (eval $ac_try) 2>&5
7007: ac_status=$?
7008: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009: (exit $ac_status); }; }; then
1.23 ! moko 7010: eval "$as_ac_Header=yes"
1.10 paf 7011: else
7012: echo "$as_me: failed program was:" >&5
7013: sed 's/^/| /' conftest.$ac_ext >&5
7014:
1.23 ! moko 7015: eval "$as_ac_Header=no"
! 7016: fi
! 7017: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 7018: fi
1.23 ! moko 7019: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 7020: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 7021: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 7022: cat >>confdefs.h <<_ACEOF
! 7023: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 7024: _ACEOF
! 7025:
1.10 paf 7026: fi
1.23 ! moko 7027:
! 7028: done
! 7029:
! 7030:
! 7031:
! 7032: for ac_header in dlfcn.h
! 7033: do
! 7034: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 7035: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 7036: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 7037: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.10 paf 7038: echo $ECHO_N "(cached) $ECHO_C" >&6
7039: else
1.23 ! moko 7040: cat >conftest.$ac_ext <<_ACEOF
1.10 paf 7041: /* confdefs.h. */
7042: _ACEOF
7043: cat confdefs.h >>conftest.$ac_ext
7044: cat >>conftest.$ac_ext <<_ACEOF
7045: /* end confdefs.h. */
1.23 ! moko 7046: $ac_includes_default
1.10 paf 7047:
1.23 ! moko 7048: #include <$ac_header>
1.10 paf 7049: _ACEOF
1.23 ! moko 7050: rm -f conftest.$ac_objext
! 7051: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 7052: (eval $ac_compile) 2>conftest.er1
1.10 paf 7053: ac_status=$?
1.16 paf 7054: grep -v '^ *+' conftest.er1 >conftest.err
7055: rm -f conftest.er1
7056: cat conftest.err >&5
1.10 paf 7057: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058: (exit $ac_status); } &&
1.16 paf 7059: { ac_try='test -z "$ac_c_werror_flag"
7060: || test ! -s conftest.err'
7061: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062: (eval $ac_try) 2>&5
7063: ac_status=$?
7064: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065: (exit $ac_status); }; } &&
1.23 ! moko 7066: { ac_try='test -s conftest.$ac_objext'
1.10 paf 7067: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068: (eval $ac_try) 2>&5
7069: ac_status=$?
7070: echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071: (exit $ac_status); }; }; then
1.23 ! moko 7072: eval "$as_ac_Header=yes"
1.10 paf 7073: else
7074: echo "$as_me: failed program was:" >&5
7075: sed 's/^/| /' conftest.$ac_ext >&5
7076:
1.23 ! moko 7077: eval "$as_ac_Header=no"
1.10 paf 7078: fi
1.23 ! moko 7079: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 paf 7080: fi
1.23 ! moko 7081: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 7082: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 7083: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 7084: cat >>confdefs.h <<_ACEOF
! 7085: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.10 paf 7086: _ACEOF
1.16 paf 7087:
1.23 ! moko 7088: fi
! 7089:
! 7090: done
! 7091:
1.16 paf 7092:
7093:
7094:
1.23 ! moko 7095: func_stripname_cnf ()
1.10 paf 7096: {
1.23 ! moko 7097: case ${2} in
! 7098: .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
! 7099: *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
! 7100: esac
! 7101: } # func_stripname_cnf
! 7102:
! 7103:
! 7104:
! 7105:
! 7106:
! 7107: # Set options
! 7108: enable_dlopen=yes
! 7109: enable_win32_dll=yes
1.10 paf 7110:
1.23 ! moko 7111: case $host in
! 7112: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
! 7113: if test -n "$ac_tool_prefix"; then
! 7114: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
! 7115: set dummy ${ac_tool_prefix}as; ac_word=$2
! 7116: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7117: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7118: if test "${ac_cv_prog_AS+set}" = set; then
! 7119: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7120: else
! 7121: if test -n "$AS"; then
! 7122: ac_cv_prog_AS="$AS" # Let the user override the test.
! 7123: else
! 7124: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7125: for as_dir in $PATH
! 7126: do
! 7127: IFS=$as_save_IFS
! 7128: test -z "$as_dir" && as_dir=.
! 7129: for ac_exec_ext in '' $ac_executable_extensions; do
! 7130: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7131: ac_cv_prog_AS="${ac_tool_prefix}as"
! 7132: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7133: break 2
! 7134: fi
! 7135: done
! 7136: done
! 7137:
! 7138: fi
! 7139: fi
! 7140: AS=$ac_cv_prog_AS
! 7141: if test -n "$AS"; then
! 7142: echo "$as_me:$LINENO: result: $AS" >&5
! 7143: echo "${ECHO_T}$AS" >&6
! 7144: else
! 7145: echo "$as_me:$LINENO: result: no" >&5
! 7146: echo "${ECHO_T}no" >&6
! 7147: fi
! 7148:
! 7149: fi
! 7150: if test -z "$ac_cv_prog_AS"; then
! 7151: ac_ct_AS=$AS
! 7152: # Extract the first word of "as", so it can be a program name with args.
! 7153: set dummy as; ac_word=$2
! 7154: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7155: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7156: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
! 7157: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7158: else
! 7159: if test -n "$ac_ct_AS"; then
! 7160: ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
1.10 paf 7161: else
1.23 ! moko 7162: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7163: for as_dir in $PATH
! 7164: do
! 7165: IFS=$as_save_IFS
! 7166: test -z "$as_dir" && as_dir=.
! 7167: for ac_exec_ext in '' $ac_executable_extensions; do
! 7168: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7169: ac_cv_prog_ac_ct_AS="as"
! 7170: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7171: break 2
! 7172: fi
! 7173: done
! 7174: done
1.10 paf 7175:
1.23 ! moko 7176: test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
! 7177: fi
1.10 paf 7178: fi
1.23 ! moko 7179: ac_ct_AS=$ac_cv_prog_ac_ct_AS
! 7180: if test -n "$ac_ct_AS"; then
! 7181: echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
! 7182: echo "${ECHO_T}$ac_ct_AS" >&6
! 7183: else
! 7184: echo "$as_me:$LINENO: result: no" >&5
! 7185: echo "${ECHO_T}no" >&6
1.10 paf 7186: fi
1.23 ! moko 7187:
! 7188: AS=$ac_ct_AS
1.10 paf 7189: else
1.23 ! moko 7190: AS="$ac_cv_prog_AS"
! 7191: fi
! 7192:
! 7193: if test -n "$ac_tool_prefix"; then
! 7194: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 7195: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 7196: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7197: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7198: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
1.10 paf 7199: echo $ECHO_N "(cached) $ECHO_C" >&6
7200: else
1.23 ! moko 7201: if test -n "$DLLTOOL"; then
! 7202: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.10 paf 7203: else
1.23 ! moko 7204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7205: for as_dir in $PATH
! 7206: do
! 7207: IFS=$as_save_IFS
! 7208: test -z "$as_dir" && as_dir=.
! 7209: for ac_exec_ext in '' $ac_executable_extensions; do
! 7210: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7211: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 7212: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7213: break 2
! 7214: fi
! 7215: done
! 7216: done
1.10 paf 7217:
7218: fi
7219: fi
1.23 ! moko 7220: DLLTOOL=$ac_cv_prog_DLLTOOL
! 7221: if test -n "$DLLTOOL"; then
! 7222: echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 7223: echo "${ECHO_T}$DLLTOOL" >&6
1.10 paf 7224: else
1.23 ! moko 7225: echo "$as_me:$LINENO: result: no" >&5
! 7226: echo "${ECHO_T}no" >&6
! 7227: fi
! 7228:
! 7229: fi
! 7230: if test -z "$ac_cv_prog_DLLTOOL"; then
! 7231: ac_ct_DLLTOOL=$DLLTOOL
! 7232: # Extract the first word of "dlltool", so it can be a program name with args.
! 7233: set dummy dlltool; ac_word=$2
! 7234: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7235: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7236: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.10 paf 7237: echo $ECHO_N "(cached) $ECHO_C" >&6
7238: else
1.23 ! moko 7239: if test -n "$ac_ct_DLLTOOL"; then
! 7240: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.10 paf 7241: else
1.23 ! moko 7242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7243: for as_dir in $PATH
! 7244: do
! 7245: IFS=$as_save_IFS
! 7246: test -z "$as_dir" && as_dir=.
! 7247: for ac_exec_ext in '' $ac_executable_extensions; do
! 7248: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7249: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 7250: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7251: break 2
! 7252: fi
! 7253: done
! 7254: done
1.10 paf 7255:
1.23 ! moko 7256: test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
! 7257: fi
1.10 paf 7258: fi
1.23 ! moko 7259: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 7260: if test -n "$ac_ct_DLLTOOL"; then
! 7261: echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 7262: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
! 7263: else
! 7264: echo "$as_me:$LINENO: result: no" >&5
! 7265: echo "${ECHO_T}no" >&6
1.10 paf 7266: fi
1.23 ! moko 7267:
! 7268: DLLTOOL=$ac_ct_DLLTOOL
1.10 paf 7269: else
1.23 ! moko 7270: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 7271: fi
! 7272:
! 7273: if test -n "$ac_tool_prefix"; then
! 7274: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 7275: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 7276: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7277: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7278: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
1.10 paf 7279: echo $ECHO_N "(cached) $ECHO_C" >&6
7280: else
1.23 ! moko 7281: if test -n "$OBJDUMP"; then
! 7282: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 7283: else
! 7284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7285: for as_dir in $PATH
! 7286: do
! 7287: IFS=$as_save_IFS
! 7288: test -z "$as_dir" && as_dir=.
! 7289: for ac_exec_ext in '' $ac_executable_extensions; do
! 7290: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7291: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 7292: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7293: break 2
! 7294: fi
! 7295: done
! 7296: done
! 7297:
! 7298: fi
! 7299: fi
! 7300: OBJDUMP=$ac_cv_prog_OBJDUMP
! 7301: if test -n "$OBJDUMP"; then
! 7302: echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 7303: echo "${ECHO_T}$OBJDUMP" >&6
! 7304: else
! 7305: echo "$as_me:$LINENO: result: no" >&5
! 7306: echo "${ECHO_T}no" >&6
! 7307: fi
1.10 paf 7308:
1.23 ! moko 7309: fi
! 7310: if test -z "$ac_cv_prog_OBJDUMP"; then
! 7311: ac_ct_OBJDUMP=$OBJDUMP
! 7312: # Extract the first word of "objdump", so it can be a program name with args.
! 7313: set dummy objdump; ac_word=$2
! 7314: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7315: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 7316: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 7317: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7318: else
! 7319: if test -n "$ac_ct_OBJDUMP"; then
! 7320: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.10 paf 7321: else
1.23 ! moko 7322: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7323: for as_dir in $PATH
! 7324: do
! 7325: IFS=$as_save_IFS
! 7326: test -z "$as_dir" && as_dir=.
! 7327: for ac_exec_ext in '' $ac_executable_extensions; do
! 7328: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7329: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 7330: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7331: break 2
! 7332: fi
! 7333: done
! 7334: done
1.10 paf 7335:
1.23 ! moko 7336: test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
! 7337: fi
1.10 paf 7338: fi
1.23 ! moko 7339: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 7340: if test -n "$ac_ct_OBJDUMP"; then
! 7341: echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 7342: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
! 7343: else
! 7344: echo "$as_me:$LINENO: result: no" >&5
! 7345: echo "${ECHO_T}no" >&6
1.10 paf 7346: fi
1.23 ! moko 7347:
! 7348: OBJDUMP=$ac_ct_OBJDUMP
! 7349: else
! 7350: OBJDUMP="$ac_cv_prog_OBJDUMP"
1.10 paf 7351: fi
7352:
1.23 ! moko 7353: ;;
! 7354: esac
! 7355:
! 7356: test -z "$AS" && AS=as
! 7357:
! 7358:
! 7359:
! 7360:
1.10 paf 7361:
1.23 ! moko 7362: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.10 paf 7363:
7364:
7365:
7366:
7367:
1.23 ! moko 7368: test -z "$OBJDUMP" && OBJDUMP=objdump
1.10 paf 7369:
7370:
7371:
7372:
7373:
7374:
7375:
7376:
7377:
1.23 ! moko 7378: # Check whether --enable-shared or --disable-shared was given.
! 7379: if test "${enable_shared+set}" = set; then
! 7380: enableval="$enable_shared"
! 7381: p=${PACKAGE-default}
! 7382: case $enableval in
! 7383: yes) enable_shared=yes ;;
! 7384: no) enable_shared=no ;;
! 7385: *)
! 7386: enable_shared=no
! 7387: # Look at the argument we got. We use all the common list separators.
! 7388: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7389: for pkg in $enableval; do
! 7390: IFS="$lt_save_ifs"
! 7391: if test "X$pkg" = "X$p"; then
! 7392: enable_shared=yes
! 7393: fi
! 7394: done
! 7395: IFS="$lt_save_ifs"
! 7396: ;;
! 7397: esac
1.10 paf 7398: else
1.23 ! moko 7399: enable_shared=yes
! 7400: fi;
1.10 paf 7401:
7402:
7403:
7404:
7405:
7406:
7407:
7408:
1.23 ! moko 7409: # Check whether --enable-static or --disable-static was given.
! 7410: if test "${enable_static+set}" = set; then
! 7411: enableval="$enable_static"
! 7412: p=${PACKAGE-default}
! 7413: case $enableval in
! 7414: yes) enable_static=yes ;;
! 7415: no) enable_static=no ;;
! 7416: *)
! 7417: enable_static=no
! 7418: # Look at the argument we got. We use all the common list separators.
! 7419: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7420: for pkg in $enableval; do
! 7421: IFS="$lt_save_ifs"
! 7422: if test "X$pkg" = "X$p"; then
! 7423: enable_static=yes
! 7424: fi
! 7425: done
! 7426: IFS="$lt_save_ifs"
! 7427: ;;
1.10 paf 7428: esac
1.23 ! moko 7429: else
! 7430: enable_static=yes
! 7431: fi;
1.10 paf 7432:
7433:
7434:
7435:
7436:
7437:
7438:
7439:
7440:
1.23 ! moko 7441: # Check whether --with-pic or --without-pic was given.
! 7442: if test "${with_pic+set}" = set; then
! 7443: withval="$with_pic"
! 7444: lt_p=${PACKAGE-default}
! 7445: case $withval in
! 7446: yes|no) pic_mode=$withval ;;
! 7447: *)
! 7448: pic_mode=default
! 7449: # Look at the argument we got. We use all the common list separators.
! 7450: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7451: for lt_pkg in $withval; do
! 7452: IFS="$lt_save_ifs"
! 7453: if test "X$lt_pkg" = "X$lt_p"; then
! 7454: pic_mode=yes
! 7455: fi
! 7456: done
! 7457: IFS="$lt_save_ifs"
! 7458: ;;
1.10 paf 7459: esac
1.23 ! moko 7460: else
! 7461: pic_mode=default
! 7462: fi;
1.10 paf 7463:
1.23 ! moko 7464: test -z "$pic_mode" && pic_mode=default
1.10 paf 7465:
7466:
7467:
7468:
7469:
7470:
7471:
1.23 ! moko 7472: # Check whether --enable-fast-install or --disable-fast-install was given.
! 7473: if test "${enable_fast_install+set}" = set; then
! 7474: enableval="$enable_fast_install"
! 7475: p=${PACKAGE-default}
! 7476: case $enableval in
! 7477: yes) enable_fast_install=yes ;;
! 7478: no) enable_fast_install=no ;;
1.10 paf 7479: *)
1.23 ! moko 7480: enable_fast_install=no
! 7481: # Look at the argument we got. We use all the common list separators.
! 7482: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7483: for pkg in $enableval; do
! 7484: IFS="$lt_save_ifs"
! 7485: if test "X$pkg" = "X$p"; then
! 7486: enable_fast_install=yes
! 7487: fi
! 7488: done
! 7489: IFS="$lt_save_ifs"
1.10 paf 7490: ;;
7491: esac
1.23 ! moko 7492: else
! 7493: enable_fast_install=yes
! 7494: fi;
1.10 paf 7495:
7496:
7497:
7498:
7499:
7500:
7501:
7502:
7503:
7504:
1.23 ! moko 7505: # This can be used to rebuild libtool when needed
! 7506: LIBTOOL_DEPS="$ltmain"
1.10 paf 7507:
1.23 ! moko 7508: # Always use our own libtool.
! 7509: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.10 paf 7510:
7511:
7512:
7513:
7514:
7515:
7516:
7517:
7518:
7519:
7520:
7521:
7522:
7523:
7524:
7525:
7526:
7527:
7528:
7529:
7530:
7531:
7532:
7533:
7534:
7535:
7536:
7537:
7538:
7539:
1.23 ! moko 7540: test -z "$LN_S" && LN_S="ln -s"
1.10 paf 7541:
7542:
7543:
7544:
7545:
7546:
7547:
7548:
7549:
7550:
7551:
7552:
7553:
7554:
1.23 ! moko 7555: if test -n "${ZSH_VERSION+set}" ; then
! 7556: setopt NO_GLOB_SUBST
! 7557: fi
1.10 paf 7558:
1.23 ! moko 7559: echo "$as_me:$LINENO: checking for objdir" >&5
! 7560: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 7561: if test "${lt_cv_objdir+set}" = set; then
! 7562: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7563: else
! 7564: rm -f .libs 2>/dev/null
! 7565: mkdir .libs 2>/dev/null
! 7566: if test -d .libs; then
! 7567: lt_cv_objdir=.libs
! 7568: else
! 7569: # MS-DOS does not allow filenames that begin with a dot.
! 7570: lt_cv_objdir=_libs
! 7571: fi
! 7572: rmdir .libs 2>/dev/null
! 7573: fi
! 7574: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 7575: echo "${ECHO_T}$lt_cv_objdir" >&6
! 7576: objdir=$lt_cv_objdir
1.10 paf 7577:
7578:
7579:
7580:
7581:
1.23 ! moko 7582: cat >>confdefs.h <<_ACEOF
! 7583: #define LT_OBJDIR "$lt_cv_objdir/"
! 7584: _ACEOF
1.10 paf 7585:
7586:
7587:
7588:
1.23 ! moko 7589: case $host_os in
! 7590: aix3*)
! 7591: # AIX sometimes has problems with the GCC collect2 program. For some
! 7592: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 7593: # vanish in a puff of smoke.
! 7594: if test "X${COLLECT_NAMES+set}" != Xset; then
! 7595: COLLECT_NAMES=
! 7596: export COLLECT_NAMES
! 7597: fi
! 7598: ;;
! 7599: esac
1.10 paf 7600:
1.23 ! moko 7601: # Global variables:
! 7602: ofile=libtool
! 7603: can_build_shared=yes
1.10 paf 7604:
1.23 ! moko 7605: # All known linkers require a `.a' archive for static linking (except MSVC,
! 7606: # which needs '.lib').
! 7607: libext=a
1.10 paf 7608:
1.23 ! moko 7609: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.10 paf 7610:
1.23 ! moko 7611: old_CC="$CC"
! 7612: old_CFLAGS="$CFLAGS"
1.10 paf 7613:
1.23 ! moko 7614: # Set sane defaults for various variables
! 7615: test -z "$CC" && CC=cc
! 7616: test -z "$LTCC" && LTCC=$CC
! 7617: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 7618: test -z "$LD" && LD=ld
! 7619: test -z "$ac_objext" && ac_objext=o
1.10 paf 7620:
1.23 ! moko 7621: for cc_temp in $compiler""; do
! 7622: case $cc_temp in
! 7623: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7624: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7625: \-*) ;;
! 7626: *) break;;
! 7627: esac
! 7628: done
! 7629: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.10 paf 7630:
7631:
1.23 ! moko 7632: # Only perform the check for file, if the check method requires it
! 7633: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7634: case $deplibs_check_method in
! 7635: file_magic*)
! 7636: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7637: echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 7638: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! 7639: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7640: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7641: else
! 7642: case $MAGIC_CMD in
! 7643: [\\/*] | ?:[\\/]*)
! 7644: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7645: ;;
! 7646: *)
! 7647: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7648: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7649: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7650: for ac_dir in $ac_dummy; do
! 7651: IFS="$lt_save_ifs"
! 7652: test -z "$ac_dir" && ac_dir=.
! 7653: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7654: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7655: if test -n "$file_magic_test_file"; then
! 7656: case $deplibs_check_method in
! 7657: "file_magic "*)
! 7658: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7659: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7660: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7661: $EGREP "$file_magic_regex" > /dev/null; then
! 7662: :
! 7663: else
! 7664: cat <<_LT_EOF 1>&2
1.10 paf 7665:
1.23 ! moko 7666: *** Warning: the command libtool uses to detect shared libraries,
! 7667: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7668: *** The result is that libtool may fail to recognize shared libraries
! 7669: *** as such. This will affect the creation of libtool libraries that
! 7670: *** depend on shared libraries, but programs linked with such libtool
! 7671: *** libraries will work regardless of this problem. Nevertheless, you
! 7672: *** may want to report the problem to your system manager and/or to
! 7673: *** bug-libtool@gnu.org
1.10 paf 7674:
1.23 ! moko 7675: _LT_EOF
! 7676: fi ;;
! 7677: esac
! 7678: fi
! 7679: break
! 7680: fi
! 7681: done
! 7682: IFS="$lt_save_ifs"
! 7683: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7684: ;;
! 7685: esac
! 7686: fi
1.10 paf 7687:
1.23 ! moko 7688: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7689: if test -n "$MAGIC_CMD"; then
! 7690: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7691: echo "${ECHO_T}$MAGIC_CMD" >&6
! 7692: else
! 7693: echo "$as_me:$LINENO: result: no" >&5
! 7694: echo "${ECHO_T}no" >&6
! 7695: fi
1.10 paf 7696:
7697:
7698:
7699:
7700:
1.23 ! moko 7701: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7702: if test -n "$ac_tool_prefix"; then
! 7703: echo "$as_me:$LINENO: checking for file" >&5
! 7704: echo $ECHO_N "checking for file... $ECHO_C" >&6
! 7705: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7706: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7707: else
! 7708: case $MAGIC_CMD in
! 7709: [\\/*] | ?:[\\/]*)
! 7710: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7711: ;;
! 7712: *)
! 7713: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7714: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7715: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7716: for ac_dir in $ac_dummy; do
! 7717: IFS="$lt_save_ifs"
! 7718: test -z "$ac_dir" && ac_dir=.
! 7719: if test -f $ac_dir/file; then
! 7720: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7721: if test -n "$file_magic_test_file"; then
! 7722: case $deplibs_check_method in
! 7723: "file_magic "*)
! 7724: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7725: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7726: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7727: $EGREP "$file_magic_regex" > /dev/null; then
! 7728: :
! 7729: else
! 7730: cat <<_LT_EOF 1>&2
1.10 paf 7731:
1.23 ! moko 7732: *** Warning: the command libtool uses to detect shared libraries,
! 7733: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7734: *** The result is that libtool may fail to recognize shared libraries
! 7735: *** as such. This will affect the creation of libtool libraries that
! 7736: *** depend on shared libraries, but programs linked with such libtool
! 7737: *** libraries will work regardless of this problem. Nevertheless, you
! 7738: *** may want to report the problem to your system manager and/or to
! 7739: *** bug-libtool@gnu.org
1.10 paf 7740:
1.23 ! moko 7741: _LT_EOF
! 7742: fi ;;
! 7743: esac
! 7744: fi
! 7745: break
! 7746: fi
! 7747: done
! 7748: IFS="$lt_save_ifs"
! 7749: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7750: ;;
! 7751: esac
! 7752: fi
1.10 paf 7753:
1.23 ! moko 7754: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7755: if test -n "$MAGIC_CMD"; then
! 7756: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7757: echo "${ECHO_T}$MAGIC_CMD" >&6
! 7758: else
! 7759: echo "$as_me:$LINENO: result: no" >&5
! 7760: echo "${ECHO_T}no" >&6
1.10 paf 7761: fi
7762:
7763:
1.23 ! moko 7764: else
! 7765: MAGIC_CMD=:
! 7766: fi
1.10 paf 7767: fi
7768:
1.23 ! moko 7769: fi
! 7770: ;;
! 7771: esac
1.10 paf 7772:
1.23 ! moko 7773: # Use C for the default configuration in the libtool script
1.10 paf 7774:
1.23 ! moko 7775: lt_save_CC="$CC"
! 7776: ac_ext=c
! 7777: ac_cpp='$CPP $CPPFLAGS'
! 7778: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7779: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7780: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10 paf 7781:
7782:
1.23 ! moko 7783: # Source file extension for C test sources.
! 7784: ac_ext=c
1.10 paf 7785:
1.23 ! moko 7786: # Object file extension for compiled C test sources.
! 7787: objext=o
! 7788: objext=$objext
1.10 paf 7789:
1.23 ! moko 7790: # Code to be used in simple compile tests
! 7791: lt_simple_compile_test_code="int some_variable = 0;"
1.10 paf 7792:
1.23 ! moko 7793: # Code to be used in simple link tests
! 7794: lt_simple_link_test_code='int main(){return(0);}'
1.10 paf 7795:
7796:
7797:
7798:
7799:
7800:
7801:
1.23 ! moko 7802: # If no C compiler was specified, use CC.
! 7803: LTCC=${LTCC-"$CC"}
1.10 paf 7804:
1.23 ! moko 7805: # If no C compiler flags were specified, use CFLAGS.
! 7806: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.10 paf 7807:
1.23 ! moko 7808: # Allow CC to be a program name with arguments.
! 7809: compiler=$CC
1.10 paf 7810:
1.23 ! moko 7811: # Save the default compiler, since it gets overwritten when the other
! 7812: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 7813: compiler_DEFAULT=$CC
! 7814:
! 7815: # save warnings/boilerplate of simple test code
! 7816: ac_outfile=conftest.$ac_objext
! 7817: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7818: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7819: _lt_compiler_boilerplate=`cat conftest.err`
! 7820: $RM conftest*
! 7821:
! 7822: ac_outfile=conftest.$ac_objext
! 7823: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7824: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7825: _lt_linker_boilerplate=`cat conftest.err`
! 7826: $RM -r conftest*
! 7827:
! 7828:
! 7829: ## CAVEAT EMPTOR:
! 7830: ## There is no encapsulation within the following macros, do not change
! 7831: ## the running order or otherwise move them around unless you know exactly
! 7832: ## what you are doing...
! 7833: if test -n "$compiler"; then
1.10 paf 7834:
1.23 ! moko 7835: lt_prog_compiler_no_builtin_flag=
1.13 paf 7836:
1.23 ! moko 7837: if test "$GCC" = yes; then
! 7838: case $cc_basename in
! 7839: nvcc*)
! 7840: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
! 7841: *)
! 7842: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
! 7843: esac
1.10 paf 7844:
1.23 ! moko 7845: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7846: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 7847: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.10 paf 7848: echo $ECHO_N "(cached) $ECHO_C" >&6
7849: else
1.23 ! moko 7850: lt_cv_prog_compiler_rtti_exceptions=no
! 7851: ac_outfile=conftest.$ac_objext
! 7852: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7853: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7854: # Insert the option either (1) after the last *FLAGS variable, or
! 7855: # (2) before a word containing "conftest.", or (3) at the end.
! 7856: # Note that $ac_compile itself does not contain backslashes and begins
! 7857: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7858: # The option is referenced via a variable to avoid confusing sed.
! 7859: lt_compile=`echo "$ac_compile" | $SED \
! 7860: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7861: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7862: -e 's:$: $lt_compiler_flag:'`
! 7863: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 7864: (eval "$lt_compile" 2>conftest.err)
! 7865: ac_status=$?
! 7866: cat conftest.err >&5
! 7867: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7868: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7869: # The compiler can only warn and ignore the option if not recognized
! 7870: # So say no if there are warnings other than the usual output.
! 7871: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 7872: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7873: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7874: lt_cv_prog_compiler_rtti_exceptions=yes
! 7875: fi
! 7876: fi
! 7877: $RM conftest*
1.10 paf 7878:
7879: fi
1.23 ! moko 7880: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7881: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.10 paf 7882:
1.23 ! moko 7883: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7884: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.10 paf 7885: else
1.23 ! moko 7886: :
1.10 paf 7887: fi
7888:
7889: fi
7890:
1.23 ! moko 7891:
! 7892:
! 7893:
! 7894:
! 7895:
! 7896: lt_prog_compiler_wl=
! 7897: lt_prog_compiler_pic=
! 7898: lt_prog_compiler_static=
! 7899:
! 7900:
! 7901: if test "$GCC" = yes; then
! 7902: lt_prog_compiler_wl='-Wl,'
! 7903: lt_prog_compiler_static='-static'
! 7904:
! 7905: case $host_os in
! 7906: aix*)
! 7907: # All AIX code is PIC.
! 7908: if test "$host_cpu" = ia64; then
! 7909: # AIX 5 now supports IA64 processor
! 7910: lt_prog_compiler_static='-Bstatic'
! 7911: fi
! 7912: ;;
! 7913:
! 7914: amigaos*)
! 7915: case $host_cpu in
! 7916: powerpc)
! 7917: # see comment about AmigaOS4 .so support
! 7918: lt_prog_compiler_pic='-fPIC'
! 7919: ;;
! 7920: m68k)
! 7921: # FIXME: we need at least 68020 code to build shared libraries, but
! 7922: # adding the `-m68020' flag to GCC prevents building anything better,
! 7923: # like `-m68040'.
! 7924: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7925: ;;
! 7926: esac
! 7927: ;;
! 7928:
! 7929: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7930: # PIC is the default for these OSes.
! 7931: ;;
! 7932:
! 7933: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7934: # This hack is so that the source file can tell whether it is being
! 7935: # built for inclusion in a dll (and should export symbols for example).
! 7936: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7937: # (--disable-auto-import) libraries
! 7938: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7939: ;;
! 7940:
! 7941: darwin* | rhapsody*)
! 7942: # PIC is the default on this platform
! 7943: # Common symbols not allowed in MH_DYLIB files
! 7944: lt_prog_compiler_pic='-fno-common'
! 7945: ;;
! 7946:
! 7947: haiku*)
! 7948: # PIC is the default for Haiku.
! 7949: # The "-static" flag exists, but is broken.
! 7950: lt_prog_compiler_static=
! 7951: ;;
! 7952:
! 7953: hpux*)
! 7954: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 7955: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 7956: # sets the default TLS model and affects inlining.
! 7957: case $host_cpu in
! 7958: hppa*64*)
! 7959: # +Z the default
! 7960: ;;
! 7961: *)
! 7962: lt_prog_compiler_pic='-fPIC'
! 7963: ;;
! 7964: esac
! 7965: ;;
! 7966:
! 7967: interix[3-9]*)
! 7968: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7969: # Instead, we relocate shared libraries at runtime.
! 7970: ;;
! 7971:
! 7972: msdosdjgpp*)
! 7973: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7974: # on systems that don't support them.
! 7975: lt_prog_compiler_can_build_shared=no
! 7976: enable_shared=no
! 7977: ;;
! 7978:
! 7979: *nto* | *qnx*)
! 7980: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7981: # it will coredump.
! 7982: lt_prog_compiler_pic='-fPIC -shared'
! 7983: ;;
! 7984:
! 7985: sysv4*MP*)
! 7986: if test -d /usr/nec; then
! 7987: lt_prog_compiler_pic=-Kconform_pic
! 7988: fi
! 7989: ;;
! 7990:
! 7991: *)
! 7992: lt_prog_compiler_pic='-fPIC'
! 7993: ;;
! 7994: esac
! 7995:
! 7996: case $cc_basename in
! 7997: nvcc*) # Cuda Compiler Driver 2.2
! 7998: lt_prog_compiler_wl='-Xlinker '
! 7999: if test -n "$lt_prog_compiler_pic"; then
! 8000: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
! 8001: fi
! 8002: ;;
! 8003: esac
! 8004: else
! 8005: # PORTME Check for flag to pass linker flags through the system compiler.
! 8006: case $host_os in
! 8007: aix*)
! 8008: lt_prog_compiler_wl='-Wl,'
! 8009: if test "$host_cpu" = ia64; then
! 8010: # AIX 5 now supports IA64 processor
! 8011: lt_prog_compiler_static='-Bstatic'
! 8012: else
! 8013: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 8014: fi
! 8015: ;;
! 8016:
! 8017: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 8018: # This hack is so that the source file can tell whether it is being
! 8019: # built for inclusion in a dll (and should export symbols for example).
! 8020: lt_prog_compiler_pic='-DDLL_EXPORT'
! 8021: ;;
! 8022:
! 8023: hpux9* | hpux10* | hpux11*)
! 8024: lt_prog_compiler_wl='-Wl,'
! 8025: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 8026: # not for PA HP-UX.
! 8027: case $host_cpu in
! 8028: hppa*64*|ia64*)
! 8029: # +Z the default
! 8030: ;;
! 8031: *)
! 8032: lt_prog_compiler_pic='+Z'
! 8033: ;;
! 8034: esac
! 8035: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 8036: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 8037: ;;
! 8038:
! 8039: irix5* | irix6* | nonstopux*)
! 8040: lt_prog_compiler_wl='-Wl,'
! 8041: # PIC (with -KPIC) is the default.
! 8042: lt_prog_compiler_static='-non_shared'
! 8043: ;;
! 8044:
! 8045: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 8046: case $cc_basename in
! 8047: # old Intel for x86_64 which still supported -KPIC.
! 8048: ecc*)
! 8049: lt_prog_compiler_wl='-Wl,'
! 8050: lt_prog_compiler_pic='-KPIC'
! 8051: lt_prog_compiler_static='-static'
! 8052: ;;
! 8053: # icc used to be incompatible with GCC.
! 8054: # ICC 10 doesn't accept -KPIC any more.
! 8055: icc* | ifort*)
! 8056: lt_prog_compiler_wl='-Wl,'
! 8057: lt_prog_compiler_pic='-fPIC'
! 8058: lt_prog_compiler_static='-static'
! 8059: ;;
! 8060: # Lahey Fortran 8.1.
! 8061: lf95*)
! 8062: lt_prog_compiler_wl='-Wl,'
! 8063: lt_prog_compiler_pic='--shared'
! 8064: lt_prog_compiler_static='--static'
! 8065: ;;
! 8066: nagfor*)
! 8067: # NAG Fortran compiler
! 8068: lt_prog_compiler_wl='-Wl,-Wl,,'
! 8069: lt_prog_compiler_pic='-PIC'
! 8070: lt_prog_compiler_static='-Bstatic'
! 8071: ;;
! 8072: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
! 8073: # Portland Group compilers (*not* the Pentium gcc compiler,
! 8074: # which looks to be a dead project)
! 8075: lt_prog_compiler_wl='-Wl,'
! 8076: lt_prog_compiler_pic='-fpic'
! 8077: lt_prog_compiler_static='-Bstatic'
! 8078: ;;
! 8079: ccc*)
! 8080: lt_prog_compiler_wl='-Wl,'
! 8081: # All Alpha code is PIC.
! 8082: lt_prog_compiler_static='-non_shared'
! 8083: ;;
! 8084: xl* | bgxl* | bgf* | mpixl*)
! 8085: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
! 8086: lt_prog_compiler_wl='-Wl,'
! 8087: lt_prog_compiler_pic='-qpic'
! 8088: lt_prog_compiler_static='-qstaticlink'
! 8089: ;;
! 8090: *)
! 8091: case `$CC -V 2>&1 | sed 5q` in
! 8092: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
! 8093: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 8094: lt_prog_compiler_pic='-KPIC'
! 8095: lt_prog_compiler_static='-Bstatic'
! 8096: lt_prog_compiler_wl=''
! 8097: ;;
! 8098: *Sun\ F* | *Sun*Fortran*)
! 8099: lt_prog_compiler_pic='-KPIC'
! 8100: lt_prog_compiler_static='-Bstatic'
! 8101: lt_prog_compiler_wl='-Qoption ld '
! 8102: ;;
! 8103: *Sun\ C*)
! 8104: # Sun C 5.9
! 8105: lt_prog_compiler_pic='-KPIC'
! 8106: lt_prog_compiler_static='-Bstatic'
! 8107: lt_prog_compiler_wl='-Wl,'
! 8108: ;;
! 8109: *Intel*\ [CF]*Compiler*)
! 8110: lt_prog_compiler_wl='-Wl,'
! 8111: lt_prog_compiler_pic='-fPIC'
! 8112: lt_prog_compiler_static='-static'
! 8113: ;;
! 8114: *Portland\ Group*)
! 8115: lt_prog_compiler_wl='-Wl,'
! 8116: lt_prog_compiler_pic='-fpic'
! 8117: lt_prog_compiler_static='-Bstatic'
! 8118: ;;
! 8119: esac
! 8120: ;;
! 8121: esac
! 8122: ;;
! 8123:
! 8124: newsos6)
! 8125: lt_prog_compiler_pic='-KPIC'
! 8126: lt_prog_compiler_static='-Bstatic'
! 8127: ;;
! 8128:
! 8129: *nto* | *qnx*)
! 8130: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 8131: # it will coredump.
! 8132: lt_prog_compiler_pic='-fPIC -shared'
! 8133: ;;
! 8134:
! 8135: osf3* | osf4* | osf5*)
! 8136: lt_prog_compiler_wl='-Wl,'
! 8137: # All OSF/1 code is PIC.
! 8138: lt_prog_compiler_static='-non_shared'
! 8139: ;;
! 8140:
! 8141: rdos*)
! 8142: lt_prog_compiler_static='-non_shared'
! 8143: ;;
! 8144:
! 8145: solaris*)
! 8146: lt_prog_compiler_pic='-KPIC'
! 8147: lt_prog_compiler_static='-Bstatic'
! 8148: case $cc_basename in
! 8149: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
! 8150: lt_prog_compiler_wl='-Qoption ld ';;
! 8151: *)
! 8152: lt_prog_compiler_wl='-Wl,';;
! 8153: esac
! 8154: ;;
! 8155:
! 8156: sunos4*)
! 8157: lt_prog_compiler_wl='-Qoption ld '
! 8158: lt_prog_compiler_pic='-PIC'
! 8159: lt_prog_compiler_static='-Bstatic'
! 8160: ;;
! 8161:
! 8162: sysv4 | sysv4.2uw2* | sysv4.3*)
! 8163: lt_prog_compiler_wl='-Wl,'
! 8164: lt_prog_compiler_pic='-KPIC'
! 8165: lt_prog_compiler_static='-Bstatic'
! 8166: ;;
! 8167:
! 8168: sysv4*MP*)
! 8169: if test -d /usr/nec ;then
! 8170: lt_prog_compiler_pic='-Kconform_pic'
! 8171: lt_prog_compiler_static='-Bstatic'
! 8172: fi
! 8173: ;;
! 8174:
! 8175: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 8176: lt_prog_compiler_wl='-Wl,'
! 8177: lt_prog_compiler_pic='-KPIC'
! 8178: lt_prog_compiler_static='-Bstatic'
! 8179: ;;
! 8180:
! 8181: unicos*)
! 8182: lt_prog_compiler_wl='-Wl,'
! 8183: lt_prog_compiler_can_build_shared=no
! 8184: ;;
! 8185:
! 8186: uts4*)
! 8187: lt_prog_compiler_pic='-pic'
! 8188: lt_prog_compiler_static='-Bstatic'
! 8189: ;;
! 8190:
! 8191: *)
! 8192: lt_prog_compiler_can_build_shared=no
! 8193: ;;
! 8194: esac
! 8195: fi
! 8196:
! 8197: case $host_os in
! 8198: # For platforms which do not support PIC, -DPIC is meaningless:
! 8199: *djgpp*)
! 8200: lt_prog_compiler_pic=
1.10 paf 8201: ;;
1.23 ! moko 8202: *)
! 8203: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.10 paf 8204: ;;
8205: esac
1.23 ! moko 8206:
! 8207: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 8208: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 8209: if test "${lt_cv_prog_compiler_pic+set}" = set; then
! 8210: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8211: else
! 8212: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
! 8213: fi
! 8214: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
! 8215: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
! 8216: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
! 8217:
! 8218: #
! 8219: # Check to make sure the PIC flag actually works.
! 8220: #
! 8221: if test -n "$lt_prog_compiler_pic"; then
! 8222: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 8223: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
! 8224: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
1.10 paf 8225: echo $ECHO_N "(cached) $ECHO_C" >&6
8226: else
1.23 ! moko 8227: lt_cv_prog_compiler_pic_works=no
! 8228: ac_outfile=conftest.$ac_objext
! 8229: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8230: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 8231: # Insert the option either (1) after the last *FLAGS variable, or
! 8232: # (2) before a word containing "conftest.", or (3) at the end.
! 8233: # Note that $ac_compile itself does not contain backslashes and begins
! 8234: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8235: # The option is referenced via a variable to avoid confusing sed.
! 8236: lt_compile=`echo "$ac_compile" | $SED \
! 8237: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8238: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8239: -e 's:$: $lt_compiler_flag:'`
! 8240: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8241: (eval "$lt_compile" 2>conftest.err)
! 8242: ac_status=$?
! 8243: cat conftest.err >&5
! 8244: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8245: if (exit $ac_status) && test -s "$ac_outfile"; then
! 8246: # The compiler can only warn and ignore the option if not recognized
! 8247: # So say no if there are warnings other than the usual output.
! 8248: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 8249: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8250: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 8251: lt_cv_prog_compiler_pic_works=yes
! 8252: fi
! 8253: fi
! 8254: $RM conftest*
! 8255:
1.1 parser 8256: fi
1.23 ! moko 8257: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! 8258: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.10 paf 8259:
1.23 ! moko 8260: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 8261: case $lt_prog_compiler_pic in
! 8262: "" | " "*) ;;
! 8263: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 8264: esac
! 8265: else
! 8266: lt_prog_compiler_pic=
! 8267: lt_prog_compiler_can_build_shared=no
1.1 parser 8268: fi
8269:
8270: fi
8271:
1.10 paf 8272:
1.1 parser 8273:
8274:
1.10 paf 8275:
1.1 parser 8276:
8277:
8278:
8279:
8280:
8281:
1.23 ! moko 8282: #
! 8283: # Check to make sure the static flag actually works.
! 8284: #
! 8285: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 8286: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 8287: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 8288: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
! 8289: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8290: else
! 8291: lt_cv_prog_compiler_static_works=no
! 8292: save_LDFLAGS="$LDFLAGS"
! 8293: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 8294: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 8295: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 8296: # The linker can only warn and ignore the option if not recognized
! 8297: # So say no if there are warnings
! 8298: if test -s conftest.err; then
! 8299: # Append any errors to the config.log.
! 8300: cat conftest.err 1>&5
! 8301: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 8302: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8303: if diff conftest.exp conftest.er2 >/dev/null; then
! 8304: lt_cv_prog_compiler_static_works=yes
! 8305: fi
! 8306: else
! 8307: lt_cv_prog_compiler_static_works=yes
! 8308: fi
! 8309: fi
! 8310: $RM -r conftest*
! 8311: LDFLAGS="$save_LDFLAGS"
1.10 paf 8312:
1.23 ! moko 8313: fi
! 8314: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! 8315: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
1.10 paf 8316:
1.23 ! moko 8317: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 8318: :
! 8319: else
! 8320: lt_prog_compiler_static=
1.1 parser 8321: fi
8322:
8323:
8324:
1.10 paf 8325:
8326:
8327:
1.1 parser 8328:
1.23 ! moko 8329: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8330: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 8331: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8332: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8333: else
! 8334: lt_cv_prog_compiler_c_o=no
! 8335: $RM -r conftest 2>/dev/null
! 8336: mkdir conftest
! 8337: cd conftest
! 8338: mkdir out
! 8339: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8340:
! 8341: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8342: # Insert the option either (1) after the last *FLAGS variable, or
! 8343: # (2) before a word containing "conftest.", or (3) at the end.
! 8344: # Note that $ac_compile itself does not contain backslashes and begins
! 8345: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8346: lt_compile=`echo "$ac_compile" | $SED \
! 8347: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8348: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8349: -e 's:$: $lt_compiler_flag:'`
! 8350: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8351: (eval "$lt_compile" 2>out/conftest.err)
! 8352: ac_status=$?
! 8353: cat out/conftest.err >&5
! 8354: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8355: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8356: then
! 8357: # The compiler can only warn and ignore the option if not recognized
! 8358: # So say no if there are warnings
! 8359: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8360: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8361: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8362: lt_cv_prog_compiler_c_o=yes
! 8363: fi
! 8364: fi
! 8365: chmod u+w . 2>&5
! 8366: $RM conftest*
! 8367: # SGI C++ compiler will create directory out/ii_files/ for
! 8368: # template instantiation
! 8369: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8370: $RM out/* && rmdir out
! 8371: cd ..
! 8372: $RM -r conftest
! 8373: $RM conftest*
! 8374:
1.10 paf 8375: fi
1.23 ! moko 8376: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8377: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
! 8378:
1.1 parser 8379:
1.10 paf 8380:
8381:
8382:
8383:
1.23 ! moko 8384: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8385: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 8386: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8387: echo $ECHO_N "(cached) $ECHO_C" >&6
1.10 paf 8388: else
1.23 ! moko 8389: lt_cv_prog_compiler_c_o=no
! 8390: $RM -r conftest 2>/dev/null
! 8391: mkdir conftest
! 8392: cd conftest
! 8393: mkdir out
! 8394: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8395:
! 8396: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8397: # Insert the option either (1) after the last *FLAGS variable, or
! 8398: # (2) before a word containing "conftest.", or (3) at the end.
! 8399: # Note that $ac_compile itself does not contain backslashes and begins
! 8400: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8401: lt_compile=`echo "$ac_compile" | $SED \
! 8402: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8403: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8404: -e 's:$: $lt_compiler_flag:'`
! 8405: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8406: (eval "$lt_compile" 2>out/conftest.err)
! 8407: ac_status=$?
! 8408: cat out/conftest.err >&5
! 8409: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8410: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8411: then
! 8412: # The compiler can only warn and ignore the option if not recognized
! 8413: # So say no if there are warnings
! 8414: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8415: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8416: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8417: lt_cv_prog_compiler_c_o=yes
! 8418: fi
! 8419: fi
! 8420: chmod u+w . 2>&5
! 8421: $RM conftest*
! 8422: # SGI C++ compiler will create directory out/ii_files/ for
! 8423: # template instantiation
! 8424: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8425: $RM out/* && rmdir out
! 8426: cd ..
! 8427: $RM -r conftest
! 8428: $RM conftest*
! 8429:
1.10 paf 8430: fi
1.23 ! moko 8431: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8432: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
! 8433:
1.10 paf 8434:
8435:
8436:
1.23 ! moko 8437: hard_links="nottested"
! 8438: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 8439: # do not overwrite the value of need_locks provided by the user
! 8440: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 8441: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 8442: hard_links=yes
! 8443: $RM conftest*
! 8444: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8445: touch conftest.a
! 8446: ln conftest.a conftest.b 2>&5 || hard_links=no
! 8447: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8448: echo "$as_me:$LINENO: result: $hard_links" >&5
! 8449: echo "${ECHO_T}$hard_links" >&6
! 8450: if test "$hard_links" = no; then
! 8451: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 8452: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 8453: need_locks=warn
1.10 paf 8454: fi
8455: else
1.23 ! moko 8456: need_locks=no
1.10 paf 8457: fi
8458:
8459:
8460:
8461:
8462:
8463:
1.23 ! moko 8464: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 8465: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 8466:
! 8467: runpath_var=
! 8468: allow_undefined_flag=
! 8469: always_export_symbols=no
! 8470: archive_cmds=
! 8471: archive_expsym_cmds=
! 8472: compiler_needs_object=no
! 8473: enable_shared_with_static_runtimes=no
! 8474: export_dynamic_flag_spec=
! 8475: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8476: hardcode_automatic=no
! 8477: hardcode_direct=no
! 8478: hardcode_direct_absolute=no
! 8479: hardcode_libdir_flag_spec=
! 8480: hardcode_libdir_separator=
! 8481: hardcode_minus_L=no
! 8482: hardcode_shlibpath_var=unsupported
! 8483: inherit_rpath=no
! 8484: link_all_deplibs=unknown
! 8485: module_cmds=
! 8486: module_expsym_cmds=
! 8487: old_archive_from_new_cmds=
! 8488: old_archive_from_expsyms_cmds=
! 8489: thread_safe_flag_spec=
! 8490: whole_archive_flag_spec=
! 8491: # include_expsyms should be a list of space-separated symbols to be *always*
! 8492: # included in the symbol list
! 8493: include_expsyms=
! 8494: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8495: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8496: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8497: # as well as any symbol that contains `d'.
! 8498: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8499: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8500: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8501: # the symbol is explicitly referenced. Since portable code cannot
! 8502: # rely on this symbol name, it's probably fine to never include it in
! 8503: # preloaded symbol tables.
! 8504: # Exclude shared library initialization/finalization symbols.
! 8505: extract_expsyms_cmds=
! 8506:
! 8507: case $host_os in
! 8508: cygwin* | mingw* | pw32* | cegcc*)
! 8509: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8510: # When not using gcc, we currently assume that we are using
! 8511: # Microsoft Visual C++.
! 8512: if test "$GCC" != yes; then
! 8513: with_gnu_ld=no
! 8514: fi
! 8515: ;;
! 8516: interix*)
! 8517: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8518: with_gnu_ld=yes
! 8519: ;;
! 8520: openbsd*)
! 8521: with_gnu_ld=no
! 8522: ;;
! 8523: esac
! 8524:
! 8525: ld_shlibs=yes
! 8526:
! 8527: # On some targets, GNU ld is compatible enough with the native linker
! 8528: # that we're better off using the native interface for both.
! 8529: lt_use_gnu_ld_interface=no
! 8530: if test "$with_gnu_ld" = yes; then
! 8531: case $host_os in
! 8532: aix*)
! 8533: # The AIX port of GNU ld has always aspired to compatibility
! 8534: # with the native linker. However, as the warning in the GNU ld
! 8535: # block says, versions before 2.19.5* couldn't really create working
! 8536: # shared libraries, regardless of the interface used.
! 8537: case `$LD -v 2>&1` in
! 8538: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
! 8539: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
! 8540: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
! 8541: *)
! 8542: lt_use_gnu_ld_interface=yes
! 8543: ;;
! 8544: esac
! 8545: ;;
! 8546: *)
! 8547: lt_use_gnu_ld_interface=yes
! 8548: ;;
! 8549: esac
1.10 paf 8550: fi
8551:
1.23 ! moko 8552: if test "$lt_use_gnu_ld_interface" = yes; then
! 8553: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8554: wlarc='${wl}'
! 8555:
! 8556: # Set some defaults for GNU ld with shared library support. These
! 8557: # are reset later if shared libraries are not supported. Putting them
! 8558: # here allows them to be overridden if necessary.
! 8559: runpath_var=LD_RUN_PATH
! 8560: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8561: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8562: # ancient GNU ld didn't support --whole-archive et. al.
! 8563: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 8564: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8565: else
! 8566: whole_archive_flag_spec=
! 8567: fi
! 8568: supports_anon_versioning=no
! 8569: case `$LD -v 2>&1` in
! 8570: *GNU\ gold*) supports_anon_versioning=yes ;;
! 8571: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8572: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8573: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8574: *\ 2.11.*) ;; # other 2.11 versions
! 8575: *) supports_anon_versioning=yes ;;
! 8576: esac
! 8577:
! 8578: # See if GNU ld supports shared libraries.
! 8579: case $host_os in
! 8580: aix[3-9]*)
! 8581: # On AIX/PPC, the GNU linker is very broken
! 8582: if test "$host_cpu" != ia64; then
! 8583: ld_shlibs=no
! 8584: cat <<_LT_EOF 1>&2
1.10 paf 8585:
1.23 ! moko 8586: *** Warning: the GNU linker, at least up to release 2.19, is reported
! 8587: *** to be unable to reliably create shared libraries on AIX.
! 8588: *** Therefore, libtool is disabling shared libraries support. If you
! 8589: *** really care for shared libraries, you may want to install binutils
! 8590: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
! 8591: *** You will then need to restart the configuration process.
1.10 paf 8592:
1.23 ! moko 8593: _LT_EOF
! 8594: fi
! 8595: ;;
1.10 paf 8596:
1.23 ! moko 8597: amigaos*)
! 8598: case $host_cpu in
! 8599: powerpc)
! 8600: # see comment about AmigaOS4 .so support
! 8601: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8602: archive_expsym_cmds=''
! 8603: ;;
! 8604: m68k)
! 8605: 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)'
! 8606: hardcode_libdir_flag_spec='-L$libdir'
! 8607: hardcode_minus_L=yes
! 8608: ;;
! 8609: esac
! 8610: ;;
1.10 paf 8611:
1.23 ! moko 8612: beos*)
! 8613: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8614: allow_undefined_flag=unsupported
! 8615: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8616: # support --undefined. This deserves some investigation. FIXME
! 8617: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8618: else
! 8619: ld_shlibs=no
! 8620: fi
! 8621: ;;
1.10 paf 8622:
1.23 ! moko 8623: cygwin* | mingw* | pw32* | cegcc*)
! 8624: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8625: # as there is no search path for DLLs.
! 8626: hardcode_libdir_flag_spec='-L$libdir'
! 8627: export_dynamic_flag_spec='${wl}--export-all-symbols'
! 8628: allow_undefined_flag=unsupported
! 8629: always_export_symbols=no
! 8630: enable_shared_with_static_runtimes=yes
! 8631: 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'
! 8632: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 8633:
! 8634: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 8635: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8636: # If the export-symbols file already is a .def file (1st line
! 8637: # is EXPORTS), use it as is; otherwise, prepend...
! 8638: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8639: cp $export_symbols $output_objdir/$soname.def;
! 8640: else
! 8641: echo EXPORTS > $output_objdir/$soname.def;
! 8642: cat $export_symbols >> $output_objdir/$soname.def;
! 8643: fi~
! 8644: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8645: else
! 8646: ld_shlibs=no
! 8647: fi
! 8648: ;;
1.10 paf 8649:
1.23 ! moko 8650: haiku*)
! 8651: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8652: link_all_deplibs=yes
! 8653: ;;
1.10 paf 8654:
1.23 ! moko 8655: interix[3-9]*)
! 8656: hardcode_direct=no
! 8657: hardcode_shlibpath_var=no
! 8658: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8659: export_dynamic_flag_spec='${wl}-E'
! 8660: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8661: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8662: # default) and relocated if they conflict, which is a slow very memory
! 8663: # consuming and fragmenting process. To avoid this, we pick a random,
! 8664: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8665: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8666: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8667: 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'
! 8668: ;;
1.10 paf 8669:
1.23 ! moko 8670: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
! 8671: tmp_diet=no
! 8672: if test "$host_os" = linux-dietlibc; then
! 8673: case $cc_basename in
! 8674: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 8675: esac
! 8676: fi
! 8677: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 8678: && test "$tmp_diet" = no
! 8679: then
! 8680: tmp_addflag=' $pic_flag'
! 8681: tmp_sharedflag='-shared'
! 8682: case $cc_basename,$host_cpu in
! 8683: pgcc*) # Portland Group C compiler
! 8684: 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'
! 8685: tmp_addflag=' $pic_flag'
! 8686: ;;
! 8687: pgf77* | pgf90* | pgf95* | pgfortran*)
! 8688: # Portland Group f77 and f90 compilers
! 8689: 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'
! 8690: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8691: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8692: tmp_addflag=' -i_dynamic' ;;
! 8693: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8694: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8695: ifc* | ifort*) # Intel Fortran compiler
! 8696: tmp_addflag=' -nofor_main' ;;
! 8697: lf95*) # Lahey Fortran 8.1
! 8698: whole_archive_flag_spec=
! 8699: tmp_sharedflag='--shared' ;;
! 8700: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 8701: tmp_sharedflag='-qmkshrobj'
! 8702: tmp_addflag= ;;
! 8703: nvcc*) # Cuda Compiler Driver 2.2
! 8704: 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'
! 8705: compiler_needs_object=yes
! 8706: ;;
! 8707: esac
! 8708: case `$CC -V 2>&1 | sed 5q` in
! 8709: *Sun\ C*) # Sun C 5.9
! 8710: 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'
! 8711: compiler_needs_object=yes
! 8712: tmp_sharedflag='-G' ;;
! 8713: *Sun\ F*) # Sun Fortran 8.3
! 8714: tmp_sharedflag='-G' ;;
! 8715: esac
! 8716: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10 paf 8717:
1.23 ! moko 8718: if test "x$supports_anon_versioning" = xyes; then
! 8719: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8720: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8721: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8722: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8723: fi
! 8724:
! 8725: case $cc_basename in
! 8726: xlf* | bgf* | bgxlf* | mpixlf*)
! 8727: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 8728: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 8729: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8730: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
! 8731: if test "x$supports_anon_versioning" = xyes; then
! 8732: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8733: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8734: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8735: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 8736: fi
! 8737: ;;
! 8738: esac
! 8739: else
! 8740: ld_shlibs=no
! 8741: fi
! 8742: ;;
1.10 paf 8743:
1.23 ! moko 8744: netbsd*)
! 8745: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8746: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8747: wlarc=
! 8748: else
! 8749: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8750: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8751: fi
! 8752: ;;
1.10 paf 8753:
1.23 ! moko 8754: solaris*)
! 8755: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 8756: ld_shlibs=no
! 8757: cat <<_LT_EOF 1>&2
1.10 paf 8758:
1.23 ! moko 8759: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8760: *** create shared libraries on Solaris systems. Therefore, libtool
! 8761: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8762: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8763: *** your PATH or compiler configuration so that the native linker is
! 8764: *** used, and then restart.
1.10 paf 8765:
1.23 ! moko 8766: _LT_EOF
! 8767: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8768: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8769: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8770: else
! 8771: ld_shlibs=no
! 8772: fi
! 8773: ;;
1.10 paf 8774:
1.23 ! moko 8775: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8776: case `$LD -v 2>&1` in
! 8777: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8778: ld_shlibs=no
! 8779: cat <<_LT_EOF 1>&2
1.10 paf 8780:
1.23 ! moko 8781: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8782: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8783: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8784: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8785: *** your PATH or compiler configuration so that the native linker is
! 8786: *** used, and then restart.
1.10 paf 8787:
1.23 ! moko 8788: _LT_EOF
! 8789: ;;
! 8790: *)
! 8791: # For security reasons, it is highly recommended that you always
! 8792: # use absolute paths for naming shared libraries, and exclude the
! 8793: # DT_RUNPATH tag from executables and libraries. But doing so
! 8794: # requires that you compile everything twice, which is a pain.
! 8795: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8796: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8797: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8798: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8799: else
! 8800: ld_shlibs=no
! 8801: fi
! 8802: ;;
! 8803: esac
! 8804: ;;
1.10 paf 8805:
1.23 ! moko 8806: sunos4*)
! 8807: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8808: wlarc=
! 8809: hardcode_direct=yes
! 8810: hardcode_shlibpath_var=no
! 8811: ;;
1.10 paf 8812:
1.23 ! moko 8813: *)
! 8814: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8815: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8816: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8817: else
! 8818: ld_shlibs=no
! 8819: fi
! 8820: ;;
! 8821: esac
1.10 paf 8822:
1.23 ! moko 8823: if test "$ld_shlibs" = no; then
! 8824: runpath_var=
! 8825: hardcode_libdir_flag_spec=
! 8826: export_dynamic_flag_spec=
! 8827: whole_archive_flag_spec=
! 8828: fi
! 8829: else
! 8830: # PORTME fill in a description of your system's linker (not GNU ld)
! 8831: case $host_os in
! 8832: aix3*)
! 8833: allow_undefined_flag=unsupported
! 8834: always_export_symbols=yes
! 8835: 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'
! 8836: # Note: this linker hardcodes the directories in LIBPATH if there
! 8837: # are no directories specified by -L.
! 8838: hardcode_minus_L=yes
! 8839: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8840: # Neither direct hardcoding nor static linking is supported with a
! 8841: # broken collect2.
! 8842: hardcode_direct=unsupported
! 8843: fi
! 8844: ;;
1.10 paf 8845:
1.23 ! moko 8846: aix[4-9]*)
! 8847: if test "$host_cpu" = ia64; then
! 8848: # On IA64, the linker does run time linking by default, so we don't
! 8849: # have to do anything special.
! 8850: aix_use_runtimelinking=no
! 8851: exp_sym_flag='-Bexport'
! 8852: no_entry_flag=""
! 8853: else
! 8854: # If we're using GNU nm, then we don't want the "-C" option.
! 8855: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8856: # Also, AIX nm treats weak defined symbols like other global
! 8857: # defined symbols, whereas GNU nm marks them as "W".
! 8858: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 8859: 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'
! 8860: else
! 8861: 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'
! 8862: fi
! 8863: aix_use_runtimelinking=no
1.10 paf 8864:
1.23 ! moko 8865: # Test if we are trying to use run time linking or normal
! 8866: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8867: # need to do runtime linking.
! 8868: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8869: for ld_flag in $LDFLAGS; do
! 8870: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8871: aix_use_runtimelinking=yes
! 8872: break
! 8873: fi
! 8874: done
! 8875: ;;
! 8876: esac
1.10 paf 8877:
1.23 ! moko 8878: exp_sym_flag='-bexport'
! 8879: no_entry_flag='-bnoentry'
! 8880: fi
1.10 paf 8881:
1.23 ! moko 8882: # When large executables or shared objects are built, AIX ld can
! 8883: # have problems creating the table of contents. If linking a library
! 8884: # or program results in "error TOC overflow" add -mminimal-toc to
! 8885: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8886: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8887:
! 8888: archive_cmds=''
! 8889: hardcode_direct=yes
! 8890: hardcode_direct_absolute=yes
! 8891: hardcode_libdir_separator=':'
! 8892: link_all_deplibs=yes
! 8893: file_list_spec='${wl}-f,'
! 8894:
! 8895: if test "$GCC" = yes; then
! 8896: case $host_os in aix4.[012]|aix4.[012].*)
! 8897: # We only want to do this on AIX 4.2 and lower, the check
! 8898: # below for broken collect2 doesn't work under 4.3+
! 8899: collect2name=`${CC} -print-prog-name=collect2`
! 8900: if test -f "$collect2name" &&
! 8901: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 8902: then
! 8903: # We have reworked collect2
! 8904: :
! 8905: else
! 8906: # We have old collect2
! 8907: hardcode_direct=unsupported
! 8908: # It fails to find uninstalled libraries when the uninstalled
! 8909: # path is not listed in the libpath. Setting hardcode_minus_L
! 8910: # to unsupported forces relinking
! 8911: hardcode_minus_L=yes
! 8912: hardcode_libdir_flag_spec='-L$libdir'
! 8913: hardcode_libdir_separator=
! 8914: fi
! 8915: ;;
! 8916: esac
! 8917: shared_flag='-shared'
! 8918: if test "$aix_use_runtimelinking" = yes; then
! 8919: shared_flag="$shared_flag "'${wl}-G'
! 8920: fi
! 8921: else
! 8922: # not using gcc
! 8923: if test "$host_cpu" = ia64; then
! 8924: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8925: # chokes on -Wl,-G. The following line is correct:
! 8926: shared_flag='-G'
! 8927: else
! 8928: if test "$aix_use_runtimelinking" = yes; then
! 8929: shared_flag='${wl}-G'
! 8930: else
! 8931: shared_flag='${wl}-bM:SRE'
! 8932: fi
! 8933: fi
! 8934: fi
! 8935:
! 8936: export_dynamic_flag_spec='${wl}-bexpall'
! 8937: # It seems that -bexpall does not export symbols beginning with
! 8938: # underscore (_), so it is better to generate a list of symbols to export.
! 8939: always_export_symbols=yes
! 8940: if test "$aix_use_runtimelinking" = yes; then
! 8941: # Warning - without using the other runtime loading flags (-brtl),
! 8942: # -berok will link without error, but may produce a broken library.
! 8943: allow_undefined_flag='-berok'
! 8944: # Determine the default libpath from the value encoded in an
! 8945: # empty executable.
! 8946: if test "${lt_cv_aix_libpath+set}" = set; then
! 8947: aix_libpath=$lt_cv_aix_libpath
! 8948: else
! 8949: if test "${lt_cv_aix_libpath_+set}" = set; then
! 8950: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8951: else
! 8952: cat >conftest.$ac_ext <<_ACEOF
! 8953: /* confdefs.h. */
! 8954: _ACEOF
! 8955: cat confdefs.h >>conftest.$ac_ext
! 8956: cat >>conftest.$ac_ext <<_ACEOF
! 8957: /* end confdefs.h. */
1.10 paf 8958:
1.23 ! moko 8959: int
! 8960: main ()
! 8961: {
1.10 paf 8962:
1.23 ! moko 8963: ;
! 8964: return 0;
! 8965: }
! 8966: _ACEOF
! 8967: rm -f conftest.$ac_objext conftest$ac_exeext
! 8968: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8969: (eval $ac_link) 2>conftest.er1
! 8970: ac_status=$?
! 8971: grep -v '^ *+' conftest.er1 >conftest.err
! 8972: rm -f conftest.er1
! 8973: cat conftest.err >&5
! 8974: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8975: (exit $ac_status); } &&
! 8976: { ac_try='test -z "$ac_c_werror_flag"
! 8977: || test ! -s conftest.err'
! 8978: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8979: (eval $ac_try) 2>&5
! 8980: ac_status=$?
! 8981: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8982: (exit $ac_status); }; } &&
! 8983: { ac_try='test -s conftest$ac_exeext'
! 8984: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8985: (eval $ac_try) 2>&5
! 8986: ac_status=$?
! 8987: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8988: (exit $ac_status); }; }; then
1.10 paf 8989:
1.23 ! moko 8990: lt_aix_libpath_sed='
! 8991: /Import File Strings/,/^$/ {
! 8992: /^0/ {
! 8993: s/^0 *\([^ ]*\) *$/\1/
! 8994: p
! 8995: }
! 8996: }'
! 8997: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8998: # Check for a 64-bit object if we didn't find anything.
! 8999: if test -z "$lt_cv_aix_libpath_"; then
! 9000: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9001: fi
! 9002: else
! 9003: echo "$as_me: failed program was:" >&5
! 9004: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 9005:
1.23 ! moko 9006: fi
! 9007: rm -f conftest.err conftest.$ac_objext \
! 9008: conftest$ac_exeext conftest.$ac_ext
! 9009: if test -z "$lt_cv_aix_libpath_"; then
! 9010: lt_cv_aix_libpath_="/usr/lib:/lib"
! 9011: fi
1.10 paf 9012:
1.23 ! moko 9013: fi
1.10 paf 9014:
1.23 ! moko 9015: aix_libpath=$lt_cv_aix_libpath_
! 9016: fi
1.10 paf 9017:
1.23 ! moko 9018: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 9019: 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"
! 9020: else
! 9021: if test "$host_cpu" = ia64; then
! 9022: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 9023: allow_undefined_flag="-z nodefs"
! 9024: 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"
! 9025: else
! 9026: # Determine the default libpath from the value encoded in an
! 9027: # empty executable.
! 9028: if test "${lt_cv_aix_libpath+set}" = set; then
! 9029: aix_libpath=$lt_cv_aix_libpath
! 9030: else
! 9031: if test "${lt_cv_aix_libpath_+set}" = set; then
! 9032: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9033: else
! 9034: cat >conftest.$ac_ext <<_ACEOF
! 9035: /* confdefs.h. */
! 9036: _ACEOF
! 9037: cat confdefs.h >>conftest.$ac_ext
! 9038: cat >>conftest.$ac_ext <<_ACEOF
! 9039: /* end confdefs.h. */
1.10 paf 9040:
1.23 ! moko 9041: int
! 9042: main ()
! 9043: {
1.10 paf 9044:
1.23 ! moko 9045: ;
! 9046: return 0;
! 9047: }
1.10 paf 9048: _ACEOF
1.23 ! moko 9049: rm -f conftest.$ac_objext conftest$ac_exeext
! 9050: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9051: (eval $ac_link) 2>conftest.er1
! 9052: ac_status=$?
! 9053: grep -v '^ *+' conftest.er1 >conftest.err
! 9054: rm -f conftest.er1
! 9055: cat conftest.err >&5
! 9056: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9057: (exit $ac_status); } &&
! 9058: { ac_try='test -z "$ac_c_werror_flag"
! 9059: || test ! -s conftest.err'
! 9060: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9061: (eval $ac_try) 2>&5
! 9062: ac_status=$?
! 9063: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9064: (exit $ac_status); }; } &&
! 9065: { ac_try='test -s conftest$ac_exeext'
! 9066: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9067: (eval $ac_try) 2>&5
! 9068: ac_status=$?
! 9069: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9070: (exit $ac_status); }; }; then
! 9071:
! 9072: lt_aix_libpath_sed='
! 9073: /Import File Strings/,/^$/ {
! 9074: /^0/ {
! 9075: s/^0 *\([^ ]*\) *$/\1/
! 9076: p
! 9077: }
! 9078: }'
! 9079: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9080: # Check for a 64-bit object if we didn't find anything.
! 9081: if test -z "$lt_cv_aix_libpath_"; then
! 9082: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9083: fi
! 9084: else
! 9085: echo "$as_me: failed program was:" >&5
! 9086: sed 's/^/| /' conftest.$ac_ext >&5
1.10 paf 9087:
1.23 ! moko 9088: fi
! 9089: rm -f conftest.err conftest.$ac_objext \
! 9090: conftest$ac_exeext conftest.$ac_ext
! 9091: if test -z "$lt_cv_aix_libpath_"; then
! 9092: lt_cv_aix_libpath_="/usr/lib:/lib"
! 9093: fi
1.10 paf 9094:
1.23 ! moko 9095: fi
1.10 paf 9096:
1.23 ! moko 9097: aix_libpath=$lt_cv_aix_libpath_
! 9098: fi
1.10 paf 9099:
1.23 ! moko 9100: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 9101: # Warning - without using the other run time loading flags,
! 9102: # -berok will link without error, but may produce a broken library.
! 9103: no_undefined_flag=' ${wl}-bernotok'
! 9104: allow_undefined_flag=' ${wl}-berok'
! 9105: if test "$with_gnu_ld" = yes; then
! 9106: # We only use this code for GNU lds that support --whole-archive.
! 9107: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 9108: else
! 9109: # Exported symbols can be pulled into shared objects from archives
! 9110: whole_archive_flag_spec='$convenience'
! 9111: fi
! 9112: archive_cmds_need_lc=yes
! 9113: # This is similar to how AIX traditionally builds its shared libraries.
! 9114: 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'
! 9115: fi
! 9116: fi
! 9117: ;;
1.10 paf 9118:
1.23 ! moko 9119: amigaos*)
! 9120: case $host_cpu in
! 9121: powerpc)
! 9122: # see comment about AmigaOS4 .so support
! 9123: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9124: archive_expsym_cmds=''
! 9125: ;;
! 9126: m68k)
! 9127: 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)'
! 9128: hardcode_libdir_flag_spec='-L$libdir'
! 9129: hardcode_minus_L=yes
! 9130: ;;
! 9131: esac
! 9132: ;;
1.10 paf 9133:
1.23 ! moko 9134: bsdi[45]*)
! 9135: export_dynamic_flag_spec=-rdynamic
! 9136: ;;
1.1 parser 9137:
1.23 ! moko 9138: cygwin* | mingw* | pw32* | cegcc*)
! 9139: # When not using gcc, we currently assume that we are using
! 9140: # Microsoft Visual C++.
! 9141: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 9142: # no search path for DLLs.
! 9143: case $cc_basename in
! 9144: cl*)
! 9145: # Native MSVC
! 9146: hardcode_libdir_flag_spec=' '
! 9147: allow_undefined_flag=unsupported
! 9148: always_export_symbols=yes
! 9149: file_list_spec='@'
! 9150: # Tell ltmain to make .lib files, not .a files.
! 9151: libext=lib
! 9152: # Tell ltmain to make .dll files, not .so files.
! 9153: shrext_cmds=".dll"
! 9154: # FIXME: Setting linknames here is a bad hack.
! 9155: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 9156: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 9157: sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 9158: else
! 9159: sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 9160: fi~
! 9161: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 9162: linknames='
! 9163: # The linker will not automatically build a static lib if we build a DLL.
! 9164: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
! 9165: enable_shared_with_static_runtimes=yes
! 9166: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 9167: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 9168: # Don't use ranlib
! 9169: old_postinstall_cmds='chmod 644 $oldlib'
! 9170: postlink_cmds='lt_outputfile="@OUTPUT@"~
! 9171: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 9172: case $lt_outputfile in
! 9173: *.exe|*.EXE) ;;
! 9174: *)
! 9175: lt_outputfile="$lt_outputfile.exe"
! 9176: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 9177: ;;
! 9178: esac~
! 9179: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 9180: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 9181: $RM "$lt_outputfile.manifest";
! 9182: fi'
! 9183: ;;
! 9184: *)
! 9185: # Assume MSVC wrapper
! 9186: hardcode_libdir_flag_spec=' '
! 9187: allow_undefined_flag=unsupported
! 9188: # Tell ltmain to make .lib files, not .a files.
! 9189: libext=lib
! 9190: # Tell ltmain to make .dll files, not .so files.
! 9191: shrext_cmds=".dll"
! 9192: # FIXME: Setting linknames here is a bad hack.
! 9193: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
! 9194: # The linker will automatically build a .lib file if we build a DLL.
! 9195: old_archive_from_new_cmds='true'
! 9196: # FIXME: Should let the user specify the lib program.
! 9197: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 9198: enable_shared_with_static_runtimes=yes
! 9199: ;;
! 9200: esac
! 9201: ;;
1.10 paf 9202:
1.23 ! moko 9203: darwin* | rhapsody*)
1.10 paf 9204:
9205:
1.23 ! moko 9206: archive_cmds_need_lc=no
! 9207: hardcode_direct=no
! 9208: hardcode_automatic=yes
! 9209: hardcode_shlibpath_var=unsupported
! 9210: if test "$lt_cv_ld_force_load" = "yes"; then
! 9211: 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.10 paf 9212:
1.23 ! moko 9213: else
! 9214: whole_archive_flag_spec=''
! 9215: fi
! 9216: link_all_deplibs=yes
! 9217: allow_undefined_flag="$_lt_dar_allow_undefined"
! 9218: case $cc_basename in
! 9219: ifort*) _lt_dar_can_shared=yes ;;
! 9220: *) _lt_dar_can_shared=$GCC ;;
! 9221: esac
! 9222: if test "$_lt_dar_can_shared" = "yes"; then
! 9223: output_verbose_link_cmd=func_echo_all
! 9224: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 9225: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 9226: 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}"
! 9227: 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.10 paf 9228:
1.23 ! moko 9229: else
! 9230: ld_shlibs=no
! 9231: fi
1.1 parser 9232:
1.23 ! moko 9233: ;;
1.10 paf 9234:
1.23 ! moko 9235: dgux*)
! 9236: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9237: hardcode_libdir_flag_spec='-L$libdir'
! 9238: hardcode_shlibpath_var=no
! 9239: ;;
1.10 paf 9240:
1.23 ! moko 9241: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 9242: # support. Future versions do this automatically, but an explicit c++rt0.o
! 9243: # does not break anything, and helps significantly (at the cost of a little
! 9244: # extra space).
! 9245: freebsd2.2*)
! 9246: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 9247: hardcode_libdir_flag_spec='-R$libdir'
! 9248: hardcode_direct=yes
! 9249: hardcode_shlibpath_var=no
! 9250: ;;
1.10 paf 9251:
1.23 ! moko 9252: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 9253: freebsd2.*)
! 9254: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9255: hardcode_direct=yes
! 9256: hardcode_minus_L=yes
! 9257: hardcode_shlibpath_var=no
! 9258: ;;
1.10 paf 9259:
1.23 ! moko 9260: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 9261: freebsd* | dragonfly*)
! 9262: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9263: hardcode_libdir_flag_spec='-R$libdir'
! 9264: hardcode_direct=yes
! 9265: hardcode_shlibpath_var=no
! 9266: ;;
1.1 parser 9267:
1.23 ! moko 9268: hpux9*)
! 9269: if test "$GCC" = yes; then
! 9270: 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'
! 9271: else
! 9272: 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'
! 9273: fi
! 9274: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9275: hardcode_libdir_separator=:
! 9276: hardcode_direct=yes
! 9277:
! 9278: # hardcode_minus_L: Not really in the search PATH,
! 9279: # but as the default location of the library.
! 9280: hardcode_minus_L=yes
! 9281: export_dynamic_flag_spec='${wl}-E'
! 9282: ;;
1.10 paf 9283:
1.23 ! moko 9284: hpux10*)
! 9285: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 9286: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9287: else
! 9288: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 9289: fi
! 9290: if test "$with_gnu_ld" = no; then
! 9291: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9292: hardcode_libdir_separator=:
! 9293: hardcode_direct=yes
! 9294: hardcode_direct_absolute=yes
! 9295: export_dynamic_flag_spec='${wl}-E'
! 9296: # hardcode_minus_L: Not really in the search PATH,
! 9297: # but as the default location of the library.
! 9298: hardcode_minus_L=yes
! 9299: fi
! 9300: ;;
1.10 paf 9301:
1.23 ! moko 9302: hpux11*)
! 9303: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 9304: case $host_cpu in
! 9305: hppa*64*)
! 9306: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9307: ;;
! 9308: ia64*)
! 9309: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9310: ;;
! 9311: *)
! 9312: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9313: ;;
! 9314: esac
! 9315: else
! 9316: case $host_cpu in
! 9317: hppa*64*)
! 9318: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9319: ;;
! 9320: ia64*)
! 9321: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9322: ;;
! 9323: *)
1.10 paf 9324:
1.23 ! moko 9325: # Older versions of the 11.00 compiler do not understand -b yet
! 9326: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
! 9327: echo "$as_me:$LINENO: checking if $CC understands -b" >&5
! 9328: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
! 9329: if test "${lt_cv_prog_compiler__b+set}" = set; then
! 9330: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9331: else
! 9332: lt_cv_prog_compiler__b=no
! 9333: save_LDFLAGS="$LDFLAGS"
! 9334: LDFLAGS="$LDFLAGS -b"
! 9335: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 9336: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 9337: # The linker can only warn and ignore the option if not recognized
! 9338: # So say no if there are warnings
! 9339: if test -s conftest.err; then
! 9340: # Append any errors to the config.log.
! 9341: cat conftest.err 1>&5
! 9342: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 9343: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9344: if diff conftest.exp conftest.er2 >/dev/null; then
! 9345: lt_cv_prog_compiler__b=yes
! 9346: fi
! 9347: else
! 9348: lt_cv_prog_compiler__b=yes
! 9349: fi
! 9350: fi
! 9351: $RM -r conftest*
! 9352: LDFLAGS="$save_LDFLAGS"
1.10 paf 9353:
1.23 ! moko 9354: fi
! 9355: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
! 9356: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.1 parser 9357:
1.23 ! moko 9358: if test x"$lt_cv_prog_compiler__b" = xyes; then
! 9359: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9360: else
! 9361: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 9362: fi
1.1 parser 9363:
1.23 ! moko 9364: ;;
! 9365: esac
! 9366: fi
! 9367: if test "$with_gnu_ld" = no; then
! 9368: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 9369: hardcode_libdir_separator=:
! 9370:
! 9371: case $host_cpu in
! 9372: hppa*64*|ia64*)
! 9373: hardcode_direct=no
! 9374: hardcode_shlibpath_var=no
! 9375: ;;
! 9376: *)
! 9377: hardcode_direct=yes
! 9378: hardcode_direct_absolute=yes
! 9379: export_dynamic_flag_spec='${wl}-E'
1.1 parser 9380:
1.23 ! moko 9381: # hardcode_minus_L: Not really in the search PATH,
! 9382: # but as the default location of the library.
! 9383: hardcode_minus_L=yes
! 9384: ;;
! 9385: esac
! 9386: fi
! 9387: ;;
1.1 parser 9388:
1.23 ! moko 9389: irix5* | irix6* | nonstopux*)
! 9390: if test "$GCC" = yes; then
! 9391: 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'
! 9392: # Try to use the -exported_symbol ld option, if it does not
! 9393: # work, assume that -exports_file does not work either and
! 9394: # implicitly export all symbols.
! 9395: # This should be the same for all languages, so no per-tag cache variable.
! 9396: echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
! 9397: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
! 9398: if test "${lt_cv_irix_exported_symbol+set}" = set; then
! 9399: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9400: else
! 9401: save_LDFLAGS="$LDFLAGS"
! 9402: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 9403: cat >conftest.$ac_ext <<_ACEOF
! 9404: /* confdefs.h. */
! 9405: _ACEOF
! 9406: cat confdefs.h >>conftest.$ac_ext
! 9407: cat >>conftest.$ac_ext <<_ACEOF
! 9408: /* end confdefs.h. */
! 9409: int foo (void) { return 0; }
1.10 paf 9410: _ACEOF
1.23 ! moko 9411: rm -f conftest.$ac_objext conftest$ac_exeext
! 9412: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9413: (eval $ac_link) 2>conftest.er1
! 9414: ac_status=$?
! 9415: grep -v '^ *+' conftest.er1 >conftest.err
! 9416: rm -f conftest.er1
! 9417: cat conftest.err >&5
! 9418: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9419: (exit $ac_status); } &&
! 9420: { ac_try='test -z "$ac_c_werror_flag"
! 9421: || test ! -s conftest.err'
! 9422: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9423: (eval $ac_try) 2>&5
! 9424: ac_status=$?
! 9425: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9426: (exit $ac_status); }; } &&
! 9427: { ac_try='test -s conftest$ac_exeext'
! 9428: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9429: (eval $ac_try) 2>&5
! 9430: ac_status=$?
! 9431: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9432: (exit $ac_status); }; }; then
! 9433: lt_cv_irix_exported_symbol=yes
! 9434: else
! 9435: echo "$as_me: failed program was:" >&5
! 9436: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 9437:
1.23 ! moko 9438: lt_cv_irix_exported_symbol=no
! 9439: fi
! 9440: rm -f conftest.err conftest.$ac_objext \
! 9441: conftest$ac_exeext conftest.$ac_ext
! 9442: LDFLAGS="$save_LDFLAGS"
! 9443: fi
! 9444: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
! 9445: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
! 9446: if test "$lt_cv_irix_exported_symbol" = yes; then
! 9447: 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'
! 9448: fi
1.10 paf 9449: else
1.23 ! moko 9450: 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'
! 9451: 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'
1.10 paf 9452: fi
1.23 ! moko 9453: archive_cmds_need_lc='no'
! 9454: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9455: hardcode_libdir_separator=:
! 9456: inherit_rpath=yes
! 9457: link_all_deplibs=yes
! 9458: ;;
! 9459:
! 9460: netbsd*)
! 9461: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9462: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 9463: else
! 9464: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 9465: fi
! 9466: hardcode_libdir_flag_spec='-R$libdir'
! 9467: hardcode_direct=yes
! 9468: hardcode_shlibpath_var=no
! 9469: ;;
1.1 parser 9470:
1.23 ! moko 9471: newsos6)
! 9472: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9473: hardcode_direct=yes
! 9474: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9475: hardcode_libdir_separator=:
! 9476: hardcode_shlibpath_var=no
! 9477: ;;
1.1 parser 9478:
1.23 ! moko 9479: *nto* | *qnx*)
! 9480: ;;
1.10 paf 9481:
1.23 ! moko 9482: openbsd*)
! 9483: if test -f /usr/libexec/ld.so; then
! 9484: hardcode_direct=yes
! 9485: hardcode_shlibpath_var=no
! 9486: hardcode_direct_absolute=yes
! 9487: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9488: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9489: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 9490: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9491: export_dynamic_flag_spec='${wl}-E'
! 9492: else
! 9493: case $host_os in
! 9494: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 9495: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9496: hardcode_libdir_flag_spec='-R$libdir'
! 9497: ;;
! 9498: *)
! 9499: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9500: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9501: ;;
! 9502: esac
! 9503: fi
! 9504: else
! 9505: ld_shlibs=no
! 9506: fi
! 9507: ;;
1.10 paf 9508:
1.23 ! moko 9509: os2*)
! 9510: hardcode_libdir_flag_spec='-L$libdir'
! 9511: hardcode_minus_L=yes
! 9512: allow_undefined_flag=unsupported
! 9513: 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'
! 9514: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 9515: ;;
1.10 paf 9516:
1.23 ! moko 9517: osf3*)
! 9518: if test "$GCC" = yes; then
! 9519: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 9520: 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'
! 9521: else
! 9522: allow_undefined_flag=' -expect_unresolved \*'
! 9523: 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'
! 9524: fi
! 9525: archive_cmds_need_lc='no'
! 9526: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9527: hardcode_libdir_separator=:
! 9528: ;;
1.16 paf 9529:
1.23 ! moko 9530: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 9531: if test "$GCC" = yes; then
! 9532: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 9533: 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'
! 9534: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9535: else
! 9536: allow_undefined_flag=' -expect_unresolved \*'
! 9537: 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'
! 9538: 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~
! 9539: $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
1.10 paf 9540:
1.23 ! moko 9541: # Both c and cxx compiler support -rpath directly
! 9542: hardcode_libdir_flag_spec='-rpath $libdir'
! 9543: fi
! 9544: archive_cmds_need_lc='no'
! 9545: hardcode_libdir_separator=:
! 9546: ;;
1.10 paf 9547:
1.23 ! moko 9548: solaris*)
! 9549: no_undefined_flag=' -z defs'
! 9550: if test "$GCC" = yes; then
! 9551: wlarc='${wl}'
! 9552: archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9553: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9554: $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'
! 9555: else
! 9556: case `$CC -V 2>&1` in
! 9557: *"Compilers 5.0"*)
! 9558: wlarc=''
! 9559: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9560: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9561: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 9562: ;;
! 9563: *)
! 9564: wlarc='${wl}'
! 9565: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 9566: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 9567: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 9568: ;;
! 9569: esac
! 9570: fi
! 9571: hardcode_libdir_flag_spec='-R$libdir'
! 9572: hardcode_shlibpath_var=no
! 9573: case $host_os in
! 9574: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 9575: *)
! 9576: # The compiler driver will combine and reorder linker options,
! 9577: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 9578: # but is careful enough not to reorder.
! 9579: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 9580: if test "$GCC" = yes; then
! 9581: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 9582: else
! 9583: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 9584: fi
! 9585: ;;
! 9586: esac
! 9587: link_all_deplibs=yes
! 9588: ;;
1.1 parser 9589:
1.23 ! moko 9590: sunos4*)
! 9591: if test "x$host_vendor" = xsequent; then
! 9592: # Use $CC to link under sequent, because it throws in some extra .o
! 9593: # files that make .init and .fini sections work.
! 9594: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 9595: else
! 9596: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 9597: fi
! 9598: hardcode_libdir_flag_spec='-L$libdir'
! 9599: hardcode_direct=yes
! 9600: hardcode_minus_L=yes
! 9601: hardcode_shlibpath_var=no
! 9602: ;;
1.10 paf 9603:
1.23 ! moko 9604: sysv4)
! 9605: case $host_vendor in
! 9606: sni)
! 9607: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9608: hardcode_direct=yes # is this really true???
! 9609: ;;
! 9610: siemens)
! 9611: ## LD is ld it makes a PLAMLIB
! 9612: ## CC just makes a GrossModule.
! 9613: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 9614: reload_cmds='$CC -r -o $output$reload_objs'
! 9615: hardcode_direct=no
! 9616: ;;
! 9617: motorola)
! 9618: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9619: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 9620: ;;
1.10 paf 9621: esac
1.23 ! moko 9622: runpath_var='LD_RUN_PATH'
! 9623: hardcode_shlibpath_var=no
! 9624: ;;
! 9625:
! 9626: sysv4.3*)
! 9627: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9628: hardcode_shlibpath_var=no
! 9629: export_dynamic_flag_spec='-Bexport'
! 9630: ;;
1.10 paf 9631:
1.23 ! moko 9632: sysv4*MP*)
! 9633: if test -d /usr/nec; then
! 9634: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9635: hardcode_shlibpath_var=no
! 9636: runpath_var=LD_RUN_PATH
! 9637: hardcode_runpath_var=yes
! 9638: ld_shlibs=yes
! 9639: fi
! 9640: ;;
1.10 paf 9641:
1.23 ! moko 9642: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9643: no_undefined_flag='${wl}-z,text'
! 9644: archive_cmds_need_lc=no
! 9645: hardcode_shlibpath_var=no
! 9646: runpath_var='LD_RUN_PATH'
1.1 parser 9647:
1.23 ! moko 9648: if test "$GCC" = yes; then
! 9649: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9650: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9651: else
! 9652: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9653: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9654: fi
! 9655: ;;
! 9656:
! 9657: sysv5* | sco3.2v5* | sco5v6*)
! 9658: # Note: We can NOT use -z defs as we might desire, because we do not
! 9659: # link with -lc, and that would cause any symbols used from libc to
! 9660: # always be unresolved, which means just about no library would
! 9661: # ever link correctly. If we're not using GNU ld we use -z text
! 9662: # though, which does catch some bad symbols but isn't as heavy-handed
! 9663: # as -z defs.
! 9664: no_undefined_flag='${wl}-z,text'
! 9665: allow_undefined_flag='${wl}-z,nodefs'
! 9666: archive_cmds_need_lc=no
! 9667: hardcode_shlibpath_var=no
! 9668: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 9669: hardcode_libdir_separator=':'
! 9670: link_all_deplibs=yes
! 9671: export_dynamic_flag_spec='${wl}-Bexport'
! 9672: runpath_var='LD_RUN_PATH'
! 9673:
! 9674: if test "$GCC" = yes; then
! 9675: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9676: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9677: else
! 9678: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9679: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9680: fi
! 9681: ;;
1.1 parser 9682:
1.23 ! moko 9683: uts4*)
! 9684: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9685: hardcode_libdir_flag_spec='-L$libdir'
! 9686: hardcode_shlibpath_var=no
! 9687: ;;
1.1 parser 9688:
1.23 ! moko 9689: *)
! 9690: ld_shlibs=no
! 9691: ;;
! 9692: esac
1.1 parser 9693:
1.23 ! moko 9694: if test x$host_vendor = xsni; then
! 9695: case $host in
! 9696: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 9697: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9698: ;;
1.10 paf 9699: esac
1.23 ! moko 9700: fi
! 9701: fi
! 9702:
! 9703: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 9704: echo "${ECHO_T}$ld_shlibs" >&6
! 9705: test "$ld_shlibs" = no && can_build_shared=no
! 9706:
! 9707: with_gnu_ld=$with_gnu_ld
! 9708:
! 9709:
! 9710:
! 9711:
! 9712:
! 9713:
! 9714:
! 9715:
! 9716:
! 9717:
! 9718:
! 9719:
! 9720:
1.10 paf 9721:
9722:
9723: #
1.23 ! moko 9724: # Do we need to explicitly link libc?
! 9725: #
! 9726: case "x$archive_cmds_need_lc" in
! 9727: x|xyes)
! 9728: # Assume -lc should be added
! 9729: archive_cmds_need_lc=yes
! 9730:
! 9731: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9732: case $archive_cmds in
! 9733: *'~'*)
! 9734: # FIXME: we may have to deal with multi-command sequences.
! 9735: ;;
! 9736: '$CC '*)
! 9737: # Test whether the compiler implicitly links with -lc since on some
! 9738: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9739: # to ld, don't add -lc before -lgcc.
! 9740: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 9741: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 9742: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
! 9743: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9744: else
! 9745: $RM conftest*
! 9746: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9747:
! 9748: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9749: (eval $ac_compile) 2>&5
! 9750: ac_status=$?
! 9751: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9752: (exit $ac_status); } 2>conftest.err; then
! 9753: soname=conftest
! 9754: lib=conftest
! 9755: libobjs=conftest.$ac_objext
! 9756: deplibs=
! 9757: wl=$lt_prog_compiler_wl
! 9758: pic_flag=$lt_prog_compiler_pic
! 9759: compiler_flags=-v
! 9760: linker_flags=-v
! 9761: verstring=
! 9762: output_objdir=.
! 9763: libname=conftest
! 9764: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9765: allow_undefined_flag=
! 9766: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 9767: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9768: ac_status=$?
! 9769: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9770: (exit $ac_status); }
! 9771: then
! 9772: lt_cv_archive_cmds_need_lc=no
! 9773: else
! 9774: lt_cv_archive_cmds_need_lc=yes
! 9775: fi
! 9776: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9777: else
! 9778: cat conftest.err 1>&5
! 9779: fi
! 9780: $RM conftest*
! 9781:
! 9782: fi
! 9783: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
! 9784: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
! 9785: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
! 9786: ;;
! 9787: esac
! 9788: fi
! 9789: ;;
! 9790: esac
! 9791:
1.1 parser 9792:
1.10 paf 9793:
9794:
9795:
9796:
1.23 ! moko 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:
! 9824:
! 9825:
! 9826:
! 9827:
! 9828:
! 9829:
! 9830:
! 9831:
! 9832:
! 9833:
! 9834:
! 9835:
! 9836:
! 9837:
! 9838:
! 9839:
! 9840:
! 9841:
! 9842:
! 9843:
! 9844:
! 9845:
! 9846:
! 9847:
! 9848:
! 9849:
! 9850:
! 9851:
! 9852:
! 9853:
! 9854:
! 9855:
! 9856:
! 9857:
! 9858:
! 9859:
! 9860:
! 9861:
! 9862:
! 9863:
! 9864:
! 9865:
! 9866:
! 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:
! 9937:
! 9938:
! 9939:
! 9940:
! 9941:
! 9942:
! 9943: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 9944: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 9945:
! 9946: if test "$GCC" = yes; then
! 9947: case $host_os in
! 9948: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9949: *) lt_awk_arg="/^libraries:/" ;;
! 9950: esac
! 9951: case $host_os in
! 9952: mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
! 9953: *) lt_sed_strip_eq="s,=/,/,g" ;;
! 9954: esac
! 9955: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
! 9956: case $lt_search_path_spec in
! 9957: *\;*)
! 9958: # if the path contains ";" then we assume it to be the separator
! 9959: # otherwise default to the standard path separator (i.e. ":") - it is
! 9960: # assumed that no part of a normal pathname contains ";" but that should
! 9961: # okay in the real world where ";" in dirpaths is itself problematic.
! 9962: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
! 9963: ;;
! 9964: *)
! 9965: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
! 9966: ;;
! 9967: esac
! 9968: # Ok, now we have the path, separated by spaces, we can step through it
! 9969: # and add multilib dir if necessary.
! 9970: lt_tmp_lt_search_path_spec=
! 9971: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9972: for lt_sys_path in $lt_search_path_spec; do
! 9973: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9974: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9975: else
! 9976: test -d "$lt_sys_path" && \
! 9977: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1.1 parser 9978: fi
1.23 ! moko 9979: done
! 9980: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
! 9981: BEGIN {RS=" "; FS="/|\n";} {
! 9982: lt_foo="";
! 9983: lt_count=0;
! 9984: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9985: if ($lt_i != "" && $lt_i != ".") {
! 9986: if ($lt_i == "..") {
! 9987: lt_count++;
! 9988: } else {
! 9989: if (lt_count == 0) {
! 9990: lt_foo="/" $lt_i lt_foo;
! 9991: } else {
! 9992: lt_count--;
! 9993: }
! 9994: }
! 9995: }
! 9996: }
! 9997: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9998: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9999: }'`
! 10000: # AWK program above erroneously prepends '/' to C:/dos/paths
! 10001: # for these hosts.
! 10002: case $host_os in
! 10003: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
! 10004: $SED 's,/\([A-Za-z]:\),\1,g'` ;;
! 10005: esac
! 10006: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
! 10007: else
! 10008: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 10009: fi
! 10010: library_names_spec=
! 10011: libname_spec='lib$name'
! 10012: soname_spec=
! 10013: shrext_cmds=".so"
! 10014: postinstall_cmds=
! 10015: postuninstall_cmds=
! 10016: finish_cmds=
! 10017: finish_eval=
! 10018: shlibpath_var=
! 10019: shlibpath_overrides_runpath=unknown
! 10020: version_type=none
! 10021: dynamic_linker="$host_os ld.so"
! 10022: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 10023: need_lib_prefix=unknown
! 10024: hardcode_into_libs=no
! 10025:
! 10026: # when you set need_version to no, make sure it does not cause -set_version
! 10027: # flags to be left without arguments
! 10028: need_version=unknown
! 10029:
! 10030: case $host_os in
! 10031: aix3*)
! 10032: version_type=linux # correct to gnu/linux during the next big refactor
! 10033: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 10034: shlibpath_var=LIBPATH
! 10035:
! 10036: # AIX 3 has no versioning support, so we append a major version to the name.
! 10037: soname_spec='${libname}${release}${shared_ext}$major'
! 10038: ;;
! 10039:
! 10040: aix[4-9]*)
! 10041: version_type=linux # correct to gnu/linux during the next big refactor
! 10042: need_lib_prefix=no
! 10043: need_version=no
! 10044: hardcode_into_libs=yes
! 10045: if test "$host_cpu" = ia64; then
! 10046: # AIX 5 supports IA64
! 10047: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 10048: shlibpath_var=LD_LIBRARY_PATH
1.10 paf 10049: else
1.23 ! moko 10050: # With GCC up to 2.95.x, collect2 would create an import file
! 10051: # for dependence libraries. The import file would start with
! 10052: # the line `#! .'. This would cause the generated library to
! 10053: # depend on `.', always an invalid library. This was fixed in
! 10054: # development snapshots of GCC prior to 3.0.
! 10055: case $host_os in
! 10056: aix4 | aix4.[01] | aix4.[01].*)
! 10057: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 10058: echo ' yes '
! 10059: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 10060: :
! 10061: else
! 10062: can_build_shared=no
! 10063: fi
! 10064: ;;
! 10065: esac
! 10066: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 10067: # soname into executable. Probably we can add versioning support to
! 10068: # collect2, so additional links can be useful in future.
! 10069: if test "$aix_use_runtimelinking" = yes; then
! 10070: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 10071: # instead of lib<name>.a to let people know that these are not
! 10072: # typical AIX shared libraries.
! 10073: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10074: else
! 10075: # We preserve .a as extension for shared libraries through AIX4.2
! 10076: # and later when we are not doing run time linking.
! 10077: library_names_spec='${libname}${release}.a $libname.a'
! 10078: soname_spec='${libname}${release}${shared_ext}$major'
! 10079: fi
! 10080: shlibpath_var=LIBPATH
1.1 parser 10081: fi
1.23 ! moko 10082: ;;
! 10083:
! 10084: amigaos*)
! 10085: case $host_cpu in
! 10086: powerpc)
! 10087: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 10088: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 10089: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10090: ;;
! 10091: m68k)
! 10092: library_names_spec='$libname.ixlibrary $libname.a'
! 10093: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 10094: 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'
! 10095: ;;
1.16 paf 10096: esac
1.23 ! moko 10097: ;;
! 10098:
! 10099: beos*)
! 10100: library_names_spec='${libname}${shared_ext}'
! 10101: dynamic_linker="$host_os ld.so"
! 10102: shlibpath_var=LIBRARY_PATH
! 10103: ;;
! 10104:
! 10105: bsdi[45]*)
! 10106: version_type=linux # correct to gnu/linux during the next big refactor
! 10107: need_version=no
! 10108: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10109: soname_spec='${libname}${release}${shared_ext}$major'
! 10110: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 10111: shlibpath_var=LD_LIBRARY_PATH
! 10112: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 10113: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 10114: # the default ld.so.conf also contains /usr/contrib/lib and
! 10115: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 10116: # libtool to hard-code these into programs
! 10117: ;;
! 10118:
! 10119: cygwin* | mingw* | pw32* | cegcc*)
! 10120: version_type=windows
! 10121: shrext_cmds=".dll"
! 10122: need_version=no
! 10123: need_lib_prefix=no
! 10124:
! 10125: case $GCC,$cc_basename in
! 10126: yes,*)
! 10127: # gcc
! 10128: library_names_spec='$libname.dll.a'
! 10129: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 10130: postinstall_cmds='base_file=`basename \${file}`~
! 10131: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 10132: dldir=$destdir/`dirname \$dlpath`~
! 10133: test -d \$dldir || mkdir -p \$dldir~
! 10134: $install_prog $dir/$dlname \$dldir/$dlname~
! 10135: chmod a+x \$dldir/$dlname~
! 10136: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 10137: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 10138: fi'
! 10139: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 10140: dlpath=$dir/\$dldll~
! 10141: $RM \$dlpath'
! 10142: shlibpath_overrides_runpath=yes
! 10143:
! 10144: case $host_os in
! 10145: cygwin*)
! 10146: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 10147: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10148:
! 10149: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
! 10150: ;;
! 10151: mingw* | cegcc*)
! 10152: # MinGW DLLs use traditional 'lib' prefix
! 10153: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10154: ;;
! 10155: pw32*)
! 10156: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 10157: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10158: ;;
! 10159: esac
! 10160: dynamic_linker='Win32 ld.exe'
! 10161: ;;
! 10162:
! 10163: *,cl*)
! 10164: # Native MSVC
! 10165: libname_spec='$name'
! 10166: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 10167: library_names_spec='${libname}.dll.lib'
! 10168:
! 10169: case $build_os in
! 10170: mingw*)
! 10171: sys_lib_search_path_spec=
! 10172: lt_save_ifs=$IFS
! 10173: IFS=';'
! 10174: for lt_path in $LIB
! 10175: do
! 10176: IFS=$lt_save_ifs
! 10177: # Let DOS variable expansion print the short 8.3 style file name.
! 10178: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 10179: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 10180: done
! 10181: IFS=$lt_save_ifs
! 10182: # Convert to MSYS style.
! 10183: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 10184: ;;
! 10185: cygwin*)
! 10186: # Convert to unix form, then to dos form, then back to unix form
! 10187: # but this time dos style (no spaces!) so that the unix form looks
! 10188: # like /cygdrive/c/PROGRA~1:/cygdr...
! 10189: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 10190: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 10191: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 10192: ;;
! 10193: *)
! 10194: sys_lib_search_path_spec="$LIB"
! 10195: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 10196: # It is most probably a Windows format PATH.
! 10197: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 10198: else
! 10199: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 10200: fi
! 10201: # FIXME: find the short name or the path components, as spaces are
! 10202: # common. (e.g. "Program Files" -> "PROGRA~1")
! 10203: ;;
! 10204: esac
! 10205:
! 10206: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 10207: postinstall_cmds='base_file=`basename \${file}`~
! 10208: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 10209: dldir=$destdir/`dirname \$dlpath`~
! 10210: test -d \$dldir || mkdir -p \$dldir~
! 10211: $install_prog $dir/$dlname \$dldir/$dlname'
! 10212: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 10213: dlpath=$dir/\$dldll~
! 10214: $RM \$dlpath'
! 10215: shlibpath_overrides_runpath=yes
! 10216: dynamic_linker='Win32 link.exe'
! 10217: ;;
! 10218:
! 10219: *)
! 10220: # Assume MSVC wrapper
! 10221: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 10222: dynamic_linker='Win32 ld.exe'
! 10223: ;;
! 10224: esac
! 10225: # FIXME: first we should search . and the directory the executable is in
! 10226: shlibpath_var=PATH
! 10227: ;;
! 10228:
! 10229: darwin* | rhapsody*)
! 10230: dynamic_linker="$host_os dyld"
! 10231: version_type=darwin
! 10232: need_lib_prefix=no
! 10233: need_version=no
! 10234: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 10235: soname_spec='${libname}${release}${major}$shared_ext'
! 10236: shlibpath_overrides_runpath=yes
! 10237: shlibpath_var=DYLD_LIBRARY_PATH
! 10238: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 10239:
! 10240: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 10241: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 10242: ;;
! 10243:
! 10244: dgux*)
! 10245: version_type=linux # correct to gnu/linux during the next big refactor
! 10246: need_lib_prefix=no
! 10247: need_version=no
! 10248: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 10249: soname_spec='${libname}${release}${shared_ext}$major'
! 10250: shlibpath_var=LD_LIBRARY_PATH
! 10251: ;;
! 10252:
! 10253: freebsd* | dragonfly*)
! 10254: # DragonFly does not have aout. When/if they implement a new
! 10255: # versioning mechanism, adjust this.
! 10256: if test -x /usr/bin/objformat; then
! 10257: objformat=`/usr/bin/objformat`
! 10258: else
! 10259: case $host_os in
! 10260: freebsd[23].*) objformat=aout ;;
! 10261: *) objformat=elf ;;
! 10262: esac
! 10263: fi
! 10264: version_type=freebsd-$objformat
! 10265: case $version_type in
! 10266: freebsd-elf*)
! 10267: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10268: need_version=no
! 10269: need_lib_prefix=no
! 10270: ;;
! 10271: freebsd-*)
! 10272: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 10273: need_version=yes
! 10274: ;;
! 10275: esac
! 10276: shlibpath_var=LD_LIBRARY_PATH
! 10277: case $host_os in
! 10278: freebsd2.*)
! 10279: shlibpath_overrides_runpath=yes
! 10280: ;;
! 10281: freebsd3.[01]* | freebsdelf3.[01]*)
! 10282: shlibpath_overrides_runpath=yes
! 10283: hardcode_into_libs=yes
! 10284: ;;
! 10285: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 10286: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 10287: shlibpath_overrides_runpath=no
! 10288: hardcode_into_libs=yes
! 10289: ;;
! 10290: *) # from 4.6 on, and DragonFly
! 10291: shlibpath_overrides_runpath=yes
! 10292: hardcode_into_libs=yes
! 10293: ;;
! 10294: esac
! 10295: ;;
! 10296:
! 10297: gnu*)
! 10298: version_type=linux # correct to gnu/linux during the next big refactor
! 10299: need_lib_prefix=no
! 10300: need_version=no
! 10301: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 10302: soname_spec='${libname}${release}${shared_ext}$major'
! 10303: shlibpath_var=LD_LIBRARY_PATH
! 10304: shlibpath_overrides_runpath=no
! 10305: hardcode_into_libs=yes
! 10306: ;;
! 10307:
! 10308: haiku*)
! 10309: version_type=linux # correct to gnu/linux during the next big refactor
! 10310: need_lib_prefix=no
! 10311: need_version=no
! 10312: dynamic_linker="$host_os runtime_loader"
! 10313: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 10314: soname_spec='${libname}${release}${shared_ext}$major'
! 10315: shlibpath_var=LIBRARY_PATH
! 10316: shlibpath_overrides_runpath=yes
! 10317: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 10318: hardcode_into_libs=yes
! 10319: ;;
! 10320:
! 10321: hpux9* | hpux10* | hpux11*)
! 10322: # Give a soname corresponding to the major version so that dld.sl refuses to
! 10323: # link against other versions.
! 10324: version_type=sunos
! 10325: need_lib_prefix=no
! 10326: need_version=no
! 10327: case $host_cpu in
! 10328: ia64*)
! 10329: shrext_cmds='.so'
! 10330: hardcode_into_libs=yes
! 10331: dynamic_linker="$host_os dld.so"
! 10332: shlibpath_var=LD_LIBRARY_PATH
! 10333: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 10334: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10335: soname_spec='${libname}${release}${shared_ext}$major'
! 10336: if test "X$HPUX_IA64_MODE" = X32; then
! 10337: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 10338: else
! 10339: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 10340: fi
! 10341: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 10342: ;;
! 10343: hppa*64*)
! 10344: shrext_cmds='.sl'
! 10345: hardcode_into_libs=yes
! 10346: dynamic_linker="$host_os dld.sl"
! 10347: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 10348: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 10349: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10350: soname_spec='${libname}${release}${shared_ext}$major'
! 10351: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 10352: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 10353: ;;
! 10354: *)
! 10355: shrext_cmds='.sl'
! 10356: dynamic_linker="$host_os dld.sl"
! 10357: shlibpath_var=SHLIB_PATH
! 10358: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 10359: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10360: soname_spec='${libname}${release}${shared_ext}$major'
! 10361: ;;
! 10362: esac
! 10363: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 10364: postinstall_cmds='chmod 555 $lib'
! 10365: # or fails outright, so override atomically:
! 10366: install_override_mode=555
! 10367: ;;
! 10368:
! 10369: interix[3-9]*)
! 10370: version_type=linux # correct to gnu/linux during the next big refactor
! 10371: need_lib_prefix=no
! 10372: need_version=no
! 10373: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 10374: soname_spec='${libname}${release}${shared_ext}$major'
! 10375: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 10376: shlibpath_var=LD_LIBRARY_PATH
! 10377: shlibpath_overrides_runpath=no
! 10378: hardcode_into_libs=yes
! 10379: ;;
! 10380:
! 10381: irix5* | irix6* | nonstopux*)
! 10382: case $host_os in
! 10383: nonstopux*) version_type=nonstopux ;;
! 10384: *)
! 10385: if test "$lt_cv_prog_gnu_ld" = yes; then
! 10386: version_type=linux # correct to gnu/linux during the next big refactor
! 10387: else
! 10388: version_type=irix
! 10389: fi ;;
! 10390: esac
! 10391: need_lib_prefix=no
! 10392: need_version=no
! 10393: soname_spec='${libname}${release}${shared_ext}$major'
! 10394: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10395: case $host_os in
! 10396: irix5* | nonstopux*)
! 10397: libsuff= shlibsuff=
! 10398: ;;
! 10399: *)
! 10400: case $LD in # libtool.m4 will add one of these switches to LD
! 10401: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 10402: libsuff= shlibsuff= libmagic=32-bit;;
! 10403: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 10404: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 10405: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 10406: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 10407: *) libsuff= shlibsuff= libmagic=never-match;;
! 10408: esac
! 10409: ;;
! 10410: esac
! 10411: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 10412: shlibpath_overrides_runpath=no
! 10413: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 10414: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 10415: hardcode_into_libs=yes
! 10416: ;;
! 10417:
! 10418: # No shared lib support for Linux oldld, aout, or coff.
! 10419: linux*oldld* | linux*aout* | linux*coff*)
! 10420: dynamic_linker=no
! 10421: ;;
! 10422:
! 10423: # This must be glibc/ELF.
! 10424: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 10425: version_type=linux # correct to gnu/linux during the next big refactor
! 10426: need_lib_prefix=no
! 10427: need_version=no
! 10428: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10429: soname_spec='${libname}${release}${shared_ext}$major'
! 10430: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 10431: shlibpath_var=LD_LIBRARY_PATH
! 10432: shlibpath_overrides_runpath=no
! 10433:
! 10434: # Some binutils ld are patched to set DT_RUNPATH
! 10435: if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
! 10436: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10437: else
! 10438: lt_cv_shlibpath_overrides_runpath=no
! 10439: save_LDFLAGS=$LDFLAGS
! 10440: save_libdir=$libdir
! 10441: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 10442: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 10443: cat >conftest.$ac_ext <<_ACEOF
! 10444: /* confdefs.h. */
! 10445: _ACEOF
! 10446: cat confdefs.h >>conftest.$ac_ext
! 10447: cat >>conftest.$ac_ext <<_ACEOF
! 10448: /* end confdefs.h. */
! 10449:
! 10450: int
! 10451: main ()
! 10452: {
! 10453:
! 10454: ;
! 10455: return 0;
! 10456: }
! 10457: _ACEOF
! 10458: rm -f conftest.$ac_objext conftest$ac_exeext
! 10459: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10460: (eval $ac_link) 2>conftest.er1
! 10461: ac_status=$?
! 10462: grep -v '^ *+' conftest.er1 >conftest.err
! 10463: rm -f conftest.er1
! 10464: cat conftest.err >&5
! 10465: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10466: (exit $ac_status); } &&
! 10467: { ac_try='test -z "$ac_c_werror_flag"
! 10468: || test ! -s conftest.err'
! 10469: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10470: (eval $ac_try) 2>&5
! 10471: ac_status=$?
! 10472: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10473: (exit $ac_status); }; } &&
! 10474: { ac_try='test -s conftest$ac_exeext'
! 10475: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10476: (eval $ac_try) 2>&5
! 10477: ac_status=$?
! 10478: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10479: (exit $ac_status); }; }; then
! 10480: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 10481: lt_cv_shlibpath_overrides_runpath=yes
! 10482: fi
! 10483:
! 10484: else
! 10485: echo "$as_me: failed program was:" >&5
! 10486: sed 's/^/| /' conftest.$ac_ext >&5
! 10487:
! 10488: fi
! 10489: rm -f conftest.err conftest.$ac_objext \
! 10490: conftest$ac_exeext conftest.$ac_ext
! 10491: LDFLAGS=$save_LDFLAGS
! 10492: libdir=$save_libdir
! 10493:
! 10494: fi
! 10495:
! 10496: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 10497:
! 10498: # This implies no fast_install, which is unacceptable.
! 10499: # Some rework will be needed to allow for fast_install
! 10500: # before this can be enabled.
! 10501: hardcode_into_libs=yes
! 10502:
! 10503: # Append ld.so.conf contents to the search path
! 10504: if test -f /etc/ld.so.conf; then
! 10505: 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' ' '`
! 10506: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 10507: fi
! 10508:
! 10509: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 10510: # powerpc, because MkLinux only supported shared libraries with the
! 10511: # GNU dynamic linker. Since this was broken with cross compilers,
! 10512: # most powerpc-linux boxes support dynamic linking these days and
! 10513: # people can always --disable-shared, the test was removed, and we
! 10514: # assume the GNU/Linux dynamic linker is in use.
! 10515: dynamic_linker='GNU/Linux ld.so'
! 10516: ;;
! 10517:
! 10518: netbsd*)
! 10519: version_type=sunos
! 10520: need_lib_prefix=no
! 10521: need_version=no
! 10522: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 10523: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10524: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 10525: dynamic_linker='NetBSD (a.out) ld.so'
! 10526: else
! 10527: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 10528: soname_spec='${libname}${release}${shared_ext}$major'
! 10529: dynamic_linker='NetBSD ld.elf_so'
! 10530: fi
! 10531: shlibpath_var=LD_LIBRARY_PATH
! 10532: shlibpath_overrides_runpath=yes
! 10533: hardcode_into_libs=yes
! 10534: ;;
! 10535:
! 10536: newsos6)
! 10537: version_type=linux # correct to gnu/linux during the next big refactor
! 10538: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10539: shlibpath_var=LD_LIBRARY_PATH
! 10540: shlibpath_overrides_runpath=yes
! 10541: ;;
! 10542:
! 10543: *nto* | *qnx*)
! 10544: version_type=qnx
! 10545: need_lib_prefix=no
! 10546: need_version=no
! 10547: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10548: soname_spec='${libname}${release}${shared_ext}$major'
! 10549: shlibpath_var=LD_LIBRARY_PATH
! 10550: shlibpath_overrides_runpath=no
! 10551: hardcode_into_libs=yes
! 10552: dynamic_linker='ldqnx.so'
! 10553: ;;
! 10554:
! 10555: openbsd*)
! 10556: version_type=sunos
! 10557: sys_lib_dlsearch_path_spec="/usr/lib"
! 10558: need_lib_prefix=no
! 10559: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 10560: case $host_os in
! 10561: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 10562: *) need_version=no ;;
! 10563: esac
! 10564: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10565: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 10566: shlibpath_var=LD_LIBRARY_PATH
! 10567: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 10568: case $host_os in
! 10569: openbsd2.[89] | openbsd2.[89].*)
! 10570: shlibpath_overrides_runpath=no
! 10571: ;;
! 10572: *)
! 10573: shlibpath_overrides_runpath=yes
! 10574: ;;
! 10575: esac
! 10576: else
! 10577: shlibpath_overrides_runpath=yes
! 10578: fi
! 10579: ;;
! 10580:
! 10581: os2*)
! 10582: libname_spec='$name'
! 10583: shrext_cmds=".dll"
! 10584: need_lib_prefix=no
! 10585: library_names_spec='$libname${shared_ext} $libname.a'
! 10586: dynamic_linker='OS/2 ld.exe'
! 10587: shlibpath_var=LIBPATH
! 10588: ;;
! 10589:
! 10590: osf3* | osf4* | osf5*)
! 10591: version_type=osf
! 10592: need_lib_prefix=no
! 10593: need_version=no
! 10594: soname_spec='${libname}${release}${shared_ext}$major'
! 10595: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10596: shlibpath_var=LD_LIBRARY_PATH
! 10597: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 10598: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 10599: ;;
! 10600:
! 10601: rdos*)
! 10602: dynamic_linker=no
! 10603: ;;
! 10604:
! 10605: solaris*)
! 10606: version_type=linux # correct to gnu/linux during the next big refactor
! 10607: need_lib_prefix=no
! 10608: need_version=no
! 10609: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10610: soname_spec='${libname}${release}${shared_ext}$major'
! 10611: shlibpath_var=LD_LIBRARY_PATH
! 10612: shlibpath_overrides_runpath=yes
! 10613: hardcode_into_libs=yes
! 10614: # ldd complains unless libraries are executable
! 10615: postinstall_cmds='chmod +x $lib'
! 10616: ;;
! 10617:
! 10618: sunos4*)
! 10619: version_type=sunos
! 10620: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 10621: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 10622: shlibpath_var=LD_LIBRARY_PATH
! 10623: shlibpath_overrides_runpath=yes
! 10624: if test "$with_gnu_ld" = yes; then
! 10625: need_lib_prefix=no
! 10626: fi
! 10627: need_version=yes
! 10628: ;;
! 10629:
! 10630: sysv4 | sysv4.3*)
! 10631: version_type=linux # correct to gnu/linux during the next big refactor
! 10632: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10633: soname_spec='${libname}${release}${shared_ext}$major'
! 10634: shlibpath_var=LD_LIBRARY_PATH
! 10635: case $host_vendor in
! 10636: sni)
! 10637: shlibpath_overrides_runpath=no
! 10638: need_lib_prefix=no
! 10639: runpath_var=LD_RUN_PATH
! 10640: ;;
! 10641: siemens)
! 10642: need_lib_prefix=no
! 10643: ;;
! 10644: motorola)
! 10645: need_lib_prefix=no
! 10646: need_version=no
! 10647: shlibpath_overrides_runpath=no
! 10648: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 10649: ;;
! 10650: esac
! 10651: ;;
! 10652:
! 10653: sysv4*MP*)
! 10654: if test -d /usr/nec ;then
! 10655: version_type=linux # correct to gnu/linux during the next big refactor
! 10656: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 10657: soname_spec='$libname${shared_ext}.$major'
! 10658: shlibpath_var=LD_LIBRARY_PATH
! 10659: fi
! 10660: ;;
! 10661:
! 10662: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 10663: version_type=freebsd-elf
! 10664: need_lib_prefix=no
! 10665: need_version=no
! 10666: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 10667: soname_spec='${libname}${release}${shared_ext}$major'
! 10668: shlibpath_var=LD_LIBRARY_PATH
! 10669: shlibpath_overrides_runpath=yes
! 10670: hardcode_into_libs=yes
! 10671: if test "$with_gnu_ld" = yes; then
! 10672: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 10673: else
! 10674: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 10675: case $host_os in
! 10676: sco3.2v5*)
! 10677: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 10678: ;;
! 10679: esac
! 10680: fi
! 10681: sys_lib_dlsearch_path_spec='/usr/lib'
! 10682: ;;
! 10683:
! 10684: tpf*)
! 10685: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 10686: version_type=linux # correct to gnu/linux during the next big refactor
! 10687: need_lib_prefix=no
! 10688: need_version=no
! 10689: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10690: shlibpath_var=LD_LIBRARY_PATH
! 10691: shlibpath_overrides_runpath=no
! 10692: hardcode_into_libs=yes
! 10693: ;;
! 10694:
! 10695: uts4*)
! 10696: version_type=linux # correct to gnu/linux during the next big refactor
! 10697: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 10698: soname_spec='${libname}${release}${shared_ext}$major'
! 10699: shlibpath_var=LD_LIBRARY_PATH
! 10700: ;;
! 10701:
! 10702: *)
! 10703: dynamic_linker=no
! 10704: ;;
! 10705: esac
! 10706: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 10707: echo "${ECHO_T}$dynamic_linker" >&6
! 10708: test "$dynamic_linker" = no && can_build_shared=no
! 10709:
! 10710: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 10711: if test "$GCC" = yes; then
! 10712: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 10713: fi
! 10714:
! 10715: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 10716: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 10717: fi
! 10718: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 10719: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 10720: fi
! 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:
! 10807:
! 10808:
! 10809:
! 10810:
! 10811:
! 10812:
! 10813: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 10814: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 10815: hardcode_action=
! 10816: if test -n "$hardcode_libdir_flag_spec" ||
! 10817: test -n "$runpath_var" ||
! 10818: test "X$hardcode_automatic" = "Xyes" ; then
! 10819:
! 10820: # We can hardcode non-existent directories.
! 10821: if test "$hardcode_direct" != no &&
! 10822: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 10823: # have to relink, otherwise we might link with an installed library
! 10824: # when we should be linking with a yet-to-be-installed one
! 10825: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 10826: test "$hardcode_minus_L" != no; then
! 10827: # Linking always hardcodes the temporary library directory.
! 10828: hardcode_action=relink
! 10829: else
! 10830: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 10831: hardcode_action=immediate
! 10832: fi
! 10833: else
! 10834: # We cannot hardcode anything, or else we can only hardcode existing
! 10835: # directories.
! 10836: hardcode_action=unsupported
! 10837: fi
! 10838: echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 10839: echo "${ECHO_T}$hardcode_action" >&6
! 10840:
! 10841: if test "$hardcode_action" = relink ||
! 10842: test "$inherit_rpath" = yes; then
! 10843: # Fast installation is not supported
! 10844: enable_fast_install=no
! 10845: elif test "$shlibpath_overrides_runpath" = yes ||
! 10846: test "$enable_shared" = no; then
! 10847: # Fast installation is not necessary
! 10848: enable_fast_install=needless
! 10849: fi
! 10850:
! 10851:
! 10852:
! 10853:
! 10854:
! 10855:
! 10856: if test "x$enable_dlopen" != xyes; then
! 10857: enable_dlopen=unknown
! 10858: enable_dlopen_self=unknown
! 10859: enable_dlopen_self_static=unknown
! 10860: else
! 10861: lt_cv_dlopen=no
! 10862: lt_cv_dlopen_libs=
! 10863:
! 10864: case $host_os in
! 10865: beos*)
! 10866: lt_cv_dlopen="load_add_on"
! 10867: lt_cv_dlopen_libs=
! 10868: lt_cv_dlopen_self=yes
! 10869: ;;
! 10870:
! 10871: mingw* | pw32* | cegcc*)
! 10872: lt_cv_dlopen="LoadLibrary"
! 10873: lt_cv_dlopen_libs=
! 10874: ;;
! 10875:
! 10876: cygwin*)
! 10877: lt_cv_dlopen="dlopen"
! 10878: lt_cv_dlopen_libs=
! 10879: ;;
! 10880:
! 10881: darwin*)
! 10882: # if libdl is installed we need to link against it
! 10883: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10884: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 10885: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10886: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10887: else
! 10888: ac_check_lib_save_LIBS=$LIBS
! 10889: LIBS="-ldl $LIBS"
! 10890: cat >conftest.$ac_ext <<_ACEOF
! 10891: /* confdefs.h. */
! 10892: _ACEOF
! 10893: cat confdefs.h >>conftest.$ac_ext
! 10894: cat >>conftest.$ac_ext <<_ACEOF
! 10895: /* end confdefs.h. */
! 10896:
! 10897: /* Override any gcc2 internal prototype to avoid an error. */
! 10898: #ifdef __cplusplus
! 10899: extern "C"
! 10900: #endif
! 10901: /* We use char because int might match the return type of a gcc2
! 10902: builtin and then its argument prototype would still apply. */
! 10903: char dlopen ();
! 10904: int
! 10905: main ()
! 10906: {
! 10907: dlopen ();
! 10908: ;
! 10909: return 0;
! 10910: }
! 10911: _ACEOF
! 10912: rm -f conftest.$ac_objext conftest$ac_exeext
! 10913: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10914: (eval $ac_link) 2>conftest.er1
! 10915: ac_status=$?
! 10916: grep -v '^ *+' conftest.er1 >conftest.err
! 10917: rm -f conftest.er1
! 10918: cat conftest.err >&5
! 10919: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10920: (exit $ac_status); } &&
! 10921: { ac_try='test -z "$ac_c_werror_flag"
! 10922: || test ! -s conftest.err'
! 10923: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10924: (eval $ac_try) 2>&5
! 10925: ac_status=$?
! 10926: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10927: (exit $ac_status); }; } &&
! 10928: { ac_try='test -s conftest$ac_exeext'
! 10929: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10930: (eval $ac_try) 2>&5
! 10931: ac_status=$?
! 10932: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10933: (exit $ac_status); }; }; then
! 10934: ac_cv_lib_dl_dlopen=yes
! 10935: else
! 10936: echo "$as_me: failed program was:" >&5
! 10937: sed 's/^/| /' conftest.$ac_ext >&5
! 10938:
! 10939: ac_cv_lib_dl_dlopen=no
! 10940: fi
! 10941: rm -f conftest.err conftest.$ac_objext \
! 10942: conftest$ac_exeext conftest.$ac_ext
! 10943: LIBS=$ac_check_lib_save_LIBS
! 10944: fi
! 10945: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10946: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 10947: if test $ac_cv_lib_dl_dlopen = yes; then
! 10948: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10949: else
! 10950:
! 10951: lt_cv_dlopen="dyld"
! 10952: lt_cv_dlopen_libs=
! 10953: lt_cv_dlopen_self=yes
! 10954:
! 10955: fi
! 10956:
! 10957: ;;
! 10958:
! 10959: *)
! 10960: echo "$as_me:$LINENO: checking for shl_load" >&5
! 10961: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 10962: if test "${ac_cv_func_shl_load+set}" = set; then
! 10963: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10964: else
! 10965: cat >conftest.$ac_ext <<_ACEOF
! 10966: /* confdefs.h. */
! 10967: _ACEOF
! 10968: cat confdefs.h >>conftest.$ac_ext
! 10969: cat >>conftest.$ac_ext <<_ACEOF
! 10970: /* end confdefs.h. */
! 10971: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 10972: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10973: #define shl_load innocuous_shl_load
! 10974:
! 10975: /* System header to define __stub macros and hopefully few prototypes,
! 10976: which can conflict with char shl_load (); below.
! 10977: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10978: <limits.h> exists even on freestanding compilers. */
! 10979:
! 10980: #ifdef __STDC__
! 10981: # include <limits.h>
! 10982: #else
! 10983: # include <assert.h>
! 10984: #endif
! 10985:
! 10986: #undef shl_load
! 10987:
! 10988: /* Override any gcc2 internal prototype to avoid an error. */
! 10989: #ifdef __cplusplus
! 10990: extern "C"
! 10991: {
! 10992: #endif
! 10993: /* We use char because int might match the return type of a gcc2
! 10994: builtin and then its argument prototype would still apply. */
! 10995: char shl_load ();
! 10996: /* The GNU C library defines this for functions which it implements
! 10997: to always fail with ENOSYS. Some functions are actually named
! 10998: something starting with __ and the normal name is an alias. */
! 10999: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 11000: choke me
! 11001: #else
! 11002: char (*f) () = shl_load;
! 11003: #endif
! 11004: #ifdef __cplusplus
! 11005: }
! 11006: #endif
! 11007:
! 11008: int
! 11009: main ()
! 11010: {
! 11011: return f != shl_load;
! 11012: ;
! 11013: return 0;
! 11014: }
! 11015: _ACEOF
! 11016: rm -f conftest.$ac_objext conftest$ac_exeext
! 11017: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11018: (eval $ac_link) 2>conftest.er1
! 11019: ac_status=$?
! 11020: grep -v '^ *+' conftest.er1 >conftest.err
! 11021: rm -f conftest.er1
! 11022: cat conftest.err >&5
! 11023: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11024: (exit $ac_status); } &&
! 11025: { ac_try='test -z "$ac_c_werror_flag"
! 11026: || test ! -s conftest.err'
! 11027: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11028: (eval $ac_try) 2>&5
! 11029: ac_status=$?
! 11030: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11031: (exit $ac_status); }; } &&
! 11032: { ac_try='test -s conftest$ac_exeext'
! 11033: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11034: (eval $ac_try) 2>&5
! 11035: ac_status=$?
! 11036: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11037: (exit $ac_status); }; }; then
! 11038: ac_cv_func_shl_load=yes
! 11039: else
! 11040: echo "$as_me: failed program was:" >&5
! 11041: sed 's/^/| /' conftest.$ac_ext >&5
! 11042:
! 11043: ac_cv_func_shl_load=no
! 11044: fi
! 11045: rm -f conftest.err conftest.$ac_objext \
! 11046: conftest$ac_exeext conftest.$ac_ext
! 11047: fi
! 11048: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 11049: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 11050: if test $ac_cv_func_shl_load = yes; then
! 11051: lt_cv_dlopen="shl_load"
! 11052: else
! 11053: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 11054: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 11055: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 11056: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11057: else
! 11058: ac_check_lib_save_LIBS=$LIBS
! 11059: LIBS="-ldld $LIBS"
! 11060: cat >conftest.$ac_ext <<_ACEOF
! 11061: /* confdefs.h. */
! 11062: _ACEOF
! 11063: cat confdefs.h >>conftest.$ac_ext
! 11064: cat >>conftest.$ac_ext <<_ACEOF
! 11065: /* end confdefs.h. */
! 11066:
! 11067: /* Override any gcc2 internal prototype to avoid an error. */
! 11068: #ifdef __cplusplus
! 11069: extern "C"
! 11070: #endif
! 11071: /* We use char because int might match the return type of a gcc2
! 11072: builtin and then its argument prototype would still apply. */
! 11073: char shl_load ();
! 11074: int
! 11075: main ()
! 11076: {
! 11077: shl_load ();
! 11078: ;
! 11079: return 0;
! 11080: }
! 11081: _ACEOF
! 11082: rm -f conftest.$ac_objext conftest$ac_exeext
! 11083: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11084: (eval $ac_link) 2>conftest.er1
! 11085: ac_status=$?
! 11086: grep -v '^ *+' conftest.er1 >conftest.err
! 11087: rm -f conftest.er1
! 11088: cat conftest.err >&5
! 11089: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11090: (exit $ac_status); } &&
! 11091: { ac_try='test -z "$ac_c_werror_flag"
! 11092: || test ! -s conftest.err'
! 11093: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11094: (eval $ac_try) 2>&5
! 11095: ac_status=$?
! 11096: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11097: (exit $ac_status); }; } &&
! 11098: { ac_try='test -s conftest$ac_exeext'
! 11099: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11100: (eval $ac_try) 2>&5
! 11101: ac_status=$?
! 11102: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11103: (exit $ac_status); }; }; then
! 11104: ac_cv_lib_dld_shl_load=yes
! 11105: else
! 11106: echo "$as_me: failed program was:" >&5
! 11107: sed 's/^/| /' conftest.$ac_ext >&5
! 11108:
! 11109: ac_cv_lib_dld_shl_load=no
! 11110: fi
! 11111: rm -f conftest.err conftest.$ac_objext \
! 11112: conftest$ac_exeext conftest.$ac_ext
! 11113: LIBS=$ac_check_lib_save_LIBS
! 11114: fi
! 11115: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 11116: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 11117: if test $ac_cv_lib_dld_shl_load = yes; then
! 11118: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 11119: else
! 11120: echo "$as_me:$LINENO: checking for dlopen" >&5
! 11121: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 11122: if test "${ac_cv_func_dlopen+set}" = set; then
! 11123: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11124: else
! 11125: cat >conftest.$ac_ext <<_ACEOF
! 11126: /* confdefs.h. */
! 11127: _ACEOF
! 11128: cat confdefs.h >>conftest.$ac_ext
! 11129: cat >>conftest.$ac_ext <<_ACEOF
! 11130: /* end confdefs.h. */
! 11131: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 11132: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 11133: #define dlopen innocuous_dlopen
! 11134:
! 11135: /* System header to define __stub macros and hopefully few prototypes,
! 11136: which can conflict with char dlopen (); below.
! 11137: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11138: <limits.h> exists even on freestanding compilers. */
! 11139:
! 11140: #ifdef __STDC__
! 11141: # include <limits.h>
! 11142: #else
! 11143: # include <assert.h>
! 11144: #endif
! 11145:
! 11146: #undef dlopen
! 11147:
! 11148: /* Override any gcc2 internal prototype to avoid an error. */
! 11149: #ifdef __cplusplus
! 11150: extern "C"
! 11151: {
! 11152: #endif
! 11153: /* We use char because int might match the return type of a gcc2
! 11154: builtin and then its argument prototype would still apply. */
! 11155: char dlopen ();
! 11156: /* The GNU C library defines this for functions which it implements
! 11157: to always fail with ENOSYS. Some functions are actually named
! 11158: something starting with __ and the normal name is an alias. */
! 11159: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 11160: choke me
! 11161: #else
! 11162: char (*f) () = dlopen;
! 11163: #endif
! 11164: #ifdef __cplusplus
! 11165: }
! 11166: #endif
! 11167:
! 11168: int
! 11169: main ()
! 11170: {
! 11171: return f != dlopen;
! 11172: ;
! 11173: return 0;
! 11174: }
! 11175: _ACEOF
! 11176: rm -f conftest.$ac_objext conftest$ac_exeext
! 11177: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11178: (eval $ac_link) 2>conftest.er1
! 11179: ac_status=$?
! 11180: grep -v '^ *+' conftest.er1 >conftest.err
! 11181: rm -f conftest.er1
! 11182: cat conftest.err >&5
! 11183: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11184: (exit $ac_status); } &&
! 11185: { ac_try='test -z "$ac_c_werror_flag"
! 11186: || test ! -s conftest.err'
! 11187: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11188: (eval $ac_try) 2>&5
! 11189: ac_status=$?
! 11190: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11191: (exit $ac_status); }; } &&
! 11192: { ac_try='test -s conftest$ac_exeext'
! 11193: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11194: (eval $ac_try) 2>&5
! 11195: ac_status=$?
! 11196: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11197: (exit $ac_status); }; }; then
! 11198: ac_cv_func_dlopen=yes
! 11199: else
! 11200: echo "$as_me: failed program was:" >&5
! 11201: sed 's/^/| /' conftest.$ac_ext >&5
! 11202:
! 11203: ac_cv_func_dlopen=no
! 11204: fi
! 11205: rm -f conftest.err conftest.$ac_objext \
! 11206: conftest$ac_exeext conftest.$ac_ext
! 11207: fi
! 11208: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 11209: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 11210: if test $ac_cv_func_dlopen = yes; then
! 11211: lt_cv_dlopen="dlopen"
! 11212: else
! 11213: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 11214: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 11215: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 11216: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11217: else
! 11218: ac_check_lib_save_LIBS=$LIBS
! 11219: LIBS="-ldl $LIBS"
! 11220: cat >conftest.$ac_ext <<_ACEOF
! 11221: /* confdefs.h. */
! 11222: _ACEOF
! 11223: cat confdefs.h >>conftest.$ac_ext
! 11224: cat >>conftest.$ac_ext <<_ACEOF
! 11225: /* end confdefs.h. */
! 11226:
! 11227: /* Override any gcc2 internal prototype to avoid an error. */
! 11228: #ifdef __cplusplus
! 11229: extern "C"
! 11230: #endif
! 11231: /* We use char because int might match the return type of a gcc2
! 11232: builtin and then its argument prototype would still apply. */
! 11233: char dlopen ();
! 11234: int
! 11235: main ()
! 11236: {
! 11237: dlopen ();
! 11238: ;
! 11239: return 0;
! 11240: }
! 11241: _ACEOF
! 11242: rm -f conftest.$ac_objext conftest$ac_exeext
! 11243: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11244: (eval $ac_link) 2>conftest.er1
! 11245: ac_status=$?
! 11246: grep -v '^ *+' conftest.er1 >conftest.err
! 11247: rm -f conftest.er1
! 11248: cat conftest.err >&5
! 11249: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11250: (exit $ac_status); } &&
! 11251: { ac_try='test -z "$ac_c_werror_flag"
! 11252: || test ! -s conftest.err'
! 11253: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11254: (eval $ac_try) 2>&5
! 11255: ac_status=$?
! 11256: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11257: (exit $ac_status); }; } &&
! 11258: { ac_try='test -s conftest$ac_exeext'
! 11259: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11260: (eval $ac_try) 2>&5
! 11261: ac_status=$?
! 11262: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11263: (exit $ac_status); }; }; then
! 11264: ac_cv_lib_dl_dlopen=yes
! 11265: else
! 11266: echo "$as_me: failed program was:" >&5
! 11267: sed 's/^/| /' conftest.$ac_ext >&5
! 11268:
! 11269: ac_cv_lib_dl_dlopen=no
! 11270: fi
! 11271: rm -f conftest.err conftest.$ac_objext \
! 11272: conftest$ac_exeext conftest.$ac_ext
! 11273: LIBS=$ac_check_lib_save_LIBS
! 11274: fi
! 11275: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 11276: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 11277: if test $ac_cv_lib_dl_dlopen = yes; then
! 11278: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 11279: else
! 11280: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 11281: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 11282: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 11283: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11284: else
! 11285: ac_check_lib_save_LIBS=$LIBS
! 11286: LIBS="-lsvld $LIBS"
! 11287: cat >conftest.$ac_ext <<_ACEOF
! 11288: /* confdefs.h. */
! 11289: _ACEOF
! 11290: cat confdefs.h >>conftest.$ac_ext
! 11291: cat >>conftest.$ac_ext <<_ACEOF
! 11292: /* end confdefs.h. */
! 11293:
! 11294: /* Override any gcc2 internal prototype to avoid an error. */
! 11295: #ifdef __cplusplus
! 11296: extern "C"
! 11297: #endif
! 11298: /* We use char because int might match the return type of a gcc2
! 11299: builtin and then its argument prototype would still apply. */
! 11300: char dlopen ();
! 11301: int
! 11302: main ()
! 11303: {
! 11304: dlopen ();
! 11305: ;
! 11306: return 0;
! 11307: }
! 11308: _ACEOF
! 11309: rm -f conftest.$ac_objext conftest$ac_exeext
! 11310: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11311: (eval $ac_link) 2>conftest.er1
! 11312: ac_status=$?
! 11313: grep -v '^ *+' conftest.er1 >conftest.err
! 11314: rm -f conftest.er1
! 11315: cat conftest.err >&5
! 11316: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11317: (exit $ac_status); } &&
! 11318: { ac_try='test -z "$ac_c_werror_flag"
! 11319: || test ! -s conftest.err'
! 11320: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11321: (eval $ac_try) 2>&5
! 11322: ac_status=$?
! 11323: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11324: (exit $ac_status); }; } &&
! 11325: { ac_try='test -s conftest$ac_exeext'
! 11326: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11327: (eval $ac_try) 2>&5
! 11328: ac_status=$?
! 11329: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11330: (exit $ac_status); }; }; then
! 11331: ac_cv_lib_svld_dlopen=yes
! 11332: else
! 11333: echo "$as_me: failed program was:" >&5
! 11334: sed 's/^/| /' conftest.$ac_ext >&5
! 11335:
! 11336: ac_cv_lib_svld_dlopen=no
! 11337: fi
! 11338: rm -f conftest.err conftest.$ac_objext \
! 11339: conftest$ac_exeext conftest.$ac_ext
! 11340: LIBS=$ac_check_lib_save_LIBS
! 11341: fi
! 11342: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 11343: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 11344: if test $ac_cv_lib_svld_dlopen = yes; then
! 11345: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 11346: else
! 11347: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 11348: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 11349: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 11350: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11351: else
! 11352: ac_check_lib_save_LIBS=$LIBS
! 11353: LIBS="-ldld $LIBS"
! 11354: cat >conftest.$ac_ext <<_ACEOF
! 11355: /* confdefs.h. */
! 11356: _ACEOF
! 11357: cat confdefs.h >>conftest.$ac_ext
! 11358: cat >>conftest.$ac_ext <<_ACEOF
! 11359: /* end confdefs.h. */
! 11360:
! 11361: /* Override any gcc2 internal prototype to avoid an error. */
! 11362: #ifdef __cplusplus
! 11363: extern "C"
! 11364: #endif
! 11365: /* We use char because int might match the return type of a gcc2
! 11366: builtin and then its argument prototype would still apply. */
! 11367: char dld_link ();
! 11368: int
! 11369: main ()
! 11370: {
! 11371: dld_link ();
! 11372: ;
! 11373: return 0;
! 11374: }
! 11375: _ACEOF
! 11376: rm -f conftest.$ac_objext conftest$ac_exeext
! 11377: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11378: (eval $ac_link) 2>conftest.er1
! 11379: ac_status=$?
! 11380: grep -v '^ *+' conftest.er1 >conftest.err
! 11381: rm -f conftest.er1
! 11382: cat conftest.err >&5
! 11383: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11384: (exit $ac_status); } &&
! 11385: { ac_try='test -z "$ac_c_werror_flag"
! 11386: || test ! -s conftest.err'
! 11387: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11388: (eval $ac_try) 2>&5
! 11389: ac_status=$?
! 11390: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11391: (exit $ac_status); }; } &&
! 11392: { ac_try='test -s conftest$ac_exeext'
! 11393: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 11394: (eval $ac_try) 2>&5
! 11395: ac_status=$?
! 11396: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11397: (exit $ac_status); }; }; then
! 11398: ac_cv_lib_dld_dld_link=yes
! 11399: else
! 11400: echo "$as_me: failed program was:" >&5
! 11401: sed 's/^/| /' conftest.$ac_ext >&5
! 11402:
! 11403: ac_cv_lib_dld_dld_link=no
! 11404: fi
! 11405: rm -f conftest.err conftest.$ac_objext \
! 11406: conftest$ac_exeext conftest.$ac_ext
! 11407: LIBS=$ac_check_lib_save_LIBS
! 11408: fi
! 11409: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 11410: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 11411: if test $ac_cv_lib_dld_dld_link = yes; then
! 11412: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 11413: fi
! 11414:
! 11415:
! 11416: fi
! 11417:
! 11418:
! 11419: fi
! 11420:
! 11421:
! 11422: fi
! 11423:
! 11424:
! 11425: fi
! 11426:
! 11427:
! 11428: fi
! 11429:
! 11430: ;;
! 11431: esac
! 11432:
! 11433: if test "x$lt_cv_dlopen" != xno; then
! 11434: enable_dlopen=yes
! 11435: else
! 11436: enable_dlopen=no
! 11437: fi
! 11438:
! 11439: case $lt_cv_dlopen in
! 11440: dlopen)
! 11441: save_CPPFLAGS="$CPPFLAGS"
! 11442: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 11443:
! 11444: save_LDFLAGS="$LDFLAGS"
! 11445: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 11446:
! 11447: save_LIBS="$LIBS"
! 11448: LIBS="$lt_cv_dlopen_libs $LIBS"
! 11449:
! 11450: echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 11451: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! 11452: if test "${lt_cv_dlopen_self+set}" = set; then
! 11453: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11454: else
! 11455: if test "$cross_compiling" = yes; then :
! 11456: lt_cv_dlopen_self=cross
! 11457: else
! 11458: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11459: lt_status=$lt_dlunknown
! 11460: cat > conftest.$ac_ext <<_LT_EOF
! 11461: #line $LINENO "configure"
! 11462: #include "confdefs.h"
! 11463:
! 11464: #if HAVE_DLFCN_H
! 11465: #include <dlfcn.h>
! 11466: #endif
! 11467:
! 11468: #include <stdio.h>
! 11469:
! 11470: #ifdef RTLD_GLOBAL
! 11471: # define LT_DLGLOBAL RTLD_GLOBAL
! 11472: #else
! 11473: # ifdef DL_GLOBAL
! 11474: # define LT_DLGLOBAL DL_GLOBAL
! 11475: # else
! 11476: # define LT_DLGLOBAL 0
! 11477: # endif
! 11478: #endif
! 11479:
! 11480: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11481: find out it does not work in some platform. */
! 11482: #ifndef LT_DLLAZY_OR_NOW
! 11483: # ifdef RTLD_LAZY
! 11484: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11485: # else
! 11486: # ifdef DL_LAZY
! 11487: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11488: # else
! 11489: # ifdef RTLD_NOW
! 11490: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11491: # else
! 11492: # ifdef DL_NOW
! 11493: # define LT_DLLAZY_OR_NOW DL_NOW
! 11494: # else
! 11495: # define LT_DLLAZY_OR_NOW 0
! 11496: # endif
! 11497: # endif
! 11498: # endif
! 11499: # endif
! 11500: #endif
! 11501:
! 11502: /* When -fvisbility=hidden is used, assume the code has been annotated
! 11503: correspondingly for the symbols needed. */
! 11504: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11505: int fnord () __attribute__((visibility("default")));
! 11506: #endif
! 11507:
! 11508: int fnord () { return 42; }
! 11509: int main ()
! 11510: {
! 11511: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11512: int status = $lt_dlunknown;
! 11513:
! 11514: if (self)
! 11515: {
! 11516: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11517: else
! 11518: {
! 11519: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11520: else puts (dlerror ());
! 11521: }
! 11522: /* dlclose (self); */
! 11523: }
! 11524: else
! 11525: puts (dlerror ());
! 11526:
! 11527: return status;
! 11528: }
! 11529: _LT_EOF
! 11530: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11531: (eval $ac_link) 2>&5
! 11532: ac_status=$?
! 11533: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11534: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 11535: (./conftest; exit; ) >&5 2>/dev/null
! 11536: lt_status=$?
! 11537: case x$lt_status in
! 11538: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 11539: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 11540: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 11541: esac
! 11542: else :
! 11543: # compilation failed
! 11544: lt_cv_dlopen_self=no
! 11545: fi
! 11546: fi
! 11547: rm -fr conftest*
! 11548:
! 11549:
! 11550: fi
! 11551: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 11552: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
! 11553:
! 11554: if test "x$lt_cv_dlopen_self" = xyes; then
! 11555: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 11556: echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 11557: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
! 11558: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 11559: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11560: else
! 11561: if test "$cross_compiling" = yes; then :
! 11562: lt_cv_dlopen_self_static=cross
! 11563: else
! 11564: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11565: lt_status=$lt_dlunknown
! 11566: cat > conftest.$ac_ext <<_LT_EOF
! 11567: #line $LINENO "configure"
! 11568: #include "confdefs.h"
! 11569:
! 11570: #if HAVE_DLFCN_H
! 11571: #include <dlfcn.h>
! 11572: #endif
! 11573:
! 11574: #include <stdio.h>
! 11575:
! 11576: #ifdef RTLD_GLOBAL
! 11577: # define LT_DLGLOBAL RTLD_GLOBAL
! 11578: #else
! 11579: # ifdef DL_GLOBAL
! 11580: # define LT_DLGLOBAL DL_GLOBAL
! 11581: # else
! 11582: # define LT_DLGLOBAL 0
! 11583: # endif
! 11584: #endif
! 11585:
! 11586: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11587: find out it does not work in some platform. */
! 11588: #ifndef LT_DLLAZY_OR_NOW
! 11589: # ifdef RTLD_LAZY
! 11590: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11591: # else
! 11592: # ifdef DL_LAZY
! 11593: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11594: # else
! 11595: # ifdef RTLD_NOW
! 11596: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11597: # else
! 11598: # ifdef DL_NOW
! 11599: # define LT_DLLAZY_OR_NOW DL_NOW
! 11600: # else
! 11601: # define LT_DLLAZY_OR_NOW 0
! 11602: # endif
! 11603: # endif
! 11604: # endif
! 11605: # endif
! 11606: #endif
! 11607:
! 11608: /* When -fvisbility=hidden is used, assume the code has been annotated
! 11609: correspondingly for the symbols needed. */
! 11610: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11611: int fnord () __attribute__((visibility("default")));
! 11612: #endif
! 11613:
! 11614: int fnord () { return 42; }
! 11615: int main ()
! 11616: {
! 11617: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11618: int status = $lt_dlunknown;
! 11619:
! 11620: if (self)
! 11621: {
! 11622: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11623: else
! 11624: {
! 11625: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11626: else puts (dlerror ());
! 11627: }
! 11628: /* dlclose (self); */
! 11629: }
! 11630: else
! 11631: puts (dlerror ());
! 11632:
! 11633: return status;
! 11634: }
! 11635: _LT_EOF
! 11636: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 11637: (eval $ac_link) 2>&5
! 11638: ac_status=$?
! 11639: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11640: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 11641: (./conftest; exit; ) >&5 2>/dev/null
! 11642: lt_status=$?
! 11643: case x$lt_status in
! 11644: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 11645: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 11646: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 11647: esac
! 11648: else :
! 11649: # compilation failed
! 11650: lt_cv_dlopen_self_static=no
! 11651: fi
! 11652: fi
! 11653: rm -fr conftest*
! 11654:
! 11655:
! 11656: fi
! 11657: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 11658: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
! 11659: fi
! 11660:
! 11661: CPPFLAGS="$save_CPPFLAGS"
! 11662: LDFLAGS="$save_LDFLAGS"
! 11663: LIBS="$save_LIBS"
! 11664: ;;
! 11665: esac
! 11666:
! 11667: case $lt_cv_dlopen_self in
! 11668: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 11669: *) enable_dlopen_self=unknown ;;
! 11670: esac
! 11671:
! 11672: case $lt_cv_dlopen_self_static in
! 11673: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 11674: *) enable_dlopen_self_static=unknown ;;
! 11675: esac
! 11676: fi
! 11677:
! 11678:
! 11679:
! 11680:
! 11681:
! 11682:
! 11683:
! 11684:
! 11685:
! 11686:
! 11687:
! 11688:
! 11689:
! 11690:
! 11691:
! 11692:
! 11693:
! 11694: striplib=
! 11695: old_striplib=
! 11696: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 11697: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
! 11698: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 11699: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 11700: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 11701: echo "$as_me:$LINENO: result: yes" >&5
! 11702: echo "${ECHO_T}yes" >&6
! 11703: else
! 11704: # FIXME - insert some real tests, host_os isn't really good enough
! 11705: case $host_os in
! 11706: darwin*)
! 11707: if test -n "$STRIP" ; then
! 11708: striplib="$STRIP -x"
! 11709: old_striplib="$STRIP -S"
! 11710: echo "$as_me:$LINENO: result: yes" >&5
! 11711: echo "${ECHO_T}yes" >&6
! 11712: else
! 11713: echo "$as_me:$LINENO: result: no" >&5
! 11714: echo "${ECHO_T}no" >&6
! 11715: fi
! 11716: ;;
! 11717: *)
! 11718: echo "$as_me:$LINENO: result: no" >&5
! 11719: echo "${ECHO_T}no" >&6
! 11720: ;;
! 11721: esac
! 11722: fi
! 11723:
! 11724:
! 11725:
! 11726:
! 11727:
! 11728:
! 11729:
! 11730:
! 11731:
! 11732:
! 11733:
! 11734:
! 11735: # Report which library types will actually be built
! 11736: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 11737: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 11738: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 11739: echo "${ECHO_T}$can_build_shared" >&6
! 11740:
! 11741: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 11742: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 11743: test "$can_build_shared" = "no" && enable_shared=no
! 11744:
! 11745: # On AIX, shared libraries and static libraries use the same namespace, and
! 11746: # are all built from PIC.
! 11747: case $host_os in
! 11748: aix3*)
! 11749: test "$enable_shared" = yes && enable_static=no
! 11750: if test -n "$RANLIB"; then
! 11751: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 11752: postinstall_cmds='$RANLIB $lib'
! 11753: fi
! 11754: ;;
! 11755:
! 11756: aix[4-9]*)
! 11757: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 11758: test "$enable_shared" = yes && enable_static=no
! 11759: fi
! 11760: ;;
! 11761: esac
! 11762: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 11763: echo "${ECHO_T}$enable_shared" >&6
! 11764:
! 11765: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 11766: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 11767: # Make sure either enable_shared or enable_static is yes.
! 11768: test "$enable_shared" = yes || enable_static=yes
! 11769: echo "$as_me:$LINENO: result: $enable_static" >&5
! 11770: echo "${ECHO_T}$enable_static" >&6
! 11771:
! 11772:
! 11773:
! 11774:
! 11775: fi
! 11776: ac_ext=c
! 11777: ac_cpp='$CPP $CPPFLAGS'
! 11778: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11779: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11780: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11781:
! 11782: CC="$lt_save_CC"
! 11783:
! 11784: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 11785: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 11786: (test "X$CXX" != "Xg++"))) ; then
! 11787: ac_ext=cc
! 11788: ac_cpp='$CXXCPP $CPPFLAGS'
! 11789: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11790: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11791: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 11792: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
! 11793: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
! 11794: if test -z "$CXXCPP"; then
! 11795: if test "${ac_cv_prog_CXXCPP+set}" = set; then
! 11796: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11797: else
! 11798: # Double quotes because CXXCPP needs to be expanded
! 11799: for CXXCPP in "$CXX -E" "/lib/cpp"
! 11800: do
! 11801: ac_preproc_ok=false
! 11802: for ac_cxx_preproc_warn_flag in '' yes
! 11803: do
! 11804: # Use a header file that comes with gcc, so configuring glibc
! 11805: # with a fresh cross-compiler works.
! 11806: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11807: # <limits.h> exists even on freestanding compilers.
! 11808: # On the NeXT, cc -E runs the code through the compiler's parser,
! 11809: # not just through cpp. "Syntax error" is here to catch this case.
! 11810: cat >conftest.$ac_ext <<_ACEOF
! 11811: /* confdefs.h. */
! 11812: _ACEOF
! 11813: cat confdefs.h >>conftest.$ac_ext
! 11814: cat >>conftest.$ac_ext <<_ACEOF
! 11815: /* end confdefs.h. */
! 11816: #ifdef __STDC__
! 11817: # include <limits.h>
! 11818: #else
! 11819: # include <assert.h>
! 11820: #endif
! 11821: Syntax error
! 11822: _ACEOF
! 11823: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11824: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11825: ac_status=$?
! 11826: grep -v '^ *+' conftest.er1 >conftest.err
! 11827: rm -f conftest.er1
! 11828: cat conftest.err >&5
! 11829: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11830: (exit $ac_status); } >/dev/null; then
! 11831: if test -s conftest.err; then
! 11832: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11833: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11834: else
! 11835: ac_cpp_err=
! 11836: fi
! 11837: else
! 11838: ac_cpp_err=yes
! 11839: fi
! 11840: if test -z "$ac_cpp_err"; then
! 11841: :
! 11842: else
! 11843: echo "$as_me: failed program was:" >&5
! 11844: sed 's/^/| /' conftest.$ac_ext >&5
! 11845:
! 11846: # Broken: fails on valid input.
! 11847: continue
! 11848: fi
! 11849: rm -f conftest.err conftest.$ac_ext
! 11850:
! 11851: # OK, works on sane cases. Now check whether non-existent headers
! 11852: # can be detected and how.
! 11853: cat >conftest.$ac_ext <<_ACEOF
! 11854: /* confdefs.h. */
! 11855: _ACEOF
! 11856: cat confdefs.h >>conftest.$ac_ext
! 11857: cat >>conftest.$ac_ext <<_ACEOF
! 11858: /* end confdefs.h. */
! 11859: #include <ac_nonexistent.h>
! 11860: _ACEOF
! 11861: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11862: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11863: ac_status=$?
! 11864: grep -v '^ *+' conftest.er1 >conftest.err
! 11865: rm -f conftest.er1
! 11866: cat conftest.err >&5
! 11867: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11868: (exit $ac_status); } >/dev/null; then
! 11869: if test -s conftest.err; then
! 11870: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11871: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11872: else
! 11873: ac_cpp_err=
! 11874: fi
! 11875: else
! 11876: ac_cpp_err=yes
! 11877: fi
! 11878: if test -z "$ac_cpp_err"; then
! 11879: # Broken: success on invalid input.
! 11880: continue
! 11881: else
! 11882: echo "$as_me: failed program was:" >&5
! 11883: sed 's/^/| /' conftest.$ac_ext >&5
! 11884:
! 11885: # Passes both tests.
! 11886: ac_preproc_ok=:
! 11887: break
! 11888: fi
! 11889: rm -f conftest.err conftest.$ac_ext
! 11890:
! 11891: done
! 11892: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 11893: rm -f conftest.err conftest.$ac_ext
! 11894: if $ac_preproc_ok; then
! 11895: break
! 11896: fi
! 11897:
! 11898: done
! 11899: ac_cv_prog_CXXCPP=$CXXCPP
! 11900:
! 11901: fi
! 11902: CXXCPP=$ac_cv_prog_CXXCPP
! 11903: else
! 11904: ac_cv_prog_CXXCPP=$CXXCPP
! 11905: fi
! 11906: echo "$as_me:$LINENO: result: $CXXCPP" >&5
! 11907: echo "${ECHO_T}$CXXCPP" >&6
! 11908: ac_preproc_ok=false
! 11909: for ac_cxx_preproc_warn_flag in '' yes
! 11910: do
! 11911: # Use a header file that comes with gcc, so configuring glibc
! 11912: # with a fresh cross-compiler works.
! 11913: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11914: # <limits.h> exists even on freestanding compilers.
! 11915: # On the NeXT, cc -E runs the code through the compiler's parser,
! 11916: # not just through cpp. "Syntax error" is here to catch this case.
! 11917: cat >conftest.$ac_ext <<_ACEOF
! 11918: /* confdefs.h. */
! 11919: _ACEOF
! 11920: cat confdefs.h >>conftest.$ac_ext
! 11921: cat >>conftest.$ac_ext <<_ACEOF
! 11922: /* end confdefs.h. */
! 11923: #ifdef __STDC__
! 11924: # include <limits.h>
! 11925: #else
! 11926: # include <assert.h>
! 11927: #endif
! 11928: Syntax error
! 11929: _ACEOF
! 11930: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11931: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11932: ac_status=$?
! 11933: grep -v '^ *+' conftest.er1 >conftest.err
! 11934: rm -f conftest.er1
! 11935: cat conftest.err >&5
! 11936: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11937: (exit $ac_status); } >/dev/null; then
! 11938: if test -s conftest.err; then
! 11939: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11940: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11941: else
! 11942: ac_cpp_err=
! 11943: fi
! 11944: else
! 11945: ac_cpp_err=yes
! 11946: fi
! 11947: if test -z "$ac_cpp_err"; then
! 11948: :
! 11949: else
! 11950: echo "$as_me: failed program was:" >&5
! 11951: sed 's/^/| /' conftest.$ac_ext >&5
! 11952:
! 11953: # Broken: fails on valid input.
! 11954: continue
! 11955: fi
! 11956: rm -f conftest.err conftest.$ac_ext
! 11957:
! 11958: # OK, works on sane cases. Now check whether non-existent headers
! 11959: # can be detected and how.
! 11960: cat >conftest.$ac_ext <<_ACEOF
! 11961: /* confdefs.h. */
! 11962: _ACEOF
! 11963: cat confdefs.h >>conftest.$ac_ext
! 11964: cat >>conftest.$ac_ext <<_ACEOF
! 11965: /* end confdefs.h. */
! 11966: #include <ac_nonexistent.h>
! 11967: _ACEOF
! 11968: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 11969: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 11970: ac_status=$?
! 11971: grep -v '^ *+' conftest.er1 >conftest.err
! 11972: rm -f conftest.er1
! 11973: cat conftest.err >&5
! 11974: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11975: (exit $ac_status); } >/dev/null; then
! 11976: if test -s conftest.err; then
! 11977: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 11978: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 11979: else
! 11980: ac_cpp_err=
! 11981: fi
! 11982: else
! 11983: ac_cpp_err=yes
! 11984: fi
! 11985: if test -z "$ac_cpp_err"; then
! 11986: # Broken: success on invalid input.
! 11987: continue
! 11988: else
! 11989: echo "$as_me: failed program was:" >&5
! 11990: sed 's/^/| /' conftest.$ac_ext >&5
! 11991:
! 11992: # Passes both tests.
! 11993: ac_preproc_ok=:
! 11994: break
! 11995: fi
! 11996: rm -f conftest.err conftest.$ac_ext
! 11997:
! 11998: done
! 11999: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 12000: rm -f conftest.err conftest.$ac_ext
! 12001: if $ac_preproc_ok; then
! 12002: :
! 12003: else
! 12004: { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 12005: See \`config.log' for more details." >&5
! 12006: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 12007: See \`config.log' for more details." >&2;}
! 12008: { (exit 1); exit 1; }; }
! 12009: fi
! 12010:
! 12011: ac_ext=c
! 12012: ac_cpp='$CPP $CPPFLAGS'
! 12013: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12014: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12015: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12016:
! 12017: else
! 12018: _lt_caught_CXX_error=yes
! 12019: fi
! 12020:
! 12021: ac_ext=cc
! 12022: ac_cpp='$CXXCPP $CPPFLAGS'
! 12023: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12024: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12025: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 12026:
! 12027: archive_cmds_need_lc_CXX=no
! 12028: allow_undefined_flag_CXX=
! 12029: always_export_symbols_CXX=no
! 12030: archive_expsym_cmds_CXX=
! 12031: compiler_needs_object_CXX=no
! 12032: export_dynamic_flag_spec_CXX=
! 12033: hardcode_direct_CXX=no
! 12034: hardcode_direct_absolute_CXX=no
! 12035: hardcode_libdir_flag_spec_CXX=
! 12036: hardcode_libdir_separator_CXX=
! 12037: hardcode_minus_L_CXX=no
! 12038: hardcode_shlibpath_var_CXX=unsupported
! 12039: hardcode_automatic_CXX=no
! 12040: inherit_rpath_CXX=no
! 12041: module_cmds_CXX=
! 12042: module_expsym_cmds_CXX=
! 12043: link_all_deplibs_CXX=unknown
! 12044: old_archive_cmds_CXX=$old_archive_cmds
! 12045: reload_flag_CXX=$reload_flag
! 12046: reload_cmds_CXX=$reload_cmds
! 12047: no_undefined_flag_CXX=
! 12048: whole_archive_flag_spec_CXX=
! 12049: enable_shared_with_static_runtimes_CXX=no
! 12050:
! 12051: # Source file extension for C++ test sources.
! 12052: ac_ext=cpp
! 12053:
! 12054: # Object file extension for compiled C++ test sources.
! 12055: objext=o
! 12056: objext_CXX=$objext
! 12057:
! 12058: # No sense in running all these tests if we already determined that
! 12059: # the CXX compiler isn't working. Some variables (like enable_shared)
! 12060: # are currently assumed to apply to all compilers on this platform,
! 12061: # and will be corrupted by setting them based on a non-working compiler.
! 12062: if test "$_lt_caught_CXX_error" != yes; then
! 12063: # Code to be used in simple compile tests
! 12064: lt_simple_compile_test_code="int some_variable = 0;"
! 12065:
! 12066: # Code to be used in simple link tests
! 12067: lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
! 12068:
! 12069: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 12070:
! 12071:
! 12072:
! 12073:
! 12074:
! 12075:
! 12076: # If no C compiler was specified, use CC.
! 12077: LTCC=${LTCC-"$CC"}
! 12078:
! 12079: # If no C compiler flags were specified, use CFLAGS.
! 12080: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 12081:
! 12082: # Allow CC to be a program name with arguments.
! 12083: compiler=$CC
! 12084:
! 12085:
! 12086: # save warnings/boilerplate of simple test code
! 12087: ac_outfile=conftest.$ac_objext
! 12088: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 12089: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 12090: _lt_compiler_boilerplate=`cat conftest.err`
! 12091: $RM conftest*
! 12092:
! 12093: ac_outfile=conftest.$ac_objext
! 12094: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 12095: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 12096: _lt_linker_boilerplate=`cat conftest.err`
! 12097: $RM -r conftest*
! 12098:
! 12099:
! 12100: # Allow CC to be a program name with arguments.
! 12101: lt_save_CC=$CC
! 12102: lt_save_CFLAGS=$CFLAGS
! 12103: lt_save_LD=$LD
! 12104: lt_save_GCC=$GCC
! 12105: GCC=$GXX
! 12106: lt_save_with_gnu_ld=$with_gnu_ld
! 12107: lt_save_path_LD=$lt_cv_path_LD
! 12108: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
! 12109: lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
! 12110: else
! 12111: $as_unset lt_cv_prog_gnu_ld
! 12112: fi
! 12113: if test -n "${lt_cv_path_LDCXX+set}"; then
! 12114: lt_cv_path_LD=$lt_cv_path_LDCXX
! 12115: else
! 12116: $as_unset lt_cv_path_LD
! 12117: fi
! 12118: test -z "${LDCXX+set}" || LD=$LDCXX
! 12119: CC=${CXX-"c++"}
! 12120: CFLAGS=$CXXFLAGS
! 12121: compiler=$CC
! 12122: compiler_CXX=$CC
! 12123: for cc_temp in $compiler""; do
! 12124: case $cc_temp in
! 12125: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 12126: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 12127: \-*) ;;
! 12128: *) break;;
! 12129: esac
! 12130: done
! 12131: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
! 12132:
! 12133:
! 12134: if test -n "$compiler"; then
! 12135: # We don't want -fno-exception when compiling C++ code, so set the
! 12136: # no_builtin_flag separately
! 12137: if test "$GXX" = yes; then
! 12138: lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
! 12139: else
! 12140: lt_prog_compiler_no_builtin_flag_CXX=
! 12141: fi
! 12142:
! 12143: if test "$GXX" = yes; then
! 12144: # Set up default GNU C++ configuration
! 12145:
! 12146:
! 12147:
! 12148: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 12149: if test "${with_gnu_ld+set}" = set; then
! 12150: withval="$with_gnu_ld"
! 12151: test "$withval" = no || with_gnu_ld=yes
! 12152: else
! 12153: with_gnu_ld=no
! 12154: fi;
! 12155: ac_prog=ld
! 12156: if test "$GCC" = yes; then
! 12157: # Check if gcc -print-prog-name=ld gives a path.
! 12158: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 12159: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
! 12160: case $host in
! 12161: *-*-mingw*)
! 12162: # gcc leaves a trailing carriage return which upsets mingw
! 12163: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 12164: *)
! 12165: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 12166: esac
! 12167: case $ac_prog in
! 12168: # Accept absolute paths.
! 12169: [\\/]* | ?:[\\/]*)
! 12170: re_direlt='/[^/][^/]*/\.\./'
! 12171: # Canonicalize the pathname of ld
! 12172: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 12173: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 12174: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 12175: done
! 12176: test -z "$LD" && LD="$ac_prog"
! 12177: ;;
! 12178: "")
! 12179: # If it fails, then pretend we aren't using GCC.
! 12180: ac_prog=ld
! 12181: ;;
! 12182: *)
! 12183: # If it is relative, then search for the first ld in PATH.
! 12184: with_gnu_ld=unknown
! 12185: ;;
! 12186: esac
! 12187: elif test "$with_gnu_ld" = yes; then
! 12188: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 12189: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 12190: else
! 12191: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 12192: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 12193: fi
! 12194: if test "${lt_cv_path_LD+set}" = set; then
! 12195: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12196: else
! 12197: if test -z "$LD"; then
! 12198: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 12199: for ac_dir in $PATH; do
! 12200: IFS="$lt_save_ifs"
! 12201: test -z "$ac_dir" && ac_dir=.
! 12202: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 12203: lt_cv_path_LD="$ac_dir/$ac_prog"
! 12204: # Check to see if the program is GNU ld. I'd rather use --version,
! 12205: # but apparently some variants of GNU ld only accept -v.
! 12206: # Break only if it was the GNU/non-GNU ld that we prefer.
! 12207: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 12208: *GNU* | *'with BFD'*)
! 12209: test "$with_gnu_ld" != no && break
! 12210: ;;
! 12211: *)
! 12212: test "$with_gnu_ld" != yes && break
! 12213: ;;
! 12214: esac
! 12215: fi
! 12216: done
! 12217: IFS="$lt_save_ifs"
! 12218: else
! 12219: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 12220: fi
! 12221: fi
! 12222:
! 12223: LD="$lt_cv_path_LD"
! 12224: if test -n "$LD"; then
! 12225: echo "$as_me:$LINENO: result: $LD" >&5
! 12226: echo "${ECHO_T}$LD" >&6
! 12227: else
! 12228: echo "$as_me:$LINENO: result: no" >&5
! 12229: echo "${ECHO_T}no" >&6
! 12230: fi
! 12231: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 12232: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 12233: { (exit 1); exit 1; }; }
! 12234: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 12235: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 12236: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 12237: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12238: else
! 12239: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 12240: case `$LD -v 2>&1 </dev/null` in
! 12241: *GNU* | *'with BFD'*)
! 12242: lt_cv_prog_gnu_ld=yes
! 12243: ;;
! 12244: *)
! 12245: lt_cv_prog_gnu_ld=no
! 12246: ;;
! 12247: esac
! 12248: fi
! 12249: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 12250: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 12251: with_gnu_ld=$lt_cv_prog_gnu_ld
! 12252:
! 12253:
! 12254:
! 12255:
! 12256:
! 12257:
! 12258:
! 12259: # Check if GNU C++ uses GNU ld as the underlying linker, since the
! 12260: # archiving commands below assume that GNU ld is being used.
! 12261: if test "$with_gnu_ld" = yes; then
! 12262: archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12263: 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'
! 12264:
! 12265: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12266: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12267:
! 12268: # If archive_cmds runs LD, not CC, wlarc should be empty
! 12269: # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
! 12270: # investigate it a little bit more. (MM)
! 12271: wlarc='${wl}'
! 12272:
! 12273: # ancient GNU ld didn't support --whole-archive et. al.
! 12274: if eval "`$CC -print-prog-name=ld` --help 2>&1" |
! 12275: $GREP 'no-whole-archive' > /dev/null; then
! 12276: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 12277: else
! 12278: whole_archive_flag_spec_CXX=
! 12279: fi
! 12280: else
! 12281: with_gnu_ld=no
! 12282: wlarc=
! 12283:
! 12284: # A generic and very simple default shared library creation
! 12285: # command for GNU C++ for the case where it uses the native
! 12286: # linker, instead of GNU ld. If possible, this setting should
! 12287: # overridden to take advantage of the native linker features on
! 12288: # the platform it is being used on.
! 12289: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 12290: fi
! 12291:
! 12292: # Commands to make compiler produce verbose output that lists
! 12293: # what "hidden" libraries, object files and flags are used when
! 12294: # linking a shared library.
! 12295: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 12296:
! 12297: else
! 12298: GXX=no
! 12299: with_gnu_ld=no
! 12300: wlarc=
! 12301: fi
! 12302:
! 12303: # PORTME: fill in a description of your system's C++ link characteristics
! 12304: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 12305: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 12306: ld_shlibs_CXX=yes
! 12307: case $host_os in
! 12308: aix3*)
! 12309: # FIXME: insert proper C++ library support
! 12310: ld_shlibs_CXX=no
! 12311: ;;
! 12312: aix[4-9]*)
! 12313: if test "$host_cpu" = ia64; then
! 12314: # On IA64, the linker does run time linking by default, so we don't
! 12315: # have to do anything special.
! 12316: aix_use_runtimelinking=no
! 12317: exp_sym_flag='-Bexport'
! 12318: no_entry_flag=""
! 12319: else
! 12320: aix_use_runtimelinking=no
! 12321:
! 12322: # Test if we are trying to use run time linking or normal
! 12323: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 12324: # need to do runtime linking.
! 12325: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 12326: for ld_flag in $LDFLAGS; do
! 12327: case $ld_flag in
! 12328: *-brtl*)
! 12329: aix_use_runtimelinking=yes
! 12330: break
! 12331: ;;
! 12332: esac
! 12333: done
! 12334: ;;
! 12335: esac
! 12336:
! 12337: exp_sym_flag='-bexport'
! 12338: no_entry_flag='-bnoentry'
! 12339: fi
! 12340:
! 12341: # When large executables or shared objects are built, AIX ld can
! 12342: # have problems creating the table of contents. If linking a library
! 12343: # or program results in "error TOC overflow" add -mminimal-toc to
! 12344: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 12345: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 12346:
! 12347: archive_cmds_CXX=''
! 12348: hardcode_direct_CXX=yes
! 12349: hardcode_direct_absolute_CXX=yes
! 12350: hardcode_libdir_separator_CXX=':'
! 12351: link_all_deplibs_CXX=yes
! 12352: file_list_spec_CXX='${wl}-f,'
! 12353:
! 12354: if test "$GXX" = yes; then
! 12355: case $host_os in aix4.[012]|aix4.[012].*)
! 12356: # We only want to do this on AIX 4.2 and lower, the check
! 12357: # below for broken collect2 doesn't work under 4.3+
! 12358: collect2name=`${CC} -print-prog-name=collect2`
! 12359: if test -f "$collect2name" &&
! 12360: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 12361: then
! 12362: # We have reworked collect2
! 12363: :
! 12364: else
! 12365: # We have old collect2
! 12366: hardcode_direct_CXX=unsupported
! 12367: # It fails to find uninstalled libraries when the uninstalled
! 12368: # path is not listed in the libpath. Setting hardcode_minus_L
! 12369: # to unsupported forces relinking
! 12370: hardcode_minus_L_CXX=yes
! 12371: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 12372: hardcode_libdir_separator_CXX=
! 12373: fi
! 12374: esac
! 12375: shared_flag='-shared'
! 12376: if test "$aix_use_runtimelinking" = yes; then
! 12377: shared_flag="$shared_flag "'${wl}-G'
! 12378: fi
! 12379: else
! 12380: # not using gcc
! 12381: if test "$host_cpu" = ia64; then
! 12382: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 12383: # chokes on -Wl,-G. The following line is correct:
! 12384: shared_flag='-G'
! 12385: else
! 12386: if test "$aix_use_runtimelinking" = yes; then
! 12387: shared_flag='${wl}-G'
! 12388: else
! 12389: shared_flag='${wl}-bM:SRE'
! 12390: fi
! 12391: fi
! 12392: fi
! 12393:
! 12394: export_dynamic_flag_spec_CXX='${wl}-bexpall'
! 12395: # It seems that -bexpall does not export symbols beginning with
! 12396: # underscore (_), so it is better to generate a list of symbols to
! 12397: # export.
! 12398: always_export_symbols_CXX=yes
! 12399: if test "$aix_use_runtimelinking" = yes; then
! 12400: # Warning - without using the other runtime loading flags (-brtl),
! 12401: # -berok will link without error, but may produce a broken library.
! 12402: allow_undefined_flag_CXX='-berok'
! 12403: # Determine the default libpath from the value encoded in an empty
! 12404: # executable.
! 12405: if test "${lt_cv_aix_libpath+set}" = set; then
! 12406: aix_libpath=$lt_cv_aix_libpath
! 12407: else
! 12408: if test "${lt_cv_aix_libpath__CXX+set}" = set; then
! 12409: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12410: else
! 12411: cat >conftest.$ac_ext <<_ACEOF
! 12412: /* confdefs.h. */
! 12413: _ACEOF
! 12414: cat confdefs.h >>conftest.$ac_ext
! 12415: cat >>conftest.$ac_ext <<_ACEOF
! 12416: /* end confdefs.h. */
! 12417:
! 12418: int
! 12419: main ()
! 12420: {
! 12421:
! 12422: ;
! 12423: return 0;
! 12424: }
! 12425: _ACEOF
! 12426: rm -f conftest.$ac_objext conftest$ac_exeext
! 12427: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 12428: (eval $ac_link) 2>conftest.er1
! 12429: ac_status=$?
! 12430: grep -v '^ *+' conftest.er1 >conftest.err
! 12431: rm -f conftest.er1
! 12432: cat conftest.err >&5
! 12433: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12434: (exit $ac_status); } &&
! 12435: { ac_try='test -z "$ac_cxx_werror_flag"
! 12436: || test ! -s conftest.err'
! 12437: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12438: (eval $ac_try) 2>&5
! 12439: ac_status=$?
! 12440: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12441: (exit $ac_status); }; } &&
! 12442: { ac_try='test -s conftest$ac_exeext'
! 12443: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12444: (eval $ac_try) 2>&5
! 12445: ac_status=$?
! 12446: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12447: (exit $ac_status); }; }; then
! 12448:
! 12449: lt_aix_libpath_sed='
! 12450: /Import File Strings/,/^$/ {
! 12451: /^0/ {
! 12452: s/^0 *\([^ ]*\) *$/\1/
! 12453: p
! 12454: }
! 12455: }'
! 12456: lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12457: # Check for a 64-bit object if we didn't find anything.
! 12458: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12459: lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12460: fi
! 12461: else
! 12462: echo "$as_me: failed program was:" >&5
! 12463: sed 's/^/| /' conftest.$ac_ext >&5
! 12464:
! 12465: fi
! 12466: rm -f conftest.err conftest.$ac_objext \
! 12467: conftest$ac_exeext conftest.$ac_ext
! 12468: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12469: lt_cv_aix_libpath__CXX="/usr/lib:/lib"
! 12470: fi
! 12471:
! 12472: fi
! 12473:
! 12474: aix_libpath=$lt_cv_aix_libpath__CXX
! 12475: fi
! 12476:
! 12477: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 12478:
! 12479: 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"
! 12480: else
! 12481: if test "$host_cpu" = ia64; then
! 12482: hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
! 12483: allow_undefined_flag_CXX="-z nodefs"
! 12484: 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"
! 12485: else
! 12486: # Determine the default libpath from the value encoded in an
! 12487: # empty executable.
! 12488: if test "${lt_cv_aix_libpath+set}" = set; then
! 12489: aix_libpath=$lt_cv_aix_libpath
! 12490: else
! 12491: if test "${lt_cv_aix_libpath__CXX+set}" = set; then
! 12492: echo $ECHO_N "(cached) $ECHO_C" >&6
! 12493: else
! 12494: cat >conftest.$ac_ext <<_ACEOF
! 12495: /* confdefs.h. */
! 12496: _ACEOF
! 12497: cat confdefs.h >>conftest.$ac_ext
! 12498: cat >>conftest.$ac_ext <<_ACEOF
! 12499: /* end confdefs.h. */
! 12500:
! 12501: int
! 12502: main ()
! 12503: {
! 12504:
! 12505: ;
! 12506: return 0;
! 12507: }
! 12508: _ACEOF
! 12509: rm -f conftest.$ac_objext conftest$ac_exeext
! 12510: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 12511: (eval $ac_link) 2>conftest.er1
! 12512: ac_status=$?
! 12513: grep -v '^ *+' conftest.er1 >conftest.err
! 12514: rm -f conftest.er1
! 12515: cat conftest.err >&5
! 12516: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12517: (exit $ac_status); } &&
! 12518: { ac_try='test -z "$ac_cxx_werror_flag"
! 12519: || test ! -s conftest.err'
! 12520: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12521: (eval $ac_try) 2>&5
! 12522: ac_status=$?
! 12523: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12524: (exit $ac_status); }; } &&
! 12525: { ac_try='test -s conftest$ac_exeext'
! 12526: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 12527: (eval $ac_try) 2>&5
! 12528: ac_status=$?
! 12529: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12530: (exit $ac_status); }; }; then
! 12531:
! 12532: lt_aix_libpath_sed='
! 12533: /Import File Strings/,/^$/ {
! 12534: /^0/ {
! 12535: s/^0 *\([^ ]*\) *$/\1/
! 12536: p
! 12537: }
! 12538: }'
! 12539: lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12540: # Check for a 64-bit object if we didn't find anything.
! 12541: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12542: lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 12543: fi
! 12544: else
! 12545: echo "$as_me: failed program was:" >&5
! 12546: sed 's/^/| /' conftest.$ac_ext >&5
! 12547:
! 12548: fi
! 12549: rm -f conftest.err conftest.$ac_objext \
! 12550: conftest$ac_exeext conftest.$ac_ext
! 12551: if test -z "$lt_cv_aix_libpath__CXX"; then
! 12552: lt_cv_aix_libpath__CXX="/usr/lib:/lib"
! 12553: fi
! 12554:
! 12555: fi
! 12556:
! 12557: aix_libpath=$lt_cv_aix_libpath__CXX
! 12558: fi
! 12559:
! 12560: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 12561: # Warning - without using the other run time loading flags,
! 12562: # -berok will link without error, but may produce a broken library.
! 12563: no_undefined_flag_CXX=' ${wl}-bernotok'
! 12564: allow_undefined_flag_CXX=' ${wl}-berok'
! 12565: if test "$with_gnu_ld" = yes; then
! 12566: # We only use this code for GNU lds that support --whole-archive.
! 12567: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12568: else
! 12569: # Exported symbols can be pulled into shared objects from archives
! 12570: whole_archive_flag_spec_CXX='$convenience'
! 12571: fi
! 12572: archive_cmds_need_lc_CXX=yes
! 12573: # This is similar to how AIX traditionally builds its shared
! 12574: # libraries.
! 12575: 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'
! 12576: fi
! 12577: fi
! 12578: ;;
! 12579:
! 12580: beos*)
! 12581: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 12582: allow_undefined_flag_CXX=unsupported
! 12583: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 12584: # support --undefined. This deserves some investigation. FIXME
! 12585: archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12586: else
! 12587: ld_shlibs_CXX=no
! 12588: fi
! 12589: ;;
! 12590:
! 12591: chorus*)
! 12592: case $cc_basename in
! 12593: *)
! 12594: # FIXME: insert proper C++ library support
! 12595: ld_shlibs_CXX=no
! 12596: ;;
! 12597: esac
! 12598: ;;
! 12599:
! 12600: cygwin* | mingw* | pw32* | cegcc*)
! 12601: case $GXX,$cc_basename in
! 12602: ,cl* | no,cl*)
! 12603: # Native MSVC
! 12604: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 12605: # no search path for DLLs.
! 12606: hardcode_libdir_flag_spec_CXX=' '
! 12607: allow_undefined_flag_CXX=unsupported
! 12608: always_export_symbols_CXX=yes
! 12609: file_list_spec_CXX='@'
! 12610: # Tell ltmain to make .lib files, not .a files.
! 12611: libext=lib
! 12612: # Tell ltmain to make .dll files, not .so files.
! 12613: shrext_cmds=".dll"
! 12614: # FIXME: Setting linknames here is a bad hack.
! 12615: archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 12616: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 12617: $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 12618: else
! 12619: $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 12620: fi~
! 12621: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 12622: linknames='
! 12623: # The linker will not automatically build a static lib if we build a DLL.
! 12624: # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
! 12625: enable_shared_with_static_runtimes_CXX=yes
! 12626: # Don't use ranlib
! 12627: old_postinstall_cmds_CXX='chmod 644 $oldlib'
! 12628: postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
! 12629: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 12630: case $lt_outputfile in
! 12631: *.exe|*.EXE) ;;
! 12632: *)
! 12633: lt_outputfile="$lt_outputfile.exe"
! 12634: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 12635: ;;
! 12636: esac~
! 12637: func_to_tool_file "$lt_outputfile"~
! 12638: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 12639: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 12640: $RM "$lt_outputfile.manifest";
! 12641: fi'
! 12642: ;;
! 12643: *)
! 12644: # g++
! 12645: # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
! 12646: # as there is no search path for DLLs.
! 12647: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 12648: export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
! 12649: allow_undefined_flag_CXX=unsupported
! 12650: always_export_symbols_CXX=no
! 12651: enable_shared_with_static_runtimes_CXX=yes
! 12652:
! 12653: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 12654: 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'
! 12655: # If the export-symbols file already is a .def file (1st line
! 12656: # is EXPORTS), use it as is; otherwise, prepend...
! 12657: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 12658: cp $export_symbols $output_objdir/$soname.def;
! 12659: else
! 12660: echo EXPORTS > $output_objdir/$soname.def;
! 12661: cat $export_symbols >> $output_objdir/$soname.def;
! 12662: fi~
! 12663: $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'
! 12664: else
! 12665: ld_shlibs_CXX=no
! 12666: fi
! 12667: ;;
! 12668: esac
! 12669: ;;
! 12670: darwin* | rhapsody*)
! 12671:
! 12672:
! 12673: archive_cmds_need_lc_CXX=no
! 12674: hardcode_direct_CXX=no
! 12675: hardcode_automatic_CXX=yes
! 12676: hardcode_shlibpath_var_CXX=unsupported
! 12677: if test "$lt_cv_ld_force_load" = "yes"; then
! 12678: 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\"`'
! 12679:
! 12680: else
! 12681: whole_archive_flag_spec_CXX=''
! 12682: fi
! 12683: link_all_deplibs_CXX=yes
! 12684: allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
! 12685: case $cc_basename in
! 12686: ifort*) _lt_dar_can_shared=yes ;;
! 12687: *) _lt_dar_can_shared=$GCC ;;
! 12688: esac
! 12689: if test "$_lt_dar_can_shared" = "yes"; then
! 12690: output_verbose_link_cmd=func_echo_all
! 12691: 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}"
! 12692: module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 12693: 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}"
! 12694: 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}"
! 12695: if test "$lt_cv_apple_cc_single_mod" != "yes"; then
! 12696: 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}"
! 12697: 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}"
! 12698: fi
! 12699:
! 12700: else
! 12701: ld_shlibs_CXX=no
! 12702: fi
! 12703:
! 12704: ;;
! 12705:
! 12706: dgux*)
! 12707: case $cc_basename in
! 12708: ec++*)
! 12709: # FIXME: insert proper C++ library support
! 12710: ld_shlibs_CXX=no
! 12711: ;;
! 12712: ghcx*)
! 12713: # Green Hills C++ Compiler
! 12714: # FIXME: insert proper C++ library support
! 12715: ld_shlibs_CXX=no
! 12716: ;;
! 12717: *)
! 12718: # FIXME: insert proper C++ library support
! 12719: ld_shlibs_CXX=no
! 12720: ;;
! 12721: esac
! 12722: ;;
! 12723:
! 12724: freebsd2.*)
! 12725: # C++ shared libraries reported to be fairly broken before
! 12726: # switch to ELF
! 12727: ld_shlibs_CXX=no
! 12728: ;;
! 12729:
! 12730: freebsd-elf*)
! 12731: archive_cmds_need_lc_CXX=no
! 12732: ;;
! 12733:
! 12734: freebsd* | dragonfly*)
! 12735: # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
! 12736: # conventions
! 12737: ld_shlibs_CXX=yes
! 12738: ;;
! 12739:
! 12740: gnu*)
! 12741: ;;
! 12742:
! 12743: haiku*)
! 12744: archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12745: link_all_deplibs_CXX=yes
! 12746: ;;
! 12747:
! 12748: hpux9*)
! 12749: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 12750: hardcode_libdir_separator_CXX=:
! 12751: export_dynamic_flag_spec_CXX='${wl}-E'
! 12752: hardcode_direct_CXX=yes
! 12753: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 12754: # but as the default
! 12755: # location of the library.
! 12756:
! 12757: case $cc_basename in
! 12758: CC*)
! 12759: # FIXME: insert proper C++ library support
! 12760: ld_shlibs_CXX=no
! 12761: ;;
! 12762: aCC*)
! 12763: 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'
! 12764: # Commands to make compiler produce verbose output that lists
! 12765: # what "hidden" libraries, object files and flags are used when
! 12766: # linking a shared library.
! 12767: #
! 12768: # There doesn't appear to be a way to prevent this compiler from
! 12769: # explicitly linking system object files so we need to strip them
! 12770: # from the output so that they don't get included in the library
! 12771: # dependencies.
! 12772: 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"'
! 12773: ;;
! 12774: *)
! 12775: if test "$GXX" = yes; then
! 12776: 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'
! 12777: else
! 12778: # FIXME: insert proper C++ library support
! 12779: ld_shlibs_CXX=no
! 12780: fi
! 12781: ;;
! 12782: esac
! 12783: ;;
! 12784:
! 12785: hpux10*|hpux11*)
! 12786: if test $with_gnu_ld = no; then
! 12787: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 12788: hardcode_libdir_separator_CXX=:
! 12789:
! 12790: case $host_cpu in
! 12791: hppa*64*|ia64*)
! 12792: ;;
! 12793: *)
! 12794: export_dynamic_flag_spec_CXX='${wl}-E'
! 12795: ;;
! 12796: esac
! 12797: fi
! 12798: case $host_cpu in
! 12799: hppa*64*|ia64*)
! 12800: hardcode_direct_CXX=no
! 12801: hardcode_shlibpath_var_CXX=no
! 12802: ;;
! 12803: *)
! 12804: hardcode_direct_CXX=yes
! 12805: hardcode_direct_absolute_CXX=yes
! 12806: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 12807: # but as the default
! 12808: # location of the library.
! 12809: ;;
! 12810: esac
! 12811:
! 12812: case $cc_basename in
! 12813: CC*)
! 12814: # FIXME: insert proper C++ library support
! 12815: ld_shlibs_CXX=no
! 12816: ;;
! 12817: aCC*)
! 12818: case $host_cpu in
! 12819: hppa*64*)
! 12820: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12821: ;;
! 12822: ia64*)
! 12823: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12824: ;;
! 12825: *)
! 12826: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12827: ;;
! 12828: esac
! 12829: # Commands to make compiler produce verbose output that lists
! 12830: # what "hidden" libraries, object files and flags are used when
! 12831: # linking a shared library.
! 12832: #
! 12833: # There doesn't appear to be a way to prevent this compiler from
! 12834: # explicitly linking system object files so we need to strip them
! 12835: # from the output so that they don't get included in the library
! 12836: # dependencies.
! 12837: 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"'
! 12838: ;;
! 12839: *)
! 12840: if test "$GXX" = yes; then
! 12841: if test $with_gnu_ld = no; then
! 12842: case $host_cpu in
! 12843: hppa*64*)
! 12844: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12845: ;;
! 12846: ia64*)
! 12847: archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12848: ;;
! 12849: *)
! 12850: 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'
! 12851: ;;
! 12852: esac
! 12853: fi
! 12854: else
! 12855: # FIXME: insert proper C++ library support
! 12856: ld_shlibs_CXX=no
! 12857: fi
! 12858: ;;
! 12859: esac
! 12860: ;;
! 12861:
! 12862: interix[3-9]*)
! 12863: hardcode_direct_CXX=no
! 12864: hardcode_shlibpath_var_CXX=no
! 12865: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12866: export_dynamic_flag_spec_CXX='${wl}-E'
! 12867: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 12868: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 12869: # default) and relocated if they conflict, which is a slow very memory
! 12870: # consuming and fragmenting process. To avoid this, we pick a random,
! 12871: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 12872: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 12873: 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'
! 12874: 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'
! 12875: ;;
! 12876: irix5* | irix6*)
! 12877: case $cc_basename in
! 12878: CC*)
! 12879: # SGI C++
! 12880: 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'
! 12881:
! 12882: # Archives containing C++ object files must be created using
! 12883: # "CC -ar", where "CC" is the IRIX C++ compiler. This is
! 12884: # necessary to make sure instantiated templates are included
! 12885: # in the archive.
! 12886: old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
! 12887: ;;
! 12888: *)
! 12889: if test "$GXX" = yes; then
! 12890: if test "$with_gnu_ld" = no; then
! 12891: 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'
! 12892: else
! 12893: 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'
! 12894: fi
! 12895: fi
! 12896: link_all_deplibs_CXX=yes
! 12897: ;;
! 12898: esac
! 12899: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12900: hardcode_libdir_separator_CXX=:
! 12901: inherit_rpath_CXX=yes
! 12902: ;;
! 12903:
! 12904: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 12905: case $cc_basename in
! 12906: KCC*)
! 12907: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12908:
! 12909: # KCC will only create a shared library if the output file
! 12910: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12911: # to its proper name (with version) after linking.
! 12912: 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'
! 12913: 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'
! 12914: # Commands to make compiler produce verbose output that lists
! 12915: # what "hidden" libraries, object files and flags are used when
! 12916: # linking a shared library.
! 12917: #
! 12918: # There doesn't appear to be a way to prevent this compiler from
! 12919: # explicitly linking system object files so we need to strip them
! 12920: # from the output so that they don't get included in the library
! 12921: # dependencies.
! 12922: 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"'
! 12923:
! 12924: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12925: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12926:
! 12927: # Archives containing C++ object files must be created using
! 12928: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12929: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12930: ;;
! 12931: icpc* | ecpc* )
! 12932: # Intel C++
! 12933: with_gnu_ld=yes
! 12934: # version 8.0 and above of icpc choke on multiply defined symbols
! 12935: # if we add $predep_objects and $postdep_objects, however 7.1 and
! 12936: # earlier do not add the objects themselves.
! 12937: case `$CC -V 2>&1` in
! 12938: *"Version 7."*)
! 12939: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12940: 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'
! 12941: ;;
! 12942: *) # Version 8.0 or newer
! 12943: tmp_idyn=
! 12944: case $host_cpu in
! 12945: ia64*) tmp_idyn=' -i_dynamic';;
! 12946: esac
! 12947: archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12948: 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'
! 12949: ;;
! 12950: esac
! 12951: archive_cmds_need_lc_CXX=no
! 12952: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12953: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12954: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12955: ;;
! 12956: pgCC* | pgcpp*)
! 12957: # Portland Group C++ compiler
! 12958: case `$CC -V` in
! 12959: *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
! 12960: prelink_cmds_CXX='tpldir=Template.dir~
! 12961: rm -rf $tpldir~
! 12962: $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
! 12963: compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
! 12964: old_archive_cmds_CXX='tpldir=Template.dir~
! 12965: rm -rf $tpldir~
! 12966: $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
! 12967: $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
! 12968: $RANLIB $oldlib'
! 12969: archive_cmds_CXX='tpldir=Template.dir~
! 12970: rm -rf $tpldir~
! 12971: $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
! 12972: $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12973: archive_expsym_cmds_CXX='tpldir=Template.dir~
! 12974: rm -rf $tpldir~
! 12975: $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
! 12976: $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'
! 12977: ;;
! 12978: *) # Version 6 and above use weak symbols
! 12979: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12980: 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'
! 12981: ;;
! 12982: esac
! 12983:
! 12984: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 12985: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12986: 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'
! 12987: ;;
! 12988: cxx*)
! 12989: # Compaq C++
! 12990: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12991: 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'
! 12992:
! 12993: runpath_var=LD_RUN_PATH
! 12994: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12995: hardcode_libdir_separator_CXX=:
! 12996:
! 12997: # Commands to make compiler produce verbose output that lists
! 12998: # what "hidden" libraries, object files and flags are used when
! 12999: # linking a shared library.
! 13000: #
! 13001: # There doesn't appear to be a way to prevent this compiler from
! 13002: # explicitly linking system object files so we need to strip them
! 13003: # from the output so that they don't get included in the library
! 13004: # dependencies.
! 13005: 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'
! 13006: ;;
! 13007: xl* | mpixl* | bgxl*)
! 13008: # IBM XL 8.0 on PPC, with GNU ld
! 13009: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 13010: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 13011: archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13012: if test "x$supports_anon_versioning" = xyes; then
! 13013: archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
! 13014: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 13015: echo "local: *; };" >> $output_objdir/$libname.ver~
! 13016: $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 13017: fi
! 13018: ;;
! 13019: *)
! 13020: case `$CC -V 2>&1 | sed 5q` in
! 13021: *Sun\ C*)
! 13022: # Sun C++ 5.9
! 13023: no_undefined_flag_CXX=' -zdefs'
! 13024: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 13025: 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'
! 13026: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 13027: 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'
! 13028: compiler_needs_object_CXX=yes
! 13029:
! 13030: # Not sure whether something based on
! 13031: # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
! 13032: # would be better.
! 13033: output_verbose_link_cmd='func_echo_all'
! 13034:
! 13035: # Archives containing C++ object files must be created using
! 13036: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 13037: # necessary to make sure instantiated templates are included
! 13038: # in the archive.
! 13039: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 13040: ;;
! 13041: esac
! 13042: ;;
! 13043: esac
! 13044: ;;
! 13045:
! 13046: lynxos*)
! 13047: # FIXME: insert proper C++ library support
! 13048: ld_shlibs_CXX=no
! 13049: ;;
! 13050:
! 13051: m88k*)
! 13052: # FIXME: insert proper C++ library support
! 13053: ld_shlibs_CXX=no
! 13054: ;;
! 13055:
! 13056: mvs*)
! 13057: case $cc_basename in
! 13058: cxx*)
! 13059: # FIXME: insert proper C++ library support
! 13060: ld_shlibs_CXX=no
! 13061: ;;
! 13062: *)
! 13063: # FIXME: insert proper C++ library support
! 13064: ld_shlibs_CXX=no
! 13065: ;;
! 13066: esac
! 13067: ;;
! 13068:
! 13069: netbsd*)
! 13070: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 13071: archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
! 13072: wlarc=
! 13073: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 13074: hardcode_direct_CXX=yes
! 13075: hardcode_shlibpath_var_CXX=no
! 13076: fi
! 13077: # Workaround some broken pre-1.5 toolchains
! 13078: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
! 13079: ;;
! 13080:
! 13081: *nto* | *qnx*)
! 13082: ld_shlibs_CXX=yes
! 13083: ;;
! 13084:
! 13085: openbsd2*)
! 13086: # C++ shared libraries are fairly broken
! 13087: ld_shlibs_CXX=no
! 13088: ;;
! 13089:
! 13090: openbsd*)
! 13091: if test -f /usr/libexec/ld.so; then
! 13092: hardcode_direct_CXX=yes
! 13093: hardcode_shlibpath_var_CXX=no
! 13094: hardcode_direct_absolute_CXX=yes
! 13095: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 13096: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 13097: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 13098: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 13099: export_dynamic_flag_spec_CXX='${wl}-E'
! 13100: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 13101: fi
! 13102: output_verbose_link_cmd=func_echo_all
! 13103: else
! 13104: ld_shlibs_CXX=no
! 13105: fi
! 13106: ;;
! 13107:
! 13108: osf3* | osf4* | osf5*)
! 13109: case $cc_basename in
! 13110: KCC*)
! 13111: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 13112:
! 13113: # KCC will only create a shared library if the output file
! 13114: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 13115: # to its proper name (with version) after linking.
! 13116: 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'
! 13117:
! 13118: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 13119: hardcode_libdir_separator_CXX=:
! 13120:
! 13121: # Archives containing C++ object files must be created using
! 13122: # the KAI C++ compiler.
! 13123: case $host in
! 13124: osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
! 13125: *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
! 13126: esac
! 13127: ;;
! 13128: RCC*)
! 13129: # Rational C++ 2.4.1
! 13130: # FIXME: insert proper C++ library support
! 13131: ld_shlibs_CXX=no
! 13132: ;;
! 13133: cxx*)
! 13134: case $host in
! 13135: osf3*)
! 13136: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 13137: 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'
! 13138: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 13139: ;;
! 13140: *)
! 13141: allow_undefined_flag_CXX=' -expect_unresolved \*'
! 13142: 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'
! 13143: archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
! 13144: echo "-hidden">> $lib.exp~
! 13145: $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~
! 13146: $RM $lib.exp'
! 13147: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 13148: ;;
! 13149: esac
! 13150:
! 13151: hardcode_libdir_separator_CXX=:
! 13152:
! 13153: # Commands to make compiler produce verbose output that lists
! 13154: # what "hidden" libraries, object files and flags are used when
! 13155: # linking a shared library.
! 13156: #
! 13157: # There doesn't appear to be a way to prevent this compiler from
! 13158: # explicitly linking system object files so we need to strip them
! 13159: # from the output so that they don't get included in the library
! 13160: # dependencies.
! 13161: 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"'
! 13162: ;;
! 13163: *)
! 13164: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 13165: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 13166: case $host in
! 13167: osf3*)
! 13168: 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'
! 13169: ;;
! 13170: *)
! 13171: 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'
! 13172: ;;
! 13173: esac
! 13174:
! 13175: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 13176: hardcode_libdir_separator_CXX=:
! 13177:
! 13178: # Commands to make compiler produce verbose output that lists
! 13179: # what "hidden" libraries, object files and flags are used when
! 13180: # linking a shared library.
! 13181: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 13182:
! 13183: else
! 13184: # FIXME: insert proper C++ library support
! 13185: ld_shlibs_CXX=no
! 13186: fi
! 13187: ;;
! 13188: esac
! 13189: ;;
! 13190:
! 13191: psos*)
! 13192: # FIXME: insert proper C++ library support
! 13193: ld_shlibs_CXX=no
! 13194: ;;
! 13195:
! 13196: sunos4*)
! 13197: case $cc_basename in
! 13198: CC*)
! 13199: # Sun C++ 4.x
! 13200: # FIXME: insert proper C++ library support
! 13201: ld_shlibs_CXX=no
! 13202: ;;
! 13203: lcc*)
! 13204: # Lucid
! 13205: # FIXME: insert proper C++ library support
! 13206: ld_shlibs_CXX=no
! 13207: ;;
! 13208: *)
! 13209: # FIXME: insert proper C++ library support
! 13210: ld_shlibs_CXX=no
! 13211: ;;
! 13212: esac
! 13213: ;;
! 13214:
! 13215: solaris*)
! 13216: case $cc_basename in
! 13217: CC* | sunCC*)
! 13218: # Sun C++ 4.2, 5.x and Centerline C++
! 13219: archive_cmds_need_lc_CXX=yes
! 13220: no_undefined_flag_CXX=' -zdefs'
! 13221: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 13222: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 13223: $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'
! 13224:
! 13225: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 13226: hardcode_shlibpath_var_CXX=no
! 13227: case $host_os in
! 13228: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 13229: *)
! 13230: # The compiler driver will combine and reorder linker options,
! 13231: # but understands `-z linker_flag'.
! 13232: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 13233: whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
! 13234: ;;
! 13235: esac
! 13236: link_all_deplibs_CXX=yes
! 13237:
! 13238: output_verbose_link_cmd='func_echo_all'
! 13239:
! 13240: # Archives containing C++ object files must be created using
! 13241: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 13242: # necessary to make sure instantiated templates are included
! 13243: # in the archive.
! 13244: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 13245: ;;
! 13246: gcx*)
! 13247: # Green Hills C++ Compiler
! 13248: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 13249:
! 13250: # The C++ compiler must be used to create the archive.
! 13251: old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
! 13252: ;;
! 13253: *)
! 13254: # GNU C++ compiler with Solaris linker
! 13255: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 13256: no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
! 13257: if $CC --version | $GREP -v '^2\.7' > /dev/null; then
! 13258: archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 13259: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 13260: $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 13261:
! 13262: # Commands to make compiler produce verbose output that lists
! 13263: # what "hidden" libraries, object files and flags are used when
! 13264: # linking a shared library.
! 13265: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 13266: else
! 13267: # g++ 2.7 appears to require `-G' NOT `-shared' on this
! 13268: # platform.
! 13269: archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 13270: archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 13271: $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
! 13272:
! 13273: # Commands to make compiler produce verbose output that lists
! 13274: # what "hidden" libraries, object files and flags are used when
! 13275: # linking a shared library.
! 13276: output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
! 13277: fi
! 13278:
! 13279: hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
! 13280: case $host_os in
! 13281: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 13282: *)
! 13283: whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 13284: ;;
! 13285: esac
! 13286: fi
! 13287: ;;
! 13288: esac
! 13289: ;;
! 13290:
! 13291: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 13292: no_undefined_flag_CXX='${wl}-z,text'
! 13293: archive_cmds_need_lc_CXX=no
! 13294: hardcode_shlibpath_var_CXX=no
! 13295: runpath_var='LD_RUN_PATH'
! 13296:
! 13297: case $cc_basename in
! 13298: CC*)
! 13299: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13300: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13301: ;;
! 13302: *)
! 13303: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13304: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13305: ;;
! 13306: esac
! 13307: ;;
! 13308:
! 13309: sysv5* | sco3.2v5* | sco5v6*)
! 13310: # Note: We can NOT use -z defs as we might desire, because we do not
! 13311: # link with -lc, and that would cause any symbols used from libc to
! 13312: # always be unresolved, which means just about no library would
! 13313: # ever link correctly. If we're not using GNU ld we use -z text
! 13314: # though, which does catch some bad symbols but isn't as heavy-handed
! 13315: # as -z defs.
! 13316: no_undefined_flag_CXX='${wl}-z,text'
! 13317: allow_undefined_flag_CXX='${wl}-z,nodefs'
! 13318: archive_cmds_need_lc_CXX=no
! 13319: hardcode_shlibpath_var_CXX=no
! 13320: hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
! 13321: hardcode_libdir_separator_CXX=':'
! 13322: link_all_deplibs_CXX=yes
! 13323: export_dynamic_flag_spec_CXX='${wl}-Bexport'
! 13324: runpath_var='LD_RUN_PATH'
! 13325:
! 13326: case $cc_basename in
! 13327: CC*)
! 13328: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13329: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13330: old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
! 13331: '"$old_archive_cmds_CXX"
! 13332: reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
! 13333: '"$reload_cmds_CXX"
! 13334: ;;
! 13335: *)
! 13336: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13337: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 13338: ;;
! 13339: esac
! 13340: ;;
! 13341:
! 13342: tandem*)
! 13343: case $cc_basename in
! 13344: NCC*)
! 13345: # NonStop-UX NCC 3.20
! 13346: # FIXME: insert proper C++ library support
! 13347: ld_shlibs_CXX=no
! 13348: ;;
! 13349: *)
! 13350: # FIXME: insert proper C++ library support
! 13351: ld_shlibs_CXX=no
! 13352: ;;
! 13353: esac
! 13354: ;;
! 13355:
! 13356: vxworks*)
! 13357: # FIXME: insert proper C++ library support
! 13358: ld_shlibs_CXX=no
! 13359: ;;
! 13360:
! 13361: *)
! 13362: # FIXME: insert proper C++ library support
! 13363: ld_shlibs_CXX=no
! 13364: ;;
! 13365: esac
! 13366:
! 13367: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 13368: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 13369: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 13370:
! 13371: GCC_CXX="$GXX"
! 13372: LD_CXX="$LD"
! 13373:
! 13374: ## CAVEAT EMPTOR:
! 13375: ## There is no encapsulation within the following macros, do not change
! 13376: ## the running order or otherwise move them around unless you know exactly
! 13377: ## what you are doing...
! 13378: # Dependencies to place before and after the object being linked:
! 13379: predep_objects_CXX=
! 13380: postdep_objects_CXX=
! 13381: predeps_CXX=
! 13382: postdeps_CXX=
! 13383: compiler_lib_search_path_CXX=
! 13384:
! 13385: cat > conftest.$ac_ext <<_LT_EOF
! 13386: class Foo
! 13387: {
! 13388: public:
! 13389: Foo (void) { a = 0; }
! 13390: private:
! 13391: int a;
! 13392: };
! 13393: _LT_EOF
! 13394:
! 13395:
! 13396: _lt_libdeps_save_CFLAGS=$CFLAGS
! 13397: case "$CC $CFLAGS " in #(
! 13398: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
! 13399: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
! 13400: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
! 13401: esac
! 13402:
! 13403: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 13404: (eval $ac_compile) 2>&5
! 13405: ac_status=$?
! 13406: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13407: (exit $ac_status); }; then
! 13408: # Parse the compiler output and extract the necessary
! 13409: # objects, libraries and library flags.
! 13410:
! 13411: # Sentinel used to keep track of whether or not we are before
! 13412: # the conftest object file.
! 13413: pre_test_object_deps_done=no
! 13414:
! 13415: for p in `eval "$output_verbose_link_cmd"`; do
! 13416: case ${prev}${p} in
! 13417:
! 13418: -L* | -R* | -l*)
! 13419: # Some compilers place space between "-{L,R}" and the path.
! 13420: # Remove the space.
! 13421: if test $p = "-L" ||
! 13422: test $p = "-R"; then
! 13423: prev=$p
! 13424: continue
! 13425: fi
! 13426:
! 13427: # Expand the sysroot to ease extracting the directories later.
! 13428: if test -z "$prev"; then
! 13429: case $p in
! 13430: -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
! 13431: -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
! 13432: -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
! 13433: esac
! 13434: fi
! 13435: case $p in
! 13436: =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
! 13437: esac
! 13438: if test "$pre_test_object_deps_done" = no; then
! 13439: case ${prev} in
! 13440: -L | -R)
! 13441: # Internal compiler library paths should come after those
! 13442: # provided the user. The postdeps already come after the
! 13443: # user supplied libs so there is no need to process them.
! 13444: if test -z "$compiler_lib_search_path_CXX"; then
! 13445: compiler_lib_search_path_CXX="${prev}${p}"
! 13446: else
! 13447: compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
! 13448: fi
! 13449: ;;
! 13450: # The "-l" case would never come before the object being
! 13451: # linked, so don't bother handling this case.
! 13452: esac
! 13453: else
! 13454: if test -z "$postdeps_CXX"; then
! 13455: postdeps_CXX="${prev}${p}"
! 13456: else
! 13457: postdeps_CXX="${postdeps_CXX} ${prev}${p}"
! 13458: fi
! 13459: fi
! 13460: prev=
! 13461: ;;
! 13462:
! 13463: *.lto.$objext) ;; # Ignore GCC LTO objects
! 13464: *.$objext)
! 13465: # This assumes that the test object file only shows up
! 13466: # once in the compiler output.
! 13467: if test "$p" = "conftest.$objext"; then
! 13468: pre_test_object_deps_done=yes
! 13469: continue
! 13470: fi
! 13471:
! 13472: if test "$pre_test_object_deps_done" = no; then
! 13473: if test -z "$predep_objects_CXX"; then
! 13474: predep_objects_CXX="$p"
! 13475: else
! 13476: predep_objects_CXX="$predep_objects_CXX $p"
! 13477: fi
! 13478: else
! 13479: if test -z "$postdep_objects_CXX"; then
! 13480: postdep_objects_CXX="$p"
! 13481: else
! 13482: postdep_objects_CXX="$postdep_objects_CXX $p"
! 13483: fi
! 13484: fi
! 13485: ;;
! 13486:
! 13487: *) ;; # Ignore the rest.
! 13488:
! 13489: esac
! 13490: done
! 13491:
! 13492: # Clean up.
! 13493: rm -f a.out a.exe
! 13494: else
! 13495: echo "libtool.m4: error: problem compiling CXX test program"
! 13496: fi
! 13497:
! 13498: $RM -f confest.$objext
! 13499: CFLAGS=$_lt_libdeps_save_CFLAGS
! 13500:
! 13501: # PORTME: override above test on systems where it is broken
! 13502: case $host_os in
! 13503: interix[3-9]*)
! 13504: # Interix 3.5 installs completely hosed .la files for C++, so rather than
! 13505: # hack all around it, let's just trust "g++" to DTRT.
! 13506: predep_objects_CXX=
! 13507: postdep_objects_CXX=
! 13508: postdeps_CXX=
! 13509: ;;
! 13510:
! 13511: linux*)
! 13512: case `$CC -V 2>&1 | sed 5q` in
! 13513: *Sun\ C*)
! 13514: # Sun C++ 5.9
! 13515:
! 13516: # The more standards-conforming stlport4 library is
! 13517: # incompatible with the Cstd library. Avoid specifying
! 13518: # it if it's in CXXFLAGS. Ignore libCrun as
! 13519: # -library=stlport4 depends on it.
! 13520: case " $CXX $CXXFLAGS " in
! 13521: *" -library=stlport4 "*)
! 13522: solaris_use_stlport4=yes
! 13523: ;;
! 13524: esac
! 13525:
! 13526: if test "$solaris_use_stlport4" != yes; then
! 13527: postdeps_CXX='-library=Cstd -library=Crun'
! 13528: fi
! 13529: ;;
! 13530: esac
! 13531: ;;
! 13532:
! 13533: solaris*)
! 13534: case $cc_basename in
! 13535: CC* | sunCC*)
! 13536: # The more standards-conforming stlport4 library is
! 13537: # incompatible with the Cstd library. Avoid specifying
! 13538: # it if it's in CXXFLAGS. Ignore libCrun as
! 13539: # -library=stlport4 depends on it.
! 13540: case " $CXX $CXXFLAGS " in
! 13541: *" -library=stlport4 "*)
! 13542: solaris_use_stlport4=yes
! 13543: ;;
! 13544: esac
! 13545:
! 13546: # Adding this requires a known-good setup of shared libraries for
! 13547: # Sun compiler versions before 5.6, else PIC objects from an old
! 13548: # archive will be linked into the output, leading to subtle bugs.
! 13549: if test "$solaris_use_stlport4" != yes; then
! 13550: postdeps_CXX='-library=Cstd -library=Crun'
! 13551: fi
! 13552: ;;
! 13553: esac
! 13554: ;;
! 13555: esac
! 13556:
! 13557:
! 13558: case " $postdeps_CXX " in
! 13559: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
! 13560: esac
! 13561: compiler_lib_search_dirs_CXX=
! 13562: if test -n "${compiler_lib_search_path_CXX}"; then
! 13563: compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
! 13564: fi
! 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:
! 13590:
! 13591:
! 13592:
! 13593:
! 13594:
! 13595:
! 13596: lt_prog_compiler_wl_CXX=
! 13597: lt_prog_compiler_pic_CXX=
! 13598: lt_prog_compiler_static_CXX=
! 13599:
! 13600:
! 13601: # C++ specific cases for pic, static, wl, etc.
! 13602: if test "$GXX" = yes; then
! 13603: lt_prog_compiler_wl_CXX='-Wl,'
! 13604: lt_prog_compiler_static_CXX='-static'
! 13605:
! 13606: case $host_os in
! 13607: aix*)
! 13608: # All AIX code is PIC.
! 13609: if test "$host_cpu" = ia64; then
! 13610: # AIX 5 now supports IA64 processor
! 13611: lt_prog_compiler_static_CXX='-Bstatic'
! 13612: fi
! 13613: ;;
! 13614:
! 13615: amigaos*)
! 13616: case $host_cpu in
! 13617: powerpc)
! 13618: # see comment about AmigaOS4 .so support
! 13619: lt_prog_compiler_pic_CXX='-fPIC'
! 13620: ;;
! 13621: m68k)
! 13622: # FIXME: we need at least 68020 code to build shared libraries, but
! 13623: # adding the `-m68020' flag to GCC prevents building anything better,
! 13624: # like `-m68040'.
! 13625: lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
! 13626: ;;
! 13627: esac
! 13628: ;;
! 13629:
! 13630: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 13631: # PIC is the default for these OSes.
! 13632: ;;
! 13633: mingw* | cygwin* | os2* | pw32* | cegcc*)
! 13634: # This hack is so that the source file can tell whether it is being
! 13635: # built for inclusion in a dll (and should export symbols for example).
! 13636: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 13637: # (--disable-auto-import) libraries
! 13638: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 13639: ;;
! 13640: darwin* | rhapsody*)
! 13641: # PIC is the default on this platform
! 13642: # Common symbols not allowed in MH_DYLIB files
! 13643: lt_prog_compiler_pic_CXX='-fno-common'
! 13644: ;;
! 13645: *djgpp*)
! 13646: # DJGPP does not support shared libraries at all
! 13647: lt_prog_compiler_pic_CXX=
! 13648: ;;
! 13649: haiku*)
! 13650: # PIC is the default for Haiku.
! 13651: # The "-static" flag exists, but is broken.
! 13652: lt_prog_compiler_static_CXX=
! 13653: ;;
! 13654: interix[3-9]*)
! 13655: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 13656: # Instead, we relocate shared libraries at runtime.
! 13657: ;;
! 13658: sysv4*MP*)
! 13659: if test -d /usr/nec; then
! 13660: lt_prog_compiler_pic_CXX=-Kconform_pic
! 13661: fi
! 13662: ;;
! 13663: hpux*)
! 13664: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 13665: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 13666: # sets the default TLS model and affects inlining.
! 13667: case $host_cpu in
! 13668: hppa*64*)
! 13669: ;;
! 13670: *)
! 13671: lt_prog_compiler_pic_CXX='-fPIC'
! 13672: ;;
! 13673: esac
! 13674: ;;
! 13675: *qnx* | *nto*)
! 13676: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 13677: # it will coredump.
! 13678: lt_prog_compiler_pic_CXX='-fPIC -shared'
! 13679: ;;
! 13680: *)
! 13681: lt_prog_compiler_pic_CXX='-fPIC'
! 13682: ;;
! 13683: esac
! 13684: else
! 13685: case $host_os in
! 13686: aix[4-9]*)
! 13687: # All AIX code is PIC.
! 13688: if test "$host_cpu" = ia64; then
! 13689: # AIX 5 now supports IA64 processor
! 13690: lt_prog_compiler_static_CXX='-Bstatic'
! 13691: else
! 13692: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
! 13693: fi
! 13694: ;;
! 13695: chorus*)
! 13696: case $cc_basename in
! 13697: cxch68*)
! 13698: # Green Hills C++ Compiler
! 13699: # _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"
! 13700: ;;
! 13701: esac
! 13702: ;;
! 13703: mingw* | cygwin* | os2* | pw32* | cegcc*)
! 13704: # This hack is so that the source file can tell whether it is being
! 13705: # built for inclusion in a dll (and should export symbols for example).
! 13706: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 13707: ;;
! 13708: dgux*)
! 13709: case $cc_basename in
! 13710: ec++*)
! 13711: lt_prog_compiler_pic_CXX='-KPIC'
! 13712: ;;
! 13713: ghcx*)
! 13714: # Green Hills C++ Compiler
! 13715: lt_prog_compiler_pic_CXX='-pic'
! 13716: ;;
! 13717: *)
! 13718: ;;
! 13719: esac
! 13720: ;;
! 13721: freebsd* | dragonfly*)
! 13722: # FreeBSD uses GNU C++
! 13723: ;;
! 13724: hpux9* | hpux10* | hpux11*)
! 13725: case $cc_basename in
! 13726: CC*)
! 13727: lt_prog_compiler_wl_CXX='-Wl,'
! 13728: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 13729: if test "$host_cpu" != ia64; then
! 13730: lt_prog_compiler_pic_CXX='+Z'
! 13731: fi
! 13732: ;;
! 13733: aCC*)
! 13734: lt_prog_compiler_wl_CXX='-Wl,'
! 13735: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 13736: case $host_cpu in
! 13737: hppa*64*|ia64*)
! 13738: # +Z the default
! 13739: ;;
! 13740: *)
! 13741: lt_prog_compiler_pic_CXX='+Z'
! 13742: ;;
! 13743: esac
! 13744: ;;
! 13745: *)
! 13746: ;;
! 13747: esac
! 13748: ;;
! 13749: interix*)
! 13750: # This is c89, which is MS Visual C++ (no shared libs)
! 13751: # Anyone wants to do a port?
! 13752: ;;
! 13753: irix5* | irix6* | nonstopux*)
! 13754: case $cc_basename in
! 13755: CC*)
! 13756: lt_prog_compiler_wl_CXX='-Wl,'
! 13757: lt_prog_compiler_static_CXX='-non_shared'
! 13758: # CC pic flag -KPIC is the default.
! 13759: ;;
! 13760: *)
! 13761: ;;
! 13762: esac
! 13763: ;;
! 13764: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 13765: case $cc_basename in
! 13766: KCC*)
! 13767: # KAI C++ Compiler
! 13768: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 13769: lt_prog_compiler_pic_CXX='-fPIC'
! 13770: ;;
! 13771: ecpc* )
! 13772: # old Intel C++ for x86_64 which still supported -KPIC.
! 13773: lt_prog_compiler_wl_CXX='-Wl,'
! 13774: lt_prog_compiler_pic_CXX='-KPIC'
! 13775: lt_prog_compiler_static_CXX='-static'
! 13776: ;;
! 13777: icpc* )
! 13778: # Intel C++, used to be incompatible with GCC.
! 13779: # ICC 10 doesn't accept -KPIC any more.
! 13780: lt_prog_compiler_wl_CXX='-Wl,'
! 13781: lt_prog_compiler_pic_CXX='-fPIC'
! 13782: lt_prog_compiler_static_CXX='-static'
! 13783: ;;
! 13784: pgCC* | pgcpp*)
! 13785: # Portland Group C++ compiler
! 13786: lt_prog_compiler_wl_CXX='-Wl,'
! 13787: lt_prog_compiler_pic_CXX='-fpic'
! 13788: lt_prog_compiler_static_CXX='-Bstatic'
! 13789: ;;
! 13790: cxx*)
! 13791: # Compaq C++
! 13792: # Make sure the PIC flag is empty. It appears that all Alpha
! 13793: # Linux and Compaq Tru64 Unix objects are PIC.
! 13794: lt_prog_compiler_pic_CXX=
! 13795: lt_prog_compiler_static_CXX='-non_shared'
! 13796: ;;
! 13797: xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
! 13798: # IBM XL 8.0, 9.0 on PPC and BlueGene
! 13799: lt_prog_compiler_wl_CXX='-Wl,'
! 13800: lt_prog_compiler_pic_CXX='-qpic'
! 13801: lt_prog_compiler_static_CXX='-qstaticlink'
! 13802: ;;
! 13803: *)
! 13804: case `$CC -V 2>&1 | sed 5q` in
! 13805: *Sun\ C*)
! 13806: # Sun C++ 5.9
! 13807: lt_prog_compiler_pic_CXX='-KPIC'
! 13808: lt_prog_compiler_static_CXX='-Bstatic'
! 13809: lt_prog_compiler_wl_CXX='-Qoption ld '
! 13810: ;;
! 13811: esac
! 13812: ;;
! 13813: esac
! 13814: ;;
! 13815: lynxos*)
! 13816: ;;
! 13817: m88k*)
! 13818: ;;
! 13819: mvs*)
! 13820: case $cc_basename in
! 13821: cxx*)
! 13822: lt_prog_compiler_pic_CXX='-W c,exportall'
! 13823: ;;
! 13824: *)
! 13825: ;;
! 13826: esac
! 13827: ;;
! 13828: netbsd*)
! 13829: ;;
! 13830: *qnx* | *nto*)
! 13831: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 13832: # it will coredump.
! 13833: lt_prog_compiler_pic_CXX='-fPIC -shared'
! 13834: ;;
! 13835: osf3* | osf4* | osf5*)
! 13836: case $cc_basename in
! 13837: KCC*)
! 13838: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 13839: ;;
! 13840: RCC*)
! 13841: # Rational C++ 2.4.1
! 13842: lt_prog_compiler_pic_CXX='-pic'
! 13843: ;;
! 13844: cxx*)
! 13845: # Digital/Compaq C++
! 13846: lt_prog_compiler_wl_CXX='-Wl,'
! 13847: # Make sure the PIC flag is empty. It appears that all Alpha
! 13848: # Linux and Compaq Tru64 Unix objects are PIC.
! 13849: lt_prog_compiler_pic_CXX=
! 13850: lt_prog_compiler_static_CXX='-non_shared'
! 13851: ;;
! 13852: *)
! 13853: ;;
! 13854: esac
! 13855: ;;
! 13856: psos*)
! 13857: ;;
! 13858: solaris*)
! 13859: case $cc_basename in
! 13860: CC* | sunCC*)
! 13861: # Sun C++ 4.2, 5.x and Centerline C++
! 13862: lt_prog_compiler_pic_CXX='-KPIC'
! 13863: lt_prog_compiler_static_CXX='-Bstatic'
! 13864: lt_prog_compiler_wl_CXX='-Qoption ld '
! 13865: ;;
! 13866: gcx*)
! 13867: # Green Hills C++ Compiler
! 13868: lt_prog_compiler_pic_CXX='-PIC'
! 13869: ;;
! 13870: *)
! 13871: ;;
! 13872: esac
! 13873: ;;
! 13874: sunos4*)
! 13875: case $cc_basename in
! 13876: CC*)
! 13877: # Sun C++ 4.x
! 13878: lt_prog_compiler_pic_CXX='-pic'
! 13879: lt_prog_compiler_static_CXX='-Bstatic'
! 13880: ;;
! 13881: lcc*)
! 13882: # Lucid
! 13883: lt_prog_compiler_pic_CXX='-pic'
! 13884: ;;
! 13885: *)
! 13886: ;;
! 13887: esac
! 13888: ;;
! 13889: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 13890: case $cc_basename in
! 13891: CC*)
! 13892: lt_prog_compiler_wl_CXX='-Wl,'
! 13893: lt_prog_compiler_pic_CXX='-KPIC'
! 13894: lt_prog_compiler_static_CXX='-Bstatic'
! 13895: ;;
! 13896: esac
! 13897: ;;
! 13898: tandem*)
! 13899: case $cc_basename in
! 13900: NCC*)
! 13901: # NonStop-UX NCC 3.20
! 13902: lt_prog_compiler_pic_CXX='-KPIC'
! 13903: ;;
! 13904: *)
! 13905: ;;
! 13906: esac
! 13907: ;;
! 13908: vxworks*)
! 13909: ;;
! 13910: *)
! 13911: lt_prog_compiler_can_build_shared_CXX=no
! 13912: ;;
! 13913: esac
! 13914: fi
! 13915:
! 13916: case $host_os in
! 13917: # For platforms which do not support PIC, -DPIC is meaningless:
! 13918: *djgpp*)
! 13919: lt_prog_compiler_pic_CXX=
! 13920: ;;
! 13921: *)
! 13922: lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
! 13923: ;;
! 13924: esac
! 13925:
! 13926: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 13927: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 13928: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
! 13929: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13930: else
! 13931: lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
! 13932: fi
! 13933: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
! 13934: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
! 13935: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
! 13936:
! 13937: #
! 13938: # Check to make sure the PIC flag actually works.
! 13939: #
! 13940: if test -n "$lt_prog_compiler_pic_CXX"; then
! 13941: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
! 13942: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
! 13943: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
! 13944: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13945: else
! 13946: lt_cv_prog_compiler_pic_works_CXX=no
! 13947: ac_outfile=conftest.$ac_objext
! 13948: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13949: lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
! 13950: # Insert the option either (1) after the last *FLAGS variable, or
! 13951: # (2) before a word containing "conftest.", or (3) at the end.
! 13952: # Note that $ac_compile itself does not contain backslashes and begins
! 13953: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13954: # The option is referenced via a variable to avoid confusing sed.
! 13955: lt_compile=`echo "$ac_compile" | $SED \
! 13956: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13957: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13958: -e 's:$: $lt_compiler_flag:'`
! 13959: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 13960: (eval "$lt_compile" 2>conftest.err)
! 13961: ac_status=$?
! 13962: cat conftest.err >&5
! 13963: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13964: if (exit $ac_status) && test -s "$ac_outfile"; then
! 13965: # The compiler can only warn and ignore the option if not recognized
! 13966: # So say no if there are warnings other than the usual output.
! 13967: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 13968: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13969: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 13970: lt_cv_prog_compiler_pic_works_CXX=yes
! 13971: fi
! 13972: fi
! 13973: $RM conftest*
! 13974:
! 13975: fi
! 13976: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
! 13977: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
! 13978:
! 13979: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
! 13980: case $lt_prog_compiler_pic_CXX in
! 13981: "" | " "*) ;;
! 13982: *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
! 13983: esac
! 13984: else
! 13985: lt_prog_compiler_pic_CXX=
! 13986: lt_prog_compiler_can_build_shared_CXX=no
! 13987: fi
! 13988:
! 13989: fi
! 13990:
! 13991:
! 13992:
! 13993:
! 13994:
! 13995: #
! 13996: # Check to make sure the static flag actually works.
! 13997: #
! 13998: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
! 13999: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 14000: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 14001: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
! 14002: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14003: else
! 14004: lt_cv_prog_compiler_static_works_CXX=no
! 14005: save_LDFLAGS="$LDFLAGS"
! 14006: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 14007: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 14008: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 14009: # The linker can only warn and ignore the option if not recognized
! 14010: # So say no if there are warnings
! 14011: if test -s conftest.err; then
! 14012: # Append any errors to the config.log.
! 14013: cat conftest.err 1>&5
! 14014: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 14015: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 14016: if diff conftest.exp conftest.er2 >/dev/null; then
! 14017: lt_cv_prog_compiler_static_works_CXX=yes
! 14018: fi
! 14019: else
! 14020: lt_cv_prog_compiler_static_works_CXX=yes
! 14021: fi
! 14022: fi
! 14023: $RM -r conftest*
! 14024: LDFLAGS="$save_LDFLAGS"
! 14025:
! 14026: fi
! 14027: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
! 14028: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
! 14029:
! 14030: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
! 14031: :
! 14032: else
! 14033: lt_prog_compiler_static_CXX=
! 14034: fi
! 14035:
! 14036:
! 14037:
! 14038:
! 14039: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 14040: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 14041: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 14042: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14043: else
! 14044: lt_cv_prog_compiler_c_o_CXX=no
! 14045: $RM -r conftest 2>/dev/null
! 14046: mkdir conftest
! 14047: cd conftest
! 14048: mkdir out
! 14049: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14050:
! 14051: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 14052: # Insert the option either (1) after the last *FLAGS variable, or
! 14053: # (2) before a word containing "conftest.", or (3) at the end.
! 14054: # Note that $ac_compile itself does not contain backslashes and begins
! 14055: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14056: lt_compile=`echo "$ac_compile" | $SED \
! 14057: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14058: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14059: -e 's:$: $lt_compiler_flag:'`
! 14060: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 14061: (eval "$lt_compile" 2>out/conftest.err)
! 14062: ac_status=$?
! 14063: cat out/conftest.err >&5
! 14064: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14065: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 14066: then
! 14067: # The compiler can only warn and ignore the option if not recognized
! 14068: # So say no if there are warnings
! 14069: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 14070: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 14071: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 14072: lt_cv_prog_compiler_c_o_CXX=yes
! 14073: fi
! 14074: fi
! 14075: chmod u+w . 2>&5
! 14076: $RM conftest*
! 14077: # SGI C++ compiler will create directory out/ii_files/ for
! 14078: # template instantiation
! 14079: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 14080: $RM out/* && rmdir out
! 14081: cd ..
! 14082: $RM -r conftest
! 14083: $RM conftest*
! 14084:
! 14085: fi
! 14086: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 14087: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 14088:
! 14089:
! 14090:
! 14091: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 14092: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 14093: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 14094: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14095: else
! 14096: lt_cv_prog_compiler_c_o_CXX=no
! 14097: $RM -r conftest 2>/dev/null
! 14098: mkdir conftest
! 14099: cd conftest
! 14100: mkdir out
! 14101: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14102:
! 14103: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 14104: # Insert the option either (1) after the last *FLAGS variable, or
! 14105: # (2) before a word containing "conftest.", or (3) at the end.
! 14106: # Note that $ac_compile itself does not contain backslashes and begins
! 14107: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14108: lt_compile=`echo "$ac_compile" | $SED \
! 14109: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14110: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14111: -e 's:$: $lt_compiler_flag:'`
! 14112: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 14113: (eval "$lt_compile" 2>out/conftest.err)
! 14114: ac_status=$?
! 14115: cat out/conftest.err >&5
! 14116: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14117: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 14118: then
! 14119: # The compiler can only warn and ignore the option if not recognized
! 14120: # So say no if there are warnings
! 14121: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 14122: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 14123: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 14124: lt_cv_prog_compiler_c_o_CXX=yes
! 14125: fi
! 14126: fi
! 14127: chmod u+w . 2>&5
! 14128: $RM conftest*
! 14129: # SGI C++ compiler will create directory out/ii_files/ for
! 14130: # template instantiation
! 14131: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 14132: $RM out/* && rmdir out
! 14133: cd ..
! 14134: $RM -r conftest
! 14135: $RM conftest*
! 14136:
! 14137: fi
! 14138: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 14139: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 14140:
! 14141:
! 14142:
! 14143:
! 14144: hard_links="nottested"
! 14145: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
! 14146: # do not overwrite the value of need_locks provided by the user
! 14147: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 14148: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 14149: hard_links=yes
! 14150: $RM conftest*
! 14151: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14152: touch conftest.a
! 14153: ln conftest.a conftest.b 2>&5 || hard_links=no
! 14154: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14155: echo "$as_me:$LINENO: result: $hard_links" >&5
! 14156: echo "${ECHO_T}$hard_links" >&6
! 14157: if test "$hard_links" = no; then
! 14158: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 14159: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 14160: need_locks=warn
! 14161: fi
! 14162: else
! 14163: need_locks=no
! 14164: fi
! 14165:
! 14166:
! 14167:
! 14168: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 14169: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 14170:
! 14171: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 14172: exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 14173: case $host_os in
! 14174: aix[4-9]*)
! 14175: # If we're using GNU nm, then we don't want the "-C" option.
! 14176: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 14177: # Also, AIX nm treats weak defined symbols like other global defined
! 14178: # symbols, whereas GNU nm marks them as "W".
! 14179: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 14180: 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'
! 14181: else
! 14182: 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'
! 14183: fi
! 14184: ;;
! 14185: pw32*)
! 14186: export_symbols_cmds_CXX="$ltdll_cmds"
! 14187: ;;
! 14188: cygwin* | mingw* | cegcc*)
! 14189: case $cc_basename in
! 14190: cl*)
! 14191: exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 14192: ;;
! 14193: *)
! 14194: 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'
! 14195: exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 14196: ;;
! 14197: esac
! 14198: ;;
! 14199: *)
! 14200: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 14201: ;;
! 14202: esac
! 14203:
! 14204: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 14205: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 14206: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 14207:
! 14208: with_gnu_ld_CXX=$with_gnu_ld
! 14209:
! 14210:
! 14211:
! 14212:
! 14213:
! 14214:
! 14215: #
! 14216: # Do we need to explicitly link libc?
! 14217: #
! 14218: case "x$archive_cmds_need_lc_CXX" in
! 14219: x|xyes)
! 14220: # Assume -lc should be added
! 14221: archive_cmds_need_lc_CXX=yes
! 14222:
! 14223: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 14224: case $archive_cmds_CXX in
! 14225: *'~'*)
! 14226: # FIXME: we may have to deal with multi-command sequences.
! 14227: ;;
! 14228: '$CC '*)
! 14229: # Test whether the compiler implicitly links with -lc since on some
! 14230: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 14231: # to ld, don't add -lc before -lgcc.
! 14232: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 14233: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 14234: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
! 14235: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14236: else
! 14237: $RM conftest*
! 14238: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14239:
! 14240: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 14241: (eval $ac_compile) 2>&5
! 14242: ac_status=$?
! 14243: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14244: (exit $ac_status); } 2>conftest.err; then
! 14245: soname=conftest
! 14246: lib=conftest
! 14247: libobjs=conftest.$ac_objext
! 14248: deplibs=
! 14249: wl=$lt_prog_compiler_wl_CXX
! 14250: pic_flag=$lt_prog_compiler_pic_CXX
! 14251: compiler_flags=-v
! 14252: linker_flags=-v
! 14253: verstring=
! 14254: output_objdir=.
! 14255: libname=conftest
! 14256: lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
! 14257: allow_undefined_flag_CXX=
! 14258: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 14259: (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 14260: ac_status=$?
! 14261: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14262: (exit $ac_status); }
! 14263: then
! 14264: lt_cv_archive_cmds_need_lc_CXX=no
! 14265: else
! 14266: lt_cv_archive_cmds_need_lc_CXX=yes
! 14267: fi
! 14268: allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
! 14269: else
! 14270: cat conftest.err 1>&5
! 14271: fi
! 14272: $RM conftest*
! 14273:
! 14274: fi
! 14275: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
! 14276: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
! 14277: archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
! 14278: ;;
! 14279: esac
! 14280: fi
! 14281: ;;
! 14282: esac
! 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:
! 14339:
! 14340:
! 14341:
! 14342:
! 14343:
! 14344:
! 14345: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 14346: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 14347:
! 14348: library_names_spec=
! 14349: libname_spec='lib$name'
! 14350: soname_spec=
! 14351: shrext_cmds=".so"
! 14352: postinstall_cmds=
! 14353: postuninstall_cmds=
! 14354: finish_cmds=
! 14355: finish_eval=
! 14356: shlibpath_var=
! 14357: shlibpath_overrides_runpath=unknown
! 14358: version_type=none
! 14359: dynamic_linker="$host_os ld.so"
! 14360: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 14361: need_lib_prefix=unknown
! 14362: hardcode_into_libs=no
! 14363:
! 14364: # when you set need_version to no, make sure it does not cause -set_version
! 14365: # flags to be left without arguments
! 14366: need_version=unknown
! 14367:
! 14368: case $host_os in
! 14369: aix3*)
! 14370: version_type=linux # correct to gnu/linux during the next big refactor
! 14371: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 14372: shlibpath_var=LIBPATH
! 14373:
! 14374: # AIX 3 has no versioning support, so we append a major version to the name.
! 14375: soname_spec='${libname}${release}${shared_ext}$major'
! 14376: ;;
! 14377:
! 14378: aix[4-9]*)
! 14379: version_type=linux # correct to gnu/linux during the next big refactor
! 14380: need_lib_prefix=no
! 14381: need_version=no
! 14382: hardcode_into_libs=yes
! 14383: if test "$host_cpu" = ia64; then
! 14384: # AIX 5 supports IA64
! 14385: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 14386: shlibpath_var=LD_LIBRARY_PATH
! 14387: else
! 14388: # With GCC up to 2.95.x, collect2 would create an import file
! 14389: # for dependence libraries. The import file would start with
! 14390: # the line `#! .'. This would cause the generated library to
! 14391: # depend on `.', always an invalid library. This was fixed in
! 14392: # development snapshots of GCC prior to 3.0.
! 14393: case $host_os in
! 14394: aix4 | aix4.[01] | aix4.[01].*)
! 14395: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 14396: echo ' yes '
! 14397: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 14398: :
! 14399: else
! 14400: can_build_shared=no
! 14401: fi
! 14402: ;;
! 14403: esac
! 14404: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 14405: # soname into executable. Probably we can add versioning support to
! 14406: # collect2, so additional links can be useful in future.
! 14407: if test "$aix_use_runtimelinking" = yes; then
! 14408: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 14409: # instead of lib<name>.a to let people know that these are not
! 14410: # typical AIX shared libraries.
! 14411: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14412: else
! 14413: # We preserve .a as extension for shared libraries through AIX4.2
! 14414: # and later when we are not doing run time linking.
! 14415: library_names_spec='${libname}${release}.a $libname.a'
! 14416: soname_spec='${libname}${release}${shared_ext}$major'
! 14417: fi
! 14418: shlibpath_var=LIBPATH
! 14419: fi
! 14420: ;;
! 14421:
! 14422: amigaos*)
! 14423: case $host_cpu in
! 14424: powerpc)
! 14425: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 14426: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 14427: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14428: ;;
! 14429: m68k)
! 14430: library_names_spec='$libname.ixlibrary $libname.a'
! 14431: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 14432: 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'
! 14433: ;;
! 14434: esac
! 14435: ;;
! 14436:
! 14437: beos*)
! 14438: library_names_spec='${libname}${shared_ext}'
! 14439: dynamic_linker="$host_os ld.so"
! 14440: shlibpath_var=LIBRARY_PATH
! 14441: ;;
! 14442:
! 14443: bsdi[45]*)
! 14444: version_type=linux # correct to gnu/linux during the next big refactor
! 14445: need_version=no
! 14446: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14447: soname_spec='${libname}${release}${shared_ext}$major'
! 14448: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 14449: shlibpath_var=LD_LIBRARY_PATH
! 14450: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 14451: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 14452: # the default ld.so.conf also contains /usr/contrib/lib and
! 14453: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 14454: # libtool to hard-code these into programs
! 14455: ;;
! 14456:
! 14457: cygwin* | mingw* | pw32* | cegcc*)
! 14458: version_type=windows
! 14459: shrext_cmds=".dll"
! 14460: need_version=no
! 14461: need_lib_prefix=no
! 14462:
! 14463: case $GCC,$cc_basename in
! 14464: yes,*)
! 14465: # gcc
! 14466: library_names_spec='$libname.dll.a'
! 14467: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14468: postinstall_cmds='base_file=`basename \${file}`~
! 14469: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 14470: dldir=$destdir/`dirname \$dlpath`~
! 14471: test -d \$dldir || mkdir -p \$dldir~
! 14472: $install_prog $dir/$dlname \$dldir/$dlname~
! 14473: chmod a+x \$dldir/$dlname~
! 14474: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 14475: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 14476: fi'
! 14477: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14478: dlpath=$dir/\$dldll~
! 14479: $RM \$dlpath'
! 14480: shlibpath_overrides_runpath=yes
! 14481:
! 14482: case $host_os in
! 14483: cygwin*)
! 14484: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 14485: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14486:
! 14487: ;;
! 14488: mingw* | cegcc*)
! 14489: # MinGW DLLs use traditional 'lib' prefix
! 14490: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14491: ;;
! 14492: pw32*)
! 14493: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 14494: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14495: ;;
! 14496: esac
! 14497: dynamic_linker='Win32 ld.exe'
! 14498: ;;
! 14499:
! 14500: *,cl*)
! 14501: # Native MSVC
! 14502: libname_spec='$name'
! 14503: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14504: library_names_spec='${libname}.dll.lib'
! 14505:
! 14506: case $build_os in
! 14507: mingw*)
! 14508: sys_lib_search_path_spec=
! 14509: lt_save_ifs=$IFS
! 14510: IFS=';'
! 14511: for lt_path in $LIB
! 14512: do
! 14513: IFS=$lt_save_ifs
! 14514: # Let DOS variable expansion print the short 8.3 style file name.
! 14515: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 14516: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 14517: done
! 14518: IFS=$lt_save_ifs
! 14519: # Convert to MSYS style.
! 14520: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 14521: ;;
! 14522: cygwin*)
! 14523: # Convert to unix form, then to dos form, then back to unix form
! 14524: # but this time dos style (no spaces!) so that the unix form looks
! 14525: # like /cygdrive/c/PROGRA~1:/cygdr...
! 14526: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 14527: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 14528: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14529: ;;
! 14530: *)
! 14531: sys_lib_search_path_spec="$LIB"
! 14532: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 14533: # It is most probably a Windows format PATH.
! 14534: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 14535: else
! 14536: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14537: fi
! 14538: # FIXME: find the short name or the path components, as spaces are
! 14539: # common. (e.g. "Program Files" -> "PROGRA~1")
! 14540: ;;
! 14541: esac
! 14542:
! 14543: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14544: postinstall_cmds='base_file=`basename \${file}`~
! 14545: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 14546: dldir=$destdir/`dirname \$dlpath`~
! 14547: test -d \$dldir || mkdir -p \$dldir~
! 14548: $install_prog $dir/$dlname \$dldir/$dlname'
! 14549: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14550: dlpath=$dir/\$dldll~
! 14551: $RM \$dlpath'
! 14552: shlibpath_overrides_runpath=yes
! 14553: dynamic_linker='Win32 link.exe'
! 14554: ;;
! 14555:
! 14556: *)
! 14557: # Assume MSVC wrapper
! 14558: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 14559: dynamic_linker='Win32 ld.exe'
! 14560: ;;
! 14561: esac
! 14562: # FIXME: first we should search . and the directory the executable is in
! 14563: shlibpath_var=PATH
! 14564: ;;
! 14565:
! 14566: darwin* | rhapsody*)
! 14567: dynamic_linker="$host_os dyld"
! 14568: version_type=darwin
! 14569: need_lib_prefix=no
! 14570: need_version=no
! 14571: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 14572: soname_spec='${libname}${release}${major}$shared_ext'
! 14573: shlibpath_overrides_runpath=yes
! 14574: shlibpath_var=DYLD_LIBRARY_PATH
! 14575: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 14576:
! 14577: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 14578: ;;
! 14579:
! 14580: dgux*)
! 14581: version_type=linux # correct to gnu/linux during the next big refactor
! 14582: need_lib_prefix=no
! 14583: need_version=no
! 14584: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 14585: soname_spec='${libname}${release}${shared_ext}$major'
! 14586: shlibpath_var=LD_LIBRARY_PATH
! 14587: ;;
! 14588:
! 14589: freebsd* | dragonfly*)
! 14590: # DragonFly does not have aout. When/if they implement a new
! 14591: # versioning mechanism, adjust this.
! 14592: if test -x /usr/bin/objformat; then
! 14593: objformat=`/usr/bin/objformat`
! 14594: else
! 14595: case $host_os in
! 14596: freebsd[23].*) objformat=aout ;;
! 14597: *) objformat=elf ;;
! 14598: esac
! 14599: fi
! 14600: version_type=freebsd-$objformat
! 14601: case $version_type in
! 14602: freebsd-elf*)
! 14603: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14604: need_version=no
! 14605: need_lib_prefix=no
! 14606: ;;
! 14607: freebsd-*)
! 14608: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 14609: need_version=yes
! 14610: ;;
! 14611: esac
! 14612: shlibpath_var=LD_LIBRARY_PATH
! 14613: case $host_os in
! 14614: freebsd2.*)
! 14615: shlibpath_overrides_runpath=yes
! 14616: ;;
! 14617: freebsd3.[01]* | freebsdelf3.[01]*)
! 14618: shlibpath_overrides_runpath=yes
! 14619: hardcode_into_libs=yes
! 14620: ;;
! 14621: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 14622: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 14623: shlibpath_overrides_runpath=no
! 14624: hardcode_into_libs=yes
! 14625: ;;
! 14626: *) # from 4.6 on, and DragonFly
! 14627: shlibpath_overrides_runpath=yes
! 14628: hardcode_into_libs=yes
! 14629: ;;
! 14630: esac
! 14631: ;;
! 14632:
! 14633: gnu*)
! 14634: version_type=linux # correct to gnu/linux during the next big refactor
! 14635: need_lib_prefix=no
! 14636: need_version=no
! 14637: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14638: soname_spec='${libname}${release}${shared_ext}$major'
! 14639: shlibpath_var=LD_LIBRARY_PATH
! 14640: shlibpath_overrides_runpath=no
! 14641: hardcode_into_libs=yes
! 14642: ;;
! 14643:
! 14644: haiku*)
! 14645: version_type=linux # correct to gnu/linux during the next big refactor
! 14646: need_lib_prefix=no
! 14647: need_version=no
! 14648: dynamic_linker="$host_os runtime_loader"
! 14649: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14650: soname_spec='${libname}${release}${shared_ext}$major'
! 14651: shlibpath_var=LIBRARY_PATH
! 14652: shlibpath_overrides_runpath=yes
! 14653: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 14654: hardcode_into_libs=yes
! 14655: ;;
! 14656:
! 14657: hpux9* | hpux10* | hpux11*)
! 14658: # Give a soname corresponding to the major version so that dld.sl refuses to
! 14659: # link against other versions.
! 14660: version_type=sunos
! 14661: need_lib_prefix=no
! 14662: need_version=no
! 14663: case $host_cpu in
! 14664: ia64*)
! 14665: shrext_cmds='.so'
! 14666: hardcode_into_libs=yes
! 14667: dynamic_linker="$host_os dld.so"
! 14668: shlibpath_var=LD_LIBRARY_PATH
! 14669: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14670: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14671: soname_spec='${libname}${release}${shared_ext}$major'
! 14672: if test "X$HPUX_IA64_MODE" = X32; then
! 14673: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 14674: else
! 14675: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 14676: fi
! 14677: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14678: ;;
! 14679: hppa*64*)
! 14680: shrext_cmds='.sl'
! 14681: hardcode_into_libs=yes
! 14682: dynamic_linker="$host_os dld.sl"
! 14683: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 14684: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14685: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14686: soname_spec='${libname}${release}${shared_ext}$major'
! 14687: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 14688: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14689: ;;
! 14690: *)
! 14691: shrext_cmds='.sl'
! 14692: dynamic_linker="$host_os dld.sl"
! 14693: shlibpath_var=SHLIB_PATH
! 14694: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 14695: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14696: soname_spec='${libname}${release}${shared_ext}$major'
! 14697: ;;
! 14698: esac
! 14699: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 14700: postinstall_cmds='chmod 555 $lib'
! 14701: # or fails outright, so override atomically:
! 14702: install_override_mode=555
! 14703: ;;
! 14704:
! 14705: interix[3-9]*)
! 14706: version_type=linux # correct to gnu/linux during the next big refactor
! 14707: need_lib_prefix=no
! 14708: need_version=no
! 14709: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14710: soname_spec='${libname}${release}${shared_ext}$major'
! 14711: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 14712: shlibpath_var=LD_LIBRARY_PATH
! 14713: shlibpath_overrides_runpath=no
! 14714: hardcode_into_libs=yes
! 14715: ;;
! 14716:
! 14717: irix5* | irix6* | nonstopux*)
! 14718: case $host_os in
! 14719: nonstopux*) version_type=nonstopux ;;
! 14720: *)
! 14721: if test "$lt_cv_prog_gnu_ld" = yes; then
! 14722: version_type=linux # correct to gnu/linux during the next big refactor
! 14723: else
! 14724: version_type=irix
! 14725: fi ;;
! 14726: esac
! 14727: need_lib_prefix=no
! 14728: need_version=no
! 14729: soname_spec='${libname}${release}${shared_ext}$major'
! 14730: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14731: case $host_os in
! 14732: irix5* | nonstopux*)
! 14733: libsuff= shlibsuff=
! 14734: ;;
! 14735: *)
! 14736: case $LD in # libtool.m4 will add one of these switches to LD
! 14737: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 14738: libsuff= shlibsuff= libmagic=32-bit;;
! 14739: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 14740: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 14741: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 14742: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 14743: *) libsuff= shlibsuff= libmagic=never-match;;
! 14744: esac
! 14745: ;;
! 14746: esac
! 14747: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 14748: shlibpath_overrides_runpath=no
! 14749: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 14750: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 14751: hardcode_into_libs=yes
! 14752: ;;
! 14753:
! 14754: # No shared lib support for Linux oldld, aout, or coff.
! 14755: linux*oldld* | linux*aout* | linux*coff*)
! 14756: dynamic_linker=no
! 14757: ;;
! 14758:
! 14759: # This must be glibc/ELF.
! 14760: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 14761: version_type=linux # correct to gnu/linux during the next big refactor
! 14762: need_lib_prefix=no
! 14763: need_version=no
! 14764: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14765: soname_spec='${libname}${release}${shared_ext}$major'
! 14766: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 14767: shlibpath_var=LD_LIBRARY_PATH
! 14768: shlibpath_overrides_runpath=no
! 14769:
! 14770: # Some binutils ld are patched to set DT_RUNPATH
! 14771: if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
! 14772: echo $ECHO_N "(cached) $ECHO_C" >&6
! 14773: else
! 14774: lt_cv_shlibpath_overrides_runpath=no
! 14775: save_LDFLAGS=$LDFLAGS
! 14776: save_libdir=$libdir
! 14777: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
! 14778: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
! 14779: cat >conftest.$ac_ext <<_ACEOF
! 14780: /* confdefs.h. */
! 14781: _ACEOF
! 14782: cat confdefs.h >>conftest.$ac_ext
! 14783: cat >>conftest.$ac_ext <<_ACEOF
! 14784: /* end confdefs.h. */
! 14785:
! 14786: int
! 14787: main ()
! 14788: {
! 14789:
! 14790: ;
! 14791: return 0;
! 14792: }
! 14793: _ACEOF
! 14794: rm -f conftest.$ac_objext conftest$ac_exeext
! 14795: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 14796: (eval $ac_link) 2>conftest.er1
! 14797: ac_status=$?
! 14798: grep -v '^ *+' conftest.er1 >conftest.err
! 14799: rm -f conftest.er1
! 14800: cat conftest.err >&5
! 14801: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14802: (exit $ac_status); } &&
! 14803: { ac_try='test -z "$ac_cxx_werror_flag"
! 14804: || test ! -s conftest.err'
! 14805: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 14806: (eval $ac_try) 2>&5
! 14807: ac_status=$?
! 14808: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14809: (exit $ac_status); }; } &&
! 14810: { ac_try='test -s conftest$ac_exeext'
! 14811: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 14812: (eval $ac_try) 2>&5
! 14813: ac_status=$?
! 14814: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14815: (exit $ac_status); }; }; then
! 14816: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 14817: lt_cv_shlibpath_overrides_runpath=yes
! 14818: fi
! 14819:
! 14820: else
! 14821: echo "$as_me: failed program was:" >&5
! 14822: sed 's/^/| /' conftest.$ac_ext >&5
! 14823:
! 14824: fi
! 14825: rm -f conftest.err conftest.$ac_objext \
! 14826: conftest$ac_exeext conftest.$ac_ext
! 14827: LDFLAGS=$save_LDFLAGS
! 14828: libdir=$save_libdir
! 14829:
! 14830: fi
! 14831:
! 14832: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 14833:
! 14834: # This implies no fast_install, which is unacceptable.
! 14835: # Some rework will be needed to allow for fast_install
! 14836: # before this can be enabled.
! 14837: hardcode_into_libs=yes
! 14838:
! 14839: # Append ld.so.conf contents to the search path
! 14840: if test -f /etc/ld.so.conf; then
! 14841: 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' ' '`
! 14842: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 14843: fi
! 14844:
! 14845: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 14846: # powerpc, because MkLinux only supported shared libraries with the
! 14847: # GNU dynamic linker. Since this was broken with cross compilers,
! 14848: # most powerpc-linux boxes support dynamic linking these days and
! 14849: # people can always --disable-shared, the test was removed, and we
! 14850: # assume the GNU/Linux dynamic linker is in use.
! 14851: dynamic_linker='GNU/Linux ld.so'
! 14852: ;;
! 14853:
! 14854: netbsd*)
! 14855: version_type=sunos
! 14856: need_lib_prefix=no
! 14857: need_version=no
! 14858: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 14859: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14860: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14861: dynamic_linker='NetBSD (a.out) ld.so'
! 14862: else
! 14863: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14864: soname_spec='${libname}${release}${shared_ext}$major'
! 14865: dynamic_linker='NetBSD ld.elf_so'
! 14866: fi
! 14867: shlibpath_var=LD_LIBRARY_PATH
! 14868: shlibpath_overrides_runpath=yes
! 14869: hardcode_into_libs=yes
! 14870: ;;
! 14871:
! 14872: newsos6)
! 14873: version_type=linux # correct to gnu/linux during the next big refactor
! 14874: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14875: shlibpath_var=LD_LIBRARY_PATH
! 14876: shlibpath_overrides_runpath=yes
! 14877: ;;
! 14878:
! 14879: *nto* | *qnx*)
! 14880: version_type=qnx
! 14881: need_lib_prefix=no
! 14882: need_version=no
! 14883: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14884: soname_spec='${libname}${release}${shared_ext}$major'
! 14885: shlibpath_var=LD_LIBRARY_PATH
! 14886: shlibpath_overrides_runpath=no
! 14887: hardcode_into_libs=yes
! 14888: dynamic_linker='ldqnx.so'
! 14889: ;;
! 14890:
! 14891: openbsd*)
! 14892: version_type=sunos
! 14893: sys_lib_dlsearch_path_spec="/usr/lib"
! 14894: need_lib_prefix=no
! 14895: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 14896: case $host_os in
! 14897: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 14898: *) need_version=no ;;
! 14899: esac
! 14900: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14901: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14902: shlibpath_var=LD_LIBRARY_PATH
! 14903: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 14904: case $host_os in
! 14905: openbsd2.[89] | openbsd2.[89].*)
! 14906: shlibpath_overrides_runpath=no
! 14907: ;;
! 14908: *)
! 14909: shlibpath_overrides_runpath=yes
! 14910: ;;
! 14911: esac
! 14912: else
! 14913: shlibpath_overrides_runpath=yes
! 14914: fi
! 14915: ;;
! 14916:
! 14917: os2*)
! 14918: libname_spec='$name'
! 14919: shrext_cmds=".dll"
! 14920: need_lib_prefix=no
! 14921: library_names_spec='$libname${shared_ext} $libname.a'
! 14922: dynamic_linker='OS/2 ld.exe'
! 14923: shlibpath_var=LIBPATH
! 14924: ;;
! 14925:
! 14926: osf3* | osf4* | osf5*)
! 14927: version_type=osf
! 14928: need_lib_prefix=no
! 14929: need_version=no
! 14930: soname_spec='${libname}${release}${shared_ext}$major'
! 14931: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14932: shlibpath_var=LD_LIBRARY_PATH
! 14933: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 14934: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 14935: ;;
! 14936:
! 14937: rdos*)
! 14938: dynamic_linker=no
! 14939: ;;
! 14940:
! 14941: solaris*)
! 14942: version_type=linux # correct to gnu/linux during the next big refactor
! 14943: need_lib_prefix=no
! 14944: need_version=no
! 14945: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14946: soname_spec='${libname}${release}${shared_ext}$major'
! 14947: shlibpath_var=LD_LIBRARY_PATH
! 14948: shlibpath_overrides_runpath=yes
! 14949: hardcode_into_libs=yes
! 14950: # ldd complains unless libraries are executable
! 14951: postinstall_cmds='chmod +x $lib'
! 14952: ;;
! 14953:
! 14954: sunos4*)
! 14955: version_type=sunos
! 14956: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14957: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 14958: shlibpath_var=LD_LIBRARY_PATH
! 14959: shlibpath_overrides_runpath=yes
! 14960: if test "$with_gnu_ld" = yes; then
! 14961: need_lib_prefix=no
! 14962: fi
! 14963: need_version=yes
! 14964: ;;
! 14965:
! 14966: sysv4 | sysv4.3*)
! 14967: version_type=linux # correct to gnu/linux during the next big refactor
! 14968: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14969: soname_spec='${libname}${release}${shared_ext}$major'
! 14970: shlibpath_var=LD_LIBRARY_PATH
! 14971: case $host_vendor in
! 14972: sni)
! 14973: shlibpath_overrides_runpath=no
! 14974: need_lib_prefix=no
! 14975: runpath_var=LD_RUN_PATH
! 14976: ;;
! 14977: siemens)
! 14978: need_lib_prefix=no
! 14979: ;;
! 14980: motorola)
! 14981: need_lib_prefix=no
! 14982: need_version=no
! 14983: shlibpath_overrides_runpath=no
! 14984: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 14985: ;;
! 14986: esac
! 14987: ;;
! 14988:
! 14989: sysv4*MP*)
! 14990: if test -d /usr/nec ;then
! 14991: version_type=linux # correct to gnu/linux during the next big refactor
! 14992: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 14993: soname_spec='$libname${shared_ext}.$major'
! 14994: shlibpath_var=LD_LIBRARY_PATH
! 14995: fi
! 14996: ;;
! 14997:
! 14998: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 14999: version_type=freebsd-elf
! 15000: need_lib_prefix=no
! 15001: need_version=no
! 15002: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 15003: soname_spec='${libname}${release}${shared_ext}$major'
! 15004: shlibpath_var=LD_LIBRARY_PATH
! 15005: shlibpath_overrides_runpath=yes
! 15006: hardcode_into_libs=yes
! 15007: if test "$with_gnu_ld" = yes; then
! 15008: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 15009: else
! 15010: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 15011: case $host_os in
! 15012: sco3.2v5*)
! 15013: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 15014: ;;
! 15015: esac
! 15016: fi
! 15017: sys_lib_dlsearch_path_spec='/usr/lib'
! 15018: ;;
! 15019:
! 15020: tpf*)
! 15021: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 15022: version_type=linux # correct to gnu/linux during the next big refactor
! 15023: need_lib_prefix=no
! 15024: need_version=no
! 15025: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15026: shlibpath_var=LD_LIBRARY_PATH
! 15027: shlibpath_overrides_runpath=no
! 15028: hardcode_into_libs=yes
! 15029: ;;
! 15030:
! 15031: uts4*)
! 15032: version_type=linux # correct to gnu/linux during the next big refactor
! 15033: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15034: soname_spec='${libname}${release}${shared_ext}$major'
! 15035: shlibpath_var=LD_LIBRARY_PATH
! 15036: ;;
! 15037:
! 15038: *)
! 15039: dynamic_linker=no
! 15040: ;;
! 15041: esac
! 15042: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 15043: echo "${ECHO_T}$dynamic_linker" >&6
! 15044: test "$dynamic_linker" = no && can_build_shared=no
! 15045:
! 15046: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 15047: if test "$GCC" = yes; then
! 15048: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 15049: fi
! 15050:
! 15051: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 15052: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 15053: fi
! 15054: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 15055: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 15056: fi
! 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:
! 15089:
! 15090:
! 15091:
! 15092:
! 15093:
! 15094:
! 15095: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 15096: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 15097: hardcode_action_CXX=
! 15098: if test -n "$hardcode_libdir_flag_spec_CXX" ||
! 15099: test -n "$runpath_var_CXX" ||
! 15100: test "X$hardcode_automatic_CXX" = "Xyes" ; then
! 15101:
! 15102: # We can hardcode non-existent directories.
! 15103: if test "$hardcode_direct_CXX" != no &&
! 15104: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 15105: # have to relink, otherwise we might link with an installed library
! 15106: # when we should be linking with a yet-to-be-installed one
! 15107: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
! 15108: test "$hardcode_minus_L_CXX" != no; then
! 15109: # Linking always hardcodes the temporary library directory.
! 15110: hardcode_action_CXX=relink
! 15111: else
! 15112: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 15113: hardcode_action_CXX=immediate
! 15114: fi
! 15115: else
! 15116: # We cannot hardcode anything, or else we can only hardcode existing
! 15117: # directories.
! 15118: hardcode_action_CXX=unsupported
! 15119: fi
! 15120: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
! 15121: echo "${ECHO_T}$hardcode_action_CXX" >&6
! 15122:
! 15123: if test "$hardcode_action_CXX" = relink ||
! 15124: test "$inherit_rpath_CXX" = yes; then
! 15125: # Fast installation is not supported
! 15126: enable_fast_install=no
! 15127: elif test "$shlibpath_overrides_runpath" = yes ||
! 15128: test "$enable_shared" = no; then
! 15129: # Fast installation is not necessary
! 15130: enable_fast_install=needless
! 15131: fi
! 15132:
! 15133:
! 15134:
! 15135:
! 15136:
! 15137:
! 15138:
! 15139: fi # test -n "$compiler"
! 15140:
! 15141: CC=$lt_save_CC
! 15142: CFLAGS=$lt_save_CFLAGS
! 15143: LDCXX=$LD
! 15144: LD=$lt_save_LD
! 15145: GCC=$lt_save_GCC
! 15146: with_gnu_ld=$lt_save_with_gnu_ld
! 15147: lt_cv_path_LDCXX=$lt_cv_path_LD
! 15148: lt_cv_path_LD=$lt_save_path_LD
! 15149: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
! 15150: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
! 15151: fi # test "$_lt_caught_CXX_error" != yes
! 15152:
! 15153: ac_ext=c
! 15154: ac_cpp='$CPP $CPPFLAGS'
! 15155: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 15156: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 15157: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 15158:
! 15159:
! 15160:
! 15161:
! 15162:
! 15163:
! 15164:
! 15165:
! 15166:
! 15167:
! 15168:
! 15169:
! 15170:
! 15171:
! 15172:
! 15173: ac_config_commands="$ac_config_commands libtool"
! 15174:
! 15175:
! 15176:
! 15177:
! 15178: # Only expand once:
! 15179:
! 15180:
! 15181: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
! 15182: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
! 15183: if test "${libltdl_cv_shlibext+set}" = set; then
! 15184: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15185: else
! 15186:
! 15187: module=yes
! 15188: eval libltdl_cv_shlibext=$shrext_cmds
! 15189: module=no
! 15190: eval libltdl_cv_shrext=$shrext_cmds
! 15191:
! 15192: fi
! 15193: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
! 15194: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
! 15195: if test -n "$libltdl_cv_shlibext"; then
! 15196:
! 15197: cat >>confdefs.h <<_ACEOF
! 15198: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
! 15199: _ACEOF
! 15200:
! 15201: fi
! 15202: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
! 15203:
! 15204: cat >>confdefs.h <<_ACEOF
! 15205: #define LT_SHARED_EXT "$libltdl_cv_shrext"
! 15206: _ACEOF
! 15207:
! 15208: fi
! 15209:
! 15210: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
! 15211: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
! 15212: if test "${lt_cv_module_path_var+set}" = set; then
! 15213: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15214: else
! 15215: lt_cv_module_path_var="$shlibpath_var"
! 15216: fi
! 15217: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
! 15218: echo "${ECHO_T}$lt_cv_module_path_var" >&6
! 15219: if test -n "$lt_cv_module_path_var"; then
! 15220:
! 15221: cat >>confdefs.h <<_ACEOF
! 15222: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
! 15223: _ACEOF
! 15224:
! 15225: fi
! 15226:
! 15227: echo "$as_me:$LINENO: checking for the default library search path" >&5
! 15228: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
! 15229: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
! 15230: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15231: else
! 15232: lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
! 15233: fi
! 15234: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
! 15235: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
! 15236: if test -n "$lt_cv_sys_dlsearch_path"; then
! 15237: sys_dlsearch_path=
! 15238: for dir in $lt_cv_sys_dlsearch_path; do
! 15239: if test -z "$sys_dlsearch_path"; then
! 15240: sys_dlsearch_path="$dir"
! 15241: else
! 15242: sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
! 15243: fi
! 15244: done
! 15245:
! 15246: cat >>confdefs.h <<_ACEOF
! 15247: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
! 15248: _ACEOF
! 15249:
! 15250: fi
! 15251:
! 15252:
! 15253: LT_DLLOADERS=
! 15254:
! 15255:
! 15256: ac_ext=c
! 15257: ac_cpp='$CPP $CPPFLAGS'
! 15258: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 15259: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 15260: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 15261:
! 15262:
! 15263: LIBADD_DLOPEN=
! 15264: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
! 15265: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
! 15266: if test "${ac_cv_search_dlopen+set}" = set; then
! 15267: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15268: else
! 15269: ac_func_search_save_LIBS=$LIBS
! 15270: ac_cv_search_dlopen=no
! 15271: cat >conftest.$ac_ext <<_ACEOF
! 15272: /* confdefs.h. */
! 15273: _ACEOF
! 15274: cat confdefs.h >>conftest.$ac_ext
! 15275: cat >>conftest.$ac_ext <<_ACEOF
! 15276: /* end confdefs.h. */
! 15277:
! 15278: /* Override any gcc2 internal prototype to avoid an error. */
! 15279: #ifdef __cplusplus
! 15280: extern "C"
! 15281: #endif
! 15282: /* We use char because int might match the return type of a gcc2
! 15283: builtin and then its argument prototype would still apply. */
! 15284: char dlopen ();
! 15285: int
! 15286: main ()
! 15287: {
! 15288: dlopen ();
! 15289: ;
! 15290: return 0;
! 15291: }
! 15292: _ACEOF
! 15293: rm -f conftest.$ac_objext conftest$ac_exeext
! 15294: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15295: (eval $ac_link) 2>conftest.er1
! 15296: ac_status=$?
! 15297: grep -v '^ *+' conftest.er1 >conftest.err
! 15298: rm -f conftest.er1
! 15299: cat conftest.err >&5
! 15300: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15301: (exit $ac_status); } &&
! 15302: { ac_try='test -z "$ac_c_werror_flag"
! 15303: || test ! -s conftest.err'
! 15304: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15305: (eval $ac_try) 2>&5
! 15306: ac_status=$?
! 15307: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15308: (exit $ac_status); }; } &&
! 15309: { ac_try='test -s conftest$ac_exeext'
! 15310: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15311: (eval $ac_try) 2>&5
! 15312: ac_status=$?
! 15313: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15314: (exit $ac_status); }; }; then
! 15315: ac_cv_search_dlopen="none required"
! 15316: else
! 15317: echo "$as_me: failed program was:" >&5
! 15318: sed 's/^/| /' conftest.$ac_ext >&5
! 15319:
! 15320: fi
! 15321: rm -f conftest.err conftest.$ac_objext \
! 15322: conftest$ac_exeext conftest.$ac_ext
! 15323: if test "$ac_cv_search_dlopen" = no; then
! 15324: for ac_lib in dl; do
! 15325: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 15326: cat >conftest.$ac_ext <<_ACEOF
! 15327: /* confdefs.h. */
! 15328: _ACEOF
! 15329: cat confdefs.h >>conftest.$ac_ext
! 15330: cat >>conftest.$ac_ext <<_ACEOF
! 15331: /* end confdefs.h. */
! 15332:
! 15333: /* Override any gcc2 internal prototype to avoid an error. */
! 15334: #ifdef __cplusplus
! 15335: extern "C"
! 15336: #endif
! 15337: /* We use char because int might match the return type of a gcc2
! 15338: builtin and then its argument prototype would still apply. */
! 15339: char dlopen ();
! 15340: int
! 15341: main ()
! 15342: {
! 15343: dlopen ();
! 15344: ;
! 15345: return 0;
! 15346: }
! 15347: _ACEOF
! 15348: rm -f conftest.$ac_objext conftest$ac_exeext
! 15349: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15350: (eval $ac_link) 2>conftest.er1
! 15351: ac_status=$?
! 15352: grep -v '^ *+' conftest.er1 >conftest.err
! 15353: rm -f conftest.er1
! 15354: cat conftest.err >&5
! 15355: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15356: (exit $ac_status); } &&
! 15357: { ac_try='test -z "$ac_c_werror_flag"
! 15358: || test ! -s conftest.err'
! 15359: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15360: (eval $ac_try) 2>&5
! 15361: ac_status=$?
! 15362: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15363: (exit $ac_status); }; } &&
! 15364: { ac_try='test -s conftest$ac_exeext'
! 15365: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15366: (eval $ac_try) 2>&5
! 15367: ac_status=$?
! 15368: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15369: (exit $ac_status); }; }; then
! 15370: ac_cv_search_dlopen="-l$ac_lib"
! 15371: break
! 15372: else
! 15373: echo "$as_me: failed program was:" >&5
! 15374: sed 's/^/| /' conftest.$ac_ext >&5
! 15375:
! 15376: fi
! 15377: rm -f conftest.err conftest.$ac_objext \
! 15378: conftest$ac_exeext conftest.$ac_ext
! 15379: done
! 15380: fi
! 15381: LIBS=$ac_func_search_save_LIBS
! 15382: fi
! 15383: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
! 15384: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
! 15385: if test "$ac_cv_search_dlopen" != no; then
! 15386: test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
! 15387:
! 15388: cat >>confdefs.h <<\_ACEOF
! 15389: #define HAVE_LIBDL 1
! 15390: _ACEOF
! 15391:
! 15392: if test "$ac_cv_search_dlopen" != "none required" ; then
! 15393: LIBADD_DLOPEN="-ldl"
! 15394: fi
! 15395: libltdl_cv_lib_dl_dlopen="yes"
! 15396: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15397: else
! 15398: cat >conftest.$ac_ext <<_ACEOF
! 15399: /* confdefs.h. */
! 15400: _ACEOF
! 15401: cat confdefs.h >>conftest.$ac_ext
! 15402: cat >>conftest.$ac_ext <<_ACEOF
! 15403: /* end confdefs.h. */
! 15404: #if HAVE_DLFCN_H
! 15405: # include <dlfcn.h>
! 15406: #endif
! 15407:
! 15408: int
! 15409: main ()
! 15410: {
! 15411: dlopen(0, 0);
! 15412: ;
! 15413: return 0;
! 15414: }
! 15415: _ACEOF
! 15416: rm -f conftest.$ac_objext conftest$ac_exeext
! 15417: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15418: (eval $ac_link) 2>conftest.er1
! 15419: ac_status=$?
! 15420: grep -v '^ *+' conftest.er1 >conftest.err
! 15421: rm -f conftest.er1
! 15422: cat conftest.err >&5
! 15423: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15424: (exit $ac_status); } &&
! 15425: { ac_try='test -z "$ac_c_werror_flag"
! 15426: || test ! -s conftest.err'
! 15427: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15428: (eval $ac_try) 2>&5
! 15429: ac_status=$?
! 15430: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15431: (exit $ac_status); }; } &&
! 15432: { ac_try='test -s conftest$ac_exeext'
! 15433: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15434: (eval $ac_try) 2>&5
! 15435: ac_status=$?
! 15436: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15437: (exit $ac_status); }; }; then
! 15438:
! 15439: cat >>confdefs.h <<\_ACEOF
! 15440: #define HAVE_LIBDL 1
! 15441: _ACEOF
! 15442:
! 15443: libltdl_cv_func_dlopen="yes"
! 15444: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15445: else
! 15446: echo "$as_me: failed program was:" >&5
! 15447: sed 's/^/| /' conftest.$ac_ext >&5
! 15448:
! 15449: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 15450: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 15451: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 15452: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15453: else
! 15454: ac_check_lib_save_LIBS=$LIBS
! 15455: LIBS="-lsvld $LIBS"
! 15456: cat >conftest.$ac_ext <<_ACEOF
! 15457: /* confdefs.h. */
! 15458: _ACEOF
! 15459: cat confdefs.h >>conftest.$ac_ext
! 15460: cat >>conftest.$ac_ext <<_ACEOF
! 15461: /* end confdefs.h. */
! 15462:
! 15463: /* Override any gcc2 internal prototype to avoid an error. */
! 15464: #ifdef __cplusplus
! 15465: extern "C"
! 15466: #endif
! 15467: /* We use char because int might match the return type of a gcc2
! 15468: builtin and then its argument prototype would still apply. */
! 15469: char dlopen ();
! 15470: int
! 15471: main ()
! 15472: {
! 15473: dlopen ();
! 15474: ;
! 15475: return 0;
! 15476: }
! 15477: _ACEOF
! 15478: rm -f conftest.$ac_objext conftest$ac_exeext
! 15479: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15480: (eval $ac_link) 2>conftest.er1
! 15481: ac_status=$?
! 15482: grep -v '^ *+' conftest.er1 >conftest.err
! 15483: rm -f conftest.er1
! 15484: cat conftest.err >&5
! 15485: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15486: (exit $ac_status); } &&
! 15487: { ac_try='test -z "$ac_c_werror_flag"
! 15488: || test ! -s conftest.err'
! 15489: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15490: (eval $ac_try) 2>&5
! 15491: ac_status=$?
! 15492: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15493: (exit $ac_status); }; } &&
! 15494: { ac_try='test -s conftest$ac_exeext'
! 15495: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15496: (eval $ac_try) 2>&5
! 15497: ac_status=$?
! 15498: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15499: (exit $ac_status); }; }; then
! 15500: ac_cv_lib_svld_dlopen=yes
! 15501: else
! 15502: echo "$as_me: failed program was:" >&5
! 15503: sed 's/^/| /' conftest.$ac_ext >&5
! 15504:
! 15505: ac_cv_lib_svld_dlopen=no
! 15506: fi
! 15507: rm -f conftest.err conftest.$ac_objext \
! 15508: conftest$ac_exeext conftest.$ac_ext
! 15509: LIBS=$ac_check_lib_save_LIBS
! 15510: fi
! 15511: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 15512: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 15513: if test $ac_cv_lib_svld_dlopen = yes; then
! 15514:
! 15515: cat >>confdefs.h <<\_ACEOF
! 15516: #define HAVE_LIBDL 1
! 15517: _ACEOF
! 15518:
! 15519: LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
! 15520: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
! 15521: fi
! 15522:
! 15523: fi
! 15524: rm -f conftest.err conftest.$ac_objext \
! 15525: conftest$ac_exeext conftest.$ac_ext
! 15526: fi
! 15527:
! 15528: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
! 15529: then
! 15530: lt_save_LIBS="$LIBS"
! 15531: LIBS="$LIBS $LIBADD_DLOPEN"
! 15532:
! 15533: for ac_func in dlerror
! 15534: do
! 15535: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 15536: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 15537: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 15538: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 15539: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15540: else
! 15541: cat >conftest.$ac_ext <<_ACEOF
! 15542: /* confdefs.h. */
! 15543: _ACEOF
! 15544: cat confdefs.h >>conftest.$ac_ext
! 15545: cat >>conftest.$ac_ext <<_ACEOF
! 15546: /* end confdefs.h. */
! 15547: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 15548: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15549: #define $ac_func innocuous_$ac_func
! 15550:
! 15551: /* System header to define __stub macros and hopefully few prototypes,
! 15552: which can conflict with char $ac_func (); below.
! 15553: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15554: <limits.h> exists even on freestanding compilers. */
! 15555:
! 15556: #ifdef __STDC__
! 15557: # include <limits.h>
! 15558: #else
! 15559: # include <assert.h>
! 15560: #endif
! 15561:
! 15562: #undef $ac_func
! 15563:
! 15564: /* Override any gcc2 internal prototype to avoid an error. */
! 15565: #ifdef __cplusplus
! 15566: extern "C"
! 15567: {
! 15568: #endif
! 15569: /* We use char because int might match the return type of a gcc2
! 15570: builtin and then its argument prototype would still apply. */
! 15571: char $ac_func ();
! 15572: /* The GNU C library defines this for functions which it implements
! 15573: to always fail with ENOSYS. Some functions are actually named
! 15574: something starting with __ and the normal name is an alias. */
! 15575: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 15576: choke me
! 15577: #else
! 15578: char (*f) () = $ac_func;
! 15579: #endif
! 15580: #ifdef __cplusplus
! 15581: }
! 15582: #endif
! 15583:
! 15584: int
! 15585: main ()
! 15586: {
! 15587: return f != $ac_func;
! 15588: ;
! 15589: return 0;
! 15590: }
! 15591: _ACEOF
! 15592: rm -f conftest.$ac_objext conftest$ac_exeext
! 15593: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15594: (eval $ac_link) 2>conftest.er1
! 15595: ac_status=$?
! 15596: grep -v '^ *+' conftest.er1 >conftest.err
! 15597: rm -f conftest.er1
! 15598: cat conftest.err >&5
! 15599: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15600: (exit $ac_status); } &&
! 15601: { ac_try='test -z "$ac_c_werror_flag"
! 15602: || test ! -s conftest.err'
! 15603: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15604: (eval $ac_try) 2>&5
! 15605: ac_status=$?
! 15606: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15607: (exit $ac_status); }; } &&
! 15608: { ac_try='test -s conftest$ac_exeext'
! 15609: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15610: (eval $ac_try) 2>&5
! 15611: ac_status=$?
! 15612: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15613: (exit $ac_status); }; }; then
! 15614: eval "$as_ac_var=yes"
! 15615: else
! 15616: echo "$as_me: failed program was:" >&5
! 15617: sed 's/^/| /' conftest.$ac_ext >&5
! 15618:
! 15619: eval "$as_ac_var=no"
! 15620: fi
! 15621: rm -f conftest.err conftest.$ac_objext \
! 15622: conftest$ac_exeext conftest.$ac_ext
! 15623: fi
! 15624: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 15625: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 15626: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 15627: cat >>confdefs.h <<_ACEOF
! 15628: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 15629: _ACEOF
! 15630:
! 15631: fi
! 15632: done
! 15633:
! 15634: LIBS="$lt_save_LIBS"
! 15635: fi
! 15636:
! 15637:
! 15638: LIBADD_SHL_LOAD=
! 15639: echo "$as_me:$LINENO: checking for shl_load" >&5
! 15640: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 15641: if test "${ac_cv_func_shl_load+set}" = set; then
! 15642: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15643: else
! 15644: cat >conftest.$ac_ext <<_ACEOF
! 15645: /* confdefs.h. */
! 15646: _ACEOF
! 15647: cat confdefs.h >>conftest.$ac_ext
! 15648: cat >>conftest.$ac_ext <<_ACEOF
! 15649: /* end confdefs.h. */
! 15650: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 15651: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15652: #define shl_load innocuous_shl_load
! 15653:
! 15654: /* System header to define __stub macros and hopefully few prototypes,
! 15655: which can conflict with char shl_load (); below.
! 15656: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15657: <limits.h> exists even on freestanding compilers. */
! 15658:
! 15659: #ifdef __STDC__
! 15660: # include <limits.h>
! 15661: #else
! 15662: # include <assert.h>
! 15663: #endif
! 15664:
! 15665: #undef shl_load
! 15666:
! 15667: /* Override any gcc2 internal prototype to avoid an error. */
! 15668: #ifdef __cplusplus
! 15669: extern "C"
! 15670: {
! 15671: #endif
! 15672: /* We use char because int might match the return type of a gcc2
! 15673: builtin and then its argument prototype would still apply. */
! 15674: char shl_load ();
! 15675: /* The GNU C library defines this for functions which it implements
! 15676: to always fail with ENOSYS. Some functions are actually named
! 15677: something starting with __ and the normal name is an alias. */
! 15678: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 15679: choke me
! 15680: #else
! 15681: char (*f) () = shl_load;
! 15682: #endif
! 15683: #ifdef __cplusplus
! 15684: }
! 15685: #endif
! 15686:
! 15687: int
! 15688: main ()
! 15689: {
! 15690: return f != shl_load;
! 15691: ;
! 15692: return 0;
! 15693: }
! 15694: _ACEOF
! 15695: rm -f conftest.$ac_objext conftest$ac_exeext
! 15696: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15697: (eval $ac_link) 2>conftest.er1
! 15698: ac_status=$?
! 15699: grep -v '^ *+' conftest.er1 >conftest.err
! 15700: rm -f conftest.er1
! 15701: cat conftest.err >&5
! 15702: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15703: (exit $ac_status); } &&
! 15704: { ac_try='test -z "$ac_c_werror_flag"
! 15705: || test ! -s conftest.err'
! 15706: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15707: (eval $ac_try) 2>&5
! 15708: ac_status=$?
! 15709: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15710: (exit $ac_status); }; } &&
! 15711: { ac_try='test -s conftest$ac_exeext'
! 15712: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15713: (eval $ac_try) 2>&5
! 15714: ac_status=$?
! 15715: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15716: (exit $ac_status); }; }; then
! 15717: ac_cv_func_shl_load=yes
! 15718: else
! 15719: echo "$as_me: failed program was:" >&5
! 15720: sed 's/^/| /' conftest.$ac_ext >&5
! 15721:
! 15722: ac_cv_func_shl_load=no
! 15723: fi
! 15724: rm -f conftest.err conftest.$ac_objext \
! 15725: conftest$ac_exeext conftest.$ac_ext
! 15726: fi
! 15727: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 15728: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 15729: if test $ac_cv_func_shl_load = yes; then
! 15730:
! 15731: cat >>confdefs.h <<\_ACEOF
! 15732: #define HAVE_SHL_LOAD 1
! 15733: _ACEOF
! 15734:
! 15735: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
! 15736: else
! 15737: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 15738: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 15739: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 15740: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15741: else
! 15742: ac_check_lib_save_LIBS=$LIBS
! 15743: LIBS="-ldld $LIBS"
! 15744: cat >conftest.$ac_ext <<_ACEOF
! 15745: /* confdefs.h. */
! 15746: _ACEOF
! 15747: cat confdefs.h >>conftest.$ac_ext
! 15748: cat >>conftest.$ac_ext <<_ACEOF
! 15749: /* end confdefs.h. */
! 15750:
! 15751: /* Override any gcc2 internal prototype to avoid an error. */
! 15752: #ifdef __cplusplus
! 15753: extern "C"
! 15754: #endif
! 15755: /* We use char because int might match the return type of a gcc2
! 15756: builtin and then its argument prototype would still apply. */
! 15757: char shl_load ();
! 15758: int
! 15759: main ()
! 15760: {
! 15761: shl_load ();
! 15762: ;
! 15763: return 0;
! 15764: }
! 15765: _ACEOF
! 15766: rm -f conftest.$ac_objext conftest$ac_exeext
! 15767: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15768: (eval $ac_link) 2>conftest.er1
! 15769: ac_status=$?
! 15770: grep -v '^ *+' conftest.er1 >conftest.err
! 15771: rm -f conftest.er1
! 15772: cat conftest.err >&5
! 15773: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15774: (exit $ac_status); } &&
! 15775: { ac_try='test -z "$ac_c_werror_flag"
! 15776: || test ! -s conftest.err'
! 15777: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15778: (eval $ac_try) 2>&5
! 15779: ac_status=$?
! 15780: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15781: (exit $ac_status); }; } &&
! 15782: { ac_try='test -s conftest$ac_exeext'
! 15783: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15784: (eval $ac_try) 2>&5
! 15785: ac_status=$?
! 15786: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15787: (exit $ac_status); }; }; then
! 15788: ac_cv_lib_dld_shl_load=yes
! 15789: else
! 15790: echo "$as_me: failed program was:" >&5
! 15791: sed 's/^/| /' conftest.$ac_ext >&5
! 15792:
! 15793: ac_cv_lib_dld_shl_load=no
! 15794: fi
! 15795: rm -f conftest.err conftest.$ac_objext \
! 15796: conftest$ac_exeext conftest.$ac_ext
! 15797: LIBS=$ac_check_lib_save_LIBS
! 15798: fi
! 15799: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 15800: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 15801: if test $ac_cv_lib_dld_shl_load = yes; then
! 15802:
! 15803: cat >>confdefs.h <<\_ACEOF
! 15804: #define HAVE_SHL_LOAD 1
! 15805: _ACEOF
! 15806:
! 15807: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
! 15808: LIBADD_SHL_LOAD="-ldld"
! 15809: fi
! 15810:
! 15811: fi
! 15812:
! 15813:
! 15814:
! 15815: case $host_os in
! 15816: darwin[1567].*)
! 15817: # We only want this for pre-Mac OS X 10.4.
! 15818: echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
! 15819: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
! 15820: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
! 15821: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15822: else
! 15823: cat >conftest.$ac_ext <<_ACEOF
! 15824: /* confdefs.h. */
! 15825: _ACEOF
! 15826: cat confdefs.h >>conftest.$ac_ext
! 15827: cat >>conftest.$ac_ext <<_ACEOF
! 15828: /* end confdefs.h. */
! 15829: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
! 15830: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 15831: #define _dyld_func_lookup innocuous__dyld_func_lookup
! 15832:
! 15833: /* System header to define __stub macros and hopefully few prototypes,
! 15834: which can conflict with char _dyld_func_lookup (); below.
! 15835: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 15836: <limits.h> exists even on freestanding compilers. */
! 15837:
! 15838: #ifdef __STDC__
! 15839: # include <limits.h>
! 15840: #else
! 15841: # include <assert.h>
! 15842: #endif
! 15843:
! 15844: #undef _dyld_func_lookup
! 15845:
! 15846: /* Override any gcc2 internal prototype to avoid an error. */
! 15847: #ifdef __cplusplus
! 15848: extern "C"
! 15849: {
! 15850: #endif
! 15851: /* We use char because int might match the return type of a gcc2
! 15852: builtin and then its argument prototype would still apply. */
! 15853: char _dyld_func_lookup ();
! 15854: /* The GNU C library defines this for functions which it implements
! 15855: to always fail with ENOSYS. Some functions are actually named
! 15856: something starting with __ and the normal name is an alias. */
! 15857: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
! 15858: choke me
! 15859: #else
! 15860: char (*f) () = _dyld_func_lookup;
! 15861: #endif
! 15862: #ifdef __cplusplus
! 15863: }
! 15864: #endif
! 15865:
! 15866: int
! 15867: main ()
! 15868: {
! 15869: return f != _dyld_func_lookup;
! 15870: ;
! 15871: return 0;
! 15872: }
! 15873: _ACEOF
! 15874: rm -f conftest.$ac_objext conftest$ac_exeext
! 15875: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 15876: (eval $ac_link) 2>conftest.er1
! 15877: ac_status=$?
! 15878: grep -v '^ *+' conftest.er1 >conftest.err
! 15879: rm -f conftest.er1
! 15880: cat conftest.err >&5
! 15881: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15882: (exit $ac_status); } &&
! 15883: { ac_try='test -z "$ac_c_werror_flag"
! 15884: || test ! -s conftest.err'
! 15885: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15886: (eval $ac_try) 2>&5
! 15887: ac_status=$?
! 15888: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15889: (exit $ac_status); }; } &&
! 15890: { ac_try='test -s conftest$ac_exeext'
! 15891: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15892: (eval $ac_try) 2>&5
! 15893: ac_status=$?
! 15894: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15895: (exit $ac_status); }; }; then
! 15896: ac_cv_func__dyld_func_lookup=yes
! 15897: else
! 15898: echo "$as_me: failed program was:" >&5
! 15899: sed 's/^/| /' conftest.$ac_ext >&5
! 15900:
! 15901: ac_cv_func__dyld_func_lookup=no
! 15902: fi
! 15903: rm -f conftest.err conftest.$ac_objext \
! 15904: conftest$ac_exeext conftest.$ac_ext
! 15905: fi
! 15906: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
! 15907: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
! 15908: if test $ac_cv_func__dyld_func_lookup = yes; then
! 15909:
! 15910: cat >>confdefs.h <<\_ACEOF
! 15911: #define HAVE_DYLD 1
! 15912: _ACEOF
! 15913:
! 15914: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
! 15915: fi
! 15916:
! 15917: ;;
! 15918: beos*)
! 15919: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
! 15920: ;;
! 15921: cygwin* | mingw* | os2* | pw32*)
! 15922: echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
! 15923: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
! 15924: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
! 15925: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15926: else
! 15927: cat >conftest.$ac_ext <<_ACEOF
! 15928: /* confdefs.h. */
! 15929: _ACEOF
! 15930: cat confdefs.h >>conftest.$ac_ext
! 15931: cat >>conftest.$ac_ext <<_ACEOF
! 15932: /* end confdefs.h. */
! 15933: #include <sys/cygwin.h>
! 15934:
! 15935: int
! 15936: main ()
! 15937: {
! 15938: #ifndef cygwin_conv_path
! 15939: char *p = (char *) cygwin_conv_path;
! 15940: #endif
! 15941:
! 15942: ;
! 15943: return 0;
! 15944: }
! 15945: _ACEOF
! 15946: rm -f conftest.$ac_objext
! 15947: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 15948: (eval $ac_compile) 2>conftest.er1
! 15949: ac_status=$?
! 15950: grep -v '^ *+' conftest.er1 >conftest.err
! 15951: rm -f conftest.er1
! 15952: cat conftest.err >&5
! 15953: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15954: (exit $ac_status); } &&
! 15955: { ac_try='test -z "$ac_c_werror_flag"
! 15956: || test ! -s conftest.err'
! 15957: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15958: (eval $ac_try) 2>&5
! 15959: ac_status=$?
! 15960: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15961: (exit $ac_status); }; } &&
! 15962: { ac_try='test -s conftest.$ac_objext'
! 15963: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 15964: (eval $ac_try) 2>&5
! 15965: ac_status=$?
! 15966: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15967: (exit $ac_status); }; }; then
! 15968: ac_cv_have_decl_cygwin_conv_path=yes
! 15969: else
! 15970: echo "$as_me: failed program was:" >&5
! 15971: sed 's/^/| /' conftest.$ac_ext >&5
! 15972:
! 15973: ac_cv_have_decl_cygwin_conv_path=no
! 15974: fi
! 15975: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 15976: fi
! 15977: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
! 15978: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
! 15979: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
! 15980:
! 15981: cat >>confdefs.h <<_ACEOF
! 15982: #define HAVE_DECL_CYGWIN_CONV_PATH 1
! 15983: _ACEOF
! 15984:
! 15985:
! 15986: else
! 15987: cat >>confdefs.h <<_ACEOF
! 15988: #define HAVE_DECL_CYGWIN_CONV_PATH 0
! 15989: _ACEOF
! 15990:
! 15991:
! 15992: fi
! 15993:
! 15994:
! 15995: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
! 15996: ;;
! 15997: esac
! 15998:
! 15999: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 16000: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 16001: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 16002: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16003: else
! 16004: ac_check_lib_save_LIBS=$LIBS
! 16005: LIBS="-ldld $LIBS"
! 16006: cat >conftest.$ac_ext <<_ACEOF
! 16007: /* confdefs.h. */
! 16008: _ACEOF
! 16009: cat confdefs.h >>conftest.$ac_ext
! 16010: cat >>conftest.$ac_ext <<_ACEOF
! 16011: /* end confdefs.h. */
! 16012:
! 16013: /* Override any gcc2 internal prototype to avoid an error. */
! 16014: #ifdef __cplusplus
! 16015: extern "C"
! 16016: #endif
! 16017: /* We use char because int might match the return type of a gcc2
! 16018: builtin and then its argument prototype would still apply. */
! 16019: char dld_link ();
! 16020: int
! 16021: main ()
! 16022: {
! 16023: dld_link ();
! 16024: ;
! 16025: return 0;
! 16026: }
! 16027: _ACEOF
! 16028: rm -f conftest.$ac_objext conftest$ac_exeext
! 16029: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16030: (eval $ac_link) 2>conftest.er1
! 16031: ac_status=$?
! 16032: grep -v '^ *+' conftest.er1 >conftest.err
! 16033: rm -f conftest.er1
! 16034: cat conftest.err >&5
! 16035: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16036: (exit $ac_status); } &&
! 16037: { ac_try='test -z "$ac_c_werror_flag"
! 16038: || test ! -s conftest.err'
! 16039: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16040: (eval $ac_try) 2>&5
! 16041: ac_status=$?
! 16042: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16043: (exit $ac_status); }; } &&
! 16044: { ac_try='test -s conftest$ac_exeext'
! 16045: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16046: (eval $ac_try) 2>&5
! 16047: ac_status=$?
! 16048: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16049: (exit $ac_status); }; }; then
! 16050: ac_cv_lib_dld_dld_link=yes
! 16051: else
! 16052: echo "$as_me: failed program was:" >&5
! 16053: sed 's/^/| /' conftest.$ac_ext >&5
! 16054:
! 16055: ac_cv_lib_dld_dld_link=no
! 16056: fi
! 16057: rm -f conftest.err conftest.$ac_objext \
! 16058: conftest$ac_exeext conftest.$ac_ext
! 16059: LIBS=$ac_check_lib_save_LIBS
! 16060: fi
! 16061: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 16062: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 16063: if test $ac_cv_lib_dld_dld_link = yes; then
! 16064:
! 16065: cat >>confdefs.h <<\_ACEOF
! 16066: #define HAVE_DLD 1
! 16067: _ACEOF
! 16068:
! 16069: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
! 16070: fi
! 16071:
! 16072:
! 16073:
! 16074:
! 16075: LT_DLPREOPEN=
! 16076: if test -n "$LT_DLLOADERS"
! 16077: then
! 16078: for lt_loader in $LT_DLLOADERS; do
! 16079: LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
! 16080: done
! 16081:
! 16082: cat >>confdefs.h <<\_ACEOF
! 16083: #define HAVE_LIBDLLOADER 1
! 16084: _ACEOF
! 16085:
! 16086: fi
! 16087:
! 16088:
! 16089: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
! 16090:
! 16091:
! 16092: ac_ext=c
! 16093: ac_cpp='$CPP $CPPFLAGS'
! 16094: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 16095: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 16096: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 16097:
! 16098:
! 16099: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
! 16100: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
! 16101: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
! 16102: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16103: else
! 16104: lt_cv_sys_symbol_underscore=no
! 16105: cat > conftest.$ac_ext <<_LT_EOF
! 16106: void nm_test_func(){}
! 16107: int main(){nm_test_func;return 0;}
! 16108: _LT_EOF
! 16109: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16110: (eval $ac_compile) 2>&5
! 16111: ac_status=$?
! 16112: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16113: (exit $ac_status); }; then
! 16114: # Now try to grab the symbols.
! 16115: ac_nlist=conftest.nm
! 16116: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
! 16117: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
! 16118: ac_status=$?
! 16119: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16120: (exit $ac_status); } && test -s "$ac_nlist"; then
! 16121: # See whether the symbols have a leading underscore.
! 16122: if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
! 16123: lt_cv_sys_symbol_underscore=yes
! 16124: else
! 16125: if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
! 16126: :
! 16127: else
! 16128: echo "configure: cannot find nm_test_func in $ac_nlist" >&5
! 16129: fi
! 16130: fi
! 16131: else
! 16132: echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 16133: fi
! 16134: else
! 16135: echo "configure: failed program was:" >&5
! 16136: cat conftest.c >&5
! 16137: fi
! 16138: rm -rf conftest*
! 16139:
! 16140: fi
! 16141: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
! 16142: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
! 16143: sys_symbol_underscore=$lt_cv_sys_symbol_underscore
! 16144:
! 16145:
! 16146: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
! 16147: if test x"$libltdl_cv_func_dlopen" = xyes ||
! 16148: test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
! 16149: echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
! 16150: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
! 16151: if test "${libltdl_cv_need_uscore+set}" = set; then
! 16152: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16153: else
! 16154: libltdl_cv_need_uscore=unknown
! 16155: save_LIBS="$LIBS"
! 16156: LIBS="$LIBS $LIBADD_DLOPEN"
! 16157: if test "$cross_compiling" = yes; then :
! 16158: libltdl_cv_need_uscore=cross
! 16159: else
! 16160: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 16161: lt_status=$lt_dlunknown
! 16162: cat > conftest.$ac_ext <<_LT_EOF
! 16163: #line $LINENO "configure"
! 16164: #include "confdefs.h"
! 16165:
! 16166: #if HAVE_DLFCN_H
! 16167: #include <dlfcn.h>
! 16168: #endif
! 16169:
! 16170: #include <stdio.h>
! 16171:
! 16172: #ifdef RTLD_GLOBAL
! 16173: # define LT_DLGLOBAL RTLD_GLOBAL
! 16174: #else
! 16175: # ifdef DL_GLOBAL
! 16176: # define LT_DLGLOBAL DL_GLOBAL
! 16177: # else
! 16178: # define LT_DLGLOBAL 0
! 16179: # endif
! 16180: #endif
! 16181:
! 16182: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 16183: find out it does not work in some platform. */
! 16184: #ifndef LT_DLLAZY_OR_NOW
! 16185: # ifdef RTLD_LAZY
! 16186: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 16187: # else
! 16188: # ifdef DL_LAZY
! 16189: # define LT_DLLAZY_OR_NOW DL_LAZY
! 16190: # else
! 16191: # ifdef RTLD_NOW
! 16192: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 16193: # else
! 16194: # ifdef DL_NOW
! 16195: # define LT_DLLAZY_OR_NOW DL_NOW
! 16196: # else
! 16197: # define LT_DLLAZY_OR_NOW 0
! 16198: # endif
! 16199: # endif
! 16200: # endif
! 16201: # endif
! 16202: #endif
! 16203:
! 16204: /* When -fvisbility=hidden is used, assume the code has been annotated
! 16205: correspondingly for the symbols needed. */
! 16206: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 16207: int fnord () __attribute__((visibility("default")));
! 16208: #endif
! 16209:
! 16210: int fnord () { return 42; }
! 16211: int main ()
! 16212: {
! 16213: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 16214: int status = $lt_dlunknown;
! 16215:
! 16216: if (self)
! 16217: {
! 16218: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 16219: else
! 16220: {
! 16221: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 16222: else puts (dlerror ());
! 16223: }
! 16224: /* dlclose (self); */
! 16225: }
! 16226: else
! 16227: puts (dlerror ());
! 16228:
! 16229: return status;
! 16230: }
! 16231: _LT_EOF
! 16232: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16233: (eval $ac_link) 2>&5
! 16234: ac_status=$?
! 16235: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16236: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 16237: (./conftest; exit; ) >&5 2>/dev/null
! 16238: lt_status=$?
! 16239: case x$lt_status in
! 16240: x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
! 16241: x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
! 16242: x$lt_dlunknown|x*) ;;
! 16243: esac
! 16244: else :
! 16245: # compilation failed
! 16246:
! 16247: fi
! 16248: fi
! 16249: rm -fr conftest*
! 16250:
! 16251: LIBS="$save_LIBS"
! 16252:
! 16253: fi
! 16254: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
! 16255: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
! 16256: fi
! 16257: fi
! 16258:
! 16259: if test x"$libltdl_cv_need_uscore" = xyes; then
! 16260:
! 16261: cat >>confdefs.h <<\_ACEOF
! 16262: #define NEED_USCORE 1
! 16263: _ACEOF
! 16264:
! 16265: fi
! 16266:
! 16267: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
! 16268: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
! 16269: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
! 16270: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16271: else
! 16272: # PORTME does your system automatically load deplibs for dlopen?
! 16273: # or its logical equivalent (e.g. shl_load for HP-UX < 11)
! 16274: # For now, we just catch OSes we know something about -- in the
! 16275: # future, we'll try test this programmatically.
! 16276: lt_cv_sys_dlopen_deplibs=unknown
! 16277: case $host_os in
! 16278: aix3*|aix4.1.*|aix4.2.*)
! 16279: # Unknown whether this is true for these versions of AIX, but
! 16280: # we want this `case' here to explicitly catch those versions.
! 16281: lt_cv_sys_dlopen_deplibs=unknown
! 16282: ;;
! 16283: aix[4-9]*)
! 16284: lt_cv_sys_dlopen_deplibs=yes
! 16285: ;;
! 16286: amigaos*)
! 16287: case $host_cpu in
! 16288: powerpc)
! 16289: lt_cv_sys_dlopen_deplibs=no
! 16290: ;;
! 16291: esac
! 16292: ;;
! 16293: darwin*)
! 16294: # Assuming the user has installed a libdl from somewhere, this is true
! 16295: # If you are looking for one http://www.opendarwin.org/projects/dlcompat
! 16296: lt_cv_sys_dlopen_deplibs=yes
! 16297: ;;
! 16298: freebsd* | dragonfly*)
! 16299: lt_cv_sys_dlopen_deplibs=yes
! 16300: ;;
! 16301: gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 16302: # GNU and its variants, using gnu ld.so (Glibc)
! 16303: lt_cv_sys_dlopen_deplibs=yes
! 16304: ;;
! 16305: hpux10*|hpux11*)
! 16306: lt_cv_sys_dlopen_deplibs=yes
! 16307: ;;
! 16308: interix*)
! 16309: lt_cv_sys_dlopen_deplibs=yes
! 16310: ;;
! 16311: irix[12345]*|irix6.[01]*)
! 16312: # Catch all versions of IRIX before 6.2, and indicate that we don't
! 16313: # know how it worked for any of those versions.
! 16314: lt_cv_sys_dlopen_deplibs=unknown
! 16315: ;;
! 16316: irix*)
! 16317: # The case above catches anything before 6.2, and it's known that
! 16318: # at 6.2 and later dlopen does load deplibs.
! 16319: lt_cv_sys_dlopen_deplibs=yes
! 16320: ;;
! 16321: netbsd*)
! 16322: lt_cv_sys_dlopen_deplibs=yes
! 16323: ;;
! 16324: openbsd*)
! 16325: lt_cv_sys_dlopen_deplibs=yes
! 16326: ;;
! 16327: osf[1234]*)
! 16328: # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
! 16329: # it did *not* use an RPATH in a shared library to find objects the
! 16330: # library depends on, so we explicitly say `no'.
! 16331: lt_cv_sys_dlopen_deplibs=no
! 16332: ;;
! 16333: osf5.0|osf5.0a|osf5.1)
! 16334: # dlopen *does* load deplibs and with the right loader patch applied
! 16335: # it even uses RPATH in a shared library to search for shared objects
! 16336: # that the library depends on, but there's no easy way to know if that
! 16337: # patch is installed. Since this is the case, all we can really
! 16338: # say is unknown -- it depends on the patch being installed. If
! 16339: # it is, this changes to `yes'. Without it, it would be `no'.
! 16340: lt_cv_sys_dlopen_deplibs=unknown
! 16341: ;;
! 16342: osf*)
! 16343: # the two cases above should catch all versions of osf <= 5.1. Read
! 16344: # the comments above for what we know about them.
! 16345: # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
! 16346: # is used to find them so we can finally say `yes'.
! 16347: lt_cv_sys_dlopen_deplibs=yes
! 16348: ;;
! 16349: qnx*)
! 16350: lt_cv_sys_dlopen_deplibs=yes
! 16351: ;;
! 16352: solaris*)
! 16353: lt_cv_sys_dlopen_deplibs=yes
! 16354: ;;
! 16355: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 16356: libltdl_cv_sys_dlopen_deplibs=yes
! 16357: ;;
! 16358: esac
! 16359:
! 16360: fi
! 16361: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
! 16362: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
! 16363: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
! 16364:
! 16365: cat >>confdefs.h <<\_ACEOF
! 16366: #define LTDL_DLOPEN_DEPLIBS 1
! 16367: _ACEOF
! 16368:
! 16369: fi
! 16370:
! 16371: :
! 16372:
! 16373:
! 16374: for ac_header in argz.h
! 16375: do
! 16376: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 16377: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 16378: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 16379: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 16380: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16381: else
! 16382: cat >conftest.$ac_ext <<_ACEOF
! 16383: /* confdefs.h. */
! 16384: _ACEOF
! 16385: cat confdefs.h >>conftest.$ac_ext
! 16386: cat >>conftest.$ac_ext <<_ACEOF
! 16387: /* end confdefs.h. */
! 16388: $ac_includes_default
! 16389:
! 16390: #include <$ac_header>
! 16391: _ACEOF
! 16392: rm -f conftest.$ac_objext
! 16393: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16394: (eval $ac_compile) 2>conftest.er1
! 16395: ac_status=$?
! 16396: grep -v '^ *+' conftest.er1 >conftest.err
! 16397: rm -f conftest.er1
! 16398: cat conftest.err >&5
! 16399: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16400: (exit $ac_status); } &&
! 16401: { ac_try='test -z "$ac_c_werror_flag"
! 16402: || test ! -s conftest.err'
! 16403: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16404: (eval $ac_try) 2>&5
! 16405: ac_status=$?
! 16406: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16407: (exit $ac_status); }; } &&
! 16408: { ac_try='test -s conftest.$ac_objext'
! 16409: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16410: (eval $ac_try) 2>&5
! 16411: ac_status=$?
! 16412: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16413: (exit $ac_status); }; }; then
! 16414: eval "$as_ac_Header=yes"
! 16415: else
! 16416: echo "$as_me: failed program was:" >&5
! 16417: sed 's/^/| /' conftest.$ac_ext >&5
! 16418:
! 16419: eval "$as_ac_Header=no"
! 16420: fi
! 16421: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16422: fi
! 16423: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 16424: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 16425: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 16426: cat >>confdefs.h <<_ACEOF
! 16427: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 16428: _ACEOF
! 16429:
! 16430: fi
! 16431:
! 16432: done
! 16433:
! 16434:
! 16435: echo "$as_me:$LINENO: checking for error_t" >&5
! 16436: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
! 16437: if test "${ac_cv_type_error_t+set}" = set; then
! 16438: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16439: else
! 16440: cat >conftest.$ac_ext <<_ACEOF
! 16441: /* confdefs.h. */
! 16442: _ACEOF
! 16443: cat confdefs.h >>conftest.$ac_ext
! 16444: cat >>conftest.$ac_ext <<_ACEOF
! 16445: /* end confdefs.h. */
! 16446: #if defined(HAVE_ARGZ_H)
! 16447: # include <argz.h>
! 16448: #endif
! 16449:
! 16450: int
! 16451: main ()
! 16452: {
! 16453: if ((error_t *) 0)
! 16454: return 0;
! 16455: if (sizeof (error_t))
! 16456: return 0;
! 16457: ;
! 16458: return 0;
! 16459: }
! 16460: _ACEOF
! 16461: rm -f conftest.$ac_objext
! 16462: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16463: (eval $ac_compile) 2>conftest.er1
! 16464: ac_status=$?
! 16465: grep -v '^ *+' conftest.er1 >conftest.err
! 16466: rm -f conftest.er1
! 16467: cat conftest.err >&5
! 16468: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16469: (exit $ac_status); } &&
! 16470: { ac_try='test -z "$ac_c_werror_flag"
! 16471: || test ! -s conftest.err'
! 16472: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16473: (eval $ac_try) 2>&5
! 16474: ac_status=$?
! 16475: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16476: (exit $ac_status); }; } &&
! 16477: { ac_try='test -s conftest.$ac_objext'
! 16478: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16479: (eval $ac_try) 2>&5
! 16480: ac_status=$?
! 16481: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16482: (exit $ac_status); }; }; then
! 16483: ac_cv_type_error_t=yes
! 16484: else
! 16485: echo "$as_me: failed program was:" >&5
! 16486: sed 's/^/| /' conftest.$ac_ext >&5
! 16487:
! 16488: ac_cv_type_error_t=no
! 16489: fi
! 16490: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16491: fi
! 16492: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
! 16493: echo "${ECHO_T}$ac_cv_type_error_t" >&6
! 16494: if test $ac_cv_type_error_t = yes; then
! 16495:
! 16496: cat >>confdefs.h <<_ACEOF
! 16497: #define HAVE_ERROR_T 1
! 16498: _ACEOF
! 16499:
! 16500:
! 16501: else
! 16502:
! 16503: cat >>confdefs.h <<\_ACEOF
! 16504: #define error_t int
! 16505: _ACEOF
! 16506:
! 16507:
! 16508: cat >>confdefs.h <<\_ACEOF
! 16509: #define __error_t_defined 1
! 16510: _ACEOF
! 16511:
! 16512: fi
! 16513:
! 16514:
! 16515: ARGZ_H=
! 16516:
! 16517:
! 16518:
! 16519:
! 16520:
! 16521:
! 16522:
! 16523: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
! 16524: argz_next argz_stringify
! 16525: do
! 16526: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16527: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 16528: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 16529: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 16530: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16531: else
! 16532: cat >conftest.$ac_ext <<_ACEOF
! 16533: /* confdefs.h. */
! 16534: _ACEOF
! 16535: cat confdefs.h >>conftest.$ac_ext
! 16536: cat >>conftest.$ac_ext <<_ACEOF
! 16537: /* end confdefs.h. */
! 16538: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 16539: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 16540: #define $ac_func innocuous_$ac_func
! 16541:
! 16542: /* System header to define __stub macros and hopefully few prototypes,
! 16543: which can conflict with char $ac_func (); below.
! 16544: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 16545: <limits.h> exists even on freestanding compilers. */
! 16546:
! 16547: #ifdef __STDC__
! 16548: # include <limits.h>
! 16549: #else
! 16550: # include <assert.h>
! 16551: #endif
! 16552:
! 16553: #undef $ac_func
! 16554:
! 16555: /* Override any gcc2 internal prototype to avoid an error. */
! 16556: #ifdef __cplusplus
! 16557: extern "C"
! 16558: {
! 16559: #endif
! 16560: /* We use char because int might match the return type of a gcc2
! 16561: builtin and then its argument prototype would still apply. */
! 16562: char $ac_func ();
! 16563: /* The GNU C library defines this for functions which it implements
! 16564: to always fail with ENOSYS. Some functions are actually named
! 16565: something starting with __ and the normal name is an alias. */
! 16566: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 16567: choke me
! 16568: #else
! 16569: char (*f) () = $ac_func;
! 16570: #endif
! 16571: #ifdef __cplusplus
! 16572: }
! 16573: #endif
! 16574:
! 16575: int
! 16576: main ()
! 16577: {
! 16578: return f != $ac_func;
! 16579: ;
! 16580: return 0;
! 16581: }
! 16582: _ACEOF
! 16583: rm -f conftest.$ac_objext conftest$ac_exeext
! 16584: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16585: (eval $ac_link) 2>conftest.er1
! 16586: ac_status=$?
! 16587: grep -v '^ *+' conftest.er1 >conftest.err
! 16588: rm -f conftest.er1
! 16589: cat conftest.err >&5
! 16590: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16591: (exit $ac_status); } &&
! 16592: { ac_try='test -z "$ac_c_werror_flag"
! 16593: || test ! -s conftest.err'
! 16594: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16595: (eval $ac_try) 2>&5
! 16596: ac_status=$?
! 16597: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16598: (exit $ac_status); }; } &&
! 16599: { ac_try='test -s conftest$ac_exeext'
! 16600: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16601: (eval $ac_try) 2>&5
! 16602: ac_status=$?
! 16603: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16604: (exit $ac_status); }; }; then
! 16605: eval "$as_ac_var=yes"
! 16606: else
! 16607: echo "$as_me: failed program was:" >&5
! 16608: sed 's/^/| /' conftest.$ac_ext >&5
! 16609:
! 16610: eval "$as_ac_var=no"
! 16611: fi
! 16612: rm -f conftest.err conftest.$ac_objext \
! 16613: conftest$ac_exeext conftest.$ac_ext
! 16614: fi
! 16615: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 16616: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 16617: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 16618: cat >>confdefs.h <<_ACEOF
! 16619: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16620: _ACEOF
! 16621:
! 16622: else
! 16623: ARGZ_H=argz.h;
! 16624:
! 16625: _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
! 16626:
! 16627: fi
! 16628: done
! 16629:
! 16630:
! 16631: if test -z "$ARGZ_H"; then
! 16632: echo "$as_me:$LINENO: checking if argz actually works" >&5
! 16633: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
! 16634: if test "${lt_cv_sys_argz_works+set}" = set; then
! 16635: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16636: else
! 16637: case $host_os in #(
! 16638: *cygwin*)
! 16639: lt_cv_sys_argz_works=no
! 16640: if test "$cross_compiling" != no; then
! 16641: lt_cv_sys_argz_works="guessing no"
! 16642: else
! 16643: lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
! 16644: save_IFS=$IFS
! 16645: IFS=-.
! 16646: set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
! 16647: IFS=$save_IFS
! 16648: lt_os_major=${2-0}
! 16649: lt_os_minor=${3-0}
! 16650: lt_os_micro=${4-0}
! 16651: if test "$lt_os_major" -gt 1 \
! 16652: || { test "$lt_os_major" -eq 1 \
! 16653: && { test "$lt_os_minor" -gt 5 \
! 16654: || { test "$lt_os_minor" -eq 5 \
! 16655: && test "$lt_os_micro" -gt 24; }; }; }; then
! 16656: lt_cv_sys_argz_works=yes
! 16657: fi
! 16658: fi
! 16659: ;; #(
! 16660: *) lt_cv_sys_argz_works=yes ;;
! 16661: esac
! 16662: fi
! 16663: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
! 16664: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
! 16665: if test "$lt_cv_sys_argz_works" = yes; then
! 16666:
! 16667: cat >>confdefs.h <<\_ACEOF
! 16668: #define HAVE_WORKING_ARGZ 1
! 16669: _ACEOF
! 16670:
! 16671: else
! 16672: ARGZ_H=argz.h
! 16673:
! 16674:
! 16675: _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
! 16676:
! 16677: fi
! 16678:
! 16679: fi
! 16680:
! 16681:
! 16682:
! 16683:
! 16684: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
! 16685: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
! 16686: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
! 16687: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16688: else
! 16689: if test -n "$lt_cv_sys_global_symbol_pipe"; then
! 16690: libltdl_cv_preloaded_symbols=yes
! 16691: else
! 16692: libltdl_cv_preloaded_symbols=no
! 16693: fi
! 16694:
! 16695: fi
! 16696: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
! 16697: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
! 16698: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
! 16699:
! 16700: cat >>confdefs.h <<\_ACEOF
! 16701: #define HAVE_PRELOADED_SYMBOLS 1
! 16702: _ACEOF
! 16703:
! 16704: fi
! 16705:
! 16706: # Set options
! 16707:
! 16708:
! 16709:
! 16710:
! 16711:
! 16712:
! 16713:
! 16714:
! 16715:
! 16716:
! 16717:
! 16718:
! 16719: # Check whether --with-included_ltdl or --without-included_ltdl was given.
! 16720: if test "${with_included_ltdl+set}" = set; then
! 16721: withval="$with_included_ltdl"
! 16722:
! 16723: fi;
! 16724:
! 16725: if test "x$with_included_ltdl" != xyes; then
! 16726: # We are not being forced to use the included libltdl sources, so
! 16727: # decide whether there is a useful installed version we can use.
! 16728: echo "$as_me:$LINENO: checking for ltdl.h" >&5
! 16729: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
! 16730: if test "${ac_cv_header_ltdl_h+set}" = set; then
! 16731: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16732: else
! 16733: cat >conftest.$ac_ext <<_ACEOF
! 16734: /* confdefs.h. */
! 16735: _ACEOF
! 16736: cat confdefs.h >>conftest.$ac_ext
! 16737: cat >>conftest.$ac_ext <<_ACEOF
! 16738: /* end confdefs.h. */
! 16739: $ac_includes_default
! 16740:
! 16741:
! 16742: #include <ltdl.h>
! 16743: _ACEOF
! 16744: rm -f conftest.$ac_objext
! 16745: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16746: (eval $ac_compile) 2>conftest.er1
! 16747: ac_status=$?
! 16748: grep -v '^ *+' conftest.er1 >conftest.err
! 16749: rm -f conftest.er1
! 16750: cat conftest.err >&5
! 16751: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16752: (exit $ac_status); } &&
! 16753: { ac_try='test -z "$ac_c_werror_flag"
! 16754: || test ! -s conftest.err'
! 16755: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16756: (eval $ac_try) 2>&5
! 16757: ac_status=$?
! 16758: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16759: (exit $ac_status); }; } &&
! 16760: { ac_try='test -s conftest.$ac_objext'
! 16761: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16762: (eval $ac_try) 2>&5
! 16763: ac_status=$?
! 16764: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16765: (exit $ac_status); }; }; then
! 16766: ac_cv_header_ltdl_h=yes
! 16767: else
! 16768: echo "$as_me: failed program was:" >&5
! 16769: sed 's/^/| /' conftest.$ac_ext >&5
! 16770:
! 16771: ac_cv_header_ltdl_h=no
! 16772: fi
! 16773: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16774: fi
! 16775: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
! 16776: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
! 16777: if test $ac_cv_header_ltdl_h = yes; then
! 16778: echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
! 16779: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
! 16780: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
! 16781: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16782: else
! 16783: cat >conftest.$ac_ext <<_ACEOF
! 16784: /* confdefs.h. */
! 16785: _ACEOF
! 16786: cat confdefs.h >>conftest.$ac_ext
! 16787: cat >>conftest.$ac_ext <<_ACEOF
! 16788: /* end confdefs.h. */
! 16789: $ac_includes_default
! 16790: #include <ltdl.h>
! 16791:
! 16792: int
! 16793: main ()
! 16794: {
! 16795: #ifndef lt_dlinterface_register
! 16796: char *p = (char *) lt_dlinterface_register;
! 16797: #endif
! 16798:
! 16799: ;
! 16800: return 0;
! 16801: }
! 16802: _ACEOF
! 16803: rm -f conftest.$ac_objext
! 16804: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16805: (eval $ac_compile) 2>conftest.er1
! 16806: ac_status=$?
! 16807: grep -v '^ *+' conftest.er1 >conftest.err
! 16808: rm -f conftest.er1
! 16809: cat conftest.err >&5
! 16810: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16811: (exit $ac_status); } &&
! 16812: { ac_try='test -z "$ac_c_werror_flag"
! 16813: || test ! -s conftest.err'
! 16814: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16815: (eval $ac_try) 2>&5
! 16816: ac_status=$?
! 16817: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16818: (exit $ac_status); }; } &&
! 16819: { ac_try='test -s conftest.$ac_objext'
! 16820: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16821: (eval $ac_try) 2>&5
! 16822: ac_status=$?
! 16823: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16824: (exit $ac_status); }; }; then
! 16825: ac_cv_have_decl_lt_dlinterface_register=yes
! 16826: else
! 16827: echo "$as_me: failed program was:" >&5
! 16828: sed 's/^/| /' conftest.$ac_ext >&5
! 16829:
! 16830: ac_cv_have_decl_lt_dlinterface_register=no
! 16831: fi
! 16832: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 16833: fi
! 16834: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
! 16835: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
! 16836: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
! 16837: echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
! 16838: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
! 16839: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
! 16840: echo $ECHO_N "(cached) $ECHO_C" >&6
! 16841: else
! 16842: ac_check_lib_save_LIBS=$LIBS
! 16843: LIBS="-lltdl $LIBS"
! 16844: cat >conftest.$ac_ext <<_ACEOF
! 16845: /* confdefs.h. */
! 16846: _ACEOF
! 16847: cat confdefs.h >>conftest.$ac_ext
! 16848: cat >>conftest.$ac_ext <<_ACEOF
! 16849: /* end confdefs.h. */
! 16850:
! 16851: /* Override any gcc2 internal prototype to avoid an error. */
! 16852: #ifdef __cplusplus
! 16853: extern "C"
! 16854: #endif
! 16855: /* We use char because int might match the return type of a gcc2
! 16856: builtin and then its argument prototype would still apply. */
! 16857: char lt_dladvise_preload ();
! 16858: int
! 16859: main ()
! 16860: {
! 16861: lt_dladvise_preload ();
! 16862: ;
! 16863: return 0;
! 16864: }
! 16865: _ACEOF
! 16866: rm -f conftest.$ac_objext conftest$ac_exeext
! 16867: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16868: (eval $ac_link) 2>conftest.er1
! 16869: ac_status=$?
! 16870: grep -v '^ *+' conftest.er1 >conftest.err
! 16871: rm -f conftest.er1
! 16872: cat conftest.err >&5
! 16873: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16874: (exit $ac_status); } &&
! 16875: { ac_try='test -z "$ac_c_werror_flag"
! 16876: || test ! -s conftest.err'
! 16877: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16878: (eval $ac_try) 2>&5
! 16879: ac_status=$?
! 16880: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16881: (exit $ac_status); }; } &&
! 16882: { ac_try='test -s conftest$ac_exeext'
! 16883: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16884: (eval $ac_try) 2>&5
! 16885: ac_status=$?
! 16886: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16887: (exit $ac_status); }; }; then
! 16888: ac_cv_lib_ltdl_lt_dladvise_preload=yes
! 16889: else
! 16890: echo "$as_me: failed program was:" >&5
! 16891: sed 's/^/| /' conftest.$ac_ext >&5
! 16892:
! 16893: ac_cv_lib_ltdl_lt_dladvise_preload=no
! 16894: fi
! 16895: rm -f conftest.err conftest.$ac_objext \
! 16896: conftest$ac_exeext conftest.$ac_ext
! 16897: LIBS=$ac_check_lib_save_LIBS
! 16898: fi
! 16899: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
! 16900: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
! 16901: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
! 16902: with_included_ltdl=no
! 16903: else
! 16904: with_included_ltdl=yes
! 16905: fi
! 16906:
! 16907: else
! 16908: with_included_ltdl=yes
! 16909: fi
! 16910:
! 16911: else
! 16912: with_included_ltdl=yes
! 16913: fi
! 16914:
! 16915:
! 16916: fi
! 16917:
! 16918:
! 16919:
! 16920:
! 16921: # Check whether --with-ltdl_include or --without-ltdl_include was given.
! 16922: if test "${with_ltdl_include+set}" = set; then
! 16923: withval="$with_ltdl_include"
! 16924:
! 16925: fi;
! 16926:
! 16927: if test -n "$with_ltdl_include"; then
! 16928: if test -f "$with_ltdl_include/ltdl.h"; then :
! 16929: else
! 16930: { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
! 16931: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
! 16932: { (exit 1); exit 1; }; }
! 16933: fi
! 16934: else
! 16935: with_ltdl_include=no
! 16936: fi
! 16937:
! 16938:
! 16939: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
! 16940: if test "${with_ltdl_lib+set}" = set; then
! 16941: withval="$with_ltdl_lib"
! 16942:
! 16943: fi;
! 16944:
! 16945: if test -n "$with_ltdl_lib"; then
! 16946: if test -f "$with_ltdl_lib/libltdl.la"; then :
! 16947: else
! 16948: { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
! 16949: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
! 16950: { (exit 1); exit 1; }; }
! 16951: fi
! 16952: else
! 16953: with_ltdl_lib=no
! 16954: fi
! 16955:
! 16956: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
! 16957: ,yes,no,no,)
! 16958: case $enable_ltdl_convenience in
! 16959: no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
! 16960: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
! 16961: { (exit 1); exit 1; }; } ;;
! 16962: "") enable_ltdl_convenience=yes
! 16963: ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
! 16964: esac
! 16965: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
! 16966: LTDLDEPS=$LIBLTDL
! 16967: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
! 16968:
! 16969:
! 16970:
! 16971:
! 16972:
! 16973: # For backwards non-gettext consistent compatibility...
! 16974: INCLTDL="$LTDLINCL"
! 16975:
! 16976:
! 16977: ;;
! 16978: ,no,no,no,)
! 16979: # If the included ltdl is not to be used, then use the
! 16980: # preinstalled libltdl we found.
! 16981:
! 16982: cat >>confdefs.h <<\_ACEOF
! 16983: #define HAVE_LTDL 1
! 16984: _ACEOF
! 16985:
! 16986: LIBLTDL=-lltdl
! 16987: LTDLDEPS=
! 16988: LTDLINCL=
! 16989: ;;
! 16990: ,no*,no,*)
! 16991: { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
! 16992: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
! 16993: { (exit 1); exit 1; }; }
! 16994: ;;
! 16995: *) with_included_ltdl=no
! 16996: LIBLTDL="-L$with_ltdl_lib -lltdl"
! 16997: LTDLDEPS=
! 16998: LTDLINCL="-I$with_ltdl_include"
! 16999: ;;
! 17000: esac
! 17001: INCLTDL="$LTDLINCL"
! 17002:
! 17003: # Report our decision...
! 17004: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
! 17005: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
! 17006: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
! 17007: echo "${ECHO_T}$LTDLINCL" >&6
! 17008: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
! 17009: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
! 17010: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
! 17011: echo "${ECHO_T}$LIBLTDL" >&6
! 17012:
! 17013:
! 17014:
! 17015: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
! 17016: if test "${enable_ltdl_install+set}" = set; then
! 17017: enableval="$enable_ltdl_install"
! 17018:
! 17019: fi;
! 17020:
! 17021: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
! 17022: *yes*) ;;
! 17023: *) enable_ltdl_convenience=yes ;;
! 17024: esac
! 17025:
! 17026:
! 17027:
! 17028: if test x"${enable_ltdl_install-no}" != xno; then
! 17029: INSTALL_LTDL_TRUE=
! 17030: INSTALL_LTDL_FALSE='#'
! 17031: else
! 17032: INSTALL_LTDL_TRUE='#'
! 17033: INSTALL_LTDL_FALSE=
! 17034: fi
! 17035:
! 17036:
! 17037:
! 17038: if test x"${enable_ltdl_convenience-no}" != xno; then
! 17039: CONVENIENCE_LTDL_TRUE=
! 17040: CONVENIENCE_LTDL_FALSE='#'
! 17041: else
! 17042: CONVENIENCE_LTDL_TRUE='#'
! 17043: CONVENIENCE_LTDL_FALSE=
! 17044: fi
! 17045:
! 17046:
! 17047:
! 17048:
! 17049:
! 17050: subdirs="$subdirs libltdl"
! 17051:
! 17052:
! 17053:
! 17054:
! 17055: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
! 17056: # the user used. This is so that ltdl.h can pick up the parent projects
! 17057: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
! 17058: # definitions required by ltdl.c.
! 17059: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
! 17060:
! 17061:
! 17062:
! 17063:
! 17064:
! 17065:
! 17066:
! 17067:
! 17068:
! 17069: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
! 17070: do
! 17071: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17072: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17073: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17074: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17075: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17076: else
! 17077: cat >conftest.$ac_ext <<_ACEOF
! 17078: /* confdefs.h. */
! 17079: _ACEOF
! 17080: cat confdefs.h >>conftest.$ac_ext
! 17081: cat >>conftest.$ac_ext <<_ACEOF
! 17082: /* end confdefs.h. */
! 17083: $ac_includes_default
! 17084:
! 17085: #include <$ac_header>
! 17086: _ACEOF
! 17087: rm -f conftest.$ac_objext
! 17088: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17089: (eval $ac_compile) 2>conftest.er1
! 17090: ac_status=$?
! 17091: grep -v '^ *+' conftest.er1 >conftest.err
! 17092: rm -f conftest.er1
! 17093: cat conftest.err >&5
! 17094: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17095: (exit $ac_status); } &&
! 17096: { ac_try='test -z "$ac_c_werror_flag"
! 17097: || test ! -s conftest.err'
! 17098: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17099: (eval $ac_try) 2>&5
! 17100: ac_status=$?
! 17101: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17102: (exit $ac_status); }; } &&
! 17103: { ac_try='test -s conftest.$ac_objext'
! 17104: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17105: (eval $ac_try) 2>&5
! 17106: ac_status=$?
! 17107: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17108: (exit $ac_status); }; }; then
! 17109: eval "$as_ac_Header=yes"
! 17110: else
! 17111: echo "$as_me: failed program was:" >&5
! 17112: sed 's/^/| /' conftest.$ac_ext >&5
! 17113:
! 17114: eval "$as_ac_Header=no"
! 17115: fi
! 17116: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17117: fi
! 17118: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17119: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17120: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 17121: cat >>confdefs.h <<_ACEOF
! 17122: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17123: _ACEOF
! 17124:
! 17125: fi
! 17126:
! 17127: done
! 17128:
! 17129:
! 17130:
! 17131:
! 17132:
! 17133: for ac_func in closedir opendir readdir
! 17134: do
! 17135: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17136: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 17137: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 17138: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 17139: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17140: else
! 17141: cat >conftest.$ac_ext <<_ACEOF
! 17142: /* confdefs.h. */
! 17143: _ACEOF
! 17144: cat confdefs.h >>conftest.$ac_ext
! 17145: cat >>conftest.$ac_ext <<_ACEOF
! 17146: /* end confdefs.h. */
! 17147: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 17148: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 17149: #define $ac_func innocuous_$ac_func
! 17150:
! 17151: /* System header to define __stub macros and hopefully few prototypes,
! 17152: which can conflict with char $ac_func (); below.
! 17153: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 17154: <limits.h> exists even on freestanding compilers. */
! 17155:
! 17156: #ifdef __STDC__
! 17157: # include <limits.h>
! 17158: #else
! 17159: # include <assert.h>
! 17160: #endif
! 17161:
! 17162: #undef $ac_func
! 17163:
! 17164: /* Override any gcc2 internal prototype to avoid an error. */
! 17165: #ifdef __cplusplus
! 17166: extern "C"
! 17167: {
! 17168: #endif
! 17169: /* We use char because int might match the return type of a gcc2
! 17170: builtin and then its argument prototype would still apply. */
! 17171: char $ac_func ();
! 17172: /* The GNU C library defines this for functions which it implements
! 17173: to always fail with ENOSYS. Some functions are actually named
! 17174: something starting with __ and the normal name is an alias. */
! 17175: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 17176: choke me
! 17177: #else
! 17178: char (*f) () = $ac_func;
! 17179: #endif
! 17180: #ifdef __cplusplus
! 17181: }
! 17182: #endif
! 17183:
! 17184: int
! 17185: main ()
! 17186: {
! 17187: return f != $ac_func;
! 17188: ;
! 17189: return 0;
! 17190: }
! 17191: _ACEOF
! 17192: rm -f conftest.$ac_objext conftest$ac_exeext
! 17193: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17194: (eval $ac_link) 2>conftest.er1
! 17195: ac_status=$?
! 17196: grep -v '^ *+' conftest.er1 >conftest.err
! 17197: rm -f conftest.er1
! 17198: cat conftest.err >&5
! 17199: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17200: (exit $ac_status); } &&
! 17201: { ac_try='test -z "$ac_c_werror_flag"
! 17202: || test ! -s conftest.err'
! 17203: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17204: (eval $ac_try) 2>&5
! 17205: ac_status=$?
! 17206: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17207: (exit $ac_status); }; } &&
! 17208: { ac_try='test -s conftest$ac_exeext'
! 17209: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17210: (eval $ac_try) 2>&5
! 17211: ac_status=$?
! 17212: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17213: (exit $ac_status); }; }; then
! 17214: eval "$as_ac_var=yes"
! 17215: else
! 17216: echo "$as_me: failed program was:" >&5
! 17217: sed 's/^/| /' conftest.$ac_ext >&5
! 17218:
! 17219: eval "$as_ac_var=no"
! 17220: fi
! 17221: rm -f conftest.err conftest.$ac_objext \
! 17222: conftest$ac_exeext conftest.$ac_ext
! 17223: fi
! 17224: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 17225: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 17226: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 17227: cat >>confdefs.h <<_ACEOF
! 17228: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17229: _ACEOF
! 17230:
! 17231: else
! 17232:
! 17233:
! 17234: _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
! 17235:
! 17236: fi
! 17237: done
! 17238:
! 17239:
! 17240:
! 17241: for ac_func in strlcat strlcpy
! 17242: do
! 17243: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17244: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 17245: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 17246: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 17247: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17248: else
! 17249: cat >conftest.$ac_ext <<_ACEOF
! 17250: /* confdefs.h. */
! 17251: _ACEOF
! 17252: cat confdefs.h >>conftest.$ac_ext
! 17253: cat >>conftest.$ac_ext <<_ACEOF
! 17254: /* end confdefs.h. */
! 17255: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 17256: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 17257: #define $ac_func innocuous_$ac_func
! 17258:
! 17259: /* System header to define __stub macros and hopefully few prototypes,
! 17260: which can conflict with char $ac_func (); below.
! 17261: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 17262: <limits.h> exists even on freestanding compilers. */
! 17263:
! 17264: #ifdef __STDC__
! 17265: # include <limits.h>
! 17266: #else
! 17267: # include <assert.h>
! 17268: #endif
! 17269:
! 17270: #undef $ac_func
! 17271:
! 17272: /* Override any gcc2 internal prototype to avoid an error. */
! 17273: #ifdef __cplusplus
! 17274: extern "C"
! 17275: {
! 17276: #endif
! 17277: /* We use char because int might match the return type of a gcc2
! 17278: builtin and then its argument prototype would still apply. */
! 17279: char $ac_func ();
! 17280: /* The GNU C library defines this for functions which it implements
! 17281: to always fail with ENOSYS. Some functions are actually named
! 17282: something starting with __ and the normal name is an alias. */
! 17283: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 17284: choke me
! 17285: #else
! 17286: char (*f) () = $ac_func;
! 17287: #endif
! 17288: #ifdef __cplusplus
! 17289: }
! 17290: #endif
! 17291:
! 17292: int
! 17293: main ()
! 17294: {
! 17295: return f != $ac_func;
! 17296: ;
! 17297: return 0;
! 17298: }
! 17299: _ACEOF
! 17300: rm -f conftest.$ac_objext conftest$ac_exeext
! 17301: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 17302: (eval $ac_link) 2>conftest.er1
! 17303: ac_status=$?
! 17304: grep -v '^ *+' conftest.er1 >conftest.err
! 17305: rm -f conftest.er1
! 17306: cat conftest.err >&5
! 17307: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17308: (exit $ac_status); } &&
! 17309: { ac_try='test -z "$ac_c_werror_flag"
! 17310: || test ! -s conftest.err'
! 17311: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17312: (eval $ac_try) 2>&5
! 17313: ac_status=$?
! 17314: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17315: (exit $ac_status); }; } &&
! 17316: { ac_try='test -s conftest$ac_exeext'
! 17317: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17318: (eval $ac_try) 2>&5
! 17319: ac_status=$?
! 17320: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17321: (exit $ac_status); }; }; then
! 17322: eval "$as_ac_var=yes"
! 17323: else
! 17324: echo "$as_me: failed program was:" >&5
! 17325: sed 's/^/| /' conftest.$ac_ext >&5
! 17326:
! 17327: eval "$as_ac_var=no"
! 17328: fi
! 17329: rm -f conftest.err conftest.$ac_objext \
! 17330: conftest$ac_exeext conftest.$ac_ext
! 17331: fi
! 17332: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 17333: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 17334: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 17335: cat >>confdefs.h <<_ACEOF
! 17336: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17337: _ACEOF
! 17338:
! 17339: else
! 17340:
! 17341:
! 17342: _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
! 17343:
! 17344: fi
! 17345: done
! 17346:
! 17347:
! 17348:
! 17349: cat >>confdefs.h <<_ACEOF
! 17350: #define LT_LIBEXT "$libext"
! 17351: _ACEOF
! 17352:
! 17353:
! 17354: name=
! 17355: eval "lt_libprefix=\"$libname_spec\""
! 17356:
! 17357: cat >>confdefs.h <<_ACEOF
! 17358: #define LT_LIBPREFIX "$lt_libprefix"
! 17359: _ACEOF
! 17360:
! 17361:
! 17362: name=ltdl
! 17363: eval "LTDLOPEN=\"$libname_spec\""
! 17364:
! 17365:
! 17366:
! 17367:
! 17368:
! 17369:
! 17370:
! 17371:
! 17372: # Only expand once:
! 17373:
! 17374:
! 17375:
! 17376:
! 17377: # Check whether --enable-static or --disable-static was given.
! 17378: if test "${enable_static+set}" = set; then
! 17379: enableval="$enable_static"
! 17380: p=${PACKAGE-default}
! 17381: case $enableval in
! 17382: yes) enable_static=yes ;;
! 17383: no) enable_static=no ;;
! 17384: *)
! 17385: enable_static=no
! 17386: # Look at the argument we got. We use all the common list separators.
! 17387: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 17388: for pkg in $enableval; do
! 17389: IFS="$lt_save_ifs"
! 17390: if test "X$pkg" = "X$p"; then
! 17391: enable_static=yes
! 17392: fi
! 17393: done
! 17394: IFS="$lt_save_ifs"
! 17395: ;;
! 17396: esac
! 17397: else
! 17398: enable_static=no
! 17399: fi;
! 17400:
! 17401:
! 17402:
! 17403:
! 17404:
! 17405:
! 17406:
! 17407:
! 17408:
! 17409:
! 17410:
! 17411:
! 17412:
! 17413: for ac_header in stdio.h \
! 17414: stdlib.h \
! 17415: string.h \
! 17416: setjmp.h \
! 17417: ctype.h
! 17418:
! 17419: do
! 17420: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17421: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17422: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17423: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17424: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17425: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17426: fi
! 17427: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17428: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17429: else
! 17430: # Is the header compilable?
! 17431: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 17432: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 17433: cat >conftest.$ac_ext <<_ACEOF
! 17434: /* confdefs.h. */
! 17435: _ACEOF
! 17436: cat confdefs.h >>conftest.$ac_ext
! 17437: cat >>conftest.$ac_ext <<_ACEOF
! 17438: /* end confdefs.h. */
! 17439: $ac_includes_default
! 17440: #include <$ac_header>
! 17441: _ACEOF
! 17442: rm -f conftest.$ac_objext
! 17443: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17444: (eval $ac_compile) 2>conftest.er1
! 17445: ac_status=$?
! 17446: grep -v '^ *+' conftest.er1 >conftest.err
! 17447: rm -f conftest.er1
! 17448: cat conftest.err >&5
! 17449: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17450: (exit $ac_status); } &&
! 17451: { ac_try='test -z "$ac_c_werror_flag"
! 17452: || test ! -s conftest.err'
! 17453: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17454: (eval $ac_try) 2>&5
! 17455: ac_status=$?
! 17456: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17457: (exit $ac_status); }; } &&
! 17458: { ac_try='test -s conftest.$ac_objext'
! 17459: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17460: (eval $ac_try) 2>&5
! 17461: ac_status=$?
! 17462: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17463: (exit $ac_status); }; }; then
! 17464: ac_header_compiler=yes
! 17465: else
! 17466: echo "$as_me: failed program was:" >&5
! 17467: sed 's/^/| /' conftest.$ac_ext >&5
! 17468:
! 17469: ac_header_compiler=no
! 17470: fi
! 17471: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17472: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 17473: echo "${ECHO_T}$ac_header_compiler" >&6
! 17474:
! 17475: # Is the header present?
! 17476: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 17477: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 17478: cat >conftest.$ac_ext <<_ACEOF
! 17479: /* confdefs.h. */
! 17480: _ACEOF
! 17481: cat confdefs.h >>conftest.$ac_ext
! 17482: cat >>conftest.$ac_ext <<_ACEOF
! 17483: /* end confdefs.h. */
! 17484: #include <$ac_header>
! 17485: _ACEOF
! 17486: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 17487: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 17488: ac_status=$?
! 17489: grep -v '^ *+' conftest.er1 >conftest.err
! 17490: rm -f conftest.er1
! 17491: cat conftest.err >&5
! 17492: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17493: (exit $ac_status); } >/dev/null; then
! 17494: if test -s conftest.err; then
! 17495: ac_cpp_err=$ac_c_preproc_warn_flag
! 17496: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 17497: else
! 17498: ac_cpp_err=
! 17499: fi
! 17500: else
! 17501: ac_cpp_err=yes
! 17502: fi
! 17503: if test -z "$ac_cpp_err"; then
! 17504: ac_header_preproc=yes
! 17505: else
! 17506: echo "$as_me: failed program was:" >&5
! 17507: sed 's/^/| /' conftest.$ac_ext >&5
! 17508:
! 17509: ac_header_preproc=no
! 17510: fi
! 17511: rm -f conftest.err conftest.$ac_ext
! 17512: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 17513: echo "${ECHO_T}$ac_header_preproc" >&6
! 17514:
! 17515: # So? What about this header?
! 17516: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 17517: yes:no: )
! 17518: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 17519: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 17520: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 17521: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 17522: ac_header_preproc=yes
! 17523: ;;
! 17524: no:yes:* )
! 17525: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 17526: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 17527: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 17528: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 17529: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 17530: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 17531: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 17532: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 17533: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 17534: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 17535: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 17536: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 17537: (
! 17538: cat <<\_ASBOX
! 17539: ## ----------------------------------------- ##
! 17540: ## Report this to the parser3pgsql.C lists. ##
! 17541: ## ----------------------------------------- ##
! 17542: _ASBOX
! 17543: ) |
! 17544: sed "s/^/$as_me: WARNING: /" >&2
! 17545: ;;
! 17546: esac
! 17547: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 17548: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 17549: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 17550: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17551: else
! 17552: eval "$as_ac_Header=\$ac_header_preproc"
! 17553: fi
! 17554: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 17555: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 17556:
! 17557: fi
! 17558: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 17559: cat >>confdefs.h <<_ACEOF
! 17560: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17561: _ACEOF
! 17562:
! 17563: fi
! 17564:
! 17565: done
! 17566:
! 17567:
! 17568:
! 17569: echo "$as_me:$LINENO: checking for size_t" >&5
! 17570: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
! 17571: if test "${ac_cv_type_size_t+set}" = set; then
! 17572: echo $ECHO_N "(cached) $ECHO_C" >&6
! 17573: else
! 17574: cat >conftest.$ac_ext <<_ACEOF
! 17575: /* confdefs.h. */
! 17576: _ACEOF
! 17577: cat confdefs.h >>conftest.$ac_ext
! 17578: cat >>conftest.$ac_ext <<_ACEOF
! 17579: /* end confdefs.h. */
! 17580: $ac_includes_default
! 17581: int
! 17582: main ()
! 17583: {
! 17584: if ((size_t *) 0)
! 17585: return 0;
! 17586: if (sizeof (size_t))
! 17587: return 0;
! 17588: ;
! 17589: return 0;
! 17590: }
! 17591: _ACEOF
! 17592: rm -f conftest.$ac_objext
! 17593: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17594: (eval $ac_compile) 2>conftest.er1
! 17595: ac_status=$?
! 17596: grep -v '^ *+' conftest.er1 >conftest.err
! 17597: rm -f conftest.er1
! 17598: cat conftest.err >&5
! 17599: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17600: (exit $ac_status); } &&
! 17601: { ac_try='test -z "$ac_c_werror_flag"
! 17602: || test ! -s conftest.err'
! 17603: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17604: (eval $ac_try) 2>&5
! 17605: ac_status=$?
! 17606: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17607: (exit $ac_status); }; } &&
! 17608: { ac_try='test -s conftest.$ac_objext'
! 17609: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 17610: (eval $ac_try) 2>&5
! 17611: ac_status=$?
! 17612: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17613: (exit $ac_status); }; }; then
! 17614: ac_cv_type_size_t=yes
! 17615: else
! 17616: echo "$as_me: failed program was:" >&5
! 17617: sed 's/^/| /' conftest.$ac_ext >&5
! 17618:
! 17619: ac_cv_type_size_t=no
! 17620: fi
! 17621: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 17622: fi
! 17623: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
! 17624: echo "${ECHO_T}$ac_cv_type_size_t" >&6
! 17625: if test $ac_cv_type_size_t = yes; then
! 17626: :
! 17627: else
! 17628:
! 17629: cat >>confdefs.h <<_ACEOF
! 17630: #define size_t unsigned
! 17631: _ACEOF
! 17632:
! 17633: fi
! 17634:
! 17635:
! 17636:
! 17637:
! 17638: ac_config_files="$ac_config_files Makefile"
! 17639: cat >confcache <<\_ACEOF
! 17640: # This file is a shell script that caches the results of configure
! 17641: # tests run on this system so they can be shared between configure
! 17642: # scripts and configure runs, see configure's option --config-cache.
! 17643: # It is not useful on other systems. If it contains results you don't
! 17644: # want to keep, you may remove or edit it.
! 17645: #
! 17646: # config.status only pays attention to the cache file if you give it
! 17647: # the --recheck option to rerun configure.
! 17648: #
! 17649: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 17650: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 17651: # following values.
! 17652:
! 17653: _ACEOF
! 17654:
! 17655: # The following way of writing the cache mishandles newlines in values,
! 17656: # but we know of no workaround that is simple, portable, and efficient.
! 17657: # So, don't put newlines in cache variables' values.
! 17658: # Ultrix sh set writes to stderr and can't be redirected directly,
! 17659: # and sets the high bit in the cache file unless we assign to the vars.
! 17660: {
! 17661: (set) 2>&1 |
! 17662: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 17663: *ac_space=\ *)
! 17664: # `set' does not quote correctly, so add quotes (double-quote
! 17665: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 17666: sed -n \
! 17667: "s/'/'\\\\''/g;
! 17668: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 17669: ;;
! 17670: *)
! 17671: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 17672: sed -n \
! 17673: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 17674: ;;
! 17675: esac;
! 17676: } |
! 17677: sed '
! 17678: t clear
! 17679: : clear
! 17680: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 17681: t end
! 17682: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 17683: : end' >>confcache
! 17684: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 17685: if test -w $cache_file; then
! 17686: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 17687: cat confcache >$cache_file
! 17688: else
! 17689: echo "not updating unwritable cache $cache_file"
! 17690: fi
! 17691: fi
! 17692: rm -f confcache
! 17693:
! 17694: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 17695: # Let make expand exec_prefix.
! 17696: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 17697:
! 17698: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 17699: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 17700: # trailing colons and then remove the whole line if VPATH becomes empty
! 17701: # (actually we leave an empty line to preserve line numbers).
! 17702: if test "x$srcdir" = x.; then
! 17703: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 17704: s/:*\$(srcdir):*/:/;
! 17705: s/:*\${srcdir}:*/:/;
! 17706: s/:*@srcdir@:*/:/;
! 17707: s/^\([^=]*=[ ]*\):*/\1/;
! 17708: s/:*$//;
! 17709: s/^[^=]*=[ ]*$//;
! 17710: }'
! 17711: fi
! 17712:
! 17713: DEFS=-DHAVE_CONFIG_H
! 17714:
! 17715: ac_libobjs=
! 17716: ac_ltlibobjs=
! 17717: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 17718: # 1. Remove the extension, and $U if already installed.
! 17719: ac_i=`echo "$ac_i" |
! 17720: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 17721: # 2. Add them.
! 17722: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 17723: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 17724: done
! 17725: LIBOBJS=$ac_libobjs
! 17726:
! 17727: LTLIBOBJS=$ac_ltlibobjs
! 17728:
! 17729:
! 17730: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 17731: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 17732: Usually this means the macro was only invoked conditionally." >&5
! 17733: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 17734: Usually this means the macro was only invoked conditionally." >&2;}
! 17735: { (exit 1); exit 1; }; }
! 17736: fi
! 17737: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 17738: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 17739: Usually this means the macro was only invoked conditionally." >&5
! 17740: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 17741: Usually this means the macro was only invoked conditionally." >&2;}
! 17742: { (exit 1); exit 1; }; }
! 17743: fi
! 17744: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 17745: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 17746: Usually this means the macro was only invoked conditionally." >&5
! 17747: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 17748: Usually this means the macro was only invoked conditionally." >&2;}
! 17749: { (exit 1); exit 1; }; }
! 17750: fi
! 17751: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
! 17752: { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
! 17753: Usually this means the macro was only invoked conditionally." >&5
! 17754: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
! 17755: Usually this means the macro was only invoked conditionally." >&2;}
! 17756: { (exit 1); exit 1; }; }
! 17757: fi
! 17758: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
! 17759: { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 17760: Usually this means the macro was only invoked conditionally." >&5
! 17761: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 17762: Usually this means the macro was only invoked conditionally." >&2;}
! 17763: { (exit 1); exit 1; }; }
! 17764: fi
! 17765: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[ ]*,,;s,[ :].*$,,'`
! 17766:
! 17767: _ltdl_libobjs=
! 17768: _ltdl_ltlibobjs=
! 17769: if test -n "$_LT_LIBOBJS"; then
! 17770: # Remove the extension.
! 17771: _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
! 17772: for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
! 17773: _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
! 17774: _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
! 17775: done
! 17776: fi
! 17777: ltdl_LIBOBJS=$_ltdl_libobjs
! 17778:
! 17779: ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
! 17780:
! 17781:
! 17782:
! 17783: : ${CONFIG_STATUS=./config.status}
! 17784: ac_clean_files_save=$ac_clean_files
! 17785: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 17786: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 17787: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 17788: cat >$CONFIG_STATUS <<_ACEOF
! 17789: #! $SHELL
! 17790: # Generated by $as_me.
! 17791: # Run this file to recreate the current configuration.
! 17792: # Compiler output produced by configure, useful for debugging
! 17793: # configure, is in config.log if it exists.
! 17794:
! 17795: debug=false
! 17796: ac_cs_recheck=false
! 17797: ac_cs_silent=false
! 17798: SHELL=\${CONFIG_SHELL-$SHELL}
! 17799: _ACEOF
! 17800:
! 17801: cat >>$CONFIG_STATUS <<\_ACEOF
! 17802: ## --------------------- ##
! 17803: ## M4sh Initialization. ##
! 17804: ## --------------------- ##
! 17805:
! 17806: # Be Bourne compatible
! 17807: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 17808: emulate sh
! 17809: NULLCMD=:
! 17810: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 17811: # is contrary to our usage. Disable this feature.
! 17812: alias -g '${1+"$@"}'='"$@"'
! 17813: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 17814: set -o posix
! 17815: fi
! 17816: DUALCASE=1; export DUALCASE # for MKS sh
! 17817:
! 17818: # Support unset when possible.
! 17819: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 17820: as_unset=unset
! 17821: else
! 17822: as_unset=false
! 17823: fi
! 17824:
! 17825:
! 17826: # Work around bugs in pre-3.0 UWIN ksh.
! 17827: $as_unset ENV MAIL MAILPATH
! 17828: PS1='$ '
! 17829: PS2='> '
! 17830: PS4='+ '
! 17831:
! 17832: # NLS nuisances.
! 17833: for as_var in \
! 17834: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 17835: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 17836: LC_TELEPHONE LC_TIME
! 17837: do
! 17838: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 17839: eval $as_var=C; export $as_var
! 17840: else
! 17841: $as_unset $as_var
! 17842: fi
! 17843: done
! 17844:
! 17845: # Required to use basename.
! 17846: if expr a : '\(a\)' >/dev/null 2>&1; then
! 17847: as_expr=expr
! 17848: else
! 17849: as_expr=false
! 17850: fi
! 17851:
! 17852: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 17853: as_basename=basename
! 17854: else
! 17855: as_basename=false
! 17856: fi
! 17857:
! 17858:
! 17859: # Name of the executable.
! 17860: as_me=`$as_basename "$0" ||
! 17861: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 17862: X"$0" : 'X\(//\)$' \| \
! 17863: X"$0" : 'X\(/\)$' \| \
! 17864: . : '\(.\)' 2>/dev/null ||
! 17865: echo X/"$0" |
! 17866: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 17867: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 17868: /^X\/\(\/\).*/{ s//\1/; q; }
! 17869: s/.*/./; q'`
! 17870:
! 17871:
! 17872: # PATH needs CR, and LINENO needs CR and PATH.
! 17873: # Avoid depending upon Character Ranges.
! 17874: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 17875: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 17876: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 17877: as_cr_digits='0123456789'
! 17878: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 17879:
! 17880: # The user is always right.
! 17881: if test "${PATH_SEPARATOR+set}" != set; then
! 17882: echo "#! /bin/sh" >conf$$.sh
! 17883: echo "exit 0" >>conf$$.sh
! 17884: chmod +x conf$$.sh
! 17885: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 17886: PATH_SEPARATOR=';'
! 17887: else
! 17888: PATH_SEPARATOR=:
! 17889: fi
! 17890: rm -f conf$$.sh
! 17891: fi
! 17892:
! 17893:
! 17894: as_lineno_1=$LINENO
! 17895: as_lineno_2=$LINENO
! 17896: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 17897: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 17898: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 17899: # Find who we are. Look in the path if we contain no path at all
! 17900: # relative or not.
! 17901: case $0 in
! 17902: *[\\/]* ) as_myself=$0 ;;
! 17903: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 17904: for as_dir in $PATH
! 17905: do
! 17906: IFS=$as_save_IFS
! 17907: test -z "$as_dir" && as_dir=.
! 17908: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 17909: done
! 17910:
! 17911: ;;
! 17912: esac
! 17913: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 17914: # in which case we are not to be found in the path.
! 17915: if test "x$as_myself" = x; then
! 17916: as_myself=$0
! 17917: fi
! 17918: if test ! -f "$as_myself"; then
! 17919: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 17920: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 17921: { (exit 1); exit 1; }; }
! 17922: fi
! 17923: case $CONFIG_SHELL in
! 17924: '')
! 17925: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 17926: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 17927: do
! 17928: IFS=$as_save_IFS
! 17929: test -z "$as_dir" && as_dir=.
! 17930: for as_base in sh bash ksh sh5; do
! 17931: case $as_dir in
! 17932: /*)
! 17933: if ("$as_dir/$as_base" -c '
! 17934: as_lineno_1=$LINENO
! 17935: as_lineno_2=$LINENO
! 17936: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 17937: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 17938: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 17939: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 17940: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 17941: CONFIG_SHELL=$as_dir/$as_base
! 17942: export CONFIG_SHELL
! 17943: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 17944: fi;;
! 17945: esac
! 17946: done
! 17947: done
! 17948: ;;
! 17949: esac
! 17950:
! 17951: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 17952: # uniformly replaced by the line number. The first 'sed' inserts a
! 17953: # line-number line before each line; the second 'sed' does the real
! 17954: # work. The second script uses 'N' to pair each line-number line
! 17955: # with the numbered line, and appends trailing '-' during
! 17956: # substitution so that $LINENO is not a special case at line end.
! 17957: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 17958: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 17959: sed '=' <$as_myself |
! 17960: sed '
! 17961: N
! 17962: s,$,-,
! 17963: : loop
! 17964: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 17965: t loop
! 17966: s,-$,,
! 17967: s,^['$as_cr_digits']*\n,,
! 17968: ' >$as_me.lineno &&
! 17969: chmod +x $as_me.lineno ||
! 17970: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 17971: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 17972: { (exit 1); exit 1; }; }
! 17973:
! 17974: # Don't try to exec as it changes $[0], causing all sort of problems
! 17975: # (the dirname of $[0] is not the place where we might find the
! 17976: # original and so on. Autoconf is especially sensible to this).
! 17977: . ./$as_me.lineno
! 17978: # Exit status is that of the last command.
! 17979: exit
! 17980: }
! 17981:
! 17982:
! 17983: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 17984: *c*,-n*) ECHO_N= ECHO_C='
! 17985: ' ECHO_T=' ' ;;
! 17986: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 17987: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 17988: esac
! 17989:
! 17990: if expr a : '\(a\)' >/dev/null 2>&1; then
! 17991: as_expr=expr
! 17992: else
! 17993: as_expr=false
! 17994: fi
! 17995:
! 17996: rm -f conf$$ conf$$.exe conf$$.file
! 17997: echo >conf$$.file
! 17998: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 17999: # We could just check for DJGPP; but this test a) works b) is more generic
! 18000: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 18001: if test -f conf$$.exe; then
! 18002: # Don't use ln at all; we don't have any links
! 18003: as_ln_s='cp -p'
! 18004: else
! 18005: as_ln_s='ln -s'
! 18006: fi
! 18007: elif ln conf$$.file conf$$ 2>/dev/null; then
! 18008: as_ln_s=ln
! 18009: else
! 18010: as_ln_s='cp -p'
! 18011: fi
! 18012: rm -f conf$$ conf$$.exe conf$$.file
! 18013:
! 18014: if mkdir -p . 2>/dev/null; then
! 18015: as_mkdir_p=:
! 18016: else
! 18017: test -d ./-p && rmdir ./-p
! 18018: as_mkdir_p=false
! 18019: fi
! 18020:
! 18021: as_executable_p="test -f"
! 18022:
! 18023: # Sed expression to map a string onto a valid CPP name.
! 18024: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 18025:
! 18026: # Sed expression to map a string onto a valid variable name.
! 18027: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 18028:
! 18029:
! 18030: # IFS
! 18031: # We need space, tab and new line, in precisely that order.
! 18032: as_nl='
! 18033: '
! 18034: IFS=" $as_nl"
! 18035:
! 18036: # CDPATH.
! 18037: $as_unset CDPATH
! 18038:
! 18039: exec 6>&1
! 18040:
! 18041: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 18042: # report actual input values of CONFIG_FILES etc. instead of their
! 18043: # values after options handling. Logging --version etc. is OK.
! 18044: exec 5>>config.log
! 18045: {
! 18046: echo
! 18047: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 18048: ## Running $as_me. ##
! 18049: _ASBOX
! 18050: } >&5
! 18051: cat >&5 <<_CSEOF
! 18052:
! 18053: This file was extended by parser3pgsql.C $as_me 10.3, which was
! 18054: generated by GNU Autoconf 2.59. Invocation command line was
! 18055:
! 18056: CONFIG_FILES = $CONFIG_FILES
! 18057: CONFIG_HEADERS = $CONFIG_HEADERS
! 18058: CONFIG_LINKS = $CONFIG_LINKS
! 18059: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 18060: $ $0 $@
! 18061:
! 18062: _CSEOF
! 18063: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 18064: echo >&5
! 18065: _ACEOF
! 18066:
! 18067: # Files that config.status was made for.
! 18068: if test -n "$ac_config_files"; then
! 18069: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 18070: fi
! 18071:
! 18072: if test -n "$ac_config_headers"; then
! 18073: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 18074: fi
! 18075:
! 18076: if test -n "$ac_config_links"; then
! 18077: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 18078: fi
! 18079:
! 18080: if test -n "$ac_config_commands"; then
! 18081: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 18082: fi
! 18083:
! 18084: cat >>$CONFIG_STATUS <<\_ACEOF
! 18085:
! 18086: ac_cs_usage="\
! 18087: \`$as_me' instantiates files from templates according to the
! 18088: current configuration.
! 18089:
! 18090: Usage: $0 [OPTIONS] [FILE]...
! 18091:
! 18092: -h, --help print this help, then exit
! 18093: -V, --version print version number, then exit
! 18094: -q, --quiet do not print progress messages
! 18095: -d, --debug don't remove temporary files
! 18096: --recheck update $as_me by reconfiguring in the same conditions
! 18097: --file=FILE[:TEMPLATE]
! 18098: instantiate the configuration file FILE
! 18099: --header=FILE[:TEMPLATE]
! 18100: instantiate the configuration header FILE
! 18101:
! 18102: Configuration files:
! 18103: $config_files
! 18104:
! 18105: Configuration headers:
! 18106: $config_headers
! 18107:
! 18108: Configuration commands:
! 18109: $config_commands
! 18110:
! 18111: Report bugs to <bug-autoconf@gnu.org>."
! 18112: _ACEOF
! 18113:
! 18114: cat >>$CONFIG_STATUS <<_ACEOF
! 18115: ac_cs_version="\\
! 18116: parser3pgsql.C config.status 10.3
! 18117: configured by $0, generated by GNU Autoconf 2.59,
! 18118: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 18119:
! 18120: Copyright (C) 2003 Free Software Foundation, Inc.
! 18121: This config.status script is free software; the Free Software Foundation
! 18122: gives unlimited permission to copy, distribute and modify it."
! 18123: srcdir=$srcdir
! 18124: INSTALL="$INSTALL"
! 18125: _ACEOF
! 18126:
! 18127: cat >>$CONFIG_STATUS <<\_ACEOF
! 18128: # If no file are specified by the user, then we need to provide default
! 18129: # value. By we need to know if files were specified by the user.
! 18130: ac_need_defaults=:
! 18131: while test $# != 0
! 18132: do
! 18133: case $1 in
! 18134: --*=*)
! 18135: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 18136: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 18137: ac_shift=:
! 18138: ;;
! 18139: -*)
! 18140: ac_option=$1
! 18141: ac_optarg=$2
! 18142: ac_shift=shift
! 18143: ;;
! 18144: *) # This is not an option, so the user has probably given explicit
! 18145: # arguments.
! 18146: ac_option=$1
! 18147: ac_need_defaults=false;;
! 18148: esac
! 18149:
! 18150: case $ac_option in
! 18151: # Handling of the options.
! 18152: _ACEOF
! 18153: cat >>$CONFIG_STATUS <<\_ACEOF
! 18154: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 18155: ac_cs_recheck=: ;;
! 18156: --version | --vers* | -V )
! 18157: echo "$ac_cs_version"; exit 0 ;;
! 18158: --he | --h)
! 18159: # Conflict between --help and --header
! 18160: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 18161: Try \`$0 --help' for more information." >&5
! 18162: echo "$as_me: error: ambiguous option: $1
! 18163: Try \`$0 --help' for more information." >&2;}
! 18164: { (exit 1); exit 1; }; };;
! 18165: --help | --hel | -h )
! 18166: echo "$ac_cs_usage"; exit 0 ;;
! 18167: --debug | --d* | -d )
! 18168: debug=: ;;
! 18169: --file | --fil | --fi | --f )
! 18170: $ac_shift
! 18171: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 18172: ac_need_defaults=false;;
! 18173: --header | --heade | --head | --hea )
! 18174: $ac_shift
! 18175: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 18176: ac_need_defaults=false;;
! 18177: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 18178: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 18179: ac_cs_silent=: ;;
! 18180:
! 18181: # This is an error.
! 18182: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 18183: Try \`$0 --help' for more information." >&5
! 18184: echo "$as_me: error: unrecognized option: $1
! 18185: Try \`$0 --help' for more information." >&2;}
! 18186: { (exit 1); exit 1; }; } ;;
! 18187:
! 18188: *) ac_config_targets="$ac_config_targets $1" ;;
! 18189:
! 18190: esac
! 18191: shift
! 18192: done
! 18193:
! 18194: ac_configure_extra_args=
! 18195:
! 18196: if $ac_cs_silent; then
! 18197: exec 6>/dev/null
! 18198: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 18199: fi
! 18200:
! 18201: _ACEOF
! 18202: cat >>$CONFIG_STATUS <<_ACEOF
! 18203: if \$ac_cs_recheck; then
! 18204: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 18205: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 18206: fi
! 18207:
! 18208: _ACEOF
! 18209:
! 18210: cat >>$CONFIG_STATUS <<_ACEOF
! 18211: #
! 18212: # INIT-COMMANDS section.
! 18213: #
! 18214:
! 18215: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 18216:
! 18217:
! 18218: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 18219: # if CDPATH is set.
! 18220: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 18221:
! 18222: sed_quote_subst='$sed_quote_subst'
! 18223: double_quote_subst='$double_quote_subst'
! 18224: delay_variable_subst='$delay_variable_subst'
! 18225: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
! 18226: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
! 18227: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
! 18228: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
! 18229: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
! 18230: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
! 18231: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
! 18232: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
! 18233: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
! 18234: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
! 18235: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
! 18236: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
! 18237: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
! 18238: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
! 18239: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
! 18240: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
! 18241: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
! 18242: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
! 18243: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
! 18244: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
! 18245: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
! 18246: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
! 18247: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
! 18248: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
! 18249: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
! 18250: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
! 18251: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
! 18252: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
! 18253: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
! 18254: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
! 18255: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
! 18256: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
! 18257: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
! 18258: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
! 18259: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
! 18260: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
! 18261: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
! 18262: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
! 18263: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
! 18264: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
! 18265: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
! 18266: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
! 18267: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
! 18268: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
! 18269: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
! 18270: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
! 18271: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18272: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18273: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
! 18274: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
! 18275: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
! 18276: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
! 18277: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
! 18278: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
! 18279: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
! 18280: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
! 18281: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
! 18282: 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"`'
! 18283: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
! 18284: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
! 18285: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
! 18286: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
! 18287: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
! 18288: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
! 18289: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
! 18290: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
! 18291: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
! 18292: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
! 18293: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
! 18294: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
! 18295: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
! 18296: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
! 18297: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
! 18298: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
! 18299: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
! 18300: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
! 18301: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 18302: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
! 18303: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
! 18304: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18305: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18306: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
! 18307: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
! 18308: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 18309: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
! 18310: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 18311: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
! 18312: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 18313: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
! 18314: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 18315: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 18316: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
! 18317: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
! 18318: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
! 18319: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
! 18320: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
! 18321: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 18322: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
! 18323: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
! 18324: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
! 18325: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
! 18326: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
! 18327: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
! 18328: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
! 18329: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
! 18330: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
! 18331: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
! 18332: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
! 18333: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
! 18334: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
! 18335: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
! 18336: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
! 18337: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 18338: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
! 18339: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
! 18340: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
! 18341: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
! 18342: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
! 18343: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18344: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 18345: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
! 18346: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
! 18347: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
! 18348: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
! 18349: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
! 18350: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
! 18351: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
! 18352: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
! 18353: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
! 18354: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
! 18355: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
! 18356: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
! 18357: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
! 18358: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
! 18359: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
! 18360: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
! 18361: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
! 18362: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
! 18363: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18364: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18365: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18366: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
! 18367: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
! 18368: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18369: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
! 18370: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
! 18371: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
! 18372: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
! 18373: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
! 18374: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
! 18375: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18376: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18377: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
! 18378: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18379: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18380: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18381: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18382: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18383: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18384: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
! 18385: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18386: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
! 18387: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18388: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
! 18389: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
! 18390: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
! 18391: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
! 18392: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
! 18393: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
! 18394: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
! 18395: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
! 18396: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
! 18397: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18398: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
! 18399: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
! 18400: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18401: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
! 18402: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
! 18403: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
! 18404: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
! 18405: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
! 18406: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
! 18407: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
! 18408: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
! 18409: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
! 18410:
! 18411: LTCC='$LTCC'
! 18412: LTCFLAGS='$LTCFLAGS'
! 18413: compiler='$compiler_DEFAULT'
! 18414:
! 18415: # A function that is used when there is no print builtin or printf.
! 18416: func_fallback_echo ()
! 18417: {
! 18418: eval 'cat <<_LTECHO_EOF
! 18419: \$1
! 18420: _LTECHO_EOF'
! 18421: }
! 18422:
! 18423: # Quote evaled strings.
! 18424: for var in AS \
! 18425: DLLTOOL \
! 18426: OBJDUMP \
! 18427: SHELL \
! 18428: ECHO \
! 18429: PATH_SEPARATOR \
! 18430: SED \
! 18431: GREP \
! 18432: EGREP \
! 18433: FGREP \
! 18434: LD \
! 18435: NM \
! 18436: LN_S \
! 18437: lt_SP2NL \
! 18438: lt_NL2SP \
! 18439: reload_flag \
! 18440: deplibs_check_method \
! 18441: file_magic_cmd \
! 18442: file_magic_glob \
! 18443: want_nocaseglob \
! 18444: sharedlib_from_linklib_cmd \
! 18445: AR \
! 18446: AR_FLAGS \
! 18447: archiver_list_spec \
! 18448: STRIP \
! 18449: RANLIB \
! 18450: CC \
! 18451: CFLAGS \
! 18452: compiler \
! 18453: lt_cv_sys_global_symbol_pipe \
! 18454: lt_cv_sys_global_symbol_to_cdecl \
! 18455: lt_cv_sys_global_symbol_to_c_name_address \
! 18456: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 18457: nm_file_list_spec \
! 18458: lt_prog_compiler_no_builtin_flag \
! 18459: lt_prog_compiler_pic \
! 18460: lt_prog_compiler_wl \
! 18461: lt_prog_compiler_static \
! 18462: lt_cv_prog_compiler_c_o \
! 18463: need_locks \
! 18464: MANIFEST_TOOL \
! 18465: DSYMUTIL \
! 18466: NMEDIT \
! 18467: LIPO \
! 18468: OTOOL \
! 18469: OTOOL64 \
! 18470: shrext_cmds \
! 18471: export_dynamic_flag_spec \
! 18472: whole_archive_flag_spec \
! 18473: compiler_needs_object \
! 18474: with_gnu_ld \
! 18475: allow_undefined_flag \
! 18476: no_undefined_flag \
! 18477: hardcode_libdir_flag_spec \
! 18478: hardcode_libdir_separator \
! 18479: exclude_expsyms \
! 18480: include_expsyms \
! 18481: file_list_spec \
! 18482: variables_saved_for_relink \
! 18483: libname_spec \
! 18484: library_names_spec \
! 18485: soname_spec \
! 18486: install_override_mode \
! 18487: finish_eval \
! 18488: old_striplib \
! 18489: striplib \
! 18490: compiler_lib_search_dirs \
! 18491: predep_objects \
! 18492: postdep_objects \
! 18493: predeps \
! 18494: postdeps \
! 18495: compiler_lib_search_path \
! 18496: LD_CXX \
! 18497: reload_flag_CXX \
! 18498: compiler_CXX \
! 18499: lt_prog_compiler_no_builtin_flag_CXX \
! 18500: lt_prog_compiler_pic_CXX \
! 18501: lt_prog_compiler_wl_CXX \
! 18502: lt_prog_compiler_static_CXX \
! 18503: lt_cv_prog_compiler_c_o_CXX \
! 18504: export_dynamic_flag_spec_CXX \
! 18505: whole_archive_flag_spec_CXX \
! 18506: compiler_needs_object_CXX \
! 18507: with_gnu_ld_CXX \
! 18508: allow_undefined_flag_CXX \
! 18509: no_undefined_flag_CXX \
! 18510: hardcode_libdir_flag_spec_CXX \
! 18511: hardcode_libdir_separator_CXX \
! 18512: exclude_expsyms_CXX \
! 18513: include_expsyms_CXX \
! 18514: file_list_spec_CXX \
! 18515: compiler_lib_search_dirs_CXX \
! 18516: predep_objects_CXX \
! 18517: postdep_objects_CXX \
! 18518: predeps_CXX \
! 18519: postdeps_CXX \
! 18520: compiler_lib_search_path_CXX; do
! 18521: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 18522: *[\\\\\\\`\\"\\\$]*)
! 18523: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 18524: ;;
! 18525: *)
! 18526: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 18527: ;;
! 18528: esac
! 18529: done
! 18530:
! 18531: # Double-quote double-evaled strings.
! 18532: for var in reload_cmds \
! 18533: old_postinstall_cmds \
! 18534: old_postuninstall_cmds \
! 18535: old_archive_cmds \
! 18536: extract_expsyms_cmds \
! 18537: old_archive_from_new_cmds \
! 18538: old_archive_from_expsyms_cmds \
! 18539: archive_cmds \
! 18540: archive_expsym_cmds \
! 18541: module_cmds \
! 18542: module_expsym_cmds \
! 18543: export_symbols_cmds \
! 18544: prelink_cmds \
! 18545: postlink_cmds \
! 18546: postinstall_cmds \
! 18547: postuninstall_cmds \
! 18548: finish_cmds \
! 18549: sys_lib_search_path_spec \
! 18550: sys_lib_dlsearch_path_spec \
! 18551: reload_cmds_CXX \
! 18552: old_archive_cmds_CXX \
! 18553: old_archive_from_new_cmds_CXX \
! 18554: old_archive_from_expsyms_cmds_CXX \
! 18555: archive_cmds_CXX \
! 18556: archive_expsym_cmds_CXX \
! 18557: module_cmds_CXX \
! 18558: module_expsym_cmds_CXX \
! 18559: export_symbols_cmds_CXX \
! 18560: prelink_cmds_CXX \
! 18561: postlink_cmds_CXX; do
! 18562: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 18563: *[\\\\\\\`\\"\\\$]*)
! 18564: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 18565: ;;
! 18566: *)
! 18567: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 18568: ;;
! 18569: esac
! 18570: done
! 18571:
! 18572: ac_aux_dir='$ac_aux_dir'
! 18573: xsi_shell='$xsi_shell'
! 18574: lt_shell_append='$lt_shell_append'
! 18575:
! 18576: # See if we are running on zsh, and set the options which allow our
! 18577: # commands through without removal of \ escapes INIT.
! 18578: if test -n "\${ZSH_VERSION+set}" ; then
! 18579: setopt NO_GLOB_SUBST
! 18580: fi
! 18581:
! 18582:
! 18583: PACKAGE='$PACKAGE'
! 18584: VERSION='$VERSION'
! 18585: TIMESTAMP='$TIMESTAMP'
! 18586: RM='$RM'
! 18587: ofile='$ofile'
! 18588:
! 18589:
! 18590:
! 18591:
! 18592:
! 18593:
! 18594: _ACEOF
! 18595:
! 18596:
! 18597:
! 18598: cat >>$CONFIG_STATUS <<\_ACEOF
! 18599: for ac_config_target in $ac_config_targets
! 18600: do
! 18601: case "$ac_config_target" in
! 18602: # Handling of arguments.
! 18603: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 18604: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 18605: "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 18606: "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
! 18607: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 18608: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 18609: { (exit 1); exit 1; }; };;
! 18610: esac
! 18611: done
! 18612:
! 18613: # If the user did not use the arguments to specify the items to instantiate,
! 18614: # then the envvar interface is used. Set only those that are not.
! 18615: # We use the long form for the default assignment because of an extremely
! 18616: # bizarre bug on SunOS 4.1.3.
! 18617: if $ac_need_defaults; then
! 18618: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 18619: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 18620: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 18621: fi
! 18622:
! 18623: # Have a temporary directory for convenience. Make it in the build tree
! 18624: # simply because there is no reason to put it here, and in addition,
! 18625: # creating and moving files from /tmp can sometimes cause problems.
! 18626: # Create a temporary directory, and hook for its removal unless debugging.
! 18627: $debug ||
! 18628: {
! 18629: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 18630: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 18631: }
! 18632:
! 18633: # Create a (secure) tmp directory for tmp files.
! 18634:
! 18635: {
! 18636: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 18637: test -n "$tmp" && test -d "$tmp"
! 18638: } ||
! 18639: {
! 18640: tmp=./confstat$$-$RANDOM
! 18641: (umask 077 && mkdir $tmp)
! 18642: } ||
! 18643: {
! 18644: echo "$me: cannot create a temporary directory in ." >&2
! 18645: { (exit 1); exit 1; }
! 18646: }
! 18647:
! 18648: _ACEOF
! 18649:
! 18650: cat >>$CONFIG_STATUS <<_ACEOF
! 18651:
! 18652: #
! 18653: # CONFIG_FILES section.
! 18654: #
! 18655:
! 18656: # No need to generate the scripts if there are no CONFIG_FILES.
! 18657: # This happens for instance when ./config.status config.h
! 18658: if test -n "\$CONFIG_FILES"; then
! 18659: # Protect against being on the right side of a sed subst in config.status.
! 18660: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 18661: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 18662: s,@SHELL@,$SHELL,;t t
! 18663: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 18664: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 18665: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 18666: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 18667: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 18668: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 18669: s,@exec_prefix@,$exec_prefix,;t t
! 18670: s,@prefix@,$prefix,;t t
! 18671: s,@program_transform_name@,$program_transform_name,;t t
! 18672: s,@bindir@,$bindir,;t t
! 18673: s,@sbindir@,$sbindir,;t t
! 18674: s,@libexecdir@,$libexecdir,;t t
! 18675: s,@datadir@,$datadir,;t t
! 18676: s,@sysconfdir@,$sysconfdir,;t t
! 18677: s,@sharedstatedir@,$sharedstatedir,;t t
! 18678: s,@localstatedir@,$localstatedir,;t t
! 18679: s,@libdir@,$libdir,;t t
! 18680: s,@includedir@,$includedir,;t t
! 18681: s,@oldincludedir@,$oldincludedir,;t t
! 18682: s,@infodir@,$infodir,;t t
! 18683: s,@mandir@,$mandir,;t t
! 18684: s,@build_alias@,$build_alias,;t t
! 18685: s,@host_alias@,$host_alias,;t t
! 18686: s,@target_alias@,$target_alias,;t t
! 18687: s,@DEFS@,$DEFS,;t t
! 18688: s,@ECHO_C@,$ECHO_C,;t t
! 18689: s,@ECHO_N@,$ECHO_N,;t t
! 18690: s,@ECHO_T@,$ECHO_T,;t t
! 18691: s,@LIBS@,$LIBS,;t t
! 18692: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 18693: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 18694: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 18695: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 18696: s,@PACKAGE@,$PACKAGE,;t t
! 18697: s,@VERSION@,$VERSION,;t t
! 18698: s,@ACLOCAL@,$ACLOCAL,;t t
! 18699: s,@AUTOCONF@,$AUTOCONF,;t t
! 18700: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 18701: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 18702: s,@MAKEINFO@,$MAKEINFO,;t t
! 18703: s,@install_sh@,$install_sh,;t t
! 18704: s,@STRIP@,$STRIP,;t t
! 18705: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 18706: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 18707: s,@mkdir_p@,$mkdir_p,;t t
! 18708: s,@AWK@,$AWK,;t t
! 18709: s,@SET_MAKE@,$SET_MAKE,;t t
! 18710: s,@am__leading_dot@,$am__leading_dot,;t t
! 18711: s,@AMTAR@,$AMTAR,;t t
! 18712: s,@am__tar@,$am__tar,;t t
! 18713: s,@am__untar@,$am__untar,;t t
! 18714: s,@PGSQL_INC@,$PGSQL_INC,;t t
! 18715: s,@LDFLAGS@,$LDFLAGS,;t t
! 18716: s,@CXX@,$CXX,;t t
! 18717: s,@CXXFLAGS@,$CXXFLAGS,;t t
! 18718: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 18719: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
! 18720: s,@EXEEXT@,$EXEEXT,;t t
! 18721: s,@OBJEXT@,$OBJEXT,;t t
! 18722: s,@DEPDIR@,$DEPDIR,;t t
! 18723: s,@am__include@,$am__include,;t t
! 18724: s,@am__quote@,$am__quote,;t t
! 18725: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 18726: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 18727: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 18728: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
! 18729: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
! 18730: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
! 18731: s,@CC@,$CC,;t t
! 18732: s,@CFLAGS@,$CFLAGS,;t t
! 18733: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 18734: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 18735: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 18736: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 18737: s,@AS@,$AS,;t t
! 18738: s,@ac_ct_AS@,$ac_ct_AS,;t t
! 18739: s,@DLLTOOL@,$DLLTOOL,;t t
! 18740: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
! 18741: s,@OBJDUMP@,$OBJDUMP,;t t
! 18742: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
! 18743: s,@LIBTOOL@,$LIBTOOL,;t t
! 18744: s,@build@,$build,;t t
! 18745: s,@build_cpu@,$build_cpu,;t t
! 18746: s,@build_vendor@,$build_vendor,;t t
! 18747: s,@build_os@,$build_os,;t t
! 18748: s,@host@,$host,;t t
! 18749: s,@host_cpu@,$host_cpu,;t t
! 18750: s,@host_vendor@,$host_vendor,;t t
! 18751: s,@host_os@,$host_os,;t t
! 18752: s,@SED@,$SED,;t t
! 18753: s,@EGREP@,$EGREP,;t t
! 18754: s,@FGREP@,$FGREP,;t t
! 18755: s,@GREP@,$GREP,;t t
! 18756: s,@LD@,$LD,;t t
! 18757: s,@DUMPBIN@,$DUMPBIN,;t t
! 18758: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
! 18759: s,@NM@,$NM,;t t
! 18760: s,@LN_S@,$LN_S,;t t
! 18761: s,@AR@,$AR,;t t
! 18762: s,@ac_ct_AR@,$ac_ct_AR,;t t
! 18763: s,@RANLIB@,$RANLIB,;t t
! 18764: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 18765: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
! 18766: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
! 18767: s,@DSYMUTIL@,$DSYMUTIL,;t t
! 18768: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
! 18769: s,@NMEDIT@,$NMEDIT,;t t
! 18770: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
! 18771: s,@LIPO@,$LIPO,;t t
! 18772: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
! 18773: s,@OTOOL@,$OTOOL,;t t
! 18774: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
! 18775: s,@OTOOL64@,$OTOOL64,;t t
! 18776: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
! 18777: s,@CPP@,$CPP,;t t
! 18778: s,@CXXCPP@,$CXXCPP,;t t
! 18779: s,@LIBLTDL@,$LIBLTDL,;t t
! 18780: s,@LTDLDEPS@,$LTDLDEPS,;t t
! 18781: s,@LTDLINCL@,$LTDLINCL,;t t
! 18782: s,@INCLTDL@,$INCLTDL,;t t
! 18783: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
! 18784: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
! 18785: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
! 18786: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
! 18787: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
! 18788: s,@LIBADD_DL@,$LIBADD_DL,;t t
! 18789: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
! 18790: s,@ARGZ_H@,$ARGZ_H,;t t
! 18791: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
! 18792: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
! 18793: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
! 18794: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
! 18795: s,@subdirs@,$subdirs,;t t
! 18796: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
! 18797: s,@LTDLOPEN@,$LTDLOPEN,;t t
! 18798: s,@LIBOBJS@,$LIBOBJS,;t t
! 18799: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 18800: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
! 18801: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
! 18802: CEOF
! 18803:
! 18804: _ACEOF
! 18805:
! 18806: cat >>$CONFIG_STATUS <<\_ACEOF
! 18807: # Split the substitutions into bite-sized pieces for seds with
! 18808: # small command number limits, like on Digital OSF/1 and HP-UX.
! 18809: ac_max_sed_lines=48
! 18810: ac_sed_frag=1 # Number of current file.
! 18811: ac_beg=1 # First line for current file.
! 18812: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 18813: ac_more_lines=:
! 18814: ac_sed_cmds=
! 18815: while $ac_more_lines; do
! 18816: if test $ac_beg -gt 1; then
! 18817: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 18818: else
! 18819: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 18820: fi
! 18821: if test ! -s $tmp/subs.frag; then
! 18822: ac_more_lines=false
! 18823: else
! 18824: # The purpose of the label and of the branching condition is to
! 18825: # speed up the sed processing (if there are no `@' at all, there
! 18826: # is no need to browse any of the substitutions).
! 18827: # These are the two extra sed commands mentioned above.
! 18828: (echo ':t
! 18829: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 18830: if test -z "$ac_sed_cmds"; then
! 18831: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 18832: else
! 18833: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 18834: fi
! 18835: ac_sed_frag=`expr $ac_sed_frag + 1`
! 18836: ac_beg=$ac_end
! 18837: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 18838: fi
! 18839: done
! 18840: if test -z "$ac_sed_cmds"; then
! 18841: ac_sed_cmds=cat
! 18842: fi
! 18843: fi # test -n "$CONFIG_FILES"
! 18844:
! 18845: _ACEOF
! 18846: cat >>$CONFIG_STATUS <<\_ACEOF
! 18847: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 18848: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 18849: case $ac_file in
! 18850: - | *:- | *:-:* ) # input from stdin
! 18851: cat >$tmp/stdin
! 18852: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 18853: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 18854: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 18855: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 18856: * ) ac_file_in=$ac_file.in ;;
! 18857: esac
! 18858:
! 18859: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 18860: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 18861: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18862: X"$ac_file" : 'X\(//\)[^/]' \| \
! 18863: X"$ac_file" : 'X\(//\)$' \| \
! 18864: X"$ac_file" : 'X\(/\)' \| \
! 18865: . : '\(.\)' 2>/dev/null ||
! 18866: echo X"$ac_file" |
! 18867: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 18868: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 18869: /^X\(\/\/\)$/{ s//\1/; q; }
! 18870: /^X\(\/\).*/{ s//\1/; q; }
! 18871: s/.*/./; q'`
! 18872: { if $as_mkdir_p; then
! 18873: mkdir -p "$ac_dir"
! 18874: else
! 18875: as_dir="$ac_dir"
! 18876: as_dirs=
! 18877: while test ! -d "$as_dir"; do
! 18878: as_dirs="$as_dir $as_dirs"
! 18879: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 18880: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18881: X"$as_dir" : 'X\(//\)[^/]' \| \
! 18882: X"$as_dir" : 'X\(//\)$' \| \
! 18883: X"$as_dir" : 'X\(/\)' \| \
! 18884: . : '\(.\)' 2>/dev/null ||
! 18885: echo X"$as_dir" |
! 18886: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 18887: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 18888: /^X\(\/\/\)$/{ s//\1/; q; }
! 18889: /^X\(\/\).*/{ s//\1/; q; }
! 18890: s/.*/./; q'`
! 18891: done
! 18892: test ! -n "$as_dirs" || mkdir $as_dirs
! 18893: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 18894: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 18895: { (exit 1); exit 1; }; }; }
! 18896:
! 18897: ac_builddir=.
! 18898:
! 18899: if test "$ac_dir" != .; then
! 18900: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 18901: # A "../" for each directory in $ac_dir_suffix.
! 18902: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 18903: else
! 18904: ac_dir_suffix= ac_top_builddir=
! 18905: fi
! 18906:
! 18907: case $srcdir in
! 18908: .) # No --srcdir option. We are building in place.
! 18909: ac_srcdir=.
! 18910: if test -z "$ac_top_builddir"; then
! 18911: ac_top_srcdir=.
! 18912: else
! 18913: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 18914: fi ;;
! 18915: [\\/]* | ?:[\\/]* ) # Absolute path.
! 18916: ac_srcdir=$srcdir$ac_dir_suffix;
! 18917: ac_top_srcdir=$srcdir ;;
! 18918: *) # Relative path.
! 18919: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 18920: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 18921: esac
! 18922:
! 18923: # Do not use `cd foo && pwd` to compute absolute paths, because
! 18924: # the directories may not exist.
! 18925: case `pwd` in
! 18926: .) ac_abs_builddir="$ac_dir";;
! 18927: *)
! 18928: case "$ac_dir" in
! 18929: .) ac_abs_builddir=`pwd`;;
! 18930: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 18931: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 18932: esac;;
! 18933: esac
! 18934: case $ac_abs_builddir in
! 18935: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 18936: *)
! 18937: case ${ac_top_builddir}. in
! 18938: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 18939: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 18940: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 18941: esac;;
! 18942: esac
! 18943: case $ac_abs_builddir in
! 18944: .) ac_abs_srcdir=$ac_srcdir;;
! 18945: *)
! 18946: case $ac_srcdir in
! 18947: .) ac_abs_srcdir=$ac_abs_builddir;;
! 18948: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 18949: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 18950: esac;;
! 18951: esac
! 18952: case $ac_abs_builddir in
! 18953: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 18954: *)
! 18955: case $ac_top_srcdir in
! 18956: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 18957: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 18958: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 18959: esac;;
! 18960: esac
! 18961:
! 18962:
! 18963: case $INSTALL in
! 18964: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 18965: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
! 18966: esac
! 18967:
! 18968: if test x"$ac_file" != x-; then
! 18969: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 18970: echo "$as_me: creating $ac_file" >&6;}
! 18971: rm -f "$ac_file"
! 18972: fi
! 18973: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 18974: # use $as_me), people would be surprised to read:
! 18975: # /* config.h. Generated by config.status. */
! 18976: if test x"$ac_file" = x-; then
! 18977: configure_input=
! 18978: else
! 18979: configure_input="$ac_file. "
! 18980: fi
! 18981: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 18982: sed 's,.*/,,'` by configure."
! 18983:
! 18984: # First look for the input files in the build tree, otherwise in the
! 18985: # src tree.
! 18986: ac_file_inputs=`IFS=:
! 18987: for f in $ac_file_in; do
! 18988: case $f in
! 18989: -) echo $tmp/stdin ;;
! 18990: [\\/$]*)
! 18991: # Absolute (can't be DOS-style, as IFS=:)
! 18992: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 18993: echo "$as_me: error: cannot find input file: $f" >&2;}
! 18994: { (exit 1); exit 1; }; }
! 18995: echo "$f";;
! 18996: *) # Relative
! 18997: if test -f "$f"; then
! 18998: # Build tree
! 18999: echo "$f"
! 19000: elif test -f "$srcdir/$f"; then
! 19001: # Source tree
! 19002: echo "$srcdir/$f"
! 19003: else
! 19004: # /dev/null tree
! 19005: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19006: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19007: { (exit 1); exit 1; }; }
! 19008: fi;;
! 19009: esac
! 19010: done` || { (exit 1); exit 1; }
! 19011: _ACEOF
! 19012: cat >>$CONFIG_STATUS <<_ACEOF
! 19013: sed "$ac_vpsub
! 19014: $extrasub
! 19015: _ACEOF
! 19016: cat >>$CONFIG_STATUS <<\_ACEOF
! 19017: :t
! 19018: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 19019: s,@configure_input@,$configure_input,;t t
! 19020: s,@srcdir@,$ac_srcdir,;t t
! 19021: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 19022: s,@top_srcdir@,$ac_top_srcdir,;t t
! 19023: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 19024: s,@builddir@,$ac_builddir,;t t
! 19025: s,@abs_builddir@,$ac_abs_builddir,;t t
! 19026: s,@top_builddir@,$ac_top_builddir,;t t
! 19027: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 19028: s,@INSTALL@,$ac_INSTALL,;t t
! 19029: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 19030: rm -f $tmp/stdin
! 19031: if test x"$ac_file" != x-; then
! 19032: mv $tmp/out $ac_file
! 19033: else
! 19034: cat $tmp/out
! 19035: rm -f $tmp/out
! 19036: fi
! 19037:
! 19038: done
! 19039: _ACEOF
! 19040: cat >>$CONFIG_STATUS <<\_ACEOF
! 19041:
! 19042: #
! 19043: # CONFIG_HEADER section.
! 19044: #
! 19045:
! 19046: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 19047: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 19048: #
! 19049: # ac_d sets the value in "#define NAME VALUE" lines.
! 19050: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 19051: ac_dB='[ ].*$,\1#\2'
! 19052: ac_dC=' '
! 19053: ac_dD=',;t'
! 19054: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 19055: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 19056: ac_uB='$,\1#\2define\3'
! 19057: ac_uC=' '
! 19058: ac_uD=',;t'
! 19059:
! 19060: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 19061: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 19062: case $ac_file in
! 19063: - | *:- | *:-:* ) # input from stdin
! 19064: cat >$tmp/stdin
! 19065: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19066: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19067: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19068: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 19069: * ) ac_file_in=$ac_file.in ;;
! 19070: esac
! 19071:
! 19072: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 19073: echo "$as_me: creating $ac_file" >&6;}
! 19074:
! 19075: # First look for the input files in the build tree, otherwise in the
! 19076: # src tree.
! 19077: ac_file_inputs=`IFS=:
! 19078: for f in $ac_file_in; do
! 19079: case $f in
! 19080: -) echo $tmp/stdin ;;
! 19081: [\\/$]*)
! 19082: # Absolute (can't be DOS-style, as IFS=:)
! 19083: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19084: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19085: { (exit 1); exit 1; }; }
! 19086: # Do quote $f, to prevent DOS paths from being IFS'd.
! 19087: echo "$f";;
! 19088: *) # Relative
! 19089: if test -f "$f"; then
! 19090: # Build tree
! 19091: echo "$f"
! 19092: elif test -f "$srcdir/$f"; then
! 19093: # Source tree
! 19094: echo "$srcdir/$f"
! 19095: else
! 19096: # /dev/null tree
! 19097: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 19098: echo "$as_me: error: cannot find input file: $f" >&2;}
! 19099: { (exit 1); exit 1; }; }
! 19100: fi;;
! 19101: esac
! 19102: done` || { (exit 1); exit 1; }
! 19103: # Remove the trailing spaces.
! 19104: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 19105:
! 19106: _ACEOF
! 19107:
! 19108: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 19109: # `conftest.undefs', that substitutes the proper values into
! 19110: # config.h.in to produce config.h. The first handles `#define'
! 19111: # templates, and the second `#undef' templates.
! 19112: # And first: Protect against being on the right side of a sed subst in
! 19113: # config.status. Protect against being in an unquoted here document
! 19114: # in config.status.
! 19115: rm -f conftest.defines conftest.undefs
! 19116: # Using a here document instead of a string reduces the quoting nightmare.
! 19117: # Putting comments in sed scripts is not portable.
! 19118: #
! 19119: # `end' is used to avoid that the second main sed command (meant for
! 19120: # 0-ary CPP macros) applies to n-ary macro definitions.
! 19121: # See the Autoconf documentation for `clear'.
! 19122: cat >confdef2sed.sed <<\_ACEOF
! 19123: s/[\\&,]/\\&/g
! 19124: s,[\\$`],\\&,g
! 19125: t clear
! 19126: : clear
! 19127: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 19128: t end
! 19129: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 19130: : end
! 19131: _ACEOF
! 19132: # If some macros were called several times there might be several times
! 19133: # the same #defines, which is useless. Nevertheless, we may not want to
! 19134: # sort them, since we want the *last* AC-DEFINE to be honored.
! 19135: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 19136: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 19137: rm -f confdef2sed.sed
! 19138:
! 19139: # This sed command replaces #undef with comments. This is necessary, for
! 19140: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 19141: # on some systems where configure will not decide to define it.
! 19142: cat >>conftest.undefs <<\_ACEOF
! 19143: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 19144: _ACEOF
! 19145:
! 19146: # Break up conftest.defines because some shells have a limit on the size
! 19147: # of here documents, and old seds have small limits too (100 cmds).
! 19148: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 19149: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 19150: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 19151: echo ' :' >>$CONFIG_STATUS
! 19152: rm -f conftest.tail
! 19153: while grep . conftest.defines >/dev/null
! 19154: do
! 19155: # Write a limited-size here document to $tmp/defines.sed.
! 19156: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 19157: # Speed up: don't consider the non `#define' lines.
! 19158: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 19159: # Work around the forget-to-reset-the-flag bug.
! 19160: echo 't clr' >>$CONFIG_STATUS
! 19161: echo ': clr' >>$CONFIG_STATUS
! 19162: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 19163: echo 'CEOF
! 19164: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 19165: rm -f $tmp/in
! 19166: mv $tmp/out $tmp/in
! 19167: ' >>$CONFIG_STATUS
! 19168: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 19169: rm -f conftest.defines
! 19170: mv conftest.tail conftest.defines
! 19171: done
! 19172: rm -f conftest.defines
! 19173: echo ' fi # grep' >>$CONFIG_STATUS
! 19174: echo >>$CONFIG_STATUS
! 19175:
! 19176: # Break up conftest.undefs because some shells have a limit on the size
! 19177: # of here documents, and old seds have small limits too (100 cmds).
! 19178: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 19179: rm -f conftest.tail
! 19180: while grep . conftest.undefs >/dev/null
! 19181: do
! 19182: # Write a limited-size here document to $tmp/undefs.sed.
! 19183: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 19184: # Speed up: don't consider the non `#undef'
! 19185: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 19186: # Work around the forget-to-reset-the-flag bug.
! 19187: echo 't clr' >>$CONFIG_STATUS
! 19188: echo ': clr' >>$CONFIG_STATUS
! 19189: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 19190: echo 'CEOF
! 19191: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 19192: rm -f $tmp/in
! 19193: mv $tmp/out $tmp/in
! 19194: ' >>$CONFIG_STATUS
! 19195: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 19196: rm -f conftest.undefs
! 19197: mv conftest.tail conftest.undefs
! 19198: done
! 19199: rm -f conftest.undefs
! 19200:
! 19201: cat >>$CONFIG_STATUS <<\_ACEOF
! 19202: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 19203: # use $as_me), people would be surprised to read:
! 19204: # /* config.h. Generated by config.status. */
! 19205: if test x"$ac_file" = x-; then
! 19206: echo "/* Generated by configure. */" >$tmp/config.h
! 19207: else
! 19208: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 19209: fi
! 19210: cat $tmp/in >>$tmp/config.h
! 19211: rm -f $tmp/in
! 19212: if test x"$ac_file" != x-; then
! 19213: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 19214: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 19215: echo "$as_me: $ac_file is unchanged" >&6;}
! 19216: else
! 19217: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 19218: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19219: X"$ac_file" : 'X\(//\)[^/]' \| \
! 19220: X"$ac_file" : 'X\(//\)$' \| \
! 19221: X"$ac_file" : 'X\(/\)' \| \
! 19222: . : '\(.\)' 2>/dev/null ||
! 19223: echo X"$ac_file" |
! 19224: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19225: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19226: /^X\(\/\/\)$/{ s//\1/; q; }
! 19227: /^X\(\/\).*/{ s//\1/; q; }
! 19228: s/.*/./; q'`
! 19229: { if $as_mkdir_p; then
! 19230: mkdir -p "$ac_dir"
! 19231: else
! 19232: as_dir="$ac_dir"
! 19233: as_dirs=
! 19234: while test ! -d "$as_dir"; do
! 19235: as_dirs="$as_dir $as_dirs"
! 19236: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19237: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19238: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19239: X"$as_dir" : 'X\(//\)$' \| \
! 19240: X"$as_dir" : 'X\(/\)' \| \
! 19241: . : '\(.\)' 2>/dev/null ||
! 19242: echo X"$as_dir" |
! 19243: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19244: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19245: /^X\(\/\/\)$/{ s//\1/; q; }
! 19246: /^X\(\/\).*/{ s//\1/; q; }
! 19247: s/.*/./; q'`
! 19248: done
! 19249: test ! -n "$as_dirs" || mkdir $as_dirs
! 19250: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19251: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19252: { (exit 1); exit 1; }; }; }
! 19253:
! 19254: rm -f $ac_file
! 19255: mv $tmp/config.h $ac_file
! 19256: fi
! 19257: else
! 19258: cat $tmp/config.h
! 19259: rm -f $tmp/config.h
! 19260: fi
! 19261: # Compute $ac_file's index in $config_headers.
! 19262: _am_stamp_count=1
! 19263: for _am_header in $config_headers :; do
! 19264: case $_am_header in
! 19265: $ac_file | $ac_file:* )
! 19266: break ;;
! 19267: * )
! 19268: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 19269: esac
! 19270: done
! 19271: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 19272: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19273: X$ac_file : 'X\(//\)[^/]' \| \
! 19274: X$ac_file : 'X\(//\)$' \| \
! 19275: X$ac_file : 'X\(/\)' \| \
! 19276: . : '\(.\)' 2>/dev/null ||
! 19277: echo X$ac_file |
! 19278: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19279: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19280: /^X\(\/\/\)$/{ s//\1/; q; }
! 19281: /^X\(\/\).*/{ s//\1/; q; }
! 19282: s/.*/./; q'`/stamp-h$_am_stamp_count
! 19283: done
! 19284: _ACEOF
! 19285: cat >>$CONFIG_STATUS <<\_ACEOF
! 19286:
! 19287: #
! 19288: # CONFIG_COMMANDS section.
! 19289: #
! 19290: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 19291: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 19292: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 19293: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 19294: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19295: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 19296: X"$ac_dest" : 'X\(//\)$' \| \
! 19297: X"$ac_dest" : 'X\(/\)' \| \
! 19298: . : '\(.\)' 2>/dev/null ||
! 19299: echo X"$ac_dest" |
! 19300: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19301: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19302: /^X\(\/\/\)$/{ s//\1/; q; }
! 19303: /^X\(\/\).*/{ s//\1/; q; }
! 19304: s/.*/./; q'`
! 19305: { if $as_mkdir_p; then
! 19306: mkdir -p "$ac_dir"
! 19307: else
! 19308: as_dir="$ac_dir"
! 19309: as_dirs=
! 19310: while test ! -d "$as_dir"; do
! 19311: as_dirs="$as_dir $as_dirs"
! 19312: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19313: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19314: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19315: X"$as_dir" : 'X\(//\)$' \| \
! 19316: X"$as_dir" : 'X\(/\)' \| \
! 19317: . : '\(.\)' 2>/dev/null ||
! 19318: echo X"$as_dir" |
! 19319: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19320: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19321: /^X\(\/\/\)$/{ s//\1/; q; }
! 19322: /^X\(\/\).*/{ s//\1/; q; }
! 19323: s/.*/./; q'`
! 19324: done
! 19325: test ! -n "$as_dirs" || mkdir $as_dirs
! 19326: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 19327: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 19328: { (exit 1); exit 1; }; }; }
! 19329:
! 19330: ac_builddir=.
! 19331:
! 19332: if test "$ac_dir" != .; then
! 19333: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 19334: # A "../" for each directory in $ac_dir_suffix.
! 19335: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 19336: else
! 19337: ac_dir_suffix= ac_top_builddir=
! 19338: fi
! 19339:
! 19340: case $srcdir in
! 19341: .) # No --srcdir option. We are building in place.
! 19342: ac_srcdir=.
! 19343: if test -z "$ac_top_builddir"; then
! 19344: ac_top_srcdir=.
! 19345: else
! 19346: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 19347: fi ;;
! 19348: [\\/]* | ?:[\\/]* ) # Absolute path.
! 19349: ac_srcdir=$srcdir$ac_dir_suffix;
! 19350: ac_top_srcdir=$srcdir ;;
! 19351: *) # Relative path.
! 19352: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 19353: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 19354: esac
! 19355:
! 19356: # Do not use `cd foo && pwd` to compute absolute paths, because
! 19357: # the directories may not exist.
! 19358: case `pwd` in
! 19359: .) ac_abs_builddir="$ac_dir";;
! 19360: *)
! 19361: case "$ac_dir" in
! 19362: .) ac_abs_builddir=`pwd`;;
! 19363: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 19364: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 19365: esac;;
! 19366: esac
! 19367: case $ac_abs_builddir in
! 19368: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19369: *)
! 19370: case ${ac_top_builddir}. in
! 19371: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 19372: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 19373: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 19374: esac;;
! 19375: esac
! 19376: case $ac_abs_builddir in
! 19377: .) ac_abs_srcdir=$ac_srcdir;;
! 19378: *)
! 19379: case $ac_srcdir in
! 19380: .) ac_abs_srcdir=$ac_abs_builddir;;
! 19381: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 19382: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 19383: esac;;
! 19384: esac
! 19385: case $ac_abs_builddir in
! 19386: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19387: *)
! 19388: case $ac_top_srcdir in
! 19389: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 19390: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 19391: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 19392: esac;;
! 19393: esac
! 19394:
! 19395:
! 19396: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 19397: echo "$as_me: executing $ac_dest commands" >&6;}
! 19398: case $ac_dest in
! 19399: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 19400: # Strip MF so we end up with the name of the file.
! 19401: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 19402: # Check whether this is an Automake generated Makefile or not.
! 19403: # We used to match only the files named `Makefile.in', but
! 19404: # some people rename them; so instead we look at the file content.
! 19405: # Grep'ing the first line is not enough: some people post-process
! 19406: # each Makefile.in and add a new line on top of each file to say so.
! 19407: # So let's grep whole file.
! 19408: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 19409: dirpart=`(dirname "$mf") 2>/dev/null ||
! 19410: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19411: X"$mf" : 'X\(//\)[^/]' \| \
! 19412: X"$mf" : 'X\(//\)$' \| \
! 19413: X"$mf" : 'X\(/\)' \| \
! 19414: . : '\(.\)' 2>/dev/null ||
! 19415: echo X"$mf" |
! 19416: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19417: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19418: /^X\(\/\/\)$/{ s//\1/; q; }
! 19419: /^X\(\/\).*/{ s//\1/; q; }
! 19420: s/.*/./; q'`
! 19421: else
! 19422: continue
! 19423: fi
! 19424: # Extract the definition of DEPDIR, am__include, and am__quote
! 19425: # from the Makefile without running `make'.
! 19426: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 19427: test -z "$DEPDIR" && continue
! 19428: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 19429: test -z "am__include" && continue
! 19430: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 19431: # When using ansi2knr, U may be empty or an underscore; expand it
! 19432: U=`sed -n 's/^U = //p' < "$mf"`
! 19433: # Find all dependency output files, they are included files with
! 19434: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 19435: # simplest approach to changing $(DEPDIR) to its actual value in the
! 19436: # expansion.
! 19437: for file in `sed -n "
! 19438: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 19439: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 19440: # Make sure the directory exists.
! 19441: test -f "$dirpart/$file" && continue
! 19442: fdir=`(dirname "$file") 2>/dev/null ||
! 19443: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19444: X"$file" : 'X\(//\)[^/]' \| \
! 19445: X"$file" : 'X\(//\)$' \| \
! 19446: X"$file" : 'X\(/\)' \| \
! 19447: . : '\(.\)' 2>/dev/null ||
! 19448: echo X"$file" |
! 19449: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19450: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19451: /^X\(\/\/\)$/{ s//\1/; q; }
! 19452: /^X\(\/\).*/{ s//\1/; q; }
! 19453: s/.*/./; q'`
! 19454: { if $as_mkdir_p; then
! 19455: mkdir -p $dirpart/$fdir
! 19456: else
! 19457: as_dir=$dirpart/$fdir
! 19458: as_dirs=
! 19459: while test ! -d "$as_dir"; do
! 19460: as_dirs="$as_dir $as_dirs"
! 19461: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 19462: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 19463: X"$as_dir" : 'X\(//\)[^/]' \| \
! 19464: X"$as_dir" : 'X\(//\)$' \| \
! 19465: X"$as_dir" : 'X\(/\)' \| \
! 19466: . : '\(.\)' 2>/dev/null ||
! 19467: echo X"$as_dir" |
! 19468: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 19469: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 19470: /^X\(\/\/\)$/{ s//\1/; q; }
! 19471: /^X\(\/\).*/{ s//\1/; q; }
! 19472: s/.*/./; q'`
! 19473: done
! 19474: test ! -n "$as_dirs" || mkdir $as_dirs
! 19475: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 19476: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 19477: { (exit 1); exit 1; }; }; }
! 19478:
! 19479: # echo "creating $dirpart/$file"
! 19480: echo '# dummy' > "$dirpart/$file"
! 19481: done
! 19482: done
! 19483: ;;
! 19484: libtool )
! 19485:
! 19486: # See if we are running on zsh, and set the options which allow our
! 19487: # commands through without removal of \ escapes.
! 19488: if test -n "${ZSH_VERSION+set}" ; then
! 19489: setopt NO_GLOB_SUBST
! 19490: fi
! 19491:
! 19492: cfgfile="${ofile}T"
! 19493: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 19494: $RM "$cfgfile"
! 19495:
! 19496: cat <<_LT_EOF >> "$cfgfile"
! 19497: #! $SHELL
! 19498:
! 19499: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 19500: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 19501: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19502: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 19503: #
! 19504: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 19505: # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
! 19506: # Foundation, Inc.
! 19507: # Written by Gordon Matzigkeit, 1996
! 19508: #
! 19509: # This file is part of GNU Libtool.
! 19510: #
! 19511: # GNU Libtool is free software; you can redistribute it and/or
! 19512: # modify it under the terms of the GNU General Public License as
! 19513: # published by the Free Software Foundation; either version 2 of
! 19514: # the License, or (at your option) any later version.
! 19515: #
! 19516: # As a special exception to the GNU General Public License,
! 19517: # if you distribute this file as part of a program or library that
! 19518: # is built using GNU Libtool, you may include this file under the
! 19519: # same distribution terms that you use for the rest of that program.
! 19520: #
! 19521: # GNU Libtool is distributed in the hope that it will be useful,
! 19522: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 19523: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 19524: # GNU General Public License for more details.
! 19525: #
! 19526: # You should have received a copy of the GNU General Public License
! 19527: # along with GNU Libtool; see the file COPYING. If not, a copy
! 19528: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 19529: # obtained by writing to the Free Software Foundation, Inc.,
! 19530: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 19531:
! 19532:
! 19533: # The names of the tagged configurations supported by this script.
! 19534: available_tags="CXX "
! 19535:
! 19536: # ### BEGIN LIBTOOL CONFIG
! 19537:
! 19538: # Which release of libtool.m4 was used?
! 19539: macro_version=$macro_version
! 19540: macro_revision=$macro_revision
! 19541:
! 19542: # Assembler program.
! 19543: AS=$lt_AS
! 19544:
! 19545: # DLL creation program.
! 19546: DLLTOOL=$lt_DLLTOOL
! 19547:
! 19548: # Object dumper program.
! 19549: OBJDUMP=$lt_OBJDUMP
! 19550:
! 19551: # Whether or not to build shared libraries.
! 19552: build_libtool_libs=$enable_shared
! 19553:
! 19554: # Whether or not to build static libraries.
! 19555: build_old_libs=$enable_static
! 19556:
! 19557: # What type of objects to build.
! 19558: pic_mode=$pic_mode
! 19559:
! 19560: # Whether or not to optimize for fast installation.
! 19561: fast_install=$enable_fast_install
! 19562:
! 19563: # Shell to use when invoking shell scripts.
! 19564: SHELL=$lt_SHELL
! 19565:
! 19566: # An echo program that protects backslashes.
! 19567: ECHO=$lt_ECHO
! 19568:
! 19569: # The PATH separator for the build system.
! 19570: PATH_SEPARATOR=$lt_PATH_SEPARATOR
! 19571:
! 19572: # The host system.
! 19573: host_alias=$host_alias
! 19574: host=$host
! 19575: host_os=$host_os
! 19576:
! 19577: # The build system.
! 19578: build_alias=$build_alias
! 19579: build=$build
! 19580: build_os=$build_os
! 19581:
! 19582: # A sed program that does not truncate output.
! 19583: SED=$lt_SED
! 19584:
! 19585: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 19586: Xsed="\$SED -e 1s/^X//"
! 19587:
! 19588: # A grep program that handles long lines.
! 19589: GREP=$lt_GREP
! 19590:
! 19591: # An ERE matcher.
! 19592: EGREP=$lt_EGREP
! 19593:
! 19594: # A literal string matcher.
! 19595: FGREP=$lt_FGREP
! 19596:
! 19597: # A BSD- or MS-compatible name lister.
! 19598: NM=$lt_NM
! 19599:
! 19600: # Whether we need soft or hard links.
! 19601: LN_S=$lt_LN_S
! 19602:
! 19603: # What is the maximum length of a command?
! 19604: max_cmd_len=$max_cmd_len
! 19605:
! 19606: # Object file suffix (normally "o").
! 19607: objext=$ac_objext
! 19608:
! 19609: # Executable file suffix (normally "").
! 19610: exeext=$exeext
! 19611:
! 19612: # whether the shell understands "unset".
! 19613: lt_unset=$lt_unset
! 19614:
! 19615: # turn spaces into newlines.
! 19616: SP2NL=$lt_lt_SP2NL
! 19617:
! 19618: # turn newlines into spaces.
! 19619: NL2SP=$lt_lt_NL2SP
! 19620:
! 19621: # convert \$build file names to \$host format.
! 19622: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 19623:
! 19624: # convert \$build files to toolchain format.
! 19625: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 19626:
! 19627: # Method to check whether dependent libraries are shared objects.
! 19628: deplibs_check_method=$lt_deplibs_check_method
! 19629:
! 19630: # Command to use when deplibs_check_method = "file_magic".
! 19631: file_magic_cmd=$lt_file_magic_cmd
! 19632:
! 19633: # How to find potential files when deplibs_check_method = "file_magic".
! 19634: file_magic_glob=$lt_file_magic_glob
! 19635:
! 19636: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
! 19637: want_nocaseglob=$lt_want_nocaseglob
! 19638:
! 19639: # Command to associate shared and link libraries.
! 19640: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
! 19641:
! 19642: # The archiver.
! 19643: AR=$lt_AR
! 19644:
! 19645: # Flags to create an archive.
! 19646: AR_FLAGS=$lt_AR_FLAGS
! 19647:
! 19648: # How to feed a file listing to the archiver.
! 19649: archiver_list_spec=$lt_archiver_list_spec
! 19650:
! 19651: # A symbol stripping program.
! 19652: STRIP=$lt_STRIP
! 19653:
! 19654: # Commands used to install an old-style archive.
! 19655: RANLIB=$lt_RANLIB
! 19656: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19657: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19658:
! 19659: # Whether to use a lock for old archive extraction.
! 19660: lock_old_archive_extraction=$lock_old_archive_extraction
! 19661:
! 19662: # A C compiler.
! 19663: LTCC=$lt_CC
! 19664:
! 19665: # LTCC compiler flags.
! 19666: LTCFLAGS=$lt_CFLAGS
! 19667:
! 19668: # Take the output of nm and produce a listing of raw symbols and C names.
! 19669: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19670:
! 19671: # Transform the output of nm in a proper C declaration.
! 19672: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19673:
! 19674: # Transform the output of nm in a C name address pair.
! 19675: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19676:
! 19677: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 19678: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 19679:
! 19680: # Specify filename containing input files for \$NM.
! 19681: nm_file_list_spec=$lt_nm_file_list_spec
! 19682:
! 19683: # The root where to search for dependent libraries,and in which our libraries should be installed.
! 19684: lt_sysroot=$lt_sysroot
! 19685:
! 19686: # The name of the directory that contains temporary libtool files.
! 19687: objdir=$objdir
! 19688:
! 19689: # Used to examine libraries when file_magic_cmd begins with "file".
! 19690: MAGIC_CMD=$MAGIC_CMD
! 19691:
! 19692: # Must we lock files when doing compilation?
! 19693: need_locks=$lt_need_locks
! 19694:
! 19695: # Manifest tool.
! 19696: MANIFEST_TOOL=$lt_MANIFEST_TOOL
! 19697:
! 19698: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 19699: DSYMUTIL=$lt_DSYMUTIL
! 19700:
! 19701: # Tool to change global to local symbols on Mac OS X.
! 19702: NMEDIT=$lt_NMEDIT
! 19703:
! 19704: # Tool to manipulate fat objects and archives on Mac OS X.
! 19705: LIPO=$lt_LIPO
! 19706:
! 19707: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 19708: OTOOL=$lt_OTOOL
! 19709:
! 19710: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 19711: OTOOL64=$lt_OTOOL64
! 19712:
! 19713: # Old archive suffix (normally "a").
! 19714: libext=$libext
! 19715:
! 19716: # Shared library suffix (normally ".so").
! 19717: shrext_cmds=$lt_shrext_cmds
! 19718:
! 19719: # The commands to extract the exported symbol list from a shared archive.
! 19720: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19721:
! 19722: # Variables whose values should be saved in libtool wrapper scripts and
! 19723: # restored at link time.
! 19724: variables_saved_for_relink=$lt_variables_saved_for_relink
! 19725:
! 19726: # Do we need the "lib" prefix for modules?
! 19727: need_lib_prefix=$need_lib_prefix
! 19728:
! 19729: # Do we need a version for libraries?
! 19730: need_version=$need_version
! 19731:
! 19732: # Library versioning type.
! 19733: version_type=$version_type
! 19734:
! 19735: # Shared library runtime path variable.
! 19736: runpath_var=$runpath_var
! 19737:
! 19738: # Shared library path variable.
! 19739: shlibpath_var=$shlibpath_var
! 19740:
! 19741: # Is shlibpath searched before the hard-coded library search path?
! 19742: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19743:
! 19744: # Format of library name prefix.
! 19745: libname_spec=$lt_libname_spec
! 19746:
! 19747: # List of archive names. First name is the real one, the rest are links.
! 19748: # The last name is the one that the linker finds with -lNAME
! 19749: library_names_spec=$lt_library_names_spec
! 19750:
! 19751: # The coded name of the library, if different from the real name.
! 19752: soname_spec=$lt_soname_spec
! 19753:
! 19754: # Permission mode override for installation of shared libraries.
! 19755: install_override_mode=$lt_install_override_mode
! 19756:
! 19757: # Command to use after installation of a shared archive.
! 19758: postinstall_cmds=$lt_postinstall_cmds
! 19759:
! 19760: # Command to use after uninstallation of a shared archive.
! 19761: postuninstall_cmds=$lt_postuninstall_cmds
! 19762:
! 19763: # Commands used to finish a libtool library installation in a directory.
! 19764: finish_cmds=$lt_finish_cmds
! 19765:
! 19766: # As "finish_cmds", except a single script fragment to be evaled but
! 19767: # not shown.
! 19768: finish_eval=$lt_finish_eval
! 19769:
! 19770: # Whether we should hardcode library paths into libraries.
! 19771: hardcode_into_libs=$hardcode_into_libs
! 19772:
! 19773: # Compile-time system search path for libraries.
! 19774: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19775:
! 19776: # Run-time system search path for libraries.
! 19777: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19778:
! 19779: # Whether dlopen is supported.
! 19780: dlopen_support=$enable_dlopen
! 19781:
! 19782: # Whether dlopen of programs is supported.
! 19783: dlopen_self=$enable_dlopen_self
! 19784:
! 19785: # Whether dlopen of statically linked programs is supported.
! 19786: dlopen_self_static=$enable_dlopen_self_static
! 19787:
! 19788: # Commands to strip libraries.
! 19789: old_striplib=$lt_old_striplib
! 19790: striplib=$lt_striplib
! 19791:
! 19792:
! 19793: # The linker used to build libraries.
! 19794: LD=$lt_LD
! 19795:
! 19796: # How to create reloadable object files.
! 19797: reload_flag=$lt_reload_flag
! 19798: reload_cmds=$lt_reload_cmds
! 19799:
! 19800: # Commands used to build an old-style archive.
! 19801: old_archive_cmds=$lt_old_archive_cmds
! 19802:
! 19803: # A language specific compiler.
! 19804: CC=$lt_compiler
! 19805:
! 19806: # Is the compiler the GNU compiler?
! 19807: with_gcc=$GCC
! 19808:
! 19809: # Compiler flag to turn off builtin functions.
! 19810: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 19811:
! 19812: # Additional compiler flags for building library objects.
! 19813: pic_flag=$lt_lt_prog_compiler_pic
! 19814:
! 19815: # How to pass a linker flag through the compiler.
! 19816: wl=$lt_lt_prog_compiler_wl
! 19817:
! 19818: # Compiler flag to prevent dynamic linking.
! 19819: link_static_flag=$lt_lt_prog_compiler_static
! 19820:
! 19821: # Does compiler simultaneously support -c and -o options?
! 19822: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 19823:
! 19824: # Whether or not to add -lc for building shared libraries.
! 19825: build_libtool_need_lc=$archive_cmds_need_lc
! 19826:
! 19827: # Whether or not to disallow shared libs when runtime libs are static.
! 19828: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 19829:
! 19830: # Compiler flag to allow reflexive dlopens.
! 19831: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 19832:
! 19833: # Compiler flag to generate shared objects directly from archives.
! 19834: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 19835:
! 19836: # Whether the compiler copes with passing no objects directly.
! 19837: compiler_needs_object=$lt_compiler_needs_object
! 19838:
! 19839: # Create an old-style archive from a shared archive.
! 19840: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 19841:
! 19842: # Create a temporary old-style archive to link instead of a shared archive.
! 19843: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 19844:
! 19845: # Commands used to build a shared archive.
! 19846: archive_cmds=$lt_archive_cmds
! 19847: archive_expsym_cmds=$lt_archive_expsym_cmds
! 19848:
! 19849: # Commands used to build a loadable module if different from building
! 19850: # a shared archive.
! 19851: module_cmds=$lt_module_cmds
! 19852: module_expsym_cmds=$lt_module_expsym_cmds
! 19853:
! 19854: # Whether we are building with GNU ld or not.
! 19855: with_gnu_ld=$lt_with_gnu_ld
! 19856:
! 19857: # Flag that allows shared libraries with undefined symbols to be built.
! 19858: allow_undefined_flag=$lt_allow_undefined_flag
! 19859:
! 19860: # Flag that enforces no undefined symbols.
! 19861: no_undefined_flag=$lt_no_undefined_flag
! 19862:
! 19863: # Flag to hardcode \$libdir into a binary during linking.
! 19864: # This must work even if \$libdir does not exist
! 19865: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 19866:
! 19867: # Whether we need a single "-rpath" flag with a separated argument.
! 19868: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 19869:
! 19870: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 19871: # DIR into the resulting binary.
! 19872: hardcode_direct=$hardcode_direct
! 19873:
! 19874: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 19875: # DIR into the resulting binary and the resulting library dependency is
! 19876: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 19877: # library is relocated.
! 19878: hardcode_direct_absolute=$hardcode_direct_absolute
! 19879:
! 19880: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 19881: # into the resulting binary.
! 19882: hardcode_minus_L=$hardcode_minus_L
! 19883:
! 19884: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 19885: # into the resulting binary.
! 19886: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 19887:
! 19888: # Set to "yes" if building a shared library automatically hardcodes DIR
! 19889: # into the library and all subsequent libraries and executables linked
! 19890: # against it.
! 19891: hardcode_automatic=$hardcode_automatic
! 19892:
! 19893: # Set to yes if linker adds runtime paths of dependent libraries
! 19894: # to runtime path list.
! 19895: inherit_rpath=$inherit_rpath
! 19896:
! 19897: # Whether libtool must link a program against all its dependency libraries.
! 19898: link_all_deplibs=$link_all_deplibs
! 19899:
! 19900: # Set to "yes" if exported symbols are required.
! 19901: always_export_symbols=$always_export_symbols
! 19902:
! 19903: # The commands to list exported symbols.
! 19904: export_symbols_cmds=$lt_export_symbols_cmds
! 19905:
! 19906: # Symbols that should not be listed in the preloaded symbols.
! 19907: exclude_expsyms=$lt_exclude_expsyms
! 19908:
! 19909: # Symbols that must always be exported.
! 19910: include_expsyms=$lt_include_expsyms
! 19911:
! 19912: # Commands necessary for linking programs (against libraries) with templates.
! 19913: prelink_cmds=$lt_prelink_cmds
! 19914:
! 19915: # Commands necessary for finishing linking programs.
! 19916: postlink_cmds=$lt_postlink_cmds
! 19917:
! 19918: # Specify filename containing input files.
! 19919: file_list_spec=$lt_file_list_spec
! 19920:
! 19921: # How to hardcode a shared library path into an executable.
! 19922: hardcode_action=$hardcode_action
! 19923:
! 19924: # The directories searched by this compiler when creating a shared library.
! 19925: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
! 19926:
! 19927: # Dependencies to place before and after the objects being linked to
! 19928: # create a shared library.
! 19929: predep_objects=$lt_predep_objects
! 19930: postdep_objects=$lt_postdep_objects
! 19931: predeps=$lt_predeps
! 19932: postdeps=$lt_postdeps
! 19933:
! 19934: # The library search path used internally by the compiler when linking
! 19935: # a shared library.
! 19936: compiler_lib_search_path=$lt_compiler_lib_search_path
! 19937:
! 19938: # ### END LIBTOOL CONFIG
! 19939:
! 19940: _LT_EOF
! 19941:
! 19942: case $host_os in
! 19943: aix3*)
! 19944: cat <<\_LT_EOF >> "$cfgfile"
! 19945: # AIX sometimes has problems with the GCC collect2 program. For some
! 19946: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 19947: # vanish in a puff of smoke.
! 19948: if test "X${COLLECT_NAMES+set}" != Xset; then
! 19949: COLLECT_NAMES=
! 19950: export COLLECT_NAMES
! 19951: fi
! 19952: _LT_EOF
! 19953: ;;
! 19954: esac
! 19955:
! 19956:
! 19957: ltmain="$ac_aux_dir/ltmain.sh"
1.1 parser 19958:
1.16 paf 19959:
1.23 ! moko 19960: # We use sed instead of cat because bash on DJGPP gets confused if
! 19961: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 19962: # text mode, it properly converts lines to CR/LF. This bash problem
! 19963: # is reportedly fixed, but why not run on old versions too?
! 19964: sed '$q' "$ltmain" >> "$cfgfile" \
! 19965: || (rm -f "$cfgfile"; exit 1)
1.10 paf 19966:
1.23 ! moko 19967: if test x"$xsi_shell" = xyes; then
! 19968: sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
! 19969: func_dirname ()\
! 19970: {\
! 19971: \ case ${1} in\
! 19972: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 19973: \ * ) func_dirname_result="${3}" ;;\
! 19974: \ esac\
! 19975: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
! 19976: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 19977: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 19978: test 0 -eq $? || _lt_function_replace_fail=:
! 19979:
! 19980:
! 19981: sed -e '/^func_basename ()$/,/^} # func_basename /c\
! 19982: func_basename ()\
! 19983: {\
! 19984: \ func_basename_result="${1##*/}"\
! 19985: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 19986: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 19987: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 19988: test 0 -eq $? || _lt_function_replace_fail=:
! 19989:
! 19990:
! 19991: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
! 19992: func_dirname_and_basename ()\
! 19993: {\
! 19994: \ case ${1} in\
! 19995: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 19996: \ * ) func_dirname_result="${3}" ;;\
! 19997: \ esac\
! 19998: \ func_basename_result="${1##*/}"\
! 19999: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 20000: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20001: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20002: test 0 -eq $? || _lt_function_replace_fail=:
! 20003:
! 20004:
! 20005: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
! 20006: func_stripname ()\
! 20007: {\
! 20008: \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
! 20009: \ # positional parameters, so assign one to ordinary parameter first.\
! 20010: \ func_stripname_result=${3}\
! 20011: \ func_stripname_result=${func_stripname_result#"${1}"}\
! 20012: \ func_stripname_result=${func_stripname_result%"${2}"}\
! 20013: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
! 20014: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20015: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20016: test 0 -eq $? || _lt_function_replace_fail=:
! 20017:
! 20018:
! 20019: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
! 20020: func_split_long_opt ()\
! 20021: {\
! 20022: \ func_split_long_opt_name=${1%%=*}\
! 20023: \ func_split_long_opt_arg=${1#*=}\
! 20024: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 20025: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20026: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20027: test 0 -eq $? || _lt_function_replace_fail=:
! 20028:
! 20029:
! 20030: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
! 20031: func_split_short_opt ()\
! 20032: {\
! 20033: \ func_split_short_opt_arg=${1#??}\
! 20034: \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
! 20035: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 20036: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20037: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20038: test 0 -eq $? || _lt_function_replace_fail=:
! 20039:
! 20040:
! 20041: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
! 20042: func_lo2o ()\
! 20043: {\
! 20044: \ case ${1} in\
! 20045: \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
! 20046: \ *) func_lo2o_result=${1} ;;\
! 20047: \ esac\
! 20048: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
! 20049: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20050: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20051: test 0 -eq $? || _lt_function_replace_fail=:
! 20052:
! 20053:
! 20054: sed -e '/^func_xform ()$/,/^} # func_xform /c\
! 20055: func_xform ()\
! 20056: {\
! 20057: func_xform_result=${1%.*}.lo\
! 20058: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
! 20059: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20060: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20061: test 0 -eq $? || _lt_function_replace_fail=:
! 20062:
! 20063:
! 20064: sed -e '/^func_arith ()$/,/^} # func_arith /c\
! 20065: func_arith ()\
! 20066: {\
! 20067: func_arith_result=$(( $* ))\
! 20068: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
! 20069: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20070: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20071: test 0 -eq $? || _lt_function_replace_fail=:
! 20072:
! 20073:
! 20074: sed -e '/^func_len ()$/,/^} # func_len /c\
! 20075: func_len ()\
! 20076: {\
! 20077: func_len_result=${#1}\
! 20078: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
! 20079: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20080: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20081: test 0 -eq $? || _lt_function_replace_fail=:
! 20082:
! 20083: fi
! 20084:
! 20085: if test x"$lt_shell_append" = xyes; then
! 20086: sed -e '/^func_append ()$/,/^} # func_append /c\
! 20087: func_append ()\
! 20088: {\
! 20089: eval "${1}+=\\${2}"\
! 20090: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
! 20091: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20092: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20093: test 0 -eq $? || _lt_function_replace_fail=:
! 20094:
! 20095:
! 20096: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
! 20097: func_append_quoted ()\
! 20098: {\
! 20099: \ func_quote_for_eval "${2}"\
! 20100: \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
! 20101: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
! 20102: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20103: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20104: test 0 -eq $? || _lt_function_replace_fail=:
! 20105:
! 20106:
! 20107: # Save a `func_append' function call where possible by direct use of '+='
! 20108: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
! 20109: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20110: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20111: test 0 -eq $? || _lt_function_replace_fail=:
! 20112: else
! 20113: # Save a `func_append' function call even when '+=' is not available
! 20114: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
! 20115: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 20116: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 20117: test 0 -eq $? || _lt_function_replace_fail=:
! 20118: fi
! 20119:
! 20120: if test x"$_lt_function_replace_fail" = x":"; then
! 20121: { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
! 20122: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.10 paf 20123: fi
20124:
1.16 paf 20125:
1.23 ! moko 20126: mv -f "$cfgfile" "$ofile" ||
! 20127: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 20128: chmod +x "$ofile"
! 20129:
! 20130:
! 20131: cat <<_LT_EOF >> "$ofile"
! 20132:
! 20133: # ### BEGIN LIBTOOL TAG CONFIG: CXX
! 20134:
! 20135: # The linker used to build libraries.
! 20136: LD=$lt_LD_CXX
! 20137:
! 20138: # How to create reloadable object files.
! 20139: reload_flag=$lt_reload_flag_CXX
! 20140: reload_cmds=$lt_reload_cmds_CXX
! 20141:
! 20142: # Commands used to build an old-style archive.
! 20143: old_archive_cmds=$lt_old_archive_cmds_CXX
! 20144:
! 20145: # A language specific compiler.
! 20146: CC=$lt_compiler_CXX
! 20147:
! 20148: # Is the compiler the GNU compiler?
! 20149: with_gcc=$GCC_CXX
! 20150:
! 20151: # Compiler flag to turn off builtin functions.
! 20152: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
! 20153:
! 20154: # Additional compiler flags for building library objects.
! 20155: pic_flag=$lt_lt_prog_compiler_pic_CXX
! 20156:
! 20157: # How to pass a linker flag through the compiler.
! 20158: wl=$lt_lt_prog_compiler_wl_CXX
! 20159:
! 20160: # Compiler flag to prevent dynamic linking.
! 20161: link_static_flag=$lt_lt_prog_compiler_static_CXX
! 20162:
! 20163: # Does compiler simultaneously support -c and -o options?
! 20164: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
! 20165:
! 20166: # Whether or not to add -lc for building shared libraries.
! 20167: build_libtool_need_lc=$archive_cmds_need_lc_CXX
! 20168:
! 20169: # Whether or not to disallow shared libs when runtime libs are static.
! 20170: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
! 20171:
! 20172: # Compiler flag to allow reflexive dlopens.
! 20173: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
! 20174:
! 20175: # Compiler flag to generate shared objects directly from archives.
! 20176: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
! 20177:
! 20178: # Whether the compiler copes with passing no objects directly.
! 20179: compiler_needs_object=$lt_compiler_needs_object_CXX
! 20180:
! 20181: # Create an old-style archive from a shared archive.
! 20182: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
! 20183:
! 20184: # Create a temporary old-style archive to link instead of a shared archive.
! 20185: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
! 20186:
! 20187: # Commands used to build a shared archive.
! 20188: archive_cmds=$lt_archive_cmds_CXX
! 20189: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
! 20190:
! 20191: # Commands used to build a loadable module if different from building
! 20192: # a shared archive.
! 20193: module_cmds=$lt_module_cmds_CXX
! 20194: module_expsym_cmds=$lt_module_expsym_cmds_CXX
! 20195:
! 20196: # Whether we are building with GNU ld or not.
! 20197: with_gnu_ld=$lt_with_gnu_ld_CXX
! 20198:
! 20199: # Flag that allows shared libraries with undefined symbols to be built.
! 20200: allow_undefined_flag=$lt_allow_undefined_flag_CXX
! 20201:
! 20202: # Flag that enforces no undefined symbols.
! 20203: no_undefined_flag=$lt_no_undefined_flag_CXX
! 20204:
! 20205: # Flag to hardcode \$libdir into a binary during linking.
! 20206: # This must work even if \$libdir does not exist
! 20207: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
! 20208:
! 20209: # Whether we need a single "-rpath" flag with a separated argument.
! 20210: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
! 20211:
! 20212: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20213: # DIR into the resulting binary.
! 20214: hardcode_direct=$hardcode_direct_CXX
! 20215:
! 20216: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 20217: # DIR into the resulting binary and the resulting library dependency is
! 20218: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 20219: # library is relocated.
! 20220: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
! 20221:
! 20222: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 20223: # into the resulting binary.
! 20224: hardcode_minus_L=$hardcode_minus_L_CXX
! 20225:
! 20226: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 20227: # into the resulting binary.
! 20228: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
! 20229:
! 20230: # Set to "yes" if building a shared library automatically hardcodes DIR
! 20231: # into the library and all subsequent libraries and executables linked
! 20232: # against it.
! 20233: hardcode_automatic=$hardcode_automatic_CXX
! 20234:
! 20235: # Set to yes if linker adds runtime paths of dependent libraries
! 20236: # to runtime path list.
! 20237: inherit_rpath=$inherit_rpath_CXX
! 20238:
! 20239: # Whether libtool must link a program against all its dependency libraries.
! 20240: link_all_deplibs=$link_all_deplibs_CXX
! 20241:
! 20242: # Set to "yes" if exported symbols are required.
! 20243: always_export_symbols=$always_export_symbols_CXX
! 20244:
! 20245: # The commands to list exported symbols.
! 20246: export_symbols_cmds=$lt_export_symbols_cmds_CXX
! 20247:
! 20248: # Symbols that should not be listed in the preloaded symbols.
! 20249: exclude_expsyms=$lt_exclude_expsyms_CXX
! 20250:
! 20251: # Symbols that must always be exported.
! 20252: include_expsyms=$lt_include_expsyms_CXX
! 20253:
! 20254: # Commands necessary for linking programs (against libraries) with templates.
! 20255: prelink_cmds=$lt_prelink_cmds_CXX
! 20256:
! 20257: # Commands necessary for finishing linking programs.
! 20258: postlink_cmds=$lt_postlink_cmds_CXX
! 20259:
! 20260: # Specify filename containing input files.
! 20261: file_list_spec=$lt_file_list_spec_CXX
! 20262:
! 20263: # How to hardcode a shared library path into an executable.
! 20264: hardcode_action=$hardcode_action_CXX
! 20265:
! 20266: # The directories searched by this compiler when creating a shared library.
! 20267: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
1.10 paf 20268:
1.23 ! moko 20269: # Dependencies to place before and after the objects being linked to
! 20270: # create a shared library.
! 20271: predep_objects=$lt_predep_objects_CXX
! 20272: postdep_objects=$lt_postdep_objects_CXX
! 20273: predeps=$lt_predeps_CXX
! 20274: postdeps=$lt_postdeps_CXX
! 20275:
! 20276: # The library search path used internally by the compiler when linking
! 20277: # a shared library.
! 20278: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.10 paf 20279:
1.23 ! moko 20280: # ### END LIBTOOL TAG CONFIG: CXX
! 20281: _LT_EOF
1.1 parser 20282:
1.10 paf 20283: ;;
20284: esac
20285: done
20286: _ACEOF
1.1 parser 20287:
1.10 paf 20288: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 parser 20289:
1.10 paf 20290: { (exit 0); exit 0; }
20291: _ACEOF
1.1 parser 20292: chmod +x $CONFIG_STATUS
1.10 paf 20293: ac_clean_files=$ac_clean_files_save
20294:
20295:
20296: # configure is writing to config.log, and then calls config.status.
20297: # config.status does its own redirection, appending to config.log.
20298: # Unfortunately, on DOS this fails, as config.log is still kept open
20299: # by configure, so config.status won't be able to write to it; its
20300: # output is simply discarded. So we exec the FD to /dev/null,
20301: # effectively closing config.log, so it can be properly (re)opened and
20302: # appended to by config.status. When coming back to configure, we
20303: # need to make the FD available again.
20304: if test "$no_create" != yes; then
20305: ac_cs_success=:
20306: ac_config_status_args=
20307: test "$silent" = yes &&
20308: ac_config_status_args="$ac_config_status_args --quiet"
20309: exec 5>/dev/null
20310: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20311: exec 5>>config.log
20312: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20313: # would make configure fail if this is the last instruction.
20314: $ac_cs_success || { (exit 1); exit 1; }
20315: fi
1.1 parser 20316:
1.10 paf 20317: #
20318: # CONFIG_SUBDIRS section.
20319: #
1.1 parser 20320: if test "$no_recursion" != yes; then
20321:
20322: # Remove --cache-file and --srcdir arguments so they do not pile up.
20323: ac_sub_configure_args=
20324: ac_prev=
20325: for ac_arg in $ac_configure_args; do
20326: if test -n "$ac_prev"; then
20327: ac_prev=
20328: continue
20329: fi
1.10 paf 20330: case $ac_arg in
1.1 parser 20331: -cache-file | --cache-file | --cache-fil | --cache-fi \
20332: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20333: ac_prev=cache_file ;;
20334: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.10 paf 20335: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
20336: | --c=*)
20337: ;;
20338: --config-cache | -C)
1.1 parser 20339: ;;
20340: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20341: ac_prev=srcdir ;;
20342: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20343: ;;
1.10 paf 20344: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
20345: ac_prev=prefix ;;
20346: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20347: ;;
1.1 parser 20348: *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20349: esac
20350: done
20351:
1.10 paf 20352: # Always prepend --prefix to ensure using the same prefix
20353: # in subdir configurations.
20354: ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
20355:
20356: ac_popdir=`pwd`
20357: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1 parser 20358:
20359: # Do not complain, so a configure script can configure whichever
20360: # parts of a large source tree are present.
1.10 paf 20361: test -d $srcdir/$ac_dir || continue
1.1 parser 20362:
1.10 paf 20363: { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
20364: echo "$as_me: configuring in $ac_dir" >&6;}
20365: { if $as_mkdir_p; then
20366: mkdir -p "$ac_dir"
20367: else
20368: as_dir="$ac_dir"
20369: as_dirs=
20370: while test ! -d "$as_dir"; do
20371: as_dirs="$as_dir $as_dirs"
20372: as_dir=`(dirname "$as_dir") 2>/dev/null ||
20373: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.16 paf 20374: X"$as_dir" : 'X\(//\)[^/]' \| \
20375: X"$as_dir" : 'X\(//\)$' \| \
20376: X"$as_dir" : 'X\(/\)' \| \
20377: . : '\(.\)' 2>/dev/null ||
1.10 paf 20378: echo X"$as_dir" |
20379: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20380: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20381: /^X\(\/\/\)$/{ s//\1/; q; }
20382: /^X\(\/\).*/{ s//\1/; q; }
20383: s/.*/./; q'`
20384: done
20385: test ! -n "$as_dirs" || mkdir $as_dirs
20386: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20387: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20388: { (exit 1); exit 1; }; }; }
20389:
20390: ac_builddir=.
20391:
20392: if test "$ac_dir" != .; then
20393: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20394: # A "../" for each directory in $ac_dir_suffix.
20395: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20396: else
20397: ac_dir_suffix= ac_top_builddir=
20398: fi
20399:
20400: case $srcdir in
20401: .) # No --srcdir option. We are building in place.
20402: ac_srcdir=.
20403: if test -z "$ac_top_builddir"; then
20404: ac_top_srcdir=.
20405: else
20406: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20407: fi ;;
20408: [\\/]* | ?:[\\/]* ) # Absolute path.
20409: ac_srcdir=$srcdir$ac_dir_suffix;
20410: ac_top_srcdir=$srcdir ;;
20411: *) # Relative path.
20412: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20413: ac_top_srcdir=$ac_top_builddir$srcdir ;;
20414: esac
1.16 paf 20415:
20416: # Do not use `cd foo && pwd` to compute absolute paths, because
20417: # the directories may not exist.
20418: case `pwd` in
20419: .) ac_abs_builddir="$ac_dir";;
20420: *)
20421: case "$ac_dir" in
20422: .) ac_abs_builddir=`pwd`;;
20423: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20424: *) ac_abs_builddir=`pwd`/"$ac_dir";;
20425: esac;;
20426: esac
20427: case $ac_abs_builddir in
20428: .) ac_abs_top_builddir=${ac_top_builddir}.;;
20429: *)
20430: case ${ac_top_builddir}. in
20431: .) ac_abs_top_builddir=$ac_abs_builddir;;
20432: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20433: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20434: esac;;
20435: esac
20436: case $ac_abs_builddir in
20437: .) ac_abs_srcdir=$ac_srcdir;;
20438: *)
20439: case $ac_srcdir in
20440: .) ac_abs_srcdir=$ac_abs_builddir;;
20441: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20442: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20443: esac;;
20444: esac
20445: case $ac_abs_builddir in
20446: .) ac_abs_top_srcdir=$ac_top_srcdir;;
20447: *)
20448: case $ac_top_srcdir in
20449: .) ac_abs_top_srcdir=$ac_abs_builddir;;
20450: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20451: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20452: esac;;
20453: esac
1.1 parser 20454:
20455:
1.10 paf 20456: cd $ac_dir
1.1 parser 20457:
20458: # Check for guested configure; otherwise get Cygnus style configure.
1.10 paf 20459: if test -f $ac_srcdir/configure.gnu; then
20460: ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
20461: elif test -f $ac_srcdir/configure; then
20462: ac_sub_configure="$SHELL '$ac_srcdir/configure'"
20463: elif test -f $ac_srcdir/configure.in; then
1.1 parser 20464: ac_sub_configure=$ac_configure
20465: else
1.10 paf 20466: { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20467: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1 parser 20468: ac_sub_configure=
20469: fi
20470:
20471: # The recursion is here.
20472: if test -n "$ac_sub_configure"; then
20473: # Make the cache file name correct relative to the subdirectory.
1.10 paf 20474: case $cache_file in
20475: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1 parser 20476: *) # Relative path.
1.16 paf 20477: ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1 parser 20478: esac
20479:
1.10 paf 20480: { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20481: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1 parser 20482: # The eval makes quoting arguments work.
1.10 paf 20483: eval $ac_sub_configure $ac_sub_configure_args \
1.16 paf 20484: --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
20485: { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.10 paf 20486: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20487: { (exit 1); exit 1; }; }
1.1 parser 20488: fi
20489:
20490: cd $ac_popdir
20491: done
20492: fi
20493:
E-mail: