1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
[m4_fatal([this file was generated for autoconf 2.61.
16
You have another version of autoconf. If you want to use that,
17
you should regenerate the build system entirely.], [63])])
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
[m4_warning([this file was generated for autoconf 2.61.
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
If you have problems, you may need to regenerate the build system entirely.
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
19
22
# Configure paths for gdk-pixbuf
20
23
# Elliot Lee 2000-01-10
894
898
echo "$lt_simple_link_test_code" >conftest.$ac_ext
895
899
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
896
900
_lt_linker_boilerplate=`cat conftest.err`
898
902
])# _LT_LINKER_BOILERPLATE
904
# _LT_REQUIRED_DARWIN_CHECKS
905
# --------------------------
906
# Check for some things on darwin
907
AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
910
AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
911
AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
913
AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
914
[lt_cv_apple_cc_single_mod=no
915
if test -z "${LT_MULTI_MODULE}"; then
916
# By default we will add the -single_module flag. You can override
917
# by either setting the environment variable LT_MULTI_MODULE
918
# non-empty at configure time, or by adding -multi_module to the
920
echo "int foo(void){return 1;}" > conftest.c
921
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
922
-dynamiclib ${wl}-single_module conftest.c
923
if test -f libconftest.dylib; then
924
lt_cv_apple_cc_single_mod=yes
925
rm -rf libconftest.dylib*
929
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
930
[lt_cv_ld_exported_symbols_list],
931
[lt_cv_ld_exported_symbols_list=no
932
save_LDFLAGS=$LDFLAGS
933
echo "_main" > conftest.sym
934
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
935
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
936
[lt_cv_ld_exported_symbols_list=yes],
937
[lt_cv_ld_exported_symbols_list=no])
938
LDFLAGS="$save_LDFLAGS"
941
rhapsody* | darwin1.[[0123]])
942
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
944
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
946
# if running on 10.5 or later, the deployment target defaults
947
# to the OS version, if on x86, and 10.4, the deployment
948
# target defaults to 10.4. Don't you love it?
949
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
950
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
951
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
953
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
955
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
959
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
960
_lt_dar_single_mod='$single_module'
962
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
963
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
965
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
967
if test "$DSYMUTIL" != ":"; then
968
_lt_dsymutil="~$DSYMUTIL \$lib || :"
901
976
# _LT_AC_SYS_LIBPATH_AIX
902
977
# ----------------------
2444
2523
AC_MSG_RESULT([$dynamic_linker])
2445
2524
test "$dynamic_linker" = no && can_build_shared=no
2526
AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
2527
[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
2528
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2529
AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
2530
[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
2531
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
2447
2533
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2448
2534
if test "$GCC" = yes; then
2449
2535
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3706
3793
darwin* | rhapsody*)
3708
rhapsody* | darwin1.[[012]])
3709
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3712
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3713
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3715
case ${MACOSX_DEPLOYMENT_TARGET} in
3717
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3720
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3726
3794
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3727
3795
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3728
3796
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3729
3797
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3730
3798
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3731
3799
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3733
if test "$GXX" = yes ; then
3734
lt_int_apple_cc_single_mod=no
3800
_LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3801
if test "$GXX" = yes ; then
3735
3802
output_verbose_link_cmd='echo'
3736
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3737
lt_int_apple_cc_single_mod=yes
3803
_LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
3804
_LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3805
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="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}"
3806
_LT_AC_TAGVAR(module_expsym_cmds, $1)="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}"
3807
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
3808
_LT_AC_TAGVAR(archive_cmds, $1)="\$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}"
3809
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="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}"
3739
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3740
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3742
_LT_AC_TAGVAR(archive_cmds, $1)='$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'
3744
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3745
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3746
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3747
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3749
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3751
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3753
3812
case $cc_basename in
4434
4493
# compiler output when linking a shared library.
4435
4494
# Parse the compiler output and extract the necessary
4436
4495
# objects, libraries and library flags.
4437
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
4496
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
4497
[AC_REQUIRE([LT_AC_PROG_SED])dnl
4438
4498
dnl we can't use the lt_simple_compile_test_code here,
4439
4499
dnl because it contains code intended for an executable,
4440
4500
dnl not a library. It's possible we should let each
4939
5004
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4940
5005
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4942
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5007
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4943
5008
# Free Software Foundation, Inc.
4945
5010
# This file is part of GNU Libtool:
6074
6146
if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6075
6147
AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6076
_LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
6148
_LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
6077
6149
[$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6078
6150
[case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6162
6235
# it will be wrapped by ` (' and `)$', so one must not match beginning or
6163
6236
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6164
6237
# as well as any symbol that contains `d'.
6165
_LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
6238
_LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
6166
6239
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6167
6240
# platforms (ab)use it in PIC code, but their linkers get confused if
6168
6241
# the symbol is explicitly referenced. Since portable code cannot
6169
6242
# rely on this symbol name, it's probably fine to never include it in
6170
6243
# preloaded symbol tables.
6244
# Exclude shared library initialization/finalization symbols.
6245
dnl Note also adjust exclude_expsyms for C++ above.
6171
6246
extract_expsyms_cmds=
6172
6247
# Just being paranoid about ensuring that cc_basename is set.
6173
6248
_LT_CC_BASENAME([$compiler])
6616
6691
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6617
6692
if test "$GCC" = yes ; then
6618
6693
output_verbose_link_cmd='echo'
6619
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6620
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6621
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6622
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6623
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6694
_LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
6695
_LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
6696
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="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}"
6697
_LT_AC_TAGVAR(module_expsym_cmds, $1)="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}"
6625
6699
case $cc_basename in
7390
7464
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7391
7465
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7392
7466
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7393
[AM_AUTOMAKE_VERSION([1.10])dnl
7394
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
7467
[AM_AUTOMAKE_VERSION([1.10.1])dnl
7468
m4_ifndef([AC_AUTOCONF_VERSION],
7469
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
7470
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7396
7472
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
7723
7799
# Do all the work for Automake. -*- Autoconf -*-
7725
7801
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
7726
# 2005, 2006 Free Software Foundation, Inc.
7802
# 2005, 2006, 2008 Free Software Foundation, Inc.
7728
7804
# This file is free software; the Free Software Foundation
7729
7805
# gives unlimited permission to copy and/or distribute it,
7730
7806
# with or without modifications, as long as this notice is preserved.
7734
7810
# This macro actually does too much. Some checks are only needed if
7735
7811
# your package does certain things. But this isn't really a big deal.