Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: third_party/sqlite/src/aclocal.m4

Issue 694353003: Get `gn gen` to succeed on Windows (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove GYP_DEFINES code Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/VERSION ('k') | third_party/sqlite/src/addopcodes.awk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # generated automatically by aclocal 1.10.2 -*- Autoconf -*-
2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 14 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2 # 15 #
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
4 # 2006, 2007, 2008 Free Software Foundation, Inc. 17 # 2006, 2007, 2008 Free Software Foundation, Inc.
5 # Written by Gordon Matzigkeit, 1996 18 # Written by Gordon Matzigkeit, 1996
6 # 19 #
7 # This file is free software; the Free Software Foundation gives 20 # This file is free software; the Free Software Foundation gives
8 # unlimited permission to copy and/or distribute it, with or without 21 # unlimited permission to copy and/or distribute it, with or without
9 # modifications, as long as this notice is preserved. 22 # modifications, as long as this notice is preserved.
10 23
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, 269 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
257 # `config.status' has no value for ac_aux_dir unless we are using Automake, 270 # `config.status' has no value for ac_aux_dir unless we are using Automake,
258 # so we pass a copy along to make sure it has a sensible value anyway. 271 # so we pass a copy along to make sure it has a sensible value anyway.
259 m4_defun([_LT_PROG_LTMAIN], 272 m4_defun([_LT_PROG_LTMAIN],
260 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl 273 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
261 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) 274 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
262 ltmain="$ac_aux_dir/ltmain.sh" 275 ltmain="$ac_aux_dir/ltmain.sh"
263 ])# _LT_PROG_LTMAIN 276 ])# _LT_PROG_LTMAIN
264 277
265 278
266 ## ------------------------------------- ##
267 ## Accumulate code for creating libtool. ##
268 ## ------------------------------------- ##
269 279
270 # So that we can recreate a full libtool script including additional 280 # So that we can recreate a full libtool script including additional
271 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS 281 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
272 # in macros and then make a single call at the end using the `libtool' 282 # in macros and then make a single call at the end using the `libtool'
273 # label. 283 # label.
274 284
275 285
276 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) 286 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
277 # ---------------------------------------- 287 # ----------------------------------------
278 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. 288 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 # Add leading comment marks to the start of each line, and a trailing 322 # Add leading comment marks to the start of each line, and a trailing
313 # full-stop to the whole comment if one is not present already. 323 # full-stop to the whole comment if one is not present already.
314 m4_define([_LT_FORMAT_COMMENT], 324 m4_define([_LT_FORMAT_COMMENT],
315 [m4_ifval([$1], [ 325 [m4_ifval([$1], [
316 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], 326 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
317 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) 327 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
318 )]) 328 )])
319 329
320 330
321 331
322 ## ------------------------ ##
323 ## FIXME: Eliminate VARNAME ##
324 ## ------------------------ ##
325 332
326 333
327 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) 334 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
328 # ------------------------------------------------------------------- 335 # -------------------------------------------------------------------
329 # CONFIGNAME is the name given to the value in the libtool script. 336 # CONFIGNAME is the name given to the value in the libtool script.
330 # VARNAME is the (base) name used in the configure script. 337 # VARNAME is the (base) name used in the configure script.
331 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on 338 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
332 # VARNAME. Any other value will be used directly. 339 # VARNAME. Any other value will be used directly.
333 m4_define([_LT_DECL], 340 m4_define([_LT_DECL],
334 [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], 341 [lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
(...skipping 1959 matching lines...) Expand 10 before | Expand all | Expand 10 after
2294 # DragonFly does not have aout. When/if they implement a new 2301 # DragonFly does not have aout. When/if they implement a new
2295 # versioning mechanism, adjust this. 2302 # versioning mechanism, adjust this.
2296 if test -x /usr/bin/objformat; then 2303 if test -x /usr/bin/objformat; then
2297 objformat=`/usr/bin/objformat` 2304 objformat=`/usr/bin/objformat`
2298 else 2305 else
2299 case $host_os in 2306 case $host_os in
2300 freebsd[[123]]*) objformat=aout ;; 2307 freebsd[[123]]*) objformat=aout ;;
2301 *) objformat=elf ;; 2308 *) objformat=elf ;;
2302 esac 2309 esac
2303 fi 2310 fi
2304 version_type=freebsd-$objformat 2311 # Handle Gentoo/FreeBSD as it was Linux
2312 case $host_vendor in
2313 gentoo)
2314 version_type=linux ;;
2315 *)
2316 version_type=freebsd-$objformat ;;
2317 esac
2318
2305 case $version_type in 2319 case $version_type in
2306 freebsd-elf*) 2320 freebsd-elf*)
2307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext} $libname${shared_ext}' 2321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext} $libname${shared_ext}'
2308 need_version=no 2322 need_version=no
2309 need_lib_prefix=no 2323 need_lib_prefix=no
2310 ;; 2324 ;;
2311 freebsd-*) 2325 freebsd-*)
2312 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${ shared_ext}$versuffix' 2326 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${ shared_ext}$versuffix'
2313 need_version=yes 2327 need_version=yes
2314 ;; 2328 ;;
2329 linux)
2330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext}$major ${libname}${shared_ext}'
2331 soname_spec='${libname}${release}${shared_ext}$major'
2332 need_lib_prefix=no
2333 need_version=no
2334 ;;
2315 esac 2335 esac
2316 shlibpath_var=LD_LIBRARY_PATH 2336 shlibpath_var=LD_LIBRARY_PATH
2317 case $host_os in 2337 case $host_os in
2318 freebsd2*) 2338 freebsd2*)
2319 shlibpath_overrides_runpath=yes 2339 shlibpath_overrides_runpath=yes
2320 ;; 2340 ;;
2321 freebsd3.[[01]]* | freebsdelf3.[[01]]*) 2341 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2322 shlibpath_overrides_runpath=yes 2342 shlibpath_overrides_runpath=yes
2323 hardcode_into_libs=yes 2343 hardcode_into_libs=yes
2324 ;; 2344 ;;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2438 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 2458 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2439 hardcode_into_libs=yes 2459 hardcode_into_libs=yes
2440 ;; 2460 ;;
2441 2461
2442 # No shared lib support for Linux oldld, aout, or coff. 2462 # No shared lib support for Linux oldld, aout, or coff.
2443 linux*oldld* | linux*aout* | linux*coff*) 2463 linux*oldld* | linux*aout* | linux*coff*)
2444 dynamic_linker=no 2464 dynamic_linker=no
2445 ;; 2465 ;;
2446 2466
2447 # This must be Linux ELF. 2467 # This must be Linux ELF.
2448 linux* | k*bsd*-gnu | kopensolaris*-gnu) 2468 linux* | k*bsd*-gnu)
2449 version_type=linux 2469 version_type=linux
2450 need_lib_prefix=no 2470 need_lib_prefix=no
2451 need_version=no 2471 need_version=no
2452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 2472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}'
2453 soname_spec='${libname}${release}${shared_ext}$major' 2473 soname_spec='${libname}${release}${shared_ext}$major'
2454 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 2474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2455 shlibpath_var=LD_LIBRARY_PATH 2475 shlibpath_var=LD_LIBRARY_PATH
2456 shlibpath_overrides_runpath=no 2476 shlibpath_overrides_runpath=no
2457 # Some binutils ld are patched to set DT_RUNPATH 2477 # Some binutils ld are patched to set DT_RUNPATH
2458 save_LDFLAGS=$LDFLAGS 2478 save_LDFLAGS=$LDFLAGS
(...skipping 19 matching lines...) Expand all
2478 2498
2479 # We used to test for /lib/ld.so.1 and disable shared libraries on 2499 # We used to test for /lib/ld.so.1 and disable shared libraries on
2480 # powerpc, because MkLinux only supported shared libraries with the 2500 # powerpc, because MkLinux only supported shared libraries with the
2481 # GNU dynamic linker. Since this was broken with cross compilers, 2501 # GNU dynamic linker. Since this was broken with cross compilers,
2482 # most powerpc-linux boxes support dynamic linking these days and 2502 # most powerpc-linux boxes support dynamic linking these days and
2483 # people can always --disable-shared, the test was removed, and we 2503 # people can always --disable-shared, the test was removed, and we
2484 # assume the GNU/Linux dynamic linker is in use. 2504 # assume the GNU/Linux dynamic linker is in use.
2485 dynamic_linker='GNU/Linux ld.so' 2505 dynamic_linker='GNU/Linux ld.so'
2486 ;; 2506 ;;
2487 2507
2488 netbsdelf*-gnu)
2489 version_type=linux
2490 need_lib_prefix=no
2491 need_version=no
2492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major ${libname}${shared_ext}'
2493 soname_spec='${libname}${release}${shared_ext}$major'
2494 shlibpath_var=LD_LIBRARY_PATH
2495 shlibpath_overrides_runpath=no
2496 hardcode_into_libs=yes
2497 dynamic_linker='NetBSD ld.elf_so'
2498 ;;
2499
2500 netbsd*) 2508 netbsd*)
2501 version_type=sunos 2509 version_type=sunos
2502 need_lib_prefix=no 2510 need_lib_prefix=no
2503 need_version=no 2511 need_version=no
2504 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 2512 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ shared_ext}$versuffix' 2513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ shared_ext}$versuffix'
2506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 2514 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2507 dynamic_linker='NetBSD (a.out) ld.so' 2515 dynamic_linker='NetBSD (a.out) ld.so'
2508 else 2516 else
2509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major ${libname}${shared_ext}' 2517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major ${libname}${shared_ext}'
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
3077 case $LD in 3085 case $LD in
3078 *-32|*"-32 ") libmagic=32-bit;; 3086 *-32|*"-32 ") libmagic=32-bit;;
3079 *-n32|*"-n32 ") libmagic=N32;; 3087 *-n32|*"-n32 ") libmagic=N32;;
3080 *-64|*"-64 ") libmagic=64-bit;; 3088 *-64|*"-64 ") libmagic=64-bit;;
3081 *) libmagic=never-match;; 3089 *) libmagic=never-match;;
3082 esac 3090 esac
3083 lt_cv_deplibs_check_method=pass_all 3091 lt_cv_deplibs_check_method=pass_all
3084 ;; 3092 ;;
3085 3093
3086 # This must be Linux ELF. 3094 # This must be Linux ELF.
3087 linux* | k*bsd*-gnu | kopensolaris*-gnu) 3095 linux* | k*bsd*-gnu)
3088 lt_cv_deplibs_check_method=pass_all 3096 lt_cv_deplibs_check_method=pass_all
3089 ;; 3097 ;;
3090 3098
3091 netbsd* | netbsdelf*-gnu) 3099 netbsd*)
3092 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 3100 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3093 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9] ]+|_pic\.a)$' 3101 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9] ]+|_pic\.a)$'
3094 else 3102 else
3095 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' 3103 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3096 fi 3104 fi
3097 ;; 3105 ;;
3098 3106
3099 newos6*) 3107 newos6*)
3100 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (execu table|dynamic lib)' 3108 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (execu table|dynamic lib)'
3101 lt_cv_file_magic_cmd=/usr/bin/file 3109 lt_cv_file_magic_cmd=/usr/bin/file
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
3698 case $cc_basename in 3706 case $cc_basename in
3699 CC*) 3707 CC*)
3700 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 3708 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3701 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 3709 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3702 # CC pic flag -KPIC is the default. 3710 # CC pic flag -KPIC is the default.
3703 ;; 3711 ;;
3704 *) 3712 *)
3705 ;; 3713 ;;
3706 esac 3714 esac
3707 ;; 3715 ;;
3708 linux* | k*bsd*-gnu | kopensolaris*-gnu) 3716 linux* | k*bsd*-gnu)
3709 case $cc_basename in 3717 case $cc_basename in
3710 KCC*) 3718 KCC*)
3711 # KAI C++ Compiler 3719 # KAI C++ Compiler
3712 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 3720 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3713 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 3721 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3714 ;; 3722 ;;
3715 ecpc* ) 3723 ecpc* )
3716 # old Intel C++ for x86_64 which still supported -KPIC. 3724 # old Intel C++ for x86_64 which still supported -KPIC.
3717 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 3725 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3718 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 3726 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
3762 ;; 3770 ;;
3763 mvs*) 3771 mvs*)
3764 case $cc_basename in 3772 case $cc_basename in
3765 cxx*) 3773 cxx*)
3766 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' 3774 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3767 ;; 3775 ;;
3768 *) 3776 *)
3769 ;; 3777 ;;
3770 esac 3778 esac
3771 ;; 3779 ;;
3772 netbsd* | netbsdelf*-gnu) 3780 netbsd*)
3773 ;; 3781 ;;
3774 *qnx* | *nto*) 3782 *qnx* | *nto*)
3775 # QNX uses GNU C++, but need to define -shared option too, otherwise 3783 # QNX uses GNU C++, but need to define -shared option too, otherwise
3776 # it will coredump. 3784 # it will coredump.
3777 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' 3785 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
3778 ;; 3786 ;;
3779 osf3* | osf4* | osf5*) 3787 osf3* | osf4* | osf5*)
3780 case $cc_basename in 3788 case $cc_basename in
3781 KCC*) 3789 KCC*)
3782 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 3790 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
3982 # Is there a better lt_prog_compiler_static that works with the bundled CC ? 3990 # Is there a better lt_prog_compiler_static that works with the bundled CC ?
3983 _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 3991 _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3984 ;; 3992 ;;
3985 3993
3986 irix5* | irix6* | nonstopux*) 3994 irix5* | irix6* | nonstopux*)
3987 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 3995 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3988 # PIC (with -KPIC) is the default. 3996 # PIC (with -KPIC) is the default.
3989 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 3997 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3990 ;; 3998 ;;
3991 3999
3992 linux* | k*bsd*-gnu | kopensolaris*-gnu) 4000 linux* | k*bsd*-gnu)
3993 case $cc_basename in 4001 case $cc_basename in
3994 # old Intel for x86_64 which still supported -KPIC. 4002 # old Intel for x86_64 which still supported -KPIC.
3995 ecc*) 4003 ecc*)
3996 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4004 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3997 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4005 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3998 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' 4006 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3999 ;; 4007 ;;
4000 # icc used to be incompatible with GCC. 4008 # icc used to be incompatible with GCC.
4001 # ICC 10 doesn't accept -KPIC any more. 4009 # ICC 10 doesn't accept -KPIC any more.
4002 icc* | ifort*) 4010 icc* | ifort*)
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
4187 else 4195 else
4188 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1 ,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 4196 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1 ,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4189 fi 4197 fi
4190 ;; 4198 ;;
4191 pw32*) 4199 pw32*)
4192 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 4200 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4193 ;; 4201 ;;
4194 cygwin* | mingw* | cegcc*) 4202 cygwin* | mingw* | cegcc*)
4195 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sym bol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]] __nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' 4203 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sym bol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]] __nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4196 ;; 4204 ;;
4197 linux* | k*bsd*-gnu)
4198 _LT_TAGVAR(link_all_deplibs, $1)=no
4199 ;;
4200 *) 4205 *)
4201 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sym bol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 4206 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sym bol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4202 ;; 4207 ;;
4203 esac 4208 esac
4204 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 4209 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4205 ], [ 4210 ], [
4206 runpath_var= 4211 runpath_var=
4207 _LT_TAGVAR(allow_undefined_flag, $1)= 4212 _LT_TAGVAR(allow_undefined_flag, $1)=
4208 _LT_TAGVAR(always_export_symbols, $1)=no 4213 _LT_TAGVAR(always_export_symbols, $1)=no
4209 _LT_TAGVAR(archive_cmds, $1)= 4214 _LT_TAGVAR(archive_cmds, $1)=
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
4254 with_gnu_ld=no 4259 with_gnu_ld=no
4255 fi 4260 fi
4256 ;; 4261 ;;
4257 interix*) 4262 interix*)
4258 # we just hope/assume this is gcc and not c89 (= MSVC++) 4263 # we just hope/assume this is gcc and not c89 (= MSVC++)
4259 with_gnu_ld=yes 4264 with_gnu_ld=yes
4260 ;; 4265 ;;
4261 openbsd*) 4266 openbsd*)
4262 with_gnu_ld=no 4267 with_gnu_ld=no
4263 ;; 4268 ;;
4264 linux* | k*bsd*-gnu)
4265 _LT_TAGVAR(link_all_deplibs, $1)=no
4266 ;;
4267 esac 4269 esac
4268 4270
4269 _LT_TAGVAR(ld_shlibs, $1)=yes 4271 _LT_TAGVAR(ld_shlibs, $1)=yes
4270 if test "$with_gnu_ld" = yes; then 4272 if test "$with_gnu_ld" = yes; then
4271 # If archive_cmds runs LD, not CC, wlarc should be empty 4273 # If archive_cmds runs LD, not CC, wlarc should be empty
4272 wlarc='${wl}' 4274 wlarc='${wl}'
4273 4275
4274 # Set some defaults for GNU ld with shared library support. These 4276 # Set some defaults for GNU ld with shared library support. These
4275 # are reset later if shared libraries are not supported. Putting them 4277 # are reset later if shared libraries are not supported. Putting them
4276 # here allows them to be overridden if necessary. 4278 # here allows them to be overridden if necessary.
4277 runpath_var=LD_RUN_PATH 4279 runpath_var=LD_RUN_PATH
4278 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 4280 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4279 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 4281 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4280 # ancient GNU ld didn't support --whole-archive et. al. 4282 # ancient GNU ld didn't support --whole-archive et. al.
4281 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 4283 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
4282 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenien ce '"$wlarc"'--no-whole-archive' 4284 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenien ce '"$wlarc"'--no-whole-archive'
4283 else 4285 else
4284 _LT_TAGVAR(whole_archive_flag_spec, $1)= 4286 _LT_TAGVAR(whole_archive_flag_spec, $1)=
4285 fi 4287 fi
4286 supports_anon_versioning=no 4288 supports_anon_versioning=no
4287 case `$LD -v 2>&1` in 4289 case `$LD -v 2>&1` in
4288 *GNU\ gold*) supports_anon_versioning=yes ;;
4289 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 4290 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4290 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 4291 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4291 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 4292 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4292 *\ 2.11.*) ;; # other 2.11 versions 4293 *\ 2.11.*) ;; # other 2.11 versions
4293 *) supports_anon_versioning=yes ;; 4294 *) supports_anon_versioning=yes ;;
4294 esac 4295 esac
4295 4296
4296 # See if GNU ld supports shared libraries. 4297 # See if GNU ld supports shared libraries.
4297 case $host_os in 4298 case $host_os in
4298 aix[[3-9]]*) 4299 aix[[3-9]]*)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
4370 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 4371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4371 # Instead, shared libraries are loaded at an image base (0x10000000 by 4372 # Instead, shared libraries are loaded at an image base (0x10000000 by
4372 # default) and relocated if they conflict, which is a slow very memory 4373 # default) and relocated if they conflict, which is a slow very memory
4373 # consuming and fragmenting process. To avoid this, we pick a random, 4374 # consuming and fragmenting process. To avoid this, we pick a random,
4374 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 4375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4375 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 4376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
4376 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $com piler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 2 62144 + 1342177280` -o $lib' 4377 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $com piler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 2 62144 + 1342177280` -o $lib'
4377 _LT_TAGVAR(archive_expsym_cmds, $1)='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}--i mage-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 4378 _LT_TAGVAR(archive_expsym_cmds, $1)='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}--i mage-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4378 ;; 4379 ;;
4379 4380
4380 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 4381 gnu* | linux* | tpf* | k*bsd*-gnu)
4381 tmp_diet=no 4382 tmp_diet=no
4382 if test "$host_os" = linux-dietlibc; then 4383 if test "$host_os" = linux-dietlibc; then
4383 case $cc_basename in 4384 case $cc_basename in
4384 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d iet-dyn) 4385 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d iet-dyn)
4385 esac 4386 esac
4386 fi 4387 fi
4387 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 4388 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
4388 && test "$tmp_diet" = no 4389 && test "$tmp_diet" = no
4389 then 4390 then
4390 tmp_addflag= 4391 tmp_addflag=
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
4440 echo "local: *; };" >> $output_objdir/$libname.ver~ 4441 echo "local: *; };" >> $output_objdir/$libname.ver~
4441 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -ver sion-script $output_objdir/$libname.ver -o $lib' 4442 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -ver sion-script $output_objdir/$libname.ver -o $lib'
4442 fi 4443 fi
4443 ;; 4444 ;;
4444 esac 4445 esac
4445 else 4446 else
4446 _LT_TAGVAR(ld_shlibs, $1)=no 4447 _LT_TAGVAR(ld_shlibs, $1)=no
4447 fi 4448 fi
4448 ;; 4449 ;;
4449 4450
4450 netbsd* | netbsdelf*-gnu) 4451 netbsd*)
4451 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 4452 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4452 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_ flags -o $lib' 4453 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_ flags -o $lib'
4453 wlarc= 4454 wlarc=
4454 else 4455 else
4455 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl ags ${wl}-soname $wl$soname -o $lib' 4456 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl ags ${wl}-soname $wl$soname -o $lib'
4456 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $comp iler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 4457 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $comp iler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4457 fi 4458 fi
4458 ;; 4459 ;;
4459 4460
4460 solaris*) 4461 solaris*)
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
4615 _LT_TAGVAR(hardcode_minus_L, $1)=yes 4616 _LT_TAGVAR(hardcode_minus_L, $1)=yes
4616 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 4617 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4617 _LT_TAGVAR(hardcode_libdir_separator, $1)= 4618 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4618 fi 4619 fi
4619 ;; 4620 ;;
4620 esac 4621 esac
4621 shared_flag='-shared' 4622 shared_flag='-shared'
4622 if test "$aix_use_runtimelinking" = yes; then 4623 if test "$aix_use_runtimelinking" = yes; then
4623 shared_flag="$shared_flag "'${wl}-G' 4624 shared_flag="$shared_flag "'${wl}-G'
4624 fi 4625 fi
4625 _LT_TAGVAR(link_all_deplibs, $1)=no
4626 else 4626 else
4627 # not using gcc 4627 # not using gcc
4628 if test "$host_cpu" = ia64; then 4628 if test "$host_cpu" = ia64; then
4629 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 4629 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4630 # chokes on -Wl,-G. The following line is correct: 4630 # chokes on -Wl,-G. The following line is correct:
4631 shared_flag='-G' 4631 shared_flag='-G'
4632 else 4632 else
4633 if test "$aix_use_runtimelinking" = yes; then 4633 if test "$aix_use_runtimelinking" = yes; then
4634 shared_flag='${wl}-G' 4634 shared_flag='${wl}-G'
4635 else 4635 else
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
4854 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl ags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 4854 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl ags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
4855 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $comp iler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstr ing" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $expo rt_symbols -o $lib' 4855 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $comp iler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstr ing" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $expo rt_symbols -o $lib'
4856 fi 4856 fi
4857 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' 4857 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
4858 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 4858 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4859 _LT_TAGVAR(hardcode_libdir_separator, $1)=: 4859 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4860 _LT_TAGVAR(inherit_rpath, $1)=yes 4860 _LT_TAGVAR(inherit_rpath, $1)=yes
4861 _LT_TAGVAR(link_all_deplibs, $1)=yes 4861 _LT_TAGVAR(link_all_deplibs, $1)=yes
4862 ;; 4862 ;;
4863 4863
4864 netbsd* | netbsdelf*-gnu) 4864 netbsd*)
4865 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 4865 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4866 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 4866 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4867 else 4867 else
4868 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $lin ker_flags' # ELF 4868 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $lin ker_flags' # ELF
4869 fi 4869 fi
4870 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 4870 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4871 _LT_TAGVAR(hardcode_direct, $1)=yes 4871 _LT_TAGVAR(hardcode_direct, $1)=yes
4872 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 4872 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4873 ;; 4873 ;;
4874 4874
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
5270 5270
5271 _LT_TAG_COMPILER 5271 _LT_TAG_COMPILER
5272 # Save the default compiler, since it gets overwritten when the other 5272 # Save the default compiler, since it gets overwritten when the other
5273 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 5273 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5274 compiler_DEFAULT=$CC 5274 compiler_DEFAULT=$CC
5275 5275
5276 # save warnings/boilerplate of simple test code 5276 # save warnings/boilerplate of simple test code
5277 _LT_COMPILER_BOILERPLATE 5277 _LT_COMPILER_BOILERPLATE
5278 _LT_LINKER_BOILERPLATE 5278 _LT_LINKER_BOILERPLATE
5279 5279
5280 ## CAVEAT EMPTOR:
5281 ## There is no encapsulation within the following macros, do not change
5282 ## the running order or otherwise move them around unless you know exactly
5283 ## what you are doing...
5284 if test -n "$compiler"; then 5280 if test -n "$compiler"; then
5285 _LT_COMPILER_NO_RTTI($1) 5281 _LT_COMPILER_NO_RTTI($1)
5286 _LT_COMPILER_PIC($1) 5282 _LT_COMPILER_PIC($1)
5287 _LT_COMPILER_C_O($1) 5283 _LT_COMPILER_C_O($1)
5288 _LT_COMPILER_FILE_LOCKS($1) 5284 _LT_COMPILER_FILE_LOCKS($1)
5289 _LT_LINKER_SHLIBS($1) 5285 _LT_LINKER_SHLIBS($1)
5290 _LT_SYS_DYNAMIC_LINKER($1) 5286 _LT_SYS_DYNAMIC_LINKER($1)
5291 _LT_LINKER_HARDCODE_LIBPATH($1) 5287 _LT_LINKER_HARDCODE_LIBPATH($1)
5292 LT_SYS_DLOPEN_SELF 5288 LT_SYS_DLOPEN_SELF
5293 _LT_CMD_STRIPLIB 5289 _LT_CMD_STRIPLIB
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
5854 fi 5850 fi
5855 fi 5851 fi
5856 _LT_TAGVAR(link_all_deplibs, $1)=yes 5852 _LT_TAGVAR(link_all_deplibs, $1)=yes
5857 ;; 5853 ;;
5858 esac 5854 esac
5859 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 5855 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5860 _LT_TAGVAR(hardcode_libdir_separator, $1)=: 5856 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5861 _LT_TAGVAR(inherit_rpath, $1)=yes 5857 _LT_TAGVAR(inherit_rpath, $1)=yes
5862 ;; 5858 ;;
5863 5859
5864 linux* | k*bsd*-gnu | kopensolaris*-gnu) 5860 linux* | k*bsd*-gnu)
5865 case $cc_basename in 5861 case $cc_basename in
5866 KCC*) 5862 KCC*)
5867 # Kuck and Associates, Inc. (KAI) C++ Compiler 5863 # Kuck and Associates, Inc. (KAI) C++ Compiler
5868 5864
5869 # KCC will only create a shared library if the output file 5865 # KCC will only create a shared library if the output file
5870 # ends with ".so" (or ".sl" for HP-UX), so rename the library 5866 # ends with ".so" (or ".sl" for HP-UX), so rename the library
5871 # to its proper name (with version) after linking. 5867 # to its proper name (with version) after linking.
5872 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\ ''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tem pext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compil er_flags --soname $soname -o \$templib; mv \$templib $lib' 5868 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\ ''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tem pext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compil er_flags --soname $soname -o \$templib; mv \$templib $lib'
5873 _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SE D -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' 5869 _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SE D -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'
5874 # Commands to make compiler produce verbose output that lists 5870 # Commands to make compiler produce verbose output that lists
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
6903 compiler=$CC 6899 compiler=$CC
6904 _LT_TAGVAR(compiler, $1)=$CC 6900 _LT_TAGVAR(compiler, $1)=$CC
6905 _LT_TAGVAR(LD, $1)="$LD" 6901 _LT_TAGVAR(LD, $1)="$LD"
6906 _LT_CC_BASENAME([$compiler]) 6902 _LT_CC_BASENAME([$compiler])
6907 6903
6908 # GCJ did not exist at the time GCC didn't implicitly link libc in. 6904 # GCJ did not exist at the time GCC didn't implicitly link libc in.
6909 _LT_TAGVAR(archive_cmds_need_lc, $1)=no 6905 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6910 6906
6911 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 6907 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6912 6908
6913 ## CAVEAT EMPTOR:
6914 ## There is no encapsulation within the following macros, do not change
6915 ## the running order or otherwise move them around unless you know exactly
6916 ## what you are doing...
6917 if test -n "$compiler"; then 6909 if test -n "$compiler"; then
6918 _LT_COMPILER_NO_RTTI($1) 6910 _LT_COMPILER_NO_RTTI($1)
6919 _LT_COMPILER_PIC($1) 6911 _LT_COMPILER_PIC($1)
6920 _LT_COMPILER_C_O($1) 6912 _LT_COMPILER_C_O($1)
6921 _LT_COMPILER_FILE_LOCKS($1) 6913 _LT_COMPILER_FILE_LOCKS($1)
6922 _LT_LINKER_SHLIBS($1) 6914 _LT_LINKER_SHLIBS($1)
6923 _LT_LINKER_HARDCODE_LIBPATH($1) 6915 _LT_LINKER_HARDCODE_LIBPATH($1)
6924 6916
6925 _LT_CONFIG($1) 6917 _LT_CONFIG($1)
6926 fi 6918 fi
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
7045 m4_defun([_LT_DECL_SED], 7037 m4_defun([_LT_DECL_SED],
7046 [AC_PROG_SED 7038 [AC_PROG_SED
7047 test -z "$SED" && SED=sed 7039 test -z "$SED" && SED=sed
7048 Xsed="$SED -e 1s/^X//" 7040 Xsed="$SED -e 1s/^X//"
7049 _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) 7041 _LT_DECL([], [SED], [1], [A sed program that does not truncate output])
7050 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], 7042 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
7051 [Sed that helps us avoid accidentally triggering echo(1) options like -n]) 7043 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
7052 ])# _LT_DECL_SED 7044 ])# _LT_DECL_SED
7053 7045
7054 m4_ifndef([AC_PROG_SED], [ 7046 m4_ifndef([AC_PROG_SED], [
7055 ############################################################
7056 # NOTE: This macro has been submitted for inclusion into # 7047 # NOTE: This macro has been submitted for inclusion into #
7057 # GNU Autoconf as AC_PROG_SED. When it is available in # 7048 # GNU Autoconf as AC_PROG_SED. When it is available in #
7058 # a released version of Autoconf we should remove this # 7049 # a released version of Autoconf we should remove this #
7059 # macro and use it instead. # 7050 # macro and use it instead. #
7060 ############################################################
7061 7051
7062 m4_defun([AC_PROG_SED], 7052 m4_defun([AC_PROG_SED],
7063 [AC_MSG_CHECKING([for a sed that does not truncate output]) 7053 [AC_MSG_CHECKING([for a sed that does not truncate output])
7064 AC_CACHE_VAL(lt_cv_path_SED, 7054 AC_CACHE_VAL(lt_cv_path_SED,
7065 [# Loop through the user's path and test for sed and gsed. 7055 [# Loop through the user's path and test for sed and gsed.
7066 # Then use that list of sed's as ones to test for truncation. 7056 # Then use that list of sed's as ones to test for truncation.
7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 for as_dir in $PATH 7058 for as_dir in $PATH
7069 do 7059 do
7070 IFS=$as_save_IFS 7060 IFS=$as_save_IFS
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
7368 # Append VALUE to the end of shell variable VAR. 7358 # Append VALUE to the end of shell variable VAR.
7369 func_append () 7359 func_append ()
7370 { 7360 {
7371 eval "$[1]=\$$[1]\$[2]" 7361 eval "$[1]=\$$[1]\$[2]"
7372 } 7362 }
7373 7363
7374 _LT_EOF 7364 _LT_EOF
7375 ;; 7365 ;;
7376 esac 7366 esac
7377 ]) 7367 ])
7368
7369 # Helper functions for option handling. -*- Autoconf -*-
7370 #
7371 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7372 # Written by Gary V. Vaughan, 2004
7373 #
7374 # This file is free software; the Free Software Foundation gives
7375 # unlimited permission to copy and/or distribute it, with or without
7376 # modifications, as long as this notice is preserved.
7377
7378 # serial 6 ltoptions.m4
7379
7380 # This is to help aclocal find these macros, as it can't see m4_define.
7381 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7382
7383
7384 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
7385 # ------------------------------------------
7386 m4_define([_LT_MANGLE_OPTION],
7387 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
7388
7389
7390 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
7391 # ---------------------------------------
7392 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
7393 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
7394 # saved as a flag.
7395 m4_define([_LT_SET_OPTION],
7396 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
7397 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
7398 _LT_MANGLE_DEFUN([$1], [$2]),
7399 [m4_warning([Unknown $1 option `$2'])])[]dnl
7400 ])
7401
7402
7403 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
7404 # ------------------------------------------------------------
7405 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
7406 m4_define([_LT_IF_OPTION],
7407 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
7408
7409
7410 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
7411 # -------------------------------------------------------
7412 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
7413 # are set.
7414 m4_define([_LT_UNLESS_OPTIONS],
7415 [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7416 [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
7417 [m4_define([$0_found])])])[]dnl
7418 m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
7419 ])[]dnl
7420 ])
7421
7422
7423 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
7424 # ----------------------------------------
7425 # OPTION-LIST is a space-separated list of Libtool options associated
7426 # with MACRO-NAME. If any OPTION has a matching handler declared with
7427 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
7428 # the unknown option and exit.
7429 m4_defun([_LT_SET_OPTIONS],
7430 [# Set options
7431 m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7432 [_LT_SET_OPTION([$1], _LT_Option)])
7433
7434 m4_if([$1],[LT_INIT],[
7435 dnl
7436 dnl Simply set some default values (i.e off) if boolean options were not
7437 dnl specified:
7438 _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
7439 ])
7440 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
7441 ])
7442 dnl
7443 dnl If no reference was made to various pairs of opposing options, then
7444 dnl we run the default mode handler for the pair. For example, if neither
7445 dnl `shared' nor `disable-shared' was passed, we enable building of shared
7446 dnl archives by default:
7447 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
7448 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
7449 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
7450 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
7451 [_LT_ENABLE_FAST_INSTALL])
7452 ])
7453 ])# _LT_SET_OPTIONS
7454
7455
7456
7457 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
7458 # -----------------------------------------
7459 m4_define([_LT_MANGLE_DEFUN],
7460 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
7461
7462
7463 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
7464 # -----------------------------------------------
7465 m4_define([LT_OPTION_DEFINE],
7466 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
7467 ])# LT_OPTION_DEFINE
7468
7469
7470 # dlopen
7471 # ------
7472 LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
7473 ])
7474
7475 AU_DEFUN([AC_LIBTOOL_DLOPEN],
7476 [_LT_SET_OPTION([LT_INIT], [dlopen])
7477 AC_DIAGNOSE([obsolete],
7478 [$0: Remove this warning and the call to _LT_SET_OPTION when you
7479 put the `dlopen' option into LT_INIT's first parameter.])
7480 ])
7481
7482 dnl aclocal-1.4 backwards compatibility:
7483 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
7484
7485
7486 # win32-dll
7487 # ---------
7488 # Declare package support for building win32 dll's.
7489 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
7490 [enable_win32_dll=yes
7491
7492 case $host in
7493 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
7494 AC_CHECK_TOOL(AS, as, false)
7495 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7496 AC_CHECK_TOOL(OBJDUMP, objdump, false)
7497 ;;
7498 esac
7499
7500 test -z "$AS" && AS=as
7501 _LT_DECL([], [AS], [0], [Assembler program])dnl
7502
7503 test -z "$DLLTOOL" && DLLTOOL=dlltool
7504 _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
7505
7506 test -z "$OBJDUMP" && OBJDUMP=objdump
7507 _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
7508 ])# win32-dll
7509
7510 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
7511 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
7512 _LT_SET_OPTION([LT_INIT], [win32-dll])
7513 AC_DIAGNOSE([obsolete],
7514 [$0: Remove this warning and the call to _LT_SET_OPTION when you
7515 put the `win32-dll' option into LT_INIT's first parameter.])
7516 ])
7517
7518 dnl aclocal-1.4 backwards compatibility:
7519 dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
7520
7521
7522 # _LT_ENABLE_SHARED([DEFAULT])
7523 # ----------------------------
7524 # implement the --enable-shared flag, and supports the `shared' and
7525 # `disable-shared' LT_INIT options.
7526 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
7527 m4_define([_LT_ENABLE_SHARED],
7528 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
7529 AC_ARG_ENABLE([shared],
7530 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
7531 [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
7532 [p=${PACKAGE-default}
7533 case $enableval in
7534 yes) enable_shared=yes ;;
7535 no) enable_shared=no ;;
7536 *)
7537 enable_shared=no
7538 # Look at the argument we got. We use all the common list separators.
7539 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7540 for pkg in $enableval; do
7541 IFS="$lt_save_ifs"
7542 if test "X$pkg" = "X$p"; then
7543 enable_shared=yes
7544 fi
7545 done
7546 IFS="$lt_save_ifs"
7547 ;;
7548 esac],
7549 [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
7550
7551 _LT_DECL([build_libtool_libs], [enable_shared], [0],
7552 [Whether or not to build shared libraries])
7553 ])# _LT_ENABLE_SHARED
7554
7555 LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
7556 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
7557
7558 # Old names:
7559 AC_DEFUN([AC_ENABLE_SHARED],
7560 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
7561 ])
7562
7563 AC_DEFUN([AC_DISABLE_SHARED],
7564 [_LT_SET_OPTION([LT_INIT], [disable-shared])
7565 ])
7566
7567 AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
7568 AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
7569
7570 dnl aclocal-1.4 backwards compatibility:
7571 dnl AC_DEFUN([AM_ENABLE_SHARED], [])
7572 dnl AC_DEFUN([AM_DISABLE_SHARED], [])
7573
7574
7575
7576 # _LT_ENABLE_STATIC([DEFAULT])
7577 # ----------------------------
7578 # implement the --enable-static flag, and support the `static' and
7579 # `disable-static' LT_INIT options.
7580 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
7581 m4_define([_LT_ENABLE_STATIC],
7582 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
7583 AC_ARG_ENABLE([static],
7584 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
7585 [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
7586 [p=${PACKAGE-default}
7587 case $enableval in
7588 yes) enable_static=yes ;;
7589 no) enable_static=no ;;
7590 *)
7591 enable_static=no
7592 # Look at the argument we got. We use all the common list separators.
7593 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7594 for pkg in $enableval; do
7595 IFS="$lt_save_ifs"
7596 if test "X$pkg" = "X$p"; then
7597 enable_static=yes
7598 fi
7599 done
7600 IFS="$lt_save_ifs"
7601 ;;
7602 esac],
7603 [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
7604
7605 _LT_DECL([build_old_libs], [enable_static], [0],
7606 [Whether or not to build static libraries])
7607 ])# _LT_ENABLE_STATIC
7608
7609 LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
7610 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
7611
7612 # Old names:
7613 AC_DEFUN([AC_ENABLE_STATIC],
7614 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
7615 ])
7616
7617 AC_DEFUN([AC_DISABLE_STATIC],
7618 [_LT_SET_OPTION([LT_INIT], [disable-static])
7619 ])
7620
7621 AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
7622 AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7623
7624 dnl aclocal-1.4 backwards compatibility:
7625 dnl AC_DEFUN([AM_ENABLE_STATIC], [])
7626 dnl AC_DEFUN([AM_DISABLE_STATIC], [])
7627
7628
7629
7630 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
7631 # ----------------------------------
7632 # implement the --enable-fast-install flag, and support the `fast-install'
7633 # and `disable-fast-install' LT_INIT options.
7634 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
7635 m4_define([_LT_ENABLE_FAST_INSTALL],
7636 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
7637 AC_ARG_ENABLE([fast-install],
7638 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
7639 [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT [@:>@])],
7640 [p=${PACKAGE-default}
7641 case $enableval in
7642 yes) enable_fast_install=yes ;;
7643 no) enable_fast_install=no ;;
7644 *)
7645 enable_fast_install=no
7646 # Look at the argument we got. We use all the common list separators.
7647 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7648 for pkg in $enableval; do
7649 IFS="$lt_save_ifs"
7650 if test "X$pkg" = "X$p"; then
7651 enable_fast_install=yes
7652 fi
7653 done
7654 IFS="$lt_save_ifs"
7655 ;;
7656 esac],
7657 [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
7658
7659 _LT_DECL([fast_install], [enable_fast_install], [0],
7660 [Whether or not to optimize for fast installation])dnl
7661 ])# _LT_ENABLE_FAST_INSTALL
7662
7663 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
7664 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no ])])
7665
7666 # Old names:
7667 AU_DEFUN([AC_ENABLE_FAST_INSTALL],
7668 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
7669 AC_DIAGNOSE([obsolete],
7670 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
7671 the `fast-install' option into LT_INIT's first parameter.])
7672 ])
7673
7674 AU_DEFUN([AC_DISABLE_FAST_INSTALL],
7675 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
7676 AC_DIAGNOSE([obsolete],
7677 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
7678 the `disable-fast-install' option into LT_INIT's first parameter.])
7679 ])
7680
7681 dnl aclocal-1.4 backwards compatibility:
7682 dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
7683 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
7684
7685
7686 # _LT_WITH_PIC([MODE])
7687 # --------------------
7688 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
7689 # LT_INIT options.
7690 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
7691 m4_define([_LT_WITH_PIC],
7692 [AC_ARG_WITH([pic],
7693 [AS_HELP_STRING([--with-pic],
7694 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
7695 [pic_mode="$withval"],
7696 [pic_mode=default])
7697
7698 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
7699
7700 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
7701 ])# _LT_WITH_PIC
7702
7703 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
7704 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
7705
7706 # Old name:
7707 AU_DEFUN([AC_LIBTOOL_PICMODE],
7708 [_LT_SET_OPTION([LT_INIT], [pic-only])
7709 AC_DIAGNOSE([obsolete],
7710 [$0: Remove this warning and the call to _LT_SET_OPTION when you
7711 put the `pic-only' option into LT_INIT's first parameter.])
7712 ])
7713
7714 dnl aclocal-1.4 backwards compatibility:
7715 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
7716
7717
7718 m4_define([_LTDL_MODE], [])
7719 LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
7720 [m4_define([_LTDL_MODE], [nonrecursive])])
7721 LT_OPTION_DEFINE([LTDL_INIT], [recursive],
7722 [m4_define([_LTDL_MODE], [recursive])])
7723 LT_OPTION_DEFINE([LTDL_INIT], [subproject],
7724 [m4_define([_LTDL_MODE], [subproject])])
7725
7726 m4_define([_LTDL_TYPE], [])
7727 LT_OPTION_DEFINE([LTDL_INIT], [installable],
7728 [m4_define([_LTDL_TYPE], [installable])])
7729 LT_OPTION_DEFINE([LTDL_INIT], [convenience],
7730 [m4_define([_LTDL_TYPE], [convenience])])
7731
7732 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
7733 #
7734 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7735 # Written by Gary V. Vaughan, 2004
7736 #
7737 # This file is free software; the Free Software Foundation gives
7738 # unlimited permission to copy and/or distribute it, with or without
7739 # modifications, as long as this notice is preserved.
7740
7741 # serial 6 ltsugar.m4
7742
7743 # This is to help aclocal find these macros, as it can't see m4_define.
7744 AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
7745
7746
7747 # lt_join(SEP, ARG1, [ARG2...])
7748 # -----------------------------
7749 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
7750 # associated separator.
7751 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
7752 # versions in m4sugar had bugs.
7753 m4_define([lt_join],
7754 [m4_if([$#], [1], [],
7755 [$#], [2], [[$2]],
7756 [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
7757 m4_define([_lt_join],
7758 [m4_if([$#$2], [2], [],
7759 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
7760
7761
7762 # lt_car(LIST)
7763 # lt_cdr(LIST)
7764 # ------------
7765 # Manipulate m4 lists.
7766 # These macros are necessary as long as will still need to support
7767 # Autoconf-2.59 which quotes differently.
7768 m4_define([lt_car], [[$1]])
7769 m4_define([lt_cdr],
7770 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
7771 [$#], 1, [],
7772 [m4_dquote(m4_shift($@))])])
7773 m4_define([lt_unquote], $1)
7774
7775
7776 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
7777 # ------------------------------------------
7778 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
7779 # Note that neither SEPARATOR nor STRING are expanded; they are appended
7780 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
7781 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
7782 # than defined and empty).
7783 #
7784 # This macro is needed until we can rely on Autoconf 2.62, since earlier
7785 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
7786 m4_define([lt_append],
7787 [m4_define([$1],
7788 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
7789
7790
7791
7792 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
7793 # ----------------------------------------------------------
7794 # Produce a SEP delimited list of all paired combinations of elements of
7795 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
7796 # has the form PREFIXmINFIXSUFFIXn.
7797 # Needed until we can rely on m4_combine added in Autoconf 2.62.
7798 m4_define([lt_combine],
7799 [m4_if(m4_eval([$# > 3]), [1],
7800 [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
7801 [[m4_foreach([_Lt_prefix], [$2],
7802 [m4_foreach([_Lt_suffix],
7803 ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
7804 [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
7805
7806
7807 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
7808 # -----------------------------------------------------------------------
7809 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
7810 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
7811 m4_define([lt_if_append_uniq],
7812 [m4_ifdef([$1],
7813 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
7814 [lt_append([$1], [$2], [$3])$4],
7815 [$5])],
7816 [lt_append([$1], [$2], [$3])$4])])
7817
7818
7819 # lt_dict_add(DICT, KEY, VALUE)
7820 # -----------------------------
7821 m4_define([lt_dict_add],
7822 [m4_define([$1($2)], [$3])])
7823
7824
7825 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
7826 # --------------------------------------------
7827 m4_define([lt_dict_add_subkey],
7828 [m4_define([$1($2:$3)], [$4])])
7829
7830
7831 # lt_dict_fetch(DICT, KEY, [SUBKEY])
7832 # ----------------------------------
7833 m4_define([lt_dict_fetch],
7834 [m4_ifval([$3],
7835 m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
7836 m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
7837
7838
7839 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
7840 # -----------------------------------------------------------------
7841 m4_define([lt_if_dict_fetch],
7842 [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
7843 [$5],
7844 [$6])])
7845
7846
7847 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
7848 # --------------------------------------------------------------
7849 m4_define([lt_dict_filter],
7850 [m4_if([$5], [], [],
7851 [lt_join(m4_quote(m4_default([$4], [[, ]])),
7852 lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shift n(4, $@)]),
7853 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])]) ))))])[]dnl
7854 ])
7855
7856 # ltversion.m4 -- version numbers -*- Autoconf -*-
7857 #
7858 # Copyright (C) 2004 Free Software Foundation, Inc.
7859 # Written by Scott James Remnant, 2004
7860 #
7861 # This file is free software; the Free Software Foundation gives
7862 # unlimited permission to copy and/or distribute it, with or without
7863 # modifications, as long as this notice is preserved.
7864
7865 # Generated from ltversion.in.
7866
7867 # serial 3012 ltversion.m4
7868 # This file is part of GNU Libtool
7869
7870 m4_define([LT_PACKAGE_VERSION], [2.2.6])
7871 m4_define([LT_PACKAGE_REVISION], [1.3012])
7872
7873 AC_DEFUN([LTVERSION_VERSION],
7874 [macro_version='2.2.6'
7875 macro_revision='1.3012'
7876 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7877 _LT_DECL(, macro_revision, 0)
7878 ])
7879
7880 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
7881 #
7882 # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
7883 # Written by Scott James Remnant, 2004.
7884 #
7885 # This file is free software; the Free Software Foundation gives
7886 # unlimited permission to copy and/or distribute it, with or without
7887 # modifications, as long as this notice is preserved.
7888
7889 # serial 4 lt~obsolete.m4
7890
7891 # These exist entirely to fool aclocal when bootstrapping libtool.
7892 #
7893 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
7894 # which have later been changed to m4_define as they aren't part of the
7895 # exported API, or moved to Autoconf or Automake where they belong.
7896 #
7897 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
7898 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
7899 # using a macro with the same name in our local m4/libtool.m4 it'll
7900 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
7901 # and doesn't know about Autoconf macros at all.)
7902 #
7903 # So we provide this file, which has a silly filename so it's always
7904 # included after everything else. This provides aclocal with the
7905 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
7906 # because those macros already exist, or will be overwritten later.
7907 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
7908 #
7909 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
7910 # Yes, that means every name once taken will need to remain here until
7911 # we give up compatibility with versions before 1.7, at which point
7912 # we need to keep only those names which we still refer to.
7913
7914 # This is to help aclocal find these macros, as it can't see m4_define.
7915 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
7916
7917 m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
7918 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
7919 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])] )
7920 m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
7921 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
7922 m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
7923 m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
7924 m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
7925 m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
7926 m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
7927 m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
7928 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])] )
7929 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
7930 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
7931 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_ LOCKS])])
7932 m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
7933 m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
7934 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_H ARDCODE_LIBPATH])])
7935 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
7936 m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
7937 m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
7938 m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
7939 m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
7940 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILE R_NO_RTTI])])
7941 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_ SYMBOL_PIPE])])
7942 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PI C])])
7943 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
7944 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
7945 m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
7946 m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
7947 m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
7948 m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
7949 m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
7950 m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
7951 m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
7952 m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
7953 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMI C_LINKER])])
7954 m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
7955 m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
7956 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
7957 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
7958 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
7959 m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
7960 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
7961 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
7962 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])] )
7963 m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
7964 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])] )
7965 m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
7966 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])] )
7967 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
7968 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
7969 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
7970 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
7971 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
7972
OLDNEW
« no previous file with comments | « third_party/sqlite/src/VERSION ('k') | third_party/sqlite/src/addopcodes.awk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698