14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
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.
16
m4_if(AC_AUTOCONF_VERSION, [2.63],,
17
[m4_warning([this file was generated for autoconf 2.63.
18
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
34
34
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
37
AC_ARG_WITH(gconf-source,
38
[ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
37
AC_ARG_WITH([gconf-source],
38
AC_HELP_STRING([--with-gconf-source=sourceaddress],
39
[Config database for installing schema files.]),
40
[GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
40
42
AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
41
43
AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
44
46
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
47
AC_ARG_WITH(gconf-schema-file-dir,
48
[ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",)
49
AC_ARG_WITH([gconf-schema-file-dir],
50
AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
51
[Directory for installing schema files.]),
52
[GCONF_SCHEMA_FILE_DIR="$withval"],)
50
54
AC_SUBST(GCONF_SCHEMA_FILE_DIR)
51
55
AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
931
940
'"s|^| $ac_top_srcdir/|" \
932
941
"$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
934
if test ! -f "$1/Makefile"; then
935
AC_MSG_ERROR([$1/Makefile is not ready.])
937
mv "$1/Makefile" "$1/Makefile.tmp"
938
943
[sed '/^POTFILES =/,/[^\\]$/ {
942
' "$1/Makefile.tmp" >"$1/Makefile"]
947
' "$1/Makefile.in" >"$1/Makefile"]
943
948
rm -f "$1/Makefile.tmp"
944
949
mv "$1/stamp-it.tmp" "$1/stamp-it"
950
954
# deprecated macros
951
955
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
952
956
# A hint is needed for aclocal from Automake <= 1.9.4:
1224
1229
echo "$lt_simple_link_test_code" >conftest.$ac_ext
1225
1230
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1226
1231
_lt_linker_boilerplate=`cat conftest.err`
1228
1233
])# _LT_LINKER_BOILERPLATE
1235
# _LT_REQUIRED_DARWIN_CHECKS
1236
# --------------------------
1237
# Check for some things on darwin
1238
AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
1240
rhapsody* | darwin*)
1241
AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
1242
AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
1244
AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1245
[lt_cv_apple_cc_single_mod=no
1246
if test -z "${LT_MULTI_MODULE}"; then
1247
# By default we will add the -single_module flag. You can override
1248
# by either setting the environment variable LT_MULTI_MODULE
1249
# non-empty at configure time, or by adding -multi_module to the
1251
echo "int foo(void){return 1;}" > conftest.c
1252
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1253
-dynamiclib ${wl}-single_module conftest.c
1254
if test -f libconftest.dylib; then
1255
lt_cv_apple_cc_single_mod=yes
1256
rm -rf libconftest.dylib*
1260
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1261
[lt_cv_ld_exported_symbols_list],
1262
[lt_cv_ld_exported_symbols_list=no
1263
save_LDFLAGS=$LDFLAGS
1264
echo "_main" > conftest.sym
1265
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1266
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1267
[lt_cv_ld_exported_symbols_list=yes],
1268
[lt_cv_ld_exported_symbols_list=no])
1269
LDFLAGS="$save_LDFLAGS"
1272
rhapsody* | darwin1.[[0123]])
1273
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1275
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1277
# if running on 10.5 or later, the deployment target defaults
1278
# to the OS version, if on x86, and 10.4, the deployment
1279
# target defaults to 10.4. Don't you love it?
1280
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1281
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1282
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1284
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1286
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1290
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1291
_lt_dar_single_mod='$single_module'
1293
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1294
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
1296
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
1298
if test "$DSYMUTIL" != ":"; then
1299
_lt_dsymutil="~$DSYMUTIL \$lib || :"
1231
1307
# _LT_AC_SYS_LIBPATH_AIX
1232
1308
# ----------------------
2764
2844
AC_MSG_RESULT([$dynamic_linker])
2765
2845
test "$dynamic_linker" = no && can_build_shared=no
2847
AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
2848
[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
2849
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2850
AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
2851
[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
2852
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
2767
2854
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2768
2855
if test "$GCC" = yes; then
2769
2856
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4026
4114
darwin* | rhapsody*)
4028
rhapsody* | darwin1.[[012]])
4029
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
4032
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4033
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4035
case ${MACOSX_DEPLOYMENT_TARGET} in
4037
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4040
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
4046
4115
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4047
4116
_LT_AC_TAGVAR(hardcode_direct, $1)=no
4048
4117
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4049
4118
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4050
4119
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
4051
4120
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4053
if test "$GXX" = yes ; then
4054
lt_int_apple_cc_single_mod=no
4121
_LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
4122
if test "$GXX" = yes ; then
4055
4123
output_verbose_link_cmd='echo'
4056
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
4057
lt_int_apple_cc_single_mod=yes
4124
_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}"
4125
_LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
4126
_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}"
4127
_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}"
4128
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
4129
_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}"
4130
_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}"
4059
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4060
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4062
_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'
4064
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4065
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4066
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4067
_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}'
4069
_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}'
4071
_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}'
4073
4133
case $cc_basename in
4754
4814
# compiler output when linking a shared library.
4755
4815
# Parse the compiler output and extract the necessary
4756
4816
# objects, libraries and library flags.
4757
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
4817
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
4818
[AC_REQUIRE([LT_AC_PROG_SED])dnl
4758
4819
dnl we can't use the lt_simple_compile_test_code here,
4759
4820
dnl because it contains code intended for an executable,
4760
4821
dnl not a library. It's possible we should let each
5259
5325
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
5260
5326
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
5262
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5328
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5263
5329
# Free Software Foundation, Inc.
5265
5331
# This file is part of GNU Libtool:
6394
6467
if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6395
6468
AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6396
_LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
6469
_LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
6397
6470
[$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6398
6471
[case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6482
6556
# it will be wrapped by ` (' and `)$', so one must not match beginning or
6483
6557
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6484
6558
# as well as any symbol that contains `d'.
6485
_LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
6559
_LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
6486
6560
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6487
6561
# platforms (ab)use it in PIC code, but their linkers get confused if
6488
6562
# the symbol is explicitly referenced. Since portable code cannot
6489
6563
# rely on this symbol name, it's probably fine to never include it in
6490
6564
# preloaded symbol tables.
6565
# Exclude shared library initialization/finalization symbols.
6566
dnl Note also adjust exclude_expsyms for C++ above.
6491
6567
extract_expsyms_cmds=
6492
6568
# Just being paranoid about ensuring that cc_basename is set.
6493
6569
_LT_CC_BASENAME([$compiler])
6936
7012
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6937
7013
if test "$GCC" = yes ; then
6938
7014
output_verbose_link_cmd='echo'
6939
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6940
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6941
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6942
_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}'
6943
_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}'
7015
_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}"
7016
_LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7017
_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}"
7018
_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}"
6945
7020
case $cc_basename in
7521
7596
AC_MSG_RESULT([$SED])
7599
# nls.m4 serial 3 (gettext-0.15)
7600
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
7601
dnl This file is free software; the Free Software Foundation
7602
dnl gives unlimited permission to copy and/or distribute it,
7603
dnl with or without modifications, as long as this notice is preserved.
7605
dnl This file can can be used in projects which are not available under
7606
dnl the GNU General Public License or the GNU Library General Public
7607
dnl License but which still want to provide support for the GNU gettext
7609
dnl Please note that the actual code of the GNU gettext library is covered
7610
dnl by the GNU Library General Public License, and the rest of the GNU
7611
dnl gettext package package is covered by the GNU General Public License.
7612
dnl They are *not* in the public domain.
7615
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
7616
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
7622
AC_MSG_CHECKING([whether NLS is requested])
7623
dnl Default is enabled NLS
7625
[ --disable-nls do not use Native Language Support],
7626
USE_NLS=$enableval, USE_NLS=yes)
7627
AC_MSG_RESULT($USE_NLS)
7524
7631
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
7526
7633
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.