4914
4922
lt_cv_nm_interface="BSD nm"
4915
4923
echo "int some_variable = 0;" > conftest.$ac_ext
4916
(eval echo "\"\$as_me:4916: $ac_compile\"" >&5)
4924
(eval echo "\"\$as_me:4924: $ac_compile\"" >&5)
4917
4925
(eval "$ac_compile" 2>conftest.err)
4918
4926
cat conftest.err >&5
4919
(eval echo "\"\$as_me:4919: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4927
(eval echo "\"\$as_me:4927: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4920
4928
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4921
4929
cat conftest.err >&5
4922
(eval echo "\"\$as_me:4922: output\"" >&5)
4930
(eval echo "\"\$as_me:4930: output\"" >&5)
4923
4931
cat conftest.out >&5
4924
4932
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4925
4933
lt_cv_nm_interface="MS dumpbin"
7652
7660
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7653
7661
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7654
7662
-e 's:$: $lt_compiler_flag:'`
7655
(eval echo "\"\$as_me:7655: $lt_compile\"" >&5)
7663
(eval echo "\"\$as_me:7663: $lt_compile\"" >&5)
7656
7664
(eval "$lt_compile" 2>conftest.err)
7658
7666
cat conftest.err >&5
7659
echo "$as_me:7659: \$? = $ac_status" >&5
7667
echo "$as_me:7667: \$? = $ac_status" >&5
7660
7668
if (exit $ac_status) && test -s "$ac_outfile"; then
7661
7669
# The compiler can only warn and ignore the option if not recognized
7662
7670
# So say no if there are warnings other than the usual output.
7991
7999
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7992
8000
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7993
8001
-e 's:$: $lt_compiler_flag:'`
7994
(eval echo "\"\$as_me:7994: $lt_compile\"" >&5)
8002
(eval echo "\"\$as_me:8002: $lt_compile\"" >&5)
7995
8003
(eval "$lt_compile" 2>conftest.err)
7997
8005
cat conftest.err >&5
7998
echo "$as_me:7998: \$? = $ac_status" >&5
8006
echo "$as_me:8006: \$? = $ac_status" >&5
7999
8007
if (exit $ac_status) && test -s "$ac_outfile"; then
8000
8008
# The compiler can only warn and ignore the option if not recognized
8001
8009
# So say no if there are warnings other than the usual output.
8096
8104
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8097
8105
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8098
8106
-e 's:$: $lt_compiler_flag:'`
8099
(eval echo "\"\$as_me:8099: $lt_compile\"" >&5)
8107
(eval echo "\"\$as_me:8107: $lt_compile\"" >&5)
8100
8108
(eval "$lt_compile" 2>out/conftest.err)
8102
8110
cat out/conftest.err >&5
8103
echo "$as_me:8103: \$? = $ac_status" >&5
8111
echo "$as_me:8111: \$? = $ac_status" >&5
8104
8112
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8106
8114
# The compiler can only warn and ignore the option if not recognized
8151
8159
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8152
8160
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8153
8161
-e 's:$: $lt_compiler_flag:'`
8154
(eval echo "\"\$as_me:8154: $lt_compile\"" >&5)
8162
(eval echo "\"\$as_me:8162: $lt_compile\"" >&5)
8155
8163
(eval "$lt_compile" 2>out/conftest.err)
8157
8165
cat out/conftest.err >&5
8158
echo "$as_me:8158: \$? = $ac_status" >&5
8166
echo "$as_me:8166: \$? = $ac_status" >&5
8159
8167
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8161
8169
# The compiler can only warn and ignore the option if not recognized
16639
16648
as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
16650
if test "x$PACKAGE_NAME" != "xglib"; then
16653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
16654
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
16656
if test -n "$GTKDOC_DEPS_CFLAGS"; then
16657
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
16658
elif test -n "$PKG_CONFIG"; then
16659
if test -n "$PKG_CONFIG" && \
16660
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
16661
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
16663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16664
test $ac_status = 0; }; then
16665
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
16672
if test -n "$GTKDOC_DEPS_LIBS"; then
16673
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
16674
elif test -n "$PKG_CONFIG"; then
16675
if test -n "$PKG_CONFIG" && \
16676
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
16677
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
16679
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16680
test $ac_status = 0; }; then
16681
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
16691
if test $pkg_failed = yes; then
16692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16693
$as_echo "no" >&6; }
16695
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16696
_pkg_short_errors_supported=yes
16698
_pkg_short_errors_supported=no
16700
if test $_pkg_short_errors_supported = yes; then
16701
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
16703
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
16705
# Put the nasty error message in config.log where it belongs
16706
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
16708
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
16710
$GTKDOC_DEPS_PKG_ERRORS
16712
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16713
installed software in a non-standard prefix.
16715
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
16716
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
16717
See the pkg-config man page for more details." "$LINENO" 5
16718
elif test $pkg_failed = untried; then
16719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16720
$as_echo "no" >&6; }
16721
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16722
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16723
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16724
is in your PATH or set the PKG_CONFIG environment variable to the full
16725
path to pkg-config.
16727
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
16728
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
16729
See the pkg-config man page for more details.
16731
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16732
See \`config.log' for more details" "$LINENO" 5; }
16734
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
16735
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
16736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16737
$as_echo "yes" >&6; }
16643
16743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5