Mercurial > hg > xemacs-beta
comparison configure @ 5922:4b055de36bb9 cygwin
merging heads 2
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 27 Feb 2015 17:47:15 +0000 |
parents | 83e5c3cd6be6 0f2338afbabf |
children |
comparison
equal
deleted
inserted
replaced
5921:68639fb08af8 | 5922:4b055de36bb9 |
---|---|
1004 with_socks | 1004 with_socks |
1005 enable_dnet | 1005 enable_dnet |
1006 with_dnet | 1006 with_dnet |
1007 enable_ipv6_cname | 1007 enable_ipv6_cname |
1008 with_ipv6_cname | 1008 with_ipv6_cname |
1009 enable_tls | |
1010 with_tls | |
1009 enable_rel_alloc | 1011 enable_rel_alloc |
1010 with_rel_alloc | 1012 with_rel_alloc |
1011 enable_dlmalloc | 1013 enable_dlmalloc |
1012 with_dlmalloc | 1014 with_dlmalloc |
1013 enable_system_malloc | 1015 enable_system_malloc |
1936 --with-socks Compile with support for SOCKS (an Internet proxy). | 1938 --with-socks Compile with support for SOCKS (an Internet proxy). |
1937 --with-dnet Compile with support for DECnet. | 1939 --with-dnet Compile with support for DECnet. |
1938 --with-ipv6-cname Try IPv6 information first when canonicalizing host | 1940 --with-ipv6-cname Try IPv6 information first when canonicalizing host |
1939 names. This option has no effect unless system | 1941 names. This option has no effect unless system |
1940 supports getaddrinfo(3) and getnameinfo(3). | 1942 supports getaddrinfo(3) and getnameinfo(3). |
1943 --with-tls=TYPE Support TLS connections. TYPE must be one of "nss", | |
1944 "gnutls", and "openssl". If TYPE is omitted or | |
1945 "yes", support is determined automatically. | |
1941 | 1946 |
1942 Memory allocation options | 1947 Memory allocation options |
1943 ------------------------- | 1948 ------------------------- |
1944 | 1949 |
1945 --with-rel-alloc Enable the relocating allocator. | 1950 --with-rel-alloc Enable the relocating allocator. |
4919 enableval="$with_ipv6_cname" | 4924 enableval="$with_ipv6_cname" |
4920 withval="$with_ipv6_cname" | 4925 withval="$with_ipv6_cname" |
4921 | 4926 |
4922 else | 4927 else |
4923 with_ipv6_cname="no" | 4928 with_ipv6_cname="no" |
4929 fi; | |
4930 # If --with-tls or --without-tls were given then copy the value to the | |
4931 # equivalent enable_tls variable. | |
4932 if test "${with_tls+set}" = set; then | |
4933 enable_tls="$with_tls" | |
4934 fi; | |
4935 # If -enable-tls or --disable-tls were given then copy the value to the | |
4936 # equivalent with_tls variable. | |
4937 if test "${enable_tls+set}" = set; then | |
4938 with_tls="$enable_tls" | |
4939 fi; | |
4940 # Check whether --with-tls or --without-tls was given. | |
4941 if test "${with_tls+set}" = set; then | |
4942 enableval="$with_tls" | |
4943 withval="$with_tls" | |
4944 | |
4924 fi; | 4945 fi; |
4925 | 4946 |
4926 # If --with-rel-alloc or --without-rel-alloc were given then copy the value to the | 4947 # If --with-rel-alloc or --without-rel-alloc were given then copy the value to the |
4927 # equivalent enable_rel-alloc variable. | 4948 # equivalent enable_rel-alloc variable. |
4928 if test "${with_rel_alloc+set}" = set; then | 4949 if test "${with_rel_alloc+set}" = set; then |
12210 fi | 12231 fi |
12211 | 12232 |
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ASLR needs to be disabled" >&5 | 12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ASLR needs to be disabled" >&5 |
12213 $as_echo_n "checking whether ASLR needs to be disabled... " >&6; } | 12234 $as_echo_n "checking whether ASLR needs to be disabled... " >&6; } |
12214 case `uname -s`:`uname -r` in | 12235 case `uname -s`:`uname -r` in |
12215 Darwin:1[123].*) | 12236 Darwin:1[1234].*) |
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12217 $as_echo "yes" >&6; } | 12238 $as_echo "yes" >&6; } |
12218 LDFLAGS="$LDFLAGS -Wl,-no_pie" && if test "$verbose" = "yes"; then echo " Appending \"-Wl,-no_pie\" to \$LDFLAGS"; fi | 12239 LDFLAGS="$LDFLAGS -Wl,-no_pie" && if test "$verbose" = "yes"; then echo " Appending \"-Wl,-no_pie\" to \$LDFLAGS"; fi |
12219 ;; | 12240 ;; |
12220 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12241 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16786 fi | 16807 fi |
16787 fi | 16808 fi |
16788 | 16809 |
16789 if test -n "$athena_lib" -a -n "$athena_h_path"; then | 16810 if test -n "$athena_lib" -a -n "$athena_h_path"; then |
16790 have_xaw=yes | 16811 have_xaw=yes |
16812 have_athena_i18n=unset | |
16813 if test "$athena_variant" = "Xaw3d"; then | |
16814 save_libs_x=$libs_x | |
16815 libs_x="-lXaw3d $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXaw3d\" to \$libs_x"; fi | |
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"international\" resource in Xaw3d SimpleWidget" >&5 | |
16817 $as_echo_n "checking for \"international\" resource in Xaw3d SimpleWidget... " >&6; } | |
16818 if test "$cross_compiling" = yes; then : | |
16819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
16820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
16821 as_fn_error $? "cannot run test program while cross compiling | |
16822 See \`config.log' for more details" "$LINENO" 5; } | |
16823 else | |
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
16825 /* end confdefs.h. */ | |
16826 #include <stdlib.h> | |
16827 #include <string.h> | |
16828 #undef XAW_INTERNATIONALIZATION | |
16829 #include <$athena_h_path/Simple.h> | |
16830 | |
16831 int | |
16832 main () | |
16833 { | |
16834 int i = simpleWidgetClass->core_class.num_resources; | |
16835 while (i-- > 0) | |
16836 if (!strcmp(simpleWidgetClass->core_class.resources[i].resource_name, | |
16837 "international")) | |
16838 exit(0); | |
16839 exit(253); | |
16840 | |
16841 ; | |
16842 return 0; | |
16843 } | |
16844 _ACEOF | |
16845 if ac_fn_c_try_run "$LINENO"; then : | |
16846 have_athena_i18n=yes | |
16847 else | |
16848 have_athena_i18n=no | |
16849 fi | |
16850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
16851 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
16852 fi | |
16853 | |
16854 libs_x=$save_libs_x | |
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_athena_i18n" >&5 | |
16856 $as_echo "$have_athena_i18n" >&6; } | |
16857 fi | |
16791 else | 16858 else |
16792 have_xaw=no | 16859 have_xaw=no |
16793 fi | 16860 fi |
16794 | 16861 |
16795 else | 16862 else |
16990 $as_echo "#define LWLIB_USES_ATHENA 1" >>confdefs.h | 17057 $as_echo "#define LWLIB_USES_ATHENA 1" >>confdefs.h |
16991 | 17058 |
16992 $as_echo "#define NEED_ATHENA 1" >>confdefs.h | 17059 $as_echo "#define NEED_ATHENA 1" >>confdefs.h |
16993 | 17060 |
16994 need_athena="yes" | 17061 need_athena="yes" |
16995 | |
16996 if test "$athena_3d" = "yes"; then | 17062 if test "$athena_3d" = "yes"; then |
16997 $as_echo "#define HAVE_ATHENA_3D 1" >>confdefs.h | 17063 $as_echo "#define HAVE_ATHENA_3D 1" >>confdefs.h |
16998 | 17064 |
17065 if test "$have_athena_i18n" = "yes"; then | |
17066 $as_echo "#define HAVE_ATHENA_I18N 1" >>confdefs.h | |
17067 | |
17068 fi | |
16999 fi | 17069 fi |
17000 ;; | 17070 ;; |
17001 esac | 17071 esac |
17002 | 17072 |
17003 case "$all_widgets" in *motif* ) | 17073 case "$all_widgets" in *motif* ) |
21005 | 21075 |
21006 $as_echo "#define WITH_MP 1" >>confdefs.h | 21076 $as_echo "#define WITH_MP 1" >>confdefs.h |
21007 | 21077 |
21008 fi | 21078 fi |
21009 | 21079 |
21080 if test "$with_tls" = "gnutls"; then | |
21081 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" | |
21082 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : | |
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_global_init in -lgnutls" >&5 | |
21084 $as_echo_n "checking for gnutls_global_init in -lgnutls... " >&6; } | |
21085 if ${ac_cv_lib_gnutls_gnutls_global_init+:} false; then : | |
21086 $as_echo_n "(cached) " >&6 | |
21087 else | |
21088 ac_check_lib_save_LIBS=$LIBS | |
21089 LIBS="-lgnutls $LIBS" | |
21090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
21091 /* end confdefs.h. */ | |
21092 | |
21093 /* Override any GCC internal prototype to avoid an error. | |
21094 Use char because int might match the return type of a GCC | |
21095 builtin and then its argument prototype would still apply. */ | |
21096 #ifdef __cplusplus | |
21097 extern "C" | |
21098 #endif | |
21099 char gnutls_global_init (); | |
21100 int | |
21101 main () | |
21102 { | |
21103 return gnutls_global_init (); | |
21104 ; | |
21105 return 0; | |
21106 } | |
21107 _ACEOF | |
21108 if ac_fn_c_try_link "$LINENO"; then : | |
21109 ac_cv_lib_gnutls_gnutls_global_init=yes | |
21110 else | |
21111 ac_cv_lib_gnutls_gnutls_global_init=no | |
21112 fi | |
21113 rm -f core conftest.err conftest.$ac_objext \ | |
21114 conftest$ac_exeext conftest.$ac_ext | |
21115 LIBS=$ac_check_lib_save_LIBS | |
21116 fi | |
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_global_init" >&5 | |
21118 $as_echo "$ac_cv_lib_gnutls_gnutls_global_init" >&6; } | |
21119 if test "x$ac_cv_lib_gnutls_gnutls_global_init" = xyes; then : | |
21120 with_tls=gnutls | |
21121 else | |
21122 { echo "Error:" "Required gnutls support cannot be provided." >&2; exit 1; } | |
21123 fi | |
21124 | |
21125 else | |
21126 { echo "Error:" "Required gnutls support cannot be provided." >&2; exit 1; } | |
21127 fi | |
21128 | |
21129 | |
21130 elif test "$with_tls" = "nss"; then | |
21131 ac_fn_c_check_header_mongrel "$LINENO" "nss.h" "ac_cv_header_nss_h" "$ac_includes_default" | |
21132 if test "x$ac_cv_header_nss_h" = xyes; then : | |
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_InitContext in -lnss3" >&5 | |
21134 $as_echo_n "checking for NSS_InitContext in -lnss3... " >&6; } | |
21135 if ${ac_cv_lib_nss3_NSS_InitContext+:} false; then : | |
21136 $as_echo_n "(cached) " >&6 | |
21137 else | |
21138 ac_check_lib_save_LIBS=$LIBS | |
21139 LIBS="-lnss3 $LIBS" | |
21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
21141 /* end confdefs.h. */ | |
21142 | |
21143 /* Override any GCC internal prototype to avoid an error. | |
21144 Use char because int might match the return type of a GCC | |
21145 builtin and then its argument prototype would still apply. */ | |
21146 #ifdef __cplusplus | |
21147 extern "C" | |
21148 #endif | |
21149 char NSS_InitContext (); | |
21150 int | |
21151 main () | |
21152 { | |
21153 return NSS_InitContext (); | |
21154 ; | |
21155 return 0; | |
21156 } | |
21157 _ACEOF | |
21158 if ac_fn_c_try_link "$LINENO"; then : | |
21159 ac_cv_lib_nss3_NSS_InitContext=yes | |
21160 else | |
21161 ac_cv_lib_nss3_NSS_InitContext=no | |
21162 fi | |
21163 rm -f core conftest.err conftest.$ac_objext \ | |
21164 conftest$ac_exeext conftest.$ac_ext | |
21165 LIBS=$ac_check_lib_save_LIBS | |
21166 fi | |
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_InitContext" >&5 | |
21168 $as_echo "$ac_cv_lib_nss3_NSS_InitContext" >&6; } | |
21169 if test "x$ac_cv_lib_nss3_NSS_InitContext" = xyes; then : | |
21170 with_tls=nss | |
21171 else | |
21172 { echo "Error:" "Required NSS support cannot be provided." >&2; exit 1; } | |
21173 fi | |
21174 | |
21175 else | |
21176 { echo "Error:" "Required NSS support cannot be provided." >&2; exit 1; } | |
21177 fi | |
21178 | |
21179 | |
21180 elif test "$with_tls" = "openssl"; then | |
21181 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" | |
21182 if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : | |
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 | |
21184 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } | |
21185 if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : | |
21186 $as_echo_n "(cached) " >&6 | |
21187 else | |
21188 ac_check_lib_save_LIBS=$LIBS | |
21189 LIBS="-lssl $LIBS" | |
21190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
21191 /* end confdefs.h. */ | |
21192 | |
21193 /* Override any GCC internal prototype to avoid an error. | |
21194 Use char because int might match the return type of a GCC | |
21195 builtin and then its argument prototype would still apply. */ | |
21196 #ifdef __cplusplus | |
21197 extern "C" | |
21198 #endif | |
21199 char SSL_library_init (); | |
21200 int | |
21201 main () | |
21202 { | |
21203 return SSL_library_init (); | |
21204 ; | |
21205 return 0; | |
21206 } | |
21207 _ACEOF | |
21208 if ac_fn_c_try_link "$LINENO"; then : | |
21209 ac_cv_lib_ssl_SSL_library_init=yes | |
21210 else | |
21211 ac_cv_lib_ssl_SSL_library_init=no | |
21212 fi | |
21213 rm -f core conftest.err conftest.$ac_objext \ | |
21214 conftest$ac_exeext conftest.$ac_ext | |
21215 LIBS=$ac_check_lib_save_LIBS | |
21216 fi | |
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 | |
21218 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } | |
21219 if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : | |
21220 with_tls=openssl | |
21221 else | |
21222 { echo "Error:" "Required openssl support cannot be provided." >&2; exit 1; } | |
21223 fi | |
21224 | |
21225 else | |
21226 { echo "Error:" "Required openssl support cannot be provided." >&2; exit 1; } | |
21227 fi | |
21228 | |
21229 | |
21230 fi | |
21231 if test "$with_tls" = "yes"; then | |
21232 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" | |
21233 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : | |
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_global_init in -lgnutls" >&5 | |
21235 $as_echo_n "checking for gnutls_global_init in -lgnutls... " >&6; } | |
21236 if ${ac_cv_lib_gnutls_gnutls_global_init+:} false; then : | |
21237 $as_echo_n "(cached) " >&6 | |
21238 else | |
21239 ac_check_lib_save_LIBS=$LIBS | |
21240 LIBS="-lgnutls $LIBS" | |
21241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
21242 /* end confdefs.h. */ | |
21243 | |
21244 /* Override any GCC internal prototype to avoid an error. | |
21245 Use char because int might match the return type of a GCC | |
21246 builtin and then its argument prototype would still apply. */ | |
21247 #ifdef __cplusplus | |
21248 extern "C" | |
21249 #endif | |
21250 char gnutls_global_init (); | |
21251 int | |
21252 main () | |
21253 { | |
21254 return gnutls_global_init (); | |
21255 ; | |
21256 return 0; | |
21257 } | |
21258 _ACEOF | |
21259 if ac_fn_c_try_link "$LINENO"; then : | |
21260 ac_cv_lib_gnutls_gnutls_global_init=yes | |
21261 else | |
21262 ac_cv_lib_gnutls_gnutls_global_init=no | |
21263 fi | |
21264 rm -f core conftest.err conftest.$ac_objext \ | |
21265 conftest$ac_exeext conftest.$ac_ext | |
21266 LIBS=$ac_check_lib_save_LIBS | |
21267 fi | |
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_global_init" >&5 | |
21269 $as_echo "$ac_cv_lib_gnutls_gnutls_global_init" >&6; } | |
21270 if test "x$ac_cv_lib_gnutls_gnutls_global_init" = xyes; then : | |
21271 with_tls=gnutls | |
21272 fi | |
21273 | |
21274 fi | |
21275 | |
21276 | |
21277 fi | |
21278 if test "$with_tls" = "yes"; then | |
21279 ac_fn_c_check_header_mongrel "$LINENO" "nss.h" "ac_cv_header_nss_h" "$ac_includes_default" | |
21280 if test "x$ac_cv_header_nss_h" = xyes; then : | |
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_InitContext in -lnss3" >&5 | |
21282 $as_echo_n "checking for NSS_InitContext in -lnss3... " >&6; } | |
21283 if ${ac_cv_lib_nss3_NSS_InitContext+:} false; then : | |
21284 $as_echo_n "(cached) " >&6 | |
21285 else | |
21286 ac_check_lib_save_LIBS=$LIBS | |
21287 LIBS="-lnss3 $LIBS" | |
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
21289 /* end confdefs.h. */ | |
21290 | |
21291 /* Override any GCC internal prototype to avoid an error. | |
21292 Use char because int might match the return type of a GCC | |
21293 builtin and then its argument prototype would still apply. */ | |
21294 #ifdef __cplusplus | |
21295 extern "C" | |
21296 #endif | |
21297 char NSS_InitContext (); | |
21298 int | |
21299 main () | |
21300 { | |
21301 return NSS_InitContext (); | |
21302 ; | |
21303 return 0; | |
21304 } | |
21305 _ACEOF | |
21306 if ac_fn_c_try_link "$LINENO"; then : | |
21307 ac_cv_lib_nss3_NSS_InitContext=yes | |
21308 else | |
21309 ac_cv_lib_nss3_NSS_InitContext=no | |
21310 fi | |
21311 rm -f core conftest.err conftest.$ac_objext \ | |
21312 conftest$ac_exeext conftest.$ac_ext | |
21313 LIBS=$ac_check_lib_save_LIBS | |
21314 fi | |
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_InitContext" >&5 | |
21316 $as_echo "$ac_cv_lib_nss3_NSS_InitContext" >&6; } | |
21317 if test "x$ac_cv_lib_nss3_NSS_InitContext" = xyes; then : | |
21318 with_tls=nss | |
21319 fi | |
21320 | |
21321 fi | |
21322 | |
21323 | |
21324 fi | |
21325 if test "$with_tls" = "yes"; then | |
21326 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" | |
21327 if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : | |
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 | |
21329 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } | |
21330 if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : | |
21331 $as_echo_n "(cached) " >&6 | |
21332 else | |
21333 ac_check_lib_save_LIBS=$LIBS | |
21334 LIBS="-lssl $LIBS" | |
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
21336 /* end confdefs.h. */ | |
21337 | |
21338 /* Override any GCC internal prototype to avoid an error. | |
21339 Use char because int might match the return type of a GCC | |
21340 builtin and then its argument prototype would still apply. */ | |
21341 #ifdef __cplusplus | |
21342 extern "C" | |
21343 #endif | |
21344 char SSL_library_init (); | |
21345 int | |
21346 main () | |
21347 { | |
21348 return SSL_library_init (); | |
21349 ; | |
21350 return 0; | |
21351 } | |
21352 _ACEOF | |
21353 if ac_fn_c_try_link "$LINENO"; then : | |
21354 ac_cv_lib_ssl_SSL_library_init=yes | |
21355 else | |
21356 ac_cv_lib_ssl_SSL_library_init=no | |
21357 fi | |
21358 rm -f core conftest.err conftest.$ac_objext \ | |
21359 conftest$ac_exeext conftest.$ac_ext | |
21360 LIBS=$ac_check_lib_save_LIBS | |
21361 fi | |
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 | |
21363 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } | |
21364 if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : | |
21365 with_tls=openssl | |
21366 else | |
21367 with_tls=no | |
21368 fi | |
21369 | |
21370 fi | |
21371 | |
21372 | |
21373 fi | |
21374 if test "$with_tls" != "no"; then | |
21375 $as_echo "#define WITH_TLS 1" >>confdefs.h | |
21376 | |
21377 if test "$with_tls" = "gnutls"; then | |
21378 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h | |
21379 | |
21380 gnutls_cflags=`pkg-config --cflags gnutls` | |
21381 if test "$?" = 0; then | |
21382 CPPFLAGS=""$gnutls_cflags" $CPPFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$gnutls_cflags"\" to \$CPPFLAGS"; fi | |
21383 fi | |
21384 gnutls_libs=`pkg-config --libs gnutls` | |
21385 if test "$?" = 0; then | |
21386 LIBS="$LIBS "$gnutls_libs"" && if test "$verbose" = "yes"; then echo " Appending \""$gnutls_libs"\" to \$LIBS"; fi | |
21387 fi | |
21388 ac_fn_c_check_func "$LINENO" "gnutls_certificate_verification_status_print" "ac_cv_func_gnutls_certificate_verification_status_print" | |
21389 if test "x$ac_cv_func_gnutls_certificate_verification_status_print" = xyes; then : | |
21390 $as_echo "#define HAVE_GNUTLS_CERTIFICATE_VERIFICATION_STATUS_PRINT 1" >>confdefs.h | |
21391 | |
21392 fi | |
21393 | |
21394 ac_fn_c_check_func "$LINENO" "gnutls_certificate_verify_peers3" "ac_cv_func_gnutls_certificate_verify_peers3" | |
21395 if test "x$ac_cv_func_gnutls_certificate_verify_peers3" = xyes; then : | |
21396 $as_echo "#define HAVE_GNUTLS_CERTIFICATE_VERIFY_PEERS3 1" >>confdefs.h | |
21397 | |
21398 fi | |
21399 | |
21400 elif test "$with_tls" = "nss"; then | |
21401 $as_echo "#define HAVE_NSS 1" >>confdefs.h | |
21402 | |
21403 nss_cflags=`pkg-config --cflags nss` | |
21404 if test "$?" = 0; then | |
21405 CPPFLAGS=""$nss_cflags" $CPPFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$nss_cflags"\" to \$CPPFLAGS"; fi | |
21406 fi | |
21407 nss_libs=`pkg-config --libs nss` | |
21408 if test "$?" = 0; then | |
21409 LIBS="$LIBS "$nss_libs"" && if test "$verbose" = "yes"; then echo " Appending \""$nss_libs"\" to \$LIBS"; fi | |
21410 fi | |
21411 else | |
21412 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h | |
21413 | |
21414 openssl_cflags=`pkg-config --cflags openssl` | |
21415 if test "$?" = 0; then | |
21416 CPPFLAGS=""$openssl_cflags" $CPPFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$openssl_cflags"\" to \$CPPFLAGS"; fi | |
21417 fi | |
21418 openssl_libs=`pkg-config --libs openssl` | |
21419 if test "$?" = 0; then | |
21420 LIBS="$LIBS "$openssl_libs"" && if test "$verbose" = "yes"; then echo " Appending \""$openssl_libs"\" to \$LIBS"; fi | |
21421 fi | |
21422 ac_fn_c_check_func "$LINENO" "X509_check_host" "ac_cv_func_X509_check_host" | |
21423 if test "x$ac_cv_func_X509_check_host" = xyes; then : | |
21424 $as_echo "#define HAVE_X509_CHECK_HOST 1" >>confdefs.h | |
21425 | |
21426 fi | |
21427 | |
21428 fi | |
21429 fi | |
21430 | |
21010 if test "$cross_compiling" = yes; then : | 21431 if test "$cross_compiling" = yes; then : |
21011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 21432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
21012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 21433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
21013 as_fn_error $? "cannot run test program while cross compiling | 21434 as_fn_error $? "cannot run test program while cross compiling |
21014 See \`config.log' for more details" "$LINENO" 5; } | 21435 See \`config.log' for more details" "$LINENO" 5; } |
21787 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | 22208 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." |
21788 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | 22209 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
21789 if test "$with_postgresql" = yes; then | 22210 if test "$with_postgresql" = yes; then |
21790 echo " Compiling in support for PostgreSQL." | 22211 echo " Compiling in support for PostgreSQL." |
21791 echo " - Using PostgreSQL header file: $libpq_fe_h_file" | 22212 echo " - Using PostgreSQL header file: $libpq_fe_h_file" |
21792 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings." | 22213 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7+ bindings." |
21793 fi | 22214 fi |
21794 | 22215 |
21795 echo " | 22216 echo " |
21796 Internationalization:" | 22217 Internationalization:" |
21797 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." | 22218 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." |
21811 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." | 22232 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." |
21812 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." | 22233 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." |
21813 test -n "$with_mail_locking" && echo " Compiling in support for \"$with_mail_locking\" mail spool file locking method." | 22234 test -n "$with_mail_locking" && echo " Compiling in support for \"$with_mail_locking\" mail spool file locking method." |
21814 | 22235 |
21815 echo " | 22236 echo " |
21816 Other Features:" | 22237 Network:" |
21817 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup." | 22238 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup." |
21818 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 22239 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
21819 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 22240 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
21820 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 22241 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
21821 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 22242 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
22243 test "$with_tls" = nss && echo " Compiling in support for TLS with NSS." | |
22244 test "$with_tls" = gnutls && echo " Compiling in support for TLS with gnutls." | |
22245 test "$with_tls" = openssl && echo " Compiling in support for TLS with OpenSSL." | |
22246 | |
22247 echo " | |
22248 Other Features:" | |
21822 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | 22249 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
21823 test "$with_bignum" = "gmp" && echo " Compiling in support for more number types using the GNU MP library." | 22250 test "$with_bignum" = "gmp" && echo " Compiling in support for more number types using the GNU MP library." |
21824 test "$with_bignum" = "mpir" && echo " Compiling in support for more number types using the MPIR library." | 22251 test "$with_bignum" = "mpir" && echo " Compiling in support for more number types using the MPIR library." |
21825 test "$with_bignum" = "mp" && echo " Compiling in support for more number types using the BSD MP library." | 22252 test "$with_bignum" = "mp" && echo " Compiling in support for more number types using the BSD MP library." |
21826 if test "$with_union_type" = yes ; then | 22253 if test "$with_union_type" = yes ; then |