0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.64 for telepathy-sofiasip 0.6.2.
|
|
2 |
# Generated by GNU Autoconf 2.65 for telepathy-sofiasip 0.6.3.
|
|
3 |
#
|
3 | 4 |
#
|
4 | 5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
|
6 | |
# Foundation, Inc.
|
|
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
7 |
# Inc.
|
|
8 |
#
|
7 | 9 |
#
|
8 | 10 |
# This configure script is free software; the Free Software Foundation
|
9 | 11 |
# gives unlimited permission to copy, distribute and modify it.
|
|
672 | 674 |
|
673 | 675 |
|
674 | 676 |
|
675 | |
exec 7<&0 </dev/null 6>&1
|
|
677 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
678 |
exec 6>&1
|
676 | 679 |
|
677 | 680 |
# Name of the host.
|
678 | 681 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
694 | 697 |
# Identity of this package.
|
695 | 698 |
PACKAGE_NAME='telepathy-sofiasip'
|
696 | 699 |
PACKAGE_TARNAME='telepathy-sofiasip'
|
697 | |
PACKAGE_VERSION='0.6.2'
|
698 | |
PACKAGE_STRING='telepathy-sofiasip 0.6.2'
|
|
700 |
PACKAGE_VERSION='0.6.3'
|
|
701 |
PACKAGE_STRING='telepathy-sofiasip 0.6.3'
|
699 | 702 |
PACKAGE_BUGREPORT=''
|
700 | 703 |
PACKAGE_URL=''
|
701 | 704 |
|
|
763 | 766 |
GLIB_GENMARSHAL
|
764 | 767 |
GLIB_LIBS
|
765 | 768 |
GLIB_CFLAGS
|
|
769 |
GTK_DOC_USE_REBASE_FALSE
|
|
770 |
GTK_DOC_USE_REBASE_TRUE
|
766 | 771 |
GTK_DOC_USE_LIBTOOL_FALSE
|
767 | 772 |
GTK_DOC_USE_LIBTOOL_TRUE
|
|
773 |
GTK_DOC_BUILD_PDF_FALSE
|
|
774 |
GTK_DOC_BUILD_PDF_TRUE
|
|
775 |
GTK_DOC_BUILD_HTML_FALSE
|
|
776 |
GTK_DOC_BUILD_HTML_TRUE
|
768 | 777 |
ENABLE_GTK_DOC_FALSE
|
769 | 778 |
ENABLE_GTK_DOC_TRUE
|
770 | |
GTKDOC_CHECK
|
771 | 779 |
PKG_CONFIG
|
772 | 780 |
HTML_DIR
|
|
781 |
GTKDOC_MKPDF
|
|
782 |
GTKDOC_REBASE
|
|
783 |
GTKDOC_CHECK
|
773 | 784 |
ERROR_CFLAGS
|
774 | 785 |
CPP
|
775 | 786 |
OTOOL64
|
|
790 | 801 |
EGREP
|
791 | 802 |
GREP
|
792 | 803 |
SED
|
|
804 |
host_os
|
|
805 |
host_vendor
|
|
806 |
host_cpu
|
|
807 |
host
|
|
808 |
build_os
|
|
809 |
build_vendor
|
|
810 |
build_cpu
|
|
811 |
build
|
|
812 |
LIBTOOL
|
793 | 813 |
am__fastdepCC_FALSE
|
794 | 814 |
am__fastdepCC_TRUE
|
795 | 815 |
CCDEPMODE
|
|
806 | 826 |
LDFLAGS
|
807 | 827 |
CFLAGS
|
808 | 828 |
CC
|
809 | |
host_os
|
810 | |
host_vendor
|
811 | |
host_cpu
|
812 | |
host
|
813 | |
build_os
|
814 | |
build_vendor
|
815 | |
build_cpu
|
816 | |
build
|
817 | |
LIBTOOL
|
818 | 829 |
AM_BACKSLASH
|
819 | 830 |
AM_DEFAULT_VERBOSITY
|
820 | 831 |
am__untar
|
|
889 | 900 |
enable_option_checking
|
890 | 901 |
enable_silent_rules
|
891 | 902 |
enable_shared
|
|
903 |
enable_dependency_tracking
|
892 | 904 |
enable_static
|
893 | 905 |
with_pic
|
894 | 906 |
enable_fast_install
|
895 | |
enable_dependency_tracking
|
896 | 907 |
with_gnu_ld
|
897 | 908 |
enable_libtool_lock
|
898 | 909 |
enable_compiler_optimisations
|
|
900 | 911 |
enable_debug
|
901 | 912 |
with_html_dir
|
902 | 913 |
enable_gtk_doc
|
|
914 |
enable_gtk_doc_html
|
|
915 |
enable_gtk_doc_pdf
|
903 | 916 |
with_iphb
|
904 | 917 |
'
|
905 | 918 |
ac_precious_vars='build_alias
|
|
1461 | 1474 |
# Omit some internal or obsolete options to make the list less imposing.
|
1462 | 1475 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1463 | 1476 |
cat <<_ACEOF
|
1464 | |
\`configure' configures telepathy-sofiasip 0.6.2 to adapt to many kinds of systems.
|
|
1477 |
\`configure' configures telepathy-sofiasip 0.6.3 to adapt to many kinds of systems.
|
1465 | 1478 |
|
1466 | 1479 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1467 | 1480 |
|
|
1532 | 1545 |
|
1533 | 1546 |
if test -n "$ac_init_help"; then
|
1534 | 1547 |
case $ac_init_help in
|
1535 | |
short | recursive ) echo "Configuration of telepathy-sofiasip 0.6.2:";;
|
|
1548 |
short | recursive ) echo "Configuration of telepathy-sofiasip 0.6.3:";;
|
1536 | 1549 |
esac
|
1537 | 1550 |
cat <<\_ACEOF
|
1538 | 1551 |
|
|
1542 | 1555 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1543 | 1556 |
--enable-silent-rules less verbose build output (undo: `make V=1')
|
1544 | 1557 |
--disable-silent-rules verbose build output (undo: `make V=0')
|
1545 | |
--enable-shared[=PKGS] build shared libraries [default=yes]
|
|
1558 |
--enable-shared[=PKGS] build shared libraries [default=no]
|
|
1559 |
--disable-dependency-tracking speeds up one-time build
|
|
1560 |
--enable-dependency-tracking do not reject slow dependency extractors
|
1546 | 1561 |
--enable-static[=PKGS] build static libraries [default=yes]
|
1547 | 1562 |
--enable-fast-install[=PKGS]
|
1548 | 1563 |
optimize for fast installation [default=yes]
|
1549 | |
--disable-dependency-tracking speeds up one-time build
|
1550 | |
--enable-dependency-tracking do not reject slow dependency extractors
|
1551 | 1564 |
--disable-libtool-lock avoid locking (might break parallel builds)
|
1552 | 1565 |
--disable-compiler-optimisations
|
1553 | 1566 |
Disable compiler optimisations
|
1554 | 1567 |
--enable-compiler-coverage
|
1555 | 1568 |
Enable generation of coverage data
|
1556 | 1569 |
--disable-debug omit debug code
|
1557 | |
--enable-gtk-doc use gtk-doc to build documentation [default=no]
|
|
1570 |
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
|
|
1571 |
--enable-gtk-doc-html build documentation in html format [[default=yes]]
|
|
1572 |
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
|
1558 | 1573 |
|
1559 | 1574 |
Optional Packages:
|
1560 | 1575 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
1571 | 1586 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1572 | 1587 |
nonstandard directory <lib dir>
|
1573 | 1588 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1574 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1589 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1575 | 1590 |
you have headers in a nonstandard directory <include dir>
|
1576 | 1591 |
CPP C preprocessor
|
1577 | 1592 |
PKG_CONFIG path to pkg-config utility
|
|
1654 | 1669 |
test -n "$ac_init_help" && exit $ac_status
|
1655 | 1670 |
if $ac_init_version; then
|
1656 | 1671 |
cat <<\_ACEOF
|
1657 | |
telepathy-sofiasip configure 0.6.2
|
1658 | |
generated by GNU Autoconf 2.64
|
|
1672 |
telepathy-sofiasip configure 0.6.3
|
|
1673 |
generated by GNU Autoconf 2.65
|
1659 | 1674 |
|
1660 | 1675 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1661 | 1676 |
This configure script is free software; the Free Software Foundation
|
|
1702 | 1717 |
ac_retval=1
|
1703 | 1718 |
fi
|
1704 | 1719 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1705 | |
return $ac_retval
|
|
1720 |
as_fn_set_status $ac_retval
|
1706 | 1721 |
|
1707 | 1722 |
} # ac_fn_c_try_compile
|
1708 | 1723 |
|
|
1748 | 1763 |
# left behind by Apple's compiler. We do this before executing the actions.
|
1749 | 1764 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1750 | 1765 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1751 | |
return $ac_retval
|
|
1766 |
as_fn_set_status $ac_retval
|
1752 | 1767 |
|
1753 | 1768 |
} # ac_fn_c_try_link
|
1754 | 1769 |
|
|
1816 | 1831 |
ac_retval=1
|
1817 | 1832 |
fi
|
1818 | 1833 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1819 | |
return $ac_retval
|
|
1834 |
as_fn_set_status $ac_retval
|
1820 | 1835 |
|
1821 | 1836 |
} # ac_fn_c_try_cpp
|
1822 | 1837 |
|
|
1858 | 1873 |
fi
|
1859 | 1874 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1860 | 1875 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1861 | |
return $ac_retval
|
|
1876 |
as_fn_set_status $ac_retval
|
1862 | 1877 |
|
1863 | 1878 |
} # ac_fn_c_try_run
|
1864 | 1879 |
|
|
1932 | 1947 |
This file contains any messages produced by compilers while
|
1933 | 1948 |
running configure, to aid debugging if configure makes a mistake.
|
1934 | 1949 |
|
1935 | |
It was created by telepathy-sofiasip $as_me 0.6.2, which was
|
1936 | |
generated by GNU Autoconf 2.64. Invocation command line was
|
|
1950 |
It was created by telepathy-sofiasip $as_me 0.6.3, which was
|
|
1951 |
generated by GNU Autoconf 2.65. Invocation command line was
|
1937 | 1952 |
|
1938 | 1953 |
$ $0 $@
|
1939 | 1954 |
|
|
2186 | 2201 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
2187 | 2202 |
do
|
2188 | 2203 |
test "x$ac_site_file" = xNONE && continue
|
2189 | |
if test -r "$ac_site_file"; then
|
|
2204 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2190 | 2205 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2191 | 2206 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
2192 | 2207 |
sed 's/^/| /' "$ac_site_file" >&5
|
|
2195 | 2210 |
done
|
2196 | 2211 |
|
2197 | 2212 |
if test -r "$cache_file"; then
|
2198 | |
# Some versions of bash will fail to source /dev/null (special
|
2199 | |
# files actually), so we avoid doing that.
|
2200 | |
if test -f "$cache_file"; then
|
|
2213 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2214 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2215 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2201 | 2216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2202 | 2217 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
2203 | 2218 |
case $cache_file in
|
|
2285 | 2300 |
PACKAGE=telepathy-sofiasip
|
2286 | 2301 |
TELEPATHY_SIP_VERSION_MAJOR=0
|
2287 | 2302 |
TELEPATHY_SIP_VERSION_MINOR=6
|
2288 | |
TELEPATHY_SIP_VERSION_MICRO=2
|
|
2303 |
TELEPATHY_SIP_VERSION_MICRO=3
|
2289 | 2304 |
NANO=0
|
2290 | 2305 |
TELEPATHY_SIP_VERSION_NANO=$NANO
|
2291 | 2306 |
if test "x$NANO" = "x" || test "x$NANO" = "x0";
|
2292 | 2307 |
then
|
2293 | 2308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: configuring telepathy-sofiasip for release" >&5
|
2294 | 2309 |
$as_echo "$as_me: configuring telepathy-sofiasip for release" >&6;}
|
2295 | |
VERSION=0.6.2
|
|
2310 |
VERSION=0.6.3
|
2296 | 2311 |
TELEPATHY_SIP_VERSION_RELEASE=1
|
2297 | 2312 |
WERROR="no"
|
2298 | 2313 |
else
|
2299 | 2314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: configuring telepathy-sofiasip for development with nano $NANO" >&5
|
2300 | 2315 |
$as_echo "$as_me: configuring telepathy-sofiasip for development with nano $NANO" >&6;}
|
2301 | |
VERSION=0.6.2.$NANO
|
|
2316 |
VERSION=0.6.3.$NANO
|
2302 | 2317 |
TELEPATHY_SIP_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
|
2303 | 2318 |
WERROR="yes"
|
2304 | 2319 |
fi
|
|
2672 | 2687 |
|
2673 | 2688 |
fi
|
2674 | 2689 |
|
|
2690 |
test -d ./--version && rmdir ./--version
|
2675 | 2691 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
2676 | 2692 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2677 | 2693 |
else
|
|
2679 | 2695 |
# value for MKDIR_P within a source directory, because that will
|
2680 | 2696 |
# break other packages using the cache if that directory is
|
2681 | 2697 |
# removed, or if the value is a relative name.
|
2682 | |
test -d ./--version && rmdir ./--version
|
2683 | 2698 |
MKDIR_P="$ac_install_sh -d"
|
2684 | 2699 |
fi
|
2685 | 2700 |
fi
|
|
2796 | 2811 |
|
2797 | 2812 |
# Define the identity of the package.
|
2798 | 2813 |
PACKAGE='telepathy-sofiasip'
|
2799 | |
VERSION='0.6.2'
|
|
2814 |
VERSION='0.6.3'
|
2800 | 2815 |
|
2801 | 2816 |
|
2802 | 2817 |
cat >>confdefs.h <<_ACEOF
|
|
2849 | 2864 |
AM_BACKSLASH='\'
|
2850 | 2865 |
|
2851 | 2866 |
|
2852 | |
case `pwd` in
|
2853 | |
*\ * | *\ *)
|
2854 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
2855 | |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
2856 | |
esac
|
2857 | |
|
2858 | |
|
2859 | |
|
2860 | |
macro_version='2.2.6'
|
2861 | |
macro_revision='1.3012'
|
2862 | |
|
2863 | |
|
2864 | |
|
2865 | |
|
2866 | |
|
2867 | |
|
2868 | |
|
2869 | |
|
2870 | |
|
2871 | |
|
2872 | |
|
2873 | |
|
2874 | |
|
2875 | |
ltmain="$ac_aux_dir/ltmain.sh"
|
2876 | |
|
2877 | |
# Make sure we can run config.sub.
|
2878 | |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2879 | |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
2880 | |
|
2881 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
2882 | |
$as_echo_n "checking build system type... " >&6; }
|
2883 | |
if test "${ac_cv_build+set}" = set; then :
|
2884 | |
$as_echo_n "(cached) " >&6
|
2885 | |
else
|
2886 | |
ac_build_alias=$build_alias
|
2887 | |
test "x$ac_build_alias" = x &&
|
2888 | |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
2889 | |
test "x$ac_build_alias" = x &&
|
2890 | |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
2891 | |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2892 | |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
2893 | |
|
2894 | |
fi
|
2895 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
2896 | |
$as_echo "$ac_cv_build" >&6; }
|
2897 | |
case $ac_cv_build in
|
2898 | |
*-*-*) ;;
|
2899 | |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
2900 | |
esac
|
2901 | |
build=$ac_cv_build
|
2902 | |
ac_save_IFS=$IFS; IFS='-'
|
2903 | |
set x $ac_cv_build
|
2904 | |
shift
|
2905 | |
build_cpu=$1
|
2906 | |
build_vendor=$2
|
2907 | |
shift; shift
|
2908 | |
# Remember, the first character of IFS is used to create $*,
|
2909 | |
# except with old shells:
|
2910 | |
build_os=$*
|
2911 | |
IFS=$ac_save_IFS
|
2912 | |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2913 | |
|
2914 | |
|
2915 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
2916 | |
$as_echo_n "checking host system type... " >&6; }
|
2917 | |
if test "${ac_cv_host+set}" = set; then :
|
2918 | |
$as_echo_n "(cached) " >&6
|
2919 | |
else
|
2920 | |
if test "x$host_alias" = x; then
|
2921 | |
ac_cv_host=$ac_cv_build
|
2922 | |
else
|
2923 | |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2924 | |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
2925 | |
fi
|
2926 | |
|
2927 | |
fi
|
2928 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
2929 | |
$as_echo "$ac_cv_host" >&6; }
|
2930 | |
case $ac_cv_host in
|
2931 | |
*-*-*) ;;
|
2932 | |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
2933 | |
esac
|
2934 | |
host=$ac_cv_host
|
2935 | |
ac_save_IFS=$IFS; IFS='-'
|
2936 | |
set x $ac_cv_host
|
2937 | |
shift
|
2938 | |
host_cpu=$1
|
2939 | |
host_vendor=$2
|
2940 | |
shift; shift
|
2941 | |
# Remember, the first character of IFS is used to create $*,
|
2942 | |
# except with old shells:
|
2943 | |
host_os=$*
|
2944 | |
IFS=$ac_save_IFS
|
2945 | |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
2946 | |
|
2947 | |
|
2948 | |
DEPDIR="${am__leading_dot}deps"
|
2949 | |
|
2950 | |
ac_config_commands="$ac_config_commands depfiles"
|
2951 | |
|
2952 | |
|
2953 | |
am_make=${MAKE-make}
|
2954 | |
cat > confinc << 'END'
|
2955 | |
am__doit:
|
2956 | |
@echo this is the am__doit target
|
2957 | |
.PHONY: am__doit
|
2958 | |
END
|
2959 | |
# If we don't find an include directive, just comment out the code.
|
2960 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
2961 | |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
2962 | |
am__include="#"
|
2963 | |
am__quote=
|
2964 | |
_am_result=none
|
2965 | |
# First try GNU make style include.
|
2966 | |
echo "include confinc" > confmf
|
2967 | |
# Ignore all kinds of additional output from `make'.
|
2968 | |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
2969 | |
*the\ am__doit\ target*)
|
2970 | |
am__include=include
|
2971 | |
am__quote=
|
2972 | |
_am_result=GNU
|
2973 | |
;;
|
2974 | |
esac
|
2975 | |
# Now try BSD make style include.
|
2976 | |
if test "$am__include" = "#"; then
|
2977 | |
echo '.include "confinc"' > confmf
|
2978 | |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
2979 | |
*the\ am__doit\ target*)
|
2980 | |
am__include=.include
|
2981 | |
am__quote="\""
|
2982 | |
_am_result=BSD
|
2983 | |
;;
|
2984 | |
esac
|
2985 | |
fi
|
2986 | |
|
2987 | |
|
2988 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
2989 | |
$as_echo "$_am_result" >&6; }
|
2990 | |
rm -f confinc confmf
|
2991 | |
|
2992 | |
# Check whether --enable-dependency-tracking was given.
|
2993 | |
if test "${enable_dependency_tracking+set}" = set; then :
|
2994 | |
enableval=$enable_dependency_tracking;
|
2995 | |
fi
|
2996 | |
|
2997 | |
if test "x$enable_dependency_tracking" != xno; then
|
2998 | |
am_depcomp="$ac_aux_dir/depcomp"
|
2999 | |
AMDEPBACKSLASH='\'
|
3000 | |
fi
|
3001 | |
if test "x$enable_dependency_tracking" != xno; then
|
3002 | |
AMDEP_TRUE=
|
3003 | |
AMDEP_FALSE='#'
|
3004 | |
else
|
3005 | |
AMDEP_TRUE='#'
|
3006 | |
AMDEP_FALSE=
|
3007 | |
fi
|
|
2867 |
# Check whether --enable-shared was given.
|
|
2868 |
if test "${enable_shared+set}" = set; then :
|
|
2869 |
enableval=$enable_shared; p=${PACKAGE-default}
|
|
2870 |
case $enableval in
|
|
2871 |
yes) enable_shared=yes ;;
|
|
2872 |
no) enable_shared=no ;;
|
|
2873 |
*)
|
|
2874 |
enable_shared=no
|
|
2875 |
# Look at the argument we got. We use all the common list separators.
|
|
2876 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
2877 |
for pkg in $enableval; do
|
|
2878 |
IFS="$lt_save_ifs"
|
|
2879 |
if test "X$pkg" = "X$p"; then
|
|
2880 |
enable_shared=yes
|
|
2881 |
fi
|
|
2882 |
done
|
|
2883 |
IFS="$lt_save_ifs"
|
|
2884 |
;;
|
|
2885 |
esac
|
|
2886 |
else
|
|
2887 |
enable_shared=no
|
|
2888 |
fi
|
|
2889 |
|
|
2890 |
|
|
2891 |
|
|
2892 |
|
|
2893 |
|
|
2894 |
|
|
2895 |
|
|
2896 |
|
|
2897 |
|
|
2898 |
|
|
2899 |
ac_config_headers="$ac_config_headers config.h"
|
3008 | 2900 |
|
3009 | 2901 |
|
3010 | 2902 |
ac_ext=c
|
|
3329 | 3221 |
... rest of stderr output deleted ...
|
3330 | 3222 |
10q' conftest.err >conftest.er1
|
3331 | 3223 |
cat conftest.er1 >&5
|
3332 | |
rm -f conftest.er1 conftest.err
|
3333 | 3224 |
fi
|
|
3225 |
rm -f conftest.er1 conftest.err
|
3334 | 3226 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3335 | 3227 |
test $ac_status = 0; }
|
3336 | 3228 |
done
|
3337 | 3229 |
|
3338 | 3230 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3339 | 3231 |
/* end confdefs.h. */
|
3340 | |
#include <stdio.h>
|
|
3232 |
|
3341 | 3233 |
int
|
3342 | 3234 |
main ()
|
3343 | 3235 |
{
|
3344 | |
FILE *f = fopen ("conftest.out", "w");
|
3345 | |
return ferror (f) || fclose (f) != 0;
|
3346 | 3236 |
|
3347 | 3237 |
;
|
3348 | 3238 |
return 0;
|
3349 | 3239 |
}
|
3350 | 3240 |
_ACEOF
|
3351 | 3241 |
ac_clean_files_save=$ac_clean_files
|
3352 | |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
|
|
3242 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
3353 | 3243 |
# Try to create an executable without -o first, disregard a.out.
|
3354 | 3244 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3355 | 3245 |
# of exeext.
|
3356 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
3357 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
3247 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3358 | 3248 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3359 | 3249 |
|
3360 | 3250 |
# The possible output files:
|
|
3416 | 3306 |
else
|
3417 | 3307 |
ac_file=''
|
3418 | 3308 |
fi
|
3419 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3420 | |
$as_echo "$ac_file" >&6; }
|
3421 | 3309 |
if test -z "$ac_file"; then :
|
3422 | |
$as_echo "$as_me: failed program was:" >&5
|
|
3310 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3311 |
$as_echo "no" >&6; }
|
|
3312 |
$as_echo "$as_me: failed program was:" >&5
|
3423 | 3313 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3424 | 3314 |
|
3425 | 3315 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3427 | 3317 |
{ as_fn_set_status 77
|
3428 | 3318 |
as_fn_error "C compiler cannot create executables
|
3429 | 3319 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
3430 | |
fi
|
|
3320 |
else
|
|
3321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3322 |
$as_echo "yes" >&6; }
|
|
3323 |
fi
|
|
3324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
3325 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
3327 |
$as_echo "$ac_file" >&6; }
|
3431 | 3328 |
ac_exeext=$ac_cv_exeext
|
3432 | 3329 |
|
3433 | |
# Check that the compiler produces executables we can run. If not, either
|
3434 | |
# the compiler is broken, or we cross compile.
|
3435 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
3436 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3437 | |
# If not cross compiling, check that we can run a simple program.
|
3438 | |
if test "$cross_compiling" != yes; then
|
3439 | |
if { ac_try='./$ac_file'
|
3440 | |
{ { case "(($ac_try" in
|
3441 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3442 | |
*) ac_try_echo=$ac_try;;
|
3443 | |
esac
|
3444 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3445 | |
$as_echo "$ac_try_echo"; } >&5
|
3446 | |
(eval "$ac_try") 2>&5
|
3447 | |
ac_status=$?
|
3448 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3449 | |
test $ac_status = 0; }; }; then
|
3450 | |
cross_compiling=no
|
3451 | |
else
|
3452 | |
if test "$cross_compiling" = maybe; then
|
3453 | |
cross_compiling=yes
|
3454 | |
else
|
3455 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3456 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3457 | |
as_fn_error "cannot run C compiled programs.
|
3458 | |
If you meant to cross compile, use \`--host'.
|
3459 | |
See \`config.log' for more details." "$LINENO" 5; }
|
3460 | |
fi
|
3461 | |
fi
|
3462 | |
fi
|
3463 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3464 | |
$as_echo "yes" >&6; }
|
3465 | |
|
3466 | |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
|
|
3330 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3467 | 3331 |
ac_clean_files=$ac_clean_files_save
|
3468 | |
# Check that the compiler produces executables we can run. If not, either
|
3469 | |
# the compiler is broken, or we cross compile.
|
3470 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3471 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
3472 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3473 | |
$as_echo "$cross_compiling" >&6; }
|
3474 | |
|
3475 | 3332 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3476 | 3333 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
3477 | 3334 |
if { { ac_try="$ac_link"
|
|
3504 | 3361 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
3505 | 3362 |
See \`config.log' for more details." "$LINENO" 5; }
|
3506 | 3363 |
fi
|
3507 | |
rm -f conftest$ac_cv_exeext
|
|
3364 |
rm -f conftest conftest$ac_cv_exeext
|
3508 | 3365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3509 | 3366 |
$as_echo "$ac_cv_exeext" >&6; }
|
3510 | 3367 |
|
3511 | 3368 |
rm -f conftest.$ac_ext
|
3512 | 3369 |
EXEEXT=$ac_cv_exeext
|
3513 | 3370 |
ac_exeext=$EXEEXT
|
|
3371 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3372 |
/* end confdefs.h. */
|
|
3373 |
#include <stdio.h>
|
|
3374 |
int
|
|
3375 |
main ()
|
|
3376 |
{
|
|
3377 |
FILE *f = fopen ("conftest.out", "w");
|
|
3378 |
return ferror (f) || fclose (f) != 0;
|
|
3379 |
|
|
3380 |
;
|
|
3381 |
return 0;
|
|
3382 |
}
|
|
3383 |
_ACEOF
|
|
3384 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3385 |
# Check that the compiler produces executables we can run. If not, either
|
|
3386 |
# the compiler is broken, or we cross compile.
|
|
3387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3388 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3389 |
if test "$cross_compiling" != yes; then
|
|
3390 |
{ { ac_try="$ac_link"
|
|
3391 |
case "(($ac_try" in
|
|
3392 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3393 |
*) ac_try_echo=$ac_try;;
|
|
3394 |
esac
|
|
3395 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3396 |
$as_echo "$ac_try_echo"; } >&5
|
|
3397 |
(eval "$ac_link") 2>&5
|
|
3398 |
ac_status=$?
|
|
3399 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3400 |
test $ac_status = 0; }
|
|
3401 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3402 |
{ { case "(($ac_try" in
|
|
3403 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3404 |
*) ac_try_echo=$ac_try;;
|
|
3405 |
esac
|
|
3406 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3407 |
$as_echo "$ac_try_echo"; } >&5
|
|
3408 |
(eval "$ac_try") 2>&5
|
|
3409 |
ac_status=$?
|
|
3410 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3411 |
test $ac_status = 0; }; }; then
|
|
3412 |
cross_compiling=no
|
|
3413 |
else
|
|
3414 |
if test "$cross_compiling" = maybe; then
|
|
3415 |
cross_compiling=yes
|
|
3416 |
else
|
|
3417 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3418 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3419 |
as_fn_error "cannot run C compiled programs.
|
|
3420 |
If you meant to cross compile, use \`--host'.
|
|
3421 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3422 |
fi
|
|
3423 |
fi
|
|
3424 |
fi
|
|
3425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3426 |
$as_echo "$cross_compiling" >&6; }
|
|
3427 |
|
|
3428 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3429 |
ac_clean_files=$ac_clean_files_save
|
3514 | 3430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3515 | 3431 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3516 | 3432 |
if test "${ac_cv_objext+set}" = set; then :
|
|
3773 | 3689 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3774 | 3690 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3775 | 3691 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
3692 |
DEPDIR="${am__leading_dot}deps"
|
|
3693 |
|
|
3694 |
ac_config_commands="$ac_config_commands depfiles"
|
|
3695 |
|
|
3696 |
|
|
3697 |
am_make=${MAKE-make}
|
|
3698 |
cat > confinc << 'END'
|
|
3699 |
am__doit:
|
|
3700 |
@echo this is the am__doit target
|
|
3701 |
.PHONY: am__doit
|
|
3702 |
END
|
|
3703 |
# If we don't find an include directive, just comment out the code.
|
|
3704 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|
3705 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
|
3706 |
am__include="#"
|
|
3707 |
am__quote=
|
|
3708 |
_am_result=none
|
|
3709 |
# First try GNU make style include.
|
|
3710 |
echo "include confinc" > confmf
|
|
3711 |
# Ignore all kinds of additional output from `make'.
|
|
3712 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3713 |
*the\ am__doit\ target*)
|
|
3714 |
am__include=include
|
|
3715 |
am__quote=
|
|
3716 |
_am_result=GNU
|
|
3717 |
;;
|
|
3718 |
esac
|
|
3719 |
# Now try BSD make style include.
|
|
3720 |
if test "$am__include" = "#"; then
|
|
3721 |
echo '.include "confinc"' > confmf
|
|
3722 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3723 |
*the\ am__doit\ target*)
|
|
3724 |
am__include=.include
|
|
3725 |
am__quote="\""
|
|
3726 |
_am_result=BSD
|
|
3727 |
;;
|
|
3728 |
esac
|
|
3729 |
fi
|
|
3730 |
|
|
3731 |
|
|
3732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
3733 |
$as_echo "$_am_result" >&6; }
|
|
3734 |
rm -f confinc confmf
|
|
3735 |
|
|
3736 |
# Check whether --enable-dependency-tracking was given.
|
|
3737 |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
3738 |
enableval=$enable_dependency_tracking;
|
|
3739 |
fi
|
|
3740 |
|
|
3741 |
if test "x$enable_dependency_tracking" != xno; then
|
|
3742 |
am_depcomp="$ac_aux_dir/depcomp"
|
|
3743 |
AMDEPBACKSLASH='\'
|
|
3744 |
fi
|
|
3745 |
if test "x$enable_dependency_tracking" != xno; then
|
|
3746 |
AMDEP_TRUE=
|
|
3747 |
AMDEP_FALSE='#'
|
|
3748 |
else
|
|
3749 |
AMDEP_TRUE='#'
|
|
3750 |
AMDEP_FALSE=
|
|
3751 |
fi
|
|
3752 |
|
|
3753 |
|
3776 | 3754 |
|
3777 | 3755 |
depcc="$CC" am_compiler_list=
|
3778 | 3756 |
|
|
3901 | 3879 |
fi
|
3902 | 3880 |
|
3903 | 3881 |
|
|
3882 |
case $ac_cv_prog_cc_stdc in #(
|
|
3883 |
no) :
|
|
3884 |
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
|
|
3885 |
*) :
|
|
3886 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
|
|
3887 |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
|
|
3888 |
if test "${ac_cv_prog_cc_c99+set}" = set; then :
|
|
3889 |
$as_echo_n "(cached) " >&6
|
|
3890 |
else
|
|
3891 |
ac_cv_prog_cc_c99=no
|
|
3892 |
ac_save_CC=$CC
|
|
3893 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3894 |
/* end confdefs.h. */
|
|
3895 |
#include <stdarg.h>
|
|
3896 |
#include <stdbool.h>
|
|
3897 |
#include <stdlib.h>
|
|
3898 |
#include <wchar.h>
|
|
3899 |
#include <stdio.h>
|
|
3900 |
|
|
3901 |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
3902 |
#define debug(...) fprintf (stderr, __VA_ARGS__)
|
|
3903 |
#define showlist(...) puts (#__VA_ARGS__)
|
|
3904 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
3905 |
static void
|
|
3906 |
test_varargs_macros (void)
|
|
3907 |
{
|
|
3908 |
int x = 1234;
|
|
3909 |
int y = 5678;
|
|
3910 |
debug ("Flag");
|
|
3911 |
debug ("X = %d\n", x);
|
|
3912 |
showlist (The first, second, and third items.);
|
|
3913 |
report (x>y, "x is %d but y is %d", x, y);
|
|
3914 |
}
|
|
3915 |
|
|
3916 |
// Check long long types.
|
|
3917 |
#define BIG64 18446744073709551615ull
|
|
3918 |
#define BIG32 4294967295ul
|
|
3919 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
3920 |
#if !BIG_OK
|
|
3921 |
your preprocessor is broken;
|
|
3922 |
#endif
|
|
3923 |
#if BIG_OK
|
|
3924 |
#else
|
|
3925 |
your preprocessor is broken;
|
|
3926 |
#endif
|
|
3927 |
static long long int bignum = -9223372036854775807LL;
|
|
3928 |
static unsigned long long int ubignum = BIG64;
|
|
3929 |
|
|
3930 |
struct incomplete_array
|
|
3931 |
{
|
|
3932 |
int datasize;
|
|
3933 |
double data[];
|
|
3934 |
};
|
|
3935 |
|
|
3936 |
struct named_init {
|
|
3937 |
int number;
|
|
3938 |
const wchar_t *name;
|
|
3939 |
double average;
|
|
3940 |
};
|
|
3941 |
|
|
3942 |
typedef const char *ccp;
|
|
3943 |
|
|
3944 |
static inline int
|
|
3945 |
test_restrict (ccp restrict text)
|
|
3946 |
{
|
|
3947 |
// See if C++-style comments work.
|
|
3948 |
// Iterate through items via the restricted pointer.
|
|
3949 |
// Also check for declarations in for loops.
|
|
3950 |
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|
|
3951 |
continue;
|
|
3952 |
return 0;
|
|
3953 |
}
|
|
3954 |
|
|
3955 |
// Check varargs and va_copy.
|
|
3956 |
static void
|
|
3957 |
test_varargs (const char *format, ...)
|
|
3958 |
{
|
|
3959 |
va_list args;
|
|
3960 |
va_start (args, format);
|
|
3961 |
va_list args_copy;
|
|
3962 |
va_copy (args_copy, args);
|
|
3963 |
|
|
3964 |
const char *str;
|
|
3965 |
int number;
|
|
3966 |
float fnumber;
|
|
3967 |
|
|
3968 |
while (*format)
|
|
3969 |
{
|
|
3970 |
switch (*format++)
|
|
3971 |
{
|
|
3972 |
case 's': // string
|
|
3973 |
str = va_arg (args_copy, const char *);
|
|
3974 |
break;
|
|
3975 |
case 'd': // int
|
|
3976 |
number = va_arg (args_copy, int);
|
|
3977 |
break;
|
|
3978 |
case 'f': // float
|
|
3979 |
fnumber = va_arg (args_copy, double);
|
|
3980 |
break;
|
|
3981 |
default:
|
|
3982 |
break;
|
|
3983 |
}
|
|
3984 |
}
|
|
3985 |
va_end (args_copy);
|
|
3986 |
va_end (args);
|
|
3987 |
}
|
|
3988 |
|
|
3989 |
int
|
|
3990 |
main ()
|
|
3991 |
{
|
|
3992 |
|
|
3993 |
// Check bool.
|
|
3994 |
_Bool success = false;
|
|
3995 |
|
|
3996 |
// Check restrict.
|
|
3997 |
if (test_restrict ("String literal") == 0)
|
|
3998 |
success = true;
|
|
3999 |
char *restrict newvar = "Another string";
|
|
4000 |
|
|
4001 |
// Check varargs.
|
|
4002 |
test_varargs ("s, d' f .", "string", 65, 34.234);
|
|
4003 |
test_varargs_macros ();
|
|
4004 |
|
|
4005 |
// Check flexible array members.
|
|
4006 |
struct incomplete_array *ia =
|
|
4007 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
4008 |
ia->datasize = 10;
|
|
4009 |
for (int i = 0; i < ia->datasize; ++i)
|
|
4010 |
ia->data[i] = i * 1.234;
|
|
4011 |
|
|
4012 |
// Check named initializers.
|
|
4013 |
struct named_init ni = {
|
|
4014 |
.number = 34,
|
|
4015 |
.name = L"Test wide string",
|
|
4016 |
.average = 543.34343,
|
|
4017 |
};
|
|
4018 |
|
|
4019 |
ni.number = 58;
|
|
4020 |
|
|
4021 |
int dynamic_array[ni.number];
|
|
4022 |
dynamic_array[ni.number - 1] = 543;
|
|
4023 |
|
|
4024 |
// work around unused variable warnings
|
|
4025 |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
|
4026 |
|| dynamic_array[ni.number - 1] != 543);
|
|
4027 |
|
|
4028 |
;
|
|
4029 |
return 0;
|
|
4030 |
}
|
|
4031 |
_ACEOF
|
|
4032 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
|
|
4033 |
do
|
|
4034 |
CC="$ac_save_CC $ac_arg"
|
|
4035 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4036 |
ac_cv_prog_cc_c99=$ac_arg
|
|
4037 |
fi
|
|
4038 |
rm -f core conftest.err conftest.$ac_objext
|
|
4039 |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
|
4040 |
done
|
|
4041 |
rm -f conftest.$ac_ext
|
|
4042 |
CC=$ac_save_CC
|
|
4043 |
|
|
4044 |
fi
|
|
4045 |
# AC_CACHE_VAL
|
|
4046 |
case "x$ac_cv_prog_cc_c99" in
|
|
4047 |
x)
|
|
4048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4049 |
$as_echo "none needed" >&6; } ;;
|
|
4050 |
xno)
|
|
4051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4052 |
$as_echo "unsupported" >&6; } ;;
|
|
4053 |
*)
|
|
4054 |
CC="$CC $ac_cv_prog_cc_c99"
|
|
4055 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
|
4056 |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
|
|
4057 |
esac
|
|
4058 |
if test "x$ac_cv_prog_cc_c99" != xno; then :
|
|
4059 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
|
4060 |
else
|
|
4061 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
4062 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
4063 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
|
4064 |
$as_echo_n "(cached) " >&6
|
|
4065 |
else
|
|
4066 |
ac_cv_prog_cc_c89=no
|
|
4067 |
ac_save_CC=$CC
|
|
4068 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4069 |
/* end confdefs.h. */
|
|
4070 |
#include <stdarg.h>
|
|
4071 |
#include <stdio.h>
|
|
4072 |
#include <sys/types.h>
|
|
4073 |
#include <sys/stat.h>
|
|
4074 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
4075 |
struct buf { int x; };
|
|
4076 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
4077 |
static char *e (p, i)
|
|
4078 |
char **p;
|
|
4079 |
int i;
|
|
4080 |
{
|
|
4081 |
return p[i];
|
|
4082 |
}
|
|
4083 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
4084 |
{
|
|
4085 |
char *s;
|
|
4086 |
va_list v;
|
|
4087 |
va_start (v,p);
|
|
4088 |
s = g (p, va_arg (v,int));
|
|
4089 |
va_end (v);
|
|
4090 |
return s;
|
|
4091 |
}
|
|
4092 |
|
|
4093 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
4094 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
4095 |
These don't provoke an error unfortunately, instead are silently treated
|
|
4096 |
as 'x'. The following induces an error, until -std is added to get
|
|
4097 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
4098 |
array size at least. It's necessary to write '\x00'==0 to get something
|
|
4099 |
that's true only with -std. */
|
|
4100 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
4101 |
|
|
4102 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
4103 |
inside strings and character constants. */
|
|
4104 |
#define FOO(x) 'x'
|
|
4105 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
4106 |
|
|
4107 |
int test (int i, double x);
|
|
4108 |
struct s1 {int (*f) (int a);};
|
|
4109 |
struct s2 {int (*f) (double a);};
|
|
4110 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
4111 |
int argc;
|
|
4112 |
char **argv;
|
|
4113 |
int
|
|
4114 |
main ()
|
|
4115 |
{
|
|
4116 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
4117 |
;
|
|
4118 |
return 0;
|
|
4119 |
}
|
|
4120 |
_ACEOF
|
|
4121 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
4122 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
4123 |
do
|
|
4124 |
CC="$ac_save_CC $ac_arg"
|
|
4125 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4126 |
ac_cv_prog_cc_c89=$ac_arg
|
|
4127 |
fi
|
|
4128 |
rm -f core conftest.err conftest.$ac_objext
|
|
4129 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
4130 |
done
|
|
4131 |
rm -f conftest.$ac_ext
|
|
4132 |
CC=$ac_save_CC
|
|
4133 |
|
|
4134 |
fi
|
|
4135 |
# AC_CACHE_VAL
|
|
4136 |
case "x$ac_cv_prog_cc_c89" in
|
|
4137 |
x)
|
|
4138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4139 |
$as_echo "none needed" >&6; } ;;
|
|
4140 |
xno)
|
|
4141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4142 |
$as_echo "unsupported" >&6; } ;;
|
|
4143 |
*)
|
|
4144 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
4145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
4146 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
4147 |
esac
|
|
4148 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
4149 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
|
4150 |
else
|
|
4151 |
ac_cv_prog_cc_stdc=no
|
|
4152 |
fi
|
|
4153 |
|
|
4154 |
fi
|
|
4155 |
;;
|
|
4156 |
esac
|
|
4157 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
|
|
4158 |
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
|
|
4159 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then :
|
|
4160 |
$as_echo_n "(cached) " >&6
|
|
4161 |
fi
|
|
4162 |
|
|
4163 |
case $ac_cv_prog_cc_stdc in #(
|
|
4164 |
no) :
|
|
4165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4166 |
$as_echo "unsupported" >&6; } ;; #(
|
|
4167 |
'') :
|
|
4168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4169 |
$as_echo "none needed" >&6; } ;; #(
|
|
4170 |
*) :
|
|
4171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
|
4172 |
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
|
4173 |
esac
|
|
4174 |
|
|
4175 |
mkdir_p="$MKDIR_P"
|
|
4176 |
case $mkdir_p in
|
|
4177 |
[\\/$]* | ?:[\\/]*) ;;
|
|
4178 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
4179 |
esac
|
|
4180 |
|
|
4181 |
|
|
4182 |
case `pwd` in
|
|
4183 |
*\ * | *\ *)
|
|
4184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
4185 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
|
4186 |
esac
|
|
4187 |
|
|
4188 |
|
|
4189 |
|
|
4190 |
macro_version='2.2.6b'
|
|
4191 |
macro_revision='1.3017'
|
|
4192 |
|
|
4193 |
|
|
4194 |
|
|
4195 |
|
|
4196 |
|
|
4197 |
|
|
4198 |
|
|
4199 |
|
|
4200 |
|
|
4201 |
|
|
4202 |
|
|
4203 |
|
|
4204 |
|
|
4205 |
ltmain="$ac_aux_dir/ltmain.sh"
|
|
4206 |
|
|
4207 |
# Make sure we can run config.sub.
|
|
4208 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
|
4209 |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
4210 |
|
|
4211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
4212 |
$as_echo_n "checking build system type... " >&6; }
|
|
4213 |
if test "${ac_cv_build+set}" = set; then :
|
|
4214 |
$as_echo_n "(cached) " >&6
|
|
4215 |
else
|
|
4216 |
ac_build_alias=$build_alias
|
|
4217 |
test "x$ac_build_alias" = x &&
|
|
4218 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
|
4219 |
test "x$ac_build_alias" = x &&
|
|
4220 |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
|
4221 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
|
4222 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
4223 |
|
|
4224 |
fi
|
|
4225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
4226 |
$as_echo "$ac_cv_build" >&6; }
|
|
4227 |
case $ac_cv_build in
|
|
4228 |
*-*-*) ;;
|
|
4229 |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
|
4230 |
esac
|
|
4231 |
build=$ac_cv_build
|
|
4232 |
ac_save_IFS=$IFS; IFS='-'
|
|
4233 |
set x $ac_cv_build
|
|
4234 |
shift
|
|
4235 |
build_cpu=$1
|
|
4236 |
build_vendor=$2
|
|
4237 |
shift; shift
|
|
4238 |
# Remember, the first character of IFS is used to create $*,
|
|
4239 |
# except with old shells:
|
|
4240 |
build_os=$*
|
|
4241 |
IFS=$ac_save_IFS
|
|
4242 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
|
4243 |
|
|
4244 |
|
|
4245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
4246 |
$as_echo_n "checking host system type... " >&6; }
|
|
4247 |
if test "${ac_cv_host+set}" = set; then :
|
|
4248 |
$as_echo_n "(cached) " >&6
|
|
4249 |
else
|
|
4250 |
if test "x$host_alias" = x; then
|
|
4251 |
ac_cv_host=$ac_cv_build
|
|
4252 |
else
|
|
4253 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
|
4254 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
4255 |
fi
|
|
4256 |
|
|
4257 |
fi
|
|
4258 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
4259 |
$as_echo "$ac_cv_host" >&6; }
|
|
4260 |
case $ac_cv_host in
|
|
4261 |
*-*-*) ;;
|
|
4262 |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
|
4263 |
esac
|
|
4264 |
host=$ac_cv_host
|
|
4265 |
ac_save_IFS=$IFS; IFS='-'
|
|
4266 |
set x $ac_cv_host
|
|
4267 |
shift
|
|
4268 |
host_cpu=$1
|
|
4269 |
host_vendor=$2
|
|
4270 |
shift; shift
|
|
4271 |
# Remember, the first character of IFS is used to create $*,
|
|
4272 |
# except with old shells:
|
|
4273 |
host_os=$*
|
|
4274 |
IFS=$ac_save_IFS
|
|
4275 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|
4276 |
|
|
4277 |
|
3904 | 4278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
3905 | 4279 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
3906 | 4280 |
if test "${ac_cv_path_SED+set}" = set; then :
|
|
4485 | 4859 |
else
|
4486 | 4860 |
lt_cv_nm_interface="BSD nm"
|
4487 | 4861 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
4488 | |
(eval echo "\"\$as_me:4489: $ac_compile\"" >&5)
|
|
4862 |
(eval echo "\"\$as_me:4863: $ac_compile\"" >&5)
|
4489 | 4863 |
(eval "$ac_compile" 2>conftest.err)
|
4490 | 4864 |
cat conftest.err >&5
|
4491 | |
(eval echo "\"\$as_me:4492: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
|
4865 |
(eval echo "\"\$as_me:4866: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
4492 | 4866 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
4493 | 4867 |
cat conftest.err >&5
|
4494 | |
(eval echo "\"\$as_me:4495: output\"" >&5)
|
|
4868 |
(eval echo "\"\$as_me:4869: output\"" >&5)
|
4495 | 4869 |
cat conftest.out >&5
|
4496 | 4870 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
4497 | 4871 |
lt_cv_nm_interface="MS dumpbin"
|
|
4957 | 5331 |
;;
|
4958 | 5332 |
|
4959 | 5333 |
# This must be Linux ELF.
|
4960 | |
linux* | k*bsd*-gnu)
|
|
5334 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
4961 | 5335 |
lt_cv_deplibs_check_method=pass_all
|
4962 | 5336 |
;;
|
4963 | 5337 |
|
|
5697 | 6071 |
;;
|
5698 | 6072 |
*-*-irix6*)
|
5699 | 6073 |
# Find out which ABI we are using.
|
5700 | |
echo '#line 5701 "configure"' > conftest.$ac_ext
|
|
6074 |
echo '#line 6075 "configure"' > conftest.$ac_ext
|
5701 | 6075 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
5702 | 6076 |
(eval $ac_compile) 2>&5
|
5703 | 6077 |
ac_status=$?
|
|
6737 | 7111 |
enable_win32_dll=no
|
6738 | 7112 |
|
6739 | 7113 |
|
6740 | |
# Check whether --enable-shared was given.
|
6741 | |
if test "${enable_shared+set}" = set; then :
|
6742 | |
enableval=$enable_shared; p=${PACKAGE-default}
|
6743 | |
case $enableval in
|
6744 | |
yes) enable_shared=yes ;;
|
6745 | |
no) enable_shared=no ;;
|
6746 | |
*)
|
6747 | |
enable_shared=no
|
6748 | |
# Look at the argument we got. We use all the common list separators.
|
6749 | |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
6750 | |
for pkg in $enableval; do
|
6751 | |
IFS="$lt_save_ifs"
|
6752 | |
if test "X$pkg" = "X$p"; then
|
6753 | |
enable_shared=yes
|
6754 | |
fi
|
6755 | |
done
|
6756 | |
IFS="$lt_save_ifs"
|
6757 | |
;;
|
6758 | |
esac
|
6759 | |
else
|
6760 | |
enable_shared=yes
|
6761 | |
fi
|
6762 | |
|
6763 | |
|
6764 | |
|
6765 | |
|
6766 | |
|
6767 | |
|
6768 | |
|
6769 | |
|
6770 | 7114 |
|
6771 | 7115 |
# Check whether --enable-static was given.
|
6772 | 7116 |
if test "${enable_static+set}" = set; then :
|
|
7227 | 7571 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7228 | 7572 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7229 | 7573 |
-e 's:$: $lt_compiler_flag:'`
|
7230 | |
(eval echo "\"\$as_me:7231: $lt_compile\"" >&5)
|
|
7574 |
(eval echo "\"\$as_me:7575: $lt_compile\"" >&5)
|
7231 | 7575 |
(eval "$lt_compile" 2>conftest.err)
|
7232 | 7576 |
ac_status=$?
|
7233 | 7577 |
cat conftest.err >&5
|
7234 | |
echo "$as_me:7235: \$? = $ac_status" >&5
|
|
7578 |
echo "$as_me:7579: \$? = $ac_status" >&5
|
7235 | 7579 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7236 | 7580 |
# The compiler can only warn and ignore the option if not recognized
|
7237 | 7581 |
# So say no if there are warnings other than the usual output.
|
|
7396 | 7740 |
lt_prog_compiler_static='-non_shared'
|
7397 | 7741 |
;;
|
7398 | 7742 |
|
7399 | |
linux* | k*bsd*-gnu)
|
|
7743 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
7400 | 7744 |
case $cc_basename in
|
7401 | 7745 |
# old Intel for x86_64 which still supported -KPIC.
|
7402 | 7746 |
ecc*)
|
|
7566 | 7910 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7567 | 7911 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7568 | 7912 |
-e 's:$: $lt_compiler_flag:'`
|
7569 | |
(eval echo "\"\$as_me:7570: $lt_compile\"" >&5)
|
|
7913 |
(eval echo "\"\$as_me:7914: $lt_compile\"" >&5)
|
7570 | 7914 |
(eval "$lt_compile" 2>conftest.err)
|
7571 | 7915 |
ac_status=$?
|
7572 | 7916 |
cat conftest.err >&5
|
7573 | |
echo "$as_me:7574: \$? = $ac_status" >&5
|
|
7917 |
echo "$as_me:7918: \$? = $ac_status" >&5
|
7574 | 7918 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7575 | 7919 |
# The compiler can only warn and ignore the option if not recognized
|
7576 | 7920 |
# So say no if there are warnings other than the usual output.
|
|
7671 | 8015 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7672 | 8016 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7673 | 8017 |
-e 's:$: $lt_compiler_flag:'`
|
7674 | |
(eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
|
|
8018 |
(eval echo "\"\$as_me:8019: $lt_compile\"" >&5)
|
7675 | 8019 |
(eval "$lt_compile" 2>out/conftest.err)
|
7676 | 8020 |
ac_status=$?
|
7677 | 8021 |
cat out/conftest.err >&5
|
7678 | |
echo "$as_me:7679: \$? = $ac_status" >&5
|
|
8022 |
echo "$as_me:8023: \$? = $ac_status" >&5
|
7679 | 8023 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
7680 | 8024 |
then
|
7681 | 8025 |
# The compiler can only warn and ignore the option if not recognized
|
|
7726 | 8070 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7727 | 8071 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7728 | 8072 |
-e 's:$: $lt_compiler_flag:'`
|
7729 | |
(eval echo "\"\$as_me:7730: $lt_compile\"" >&5)
|
|
8073 |
(eval echo "\"\$as_me:8074: $lt_compile\"" >&5)
|
7730 | 8074 |
(eval "$lt_compile" 2>out/conftest.err)
|
7731 | 8075 |
ac_status=$?
|
7732 | 8076 |
cat out/conftest.err >&5
|
7733 | |
echo "$as_me:7734: \$? = $ac_status" >&5
|
|
8077 |
echo "$as_me:8078: \$? = $ac_status" >&5
|
7734 | 8078 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
7735 | 8079 |
then
|
7736 | 8080 |
# The compiler can only warn and ignore the option if not recognized
|
|
7869 | 8213 |
fi
|
7870 | 8214 |
supports_anon_versioning=no
|
7871 | 8215 |
case `$LD -v 2>&1` in
|
|
8216 |
*GNU\ gold*) supports_anon_versioning=yes ;;
|
7872 | 8217 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
7873 | 8218 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
7874 | 8219 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
|
|
7960 | 8305 |
archive_expsym_cmds='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}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
7961 | 8306 |
;;
|
7962 | 8307 |
|
7963 | |
gnu* | linux* | tpf* | k*bsd*-gnu)
|
|
8308 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
7964 | 8309 |
tmp_diet=no
|
7965 | 8310 |
if test "$host_os" = linux-dietlibc; then
|
7966 | 8311 |
case $cc_basename in
|
|
9422 | 9767 |
;;
|
9423 | 9768 |
|
9424 | 9769 |
# This must be Linux ELF.
|
9425 | |
linux* | k*bsd*-gnu)
|
|
9770 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
9426 | 9771 |
version_type=linux
|
9427 | 9772 |
need_lib_prefix=no
|
9428 | 9773 |
need_version=no
|
|
10109 | 10454 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10110 | 10455 |
lt_status=$lt_dlunknown
|
10111 | 10456 |
cat > conftest.$ac_ext <<_LT_EOF
|
10112 | |
#line 10113 "configure"
|
|
10457 |
#line 10458 "configure"
|
10113 | 10458 |
#include "confdefs.h"
|
10114 | 10459 |
|
10115 | 10460 |
#if HAVE_DLFCN_H
|
|
10205 | 10550 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10206 | 10551 |
lt_status=$lt_dlunknown
|
10207 | 10552 |
cat > conftest.$ac_ext <<_LT_EOF
|
10208 | |
#line 10209 "configure"
|
|
10553 |
#line 10554 "configure"
|
10209 | 10554 |
#include "confdefs.h"
|
10210 | 10555 |
|
10211 | 10556 |
#if HAVE_DLFCN_H
|
|
10433 | 10778 |
|
10434 | 10779 |
|
10435 | 10780 |
|
10436 | |
ac_config_headers="$ac_config_headers config.h"
|
10437 | |
|
10438 | |
|
10439 | |
ac_ext=c
|
10440 | |
ac_cpp='$CPP $CPPFLAGS'
|
10441 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
10442 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
10443 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
10444 | |
if test -n "$ac_tool_prefix"; then
|
10445 | |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
10446 | |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
10447 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
10448 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
10449 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
10450 | |
$as_echo_n "(cached) " >&6
|
10451 | |
else
|
10452 | |
if test -n "$CC"; then
|
10453 | |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
10454 | |
else
|
10455 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
10456 | |
for as_dir in $PATH
|
10457 | |
do
|
10458 | |
IFS=$as_save_IFS
|
10459 | |
test -z "$as_dir" && as_dir=.
|
10460 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10461 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10462 | |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
10463 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10464 | |
break 2
|
10465 | |
fi
|
10466 | |
done
|
10467 | |
done
|
10468 | |
IFS=$as_save_IFS
|
10469 | |
|
10470 | |
fi
|
10471 | |
fi
|
10472 | |
CC=$ac_cv_prog_CC
|
10473 | |
if test -n "$CC"; then
|
10474 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
10475 | |
$as_echo "$CC" >&6; }
|
10476 | |
else
|
10477 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
10478 | |
$as_echo "no" >&6; }
|
10479 | |
fi
|
10480 | |
|
10481 | |
|
10482 | |
fi
|
10483 | |
if test -z "$ac_cv_prog_CC"; then
|
10484 | |
ac_ct_CC=$CC
|
10485 | |
# Extract the first word of "gcc", so it can be a program name with args.
|
10486 | |
set dummy gcc; ac_word=$2
|
10487 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
10488 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
10489 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
10490 | |
$as_echo_n "(cached) " >&6
|
10491 | |
else
|
10492 | |
if test -n "$ac_ct_CC"; then
|
10493 | |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
10494 | |
else
|
10495 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
10496 | |
for as_dir in $PATH
|
10497 | |
do
|
10498 | |
IFS=$as_save_IFS
|
10499 | |
test -z "$as_dir" && as_dir=.
|
10500 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10501 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10502 | |
ac_cv_prog_ac_ct_CC="gcc"
|
10503 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10504 | |
break 2
|
10505 | |
fi
|
10506 | |
done
|
10507 | |
done
|
10508 | |
IFS=$as_save_IFS
|
10509 | |
|
10510 | |
fi
|
10511 | |
fi
|
10512 | |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
10513 | |
if test -n "$ac_ct_CC"; then
|
10514 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
10515 | |
$as_echo "$ac_ct_CC" >&6; }
|
10516 | |
else
|
10517 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
10518 | |
$as_echo "no" >&6; }
|
10519 | |
fi
|
10520 | |
|
10521 | |
if test "x$ac_ct_CC" = x; then
|
10522 | |
CC=""
|
10523 | |
else
|
10524 | |
case $cross_compiling:$ac_tool_warned in
|
10525 | |
yes:)
|
10526 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
10527 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
10528 | |
ac_tool_warned=yes ;;
|
10529 | |
esac
|
10530 | |
CC=$ac_ct_CC
|
10531 | |
fi
|
10532 | |
else
|
10533 | |
CC="$ac_cv_prog_CC"
|
10534 | |
fi
|
10535 | |
|
10536 | |
if test -z "$CC"; then
|
10537 | |
if test -n "$ac_tool_prefix"; then
|
10538 | |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
10539 | |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
10540 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
10541 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
10542 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
10543 | |
$as_echo_n "(cached) " >&6
|
10544 | |
else
|
10545 | |
if test -n "$CC"; then
|
10546 | |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
10547 | |
else
|
10548 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
10549 | |
for as_dir in $PATH
|
10550 | |
do
|
10551 | |
IFS=$as_save_IFS
|
10552 | |
test -z "$as_dir" && as_dir=.
|
10553 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10554 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10555 | |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
10556 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10557 | |
break 2
|
10558 | |
fi
|
10559 | |
done
|
10560 | |
done
|
10561 | |
IFS=$as_save_IFS
|
10562 | |
|
10563 | |
fi
|
10564 | |
fi
|
10565 | |
CC=$ac_cv_prog_CC
|
10566 | |
if test -n "$CC"; then
|
10567 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
10568 | |
$as_echo "$CC" >&6; }
|
10569 | |
else
|
10570 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
10571 | |
$as_echo "no" >&6; }
|
10572 | |
fi
|
10573 | |
|
10574 | |
|
10575 | |
fi
|
10576 | |
fi
|
10577 | |
if test -z "$CC"; then
|
10578 | |
# Extract the first word of "cc", so it can be a program name with args.
|
10579 | |
set dummy cc; ac_word=$2
|
10580 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
10581 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
10582 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
10583 | |
$as_echo_n "(cached) " >&6
|
10584 | |
else
|
10585 | |
if test -n "$CC"; then
|
10586 | |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
10587 | |
else
|
10588 | |
ac_prog_rejected=no
|
10589 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
10590 | |
for as_dir in $PATH
|
10591 | |
do
|
10592 | |
IFS=$as_save_IFS
|
10593 | |
test -z "$as_dir" && as_dir=.
|
10594 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10595 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10596 | |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
10597 | |
ac_prog_rejected=yes
|
10598 | |
continue
|
10599 | |
fi
|
10600 | |
ac_cv_prog_CC="cc"
|
10601 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10602 | |
break 2
|
10603 | |
fi
|
10604 | |
done
|
10605 | |
done
|
10606 | |
IFS=$as_save_IFS
|
10607 | |
|
10608 | |
if test $ac_prog_rejected = yes; then
|
10609 | |
# We found a bogon in the path, so make sure we never use it.
|
10610 | |
set dummy $ac_cv_prog_CC
|
10611 | |
shift
|
10612 | |
if test $# != 0; then
|
10613 | |
# We chose a different compiler from the bogus one.
|
10614 | |
# However, it has the same basename, so the bogon will be chosen
|
10615 | |
# first if we set CC to just the basename; use the full file name.
|
10616 | |
shift
|
10617 | |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
10618 | |
fi
|
10619 | |
fi
|
10620 | |
fi
|
10621 | |
fi
|
10622 | |
CC=$ac_cv_prog_CC
|
10623 | |
if test -n "$CC"; then
|
10624 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
10625 | |
$as_echo "$CC" >&6; }
|
10626 | |
else
|
10627 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
10628 | |
$as_echo "no" >&6; }
|
10629 | |
fi
|
10630 | |
|
10631 | |
|
10632 | |
fi
|
10633 | |
if test -z "$CC"; then
|
10634 | |
if test -n "$ac_tool_prefix"; then
|
10635 | |
for ac_prog in cl.exe
|
10636 | |
do
|
10637 | |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
10638 | |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
10639 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
10640 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
10641 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
10642 | |
$as_echo_n "(cached) " >&6
|
10643 | |
else
|
10644 | |
if test -n "$CC"; then
|
10645 | |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
10646 | |
else
|
10647 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
10648 | |
for as_dir in $PATH
|
10649 | |
do
|
10650 | |
IFS=$as_save_IFS
|
10651 | |
test -z "$as_dir" && as_dir=.
|
10652 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10653 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10654 | |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
10655 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10656 | |
break 2
|
10657 | |
fi
|
10658 | |
done
|
10659 | |
done
|
10660 | |
IFS=$as_save_IFS
|
10661 | |
|
10662 | |
fi
|
10663 | |
fi
|
10664 | |
CC=$ac_cv_prog_CC
|
10665 | |
if test -n "$CC"; then
|
10666 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
10667 | |
$as_echo "$CC" >&6; }
|
10668 | |
else
|
10669 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
10670 | |
$as_echo "no" >&6; }
|
10671 | |
fi
|
10672 | |
|
10673 | |
|
10674 | |
test -n "$CC" && break
|
10675 | |
done
|
10676 | |
fi
|
10677 | |
if test -z "$CC"; then
|
10678 | |
ac_ct_CC=$CC
|
10679 | |
for ac_prog in cl.exe
|
10680 | |
do
|
10681 | |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
10682 | |
set dummy $ac_prog; ac_word=$2
|
10683 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
10684 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
10685 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
10686 | |
$as_echo_n "(cached) " >&6
|
10687 | |
else
|
10688 | |
if test -n "$ac_ct_CC"; then
|
10689 | |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
10690 | |
else
|
10691 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
10692 | |
for as_dir in $PATH
|
10693 | |
do
|
10694 | |
IFS=$as_save_IFS
|
10695 | |
test -z "$as_dir" && as_dir=.
|
10696 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10697 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10698 | |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
10699 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10700 | |
break 2
|
10701 | |
fi
|
10702 | |
done
|
10703 | |
done
|
10704 | |
IFS=$as_save_IFS
|
10705 | |
|
10706 | |
fi
|
10707 | |
fi
|
10708 | |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
10709 | |
if test -n "$ac_ct_CC"; then
|
10710 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
10711 | |
$as_echo "$ac_ct_CC" >&6; }
|
10712 | |
else
|
10713 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
10714 | |
$as_echo "no" >&6; }
|
10715 | |
fi
|
10716 | |
|
10717 | |
|
10718 | |
test -n "$ac_ct_CC" && break
|
10719 | |
done
|
10720 | |
|
10721 | |
if test "x$ac_ct_CC" = x; then
|
10722 | |
CC=""
|
10723 | |
else
|
10724 | |
case $cross_compiling:$ac_tool_warned in
|
10725 | |
yes:)
|
10726 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
10727 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
10728 | |
ac_tool_warned=yes ;;
|
10729 | |
esac
|
10730 | |
CC=$ac_ct_CC
|
10731 | |
fi
|
10732 | |
fi
|
10733 | |
|
10734 | |
fi
|
10735 | |
|
10736 | |
|
10737 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
10738 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
10739 | |
as_fn_error "no acceptable C compiler found in \$PATH
|
10740 | |
See \`config.log' for more details." "$LINENO" 5; }
|
10741 | |
|
10742 | |
# Provide some information about the compiler.
|
10743 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
10744 | |
set X $ac_compile
|
10745 | |
ac_compiler=$2
|
10746 | |
for ac_option in --version -v -V -qversion; do
|
10747 | |
{ { ac_try="$ac_compiler $ac_option >&5"
|
10748 | |
case "(($ac_try" in
|
10749 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10750 | |
*) ac_try_echo=$ac_try;;
|
10751 | |
esac
|
10752 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
10753 | |
$as_echo "$ac_try_echo"; } >&5
|
10754 | |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
10755 | |
ac_status=$?
|
10756 | |
if test -s conftest.err; then
|
10757 | |
sed '10a\
|
10758 | |
... rest of stderr output deleted ...
|
10759 | |
10q' conftest.err >conftest.er1
|
10760 | |
cat conftest.er1 >&5
|
10761 | |
rm -f conftest.er1 conftest.err
|
10762 | |
fi
|
10763 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
10764 | |
test $ac_status = 0; }
|
10765 | |
done
|
10766 | |
|
10767 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
10768 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
10769 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
10770 | |
$as_echo_n "(cached) " >&6
|
10771 | |
else
|
10772 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10773 | |
/* end confdefs.h. */
|
10774 | |
|
10775 | |
int
|
10776 | |
main ()
|
10777 | |
{
|
10778 | |
#ifndef __GNUC__
|
10779 | |
choke me
|
10780 | |
#endif
|
10781 | |
|
10782 | |
;
|
10783 | |
return 0;
|
10784 | |
}
|
10785 | |
_ACEOF
|
10786 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
10787 | |
ac_compiler_gnu=yes
|
10788 | |
else
|
10789 | |
ac_compiler_gnu=no
|
10790 | |
fi
|
10791 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
10792 | |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
10793 | |
|
10794 | |
fi
|
10795 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
10796 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
10797 | |
if test $ac_compiler_gnu = yes; then
|
10798 | |
GCC=yes
|
10799 | |
else
|
10800 | |
GCC=
|
10801 | |
fi
|
10802 | |
ac_test_CFLAGS=${CFLAGS+set}
|
10803 | |
ac_save_CFLAGS=$CFLAGS
|
10804 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
10805 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
10806 | |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
10807 | |
$as_echo_n "(cached) " >&6
|
10808 | |
else
|
10809 | |
ac_save_c_werror_flag=$ac_c_werror_flag
|
10810 | |
ac_c_werror_flag=yes
|
10811 | |
ac_cv_prog_cc_g=no
|
10812 | |
CFLAGS="-g"
|
10813 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10814 | |
/* end confdefs.h. */
|
10815 | |
|
10816 | |
int
|
10817 | |
main ()
|
10818 | |
{
|
10819 | |
|
10820 | |
;
|
10821 | |
return 0;
|
10822 | |
}
|
10823 | |
_ACEOF
|
10824 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
10825 | |
ac_cv_prog_cc_g=yes
|
10826 | |
else
|
10827 | |
CFLAGS=""
|
10828 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10829 | |
/* end confdefs.h. */
|
10830 | |
|
10831 | |
int
|
10832 | |
main ()
|
10833 | |
{
|
10834 | |
|
10835 | |
;
|
10836 | |
return 0;
|
10837 | |
}
|
10838 | |
_ACEOF
|
10839 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
10840 | |
|
10841 | |
else
|
10842 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
10843 | |
CFLAGS="-g"
|
10844 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10845 | |
/* end confdefs.h. */
|
10846 | |
|
10847 | |
int
|
10848 | |
main ()
|
10849 | |
{
|
10850 | |
|
10851 | |
;
|
10852 | |
return 0;
|
10853 | |
}
|
10854 | |
_ACEOF
|
10855 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
10856 | |
ac_cv_prog_cc_g=yes
|
10857 | |
fi
|
10858 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
10859 | |
fi
|
10860 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
10861 | |
fi
|
10862 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
10863 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
10864 | |
fi
|
10865 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
10866 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
10867 | |
if test "$ac_test_CFLAGS" = set; then
|
10868 | |
CFLAGS=$ac_save_CFLAGS
|
10869 | |
elif test $ac_cv_prog_cc_g = yes; then
|
10870 | |
if test "$GCC" = yes; then
|
10871 | |
CFLAGS="-g -O2"
|
10872 | |
else
|
10873 | |
CFLAGS="-g"
|
10874 | |
fi
|
10875 | |
else
|
10876 | |
if test "$GCC" = yes; then
|
10877 | |
CFLAGS="-O2"
|
10878 | |
else
|
10879 | |
CFLAGS=
|
10880 | |
fi
|
10881 | |
fi
|
10882 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
10883 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
10884 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
10885 | |
$as_echo_n "(cached) " >&6
|
10886 | |
else
|
10887 | |
ac_cv_prog_cc_c89=no
|
10888 | |
ac_save_CC=$CC
|
10889 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10890 | |
/* end confdefs.h. */
|
10891 | |
#include <stdarg.h>
|
10892 | |
#include <stdio.h>
|
10893 | |
#include <sys/types.h>
|
10894 | |
#include <sys/stat.h>
|
10895 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
10896 | |
struct buf { int x; };
|
10897 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
10898 | |
static char *e (p, i)
|
10899 | |
char **p;
|
10900 | |
int i;
|
10901 | |
{
|
10902 | |
return p[i];
|
10903 | |
}
|
10904 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
10905 | |
{
|
10906 | |
char *s;
|
10907 | |
va_list v;
|
10908 | |
va_start (v,p);
|
10909 | |
s = g (p, va_arg (v,int));
|
10910 | |
va_end (v);
|
10911 | |
return s;
|
10912 | |
}
|
10913 | |
|
10914 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
10915 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
10916 | |
These don't provoke an error unfortunately, instead are silently treated
|
10917 | |
as 'x'. The following induces an error, until -std is added to get
|
10918 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
10919 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
10920 | |
that's true only with -std. */
|
10921 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
10922 | |
|
10923 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
10924 | |
inside strings and character constants. */
|
10925 | |
#define FOO(x) 'x'
|
10926 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
10927 | |
|
10928 | |
int test (int i, double x);
|
10929 | |
struct s1 {int (*f) (int a);};
|
10930 | |
struct s2 {int (*f) (double a);};
|
10931 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
10932 | |
int argc;
|
10933 | |
char **argv;
|
10934 | |
int
|
10935 | |
main ()
|
10936 | |
{
|
10937 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
10938 | |
;
|
10939 | |
return 0;
|
10940 | |
}
|
10941 | |
_ACEOF
|
10942 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
10943 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
10944 | |
do
|
10945 | |
CC="$ac_save_CC $ac_arg"
|
10946 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
10947 | |
ac_cv_prog_cc_c89=$ac_arg
|
10948 | |
fi
|
10949 | |
rm -f core conftest.err conftest.$ac_objext
|
10950 | |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
10951 | |
done
|
10952 | |
rm -f conftest.$ac_ext
|
10953 | |
CC=$ac_save_CC
|
10954 | |
|
10955 | |
fi
|
10956 | |
# AC_CACHE_VAL
|
10957 | |
case "x$ac_cv_prog_cc_c89" in
|
10958 | |
x)
|
10959 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
10960 | |
$as_echo "none needed" >&6; } ;;
|
10961 | |
xno)
|
10962 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
10963 | |
$as_echo "unsupported" >&6; } ;;
|
10964 | |
*)
|
10965 | |
CC="$CC $ac_cv_prog_cc_c89"
|
10966 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
10967 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
10968 | |
esac
|
10969 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
10970 | |
|
10971 | |
fi
|
10972 | |
|
10973 | |
ac_ext=c
|
10974 | |
ac_cpp='$CPP $CPPFLAGS'
|
10975 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
10976 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
10977 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
10978 | |
|
10979 | |
depcc="$CC" am_compiler_list=
|
10980 | |
|
10981 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
10982 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
10983 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
10984 | |
$as_echo_n "(cached) " >&6
|
10985 | |
else
|
10986 | |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
10987 | |
# We make a subdir and do the tests there. Otherwise we can end up
|
10988 | |
# making bogus files that we don't know about and never remove. For
|
10989 | |
# instance it was reported that on HP-UX the gcc test will end up
|
10990 | |
# making a dummy file named `D' -- because `-MD' means `put the output
|
10991 | |
# in D'.
|
10992 | |
mkdir conftest.dir
|
10993 | |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
10994 | |
# using a relative directory.
|
10995 | |
cp "$am_depcomp" conftest.dir
|
10996 | |
cd conftest.dir
|
10997 | |
# We will build objects and dependencies in a subdirectory because
|
10998 | |
# it helps to detect inapplicable dependency modes. For instance
|
10999 | |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
11000 | |
# side effect of compilation, but ICC will put the dependencies in
|
11001 | |
# the current directory while Tru64 will put them in the object
|
11002 | |
# directory.
|
11003 | |
mkdir sub
|
11004 | |
|
11005 | |
am_cv_CC_dependencies_compiler_type=none
|
11006 | |
if test "$am_compiler_list" = ""; then
|
11007 | |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
11008 | |
fi
|
11009 | |
am__universal=false
|
11010 | |
case " $depcc " in #(
|
11011 | |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
11012 | |
esac
|
11013 | |
|
11014 | |
for depmode in $am_compiler_list; do
|
11015 | |
# Setup a source with many dependencies, because some compilers
|
11016 | |
# like to wrap large dependency lists on column 80 (with \), and
|
11017 | |
# we should not choose a depcomp mode which is confused by this.
|
11018 | |
#
|
11019 | |
# We need to recreate these files for each test, as the compiler may
|
11020 | |
# overwrite some of them when testing with obscure command lines.
|
11021 | |
# This happens at least with the AIX C compiler.
|
11022 | |
: > sub/conftest.c
|
11023 | |
for i in 1 2 3 4 5 6; do
|
11024 | |
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
11025 | |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
11026 | |
# Solaris 8's {/usr,}/bin/sh.
|
11027 | |
touch sub/conftst$i.h
|
11028 | |
done
|
11029 | |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
11030 | |
|
11031 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
11032 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
11033 | |
# handle `-M -o', and we need to detect this. Also, some Intel
|
11034 | |
# versions had trouble with output in subdirs
|
11035 | |
am__obj=sub/conftest.${OBJEXT-o}
|
11036 | |
am__minus_obj="-o $am__obj"
|
11037 | |
case $depmode in
|
11038 | |
gcc)
|
11039 | |
# This depmode causes a compiler race in universal mode.
|
11040 | |
test "$am__universal" = false || continue
|
11041 | |
;;
|
11042 | |
nosideeffect)
|
11043 | |
# after this tag, mechanisms are not by side-effect, so they'll
|
11044 | |
# only be used when explicitly requested
|
11045 | |
if test "x$enable_dependency_tracking" = xyes; then
|
11046 | |
continue
|
11047 | |
else
|
11048 | |
break
|
11049 | |
fi
|
11050 | |
;;
|
11051 | |
msvisualcpp | msvcmsys)
|
11052 | |
# This compiler won't grok `-c -o', but also, the minuso test has
|
11053 | |
# not run yet. These depmodes are late enough in the game, and
|
11054 | |
# so weak that their functioning should not be impacted.
|
11055 | |
am__obj=conftest.${OBJEXT-o}
|
11056 | |
am__minus_obj=
|
11057 | |
;;
|
11058 | |
none) break ;;
|
11059 | |
esac
|
11060 | |
if depmode=$depmode \
|
11061 | |
source=sub/conftest.c object=$am__obj \
|
11062 | |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
11063 | |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
11064 | |
>/dev/null 2>conftest.err &&
|
11065 | |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
11066 | |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
11067 | |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
11068 | |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
11069 | |
# icc doesn't choke on unknown options, it will just issue warnings
|
11070 | |
# or remarks (even with -Werror). So we grep stderr for any message
|
11071 | |
# that says an option was ignored or not supported.
|
11072 | |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
11073 | |
# icc: Command line warning: ignoring option '-M'; no argument required
|
11074 | |
# The diagnosis changed in icc 8.0:
|
11075 | |
# icc: Command line remark: option '-MP' not supported
|
11076 | |
if (grep 'ignoring option' conftest.err ||
|
11077 | |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
11078 | |
am_cv_CC_dependencies_compiler_type=$depmode
|
11079 | |
break
|
11080 | |
fi
|
11081 | |
fi
|
11082 | |
done
|
11083 | |
|
11084 | |
cd ..
|
11085 | |
rm -rf conftest.dir
|
11086 | |
else
|
11087 | |
am_cv_CC_dependencies_compiler_type=none
|
11088 | |
fi
|
11089 | |
|
11090 | |
fi
|
11091 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
11092 | |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
11093 | |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
11094 | |
|
11095 | |
if
|
11096 | |
test "x$enable_dependency_tracking" != xno \
|
11097 | |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
11098 | |
am__fastdepCC_TRUE=
|
11099 | |
am__fastdepCC_FALSE='#'
|
11100 | |
else
|
11101 | |
am__fastdepCC_TRUE='#'
|
11102 | |
am__fastdepCC_FALSE=
|
11103 | |
fi
|
11104 | |
|
11105 | |
|
11106 | |
case $ac_cv_prog_cc_stdc in #(
|
11107 | |
no) :
|
11108 | |
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
|
11109 | |
*) :
|
11110 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
|
11111 | |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
|
11112 | |
if test "${ac_cv_prog_cc_c99+set}" = set; then :
|
11113 | |
$as_echo_n "(cached) " >&6
|
11114 | |
else
|
11115 | |
ac_cv_prog_cc_c99=no
|
11116 | |
ac_save_CC=$CC
|
11117 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11118 | |
/* end confdefs.h. */
|
11119 | |
#include <stdarg.h>
|
11120 | |
#include <stdbool.h>
|
11121 | |
#include <stdlib.h>
|
11122 | |
#include <wchar.h>
|
11123 | |
#include <stdio.h>
|
11124 | |
|
11125 | |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
11126 | |
#define debug(...) fprintf (stderr, __VA_ARGS__)
|
11127 | |
#define showlist(...) puts (#__VA_ARGS__)
|
11128 | |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
11129 | |
static void
|
11130 | |
test_varargs_macros (void)
|
11131 | |
{
|
11132 | |
int x = 1234;
|
11133 | |
int y = 5678;
|
11134 | |
debug ("Flag");
|
11135 | |
debug ("X = %d\n", x);
|
11136 | |
showlist (The first, second, and third items.);
|
11137 | |
report (x>y, "x is %d but y is %d", x, y);
|
11138 | |
}
|
11139 | |
|
11140 | |
// Check long long types.
|
11141 | |
#define BIG64 18446744073709551615ull
|
11142 | |
#define BIG32 4294967295ul
|
11143 | |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
11144 | |
#if !BIG_OK
|
11145 | |
your preprocessor is broken;
|
11146 | |
#endif
|
11147 | |
#if BIG_OK
|
11148 | |
#else
|
11149 | |
your preprocessor is broken;
|
11150 | |
#endif
|
11151 | |
static long long int bignum = -9223372036854775807LL;
|
11152 | |
static unsigned long long int ubignum = BIG64;
|
11153 | |
|
11154 | |
struct incomplete_array
|
11155 | |
{
|
11156 | |
int datasize;
|
11157 | |
double data[];
|
11158 | |
};
|
11159 | |
|
11160 | |
struct named_init {
|
11161 | |
int number;
|
11162 | |
const wchar_t *name;
|
11163 | |
double average;
|
11164 | |
};
|
11165 | |
|
11166 | |
typedef const char *ccp;
|
11167 | |
|
11168 | |
static inline int
|
11169 | |
test_restrict (ccp restrict text)
|
11170 | |
{
|
11171 | |
// See if C++-style comments work.
|
11172 | |
// Iterate through items via the restricted pointer.
|
11173 | |
// Also check for declarations in for loops.
|
11174 | |
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|
11175 | |
continue;
|
11176 | |
return 0;
|
11177 | |
}
|
11178 | |
|
11179 | |
// Check varargs and va_copy.
|
11180 | |
static void
|
11181 | |
test_varargs (const char *format, ...)
|
11182 | |
{
|
11183 | |
va_list args;
|
11184 | |
va_start (args, format);
|
11185 | |
va_list args_copy;
|
11186 | |
va_copy (args_copy, args);
|
11187 | |
|
11188 | |
const char *str;
|
11189 | |
int number;
|
11190 | |
float fnumber;
|
11191 | |
|
11192 | |
while (*format)
|
11193 | |
{
|
11194 | |
switch (*format++)
|
11195 | |
{
|
11196 | |
case 's': // string
|
11197 | |
str = va_arg (args_copy, const char *);
|
11198 | |
break;
|
11199 | |
case 'd': // int
|
11200 | |
number = va_arg (args_copy, int);
|
11201 | |
break;
|
11202 | |
case 'f': // float
|
11203 | |
fnumber = va_arg (args_copy, double);
|
11204 | |
break;
|
11205 | |
default:
|
11206 | |
break;
|
11207 | |
}
|
11208 | |
}
|
11209 | |
va_end (args_copy);
|
11210 | |
va_end (args);
|
11211 | |
}
|
11212 | |
|
11213 | |
int
|
11214 | |
main ()
|
11215 | |
{
|
11216 | |
|
11217 | |
// Check bool.
|
11218 | |
_Bool success = false;
|
11219 | |
|
11220 | |
// Check restrict.
|
11221 | |
if (test_restrict ("String literal") == 0)
|
11222 | |
success = true;
|
11223 | |
char *restrict newvar = "Another string";
|
11224 | |
|
11225 | |
// Check varargs.
|
11226 | |
test_varargs ("s, d' f .", "string", 65, 34.234);
|
11227 | |
test_varargs_macros ();
|
11228 | |
|
11229 | |
// Check flexible array members.
|
11230 | |
struct incomplete_array *ia =
|
11231 | |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
11232 | |
ia->datasize = 10;
|
11233 | |
for (int i = 0; i < ia->datasize; ++i)
|
11234 | |
ia->data[i] = i * 1.234;
|
11235 | |
|
11236 | |
// Check named initializers.
|
11237 | |
struct named_init ni = {
|
11238 | |
.number = 34,
|
11239 | |
.name = L"Test wide string",
|
11240 | |
.average = 543.34343,
|
11241 | |
};
|
11242 | |
|
11243 | |
ni.number = 58;
|
11244 | |
|
11245 | |
int dynamic_array[ni.number];
|
11246 | |
dynamic_array[ni.number - 1] = 543;
|
11247 | |
|
11248 | |
// work around unused variable warnings
|
11249 | |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
11250 | |
|| dynamic_array[ni.number - 1] != 543);
|
11251 | |
|
11252 | |
;
|
11253 | |
return 0;
|
11254 | |
}
|
11255 | |
_ACEOF
|
11256 | |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
|
11257 | |
do
|
11258 | |
CC="$ac_save_CC $ac_arg"
|
11259 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
11260 | |
ac_cv_prog_cc_c99=$ac_arg
|
11261 | |
fi
|
11262 | |
rm -f core conftest.err conftest.$ac_objext
|
11263 | |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
11264 | |
done
|
11265 | |
rm -f conftest.$ac_ext
|
11266 | |
CC=$ac_save_CC
|
11267 | |
|
11268 | |
fi
|
11269 | |
# AC_CACHE_VAL
|
11270 | |
case "x$ac_cv_prog_cc_c99" in
|
11271 | |
x)
|
11272 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
11273 | |
$as_echo "none needed" >&6; } ;;
|
11274 | |
xno)
|
11275 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
11276 | |
$as_echo "unsupported" >&6; } ;;
|
11277 | |
*)
|
11278 | |
CC="$CC $ac_cv_prog_cc_c99"
|
11279 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
11280 | |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
|
11281 | |
esac
|
11282 | |
if test "x$ac_cv_prog_cc_c99" != xno; then :
|
11283 | |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
11284 | |
else
|
11285 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
11286 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
11287 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
11288 | |
$as_echo_n "(cached) " >&6
|
11289 | |
else
|
11290 | |
ac_cv_prog_cc_c89=no
|
11291 | |
ac_save_CC=$CC
|
11292 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11293 | |
/* end confdefs.h. */
|
11294 | |
#include <stdarg.h>
|
11295 | |
#include <stdio.h>
|
11296 | |
#include <sys/types.h>
|
11297 | |
#include <sys/stat.h>
|
11298 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
11299 | |
struct buf { int x; };
|
11300 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
11301 | |
static char *e (p, i)
|
11302 | |
char **p;
|
11303 | |
int i;
|
11304 | |
{
|
11305 | |
return p[i];
|
11306 | |
}
|
11307 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
11308 | |
{
|
11309 | |
char *s;
|
11310 | |
va_list v;
|
11311 | |
va_start (v,p);
|
11312 | |
s = g (p, va_arg (v,int));
|
11313 | |
va_end (v);
|
11314 | |
return s;
|
11315 | |
}
|
11316 | |
|
11317 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
11318 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
11319 | |
These don't provoke an error unfortunately, instead are silently treated
|
11320 | |
as 'x'. The following induces an error, until -std is added to get
|
11321 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
11322 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
11323 | |
that's true only with -std. */
|
11324 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
11325 | |
|
11326 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
11327 | |
inside strings and character constants. */
|
11328 | |
#define FOO(x) 'x'
|
11329 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
11330 | |
|
11331 | |
int test (int i, double x);
|
11332 | |
struct s1 {int (*f) (int a);};
|
11333 | |
struct s2 {int (*f) (double a);};
|
11334 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
11335 | |
int argc;
|
11336 | |
char **argv;
|
11337 | |
int
|
11338 | |
main ()
|
11339 | |
{
|
11340 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
11341 | |
;
|
11342 | |
return 0;
|
11343 | |
}
|
11344 | |
_ACEOF
|
11345 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
11346 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
11347 | |
do
|
11348 | |
CC="$ac_save_CC $ac_arg"
|
11349 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
11350 | |
ac_cv_prog_cc_c89=$ac_arg
|
11351 | |
fi
|
11352 | |
rm -f core conftest.err conftest.$ac_objext
|
11353 | |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
11354 | |
done
|
11355 | |
rm -f conftest.$ac_ext
|
11356 | |
CC=$ac_save_CC
|
11357 | |
|
11358 | |
fi
|
11359 | |
# AC_CACHE_VAL
|
11360 | |
case "x$ac_cv_prog_cc_c89" in
|
11361 | |
x)
|
11362 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
11363 | |
$as_echo "none needed" >&6; } ;;
|
11364 | |
xno)
|
11365 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
11366 | |
$as_echo "unsupported" >&6; } ;;
|
11367 | |
*)
|
11368 | |
CC="$CC $ac_cv_prog_cc_c89"
|
11369 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
11370 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
11371 | |
esac
|
11372 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
11373 | |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
11374 | |
else
|
11375 | |
ac_cv_prog_cc_stdc=no
|
11376 | |
fi
|
11377 | |
|
11378 | |
fi
|
11379 | |
;;
|
11380 | |
esac
|
11381 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
|
11382 | |
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
|
11383 | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then :
|
11384 | |
$as_echo_n "(cached) " >&6
|
11385 | |
fi
|
11386 | |
|
11387 | |
case $ac_cv_prog_cc_stdc in #(
|
11388 | |
no) :
|
11389 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
11390 | |
$as_echo "unsupported" >&6; } ;; #(
|
11391 | |
'') :
|
11392 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
11393 | |
$as_echo "none needed" >&6; } ;; #(
|
11394 | |
*) :
|
11395 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
11396 | |
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
11397 | |
esac
|
11398 | |
|
11399 | |
mkdir_p="$MKDIR_P"
|
11400 | |
case $mkdir_p in
|
11401 | |
[\\/$]* | ?:[\\/]*) ;;
|
11402 | |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
11403 | |
esac
|
11404 | |
|
11405 | |
|
11406 | 10781 |
# Check whether --enable-compiler-optimisations was given.
|
11407 | 10782 |
if test "${enable_compiler_optimisations+set}" = set; then :
|
11408 | 10783 |
enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then
|
|
11677 | 11052 |
fi
|
11678 | 11053 |
|
11679 | 11054 |
|
11680 | |
# Check whether --with-html-dir was given.
|
11681 | |
if test "${with_html_dir+set}" = set; then :
|
11682 | |
withval=$with_html_dir;
|
11683 | |
else
|
11684 | |
with_html_dir='${datadir}/gtk-doc/html'
|
11685 | |
fi
|
11686 | |
|
11687 | |
HTML_DIR="$with_html_dir"
|
11688 | |
|
11689 | |
|
11690 | |
# Check whether --enable-gtk-doc was given.
|
11691 | |
if test "${enable_gtk_doc+set}" = set; then :
|
11692 | |
enableval=$enable_gtk_doc;
|
11693 | |
else
|
11694 | |
enable_gtk_doc=no
|
11695 | |
fi
|
11696 | |
|
11697 | |
|
11698 | |
if test x$enable_gtk_doc = xyes; then
|
11699 | |
if test -n "$PKG_CONFIG" && \
|
11700 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
|
11701 | |
($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
|
11702 | |
ac_status=$?
|
11703 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
11704 | |
test $ac_status = 0; }; then
|
11705 | |
:
|
11706 | |
else
|
11707 | |
as_fn_error "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
|
11708 | |
fi
|
11709 | |
fi
|
11710 | |
|
11711 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
|
11712 | |
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
|
11713 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
|
11714 | |
$as_echo "$enable_gtk_doc" >&6; }
|
11715 | |
|
11716 | |
for ac_prog in gtkdoc-check
|
11717 | |
do
|
11718 | |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
11719 | |
set dummy $ac_prog; ac_word=$2
|
|
11055 |
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
|
|
11056 |
set dummy gtkdoc-check; ac_word=$2
|
11720 | 11057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
11721 | 11058 |
$as_echo_n "checking for $ac_word... " >&6; }
|
11722 | 11059 |
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
|
|
11755 | 11092 |
fi
|
11756 | 11093 |
|
11757 | 11094 |
|
11758 | |
test -n "$GTKDOC_CHECK" && break
|
|
11095 |
for ac_prog in gtkdoc-rebase
|
|
11096 |
do
|
|
11097 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
11098 |
set dummy $ac_prog; ac_word=$2
|
|
11099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
11100 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
11101 |
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
|
|
11102 |
$as_echo_n "(cached) " >&6
|
|
11103 |
else
|
|
11104 |
case $GTKDOC_REBASE in
|
|
11105 |
[\\/]* | ?:[\\/]*)
|
|
11106 |
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
|
|
11107 |
;;
|
|
11108 |
*)
|
|
11109 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
11110 |
for as_dir in $PATH
|
|
11111 |
do
|
|
11112 |
IFS=$as_save_IFS
|
|
11113 |
test -z "$as_dir" && as_dir=.
|
|
11114 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
11115 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
11116 |
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
|
|
11117 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
11118 |
break 2
|
|
11119 |
fi
|
11759 | 11120 |
done
|
|
11121 |
done
|
|
11122 |
IFS=$as_save_IFS
|
|
11123 |
|
|
11124 |
;;
|
|
11125 |
esac
|
|
11126 |
fi
|
|
11127 |
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
|
|
11128 |
if test -n "$GTKDOC_REBASE"; then
|
|
11129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
|
|
11130 |
$as_echo "$GTKDOC_REBASE" >&6; }
|
|
11131 |
else
|
|
11132 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
11133 |
$as_echo "no" >&6; }
|
|
11134 |
fi
|
|
11135 |
|
|
11136 |
|
|
11137 |
test -n "$GTKDOC_REBASE" && break
|
|
11138 |
done
|
|
11139 |
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
|
|
11140 |
|
|
11141 |
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
|
|
11142 |
set dummy gtkdoc-mkpdf; ac_word=$2
|
|
11143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
11144 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
11145 |
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
|
|
11146 |
$as_echo_n "(cached) " >&6
|
|
11147 |
else
|
|
11148 |
case $GTKDOC_MKPDF in
|
|
11149 |
[\\/]* | ?:[\\/]*)
|
|
11150 |
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
|
|
11151 |
;;
|
|
11152 |
*)
|
|
11153 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
11154 |
for as_dir in $PATH
|
|
11155 |
do
|
|
11156 |
IFS=$as_save_IFS
|
|
11157 |
test -z "$as_dir" && as_dir=.
|
|
11158 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
11159 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
11160 |
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
|
|
11161 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
11162 |
break 2
|
|
11163 |
fi
|
|
11164 |
done
|
|
11165 |
done
|
|
11166 |
IFS=$as_save_IFS
|
|
11167 |
|
|
11168 |
;;
|
|
11169 |
esac
|
|
11170 |
fi
|
|
11171 |
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
|
|
11172 |
if test -n "$GTKDOC_MKPDF"; then
|
|
11173 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
|
|
11174 |
$as_echo "$GTKDOC_MKPDF" >&6; }
|
|
11175 |
else
|
|
11176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
11177 |
$as_echo "no" >&6; }
|
|
11178 |
fi
|
|
11179 |
|
|
11180 |
|
|
11181 |
|
|
11182 |
|
|
11183 |
# Check whether --with-html-dir was given.
|
|
11184 |
if test "${with_html_dir+set}" = set; then :
|
|
11185 |
withval=$with_html_dir;
|
|
11186 |
else
|
|
11187 |
with_html_dir='${datadir}/gtk-doc/html'
|
|
11188 |
fi
|
|
11189 |
|
|
11190 |
HTML_DIR="$with_html_dir"
|
|
11191 |
|
|
11192 |
|
|
11193 |
# Check whether --enable-gtk-doc was given.
|
|
11194 |
if test "${enable_gtk_doc+set}" = set; then :
|
|
11195 |
enableval=$enable_gtk_doc;
|
|
11196 |
else
|
|
11197 |
enable_gtk_doc=no
|
|
11198 |
fi
|
|
11199 |
|
|
11200 |
|
|
11201 |
if test x$enable_gtk_doc = xyes; then
|
|
11202 |
if test -n "$PKG_CONFIG" && \
|
|
11203 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
|
|
11204 |
($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
|
|
11205 |
ac_status=$?
|
|
11206 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11207 |
test $ac_status = 0; }; then
|
|
11208 |
:
|
|
11209 |
else
|
|
11210 |
as_fn_error "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
|
|
11211 |
fi
|
|
11212 |
fi
|
|
11213 |
|
|
11214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
|
|
11215 |
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
|
|
11216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
|
|
11217 |
$as_echo "$enable_gtk_doc" >&6; }
|
|
11218 |
|
|
11219 |
# Check whether --enable-gtk-doc-html was given.
|
|
11220 |
if test "${enable_gtk_doc_html+set}" = set; then :
|
|
11221 |
enableval=$enable_gtk_doc_html;
|
|
11222 |
else
|
|
11223 |
enable_gtk_doc_html=yes
|
|
11224 |
fi
|
|
11225 |
|
|
11226 |
# Check whether --enable-gtk-doc-pdf was given.
|
|
11227 |
if test "${enable_gtk_doc_pdf+set}" = set; then :
|
|
11228 |
enableval=$enable_gtk_doc_pdf;
|
|
11229 |
else
|
|
11230 |
enable_gtk_doc_pdf=no
|
|
11231 |
fi
|
|
11232 |
|
|
11233 |
|
|
11234 |
if test -z "$GTKDOC_MKPDF"; then
|
|
11235 |
enable_gtk_doc_pdf=no
|
|
11236 |
fi
|
11760 | 11237 |
|
11761 | 11238 |
|
11762 | 11239 |
if test x$enable_gtk_doc = xyes; then
|
|
11767 | 11244 |
ENABLE_GTK_DOC_FALSE=
|
11768 | 11245 |
fi
|
11769 | 11246 |
|
|
11247 |
if test x$enable_gtk_doc_html = xyes; then
|
|
11248 |
GTK_DOC_BUILD_HTML_TRUE=
|
|
11249 |
GTK_DOC_BUILD_HTML_FALSE='#'
|
|
11250 |
else
|
|
11251 |
GTK_DOC_BUILD_HTML_TRUE='#'
|
|
11252 |
GTK_DOC_BUILD_HTML_FALSE=
|
|
11253 |
fi
|
|
11254 |
|
|
11255 |
if test x$enable_gtk_doc_pdf = xyes; then
|
|
11256 |
GTK_DOC_BUILD_PDF_TRUE=
|
|
11257 |
GTK_DOC_BUILD_PDF_FALSE='#'
|
|
11258 |
else
|
|
11259 |
GTK_DOC_BUILD_PDF_TRUE='#'
|
|
11260 |
GTK_DOC_BUILD_PDF_FALSE=
|
|
11261 |
fi
|
|
11262 |
|
11770 | 11263 |
if test -n "$LIBTOOL"; then
|
11771 | 11264 |
GTK_DOC_USE_LIBTOOL_TRUE=
|
11772 | 11265 |
GTK_DOC_USE_LIBTOOL_FALSE='#'
|
11773 | 11266 |
else
|
11774 | 11267 |
GTK_DOC_USE_LIBTOOL_TRUE='#'
|
11775 | 11268 |
GTK_DOC_USE_LIBTOOL_FALSE=
|
|
11269 |
fi
|
|
11270 |
|
|
11271 |
if test -n "$GTKDOC_REBASE"; then
|
|
11272 |
GTK_DOC_USE_REBASE_TRUE=
|
|
11273 |
GTK_DOC_USE_REBASE_FALSE='#'
|
|
11274 |
else
|
|
11275 |
GTK_DOC_USE_REBASE_TRUE='#'
|
|
11276 |
GTK_DOC_USE_REBASE_FALSE=
|
11776 | 11277 |
fi
|
11777 | 11278 |
|
11778 | 11279 |
|
|
12397 | 11898 |
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
|
12398 | 11899 |
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
|
12399 | 11900 |
;;
|
|
11901 |
*)
|
|
11902 |
case $am_py_prefix in
|
|
11903 |
/usr|/System*) ;;
|
|
11904 |
*)
|
|
11905 |
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
|
|
11906 |
;;
|
|
11907 |
esac
|
|
11908 |
;;
|
12400 | 11909 |
esac
|
12401 | 11910 |
|
12402 | 11911 |
fi
|
|
12426 | 11935 |
$am_py_exec_prefix*)
|
12427 | 11936 |
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
|
12428 | 11937 |
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
|
|
11938 |
;;
|
|
11939 |
*)
|
|
11940 |
case $am_py_exec_prefix in
|
|
11941 |
/usr|/System*) ;;
|
|
11942 |
*)
|
|
11943 |
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
|
|
11944 |
;;
|
|
11945 |
esac
|
12429 | 11946 |
;;
|
12430 | 11947 |
esac
|
12431 | 11948 |
|
|
12585 | 12102 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
12586 | 12103 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
12587 | 12104 |
fi
|
12588 | |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
12589 | |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
12590 | |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
12591 | |
fi
|
12592 | 12105 |
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
|
12593 | 12106 |
as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
|
12594 | 12107 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
12595 | 12108 |
fi
|
|
12109 |
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
|
|
12110 |
as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
|
|
12111 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
12112 |
fi
|
|
12113 |
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
|
|
12114 |
as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
|
|
12115 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
12116 |
fi
|
12596 | 12117 |
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
|
12597 | 12118 |
as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
|
|
12119 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
12120 |
fi
|
|
12121 |
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
|
|
12122 |
as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
|
12598 | 12123 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
12599 | 12124 |
fi
|
12600 | 12125 |
if test -z "${WANT_TWISTED_TESTS_TRUE}" && test -z "${WANT_TWISTED_TESTS_FALSE}"; then
|
|
13013 | 12538 |
# report actual input values of CONFIG_FILES etc. instead of their
|
13014 | 12539 |
# values after options handling.
|
13015 | 12540 |
ac_log="
|
13016 | |
This file was extended by telepathy-sofiasip $as_me 0.6.2, which was
|
13017 | |
generated by GNU Autoconf 2.64. Invocation command line was
|
|
12541 |
This file was extended by telepathy-sofiasip $as_me 0.6.3, which was
|
|
12542 |
generated by GNU Autoconf 2.65. Invocation command line was
|
13018 | 12543 |
|
13019 | 12544 |
CONFIG_FILES = $CONFIG_FILES
|
13020 | 12545 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
13054 | 12579 |
|
13055 | 12580 |
-h, --help print this help, then exit
|
13056 | 12581 |
-V, --version print version number and configuration settings, then exit
|
|
12582 |
--config print configuration, then exit
|
13057 | 12583 |
-q, --quiet, --silent
|
13058 | 12584 |
do not print progress messages
|
13059 | 12585 |
-d, --debug don't remove temporary files
|
|
13076 | 12602 |
|
13077 | 12603 |
_ACEOF
|
13078 | 12604 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
12605 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
13079 | 12606 |
ac_cs_version="\\
|
13080 | |
telepathy-sofiasip config.status 0.6.2
|
13081 | |
configured by $0, generated by GNU Autoconf 2.64,
|
13082 | |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
12607 |
telepathy-sofiasip config.status 0.6.3
|
|
12608 |
configured by $0, generated by GNU Autoconf 2.65,
|
|
12609 |
with options \\"\$ac_cs_config\\"
|
13083 | 12610 |
|
13084 | 12611 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
13085 | 12612 |
This config.status script is free software; the Free Software Foundation
|
|
13117 | 12644 |
ac_cs_recheck=: ;;
|
13118 | 12645 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
13119 | 12646 |
$as_echo "$ac_cs_version"; exit ;;
|
|
12647 |
--config | --confi | --conf | --con | --co | --c )
|
|
12648 |
$as_echo "$ac_cs_config"; exit ;;
|
13120 | 12649 |
--debug | --debu | --deb | --de | --d | -d )
|
13121 | 12650 |
debug=: ;;
|
13122 | 12651 |
--file | --fil | --fi | --f )
|
|
13198 | 12727 |
sed_quote_subst='$sed_quote_subst'
|
13199 | 12728 |
double_quote_subst='$double_quote_subst'
|
13200 | 12729 |
delay_variable_subst='$delay_variable_subst'
|
|
12730 |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
|
13201 | 12731 |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
|
13202 | 12732 |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
|
13203 | |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
|
13204 | 12733 |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
|
13205 | 12734 |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
|
13206 | 12735 |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
|
|
13453 | 12982 |
for ac_config_target in $ac_config_targets
|
13454 | 12983 |
do
|
13455 | 12984 |
case $ac_config_target in
|
|
12985 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
13456 | 12986 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
13457 | 12987 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
13458 | |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
13459 | 12988 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
13460 | 12989 |
"tpsip/Makefile") CONFIG_FILES="$CONFIG_FILES tpsip/Makefile" ;;
|
13461 | 12990 |
"tpsip-extensions/Makefile") CONFIG_FILES="$CONFIG_FILES tpsip-extensions/Makefile" ;;
|
|
13570 | 13099 |
t delim
|
13571 | 13100 |
:nl
|
13572 | 13101 |
h
|
13573 | |
s/\(.\{148\}\).*/\1/
|
|
13102 |
s/\(.\{148\}\)..*/\1/
|
13574 | 13103 |
t more1
|
13575 | 13104 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
13576 | 13105 |
p
|
|
13584 | 13113 |
t nl
|
13585 | 13114 |
:delim
|
13586 | 13115 |
h
|
13587 | |
s/\(.\{148\}\).*/\1/
|
|
13116 |
s/\(.\{148\}\)..*/\1/
|
13588 | 13117 |
t more2
|
13589 | 13118 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
13590 | 13119 |
p
|
|
14199 | 13728 |
|
14200 | 13729 |
# ### BEGIN LIBTOOL CONFIG
|
14201 | 13730 |
|
|
13731 |
# Whether or not to build shared libraries.
|
|
13732 |
build_libtool_libs=$enable_shared
|
|
13733 |
|
14202 | 13734 |
# Which release of libtool.m4 was used?
|
14203 | 13735 |
macro_version=$macro_version
|
14204 | 13736 |
macro_revision=$macro_revision
|
14205 | |
|
14206 | |
# Whether or not to build shared libraries.
|
14207 | |
build_libtool_libs=$enable_shared
|
14208 | 13737 |
|
14209 | 13738 |
# Whether or not to build static libraries.
|
14210 | 13739 |
build_old_libs=$enable_static
|