39
39
[use gtk-doc to build documentation [[default=no]]]),,
40
40
[enable_gtk_doc=no])
42
43
if test x$enable_gtk_doc = xyes; then
44
[PKG_CHECK_EXISTS([gtk-doc],,
45
AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
46
[PKG_CHECK_EXISTS([gtk-doc >= $1],,
47
AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])
44
if test -z "$PKG_CONFIG"; then
45
AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
47
if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
51
dnl do we want to do a version check?
53
[gtk_doc_min_version=$1
54
if test "$have_gtk_doc" = yes; then
55
AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
56
if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
64
if test "$have_gtk_doc" != yes; then
50
AC_MSG_CHECKING([whether to build gtk-doc documentation])
51
AC_MSG_RESULT($enable_gtk_doc)
53
AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)
55
69
AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
56
70
AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
59
73
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
61
# serial 51 AC_PROG_LIBTOOL
75
# serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL
64
78
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1669
1682
# Some rework will be needed to allow for fast_install
1670
1683
# before this can be enabled.
1671
1684
hardcode_into_libs=yes
1672
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1673
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1675
1686
# Append ld.so.conf contents to the search path
1676
1687
if test -f /etc/ld.so.conf; then
1677
1688
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1678
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
1689
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1681
1692
# We used to test for /lib/ld.so.1 and disable shared libraries on
1687
1698
dynamic_linker='GNU/Linux ld.so'
1705
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1706
soname_spec='${libname}${release}${shared_ext}$major'
1707
shlibpath_var=LD_LIBRARY_PATH
1708
shlibpath_overrides_runpath=no
1709
hardcode_into_libs=yes
1710
dynamic_linker='NetBSD ld.elf_so'
1691
1714
version_type=sunos
1692
1715
need_lib_prefix=no
2461
2484
lt_cv_deplibs_check_method=pass_all
2487
netbsd* | netbsdelf*-gnu)
2465
2488
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2466
2489
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
5551
5574
cygwin* | mingw*)
5552
5575
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5577
linux* | k*bsd*-gnu)
5578
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
5555
5581
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5756
5782
$echo "local: *; };" >> $output_objdir/$libname.ver~
5757
5783
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5785
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
5760
5787
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5791
netbsd* | netbsdelf*-gnu)
5765
5792
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5766
5793
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6193
6220
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6223
netbsd* | netbsdelf*-gnu)
6197
6224
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6198
6225
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out