aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2010-09-26 17:18:47 +0200
committerLars Magne Ingebrigtsen2010-09-26 17:18:47 +0200
commit036dc38d03def09dd470ffe3335f4b0bf37f4b5d (patch)
tree9556a8a64ac6858199969b5e7027c5da8f382090
parentd6dcbe70e2d715ce484f7061e8fa5b86785cbec0 (diff)
downloademacs-036dc38d03def09dd470ffe3335f4b0bf37f4b5d.tar.gz
emacs-036dc38d03def09dd470ffe3335f4b0bf37f4b5d.zip
Don't break the build if we don't have the gnutls libraries.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure527
-rw-r--r--configure.in9
3 files changed, 329 insertions, 212 deletions
diff --git a/ChangeLog b/ChangeLog
index e3a0d929f69..e9c5ed33998 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * configure.in (HAVE_GNUTLS): Don't break if we don't have the
4 gnutls libraries.
5
12010-09-26 Teodor Zlatanov <tzz@lifelogs.com> 62010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2 7
3 * configure.in: Set up GnuTLS. 8 * configure.in: Set up GnuTLS.
diff --git a/configure b/configure
index 1b868434989..a639b708255 100755
--- a/configure
+++ b/configure
@@ -1,11 +1,11 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.66 for emacs 24.0.50. 3# Generated by GNU Autoconf 2.65 for emacs 24.0.50.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Foundation, Inc. 8# Inc.
9# 9#
10# 10#
11# This configure script is free software; the Free Software Foundation 11# This configure script is free software; the Free Software Foundation
@@ -316,7 +316,7 @@ $as_echo X"$as_dir" |
316 test -d "$as_dir" && break 316 test -d "$as_dir" && break
317 done 317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 320
321 321
322} # as_fn_mkdir_p 322} # as_fn_mkdir_p
@@ -356,19 +356,19 @@ else
356fi # as_fn_arith 356fi # as_fn_arith
357 357
358 358
359# as_fn_error STATUS ERROR [LINENO LOG_FD] 359# as_fn_error ERROR [LINENO LOG_FD]
360# ---------------------------------------- 360# ---------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with STATUS, using 1 if that was 0. 363# script with status $?, using 1 if that was 0.
364as_fn_error () 364as_fn_error ()
365{ 365{
366 as_status=$1; test $as_status -eq 0 && as_status=1 366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$4"; then 367 if test "$3"; then
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi 370 fi
371 $as_echo "$as_me: error: $2" >&2 371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status 372 as_fn_exit $as_status
373} # as_fn_error 373} # as_fn_error
374 374
@@ -530,7 +530,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1 530exec 6>&1
531 531
532# Name of the host. 532# Name of the host.
533# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534# so uname gets run too. 534# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 536
@@ -681,6 +681,8 @@ FONTCONFIG_LIBS
681FONTCONFIG_CFLAGS 681FONTCONFIG_CFLAGS
682LIBXMU 682LIBXMU
683LIBXTR6 683LIBXTR6
684LIBGNUTLS_LIBS
685LIBGNUTLS_CFLAGS
684LIBSELINUX_LIBS 686LIBSELINUX_LIBS
685GCONF_LIBS 687GCONF_LIBS
686GCONF_CFLAGS 688GCONF_CFLAGS
@@ -822,6 +824,7 @@ with_gpm
822with_dbus 824with_dbus
823with_gconf 825with_gconf
824with_selinux 826with_selinux
827with_gnutls
825with_makeinfo 828with_makeinfo
826with_compress_info 829with_compress_info
827with_pkg_config_prog 830with_pkg_config_prog
@@ -956,7 +959,7 @@ do
956 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 959 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names. 960 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
959 as_fn_error $? "invalid feature name: $ac_useropt" 962 as_fn_error "invalid feature name: $ac_useropt"
960 ac_useropt_orig=$ac_useropt 963 ac_useropt_orig=$ac_useropt
961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in 965 case $ac_user_opts in
@@ -982,7 +985,7 @@ do
982 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names. 986 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985 as_fn_error $? "invalid feature name: $ac_useropt" 988 as_fn_error "invalid feature name: $ac_useropt"
986 ac_useropt_orig=$ac_useropt 989 ac_useropt_orig=$ac_useropt
987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in 991 case $ac_user_opts in
@@ -1186,7 +1189,7 @@ do
1186 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names. 1190 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1189 as_fn_error $? "invalid package name: $ac_useropt" 1192 as_fn_error "invalid package name: $ac_useropt"
1190 ac_useropt_orig=$ac_useropt 1193 ac_useropt_orig=$ac_useropt
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in 1195 case $ac_user_opts in
@@ -1202,7 +1205,7 @@ do
1202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names. 1206 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1205 as_fn_error $? "invalid package name: $ac_useropt" 1208 as_fn_error "invalid package name: $ac_useropt"
1206 ac_useropt_orig=$ac_useropt 1209 ac_useropt_orig=$ac_useropt
1207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in 1211 case $ac_user_opts in
@@ -1232,8 +1235,8 @@ do
1232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233 x_libraries=$ac_optarg ;; 1236 x_libraries=$ac_optarg ;;
1234 1237
1235 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1238 -*) as_fn_error "unrecognized option: \`$ac_option'
1236Try \`$0 --help' for more information" 1239Try \`$0 --help' for more information."
1237 ;; 1240 ;;
1238 1241
1239 *=*) 1242 *=*)
@@ -1241,7 +1244,7 @@ Try \`$0 --help' for more information"
1241 # Reject names that are not valid shell variable names. 1244 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #( 1245 case $ac_envvar in #(
1243 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1246 '' | [0-9]* | *[!_$as_cr_alnum]* )
1244 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1247 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1245 esac 1248 esac
1246 eval $ac_envvar=\$ac_optarg 1249 eval $ac_envvar=\$ac_optarg
1247 export $ac_envvar ;; 1250 export $ac_envvar ;;
@@ -1259,13 +1262,13 @@ done
1259 1262
1260if test -n "$ac_prev"; then 1263if test -n "$ac_prev"; then
1261 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error $? "missing argument to $ac_option" 1265 as_fn_error "missing argument to $ac_option"
1263fi 1266fi
1264 1267
1265if test -n "$ac_unrecognized_opts"; then 1268if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in 1269 case $enable_option_checking in
1267 no) ;; 1270 no) ;;
1268 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1271 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1270 esac 1273 esac
1271fi 1274fi
@@ -1288,7 +1291,7 @@ do
1288 [\\/$]* | ?:[\\/]* ) continue;; 1291 [\\/$]* | ?:[\\/]* ) continue;;
1289 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 esac 1293 esac
1291 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1294 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1292done 1295done
1293 1296
1294# There might be people who depend on the old broken behavior: `$host' 1297# There might be people who depend on the old broken behavior: `$host'
@@ -1302,8 +1305,8 @@ target=$target_alias
1302if test "x$host_alias" != x; then 1305if test "x$host_alias" != x; then
1303 if test "x$build_alias" = x; then 1306 if test "x$build_alias" = x; then
1304 cross_compiling=maybe 1307 cross_compiling=maybe
1305 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1308 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used" >&2 1309 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then 1310 elif test "x$build_alias" != "x$host_alias"; then
1308 cross_compiling=yes 1311 cross_compiling=yes
1309 fi 1312 fi
@@ -1318,9 +1321,9 @@ test "$silent" = yes && exec 6>/dev/null
1318ac_pwd=`pwd` && test -n "$ac_pwd" && 1321ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319ac_ls_di=`ls -di .` && 1322ac_ls_di=`ls -di .` &&
1320ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1323ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321 as_fn_error $? "working directory cannot be determined" 1324 as_fn_error "working directory cannot be determined"
1322test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1325test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 as_fn_error $? "pwd does not report name of working directory" 1326 as_fn_error "pwd does not report name of working directory"
1324 1327
1325 1328
1326# Find the source files, if location was not specified. 1329# Find the source files, if location was not specified.
@@ -1359,11 +1362,11 @@ else
1359fi 1362fi
1360if test ! -r "$srcdir/$ac_unique_file"; then 1363if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1364 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1362 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1365 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1363fi 1366fi
1364ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1367ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365ac_abs_confdir=`( 1368ac_abs_confdir=`(
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1367 pwd)` 1370 pwd)`
1368# When building in place, set srcdir=. 1371# When building in place, set srcdir=.
1369if test "$ac_abs_confdir" = "$ac_pwd"; then 1372if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1403,7 +1406,7 @@ Configuration:
1403 --help=short display options specific to this package 1406 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages 1407 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit 1408 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking ...' messages 1409 -q, --quiet, --silent do not print \`checking...' messages
1407 --cache-file=FILE cache test results in FILE [disabled] 1410 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache' 1411 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files 1412 -n, --no-create do not create output files
@@ -1532,6 +1535,7 @@ Optional Packages:
1532 --without-dbus don't compile with D-Bus support 1535 --without-dbus don't compile with D-Bus support
1533 --without-gconf don't compile with GConf support 1536 --without-gconf don't compile with GConf support
1534 --without-selinux don't compile with SELinux support 1537 --without-selinux don't compile with SELinux support
1538 --without-gnutls don't use -lgnutls for SSL/TLS support
1535 --without-makeinfo don't require makeinfo for building manuals 1539 --without-makeinfo don't require makeinfo for building manuals
1536 --without-compress-info don't compress the installed Info pages 1540 --without-compress-info don't compress the installed Info pages
1537 --with-pkg-config-prog=PATH 1541 --with-pkg-config-prog=PATH
@@ -1621,9 +1625,9 @@ test -n "$ac_init_help" && exit $ac_status
1621if $ac_init_version; then 1625if $ac_init_version; then
1622 cat <<\_ACEOF 1626 cat <<\_ACEOF
1623emacs configure 24.0.50 1627emacs configure 24.0.50
1624generated by GNU Autoconf 2.66 1628generated by GNU Autoconf 2.65
1625 1629
1626Copyright (C) 2010 Free Software Foundation, Inc. 1630Copyright (C) 2009 Free Software Foundation, Inc.
1627This configure script is free software; the Free Software Foundation 1631This configure script is free software; the Free Software Foundation
1628gives unlimited permission to copy, distribute and modify it. 1632gives unlimited permission to copy, distribute and modify it.
1629_ACEOF 1633_ACEOF
@@ -1763,10 +1767,10 @@ fi
1763ac_fn_c_check_header_mongrel () 1767ac_fn_c_check_header_mongrel ()
1764{ 1768{
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if eval "test \"\${$3+set}\"" = set; then : 1770 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768$as_echo_n "checking for $2... " >&6; } 1772$as_echo_n "checking for $2... " >&6; }
1769if eval "test \"\${$3+set}\"" = set; then : 1773if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1770 $as_echo_n "(cached) " >&6 1774 $as_echo_n "(cached) " >&6
1771fi 1775fi
1772eval ac_res=\$$3 1776eval ac_res=\$$3
@@ -1829,7 +1833,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829esac 1833esac
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831$as_echo_n "checking for $2... " >&6; } 1835$as_echo_n "checking for $2... " >&6; }
1832if eval "test \"\${$3+set}\"" = set; then : 1836if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1833 $as_echo_n "(cached) " >&6 1837 $as_echo_n "(cached) " >&6
1834else 1838else
1835 eval "$3=\$ac_header_compiler" 1839 eval "$3=\$ac_header_compiler"
@@ -1893,7 +1897,7 @@ ac_fn_c_check_header_compile ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895$as_echo_n "checking for $2... " >&6; } 1899$as_echo_n "checking for $2... " >&6; }
1896if eval "test \"\${$3+set}\"" = set; then : 1900if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 $as_echo_n "(cached) " >&6 1901 $as_echo_n "(cached) " >&6
1898else 1902else
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1915,18 +1919,15 @@ $as_echo "$ac_res" >&6; }
1915 1919
1916} # ac_fn_c_check_header_compile 1920} # ac_fn_c_check_header_compile
1917 1921
1918# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1922# ac_fn_c_check_decl LINENO SYMBOL VAR
1919# --------------------------------------------- 1923# ------------------------------------
1920# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1924# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1921# accordingly.
1922ac_fn_c_check_decl () 1925ac_fn_c_check_decl ()
1923{ 1926{
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 as_decl_name=`echo $2|sed 's/ *(.*//'` 1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1926 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1929$as_echo_n "checking whether $2 is declared... " >&6; }
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1930if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1928$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1929if eval "test \"\${$3+set}\"" = set; then :
1930 $as_echo_n "(cached) " >&6 1931 $as_echo_n "(cached) " >&6
1931else 1932else
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1935,12 +1936,8 @@ $4
1935int 1936int
1936main () 1937main ()
1937{ 1938{
1938#ifndef $as_decl_name 1939#ifndef $2
1939#ifdef __cplusplus 1940 (void) $2;
1940 (void) $as_decl_use;
1941#else
1942 (void) $as_decl_name;
1943#endif
1944#endif 1941#endif
1945 1942
1946 ; 1943 ;
@@ -1969,7 +1966,7 @@ ac_fn_c_check_header_preproc ()
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971$as_echo_n "checking for $2... " >&6; } 1968$as_echo_n "checking for $2... " >&6; }
1972if eval "test \"\${$3+set}\"" = set; then : 1969if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1973 $as_echo_n "(cached) " >&6 1970 $as_echo_n "(cached) " >&6
1974else 1971else
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1999,7 +1996,7 @@ ac_fn_c_check_member ()
1999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2001$as_echo_n "checking for $2.$3... " >&6; } 1998$as_echo_n "checking for $2.$3... " >&6; }
2002if eval "test \"\${$4+set}\"" = set; then : 1999if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2003 $as_echo_n "(cached) " >&6 2000 $as_echo_n "(cached) " >&6
2004else 2001else
2005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2055,7 +2052,7 @@ ac_fn_c_check_func ()
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057$as_echo_n "checking for $2... " >&6; } 2054$as_echo_n "checking for $2... " >&6; }
2058if eval "test \"\${$3+set}\"" = set; then : 2055if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2059 $as_echo_n "(cached) " >&6 2056 $as_echo_n "(cached) " >&6
2060else 2057else
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2123,7 +2120,7 @@ ac_fn_c_check_type ()
2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125$as_echo_n "checking for $2... " >&6; } 2122$as_echo_n "checking for $2... " >&6; }
2126if eval "test \"\${$3+set}\"" = set; then : 2123if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2127 $as_echo_n "(cached) " >&6 2124 $as_echo_n "(cached) " >&6
2128else 2125else
2129 eval "$3=no" 2126 eval "$3=no"
@@ -2172,7 +2169,7 @@ This file contains any messages produced by compilers while
2172running configure, to aid debugging if configure makes a mistake. 2169running configure, to aid debugging if configure makes a mistake.
2173 2170
2174It was created by emacs $as_me 24.0.50, which was 2171It was created by emacs $as_me 24.0.50, which was
2175generated by GNU Autoconf 2.66. Invocation command line was 2172generated by GNU Autoconf 2.65. Invocation command line was
2176 2173
2177 $ $0 $@ 2174 $ $0 $@
2178 2175
@@ -2282,9 +2279,11 @@ trap 'exit_status=$?
2282 { 2279 {
2283 echo 2280 echo
2284 2281
2285 $as_echo "## ---------------- ## 2282 cat <<\_ASBOX
2283## ---------------- ##
2286## Cache variables. ## 2284## Cache variables. ##
2287## ---------------- ##" 2285## ---------------- ##
2286_ASBOX
2288 echo 2287 echo
2289 # The following way of writing the cache mishandles newlines in values, 2288 # The following way of writing the cache mishandles newlines in values,
2290( 2289(
@@ -2318,9 +2317,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2318) 2317)
2319 echo 2318 echo
2320 2319
2321 $as_echo "## ----------------- ## 2320 cat <<\_ASBOX
2321## ----------------- ##
2322## Output variables. ## 2322## Output variables. ##
2323## ----------------- ##" 2323## ----------------- ##
2324_ASBOX
2324 echo 2325 echo
2325 for ac_var in $ac_subst_vars 2326 for ac_var in $ac_subst_vars
2326 do 2327 do
@@ -2333,9 +2334,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2333 echo 2334 echo
2334 2335
2335 if test -n "$ac_subst_files"; then 2336 if test -n "$ac_subst_files"; then
2336 $as_echo "## ------------------- ## 2337 cat <<\_ASBOX
2338## ------------------- ##
2337## File substitutions. ## 2339## File substitutions. ##
2338## ------------------- ##" 2340## ------------------- ##
2341_ASBOX
2339 echo 2342 echo
2340 for ac_var in $ac_subst_files 2343 for ac_var in $ac_subst_files
2341 do 2344 do
@@ -2349,9 +2352,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2349 fi 2352 fi
2350 2353
2351 if test -s confdefs.h; then 2354 if test -s confdefs.h; then
2352 $as_echo "## ----------- ## 2355 cat <<\_ASBOX
2356## ----------- ##
2353## confdefs.h. ## 2357## confdefs.h. ##
2354## ----------- ##" 2358## ----------- ##
2359_ASBOX
2355 echo 2360 echo
2356 cat confdefs.h 2361 cat confdefs.h
2357 echo 2362 echo
@@ -2406,12 +2411,7 @@ _ACEOF
2406ac_site_file1=NONE 2411ac_site_file1=NONE
2407ac_site_file2=NONE 2412ac_site_file2=NONE
2408if test -n "$CONFIG_SITE"; then 2413if test -n "$CONFIG_SITE"; then
2409 # We do not want a PATH search for config.site. 2414 ac_site_file1=$CONFIG_SITE
2410 case $CONFIG_SITE in #((
2411 -*) ac_site_file1=./$CONFIG_SITE;;
2412 */*) ac_site_file1=$CONFIG_SITE;;
2413 *) ac_site_file1=./$CONFIG_SITE;;
2414 esac
2415elif test "x$prefix" != xNONE; then 2415elif test "x$prefix" != xNONE; then
2416 ac_site_file1=$prefix/share/config.site 2416 ac_site_file1=$prefix/share/config.site
2417 ac_site_file2=$prefix/etc/config.site 2417 ac_site_file2=$prefix/etc/config.site
@@ -2426,11 +2426,7 @@ do
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2427$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2427$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2428 sed 's/^/| /' "$ac_site_file" >&5 2428 sed 's/^/| /' "$ac_site_file" >&5
2429 . "$ac_site_file" \ 2429 . "$ac_site_file"
2430 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432as_fn_error $? "failed to load site script $ac_site_file
2433See \`config.log' for more details" "$LINENO" 5; }
2434 fi 2430 fi
2435done 2431done
2436 2432
@@ -2511,7 +2507,7 @@ if $ac_cache_corrupted; then
2511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2513$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2509$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2514 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2510 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2515fi 2511fi
2516## -------------------- ## 2512## -------------------- ##
2517## Main body of script. ## 2513## Main body of script. ##
@@ -2685,7 +2681,7 @@ if test "${with_x_toolkit+set}" = set; then :
2685 g | gt | gtk ) val=gtk ;; 2681 g | gt | gtk ) val=gtk ;;
2686 gtk3 ) val=gtk3 ;; 2682 gtk3 ) val=gtk3 ;;
2687 * ) 2683 * )
2688as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; 2684as_fn_error "\`--with-x-toolkit=$withval' is invalid;
2689this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 2685this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or
2690\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2686\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2691 ;; 2687 ;;
@@ -2851,6 +2847,14 @@ else
2851fi 2847fi
2852 2848
2853 2849
2850# Check whether --with-gnutls was given.
2851if test "${with_gnutls+set}" = set; then :
2852 withval=$with_gnutls;
2853else
2854 with_gnutls=yes
2855fi
2856
2857
2854## For the times when you want to build Emacs but don't have 2858## For the times when you want to build Emacs but don't have
2855## a suitable makeinfo, and can live without the manuals. 2859## a suitable makeinfo, and can live without the manuals.
2856 2860
@@ -2980,7 +2984,7 @@ do
2980 stringfreelist) ac_gc_check_string_free_list=1 ;; 2984 stringfreelist) ac_gc_check_string_free_list=1 ;;
2981 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2985 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2982 conslist) ac_gc_check_cons_list=1 ;; 2986 conslist) ac_gc_check_cons_list=1 ;;
2983 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; 2987 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;;
2984 esac 2988 esac
2985done 2989done
2986IFS="$ac_save_IFS" 2990IFS="$ac_save_IFS"
@@ -3098,22 +3102,16 @@ fi
3098 3102
3099ac_aux_dir= 3103ac_aux_dir=
3100for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3104for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3101 if test -f "$ac_dir/install-sh"; then 3105 for ac_t in install-sh install.sh shtool; do
3102 ac_aux_dir=$ac_dir 3106 if test -f "$ac_dir/$ac_t"; then
3103 ac_install_sh="$ac_aux_dir/install-sh -c" 3107 ac_aux_dir=$ac_dir
3104 break 3108 ac_install_sh="$ac_aux_dir/$ac_t -c"
3105 elif test -f "$ac_dir/install.sh"; then 3109 break 2
3106 ac_aux_dir=$ac_dir 3110 fi
3107 ac_install_sh="$ac_aux_dir/install.sh -c" 3111 done
3108 break
3109 elif test -f "$ac_dir/shtool"; then
3110 ac_aux_dir=$ac_dir
3111 ac_install_sh="$ac_aux_dir/shtool install -c"
3112 break
3113 fi
3114done 3112done
3115if test -z "$ac_aux_dir"; then 3113if test -z "$ac_aux_dir"; then
3116 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3114 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3117fi 3115fi
3118 3116
3119# These three variables are undocumented and unsupported, 3117# These three variables are undocumented and unsupported,
@@ -3127,7 +3125,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3127 3125
3128# Make sure we can run config.sub. 3126# Make sure we can run config.sub.
3129$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3127$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3130 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3128 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3131 3129
3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3133$as_echo_n "checking build system type... " >&6; } 3131$as_echo_n "checking build system type... " >&6; }
@@ -3138,16 +3136,16 @@ else
3138test "x$ac_build_alias" = x && 3136test "x$ac_build_alias" = x &&
3139 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3137 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3140test "x$ac_build_alias" = x && 3138test "x$ac_build_alias" = x &&
3141 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3139 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3142ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3140ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3143 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3141 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3144 3142
3145fi 3143fi
3146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3147$as_echo "$ac_cv_build" >&6; } 3145$as_echo "$ac_cv_build" >&6; }
3148case $ac_cv_build in 3146case $ac_cv_build in
3149*-*-*) ;; 3147*-*-*) ;;
3150*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3148*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3151esac 3149esac
3152build=$ac_cv_build 3150build=$ac_cv_build
3153ac_save_IFS=$IFS; IFS='-' 3151ac_save_IFS=$IFS; IFS='-'
@@ -3172,7 +3170,7 @@ else
3172 ac_cv_host=$ac_cv_build 3170 ac_cv_host=$ac_cv_build
3173else 3171else
3174 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3172 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3175 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3173 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3176fi 3174fi
3177 3175
3178fi 3176fi
@@ -3180,7 +3178,7 @@ fi
3180$as_echo "$ac_cv_host" >&6; } 3178$as_echo "$ac_cv_host" >&6; }
3181case $ac_cv_host in 3179case $ac_cv_host in
3182*-*-*) ;; 3180*-*-*) ;;
3183*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3181*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3184esac 3182esac
3185host=$ac_cv_host 3183host=$ac_cv_host
3186ac_save_IFS=$IFS; IFS='-' 3184ac_save_IFS=$IFS; IFS='-'
@@ -3474,7 +3472,7 @@ fi
3474 3472
3475 3473
3476if test $unported = yes; then 3474if test $unported = yes; then
3477 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. 3475 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems.
3478Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3476Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3479fi 3477fi
3480 3478
@@ -3788,8 +3786,8 @@ fi
3788 3786
3789test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3787test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3788$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791as_fn_error $? "no acceptable C compiler found in \$PATH 3789as_fn_error "no acceptable C compiler found in \$PATH
3792See \`config.log' for more details" "$LINENO" 5; } 3790See \`config.log' for more details." "$LINENO" 5; }
3793 3791
3794# Provide some information about the compiler. 3792# Provide some information about the compiler.
3795$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3793$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3903,8 +3901,9 @@ sed 's/^/| /' conftest.$ac_ext >&5
3903 3901
3904{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3902{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3903$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3906as_fn_error 77 "C compiler cannot create executables 3904{ as_fn_set_status 77
3907See \`config.log' for more details" "$LINENO" 5; } 3905as_fn_error "C compiler cannot create executables
3906See \`config.log' for more details." "$LINENO" 5; }; }
3908else 3907else
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910$as_echo "yes" >&6; } 3909$as_echo "yes" >&6; }
@@ -3946,8 +3945,8 @@ done
3946else 3945else
3947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3947$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3949as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3948as_fn_error "cannot compute suffix of executables: cannot compile and link
3950See \`config.log' for more details" "$LINENO" 5; } 3949See \`config.log' for more details." "$LINENO" 5; }
3951fi 3950fi
3952rm -f conftest conftest$ac_cv_exeext 3951rm -f conftest conftest$ac_cv_exeext
3953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4004,9 +4003,9 @@ $as_echo "$ac_try_echo"; } >&5
4004 else 4003 else
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007as_fn_error $? "cannot run C compiled programs. 4006as_fn_error "cannot run C compiled programs.
4008If you meant to cross compile, use \`--host'. 4007If you meant to cross compile, use \`--host'.
4009See \`config.log' for more details" "$LINENO" 5; } 4008See \`config.log' for more details." "$LINENO" 5; }
4010 fi 4009 fi
4011 fi 4010 fi
4012fi 4011fi
@@ -4057,8 +4056,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4057 4056
4058{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4057{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060as_fn_error $? "cannot compute suffix of object files: cannot compile 4059as_fn_error "cannot compute suffix of object files: cannot compile
4061See \`config.log' for more details" "$LINENO" 5; } 4060See \`config.log' for more details." "$LINENO" 5; }
4062fi 4061fi
4063rm -f conftest.$ac_cv_objext conftest.$ac_ext 4062rm -f conftest.$ac_cv_objext conftest.$ac_ext
4064fi 4063fi
@@ -4475,8 +4474,8 @@ if $ac_preproc_ok; then :
4475else 4474else
4476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4476$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4478as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4477as_fn_error "C preprocessor \"$CPP\" fails sanity check
4479See \`config.log' for more details" "$LINENO" 5; } 4478See \`config.log' for more details." "$LINENO" 5; }
4480fi 4479fi
4481 4480
4482ac_ext=c 4481ac_ext=c
@@ -4537,7 +4536,7 @@ esac
4537 done 4536 done
4538IFS=$as_save_IFS 4537IFS=$as_save_IFS
4539 if test -z "$ac_cv_path_GREP"; then 4538 if test -z "$ac_cv_path_GREP"; then
4540 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4539 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4541 fi 4540 fi
4542else 4541else
4543 ac_cv_path_GREP=$GREP 4542 ac_cv_path_GREP=$GREP
@@ -4603,7 +4602,7 @@ esac
4603 done 4602 done
4604IFS=$as_save_IFS 4603IFS=$as_save_IFS
4605 if test -z "$ac_cv_path_EGREP"; then 4604 if test -z "$ac_cv_path_EGREP"; then
4606 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4605 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4607 fi 4606 fi
4608else 4607else
4609 ac_cv_path_EGREP=$EGREP 4608 ac_cv_path_EGREP=$EGREP
@@ -4735,7 +4734,8 @@ do :
4735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4736ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4735ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4737" 4736"
4738if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4737eval as_val=\$$as_ac_Header
4738 if test "x$as_val" = x""yes; then :
4739 cat >>confdefs.h <<_ACEOF 4739 cat >>confdefs.h <<_ACEOF
4740#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4740#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4741_ACEOF 4741_ACEOF
@@ -5064,8 +5064,8 @@ if $ac_preproc_ok; then :
5064else 5064else
5065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5067as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5067as_fn_error "C preprocessor \"$CPP\" fails sanity check
5068See \`config.log' for more details" "$LINENO" 5; } 5068See \`config.log' for more details." "$LINENO" 5; }
5069fi 5069fi
5070 5070
5071ac_ext=c 5071ac_ext=c
@@ -5502,7 +5502,7 @@ if test "$MAKEINFO" = "no"; then
5502 if test "x${with_makeinfo}" = "xno"; then 5502 if test "x${with_makeinfo}" = "xno"; then
5503 MAKEINFO=off 5503 MAKEINFO=off
5504 elif test ! -e $srcdir/info/emacs; then 5504 elif test ! -e $srcdir/info/emacs; then
5505 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your 5505 as_fn_error "You do not seem to have makeinfo >= 4.6, and your
5506source tree does not seem to have pre-built manuals in the \`info' directory. 5506source tree does not seem to have pre-built manuals in the \`info' directory.
5507Either install a suitable version of makeinfo, or re-run configure 5507Either install a suitable version of makeinfo, or re-run configure
5508with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5508with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
@@ -5656,7 +5656,7 @@ fi
5656 if test "x$GCC" = "xyes"; then 5656 if test "x$GCC" = "xyes"; then
5657 C_SWITCH_MACHINE="-fno-common" 5657 C_SWITCH_MACHINE="-fno-common"
5658 else 5658 else
5659 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 5659 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
5660 fi 5660 fi
5661 else 5661 else
5662 UNEXEC_OBJ=unexalpha.o 5662 UNEXEC_OBJ=unexalpha.o
@@ -5934,7 +5934,7 @@ else
5934 ## Some platforms don't use any of these files, so it is not 5934 ## Some platforms don't use any of these files, so it is not
5935 ## appropriate to put this test outside the if block. 5935 ## appropriate to put this test outside the if block.
5936 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5936 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5937 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 5937 as_fn_error "crt*.o not found in specified location." "$LINENO" 5
5938 5938
5939fi 5939fi
5940 5940
@@ -5989,7 +5989,8 @@ if test "${with_sound}" != "no"; then
5989do : 5989do :
5990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5991ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5991ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5992if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5992eval as_val=\$$as_ac_Header
5993 if test "x$as_val" = x""yes; then :
5993 cat >>confdefs.h <<_ACEOF 5994 cat >>confdefs.h <<_ACEOF
5994#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5995#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5995_ACEOF 5996_ACEOF
@@ -6180,7 +6181,7 @@ else
6180fi 6181fi
6181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6182 if test "$emacs_alsa_subdir" != yes; then 6183 if test "$emacs_alsa_subdir" != yes; then
6183 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6184 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6184 fi 6185 fi
6185 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6186 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6186 fi 6187 fi
@@ -6215,7 +6216,8 @@ for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
6215do : 6216do :
6216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6217ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6218ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6218if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6219eval as_val=\$$as_ac_Header
6220 if test "x$as_val" = x""yes; then :
6219 cat >>confdefs.h <<_ACEOF 6221 cat >>confdefs.h <<_ACEOF
6220#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6222#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6221_ACEOF 6223_ACEOF
@@ -7270,7 +7272,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7270 7272
7271 ;; #( 7273 ;; #(
7272 *) 7274 *)
7273 as_fn_error $? "unknown endianness 7275 as_fn_error "unknown endianness
7274 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7276 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7275 esac 7277 esac
7276 7278
@@ -7279,7 +7281,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7279$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7281$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7280set x ${MAKE-make} 7282set x ${MAKE-make}
7281ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7283ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7282if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 7284if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
7283 $as_echo_n "(cached) " >&6 7285 $as_echo_n "(cached) " >&6
7284else 7286else
7285 cat >conftest.make <<\_ACEOF 7287 cat >conftest.make <<\_ACEOF
@@ -7287,7 +7289,7 @@ SHELL = /bin/sh
7287all: 7289all:
7288 @echo '@@@%%%=$(MAKE)=@@@%%%' 7290 @echo '@@@%%%=$(MAKE)=@@@%%%'
7289_ACEOF 7291_ACEOF
7290# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 7292# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7291case `${MAKE-make} -f conftest.make 2>/dev/null` in 7293case `${MAKE-make} -f conftest.make 2>/dev/null` in
7292 *@@@%%%=?*=@@@%%%*) 7294 *@@@%%%=?*=@@@%%%*)
7293 eval ac_cv_prog_make_${ac_make}_set=yes;; 7295 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -7423,7 +7425,7 @@ if test "x$with_x" = xno; then
7423 have_x=disabled 7425 have_x=disabled
7424else 7426else
7425 case $x_includes,$x_libraries in #( 7427 case $x_includes,$x_libraries in #(
7426 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 7428 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
7427 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7429 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7428 $as_echo_n "(cached) " >&6 7430 $as_echo_n "(cached) " >&6
7429else 7431else
@@ -7441,7 +7443,7 @@ libdir:
7441 @echo libdir='${LIBDIR}' 7443 @echo libdir='${LIBDIR}'
7442_ACEOF 7444_ACEOF
7443 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 7445 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7444 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 7446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7445 for ac_var in incroot usrlibdir libdir; do 7447 for ac_var in incroot usrlibdir libdir; do
7446 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 7448 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7447 done 7449 done
@@ -7710,7 +7712,7 @@ if test "${with_ns}" != no; then
7710if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7712if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
7711 HAVE_NS=yes 7713 HAVE_NS=yes
7712else 7714else
7713 as_fn_error $? "\`--with-ns' was specified, but the include 7715 as_fn_error "\`--with-ns' was specified, but the include
7714 files are missing or cannot be compiled." "$LINENO" 5 7716 files are missing or cannot be compiled." "$LINENO" 5
7715fi 7717fi
7716 7718
@@ -7826,7 +7828,7 @@ fi
7826 if test "$HAVE_XSERVER" = true || 7828 if test "$HAVE_XSERVER" = true ||
7827 test -n "$DISPLAY" || 7829 test -n "$DISPLAY" ||
7828 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7830 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7829 as_fn_error $? "You seem to be running X, but no X development libraries 7831 as_fn_error "You seem to be running X, but no X development libraries
7830were found. You should install the relevant development files for X 7832were found. You should install the relevant development files for X
7831and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7833and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7832sure you have development files for image handling, i.e. 7834sure you have development files for image handling, i.e.
@@ -7949,7 +7951,8 @@ do :
7949 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7950ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7952ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7951" 7953"
7952if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7954eval as_val=\$$as_ac_Header
7955 if test "x$as_val" = x""yes; then :
7953 cat >>confdefs.h <<_ACEOF 7956 cat >>confdefs.h <<_ACEOF
7954#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7957#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7955_ACEOF 7958_ACEOF
@@ -8456,7 +8459,8 @@ XScreenNumberOfScreen XSetWMProtocols
8456do : 8459do :
8457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8458ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8461ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8459if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8462eval as_val=\$$as_ac_var
8463 if test "x$as_val" = x""yes; then :
8460 cat >>confdefs.h <<_ACEOF 8464 cat >>confdefs.h <<_ACEOF
8461#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8465#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8462_ACEOF 8466_ACEOF
@@ -8856,7 +8860,7 @@ $as_echo "no" >&6; }
8856 fi 8860 fi
8857 8861
8858 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8862 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8859 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 8863 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
8860 fi 8864 fi
8861fi 8865fi
8862 8866
@@ -8962,7 +8966,7 @@ $as_echo "no" >&6; }
8962 fi 8966 fi
8963 8967
8964 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8968 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8965 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 8969 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
8966 fi 8970 fi
8967fi 8971fi
8968fi 8972fi
@@ -8989,7 +8993,7 @@ done
8989 8993
8990 if test "${GTK_COMPILES}" != "yes"; then 8994 if test "${GTK_COMPILES}" != "yes"; then
8991 if test "$USE_X_TOOLKIT" != "maybe"; then 8995 if test "$USE_X_TOOLKIT" != "maybe"; then
8992 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 8996 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8993 fi 8997 fi
8994 else 8998 else
8995 HAVE_GTK=yes 8999 HAVE_GTK=yes
@@ -9119,7 +9123,8 @@ $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h
9119do : 9123do :
9120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9121ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9125ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9122if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9126eval as_val=\$$as_ac_var
9127 if test "x$as_val" = x""yes; then :
9123 cat >>confdefs.h <<_ACEOF 9128 cat >>confdefs.h <<_ACEOF
9124#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9129#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9125_ACEOF 9130_ACEOF
@@ -9405,6 +9410,110 @@ $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h
9405fi 9410fi
9406 9411
9407 9412
9413HAVE_GNUTLS=no
9414if test "${with_gnutls}" = "yes" ; then
9415
9416 succeeded=no
9417
9418 # Extract the first word of "pkg-config", so it can be a program name with args.
9419set dummy pkg-config; ac_word=$2
9420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421$as_echo_n "checking for $ac_word... " >&6; }
9422if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9423 $as_echo_n "(cached) " >&6
9424else
9425 case $PKG_CONFIG in
9426 [\\/]* | ?:[\\/]*)
9427 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9428 ;;
9429 *)
9430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9431for as_dir in $PATH
9432do
9433 IFS=$as_save_IFS
9434 test -z "$as_dir" && as_dir=.
9435 for ac_exec_ext in '' $ac_executable_extensions; do
9436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9437 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9439 break 2
9440 fi
9441done
9442 done
9443IFS=$as_save_IFS
9444
9445 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9446 ;;
9447esac
9448fi
9449PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9450if test -n "$PKG_CONFIG"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9452$as_echo "$PKG_CONFIG" >&6; }
9453else
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9455$as_echo "no" >&6; }
9456fi
9457
9458
9459
9460 if test "$PKG_CONFIG" = "no" ; then
9461 HAVE_GNUTLS=no
9462 else
9463 PKG_CONFIG_MIN_VERSION=0.9.0
9464 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.2.4" >&5
9466$as_echo_n "checking for gnutls >= 2.2.4... " >&6; }
9467
9468 if $PKG_CONFIG --exists "gnutls >= 2.2.4" 2>&5; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9470$as_echo "yes" >&6; }
9471 succeeded=yes
9472
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGNUTLS_CFLAGS" >&5
9474$as_echo_n "checking LIBGNUTLS_CFLAGS... " >&6; }
9475 LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.2.4"|sed -e 's,///*,/,g'`
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_CFLAGS" >&5
9477$as_echo "$LIBGNUTLS_CFLAGS" >&6; }
9478
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGNUTLS_LIBS" >&5
9480$as_echo_n "checking LIBGNUTLS_LIBS... " >&6; }
9481 LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.2.4"|sed -e 's,///*,/,g'`
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_LIBS" >&5
9483$as_echo "$LIBGNUTLS_LIBS" >&6; }
9484 else
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9486$as_echo "no" >&6; }
9487 LIBGNUTLS_CFLAGS=""
9488 LIBGNUTLS_LIBS=""
9489 ## If we have a custom action on failure, don't print errors, but
9490 ## do set a variable so people can do so.
9491 LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= 2.2.4"`
9492
9493 fi
9494
9495
9496
9497 else
9498 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9499 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9500 fi
9501 fi
9502
9503 if test $succeeded = yes; then
9504 HAVE_GNUTLS=yes
9505 else
9506 HAVE_GNUTLS=no
9507 fi
9508
9509 if test "${HAVE_GNUTLS}" = "yes"; then
9510 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
9511
9512 fi
9513fi
9514
9515
9516
9408HAVE_XAW3D=no 9517HAVE_XAW3D=no
9409LUCID_LIBW= 9518LUCID_LIBW=
9410if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 9519if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
@@ -9484,7 +9593,7 @@ $as_echo "yes; using Lucid toolkit" >&6; }
9484 USE_X_TOOLKIT=LUCID 9593 USE_X_TOOLKIT=LUCID
9485 LUCID_LIBW=-lXaw 9594 LUCID_LIBW=-lXaw
9486 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 9595 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
9487 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 9596 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
9488 else 9597 else
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
9490$as_echo "no; do not use toolkit by default" >&6; } 9599$as_echo "no; do not use toolkit by default" >&6; }
@@ -10661,7 +10770,8 @@ if test "${HAVE_X11}" = "yes"; then
10661do : 10770do :
10662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10663ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10772ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10664if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10773eval as_val=\$$as_ac_Header
10774 if test "x$as_val" = x""yes; then :
10665 cat >>confdefs.h <<_ACEOF 10775 cat >>confdefs.h <<_ACEOF
10666#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10776#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10667_ACEOF 10777_ACEOF
@@ -10913,7 +11023,7 @@ if test "${HAVE_X11}" = "yes"; then
10913 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 11023 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
10914 11024
10915 if test "X${MISSING}" != X; then 11025 if test "X${MISSING}" != X; then
10916 as_fn_error $? "The following required libraries were not found: 11026 as_fn_error "The following required libraries were not found:
10917 $MISSING 11027 $MISSING
10918Maybe some development libraries/packages are missing? 11028Maybe some development libraries/packages are missing?
10919If you don't want to link with them give 11029If you don't want to link with them give
@@ -11402,7 +11512,8 @@ if test $ac_cv_os_cray = yes; then
11402 for ac_func in _getb67 GETB67 getb67; do 11512 for ac_func in _getb67 GETB67 getb67; do
11403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11404ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11514ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11405if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11515eval as_val=\$$as_ac_var
11516 if test "x$as_val" = x""yes; then :
11406 11517
11407cat >>confdefs.h <<_ACEOF 11518cat >>confdefs.h <<_ACEOF
11408#define CRAY_STACKSEG_END $ac_func 11519#define CRAY_STACKSEG_END $ac_func
@@ -11466,7 +11577,7 @@ fi
11466 11577
11467 11578
11468if test x"$ac_cv_func_alloca_works" != xyes; then 11579if test x"$ac_cv_func_alloca_works" != xyes; then
11469 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 11580 as_fn_error "a system implementation of alloca is required " "$LINENO" 5
11470fi 11581fi
11471 11582
11472# fmod, logb, and frexp are found in -lm on most systems. 11583# fmod, logb, and frexp are found in -lm on most systems.
@@ -11662,7 +11773,7 @@ fi
11662 11773
11663 11774
11664 if test $ac_cv_prog_liblockfile = yes; then 11775 if test $ac_cv_prog_liblockfile = yes; then
11665 as_fn_error $? "Shared liblockfile found but can't link against it. 11776 as_fn_error "Shared liblockfile found but can't link against it.
11666This probably means that movemail could lose mail. 11777This probably means that movemail could lose mail.
11667There may be a \`development' package to install containing liblockfile." "$LINENO" 5 11778There may be a \`development' package to install containing liblockfile." "$LINENO" 5
11668 fi 11779 fi
@@ -11751,7 +11862,8 @@ cfmakeraw cfsetspeed isnan copysign __executable_start
11751do : 11862do :
11752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11753ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11864ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11754if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11865eval as_val=\$$as_ac_var
11866 if test "x$as_val" = x""yes; then :
11755 cat >>confdefs.h <<_ACEOF 11867 cat >>confdefs.h <<_ACEOF
11756#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11868#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11757_ACEOF 11869_ACEOF
@@ -11782,7 +11894,8 @@ done
11782do : 11894do :
11783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11784ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11896ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11785if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11897eval as_val=\$$as_ac_var
11898 if test "x$as_val" = x""yes; then :
11786 cat >>confdefs.h <<_ACEOF 11899 cat >>confdefs.h <<_ACEOF
11787#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11900#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11788_ACEOF 11901_ACEOF
@@ -11834,8 +11947,8 @@ static time_t time_t_max;
11834static time_t time_t_min; 11947static time_t time_t_min;
11835 11948
11836/* Values we'll use to set the TZ environment variable. */ 11949/* Values we'll use to set the TZ environment variable. */
11837static const char *tz_strings[] = { 11950static char *tz_strings[] = {
11838 (const char *) 0, "TZ=GMT0", "TZ=JST-9", 11951 (char *) 0, "TZ=GMT0", "TZ=JST-9",
11839 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 11952 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11840}; 11953};
11841#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 11954#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
@@ -11852,7 +11965,7 @@ spring_forward_gap ()
11852 instead of "TZ=America/Vancouver" in order to detect the bug even 11965 instead of "TZ=America/Vancouver" in order to detect the bug even
11853 on systems that don't support the Olson extension, or don't have the 11966 on systems that don't support the Olson extension, or don't have the
11854 full zoneinfo tables installed. */ 11967 full zoneinfo tables installed. */
11855 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); 11968 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
11856 11969
11857 tm.tm_year = 98; 11970 tm.tm_year = 98;
11858 tm.tm_mon = 3; 11971 tm.tm_mon = 3;
@@ -11865,14 +11978,16 @@ spring_forward_gap ()
11865} 11978}
11866 11979
11867static int 11980static int
11868mktime_test1 (time_t now) 11981mktime_test1 (now)
11982 time_t now;
11869{ 11983{
11870 struct tm *lt; 11984 struct tm *lt;
11871 return ! (lt = localtime (&now)) || mktime (lt) == now; 11985 return ! (lt = localtime (&now)) || mktime (lt) == now;
11872} 11986}
11873 11987
11874static int 11988static int
11875mktime_test (time_t now) 11989mktime_test (now)
11990 time_t now;
11876{ 11991{
11877 return (mktime_test1 (now) 11992 return (mktime_test1 (now)
11878 && mktime_test1 ((time_t) (time_t_max - now)) 11993 && mktime_test1 ((time_t) (time_t_max - now))
@@ -11896,7 +12011,8 @@ irix_6_4_bug ()
11896} 12011}
11897 12012
11898static int 12013static int
11899bigtime_test (int j) 12014bigtime_test (j)
12015 int j;
11900{ 12016{
11901 struct tm tm; 12017 struct tm tm;
11902 time_t now; 12018 time_t now;
@@ -11940,7 +12056,7 @@ year_2050_test ()
11940 instead of "TZ=America/Vancouver" in order to detect the bug even 12056 instead of "TZ=America/Vancouver" in order to detect the bug even
11941 on systems that don't support the Olson extension, or don't have the 12057 on systems that don't support the Olson extension, or don't have the
11942 full zoneinfo tables installed. */ 12058 full zoneinfo tables installed. */
11943 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); 12059 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
11944 12060
11945 t = mktime (&tm); 12061 t = mktime (&tm);
11946 12062
@@ -11975,7 +12091,7 @@ main ()
11975 for (i = 0; i < N_STRINGS; i++) 12091 for (i = 0; i < N_STRINGS; i++)
11976 { 12092 {
11977 if (tz_strings[i]) 12093 if (tz_strings[i])
11978 putenv ((char*) tz_strings[i]); 12094 putenv (tz_strings[i]);
11979 12095
11980 for (t = 0; t <= time_t_max - delta; t += delta) 12096 for (t = 0; t <= time_t_max - delta; t += delta)
11981 if (! mktime_test (t)) 12097 if (! mktime_test (t))
@@ -12027,7 +12143,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
12027 12143
12028# Make sure getloadavg.c is where it belongs, at configure-time. 12144# Make sure getloadavg.c is where it belongs, at configure-time.
12029test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 12145test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
12030 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 12146 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
12031 12147
12032ac_save_LIBS=$LIBS 12148ac_save_LIBS=$LIBS
12033 12149
@@ -12896,7 +13012,7 @@ else
12896fi 13012fi
12897 13013
12898if test "$have_tputs_et_al" != true; then 13014if test "$have_tputs_et_al" != true; then
12899 as_fn_error $? "I couldn't find termcap functions (tputs and friends). 13015 as_fn_error "I couldn't find termcap functions (tputs and friends).
12900Maybe some development libraries/packages are missing? Try installing 13016Maybe some development libraries/packages are missing? Try installing
12901libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 13017libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
12902fi 13018fi
@@ -14043,7 +14159,8 @@ for ac_func in fork vfork
14043do : 14159do :
14044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14045ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14161ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14046if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14162eval as_val=\$$as_ac_var
14163 if test "x$as_val" = x""yes; then :
14047 cat >>confdefs.h <<_ACEOF 14164 cat >>confdefs.h <<_ACEOF
14048#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14165#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14049_ACEOF 14166_ACEOF
@@ -14417,14 +14534,14 @@ if test "x$GCC" = xyes \
14417 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 14534 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
14418 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 14535 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
14419 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 14536 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
14420 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 14537 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
14421fi 14538fi
14422 14539
14423#### Find out which version of Emacs this is. 14540#### Find out which version of Emacs this is.
14424version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ 14541version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
14425 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 14542 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
14426if test x"${version}" = x; then 14543if test x"${version}" = x; then
14427 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 14544 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
14428fi 14545fi
14429if test x"${version}" != x"$PACKAGE_VERSION"; then 14546if test x"${version}" != x"$PACKAGE_VERSION"; then
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 14547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
@@ -14853,6 +14970,7 @@ echo " Does Emacs use -lgpm? ${HAVE_GPM}"
14853echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 14970echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
14854echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 14971echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
14855echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" 14972echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}"
14973echo " Does Emacs use -lgnutls (BROKEN)? ${HAVE_GNUTLS}"
14856echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" 14974echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}"
14857 14975
14858echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" 14976echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}"
@@ -14984,7 +15102,6 @@ DEFS=-DHAVE_CONFIG_H
14984 15102
14985ac_libobjs= 15103ac_libobjs=
14986ac_ltlibobjs= 15104ac_ltlibobjs=
14987U=
14988for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15105for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14989 # 1. Remove the extension, and $U if already installed. 15106 # 1. Remove the extension, and $U if already installed.
14990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15107 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -15147,19 +15264,19 @@ export LANGUAGE
15147(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15264(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15148 15265
15149 15266
15150# as_fn_error STATUS ERROR [LINENO LOG_FD] 15267# as_fn_error ERROR [LINENO LOG_FD]
15151# ---------------------------------------- 15268# ---------------------------------
15152# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15269# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15153# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15270# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15154# script with STATUS, using 1 if that was 0. 15271# script with status $?, using 1 if that was 0.
15155as_fn_error () 15272as_fn_error ()
15156{ 15273{
15157 as_status=$1; test $as_status -eq 0 && as_status=1 15274 as_status=$?; test $as_status -eq 0 && as_status=1
15158 if test "$4"; then 15275 if test "$3"; then
15159 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15276 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15160 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15277 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15161 fi 15278 fi
15162 $as_echo "$as_me: error: $2" >&2 15279 $as_echo "$as_me: error: $1" >&2
15163 as_fn_exit $as_status 15280 as_fn_exit $as_status
15164} # as_fn_error 15281} # as_fn_error
15165 15282
@@ -15355,7 +15472,7 @@ $as_echo X"$as_dir" |
15355 test -d "$as_dir" && break 15472 test -d "$as_dir" && break
15356 done 15473 done
15357 test -z "$as_dirs" || eval "mkdir $as_dirs" 15474 test -z "$as_dirs" || eval "mkdir $as_dirs"
15358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15475 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15359 15476
15360 15477
15361} # as_fn_mkdir_p 15478} # as_fn_mkdir_p
@@ -15409,7 +15526,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15409# values after options handling. 15526# values after options handling.
15410ac_log=" 15527ac_log="
15411This file was extended by emacs $as_me 24.0.50, which was 15528This file was extended by emacs $as_me 24.0.50, which was
15412generated by GNU Autoconf 2.66. Invocation command line was 15529generated by GNU Autoconf 2.65. Invocation command line was
15413 15530
15414 CONFIG_FILES = $CONFIG_FILES 15531 CONFIG_FILES = $CONFIG_FILES
15415 CONFIG_HEADERS = $CONFIG_HEADERS 15532 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -15475,10 +15592,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15475ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15592ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15476ac_cs_version="\\ 15593ac_cs_version="\\
15477emacs config.status 24.0.50 15594emacs config.status 24.0.50
15478configured by $0, generated by GNU Autoconf 2.66, 15595configured by $0, generated by GNU Autoconf 2.65,
15479 with options \\"\$ac_cs_config\\" 15596 with options \\"\$ac_cs_config\\"
15480 15597
15481Copyright (C) 2010 Free Software Foundation, Inc. 15598Copyright (C) 2009 Free Software Foundation, Inc.
15482This config.status script is free software; the Free Software Foundation 15599This config.status script is free software; the Free Software Foundation
15483gives unlimited permission to copy, distribute and modify it." 15600gives unlimited permission to copy, distribute and modify it."
15484 15601
@@ -15532,7 +15649,7 @@ do
15532 ac_need_defaults=false;; 15649 ac_need_defaults=false;;
15533 --he | --h) 15650 --he | --h)
15534 # Conflict between --help and --header 15651 # Conflict between --help and --header
15535 as_fn_error $? "ambiguous option: \`$1' 15652 as_fn_error "ambiguous option: \`$1'
15536Try \`$0 --help' for more information.";; 15653Try \`$0 --help' for more information.";;
15537 --help | --hel | -h ) 15654 --help | --hel | -h )
15538 $as_echo "$ac_cs_usage"; exit ;; 15655 $as_echo "$ac_cs_usage"; exit ;;
@@ -15541,7 +15658,7 @@ Try \`$0 --help' for more information.";;
15541 ac_cs_silent=: ;; 15658 ac_cs_silent=: ;;
15542 15659
15543 # This is an error. 15660 # This is an error.
15544 -*) as_fn_error $? "unrecognized option: \`$1' 15661 -*) as_fn_error "unrecognized option: \`$1'
15545Try \`$0 --help' for more information." ;; 15662Try \`$0 --help' for more information." ;;
15546 15663
15547 *) as_fn_append ac_config_targets " $1" 15664 *) as_fn_append ac_config_targets " $1"
@@ -15609,7 +15726,7 @@ do
15609 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 15726 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
15610 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 15727 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15611 15728
15612 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15729 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15613 esac 15730 esac
15614done 15731done
15615 15732
@@ -15647,7 +15764,7 @@ $debug ||
15647{ 15764{
15648 tmp=./conf$$-$RANDOM 15765 tmp=./conf$$-$RANDOM
15649 (umask 077 && mkdir "$tmp") 15766 (umask 077 && mkdir "$tmp")
15650} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15767} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15651 15768
15652# Set up the scripts for CONFIG_FILES section. 15769# Set up the scripts for CONFIG_FILES section.
15653# No need to generate them if there are no CONFIG_FILES. 15770# No need to generate them if there are no CONFIG_FILES.
@@ -15681,7 +15798,7 @@ if test "x$ac_cr" = x; then
15681fi 15798fi
15682ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15799ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15683if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15800if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15684 ac_cs_awk_cr='\\r' 15801 ac_cs_awk_cr='\r'
15685else 15802else
15686 ac_cs_awk_cr=$ac_cr 15803 ac_cs_awk_cr=$ac_cr
15687fi 15804fi
@@ -15698,7 +15815,7 @@ _ACEOF
15698 echo "_ACEOF" 15815 echo "_ACEOF"
15699} >conf$$files.sh && 15816} >conf$$files.sh &&
15700. ./conf$$files.sh || 15817. ./conf$$files.sh ||
15701 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15818 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15702rm -f conf$$files.sh 15819rm -f conf$$files.sh
15703 15820
15704{ 15821{
@@ -15706,18 +15823,18 @@ rm -f conf$$files.sh
15706 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15823 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15707 echo "_ACEOF" 15824 echo "_ACEOF"
15708} >conf$$subs.sh || 15825} >conf$$subs.sh ||
15709 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15826 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15710ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15827ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15711ac_delim='%!_!# ' 15828ac_delim='%!_!# '
15712for ac_last_try in false false false false false :; do 15829for ac_last_try in false false false false false :; do
15713 . ./conf$$subs.sh || 15830 . ./conf$$subs.sh ||
15714 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15831 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15715 15832
15716 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15833 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15717 if test $ac_delim_n = $ac_delim_num; then 15834 if test $ac_delim_n = $ac_delim_num; then
15718 break 15835 break
15719 elif $ac_last_try; then 15836 elif $ac_last_try; then
15720 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15837 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15721 else 15838 else
15722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15839 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15723 fi 15840 fi
@@ -15812,28 +15929,20 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15812else 15929else
15813 cat 15930 cat
15814fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15931fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15815 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15932 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15816_ACEOF 15933_ACEOF
15817 15934
15818# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15935# VPATH may cause trouble with some makes, so we remove $(srcdir),
15819# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15936# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15820# trailing colons and then remove the whole line if VPATH becomes empty 15937# trailing colons and then remove the whole line if VPATH becomes empty
15821# (actually we leave an empty line to preserve line numbers). 15938# (actually we leave an empty line to preserve line numbers).
15822if test "x$srcdir" = x.; then 15939if test "x$srcdir" = x.; then
15823 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15940 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15824h 15941s/:*\$(srcdir):*/:/
15825s/// 15942s/:*\${srcdir}:*/:/
15826s/^/:/ 15943s/:*@srcdir@:*/:/
15827s/[ ]*$/:/ 15944s/^\([^=]*=[ ]*\):*/\1/
15828s/:\$(srcdir):/:/g
15829s/:\${srcdir}:/:/g
15830s/:@srcdir@:/:/g
15831s/^:*//
15832s/:*$// 15945s/:*$//
15833x
15834s/\(=[ ]*\).*/\1/
15835G
15836s/\n//
15837s/^[^=]*=[ ]*$// 15946s/^[^=]*=[ ]*$//
15838}' 15947}'
15839fi 15948fi
@@ -15861,7 +15970,7 @@ for ac_last_try in false false :; do
15861 if test -z "$ac_t"; then 15970 if test -z "$ac_t"; then
15862 break 15971 break
15863 elif $ac_last_try; then 15972 elif $ac_last_try; then
15864 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15973 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15865 else 15974 else
15866 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15975 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15867 fi 15976 fi
@@ -15946,7 +16055,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15946_ACAWK 16055_ACAWK
15947_ACEOF 16056_ACEOF
15948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15949 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16058 as_fn_error "could not setup config headers machinery" "$LINENO" 5
15950fi # test -n "$CONFIG_HEADERS" 16059fi # test -n "$CONFIG_HEADERS"
15951 16060
15952 16061
@@ -15959,7 +16068,7 @@ do
15959 esac 16068 esac
15960 case $ac_mode$ac_tag in 16069 case $ac_mode$ac_tag in
15961 :[FHL]*:*);; 16070 :[FHL]*:*);;
15962 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16071 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15963 :[FH]-) ac_tag=-:-;; 16072 :[FH]-) ac_tag=-:-;;
15964 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16073 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15965 esac 16074 esac
@@ -15987,7 +16096,7 @@ do
15987 [\\/$]*) false;; 16096 [\\/$]*) false;;
15988 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16097 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15989 esac || 16098 esac ||
15990 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16099 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15991 esac 16100 esac
15992 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16101 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15993 as_fn_append ac_file_inputs " '$ac_f'" 16102 as_fn_append ac_file_inputs " '$ac_f'"
@@ -16014,7 +16123,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
16014 16123
16015 case $ac_tag in 16124 case $ac_tag in
16016 *:-:* | *:-) cat >"$tmp/stdin" \ 16125 *:-:* | *:-) cat >"$tmp/stdin" \
16017 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16126 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16018 esac 16127 esac
16019 ;; 16128 ;;
16020 esac 16129 esac
@@ -16150,22 +16259,22 @@ if $ac_cs_awk_getline; then
16150else 16259else
16151 $AWK -f "$tmp/subs.awk" | $SHELL 16260 $AWK -f "$tmp/subs.awk" | $SHELL
16152fi >$tmp/out \ 16261fi >$tmp/out \
16153 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16262 || as_fn_error "could not create $ac_file" "$LINENO" 5
16154 16263
16155test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16264test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16156 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16265 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16157 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16266 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16159which seems to be undefined. Please make sure it is defined" >&5 16268which seems to be undefined. Please make sure it is defined." >&5
16160$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16269$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16161which seems to be undefined. Please make sure it is defined" >&2;} 16270which seems to be undefined. Please make sure it is defined." >&2;}
16162 16271
16163 rm -f "$tmp/stdin" 16272 rm -f "$tmp/stdin"
16164 case $ac_file in 16273 case $ac_file in
16165 -) cat "$tmp/out" && rm -f "$tmp/out";; 16274 -) cat "$tmp/out" && rm -f "$tmp/out";;
16166 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16275 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16167 esac \ 16276 esac \
16168 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16277 || as_fn_error "could not create $ac_file" "$LINENO" 5
16169 ;; 16278 ;;
16170 :H) 16279 :H)
16171 # 16280 #
@@ -16176,19 +16285,19 @@ which seems to be undefined. Please make sure it is defined" >&2;}
16176 $as_echo "/* $configure_input */" \ 16285 $as_echo "/* $configure_input */" \
16177 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16286 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16178 } >"$tmp/config.h" \ 16287 } >"$tmp/config.h" \
16179 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16288 || as_fn_error "could not create $ac_file" "$LINENO" 5
16180 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16289 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16290 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16182$as_echo "$as_me: $ac_file is unchanged" >&6;} 16291$as_echo "$as_me: $ac_file is unchanged" >&6;}
16183 else 16292 else
16184 rm -f "$ac_file" 16293 rm -f "$ac_file"
16185 mv "$tmp/config.h" "$ac_file" \ 16294 mv "$tmp/config.h" "$ac_file" \
16186 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16295 || as_fn_error "could not create $ac_file" "$LINENO" 5
16187 fi 16296 fi
16188 else 16297 else
16189 $as_echo "/* $configure_input */" \ 16298 $as_echo "/* $configure_input */" \
16190 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16299 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16191 || as_fn_error $? "could not create -" "$LINENO" 5 16300 || as_fn_error "could not create -" "$LINENO" 5
16192 fi 16301 fi
16193 ;; 16302 ;;
16194 16303
@@ -16225,7 +16334,7 @@ _ACEOF
16225ac_clean_files=$ac_clean_files_save 16334ac_clean_files=$ac_clean_files_save
16226 16335
16227test $ac_write_fail = 0 || 16336test $ac_write_fail = 0 ||
16228 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16337 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16229 16338
16230 16339
16231# configure is writing to config.log, and then calls config.status. 16340# configure is writing to config.log, and then calls config.status.
@@ -16246,7 +16355,7 @@ if test "$no_create" != yes; then
16246 exec 5>>config.log 16355 exec 5>>config.log
16247 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16356 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16248 # would make configure fail if this is the last instruction. 16357 # would make configure fail if this is the last instruction.
16249 $ac_cs_success || as_fn_exit 1 16358 $ac_cs_success || as_fn_exit $?
16250fi 16359fi
16251if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16360if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/configure.in b/configure.in
index 2282a7865ec..82d8eced97e 100644
--- a/configure.in
+++ b/configure.in
@@ -2002,10 +2002,13 @@ AC_SUBST(LIBSELINUX_LIBS)
2002 2002
2003HAVE_GNUTLS=no 2003HAVE_GNUTLS=no
2004if test "${with_gnutls}" = "yes" ; then 2004if test "${with_gnutls}" = "yes" ; then
2005 PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.4]) 2005 PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.4], HAVE_GNUTLS=yes, HAVE_GNUTLS=no)
2006 AC_DEFINE(HAVE_GNUTLS) 2006 if test "${HAVE_GNUTLS}" = "yes"; then
2007 HAVE_GNUTLS=yes 2007 AC_DEFINE(HAVE_GNUTLS)
2008 fi
2008fi 2009fi
2010AC_SUBST(LIBGNUTLS_LIBS)
2011AC_SUBST(LIBGNUTLS_CFLAGS)
2009 2012
2010dnl Do not put whitespace before the #include statements below. 2013dnl Do not put whitespace before the #include statements below.
2011dnl Older compilers (eg sunos4 cc) choke on it. 2014dnl Older compilers (eg sunos4 cc) choke on it.