diff options
| author | Eli Zaretskii | 2010-03-13 04:02:01 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-03-13 04:02:01 -0500 |
| commit | 9565d1e6f3d09d5cd5afebd1b30a7571a27199cc (patch) | |
| tree | 2a9b626a132c400e4305163d14a940fa7c3ac7a1 | |
| parent | f866d742007347ca7a6002cea3be13bdf582c5e7 (diff) | |
| parent | a96f6398e13a611aa825ee6e09566d2f0c5fce35 (diff) | |
| download | emacs-9565d1e6f3d09d5cd5afebd1b30a7571a27199cc.tar.gz emacs-9565d1e6f3d09d5cd5afebd1b30a7571a27199cc.zip | |
Merge from mainline.
99 files changed, 6773 insertions, 18516 deletions
| @@ -1,3 +1,14 @@ | |||
| 1 | 2010-03-12 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | These changes remove termcap.c from the build on Posix platforms. | ||
| 4 | * configure.in <AC_CHECK_HEADERS>: Remove termcap.h. | ||
| 5 | |||
| 6 | * configure: Regenerated. | ||
| 7 | |||
| 8 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 9 | |||
| 10 | * Branch for 23.2. | ||
| 11 | |||
| 1 | 2010-01-31 Juri Linkov <juri@jurta.org> | 12 | 2010-01-31 Juri Linkov <juri@jurta.org> |
| 2 | 13 | ||
| 3 | * .bzrignore: Add TAGS-LISP. | 14 | * .bzrignore: Add TAGS-LISP. |
| @@ -3,7 +3,7 @@ Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, | |||
| 3 | See the end of the file for license conditions. | 3 | See the end of the file for license conditions. |
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | This directory tree holds version 23.1.93 of GNU Emacs, the extensible, | 6 | This directory tree holds version 24.0.50 of GNU Emacs, the extensible, |
| 7 | customizable, self-documenting real-time display editor. | 7 | customizable, self-documenting real-time display editor. |
| 8 | 8 | ||
| 9 | The file INSTALL in this directory says how to build and install GNU | 9 | The file INSTALL in this directory says how to build and install GNU |
diff --git a/admin/ChangeLog b/admin/ChangeLog index da7ef59e8e6..90ba61f7850 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 5 | 2010-03-10 Miles Bader <miles@gnu.org> | ||
| 6 | |||
| 7 | * quick-install-emacs: Use more portable shell syntax. | ||
| 8 | |||
| 9 | * quick-install-emacs: (AVOID): Be more picky about files we avoid | ||
| 10 | installing. | ||
| 11 | |||
| 1 | 2010-02-14 Juanma Barranquero <lekktu@gmail.com> | 12 | 2010-02-14 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 13 | ||
| 3 | * quick-install-emacs (PRUNED): Fix typo in message. | 14 | * quick-install-emacs (PRUNED): Fix typo in message. |
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index 2fda74b0832..b912ed4e3ff 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | PUBLIC_LIBSRC_BINARIES='b2m emacsclient etags ctags ebrowse' | 31 | PUBLIC_LIBSRC_BINARIES='b2m emacsclient etags ctags ebrowse' |
| 32 | PUBLIC_LIBSRC_SCRIPTS='grep-changelog rcs-checkin' | 32 | PUBLIC_LIBSRC_SCRIPTS='grep-changelog rcs-checkin' |
| 33 | 33 | ||
| 34 | AVOID="CVS -DIC README COPYING ChangeLog ~ [.]orig$ [.]rej$ Makefile makefile stamp-subdir [.]cvsignore [.]arch-ids [{]arch[}] [.][cho]$ make-docfile testfile test-distrib" | 34 | AVOID="CVS -DIC README COPYING ChangeLog ~ [.]orig$ [.]rej$ Makefile$ Makefile.in$ Makefile.c$ makefile$ makefile.w32-in$ stamp-subdir [.]cvsignore [.]arch-ids [{]arch[}] [.][cho]$ make-docfile testfile test-distrib" |
| 35 | 35 | ||
| 36 | # Prune old binaries lying around in the source tree | 36 | # Prune old binaries lying around in the source tree |
| 37 | PRUNE=no | 37 | PRUNE=no |
| @@ -120,7 +120,7 @@ Written by Miles Bader <miles@gnu.org> | |||
| 120 | EOF | 120 | EOF |
| 121 | exit 0 | 121 | exit 0 |
| 122 | ;; | 122 | ;; |
| 123 | -[^-]?*) | 123 | -[!-]?*) |
| 124 | # split concatenated single-letter options apart | 124 | # split concatenated single-letter options apart |
| 125 | FIRST="$1"; shift | 125 | FIRST="$1"; shift |
| 126 | set -- `echo $FIRST | sed 's/-\(.\)\(.*\)/-\1 -\2/'` "$@" | 126 | set -- `echo $FIRST | sed 's/-\(.\)\(.*\)/-\1 -\2/'` "$@" |
| @@ -1,18 +1,20 @@ | |||
| 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.62 for emacs 23.1.93. | 3 | # Generated by GNU Autoconf 2.64 for emacs 24.0.50. |
| 4 | # | 4 | # |
| 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
| 7 | # Foundation, Inc. | ||
| 8 | # | ||
| 7 | # This configure script is free software; the Free Software Foundation | 9 | # This configure script is free software; the Free Software Foundation |
| 8 | # gives unlimited permission to copy, distribute and modify it. | 10 | # gives unlimited permission to copy, distribute and modify it. |
| 9 | ## --------------------- ## | 11 | ## -------------------- ## |
| 10 | ## M4sh Initialization. ## | 12 | ## M4sh Initialization. ## |
| 11 | ## --------------------- ## | 13 | ## -------------------- ## |
| 12 | 14 | ||
| 13 | # Be more Bourne compatible | 15 | # Be more Bourne compatible |
| 14 | DUALCASE=1; export DUALCASE # for MKS sh | 16 | DUALCASE=1; export DUALCASE # for MKS sh |
| 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 16 | emulate sh | 18 | emulate sh |
| 17 | NULLCMD=: | 19 | NULLCMD=: |
| 18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -20,23 +22,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |||
| 20 | alias -g '${1+"$@"}'='"$@"' | 22 | alias -g '${1+"$@"}'='"$@"' |
| 21 | setopt NO_GLOB_SUBST | 23 | setopt NO_GLOB_SUBST |
| 22 | else | 24 | else |
| 23 | case `(set -o) 2>/dev/null` in | 25 | case `(set -o) 2>/dev/null` in #( |
| 24 | *posix*) set -o posix ;; | 26 | *posix*) : |
| 27 | set -o posix ;; #( | ||
| 28 | *) : | ||
| 29 | ;; | ||
| 25 | esac | 30 | esac |
| 26 | |||
| 27 | fi | 31 | fi |
| 28 | 32 | ||
| 29 | 33 | ||
| 30 | |||
| 31 | |||
| 32 | # PATH needs CR | ||
| 33 | # Avoid depending upon Character Ranges. | ||
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 37 | as_cr_digits='0123456789' | ||
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 39 | |||
| 40 | as_nl=' | 34 | as_nl=' |
| 41 | ' | 35 | ' |
| 42 | export as_nl | 36 | export as_nl |
| @@ -44,7 +38,13 @@ export as_nl | |||
| 44 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 47 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
| 42 | # but without wasting forks for bash or zsh. | ||
| 43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 45 | as_echo='print -r --' | ||
| 46 | as_echo_n='print -rn --' | ||
| 47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 48 | as_echo='printf %s\n' | 48 | as_echo='printf %s\n' |
| 49 | as_echo_n='printf %s' | 49 | as_echo_n='printf %s' |
| 50 | else | 50 | else |
| @@ -55,7 +55,7 @@ else | |||
| 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 56 | as_echo_n_body='eval | 56 | as_echo_n_body='eval |
| 57 | arg=$1; | 57 | arg=$1; |
| 58 | case $arg in | 58 | case $arg in #( |
| 59 | *"$as_nl"*) | 59 | *"$as_nl"*) |
| 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -78,13 +78,6 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 78 | } | 78 | } |
| 79 | fi | 79 | fi |
| 80 | 80 | ||
| 81 | # Support unset when possible. | ||
| 82 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 83 | as_unset=unset | ||
| 84 | else | ||
| 85 | as_unset=false | ||
| 86 | fi | ||
| 87 | |||
| 88 | 81 | ||
| 89 | # IFS | 82 | # IFS |
| 90 | # We need space, tab and new line, in precisely that order. Quoting is | 83 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -94,15 +87,15 @@ fi | |||
| 94 | IFS=" "" $as_nl" | 87 | IFS=" "" $as_nl" |
| 95 | 88 | ||
| 96 | # Find who we are. Look in the path if we contain no directory separator. | 89 | # Find who we are. Look in the path if we contain no directory separator. |
| 97 | case $0 in | 90 | case $0 in #(( |
| 98 | *[\\/]* ) as_myself=$0 ;; | 91 | *[\\/]* ) as_myself=$0 ;; |
| 99 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 92 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 100 | for as_dir in $PATH | 93 | for as_dir in $PATH |
| 101 | do | 94 | do |
| 102 | IFS=$as_save_IFS | 95 | IFS=$as_save_IFS |
| 103 | test -z "$as_dir" && as_dir=. | 96 | test -z "$as_dir" && as_dir=. |
| 104 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 97 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 105 | done | 98 | done |
| 106 | IFS=$as_save_IFS | 99 | IFS=$as_save_IFS |
| 107 | 100 | ||
| 108 | ;; | 101 | ;; |
| @@ -114,12 +107,16 @@ if test "x$as_myself" = x; then | |||
| 114 | fi | 107 | fi |
| 115 | if test ! -f "$as_myself"; then | 108 | if test ! -f "$as_myself"; then |
| 116 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 109 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 117 | { (exit 1); exit 1; } | 110 | exit 1 |
| 118 | fi | 111 | fi |
| 119 | 112 | ||
| 120 | # Work around bugs in pre-3.0 UWIN ksh. | 113 | # Unset variables that we do not need and which cause bugs (e.g. in |
| 121 | for as_var in ENV MAIL MAILPATH | 114 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 122 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 115 | # suppresses any "Segmentation fault" message there. '((' could |
| 116 | # trigger a bug in pdksh 5.2.14. | ||
| 117 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 118 | do eval test x\${$as_var+set} = xset \ | ||
| 119 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 123 | done | 120 | done |
| 124 | PS1='$ ' | 121 | PS1='$ ' |
| 125 | PS2='> ' | 122 | PS2='> ' |
| @@ -131,330 +128,299 @@ export LC_ALL | |||
| 131 | LANGUAGE=C | 128 | LANGUAGE=C |
| 132 | export LANGUAGE | 129 | export LANGUAGE |
| 133 | 130 | ||
| 134 | # Required to use basename. | ||
| 135 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 137 | as_expr=expr | ||
| 138 | else | ||
| 139 | as_expr=false | ||
| 140 | fi | ||
| 141 | |||
| 142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 143 | as_basename=basename | ||
| 144 | else | ||
| 145 | as_basename=false | ||
| 146 | fi | ||
| 147 | |||
| 148 | |||
| 149 | # Name of the executable. | ||
| 150 | as_me=`$as_basename -- "$0" || | ||
| 151 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 152 | X"$0" : 'X\(//\)$' \| \ | ||
| 153 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 154 | $as_echo X/"$0" | | ||
| 155 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 156 | s//\1/ | ||
| 157 | q | ||
| 158 | } | ||
| 159 | /^X\/\(\/\/\)$/{ | ||
| 160 | s//\1/ | ||
| 161 | q | ||
| 162 | } | ||
| 163 | /^X\/\(\/\).*/{ | ||
| 164 | s//\1/ | ||
| 165 | q | ||
| 166 | } | ||
| 167 | s/.*/./; q'` | ||
| 168 | |||
| 169 | # CDPATH. | 131 | # CDPATH. |
| 170 | $as_unset CDPATH | 132 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 171 | |||
| 172 | 133 | ||
| 173 | if test "x$CONFIG_SHELL" = x; then | 134 | if test "x$CONFIG_SHELL" = x; then |
| 174 | if (eval ":") 2>/dev/null; then | 135 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 175 | as_have_required=yes | 136 | emulate sh |
| 137 | NULLCMD=: | ||
| 138 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
| 139 | # is contrary to our usage. Disable this feature. | ||
| 140 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
| 141 | setopt NO_GLOB_SUBST | ||
| 176 | else | 142 | else |
| 177 | as_have_required=no | 143 | case \`(set -o) 2>/dev/null\` in #( |
| 144 | *posix*) : | ||
| 145 | set -o posix ;; #( | ||
| 146 | *) : | ||
| 147 | ;; | ||
| 148 | esac | ||
| 178 | fi | 149 | fi |
| 179 | 150 | " | |
| 180 | if test $as_have_required = yes && (eval ": | 151 | as_required="as_fn_return () { (exit \$1); } |
| 181 | (as_func_return () { | 152 | as_fn_success () { as_fn_return 0; } |
| 182 | (exit \$1) | 153 | as_fn_failure () { as_fn_return 1; } |
| 183 | } | 154 | as_fn_ret_success () { return 0; } |
| 184 | as_func_success () { | 155 | as_fn_ret_failure () { return 1; } |
| 185 | as_func_return 0 | ||
| 186 | } | ||
| 187 | as_func_failure () { | ||
| 188 | as_func_return 1 | ||
| 189 | } | ||
| 190 | as_func_ret_success () { | ||
| 191 | return 0 | ||
| 192 | } | ||
| 193 | as_func_ret_failure () { | ||
| 194 | return 1 | ||
| 195 | } | ||
| 196 | 156 | ||
| 197 | exitcode=0 | 157 | exitcode=0 |
| 198 | if as_func_success; then | 158 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 199 | : | 159 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 200 | else | 160 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 201 | exitcode=1 | 161 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 202 | echo as_func_success failed. | 162 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 203 | fi | 163 | |
| 204 | 164 | else | |
| 205 | if as_func_failure; then | 165 | exitcode=1; echo positional parameters were not saved. |
| 206 | exitcode=1 | 166 | fi |
| 207 | echo as_func_failure succeeded. | 167 | test x\$exitcode = x0 || exit 1" |
| 208 | fi | 168 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 209 | 169 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
| 210 | if as_func_ret_success; then | 170 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 211 | : | 171 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 212 | else | 172 | test \$(( 1 + 1 )) = 2 || exit 1" |
| 213 | exitcode=1 | 173 | if (eval "$as_required") 2>/dev/null; then : |
| 214 | echo as_func_ret_success failed. | 174 | as_have_required=yes |
| 215 | fi | ||
| 216 | |||
| 217 | if as_func_ret_failure; then | ||
| 218 | exitcode=1 | ||
| 219 | echo as_func_ret_failure succeeded. | ||
| 220 | fi | ||
| 221 | |||
| 222 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 223 | : | ||
| 224 | else | 175 | else |
| 225 | exitcode=1 | 176 | as_have_required=no |
| 226 | echo positional parameters were not saved. | ||
| 227 | fi | 177 | fi |
| 178 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
| 228 | 179 | ||
| 229 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
| 230 | |||
| 231 | ( | ||
| 232 | as_lineno_1=\$LINENO | ||
| 233 | as_lineno_2=\$LINENO | ||
| 234 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
| 235 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
| 236 | ") 2> /dev/null; then | ||
| 237 | : | ||
| 238 | else | 180 | else |
| 239 | as_candidate_shells= | 181 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 182 | as_found=false |
| 241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 183 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 242 | do | 184 | do |
| 243 | IFS=$as_save_IFS | 185 | IFS=$as_save_IFS |
| 244 | test -z "$as_dir" && as_dir=. | 186 | test -z "$as_dir" && as_dir=. |
| 245 | case $as_dir in | 187 | as_found=: |
| 188 | case $as_dir in #( | ||
| 246 | /*) | 189 | /*) |
| 247 | for as_base in sh bash ksh sh5; do | 190 | for as_base in sh bash ksh sh5; do |
| 248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | 191 | # Try only shells that exist, to save several forks. |
| 192 | as_shell=$as_dir/$as_base | ||
| 193 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 194 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 195 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
| 196 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 197 | break 2 | ||
| 198 | fi | ||
| 199 | fi | ||
| 249 | done;; | 200 | done;; |
| 250 | esac | 201 | esac |
| 202 | as_found=false | ||
| 251 | done | 203 | done |
| 204 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
| 205 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
| 206 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
| 207 | fi; } | ||
| 252 | IFS=$as_save_IFS | 208 | IFS=$as_save_IFS |
| 253 | 209 | ||
| 254 | 210 | ||
| 255 | for as_shell in $as_candidate_shells $SHELL; do | 211 | if test "x$CONFIG_SHELL" != x; then : |
| 256 | # Try only shells that exist, to save several forks. | 212 | # We cannot yet assume a decent shell, so we have to provide a |
| 257 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | 213 | # neutralization value for shells without unset; and this also |
| 258 | { ("$as_shell") 2> /dev/null <<\_ASEOF | 214 | # works around shells that cannot unset nonexistent variables. |
| 259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 215 | BASH_ENV=/dev/null |
| 260 | emulate sh | 216 | ENV=/dev/null |
| 261 | NULLCMD=: | 217 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 263 | # is contrary to our usage. Disable this feature. | ||
| 264 | alias -g '${1+"$@"}'='"$@"' | ||
| 265 | setopt NO_GLOB_SUBST | ||
| 266 | else | ||
| 267 | case `(set -o) 2>/dev/null` in | ||
| 268 | *posix*) set -o posix ;; | ||
| 269 | esac | ||
| 270 | |||
| 271 | fi | ||
| 272 | |||
| 273 | |||
| 274 | : | ||
| 275 | _ASEOF | ||
| 276 | }; then | ||
| 277 | CONFIG_SHELL=$as_shell | ||
| 278 | as_have_required=yes | ||
| 279 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
| 280 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
| 281 | emulate sh | ||
| 282 | NULLCMD=: | ||
| 283 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 284 | # is contrary to our usage. Disable this feature. | ||
| 285 | alias -g '${1+"$@"}'='"$@"' | ||
| 286 | setopt NO_GLOB_SUBST | ||
| 287 | else | ||
| 288 | case `(set -o) 2>/dev/null` in | ||
| 289 | *posix*) set -o posix ;; | ||
| 290 | esac | ||
| 291 | |||
| 292 | fi | ||
| 293 | |||
| 294 | |||
| 295 | : | ||
| 296 | (as_func_return () { | ||
| 297 | (exit $1) | ||
| 298 | } | ||
| 299 | as_func_success () { | ||
| 300 | as_func_return 0 | ||
| 301 | } | ||
| 302 | as_func_failure () { | ||
| 303 | as_func_return 1 | ||
| 304 | } | ||
| 305 | as_func_ret_success () { | ||
| 306 | return 0 | ||
| 307 | } | ||
| 308 | as_func_ret_failure () { | ||
| 309 | return 1 | ||
| 310 | } | ||
| 311 | |||
| 312 | exitcode=0 | ||
| 313 | if as_func_success; then | ||
| 314 | : | ||
| 315 | else | ||
| 316 | exitcode=1 | ||
| 317 | echo as_func_success failed. | ||
| 318 | fi | ||
| 319 | |||
| 320 | if as_func_failure; then | ||
| 321 | exitcode=1 | ||
| 322 | echo as_func_failure succeeded. | ||
| 323 | fi | ||
| 324 | |||
| 325 | if as_func_ret_success; then | ||
| 326 | : | ||
| 327 | else | ||
| 328 | exitcode=1 | ||
| 329 | echo as_func_ret_success failed. | ||
| 330 | fi | ||
| 331 | |||
| 332 | if as_func_ret_failure; then | ||
| 333 | exitcode=1 | ||
| 334 | echo as_func_ret_failure succeeded. | ||
| 335 | fi | ||
| 336 | |||
| 337 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
| 338 | : | ||
| 339 | else | ||
| 340 | exitcode=1 | ||
| 341 | echo positional parameters were not saved. | ||
| 342 | fi | ||
| 343 | |||
| 344 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
| 345 | |||
| 346 | ( | ||
| 347 | as_lineno_1=$LINENO | ||
| 348 | as_lineno_2=$LINENO | ||
| 349 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 350 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | ||
| 351 | |||
| 352 | _ASEOF | ||
| 353 | }; then | ||
| 354 | break | ||
| 355 | fi | ||
| 356 | |||
| 357 | fi | ||
| 358 | |||
| 359 | done | ||
| 360 | |||
| 361 | if test "x$CONFIG_SHELL" != x; then | ||
| 362 | for as_var in BASH_ENV ENV | ||
| 363 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 364 | done | ||
| 365 | export CONFIG_SHELL | 218 | export CONFIG_SHELL |
| 366 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 219 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 367 | fi | 220 | fi |
| 368 | 221 | ||
| 369 | 222 | if test x$as_have_required = xno; then : | |
| 370 | if test $as_have_required = no; then | 223 | $as_echo "$0: This script requires a shell more modern than all" |
| 371 | echo This script requires a shell more modern than all the | 224 | $as_echo "$0: the shells that I found on your system." |
| 372 | echo shells that I found on your system. Please install a | 225 | if test x${ZSH_VERSION+set} = xset ; then |
| 373 | echo modern shell, or manually run the script under such a | 226 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 374 | echo shell if you do have one. | 227 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 375 | { (exit 1); exit 1; } | 228 | else |
| 229 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | ||
| 230 | $0: including any error possibly output before this | ||
| 231 | $0: message. Then install a modern shell, or manually run | ||
| 232 | $0: the script under such a shell if you do have one." | ||
| 233 | fi | ||
| 234 | exit 1 | ||
| 376 | fi | 235 | fi |
| 377 | |||
| 378 | |||
| 379 | fi | 236 | fi |
| 380 | |||
| 381 | fi | 237 | fi |
| 238 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 239 | export SHELL | ||
| 240 | # Unset more variables known to interfere with behavior of common tools. | ||
| 241 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
| 242 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
| 382 | 243 | ||
| 244 | ## --------------------- ## | ||
| 245 | ## M4sh Shell Functions. ## | ||
| 246 | ## --------------------- ## | ||
| 247 | # as_fn_unset VAR | ||
| 248 | # --------------- | ||
| 249 | # Portably unset VAR. | ||
| 250 | as_fn_unset () | ||
| 251 | { | ||
| 252 | { eval $1=; unset $1;} | ||
| 253 | } | ||
| 254 | as_unset=as_fn_unset | ||
| 383 | 255 | ||
| 256 | # as_fn_set_status STATUS | ||
| 257 | # ----------------------- | ||
| 258 | # Set $? to STATUS, without forking. | ||
| 259 | as_fn_set_status () | ||
| 260 | { | ||
| 261 | return $1 | ||
| 262 | } # as_fn_set_status | ||
| 384 | 263 | ||
| 385 | (eval "as_func_return () { | 264 | # as_fn_exit STATUS |
| 386 | (exit \$1) | 265 | # ----------------- |
| 387 | } | 266 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 388 | as_func_success () { | 267 | as_fn_exit () |
| 389 | as_func_return 0 | 268 | { |
| 390 | } | 269 | set +e |
| 391 | as_func_failure () { | 270 | as_fn_set_status $1 |
| 392 | as_func_return 1 | 271 | exit $1 |
| 393 | } | 272 | } # as_fn_exit |
| 394 | as_func_ret_success () { | ||
| 395 | return 0 | ||
| 396 | } | ||
| 397 | as_func_ret_failure () { | ||
| 398 | return 1 | ||
| 399 | } | ||
| 400 | 273 | ||
| 401 | exitcode=0 | 274 | # as_fn_mkdir_p |
| 402 | if as_func_success; then | 275 | # ------------- |
| 403 | : | 276 | # Create "$as_dir" as a directory, including parents if necessary. |
| 277 | as_fn_mkdir_p () | ||
| 278 | { | ||
| 279 | |||
| 280 | case $as_dir in #( | ||
| 281 | -*) as_dir=./$as_dir;; | ||
| 282 | esac | ||
| 283 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 284 | as_dirs= | ||
| 285 | while :; do | ||
| 286 | case $as_dir in #( | ||
| 287 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 288 | *) as_qdir=$as_dir;; | ||
| 289 | esac | ||
| 290 | as_dirs="'$as_qdir' $as_dirs" | ||
| 291 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 292 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 293 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 294 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 295 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 296 | $as_echo X"$as_dir" | | ||
| 297 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 298 | s//\1/ | ||
| 299 | q | ||
| 300 | } | ||
| 301 | /^X\(\/\/\)[^/].*/{ | ||
| 302 | s//\1/ | ||
| 303 | q | ||
| 304 | } | ||
| 305 | /^X\(\/\/\)$/{ | ||
| 306 | s//\1/ | ||
| 307 | q | ||
| 308 | } | ||
| 309 | /^X\(\/\).*/{ | ||
| 310 | s//\1/ | ||
| 311 | q | ||
| 312 | } | ||
| 313 | s/.*/./; q'` | ||
| 314 | test -d "$as_dir" && break | ||
| 315 | done | ||
| 316 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 317 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 318 | |||
| 319 | |||
| 320 | } # as_fn_mkdir_p | ||
| 321 | # as_fn_append VAR VALUE | ||
| 322 | # ---------------------- | ||
| 323 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 324 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 325 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 326 | # implementations. | ||
| 327 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 328 | eval 'as_fn_append () | ||
| 329 | { | ||
| 330 | eval $1+=\$2 | ||
| 331 | }' | ||
| 404 | else | 332 | else |
| 405 | exitcode=1 | 333 | as_fn_append () |
| 406 | echo as_func_success failed. | 334 | { |
| 407 | fi | 335 | eval $1=\$$1\$2 |
| 336 | } | ||
| 337 | fi # as_fn_append | ||
| 338 | |||
| 339 | # as_fn_arith ARG... | ||
| 340 | # ------------------ | ||
| 341 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 342 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 343 | # must be portable across $(()) and expr. | ||
| 344 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 345 | eval 'as_fn_arith () | ||
| 346 | { | ||
| 347 | as_val=$(( $* )) | ||
| 348 | }' | ||
| 349 | else | ||
| 350 | as_fn_arith () | ||
| 351 | { | ||
| 352 | as_val=`expr "$@" || test $? -eq 1` | ||
| 353 | } | ||
| 354 | fi # as_fn_arith | ||
| 408 | 355 | ||
| 409 | if as_func_failure; then | ||
| 410 | exitcode=1 | ||
| 411 | echo as_func_failure succeeded. | ||
| 412 | fi | ||
| 413 | 356 | ||
| 414 | if as_func_ret_success; then | 357 | # as_fn_error ERROR [LINENO LOG_FD] |
| 415 | : | 358 | # --------------------------------- |
| 359 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 360 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 361 | # script with status $?, using 1 if that was 0. | ||
| 362 | as_fn_error () | ||
| 363 | { | ||
| 364 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 365 | if test "$3"; then | ||
| 366 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 367 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 368 | fi | ||
| 369 | $as_echo "$as_me: error: $1" >&2 | ||
| 370 | as_fn_exit $as_status | ||
| 371 | } # as_fn_error | ||
| 372 | |||
| 373 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 374 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 375 | as_expr=expr | ||
| 416 | else | 376 | else |
| 417 | exitcode=1 | 377 | as_expr=false |
| 418 | echo as_func_ret_success failed. | ||
| 419 | fi | 378 | fi |
| 420 | 379 | ||
| 421 | if as_func_ret_failure; then | 380 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 422 | exitcode=1 | 381 | as_basename=basename |
| 423 | echo as_func_ret_failure succeeded. | 382 | else |
| 383 | as_basename=false | ||
| 424 | fi | 384 | fi |
| 425 | 385 | ||
| 426 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | 386 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 427 | : | 387 | as_dirname=dirname |
| 428 | else | 388 | else |
| 429 | exitcode=1 | 389 | as_dirname=false |
| 430 | echo positional parameters were not saved. | ||
| 431 | fi | 390 | fi |
| 432 | 391 | ||
| 433 | test \$exitcode = 0") || { | 392 | as_me=`$as_basename -- "$0" || |
| 434 | echo No shell found that supports shell functions. | 393 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 435 | echo Please tell bug-autoconf@gnu.org about your system, | 394 | X"$0" : 'X\(//\)$' \| \ |
| 436 | echo including any error possibly output before this message. | 395 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 437 | echo This can help us improve future autoconf versions. | 396 | $as_echo X/"$0" | |
| 438 | echo Configuration will now proceed without shell functions. | 397 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 439 | } | 398 | s//\1/ |
| 440 | 399 | q | |
| 400 | } | ||
| 401 | /^X\/\(\/\/\)$/{ | ||
| 402 | s//\1/ | ||
| 403 | q | ||
| 404 | } | ||
| 405 | /^X\/\(\/\).*/{ | ||
| 406 | s//\1/ | ||
| 407 | q | ||
| 408 | } | ||
| 409 | s/.*/./; q'` | ||
| 441 | 410 | ||
| 411 | # Avoid depending upon Character Ranges. | ||
| 412 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 413 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 414 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 415 | as_cr_digits='0123456789' | ||
| 416 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 442 | 417 | ||
| 443 | as_lineno_1=$LINENO | ||
| 444 | as_lineno_2=$LINENO | ||
| 445 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 447 | 418 | ||
| 448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 419 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 449 | # uniformly replaced by the line number. The first 'sed' inserts a | 420 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 450 | # line-number line after each line using $LINENO; the second 'sed' | 421 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 451 | # does the real work. The second script uses 'N' to pair each | 422 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 452 | # line-number line with the line containing $LINENO, and appends | 423 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 453 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 454 | # case at line end. | ||
| 455 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 456 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 457 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 458 | sed -n ' | 424 | sed -n ' |
| 459 | p | 425 | p |
| 460 | /[$]LINENO/= | 426 | /[$]LINENO/= |
| @@ -471,8 +437,7 @@ test \$exitcode = 0") || { | |||
| 471 | s/-\n.*// | 437 | s/-\n.*// |
| 472 | ' >$as_me.lineno && | 438 | ' >$as_me.lineno && |
| 473 | chmod +x "$as_me.lineno" || | 439 | chmod +x "$as_me.lineno" || |
| 474 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 440 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 475 | { (exit 1); exit 1; }; } | ||
| 476 | 441 | ||
| 477 | # Don't try to exec as it changes $[0], causing all sort of problems | 442 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 478 | # (the dirname of $[0] is not the place where we might find the | 443 | # (the dirname of $[0] is not the place where we might find the |
| @@ -482,29 +447,18 @@ test \$exitcode = 0") || { | |||
| 482 | exit | 447 | exit |
| 483 | } | 448 | } |
| 484 | 449 | ||
| 485 | |||
| 486 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 487 | as_dirname=dirname | ||
| 488 | else | ||
| 489 | as_dirname=false | ||
| 490 | fi | ||
| 491 | |||
| 492 | ECHO_C= ECHO_N= ECHO_T= | 450 | ECHO_C= ECHO_N= ECHO_T= |
| 493 | case `echo -n x` in | 451 | case `echo -n x` in #((((( |
| 494 | -n*) | 452 | -n*) |
| 495 | case `echo 'x\c'` in | 453 | case `echo 'xy\c'` in |
| 496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 454 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 497 | *) ECHO_C='\c';; | 455 | xy) ECHO_C='\c';; |
| 456 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 457 | ECHO_T=' ';; | ||
| 498 | esac;; | 458 | esac;; |
| 499 | *) | 459 | *) |
| 500 | ECHO_N='-n';; | 460 | ECHO_N='-n';; |
| 501 | esac | 461 | esac |
| 502 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 503 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 504 | as_expr=expr | ||
| 505 | else | ||
| 506 | as_expr=false | ||
| 507 | fi | ||
| 508 | 462 | ||
| 509 | rm -f conf$$ conf$$.exe conf$$.file | 463 | rm -f conf$$ conf$$.exe conf$$.file |
| 510 | if test -d conf$$.dir; then | 464 | if test -d conf$$.dir; then |
| @@ -534,7 +488,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |||
| 534 | rmdir conf$$.dir 2>/dev/null | 488 | rmdir conf$$.dir 2>/dev/null |
| 535 | 489 | ||
| 536 | if mkdir -p . 2>/dev/null; then | 490 | if mkdir -p . 2>/dev/null; then |
| 537 | as_mkdir_p=: | 491 | as_mkdir_p='mkdir -p "$as_dir"' |
| 538 | else | 492 | else |
| 539 | test -d ./-p && rmdir ./-p | 493 | test -d ./-p && rmdir ./-p |
| 540 | as_mkdir_p=false | 494 | as_mkdir_p=false |
| @@ -553,10 +507,10 @@ else | |||
| 553 | if test -d "$1"; then | 507 | if test -d "$1"; then |
| 554 | test -d "$1/."; | 508 | test -d "$1/."; |
| 555 | else | 509 | else |
| 556 | case $1 in | 510 | case $1 in #( |
| 557 | -*)set "./$1";; | 511 | -*)set "./$1";; |
| 558 | esac; | 512 | esac; |
| 559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 513 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 560 | ???[sx]*):;;*)false;;esac;fi | 514 | ???[sx]*):;;*)false;;esac;fi |
| 561 | '\'' sh | 515 | '\'' sh |
| 562 | ' | 516 | ' |
| @@ -570,7 +524,6 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
| 570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 524 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 571 | 525 | ||
| 572 | 526 | ||
| 573 | |||
| 574 | exec 7<&0 </dev/null 6>&1 | 527 | exec 7<&0 </dev/null 6>&1 |
| 575 | 528 | ||
| 576 | # Name of the host. | 529 | # Name of the host. |
| @@ -589,14 +542,14 @@ cross_compiling=no | |||
| 589 | subdirs= | 542 | subdirs= |
| 590 | MFLAGS= | 543 | MFLAGS= |
| 591 | MAKEFLAGS= | 544 | MAKEFLAGS= |
| 592 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 593 | 545 | ||
| 594 | # Identity of this package. | 546 | # Identity of this package. |
| 595 | PACKAGE_NAME='emacs' | 547 | PACKAGE_NAME='emacs' |
| 596 | PACKAGE_TARNAME='emacs' | 548 | PACKAGE_TARNAME='emacs' |
| 597 | PACKAGE_VERSION='23.1.93' | 549 | PACKAGE_VERSION='24.0.50' |
| 598 | PACKAGE_STRING='emacs 23.1.93' | 550 | PACKAGE_STRING='emacs 24.0.50' |
| 599 | PACKAGE_BUGREPORT='' | 551 | PACKAGE_BUGREPORT='' |
| 552 | PACKAGE_URL='' | ||
| 600 | 553 | ||
| 601 | ac_unique_file="src/lisp.h" | 554 | ac_unique_file="src/lisp.h" |
| 602 | # Factoring default headers for most tests. | 555 | # Factoring default headers for most tests. |
| @@ -638,136 +591,137 @@ ac_includes_default="\ | |||
| 638 | ac_config_libobj_dir=src | 591 | ac_config_libobj_dir=src |
| 639 | ac_header_list= | 592 | ac_header_list= |
| 640 | ac_func_list= | 593 | ac_func_list= |
| 641 | ac_subst_vars='SHELL | 594 | ac_subst_vars='LTLIBOBJS |
| 642 | PATH_SEPARATOR | ||
| 643 | PACKAGE_NAME | ||
| 644 | PACKAGE_TARNAME | ||
| 645 | PACKAGE_VERSION | ||
| 646 | PACKAGE_STRING | ||
| 647 | PACKAGE_BUGREPORT | ||
| 648 | exec_prefix | ||
| 649 | prefix | ||
| 650 | program_transform_name | ||
| 651 | bindir | ||
| 652 | sbindir | ||
| 653 | libexecdir | ||
| 654 | datarootdir | ||
| 655 | datadir | ||
| 656 | sysconfdir | ||
| 657 | sharedstatedir | ||
| 658 | localstatedir | ||
| 659 | includedir | ||
| 660 | oldincludedir | ||
| 661 | docdir | ||
| 662 | infodir | ||
| 663 | htmldir | ||
| 664 | dvidir | ||
| 665 | pdfdir | ||
| 666 | psdir | ||
| 667 | libdir | ||
| 668 | localedir | ||
| 669 | mandir | ||
| 670 | DEFS | ||
| 671 | ECHO_C | ||
| 672 | ECHO_N | ||
| 673 | ECHO_T | ||
| 674 | LIBS | ||
| 675 | build_alias | ||
| 676 | host_alias | ||
| 677 | target_alias | ||
| 678 | MAINT | ||
| 679 | build | ||
| 680 | build_cpu | ||
| 681 | build_vendor | ||
| 682 | build_os | ||
| 683 | host | ||
| 684 | host_cpu | ||
| 685 | host_vendor | ||
| 686 | host_os | ||
| 687 | CC | ||
| 688 | CFLAGS | ||
| 689 | LDFLAGS | ||
| 690 | CPPFLAGS | ||
| 691 | ac_ct_CC | ||
| 692 | EXEEXT | ||
| 693 | OBJEXT | ||
| 694 | CPP | ||
| 695 | GREP | ||
| 696 | EGREP | ||
| 697 | LN_S | ||
| 698 | INSTALL_PROGRAM | ||
| 699 | INSTALL_SCRIPT | ||
| 700 | INSTALL_DATA | ||
| 701 | RANLIB | ||
| 702 | INSTALL_INFO | ||
| 703 | GZIP_PROG | ||
| 704 | MAKEINFO | ||
| 705 | LIBSOUND | ||
| 706 | PKG_CONFIG | ||
| 707 | ALSA_CFLAGS | ||
| 708 | ALSA_LIBS | ||
| 709 | CFLAGS_SOUND | ||
| 710 | SET_MAKE | ||
| 711 | XMKMF | ||
| 712 | HAVE_XSERVER | ||
| 713 | RSVG_CFLAGS | ||
| 714 | RSVG_LIBS | ||
| 715 | GTK_CFLAGS | ||
| 716 | GTK_LIBS | ||
| 717 | DBUS_CFLAGS | ||
| 718 | DBUS_LIBS | ||
| 719 | GCONF_CFLAGS | ||
| 720 | GCONF_LIBS | ||
| 721 | FONTCONFIG_CFLAGS | ||
| 722 | FONTCONFIG_LIBS | ||
| 723 | XFT_CFLAGS | ||
| 724 | XFT_LIBS | ||
| 725 | LIBOTF_CFLAGS | ||
| 726 | LIBOTF_LIBS | ||
| 727 | M17N_FLT_CFLAGS | ||
| 728 | M17N_FLT_LIBS | ||
| 729 | FREETYPE_CFLAGS | ||
| 730 | FREETYPE_LIBS | ||
| 731 | ALLOCA | ||
| 732 | liblockfile | ||
| 733 | LIBOBJS | ||
| 734 | NEED_SETGID | ||
| 735 | KMEM_GROUP | ||
| 736 | GETLOADAVG_LIBS | ||
| 737 | GETOPT_H | ||
| 738 | GETOPTOBJS | ||
| 739 | version | ||
| 740 | configuration | ||
| 741 | canonical | ||
| 742 | srcdir | ||
| 743 | lispdir | ||
| 744 | locallisppath | ||
| 745 | lisppath | ||
| 746 | x_default_search_path | ||
| 747 | etcdir | ||
| 748 | archlibdir | ||
| 749 | bitmapdir | ||
| 750 | gamedir | ||
| 751 | gameuser | ||
| 752 | c_switch_system | ||
| 753 | c_switch_machine | ||
| 754 | LD_SWITCH_X_SITE | ||
| 755 | LD_SWITCH_X_SITE_AUX | ||
| 756 | C_SWITCH_X_SITE | ||
| 757 | X_TOOLKIT_TYPE | ||
| 758 | machfile | ||
| 759 | opsysfile | ||
| 760 | ns_appdir | ||
| 761 | ns_appbindir | ||
| 762 | ns_appresdir | ||
| 763 | ns_appsrc | ||
| 764 | GNUSTEP_MAKEFILES | ||
| 765 | GNUSTEP_SYSTEM_HEADERS | ||
| 766 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 767 | GNU_OBJC_CFLAGS | ||
| 768 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 769 | OTHER_FILES | 595 | OTHER_FILES |
| 770 | LTLIBOBJS' | 596 | LIB_SRC_EXTRA_INSTALLABLES |
| 597 | GNU_OBJC_CFLAGS | ||
| 598 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 599 | GNUSTEP_SYSTEM_HEADERS | ||
| 600 | GNUSTEP_MAKEFILES | ||
| 601 | ns_appsrc | ||
| 602 | ns_appresdir | ||
| 603 | ns_appbindir | ||
| 604 | ns_appdir | ||
| 605 | opsysfile | ||
| 606 | machfile | ||
| 607 | X_TOOLKIT_TYPE | ||
| 608 | C_SWITCH_X_SITE | ||
| 609 | LD_SWITCH_X_SITE_AUX | ||
| 610 | LD_SWITCH_X_SITE | ||
| 611 | c_switch_machine | ||
| 612 | c_switch_system | ||
| 613 | gameuser | ||
| 614 | gamedir | ||
| 615 | bitmapdir | ||
| 616 | archlibdir | ||
| 617 | etcdir | ||
| 618 | x_default_search_path | ||
| 619 | lisppath | ||
| 620 | locallisppath | ||
| 621 | lispdir | ||
| 622 | srcdir | ||
| 623 | canonical | ||
| 624 | configuration | ||
| 625 | version | ||
| 626 | GETOPTOBJS | ||
| 627 | GETOPT_H | ||
| 628 | GETLOADAVG_LIBS | ||
| 629 | KMEM_GROUP | ||
| 630 | NEED_SETGID | ||
| 631 | LIBOBJS | ||
| 632 | liblockfile | ||
| 633 | ALLOCA | ||
| 634 | FREETYPE_LIBS | ||
| 635 | FREETYPE_CFLAGS | ||
| 636 | M17N_FLT_LIBS | ||
| 637 | M17N_FLT_CFLAGS | ||
| 638 | LIBOTF_LIBS | ||
| 639 | LIBOTF_CFLAGS | ||
| 640 | XFT_LIBS | ||
| 641 | XFT_CFLAGS | ||
| 642 | FONTCONFIG_LIBS | ||
| 643 | FONTCONFIG_CFLAGS | ||
| 644 | GCONF_LIBS | ||
| 645 | GCONF_CFLAGS | ||
| 646 | DBUS_LIBS | ||
| 647 | DBUS_CFLAGS | ||
| 648 | GTK_LIBS | ||
| 649 | GTK_CFLAGS | ||
| 650 | RSVG_LIBS | ||
| 651 | RSVG_CFLAGS | ||
| 652 | HAVE_XSERVER | ||
| 653 | XMKMF | ||
| 654 | SET_MAKE | ||
| 655 | CFLAGS_SOUND | ||
| 656 | ALSA_LIBS | ||
| 657 | ALSA_CFLAGS | ||
| 658 | PKG_CONFIG | ||
| 659 | LIBSOUND | ||
| 660 | MAKEINFO | ||
| 661 | GZIP_PROG | ||
| 662 | INSTALL_INFO | ||
| 663 | RANLIB | ||
| 664 | INSTALL_DATA | ||
| 665 | INSTALL_SCRIPT | ||
| 666 | INSTALL_PROGRAM | ||
| 667 | LN_S | ||
| 668 | EGREP | ||
| 669 | GREP | ||
| 670 | CPP | ||
| 671 | OBJEXT | ||
| 672 | EXEEXT | ||
| 673 | ac_ct_CC | ||
| 674 | CPPFLAGS | ||
| 675 | LDFLAGS | ||
| 676 | CFLAGS | ||
| 677 | CC | ||
| 678 | host_os | ||
| 679 | host_vendor | ||
| 680 | host_cpu | ||
| 681 | host | ||
| 682 | build_os | ||
| 683 | build_vendor | ||
| 684 | build_cpu | ||
| 685 | build | ||
| 686 | MAINT | ||
| 687 | target_alias | ||
| 688 | host_alias | ||
| 689 | build_alias | ||
| 690 | LIBS | ||
| 691 | ECHO_T | ||
| 692 | ECHO_N | ||
| 693 | ECHO_C | ||
| 694 | DEFS | ||
| 695 | mandir | ||
| 696 | localedir | ||
| 697 | libdir | ||
| 698 | psdir | ||
| 699 | pdfdir | ||
| 700 | dvidir | ||
| 701 | htmldir | ||
| 702 | infodir | ||
| 703 | docdir | ||
| 704 | oldincludedir | ||
| 705 | includedir | ||
| 706 | localstatedir | ||
| 707 | sharedstatedir | ||
| 708 | sysconfdir | ||
| 709 | datadir | ||
| 710 | datarootdir | ||
| 711 | libexecdir | ||
| 712 | sbindir | ||
| 713 | bindir | ||
| 714 | program_transform_name | ||
| 715 | prefix | ||
| 716 | exec_prefix | ||
| 717 | PACKAGE_URL | ||
| 718 | PACKAGE_BUGREPORT | ||
| 719 | PACKAGE_STRING | ||
| 720 | PACKAGE_VERSION | ||
| 721 | PACKAGE_TARNAME | ||
| 722 | PACKAGE_NAME | ||
| 723 | PATH_SEPARATOR | ||
| 724 | SHELL' | ||
| 771 | ac_subst_files='' | 725 | ac_subst_files='' |
| 772 | ac_user_opts=' | 726 | ac_user_opts=' |
| 773 | enable_option_checking | 727 | enable_option_checking |
| @@ -927,8 +881,7 @@ do | |||
| 927 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 881 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 928 | # Reject names that are not valid shell variable names. | 882 | # Reject names that are not valid shell variable names. |
| 929 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 883 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 930 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | 884 | as_fn_error "invalid feature name: $ac_useropt" |
| 931 | { (exit 1); exit 1; }; } | ||
| 932 | ac_useropt_orig=$ac_useropt | 885 | ac_useropt_orig=$ac_useropt |
| 933 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 886 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 934 | case $ac_user_opts in | 887 | case $ac_user_opts in |
| @@ -954,8 +907,7 @@ do | |||
| 954 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 907 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 955 | # Reject names that are not valid shell variable names. | 908 | # Reject names that are not valid shell variable names. |
| 956 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 909 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 957 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | 910 | as_fn_error "invalid feature name: $ac_useropt" |
| 958 | { (exit 1); exit 1; }; } | ||
| 959 | ac_useropt_orig=$ac_useropt | 911 | ac_useropt_orig=$ac_useropt |
| 960 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 912 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 961 | case $ac_user_opts in | 913 | case $ac_user_opts in |
| @@ -1159,8 +1111,7 @@ do | |||
| 1159 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1111 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1160 | # Reject names that are not valid shell variable names. | 1112 | # Reject names that are not valid shell variable names. |
| 1161 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1113 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1162 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | 1114 | as_fn_error "invalid package name: $ac_useropt" |
| 1163 | { (exit 1); exit 1; }; } | ||
| 1164 | ac_useropt_orig=$ac_useropt | 1115 | ac_useropt_orig=$ac_useropt |
| 1165 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1116 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1166 | case $ac_user_opts in | 1117 | case $ac_user_opts in |
| @@ -1176,8 +1127,7 @@ do | |||
| 1176 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1127 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1177 | # Reject names that are not valid shell variable names. | 1128 | # Reject names that are not valid shell variable names. |
| 1178 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1129 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1179 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | 1130 | as_fn_error "invalid package name: $ac_useropt" |
| 1180 | { (exit 1); exit 1; }; } | ||
| 1181 | ac_useropt_orig=$ac_useropt | 1131 | ac_useropt_orig=$ac_useropt |
| 1182 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1132 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1183 | case $ac_user_opts in | 1133 | case $ac_user_opts in |
| @@ -1207,17 +1157,17 @@ do | |||
| 1207 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1157 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1208 | x_libraries=$ac_optarg ;; | 1158 | x_libraries=$ac_optarg ;; |
| 1209 | 1159 | ||
| 1210 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | 1160 | -*) as_fn_error "unrecognized option: \`$ac_option' |
| 1211 | Try \`$0 --help' for more information." >&2 | 1161 | Try \`$0 --help' for more information." |
| 1212 | { (exit 1); exit 1; }; } | ||
| 1213 | ;; | 1162 | ;; |
| 1214 | 1163 | ||
| 1215 | *=*) | 1164 | *=*) |
| 1216 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1165 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1217 | # Reject names that are not valid shell variable names. | 1166 | # Reject names that are not valid shell variable names. |
| 1218 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1167 | case $ac_envvar in #( |
| 1219 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1168 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1220 | { (exit 1); exit 1; }; } | 1169 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1170 | esac | ||
| 1221 | eval $ac_envvar=\$ac_optarg | 1171 | eval $ac_envvar=\$ac_optarg |
| 1222 | export $ac_envvar ;; | 1172 | export $ac_envvar ;; |
| 1223 | 1173 | ||
| @@ -1234,16 +1184,14 @@ done | |||
| 1234 | 1184 | ||
| 1235 | if test -n "$ac_prev"; then | 1185 | if test -n "$ac_prev"; then |
| 1236 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1186 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1237 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | 1187 | as_fn_error "missing argument to $ac_option" |
| 1238 | { (exit 1); exit 1; }; } | ||
| 1239 | fi | 1188 | fi |
| 1240 | 1189 | ||
| 1241 | if test -n "$ac_unrecognized_opts"; then | 1190 | if test -n "$ac_unrecognized_opts"; then |
| 1242 | case $enable_option_checking in | 1191 | case $enable_option_checking in |
| 1243 | no) ;; | 1192 | no) ;; |
| 1244 | fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 | 1193 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1245 | { (exit 1); exit 1; }; } ;; | 1194 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1246 | *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1247 | esac | 1195 | esac |
| 1248 | fi | 1196 | fi |
| 1249 | 1197 | ||
| @@ -1265,8 +1213,7 @@ do | |||
| 1265 | [\\/$]* | ?:[\\/]* ) continue;; | 1213 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1266 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1214 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1267 | esac | 1215 | esac |
| 1268 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1216 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1269 | { (exit 1); exit 1; }; } | ||
| 1270 | done | 1217 | done |
| 1271 | 1218 | ||
| 1272 | # There might be people who depend on the old broken behavior: `$host' | 1219 | # There might be people who depend on the old broken behavior: `$host' |
| @@ -1296,11 +1243,9 @@ test "$silent" = yes && exec 6>/dev/null | |||
| 1296 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1243 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1297 | ac_ls_di=`ls -di .` && | 1244 | ac_ls_di=`ls -di .` && |
| 1298 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1245 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1299 | { $as_echo "$as_me: error: Working directory cannot be determined" >&2 | 1246 | as_fn_error "working directory cannot be determined" |
| 1300 | { (exit 1); exit 1; }; } | ||
| 1301 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1247 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1302 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | 1248 | as_fn_error "pwd does not report name of working directory" |
| 1303 | { (exit 1); exit 1; }; } | ||
| 1304 | 1249 | ||
| 1305 | 1250 | ||
| 1306 | # Find the source files, if location was not specified. | 1251 | # Find the source files, if location was not specified. |
| @@ -1339,13 +1284,11 @@ else | |||
| 1339 | fi | 1284 | fi |
| 1340 | if test ! -r "$srcdir/$ac_unique_file"; then | 1285 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1341 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1286 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1342 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1287 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1343 | { (exit 1); exit 1; }; } | ||
| 1344 | fi | 1288 | fi |
| 1345 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1289 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1346 | ac_abs_confdir=`( | 1290 | ac_abs_confdir=`( |
| 1347 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | 1291 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1348 | { (exit 1); exit 1; }; } | ||
| 1349 | pwd)` | 1292 | pwd)` |
| 1350 | # When building in place, set srcdir=. | 1293 | # When building in place, set srcdir=. |
| 1351 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1294 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| @@ -1371,7 +1314,7 @@ if test "$ac_init_help" = "long"; then | |||
| 1371 | # Omit some internal or obsolete options to make the list less imposing. | 1314 | # Omit some internal or obsolete options to make the list less imposing. |
| 1372 | # This message is too long to be a string in the A/UX 3.1 sh. | 1315 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1373 | cat <<_ACEOF | 1316 | cat <<_ACEOF |
| 1374 | \`configure' configures emacs 23.1.93 to adapt to many kinds of systems. | 1317 | \`configure' configures emacs 24.0.50 to adapt to many kinds of systems. |
| 1375 | 1318 | ||
| 1376 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1319 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1377 | 1320 | ||
| @@ -1445,7 +1388,7 @@ fi | |||
| 1445 | 1388 | ||
| 1446 | if test -n "$ac_init_help"; then | 1389 | if test -n "$ac_init_help"; then |
| 1447 | case $ac_init_help in | 1390 | case $ac_init_help in |
| 1448 | short | recursive ) echo "Configuration of emacs 23.1.93:";; | 1391 | short | recursive ) echo "Configuration of emacs 24.0.50:";; |
| 1449 | esac | 1392 | esac |
| 1450 | cat <<\_ACEOF | 1393 | cat <<\_ACEOF |
| 1451 | 1394 | ||
| @@ -1526,6 +1469,7 @@ Some influential environment variables: | |||
| 1526 | Use these variables to override the choices made by `configure' or to help | 1469 | Use these variables to override the choices made by `configure' or to help |
| 1527 | it to find libraries and programs with nonstandard names/locations. | 1470 | it to find libraries and programs with nonstandard names/locations. |
| 1528 | 1471 | ||
| 1472 | Report bugs to the package provider. | ||
| 1529 | _ACEOF | 1473 | _ACEOF |
| 1530 | ac_status=$? | 1474 | ac_status=$? |
| 1531 | fi | 1475 | fi |
| @@ -1588,22 +1532,552 @@ fi | |||
| 1588 | test -n "$ac_init_help" && exit $ac_status | 1532 | test -n "$ac_init_help" && exit $ac_status |
| 1589 | if $ac_init_version; then | 1533 | if $ac_init_version; then |
| 1590 | cat <<\_ACEOF | 1534 | cat <<\_ACEOF |
| 1591 | emacs configure 23.1.93 | 1535 | emacs configure 24.0.50 |
| 1592 | generated by GNU Autoconf 2.62 | 1536 | generated by GNU Autoconf 2.64 |
| 1593 | 1537 | ||
| 1594 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1538 | Copyright (C) 2009 Free Software Foundation, Inc. |
| 1595 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
| 1596 | This configure script is free software; the Free Software Foundation | 1539 | This configure script is free software; the Free Software Foundation |
| 1597 | gives unlimited permission to copy, distribute and modify it. | 1540 | gives unlimited permission to copy, distribute and modify it. |
| 1598 | _ACEOF | 1541 | _ACEOF |
| 1599 | exit | 1542 | exit |
| 1600 | fi | 1543 | fi |
| 1544 | |||
| 1545 | ## ------------------------ ## | ||
| 1546 | ## Autoconf initialization. ## | ||
| 1547 | ## ------------------------ ## | ||
| 1548 | |||
| 1549 | # ac_fn_c_try_compile LINENO | ||
| 1550 | # -------------------------- | ||
| 1551 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1552 | ac_fn_c_try_compile () | ||
| 1553 | { | ||
| 1554 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1555 | rm -f conftest.$ac_objext | ||
| 1556 | if { { ac_try="$ac_compile" | ||
| 1557 | case "(($ac_try" in | ||
| 1558 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1559 | *) ac_try_echo=$ac_try;; | ||
| 1560 | esac | ||
| 1561 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1562 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1563 | (eval "$ac_compile") 2>conftest.err | ||
| 1564 | ac_status=$? | ||
| 1565 | if test -s conftest.err; then | ||
| 1566 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1567 | cat conftest.er1 >&5 | ||
| 1568 | mv -f conftest.er1 conftest.err | ||
| 1569 | fi | ||
| 1570 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1571 | test $ac_status = 0; } && { | ||
| 1572 | test -z "$ac_c_werror_flag" || | ||
| 1573 | test ! -s conftest.err | ||
| 1574 | } && test -s conftest.$ac_objext; then : | ||
| 1575 | ac_retval=0 | ||
| 1576 | else | ||
| 1577 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1578 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1579 | |||
| 1580 | ac_retval=1 | ||
| 1581 | fi | ||
| 1582 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1583 | return $ac_retval | ||
| 1584 | |||
| 1585 | } # ac_fn_c_try_compile | ||
| 1586 | |||
| 1587 | # ac_fn_c_try_link LINENO | ||
| 1588 | # ----------------------- | ||
| 1589 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1590 | ac_fn_c_try_link () | ||
| 1591 | { | ||
| 1592 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1593 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1594 | if { { ac_try="$ac_link" | ||
| 1595 | case "(($ac_try" in | ||
| 1596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1597 | *) ac_try_echo=$ac_try;; | ||
| 1598 | esac | ||
| 1599 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1600 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1601 | (eval "$ac_link") 2>conftest.err | ||
| 1602 | ac_status=$? | ||
| 1603 | if test -s conftest.err; then | ||
| 1604 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1605 | cat conftest.er1 >&5 | ||
| 1606 | mv -f conftest.er1 conftest.err | ||
| 1607 | fi | ||
| 1608 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1609 | test $ac_status = 0; } && { | ||
| 1610 | test -z "$ac_c_werror_flag" || | ||
| 1611 | test ! -s conftest.err | ||
| 1612 | } && test -s conftest$ac_exeext && { | ||
| 1613 | test "$cross_compiling" = yes || | ||
| 1614 | $as_test_x conftest$ac_exeext | ||
| 1615 | }; then : | ||
| 1616 | ac_retval=0 | ||
| 1617 | else | ||
| 1618 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1619 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1620 | |||
| 1621 | ac_retval=1 | ||
| 1622 | fi | ||
| 1623 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1624 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1625 | # interfere with the next link command; also delete a directory that is | ||
| 1626 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1627 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1628 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1629 | return $ac_retval | ||
| 1630 | |||
| 1631 | } # ac_fn_c_try_link | ||
| 1632 | |||
| 1633 | # ac_fn_c_try_cpp LINENO | ||
| 1634 | # ---------------------- | ||
| 1635 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1636 | ac_fn_c_try_cpp () | ||
| 1637 | { | ||
| 1638 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1639 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1640 | case "(($ac_try" in | ||
| 1641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1642 | *) ac_try_echo=$ac_try;; | ||
| 1643 | esac | ||
| 1644 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1645 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1646 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1647 | ac_status=$? | ||
| 1648 | if test -s conftest.err; then | ||
| 1649 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1650 | cat conftest.er1 >&5 | ||
| 1651 | mv -f conftest.er1 conftest.err | ||
| 1652 | fi | ||
| 1653 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1654 | test $ac_status = 0; } >/dev/null && { | ||
| 1655 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1656 | test ! -s conftest.err | ||
| 1657 | }; then : | ||
| 1658 | ac_retval=0 | ||
| 1659 | else | ||
| 1660 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1661 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1662 | |||
| 1663 | ac_retval=1 | ||
| 1664 | fi | ||
| 1665 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1666 | return $ac_retval | ||
| 1667 | |||
| 1668 | } # ac_fn_c_try_cpp | ||
| 1669 | |||
| 1670 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
| 1671 | # ------------------------------------------------------- | ||
| 1672 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
| 1673 | # the include files in INCLUDES and setting the cache variable VAR | ||
| 1674 | # accordingly. | ||
| 1675 | ac_fn_c_check_header_mongrel () | ||
| 1676 | { | ||
| 1677 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1678 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1679 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1680 | $as_echo_n "checking for $2... " >&6; } | ||
| 1681 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1682 | $as_echo_n "(cached) " >&6 | ||
| 1683 | fi | ||
| 1684 | eval ac_res=\$$3 | ||
| 1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1686 | $as_echo "$ac_res" >&6; } | ||
| 1687 | else | ||
| 1688 | # Is the header compilable? | ||
| 1689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
| 1690 | $as_echo_n "checking $2 usability... " >&6; } | ||
| 1691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1692 | /* end confdefs.h. */ | ||
| 1693 | $4 | ||
| 1694 | #include <$2> | ||
| 1695 | _ACEOF | ||
| 1696 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1697 | ac_header_compiler=yes | ||
| 1698 | else | ||
| 1699 | ac_header_compiler=no | ||
| 1700 | fi | ||
| 1701 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
| 1703 | $as_echo "$ac_header_compiler" >&6; } | ||
| 1704 | |||
| 1705 | # Is the header present? | ||
| 1706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
| 1707 | $as_echo_n "checking $2 presence... " >&6; } | ||
| 1708 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1709 | /* end confdefs.h. */ | ||
| 1710 | #include <$2> | ||
| 1711 | _ACEOF | ||
| 1712 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1713 | ac_header_preproc=yes | ||
| 1714 | else | ||
| 1715 | ac_header_preproc=no | ||
| 1716 | fi | ||
| 1717 | rm -f conftest.err conftest.$ac_ext | ||
| 1718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
| 1719 | $as_echo "$ac_header_preproc" >&6; } | ||
| 1720 | |||
| 1721 | # So? What about this header? | ||
| 1722 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
| 1723 | yes:no: ) | ||
| 1724 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 1725 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 1726 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1727 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1728 | ;; | ||
| 1729 | no:yes:* ) | ||
| 1730 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
| 1731 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
| 1732 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
| 1733 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
| 1734 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
| 1735 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
| 1736 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 1737 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 1738 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1739 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1740 | ;; | ||
| 1741 | esac | ||
| 1742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1743 | $as_echo_n "checking for $2... " >&6; } | ||
| 1744 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1745 | $as_echo_n "(cached) " >&6 | ||
| 1746 | else | ||
| 1747 | eval "$3=\$ac_header_compiler" | ||
| 1748 | fi | ||
| 1749 | eval ac_res=\$$3 | ||
| 1750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1751 | $as_echo "$ac_res" >&6; } | ||
| 1752 | fi | ||
| 1753 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1754 | |||
| 1755 | } # ac_fn_c_check_header_mongrel | ||
| 1756 | |||
| 1757 | # ac_fn_c_try_run LINENO | ||
| 1758 | # ---------------------- | ||
| 1759 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
| 1760 | # that executables *can* be run. | ||
| 1761 | ac_fn_c_try_run () | ||
| 1762 | { | ||
| 1763 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1764 | if { { ac_try="$ac_link" | ||
| 1765 | case "(($ac_try" in | ||
| 1766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1767 | *) ac_try_echo=$ac_try;; | ||
| 1768 | esac | ||
| 1769 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1770 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1771 | (eval "$ac_link") 2>&5 | ||
| 1772 | ac_status=$? | ||
| 1773 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1774 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1775 | { { case "(($ac_try" in | ||
| 1776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1777 | *) ac_try_echo=$ac_try;; | ||
| 1778 | esac | ||
| 1779 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1780 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1781 | (eval "$ac_try") 2>&5 | ||
| 1782 | ac_status=$? | ||
| 1783 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1784 | test $ac_status = 0; }; }; then : | ||
| 1785 | ac_retval=0 | ||
| 1786 | else | ||
| 1787 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 1788 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1789 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1790 | |||
| 1791 | ac_retval=$ac_status | ||
| 1792 | fi | ||
| 1793 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1794 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1795 | return $ac_retval | ||
| 1796 | |||
| 1797 | } # ac_fn_c_try_run | ||
| 1798 | |||
| 1799 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1800 | # ------------------------------------------------------- | ||
| 1801 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1802 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1803 | ac_fn_c_check_header_compile () | ||
| 1804 | { | ||
| 1805 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1807 | $as_echo_n "checking for $2... " >&6; } | ||
| 1808 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1809 | $as_echo_n "(cached) " >&6 | ||
| 1810 | else | ||
| 1811 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1812 | /* end confdefs.h. */ | ||
| 1813 | $4 | ||
| 1814 | #include <$2> | ||
| 1815 | _ACEOF | ||
| 1816 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1817 | eval "$3=yes" | ||
| 1818 | else | ||
| 1819 | eval "$3=no" | ||
| 1820 | fi | ||
| 1821 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1822 | fi | ||
| 1823 | eval ac_res=\$$3 | ||
| 1824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1825 | $as_echo "$ac_res" >&6; } | ||
| 1826 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1827 | |||
| 1828 | } # ac_fn_c_check_header_compile | ||
| 1829 | |||
| 1830 | # ac_fn_c_check_header_preproc LINENO HEADER VAR | ||
| 1831 | # ---------------------------------------------- | ||
| 1832 | # Tests whether HEADER is present, setting the cache variable VAR accordingly. | ||
| 1833 | ac_fn_c_check_header_preproc () | ||
| 1834 | { | ||
| 1835 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1837 | $as_echo_n "checking for $2... " >&6; } | ||
| 1838 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1839 | $as_echo_n "(cached) " >&6 | ||
| 1840 | else | ||
| 1841 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1842 | /* end confdefs.h. */ | ||
| 1843 | #include <$2> | ||
| 1844 | _ACEOF | ||
| 1845 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1846 | eval "$3=yes" | ||
| 1847 | else | ||
| 1848 | eval "$3=no" | ||
| 1849 | fi | ||
| 1850 | rm -f conftest.err conftest.$ac_ext | ||
| 1851 | fi | ||
| 1852 | eval ac_res=\$$3 | ||
| 1853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1854 | $as_echo "$ac_res" >&6; } | ||
| 1855 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1856 | |||
| 1857 | } # ac_fn_c_check_header_preproc | ||
| 1858 | |||
| 1859 | # ac_fn_c_check_decl LINENO SYMBOL VAR | ||
| 1860 | # ------------------------------------ | ||
| 1861 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | ||
| 1862 | ac_fn_c_check_decl () | ||
| 1863 | { | ||
| 1864 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | ||
| 1866 | $as_echo_n "checking whether $2 is declared... " >&6; } | ||
| 1867 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1868 | $as_echo_n "(cached) " >&6 | ||
| 1869 | else | ||
| 1870 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1871 | /* end confdefs.h. */ | ||
| 1872 | $4 | ||
| 1873 | int | ||
| 1874 | main () | ||
| 1875 | { | ||
| 1876 | #ifndef $2 | ||
| 1877 | (void) $2; | ||
| 1878 | #endif | ||
| 1879 | |||
| 1880 | ; | ||
| 1881 | return 0; | ||
| 1882 | } | ||
| 1883 | _ACEOF | ||
| 1884 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1885 | eval "$3=yes" | ||
| 1886 | else | ||
| 1887 | eval "$3=no" | ||
| 1888 | fi | ||
| 1889 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1890 | fi | ||
| 1891 | eval ac_res=\$$3 | ||
| 1892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1893 | $as_echo "$ac_res" >&6; } | ||
| 1894 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1895 | |||
| 1896 | } # ac_fn_c_check_decl | ||
| 1897 | |||
| 1898 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 1899 | # ---------------------------------------------------- | ||
| 1900 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 1901 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 1902 | ac_fn_c_check_member () | ||
| 1903 | { | ||
| 1904 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 1906 | $as_echo_n "checking for $2.$3... " >&6; } | ||
| 1907 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1908 | $as_echo_n "(cached) " >&6 | ||
| 1909 | else | ||
| 1910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1911 | /* end confdefs.h. */ | ||
| 1912 | $5 | ||
| 1913 | int | ||
| 1914 | main () | ||
| 1915 | { | ||
| 1916 | static $2 ac_aggr; | ||
| 1917 | if (ac_aggr.$3) | ||
| 1918 | return 0; | ||
| 1919 | ; | ||
| 1920 | return 0; | ||
| 1921 | } | ||
| 1922 | _ACEOF | ||
| 1923 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1924 | eval "$4=yes" | ||
| 1925 | else | ||
| 1926 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1927 | /* end confdefs.h. */ | ||
| 1928 | $5 | ||
| 1929 | int | ||
| 1930 | main () | ||
| 1931 | { | ||
| 1932 | static $2 ac_aggr; | ||
| 1933 | if (sizeof ac_aggr.$3) | ||
| 1934 | return 0; | ||
| 1935 | ; | ||
| 1936 | return 0; | ||
| 1937 | } | ||
| 1938 | _ACEOF | ||
| 1939 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1940 | eval "$4=yes" | ||
| 1941 | else | ||
| 1942 | eval "$4=no" | ||
| 1943 | fi | ||
| 1944 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1945 | fi | ||
| 1946 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1947 | fi | ||
| 1948 | eval ac_res=\$$4 | ||
| 1949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1950 | $as_echo "$ac_res" >&6; } | ||
| 1951 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1952 | |||
| 1953 | } # ac_fn_c_check_member | ||
| 1954 | |||
| 1955 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 1956 | # ---------------------------------- | ||
| 1957 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 1958 | ac_fn_c_check_func () | ||
| 1959 | { | ||
| 1960 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1962 | $as_echo_n "checking for $2... " >&6; } | ||
| 1963 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1964 | $as_echo_n "(cached) " >&6 | ||
| 1965 | else | ||
| 1966 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1967 | /* end confdefs.h. */ | ||
| 1968 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 1969 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 1970 | #define $2 innocuous_$2 | ||
| 1971 | |||
| 1972 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 1973 | which can conflict with char $2 (); below. | ||
| 1974 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 1975 | <limits.h> exists even on freestanding compilers. */ | ||
| 1976 | |||
| 1977 | #ifdef __STDC__ | ||
| 1978 | # include <limits.h> | ||
| 1979 | #else | ||
| 1980 | # include <assert.h> | ||
| 1981 | #endif | ||
| 1982 | |||
| 1983 | #undef $2 | ||
| 1984 | |||
| 1985 | /* Override any GCC internal prototype to avoid an error. | ||
| 1986 | Use char because int might match the return type of a GCC | ||
| 1987 | builtin and then its argument prototype would still apply. */ | ||
| 1988 | #ifdef __cplusplus | ||
| 1989 | extern "C" | ||
| 1990 | #endif | ||
| 1991 | char $2 (); | ||
| 1992 | /* The GNU C library defines this for functions which it implements | ||
| 1993 | to always fail with ENOSYS. Some functions are actually named | ||
| 1994 | something starting with __ and the normal name is an alias. */ | ||
| 1995 | #if defined __stub_$2 || defined __stub___$2 | ||
| 1996 | choke me | ||
| 1997 | #endif | ||
| 1998 | |||
| 1999 | int | ||
| 2000 | main () | ||
| 2001 | { | ||
| 2002 | return $2 (); | ||
| 2003 | ; | ||
| 2004 | return 0; | ||
| 2005 | } | ||
| 2006 | _ACEOF | ||
| 2007 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 2008 | eval "$3=yes" | ||
| 2009 | else | ||
| 2010 | eval "$3=no" | ||
| 2011 | fi | ||
| 2012 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 2013 | conftest$ac_exeext conftest.$ac_ext | ||
| 2014 | fi | ||
| 2015 | eval ac_res=\$$3 | ||
| 2016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2017 | $as_echo "$ac_res" >&6; } | ||
| 2018 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2019 | |||
| 2020 | } # ac_fn_c_check_func | ||
| 2021 | |||
| 2022 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 2023 | # ------------------------------------------- | ||
| 2024 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 2025 | # variable VAR accordingly. | ||
| 2026 | ac_fn_c_check_type () | ||
| 2027 | { | ||
| 2028 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2030 | $as_echo_n "checking for $2... " >&6; } | ||
| 2031 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2032 | $as_echo_n "(cached) " >&6 | ||
| 2033 | else | ||
| 2034 | eval "$3=no" | ||
| 2035 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2036 | /* end confdefs.h. */ | ||
| 2037 | $4 | ||
| 2038 | int | ||
| 2039 | main () | ||
| 2040 | { | ||
| 2041 | if (sizeof ($2)) | ||
| 2042 | return 0; | ||
| 2043 | ; | ||
| 2044 | return 0; | ||
| 2045 | } | ||
| 2046 | _ACEOF | ||
| 2047 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2048 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2049 | /* end confdefs.h. */ | ||
| 2050 | $4 | ||
| 2051 | int | ||
| 2052 | main () | ||
| 2053 | { | ||
| 2054 | if (sizeof (($2))) | ||
| 2055 | return 0; | ||
| 2056 | ; | ||
| 2057 | return 0; | ||
| 2058 | } | ||
| 2059 | _ACEOF | ||
| 2060 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2061 | |||
| 2062 | else | ||
| 2063 | eval "$3=yes" | ||
| 2064 | fi | ||
| 2065 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2066 | fi | ||
| 2067 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2068 | fi | ||
| 2069 | eval ac_res=\$$3 | ||
| 2070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2071 | $as_echo "$ac_res" >&6; } | ||
| 2072 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2073 | |||
| 2074 | } # ac_fn_c_check_type | ||
| 1601 | cat >config.log <<_ACEOF | 2075 | cat >config.log <<_ACEOF |
| 1602 | This file contains any messages produced by compilers while | 2076 | This file contains any messages produced by compilers while |
| 1603 | running configure, to aid debugging if configure makes a mistake. | 2077 | running configure, to aid debugging if configure makes a mistake. |
| 1604 | 2078 | ||
| 1605 | It was created by emacs $as_me 23.1.93, which was | 2079 | It was created by emacs $as_me 24.0.50, which was |
| 1606 | generated by GNU Autoconf 2.62. Invocation command line was | 2080 | generated by GNU Autoconf 2.64. Invocation command line was |
| 1607 | 2081 | ||
| 1608 | $ $0 $@ | 2082 | $ $0 $@ |
| 1609 | 2083 | ||
| @@ -1639,8 +2113,8 @@ for as_dir in $PATH | |||
| 1639 | do | 2113 | do |
| 1640 | IFS=$as_save_IFS | 2114 | IFS=$as_save_IFS |
| 1641 | test -z "$as_dir" && as_dir=. | 2115 | test -z "$as_dir" && as_dir=. |
| 1642 | $as_echo "PATH: $as_dir" | 2116 | $as_echo "PATH: $as_dir" |
| 1643 | done | 2117 | done |
| 1644 | IFS=$as_save_IFS | 2118 | IFS=$as_save_IFS |
| 1645 | 2119 | ||
| 1646 | } >&5 | 2120 | } >&5 |
| @@ -1677,9 +2151,9 @@ do | |||
| 1677 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 2151 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1678 | esac | 2152 | esac |
| 1679 | case $ac_pass in | 2153 | case $ac_pass in |
| 1680 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 2154 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1681 | 2) | 2155 | 2) |
| 1682 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 2156 | as_fn_append ac_configure_args1 " '$ac_arg'" |
| 1683 | if test $ac_must_keep_next = true; then | 2157 | if test $ac_must_keep_next = true; then |
| 1684 | ac_must_keep_next=false # Got value, back to normal. | 2158 | ac_must_keep_next=false # Got value, back to normal. |
| 1685 | else | 2159 | else |
| @@ -1695,13 +2169,13 @@ do | |||
| 1695 | -* ) ac_must_keep_next=true ;; | 2169 | -* ) ac_must_keep_next=true ;; |
| 1696 | esac | 2170 | esac |
| 1697 | fi | 2171 | fi |
| 1698 | ac_configure_args="$ac_configure_args '$ac_arg'" | 2172 | as_fn_append ac_configure_args " '$ac_arg'" |
| 1699 | ;; | 2173 | ;; |
| 1700 | esac | 2174 | esac |
| 1701 | done | 2175 | done |
| 1702 | done | 2176 | done |
| 1703 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 2177 | { ac_configure_args0=; unset ac_configure_args0;} |
| 1704 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 2178 | { ac_configure_args1=; unset ac_configure_args1;} |
| 1705 | 2179 | ||
| 1706 | # When interrupted or exit'd, cleanup temporary files, and complete | 2180 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 1707 | # config.log. We remove comments because anyway the quotes in there | 2181 | # config.log. We remove comments because anyway the quotes in there |
| @@ -1726,13 +2200,13 @@ _ASBOX | |||
| 1726 | case $ac_val in #( | 2200 | case $ac_val in #( |
| 1727 | *${as_nl}*) | 2201 | *${as_nl}*) |
| 1728 | case $ac_var in #( | 2202 | case $ac_var in #( |
| 1729 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 2203 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 1730 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 2204 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1731 | esac | 2205 | esac |
| 1732 | case $ac_var in #( | 2206 | case $ac_var in #( |
| 1733 | _ | IFS | as_nl) ;; #( | 2207 | _ | IFS | as_nl) ;; #( |
| 1734 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 2208 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 1735 | *) $as_unset $ac_var ;; | 2209 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 1736 | esac ;; | 2210 | esac ;; |
| 1737 | esac | 2211 | esac |
| 1738 | done | 2212 | done |
| @@ -1804,39 +2278,41 @@ _ASBOX | |||
| 1804 | exit $exit_status | 2278 | exit $exit_status |
| 1805 | ' 0 | 2279 | ' 0 |
| 1806 | for ac_signal in 1 2 13 15; do | 2280 | for ac_signal in 1 2 13 15; do |
| 1807 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 2281 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 1808 | done | 2282 | done |
| 1809 | ac_signal=0 | 2283 | ac_signal=0 |
| 1810 | 2284 | ||
| 1811 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2285 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1812 | rm -f -r conftest* confdefs.h | 2286 | rm -f -r conftest* confdefs.h |
| 1813 | 2287 | ||
| 2288 | $as_echo "/* confdefs.h */" > confdefs.h | ||
| 2289 | |||
| 1814 | # Predefined preprocessor variables. | 2290 | # Predefined preprocessor variables. |
| 1815 | 2291 | ||
| 1816 | cat >>confdefs.h <<_ACEOF | 2292 | cat >>confdefs.h <<_ACEOF |
| 1817 | #define PACKAGE_NAME "$PACKAGE_NAME" | 2293 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 1818 | _ACEOF | 2294 | _ACEOF |
| 1819 | 2295 | ||
| 1820 | |||
| 1821 | cat >>confdefs.h <<_ACEOF | 2296 | cat >>confdefs.h <<_ACEOF |
| 1822 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2297 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1823 | _ACEOF | 2298 | _ACEOF |
| 1824 | 2299 | ||
| 1825 | |||
| 1826 | cat >>confdefs.h <<_ACEOF | 2300 | cat >>confdefs.h <<_ACEOF |
| 1827 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2301 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1828 | _ACEOF | 2302 | _ACEOF |
| 1829 | 2303 | ||
| 1830 | |||
| 1831 | cat >>confdefs.h <<_ACEOF | 2304 | cat >>confdefs.h <<_ACEOF |
| 1832 | #define PACKAGE_STRING "$PACKAGE_STRING" | 2305 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 1833 | _ACEOF | 2306 | _ACEOF |
| 1834 | 2307 | ||
| 1835 | |||
| 1836 | cat >>confdefs.h <<_ACEOF | 2308 | cat >>confdefs.h <<_ACEOF |
| 1837 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2309 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1838 | _ACEOF | 2310 | _ACEOF |
| 1839 | 2311 | ||
| 2312 | cat >>confdefs.h <<_ACEOF | ||
| 2313 | #define PACKAGE_URL "$PACKAGE_URL" | ||
| 2314 | _ACEOF | ||
| 2315 | |||
| 1840 | 2316 | ||
| 1841 | # Let the site file select an alternate cache file if it wants to. | 2317 | # Let the site file select an alternate cache file if it wants to. |
| 1842 | # Prefer an explicitly selected file to automatically selected ones. | 2318 | # Prefer an explicitly selected file to automatically selected ones. |
| @@ -1855,7 +2331,7 @@ for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |||
| 1855 | do | 2331 | do |
| 1856 | test "x$ac_site_file" = xNONE && continue | 2332 | test "x$ac_site_file" = xNONE && continue |
| 1857 | if test -r "$ac_site_file"; then | 2333 | if test -r "$ac_site_file"; then |
| 1858 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2334 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 1859 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2335 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1860 | sed 's/^/| /' "$ac_site_file" >&5 | 2336 | sed 's/^/| /' "$ac_site_file" >&5 |
| 1861 | . "$ac_site_file" | 2337 | . "$ac_site_file" |
| @@ -1866,7 +2342,7 @@ if test -r "$cache_file"; then | |||
| 1866 | # Some versions of bash will fail to source /dev/null (special | 2342 | # Some versions of bash will fail to source /dev/null (special |
| 1867 | # files actually), so we avoid doing that. | 2343 | # files actually), so we avoid doing that. |
| 1868 | if test -f "$cache_file"; then | 2344 | if test -f "$cache_file"; then |
| 1869 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2345 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 1870 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 2346 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 1871 | case $cache_file in | 2347 | case $cache_file in |
| 1872 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2348 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| @@ -1874,14 +2350,14 @@ $as_echo "$as_me: loading cache $cache_file" >&6;} | |||
| 1874 | esac | 2350 | esac |
| 1875 | fi | 2351 | fi |
| 1876 | else | 2352 | else |
| 1877 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2353 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 1878 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 2354 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
| 1879 | >$cache_file | 2355 | >$cache_file |
| 1880 | fi | 2356 | fi |
| 1881 | 2357 | ||
| 1882 | ac_header_list="$ac_header_list sys/time.h" | 2358 | as_fn_append ac_header_list " sys/time.h" |
| 1883 | ac_header_list="$ac_header_list unistd.h" | 2359 | as_fn_append ac_header_list " unistd.h" |
| 1884 | ac_func_list="$ac_func_list alarm" | 2360 | as_fn_append ac_func_list " alarm" |
| 1885 | # Check that the precious variables saved in the cache have kept the same | 2361 | # Check that the precious variables saved in the cache have kept the same |
| 1886 | # value. | 2362 | # value. |
| 1887 | ac_cache_corrupted=false | 2363 | ac_cache_corrupted=false |
| @@ -1892,11 +2368,11 @@ for ac_var in $ac_precious_vars; do | |||
| 1892 | eval ac_new_val=\$ac_env_${ac_var}_value | 2368 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 1893 | case $ac_old_set,$ac_new_set in | 2369 | case $ac_old_set,$ac_new_set in |
| 1894 | set,) | 2370 | set,) |
| 1895 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2371 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1896 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2372 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1897 | ac_cache_corrupted=: ;; | 2373 | ac_cache_corrupted=: ;; |
| 1898 | ,set) | 2374 | ,set) |
| 1899 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2375 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 1900 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2376 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1901 | ac_cache_corrupted=: ;; | 2377 | ac_cache_corrupted=: ;; |
| 1902 | ,);; | 2378 | ,);; |
| @@ -1906,17 +2382,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |||
| 1906 | ac_old_val_w=`echo x $ac_old_val` | 2382 | ac_old_val_w=`echo x $ac_old_val` |
| 1907 | ac_new_val_w=`echo x $ac_new_val` | 2383 | ac_new_val_w=`echo x $ac_new_val` |
| 1908 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 2384 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 1909 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2385 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1910 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2386 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1911 | ac_cache_corrupted=: | 2387 | ac_cache_corrupted=: |
| 1912 | else | 2388 | else |
| 1913 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 2389 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 1914 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 2390 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 1915 | eval $ac_var=\$ac_old_val | 2391 | eval $ac_var=\$ac_old_val |
| 1916 | fi | 2392 | fi |
| 1917 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | 2393 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 1918 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 2394 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 1919 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | 2395 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 1920 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 2396 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 1921 | fi;; | 2397 | fi;; |
| 1922 | esac | 2398 | esac |
| @@ -1928,41 +2404,20 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |||
| 1928 | esac | 2404 | esac |
| 1929 | case " $ac_configure_args " in | 2405 | case " $ac_configure_args " in |
| 1930 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2406 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1931 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2407 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 1932 | esac | 2408 | esac |
| 1933 | fi | 2409 | fi |
| 1934 | done | 2410 | done |
| 1935 | if $ac_cache_corrupted; then | 2411 | if $ac_cache_corrupted; then |
| 1936 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2412 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2413 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2414 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 1937 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2415 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1938 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2416 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 1939 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
| 1940 | { (exit 1); exit 1; }; } | ||
| 1941 | fi | 2417 | fi |
| 1942 | 2418 | ## -------------------- ## | |
| 1943 | 2419 | ## Main body of script. ## | |
| 1944 | 2420 | ## -------------------- ## | |
| 1945 | |||
| 1946 | |||
| 1947 | |||
| 1948 | |||
| 1949 | |||
| 1950 | |||
| 1951 | |||
| 1952 | |||
| 1953 | |||
| 1954 | |||
| 1955 | |||
| 1956 | |||
| 1957 | |||
| 1958 | |||
| 1959 | |||
| 1960 | |||
| 1961 | |||
| 1962 | |||
| 1963 | |||
| 1964 | |||
| 1965 | |||
| 1966 | 2421 | ||
| 1967 | ac_ext=c | 2422 | ac_ext=c |
| 1968 | ac_cpp='$CPP $CPPFLAGS' | 2423 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -2001,39 +2456,33 @@ gameuser=games | |||
| 2001 | 2456 | ||
| 2002 | 2457 | ||
| 2003 | # Check whether --with-pop was given. | 2458 | # Check whether --with-pop was given. |
| 2004 | if test "${with_pop+set}" = set; then | 2459 | if test "${with_pop+set}" = set; then : |
| 2005 | withval=$with_pop; | 2460 | withval=$with_pop; |
| 2006 | else | 2461 | else |
| 2007 | with_pop=yes | 2462 | with_pop=yes |
| 2008 | fi | 2463 | fi |
| 2009 | 2464 | ||
| 2010 | if test "$with_pop" = yes; then | 2465 | if test "$with_pop" = yes; then |
| 2011 | cat >>confdefs.h <<\_ACEOF | 2466 | $as_echo "#define MAIL_USE_POP 1" >>confdefs.h |
| 2012 | #define MAIL_USE_POP 1 | ||
| 2013 | _ACEOF | ||
| 2014 | 2467 | ||
| 2015 | fi | 2468 | fi |
| 2016 | 2469 | ||
| 2017 | 2470 | ||
| 2018 | |||
| 2019 | # Check whether --with-kerberos was given. | 2471 | # Check whether --with-kerberos was given. |
| 2020 | if test "${with_kerberos+set}" = set; then | 2472 | if test "${with_kerberos+set}" = set; then : |
| 2021 | withval=$with_kerberos; | 2473 | withval=$with_kerberos; |
| 2022 | else | 2474 | else |
| 2023 | with_kerberos=no | 2475 | with_kerberos=no |
| 2024 | fi | 2476 | fi |
| 2025 | 2477 | ||
| 2026 | if test "$with_kerberos" != no; then | 2478 | if test "$with_kerberos" != no; then |
| 2027 | cat >>confdefs.h <<\_ACEOF | 2479 | $as_echo "#define KERBEROS 1" >>confdefs.h |
| 2028 | #define KERBEROS 1 | ||
| 2029 | _ACEOF | ||
| 2030 | 2480 | ||
| 2031 | fi | 2481 | fi |
| 2032 | 2482 | ||
| 2033 | 2483 | ||
| 2034 | |||
| 2035 | # Check whether --with-kerberos5 was given. | 2484 | # Check whether --with-kerberos5 was given. |
| 2036 | if test "${with_kerberos5+set}" = set; then | 2485 | if test "${with_kerberos5+set}" = set; then : |
| 2037 | withval=$with_kerberos5; | 2486 | withval=$with_kerberos5; |
| 2038 | else | 2487 | else |
| 2039 | with_kerberos5=no | 2488 | with_kerberos5=no |
| @@ -2042,21 +2491,17 @@ fi | |||
| 2042 | if test "${with_kerberos5}" != no; then | 2491 | if test "${with_kerberos5}" != no; then |
| 2043 | if test "${with_kerberos}" = no; then | 2492 | if test "${with_kerberos}" = no; then |
| 2044 | with_kerberos=yes | 2493 | with_kerberos=yes |
| 2045 | cat >>confdefs.h <<\_ACEOF | 2494 | $as_echo "#define KERBEROS 1" >>confdefs.h |
| 2046 | #define KERBEROS 1 | ||
| 2047 | _ACEOF | ||
| 2048 | 2495 | ||
| 2049 | fi | 2496 | fi |
| 2050 | 2497 | ||
| 2051 | cat >>confdefs.h <<\_ACEOF | 2498 | $as_echo "#define KERBEROS5 1" >>confdefs.h |
| 2052 | #define KERBEROS5 1 | ||
| 2053 | _ACEOF | ||
| 2054 | 2499 | ||
| 2055 | fi | 2500 | fi |
| 2056 | 2501 | ||
| 2057 | 2502 | ||
| 2058 | # Check whether --with-hesiod was given. | 2503 | # Check whether --with-hesiod was given. |
| 2059 | if test "${with_hesiod+set}" = set; then | 2504 | if test "${with_hesiod+set}" = set; then : |
| 2060 | withval=$with_hesiod; | 2505 | withval=$with_hesiod; |
| 2061 | else | 2506 | else |
| 2062 | with_hesiod=no | 2507 | with_hesiod=no |
| @@ -2064,15 +2509,13 @@ fi | |||
| 2064 | 2509 | ||
| 2065 | if test "$with_hesiod" != no; then | 2510 | if test "$with_hesiod" != no; then |
| 2066 | 2511 | ||
| 2067 | cat >>confdefs.h <<\_ACEOF | 2512 | $as_echo "#define HESIOD 1" >>confdefs.h |
| 2068 | #define HESIOD 1 | ||
| 2069 | _ACEOF | ||
| 2070 | 2513 | ||
| 2071 | fi | 2514 | fi |
| 2072 | 2515 | ||
| 2073 | 2516 | ||
| 2074 | # Check whether --with-sound was given. | 2517 | # Check whether --with-sound was given. |
| 2075 | if test "${with_sound+set}" = set; then | 2518 | if test "${with_sound+set}" = set; then : |
| 2076 | withval=$with_sound; | 2519 | withval=$with_sound; |
| 2077 | else | 2520 | else |
| 2078 | with_sound=yes | 2521 | with_sound=yes |
| @@ -2081,7 +2524,7 @@ fi | |||
| 2081 | 2524 | ||
| 2082 | 2525 | ||
| 2083 | # Check whether --with-sync-input was given. | 2526 | # Check whether --with-sync-input was given. |
| 2084 | if test "${with_sync_input+set}" = set; then | 2527 | if test "${with_sync_input+set}" = set; then : |
| 2085 | withval=$with_sync_input; | 2528 | withval=$with_sync_input; |
| 2086 | else | 2529 | else |
| 2087 | with_sync_input=yes | 2530 | with_sync_input=yes |
| @@ -2089,15 +2532,13 @@ fi | |||
| 2089 | 2532 | ||
| 2090 | if test "$with_sync_input" = yes; then | 2533 | if test "$with_sync_input" = yes; then |
| 2091 | 2534 | ||
| 2092 | cat >>confdefs.h <<\_ACEOF | 2535 | $as_echo "#define SYNC_INPUT 1" >>confdefs.h |
| 2093 | #define SYNC_INPUT 1 | ||
| 2094 | _ACEOF | ||
| 2095 | 2536 | ||
| 2096 | fi | 2537 | fi |
| 2097 | 2538 | ||
| 2098 | 2539 | ||
| 2099 | # Check whether --with-x-toolkit was given. | 2540 | # Check whether --with-x-toolkit was given. |
| 2100 | if test "${with_x_toolkit+set}" = set; then | 2541 | if test "${with_x_toolkit+set}" = set; then : |
| 2101 | withval=$with_x_toolkit; case "${withval}" in | 2542 | withval=$with_x_toolkit; case "${withval}" in |
| 2102 | y | ye | yes ) val=gtk ;; | 2543 | y | ye | yes ) val=gtk ;; |
| 2103 | n | no ) val=no ;; | 2544 | n | no ) val=no ;; |
| @@ -2106,13 +2547,9 @@ if test "${with_x_toolkit+set}" = set; then | |||
| 2106 | m | mo | mot | moti | motif ) val=motif ;; | 2547 | m | mo | mot | moti | motif ) val=motif ;; |
| 2107 | g | gt | gtk ) val=gtk ;; | 2548 | g | gt | gtk ) val=gtk ;; |
| 2108 | * ) | 2549 | * ) |
| 2109 | { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; | 2550 | as_fn_error "\`--with-x-toolkit=$withval' is invalid; |
| 2110 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2551 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
| 2111 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 | 2552 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
| 2112 | $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; | ||
| 2113 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | ||
| 2114 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} | ||
| 2115 | { (exit 1); exit 1; }; } | ||
| 2116 | ;; | 2553 | ;; |
| 2117 | esac | 2554 | esac |
| 2118 | with_x_toolkit=$val | 2555 | with_x_toolkit=$val |
| @@ -2122,7 +2559,7 @@ fi | |||
| 2122 | 2559 | ||
| 2123 | 2560 | ||
| 2124 | # Check whether --with-xpm was given. | 2561 | # Check whether --with-xpm was given. |
| 2125 | if test "${with_xpm+set}" = set; then | 2562 | if test "${with_xpm+set}" = set; then : |
| 2126 | withval=$with_xpm; | 2563 | withval=$with_xpm; |
| 2127 | else | 2564 | else |
| 2128 | with_xpm=yes | 2565 | with_xpm=yes |
| @@ -2130,7 +2567,7 @@ fi | |||
| 2130 | 2567 | ||
| 2131 | 2568 | ||
| 2132 | # Check whether --with-jpeg was given. | 2569 | # Check whether --with-jpeg was given. |
| 2133 | if test "${with_jpeg+set}" = set; then | 2570 | if test "${with_jpeg+set}" = set; then : |
| 2134 | withval=$with_jpeg; | 2571 | withval=$with_jpeg; |
| 2135 | else | 2572 | else |
| 2136 | with_jpeg=yes | 2573 | with_jpeg=yes |
| @@ -2138,7 +2575,7 @@ fi | |||
| 2138 | 2575 | ||
| 2139 | 2576 | ||
| 2140 | # Check whether --with-tiff was given. | 2577 | # Check whether --with-tiff was given. |
| 2141 | if test "${with_tiff+set}" = set; then | 2578 | if test "${with_tiff+set}" = set; then : |
| 2142 | withval=$with_tiff; | 2579 | withval=$with_tiff; |
| 2143 | else | 2580 | else |
| 2144 | with_tiff=yes | 2581 | with_tiff=yes |
| @@ -2146,7 +2583,7 @@ fi | |||
| 2146 | 2583 | ||
| 2147 | 2584 | ||
| 2148 | # Check whether --with-gif was given. | 2585 | # Check whether --with-gif was given. |
| 2149 | if test "${with_gif+set}" = set; then | 2586 | if test "${with_gif+set}" = set; then : |
| 2150 | withval=$with_gif; | 2587 | withval=$with_gif; |
| 2151 | else | 2588 | else |
| 2152 | with_gif=yes | 2589 | with_gif=yes |
| @@ -2154,7 +2591,7 @@ fi | |||
| 2154 | 2591 | ||
| 2155 | 2592 | ||
| 2156 | # Check whether --with-png was given. | 2593 | # Check whether --with-png was given. |
| 2157 | if test "${with_png+set}" = set; then | 2594 | if test "${with_png+set}" = set; then : |
| 2158 | withval=$with_png; | 2595 | withval=$with_png; |
| 2159 | else | 2596 | else |
| 2160 | with_png=yes | 2597 | with_png=yes |
| @@ -2162,7 +2599,7 @@ fi | |||
| 2162 | 2599 | ||
| 2163 | 2600 | ||
| 2164 | # Check whether --with-rsvg was given. | 2601 | # Check whether --with-rsvg was given. |
| 2165 | if test "${with_rsvg+set}" = set; then | 2602 | if test "${with_rsvg+set}" = set; then : |
| 2166 | withval=$with_rsvg; | 2603 | withval=$with_rsvg; |
| 2167 | else | 2604 | else |
| 2168 | with_rsvg=yes | 2605 | with_rsvg=yes |
| @@ -2171,7 +2608,7 @@ fi | |||
| 2171 | 2608 | ||
| 2172 | 2609 | ||
| 2173 | # Check whether --with-xft was given. | 2610 | # Check whether --with-xft was given. |
| 2174 | if test "${with_xft+set}" = set; then | 2611 | if test "${with_xft+set}" = set; then : |
| 2175 | withval=$with_xft; | 2612 | withval=$with_xft; |
| 2176 | else | 2613 | else |
| 2177 | with_xft=yes | 2614 | with_xft=yes |
| @@ -2179,7 +2616,7 @@ fi | |||
| 2179 | 2616 | ||
| 2180 | 2617 | ||
| 2181 | # Check whether --with-libotf was given. | 2618 | # Check whether --with-libotf was given. |
| 2182 | if test "${with_libotf+set}" = set; then | 2619 | if test "${with_libotf+set}" = set; then : |
| 2183 | withval=$with_libotf; | 2620 | withval=$with_libotf; |
| 2184 | else | 2621 | else |
| 2185 | with_libotf=yes | 2622 | with_libotf=yes |
| @@ -2187,7 +2624,7 @@ fi | |||
| 2187 | 2624 | ||
| 2188 | 2625 | ||
| 2189 | # Check whether --with-m17n-flt was given. | 2626 | # Check whether --with-m17n-flt was given. |
| 2190 | if test "${with_m17n_flt+set}" = set; then | 2627 | if test "${with_m17n_flt+set}" = set; then : |
| 2191 | withval=$with_m17n_flt; | 2628 | withval=$with_m17n_flt; |
| 2192 | else | 2629 | else |
| 2193 | with_m17n_flt=yes | 2630 | with_m17n_flt=yes |
| @@ -2196,7 +2633,7 @@ fi | |||
| 2196 | 2633 | ||
| 2197 | 2634 | ||
| 2198 | # Check whether --with-toolkit-scroll-bars was given. | 2635 | # Check whether --with-toolkit-scroll-bars was given. |
| 2199 | if test "${with_toolkit_scroll_bars+set}" = set; then | 2636 | if test "${with_toolkit_scroll_bars+set}" = set; then : |
| 2200 | withval=$with_toolkit_scroll_bars; | 2637 | withval=$with_toolkit_scroll_bars; |
| 2201 | else | 2638 | else |
| 2202 | with_toolkit_scroll_bars=yes | 2639 | with_toolkit_scroll_bars=yes |
| @@ -2204,7 +2641,7 @@ fi | |||
| 2204 | 2641 | ||
| 2205 | 2642 | ||
| 2206 | # Check whether --with-xaw3d was given. | 2643 | # Check whether --with-xaw3d was given. |
| 2207 | if test "${with_xaw3d+set}" = set; then | 2644 | if test "${with_xaw3d+set}" = set; then : |
| 2208 | withval=$with_xaw3d; | 2645 | withval=$with_xaw3d; |
| 2209 | else | 2646 | else |
| 2210 | with_xaw3d=yes | 2647 | with_xaw3d=yes |
| @@ -2212,7 +2649,7 @@ fi | |||
| 2212 | 2649 | ||
| 2213 | 2650 | ||
| 2214 | # Check whether --with-xim was given. | 2651 | # Check whether --with-xim was given. |
| 2215 | if test "${with_xim+set}" = set; then | 2652 | if test "${with_xim+set}" = set; then : |
| 2216 | withval=$with_xim; | 2653 | withval=$with_xim; |
| 2217 | else | 2654 | else |
| 2218 | with_xim=yes | 2655 | with_xim=yes |
| @@ -2220,7 +2657,7 @@ fi | |||
| 2220 | 2657 | ||
| 2221 | 2658 | ||
| 2222 | # Check whether --with-ns was given. | 2659 | # Check whether --with-ns was given. |
| 2223 | if test "${with_ns+set}" = set; then | 2660 | if test "${with_ns+set}" = set; then : |
| 2224 | withval=$with_ns; | 2661 | withval=$with_ns; |
| 2225 | else | 2662 | else |
| 2226 | with_ns=no | 2663 | with_ns=no |
| @@ -2229,7 +2666,7 @@ fi | |||
| 2229 | 2666 | ||
| 2230 | 2667 | ||
| 2231 | # Check whether --with-gpm was given. | 2668 | # Check whether --with-gpm was given. |
| 2232 | if test "${with_gpm+set}" = set; then | 2669 | if test "${with_gpm+set}" = set; then : |
| 2233 | withval=$with_gpm; | 2670 | withval=$with_gpm; |
| 2234 | else | 2671 | else |
| 2235 | with_gpm=yes | 2672 | with_gpm=yes |
| @@ -2237,7 +2674,7 @@ fi | |||
| 2237 | 2674 | ||
| 2238 | 2675 | ||
| 2239 | # Check whether --with-dbus was given. | 2676 | # Check whether --with-dbus was given. |
| 2240 | if test "${with_dbus+set}" = set; then | 2677 | if test "${with_dbus+set}" = set; then : |
| 2241 | withval=$with_dbus; | 2678 | withval=$with_dbus; |
| 2242 | else | 2679 | else |
| 2243 | with_dbus=yes | 2680 | with_dbus=yes |
| @@ -2245,7 +2682,7 @@ fi | |||
| 2245 | 2682 | ||
| 2246 | 2683 | ||
| 2247 | # Check whether --with-gconf was given. | 2684 | # Check whether --with-gconf was given. |
| 2248 | if test "${with_gconf+set}" = set; then | 2685 | if test "${with_gconf+set}" = set; then : |
| 2249 | withval=$with_gconf; | 2686 | withval=$with_gconf; |
| 2250 | else | 2687 | else |
| 2251 | with_gconf=yes | 2688 | with_gconf=yes |
| @@ -2256,7 +2693,7 @@ fi | |||
| 2256 | ## a suitable makeinfo, and can live without the manuals. | 2693 | ## a suitable makeinfo, and can live without the manuals. |
| 2257 | 2694 | ||
| 2258 | # Check whether --with-makeinfo was given. | 2695 | # Check whether --with-makeinfo was given. |
| 2259 | if test "${with_makeinfo+set}" = set; then | 2696 | if test "${with_makeinfo+set}" = set; then : |
| 2260 | withval=$with_makeinfo; | 2697 | withval=$with_makeinfo; |
| 2261 | else | 2698 | else |
| 2262 | with_makeinfo=yes | 2699 | with_makeinfo=yes |
| @@ -2265,29 +2702,23 @@ fi | |||
| 2265 | 2702 | ||
| 2266 | 2703 | ||
| 2267 | # Check whether --with-gtk was given. | 2704 | # Check whether --with-gtk was given. |
| 2268 | if test "${with_gtk+set}" = set; then | 2705 | if test "${with_gtk+set}" = set; then : |
| 2269 | withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to | 2706 | withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to |
| 2270 | specify a toolkit." >&5 | 2707 | specify a toolkit." "$LINENO" 5 |
| 2271 | $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to | ||
| 2272 | specify a toolkit." >&2;} | ||
| 2273 | { (exit 1); exit 1; }; } | ||
| 2274 | fi | 2708 | fi |
| 2275 | 2709 | ||
| 2276 | 2710 | ||
| 2277 | 2711 | ||
| 2278 | # Check whether --with-gcc was given. | 2712 | # Check whether --with-gcc was given. |
| 2279 | if test "${with_gcc+set}" = set; then | 2713 | if test "${with_gcc+set}" = set; then : |
| 2280 | withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment | 2714 | withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment |
| 2281 | variable to specify a compiler." >&5 | 2715 | variable to specify a compiler." "$LINENO" 5 |
| 2282 | $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | ||
| 2283 | variable to specify a compiler." >&2;} | ||
| 2284 | { (exit 1); exit 1; }; } | ||
| 2285 | fi | 2716 | fi |
| 2286 | 2717 | ||
| 2287 | 2718 | ||
| 2288 | 2719 | ||
| 2289 | # Check whether --with-pkg-config-prog was given. | 2720 | # Check whether --with-pkg-config-prog was given. |
| 2290 | if test "${with_pkg_config_prog+set}" = set; then | 2721 | if test "${with_pkg_config_prog+set}" = set; then : |
| 2291 | withval=$with_pkg_config_prog; | 2722 | withval=$with_pkg_config_prog; |
| 2292 | fi | 2723 | fi |
| 2293 | 2724 | ||
| @@ -2299,7 +2730,7 @@ fi | |||
| 2299 | 2730 | ||
| 2300 | 2731 | ||
| 2301 | # Check whether --with-gnustep-conf was given. | 2732 | # Check whether --with-gnustep-conf was given. |
| 2302 | if test "${with_gnustep_conf+set}" = set; then | 2733 | if test "${with_gnustep_conf+set}" = set; then : |
| 2303 | withval=$with_gnustep_conf; | 2734 | withval=$with_gnustep_conf; |
| 2304 | fi | 2735 | fi |
| 2305 | 2736 | ||
| @@ -2309,7 +2740,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | |||
| 2309 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2740 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
| 2310 | 2741 | ||
| 2311 | # Check whether --enable-ns-self-contained was given. | 2742 | # Check whether --enable-ns-self-contained was given. |
| 2312 | if test "${enable_ns_self_contained+set}" = set; then | 2743 | if test "${enable_ns_self_contained+set}" = set; then : |
| 2313 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2744 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
| 2314 | else | 2745 | else |
| 2315 | EN_NS_SELF_CONTAINED=yes | 2746 | EN_NS_SELF_CONTAINED=yes |
| @@ -2317,7 +2748,7 @@ fi | |||
| 2317 | 2748 | ||
| 2318 | 2749 | ||
| 2319 | # Check whether --enable-asserts was given. | 2750 | # Check whether --enable-asserts was given. |
| 2320 | if test "${enable_asserts+set}" = set; then | 2751 | if test "${enable_asserts+set}" = set; then : |
| 2321 | enableval=$enable_asserts; USE_XASSERTS=$enableval | 2752 | enableval=$enable_asserts; USE_XASSERTS=$enableval |
| 2322 | else | 2753 | else |
| 2323 | USE_XASSERTS=no | 2754 | USE_XASSERTS=no |
| @@ -2325,7 +2756,7 @@ fi | |||
| 2325 | 2756 | ||
| 2326 | 2757 | ||
| 2327 | # Check whether --enable-maintainer-mode was given. | 2758 | # Check whether --enable-maintainer-mode was given. |
| 2328 | if test "${enable_maintainer_mode+set}" = set; then | 2759 | if test "${enable_maintainer_mode+set}" = set; then : |
| 2329 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2760 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2330 | else | 2761 | else |
| 2331 | USE_MAINTAINER_MODE=no | 2762 | USE_MAINTAINER_MODE=no |
| @@ -2339,7 +2770,7 @@ fi | |||
| 2339 | 2770 | ||
| 2340 | 2771 | ||
| 2341 | # Check whether --enable-locallisppath was given. | 2772 | # Check whether --enable-locallisppath was given. |
| 2342 | if test "${enable_locallisppath+set}" = set; then | 2773 | if test "${enable_locallisppath+set}" = set; then : |
| 2343 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2774 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
| 2344 | locallisppath= | 2775 | locallisppath= |
| 2345 | elif test "${enableval}" != "yes"; then | 2776 | elif test "${enableval}" != "yes"; then |
| @@ -2349,7 +2780,7 @@ fi | |||
| 2349 | 2780 | ||
| 2350 | 2781 | ||
| 2351 | # Check whether --enable-checking was given. | 2782 | # Check whether --enable-checking was given. |
| 2352 | if test "${enable_checking+set}" = set; then | 2783 | if test "${enable_checking+set}" = set; then : |
| 2353 | enableval=$enable_checking; ac_checking_flags="${enableval}" | 2784 | enableval=$enable_checking; ac_checking_flags="${enableval}" |
| 2354 | fi | 2785 | fi |
| 2355 | 2786 | ||
| @@ -2377,58 +2808,44 @@ do | |||
| 2377 | stringfreelist) ac_gc_check_string_free_list=1 ;; | 2808 | stringfreelist) ac_gc_check_string_free_list=1 ;; |
| 2378 | xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2809 | xmallocoverrun) ac_xmalloc_overrun=1 ;; |
| 2379 | conslist) ac_gc_check_cons_list=1 ;; | 2810 | conslist) ac_gc_check_cons_list=1 ;; |
| 2380 | *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 | 2811 | *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; |
| 2381 | $as_echo "$as_me: error: unknown check category $check" >&2;} | ||
| 2382 | { (exit 1); exit 1; }; } ;; | ||
| 2383 | esac | 2812 | esac |
| 2384 | done | 2813 | done |
| 2385 | IFS="$ac_save_IFS" | 2814 | IFS="$ac_save_IFS" |
| 2386 | 2815 | ||
| 2387 | if test x$ac_enable_checking != x ; then | 2816 | if test x$ac_enable_checking != x ; then |
| 2388 | 2817 | ||
| 2389 | cat >>confdefs.h <<\_ACEOF | 2818 | $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h |
| 2390 | #define ENABLE_CHECKING 1 | ||
| 2391 | _ACEOF | ||
| 2392 | 2819 | ||
| 2393 | fi | 2820 | fi |
| 2394 | if test x$ac_gc_check_stringbytes != x ; then | 2821 | if test x$ac_gc_check_stringbytes != x ; then |
| 2395 | 2822 | ||
| 2396 | cat >>confdefs.h <<\_ACEOF | 2823 | $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h |
| 2397 | #define GC_CHECK_STRING_BYTES 1 | ||
| 2398 | _ACEOF | ||
| 2399 | 2824 | ||
| 2400 | fi | 2825 | fi |
| 2401 | if test x$ac_gc_check_stringoverrun != x ; then | 2826 | if test x$ac_gc_check_stringoverrun != x ; then |
| 2402 | 2827 | ||
| 2403 | cat >>confdefs.h <<\_ACEOF | 2828 | $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h |
| 2404 | #define GC_CHECK_STRING_OVERRUN 1 | ||
| 2405 | _ACEOF | ||
| 2406 | 2829 | ||
| 2407 | fi | 2830 | fi |
| 2408 | if test x$ac_gc_check_string_free_list != x ; then | 2831 | if test x$ac_gc_check_string_free_list != x ; then |
| 2409 | 2832 | ||
| 2410 | cat >>confdefs.h <<\_ACEOF | 2833 | $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h |
| 2411 | #define GC_CHECK_STRING_FREE_LIST 1 | ||
| 2412 | _ACEOF | ||
| 2413 | 2834 | ||
| 2414 | fi | 2835 | fi |
| 2415 | if test x$ac_xmalloc_overrun != x ; then | 2836 | if test x$ac_xmalloc_overrun != x ; then |
| 2416 | 2837 | ||
| 2417 | cat >>confdefs.h <<\_ACEOF | 2838 | $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h |
| 2418 | #define XMALLOC_OVERRUN_CHECK 1 | ||
| 2419 | _ACEOF | ||
| 2420 | 2839 | ||
| 2421 | fi | 2840 | fi |
| 2422 | if test x$ac_gc_check_cons_list != x ; then | 2841 | if test x$ac_gc_check_cons_list != x ; then |
| 2423 | 2842 | ||
| 2424 | cat >>confdefs.h <<\_ACEOF | 2843 | $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h |
| 2425 | #define GC_CHECK_CONS_LIST 1 | ||
| 2426 | _ACEOF | ||
| 2427 | 2844 | ||
| 2428 | fi | 2845 | fi |
| 2429 | 2846 | ||
| 2430 | # Check whether --enable-profiling was given. | 2847 | # Check whether --enable-profiling was given. |
| 2431 | if test "${enable_profiling+set}" = set; then | 2848 | if test "${enable_profiling+set}" = set; then : |
| 2432 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2849 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
| 2433 | fi | 2850 | fi |
| 2434 | 2851 | ||
| @@ -2441,7 +2858,7 @@ else | |||
| 2441 | fi | 2858 | fi |
| 2442 | 2859 | ||
| 2443 | # Check whether --enable-autodepend was given. | 2860 | # Check whether --enable-autodepend was given. |
| 2444 | if test "${enable_autodepend+set}" = set; then | 2861 | if test "${enable_autodepend+set}" = set; then : |
| 2445 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2862 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
| 2446 | else | 2863 | else |
| 2447 | ac_enable_autodepend=yes | 2864 | ac_enable_autodepend=yes |
| @@ -2475,7 +2892,7 @@ esac | |||
| 2475 | #### Check if the source directory already has a configured system in it. | 2892 | #### Check if the source directory already has a configured system in it. |
| 2476 | if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2893 | if test `pwd` != `(cd ${srcdir} && pwd)` \ |
| 2477 | && test -f "${srcdir}/src/config.h" ; then | 2894 | && test -f "${srcdir}/src/config.h" ; then |
| 2478 | { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used | 2895 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used |
| 2479 | as a build directory right now; it has been configured in its own | 2896 | as a build directory right now; it has been configured in its own |
| 2480 | right. To configure in another directory as well, you MUST | 2897 | right. To configure in another directory as well, you MUST |
| 2481 | use GNU make. If you do not have GNU make, then you must | 2898 | use GNU make. If you do not have GNU make, then you must |
| @@ -2496,24 +2913,16 @@ fi | |||
| 2496 | 2913 | ||
| 2497 | ac_aux_dir= | 2914 | ac_aux_dir= |
| 2498 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2915 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2499 | if test -f "$ac_dir/install-sh"; then | 2916 | for ac_t in install-sh install.sh shtool; do |
| 2500 | ac_aux_dir=$ac_dir | 2917 | if test -f "$ac_dir/$ac_t"; then |
| 2501 | ac_install_sh="$ac_aux_dir/install-sh -c" | 2918 | ac_aux_dir=$ac_dir |
| 2502 | break | 2919 | ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 2503 | elif test -f "$ac_dir/install.sh"; then | 2920 | break 2 |
| 2504 | ac_aux_dir=$ac_dir | 2921 | fi |
| 2505 | ac_install_sh="$ac_aux_dir/install.sh -c" | 2922 | done |
| 2506 | break | ||
| 2507 | elif test -f "$ac_dir/shtool"; then | ||
| 2508 | ac_aux_dir=$ac_dir | ||
| 2509 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2510 | break | ||
| 2511 | fi | ||
| 2512 | done | 2923 | done |
| 2513 | if test -z "$ac_aux_dir"; then | 2924 | if test -z "$ac_aux_dir"; then |
| 2514 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | 2925 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2515 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
| 2516 | { (exit 1); exit 1; }; } | ||
| 2517 | fi | 2926 | fi |
| 2518 | 2927 | ||
| 2519 | # These three variables are undocumented and unsupported, | 2928 | # These three variables are undocumented and unsupported, |
| @@ -2527,35 +2936,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
| 2527 | 2936 | ||
| 2528 | # Make sure we can run config.sub. | 2937 | # Make sure we can run config.sub. |
| 2529 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2938 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 2530 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | 2939 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2531 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
| 2532 | { (exit 1); exit 1; }; } | ||
| 2533 | 2940 | ||
| 2534 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 | 2941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 2535 | $as_echo_n "checking build system type... " >&6; } | 2942 | $as_echo_n "checking build system type... " >&6; } |
| 2536 | if test "${ac_cv_build+set}" = set; then | 2943 | if test "${ac_cv_build+set}" = set; then : |
| 2537 | $as_echo_n "(cached) " >&6 | 2944 | $as_echo_n "(cached) " >&6 |
| 2538 | else | 2945 | else |
| 2539 | ac_build_alias=$build_alias | 2946 | ac_build_alias=$build_alias |
| 2540 | test "x$ac_build_alias" = x && | 2947 | test "x$ac_build_alias" = x && |
| 2541 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2948 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 2542 | test "x$ac_build_alias" = x && | 2949 | test "x$ac_build_alias" = x && |
| 2543 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 2950 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2544 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
| 2545 | { (exit 1); exit 1; }; } | ||
| 2546 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2951 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 2547 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | 2952 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2548 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
| 2549 | { (exit 1); exit 1; }; } | ||
| 2550 | 2953 | ||
| 2551 | fi | 2954 | fi |
| 2552 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 2955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 2553 | $as_echo "$ac_cv_build" >&6; } | 2956 | $as_echo "$ac_cv_build" >&6; } |
| 2554 | case $ac_cv_build in | 2957 | case $ac_cv_build in |
| 2555 | *-*-*) ;; | 2958 | *-*-*) ;; |
| 2556 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | 2959 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 2557 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | ||
| 2558 | { (exit 1); exit 1; }; };; | ||
| 2559 | esac | 2960 | esac |
| 2560 | build=$ac_cv_build | 2961 | build=$ac_cv_build |
| 2561 | ac_save_IFS=$IFS; IFS='-' | 2962 | ac_save_IFS=$IFS; IFS='-' |
| @@ -2571,28 +2972,24 @@ IFS=$ac_save_IFS | |||
| 2571 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2972 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 2572 | 2973 | ||
| 2573 | 2974 | ||
| 2574 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 | 2975 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 2575 | $as_echo_n "checking host system type... " >&6; } | 2976 | $as_echo_n "checking host system type... " >&6; } |
| 2576 | if test "${ac_cv_host+set}" = set; then | 2977 | if test "${ac_cv_host+set}" = set; then : |
| 2577 | $as_echo_n "(cached) " >&6 | 2978 | $as_echo_n "(cached) " >&6 |
| 2578 | else | 2979 | else |
| 2579 | if test "x$host_alias" = x; then | 2980 | if test "x$host_alias" = x; then |
| 2580 | ac_cv_host=$ac_cv_build | 2981 | ac_cv_host=$ac_cv_build |
| 2581 | else | 2982 | else |
| 2582 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2983 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 2583 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | 2984 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2584 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
| 2585 | { (exit 1); exit 1; }; } | ||
| 2586 | fi | 2985 | fi |
| 2587 | 2986 | ||
| 2588 | fi | 2987 | fi |
| 2589 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 2988 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 2590 | $as_echo "$ac_cv_host" >&6; } | 2989 | $as_echo "$ac_cv_host" >&6; } |
| 2591 | case $ac_cv_host in | 2990 | case $ac_cv_host in |
| 2592 | *-*-*) ;; | 2991 | *-*-*) ;; |
| 2593 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | 2992 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 2594 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | ||
| 2595 | { (exit 1); exit 1; }; };; | ||
| 2596 | esac | 2993 | esac |
| 2597 | host=$ac_cv_host | 2994 | host=$ac_cv_host |
| 2598 | ac_save_IFS=$IFS; IFS='-' | 2995 | ac_save_IFS=$IFS; IFS='-' |
| @@ -2672,9 +3069,7 @@ case "${canonical}" in | |||
| 2672 | opsys=netbsd | 3069 | opsys=netbsd |
| 2673 | if test -f /usr/lib/crti.o; then | 3070 | if test -f /usr/lib/crti.o; then |
| 2674 | 3071 | ||
| 2675 | cat >>confdefs.h <<\_ACEOF | 3072 | $as_echo "#define HAVE_CRTIN /**/" >>confdefs.h |
| 2676 | #define HAVE_CRTIN /**/ | ||
| 2677 | _ACEOF | ||
| 2678 | 3073 | ||
| 2679 | fi | 3074 | fi |
| 2680 | 3075 | ||
| @@ -2940,11 +3335,8 @@ fi | |||
| 2940 | 3335 | ||
| 2941 | 3336 | ||
| 2942 | if test $unported = yes; then | 3337 | if test $unported = yes; then |
| 2943 | { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. | 3338 | as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. |
| 2944 | Check \`etc/MACHINES' for recognized configuration names." >&5 | 3339 | Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
| 2945 | $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | ||
| 2946 | Check \`etc/MACHINES' for recognized configuration names." >&2;} | ||
| 2947 | { (exit 1); exit 1; }; } | ||
| 2948 | fi | 3340 | fi |
| 2949 | 3341 | ||
| 2950 | machfile="m/${machine}.h" | 3342 | machfile="m/${machine}.h" |
| @@ -2965,9 +3357,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 2965 | if test -n "$ac_tool_prefix"; then | 3357 | if test -n "$ac_tool_prefix"; then |
| 2966 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3358 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 2967 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3359 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 2968 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2969 | $as_echo_n "checking for $ac_word... " >&6; } | 3361 | $as_echo_n "checking for $ac_word... " >&6; } |
| 2970 | if test "${ac_cv_prog_CC+set}" = set; then | 3362 | if test "${ac_cv_prog_CC+set}" = set; then : |
| 2971 | $as_echo_n "(cached) " >&6 | 3363 | $as_echo_n "(cached) " >&6 |
| 2972 | else | 3364 | else |
| 2973 | if test -n "$CC"; then | 3365 | if test -n "$CC"; then |
| @@ -2978,24 +3370,24 @@ for as_dir in $PATH | |||
| 2978 | do | 3370 | do |
| 2979 | IFS=$as_save_IFS | 3371 | IFS=$as_save_IFS |
| 2980 | test -z "$as_dir" && as_dir=. | 3372 | test -z "$as_dir" && as_dir=. |
| 2981 | for ac_exec_ext in '' $ac_executable_extensions; do | 3373 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2982 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3374 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2983 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3375 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2984 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3376 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2985 | break 2 | 3377 | break 2 |
| 2986 | fi | 3378 | fi |
| 2987 | done | 3379 | done |
| 2988 | done | 3380 | done |
| 2989 | IFS=$as_save_IFS | 3381 | IFS=$as_save_IFS |
| 2990 | 3382 | ||
| 2991 | fi | 3383 | fi |
| 2992 | fi | 3384 | fi |
| 2993 | CC=$ac_cv_prog_CC | 3385 | CC=$ac_cv_prog_CC |
| 2994 | if test -n "$CC"; then | 3386 | if test -n "$CC"; then |
| 2995 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3387 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2996 | $as_echo "$CC" >&6; } | 3388 | $as_echo "$CC" >&6; } |
| 2997 | else | 3389 | else |
| 2998 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 3390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2999 | $as_echo "no" >&6; } | 3391 | $as_echo "no" >&6; } |
| 3000 | fi | 3392 | fi |
| 3001 | 3393 | ||
| @@ -3005,9 +3397,9 @@ if test -z "$ac_cv_prog_CC"; then | |||
| 3005 | ac_ct_CC=$CC | 3397 | ac_ct_CC=$CC |
| 3006 | # Extract the first word of "gcc", so it can be a program name with args. | 3398 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3007 | set dummy gcc; ac_word=$2 | 3399 | set dummy gcc; ac_word=$2 |
| 3008 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3400 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3009 | $as_echo_n "checking for $ac_word... " >&6; } | 3401 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3010 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3402 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3011 | $as_echo_n "(cached) " >&6 | 3403 | $as_echo_n "(cached) " >&6 |
| 3012 | else | 3404 | else |
| 3013 | if test -n "$ac_ct_CC"; then | 3405 | if test -n "$ac_ct_CC"; then |
| @@ -3018,24 +3410,24 @@ for as_dir in $PATH | |||
| 3018 | do | 3410 | do |
| 3019 | IFS=$as_save_IFS | 3411 | IFS=$as_save_IFS |
| 3020 | test -z "$as_dir" && as_dir=. | 3412 | test -z "$as_dir" && as_dir=. |
| 3021 | for ac_exec_ext in '' $ac_executable_extensions; do | 3413 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3022 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3414 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3023 | ac_cv_prog_ac_ct_CC="gcc" | 3415 | ac_cv_prog_ac_ct_CC="gcc" |
| 3024 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3416 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3025 | break 2 | 3417 | break 2 |
| 3026 | fi | 3418 | fi |
| 3027 | done | 3419 | done |
| 3028 | done | 3420 | done |
| 3029 | IFS=$as_save_IFS | 3421 | IFS=$as_save_IFS |
| 3030 | 3422 | ||
| 3031 | fi | 3423 | fi |
| 3032 | fi | 3424 | fi |
| 3033 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3425 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3034 | if test -n "$ac_ct_CC"; then | 3426 | if test -n "$ac_ct_CC"; then |
| 3035 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3036 | $as_echo "$ac_ct_CC" >&6; } | 3428 | $as_echo "$ac_ct_CC" >&6; } |
| 3037 | else | 3429 | else |
| 3038 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 3430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3039 | $as_echo "no" >&6; } | 3431 | $as_echo "no" >&6; } |
| 3040 | fi | 3432 | fi |
| 3041 | 3433 | ||
| @@ -3044,12 +3436,8 @@ fi | |||
| 3044 | else | 3436 | else |
| 3045 | case $cross_compiling:$ac_tool_warned in | 3437 | case $cross_compiling:$ac_tool_warned in |
| 3046 | yes:) | 3438 | yes:) |
| 3047 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 3439 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3048 | whose name does not start with the host triplet. If you think this | 3440 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3049 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3050 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3051 | whose name does not start with the host triplet. If you think this | ||
| 3052 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3053 | ac_tool_warned=yes ;; | 3441 | ac_tool_warned=yes ;; |
| 3054 | esac | 3442 | esac |
| 3055 | CC=$ac_ct_CC | 3443 | CC=$ac_ct_CC |
| @@ -3062,9 +3450,9 @@ if test -z "$CC"; then | |||
| 3062 | if test -n "$ac_tool_prefix"; then | 3450 | if test -n "$ac_tool_prefix"; then |
| 3063 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3451 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3064 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3452 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3065 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3066 | $as_echo_n "checking for $ac_word... " >&6; } | 3454 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3067 | if test "${ac_cv_prog_CC+set}" = set; then | 3455 | if test "${ac_cv_prog_CC+set}" = set; then : |
| 3068 | $as_echo_n "(cached) " >&6 | 3456 | $as_echo_n "(cached) " >&6 |
| 3069 | else | 3457 | else |
| 3070 | if test -n "$CC"; then | 3458 | if test -n "$CC"; then |
| @@ -3075,24 +3463,24 @@ for as_dir in $PATH | |||
| 3075 | do | 3463 | do |
| 3076 | IFS=$as_save_IFS | 3464 | IFS=$as_save_IFS |
| 3077 | test -z "$as_dir" && as_dir=. | 3465 | test -z "$as_dir" && as_dir=. |
| 3078 | for ac_exec_ext in '' $ac_executable_extensions; do | 3466 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3079 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3467 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3080 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3468 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3081 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3469 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3082 | break 2 | 3470 | break 2 |
| 3083 | fi | 3471 | fi |
| 3084 | done | 3472 | done |
| 3085 | done | 3473 | done |
| 3086 | IFS=$as_save_IFS | 3474 | IFS=$as_save_IFS |
| 3087 | 3475 | ||
| 3088 | fi | 3476 | fi |
| 3089 | fi | 3477 | fi |
| 3090 | CC=$ac_cv_prog_CC | 3478 | CC=$ac_cv_prog_CC |
| 3091 | if test -n "$CC"; then | 3479 | if test -n "$CC"; then |
| 3092 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3093 | $as_echo "$CC" >&6; } | 3481 | $as_echo "$CC" >&6; } |
| 3094 | else | 3482 | else |
| 3095 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 3483 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3096 | $as_echo "no" >&6; } | 3484 | $as_echo "no" >&6; } |
| 3097 | fi | 3485 | fi |
| 3098 | 3486 | ||
| @@ -3102,9 +3490,9 @@ fi | |||
| 3102 | if test -z "$CC"; then | 3490 | if test -z "$CC"; then |
| 3103 | # Extract the first word of "cc", so it can be a program name with args. | 3491 | # Extract the first word of "cc", so it can be a program name with args. |
| 3104 | set dummy cc; ac_word=$2 | 3492 | set dummy cc; ac_word=$2 |
| 3105 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3493 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3106 | $as_echo_n "checking for $ac_word... " >&6; } | 3494 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3107 | if test "${ac_cv_prog_CC+set}" = set; then | 3495 | if test "${ac_cv_prog_CC+set}" = set; then : |
| 3108 | $as_echo_n "(cached) " >&6 | 3496 | $as_echo_n "(cached) " >&6 |
| 3109 | else | 3497 | else |
| 3110 | if test -n "$CC"; then | 3498 | if test -n "$CC"; then |
| @@ -3116,18 +3504,18 @@ for as_dir in $PATH | |||
| 3116 | do | 3504 | do |
| 3117 | IFS=$as_save_IFS | 3505 | IFS=$as_save_IFS |
| 3118 | test -z "$as_dir" && as_dir=. | 3506 | test -z "$as_dir" && as_dir=. |
| 3119 | for ac_exec_ext in '' $ac_executable_extensions; do | 3507 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3120 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3508 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3121 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3509 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3122 | ac_prog_rejected=yes | 3510 | ac_prog_rejected=yes |
| 3123 | continue | 3511 | continue |
| 3124 | fi | 3512 | fi |
| 3125 | ac_cv_prog_CC="cc" | 3513 | ac_cv_prog_CC="cc" |
| 3126 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3514 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3127 | break 2 | 3515 | break 2 |
| 3128 | fi | 3516 | fi |
| 3129 | done | 3517 | done |
| 3130 | done | 3518 | done |
| 3131 | IFS=$as_save_IFS | 3519 | IFS=$as_save_IFS |
| 3132 | 3520 | ||
| 3133 | if test $ac_prog_rejected = yes; then | 3521 | if test $ac_prog_rejected = yes; then |
| @@ -3146,10 +3534,10 @@ fi | |||
| 3146 | fi | 3534 | fi |
| 3147 | CC=$ac_cv_prog_CC | 3535 | CC=$ac_cv_prog_CC |
| 3148 | if test -n "$CC"; then | 3536 | if test -n "$CC"; then |
| 3149 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3150 | $as_echo "$CC" >&6; } | 3538 | $as_echo "$CC" >&6; } |
| 3151 | else | 3539 | else |
| 3152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 3540 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3153 | $as_echo "no" >&6; } | 3541 | $as_echo "no" >&6; } |
| 3154 | fi | 3542 | fi |
| 3155 | 3543 | ||
| @@ -3161,9 +3549,9 @@ if test -z "$CC"; then | |||
| 3161 | do | 3549 | do |
| 3162 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3550 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3163 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3551 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3164 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3165 | $as_echo_n "checking for $ac_word... " >&6; } | 3553 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3166 | if test "${ac_cv_prog_CC+set}" = set; then | 3554 | if test "${ac_cv_prog_CC+set}" = set; then : |
| 3167 | $as_echo_n "(cached) " >&6 | 3555 | $as_echo_n "(cached) " >&6 |
| 3168 | else | 3556 | else |
| 3169 | if test -n "$CC"; then | 3557 | if test -n "$CC"; then |
| @@ -3174,24 +3562,24 @@ for as_dir in $PATH | |||
| 3174 | do | 3562 | do |
| 3175 | IFS=$as_save_IFS | 3563 | IFS=$as_save_IFS |
| 3176 | test -z "$as_dir" && as_dir=. | 3564 | test -z "$as_dir" && as_dir=. |
| 3177 | for ac_exec_ext in '' $ac_executable_extensions; do | 3565 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3178 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3566 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3179 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3567 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3180 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3568 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3181 | break 2 | 3569 | break 2 |
| 3182 | fi | 3570 | fi |
| 3183 | done | 3571 | done |
| 3184 | done | 3572 | done |
| 3185 | IFS=$as_save_IFS | 3573 | IFS=$as_save_IFS |
| 3186 | 3574 | ||
| 3187 | fi | 3575 | fi |
| 3188 | fi | 3576 | fi |
| 3189 | CC=$ac_cv_prog_CC | 3577 | CC=$ac_cv_prog_CC |
| 3190 | if test -n "$CC"; then | 3578 | if test -n "$CC"; then |
| 3191 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3192 | $as_echo "$CC" >&6; } | 3580 | $as_echo "$CC" >&6; } |
| 3193 | else | 3581 | else |
| 3194 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 3582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3195 | $as_echo "no" >&6; } | 3583 | $as_echo "no" >&6; } |
| 3196 | fi | 3584 | fi |
| 3197 | 3585 | ||
| @@ -3205,9 +3593,9 @@ if test -z "$CC"; then | |||
| 3205 | do | 3593 | do |
| 3206 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3594 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3207 | set dummy $ac_prog; ac_word=$2 | 3595 | set dummy $ac_prog; ac_word=$2 |
| 3208 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3596 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3209 | $as_echo_n "checking for $ac_word... " >&6; } | 3597 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3210 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3598 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3211 | $as_echo_n "(cached) " >&6 | 3599 | $as_echo_n "(cached) " >&6 |
| 3212 | else | 3600 | else |
| 3213 | if test -n "$ac_ct_CC"; then | 3601 | if test -n "$ac_ct_CC"; then |
| @@ -3218,24 +3606,24 @@ for as_dir in $PATH | |||
| 3218 | do | 3606 | do |
| 3219 | IFS=$as_save_IFS | 3607 | IFS=$as_save_IFS |
| 3220 | test -z "$as_dir" && as_dir=. | 3608 | test -z "$as_dir" && as_dir=. |
| 3221 | for ac_exec_ext in '' $ac_executable_extensions; do | 3609 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3222 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3610 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3223 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3611 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3224 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3612 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3225 | break 2 | 3613 | break 2 |
| 3226 | fi | 3614 | fi |
| 3227 | done | 3615 | done |
| 3228 | done | 3616 | done |
| 3229 | IFS=$as_save_IFS | 3617 | IFS=$as_save_IFS |
| 3230 | 3618 | ||
| 3231 | fi | 3619 | fi |
| 3232 | fi | 3620 | fi |
| 3233 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3621 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3234 | if test -n "$ac_ct_CC"; then | 3622 | if test -n "$ac_ct_CC"; then |
| 3235 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3623 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3236 | $as_echo "$ac_ct_CC" >&6; } | 3624 | $as_echo "$ac_ct_CC" >&6; } |
| 3237 | else | 3625 | else |
| 3238 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 3626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3239 | $as_echo "no" >&6; } | 3627 | $as_echo "no" >&6; } |
| 3240 | fi | 3628 | fi |
| 3241 | 3629 | ||
| @@ -3248,12 +3636,8 @@ done | |||
| 3248 | else | 3636 | else |
| 3249 | case $cross_compiling:$ac_tool_warned in | 3637 | case $cross_compiling:$ac_tool_warned in |
| 3250 | yes:) | 3638 | yes:) |
| 3251 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 3639 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3252 | whose name does not start with the host triplet. If you think this | 3640 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3253 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3254 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3255 | whose name does not start with the host triplet. If you think this | ||
| 3256 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3257 | ac_tool_warned=yes ;; | 3641 | ac_tool_warned=yes ;; |
| 3258 | esac | 3642 | esac |
| 3259 | CC=$ac_ct_CC | 3643 | CC=$ac_ct_CC |
| @@ -3263,71 +3647,55 @@ fi | |||
| 3263 | fi | 3647 | fi |
| 3264 | 3648 | ||
| 3265 | 3649 | ||
| 3266 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 3650 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3267 | See \`config.log' for more details." >&5 | 3651 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3268 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | 3652 | as_fn_error "no acceptable C compiler found in \$PATH |
| 3269 | See \`config.log' for more details." >&2;} | 3653 | See \`config.log' for more details." "$LINENO" 5; } |
| 3270 | { (exit 1); exit 1; }; } | ||
| 3271 | 3654 | ||
| 3272 | # Provide some information about the compiler. | 3655 | # Provide some information about the compiler. |
| 3273 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | 3656 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3274 | set X $ac_compile | 3657 | set X $ac_compile |
| 3275 | ac_compiler=$2 | 3658 | ac_compiler=$2 |
| 3276 | { (ac_try="$ac_compiler --version >&5" | 3659 | for ac_option in --version -v -V -qversion; do |
| 3277 | case "(($ac_try" in | 3660 | { { ac_try="$ac_compiler $ac_option >&5" |
| 3278 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3279 | *) ac_try_echo=$ac_try;; | ||
| 3280 | esac | ||
| 3281 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3282 | $as_echo "$ac_try_echo") >&5 | ||
| 3283 | (eval "$ac_compiler --version >&5") 2>&5 | ||
| 3284 | ac_status=$? | ||
| 3285 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3286 | (exit $ac_status); } | ||
| 3287 | { (ac_try="$ac_compiler -v >&5" | ||
| 3288 | case "(($ac_try" in | 3661 | case "(($ac_try" in |
| 3289 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3290 | *) ac_try_echo=$ac_try;; | 3663 | *) ac_try_echo=$ac_try;; |
| 3291 | esac | 3664 | esac |
| 3292 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3665 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3293 | $as_echo "$ac_try_echo") >&5 | 3666 | $as_echo "$ac_try_echo"; } >&5 |
| 3294 | (eval "$ac_compiler -v >&5") 2>&5 | 3667 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 3295 | ac_status=$? | 3668 | ac_status=$? |
| 3296 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3669 | if test -s conftest.err; then |
| 3297 | (exit $ac_status); } | 3670 | sed '10a\ |
| 3298 | { (ac_try="$ac_compiler -V >&5" | 3671 | ... rest of stderr output deleted ... |
| 3299 | case "(($ac_try" in | 3672 | 10q' conftest.err >conftest.er1 |
| 3300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3673 | cat conftest.er1 >&5 |
| 3301 | *) ac_try_echo=$ac_try;; | 3674 | rm -f conftest.er1 conftest.err |
| 3302 | esac | 3675 | fi |
| 3303 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3676 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3304 | $as_echo "$ac_try_echo") >&5 | 3677 | test $ac_status = 0; } |
| 3305 | (eval "$ac_compiler -V >&5") 2>&5 | 3678 | done |
| 3306 | ac_status=$? | ||
| 3307 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3308 | (exit $ac_status); } | ||
| 3309 | 3679 | ||
| 3310 | cat >conftest.$ac_ext <<_ACEOF | 3680 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3311 | /* confdefs.h. */ | ||
| 3312 | _ACEOF | ||
| 3313 | cat confdefs.h >>conftest.$ac_ext | ||
| 3314 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3315 | /* end confdefs.h. */ | 3681 | /* end confdefs.h. */ |
| 3316 | 3682 | #include <stdio.h> | |
| 3317 | int | 3683 | int |
| 3318 | main () | 3684 | main () |
| 3319 | { | 3685 | { |
| 3686 | FILE *f = fopen ("conftest.out", "w"); | ||
| 3687 | return ferror (f) || fclose (f) != 0; | ||
| 3320 | 3688 | ||
| 3321 | ; | 3689 | ; |
| 3322 | return 0; | 3690 | return 0; |
| 3323 | } | 3691 | } |
| 3324 | _ACEOF | 3692 | _ACEOF |
| 3325 | ac_clean_files_save=$ac_clean_files | 3693 | ac_clean_files_save=$ac_clean_files |
| 3326 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 3694 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
| 3327 | # Try to create an executable without -o first, disregard a.out. | 3695 | # Try to create an executable without -o first, disregard a.out. |
| 3328 | # It will help us diagnose broken compilers, and finding out an intuition | 3696 | # It will help us diagnose broken compilers, and finding out an intuition |
| 3329 | # of exeext. | 3697 | # of exeext. |
| 3330 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 3698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3331 | $as_echo_n "checking for C compiler default output file name... " >&6; } | 3699 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3332 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3700 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3333 | 3701 | ||
| @@ -3344,17 +3712,17 @@ do | |||
| 3344 | done | 3712 | done |
| 3345 | rm -f $ac_rmfiles | 3713 | rm -f $ac_rmfiles |
| 3346 | 3714 | ||
| 3347 | if { (ac_try="$ac_link_default" | 3715 | if { { ac_try="$ac_link_default" |
| 3348 | case "(($ac_try" in | 3716 | case "(($ac_try" in |
| 3349 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3717 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3350 | *) ac_try_echo=$ac_try;; | 3718 | *) ac_try_echo=$ac_try;; |
| 3351 | esac | 3719 | esac |
| 3352 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3720 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3353 | $as_echo "$ac_try_echo") >&5 | 3721 | $as_echo "$ac_try_echo"; } >&5 |
| 3354 | (eval "$ac_link_default") 2>&5 | 3722 | (eval "$ac_link_default") 2>&5 |
| 3355 | ac_status=$? | 3723 | ac_status=$? |
| 3356 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3724 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3357 | (exit $ac_status); }; then | 3725 | test $ac_status = 0; }; then : |
| 3358 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3726 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3359 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3727 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3360 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3728 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| @@ -3371,7 +3739,7 @@ do | |||
| 3371 | # certainly right. | 3739 | # certainly right. |
| 3372 | break;; | 3740 | break;; |
| 3373 | *.* ) | 3741 | *.* ) |
| 3374 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3742 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3375 | then :; else | 3743 | then :; else |
| 3376 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3744 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3377 | fi | 3745 | fi |
| @@ -3390,80 +3758,75 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= | |||
| 3390 | else | 3758 | else |
| 3391 | ac_file='' | 3759 | ac_file='' |
| 3392 | fi | 3760 | fi |
| 3393 | 3761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 3394 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
| 3395 | $as_echo "$ac_file" >&6; } | 3762 | $as_echo "$ac_file" >&6; } |
| 3396 | if test -z "$ac_file"; then | 3763 | if test -z "$ac_file"; then : |
| 3397 | $as_echo "$as_me: failed program was:" >&5 | 3764 | $as_echo "$as_me: failed program was:" >&5 |
| 3398 | sed 's/^/| /' conftest.$ac_ext >&5 | 3765 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3399 | 3766 | ||
| 3400 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | 3767 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3401 | See \`config.log' for more details." >&5 | 3768 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3402 | $as_echo "$as_me: error: C compiler cannot create executables | 3769 | { as_fn_set_status 77 |
| 3403 | See \`config.log' for more details." >&2;} | 3770 | as_fn_error "C compiler cannot create executables |
| 3404 | { (exit 77); exit 77; }; } | 3771 | See \`config.log' for more details." "$LINENO" 5; }; } |
| 3405 | fi | 3772 | fi |
| 3406 | |||
| 3407 | ac_exeext=$ac_cv_exeext | 3773 | ac_exeext=$ac_cv_exeext |
| 3408 | 3774 | ||
| 3409 | # Check that the compiler produces executables we can run. If not, either | 3775 | # Check that the compiler produces executables we can run. If not, either |
| 3410 | # the compiler is broken, or we cross compile. | 3776 | # the compiler is broken, or we cross compile. |
| 3411 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 3777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3412 | $as_echo_n "checking whether the C compiler works... " >&6; } | 3778 | $as_echo_n "checking whether the C compiler works... " >&6; } |
| 3413 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
| 3414 | # If not cross compiling, check that we can run a simple program. | 3779 | # If not cross compiling, check that we can run a simple program. |
| 3415 | if test "$cross_compiling" != yes; then | 3780 | if test "$cross_compiling" != yes; then |
| 3416 | if { ac_try='./$ac_file' | 3781 | if { ac_try='./$ac_file' |
| 3417 | { (case "(($ac_try" in | 3782 | { { case "(($ac_try" in |
| 3418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3419 | *) ac_try_echo=$ac_try;; | 3784 | *) ac_try_echo=$ac_try;; |
| 3420 | esac | 3785 | esac |
| 3421 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3786 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3422 | $as_echo "$ac_try_echo") >&5 | 3787 | $as_echo "$ac_try_echo"; } >&5 |
| 3423 | (eval "$ac_try") 2>&5 | 3788 | (eval "$ac_try") 2>&5 |
| 3424 | ac_status=$? | 3789 | ac_status=$? |
| 3425 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3790 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3426 | (exit $ac_status); }; }; then | 3791 | test $ac_status = 0; }; }; then |
| 3427 | cross_compiling=no | 3792 | cross_compiling=no |
| 3428 | else | 3793 | else |
| 3429 | if test "$cross_compiling" = maybe; then | 3794 | if test "$cross_compiling" = maybe; then |
| 3430 | cross_compiling=yes | 3795 | cross_compiling=yes |
| 3431 | else | 3796 | else |
| 3432 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | 3797 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3798 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3799 | as_fn_error "cannot run C compiled programs. | ||
| 3433 | If you meant to cross compile, use \`--host'. | 3800 | If you meant to cross compile, use \`--host'. |
| 3434 | See \`config.log' for more details." >&5 | 3801 | See \`config.log' for more details." "$LINENO" 5; } |
| 3435 | $as_echo "$as_me: error: cannot run C compiled programs. | ||
| 3436 | If you meant to cross compile, use \`--host'. | ||
| 3437 | See \`config.log' for more details." >&2;} | ||
| 3438 | { (exit 1); exit 1; }; } | ||
| 3439 | fi | 3802 | fi |
| 3440 | fi | 3803 | fi |
| 3441 | fi | 3804 | fi |
| 3442 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 3805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3443 | $as_echo "yes" >&6; } | 3806 | $as_echo "yes" >&6; } |
| 3444 | 3807 | ||
| 3445 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3808 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
| 3446 | ac_clean_files=$ac_clean_files_save | 3809 | ac_clean_files=$ac_clean_files_save |
| 3447 | # Check that the compiler produces executables we can run. If not, either | 3810 | # Check that the compiler produces executables we can run. If not, either |
| 3448 | # the compiler is broken, or we cross compile. | 3811 | # the compiler is broken, or we cross compile. |
| 3449 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 3812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3450 | $as_echo_n "checking whether we are cross compiling... " >&6; } | 3813 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3451 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 3814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3452 | $as_echo "$cross_compiling" >&6; } | 3815 | $as_echo "$cross_compiling" >&6; } |
| 3453 | 3816 | ||
| 3454 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 3817 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3455 | $as_echo_n "checking for suffix of executables... " >&6; } | 3818 | $as_echo_n "checking for suffix of executables... " >&6; } |
| 3456 | if { (ac_try="$ac_link" | 3819 | if { { ac_try="$ac_link" |
| 3457 | case "(($ac_try" in | 3820 | case "(($ac_try" in |
| 3458 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3821 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3459 | *) ac_try_echo=$ac_try;; | 3822 | *) ac_try_echo=$ac_try;; |
| 3460 | esac | 3823 | esac |
| 3461 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3824 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3462 | $as_echo "$ac_try_echo") >&5 | 3825 | $as_echo "$ac_try_echo"; } >&5 |
| 3463 | (eval "$ac_link") 2>&5 | 3826 | (eval "$ac_link") 2>&5 |
| 3464 | ac_status=$? | 3827 | ac_status=$? |
| 3465 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3828 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3466 | (exit $ac_status); }; then | 3829 | test $ac_status = 0; }; then : |
| 3467 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3830 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3468 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3831 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3469 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3832 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| @@ -3478,30 +3841,24 @@ for ac_file in conftest.exe conftest conftest.*; do | |||
| 3478 | esac | 3841 | esac |
| 3479 | done | 3842 | done |
| 3480 | else | 3843 | else |
| 3481 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 3844 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3482 | See \`config.log' for more details." >&5 | 3845 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3483 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 3846 | as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3484 | See \`config.log' for more details." >&2;} | 3847 | See \`config.log' for more details." "$LINENO" 5; } |
| 3485 | { (exit 1); exit 1; }; } | ||
| 3486 | fi | 3848 | fi |
| 3487 | |||
| 3488 | rm -f conftest$ac_cv_exeext | 3849 | rm -f conftest$ac_cv_exeext |
| 3489 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 3850 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3490 | $as_echo "$ac_cv_exeext" >&6; } | 3851 | $as_echo "$ac_cv_exeext" >&6; } |
| 3491 | 3852 | ||
| 3492 | rm -f conftest.$ac_ext | 3853 | rm -f conftest.$ac_ext |
| 3493 | EXEEXT=$ac_cv_exeext | 3854 | EXEEXT=$ac_cv_exeext |
| 3494 | ac_exeext=$EXEEXT | 3855 | ac_exeext=$EXEEXT |
| 3495 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3496 | $as_echo_n "checking for suffix of object files... " >&6; } | 3857 | $as_echo_n "checking for suffix of object files... " >&6; } |
| 3497 | if test "${ac_cv_objext+set}" = set; then | 3858 | if test "${ac_cv_objext+set}" = set; then : |
| 3498 | $as_echo_n "(cached) " >&6 | 3859 | $as_echo_n "(cached) " >&6 |
| 3499 | else | 3860 | else |
| 3500 | cat >conftest.$ac_ext <<_ACEOF | 3861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3501 | /* confdefs.h. */ | ||
| 3502 | _ACEOF | ||
| 3503 | cat confdefs.h >>conftest.$ac_ext | ||
| 3504 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3505 | /* end confdefs.h. */ | 3862 | /* end confdefs.h. */ |
| 3506 | 3863 | ||
| 3507 | int | 3864 | int |
| @@ -3513,17 +3870,17 @@ main () | |||
| 3513 | } | 3870 | } |
| 3514 | _ACEOF | 3871 | _ACEOF |
| 3515 | rm -f conftest.o conftest.obj | 3872 | rm -f conftest.o conftest.obj |
| 3516 | if { (ac_try="$ac_compile" | 3873 | if { { ac_try="$ac_compile" |
| 3517 | case "(($ac_try" in | 3874 | case "(($ac_try" in |
| 3518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3875 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3519 | *) ac_try_echo=$ac_try;; | 3876 | *) ac_try_echo=$ac_try;; |
| 3520 | esac | 3877 | esac |
| 3521 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3878 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3522 | $as_echo "$ac_try_echo") >&5 | 3879 | $as_echo "$ac_try_echo"; } >&5 |
| 3523 | (eval "$ac_compile") 2>&5 | 3880 | (eval "$ac_compile") 2>&5 |
| 3524 | ac_status=$? | 3881 | ac_status=$? |
| 3525 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3882 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3526 | (exit $ac_status); }; then | 3883 | test $ac_status = 0; }; then : |
| 3527 | for ac_file in conftest.o conftest.obj conftest.*; do | 3884 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3528 | test -f "$ac_file" || continue; | 3885 | test -f "$ac_file" || continue; |
| 3529 | case $ac_file in | 3886 | case $ac_file in |
| @@ -3536,29 +3893,23 @@ else | |||
| 3536 | $as_echo "$as_me: failed program was:" >&5 | 3893 | $as_echo "$as_me: failed program was:" >&5 |
| 3537 | sed 's/^/| /' conftest.$ac_ext >&5 | 3894 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3538 | 3895 | ||
| 3539 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 3896 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3540 | See \`config.log' for more details." >&5 | 3897 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3541 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | 3898 | as_fn_error "cannot compute suffix of object files: cannot compile |
| 3542 | See \`config.log' for more details." >&2;} | 3899 | See \`config.log' for more details." "$LINENO" 5; } |
| 3543 | { (exit 1); exit 1; }; } | ||
| 3544 | fi | 3900 | fi |
| 3545 | |||
| 3546 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3901 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3547 | fi | 3902 | fi |
| 3548 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3903 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 3549 | $as_echo "$ac_cv_objext" >&6; } | 3904 | $as_echo "$ac_cv_objext" >&6; } |
| 3550 | OBJEXT=$ac_cv_objext | 3905 | OBJEXT=$ac_cv_objext |
| 3551 | ac_objext=$OBJEXT | 3906 | ac_objext=$OBJEXT |
| 3552 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3907 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3553 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3908 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3554 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3909 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3555 | $as_echo_n "(cached) " >&6 | 3910 | $as_echo_n "(cached) " >&6 |
| 3556 | else | 3911 | else |
| 3557 | cat >conftest.$ac_ext <<_ACEOF | 3912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3558 | /* confdefs.h. */ | ||
| 3559 | _ACEOF | ||
| 3560 | cat confdefs.h >>conftest.$ac_ext | ||
| 3561 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3562 | /* end confdefs.h. */ | 3913 | /* end confdefs.h. */ |
| 3563 | 3914 | ||
| 3564 | int | 3915 | int |
| @@ -3572,37 +3923,16 @@ main () | |||
| 3572 | return 0; | 3923 | return 0; |
| 3573 | } | 3924 | } |
| 3574 | _ACEOF | 3925 | _ACEOF |
| 3575 | rm -f conftest.$ac_objext | 3926 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3576 | if { (ac_try="$ac_compile" | ||
| 3577 | case "(($ac_try" in | ||
| 3578 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3579 | *) ac_try_echo=$ac_try;; | ||
| 3580 | esac | ||
| 3581 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3582 | $as_echo "$ac_try_echo") >&5 | ||
| 3583 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3584 | ac_status=$? | ||
| 3585 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3586 | rm -f conftest.er1 | ||
| 3587 | cat conftest.err >&5 | ||
| 3588 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3589 | (exit $ac_status); } && { | ||
| 3590 | test -z "$ac_c_werror_flag" || | ||
| 3591 | test ! -s conftest.err | ||
| 3592 | } && test -s conftest.$ac_objext; then | ||
| 3593 | ac_compiler_gnu=yes | 3927 | ac_compiler_gnu=yes |
| 3594 | else | 3928 | else |
| 3595 | $as_echo "$as_me: failed program was:" >&5 | 3929 | ac_compiler_gnu=no |
| 3596 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3597 | |||
| 3598 | ac_compiler_gnu=no | ||
| 3599 | fi | 3930 | fi |
| 3600 | |||
| 3601 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3931 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3602 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3932 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3603 | 3933 | ||
| 3604 | fi | 3934 | fi |
| 3605 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3606 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3936 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3607 | if test $ac_compiler_gnu = yes; then | 3937 | if test $ac_compiler_gnu = yes; then |
| 3608 | GCC=yes | 3938 | GCC=yes |
| @@ -3611,20 +3941,16 @@ else | |||
| 3611 | fi | 3941 | fi |
| 3612 | ac_test_CFLAGS=${CFLAGS+set} | 3942 | ac_test_CFLAGS=${CFLAGS+set} |
| 3613 | ac_save_CFLAGS=$CFLAGS | 3943 | ac_save_CFLAGS=$CFLAGS |
| 3614 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3615 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3945 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3616 | if test "${ac_cv_prog_cc_g+set}" = set; then | 3946 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3617 | $as_echo_n "(cached) " >&6 | 3947 | $as_echo_n "(cached) " >&6 |
| 3618 | else | 3948 | else |
| 3619 | ac_save_c_werror_flag=$ac_c_werror_flag | 3949 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 3620 | ac_c_werror_flag=yes | 3950 | ac_c_werror_flag=yes |
| 3621 | ac_cv_prog_cc_g=no | 3951 | ac_cv_prog_cc_g=no |
| 3622 | CFLAGS="-g" | 3952 | CFLAGS="-g" |
| 3623 | cat >conftest.$ac_ext <<_ACEOF | 3953 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3624 | /* confdefs.h. */ | ||
| 3625 | _ACEOF | ||
| 3626 | cat confdefs.h >>conftest.$ac_ext | ||
| 3627 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3628 | /* end confdefs.h. */ | 3954 | /* end confdefs.h. */ |
| 3629 | 3955 | ||
| 3630 | int | 3956 | int |
| @@ -3635,35 +3961,11 @@ main () | |||
| 3635 | return 0; | 3961 | return 0; |
| 3636 | } | 3962 | } |
| 3637 | _ACEOF | 3963 | _ACEOF |
| 3638 | rm -f conftest.$ac_objext | 3964 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3639 | if { (ac_try="$ac_compile" | ||
| 3640 | case "(($ac_try" in | ||
| 3641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3642 | *) ac_try_echo=$ac_try;; | ||
| 3643 | esac | ||
| 3644 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3645 | $as_echo "$ac_try_echo") >&5 | ||
| 3646 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3647 | ac_status=$? | ||
| 3648 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3649 | rm -f conftest.er1 | ||
| 3650 | cat conftest.err >&5 | ||
| 3651 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3652 | (exit $ac_status); } && { | ||
| 3653 | test -z "$ac_c_werror_flag" || | ||
| 3654 | test ! -s conftest.err | ||
| 3655 | } && test -s conftest.$ac_objext; then | ||
| 3656 | ac_cv_prog_cc_g=yes | 3965 | ac_cv_prog_cc_g=yes |
| 3657 | else | 3966 | else |
| 3658 | $as_echo "$as_me: failed program was:" >&5 | 3967 | CFLAGS="" |
| 3659 | sed 's/^/| /' conftest.$ac_ext >&5 | 3968 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3660 | |||
| 3661 | CFLAGS="" | ||
| 3662 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3663 | /* confdefs.h. */ | ||
| 3664 | _ACEOF | ||
| 3665 | cat confdefs.h >>conftest.$ac_ext | ||
| 3666 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3667 | /* end confdefs.h. */ | 3969 | /* end confdefs.h. */ |
| 3668 | 3970 | ||
| 3669 | int | 3971 | int |
| @@ -3674,36 +3976,12 @@ main () | |||
| 3674 | return 0; | 3976 | return 0; |
| 3675 | } | 3977 | } |
| 3676 | _ACEOF | 3978 | _ACEOF |
| 3677 | rm -f conftest.$ac_objext | 3979 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3678 | if { (ac_try="$ac_compile" | ||
| 3679 | case "(($ac_try" in | ||
| 3680 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3681 | *) ac_try_echo=$ac_try;; | ||
| 3682 | esac | ||
| 3683 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3684 | $as_echo "$ac_try_echo") >&5 | ||
| 3685 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3686 | ac_status=$? | ||
| 3687 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3688 | rm -f conftest.er1 | ||
| 3689 | cat conftest.err >&5 | ||
| 3690 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3691 | (exit $ac_status); } && { | ||
| 3692 | test -z "$ac_c_werror_flag" || | ||
| 3693 | test ! -s conftest.err | ||
| 3694 | } && test -s conftest.$ac_objext; then | ||
| 3695 | : | ||
| 3696 | else | ||
| 3697 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3698 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3699 | 3980 | ||
| 3700 | ac_c_werror_flag=$ac_save_c_werror_flag | 3981 | else |
| 3982 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3701 | CFLAGS="-g" | 3983 | CFLAGS="-g" |
| 3702 | cat >conftest.$ac_ext <<_ACEOF | 3984 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3703 | /* confdefs.h. */ | ||
| 3704 | _ACEOF | ||
| 3705 | cat confdefs.h >>conftest.$ac_ext | ||
| 3706 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3707 | /* end confdefs.h. */ | 3985 | /* end confdefs.h. */ |
| 3708 | 3986 | ||
| 3709 | int | 3987 | int |
| @@ -3714,42 +3992,17 @@ main () | |||
| 3714 | return 0; | 3992 | return 0; |
| 3715 | } | 3993 | } |
| 3716 | _ACEOF | 3994 | _ACEOF |
| 3717 | rm -f conftest.$ac_objext | 3995 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3718 | if { (ac_try="$ac_compile" | ||
| 3719 | case "(($ac_try" in | ||
| 3720 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3721 | *) ac_try_echo=$ac_try;; | ||
| 3722 | esac | ||
| 3723 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3724 | $as_echo "$ac_try_echo") >&5 | ||
| 3725 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3726 | ac_status=$? | ||
| 3727 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3728 | rm -f conftest.er1 | ||
| 3729 | cat conftest.err >&5 | ||
| 3730 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3731 | (exit $ac_status); } && { | ||
| 3732 | test -z "$ac_c_werror_flag" || | ||
| 3733 | test ! -s conftest.err | ||
| 3734 | } && test -s conftest.$ac_objext; then | ||
| 3735 | ac_cv_prog_cc_g=yes | 3996 | ac_cv_prog_cc_g=yes |
| 3736 | else | ||
| 3737 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3738 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3739 | |||
| 3740 | |||
| 3741 | fi | 3997 | fi |
| 3742 | |||
| 3743 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3998 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3744 | fi | 3999 | fi |
| 3745 | |||
| 3746 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3747 | fi | 4001 | fi |
| 3748 | |||
| 3749 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4002 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3750 | ac_c_werror_flag=$ac_save_c_werror_flag | 4003 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 3751 | fi | 4004 | fi |
| 3752 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 4005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 3753 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 4006 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 3754 | if test "$ac_test_CFLAGS" = set; then | 4007 | if test "$ac_test_CFLAGS" = set; then |
| 3755 | CFLAGS=$ac_save_CFLAGS | 4008 | CFLAGS=$ac_save_CFLAGS |
| @@ -3766,18 +4019,14 @@ else | |||
| 3766 | CFLAGS= | 4019 | CFLAGS= |
| 3767 | fi | 4020 | fi |
| 3768 | fi | 4021 | fi |
| 3769 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 4022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3770 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 4023 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3771 | if test "${ac_cv_prog_cc_c89+set}" = set; then | 4024 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3772 | $as_echo_n "(cached) " >&6 | 4025 | $as_echo_n "(cached) " >&6 |
| 3773 | else | 4026 | else |
| 3774 | ac_cv_prog_cc_c89=no | 4027 | ac_cv_prog_cc_c89=no |
| 3775 | ac_save_CC=$CC | 4028 | ac_save_CC=$CC |
| 3776 | cat >conftest.$ac_ext <<_ACEOF | 4029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3777 | /* confdefs.h. */ | ||
| 3778 | _ACEOF | ||
| 3779 | cat confdefs.h >>conftest.$ac_ext | ||
| 3780 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3781 | /* end confdefs.h. */ | 4030 | /* end confdefs.h. */ |
| 3782 | #include <stdarg.h> | 4031 | #include <stdarg.h> |
| 3783 | #include <stdio.h> | 4032 | #include <stdio.h> |
| @@ -3834,32 +4083,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |||
| 3834 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4083 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3835 | do | 4084 | do |
| 3836 | CC="$ac_save_CC $ac_arg" | 4085 | CC="$ac_save_CC $ac_arg" |
| 3837 | rm -f conftest.$ac_objext | 4086 | if ac_fn_c_try_compile "$LINENO"; then : |
| 3838 | if { (ac_try="$ac_compile" | ||
| 3839 | case "(($ac_try" in | ||
| 3840 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3841 | *) ac_try_echo=$ac_try;; | ||
| 3842 | esac | ||
| 3843 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3844 | $as_echo "$ac_try_echo") >&5 | ||
| 3845 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3846 | ac_status=$? | ||
| 3847 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3848 | rm -f conftest.er1 | ||
| 3849 | cat conftest.err >&5 | ||
| 3850 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3851 | (exit $ac_status); } && { | ||
| 3852 | test -z "$ac_c_werror_flag" || | ||
| 3853 | test ! -s conftest.err | ||
| 3854 | } && test -s conftest.$ac_objext; then | ||
| 3855 | ac_cv_prog_cc_c89=$ac_arg | 4087 | ac_cv_prog_cc_c89=$ac_arg |
| 3856 | else | ||
| 3857 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3858 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3859 | |||
| 3860 | |||
| 3861 | fi | 4088 | fi |
| 3862 | |||
| 3863 | rm -f core conftest.err conftest.$ac_objext | 4089 | rm -f core conftest.err conftest.$ac_objext |
| 3864 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 4090 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 3865 | done | 4091 | done |
| @@ -3870,17 +4096,19 @@ fi | |||
| 3870 | # AC_CACHE_VAL | 4096 | # AC_CACHE_VAL |
| 3871 | case "x$ac_cv_prog_cc_c89" in | 4097 | case "x$ac_cv_prog_cc_c89" in |
| 3872 | x) | 4098 | x) |
| 3873 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 | 4099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3874 | $as_echo "none needed" >&6; } ;; | 4100 | $as_echo "none needed" >&6; } ;; |
| 3875 | xno) | 4101 | xno) |
| 3876 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | 4102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3877 | $as_echo "unsupported" >&6; } ;; | 4103 | $as_echo "unsupported" >&6; } ;; |
| 3878 | *) | 4104 | *) |
| 3879 | CC="$CC $ac_cv_prog_cc_c89" | 4105 | CC="$CC $ac_cv_prog_cc_c89" |
| 3880 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 4106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3881 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 4107 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3882 | esac | 4108 | esac |
| 4109 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
| 3883 | 4110 | ||
| 4111 | fi | ||
| 3884 | 4112 | ||
| 3885 | ac_ext=c | 4113 | ac_ext=c |
| 3886 | ac_cpp='$CPP $CPPFLAGS' | 4114 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -3898,17 +4126,13 @@ fi | |||
| 3898 | ## using a Sun compiler, which needs -Xs to prevent whitespace. | 4126 | ## using a Sun compiler, which needs -Xs to prevent whitespace. |
| 3899 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 4127 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
| 3900 | test x"$CPP" = x; then | 4128 | test x"$CPP" = x; then |
| 3901 | { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 | 4129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 |
| 3902 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 4130 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
| 3903 | 4131 | ||
| 3904 | if test "${emacs_cv_sunpro_c+set}" = set; then | 4132 | if test "${emacs_cv_sunpro_c+set}" = set; then : |
| 3905 | $as_echo_n "(cached) " >&6 | 4133 | $as_echo_n "(cached) " >&6 |
| 3906 | else | 4134 | else |
| 3907 | cat >conftest.$ac_ext <<_ACEOF | 4135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3908 | /* confdefs.h. */ | ||
| 3909 | _ACEOF | ||
| 3910 | cat confdefs.h >>conftest.$ac_ext | ||
| 3911 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3912 | /* end confdefs.h. */ | 4136 | /* end confdefs.h. */ |
| 3913 | 4137 | ||
| 3914 | int | 4138 | int |
| @@ -3922,41 +4146,16 @@ fail; | |||
| 3922 | return 0; | 4146 | return 0; |
| 3923 | } | 4147 | } |
| 3924 | _ACEOF | 4148 | _ACEOF |
| 3925 | rm -f conftest.$ac_objext conftest$ac_exeext | 4149 | if ac_fn_c_try_link "$LINENO"; then : |
| 3926 | if { (ac_try="$ac_link" | ||
| 3927 | case "(($ac_try" in | ||
| 3928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3929 | *) ac_try_echo=$ac_try;; | ||
| 3930 | esac | ||
| 3931 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3932 | $as_echo "$ac_try_echo") >&5 | ||
| 3933 | (eval "$ac_link") 2>conftest.er1 | ||
| 3934 | ac_status=$? | ||
| 3935 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3936 | rm -f conftest.er1 | ||
| 3937 | cat conftest.err >&5 | ||
| 3938 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3939 | (exit $ac_status); } && { | ||
| 3940 | test -z "$ac_c_werror_flag" || | ||
| 3941 | test ! -s conftest.err | ||
| 3942 | } && test -s conftest$ac_exeext && { | ||
| 3943 | test "$cross_compiling" = yes || | ||
| 3944 | $as_test_x conftest$ac_exeext | ||
| 3945 | }; then | ||
| 3946 | emacs_cv_sunpro_c=yes | 4150 | emacs_cv_sunpro_c=yes |
| 3947 | else | 4151 | else |
| 3948 | $as_echo "$as_me: failed program was:" >&5 | 4152 | emacs_cv_sunpro_c=no |
| 3949 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3950 | |||
| 3951 | emacs_cv_sunpro_c=no | ||
| 3952 | fi | 4153 | fi |
| 3953 | 4154 | rm -f core conftest.err conftest.$ac_objext \ | |
| 3954 | rm -rf conftest.dSYM | 4155 | conftest$ac_exeext conftest.$ac_ext |
| 3955 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 3956 | conftest$ac_exeext conftest.$ac_ext | ||
| 3957 | fi | 4156 | fi |
| 3958 | 4157 | ||
| 3959 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 | 4158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 |
| 3960 | $as_echo "$emacs_cv_sunpro_c" >&6; } | 4159 | $as_echo "$emacs_cv_sunpro_c" >&6; } |
| 3961 | 4160 | ||
| 3962 | if test x"$emacs_cv_sunpro_c" = xyes; then | 4161 | if test x"$emacs_cv_sunpro_c" = xyes; then |
| @@ -3996,14 +4195,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 3996 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4195 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3997 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4196 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3998 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4197 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3999 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 4000 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4199 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4001 | # On Suns, sometimes $CPP names a directory. | 4200 | # On Suns, sometimes $CPP names a directory. |
| 4002 | if test -n "$CPP" && test -d "$CPP"; then | 4201 | if test -n "$CPP" && test -d "$CPP"; then |
| 4003 | CPP= | 4202 | CPP= |
| 4004 | fi | 4203 | fi |
| 4005 | if test -z "$CPP"; then | 4204 | if test -z "$CPP"; then |
| 4006 | if test "${ac_cv_prog_CPP+set}" = set; then | 4205 | if test "${ac_cv_prog_CPP+set}" = set; then : |
| 4007 | $as_echo_n "(cached) " >&6 | 4206 | $as_echo_n "(cached) " >&6 |
| 4008 | else | 4207 | else |
| 4009 | # Double quotes because CPP needs to be expanded | 4208 | # Double quotes because CPP needs to be expanded |
| @@ -4018,11 +4217,7 @@ do | |||
| 4018 | # <limits.h> exists even on freestanding compilers. | 4217 | # <limits.h> exists even on freestanding compilers. |
| 4019 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4218 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4020 | # not just through cpp. "Syntax error" is here to catch this case. | 4219 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4021 | cat >conftest.$ac_ext <<_ACEOF | 4220 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4022 | /* confdefs.h. */ | ||
| 4023 | _ACEOF | ||
| 4024 | cat confdefs.h >>conftest.$ac_ext | ||
| 4025 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4026 | /* end confdefs.h. */ | 4221 | /* end confdefs.h. */ |
| 4027 | #ifdef __STDC__ | 4222 | #ifdef __STDC__ |
| 4028 | # include <limits.h> | 4223 | # include <limits.h> |
| @@ -4031,78 +4226,34 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 4031 | #endif | 4226 | #endif |
| 4032 | Syntax error | 4227 | Syntax error |
| 4033 | _ACEOF | 4228 | _ACEOF |
| 4034 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4229 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4035 | case "(($ac_try" in | ||
| 4036 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4037 | *) ac_try_echo=$ac_try;; | ||
| 4038 | esac | ||
| 4039 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4040 | $as_echo "$ac_try_echo") >&5 | ||
| 4041 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4042 | ac_status=$? | ||
| 4043 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4044 | rm -f conftest.er1 | ||
| 4045 | cat conftest.err >&5 | ||
| 4046 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4047 | (exit $ac_status); } >/dev/null && { | ||
| 4048 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4049 | test ! -s conftest.err | ||
| 4050 | }; then | ||
| 4051 | : | ||
| 4052 | else | ||
| 4053 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4054 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4055 | 4230 | ||
| 4231 | else | ||
| 4056 | # Broken: fails on valid input. | 4232 | # Broken: fails on valid input. |
| 4057 | continue | 4233 | continue |
| 4058 | fi | 4234 | fi |
| 4059 | |||
| 4060 | rm -f conftest.err conftest.$ac_ext | 4235 | rm -f conftest.err conftest.$ac_ext |
| 4061 | 4236 | ||
| 4062 | # OK, works on sane cases. Now check whether nonexistent headers | 4237 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4063 | # can be detected and how. | 4238 | # can be detected and how. |
| 4064 | cat >conftest.$ac_ext <<_ACEOF | 4239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4065 | /* confdefs.h. */ | ||
| 4066 | _ACEOF | ||
| 4067 | cat confdefs.h >>conftest.$ac_ext | ||
| 4068 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4069 | /* end confdefs.h. */ | 4240 | /* end confdefs.h. */ |
| 4070 | #include <ac_nonexistent.h> | 4241 | #include <ac_nonexistent.h> |
| 4071 | _ACEOF | 4242 | _ACEOF |
| 4072 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4243 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4073 | case "(($ac_try" in | ||
| 4074 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4075 | *) ac_try_echo=$ac_try;; | ||
| 4076 | esac | ||
| 4077 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4078 | $as_echo "$ac_try_echo") >&5 | ||
| 4079 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4080 | ac_status=$? | ||
| 4081 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4082 | rm -f conftest.er1 | ||
| 4083 | cat conftest.err >&5 | ||
| 4084 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4085 | (exit $ac_status); } >/dev/null && { | ||
| 4086 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4087 | test ! -s conftest.err | ||
| 4088 | }; then | ||
| 4089 | # Broken: success on invalid input. | 4244 | # Broken: success on invalid input. |
| 4090 | continue | 4245 | continue |
| 4091 | else | 4246 | else |
| 4092 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4093 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4094 | |||
| 4095 | # Passes both tests. | 4247 | # Passes both tests. |
| 4096 | ac_preproc_ok=: | 4248 | ac_preproc_ok=: |
| 4097 | break | 4249 | break |
| 4098 | fi | 4250 | fi |
| 4099 | |||
| 4100 | rm -f conftest.err conftest.$ac_ext | 4251 | rm -f conftest.err conftest.$ac_ext |
| 4101 | 4252 | ||
| 4102 | done | 4253 | done |
| 4103 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4254 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4104 | rm -f conftest.err conftest.$ac_ext | 4255 | rm -f conftest.err conftest.$ac_ext |
| 4105 | if $ac_preproc_ok; then | 4256 | if $ac_preproc_ok; then : |
| 4106 | break | 4257 | break |
| 4107 | fi | 4258 | fi |
| 4108 | 4259 | ||
| @@ -4114,7 +4265,7 @@ fi | |||
| 4114 | else | 4265 | else |
| 4115 | ac_cv_prog_CPP=$CPP | 4266 | ac_cv_prog_CPP=$CPP |
| 4116 | fi | 4267 | fi |
| 4117 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | 4268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 4118 | $as_echo "$CPP" >&6; } | 4269 | $as_echo "$CPP" >&6; } |
| 4119 | ac_preproc_ok=false | 4270 | ac_preproc_ok=false |
| 4120 | for ac_c_preproc_warn_flag in '' yes | 4271 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4125,11 +4276,7 @@ do | |||
| 4125 | # <limits.h> exists even on freestanding compilers. | 4276 | # <limits.h> exists even on freestanding compilers. |
| 4126 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4277 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4127 | # not just through cpp. "Syntax error" is here to catch this case. | 4278 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4128 | cat >conftest.$ac_ext <<_ACEOF | 4279 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4129 | /* confdefs.h. */ | ||
| 4130 | _ACEOF | ||
| 4131 | cat confdefs.h >>conftest.$ac_ext | ||
| 4132 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4133 | /* end confdefs.h. */ | 4280 | /* end confdefs.h. */ |
| 4134 | #ifdef __STDC__ | 4281 | #ifdef __STDC__ |
| 4135 | # include <limits.h> | 4282 | # include <limits.h> |
| @@ -4138,85 +4285,40 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 4138 | #endif | 4285 | #endif |
| 4139 | Syntax error | 4286 | Syntax error |
| 4140 | _ACEOF | 4287 | _ACEOF |
| 4141 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4288 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4142 | case "(($ac_try" in | ||
| 4143 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4144 | *) ac_try_echo=$ac_try;; | ||
| 4145 | esac | ||
| 4146 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4147 | $as_echo "$ac_try_echo") >&5 | ||
| 4148 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4149 | ac_status=$? | ||
| 4150 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4151 | rm -f conftest.er1 | ||
| 4152 | cat conftest.err >&5 | ||
| 4153 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4154 | (exit $ac_status); } >/dev/null && { | ||
| 4155 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4156 | test ! -s conftest.err | ||
| 4157 | }; then | ||
| 4158 | : | ||
| 4159 | else | ||
| 4160 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4161 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4162 | 4289 | ||
| 4290 | else | ||
| 4163 | # Broken: fails on valid input. | 4291 | # Broken: fails on valid input. |
| 4164 | continue | 4292 | continue |
| 4165 | fi | 4293 | fi |
| 4166 | |||
| 4167 | rm -f conftest.err conftest.$ac_ext | 4294 | rm -f conftest.err conftest.$ac_ext |
| 4168 | 4295 | ||
| 4169 | # OK, works on sane cases. Now check whether nonexistent headers | 4296 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4170 | # can be detected and how. | 4297 | # can be detected and how. |
| 4171 | cat >conftest.$ac_ext <<_ACEOF | 4298 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4172 | /* confdefs.h. */ | ||
| 4173 | _ACEOF | ||
| 4174 | cat confdefs.h >>conftest.$ac_ext | ||
| 4175 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4176 | /* end confdefs.h. */ | 4299 | /* end confdefs.h. */ |
| 4177 | #include <ac_nonexistent.h> | 4300 | #include <ac_nonexistent.h> |
| 4178 | _ACEOF | 4301 | _ACEOF |
| 4179 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4302 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4180 | case "(($ac_try" in | ||
| 4181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4182 | *) ac_try_echo=$ac_try;; | ||
| 4183 | esac | ||
| 4184 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4185 | $as_echo "$ac_try_echo") >&5 | ||
| 4186 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4187 | ac_status=$? | ||
| 4188 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4189 | rm -f conftest.er1 | ||
| 4190 | cat conftest.err >&5 | ||
| 4191 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4192 | (exit $ac_status); } >/dev/null && { | ||
| 4193 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4194 | test ! -s conftest.err | ||
| 4195 | }; then | ||
| 4196 | # Broken: success on invalid input. | 4303 | # Broken: success on invalid input. |
| 4197 | continue | 4304 | continue |
| 4198 | else | 4305 | else |
| 4199 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4200 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4201 | |||
| 4202 | # Passes both tests. | 4306 | # Passes both tests. |
| 4203 | ac_preproc_ok=: | 4307 | ac_preproc_ok=: |
| 4204 | break | 4308 | break |
| 4205 | fi | 4309 | fi |
| 4206 | |||
| 4207 | rm -f conftest.err conftest.$ac_ext | 4310 | rm -f conftest.err conftest.$ac_ext |
| 4208 | 4311 | ||
| 4209 | done | 4312 | done |
| 4210 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4313 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4211 | rm -f conftest.err conftest.$ac_ext | 4314 | rm -f conftest.err conftest.$ac_ext |
| 4212 | if $ac_preproc_ok; then | 4315 | if $ac_preproc_ok; then : |
| 4213 | : | 4316 | |
| 4214 | else | 4317 | else |
| 4215 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 4318 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4216 | See \`config.log' for more details." >&5 | 4319 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4217 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4320 | as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 4218 | See \`config.log' for more details." >&2;} | 4321 | See \`config.log' for more details." "$LINENO" 5; } |
| 4219 | { (exit 1); exit 1; }; } | ||
| 4220 | fi | 4322 | fi |
| 4221 | 4323 | ||
| 4222 | ac_ext=c | 4324 | ac_ext=c |
| @@ -4226,9 +4328,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
| 4226 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4328 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4227 | 4329 | ||
| 4228 | 4330 | ||
| 4229 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 4331 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4230 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4332 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4231 | if test "${ac_cv_path_GREP+set}" = set; then | 4333 | if test "${ac_cv_path_GREP+set}" = set; then : |
| 4232 | $as_echo_n "(cached) " >&6 | 4334 | $as_echo_n "(cached) " >&6 |
| 4233 | else | 4335 | else |
| 4234 | if test -z "$GREP"; then | 4336 | if test -z "$GREP"; then |
| @@ -4239,7 +4341,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4239 | do | 4341 | do |
| 4240 | IFS=$as_save_IFS | 4342 | IFS=$as_save_IFS |
| 4241 | test -z "$as_dir" && as_dir=. | 4343 | test -z "$as_dir" && as_dir=. |
| 4242 | for ac_prog in grep ggrep; do | 4344 | for ac_prog in grep ggrep; do |
| 4243 | for ac_exec_ext in '' $ac_executable_extensions; do | 4345 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4244 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4346 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4245 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4347 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| @@ -4259,7 +4361,7 @@ case `"$ac_path_GREP" --version 2>&1` in | |||
| 4259 | $as_echo 'GREP' >> "conftest.nl" | 4361 | $as_echo 'GREP' >> "conftest.nl" |
| 4260 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4362 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4261 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4363 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4262 | ac_count=`expr $ac_count + 1` | 4364 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4263 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4365 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4264 | # Best one so far, save it but keep looking for a better one | 4366 | # Best one so far, save it but keep looking for a better one |
| 4265 | ac_cv_path_GREP="$ac_path_GREP" | 4367 | ac_cv_path_GREP="$ac_path_GREP" |
| @@ -4274,26 +4376,24 @@ esac | |||
| 4274 | $ac_path_GREP_found && break 3 | 4376 | $ac_path_GREP_found && break 3 |
| 4275 | done | 4377 | done |
| 4276 | done | 4378 | done |
| 4277 | done | 4379 | done |
| 4278 | IFS=$as_save_IFS | 4380 | IFS=$as_save_IFS |
| 4279 | if test -z "$ac_cv_path_GREP"; then | 4381 | if test -z "$ac_cv_path_GREP"; then |
| 4280 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | 4382 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4281 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4282 | { (exit 1); exit 1; }; } | ||
| 4283 | fi | 4383 | fi |
| 4284 | else | 4384 | else |
| 4285 | ac_cv_path_GREP=$GREP | 4385 | ac_cv_path_GREP=$GREP |
| 4286 | fi | 4386 | fi |
| 4287 | 4387 | ||
| 4288 | fi | 4388 | fi |
| 4289 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 4389 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4290 | $as_echo "$ac_cv_path_GREP" >&6; } | 4390 | $as_echo "$ac_cv_path_GREP" >&6; } |
| 4291 | GREP="$ac_cv_path_GREP" | 4391 | GREP="$ac_cv_path_GREP" |
| 4292 | 4392 | ||
| 4293 | 4393 | ||
| 4294 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 | 4394 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4295 | $as_echo_n "checking for egrep... " >&6; } | 4395 | $as_echo_n "checking for egrep... " >&6; } |
| 4296 | if test "${ac_cv_path_EGREP+set}" = set; then | 4396 | if test "${ac_cv_path_EGREP+set}" = set; then : |
| 4297 | $as_echo_n "(cached) " >&6 | 4397 | $as_echo_n "(cached) " >&6 |
| 4298 | else | 4398 | else |
| 4299 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4399 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| @@ -4307,7 +4407,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4307 | do | 4407 | do |
| 4308 | IFS=$as_save_IFS | 4408 | IFS=$as_save_IFS |
| 4309 | test -z "$as_dir" && as_dir=. | 4409 | test -z "$as_dir" && as_dir=. |
| 4310 | for ac_prog in egrep; do | 4410 | for ac_prog in egrep; do |
| 4311 | for ac_exec_ext in '' $ac_executable_extensions; do | 4411 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4312 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4412 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4313 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4413 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| @@ -4327,7 +4427,7 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
| 4327 | $as_echo 'EGREP' >> "conftest.nl" | 4427 | $as_echo 'EGREP' >> "conftest.nl" |
| 4328 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4428 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4329 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4429 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4330 | ac_count=`expr $ac_count + 1` | 4430 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4331 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4431 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4332 | # Best one so far, save it but keep looking for a better one | 4432 | # Best one so far, save it but keep looking for a better one |
| 4333 | ac_cv_path_EGREP="$ac_path_EGREP" | 4433 | ac_cv_path_EGREP="$ac_path_EGREP" |
| @@ -4342,12 +4442,10 @@ esac | |||
| 4342 | $ac_path_EGREP_found && break 3 | 4442 | $ac_path_EGREP_found && break 3 |
| 4343 | done | 4443 | done |
| 4344 | done | 4444 | done |
| 4345 | done | 4445 | done |
| 4346 | IFS=$as_save_IFS | 4446 | IFS=$as_save_IFS |
| 4347 | if test -z "$ac_cv_path_EGREP"; then | 4447 | if test -z "$ac_cv_path_EGREP"; then |
| 4348 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | 4448 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4349 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4350 | { (exit 1); exit 1; }; } | ||
| 4351 | fi | 4449 | fi |
| 4352 | else | 4450 | else |
| 4353 | ac_cv_path_EGREP=$EGREP | 4451 | ac_cv_path_EGREP=$EGREP |
| @@ -4355,21 +4453,17 @@ fi | |||
| 4355 | 4453 | ||
| 4356 | fi | 4454 | fi |
| 4357 | fi | 4455 | fi |
| 4358 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 4456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4359 | $as_echo "$ac_cv_path_EGREP" >&6; } | 4457 | $as_echo "$ac_cv_path_EGREP" >&6; } |
| 4360 | EGREP="$ac_cv_path_EGREP" | 4458 | EGREP="$ac_cv_path_EGREP" |
| 4361 | 4459 | ||
| 4362 | 4460 | ||
| 4363 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 4461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 4364 | $as_echo_n "checking for ANSI C header files... " >&6; } | 4462 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 4365 | if test "${ac_cv_header_stdc+set}" = set; then | 4463 | if test "${ac_cv_header_stdc+set}" = set; then : |
| 4366 | $as_echo_n "(cached) " >&6 | 4464 | $as_echo_n "(cached) " >&6 |
| 4367 | else | 4465 | else |
| 4368 | cat >conftest.$ac_ext <<_ACEOF | 4466 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4369 | /* confdefs.h. */ | ||
| 4370 | _ACEOF | ||
| 4371 | cat confdefs.h >>conftest.$ac_ext | ||
| 4372 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4373 | /* end confdefs.h. */ | 4467 | /* end confdefs.h. */ |
| 4374 | #include <stdlib.h> | 4468 | #include <stdlib.h> |
| 4375 | #include <stdarg.h> | 4469 | #include <stdarg.h> |
| @@ -4384,48 +4478,23 @@ main () | |||
| 4384 | return 0; | 4478 | return 0; |
| 4385 | } | 4479 | } |
| 4386 | _ACEOF | 4480 | _ACEOF |
| 4387 | rm -f conftest.$ac_objext | 4481 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4388 | if { (ac_try="$ac_compile" | ||
| 4389 | case "(($ac_try" in | ||
| 4390 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4391 | *) ac_try_echo=$ac_try;; | ||
| 4392 | esac | ||
| 4393 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4394 | $as_echo "$ac_try_echo") >&5 | ||
| 4395 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4396 | ac_status=$? | ||
| 4397 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4398 | rm -f conftest.er1 | ||
| 4399 | cat conftest.err >&5 | ||
| 4400 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4401 | (exit $ac_status); } && { | ||
| 4402 | test -z "$ac_c_werror_flag" || | ||
| 4403 | test ! -s conftest.err | ||
| 4404 | } && test -s conftest.$ac_objext; then | ||
| 4405 | ac_cv_header_stdc=yes | 4482 | ac_cv_header_stdc=yes |
| 4406 | else | 4483 | else |
| 4407 | $as_echo "$as_me: failed program was:" >&5 | 4484 | ac_cv_header_stdc=no |
| 4408 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4409 | |||
| 4410 | ac_cv_header_stdc=no | ||
| 4411 | fi | 4485 | fi |
| 4412 | |||
| 4413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4486 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4414 | 4487 | ||
| 4415 | if test $ac_cv_header_stdc = yes; then | 4488 | if test $ac_cv_header_stdc = yes; then |
| 4416 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4489 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4417 | cat >conftest.$ac_ext <<_ACEOF | 4490 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4418 | /* confdefs.h. */ | ||
| 4419 | _ACEOF | ||
| 4420 | cat confdefs.h >>conftest.$ac_ext | ||
| 4421 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4422 | /* end confdefs.h. */ | 4491 | /* end confdefs.h. */ |
| 4423 | #include <string.h> | 4492 | #include <string.h> |
| 4424 | 4493 | ||
| 4425 | _ACEOF | 4494 | _ACEOF |
| 4426 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4495 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4427 | $EGREP "memchr" >/dev/null 2>&1; then | 4496 | $EGREP "memchr" >/dev/null 2>&1; then : |
| 4428 | : | 4497 | |
| 4429 | else | 4498 | else |
| 4430 | ac_cv_header_stdc=no | 4499 | ac_cv_header_stdc=no |
| 4431 | fi | 4500 | fi |
| @@ -4435,18 +4504,14 @@ fi | |||
| 4435 | 4504 | ||
| 4436 | if test $ac_cv_header_stdc = yes; then | 4505 | if test $ac_cv_header_stdc = yes; then |
| 4437 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4506 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4438 | cat >conftest.$ac_ext <<_ACEOF | 4507 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4439 | /* confdefs.h. */ | ||
| 4440 | _ACEOF | ||
| 4441 | cat confdefs.h >>conftest.$ac_ext | ||
| 4442 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4443 | /* end confdefs.h. */ | 4508 | /* end confdefs.h. */ |
| 4444 | #include <stdlib.h> | 4509 | #include <stdlib.h> |
| 4445 | 4510 | ||
| 4446 | _ACEOF | 4511 | _ACEOF |
| 4447 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4512 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4448 | $EGREP "free" >/dev/null 2>&1; then | 4513 | $EGREP "free" >/dev/null 2>&1; then : |
| 4449 | : | 4514 | |
| 4450 | else | 4515 | else |
| 4451 | ac_cv_header_stdc=no | 4516 | ac_cv_header_stdc=no |
| 4452 | fi | 4517 | fi |
| @@ -4456,14 +4521,10 @@ fi | |||
| 4456 | 4521 | ||
| 4457 | if test $ac_cv_header_stdc = yes; then | 4522 | if test $ac_cv_header_stdc = yes; then |
| 4458 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4523 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4459 | if test "$cross_compiling" = yes; then | 4524 | if test "$cross_compiling" = yes; then : |
| 4460 | : | 4525 | : |
| 4461 | else | 4526 | else |
| 4462 | cat >conftest.$ac_ext <<_ACEOF | 4527 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4463 | /* confdefs.h. */ | ||
| 4464 | _ACEOF | ||
| 4465 | cat confdefs.h >>conftest.$ac_ext | ||
| 4466 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4467 | /* end confdefs.h. */ | 4528 | /* end confdefs.h. */ |
| 4468 | #include <ctype.h> | 4529 | #include <ctype.h> |
| 4469 | #include <stdlib.h> | 4530 | #include <stdlib.h> |
| @@ -4490,117 +4551,34 @@ main () | |||
| 4490 | return 0; | 4551 | return 0; |
| 4491 | } | 4552 | } |
| 4492 | _ACEOF | 4553 | _ACEOF |
| 4493 | rm -f conftest$ac_exeext | 4554 | if ac_fn_c_try_run "$LINENO"; then : |
| 4494 | if { (ac_try="$ac_link" | ||
| 4495 | case "(($ac_try" in | ||
| 4496 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4497 | *) ac_try_echo=$ac_try;; | ||
| 4498 | esac | ||
| 4499 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4500 | $as_echo "$ac_try_echo") >&5 | ||
| 4501 | (eval "$ac_link") 2>&5 | ||
| 4502 | ac_status=$? | ||
| 4503 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4504 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 4505 | { (case "(($ac_try" in | ||
| 4506 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4507 | *) ac_try_echo=$ac_try;; | ||
| 4508 | esac | ||
| 4509 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4510 | $as_echo "$ac_try_echo") >&5 | ||
| 4511 | (eval "$ac_try") 2>&5 | ||
| 4512 | ac_status=$? | ||
| 4513 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4514 | (exit $ac_status); }; }; then | ||
| 4515 | : | ||
| 4516 | else | ||
| 4517 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 4518 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4519 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4520 | 4555 | ||
| 4521 | ( exit $ac_status ) | 4556 | else |
| 4522 | ac_cv_header_stdc=no | 4557 | ac_cv_header_stdc=no |
| 4523 | fi | 4558 | fi |
| 4524 | rm -rf conftest.dSYM | 4559 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 4525 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4560 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4526 | fi | 4561 | fi |
| 4527 | 4562 | ||
| 4528 | |||
| 4529 | fi | 4563 | fi |
| 4530 | fi | 4564 | fi |
| 4531 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 4565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 4532 | $as_echo "$ac_cv_header_stdc" >&6; } | 4566 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 4533 | if test $ac_cv_header_stdc = yes; then | 4567 | if test $ac_cv_header_stdc = yes; then |
| 4534 | 4568 | ||
| 4535 | cat >>confdefs.h <<\_ACEOF | 4569 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 4536 | #define STDC_HEADERS 1 | ||
| 4537 | _ACEOF | ||
| 4538 | 4570 | ||
| 4539 | fi | 4571 | fi |
| 4540 | 4572 | ||
| 4541 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4573 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4542 | |||
| 4543 | |||
| 4544 | |||
| 4545 | |||
| 4546 | |||
| 4547 | |||
| 4548 | |||
| 4549 | |||
| 4550 | |||
| 4551 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4574 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4552 | inttypes.h stdint.h unistd.h | 4575 | inttypes.h stdint.h unistd.h |
| 4553 | do | 4576 | do : |
| 4554 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4577 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4555 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4578 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 4556 | $as_echo_n "checking for $ac_header... " >&6; } | 4579 | " |
| 4557 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4580 | eval as_val=\$$as_ac_Header |
| 4558 | $as_echo_n "(cached) " >&6 | 4581 | if test "x$as_val" = x""yes; then : |
| 4559 | else | ||
| 4560 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4561 | /* confdefs.h. */ | ||
| 4562 | _ACEOF | ||
| 4563 | cat confdefs.h >>conftest.$ac_ext | ||
| 4564 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4565 | /* end confdefs.h. */ | ||
| 4566 | $ac_includes_default | ||
| 4567 | |||
| 4568 | #include <$ac_header> | ||
| 4569 | _ACEOF | ||
| 4570 | rm -f conftest.$ac_objext | ||
| 4571 | if { (ac_try="$ac_compile" | ||
| 4572 | case "(($ac_try" in | ||
| 4573 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4574 | *) ac_try_echo=$ac_try;; | ||
| 4575 | esac | ||
| 4576 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4577 | $as_echo "$ac_try_echo") >&5 | ||
| 4578 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4579 | ac_status=$? | ||
| 4580 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4581 | rm -f conftest.er1 | ||
| 4582 | cat conftest.err >&5 | ||
| 4583 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4584 | (exit $ac_status); } && { | ||
| 4585 | test -z "$ac_c_werror_flag" || | ||
| 4586 | test ! -s conftest.err | ||
| 4587 | } && test -s conftest.$ac_objext; then | ||
| 4588 | eval "$as_ac_Header=yes" | ||
| 4589 | else | ||
| 4590 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4591 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4592 | |||
| 4593 | eval "$as_ac_Header=no" | ||
| 4594 | fi | ||
| 4595 | |||
| 4596 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4597 | fi | ||
| 4598 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 4599 | $as_echo "$as_val"'` | ||
| 4600 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 4601 | $as_echo "$ac_res" >&6; } | ||
| 4602 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 4603 | $as_echo "$as_val"'` = yes; then | ||
| 4604 | cat >>confdefs.h <<_ACEOF | 4582 | cat >>confdefs.h <<_ACEOF |
| 4605 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4583 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4606 | _ACEOF | 4584 | _ACEOF |
| @@ -4611,134 +4589,8 @@ done | |||
| 4611 | 4589 | ||
| 4612 | 4590 | ||
| 4613 | 4591 | ||
| 4614 | if test "${ac_cv_header_minix_config_h+set}" = set; then | 4592 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
| 4615 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | 4593 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
| 4616 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4617 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4618 | $as_echo_n "(cached) " >&6 | ||
| 4619 | fi | ||
| 4620 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4621 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4622 | else | ||
| 4623 | # Is the header compilable? | ||
| 4624 | { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 | ||
| 4625 | $as_echo_n "checking minix/config.h usability... " >&6; } | ||
| 4626 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4627 | /* confdefs.h. */ | ||
| 4628 | _ACEOF | ||
| 4629 | cat confdefs.h >>conftest.$ac_ext | ||
| 4630 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4631 | /* end confdefs.h. */ | ||
| 4632 | $ac_includes_default | ||
| 4633 | #include <minix/config.h> | ||
| 4634 | _ACEOF | ||
| 4635 | rm -f conftest.$ac_objext | ||
| 4636 | if { (ac_try="$ac_compile" | ||
| 4637 | case "(($ac_try" in | ||
| 4638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4639 | *) ac_try_echo=$ac_try;; | ||
| 4640 | esac | ||
| 4641 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4642 | $as_echo "$ac_try_echo") >&5 | ||
| 4643 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4644 | ac_status=$? | ||
| 4645 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4646 | rm -f conftest.er1 | ||
| 4647 | cat conftest.err >&5 | ||
| 4648 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4649 | (exit $ac_status); } && { | ||
| 4650 | test -z "$ac_c_werror_flag" || | ||
| 4651 | test ! -s conftest.err | ||
| 4652 | } && test -s conftest.$ac_objext; then | ||
| 4653 | ac_header_compiler=yes | ||
| 4654 | else | ||
| 4655 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4656 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4657 | |||
| 4658 | ac_header_compiler=no | ||
| 4659 | fi | ||
| 4660 | |||
| 4661 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4662 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 4663 | $as_echo "$ac_header_compiler" >&6; } | ||
| 4664 | |||
| 4665 | # Is the header present? | ||
| 4666 | { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 | ||
| 4667 | $as_echo_n "checking minix/config.h presence... " >&6; } | ||
| 4668 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4669 | /* confdefs.h. */ | ||
| 4670 | _ACEOF | ||
| 4671 | cat confdefs.h >>conftest.$ac_ext | ||
| 4672 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4673 | /* end confdefs.h. */ | ||
| 4674 | #include <minix/config.h> | ||
| 4675 | _ACEOF | ||
| 4676 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 4677 | case "(($ac_try" in | ||
| 4678 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4679 | *) ac_try_echo=$ac_try;; | ||
| 4680 | esac | ||
| 4681 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4682 | $as_echo "$ac_try_echo") >&5 | ||
| 4683 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4684 | ac_status=$? | ||
| 4685 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4686 | rm -f conftest.er1 | ||
| 4687 | cat conftest.err >&5 | ||
| 4688 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4689 | (exit $ac_status); } >/dev/null && { | ||
| 4690 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4691 | test ! -s conftest.err | ||
| 4692 | }; then | ||
| 4693 | ac_header_preproc=yes | ||
| 4694 | else | ||
| 4695 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4696 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4697 | |||
| 4698 | ac_header_preproc=no | ||
| 4699 | fi | ||
| 4700 | |||
| 4701 | rm -f conftest.err conftest.$ac_ext | ||
| 4702 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 4703 | $as_echo "$ac_header_preproc" >&6; } | ||
| 4704 | |||
| 4705 | # So? What about this header? | ||
| 4706 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 4707 | yes:no: ) | ||
| 4708 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 4709 | $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 4710 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 | ||
| 4711 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} | ||
| 4712 | ac_header_preproc=yes | ||
| 4713 | ;; | ||
| 4714 | no:yes:* ) | ||
| 4715 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 | ||
| 4716 | $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | ||
| 4717 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 | ||
| 4718 | $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | ||
| 4719 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 | ||
| 4720 | $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} | ||
| 4721 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 4722 | $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 4723 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 | ||
| 4724 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | ||
| 4725 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 | ||
| 4726 | $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} | ||
| 4727 | |||
| 4728 | ;; | ||
| 4729 | esac | ||
| 4730 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | ||
| 4731 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4732 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4733 | $as_echo_n "(cached) " >&6 | ||
| 4734 | else | ||
| 4735 | ac_cv_header_minix_config_h=$ac_header_preproc | ||
| 4736 | fi | ||
| 4737 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4738 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4739 | |||
| 4740 | fi | ||
| 4741 | if test $ac_cv_header_minix_config_h = yes; then | ||
| 4742 | MINIX=yes | 4594 | MINIX=yes |
| 4743 | else | 4595 | else |
| 4744 | MINIX= | 4596 | MINIX= |
| @@ -4747,34 +4599,23 @@ fi | |||
| 4747 | 4599 | ||
| 4748 | if test "$MINIX" = yes; then | 4600 | if test "$MINIX" = yes; then |
| 4749 | 4601 | ||
| 4750 | cat >>confdefs.h <<\_ACEOF | 4602 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 4751 | #define _POSIX_SOURCE 1 | ||
| 4752 | _ACEOF | ||
| 4753 | 4603 | ||
| 4754 | 4604 | ||
| 4755 | cat >>confdefs.h <<\_ACEOF | 4605 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 4756 | #define _POSIX_1_SOURCE 2 | ||
| 4757 | _ACEOF | ||
| 4758 | 4606 | ||
| 4759 | 4607 | ||
| 4760 | cat >>confdefs.h <<\_ACEOF | 4608 | $as_echo "#define _MINIX 1" >>confdefs.h |
| 4761 | #define _MINIX 1 | ||
| 4762 | _ACEOF | ||
| 4763 | 4609 | ||
| 4764 | fi | 4610 | fi |
| 4765 | 4611 | ||
| 4766 | 4612 | ||
| 4767 | 4613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | |
| 4768 | { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | ||
| 4769 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4614 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 4770 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then | 4615 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
| 4771 | $as_echo_n "(cached) " >&6 | 4616 | $as_echo_n "(cached) " >&6 |
| 4772 | else | 4617 | else |
| 4773 | cat >conftest.$ac_ext <<_ACEOF | 4618 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4774 | /* confdefs.h. */ | ||
| 4775 | _ACEOF | ||
| 4776 | cat confdefs.h >>conftest.$ac_ext | ||
| 4777 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4778 | /* end confdefs.h. */ | 4619 | /* end confdefs.h. */ |
| 4779 | 4620 | ||
| 4780 | # define __EXTENSIONS__ 1 | 4621 | # define __EXTENSIONS__ 1 |
| @@ -4787,69 +4628,34 @@ main () | |||
| 4787 | return 0; | 4628 | return 0; |
| 4788 | } | 4629 | } |
| 4789 | _ACEOF | 4630 | _ACEOF |
| 4790 | rm -f conftest.$ac_objext | 4631 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4791 | if { (ac_try="$ac_compile" | ||
| 4792 | case "(($ac_try" in | ||
| 4793 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4794 | *) ac_try_echo=$ac_try;; | ||
| 4795 | esac | ||
| 4796 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4797 | $as_echo "$ac_try_echo") >&5 | ||
| 4798 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4799 | ac_status=$? | ||
| 4800 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4801 | rm -f conftest.er1 | ||
| 4802 | cat conftest.err >&5 | ||
| 4803 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4804 | (exit $ac_status); } && { | ||
| 4805 | test -z "$ac_c_werror_flag" || | ||
| 4806 | test ! -s conftest.err | ||
| 4807 | } && test -s conftest.$ac_objext; then | ||
| 4808 | ac_cv_safe_to_define___extensions__=yes | 4632 | ac_cv_safe_to_define___extensions__=yes |
| 4809 | else | 4633 | else |
| 4810 | $as_echo "$as_me: failed program was:" >&5 | 4634 | ac_cv_safe_to_define___extensions__=no |
| 4811 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4812 | |||
| 4813 | ac_cv_safe_to_define___extensions__=no | ||
| 4814 | fi | 4635 | fi |
| 4815 | |||
| 4816 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4636 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4817 | fi | 4637 | fi |
| 4818 | { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 | 4638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 4819 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4639 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 4820 | test $ac_cv_safe_to_define___extensions__ = yes && | 4640 | test $ac_cv_safe_to_define___extensions__ = yes && |
| 4821 | cat >>confdefs.h <<\_ACEOF | 4641 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
| 4822 | #define __EXTENSIONS__ 1 | ||
| 4823 | _ACEOF | ||
| 4824 | 4642 | ||
| 4825 | cat >>confdefs.h <<\_ACEOF | 4643 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
| 4826 | #define _ALL_SOURCE 1 | ||
| 4827 | _ACEOF | ||
| 4828 | 4644 | ||
| 4829 | cat >>confdefs.h <<\_ACEOF | 4645 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 4830 | #define _GNU_SOURCE 1 | ||
| 4831 | _ACEOF | ||
| 4832 | 4646 | ||
| 4833 | cat >>confdefs.h <<\_ACEOF | 4647 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 4834 | #define _POSIX_PTHREAD_SEMANTICS 1 | ||
| 4835 | _ACEOF | ||
| 4836 | 4648 | ||
| 4837 | cat >>confdefs.h <<\_ACEOF | 4649 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 4838 | #define _TANDEM_SOURCE 1 | ||
| 4839 | _ACEOF | ||
| 4840 | 4650 | ||
| 4841 | 4651 | ||
| 4842 | 4652 | ||
| 4843 | ### Use -Wno-pointer-sign if the compiler supports it | 4653 | ### Use -Wno-pointer-sign if the compiler supports it |
| 4844 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 | 4654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 |
| 4845 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4655 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
| 4846 | SAVE_CFLAGS="$CFLAGS" | 4656 | SAVE_CFLAGS="$CFLAGS" |
| 4847 | CFLAGS="$CFLAGS -Wno-pointer-sign" | 4657 | CFLAGS="$CFLAGS -Wno-pointer-sign" |
| 4848 | cat >conftest.$ac_ext <<_ACEOF | 4658 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4849 | /* confdefs.h. */ | ||
| 4850 | _ACEOF | ||
| 4851 | cat confdefs.h >>conftest.$ac_ext | ||
| 4852 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4853 | /* end confdefs.h. */ | 4659 | /* end confdefs.h. */ |
| 4854 | 4660 | ||
| 4855 | int | 4661 | int |
| @@ -4860,52 +4666,27 @@ main () | |||
| 4860 | return 0; | 4666 | return 0; |
| 4861 | } | 4667 | } |
| 4862 | _ACEOF | 4668 | _ACEOF |
| 4863 | rm -f conftest.$ac_objext | 4669 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4864 | if { (ac_try="$ac_compile" | ||
| 4865 | case "(($ac_try" in | ||
| 4866 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4867 | *) ac_try_echo=$ac_try;; | ||
| 4868 | esac | ||
| 4869 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4870 | $as_echo "$ac_try_echo") >&5 | ||
| 4871 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4872 | ac_status=$? | ||
| 4873 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4874 | rm -f conftest.er1 | ||
| 4875 | cat conftest.err >&5 | ||
| 4876 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4877 | (exit $ac_status); } && { | ||
| 4878 | test -z "$ac_c_werror_flag" || | ||
| 4879 | test ! -s conftest.err | ||
| 4880 | } && test -s conftest.$ac_objext; then | ||
| 4881 | has_option=yes | 4670 | has_option=yes |
| 4882 | else | 4671 | else |
| 4883 | $as_echo "$as_me: failed program was:" >&5 | 4672 | has_option=no |
| 4884 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4885 | |||
| 4886 | has_option=no | ||
| 4887 | fi | 4673 | fi |
| 4888 | |||
| 4889 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4890 | if test $has_option = yes; then | 4675 | if test $has_option = yes; then |
| 4891 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4676 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
| 4892 | fi | 4677 | fi |
| 4893 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 | 4678 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 |
| 4894 | $as_echo "$has_option" >&6; } | 4679 | $as_echo "$has_option" >&6; } |
| 4895 | CFLAGS="$SAVE_CFLAGS" | 4680 | CFLAGS="$SAVE_CFLAGS" |
| 4896 | unset has_option | 4681 | unset has_option |
| 4897 | unset SAVE_CFLAGS | 4682 | unset SAVE_CFLAGS |
| 4898 | 4683 | ||
| 4899 | ### Use -Wdeclaration-after-statement if the compiler supports it | 4684 | ### Use -Wdeclaration-after-statement if the compiler supports it |
| 4900 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
| 4901 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4686 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
| 4902 | SAVE_CFLAGS="$CFLAGS" | 4687 | SAVE_CFLAGS="$CFLAGS" |
| 4903 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4688 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
| 4904 | cat >conftest.$ac_ext <<_ACEOF | 4689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4905 | /* confdefs.h. */ | ||
| 4906 | _ACEOF | ||
| 4907 | cat confdefs.h >>conftest.$ac_ext | ||
| 4908 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4909 | /* end confdefs.h. */ | 4690 | /* end confdefs.h. */ |
| 4910 | 4691 | ||
| 4911 | int | 4692 | int |
| @@ -4916,37 +4697,16 @@ main () | |||
| 4916 | return 0; | 4697 | return 0; |
| 4917 | } | 4698 | } |
| 4918 | _ACEOF | 4699 | _ACEOF |
| 4919 | rm -f conftest.$ac_objext | 4700 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4920 | if { (ac_try="$ac_compile" | ||
| 4921 | case "(($ac_try" in | ||
| 4922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4923 | *) ac_try_echo=$ac_try;; | ||
| 4924 | esac | ||
| 4925 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4926 | $as_echo "$ac_try_echo") >&5 | ||
| 4927 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4928 | ac_status=$? | ||
| 4929 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4930 | rm -f conftest.er1 | ||
| 4931 | cat conftest.err >&5 | ||
| 4932 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4933 | (exit $ac_status); } && { | ||
| 4934 | test -z "$ac_c_werror_flag" || | ||
| 4935 | test ! -s conftest.err | ||
| 4936 | } && test -s conftest.$ac_objext; then | ||
| 4937 | has_option=yes | 4701 | has_option=yes |
| 4938 | else | 4702 | else |
| 4939 | $as_echo "$as_me: failed program was:" >&5 | 4703 | has_option=no |
| 4940 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4941 | |||
| 4942 | has_option=no | ||
| 4943 | fi | 4704 | fi |
| 4944 | |||
| 4945 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4705 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4946 | if test $has_option = yes; then | 4706 | if test $has_option = yes; then |
| 4947 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 4707 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
| 4948 | fi | 4708 | fi |
| 4949 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 | 4709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 |
| 4950 | $as_echo "$has_option" >&6; } | 4710 | $as_echo "$has_option" >&6; } |
| 4951 | CFLAGS="$SAVE_CFLAGS" | 4711 | CFLAGS="$SAVE_CFLAGS" |
| 4952 | unset has_option | 4712 | unset has_option |
| @@ -4954,14 +4714,14 @@ unset SAVE_CFLAGS | |||
| 4954 | 4714 | ||
| 4955 | #### Some other nice autoconf tests. | 4715 | #### Some other nice autoconf tests. |
| 4956 | 4716 | ||
| 4957 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 4717 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 4958 | $as_echo_n "checking whether ln -s works... " >&6; } | 4718 | $as_echo_n "checking whether ln -s works... " >&6; } |
| 4959 | LN_S=$as_ln_s | 4719 | LN_S=$as_ln_s |
| 4960 | if test "$LN_S" = "ln -s"; then | 4720 | if test "$LN_S" = "ln -s"; then |
| 4961 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 4721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4962 | $as_echo "yes" >&6; } | 4722 | $as_echo "yes" >&6; } |
| 4963 | else | 4723 | else |
| 4964 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 4724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 4965 | $as_echo "no, using $LN_S" >&6; } | 4725 | $as_echo "no, using $LN_S" >&6; } |
| 4966 | fi | 4726 | fi |
| 4967 | 4727 | ||
| @@ -4970,14 +4730,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4970 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4730 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4971 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4731 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4972 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4732 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4973 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 4974 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4734 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4975 | # On Suns, sometimes $CPP names a directory. | 4735 | # On Suns, sometimes $CPP names a directory. |
| 4976 | if test -n "$CPP" && test -d "$CPP"; then | 4736 | if test -n "$CPP" && test -d "$CPP"; then |
| 4977 | CPP= | 4737 | CPP= |
| 4978 | fi | 4738 | fi |
| 4979 | if test -z "$CPP"; then | 4739 | if test -z "$CPP"; then |
| 4980 | if test "${ac_cv_prog_CPP+set}" = set; then | 4740 | if test "${ac_cv_prog_CPP+set}" = set; then : |
| 4981 | $as_echo_n "(cached) " >&6 | 4741 | $as_echo_n "(cached) " >&6 |
| 4982 | else | 4742 | else |
| 4983 | # Double quotes because CPP needs to be expanded | 4743 | # Double quotes because CPP needs to be expanded |
| @@ -4992,11 +4752,7 @@ do | |||
| 4992 | # <limits.h> exists even on freestanding compilers. | 4752 | # <limits.h> exists even on freestanding compilers. |
| 4993 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4753 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4994 | # not just through cpp. "Syntax error" is here to catch this case. | 4754 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4995 | cat >conftest.$ac_ext <<_ACEOF | 4755 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4996 | /* confdefs.h. */ | ||
| 4997 | _ACEOF | ||
| 4998 | cat confdefs.h >>conftest.$ac_ext | ||
| 4999 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5000 | /* end confdefs.h. */ | 4756 | /* end confdefs.h. */ |
| 5001 | #ifdef __STDC__ | 4757 | #ifdef __STDC__ |
| 5002 | # include <limits.h> | 4758 | # include <limits.h> |
| @@ -5005,78 +4761,34 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 5005 | #endif | 4761 | #endif |
| 5006 | Syntax error | 4762 | Syntax error |
| 5007 | _ACEOF | 4763 | _ACEOF |
| 5008 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4764 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 5009 | case "(($ac_try" in | ||
| 5010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5011 | *) ac_try_echo=$ac_try;; | ||
| 5012 | esac | ||
| 5013 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5014 | $as_echo "$ac_try_echo") >&5 | ||
| 5015 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5016 | ac_status=$? | ||
| 5017 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5018 | rm -f conftest.er1 | ||
| 5019 | cat conftest.err >&5 | ||
| 5020 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5021 | (exit $ac_status); } >/dev/null && { | ||
| 5022 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5023 | test ! -s conftest.err | ||
| 5024 | }; then | ||
| 5025 | : | ||
| 5026 | else | ||
| 5027 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5028 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5029 | 4765 | ||
| 4766 | else | ||
| 5030 | # Broken: fails on valid input. | 4767 | # Broken: fails on valid input. |
| 5031 | continue | 4768 | continue |
| 5032 | fi | 4769 | fi |
| 5033 | |||
| 5034 | rm -f conftest.err conftest.$ac_ext | 4770 | rm -f conftest.err conftest.$ac_ext |
| 5035 | 4771 | ||
| 5036 | # OK, works on sane cases. Now check whether nonexistent headers | 4772 | # OK, works on sane cases. Now check whether nonexistent headers |
| 5037 | # can be detected and how. | 4773 | # can be detected and how. |
| 5038 | cat >conftest.$ac_ext <<_ACEOF | 4774 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5039 | /* confdefs.h. */ | ||
| 5040 | _ACEOF | ||
| 5041 | cat confdefs.h >>conftest.$ac_ext | ||
| 5042 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5043 | /* end confdefs.h. */ | 4775 | /* end confdefs.h. */ |
| 5044 | #include <ac_nonexistent.h> | 4776 | #include <ac_nonexistent.h> |
| 5045 | _ACEOF | 4777 | _ACEOF |
| 5046 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4778 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 5047 | case "(($ac_try" in | ||
| 5048 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5049 | *) ac_try_echo=$ac_try;; | ||
| 5050 | esac | ||
| 5051 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5052 | $as_echo "$ac_try_echo") >&5 | ||
| 5053 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5054 | ac_status=$? | ||
| 5055 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5056 | rm -f conftest.er1 | ||
| 5057 | cat conftest.err >&5 | ||
| 5058 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5059 | (exit $ac_status); } >/dev/null && { | ||
| 5060 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5061 | test ! -s conftest.err | ||
| 5062 | }; then | ||
| 5063 | # Broken: success on invalid input. | 4779 | # Broken: success on invalid input. |
| 5064 | continue | 4780 | continue |
| 5065 | else | 4781 | else |
| 5066 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5067 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5068 | |||
| 5069 | # Passes both tests. | 4782 | # Passes both tests. |
| 5070 | ac_preproc_ok=: | 4783 | ac_preproc_ok=: |
| 5071 | break | 4784 | break |
| 5072 | fi | 4785 | fi |
| 5073 | |||
| 5074 | rm -f conftest.err conftest.$ac_ext | 4786 | rm -f conftest.err conftest.$ac_ext |
| 5075 | 4787 | ||
| 5076 | done | 4788 | done |
| 5077 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4789 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5078 | rm -f conftest.err conftest.$ac_ext | 4790 | rm -f conftest.err conftest.$ac_ext |
| 5079 | if $ac_preproc_ok; then | 4791 | if $ac_preproc_ok; then : |
| 5080 | break | 4792 | break |
| 5081 | fi | 4793 | fi |
| 5082 | 4794 | ||
| @@ -5088,7 +4800,7 @@ fi | |||
| 5088 | else | 4800 | else |
| 5089 | ac_cv_prog_CPP=$CPP | 4801 | ac_cv_prog_CPP=$CPP |
| 5090 | fi | 4802 | fi |
| 5091 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | 4803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 5092 | $as_echo "$CPP" >&6; } | 4804 | $as_echo "$CPP" >&6; } |
| 5093 | ac_preproc_ok=false | 4805 | ac_preproc_ok=false |
| 5094 | for ac_c_preproc_warn_flag in '' yes | 4806 | for ac_c_preproc_warn_flag in '' yes |
| @@ -5099,11 +4811,7 @@ do | |||
| 5099 | # <limits.h> exists even on freestanding compilers. | 4811 | # <limits.h> exists even on freestanding compilers. |
| 5100 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4812 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 5101 | # not just through cpp. "Syntax error" is here to catch this case. | 4813 | # not just through cpp. "Syntax error" is here to catch this case. |
| 5102 | cat >conftest.$ac_ext <<_ACEOF | 4814 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5103 | /* confdefs.h. */ | ||
| 5104 | _ACEOF | ||
| 5105 | cat confdefs.h >>conftest.$ac_ext | ||
| 5106 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5107 | /* end confdefs.h. */ | 4815 | /* end confdefs.h. */ |
| 5108 | #ifdef __STDC__ | 4816 | #ifdef __STDC__ |
| 5109 | # include <limits.h> | 4817 | # include <limits.h> |
| @@ -5112,85 +4820,40 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 5112 | #endif | 4820 | #endif |
| 5113 | Syntax error | 4821 | Syntax error |
| 5114 | _ACEOF | 4822 | _ACEOF |
| 5115 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4823 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 5116 | case "(($ac_try" in | ||
| 5117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5118 | *) ac_try_echo=$ac_try;; | ||
| 5119 | esac | ||
| 5120 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5121 | $as_echo "$ac_try_echo") >&5 | ||
| 5122 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5123 | ac_status=$? | ||
| 5124 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5125 | rm -f conftest.er1 | ||
| 5126 | cat conftest.err >&5 | ||
| 5127 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5128 | (exit $ac_status); } >/dev/null && { | ||
| 5129 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5130 | test ! -s conftest.err | ||
| 5131 | }; then | ||
| 5132 | : | ||
| 5133 | else | ||
| 5134 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5135 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5136 | 4824 | ||
| 4825 | else | ||
| 5137 | # Broken: fails on valid input. | 4826 | # Broken: fails on valid input. |
| 5138 | continue | 4827 | continue |
| 5139 | fi | 4828 | fi |
| 5140 | |||
| 5141 | rm -f conftest.err conftest.$ac_ext | 4829 | rm -f conftest.err conftest.$ac_ext |
| 5142 | 4830 | ||
| 5143 | # OK, works on sane cases. Now check whether nonexistent headers | 4831 | # OK, works on sane cases. Now check whether nonexistent headers |
| 5144 | # can be detected and how. | 4832 | # can be detected and how. |
| 5145 | cat >conftest.$ac_ext <<_ACEOF | 4833 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5146 | /* confdefs.h. */ | ||
| 5147 | _ACEOF | ||
| 5148 | cat confdefs.h >>conftest.$ac_ext | ||
| 5149 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5150 | /* end confdefs.h. */ | 4834 | /* end confdefs.h. */ |
| 5151 | #include <ac_nonexistent.h> | 4835 | #include <ac_nonexistent.h> |
| 5152 | _ACEOF | 4836 | _ACEOF |
| 5153 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4837 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 5154 | case "(($ac_try" in | ||
| 5155 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5156 | *) ac_try_echo=$ac_try;; | ||
| 5157 | esac | ||
| 5158 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5159 | $as_echo "$ac_try_echo") >&5 | ||
| 5160 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5161 | ac_status=$? | ||
| 5162 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5163 | rm -f conftest.er1 | ||
| 5164 | cat conftest.err >&5 | ||
| 5165 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5166 | (exit $ac_status); } >/dev/null && { | ||
| 5167 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5168 | test ! -s conftest.err | ||
| 5169 | }; then | ||
| 5170 | # Broken: success on invalid input. | 4838 | # Broken: success on invalid input. |
| 5171 | continue | 4839 | continue |
| 5172 | else | 4840 | else |
| 5173 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5174 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5175 | |||
| 5176 | # Passes both tests. | 4841 | # Passes both tests. |
| 5177 | ac_preproc_ok=: | 4842 | ac_preproc_ok=: |
| 5178 | break | 4843 | break |
| 5179 | fi | 4844 | fi |
| 5180 | |||
| 5181 | rm -f conftest.err conftest.$ac_ext | 4845 | rm -f conftest.err conftest.$ac_ext |
| 5182 | 4846 | ||
| 5183 | done | 4847 | done |
| 5184 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4848 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5185 | rm -f conftest.err conftest.$ac_ext | 4849 | rm -f conftest.err conftest.$ac_ext |
| 5186 | if $ac_preproc_ok; then | 4850 | if $ac_preproc_ok; then : |
| 5187 | : | 4851 | |
| 5188 | else | 4852 | else |
| 5189 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 4853 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5190 | See \`config.log' for more details." >&5 | 4854 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5191 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4855 | as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 5192 | See \`config.log' for more details." >&2;} | 4856 | See \`config.log' for more details." "$LINENO" 5; } |
| 5193 | { (exit 1); exit 1; }; } | ||
| 5194 | fi | 4857 | fi |
| 5195 | 4858 | ||
| 5196 | ac_ext=c | 4859 | ac_ext=c |
| @@ -5213,10 +4876,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 5213 | # OS/2's system install, which has a completely different semantic | 4876 | # OS/2's system install, which has a completely different semantic |
| 5214 | # ./install, which can be erroneously created by make from ./install.sh. | 4877 | # ./install, which can be erroneously created by make from ./install.sh. |
| 5215 | # Reject install programs that cannot install multiple files. | 4878 | # Reject install programs that cannot install multiple files. |
| 5216 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 4879 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 5217 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 4880 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 5218 | if test -z "$INSTALL"; then | 4881 | if test -z "$INSTALL"; then |
| 5219 | if test "${ac_cv_path_install+set}" = set; then | 4882 | if test "${ac_cv_path_install+set}" = set; then : |
| 5220 | $as_echo_n "(cached) " >&6 | 4883 | $as_echo_n "(cached) " >&6 |
| 5221 | else | 4884 | else |
| 5222 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4885 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| @@ -5224,11 +4887,11 @@ for as_dir in $PATH | |||
| 5224 | do | 4887 | do |
| 5225 | IFS=$as_save_IFS | 4888 | IFS=$as_save_IFS |
| 5226 | test -z "$as_dir" && as_dir=. | 4889 | test -z "$as_dir" && as_dir=. |
| 5227 | # Account for people who put trailing slashes in PATH elements. | 4890 | # Account for people who put trailing slashes in PATH elements. |
| 5228 | case $as_dir/ in | 4891 | case $as_dir/ in #(( |
| 5229 | ./ | .// | /cC/* | \ | 4892 | ./ | .// | /[cC]/* | \ |
| 5230 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 4893 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 5231 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 4894 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 5232 | /usr/ucb/* ) ;; | 4895 | /usr/ucb/* ) ;; |
| 5233 | *) | 4896 | *) |
| 5234 | # OSF1 and SCO ODT 3.0 have their own names for install. | 4897 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| @@ -5265,7 +4928,7 @@ case $as_dir/ in | |||
| 5265 | ;; | 4928 | ;; |
| 5266 | esac | 4929 | esac |
| 5267 | 4930 | ||
| 5268 | done | 4931 | done |
| 5269 | IFS=$as_save_IFS | 4932 | IFS=$as_save_IFS |
| 5270 | 4933 | ||
| 5271 | rm -rf conftest.one conftest.two conftest.dir | 4934 | rm -rf conftest.one conftest.two conftest.dir |
| @@ -5281,7 +4944,7 @@ fi | |||
| 5281 | INSTALL=$ac_install_sh | 4944 | INSTALL=$ac_install_sh |
| 5282 | fi | 4945 | fi |
| 5283 | fi | 4946 | fi |
| 5284 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | 4947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 5285 | $as_echo "$INSTALL" >&6; } | 4948 | $as_echo "$INSTALL" >&6; } |
| 5286 | 4949 | ||
| 5287 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 4950 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| @@ -5296,9 +4959,9 @@ if test "x$RANLIB" = x; then | |||
| 5296 | if test -n "$ac_tool_prefix"; then | 4959 | if test -n "$ac_tool_prefix"; then |
| 5297 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 4960 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 5298 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 4961 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5299 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4962 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5300 | $as_echo_n "checking for $ac_word... " >&6; } | 4963 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5301 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 4964 | if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 5302 | $as_echo_n "(cached) " >&6 | 4965 | $as_echo_n "(cached) " >&6 |
| 5303 | else | 4966 | else |
| 5304 | if test -n "$RANLIB"; then | 4967 | if test -n "$RANLIB"; then |
| @@ -5309,24 +4972,24 @@ for as_dir in $PATH | |||
| 5309 | do | 4972 | do |
| 5310 | IFS=$as_save_IFS | 4973 | IFS=$as_save_IFS |
| 5311 | test -z "$as_dir" && as_dir=. | 4974 | test -z "$as_dir" && as_dir=. |
| 5312 | for ac_exec_ext in '' $ac_executable_extensions; do | 4975 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5313 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4976 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5314 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4977 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 5315 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4978 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5316 | break 2 | 4979 | break 2 |
| 5317 | fi | 4980 | fi |
| 5318 | done | 4981 | done |
| 5319 | done | 4982 | done |
| 5320 | IFS=$as_save_IFS | 4983 | IFS=$as_save_IFS |
| 5321 | 4984 | ||
| 5322 | fi | 4985 | fi |
| 5323 | fi | 4986 | fi |
| 5324 | RANLIB=$ac_cv_prog_RANLIB | 4987 | RANLIB=$ac_cv_prog_RANLIB |
| 5325 | if test -n "$RANLIB"; then | 4988 | if test -n "$RANLIB"; then |
| 5326 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 5327 | $as_echo "$RANLIB" >&6; } | 4990 | $as_echo "$RANLIB" >&6; } |
| 5328 | else | 4991 | else |
| 5329 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 4992 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5330 | $as_echo "no" >&6; } | 4993 | $as_echo "no" >&6; } |
| 5331 | fi | 4994 | fi |
| 5332 | 4995 | ||
| @@ -5336,9 +4999,9 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
| 5336 | ac_ct_RANLIB=$RANLIB | 4999 | ac_ct_RANLIB=$RANLIB |
| 5337 | # Extract the first word of "ranlib", so it can be a program name with args. | 5000 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 5338 | set dummy ranlib; ac_word=$2 | 5001 | set dummy ranlib; ac_word=$2 |
| 5339 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5340 | $as_echo_n "checking for $ac_word... " >&6; } | 5003 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5341 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 5004 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 5342 | $as_echo_n "(cached) " >&6 | 5005 | $as_echo_n "(cached) " >&6 |
| 5343 | else | 5006 | else |
| 5344 | if test -n "$ac_ct_RANLIB"; then | 5007 | if test -n "$ac_ct_RANLIB"; then |
| @@ -5349,24 +5012,24 @@ for as_dir in $PATH | |||
| 5349 | do | 5012 | do |
| 5350 | IFS=$as_save_IFS | 5013 | IFS=$as_save_IFS |
| 5351 | test -z "$as_dir" && as_dir=. | 5014 | test -z "$as_dir" && as_dir=. |
| 5352 | for ac_exec_ext in '' $ac_executable_extensions; do | 5015 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5353 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5016 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5354 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 5017 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 5355 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5018 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5356 | break 2 | 5019 | break 2 |
| 5357 | fi | 5020 | fi |
| 5358 | done | 5021 | done |
| 5359 | done | 5022 | done |
| 5360 | IFS=$as_save_IFS | 5023 | IFS=$as_save_IFS |
| 5361 | 5024 | ||
| 5362 | fi | 5025 | fi |
| 5363 | fi | 5026 | fi |
| 5364 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5027 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 5365 | if test -n "$ac_ct_RANLIB"; then | 5028 | if test -n "$ac_ct_RANLIB"; then |
| 5366 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 5029 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 5367 | $as_echo "$ac_ct_RANLIB" >&6; } | 5030 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 5368 | else | 5031 | else |
| 5369 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5370 | $as_echo "no" >&6; } | 5033 | $as_echo "no" >&6; } |
| 5371 | fi | 5034 | fi |
| 5372 | 5035 | ||
| @@ -5375,12 +5038,8 @@ fi | |||
| 5375 | else | 5038 | else |
| 5376 | case $cross_compiling:$ac_tool_warned in | 5039 | case $cross_compiling:$ac_tool_warned in |
| 5377 | yes:) | 5040 | yes:) |
| 5378 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 5041 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5379 | whose name does not start with the host triplet. If you think this | 5042 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5380 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 5381 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 5382 | whose name does not start with the host triplet. If you think this | ||
| 5383 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 5384 | ac_tool_warned=yes ;; | 5043 | ac_tool_warned=yes ;; |
| 5385 | esac | 5044 | esac |
| 5386 | RANLIB=$ac_ct_RANLIB | 5045 | RANLIB=$ac_ct_RANLIB |
| @@ -5392,9 +5051,9 @@ fi | |||
| 5392 | fi | 5051 | fi |
| 5393 | # Extract the first word of "install-info", so it can be a program name with args. | 5052 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5394 | set dummy install-info; ac_word=$2 | 5053 | set dummy install-info; ac_word=$2 |
| 5395 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5054 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5396 | $as_echo_n "checking for $ac_word... " >&6; } | 5055 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5397 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5056 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : |
| 5398 | $as_echo_n "(cached) " >&6 | 5057 | $as_echo_n "(cached) " >&6 |
| 5399 | else | 5058 | else |
| 5400 | case $INSTALL_INFO in | 5059 | case $INSTALL_INFO in |
| @@ -5407,14 +5066,14 @@ for as_dir in $PATH | |||
| 5407 | do | 5066 | do |
| 5408 | IFS=$as_save_IFS | 5067 | IFS=$as_save_IFS |
| 5409 | test -z "$as_dir" && as_dir=. | 5068 | test -z "$as_dir" && as_dir=. |
| 5410 | for ac_exec_ext in '' $ac_executable_extensions; do | 5069 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5411 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5070 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5412 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5071 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5413 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5072 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5414 | break 2 | 5073 | break 2 |
| 5415 | fi | 5074 | fi |
| 5416 | done | 5075 | done |
| 5417 | done | 5076 | done |
| 5418 | IFS=$as_save_IFS | 5077 | IFS=$as_save_IFS |
| 5419 | 5078 | ||
| 5420 | ;; | 5079 | ;; |
| @@ -5422,19 +5081,19 @@ esac | |||
| 5422 | fi | 5081 | fi |
| 5423 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5082 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5424 | if test -n "$INSTALL_INFO"; then | 5083 | if test -n "$INSTALL_INFO"; then |
| 5425 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5084 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 |
| 5426 | $as_echo "$INSTALL_INFO" >&6; } | 5085 | $as_echo "$INSTALL_INFO" >&6; } |
| 5427 | else | 5086 | else |
| 5428 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5429 | $as_echo "no" >&6; } | 5088 | $as_echo "no" >&6; } |
| 5430 | fi | 5089 | fi |
| 5431 | 5090 | ||
| 5432 | 5091 | ||
| 5433 | # Extract the first word of "install-info", so it can be a program name with args. | 5092 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5434 | set dummy install-info; ac_word=$2 | 5093 | set dummy install-info; ac_word=$2 |
| 5435 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5094 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5436 | $as_echo_n "checking for $ac_word... " >&6; } | 5095 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5437 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5096 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : |
| 5438 | $as_echo_n "(cached) " >&6 | 5097 | $as_echo_n "(cached) " >&6 |
| 5439 | else | 5098 | else |
| 5440 | case $INSTALL_INFO in | 5099 | case $INSTALL_INFO in |
| @@ -5447,14 +5106,14 @@ for as_dir in /usr/sbin | |||
| 5447 | do | 5106 | do |
| 5448 | IFS=$as_save_IFS | 5107 | IFS=$as_save_IFS |
| 5449 | test -z "$as_dir" && as_dir=. | 5108 | test -z "$as_dir" && as_dir=. |
| 5450 | for ac_exec_ext in '' $ac_executable_extensions; do | 5109 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5451 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5110 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5452 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5111 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5453 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5112 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5454 | break 2 | 5113 | break 2 |
| 5455 | fi | 5114 | fi |
| 5456 | done | 5115 | done |
| 5457 | done | 5116 | done |
| 5458 | IFS=$as_save_IFS | 5117 | IFS=$as_save_IFS |
| 5459 | 5118 | ||
| 5460 | ;; | 5119 | ;; |
| @@ -5462,19 +5121,19 @@ esac | |||
| 5462 | fi | 5121 | fi |
| 5463 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5122 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5464 | if test -n "$INSTALL_INFO"; then | 5123 | if test -n "$INSTALL_INFO"; then |
| 5465 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 |
| 5466 | $as_echo "$INSTALL_INFO" >&6; } | 5125 | $as_echo "$INSTALL_INFO" >&6; } |
| 5467 | else | 5126 | else |
| 5468 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5469 | $as_echo "no" >&6; } | 5128 | $as_echo "no" >&6; } |
| 5470 | fi | 5129 | fi |
| 5471 | 5130 | ||
| 5472 | 5131 | ||
| 5473 | # Extract the first word of "install-info", so it can be a program name with args. | 5132 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5474 | set dummy install-info; ac_word=$2 | 5133 | set dummy install-info; ac_word=$2 |
| 5475 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5134 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5476 | $as_echo_n "checking for $ac_word... " >&6; } | 5135 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5477 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5136 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : |
| 5478 | $as_echo_n "(cached) " >&6 | 5137 | $as_echo_n "(cached) " >&6 |
| 5479 | else | 5138 | else |
| 5480 | case $INSTALL_INFO in | 5139 | case $INSTALL_INFO in |
| @@ -5487,14 +5146,14 @@ for as_dir in /sbin | |||
| 5487 | do | 5146 | do |
| 5488 | IFS=$as_save_IFS | 5147 | IFS=$as_save_IFS |
| 5489 | test -z "$as_dir" && as_dir=. | 5148 | test -z "$as_dir" && as_dir=. |
| 5490 | for ac_exec_ext in '' $ac_executable_extensions; do | 5149 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5491 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5150 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5492 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5151 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5493 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5152 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5494 | break 2 | 5153 | break 2 |
| 5495 | fi | 5154 | fi |
| 5496 | done | 5155 | done |
| 5497 | done | 5156 | done |
| 5498 | IFS=$as_save_IFS | 5157 | IFS=$as_save_IFS |
| 5499 | 5158 | ||
| 5500 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5159 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
| @@ -5503,19 +5162,19 @@ esac | |||
| 5503 | fi | 5162 | fi |
| 5504 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5163 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5505 | if test -n "$INSTALL_INFO"; then | 5164 | if test -n "$INSTALL_INFO"; then |
| 5506 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 |
| 5507 | $as_echo "$INSTALL_INFO" >&6; } | 5166 | $as_echo "$INSTALL_INFO" >&6; } |
| 5508 | else | 5167 | else |
| 5509 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5510 | $as_echo "no" >&6; } | 5169 | $as_echo "no" >&6; } |
| 5511 | fi | 5170 | fi |
| 5512 | 5171 | ||
| 5513 | 5172 | ||
| 5514 | # Extract the first word of "gzip", so it can be a program name with args. | 5173 | # Extract the first word of "gzip", so it can be a program name with args. |
| 5515 | set dummy gzip; ac_word=$2 | 5174 | set dummy gzip; ac_word=$2 |
| 5516 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5517 | $as_echo_n "checking for $ac_word... " >&6; } | 5176 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5518 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then | 5177 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then : |
| 5519 | $as_echo_n "(cached) " >&6 | 5178 | $as_echo_n "(cached) " >&6 |
| 5520 | else | 5179 | else |
| 5521 | case $GZIP_PROG in | 5180 | case $GZIP_PROG in |
| @@ -5528,14 +5187,14 @@ for as_dir in $PATH | |||
| 5528 | do | 5187 | do |
| 5529 | IFS=$as_save_IFS | 5188 | IFS=$as_save_IFS |
| 5530 | test -z "$as_dir" && as_dir=. | 5189 | test -z "$as_dir" && as_dir=. |
| 5531 | for ac_exec_ext in '' $ac_executable_extensions; do | 5190 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5532 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5191 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5533 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5192 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
| 5534 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5193 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5535 | break 2 | 5194 | break 2 |
| 5536 | fi | 5195 | fi |
| 5537 | done | 5196 | done |
| 5538 | done | 5197 | done |
| 5539 | IFS=$as_save_IFS | 5198 | IFS=$as_save_IFS |
| 5540 | 5199 | ||
| 5541 | ;; | 5200 | ;; |
| @@ -5543,10 +5202,10 @@ esac | |||
| 5543 | fi | 5202 | fi |
| 5544 | GZIP_PROG=$ac_cv_path_GZIP_PROG | 5203 | GZIP_PROG=$ac_cv_path_GZIP_PROG |
| 5545 | if test -n "$GZIP_PROG"; then | 5204 | if test -n "$GZIP_PROG"; then |
| 5546 | { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 | 5205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 |
| 5547 | $as_echo "$GZIP_PROG" >&6; } | 5206 | $as_echo "$GZIP_PROG" >&6; } |
| 5548 | else | 5207 | else |
| 5549 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5550 | $as_echo "no" >&6; } | 5209 | $as_echo "no" >&6; } |
| 5551 | fi | 5210 | fi |
| 5552 | 5211 | ||
| @@ -5556,9 +5215,9 @@ fi | |||
| 5556 | ## Need makeinfo >= 4.6 (?) to build the manuals. | 5215 | ## Need makeinfo >= 4.6 (?) to build the manuals. |
| 5557 | # Extract the first word of "makeinfo", so it can be a program name with args. | 5216 | # Extract the first word of "makeinfo", so it can be a program name with args. |
| 5558 | set dummy makeinfo; ac_word=$2 | 5217 | set dummy makeinfo; ac_word=$2 |
| 5559 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5560 | $as_echo_n "checking for $ac_word... " >&6; } | 5219 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5561 | if test "${ac_cv_path_MAKEINFO+set}" = set; then | 5220 | if test "${ac_cv_path_MAKEINFO+set}" = set; then : |
| 5562 | $as_echo_n "(cached) " >&6 | 5221 | $as_echo_n "(cached) " >&6 |
| 5563 | else | 5222 | else |
| 5564 | case $MAKEINFO in | 5223 | case $MAKEINFO in |
| @@ -5571,14 +5230,14 @@ for as_dir in $PATH | |||
| 5571 | do | 5230 | do |
| 5572 | IFS=$as_save_IFS | 5231 | IFS=$as_save_IFS |
| 5573 | test -z "$as_dir" && as_dir=. | 5232 | test -z "$as_dir" && as_dir=. |
| 5574 | for ac_exec_ext in '' $ac_executable_extensions; do | 5233 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5575 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5234 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5576 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5235 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
| 5577 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5236 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5578 | break 2 | 5237 | break 2 |
| 5579 | fi | 5238 | fi |
| 5580 | done | 5239 | done |
| 5581 | done | 5240 | done |
| 5582 | IFS=$as_save_IFS | 5241 | IFS=$as_save_IFS |
| 5583 | 5242 | ||
| 5584 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5243 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
| @@ -5587,10 +5246,10 @@ esac | |||
| 5587 | fi | 5246 | fi |
| 5588 | MAKEINFO=$ac_cv_path_MAKEINFO | 5247 | MAKEINFO=$ac_cv_path_MAKEINFO |
| 5589 | if test -n "$MAKEINFO"; then | 5248 | if test -n "$MAKEINFO"; then |
| 5590 | { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 | 5249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 |
| 5591 | $as_echo "$MAKEINFO" >&6; } | 5250 | $as_echo "$MAKEINFO" >&6; } |
| 5592 | else | 5251 | else |
| 5593 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5252 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5594 | $as_echo "no" >&6; } | 5253 | $as_echo "no" >&6; } |
| 5595 | fi | 5254 | fi |
| 5596 | 5255 | ||
| @@ -5613,15 +5272,10 @@ if test "$MAKEINFO" = "no"; then | |||
| 5613 | if test "x${with_makeinfo}" = "xno"; then | 5272 | if test "x${with_makeinfo}" = "xno"; then |
| 5614 | MAKEINFO=off | 5273 | MAKEINFO=off |
| 5615 | elif ! test -e $srcdir/info/emacs; then | 5274 | elif ! test -e $srcdir/info/emacs; then |
| 5616 | { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your | 5275 | as_fn_error "You do not seem to have makeinfo >= 4.6, and your |
| 5617 | source tree does not seem to have pre-built manuals in the \`info' directory. | 5276 | source tree does not seem to have pre-built manuals in the \`info' directory. |
| 5618 | Either install a suitable version of makeinfo, or re-run configure | 5277 | Either install a suitable version of makeinfo, or re-run configure |
| 5619 | with the \`--without-makeinfo' option to build without the manuals. " >&5 | 5278 | with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
| 5620 | $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | ||
| 5621 | source tree does not seem to have pre-built manuals in the \`info' directory. | ||
| 5622 | Either install a suitable version of makeinfo, or re-run configure | ||
| 5623 | with the \`--without-makeinfo' option to build without the manuals. " >&2;} | ||
| 5624 | { (exit 1); exit 1; }; } | ||
| 5625 | fi | 5279 | fi |
| 5626 | fi | 5280 | fi |
| 5627 | 5281 | ||
| @@ -5644,50 +5298,26 @@ else | |||
| 5644 | LDFLAGS="$LDFLAGS -znocombreloc" | 5298 | LDFLAGS="$LDFLAGS -znocombreloc" |
| 5645 | fi | 5299 | fi |
| 5646 | 5300 | ||
| 5647 | { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 | 5301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 |
| 5648 | $as_echo_n "checking for -znocombreloc... " >&6; } | 5302 | $as_echo_n "checking for -znocombreloc... " >&6; } |
| 5649 | cat >conftest.$ac_ext <<_ACEOF | 5303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5304 | /* end confdefs.h. */ | ||
| 5650 | main(){return 0;} | 5305 | main(){return 0;} |
| 5651 | _ACEOF | 5306 | _ACEOF |
| 5652 | rm -f conftest.$ac_objext conftest$ac_exeext | 5307 | if ac_fn_c_try_link "$LINENO"; then : |
| 5653 | if { (ac_try="$ac_link" | 5308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5654 | case "(($ac_try" in | ||
| 5655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5656 | *) ac_try_echo=$ac_try;; | ||
| 5657 | esac | ||
| 5658 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5659 | $as_echo "$ac_try_echo") >&5 | ||
| 5660 | (eval "$ac_link") 2>conftest.er1 | ||
| 5661 | ac_status=$? | ||
| 5662 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5663 | rm -f conftest.er1 | ||
| 5664 | cat conftest.err >&5 | ||
| 5665 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5666 | (exit $ac_status); } && { | ||
| 5667 | test -z "$ac_c_werror_flag" || | ||
| 5668 | test ! -s conftest.err | ||
| 5669 | } && test -s conftest$ac_exeext && { | ||
| 5670 | test "$cross_compiling" = yes || | ||
| 5671 | $as_test_x conftest$ac_exeext | ||
| 5672 | }; then | ||
| 5673 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 5674 | $as_echo "yes" >&6; } | 5309 | $as_echo "yes" >&6; } |
| 5675 | else | 5310 | else |
| 5676 | $as_echo "$as_me: failed program was:" >&5 | 5311 | LDFLAGS=$late_LDFLAGS |
| 5677 | sed 's/^/| /' conftest.$ac_ext >&5 | 5312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5678 | |||
| 5679 | LDFLAGS=$late_LDFLAGS | ||
| 5680 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
| 5681 | $as_echo "no" >&6; } | 5313 | $as_echo "no" >&6; } |
| 5682 | fi | 5314 | fi |
| 5683 | 5315 | rm -f core conftest.err conftest.$ac_objext \ | |
| 5684 | rm -rf conftest.dSYM | 5316 | conftest$ac_exeext conftest.$ac_ext |
| 5685 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 5686 | conftest$ac_exeext conftest.$ac_ext | ||
| 5687 | 5317 | ||
| 5688 | #### Extract some information from the operating system and machine files. | 5318 | #### Extract some information from the operating system and machine files. |
| 5689 | 5319 | ||
| 5690 | { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out | 5320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out |
| 5691 | - which libraries the lib-src programs will want, and | 5321 | - which libraries the lib-src programs will want, and |
| 5692 | - whether the GNU malloc routines are usable..." >&5 | 5322 | - whether the GNU malloc routines are usable..." >&5 |
| 5693 | $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5323 | $as_echo "$as_me: checking the machine- and system-dependent files to find out |
| @@ -5835,15 +5465,15 @@ fi | |||
| 5835 | 5465 | ||
| 5836 | 5466 | ||
| 5837 | # Check whether --enable-largefile was given. | 5467 | # Check whether --enable-largefile was given. |
| 5838 | if test "${enable_largefile+set}" = set; then | 5468 | if test "${enable_largefile+set}" = set; then : |
| 5839 | enableval=$enable_largefile; | 5469 | enableval=$enable_largefile; |
| 5840 | fi | 5470 | fi |
| 5841 | 5471 | ||
| 5842 | if test "$enable_largefile" != no; then | 5472 | if test "$enable_largefile" != no; then |
| 5843 | 5473 | ||
| 5844 | { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 5474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
| 5845 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 5475 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
| 5846 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | 5476 | if test "${ac_cv_sys_largefile_CC+set}" = set; then : |
| 5847 | $as_echo_n "(cached) " >&6 | 5477 | $as_echo_n "(cached) " >&6 |
| 5848 | else | 5478 | else |
| 5849 | ac_cv_sys_largefile_CC=no | 5479 | ac_cv_sys_largefile_CC=no |
| @@ -5852,11 +5482,7 @@ else | |||
| 5852 | while :; do | 5482 | while :; do |
| 5853 | # IRIX 6.2 and later do not support large files by default, | 5483 | # IRIX 6.2 and later do not support large files by default, |
| 5854 | # so use the C compiler's -n32 option if that helps. | 5484 | # so use the C compiler's -n32 option if that helps. |
| 5855 | cat >conftest.$ac_ext <<_ACEOF | 5485 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5856 | /* confdefs.h. */ | ||
| 5857 | _ACEOF | ||
| 5858 | cat confdefs.h >>conftest.$ac_ext | ||
| 5859 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5860 | /* end confdefs.h. */ | 5486 | /* end confdefs.h. */ |
| 5861 | #include <sys/types.h> | 5487 | #include <sys/types.h> |
| 5862 | /* Check that off_t can represent 2**63 - 1 correctly. | 5488 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5875,60 +5501,14 @@ main () | |||
| 5875 | return 0; | 5501 | return 0; |
| 5876 | } | 5502 | } |
| 5877 | _ACEOF | 5503 | _ACEOF |
| 5878 | rm -f conftest.$ac_objext | 5504 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5879 | if { (ac_try="$ac_compile" | ||
| 5880 | case "(($ac_try" in | ||
| 5881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5882 | *) ac_try_echo=$ac_try;; | ||
| 5883 | esac | ||
| 5884 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5885 | $as_echo "$ac_try_echo") >&5 | ||
| 5886 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5887 | ac_status=$? | ||
| 5888 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5889 | rm -f conftest.er1 | ||
| 5890 | cat conftest.err >&5 | ||
| 5891 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5892 | (exit $ac_status); } && { | ||
| 5893 | test -z "$ac_c_werror_flag" || | ||
| 5894 | test ! -s conftest.err | ||
| 5895 | } && test -s conftest.$ac_objext; then | ||
| 5896 | break | 5505 | break |
| 5897 | else | ||
| 5898 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5899 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5900 | |||
| 5901 | |||
| 5902 | fi | 5506 | fi |
| 5903 | |||
| 5904 | rm -f core conftest.err conftest.$ac_objext | 5507 | rm -f core conftest.err conftest.$ac_objext |
| 5905 | CC="$CC -n32" | 5508 | CC="$CC -n32" |
| 5906 | rm -f conftest.$ac_objext | 5509 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5907 | if { (ac_try="$ac_compile" | ||
| 5908 | case "(($ac_try" in | ||
| 5909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5910 | *) ac_try_echo=$ac_try;; | ||
| 5911 | esac | ||
| 5912 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5913 | $as_echo "$ac_try_echo") >&5 | ||
| 5914 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5915 | ac_status=$? | ||
| 5916 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5917 | rm -f conftest.er1 | ||
| 5918 | cat conftest.err >&5 | ||
| 5919 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5920 | (exit $ac_status); } && { | ||
| 5921 | test -z "$ac_c_werror_flag" || | ||
| 5922 | test ! -s conftest.err | ||
| 5923 | } && test -s conftest.$ac_objext; then | ||
| 5924 | ac_cv_sys_largefile_CC=' -n32'; break | 5510 | ac_cv_sys_largefile_CC=' -n32'; break |
| 5925 | else | ||
| 5926 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5927 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5928 | |||
| 5929 | |||
| 5930 | fi | 5511 | fi |
| 5931 | |||
| 5932 | rm -f core conftest.err conftest.$ac_objext | 5512 | rm -f core conftest.err conftest.$ac_objext |
| 5933 | break | 5513 | break |
| 5934 | done | 5514 | done |
| @@ -5936,23 +5516,19 @@ rm -f core conftest.err conftest.$ac_objext | |||
| 5936 | rm -f conftest.$ac_ext | 5516 | rm -f conftest.$ac_ext |
| 5937 | fi | 5517 | fi |
| 5938 | fi | 5518 | fi |
| 5939 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 5519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 |
| 5940 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 5520 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
| 5941 | if test "$ac_cv_sys_largefile_CC" != no; then | 5521 | if test "$ac_cv_sys_largefile_CC" != no; then |
| 5942 | CC=$CC$ac_cv_sys_largefile_CC | 5522 | CC=$CC$ac_cv_sys_largefile_CC |
| 5943 | fi | 5523 | fi |
| 5944 | 5524 | ||
| 5945 | { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 5946 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 5526 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
| 5947 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 5527 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then : |
| 5948 | $as_echo_n "(cached) " >&6 | 5528 | $as_echo_n "(cached) " >&6 |
| 5949 | else | 5529 | else |
| 5950 | while :; do | 5530 | while :; do |
| 5951 | cat >conftest.$ac_ext <<_ACEOF | 5531 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5952 | /* confdefs.h. */ | ||
| 5953 | _ACEOF | ||
| 5954 | cat confdefs.h >>conftest.$ac_ext | ||
| 5955 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5956 | /* end confdefs.h. */ | 5532 | /* end confdefs.h. */ |
| 5957 | #include <sys/types.h> | 5533 | #include <sys/types.h> |
| 5958 | /* Check that off_t can represent 2**63 - 1 correctly. | 5534 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5971,38 +5547,11 @@ main () | |||
| 5971 | return 0; | 5547 | return 0; |
| 5972 | } | 5548 | } |
| 5973 | _ACEOF | 5549 | _ACEOF |
| 5974 | rm -f conftest.$ac_objext | 5550 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5975 | if { (ac_try="$ac_compile" | ||
| 5976 | case "(($ac_try" in | ||
| 5977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5978 | *) ac_try_echo=$ac_try;; | ||
| 5979 | esac | ||
| 5980 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5981 | $as_echo "$ac_try_echo") >&5 | ||
| 5982 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5983 | ac_status=$? | ||
| 5984 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5985 | rm -f conftest.er1 | ||
| 5986 | cat conftest.err >&5 | ||
| 5987 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5988 | (exit $ac_status); } && { | ||
| 5989 | test -z "$ac_c_werror_flag" || | ||
| 5990 | test ! -s conftest.err | ||
| 5991 | } && test -s conftest.$ac_objext; then | ||
| 5992 | ac_cv_sys_file_offset_bits=no; break | 5551 | ac_cv_sys_file_offset_bits=no; break |
| 5993 | else | ||
| 5994 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5995 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5996 | |||
| 5997 | |||
| 5998 | fi | 5552 | fi |
| 5999 | |||
| 6000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5553 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6001 | cat >conftest.$ac_ext <<_ACEOF | 5554 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6002 | /* confdefs.h. */ | ||
| 6003 | _ACEOF | ||
| 6004 | cat confdefs.h >>conftest.$ac_ext | ||
| 6005 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6006 | /* end confdefs.h. */ | 5555 | /* end confdefs.h. */ |
| 6007 | #define _FILE_OFFSET_BITS 64 | 5556 | #define _FILE_OFFSET_BITS 64 |
| 6008 | #include <sys/types.h> | 5557 | #include <sys/types.h> |
| @@ -6022,38 +5571,15 @@ main () | |||
| 6022 | return 0; | 5571 | return 0; |
| 6023 | } | 5572 | } |
| 6024 | _ACEOF | 5573 | _ACEOF |
| 6025 | rm -f conftest.$ac_objext | 5574 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6026 | if { (ac_try="$ac_compile" | ||
| 6027 | case "(($ac_try" in | ||
| 6028 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6029 | *) ac_try_echo=$ac_try;; | ||
| 6030 | esac | ||
| 6031 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6032 | $as_echo "$ac_try_echo") >&5 | ||
| 6033 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6034 | ac_status=$? | ||
| 6035 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6036 | rm -f conftest.er1 | ||
| 6037 | cat conftest.err >&5 | ||
| 6038 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6039 | (exit $ac_status); } && { | ||
| 6040 | test -z "$ac_c_werror_flag" || | ||
| 6041 | test ! -s conftest.err | ||
| 6042 | } && test -s conftest.$ac_objext; then | ||
| 6043 | ac_cv_sys_file_offset_bits=64; break | 5575 | ac_cv_sys_file_offset_bits=64; break |
| 6044 | else | ||
| 6045 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6046 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6047 | |||
| 6048 | |||
| 6049 | fi | 5576 | fi |
| 6050 | |||
| 6051 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5577 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6052 | ac_cv_sys_file_offset_bits=unknown | 5578 | ac_cv_sys_file_offset_bits=unknown |
| 6053 | break | 5579 | break |
| 6054 | done | 5580 | done |
| 6055 | fi | 5581 | fi |
| 6056 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
| 6057 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 5583 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
| 6058 | case $ac_cv_sys_file_offset_bits in #( | 5584 | case $ac_cv_sys_file_offset_bits in #( |
| 6059 | no | unknown) ;; | 5585 | no | unknown) ;; |
| @@ -6065,17 +5591,13 @@ _ACEOF | |||
| 6065 | esac | 5591 | esac |
| 6066 | rm -rf conftest* | 5592 | rm -rf conftest* |
| 6067 | if test $ac_cv_sys_file_offset_bits = unknown; then | 5593 | if test $ac_cv_sys_file_offset_bits = unknown; then |
| 6068 | { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5594 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
| 6069 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 5595 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
| 6070 | if test "${ac_cv_sys_large_files+set}" = set; then | 5596 | if test "${ac_cv_sys_large_files+set}" = set; then : |
| 6071 | $as_echo_n "(cached) " >&6 | 5597 | $as_echo_n "(cached) " >&6 |
| 6072 | else | 5598 | else |
| 6073 | while :; do | 5599 | while :; do |
| 6074 | cat >conftest.$ac_ext <<_ACEOF | 5600 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6075 | /* confdefs.h. */ | ||
| 6076 | _ACEOF | ||
| 6077 | cat confdefs.h >>conftest.$ac_ext | ||
| 6078 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6079 | /* end confdefs.h. */ | 5601 | /* end confdefs.h. */ |
| 6080 | #include <sys/types.h> | 5602 | #include <sys/types.h> |
| 6081 | /* Check that off_t can represent 2**63 - 1 correctly. | 5603 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -6094,38 +5616,11 @@ main () | |||
| 6094 | return 0; | 5616 | return 0; |
| 6095 | } | 5617 | } |
| 6096 | _ACEOF | 5618 | _ACEOF |
| 6097 | rm -f conftest.$ac_objext | 5619 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6098 | if { (ac_try="$ac_compile" | ||
| 6099 | case "(($ac_try" in | ||
| 6100 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6101 | *) ac_try_echo=$ac_try;; | ||
| 6102 | esac | ||
| 6103 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6104 | $as_echo "$ac_try_echo") >&5 | ||
| 6105 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6106 | ac_status=$? | ||
| 6107 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6108 | rm -f conftest.er1 | ||
| 6109 | cat conftest.err >&5 | ||
| 6110 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6111 | (exit $ac_status); } && { | ||
| 6112 | test -z "$ac_c_werror_flag" || | ||
| 6113 | test ! -s conftest.err | ||
| 6114 | } && test -s conftest.$ac_objext; then | ||
| 6115 | ac_cv_sys_large_files=no; break | 5620 | ac_cv_sys_large_files=no; break |
| 6116 | else | ||
| 6117 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6118 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6119 | |||
| 6120 | |||
| 6121 | fi | 5621 | fi |
| 6122 | |||
| 6123 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5622 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6124 | cat >conftest.$ac_ext <<_ACEOF | 5623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6125 | /* confdefs.h. */ | ||
| 6126 | _ACEOF | ||
| 6127 | cat confdefs.h >>conftest.$ac_ext | ||
| 6128 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6129 | /* end confdefs.h. */ | 5624 | /* end confdefs.h. */ |
| 6130 | #define _LARGE_FILES 1 | 5625 | #define _LARGE_FILES 1 |
| 6131 | #include <sys/types.h> | 5626 | #include <sys/types.h> |
| @@ -6145,38 +5640,15 @@ main () | |||
| 6145 | return 0; | 5640 | return 0; |
| 6146 | } | 5641 | } |
| 6147 | _ACEOF | 5642 | _ACEOF |
| 6148 | rm -f conftest.$ac_objext | 5643 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6149 | if { (ac_try="$ac_compile" | ||
| 6150 | case "(($ac_try" in | ||
| 6151 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6152 | *) ac_try_echo=$ac_try;; | ||
| 6153 | esac | ||
| 6154 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6155 | $as_echo "$ac_try_echo") >&5 | ||
| 6156 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6157 | ac_status=$? | ||
| 6158 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6159 | rm -f conftest.er1 | ||
| 6160 | cat conftest.err >&5 | ||
| 6161 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6162 | (exit $ac_status); } && { | ||
| 6163 | test -z "$ac_c_werror_flag" || | ||
| 6164 | test ! -s conftest.err | ||
| 6165 | } && test -s conftest.$ac_objext; then | ||
| 6166 | ac_cv_sys_large_files=1; break | 5644 | ac_cv_sys_large_files=1; break |
| 6167 | else | ||
| 6168 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6169 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6170 | |||
| 6171 | |||
| 6172 | fi | 5645 | fi |
| 6173 | |||
| 6174 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5646 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6175 | ac_cv_sys_large_files=unknown | 5647 | ac_cv_sys_large_files=unknown |
| 6176 | break | 5648 | break |
| 6177 | done | 5649 | done |
| 6178 | fi | 5650 | fi |
| 6179 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 5651 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
| 6180 | $as_echo "$ac_cv_sys_large_files" >&6; } | 5652 | $as_echo "$ac_cv_sys_large_files" >&6; } |
| 6181 | case $ac_cv_sys_large_files in #( | 5653 | case $ac_cv_sys_large_files in #( |
| 6182 | no | unknown) ;; | 5654 | no | unknown) ;; |
| @@ -6200,9 +5672,7 @@ case "${canonical}" in | |||
| 6200 | x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) | 5672 | x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) |
| 6201 | if test -e /usr/lib64/crtn.o; then | 5673 | if test -e /usr/lib64/crtn.o; then |
| 6202 | 5674 | ||
| 6203 | cat >>confdefs.h <<\_ACEOF | 5675 | $as_echo "#define HAVE_LIB64_DIR 1" >>confdefs.h |
| 6204 | #define HAVE_LIB64_DIR 1 | ||
| 6205 | _ACEOF | ||
| 6206 | 5676 | ||
| 6207 | fi | 5677 | fi |
| 6208 | esac | 5678 | esac |
| @@ -6212,145 +5682,12 @@ esac | |||
| 6212 | 5682 | ||
| 6213 | if test "${with_sound}" != "no"; then | 5683 | if test "${with_sound}" != "no"; then |
| 6214 | # Sound support for GNU/Linux and the free BSDs. | 5684 | # Sound support for GNU/Linux and the free BSDs. |
| 6215 | 5685 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | |
| 6216 | 5686 | do : | |
| 6217 | 5687 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 6218 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5688 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 6219 | do | 5689 | eval as_val=\$$as_ac_Header |
| 6220 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5690 | if test "x$as_val" = x""yes; then : |
| 6221 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6222 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6223 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6224 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6225 | $as_echo_n "(cached) " >&6 | ||
| 6226 | fi | ||
| 6227 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6228 | $as_echo "$as_val"'` | ||
| 6229 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6230 | $as_echo "$ac_res" >&6; } | ||
| 6231 | else | ||
| 6232 | # Is the header compilable? | ||
| 6233 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6234 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6235 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6236 | /* confdefs.h. */ | ||
| 6237 | _ACEOF | ||
| 6238 | cat confdefs.h >>conftest.$ac_ext | ||
| 6239 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6240 | /* end confdefs.h. */ | ||
| 6241 | $ac_includes_default | ||
| 6242 | #include <$ac_header> | ||
| 6243 | _ACEOF | ||
| 6244 | rm -f conftest.$ac_objext | ||
| 6245 | if { (ac_try="$ac_compile" | ||
| 6246 | case "(($ac_try" in | ||
| 6247 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6248 | *) ac_try_echo=$ac_try;; | ||
| 6249 | esac | ||
| 6250 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6251 | $as_echo "$ac_try_echo") >&5 | ||
| 6252 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6253 | ac_status=$? | ||
| 6254 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6255 | rm -f conftest.er1 | ||
| 6256 | cat conftest.err >&5 | ||
| 6257 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6258 | (exit $ac_status); } && { | ||
| 6259 | test -z "$ac_c_werror_flag" || | ||
| 6260 | test ! -s conftest.err | ||
| 6261 | } && test -s conftest.$ac_objext; then | ||
| 6262 | ac_header_compiler=yes | ||
| 6263 | else | ||
| 6264 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6265 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6266 | |||
| 6267 | ac_header_compiler=no | ||
| 6268 | fi | ||
| 6269 | |||
| 6270 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6271 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6272 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6273 | |||
| 6274 | # Is the header present? | ||
| 6275 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6276 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6277 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6278 | /* confdefs.h. */ | ||
| 6279 | _ACEOF | ||
| 6280 | cat confdefs.h >>conftest.$ac_ext | ||
| 6281 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6282 | /* end confdefs.h. */ | ||
| 6283 | #include <$ac_header> | ||
| 6284 | _ACEOF | ||
| 6285 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6286 | case "(($ac_try" in | ||
| 6287 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6288 | *) ac_try_echo=$ac_try;; | ||
| 6289 | esac | ||
| 6290 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6291 | $as_echo "$ac_try_echo") >&5 | ||
| 6292 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6293 | ac_status=$? | ||
| 6294 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6295 | rm -f conftest.er1 | ||
| 6296 | cat conftest.err >&5 | ||
| 6297 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6298 | (exit $ac_status); } >/dev/null && { | ||
| 6299 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6300 | test ! -s conftest.err | ||
| 6301 | }; then | ||
| 6302 | ac_header_preproc=yes | ||
| 6303 | else | ||
| 6304 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6305 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6306 | |||
| 6307 | ac_header_preproc=no | ||
| 6308 | fi | ||
| 6309 | |||
| 6310 | rm -f conftest.err conftest.$ac_ext | ||
| 6311 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6312 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6313 | |||
| 6314 | # So? What about this header? | ||
| 6315 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6316 | yes:no: ) | ||
| 6317 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6318 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6319 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6320 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6321 | ac_header_preproc=yes | ||
| 6322 | ;; | ||
| 6323 | no:yes:* ) | ||
| 6324 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6325 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6326 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6327 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6328 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6329 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6330 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6331 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6332 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6333 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6334 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6335 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6336 | |||
| 6337 | ;; | ||
| 6338 | esac | ||
| 6339 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6340 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6341 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6342 | $as_echo_n "(cached) " >&6 | ||
| 6343 | else | ||
| 6344 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6345 | fi | ||
| 6346 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6347 | $as_echo "$as_val"'` | ||
| 6348 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6349 | $as_echo "$ac_res" >&6; } | ||
| 6350 | |||
| 6351 | fi | ||
| 6352 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6353 | $as_echo "$as_val"'` = yes; then | ||
| 6354 | cat >>confdefs.h <<_ACEOF | 5691 | cat >>confdefs.h <<_ACEOF |
| 6355 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5692 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6356 | _ACEOF | 5693 | _ACEOF |
| @@ -6360,18 +5697,14 @@ fi | |||
| 6360 | done | 5697 | done |
| 6361 | 5698 | ||
| 6362 | # Emulation library used on NetBSD. | 5699 | # Emulation library used on NetBSD. |
| 6363 | { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 | 5700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 |
| 6364 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 5701 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
| 6365 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | 5702 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : |
| 6366 | $as_echo_n "(cached) " >&6 | 5703 | $as_echo_n "(cached) " >&6 |
| 6367 | else | 5704 | else |
| 6368 | ac_check_lib_save_LIBS=$LIBS | 5705 | ac_check_lib_save_LIBS=$LIBS |
| 6369 | LIBS="-lossaudio $LIBS" | 5706 | LIBS="-lossaudio $LIBS" |
| 6370 | cat >conftest.$ac_ext <<_ACEOF | 5707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6371 | /* confdefs.h. */ | ||
| 6372 | _ACEOF | ||
| 6373 | cat confdefs.h >>conftest.$ac_ext | ||
| 6374 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6375 | /* end confdefs.h. */ | 5708 | /* end confdefs.h. */ |
| 6376 | 5709 | ||
| 6377 | /* Override any GCC internal prototype to avoid an error. | 5710 | /* Override any GCC internal prototype to avoid an error. |
| @@ -6389,43 +5722,18 @@ return _oss_ioctl (); | |||
| 6389 | return 0; | 5722 | return 0; |
| 6390 | } | 5723 | } |
| 6391 | _ACEOF | 5724 | _ACEOF |
| 6392 | rm -f conftest.$ac_objext conftest$ac_exeext | 5725 | if ac_fn_c_try_link "$LINENO"; then : |
| 6393 | if { (ac_try="$ac_link" | ||
| 6394 | case "(($ac_try" in | ||
| 6395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6396 | *) ac_try_echo=$ac_try;; | ||
| 6397 | esac | ||
| 6398 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6399 | $as_echo "$ac_try_echo") >&5 | ||
| 6400 | (eval "$ac_link") 2>conftest.er1 | ||
| 6401 | ac_status=$? | ||
| 6402 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6403 | rm -f conftest.er1 | ||
| 6404 | cat conftest.err >&5 | ||
| 6405 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6406 | (exit $ac_status); } && { | ||
| 6407 | test -z "$ac_c_werror_flag" || | ||
| 6408 | test ! -s conftest.err | ||
| 6409 | } && test -s conftest$ac_exeext && { | ||
| 6410 | test "$cross_compiling" = yes || | ||
| 6411 | $as_test_x conftest$ac_exeext | ||
| 6412 | }; then | ||
| 6413 | ac_cv_lib_ossaudio__oss_ioctl=yes | 5726 | ac_cv_lib_ossaudio__oss_ioctl=yes |
| 6414 | else | 5727 | else |
| 6415 | $as_echo "$as_me: failed program was:" >&5 | 5728 | ac_cv_lib_ossaudio__oss_ioctl=no |
| 6416 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6417 | |||
| 6418 | ac_cv_lib_ossaudio__oss_ioctl=no | ||
| 6419 | fi | 5729 | fi |
| 6420 | 5730 | rm -f core conftest.err conftest.$ac_objext \ | |
| 6421 | rm -rf conftest.dSYM | 5731 | conftest$ac_exeext conftest.$ac_ext |
| 6422 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 6423 | conftest$ac_exeext conftest.$ac_ext | ||
| 6424 | LIBS=$ac_check_lib_save_LIBS | 5732 | LIBS=$ac_check_lib_save_LIBS |
| 6425 | fi | 5733 | fi |
| 6426 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 5734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
| 6427 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 5735 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
| 6428 | if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | 5736 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : |
| 6429 | LIBSOUND=-lossaudio | 5737 | LIBSOUND=-lossaudio |
| 6430 | else | 5738 | else |
| 6431 | LIBSOUND= | 5739 | LIBSOUND= |
| @@ -6440,9 +5748,9 @@ fi | |||
| 6440 | 5748 | ||
| 6441 | # Extract the first word of "pkg-config", so it can be a program name with args. | 5749 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 6442 | set dummy pkg-config; ac_word=$2 | 5750 | set dummy pkg-config; ac_word=$2 |
| 6443 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6444 | $as_echo_n "checking for $ac_word... " >&6; } | 5752 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6445 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 5753 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 6446 | $as_echo_n "(cached) " >&6 | 5754 | $as_echo_n "(cached) " >&6 |
| 6447 | else | 5755 | else |
| 6448 | case $PKG_CONFIG in | 5756 | case $PKG_CONFIG in |
| @@ -6455,14 +5763,14 @@ for as_dir in $PATH | |||
| 6455 | do | 5763 | do |
| 6456 | IFS=$as_save_IFS | 5764 | IFS=$as_save_IFS |
| 6457 | test -z "$as_dir" && as_dir=. | 5765 | test -z "$as_dir" && as_dir=. |
| 6458 | for ac_exec_ext in '' $ac_executable_extensions; do | 5766 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6459 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5767 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6460 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5768 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 6461 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5769 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6462 | break 2 | 5770 | break 2 |
| 6463 | fi | 5771 | fi |
| 6464 | done | 5772 | done |
| 6465 | done | 5773 | done |
| 6466 | IFS=$as_save_IFS | 5774 | IFS=$as_save_IFS |
| 6467 | 5775 | ||
| 6468 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 5776 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -6471,10 +5779,10 @@ esac | |||
| 6471 | fi | 5779 | fi |
| 6472 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 5780 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 6473 | if test -n "$PKG_CONFIG"; then | 5781 | if test -n "$PKG_CONFIG"; then |
| 6474 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 5782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 6475 | $as_echo "$PKG_CONFIG" >&6; } | 5783 | $as_echo "$PKG_CONFIG" >&6; } |
| 6476 | else | 5784 | else |
| 6477 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5785 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6478 | $as_echo "no" >&6; } | 5786 | $as_echo "no" >&6; } |
| 6479 | fi | 5787 | fi |
| 6480 | 5788 | ||
| @@ -6485,27 +5793,27 @@ fi | |||
| 6485 | else | 5793 | else |
| 6486 | PKG_CONFIG_MIN_VERSION=0.9.0 | 5794 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 6487 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 5795 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 6488 | { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 | 5796 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 |
| 6489 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 5797 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
| 6490 | 5798 | ||
| 6491 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 5799 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
| 6492 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 5800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6493 | $as_echo "yes" >&6; } | 5801 | $as_echo "yes" >&6; } |
| 6494 | succeeded=yes | 5802 | succeeded=yes |
| 6495 | 5803 | ||
| 6496 | { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 | 5804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 |
| 6497 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 5805 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
| 6498 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 5806 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 6499 | { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 | 5807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 |
| 6500 | $as_echo "$ALSA_CFLAGS" >&6; } | 5808 | $as_echo "$ALSA_CFLAGS" >&6; } |
| 6501 | 5809 | ||
| 6502 | { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 | 5810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 |
| 6503 | $as_echo_n "checking ALSA_LIBS... " >&6; } | 5811 | $as_echo_n "checking ALSA_LIBS... " >&6; } |
| 6504 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 5812 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 6505 | { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 | 5813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 |
| 6506 | $as_echo "$ALSA_LIBS" >&6; } | 5814 | $as_echo "$ALSA_LIBS" >&6; } |
| 6507 | else | 5815 | else |
| 6508 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 5816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6509 | $as_echo "no" >&6; } | 5817 | $as_echo "no" >&6; } |
| 6510 | ALSA_CFLAGS="" | 5818 | ALSA_CFLAGS="" |
| 6511 | ALSA_LIBS="" | 5819 | ALSA_LIBS="" |
| @@ -6534,11 +5842,7 @@ $as_echo "no" >&6; } | |||
| 6534 | SAVE_LDFLAGS="$LDFLAGS" | 5842 | SAVE_LDFLAGS="$LDFLAGS" |
| 6535 | CFLAGS="$ALSA_CFLAGS $CFLAGS" | 5843 | CFLAGS="$ALSA_CFLAGS $CFLAGS" |
| 6536 | LDFLAGS="$ALSA_LIBS $LDFLAGS" | 5844 | LDFLAGS="$ALSA_LIBS $LDFLAGS" |
| 6537 | cat >conftest.$ac_ext <<_ACEOF | 5845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6538 | /* confdefs.h. */ | ||
| 6539 | _ACEOF | ||
| 6540 | cat confdefs.h >>conftest.$ac_ext | ||
| 6541 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6542 | /* end confdefs.h. */ | 5846 | /* end confdefs.h. */ |
| 6543 | #include <asoundlib.h> | 5847 | #include <asoundlib.h> |
| 6544 | int | 5848 | int |
| @@ -6549,39 +5853,14 @@ snd_lib_error_set_handler (0); | |||
| 6549 | return 0; | 5853 | return 0; |
| 6550 | } | 5854 | } |
| 6551 | _ACEOF | 5855 | _ACEOF |
| 6552 | rm -f conftest.$ac_objext | 5856 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6553 | if { (ac_try="$ac_compile" | ||
| 6554 | case "(($ac_try" in | ||
| 6555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6556 | *) ac_try_echo=$ac_try;; | ||
| 6557 | esac | ||
| 6558 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6559 | $as_echo "$ac_try_echo") >&5 | ||
| 6560 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6561 | ac_status=$? | ||
| 6562 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6563 | rm -f conftest.er1 | ||
| 6564 | cat conftest.err >&5 | ||
| 6565 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6566 | (exit $ac_status); } && { | ||
| 6567 | test -z "$ac_c_werror_flag" || | ||
| 6568 | test ! -s conftest.err | ||
| 6569 | } && test -s conftest.$ac_objext; then | ||
| 6570 | emacs_alsa_normal=yes | 5857 | emacs_alsa_normal=yes |
| 6571 | else | 5858 | else |
| 6572 | $as_echo "$as_me: failed program was:" >&5 | 5859 | emacs_alsa_normal=no |
| 6573 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6574 | |||
| 6575 | emacs_alsa_normal=no | ||
| 6576 | fi | 5860 | fi |
| 6577 | |||
| 6578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5861 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6579 | if test "$emacs_alsa_normal" != yes; then | 5862 | if test "$emacs_alsa_normal" != yes; then |
| 6580 | cat >conftest.$ac_ext <<_ACEOF | 5863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6581 | /* confdefs.h. */ | ||
| 6582 | _ACEOF | ||
| 6583 | cat confdefs.h >>conftest.$ac_ext | ||
| 6584 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6585 | /* end confdefs.h. */ | 5864 | /* end confdefs.h. */ |
| 6586 | #include <alsa/asoundlib.h> | 5865 | #include <alsa/asoundlib.h> |
| 6587 | int | 5866 | int |
| @@ -6592,37 +5871,14 @@ snd_lib_error_set_handler (0); | |||
| 6592 | return 0; | 5871 | return 0; |
| 6593 | } | 5872 | } |
| 6594 | _ACEOF | 5873 | _ACEOF |
| 6595 | rm -f conftest.$ac_objext | 5874 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6596 | if { (ac_try="$ac_compile" | ||
| 6597 | case "(($ac_try" in | ||
| 6598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6599 | *) ac_try_echo=$ac_try;; | ||
| 6600 | esac | ||
| 6601 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6602 | $as_echo "$ac_try_echo") >&5 | ||
| 6603 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6604 | ac_status=$? | ||
| 6605 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6606 | rm -f conftest.er1 | ||
| 6607 | cat conftest.err >&5 | ||
| 6608 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6609 | (exit $ac_status); } && { | ||
| 6610 | test -z "$ac_c_werror_flag" || | ||
| 6611 | test ! -s conftest.err | ||
| 6612 | } && test -s conftest.$ac_objext; then | ||
| 6613 | emacs_alsa_subdir=yes | 5875 | emacs_alsa_subdir=yes |
| 6614 | else | 5876 | else |
| 6615 | $as_echo "$as_me: failed program was:" >&5 | 5877 | emacs_alsa_subdir=no |
| 6616 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6617 | |||
| 6618 | emacs_alsa_subdir=no | ||
| 6619 | fi | 5878 | fi |
| 6620 | |||
| 6621 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5879 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6622 | if test "$emacs_alsa_subdir" != yes; then | 5880 | if test "$emacs_alsa_subdir" != yes; then |
| 6623 | { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 | 5881 | as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
| 6624 | $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | ||
| 6625 | { (exit 1); exit 1; }; } | ||
| 6626 | fi | 5882 | fi |
| 6627 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 5883 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
| 6628 | fi | 5884 | fi |
| @@ -6632,180 +5888,22 @@ $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See co | |||
| 6632 | LIBSOUND="$LIBSOUND $ALSA_LIBS" | 5888 | LIBSOUND="$LIBSOUND $ALSA_LIBS" |
| 6633 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 5889 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
| 6634 | 5890 | ||
| 6635 | cat >>confdefs.h <<\_ACEOF | 5891 | $as_echo "#define HAVE_ALSA 1" >>confdefs.h |
| 6636 | #define HAVE_ALSA 1 | ||
| 6637 | _ACEOF | ||
| 6638 | 5892 | ||
| 6639 | fi | 5893 | fi |
| 6640 | 5894 | ||
| 6641 | fi | 5895 | fi |
| 6642 | 5896 | ||
| 6643 | |||
| 6644 | |||
| 6645 | |||
| 6646 | |||
| 6647 | |||
| 6648 | |||
| 6649 | |||
| 6650 | |||
| 6651 | |||
| 6652 | |||
| 6653 | |||
| 6654 | |||
| 6655 | |||
| 6656 | |||
| 6657 | |||
| 6658 | |||
| 6659 | |||
| 6660 | |||
| 6661 | |||
| 6662 | |||
| 6663 | |||
| 6664 | |||
| 6665 | |||
| 6666 | |||
| 6667 | |||
| 6668 | |||
| 6669 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 5897 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| 6670 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 5898 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
| 6671 | termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 5899 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
| 6672 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 5900 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
| 6673 | sys/utsname.h pwd.h utmp.h | 5901 | sys/utsname.h pwd.h utmp.h |
| 6674 | do | 5902 | do : |
| 6675 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5903 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6676 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5904 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 6677 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5905 | eval as_val=\$$as_ac_Header |
| 6678 | $as_echo_n "checking for $ac_header... " >&6; } | 5906 | if test "x$as_val" = x""yes; then : |
| 6679 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6680 | $as_echo_n "(cached) " >&6 | ||
| 6681 | fi | ||
| 6682 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6683 | $as_echo "$as_val"'` | ||
| 6684 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6685 | $as_echo "$ac_res" >&6; } | ||
| 6686 | else | ||
| 6687 | # Is the header compilable? | ||
| 6688 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6689 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6690 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6691 | /* confdefs.h. */ | ||
| 6692 | _ACEOF | ||
| 6693 | cat confdefs.h >>conftest.$ac_ext | ||
| 6694 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6695 | /* end confdefs.h. */ | ||
| 6696 | $ac_includes_default | ||
| 6697 | #include <$ac_header> | ||
| 6698 | _ACEOF | ||
| 6699 | rm -f conftest.$ac_objext | ||
| 6700 | if { (ac_try="$ac_compile" | ||
| 6701 | case "(($ac_try" in | ||
| 6702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6703 | *) ac_try_echo=$ac_try;; | ||
| 6704 | esac | ||
| 6705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6706 | $as_echo "$ac_try_echo") >&5 | ||
| 6707 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6708 | ac_status=$? | ||
| 6709 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6710 | rm -f conftest.er1 | ||
| 6711 | cat conftest.err >&5 | ||
| 6712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6713 | (exit $ac_status); } && { | ||
| 6714 | test -z "$ac_c_werror_flag" || | ||
| 6715 | test ! -s conftest.err | ||
| 6716 | } && test -s conftest.$ac_objext; then | ||
| 6717 | ac_header_compiler=yes | ||
| 6718 | else | ||
| 6719 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6720 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6721 | |||
| 6722 | ac_header_compiler=no | ||
| 6723 | fi | ||
| 6724 | |||
| 6725 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6726 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6727 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6728 | |||
| 6729 | # Is the header present? | ||
| 6730 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6731 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6732 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6733 | /* confdefs.h. */ | ||
| 6734 | _ACEOF | ||
| 6735 | cat confdefs.h >>conftest.$ac_ext | ||
| 6736 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6737 | /* end confdefs.h. */ | ||
| 6738 | #include <$ac_header> | ||
| 6739 | _ACEOF | ||
| 6740 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6741 | case "(($ac_try" in | ||
| 6742 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6743 | *) ac_try_echo=$ac_try;; | ||
| 6744 | esac | ||
| 6745 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6746 | $as_echo "$ac_try_echo") >&5 | ||
| 6747 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6748 | ac_status=$? | ||
| 6749 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6750 | rm -f conftest.er1 | ||
| 6751 | cat conftest.err >&5 | ||
| 6752 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6753 | (exit $ac_status); } >/dev/null && { | ||
| 6754 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6755 | test ! -s conftest.err | ||
| 6756 | }; then | ||
| 6757 | ac_header_preproc=yes | ||
| 6758 | else | ||
| 6759 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6760 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6761 | |||
| 6762 | ac_header_preproc=no | ||
| 6763 | fi | ||
| 6764 | |||
| 6765 | rm -f conftest.err conftest.$ac_ext | ||
| 6766 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6767 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6768 | |||
| 6769 | # So? What about this header? | ||
| 6770 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6771 | yes:no: ) | ||
| 6772 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6773 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6774 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6775 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6776 | ac_header_preproc=yes | ||
| 6777 | ;; | ||
| 6778 | no:yes:* ) | ||
| 6779 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6780 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6781 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6782 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6783 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6784 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6785 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6786 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6787 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6788 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6789 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6790 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6791 | |||
| 6792 | ;; | ||
| 6793 | esac | ||
| 6794 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6795 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6796 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6797 | $as_echo_n "(cached) " >&6 | ||
| 6798 | else | ||
| 6799 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6800 | fi | ||
| 6801 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6802 | $as_echo "$as_val"'` | ||
| 6803 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6804 | $as_echo "$ac_res" >&6; } | ||
| 6805 | |||
| 6806 | fi | ||
| 6807 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6808 | $as_echo "$as_val"'` = yes; then | ||
| 6809 | cat >>confdefs.h <<_ACEOF | 5907 | cat >>confdefs.h <<_ACEOF |
| 6810 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5908 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6811 | _ACEOF | 5909 | _ACEOF |
| @@ -6815,13 +5913,9 @@ fi | |||
| 6815 | done | 5913 | done |
| 6816 | 5914 | ||
| 6817 | 5915 | ||
| 6818 | { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 | 5916 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 |
| 6819 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 5917 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
| 6820 | cat >conftest.$ac_ext <<_ACEOF | 5918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6821 | /* confdefs.h. */ | ||
| 6822 | _ACEOF | ||
| 6823 | cat confdefs.h >>conftest.$ac_ext | ||
| 6824 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6825 | /* end confdefs.h. */ | 5919 | /* end confdefs.h. */ |
| 6826 | #include <sys/personality.h> | 5920 | #include <sys/personality.h> |
| 6827 | int | 5921 | int |
| @@ -6832,112 +5926,39 @@ personality (PER_LINUX32) | |||
| 6832 | return 0; | 5926 | return 0; |
| 6833 | } | 5927 | } |
| 6834 | _ACEOF | 5928 | _ACEOF |
| 6835 | rm -f conftest.$ac_objext | 5929 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6836 | if { (ac_try="$ac_compile" | ||
| 6837 | case "(($ac_try" in | ||
| 6838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6839 | *) ac_try_echo=$ac_try;; | ||
| 6840 | esac | ||
| 6841 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6842 | $as_echo "$ac_try_echo") >&5 | ||
| 6843 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6844 | ac_status=$? | ||
| 6845 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6846 | rm -f conftest.er1 | ||
| 6847 | cat conftest.err >&5 | ||
| 6848 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6849 | (exit $ac_status); } && { | ||
| 6850 | test -z "$ac_c_werror_flag" || | ||
| 6851 | test ! -s conftest.err | ||
| 6852 | } && test -s conftest.$ac_objext; then | ||
| 6853 | emacs_cv_personality_linux32=yes | 5930 | emacs_cv_personality_linux32=yes |
| 6854 | else | 5931 | else |
| 6855 | $as_echo "$as_me: failed program was:" >&5 | 5932 | emacs_cv_personality_linux32=no |
| 6856 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6857 | |||
| 6858 | emacs_cv_personality_linux32=no | ||
| 6859 | fi | 5933 | fi |
| 6860 | |||
| 6861 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5934 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6862 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 | 5935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 |
| 6863 | $as_echo "$emacs_cv_personality_linux32" >&6; } | 5936 | $as_echo "$emacs_cv_personality_linux32" >&6; } |
| 6864 | 5937 | ||
| 6865 | if test $emacs_cv_personality_linux32 = yes; then | 5938 | if test $emacs_cv_personality_linux32 = yes; then |
| 6866 | 5939 | ||
| 6867 | cat >>confdefs.h <<\_ACEOF | 5940 | $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h |
| 6868 | #define HAVE_PERSONALITY_LINUX32 1 | ||
| 6869 | _ACEOF | ||
| 6870 | 5941 | ||
| 6871 | fi | 5942 | fi |
| 6872 | 5943 | ||
| 6873 | |||
| 6874 | for ac_header in term.h | 5944 | for ac_header in term.h |
| 6875 | do | 5945 | do : |
| 6876 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5946 | ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" |
| 6877 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5947 | if test "x$ac_cv_header_term_h" = x""yes; then : |
| 6878 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6879 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6880 | $as_echo_n "(cached) " >&6 | ||
| 6881 | else | ||
| 6882 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6883 | /* confdefs.h. */ | ||
| 6884 | _ACEOF | ||
| 6885 | cat confdefs.h >>conftest.$ac_ext | ||
| 6886 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6887 | /* end confdefs.h. */ | ||
| 6888 | #include <$ac_header> | ||
| 6889 | _ACEOF | ||
| 6890 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6891 | case "(($ac_try" in | ||
| 6892 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6893 | *) ac_try_echo=$ac_try;; | ||
| 6894 | esac | ||
| 6895 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6896 | $as_echo "$ac_try_echo") >&5 | ||
| 6897 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6898 | ac_status=$? | ||
| 6899 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6900 | rm -f conftest.er1 | ||
| 6901 | cat conftest.err >&5 | ||
| 6902 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6903 | (exit $ac_status); } >/dev/null && { | ||
| 6904 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6905 | test ! -s conftest.err | ||
| 6906 | }; then | ||
| 6907 | eval "$as_ac_Header=yes" | ||
| 6908 | else | ||
| 6909 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6911 | |||
| 6912 | eval "$as_ac_Header=no" | ||
| 6913 | fi | ||
| 6914 | |||
| 6915 | rm -f conftest.err conftest.$ac_ext | ||
| 6916 | fi | ||
| 6917 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6918 | $as_echo "$as_val"'` | ||
| 6919 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6920 | $as_echo "$ac_res" >&6; } | ||
| 6921 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6922 | $as_echo "$as_val"'` = yes; then | ||
| 6923 | cat >>confdefs.h <<_ACEOF | 5948 | cat >>confdefs.h <<_ACEOF |
| 6924 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5949 | #define HAVE_TERM_H 1 |
| 6925 | _ACEOF | 5950 | _ACEOF |
| 6926 | 5951 | ||
| 6927 | fi | 5952 | fi |
| 6928 | 5953 | ||
| 6929 | done | 5954 | done |
| 6930 | 5955 | ||
| 6931 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 5956 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 6932 | $as_echo_n "checking for ANSI C header files... " >&6; } | 5957 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 6933 | if test "${ac_cv_header_stdc+set}" = set; then | 5958 | if test "${ac_cv_header_stdc+set}" = set; then : |
| 6934 | $as_echo_n "(cached) " >&6 | 5959 | $as_echo_n "(cached) " >&6 |
| 6935 | else | 5960 | else |
| 6936 | cat >conftest.$ac_ext <<_ACEOF | 5961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6937 | /* confdefs.h. */ | ||
| 6938 | _ACEOF | ||
| 6939 | cat confdefs.h >>conftest.$ac_ext | ||
| 6940 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6941 | /* end confdefs.h. */ | 5962 | /* end confdefs.h. */ |
| 6942 | #include <stdlib.h> | 5963 | #include <stdlib.h> |
| 6943 | #include <stdarg.h> | 5964 | #include <stdarg.h> |
| @@ -6952,48 +5973,23 @@ main () | |||
| 6952 | return 0; | 5973 | return 0; |
| 6953 | } | 5974 | } |
| 6954 | _ACEOF | 5975 | _ACEOF |
| 6955 | rm -f conftest.$ac_objext | 5976 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6956 | if { (ac_try="$ac_compile" | ||
| 6957 | case "(($ac_try" in | ||
| 6958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6959 | *) ac_try_echo=$ac_try;; | ||
| 6960 | esac | ||
| 6961 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6962 | $as_echo "$ac_try_echo") >&5 | ||
| 6963 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6964 | ac_status=$? | ||
| 6965 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6966 | rm -f conftest.er1 | ||
| 6967 | cat conftest.err >&5 | ||
| 6968 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6969 | (exit $ac_status); } && { | ||
| 6970 | test -z "$ac_c_werror_flag" || | ||
| 6971 | test ! -s conftest.err | ||
| 6972 | } && test -s conftest.$ac_objext; then | ||
| 6973 | ac_cv_header_stdc=yes | 5977 | ac_cv_header_stdc=yes |
| 6974 | else | 5978 | else |
| 6975 | $as_echo "$as_me: failed program was:" >&5 | 5979 | ac_cv_header_stdc=no |
| 6976 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6977 | |||
| 6978 | ac_cv_header_stdc=no | ||
| 6979 | fi | 5980 | fi |
| 6980 | |||
| 6981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6982 | 5982 | ||
| 6983 | if test $ac_cv_header_stdc = yes; then | 5983 | if test $ac_cv_header_stdc = yes; then |
| 6984 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 5984 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 6985 | cat >conftest.$ac_ext <<_ACEOF | 5985 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6986 | /* confdefs.h. */ | ||
| 6987 | _ACEOF | ||
| 6988 | cat confdefs.h >>conftest.$ac_ext | ||
| 6989 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6990 | /* end confdefs.h. */ | 5986 | /* end confdefs.h. */ |
| 6991 | #include <string.h> | 5987 | #include <string.h> |
| 6992 | 5988 | ||
| 6993 | _ACEOF | 5989 | _ACEOF |
| 6994 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5990 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6995 | $EGREP "memchr" >/dev/null 2>&1; then | 5991 | $EGREP "memchr" >/dev/null 2>&1; then : |
| 6996 | : | 5992 | |
| 6997 | else | 5993 | else |
| 6998 | ac_cv_header_stdc=no | 5994 | ac_cv_header_stdc=no |
| 6999 | fi | 5995 | fi |
| @@ -7003,18 +5999,14 @@ fi | |||
| 7003 | 5999 | ||
| 7004 | if test $ac_cv_header_stdc = yes; then | 6000 | if test $ac_cv_header_stdc = yes; then |
| 7005 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 6001 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 7006 | cat >conftest.$ac_ext <<_ACEOF | 6002 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7007 | /* confdefs.h. */ | ||
| 7008 | _ACEOF | ||
| 7009 | cat confdefs.h >>conftest.$ac_ext | ||
| 7010 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7011 | /* end confdefs.h. */ | 6003 | /* end confdefs.h. */ |
| 7012 | #include <stdlib.h> | 6004 | #include <stdlib.h> |
| 7013 | 6005 | ||
| 7014 | _ACEOF | 6006 | _ACEOF |
| 7015 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6007 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 7016 | $EGREP "free" >/dev/null 2>&1; then | 6008 | $EGREP "free" >/dev/null 2>&1; then : |
| 7017 | : | 6009 | |
| 7018 | else | 6010 | else |
| 7019 | ac_cv_header_stdc=no | 6011 | ac_cv_header_stdc=no |
| 7020 | fi | 6012 | fi |
| @@ -7024,14 +6016,10 @@ fi | |||
| 7024 | 6016 | ||
| 7025 | if test $ac_cv_header_stdc = yes; then | 6017 | if test $ac_cv_header_stdc = yes; then |
| 7026 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 6018 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 7027 | if test "$cross_compiling" = yes; then | 6019 | if test "$cross_compiling" = yes; then : |
| 7028 | : | 6020 | : |
| 7029 | else | 6021 | else |
| 7030 | cat >conftest.$ac_ext <<_ACEOF | 6022 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7031 | /* confdefs.h. */ | ||
| 7032 | _ACEOF | ||
| 7033 | cat confdefs.h >>conftest.$ac_ext | ||
| 7034 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7035 | /* end confdefs.h. */ | 6023 | /* end confdefs.h. */ |
| 7036 | #include <ctype.h> | 6024 | #include <ctype.h> |
| 7037 | #include <stdlib.h> | 6025 | #include <stdlib.h> |
| @@ -7058,64 +6046,31 @@ main () | |||
| 7058 | return 0; | 6046 | return 0; |
| 7059 | } | 6047 | } |
| 7060 | _ACEOF | 6048 | _ACEOF |
| 7061 | rm -f conftest$ac_exeext | 6049 | if ac_fn_c_try_run "$LINENO"; then : |
| 7062 | if { (ac_try="$ac_link" | ||
| 7063 | case "(($ac_try" in | ||
| 7064 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7065 | *) ac_try_echo=$ac_try;; | ||
| 7066 | esac | ||
| 7067 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7068 | $as_echo "$ac_try_echo") >&5 | ||
| 7069 | (eval "$ac_link") 2>&5 | ||
| 7070 | ac_status=$? | ||
| 7071 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7072 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 7073 | { (case "(($ac_try" in | ||
| 7074 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7075 | *) ac_try_echo=$ac_try;; | ||
| 7076 | esac | ||
| 7077 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7078 | $as_echo "$ac_try_echo") >&5 | ||
| 7079 | (eval "$ac_try") 2>&5 | ||
| 7080 | ac_status=$? | ||
| 7081 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7082 | (exit $ac_status); }; }; then | ||
| 7083 | : | ||
| 7084 | else | ||
| 7085 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 7086 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7087 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7088 | 6050 | ||
| 7089 | ( exit $ac_status ) | 6051 | else |
| 7090 | ac_cv_header_stdc=no | 6052 | ac_cv_header_stdc=no |
| 7091 | fi | 6053 | fi |
| 7092 | rm -rf conftest.dSYM | 6054 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7093 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6055 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7094 | fi | 6056 | fi |
| 7095 | 6057 | ||
| 7096 | |||
| 7097 | fi | 6058 | fi |
| 7098 | fi | 6059 | fi |
| 7099 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 6060 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 7100 | $as_echo "$ac_cv_header_stdc" >&6; } | 6061 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 7101 | if test $ac_cv_header_stdc = yes; then | 6062 | if test $ac_cv_header_stdc = yes; then |
| 7102 | 6063 | ||
| 7103 | cat >>confdefs.h <<\_ACEOF | 6064 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 7104 | #define STDC_HEADERS 1 | ||
| 7105 | _ACEOF | ||
| 7106 | 6065 | ||
| 7107 | fi | 6066 | fi |
| 7108 | 6067 | ||
| 7109 | { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 6068 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 7110 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 6069 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 7111 | if test "${ac_cv_header_time+set}" = set; then | 6070 | if test "${ac_cv_header_time+set}" = set; then : |
| 7112 | $as_echo_n "(cached) " >&6 | 6071 | $as_echo_n "(cached) " >&6 |
| 7113 | else | 6072 | else |
| 7114 | cat >conftest.$ac_ext <<_ACEOF | 6073 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7115 | /* confdefs.h. */ | ||
| 7116 | _ACEOF | ||
| 7117 | cat confdefs.h >>conftest.$ac_ext | ||
| 7118 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7119 | /* end confdefs.h. */ | 6074 | /* end confdefs.h. */ |
| 7120 | #include <sys/types.h> | 6075 | #include <sys/types.h> |
| 7121 | #include <sys/time.h> | 6076 | #include <sys/time.h> |
| @@ -7130,202 +6085,57 @@ return 0; | |||
| 7130 | return 0; | 6085 | return 0; |
| 7131 | } | 6086 | } |
| 7132 | _ACEOF | 6087 | _ACEOF |
| 7133 | rm -f conftest.$ac_objext | 6088 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7134 | if { (ac_try="$ac_compile" | ||
| 7135 | case "(($ac_try" in | ||
| 7136 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7137 | *) ac_try_echo=$ac_try;; | ||
| 7138 | esac | ||
| 7139 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7140 | $as_echo "$ac_try_echo") >&5 | ||
| 7141 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7142 | ac_status=$? | ||
| 7143 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7144 | rm -f conftest.er1 | ||
| 7145 | cat conftest.err >&5 | ||
| 7146 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7147 | (exit $ac_status); } && { | ||
| 7148 | test -z "$ac_c_werror_flag" || | ||
| 7149 | test ! -s conftest.err | ||
| 7150 | } && test -s conftest.$ac_objext; then | ||
| 7151 | ac_cv_header_time=yes | 6089 | ac_cv_header_time=yes |
| 7152 | else | 6090 | else |
| 7153 | $as_echo "$as_me: failed program was:" >&5 | 6091 | ac_cv_header_time=no |
| 7154 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7155 | |||
| 7156 | ac_cv_header_time=no | ||
| 7157 | fi | 6092 | fi |
| 7158 | |||
| 7159 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6093 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7160 | fi | 6094 | fi |
| 7161 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 6095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
| 7162 | $as_echo "$ac_cv_header_time" >&6; } | 6096 | $as_echo "$ac_cv_header_time" >&6; } |
| 7163 | if test $ac_cv_header_time = yes; then | 6097 | if test $ac_cv_header_time = yes; then |
| 7164 | 6098 | ||
| 7165 | cat >>confdefs.h <<\_ACEOF | 6099 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
| 7166 | #define TIME_WITH_SYS_TIME 1 | ||
| 7167 | _ACEOF | ||
| 7168 | 6100 | ||
| 7169 | fi | 6101 | fi |
| 7170 | 6102 | ||
| 7171 | { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 | 6103 | ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" |
| 7172 | $as_echo_n "checking whether sys_siglist is declared... " >&6; } | 6104 | if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : |
| 7173 | if test "${ac_cv_have_decl_sys_siglist+set}" = set; then | 6105 | ac_have_decl=1 |
| 7174 | $as_echo_n "(cached) " >&6 | ||
| 7175 | else | 6106 | else |
| 7176 | cat >conftest.$ac_ext <<_ACEOF | 6107 | ac_have_decl=0 |
| 7177 | /* confdefs.h. */ | ||
| 7178 | _ACEOF | ||
| 7179 | cat confdefs.h >>conftest.$ac_ext | ||
| 7180 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7181 | /* end confdefs.h. */ | ||
| 7182 | $ac_includes_default | ||
| 7183 | int | ||
| 7184 | main () | ||
| 7185 | { | ||
| 7186 | #ifndef sys_siglist | ||
| 7187 | (void) sys_siglist; | ||
| 7188 | #endif | ||
| 7189 | |||
| 7190 | ; | ||
| 7191 | return 0; | ||
| 7192 | } | ||
| 7193 | _ACEOF | ||
| 7194 | rm -f conftest.$ac_objext | ||
| 7195 | if { (ac_try="$ac_compile" | ||
| 7196 | case "(($ac_try" in | ||
| 7197 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7198 | *) ac_try_echo=$ac_try;; | ||
| 7199 | esac | ||
| 7200 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7201 | $as_echo "$ac_try_echo") >&5 | ||
| 7202 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7203 | ac_status=$? | ||
| 7204 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7205 | rm -f conftest.er1 | ||
| 7206 | cat conftest.err >&5 | ||
| 7207 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7208 | (exit $ac_status); } && { | ||
| 7209 | test -z "$ac_c_werror_flag" || | ||
| 7210 | test ! -s conftest.err | ||
| 7211 | } && test -s conftest.$ac_objext; then | ||
| 7212 | ac_cv_have_decl_sys_siglist=yes | ||
| 7213 | else | ||
| 7214 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7215 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7216 | |||
| 7217 | ac_cv_have_decl_sys_siglist=no | ||
| 7218 | fi | ||
| 7219 | |||
| 7220 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7221 | fi | 6108 | fi |
| 7222 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | ||
| 7223 | $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } | ||
| 7224 | if test $ac_cv_have_decl_sys_siglist = yes; then | ||
| 7225 | 6109 | ||
| 7226 | cat >>confdefs.h <<_ACEOF | 6110 | cat >>confdefs.h <<_ACEOF |
| 7227 | #define HAVE_DECL_SYS_SIGLIST 1 | 6111 | #define HAVE_DECL_SYS_SIGLIST $ac_have_decl |
| 7228 | _ACEOF | 6112 | _ACEOF |
| 7229 | 6113 | ||
| 7230 | |||
| 7231 | else | ||
| 7232 | cat >>confdefs.h <<_ACEOF | ||
| 7233 | #define HAVE_DECL_SYS_SIGLIST 0 | ||
| 7234 | _ACEOF | ||
| 7235 | |||
| 7236 | |||
| 7237 | fi | ||
| 7238 | |||
| 7239 | |||
| 7240 | if test $ac_cv_have_decl_sys_siglist != yes; then | 6114 | if test $ac_cv_have_decl_sys_siglist != yes; then |
| 7241 | # For Tru64, at least: | 6115 | # For Tru64, at least: |
| 7242 | { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 | 6116 | ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" |
| 7243 | $as_echo_n "checking whether __sys_siglist is declared... " >&6; } | 6117 | if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : |
| 7244 | if test "${ac_cv_have_decl___sys_siglist+set}" = set; then | 6118 | ac_have_decl=1 |
| 7245 | $as_echo_n "(cached) " >&6 | ||
| 7246 | else | 6119 | else |
| 7247 | cat >conftest.$ac_ext <<_ACEOF | 6120 | ac_have_decl=0 |
| 7248 | /* confdefs.h. */ | ||
| 7249 | _ACEOF | ||
| 7250 | cat confdefs.h >>conftest.$ac_ext | ||
| 7251 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7252 | /* end confdefs.h. */ | ||
| 7253 | $ac_includes_default | ||
| 7254 | int | ||
| 7255 | main () | ||
| 7256 | { | ||
| 7257 | #ifndef __sys_siglist | ||
| 7258 | (void) __sys_siglist; | ||
| 7259 | #endif | ||
| 7260 | |||
| 7261 | ; | ||
| 7262 | return 0; | ||
| 7263 | } | ||
| 7264 | _ACEOF | ||
| 7265 | rm -f conftest.$ac_objext | ||
| 7266 | if { (ac_try="$ac_compile" | ||
| 7267 | case "(($ac_try" in | ||
| 7268 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7269 | *) ac_try_echo=$ac_try;; | ||
| 7270 | esac | ||
| 7271 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7272 | $as_echo "$ac_try_echo") >&5 | ||
| 7273 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7274 | ac_status=$? | ||
| 7275 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7276 | rm -f conftest.er1 | ||
| 7277 | cat conftest.err >&5 | ||
| 7278 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7279 | (exit $ac_status); } && { | ||
| 7280 | test -z "$ac_c_werror_flag" || | ||
| 7281 | test ! -s conftest.err | ||
| 7282 | } && test -s conftest.$ac_objext; then | ||
| 7283 | ac_cv_have_decl___sys_siglist=yes | ||
| 7284 | else | ||
| 7285 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7286 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7287 | |||
| 7288 | ac_cv_have_decl___sys_siglist=no | ||
| 7289 | fi | 6121 | fi |
| 7290 | 6122 | ||
| 7291 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7292 | fi | ||
| 7293 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | ||
| 7294 | $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } | ||
| 7295 | if test $ac_cv_have_decl___sys_siglist = yes; then | ||
| 7296 | |||
| 7297 | cat >>confdefs.h <<_ACEOF | 6123 | cat >>confdefs.h <<_ACEOF |
| 7298 | #define HAVE_DECL___SYS_SIGLIST 1 | 6124 | #define HAVE_DECL___SYS_SIGLIST $ac_have_decl |
| 7299 | _ACEOF | ||
| 7300 | |||
| 7301 | |||
| 7302 | else | ||
| 7303 | cat >>confdefs.h <<_ACEOF | ||
| 7304 | #define HAVE_DECL___SYS_SIGLIST 0 | ||
| 7305 | _ACEOF | 6125 | _ACEOF |
| 7306 | 6126 | ||
| 7307 | |||
| 7308 | fi | ||
| 7309 | |||
| 7310 | |||
| 7311 | if test $ac_cv_have_decl___sys_siglist = yes; then | 6127 | if test $ac_cv_have_decl___sys_siglist = yes; then |
| 7312 | 6128 | ||
| 7313 | cat >>confdefs.h <<\_ACEOF | 6129 | $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h |
| 7314 | #define sys_siglist __sys_siglist | ||
| 7315 | _ACEOF | ||
| 7316 | 6130 | ||
| 7317 | fi | 6131 | fi |
| 7318 | fi | 6132 | fi |
| 7319 | { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 6133 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 7320 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 6134 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
| 7321 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 6135 | if test "${ac_cv_header_sys_wait_h+set}" = set; then : |
| 7322 | $as_echo_n "(cached) " >&6 | 6136 | $as_echo_n "(cached) " >&6 |
| 7323 | else | 6137 | else |
| 7324 | cat >conftest.$ac_ext <<_ACEOF | 6138 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7325 | /* confdefs.h. */ | ||
| 7326 | _ACEOF | ||
| 7327 | cat confdefs.h >>conftest.$ac_ext | ||
| 7328 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7329 | /* end confdefs.h. */ | 6139 | /* end confdefs.h. */ |
| 7330 | #include <sys/types.h> | 6140 | #include <sys/types.h> |
| 7331 | #include <sys/wait.h> | 6141 | #include <sys/wait.h> |
| @@ -7346,55 +6156,28 @@ main () | |||
| 7346 | return 0; | 6156 | return 0; |
| 7347 | } | 6157 | } |
| 7348 | _ACEOF | 6158 | _ACEOF |
| 7349 | rm -f conftest.$ac_objext | 6159 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7350 | if { (ac_try="$ac_compile" | ||
| 7351 | case "(($ac_try" in | ||
| 7352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7353 | *) ac_try_echo=$ac_try;; | ||
| 7354 | esac | ||
| 7355 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7356 | $as_echo "$ac_try_echo") >&5 | ||
| 7357 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7358 | ac_status=$? | ||
| 7359 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7360 | rm -f conftest.er1 | ||
| 7361 | cat conftest.err >&5 | ||
| 7362 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7363 | (exit $ac_status); } && { | ||
| 7364 | test -z "$ac_c_werror_flag" || | ||
| 7365 | test ! -s conftest.err | ||
| 7366 | } && test -s conftest.$ac_objext; then | ||
| 7367 | ac_cv_header_sys_wait_h=yes | 6160 | ac_cv_header_sys_wait_h=yes |
| 7368 | else | 6161 | else |
| 7369 | $as_echo "$as_me: failed program was:" >&5 | 6162 | ac_cv_header_sys_wait_h=no |
| 7370 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7371 | |||
| 7372 | ac_cv_header_sys_wait_h=no | ||
| 7373 | fi | 6163 | fi |
| 7374 | |||
| 7375 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6164 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7376 | fi | 6165 | fi |
| 7377 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 6166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 |
| 7378 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 6167 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
| 7379 | if test $ac_cv_header_sys_wait_h = yes; then | 6168 | if test $ac_cv_header_sys_wait_h = yes; then |
| 7380 | 6169 | ||
| 7381 | cat >>confdefs.h <<\_ACEOF | 6170 | $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h |
| 7382 | #define HAVE_SYS_WAIT_H 1 | ||
| 7383 | _ACEOF | ||
| 7384 | 6171 | ||
| 7385 | fi | 6172 | fi |
| 7386 | 6173 | ||
| 7387 | 6174 | ||
| 7388 | { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | 6175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 |
| 7389 | $as_echo_n "checking for struct utimbuf... " >&6; } | 6176 | $as_echo_n "checking for struct utimbuf... " >&6; } |
| 7390 | if test "${emacs_cv_struct_utimbuf+set}" = set; then | 6177 | if test "${emacs_cv_struct_utimbuf+set}" = set; then : |
| 7391 | $as_echo_n "(cached) " >&6 | 6178 | $as_echo_n "(cached) " >&6 |
| 7392 | else | 6179 | else |
| 7393 | cat >conftest.$ac_ext <<_ACEOF | 6180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7394 | /* confdefs.h. */ | ||
| 7395 | _ACEOF | ||
| 7396 | cat confdefs.h >>conftest.$ac_ext | ||
| 7397 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7398 | /* end confdefs.h. */ | 6181 | /* end confdefs.h. */ |
| 7399 | #ifdef TIME_WITH_SYS_TIME | 6182 | #ifdef TIME_WITH_SYS_TIME |
| 7400 | #include <sys/time.h> | 6183 | #include <sys/time.h> |
| @@ -7417,54 +6200,27 @@ static struct utimbuf x; x.actime = x.modtime; | |||
| 7417 | return 0; | 6200 | return 0; |
| 7418 | } | 6201 | } |
| 7419 | _ACEOF | 6202 | _ACEOF |
| 7420 | rm -f conftest.$ac_objext | 6203 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7421 | if { (ac_try="$ac_compile" | ||
| 7422 | case "(($ac_try" in | ||
| 7423 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7424 | *) ac_try_echo=$ac_try;; | ||
| 7425 | esac | ||
| 7426 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7427 | $as_echo "$ac_try_echo") >&5 | ||
| 7428 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7429 | ac_status=$? | ||
| 7430 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7431 | rm -f conftest.er1 | ||
| 7432 | cat conftest.err >&5 | ||
| 7433 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7434 | (exit $ac_status); } && { | ||
| 7435 | test -z "$ac_c_werror_flag" || | ||
| 7436 | test ! -s conftest.err | ||
| 7437 | } && test -s conftest.$ac_objext; then | ||
| 7438 | emacs_cv_struct_utimbuf=yes | 6204 | emacs_cv_struct_utimbuf=yes |
| 7439 | else | 6205 | else |
| 7440 | $as_echo "$as_me: failed program was:" >&5 | 6206 | emacs_cv_struct_utimbuf=no |
| 7441 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7442 | |||
| 7443 | emacs_cv_struct_utimbuf=no | ||
| 7444 | fi | 6207 | fi |
| 7445 | |||
| 7446 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6208 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7447 | fi | 6209 | fi |
| 7448 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 6210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 |
| 7449 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 6211 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
| 7450 | if test $emacs_cv_struct_utimbuf = yes; then | 6212 | if test $emacs_cv_struct_utimbuf = yes; then |
| 7451 | 6213 | ||
| 7452 | cat >>confdefs.h <<\_ACEOF | 6214 | $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h |
| 7453 | #define HAVE_STRUCT_UTIMBUF 1 | ||
| 7454 | _ACEOF | ||
| 7455 | 6215 | ||
| 7456 | fi | 6216 | fi |
| 7457 | 6217 | ||
| 7458 | { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 6218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
| 7459 | $as_echo_n "checking return type of signal handlers... " >&6; } | 6219 | $as_echo_n "checking return type of signal handlers... " >&6; } |
| 7460 | if test "${ac_cv_type_signal+set}" = set; then | 6220 | if test "${ac_cv_type_signal+set}" = set; then : |
| 7461 | $as_echo_n "(cached) " >&6 | 6221 | $as_echo_n "(cached) " >&6 |
| 7462 | else | 6222 | else |
| 7463 | cat >conftest.$ac_ext <<_ACEOF | 6223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7464 | /* confdefs.h. */ | ||
| 7465 | _ACEOF | ||
| 7466 | cat confdefs.h >>conftest.$ac_ext | ||
| 7467 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7468 | /* end confdefs.h. */ | 6224 | /* end confdefs.h. */ |
| 7469 | #include <sys/types.h> | 6225 | #include <sys/types.h> |
| 7470 | #include <signal.h> | 6226 | #include <signal.h> |
| @@ -7477,35 +6233,14 @@ return *(signal (0, 0)) (0) == 1; | |||
| 7477 | return 0; | 6233 | return 0; |
| 7478 | } | 6234 | } |
| 7479 | _ACEOF | 6235 | _ACEOF |
| 7480 | rm -f conftest.$ac_objext | 6236 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7481 | if { (ac_try="$ac_compile" | ||
| 7482 | case "(($ac_try" in | ||
| 7483 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7484 | *) ac_try_echo=$ac_try;; | ||
| 7485 | esac | ||
| 7486 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7487 | $as_echo "$ac_try_echo") >&5 | ||
| 7488 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7489 | ac_status=$? | ||
| 7490 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7491 | rm -f conftest.er1 | ||
| 7492 | cat conftest.err >&5 | ||
| 7493 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7494 | (exit $ac_status); } && { | ||
| 7495 | test -z "$ac_c_werror_flag" || | ||
| 7496 | test ! -s conftest.err | ||
| 7497 | } && test -s conftest.$ac_objext; then | ||
| 7498 | ac_cv_type_signal=int | 6237 | ac_cv_type_signal=int |
| 7499 | else | 6238 | else |
| 7500 | $as_echo "$as_me: failed program was:" >&5 | 6239 | ac_cv_type_signal=void |
| 7501 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7502 | |||
| 7503 | ac_cv_type_signal=void | ||
| 7504 | fi | 6240 | fi |
| 7505 | |||
| 7506 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6241 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7507 | fi | 6242 | fi |
| 7508 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 6243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
| 7509 | $as_echo "$ac_cv_type_signal" >&6; } | 6244 | $as_echo "$ac_cv_type_signal" >&6; } |
| 7510 | 6245 | ||
| 7511 | cat >>confdefs.h <<_ACEOF | 6246 | cat >>confdefs.h <<_ACEOF |
| @@ -7514,16 +6249,12 @@ _ACEOF | |||
| 7514 | 6249 | ||
| 7515 | 6250 | ||
| 7516 | 6251 | ||
| 7517 | { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 | 6252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 |
| 7518 | $as_echo_n "checking for speed_t... " >&6; } | 6253 | $as_echo_n "checking for speed_t... " >&6; } |
| 7519 | if test "${emacs_cv_speed_t+set}" = set; then | 6254 | if test "${emacs_cv_speed_t+set}" = set; then : |
| 7520 | $as_echo_n "(cached) " >&6 | 6255 | $as_echo_n "(cached) " >&6 |
| 7521 | else | 6256 | else |
| 7522 | cat >conftest.$ac_ext <<_ACEOF | 6257 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7523 | /* confdefs.h. */ | ||
| 7524 | _ACEOF | ||
| 7525 | cat confdefs.h >>conftest.$ac_ext | ||
| 7526 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7527 | /* end confdefs.h. */ | 6258 | /* end confdefs.h. */ |
| 7528 | #include <termios.h> | 6259 | #include <termios.h> |
| 7529 | int | 6260 | int |
| @@ -7534,54 +6265,27 @@ speed_t x = 1; | |||
| 7534 | return 0; | 6265 | return 0; |
| 7535 | } | 6266 | } |
| 7536 | _ACEOF | 6267 | _ACEOF |
| 7537 | rm -f conftest.$ac_objext | 6268 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7538 | if { (ac_try="$ac_compile" | ||
| 7539 | case "(($ac_try" in | ||
| 7540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7541 | *) ac_try_echo=$ac_try;; | ||
| 7542 | esac | ||
| 7543 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7544 | $as_echo "$ac_try_echo") >&5 | ||
| 7545 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7546 | ac_status=$? | ||
| 7547 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7548 | rm -f conftest.er1 | ||
| 7549 | cat conftest.err >&5 | ||
| 7550 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7551 | (exit $ac_status); } && { | ||
| 7552 | test -z "$ac_c_werror_flag" || | ||
| 7553 | test ! -s conftest.err | ||
| 7554 | } && test -s conftest.$ac_objext; then | ||
| 7555 | emacs_cv_speed_t=yes | 6269 | emacs_cv_speed_t=yes |
| 7556 | else | 6270 | else |
| 7557 | $as_echo "$as_me: failed program was:" >&5 | 6271 | emacs_cv_speed_t=no |
| 7558 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7559 | |||
| 7560 | emacs_cv_speed_t=no | ||
| 7561 | fi | 6272 | fi |
| 7562 | |||
| 7563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6273 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7564 | fi | 6274 | fi |
| 7565 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 6275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 |
| 7566 | $as_echo "$emacs_cv_speed_t" >&6; } | 6276 | $as_echo "$emacs_cv_speed_t" >&6; } |
| 7567 | if test $emacs_cv_speed_t = yes; then | 6277 | if test $emacs_cv_speed_t = yes; then |
| 7568 | 6278 | ||
| 7569 | cat >>confdefs.h <<\_ACEOF | 6279 | $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h |
| 7570 | #define HAVE_SPEED_T 1 | ||
| 7571 | _ACEOF | ||
| 7572 | 6280 | ||
| 7573 | fi | 6281 | fi |
| 7574 | 6282 | ||
| 7575 | { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 | 6283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 |
| 7576 | $as_echo_n "checking for struct timeval... " >&6; } | 6284 | $as_echo_n "checking for struct timeval... " >&6; } |
| 7577 | if test "${emacs_cv_struct_timeval+set}" = set; then | 6285 | if test "${emacs_cv_struct_timeval+set}" = set; then : |
| 7578 | $as_echo_n "(cached) " >&6 | 6286 | $as_echo_n "(cached) " >&6 |
| 7579 | else | 6287 | else |
| 7580 | cat >conftest.$ac_ext <<_ACEOF | 6288 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7581 | /* confdefs.h. */ | ||
| 7582 | _ACEOF | ||
| 7583 | cat confdefs.h >>conftest.$ac_ext | ||
| 7584 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7585 | /* end confdefs.h. */ | 6289 | /* end confdefs.h. */ |
| 7586 | #ifdef TIME_WITH_SYS_TIME | 6290 | #ifdef TIME_WITH_SYS_TIME |
| 7587 | #include <sys/time.h> | 6291 | #include <sys/time.h> |
| @@ -7601,55 +6305,28 @@ static struct timeval x; x.tv_sec = x.tv_usec; | |||
| 7601 | return 0; | 6305 | return 0; |
| 7602 | } | 6306 | } |
| 7603 | _ACEOF | 6307 | _ACEOF |
| 7604 | rm -f conftest.$ac_objext | 6308 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7605 | if { (ac_try="$ac_compile" | ||
| 7606 | case "(($ac_try" in | ||
| 7607 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7608 | *) ac_try_echo=$ac_try;; | ||
| 7609 | esac | ||
| 7610 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7611 | $as_echo "$ac_try_echo") >&5 | ||
| 7612 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7613 | ac_status=$? | ||
| 7614 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7615 | rm -f conftest.er1 | ||
| 7616 | cat conftest.err >&5 | ||
| 7617 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7618 | (exit $ac_status); } && { | ||
| 7619 | test -z "$ac_c_werror_flag" || | ||
| 7620 | test ! -s conftest.err | ||
| 7621 | } && test -s conftest.$ac_objext; then | ||
| 7622 | emacs_cv_struct_timeval=yes | 6309 | emacs_cv_struct_timeval=yes |
| 7623 | else | 6310 | else |
| 7624 | $as_echo "$as_me: failed program was:" >&5 | 6311 | emacs_cv_struct_timeval=no |
| 7625 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7626 | |||
| 7627 | emacs_cv_struct_timeval=no | ||
| 7628 | fi | 6312 | fi |
| 7629 | |||
| 7630 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7631 | fi | 6314 | fi |
| 7632 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | 6315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 |
| 7633 | $as_echo "$emacs_cv_struct_timeval" >&6; } | 6316 | $as_echo "$emacs_cv_struct_timeval" >&6; } |
| 7634 | HAVE_TIMEVAL=$emacs_cv_struct_timeval | 6317 | HAVE_TIMEVAL=$emacs_cv_struct_timeval |
| 7635 | if test $emacs_cv_struct_timeval = yes; then | 6318 | if test $emacs_cv_struct_timeval = yes; then |
| 7636 | 6319 | ||
| 7637 | cat >>confdefs.h <<\_ACEOF | 6320 | $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h |
| 7638 | #define HAVE_TIMEVAL 1 | ||
| 7639 | _ACEOF | ||
| 7640 | 6321 | ||
| 7641 | fi | 6322 | fi |
| 7642 | 6323 | ||
| 7643 | { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 | 6324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 |
| 7644 | $as_echo_n "checking for struct exception... " >&6; } | 6325 | $as_echo_n "checking for struct exception... " >&6; } |
| 7645 | if test "${emacs_cv_struct_exception+set}" = set; then | 6326 | if test "${emacs_cv_struct_exception+set}" = set; then : |
| 7646 | $as_echo_n "(cached) " >&6 | 6327 | $as_echo_n "(cached) " >&6 |
| 7647 | else | 6328 | else |
| 7648 | cat >conftest.$ac_ext <<_ACEOF | 6329 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7649 | /* confdefs.h. */ | ||
| 7650 | _ACEOF | ||
| 7651 | cat confdefs.h >>conftest.$ac_ext | ||
| 7652 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7653 | /* end confdefs.h. */ | 6330 | /* end confdefs.h. */ |
| 7654 | #include <math.h> | 6331 | #include <math.h> |
| 7655 | int | 6332 | int |
| @@ -7660,248 +6337,44 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | |||
| 7660 | return 0; | 6337 | return 0; |
| 7661 | } | 6338 | } |
| 7662 | _ACEOF | 6339 | _ACEOF |
| 7663 | rm -f conftest.$ac_objext | 6340 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7664 | if { (ac_try="$ac_compile" | ||
| 7665 | case "(($ac_try" in | ||
| 7666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7667 | *) ac_try_echo=$ac_try;; | ||
| 7668 | esac | ||
| 7669 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7670 | $as_echo "$ac_try_echo") >&5 | ||
| 7671 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7672 | ac_status=$? | ||
| 7673 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7674 | rm -f conftest.er1 | ||
| 7675 | cat conftest.err >&5 | ||
| 7676 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7677 | (exit $ac_status); } && { | ||
| 7678 | test -z "$ac_c_werror_flag" || | ||
| 7679 | test ! -s conftest.err | ||
| 7680 | } && test -s conftest.$ac_objext; then | ||
| 7681 | emacs_cv_struct_exception=yes | 6341 | emacs_cv_struct_exception=yes |
| 7682 | else | 6342 | else |
| 7683 | $as_echo "$as_me: failed program was:" >&5 | 6343 | emacs_cv_struct_exception=no |
| 7684 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7685 | |||
| 7686 | emacs_cv_struct_exception=no | ||
| 7687 | fi | 6344 | fi |
| 7688 | |||
| 7689 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6345 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7690 | fi | 6346 | fi |
| 7691 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | 6347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 |
| 7692 | $as_echo "$emacs_cv_struct_exception" >&6; } | 6348 | $as_echo "$emacs_cv_struct_exception" >&6; } |
| 7693 | HAVE_EXCEPTION=$emacs_cv_struct_exception | 6349 | HAVE_EXCEPTION=$emacs_cv_struct_exception |
| 7694 | if test $emacs_cv_struct_exception != yes; then | 6350 | if test $emacs_cv_struct_exception != yes; then |
| 7695 | 6351 | ||
| 7696 | cat >>confdefs.h <<\_ACEOF | 6352 | $as_echo "#define NO_MATHERR 1" >>confdefs.h |
| 7697 | #define NO_MATHERR 1 | ||
| 7698 | _ACEOF | ||
| 7699 | 6353 | ||
| 7700 | fi | 6354 | fi |
| 7701 | 6355 | ||
| 7702 | |||
| 7703 | for ac_header in sys/socket.h | 6356 | for ac_header in sys/socket.h |
| 7704 | do | 6357 | do : |
| 7705 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6358 | ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" |
| 7706 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6359 | if test "x$ac_cv_header_sys_socket_h" = x""yes; then : |
| 7707 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7708 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7709 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7710 | $as_echo_n "(cached) " >&6 | ||
| 7711 | fi | ||
| 7712 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7713 | $as_echo "$as_val"'` | ||
| 7714 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7715 | $as_echo "$ac_res" >&6; } | ||
| 7716 | else | ||
| 7717 | # Is the header compilable? | ||
| 7718 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 7719 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 7720 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7721 | /* confdefs.h. */ | ||
| 7722 | _ACEOF | ||
| 7723 | cat confdefs.h >>conftest.$ac_ext | ||
| 7724 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7725 | /* end confdefs.h. */ | ||
| 7726 | $ac_includes_default | ||
| 7727 | #include <$ac_header> | ||
| 7728 | _ACEOF | ||
| 7729 | rm -f conftest.$ac_objext | ||
| 7730 | if { (ac_try="$ac_compile" | ||
| 7731 | case "(($ac_try" in | ||
| 7732 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7733 | *) ac_try_echo=$ac_try;; | ||
| 7734 | esac | ||
| 7735 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7736 | $as_echo "$ac_try_echo") >&5 | ||
| 7737 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7738 | ac_status=$? | ||
| 7739 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7740 | rm -f conftest.er1 | ||
| 7741 | cat conftest.err >&5 | ||
| 7742 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7743 | (exit $ac_status); } && { | ||
| 7744 | test -z "$ac_c_werror_flag" || | ||
| 7745 | test ! -s conftest.err | ||
| 7746 | } && test -s conftest.$ac_objext; then | ||
| 7747 | ac_header_compiler=yes | ||
| 7748 | else | ||
| 7749 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7750 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7751 | |||
| 7752 | ac_header_compiler=no | ||
| 7753 | fi | ||
| 7754 | |||
| 7755 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7756 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 7757 | $as_echo "$ac_header_compiler" >&6; } | ||
| 7758 | |||
| 7759 | # Is the header present? | ||
| 7760 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 7761 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 7762 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7763 | /* confdefs.h. */ | ||
| 7764 | _ACEOF | ||
| 7765 | cat confdefs.h >>conftest.$ac_ext | ||
| 7766 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7767 | /* end confdefs.h. */ | ||
| 7768 | #include <$ac_header> | ||
| 7769 | _ACEOF | ||
| 7770 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 7771 | case "(($ac_try" in | ||
| 7772 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7773 | *) ac_try_echo=$ac_try;; | ||
| 7774 | esac | ||
| 7775 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7776 | $as_echo "$ac_try_echo") >&5 | ||
| 7777 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 7778 | ac_status=$? | ||
| 7779 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7780 | rm -f conftest.er1 | ||
| 7781 | cat conftest.err >&5 | ||
| 7782 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7783 | (exit $ac_status); } >/dev/null && { | ||
| 7784 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 7785 | test ! -s conftest.err | ||
| 7786 | }; then | ||
| 7787 | ac_header_preproc=yes | ||
| 7788 | else | ||
| 7789 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7790 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7791 | |||
| 7792 | ac_header_preproc=no | ||
| 7793 | fi | ||
| 7794 | |||
| 7795 | rm -f conftest.err conftest.$ac_ext | ||
| 7796 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 7797 | $as_echo "$ac_header_preproc" >&6; } | ||
| 7798 | |||
| 7799 | # So? What about this header? | ||
| 7800 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 7801 | yes:no: ) | ||
| 7802 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 7803 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 7804 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 7805 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 7806 | ac_header_preproc=yes | ||
| 7807 | ;; | ||
| 7808 | no:yes:* ) | ||
| 7809 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 7810 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 7811 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 7812 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 7813 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 7814 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 7815 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 7816 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 7817 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 7818 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 7819 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 7820 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 7821 | |||
| 7822 | ;; | ||
| 7823 | esac | ||
| 7824 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7825 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7826 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7827 | $as_echo_n "(cached) " >&6 | ||
| 7828 | else | ||
| 7829 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 7830 | fi | ||
| 7831 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7832 | $as_echo "$as_val"'` | ||
| 7833 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7834 | $as_echo "$ac_res" >&6; } | ||
| 7835 | |||
| 7836 | fi | ||
| 7837 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7838 | $as_echo "$as_val"'` = yes; then | ||
| 7839 | cat >>confdefs.h <<_ACEOF | 6360 | cat >>confdefs.h <<_ACEOF |
| 7840 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6361 | #define HAVE_SYS_SOCKET_H 1 |
| 7841 | _ACEOF | 6362 | _ACEOF |
| 7842 | 6363 | ||
| 7843 | fi | 6364 | fi |
| 7844 | 6365 | ||
| 7845 | done | 6366 | done |
| 7846 | 6367 | ||
| 7847 | |||
| 7848 | for ac_header in net/if.h | 6368 | for ac_header in net/if.h |
| 7849 | do | 6369 | do : |
| 7850 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6370 | ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default |
| 7851 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7852 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7853 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7854 | $as_echo_n "(cached) " >&6 | ||
| 7855 | else | ||
| 7856 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7857 | /* confdefs.h. */ | ||
| 7858 | _ACEOF | ||
| 7859 | cat confdefs.h >>conftest.$ac_ext | ||
| 7860 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7861 | /* end confdefs.h. */ | ||
| 7862 | $ac_includes_default | ||
| 7863 | #if HAVE_SYS_SOCKET_H | 6371 | #if HAVE_SYS_SOCKET_H |
| 7864 | #include <sys/socket.h> | 6372 | #include <sys/socket.h> |
| 7865 | #endif | 6373 | #endif |
| 7866 | 6374 | " | |
| 7867 | #include <$ac_header> | 6375 | if test "x$ac_cv_header_net_if_h" = x""yes; then : |
| 7868 | _ACEOF | ||
| 7869 | rm -f conftest.$ac_objext | ||
| 7870 | if { (ac_try="$ac_compile" | ||
| 7871 | case "(($ac_try" in | ||
| 7872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7873 | *) ac_try_echo=$ac_try;; | ||
| 7874 | esac | ||
| 7875 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7876 | $as_echo "$ac_try_echo") >&5 | ||
| 7877 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7878 | ac_status=$? | ||
| 7879 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7880 | rm -f conftest.er1 | ||
| 7881 | cat conftest.err >&5 | ||
| 7882 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7883 | (exit $ac_status); } && { | ||
| 7884 | test -z "$ac_c_werror_flag" || | ||
| 7885 | test ! -s conftest.err | ||
| 7886 | } && test -s conftest.$ac_objext; then | ||
| 7887 | eval "$as_ac_Header=yes" | ||
| 7888 | else | ||
| 7889 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7890 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7891 | |||
| 7892 | eval "$as_ac_Header=no" | ||
| 7893 | fi | ||
| 7894 | |||
| 7895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7896 | fi | ||
| 7897 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7898 | $as_echo "$as_val"'` | ||
| 7899 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7900 | $as_echo "$ac_res" >&6; } | ||
| 7901 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7902 | $as_echo "$as_val"'` = yes; then | ||
| 7903 | cat >>confdefs.h <<_ACEOF | 6376 | cat >>confdefs.h <<_ACEOF |
| 7904 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6377 | #define HAVE_NET_IF_H 1 |
| 7905 | _ACEOF | 6378 | _ACEOF |
| 7906 | 6379 | ||
| 7907 | fi | 6380 | fi |
| @@ -7909,16 +6382,12 @@ fi | |||
| 7909 | done | 6382 | done |
| 7910 | 6383 | ||
| 7911 | 6384 | ||
| 7912 | { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 7913 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 6386 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 7914 | if test "${ac_cv_struct_tm+set}" = set; then | 6387 | if test "${ac_cv_struct_tm+set}" = set; then : |
| 7915 | $as_echo_n "(cached) " >&6 | 6388 | $as_echo_n "(cached) " >&6 |
| 7916 | else | 6389 | else |
| 7917 | cat >conftest.$ac_ext <<_ACEOF | 6390 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7918 | /* confdefs.h. */ | ||
| 7919 | _ACEOF | ||
| 7920 | cat confdefs.h >>conftest.$ac_ext | ||
| 7921 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7922 | /* end confdefs.h. */ | 6391 | /* end confdefs.h. */ |
| 7923 | #include <sys/types.h> | 6392 | #include <sys/types.h> |
| 7924 | #include <time.h> | 6393 | #include <time.h> |
| @@ -7933,146 +6402,26 @@ struct tm tm; | |||
| 7933 | return 0; | 6402 | return 0; |
| 7934 | } | 6403 | } |
| 7935 | _ACEOF | 6404 | _ACEOF |
| 7936 | rm -f conftest.$ac_objext | 6405 | if ac_fn_c_try_compile "$LINENO"; then : |
| 7937 | if { (ac_try="$ac_compile" | ||
| 7938 | case "(($ac_try" in | ||
| 7939 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7940 | *) ac_try_echo=$ac_try;; | ||
| 7941 | esac | ||
| 7942 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7943 | $as_echo "$ac_try_echo") >&5 | ||
| 7944 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7945 | ac_status=$? | ||
| 7946 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7947 | rm -f conftest.er1 | ||
| 7948 | cat conftest.err >&5 | ||
| 7949 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7950 | (exit $ac_status); } && { | ||
| 7951 | test -z "$ac_c_werror_flag" || | ||
| 7952 | test ! -s conftest.err | ||
| 7953 | } && test -s conftest.$ac_objext; then | ||
| 7954 | ac_cv_struct_tm=time.h | 6406 | ac_cv_struct_tm=time.h |
| 7955 | else | 6407 | else |
| 7956 | $as_echo "$as_me: failed program was:" >&5 | 6408 | ac_cv_struct_tm=sys/time.h |
| 7957 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7958 | |||
| 7959 | ac_cv_struct_tm=sys/time.h | ||
| 7960 | fi | 6409 | fi |
| 7961 | |||
| 7962 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6410 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7963 | fi | 6411 | fi |
| 7964 | { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 6412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
| 7965 | $as_echo "$ac_cv_struct_tm" >&6; } | 6413 | $as_echo "$ac_cv_struct_tm" >&6; } |
| 7966 | if test $ac_cv_struct_tm = sys/time.h; then | 6414 | if test $ac_cv_struct_tm = sys/time.h; then |
| 7967 | 6415 | ||
| 7968 | cat >>confdefs.h <<\_ACEOF | 6416 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
| 7969 | #define TM_IN_SYS_TIME 1 | ||
| 7970 | _ACEOF | ||
| 7971 | 6417 | ||
| 7972 | fi | 6418 | fi |
| 7973 | 6419 | ||
| 7974 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | 6420 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> |
| 7975 | $as_echo_n "checking for struct tm.tm_zone... " >&6; } | ||
| 7976 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | ||
| 7977 | $as_echo_n "(cached) " >&6 | ||
| 7978 | else | ||
| 7979 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7980 | /* confdefs.h. */ | ||
| 7981 | _ACEOF | ||
| 7982 | cat confdefs.h >>conftest.$ac_ext | ||
| 7983 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7984 | /* end confdefs.h. */ | ||
| 7985 | #include <sys/types.h> | ||
| 7986 | #include <$ac_cv_struct_tm> | 6421 | #include <$ac_cv_struct_tm> |
| 7987 | 6422 | ||
| 7988 | 6423 | " | |
| 7989 | int | 6424 | if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : |
| 7990 | main () | ||
| 7991 | { | ||
| 7992 | static struct tm ac_aggr; | ||
| 7993 | if (ac_aggr.tm_zone) | ||
| 7994 | return 0; | ||
| 7995 | ; | ||
| 7996 | return 0; | ||
| 7997 | } | ||
| 7998 | _ACEOF | ||
| 7999 | rm -f conftest.$ac_objext | ||
| 8000 | if { (ac_try="$ac_compile" | ||
| 8001 | case "(($ac_try" in | ||
| 8002 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8003 | *) ac_try_echo=$ac_try;; | ||
| 8004 | esac | ||
| 8005 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8006 | $as_echo "$ac_try_echo") >&5 | ||
| 8007 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8008 | ac_status=$? | ||
| 8009 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8010 | rm -f conftest.er1 | ||
| 8011 | cat conftest.err >&5 | ||
| 8012 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8013 | (exit $ac_status); } && { | ||
| 8014 | test -z "$ac_c_werror_flag" || | ||
| 8015 | test ! -s conftest.err | ||
| 8016 | } && test -s conftest.$ac_objext; then | ||
| 8017 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8018 | else | ||
| 8019 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8020 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8021 | |||
| 8022 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8023 | /* confdefs.h. */ | ||
| 8024 | _ACEOF | ||
| 8025 | cat confdefs.h >>conftest.$ac_ext | ||
| 8026 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8027 | /* end confdefs.h. */ | ||
| 8028 | #include <sys/types.h> | ||
| 8029 | #include <$ac_cv_struct_tm> | ||
| 8030 | |||
| 8031 | |||
| 8032 | int | ||
| 8033 | main () | ||
| 8034 | { | ||
| 8035 | static struct tm ac_aggr; | ||
| 8036 | if (sizeof ac_aggr.tm_zone) | ||
| 8037 | return 0; | ||
| 8038 | ; | ||
| 8039 | return 0; | ||
| 8040 | } | ||
| 8041 | _ACEOF | ||
| 8042 | rm -f conftest.$ac_objext | ||
| 8043 | if { (ac_try="$ac_compile" | ||
| 8044 | case "(($ac_try" in | ||
| 8045 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8046 | *) ac_try_echo=$ac_try;; | ||
| 8047 | esac | ||
| 8048 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8049 | $as_echo "$ac_try_echo") >&5 | ||
| 8050 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8051 | ac_status=$? | ||
| 8052 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8053 | rm -f conftest.er1 | ||
| 8054 | cat conftest.err >&5 | ||
| 8055 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8056 | (exit $ac_status); } && { | ||
| 8057 | test -z "$ac_c_werror_flag" || | ||
| 8058 | test ! -s conftest.err | ||
| 8059 | } && test -s conftest.$ac_objext; then | ||
| 8060 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8061 | else | ||
| 8062 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8063 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8064 | |||
| 8065 | ac_cv_member_struct_tm_tm_zone=no | ||
| 8066 | fi | ||
| 8067 | |||
| 8068 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8069 | fi | ||
| 8070 | |||
| 8071 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8072 | fi | ||
| 8073 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | ||
| 8074 | $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } | ||
| 8075 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | ||
| 8076 | 6425 | ||
| 8077 | cat >>confdefs.h <<_ACEOF | 6426 | cat >>confdefs.h <<_ACEOF |
| 8078 | #define HAVE_STRUCT_TM_TM_ZONE 1 | 6427 | #define HAVE_STRUCT_TM_TM_ZONE 1 |
| @@ -8083,91 +6432,27 @@ fi | |||
| 8083 | 6432 | ||
| 8084 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 6433 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
| 8085 | 6434 | ||
| 8086 | cat >>confdefs.h <<\_ACEOF | 6435 | $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h |
| 8087 | #define HAVE_TM_ZONE 1 | ||
| 8088 | _ACEOF | ||
| 8089 | 6436 | ||
| 8090 | else | 6437 | else |
| 8091 | { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 | 6438 | ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> |
| 8092 | $as_echo_n "checking whether tzname is declared... " >&6; } | 6439 | " |
| 8093 | if test "${ac_cv_have_decl_tzname+set}" = set; then | 6440 | if test "x$ac_cv_have_decl_tzname" = x""yes; then : |
| 8094 | $as_echo_n "(cached) " >&6 | 6441 | ac_have_decl=1 |
| 8095 | else | ||
| 8096 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8097 | /* confdefs.h. */ | ||
| 8098 | _ACEOF | ||
| 8099 | cat confdefs.h >>conftest.$ac_ext | ||
| 8100 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8101 | /* end confdefs.h. */ | ||
| 8102 | #include <time.h> | ||
| 8103 | |||
| 8104 | int | ||
| 8105 | main () | ||
| 8106 | { | ||
| 8107 | #ifndef tzname | ||
| 8108 | (void) tzname; | ||
| 8109 | #endif | ||
| 8110 | |||
| 8111 | ; | ||
| 8112 | return 0; | ||
| 8113 | } | ||
| 8114 | _ACEOF | ||
| 8115 | rm -f conftest.$ac_objext | ||
| 8116 | if { (ac_try="$ac_compile" | ||
| 8117 | case "(($ac_try" in | ||
| 8118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8119 | *) ac_try_echo=$ac_try;; | ||
| 8120 | esac | ||
| 8121 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8122 | $as_echo "$ac_try_echo") >&5 | ||
| 8123 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8124 | ac_status=$? | ||
| 8125 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8126 | rm -f conftest.er1 | ||
| 8127 | cat conftest.err >&5 | ||
| 8128 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8129 | (exit $ac_status); } && { | ||
| 8130 | test -z "$ac_c_werror_flag" || | ||
| 8131 | test ! -s conftest.err | ||
| 8132 | } && test -s conftest.$ac_objext; then | ||
| 8133 | ac_cv_have_decl_tzname=yes | ||
| 8134 | else | 6442 | else |
| 8135 | $as_echo "$as_me: failed program was:" >&5 | 6443 | ac_have_decl=0 |
| 8136 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8137 | |||
| 8138 | ac_cv_have_decl_tzname=no | ||
| 8139 | fi | 6444 | fi |
| 8140 | 6445 | ||
| 8141 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8142 | fi | ||
| 8143 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | ||
| 8144 | $as_echo "$ac_cv_have_decl_tzname" >&6; } | ||
| 8145 | if test $ac_cv_have_decl_tzname = yes; then | ||
| 8146 | |||
| 8147 | cat >>confdefs.h <<_ACEOF | 6446 | cat >>confdefs.h <<_ACEOF |
| 8148 | #define HAVE_DECL_TZNAME 1 | 6447 | #define HAVE_DECL_TZNAME $ac_have_decl |
| 8149 | _ACEOF | ||
| 8150 | |||
| 8151 | |||
| 8152 | else | ||
| 8153 | cat >>confdefs.h <<_ACEOF | ||
| 8154 | #define HAVE_DECL_TZNAME 0 | ||
| 8155 | _ACEOF | 6448 | _ACEOF |
| 8156 | 6449 | ||
| 8157 | 6450 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | |
| 8158 | fi | ||
| 8159 | |||
| 8160 | |||
| 8161 | { $as_echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 8162 | $as_echo_n "checking for tzname... " >&6; } | 6451 | $as_echo_n "checking for tzname... " >&6; } |
| 8163 | if test "${ac_cv_var_tzname+set}" = set; then | 6452 | if test "${ac_cv_var_tzname+set}" = set; then : |
| 8164 | $as_echo_n "(cached) " >&6 | 6453 | $as_echo_n "(cached) " >&6 |
| 8165 | else | 6454 | else |
| 8166 | cat >conftest.$ac_ext <<_ACEOF | 6455 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8167 | /* confdefs.h. */ | ||
| 8168 | _ACEOF | ||
| 8169 | cat confdefs.h >>conftest.$ac_ext | ||
| 8170 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8171 | /* end confdefs.h. */ | 6456 | /* end confdefs.h. */ |
| 8172 | #include <time.h> | 6457 | #include <time.h> |
| 8173 | #if !HAVE_DECL_TZNAME | 6458 | #if !HAVE_DECL_TZNAME |
| @@ -8182,265 +6467,40 @@ return tzname[0][0]; | |||
| 8182 | return 0; | 6467 | return 0; |
| 8183 | } | 6468 | } |
| 8184 | _ACEOF | 6469 | _ACEOF |
| 8185 | rm -f conftest.$ac_objext conftest$ac_exeext | 6470 | if ac_fn_c_try_link "$LINENO"; then : |
| 8186 | if { (ac_try="$ac_link" | ||
| 8187 | case "(($ac_try" in | ||
| 8188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8189 | *) ac_try_echo=$ac_try;; | ||
| 8190 | esac | ||
| 8191 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8192 | $as_echo "$ac_try_echo") >&5 | ||
| 8193 | (eval "$ac_link") 2>conftest.er1 | ||
| 8194 | ac_status=$? | ||
| 8195 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8196 | rm -f conftest.er1 | ||
| 8197 | cat conftest.err >&5 | ||
| 8198 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8199 | (exit $ac_status); } && { | ||
| 8200 | test -z "$ac_c_werror_flag" || | ||
| 8201 | test ! -s conftest.err | ||
| 8202 | } && test -s conftest$ac_exeext && { | ||
| 8203 | test "$cross_compiling" = yes || | ||
| 8204 | $as_test_x conftest$ac_exeext | ||
| 8205 | }; then | ||
| 8206 | ac_cv_var_tzname=yes | 6471 | ac_cv_var_tzname=yes |
| 8207 | else | 6472 | else |
| 8208 | $as_echo "$as_me: failed program was:" >&5 | 6473 | ac_cv_var_tzname=no |
| 8209 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8210 | |||
| 8211 | ac_cv_var_tzname=no | ||
| 8212 | fi | 6474 | fi |
| 8213 | 6475 | rm -f core conftest.err conftest.$ac_objext \ | |
| 8214 | rm -rf conftest.dSYM | 6476 | conftest$ac_exeext conftest.$ac_ext |
| 8215 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8216 | conftest$ac_exeext conftest.$ac_ext | ||
| 8217 | fi | 6477 | fi |
| 8218 | { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | 6478 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 |
| 8219 | $as_echo "$ac_cv_var_tzname" >&6; } | 6479 | $as_echo "$ac_cv_var_tzname" >&6; } |
| 8220 | if test $ac_cv_var_tzname = yes; then | 6480 | if test $ac_cv_var_tzname = yes; then |
| 8221 | 6481 | ||
| 8222 | cat >>confdefs.h <<\_ACEOF | 6482 | $as_echo "#define HAVE_TZNAME 1" >>confdefs.h |
| 8223 | #define HAVE_TZNAME 1 | ||
| 8224 | _ACEOF | ||
| 8225 | 6483 | ||
| 8226 | fi | 6484 | fi |
| 8227 | fi | 6485 | fi |
| 8228 | 6486 | ||
| 8229 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 | 6487 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> |
| 8230 | $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } | 6488 | " |
| 8231 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then | 6489 | if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : |
| 8232 | $as_echo_n "(cached) " >&6 | ||
| 8233 | else | ||
| 8234 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8235 | /* confdefs.h. */ | ||
| 8236 | _ACEOF | ||
| 8237 | cat confdefs.h >>conftest.$ac_ext | ||
| 8238 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8239 | /* end confdefs.h. */ | ||
| 8240 | #include <time.h> | ||
| 8241 | |||
| 8242 | int | ||
| 8243 | main () | ||
| 8244 | { | ||
| 8245 | static struct tm ac_aggr; | ||
| 8246 | if (ac_aggr.tm_gmtoff) | ||
| 8247 | return 0; | ||
| 8248 | ; | ||
| 8249 | return 0; | ||
| 8250 | } | ||
| 8251 | _ACEOF | ||
| 8252 | rm -f conftest.$ac_objext | ||
| 8253 | if { (ac_try="$ac_compile" | ||
| 8254 | case "(($ac_try" in | ||
| 8255 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8256 | *) ac_try_echo=$ac_try;; | ||
| 8257 | esac | ||
| 8258 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8259 | $as_echo "$ac_try_echo") >&5 | ||
| 8260 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8261 | ac_status=$? | ||
| 8262 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8263 | rm -f conftest.er1 | ||
| 8264 | cat conftest.err >&5 | ||
| 8265 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8266 | (exit $ac_status); } && { | ||
| 8267 | test -z "$ac_c_werror_flag" || | ||
| 8268 | test ! -s conftest.err | ||
| 8269 | } && test -s conftest.$ac_objext; then | ||
| 8270 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8271 | else | ||
| 8272 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8273 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8274 | |||
| 8275 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8276 | /* confdefs.h. */ | ||
| 8277 | _ACEOF | ||
| 8278 | cat confdefs.h >>conftest.$ac_ext | ||
| 8279 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8280 | /* end confdefs.h. */ | ||
| 8281 | #include <time.h> | ||
| 8282 | |||
| 8283 | int | ||
| 8284 | main () | ||
| 8285 | { | ||
| 8286 | static struct tm ac_aggr; | ||
| 8287 | if (sizeof ac_aggr.tm_gmtoff) | ||
| 8288 | return 0; | ||
| 8289 | ; | ||
| 8290 | return 0; | ||
| 8291 | } | ||
| 8292 | _ACEOF | ||
| 8293 | rm -f conftest.$ac_objext | ||
| 8294 | if { (ac_try="$ac_compile" | ||
| 8295 | case "(($ac_try" in | ||
| 8296 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8297 | *) ac_try_echo=$ac_try;; | ||
| 8298 | esac | ||
| 8299 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8300 | $as_echo "$ac_try_echo") >&5 | ||
| 8301 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8302 | ac_status=$? | ||
| 8303 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8304 | rm -f conftest.er1 | ||
| 8305 | cat conftest.err >&5 | ||
| 8306 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8307 | (exit $ac_status); } && { | ||
| 8308 | test -z "$ac_c_werror_flag" || | ||
| 8309 | test ! -s conftest.err | ||
| 8310 | } && test -s conftest.$ac_objext; then | ||
| 8311 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8312 | else | ||
| 8313 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8314 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8315 | |||
| 8316 | ac_cv_member_struct_tm_tm_gmtoff=no | ||
| 8317 | fi | ||
| 8318 | |||
| 8319 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8320 | fi | ||
| 8321 | |||
| 8322 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8323 | fi | ||
| 8324 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | ||
| 8325 | $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | ||
| 8326 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | ||
| 8327 | 6490 | ||
| 8328 | cat >>confdefs.h <<\_ACEOF | 6491 | $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h |
| 8329 | #define HAVE_TM_GMTOFF 1 | ||
| 8330 | _ACEOF | ||
| 8331 | 6492 | ||
| 8332 | fi | 6493 | fi |
| 8333 | 6494 | ||
| 8334 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | 6495 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default |
| 8335 | $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } | ||
| 8336 | if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | ||
| 8337 | $as_echo_n "(cached) " >&6 | ||
| 8338 | else | ||
| 8339 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8340 | /* confdefs.h. */ | ||
| 8341 | _ACEOF | ||
| 8342 | cat confdefs.h >>conftest.$ac_ext | ||
| 8343 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8344 | /* end confdefs.h. */ | ||
| 8345 | $ac_includes_default | ||
| 8346 | #if HAVE_SYS_SOCKET_H | 6496 | #if HAVE_SYS_SOCKET_H |
| 8347 | #include <sys/socket.h> | 6497 | #include <sys/socket.h> |
| 8348 | #endif | 6498 | #endif |
| 8349 | #if HAVE_NET_IF_H | 6499 | #if HAVE_NET_IF_H |
| 8350 | #include <net/if.h> | 6500 | #include <net/if.h> |
| 8351 | #endif | 6501 | #endif |
| 8352 | 6502 | " | |
| 8353 | int | 6503 | if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : |
| 8354 | main () | ||
| 8355 | { | ||
| 8356 | static struct ifreq ac_aggr; | ||
| 8357 | if (ac_aggr.ifr_flags) | ||
| 8358 | return 0; | ||
| 8359 | ; | ||
| 8360 | return 0; | ||
| 8361 | } | ||
| 8362 | _ACEOF | ||
| 8363 | rm -f conftest.$ac_objext | ||
| 8364 | if { (ac_try="$ac_compile" | ||
| 8365 | case "(($ac_try" in | ||
| 8366 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8367 | *) ac_try_echo=$ac_try;; | ||
| 8368 | esac | ||
| 8369 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8370 | $as_echo "$ac_try_echo") >&5 | ||
| 8371 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8372 | ac_status=$? | ||
| 8373 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8374 | rm -f conftest.er1 | ||
| 8375 | cat conftest.err >&5 | ||
| 8376 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8377 | (exit $ac_status); } && { | ||
| 8378 | test -z "$ac_c_werror_flag" || | ||
| 8379 | test ! -s conftest.err | ||
| 8380 | } && test -s conftest.$ac_objext; then | ||
| 8381 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8382 | else | ||
| 8383 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8384 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8385 | |||
| 8386 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8387 | /* confdefs.h. */ | ||
| 8388 | _ACEOF | ||
| 8389 | cat confdefs.h >>conftest.$ac_ext | ||
| 8390 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8391 | /* end confdefs.h. */ | ||
| 8392 | $ac_includes_default | ||
| 8393 | #if HAVE_SYS_SOCKET_H | ||
| 8394 | #include <sys/socket.h> | ||
| 8395 | #endif | ||
| 8396 | #if HAVE_NET_IF_H | ||
| 8397 | #include <net/if.h> | ||
| 8398 | #endif | ||
| 8399 | |||
| 8400 | int | ||
| 8401 | main () | ||
| 8402 | { | ||
| 8403 | static struct ifreq ac_aggr; | ||
| 8404 | if (sizeof ac_aggr.ifr_flags) | ||
| 8405 | return 0; | ||
| 8406 | ; | ||
| 8407 | return 0; | ||
| 8408 | } | ||
| 8409 | _ACEOF | ||
| 8410 | rm -f conftest.$ac_objext | ||
| 8411 | if { (ac_try="$ac_compile" | ||
| 8412 | case "(($ac_try" in | ||
| 8413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8414 | *) ac_try_echo=$ac_try;; | ||
| 8415 | esac | ||
| 8416 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8417 | $as_echo "$ac_try_echo") >&5 | ||
| 8418 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8419 | ac_status=$? | ||
| 8420 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8421 | rm -f conftest.er1 | ||
| 8422 | cat conftest.err >&5 | ||
| 8423 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8424 | (exit $ac_status); } && { | ||
| 8425 | test -z "$ac_c_werror_flag" || | ||
| 8426 | test ! -s conftest.err | ||
| 8427 | } && test -s conftest.$ac_objext; then | ||
| 8428 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8429 | else | ||
| 8430 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8431 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8432 | |||
| 8433 | ac_cv_member_struct_ifreq_ifr_flags=no | ||
| 8434 | fi | ||
| 8435 | |||
| 8436 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8437 | fi | ||
| 8438 | |||
| 8439 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8440 | fi | ||
| 8441 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | ||
| 8442 | $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | ||
| 8443 | if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | ||
| 8444 | 6504 | ||
| 8445 | cat >>confdefs.h <<_ACEOF | 6505 | cat >>confdefs.h <<_ACEOF |
| 8446 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 6506 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
| @@ -8448,116 +6508,15 @@ _ACEOF | |||
| 8448 | 6508 | ||
| 8449 | 6509 | ||
| 8450 | fi | 6510 | fi |
| 8451 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 | 6511 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default |
| 8452 | $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | ||
| 8453 | if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | ||
| 8454 | $as_echo_n "(cached) " >&6 | ||
| 8455 | else | ||
| 8456 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8457 | /* confdefs.h. */ | ||
| 8458 | _ACEOF | ||
| 8459 | cat confdefs.h >>conftest.$ac_ext | ||
| 8460 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8461 | /* end confdefs.h. */ | ||
| 8462 | $ac_includes_default | ||
| 8463 | #if HAVE_SYS_SOCKET_H | 6512 | #if HAVE_SYS_SOCKET_H |
| 8464 | #include <sys/socket.h> | 6513 | #include <sys/socket.h> |
| 8465 | #endif | 6514 | #endif |
| 8466 | #if HAVE_NET_IF_H | 6515 | #if HAVE_NET_IF_H |
| 8467 | #include <net/if.h> | 6516 | #include <net/if.h> |
| 8468 | #endif | 6517 | #endif |
| 8469 | 6518 | " | |
| 8470 | int | 6519 | if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : |
| 8471 | main () | ||
| 8472 | { | ||
| 8473 | static struct ifreq ac_aggr; | ||
| 8474 | if (ac_aggr.ifr_hwaddr) | ||
| 8475 | return 0; | ||
| 8476 | ; | ||
| 8477 | return 0; | ||
| 8478 | } | ||
| 8479 | _ACEOF | ||
| 8480 | rm -f conftest.$ac_objext | ||
| 8481 | if { (ac_try="$ac_compile" | ||
| 8482 | case "(($ac_try" in | ||
| 8483 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8484 | *) ac_try_echo=$ac_try;; | ||
| 8485 | esac | ||
| 8486 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8487 | $as_echo "$ac_try_echo") >&5 | ||
| 8488 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8489 | ac_status=$? | ||
| 8490 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8491 | rm -f conftest.er1 | ||
| 8492 | cat conftest.err >&5 | ||
| 8493 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8494 | (exit $ac_status); } && { | ||
| 8495 | test -z "$ac_c_werror_flag" || | ||
| 8496 | test ! -s conftest.err | ||
| 8497 | } && test -s conftest.$ac_objext; then | ||
| 8498 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8499 | else | ||
| 8500 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8501 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8502 | |||
| 8503 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8504 | /* confdefs.h. */ | ||
| 8505 | _ACEOF | ||
| 8506 | cat confdefs.h >>conftest.$ac_ext | ||
| 8507 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8508 | /* end confdefs.h. */ | ||
| 8509 | $ac_includes_default | ||
| 8510 | #if HAVE_SYS_SOCKET_H | ||
| 8511 | #include <sys/socket.h> | ||
| 8512 | #endif | ||
| 8513 | #if HAVE_NET_IF_H | ||
| 8514 | #include <net/if.h> | ||
| 8515 | #endif | ||
| 8516 | |||
| 8517 | int | ||
| 8518 | main () | ||
| 8519 | { | ||
| 8520 | static struct ifreq ac_aggr; | ||
| 8521 | if (sizeof ac_aggr.ifr_hwaddr) | ||
| 8522 | return 0; | ||
| 8523 | ; | ||
| 8524 | return 0; | ||
| 8525 | } | ||
| 8526 | _ACEOF | ||
| 8527 | rm -f conftest.$ac_objext | ||
| 8528 | if { (ac_try="$ac_compile" | ||
| 8529 | case "(($ac_try" in | ||
| 8530 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8531 | *) ac_try_echo=$ac_try;; | ||
| 8532 | esac | ||
| 8533 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8534 | $as_echo "$ac_try_echo") >&5 | ||
| 8535 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8536 | ac_status=$? | ||
| 8537 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8538 | rm -f conftest.er1 | ||
| 8539 | cat conftest.err >&5 | ||
| 8540 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8541 | (exit $ac_status); } && { | ||
| 8542 | test -z "$ac_c_werror_flag" || | ||
| 8543 | test ! -s conftest.err | ||
| 8544 | } && test -s conftest.$ac_objext; then | ||
| 8545 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8546 | else | ||
| 8547 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8548 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8549 | |||
| 8550 | ac_cv_member_struct_ifreq_ifr_hwaddr=no | ||
| 8551 | fi | ||
| 8552 | |||
| 8553 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8554 | fi | ||
| 8555 | |||
| 8556 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8557 | fi | ||
| 8558 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | ||
| 8559 | $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | ||
| 8560 | if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | ||
| 8561 | 6520 | ||
| 8562 | cat >>confdefs.h <<_ACEOF | 6521 | cat >>confdefs.h <<_ACEOF |
| 8563 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 6522 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
| @@ -8565,116 +6524,15 @@ _ACEOF | |||
| 8565 | 6524 | ||
| 8566 | 6525 | ||
| 8567 | fi | 6526 | fi |
| 8568 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 | 6527 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default |
| 8569 | $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | ||
| 8570 | if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | ||
| 8571 | $as_echo_n "(cached) " >&6 | ||
| 8572 | else | ||
| 8573 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8574 | /* confdefs.h. */ | ||
| 8575 | _ACEOF | ||
| 8576 | cat confdefs.h >>conftest.$ac_ext | ||
| 8577 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8578 | /* end confdefs.h. */ | ||
| 8579 | $ac_includes_default | ||
| 8580 | #if HAVE_SYS_SOCKET_H | ||
| 8581 | #include <sys/socket.h> | ||
| 8582 | #endif | ||
| 8583 | #if HAVE_NET_IF_H | ||
| 8584 | #include <net/if.h> | ||
| 8585 | #endif | ||
| 8586 | |||
| 8587 | int | ||
| 8588 | main () | ||
| 8589 | { | ||
| 8590 | static struct ifreq ac_aggr; | ||
| 8591 | if (ac_aggr.ifr_netmask) | ||
| 8592 | return 0; | ||
| 8593 | ; | ||
| 8594 | return 0; | ||
| 8595 | } | ||
| 8596 | _ACEOF | ||
| 8597 | rm -f conftest.$ac_objext | ||
| 8598 | if { (ac_try="$ac_compile" | ||
| 8599 | case "(($ac_try" in | ||
| 8600 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8601 | *) ac_try_echo=$ac_try;; | ||
| 8602 | esac | ||
| 8603 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8604 | $as_echo "$ac_try_echo") >&5 | ||
| 8605 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8606 | ac_status=$? | ||
| 8607 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8608 | rm -f conftest.er1 | ||
| 8609 | cat conftest.err >&5 | ||
| 8610 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8611 | (exit $ac_status); } && { | ||
| 8612 | test -z "$ac_c_werror_flag" || | ||
| 8613 | test ! -s conftest.err | ||
| 8614 | } && test -s conftest.$ac_objext; then | ||
| 8615 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8616 | else | ||
| 8617 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8618 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8619 | |||
| 8620 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8621 | /* confdefs.h. */ | ||
| 8622 | _ACEOF | ||
| 8623 | cat confdefs.h >>conftest.$ac_ext | ||
| 8624 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8625 | /* end confdefs.h. */ | ||
| 8626 | $ac_includes_default | ||
| 8627 | #if HAVE_SYS_SOCKET_H | 6528 | #if HAVE_SYS_SOCKET_H |
| 8628 | #include <sys/socket.h> | 6529 | #include <sys/socket.h> |
| 8629 | #endif | 6530 | #endif |
| 8630 | #if HAVE_NET_IF_H | 6531 | #if HAVE_NET_IF_H |
| 8631 | #include <net/if.h> | 6532 | #include <net/if.h> |
| 8632 | #endif | 6533 | #endif |
| 8633 | 6534 | " | |
| 8634 | int | 6535 | if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : |
| 8635 | main () | ||
| 8636 | { | ||
| 8637 | static struct ifreq ac_aggr; | ||
| 8638 | if (sizeof ac_aggr.ifr_netmask) | ||
| 8639 | return 0; | ||
| 8640 | ; | ||
| 8641 | return 0; | ||
| 8642 | } | ||
| 8643 | _ACEOF | ||
| 8644 | rm -f conftest.$ac_objext | ||
| 8645 | if { (ac_try="$ac_compile" | ||
| 8646 | case "(($ac_try" in | ||
| 8647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8648 | *) ac_try_echo=$ac_try;; | ||
| 8649 | esac | ||
| 8650 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8651 | $as_echo "$ac_try_echo") >&5 | ||
| 8652 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8653 | ac_status=$? | ||
| 8654 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8655 | rm -f conftest.er1 | ||
| 8656 | cat conftest.err >&5 | ||
| 8657 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8658 | (exit $ac_status); } && { | ||
| 8659 | test -z "$ac_c_werror_flag" || | ||
| 8660 | test ! -s conftest.err | ||
| 8661 | } && test -s conftest.$ac_objext; then | ||
| 8662 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8663 | else | ||
| 8664 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8665 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8666 | |||
| 8667 | ac_cv_member_struct_ifreq_ifr_netmask=no | ||
| 8668 | fi | ||
| 8669 | |||
| 8670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8671 | fi | ||
| 8672 | |||
| 8673 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8674 | fi | ||
| 8675 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | ||
| 8676 | $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | ||
| 8677 | if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | ||
| 8678 | 6536 | ||
| 8679 | cat >>confdefs.h <<_ACEOF | 6537 | cat >>confdefs.h <<_ACEOF |
| 8680 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 6538 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
| @@ -8682,116 +6540,15 @@ _ACEOF | |||
| 8682 | 6540 | ||
| 8683 | 6541 | ||
| 8684 | fi | 6542 | fi |
| 8685 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 | 6543 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default |
| 8686 | $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } | ||
| 8687 | if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | ||
| 8688 | $as_echo_n "(cached) " >&6 | ||
| 8689 | else | ||
| 8690 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8691 | /* confdefs.h. */ | ||
| 8692 | _ACEOF | ||
| 8693 | cat confdefs.h >>conftest.$ac_ext | ||
| 8694 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8695 | /* end confdefs.h. */ | ||
| 8696 | $ac_includes_default | ||
| 8697 | #if HAVE_SYS_SOCKET_H | 6544 | #if HAVE_SYS_SOCKET_H |
| 8698 | #include <sys/socket.h> | 6545 | #include <sys/socket.h> |
| 8699 | #endif | 6546 | #endif |
| 8700 | #if HAVE_NET_IF_H | 6547 | #if HAVE_NET_IF_H |
| 8701 | #include <net/if.h> | 6548 | #include <net/if.h> |
| 8702 | #endif | 6549 | #endif |
| 8703 | 6550 | " | |
| 8704 | int | 6551 | if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : |
| 8705 | main () | ||
| 8706 | { | ||
| 8707 | static struct ifreq ac_aggr; | ||
| 8708 | if (ac_aggr.ifr_broadaddr) | ||
| 8709 | return 0; | ||
| 8710 | ; | ||
| 8711 | return 0; | ||
| 8712 | } | ||
| 8713 | _ACEOF | ||
| 8714 | rm -f conftest.$ac_objext | ||
| 8715 | if { (ac_try="$ac_compile" | ||
| 8716 | case "(($ac_try" in | ||
| 8717 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8718 | *) ac_try_echo=$ac_try;; | ||
| 8719 | esac | ||
| 8720 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8721 | $as_echo "$ac_try_echo") >&5 | ||
| 8722 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8723 | ac_status=$? | ||
| 8724 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8725 | rm -f conftest.er1 | ||
| 8726 | cat conftest.err >&5 | ||
| 8727 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8728 | (exit $ac_status); } && { | ||
| 8729 | test -z "$ac_c_werror_flag" || | ||
| 8730 | test ! -s conftest.err | ||
| 8731 | } && test -s conftest.$ac_objext; then | ||
| 8732 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 8733 | else | ||
| 8734 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8735 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8736 | |||
| 8737 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8738 | /* confdefs.h. */ | ||
| 8739 | _ACEOF | ||
| 8740 | cat confdefs.h >>conftest.$ac_ext | ||
| 8741 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8742 | /* end confdefs.h. */ | ||
| 8743 | $ac_includes_default | ||
| 8744 | #if HAVE_SYS_SOCKET_H | ||
| 8745 | #include <sys/socket.h> | ||
| 8746 | #endif | ||
| 8747 | #if HAVE_NET_IF_H | ||
| 8748 | #include <net/if.h> | ||
| 8749 | #endif | ||
| 8750 | |||
| 8751 | int | ||
| 8752 | main () | ||
| 8753 | { | ||
| 8754 | static struct ifreq ac_aggr; | ||
| 8755 | if (sizeof ac_aggr.ifr_broadaddr) | ||
| 8756 | return 0; | ||
| 8757 | ; | ||
| 8758 | return 0; | ||
| 8759 | } | ||
| 8760 | _ACEOF | ||
| 8761 | rm -f conftest.$ac_objext | ||
| 8762 | if { (ac_try="$ac_compile" | ||
| 8763 | case "(($ac_try" in | ||
| 8764 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8765 | *) ac_try_echo=$ac_try;; | ||
| 8766 | esac | ||
| 8767 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8768 | $as_echo "$ac_try_echo") >&5 | ||
| 8769 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8770 | ac_status=$? | ||
| 8771 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8772 | rm -f conftest.er1 | ||
| 8773 | cat conftest.err >&5 | ||
| 8774 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8775 | (exit $ac_status); } && { | ||
| 8776 | test -z "$ac_c_werror_flag" || | ||
| 8777 | test ! -s conftest.err | ||
| 8778 | } && test -s conftest.$ac_objext; then | ||
| 8779 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 8780 | else | ||
| 8781 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8782 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8783 | |||
| 8784 | ac_cv_member_struct_ifreq_ifr_broadaddr=no | ||
| 8785 | fi | ||
| 8786 | |||
| 8787 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8788 | fi | ||
| 8789 | |||
| 8790 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8791 | fi | ||
| 8792 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | ||
| 8793 | $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | ||
| 8794 | if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | ||
| 8795 | 6552 | ||
| 8796 | cat >>confdefs.h <<_ACEOF | 6553 | cat >>confdefs.h <<_ACEOF |
| 8797 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 6554 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
| @@ -8799,116 +6556,15 @@ _ACEOF | |||
| 8799 | 6556 | ||
| 8800 | 6557 | ||
| 8801 | fi | 6558 | fi |
| 8802 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 | 6559 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default |
| 8803 | $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } | ||
| 8804 | if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | ||
| 8805 | $as_echo_n "(cached) " >&6 | ||
| 8806 | else | ||
| 8807 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8808 | /* confdefs.h. */ | ||
| 8809 | _ACEOF | ||
| 8810 | cat confdefs.h >>conftest.$ac_ext | ||
| 8811 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8812 | /* end confdefs.h. */ | ||
| 8813 | $ac_includes_default | ||
| 8814 | #if HAVE_SYS_SOCKET_H | 6560 | #if HAVE_SYS_SOCKET_H |
| 8815 | #include <sys/socket.h> | 6561 | #include <sys/socket.h> |
| 8816 | #endif | 6562 | #endif |
| 8817 | #if HAVE_NET_IF_H | 6563 | #if HAVE_NET_IF_H |
| 8818 | #include <net/if.h> | 6564 | #include <net/if.h> |
| 8819 | #endif | 6565 | #endif |
| 8820 | 6566 | " | |
| 8821 | int | 6567 | if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : |
| 8822 | main () | ||
| 8823 | { | ||
| 8824 | static struct ifreq ac_aggr; | ||
| 8825 | if (ac_aggr.ifr_addr) | ||
| 8826 | return 0; | ||
| 8827 | ; | ||
| 8828 | return 0; | ||
| 8829 | } | ||
| 8830 | _ACEOF | ||
| 8831 | rm -f conftest.$ac_objext | ||
| 8832 | if { (ac_try="$ac_compile" | ||
| 8833 | case "(($ac_try" in | ||
| 8834 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8835 | *) ac_try_echo=$ac_try;; | ||
| 8836 | esac | ||
| 8837 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8838 | $as_echo "$ac_try_echo") >&5 | ||
| 8839 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8840 | ac_status=$? | ||
| 8841 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8842 | rm -f conftest.er1 | ||
| 8843 | cat conftest.err >&5 | ||
| 8844 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8845 | (exit $ac_status); } && { | ||
| 8846 | test -z "$ac_c_werror_flag" || | ||
| 8847 | test ! -s conftest.err | ||
| 8848 | } && test -s conftest.$ac_objext; then | ||
| 8849 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 8850 | else | ||
| 8851 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8852 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8853 | |||
| 8854 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8855 | /* confdefs.h. */ | ||
| 8856 | _ACEOF | ||
| 8857 | cat confdefs.h >>conftest.$ac_ext | ||
| 8858 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8859 | /* end confdefs.h. */ | ||
| 8860 | $ac_includes_default | ||
| 8861 | #if HAVE_SYS_SOCKET_H | ||
| 8862 | #include <sys/socket.h> | ||
| 8863 | #endif | ||
| 8864 | #if HAVE_NET_IF_H | ||
| 8865 | #include <net/if.h> | ||
| 8866 | #endif | ||
| 8867 | |||
| 8868 | int | ||
| 8869 | main () | ||
| 8870 | { | ||
| 8871 | static struct ifreq ac_aggr; | ||
| 8872 | if (sizeof ac_aggr.ifr_addr) | ||
| 8873 | return 0; | ||
| 8874 | ; | ||
| 8875 | return 0; | ||
| 8876 | } | ||
| 8877 | _ACEOF | ||
| 8878 | rm -f conftest.$ac_objext | ||
| 8879 | if { (ac_try="$ac_compile" | ||
| 8880 | case "(($ac_try" in | ||
| 8881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8882 | *) ac_try_echo=$ac_try;; | ||
| 8883 | esac | ||
| 8884 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8885 | $as_echo "$ac_try_echo") >&5 | ||
| 8886 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8887 | ac_status=$? | ||
| 8888 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8889 | rm -f conftest.er1 | ||
| 8890 | cat conftest.err >&5 | ||
| 8891 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8892 | (exit $ac_status); } && { | ||
| 8893 | test -z "$ac_c_werror_flag" || | ||
| 8894 | test ! -s conftest.err | ||
| 8895 | } && test -s conftest.$ac_objext; then | ||
| 8896 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 8897 | else | ||
| 8898 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8899 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8900 | |||
| 8901 | ac_cv_member_struct_ifreq_ifr_addr=no | ||
| 8902 | fi | ||
| 8903 | |||
| 8904 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8905 | fi | ||
| 8906 | |||
| 8907 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8908 | fi | ||
| 8909 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | ||
| 8910 | $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | ||
| 8911 | if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | ||
| 8912 | 6568 | ||
| 8913 | cat >>confdefs.h <<_ACEOF | 6569 | cat >>confdefs.h <<_ACEOF |
| 8914 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 6570 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
| @@ -8919,36 +6575,28 @@ fi | |||
| 8919 | 6575 | ||
| 8920 | 6576 | ||
| 8921 | 6577 | ||
| 8922 | { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 | 6578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 |
| 8923 | $as_echo_n "checking for function prototypes... " >&6; } | 6579 | $as_echo_n "checking for function prototypes... " >&6; } |
| 8924 | if test "$ac_cv_prog_cc_c89" != no; then | 6580 | if test "$ac_cv_prog_cc_c89" != no; then |
| 8925 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 6581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 8926 | $as_echo "yes" >&6; } | 6582 | $as_echo "yes" >&6; } |
| 8927 | 6583 | ||
| 8928 | cat >>confdefs.h <<\_ACEOF | 6584 | $as_echo "#define PROTOTYPES 1" >>confdefs.h |
| 8929 | #define PROTOTYPES 1 | ||
| 8930 | _ACEOF | ||
| 8931 | 6585 | ||
| 8932 | 6586 | ||
| 8933 | cat >>confdefs.h <<\_ACEOF | 6587 | $as_echo "#define __PROTOTYPES 1" >>confdefs.h |
| 8934 | #define __PROTOTYPES 1 | ||
| 8935 | _ACEOF | ||
| 8936 | 6588 | ||
| 8937 | else | 6589 | else |
| 8938 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 6590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8939 | $as_echo "no" >&6; } | 6591 | $as_echo "no" >&6; } |
| 8940 | fi | 6592 | fi |
| 8941 | 6593 | ||
| 8942 | { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 | 6594 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 |
| 8943 | $as_echo_n "checking for working volatile... " >&6; } | 6595 | $as_echo_n "checking for working volatile... " >&6; } |
| 8944 | if test "${ac_cv_c_volatile+set}" = set; then | 6596 | if test "${ac_cv_c_volatile+set}" = set; then : |
| 8945 | $as_echo_n "(cached) " >&6 | 6597 | $as_echo_n "(cached) " >&6 |
| 8946 | else | 6598 | else |
| 8947 | cat >conftest.$ac_ext <<_ACEOF | 6599 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8948 | /* confdefs.h. */ | ||
| 8949 | _ACEOF | ||
| 8950 | cat confdefs.h >>conftest.$ac_ext | ||
| 8951 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8952 | /* end confdefs.h. */ | 6600 | /* end confdefs.h. */ |
| 8953 | 6601 | ||
| 8954 | int | 6602 | int |
| @@ -8962,54 +6610,27 @@ return !x && !y; | |||
| 8962 | return 0; | 6610 | return 0; |
| 8963 | } | 6611 | } |
| 8964 | _ACEOF | 6612 | _ACEOF |
| 8965 | rm -f conftest.$ac_objext | 6613 | if ac_fn_c_try_compile "$LINENO"; then : |
| 8966 | if { (ac_try="$ac_compile" | ||
| 8967 | case "(($ac_try" in | ||
| 8968 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8969 | *) ac_try_echo=$ac_try;; | ||
| 8970 | esac | ||
| 8971 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8972 | $as_echo "$ac_try_echo") >&5 | ||
| 8973 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8974 | ac_status=$? | ||
| 8975 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8976 | rm -f conftest.er1 | ||
| 8977 | cat conftest.err >&5 | ||
| 8978 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8979 | (exit $ac_status); } && { | ||
| 8980 | test -z "$ac_c_werror_flag" || | ||
| 8981 | test ! -s conftest.err | ||
| 8982 | } && test -s conftest.$ac_objext; then | ||
| 8983 | ac_cv_c_volatile=yes | 6614 | ac_cv_c_volatile=yes |
| 8984 | else | 6615 | else |
| 8985 | $as_echo "$as_me: failed program was:" >&5 | 6616 | ac_cv_c_volatile=no |
| 8986 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8987 | |||
| 8988 | ac_cv_c_volatile=no | ||
| 8989 | fi | 6617 | fi |
| 8990 | |||
| 8991 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6618 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8992 | fi | 6619 | fi |
| 8993 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 | 6620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 |
| 8994 | $as_echo "$ac_cv_c_volatile" >&6; } | 6621 | $as_echo "$ac_cv_c_volatile" >&6; } |
| 8995 | if test $ac_cv_c_volatile = no; then | 6622 | if test $ac_cv_c_volatile = no; then |
| 8996 | 6623 | ||
| 8997 | cat >>confdefs.h <<\_ACEOF | 6624 | $as_echo "#define volatile /**/" >>confdefs.h |
| 8998 | #define volatile /**/ | ||
| 8999 | _ACEOF | ||
| 9000 | 6625 | ||
| 9001 | fi | 6626 | fi |
| 9002 | 6627 | ||
| 9003 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 6628 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 9004 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 6629 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 9005 | if test "${ac_cv_c_const+set}" = set; then | 6630 | if test "${ac_cv_c_const+set}" = set; then : |
| 9006 | $as_echo_n "(cached) " >&6 | 6631 | $as_echo_n "(cached) " >&6 |
| 9007 | else | 6632 | else |
| 9008 | cat >conftest.$ac_ext <<_ACEOF | 6633 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9009 | /* confdefs.h. */ | ||
| 9010 | _ACEOF | ||
| 9011 | cat confdefs.h >>conftest.$ac_ext | ||
| 9012 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9013 | /* end confdefs.h. */ | 6634 | /* end confdefs.h. */ |
| 9014 | 6635 | ||
| 9015 | int | 6636 | int |
| @@ -9069,54 +6690,27 @@ main () | |||
| 9069 | return 0; | 6690 | return 0; |
| 9070 | } | 6691 | } |
| 9071 | _ACEOF | 6692 | _ACEOF |
| 9072 | rm -f conftest.$ac_objext | 6693 | if ac_fn_c_try_compile "$LINENO"; then : |
| 9073 | if { (ac_try="$ac_compile" | ||
| 9074 | case "(($ac_try" in | ||
| 9075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9076 | *) ac_try_echo=$ac_try;; | ||
| 9077 | esac | ||
| 9078 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9079 | $as_echo "$ac_try_echo") >&5 | ||
| 9080 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9081 | ac_status=$? | ||
| 9082 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9083 | rm -f conftest.er1 | ||
| 9084 | cat conftest.err >&5 | ||
| 9085 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9086 | (exit $ac_status); } && { | ||
| 9087 | test -z "$ac_c_werror_flag" || | ||
| 9088 | test ! -s conftest.err | ||
| 9089 | } && test -s conftest.$ac_objext; then | ||
| 9090 | ac_cv_c_const=yes | 6694 | ac_cv_c_const=yes |
| 9091 | else | 6695 | else |
| 9092 | $as_echo "$as_me: failed program was:" >&5 | 6696 | ac_cv_c_const=no |
| 9093 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9094 | |||
| 9095 | ac_cv_c_const=no | ||
| 9096 | fi | 6697 | fi |
| 9097 | |||
| 9098 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6698 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9099 | fi | 6699 | fi |
| 9100 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 6700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 9101 | $as_echo "$ac_cv_c_const" >&6; } | 6701 | $as_echo "$ac_cv_c_const" >&6; } |
| 9102 | if test $ac_cv_c_const = no; then | 6702 | if test $ac_cv_c_const = no; then |
| 9103 | 6703 | ||
| 9104 | cat >>confdefs.h <<\_ACEOF | 6704 | $as_echo "#define const /**/" >>confdefs.h |
| 9105 | #define const /**/ | ||
| 9106 | _ACEOF | ||
| 9107 | 6705 | ||
| 9108 | fi | 6706 | fi |
| 9109 | 6707 | ||
| 9110 | { $as_echo "$as_me:$LINENO: checking for void * support" >&5 | 6708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 |
| 9111 | $as_echo_n "checking for void * support... " >&6; } | 6709 | $as_echo_n "checking for void * support... " >&6; } |
| 9112 | if test "${emacs_cv_void_star+set}" = set; then | 6710 | if test "${emacs_cv_void_star+set}" = set; then : |
| 9113 | $as_echo_n "(cached) " >&6 | 6711 | $as_echo_n "(cached) " >&6 |
| 9114 | else | 6712 | else |
| 9115 | cat >conftest.$ac_ext <<_ACEOF | 6713 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9116 | /* confdefs.h. */ | ||
| 9117 | _ACEOF | ||
| 9118 | cat confdefs.h >>conftest.$ac_ext | ||
| 9119 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9120 | /* end confdefs.h. */ | 6714 | /* end confdefs.h. */ |
| 9121 | 6715 | ||
| 9122 | int | 6716 | int |
| @@ -9127,57 +6721,31 @@ void * foo; | |||
| 9127 | return 0; | 6721 | return 0; |
| 9128 | } | 6722 | } |
| 9129 | _ACEOF | 6723 | _ACEOF |
| 9130 | rm -f conftest.$ac_objext | 6724 | if ac_fn_c_try_compile "$LINENO"; then : |
| 9131 | if { (ac_try="$ac_compile" | ||
| 9132 | case "(($ac_try" in | ||
| 9133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9134 | *) ac_try_echo=$ac_try;; | ||
| 9135 | esac | ||
| 9136 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9137 | $as_echo "$ac_try_echo") >&5 | ||
| 9138 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9139 | ac_status=$? | ||
| 9140 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9141 | rm -f conftest.er1 | ||
| 9142 | cat conftest.err >&5 | ||
| 9143 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9144 | (exit $ac_status); } && { | ||
| 9145 | test -z "$ac_c_werror_flag" || | ||
| 9146 | test ! -s conftest.err | ||
| 9147 | } && test -s conftest.$ac_objext; then | ||
| 9148 | emacs_cv_void_star=yes | 6725 | emacs_cv_void_star=yes |
| 9149 | else | 6726 | else |
| 9150 | $as_echo "$as_me: failed program was:" >&5 | 6727 | emacs_cv_void_star=no |
| 9151 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9152 | |||
| 9153 | emacs_cv_void_star=no | ||
| 9154 | fi | 6728 | fi |
| 9155 | |||
| 9156 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6729 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9157 | fi | 6730 | fi |
| 9158 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 | 6731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 |
| 9159 | $as_echo "$emacs_cv_void_star" >&6; } | 6732 | $as_echo "$emacs_cv_void_star" >&6; } |
| 9160 | if test $emacs_cv_void_star = yes; then | 6733 | if test $emacs_cv_void_star = yes; then |
| 9161 | cat >>confdefs.h <<\_ACEOF | 6734 | $as_echo "#define POINTER_TYPE void" >>confdefs.h |
| 9162 | #define POINTER_TYPE void | ||
| 9163 | _ACEOF | ||
| 9164 | 6735 | ||
| 9165 | else | 6736 | else |
| 9166 | cat >>confdefs.h <<\_ACEOF | 6737 | $as_echo "#define POINTER_TYPE char" >>confdefs.h |
| 9167 | #define POINTER_TYPE char | ||
| 9168 | _ACEOF | ||
| 9169 | 6738 | ||
| 9170 | fi | 6739 | fi |
| 9171 | 6740 | ||
| 9172 | 6741 | ||
| 9173 | 6742 | ||
| 9174 | 6743 | ||
| 9175 | 6744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
| 9176 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 9177 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 6745 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 9178 | set x ${MAKE-make} | 6746 | set x ${MAKE-make} |
| 9179 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 6747 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 9180 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | 6748 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 9181 | $as_echo_n "(cached) " >&6 | 6749 | $as_echo_n "(cached) " >&6 |
| 9182 | else | 6750 | else |
| 9183 | cat >conftest.make <<\_ACEOF | 6751 | cat >conftest.make <<\_ACEOF |
| @@ -9195,18 +6763,18 @@ esac | |||
| 9195 | rm -f conftest.make | 6763 | rm -f conftest.make |
| 9196 | fi | 6764 | fi |
| 9197 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 6765 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 9198 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 6766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 9199 | $as_echo "yes" >&6; } | 6767 | $as_echo "yes" >&6; } |
| 9200 | SET_MAKE= | 6768 | SET_MAKE= |
| 9201 | else | 6769 | else |
| 9202 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 6770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9203 | $as_echo "no" >&6; } | 6771 | $as_echo "no" >&6; } |
| 9204 | SET_MAKE="MAKE=${MAKE-make}" | 6772 | SET_MAKE="MAKE=${MAKE-make}" |
| 9205 | fi | 6773 | fi |
| 9206 | 6774 | ||
| 9207 | 6775 | ||
| 9208 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 6776 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
| 9209 | { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 | 6777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 |
| 9210 | $as_echo_n "checking whether we are using GNU Make... " >&6; } | 6778 | $as_echo_n "checking whether we are using GNU Make... " >&6; } |
| 9211 | HAVE_GNU_MAKE=no | 6779 | HAVE_GNU_MAKE=no |
| 9212 | testval=`make --version 2>/dev/null | grep 'GNU Make'` | 6780 | testval=`make --version 2>/dev/null | grep 'GNU Make'` |
| @@ -9215,18 +6783,14 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; } | |||
| 9215 | else | 6783 | else |
| 9216 | ac_enable_autodepend=no | 6784 | ac_enable_autodepend=no |
| 9217 | fi | 6785 | fi |
| 9218 | { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 | 6786 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 |
| 9219 | $as_echo "$HAVE_GNU_MAKE" >&6; } | 6787 | $as_echo "$HAVE_GNU_MAKE" >&6; } |
| 9220 | if test $HAVE_GNU_MAKE = yes; then | 6788 | if test $HAVE_GNU_MAKE = yes; then |
| 9221 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 | 6789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 |
| 9222 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 6790 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
| 9223 | SAVE_CFLAGS="$CFLAGS" | 6791 | SAVE_CFLAGS="$CFLAGS" |
| 9224 | CFLAGS="$CFLAGS -MMD -MF deps.d" | 6792 | CFLAGS="$CFLAGS -MMD -MF deps.d" |
| 9225 | cat >conftest.$ac_ext <<_ACEOF | 6793 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9226 | /* confdefs.h. */ | ||
| 9227 | _ACEOF | ||
| 9228 | cat confdefs.h >>conftest.$ac_ext | ||
| 9229 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9230 | /* end confdefs.h. */ | 6794 | /* end confdefs.h. */ |
| 9231 | 6795 | ||
| 9232 | int | 6796 | int |
| @@ -9237,51 +6801,28 @@ main () | |||
| 9237 | return 0; | 6801 | return 0; |
| 9238 | } | 6802 | } |
| 9239 | _ACEOF | 6803 | _ACEOF |
| 9240 | rm -f conftest.$ac_objext | 6804 | if ac_fn_c_try_compile "$LINENO"; then : |
| 9241 | if { (ac_try="$ac_compile" | ||
| 9242 | case "(($ac_try" in | ||
| 9243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9244 | *) ac_try_echo=$ac_try;; | ||
| 9245 | esac | ||
| 9246 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9247 | $as_echo "$ac_try_echo") >&5 | ||
| 9248 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9249 | ac_status=$? | ||
| 9250 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9251 | rm -f conftest.er1 | ||
| 9252 | cat conftest.err >&5 | ||
| 9253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9254 | (exit $ac_status); } && { | ||
| 9255 | test -z "$ac_c_werror_flag" || | ||
| 9256 | test ! -s conftest.err | ||
| 9257 | } && test -s conftest.$ac_objext; then | ||
| 9258 | : | ||
| 9259 | else | ||
| 9260 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9261 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9262 | 6805 | ||
| 9263 | ac_enable_autodepend=no | 6806 | else |
| 6807 | ac_enable_autodepend=no | ||
| 9264 | fi | 6808 | fi |
| 9265 | |||
| 9266 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9267 | CFLAGS="$SAVE_CFLAGS" | 6810 | CFLAGS="$SAVE_CFLAGS" |
| 9268 | test -f deps.d || ac_enable_autodepend=no | 6811 | test -f deps.d || ac_enable_autodepend=no |
| 9269 | rm -rf deps.d | 6812 | rm -rf deps.d |
| 9270 | { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 | 6813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 |
| 9271 | $as_echo "$ac_enable_autodepend" >&6; } | 6814 | $as_echo "$ac_enable_autodepend" >&6; } |
| 9272 | fi | 6815 | fi |
| 9273 | if test $ac_enable_autodepend = yes; then | 6816 | if test $ac_enable_autodepend = yes; then |
| 9274 | 6817 | ||
| 9275 | cat >>confdefs.h <<\_ACEOF | 6818 | $as_echo "#define AUTO_DEPEND 1" >>confdefs.h |
| 9276 | #define AUTO_DEPEND 1 | ||
| 9277 | _ACEOF | ||
| 9278 | 6819 | ||
| 9279 | fi | 6820 | fi |
| 9280 | fi | 6821 | fi |
| 9281 | 6822 | ||
| 9282 | { $as_echo "$as_me:$LINENO: checking for long file names" >&5 | 6823 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 |
| 9283 | $as_echo_n "checking for long file names... " >&6; } | 6824 | $as_echo_n "checking for long file names... " >&6; } |
| 9284 | if test "${ac_cv_sys_long_file_names+set}" = set; then | 6825 | if test "${ac_cv_sys_long_file_names+set}" = set; then : |
| 9285 | $as_echo_n "(cached) " >&6 | 6826 | $as_echo_n "(cached) " >&6 |
| 9286 | else | 6827 | else |
| 9287 | ac_cv_sys_long_file_names=yes | 6828 | ac_cv_sys_long_file_names=yes |
| @@ -9311,25 +6852,23 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib | |||
| 9311 | test $ac_cv_sys_long_file_names = no && break | 6852 | test $ac_cv_sys_long_file_names = no && break |
| 9312 | done | 6853 | done |
| 9313 | fi | 6854 | fi |
| 9314 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 | 6855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 |
| 9315 | $as_echo "$ac_cv_sys_long_file_names" >&6; } | 6856 | $as_echo "$ac_cv_sys_long_file_names" >&6; } |
| 9316 | if test $ac_cv_sys_long_file_names = yes; then | 6857 | if test $ac_cv_sys_long_file_names = yes; then |
| 9317 | 6858 | ||
| 9318 | cat >>confdefs.h <<\_ACEOF | 6859 | $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h |
| 9319 | #define HAVE_LONG_FILE_NAMES 1 | ||
| 9320 | _ACEOF | ||
| 9321 | 6860 | ||
| 9322 | fi | 6861 | fi |
| 9323 | 6862 | ||
| 9324 | 6863 | ||
| 9325 | #### Choose a window system. | 6864 | #### Choose a window system. |
| 9326 | 6865 | ||
| 9327 | { $as_echo "$as_me:$LINENO: checking for X" >&5 | 6866 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
| 9328 | $as_echo_n "checking for X... " >&6; } | 6867 | $as_echo_n "checking for X... " >&6; } |
| 9329 | 6868 | ||
| 9330 | 6869 | ||
| 9331 | # Check whether --with-x was given. | 6870 | # Check whether --with-x was given. |
| 9332 | if test "${with_x+set}" = set; then | 6871 | if test "${with_x+set}" = set; then : |
| 9333 | withval=$with_x; | 6872 | withval=$with_x; |
| 9334 | fi | 6873 | fi |
| 9335 | 6874 | ||
| @@ -9339,10 +6878,8 @@ if test "x$with_x" = xno; then | |||
| 9339 | have_x=disabled | 6878 | have_x=disabled |
| 9340 | else | 6879 | else |
| 9341 | case $x_includes,$x_libraries in #( | 6880 | case $x_includes,$x_libraries in #( |
| 9342 | *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 | 6881 | *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( |
| 9343 | $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} | 6882 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
| 9344 | { (exit 1); exit 1; }; };; #( | ||
| 9345 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | ||
| 9346 | $as_echo_n "(cached) " >&6 | 6883 | $as_echo_n "(cached) " >&6 |
| 9347 | else | 6884 | else |
| 9348 | # One or both of the vars are not set, and there is no cached value. | 6885 | # One or both of the vars are not set, and there is no cached value. |
| @@ -9378,7 +6915,7 @@ _ACEOF | |||
| 9378 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 6915 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 9379 | esac | 6916 | esac |
| 9380 | case $ac_im_usrlibdir in | 6917 | case $ac_im_usrlibdir in |
| 9381 | /usr/lib | /lib) ;; | 6918 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
| 9382 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 6919 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
| 9383 | esac | 6920 | esac |
| 9384 | fi | 6921 | fi |
| @@ -9390,21 +6927,25 @@ fi | |||
| 9390 | # Check X11 before X11Rn because it is often a symlink to the current release. | 6927 | # Check X11 before X11Rn because it is often a symlink to the current release. |
| 9391 | ac_x_header_dirs=' | 6928 | ac_x_header_dirs=' |
| 9392 | /usr/X11/include | 6929 | /usr/X11/include |
| 6930 | /usr/X11R7/include | ||
| 9393 | /usr/X11R6/include | 6931 | /usr/X11R6/include |
| 9394 | /usr/X11R5/include | 6932 | /usr/X11R5/include |
| 9395 | /usr/X11R4/include | 6933 | /usr/X11R4/include |
| 9396 | 6934 | ||
| 9397 | /usr/include/X11 | 6935 | /usr/include/X11 |
| 6936 | /usr/include/X11R7 | ||
| 9398 | /usr/include/X11R6 | 6937 | /usr/include/X11R6 |
| 9399 | /usr/include/X11R5 | 6938 | /usr/include/X11R5 |
| 9400 | /usr/include/X11R4 | 6939 | /usr/include/X11R4 |
| 9401 | 6940 | ||
| 9402 | /usr/local/X11/include | 6941 | /usr/local/X11/include |
| 6942 | /usr/local/X11R7/include | ||
| 9403 | /usr/local/X11R6/include | 6943 | /usr/local/X11R6/include |
| 9404 | /usr/local/X11R5/include | 6944 | /usr/local/X11R5/include |
| 9405 | /usr/local/X11R4/include | 6945 | /usr/local/X11R4/include |
| 9406 | 6946 | ||
| 9407 | /usr/local/include/X11 | 6947 | /usr/local/include/X11 |
| 6948 | /usr/local/include/X11R7 | ||
| 9408 | /usr/local/include/X11R6 | 6949 | /usr/local/include/X11R6 |
| 9409 | /usr/local/include/X11R5 | 6950 | /usr/local/include/X11R5 |
| 9410 | /usr/local/include/X11R4 | 6951 | /usr/local/include/X11R4 |
| @@ -9426,37 +6967,14 @@ ac_x_header_dirs=' | |||
| 9426 | if test "$ac_x_includes" = no; then | 6967 | if test "$ac_x_includes" = no; then |
| 9427 | # Guess where to find include files, by looking for Xlib.h. | 6968 | # Guess where to find include files, by looking for Xlib.h. |
| 9428 | # First, try using that file with no special directory specified. | 6969 | # First, try using that file with no special directory specified. |
| 9429 | cat >conftest.$ac_ext <<_ACEOF | 6970 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9430 | /* confdefs.h. */ | ||
| 9431 | _ACEOF | ||
| 9432 | cat confdefs.h >>conftest.$ac_ext | ||
| 9433 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9434 | /* end confdefs.h. */ | 6971 | /* end confdefs.h. */ |
| 9435 | #include <X11/Xlib.h> | 6972 | #include <X11/Xlib.h> |
| 9436 | _ACEOF | 6973 | _ACEOF |
| 9437 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 6974 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 9438 | case "(($ac_try" in | ||
| 9439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9440 | *) ac_try_echo=$ac_try;; | ||
| 9441 | esac | ||
| 9442 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9443 | $as_echo "$ac_try_echo") >&5 | ||
| 9444 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9445 | ac_status=$? | ||
| 9446 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9447 | rm -f conftest.er1 | ||
| 9448 | cat conftest.err >&5 | ||
| 9449 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9450 | (exit $ac_status); } >/dev/null && { | ||
| 9451 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9452 | test ! -s conftest.err | ||
| 9453 | }; then | ||
| 9454 | # We can compile using X headers with no special include directory. | 6975 | # We can compile using X headers with no special include directory. |
| 9455 | ac_x_includes= | 6976 | ac_x_includes= |
| 9456 | else | 6977 | else |
| 9457 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9458 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9459 | |||
| 9460 | for ac_dir in $ac_x_header_dirs; do | 6978 | for ac_dir in $ac_x_header_dirs; do |
| 9461 | if test -r "$ac_dir/X11/Xlib.h"; then | 6979 | if test -r "$ac_dir/X11/Xlib.h"; then |
| 9462 | ac_x_includes=$ac_dir | 6980 | ac_x_includes=$ac_dir |
| @@ -9464,7 +6982,6 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 9464 | fi | 6982 | fi |
| 9465 | done | 6983 | done |
| 9466 | fi | 6984 | fi |
| 9467 | |||
| 9468 | rm -f conftest.err conftest.$ac_ext | 6985 | rm -f conftest.err conftest.$ac_ext |
| 9469 | fi # $ac_x_includes = no | 6986 | fi # $ac_x_includes = no |
| 9470 | 6987 | ||
| @@ -9474,11 +6991,7 @@ if test "$ac_x_libraries" = no; then | |||
| 9474 | # Don't add to $LIBS permanently. | 6991 | # Don't add to $LIBS permanently. |
| 9475 | ac_save_LIBS=$LIBS | 6992 | ac_save_LIBS=$LIBS |
| 9476 | LIBS="-lX11 $LIBS" | 6993 | LIBS="-lX11 $LIBS" |
| 9477 | cat >conftest.$ac_ext <<_ACEOF | 6994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9478 | /* confdefs.h. */ | ||
| 9479 | _ACEOF | ||
| 9480 | cat confdefs.h >>conftest.$ac_ext | ||
| 9481 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9482 | /* end confdefs.h. */ | 6995 | /* end confdefs.h. */ |
| 9483 | #include <X11/Xlib.h> | 6996 | #include <X11/Xlib.h> |
| 9484 | int | 6997 | int |
| @@ -9489,35 +7002,12 @@ XrmInitialize () | |||
| 9489 | return 0; | 7002 | return 0; |
| 9490 | } | 7003 | } |
| 9491 | _ACEOF | 7004 | _ACEOF |
| 9492 | rm -f conftest.$ac_objext conftest$ac_exeext | 7005 | if ac_fn_c_try_link "$LINENO"; then : |
| 9493 | if { (ac_try="$ac_link" | ||
| 9494 | case "(($ac_try" in | ||
| 9495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9496 | *) ac_try_echo=$ac_try;; | ||
| 9497 | esac | ||
| 9498 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9499 | $as_echo "$ac_try_echo") >&5 | ||
| 9500 | (eval "$ac_link") 2>conftest.er1 | ||
| 9501 | ac_status=$? | ||
| 9502 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9503 | rm -f conftest.er1 | ||
| 9504 | cat conftest.err >&5 | ||
| 9505 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9506 | (exit $ac_status); } && { | ||
| 9507 | test -z "$ac_c_werror_flag" || | ||
| 9508 | test ! -s conftest.err | ||
| 9509 | } && test -s conftest$ac_exeext && { | ||
| 9510 | test "$cross_compiling" = yes || | ||
| 9511 | $as_test_x conftest$ac_exeext | ||
| 9512 | }; then | ||
| 9513 | LIBS=$ac_save_LIBS | 7006 | LIBS=$ac_save_LIBS |
| 9514 | # We can link X programs with no special library path. | 7007 | # We can link X programs with no special library path. |
| 9515 | ac_x_libraries= | 7008 | ac_x_libraries= |
| 9516 | else | 7009 | else |
| 9517 | $as_echo "$as_me: failed program was:" >&5 | 7010 | LIBS=$ac_save_LIBS |
| 9518 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9519 | |||
| 9520 | LIBS=$ac_save_LIBS | ||
| 9521 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 7011 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
| 9522 | do | 7012 | do |
| 9523 | # Don't even attempt the hair of trying to link an X program! | 7013 | # Don't even attempt the hair of trying to link an X program! |
| @@ -9529,10 +7019,8 @@ do | |||
| 9529 | done | 7019 | done |
| 9530 | done | 7020 | done |
| 9531 | fi | 7021 | fi |
| 9532 | 7022 | rm -f core conftest.err conftest.$ac_objext \ | |
| 9533 | rm -rf conftest.dSYM | 7023 | conftest$ac_exeext conftest.$ac_ext |
| 9534 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9535 | conftest$ac_exeext conftest.$ac_ext | ||
| 9536 | fi # $ac_x_libraries = no | 7024 | fi # $ac_x_libraries = no |
| 9537 | 7025 | ||
| 9538 | case $ac_x_includes,$ac_x_libraries in #( | 7026 | case $ac_x_includes,$ac_x_libraries in #( |
| @@ -9553,7 +7041,7 @@ fi | |||
| 9553 | fi # $with_x != no | 7041 | fi # $with_x != no |
| 9554 | 7042 | ||
| 9555 | if test "$have_x" != yes; then | 7043 | if test "$have_x" != yes; then |
| 9556 | { $as_echo "$as_me:$LINENO: result: $have_x" >&5 | 7044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 |
| 9557 | $as_echo "$have_x" >&6; } | 7045 | $as_echo "$have_x" >&6; } |
| 9558 | no_x=yes | 7046 | no_x=yes |
| 9559 | else | 7047 | else |
| @@ -9564,7 +7052,7 @@ else | |||
| 9564 | ac_cv_have_x="have_x=yes\ | 7052 | ac_cv_have_x="have_x=yes\ |
| 9565 | ac_x_includes='$x_includes'\ | 7053 | ac_x_includes='$x_includes'\ |
| 9566 | ac_x_libraries='$x_libraries'" | 7054 | ac_x_libraries='$x_libraries'" |
| 9567 | { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 7055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 |
| 9568 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 7056 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
| 9569 | fi | 7057 | fi |
| 9570 | 7058 | ||
| @@ -9660,150 +7148,17 @@ if test "${with_ns}" != no; then | |||
| 9660 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 7148 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
| 9661 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 7149 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
| 9662 | fi | 7150 | fi |
| 9663 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | 7151 | ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
| 9664 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | 7152 | if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
| 9665 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9666 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9667 | $as_echo_n "(cached) " >&6 | ||
| 9668 | fi | ||
| 9669 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9670 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9671 | else | ||
| 9672 | # Is the header compilable? | ||
| 9673 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 | ||
| 9674 | $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } | ||
| 9675 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9676 | /* confdefs.h. */ | ||
| 9677 | _ACEOF | ||
| 9678 | cat confdefs.h >>conftest.$ac_ext | ||
| 9679 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9680 | /* end confdefs.h. */ | ||
| 9681 | $ac_includes_default | ||
| 9682 | #include <AppKit/AppKit.h> | ||
| 9683 | _ACEOF | ||
| 9684 | rm -f conftest.$ac_objext | ||
| 9685 | if { (ac_try="$ac_compile" | ||
| 9686 | case "(($ac_try" in | ||
| 9687 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9688 | *) ac_try_echo=$ac_try;; | ||
| 9689 | esac | ||
| 9690 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9691 | $as_echo "$ac_try_echo") >&5 | ||
| 9692 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9693 | ac_status=$? | ||
| 9694 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9695 | rm -f conftest.er1 | ||
| 9696 | cat conftest.err >&5 | ||
| 9697 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9698 | (exit $ac_status); } && { | ||
| 9699 | test -z "$ac_c_werror_flag" || | ||
| 9700 | test ! -s conftest.err | ||
| 9701 | } && test -s conftest.$ac_objext; then | ||
| 9702 | ac_header_compiler=yes | ||
| 9703 | else | ||
| 9704 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9705 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9706 | |||
| 9707 | ac_header_compiler=no | ||
| 9708 | fi | ||
| 9709 | |||
| 9710 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9711 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 9712 | $as_echo "$ac_header_compiler" >&6; } | ||
| 9713 | |||
| 9714 | # Is the header present? | ||
| 9715 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 | ||
| 9716 | $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } | ||
| 9717 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9718 | /* confdefs.h. */ | ||
| 9719 | _ACEOF | ||
| 9720 | cat confdefs.h >>conftest.$ac_ext | ||
| 9721 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9722 | /* end confdefs.h. */ | ||
| 9723 | #include <AppKit/AppKit.h> | ||
| 9724 | _ACEOF | ||
| 9725 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 9726 | case "(($ac_try" in | ||
| 9727 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9728 | *) ac_try_echo=$ac_try;; | ||
| 9729 | esac | ||
| 9730 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9731 | $as_echo "$ac_try_echo") >&5 | ||
| 9732 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9733 | ac_status=$? | ||
| 9734 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9735 | rm -f conftest.er1 | ||
| 9736 | cat conftest.err >&5 | ||
| 9737 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9738 | (exit $ac_status); } >/dev/null && { | ||
| 9739 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9740 | test ! -s conftest.err | ||
| 9741 | }; then | ||
| 9742 | ac_header_preproc=yes | ||
| 9743 | else | ||
| 9744 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9745 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9746 | |||
| 9747 | ac_header_preproc=no | ||
| 9748 | fi | ||
| 9749 | |||
| 9750 | rm -f conftest.err conftest.$ac_ext | ||
| 9751 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 9752 | $as_echo "$ac_header_preproc" >&6; } | ||
| 9753 | |||
| 9754 | # So? What about this header? | ||
| 9755 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 9756 | yes:no: ) | ||
| 9757 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 9758 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 9759 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 | ||
| 9760 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} | ||
| 9761 | ac_header_preproc=yes | ||
| 9762 | ;; | ||
| 9763 | no:yes:* ) | ||
| 9764 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 | ||
| 9765 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} | ||
| 9766 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 | ||
| 9767 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} | ||
| 9768 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 | ||
| 9769 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} | ||
| 9770 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 9771 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 9772 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 | ||
| 9773 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} | ||
| 9774 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 | ||
| 9775 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} | ||
| 9776 | |||
| 9777 | ;; | ||
| 9778 | esac | ||
| 9779 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | ||
| 9780 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9781 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9782 | $as_echo_n "(cached) " >&6 | ||
| 9783 | else | ||
| 9784 | ac_cv_header_AppKit_AppKit_h=$ac_header_preproc | ||
| 9785 | fi | ||
| 9786 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9787 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9788 | |||
| 9789 | fi | ||
| 9790 | if test $ac_cv_header_AppKit_AppKit_h = yes; then | ||
| 9791 | HAVE_NS=yes | 7153 | HAVE_NS=yes |
| 9792 | else | 7154 | else |
| 9793 | { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include | 7155 | as_fn_error "\`--with-ns' was specified, but the include |
| 9794 | files are missing or cannot be compiled." >&5 | 7156 | files are missing or cannot be compiled." "$LINENO" 5 |
| 9795 | $as_echo "$as_me: error: \`--with-ns' was specified, but the include | ||
| 9796 | files are missing or cannot be compiled." >&2;} | ||
| 9797 | { (exit 1); exit 1; }; } | ||
| 9798 | fi | 7157 | fi |
| 9799 | 7158 | ||
| 9800 | 7159 | ||
| 9801 | NS_HAVE_NSINTEGER=yes | 7160 | NS_HAVE_NSINTEGER=yes |
| 9802 | cat >conftest.$ac_ext <<_ACEOF | 7161 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9803 | /* confdefs.h. */ | ||
| 9804 | _ACEOF | ||
| 9805 | cat confdefs.h >>conftest.$ac_ext | ||
| 9806 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9807 | /* end confdefs.h. */ | 7162 | /* end confdefs.h. */ |
| 9808 | #include <Foundation/NSObjCRuntime.h> | 7163 | #include <Foundation/NSObjCRuntime.h> |
| 9809 | int | 7164 | int |
| @@ -9814,32 +7169,11 @@ NSInteger i; | |||
| 9814 | return 0; | 7169 | return 0; |
| 9815 | } | 7170 | } |
| 9816 | _ACEOF | 7171 | _ACEOF |
| 9817 | rm -f conftest.$ac_objext | 7172 | if ac_fn_c_try_compile "$LINENO"; then : |
| 9818 | if { (ac_try="$ac_compile" | ||
| 9819 | case "(($ac_try" in | ||
| 9820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9821 | *) ac_try_echo=$ac_try;; | ||
| 9822 | esac | ||
| 9823 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9824 | $as_echo "$ac_try_echo") >&5 | ||
| 9825 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9826 | ac_status=$? | ||
| 9827 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9828 | rm -f conftest.er1 | ||
| 9829 | cat conftest.err >&5 | ||
| 9830 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9831 | (exit $ac_status); } && { | ||
| 9832 | test -z "$ac_c_werror_flag" || | ||
| 9833 | test ! -s conftest.err | ||
| 9834 | } && test -s conftest.$ac_objext; then | ||
| 9835 | ns_have_nsinteger=yes | 7173 | ns_have_nsinteger=yes |
| 9836 | else | 7174 | else |
| 9837 | $as_echo "$as_me: failed program was:" >&5 | 7175 | ns_have_nsinteger=no |
| 9838 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9839 | |||
| 9840 | ns_have_nsinteger=no | ||
| 9841 | fi | 7176 | fi |
| 9842 | |||
| 9843 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9844 | if test $ns_have_nsinteger = no; then | 7178 | if test $ns_have_nsinteger = no; then |
| 9845 | NS_HAVE_NSINTEGER=no | 7179 | NS_HAVE_NSINTEGER=no |
| @@ -9881,9 +7215,9 @@ esac | |||
| 9881 | if test "$window_system" = none && test "X$with_x" != "Xno"; then | 7215 | if test "$window_system" = none && test "X$with_x" != "Xno"; then |
| 9882 | # Extract the first word of "X", so it can be a program name with args. | 7216 | # Extract the first word of "X", so it can be a program name with args. |
| 9883 | set dummy X; ac_word=$2 | 7217 | set dummy X; ac_word=$2 |
| 9884 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 7218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9885 | $as_echo_n "checking for $ac_word... " >&6; } | 7219 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9886 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then | 7220 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : |
| 9887 | $as_echo_n "(cached) " >&6 | 7221 | $as_echo_n "(cached) " >&6 |
| 9888 | else | 7222 | else |
| 9889 | if test -n "$HAVE_XSERVER"; then | 7223 | if test -n "$HAVE_XSERVER"; then |
| @@ -9894,14 +7228,14 @@ for as_dir in $PATH | |||
| 9894 | do | 7228 | do |
| 9895 | IFS=$as_save_IFS | 7229 | IFS=$as_save_IFS |
| 9896 | test -z "$as_dir" && as_dir=. | 7230 | test -z "$as_dir" && as_dir=. |
| 9897 | for ac_exec_ext in '' $ac_executable_extensions; do | 7231 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9898 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7232 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9899 | ac_cv_prog_HAVE_XSERVER="true" | 7233 | ac_cv_prog_HAVE_XSERVER="true" |
| 9900 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7234 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9901 | break 2 | 7235 | break 2 |
| 9902 | fi | 7236 | fi |
| 9903 | done | 7237 | done |
| 9904 | done | 7238 | done |
| 9905 | IFS=$as_save_IFS | 7239 | IFS=$as_save_IFS |
| 9906 | 7240 | ||
| 9907 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 7241 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
| @@ -9909,10 +7243,10 @@ fi | |||
| 9909 | fi | 7243 | fi |
| 9910 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 7244 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
| 9911 | if test -n "$HAVE_XSERVER"; then | 7245 | if test -n "$HAVE_XSERVER"; then |
| 9912 | { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 | 7246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 |
| 9913 | $as_echo "$HAVE_XSERVER" >&6; } | 7247 | $as_echo "$HAVE_XSERVER" >&6; } |
| 9914 | else | 7248 | else |
| 9915 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 7249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9916 | $as_echo "no" >&6; } | 7250 | $as_echo "no" >&6; } |
| 9917 | fi | 7251 | fi |
| 9918 | 7252 | ||
| @@ -9920,23 +7254,14 @@ fi | |||
| 9920 | if test "$HAVE_XSERVER" = true || | 7254 | if test "$HAVE_XSERVER" = true || |
| 9921 | test -n "$DISPLAY" || | 7255 | test -n "$DISPLAY" || |
| 9922 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7256 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
| 9923 | { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries | 7257 | as_fn_error "You seem to be running X, but no X development libraries |
| 9924 | were found. You should install the relevant development files for X | 7258 | were found. You should install the relevant development files for X |
| 9925 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7259 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
| 9926 | sure you have development files for image handling, i.e. | 7260 | sure you have development files for image handling, i.e. |
| 9927 | tiff, gif, jpeg, png and xpm. | 7261 | tiff, gif, jpeg, png and xpm. |
| 9928 | If you are sure you want Emacs compiled without X window support, pass | 7262 | If you are sure you want Emacs compiled without X window support, pass |
| 9929 | --without-x | 7263 | --without-x |
| 9930 | to configure." >&5 | 7264 | to configure." "$LINENO" 5 |
| 9931 | $as_echo "$as_me: error: You seem to be running X, but no X development libraries | ||
| 9932 | were found. You should install the relevant development files for X | ||
| 9933 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | ||
| 9934 | sure you have development files for image handling, i.e. | ||
| 9935 | tiff, gif, jpeg, png and xpm. | ||
| 9936 | If you are sure you want Emacs compiled without X window support, pass | ||
| 9937 | --without-x | ||
| 9938 | to configure." >&2;} | ||
| 9939 | { (exit 1); exit 1; }; } | ||
| 9940 | fi | 7265 | fi |
| 9941 | fi | 7266 | fi |
| 9942 | 7267 | ||
| @@ -9950,198 +7275,26 @@ esac | |||
| 9950 | # Assume not, until told otherwise. | 7275 | # Assume not, until told otherwise. |
| 9951 | GNU_MALLOC=yes | 7276 | GNU_MALLOC=yes |
| 9952 | doug_lea_malloc=yes | 7277 | doug_lea_malloc=yes |
| 9953 | { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 | 7278 | ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" |
| 9954 | $as_echo_n "checking for malloc_get_state... " >&6; } | 7279 | if test "x$ac_cv_func_malloc_get_state" = x""yes; then : |
| 9955 | if test "${ac_cv_func_malloc_get_state+set}" = set; then | ||
| 9956 | $as_echo_n "(cached) " >&6 | ||
| 9957 | else | ||
| 9958 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9959 | /* confdefs.h. */ | ||
| 9960 | _ACEOF | ||
| 9961 | cat confdefs.h >>conftest.$ac_ext | ||
| 9962 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9963 | /* end confdefs.h. */ | ||
| 9964 | /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state. | ||
| 9965 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 9966 | #define malloc_get_state innocuous_malloc_get_state | ||
| 9967 | |||
| 9968 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 9969 | which can conflict with char malloc_get_state (); below. | ||
| 9970 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 9971 | <limits.h> exists even on freestanding compilers. */ | ||
| 9972 | |||
| 9973 | #ifdef __STDC__ | ||
| 9974 | # include <limits.h> | ||
| 9975 | #else | ||
| 9976 | # include <assert.h> | ||
| 9977 | #endif | ||
| 9978 | |||
| 9979 | #undef malloc_get_state | ||
| 9980 | |||
| 9981 | /* Override any GCC internal prototype to avoid an error. | ||
| 9982 | Use char because int might match the return type of a GCC | ||
| 9983 | builtin and then its argument prototype would still apply. */ | ||
| 9984 | #ifdef __cplusplus | ||
| 9985 | extern "C" | ||
| 9986 | #endif | ||
| 9987 | char malloc_get_state (); | ||
| 9988 | /* The GNU C library defines this for functions which it implements | ||
| 9989 | to always fail with ENOSYS. Some functions are actually named | ||
| 9990 | something starting with __ and the normal name is an alias. */ | ||
| 9991 | #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | ||
| 9992 | choke me | ||
| 9993 | #endif | ||
| 9994 | 7280 | ||
| 9995 | int | ||
| 9996 | main () | ||
| 9997 | { | ||
| 9998 | return malloc_get_state (); | ||
| 9999 | ; | ||
| 10000 | return 0; | ||
| 10001 | } | ||
| 10002 | _ACEOF | ||
| 10003 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10004 | if { (ac_try="$ac_link" | ||
| 10005 | case "(($ac_try" in | ||
| 10006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10007 | *) ac_try_echo=$ac_try;; | ||
| 10008 | esac | ||
| 10009 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10010 | $as_echo "$ac_try_echo") >&5 | ||
| 10011 | (eval "$ac_link") 2>conftest.er1 | ||
| 10012 | ac_status=$? | ||
| 10013 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10014 | rm -f conftest.er1 | ||
| 10015 | cat conftest.err >&5 | ||
| 10016 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10017 | (exit $ac_status); } && { | ||
| 10018 | test -z "$ac_c_werror_flag" || | ||
| 10019 | test ! -s conftest.err | ||
| 10020 | } && test -s conftest$ac_exeext && { | ||
| 10021 | test "$cross_compiling" = yes || | ||
| 10022 | $as_test_x conftest$ac_exeext | ||
| 10023 | }; then | ||
| 10024 | ac_cv_func_malloc_get_state=yes | ||
| 10025 | else | ||
| 10026 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10027 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10028 | |||
| 10029 | ac_cv_func_malloc_get_state=no | ||
| 10030 | fi | ||
| 10031 | |||
| 10032 | rm -rf conftest.dSYM | ||
| 10033 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10034 | conftest$ac_exeext conftest.$ac_ext | ||
| 10035 | fi | ||
| 10036 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | ||
| 10037 | $as_echo "$ac_cv_func_malloc_get_state" >&6; } | ||
| 10038 | if test $ac_cv_func_malloc_get_state = yes; then | ||
| 10039 | : | ||
| 10040 | else | 7281 | else |
| 10041 | doug_lea_malloc=no | 7282 | doug_lea_malloc=no |
| 10042 | fi | 7283 | fi |
| 10043 | 7284 | ||
| 10044 | { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 | 7285 | ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" |
| 10045 | $as_echo_n "checking for malloc_set_state... " >&6; } | 7286 | if test "x$ac_cv_func_malloc_set_state" = x""yes; then : |
| 10046 | if test "${ac_cv_func_malloc_set_state+set}" = set; then | ||
| 10047 | $as_echo_n "(cached) " >&6 | ||
| 10048 | else | ||
| 10049 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10050 | /* confdefs.h. */ | ||
| 10051 | _ACEOF | ||
| 10052 | cat confdefs.h >>conftest.$ac_ext | ||
| 10053 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10054 | /* end confdefs.h. */ | ||
| 10055 | /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state. | ||
| 10056 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10057 | #define malloc_set_state innocuous_malloc_set_state | ||
| 10058 | 7287 | ||
| 10059 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10060 | which can conflict with char malloc_set_state (); below. | ||
| 10061 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10062 | <limits.h> exists even on freestanding compilers. */ | ||
| 10063 | |||
| 10064 | #ifdef __STDC__ | ||
| 10065 | # include <limits.h> | ||
| 10066 | #else | ||
| 10067 | # include <assert.h> | ||
| 10068 | #endif | ||
| 10069 | |||
| 10070 | #undef malloc_set_state | ||
| 10071 | |||
| 10072 | /* Override any GCC internal prototype to avoid an error. | ||
| 10073 | Use char because int might match the return type of a GCC | ||
| 10074 | builtin and then its argument prototype would still apply. */ | ||
| 10075 | #ifdef __cplusplus | ||
| 10076 | extern "C" | ||
| 10077 | #endif | ||
| 10078 | char malloc_set_state (); | ||
| 10079 | /* The GNU C library defines this for functions which it implements | ||
| 10080 | to always fail with ENOSYS. Some functions are actually named | ||
| 10081 | something starting with __ and the normal name is an alias. */ | ||
| 10082 | #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | ||
| 10083 | choke me | ||
| 10084 | #endif | ||
| 10085 | |||
| 10086 | int | ||
| 10087 | main () | ||
| 10088 | { | ||
| 10089 | return malloc_set_state (); | ||
| 10090 | ; | ||
| 10091 | return 0; | ||
| 10092 | } | ||
| 10093 | _ACEOF | ||
| 10094 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10095 | if { (ac_try="$ac_link" | ||
| 10096 | case "(($ac_try" in | ||
| 10097 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10098 | *) ac_try_echo=$ac_try;; | ||
| 10099 | esac | ||
| 10100 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10101 | $as_echo "$ac_try_echo") >&5 | ||
| 10102 | (eval "$ac_link") 2>conftest.er1 | ||
| 10103 | ac_status=$? | ||
| 10104 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10105 | rm -f conftest.er1 | ||
| 10106 | cat conftest.err >&5 | ||
| 10107 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10108 | (exit $ac_status); } && { | ||
| 10109 | test -z "$ac_c_werror_flag" || | ||
| 10110 | test ! -s conftest.err | ||
| 10111 | } && test -s conftest$ac_exeext && { | ||
| 10112 | test "$cross_compiling" = yes || | ||
| 10113 | $as_test_x conftest$ac_exeext | ||
| 10114 | }; then | ||
| 10115 | ac_cv_func_malloc_set_state=yes | ||
| 10116 | else | ||
| 10117 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10118 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10119 | |||
| 10120 | ac_cv_func_malloc_set_state=no | ||
| 10121 | fi | ||
| 10122 | |||
| 10123 | rm -rf conftest.dSYM | ||
| 10124 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10125 | conftest$ac_exeext conftest.$ac_ext | ||
| 10126 | fi | ||
| 10127 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | ||
| 10128 | $as_echo "$ac_cv_func_malloc_set_state" >&6; } | ||
| 10129 | if test $ac_cv_func_malloc_set_state = yes; then | ||
| 10130 | : | ||
| 10131 | else | 7288 | else |
| 10132 | doug_lea_malloc=no | 7289 | doug_lea_malloc=no |
| 10133 | fi | 7290 | fi |
| 10134 | 7291 | ||
| 10135 | { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 | 7292 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 |
| 10136 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 7293 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
| 10137 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | 7294 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : |
| 10138 | $as_echo_n "(cached) " >&6 | 7295 | $as_echo_n "(cached) " >&6 |
| 10139 | else | 7296 | else |
| 10140 | cat >conftest.$ac_ext <<_ACEOF | 7297 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10141 | /* confdefs.h. */ | ||
| 10142 | _ACEOF | ||
| 10143 | cat confdefs.h >>conftest.$ac_ext | ||
| 10144 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10145 | /* end confdefs.h. */ | 7298 | /* end confdefs.h. */ |
| 10146 | extern void (* __after_morecore_hook)(); | 7299 | extern void (* __after_morecore_hook)(); |
| 10147 | int | 7300 | int |
| @@ -10152,40 +7305,15 @@ __after_morecore_hook = 0 | |||
| 10152 | return 0; | 7305 | return 0; |
| 10153 | } | 7306 | } |
| 10154 | _ACEOF | 7307 | _ACEOF |
| 10155 | rm -f conftest.$ac_objext conftest$ac_exeext | 7308 | if ac_fn_c_try_link "$LINENO"; then : |
| 10156 | if { (ac_try="$ac_link" | ||
| 10157 | case "(($ac_try" in | ||
| 10158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10159 | *) ac_try_echo=$ac_try;; | ||
| 10160 | esac | ||
| 10161 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10162 | $as_echo "$ac_try_echo") >&5 | ||
| 10163 | (eval "$ac_link") 2>conftest.er1 | ||
| 10164 | ac_status=$? | ||
| 10165 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10166 | rm -f conftest.er1 | ||
| 10167 | cat conftest.err >&5 | ||
| 10168 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10169 | (exit $ac_status); } && { | ||
| 10170 | test -z "$ac_c_werror_flag" || | ||
| 10171 | test ! -s conftest.err | ||
| 10172 | } && test -s conftest$ac_exeext && { | ||
| 10173 | test "$cross_compiling" = yes || | ||
| 10174 | $as_test_x conftest$ac_exeext | ||
| 10175 | }; then | ||
| 10176 | emacs_cv_var___after_morecore_hook=yes | 7309 | emacs_cv_var___after_morecore_hook=yes |
| 10177 | else | 7310 | else |
| 10178 | $as_echo "$as_me: failed program was:" >&5 | 7311 | emacs_cv_var___after_morecore_hook=no |
| 10179 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10180 | |||
| 10181 | emacs_cv_var___after_morecore_hook=no | ||
| 10182 | fi | 7312 | fi |
| 10183 | 7313 | rm -f core conftest.err conftest.$ac_objext \ | |
| 10184 | rm -rf conftest.dSYM | 7314 | conftest$ac_exeext conftest.$ac_ext |
| 10185 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10186 | conftest$ac_exeext conftest.$ac_ext | ||
| 10187 | fi | 7315 | fi |
| 10188 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | 7316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 |
| 10189 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 7317 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
| 10190 | if test $emacs_cv_var___after_morecore_hook = no; then | 7318 | if test $emacs_cv_var___after_morecore_hook = no; then |
| 10191 | doug_lea_malloc=no | 7319 | doug_lea_malloc=no |
| @@ -10201,9 +7329,7 @@ if test "$doug_lea_malloc" = "yes" ; then | |||
| 10201 | (Using Doug Lea's new malloc from the GNU C Library.)" | 7329 | (Using Doug Lea's new malloc from the GNU C Library.)" |
| 10202 | fi | 7330 | fi |
| 10203 | 7331 | ||
| 10204 | cat >>confdefs.h <<\_ACEOF | 7332 | $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h |
| 10205 | #define DOUG_LEA_MALLOC 1 | ||
| 10206 | _ACEOF | ||
| 10207 | 7333 | ||
| 10208 | fi | 7334 | fi |
| 10209 | 7335 | ||
| @@ -10212,144 +7338,12 @@ if test x"${REL_ALLOC}" = x; then | |||
| 10212 | fi | 7338 | fi |
| 10213 | 7339 | ||
| 10214 | 7340 | ||
| 10215 | |||
| 10216 | |||
| 10217 | for ac_header in stdlib.h unistd.h | 7341 | for ac_header in stdlib.h unistd.h |
| 10218 | do | 7342 | do : |
| 10219 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7343 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10220 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 7344 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 10221 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7345 | eval as_val=\$$as_ac_Header |
| 10222 | $as_echo_n "checking for $ac_header... " >&6; } | 7346 | if test "x$as_val" = x""yes; then : |
| 10223 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10224 | $as_echo_n "(cached) " >&6 | ||
| 10225 | fi | ||
| 10226 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10227 | $as_echo "$as_val"'` | ||
| 10228 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10229 | $as_echo "$ac_res" >&6; } | ||
| 10230 | else | ||
| 10231 | # Is the header compilable? | ||
| 10232 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 10233 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 10234 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10235 | /* confdefs.h. */ | ||
| 10236 | _ACEOF | ||
| 10237 | cat confdefs.h >>conftest.$ac_ext | ||
| 10238 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10239 | /* end confdefs.h. */ | ||
| 10240 | $ac_includes_default | ||
| 10241 | #include <$ac_header> | ||
| 10242 | _ACEOF | ||
| 10243 | rm -f conftest.$ac_objext | ||
| 10244 | if { (ac_try="$ac_compile" | ||
| 10245 | case "(($ac_try" in | ||
| 10246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10247 | *) ac_try_echo=$ac_try;; | ||
| 10248 | esac | ||
| 10249 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10250 | $as_echo "$ac_try_echo") >&5 | ||
| 10251 | (eval "$ac_compile") 2>conftest.er1 | ||
| 10252 | ac_status=$? | ||
| 10253 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10254 | rm -f conftest.er1 | ||
| 10255 | cat conftest.err >&5 | ||
| 10256 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10257 | (exit $ac_status); } && { | ||
| 10258 | test -z "$ac_c_werror_flag" || | ||
| 10259 | test ! -s conftest.err | ||
| 10260 | } && test -s conftest.$ac_objext; then | ||
| 10261 | ac_header_compiler=yes | ||
| 10262 | else | ||
| 10263 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10264 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10265 | |||
| 10266 | ac_header_compiler=no | ||
| 10267 | fi | ||
| 10268 | |||
| 10269 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 10270 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 10271 | $as_echo "$ac_header_compiler" >&6; } | ||
| 10272 | |||
| 10273 | # Is the header present? | ||
| 10274 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 10275 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 10276 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10277 | /* confdefs.h. */ | ||
| 10278 | _ACEOF | ||
| 10279 | cat confdefs.h >>conftest.$ac_ext | ||
| 10280 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10281 | /* end confdefs.h. */ | ||
| 10282 | #include <$ac_header> | ||
| 10283 | _ACEOF | ||
| 10284 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 10285 | case "(($ac_try" in | ||
| 10286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10287 | *) ac_try_echo=$ac_try;; | ||
| 10288 | esac | ||
| 10289 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10290 | $as_echo "$ac_try_echo") >&5 | ||
| 10291 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 10292 | ac_status=$? | ||
| 10293 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10294 | rm -f conftest.er1 | ||
| 10295 | cat conftest.err >&5 | ||
| 10296 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10297 | (exit $ac_status); } >/dev/null && { | ||
| 10298 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 10299 | test ! -s conftest.err | ||
| 10300 | }; then | ||
| 10301 | ac_header_preproc=yes | ||
| 10302 | else | ||
| 10303 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10304 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10305 | |||
| 10306 | ac_header_preproc=no | ||
| 10307 | fi | ||
| 10308 | |||
| 10309 | rm -f conftest.err conftest.$ac_ext | ||
| 10310 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 10311 | $as_echo "$ac_header_preproc" >&6; } | ||
| 10312 | |||
| 10313 | # So? What about this header? | ||
| 10314 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 10315 | yes:no: ) | ||
| 10316 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 10317 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 10318 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 10319 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 10320 | ac_header_preproc=yes | ||
| 10321 | ;; | ||
| 10322 | no:yes:* ) | ||
| 10323 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 10324 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 10325 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 10326 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 10327 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 10328 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 10329 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 10330 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 10331 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 10332 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 10333 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 10334 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 10335 | |||
| 10336 | ;; | ||
| 10337 | esac | ||
| 10338 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10339 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10340 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10341 | $as_echo_n "(cached) " >&6 | ||
| 10342 | else | ||
| 10343 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 10344 | fi | ||
| 10345 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10346 | $as_echo "$as_val"'` | ||
| 10347 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10348 | $as_echo "$ac_res" >&6; } | ||
| 10349 | |||
| 10350 | fi | ||
| 10351 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 10352 | $as_echo "$as_val"'` = yes; then | ||
| 10353 | cat >>confdefs.h <<_ACEOF | 7347 | cat >>confdefs.h <<_ACEOF |
| 10354 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7348 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10355 | _ACEOF | 7349 | _ACEOF |
| @@ -10358,119 +7352,26 @@ fi | |||
| 10358 | 7352 | ||
| 10359 | done | 7353 | done |
| 10360 | 7354 | ||
| 10361 | |||
| 10362 | for ac_func in getpagesize | 7355 | for ac_func in getpagesize |
| 10363 | do | 7356 | do : |
| 10364 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7357 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
| 10365 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7358 | if test "x$ac_cv_func_getpagesize" = x""yes; then : |
| 10366 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 10367 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10368 | $as_echo_n "(cached) " >&6 | ||
| 10369 | else | ||
| 10370 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10371 | /* confdefs.h. */ | ||
| 10372 | _ACEOF | ||
| 10373 | cat confdefs.h >>conftest.$ac_ext | ||
| 10374 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10375 | /* end confdefs.h. */ | ||
| 10376 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 10377 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10378 | #define $ac_func innocuous_$ac_func | ||
| 10379 | |||
| 10380 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10381 | which can conflict with char $ac_func (); below. | ||
| 10382 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10383 | <limits.h> exists even on freestanding compilers. */ | ||
| 10384 | |||
| 10385 | #ifdef __STDC__ | ||
| 10386 | # include <limits.h> | ||
| 10387 | #else | ||
| 10388 | # include <assert.h> | ||
| 10389 | #endif | ||
| 10390 | |||
| 10391 | #undef $ac_func | ||
| 10392 | |||
| 10393 | /* Override any GCC internal prototype to avoid an error. | ||
| 10394 | Use char because int might match the return type of a GCC | ||
| 10395 | builtin and then its argument prototype would still apply. */ | ||
| 10396 | #ifdef __cplusplus | ||
| 10397 | extern "C" | ||
| 10398 | #endif | ||
| 10399 | char $ac_func (); | ||
| 10400 | /* The GNU C library defines this for functions which it implements | ||
| 10401 | to always fail with ENOSYS. Some functions are actually named | ||
| 10402 | something starting with __ and the normal name is an alias. */ | ||
| 10403 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 10404 | choke me | ||
| 10405 | #endif | ||
| 10406 | |||
| 10407 | int | ||
| 10408 | main () | ||
| 10409 | { | ||
| 10410 | return $ac_func (); | ||
| 10411 | ; | ||
| 10412 | return 0; | ||
| 10413 | } | ||
| 10414 | _ACEOF | ||
| 10415 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10416 | if { (ac_try="$ac_link" | ||
| 10417 | case "(($ac_try" in | ||
| 10418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10419 | *) ac_try_echo=$ac_try;; | ||
| 10420 | esac | ||
| 10421 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10422 | $as_echo "$ac_try_echo") >&5 | ||
| 10423 | (eval "$ac_link") 2>conftest.er1 | ||
| 10424 | ac_status=$? | ||
| 10425 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10426 | rm -f conftest.er1 | ||
| 10427 | cat conftest.err >&5 | ||
| 10428 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10429 | (exit $ac_status); } && { | ||
| 10430 | test -z "$ac_c_werror_flag" || | ||
| 10431 | test ! -s conftest.err | ||
| 10432 | } && test -s conftest$ac_exeext && { | ||
| 10433 | test "$cross_compiling" = yes || | ||
| 10434 | $as_test_x conftest$ac_exeext | ||
| 10435 | }; then | ||
| 10436 | eval "$as_ac_var=yes" | ||
| 10437 | else | ||
| 10438 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10439 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10440 | |||
| 10441 | eval "$as_ac_var=no" | ||
| 10442 | fi | ||
| 10443 | |||
| 10444 | rm -rf conftest.dSYM | ||
| 10445 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10446 | conftest$ac_exeext conftest.$ac_ext | ||
| 10447 | fi | ||
| 10448 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 10449 | $as_echo "$as_val"'` | ||
| 10450 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10451 | $as_echo "$ac_res" >&6; } | ||
| 10452 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 10453 | $as_echo "$as_val"'` = yes; then | ||
| 10454 | cat >>confdefs.h <<_ACEOF | 7359 | cat >>confdefs.h <<_ACEOF |
| 10455 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7360 | #define HAVE_GETPAGESIZE 1 |
| 10456 | _ACEOF | 7361 | _ACEOF |
| 10457 | 7362 | ||
| 10458 | fi | 7363 | fi |
| 10459 | done | 7364 | done |
| 10460 | 7365 | ||
| 10461 | { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 | 7366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 |
| 10462 | $as_echo_n "checking for working mmap... " >&6; } | 7367 | $as_echo_n "checking for working mmap... " >&6; } |
| 10463 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 7368 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : |
| 10464 | $as_echo_n "(cached) " >&6 | 7369 | $as_echo_n "(cached) " >&6 |
| 10465 | else | 7370 | else |
| 10466 | if test "$cross_compiling" = yes; then | 7371 | if test "$cross_compiling" = yes; then : |
| 10467 | ac_cv_func_mmap_fixed_mapped=no | 7372 | ac_cv_func_mmap_fixed_mapped=no |
| 10468 | else | 7373 | else |
| 10469 | cat >conftest.$ac_ext <<_ACEOF | 7374 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10470 | /* confdefs.h. */ | ||
| 10471 | _ACEOF | ||
| 10472 | cat confdefs.h >>conftest.$ac_ext | ||
| 10473 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10474 | /* end confdefs.h. */ | 7375 | /* end confdefs.h. */ |
| 10475 | $ac_includes_default | 7376 | $ac_includes_default |
| 10476 | /* malloc might have been renamed as rpl_malloc. */ | 7377 | /* malloc might have been renamed as rpl_malloc. */ |
| @@ -10599,50 +7500,21 @@ main () | |||
| 10599 | return 0; | 7500 | return 0; |
| 10600 | } | 7501 | } |
| 10601 | _ACEOF | 7502 | _ACEOF |
| 10602 | rm -f conftest$ac_exeext | 7503 | if ac_fn_c_try_run "$LINENO"; then : |
| 10603 | if { (ac_try="$ac_link" | ||
| 10604 | case "(($ac_try" in | ||
| 10605 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10606 | *) ac_try_echo=$ac_try;; | ||
| 10607 | esac | ||
| 10608 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10609 | $as_echo "$ac_try_echo") >&5 | ||
| 10610 | (eval "$ac_link") 2>&5 | ||
| 10611 | ac_status=$? | ||
| 10612 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10613 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 10614 | { (case "(($ac_try" in | ||
| 10615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10616 | *) ac_try_echo=$ac_try;; | ||
| 10617 | esac | ||
| 10618 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10619 | $as_echo "$ac_try_echo") >&5 | ||
| 10620 | (eval "$ac_try") 2>&5 | ||
| 10621 | ac_status=$? | ||
| 10622 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10623 | (exit $ac_status); }; }; then | ||
| 10624 | ac_cv_func_mmap_fixed_mapped=yes | 7504 | ac_cv_func_mmap_fixed_mapped=yes |
| 10625 | else | 7505 | else |
| 10626 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 7506 | ac_cv_func_mmap_fixed_mapped=no |
| 10627 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10628 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10629 | |||
| 10630 | ( exit $ac_status ) | ||
| 10631 | ac_cv_func_mmap_fixed_mapped=no | ||
| 10632 | fi | 7507 | fi |
| 10633 | rm -rf conftest.dSYM | 7508 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 10634 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7509 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 10635 | fi | 7510 | fi |
| 10636 | 7511 | ||
| 10637 | |||
| 10638 | fi | 7512 | fi |
| 10639 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 7513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 10640 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 7514 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
| 10641 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 7515 | if test $ac_cv_func_mmap_fixed_mapped = yes; then |
| 10642 | 7516 | ||
| 10643 | cat >>confdefs.h <<\_ACEOF | 7517 | $as_echo "#define HAVE_MMAP 1" >>confdefs.h |
| 10644 | #define HAVE_MMAP 1 | ||
| 10645 | _ACEOF | ||
| 10646 | 7518 | ||
| 10647 | fi | 7519 | fi |
| 10648 | rm -f conftest.mmap | 7520 | rm -f conftest.mmap |
| @@ -10653,19 +7525,14 @@ fi | |||
| 10653 | 7525 | ||
| 10654 | LIBS="$libsrc_libs $LIBS" | 7526 | LIBS="$libsrc_libs $LIBS" |
| 10655 | 7527 | ||
| 10656 | 7528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | |
| 10657 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | ||
| 10658 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 7529 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
| 10659 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 7530 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
| 10660 | $as_echo_n "(cached) " >&6 | 7531 | $as_echo_n "(cached) " >&6 |
| 10661 | else | 7532 | else |
| 10662 | ac_check_lib_save_LIBS=$LIBS | 7533 | ac_check_lib_save_LIBS=$LIBS |
| 10663 | LIBS="-ldnet $LIBS" | 7534 | LIBS="-ldnet $LIBS" |
| 10664 | cat >conftest.$ac_ext <<_ACEOF | 7535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10665 | /* confdefs.h. */ | ||
| 10666 | _ACEOF | ||
| 10667 | cat confdefs.h >>conftest.$ac_ext | ||
| 10668 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10669 | /* end confdefs.h. */ | 7536 | /* end confdefs.h. */ |
| 10670 | 7537 | ||
| 10671 | /* Override any GCC internal prototype to avoid an error. | 7538 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10683,43 +7550,18 @@ return dnet_ntoa (); | |||
| 10683 | return 0; | 7550 | return 0; |
| 10684 | } | 7551 | } |
| 10685 | _ACEOF | 7552 | _ACEOF |
| 10686 | rm -f conftest.$ac_objext conftest$ac_exeext | 7553 | if ac_fn_c_try_link "$LINENO"; then : |
| 10687 | if { (ac_try="$ac_link" | ||
| 10688 | case "(($ac_try" in | ||
| 10689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10690 | *) ac_try_echo=$ac_try;; | ||
| 10691 | esac | ||
| 10692 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10693 | $as_echo "$ac_try_echo") >&5 | ||
| 10694 | (eval "$ac_link") 2>conftest.er1 | ||
| 10695 | ac_status=$? | ||
| 10696 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10697 | rm -f conftest.er1 | ||
| 10698 | cat conftest.err >&5 | ||
| 10699 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10700 | (exit $ac_status); } && { | ||
| 10701 | test -z "$ac_c_werror_flag" || | ||
| 10702 | test ! -s conftest.err | ||
| 10703 | } && test -s conftest$ac_exeext && { | ||
| 10704 | test "$cross_compiling" = yes || | ||
| 10705 | $as_test_x conftest$ac_exeext | ||
| 10706 | }; then | ||
| 10707 | ac_cv_lib_dnet_dnet_ntoa=yes | 7554 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 10708 | else | 7555 | else |
| 10709 | $as_echo "$as_me: failed program was:" >&5 | 7556 | ac_cv_lib_dnet_dnet_ntoa=no |
| 10710 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10711 | |||
| 10712 | ac_cv_lib_dnet_dnet_ntoa=no | ||
| 10713 | fi | 7557 | fi |
| 10714 | 7558 | rm -f core conftest.err conftest.$ac_objext \ | |
| 10715 | rm -rf conftest.dSYM | 7559 | conftest$ac_exeext conftest.$ac_ext |
| 10716 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10717 | conftest$ac_exeext conftest.$ac_ext | ||
| 10718 | LIBS=$ac_check_lib_save_LIBS | 7560 | LIBS=$ac_check_lib_save_LIBS |
| 10719 | fi | 7561 | fi |
| 10720 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 7562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 10721 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 7563 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 10722 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 7564 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
| 10723 | cat >>confdefs.h <<_ACEOF | 7565 | cat >>confdefs.h <<_ACEOF |
| 10724 | #define HAVE_LIBDNET 1 | 7566 | #define HAVE_LIBDNET 1 |
| 10725 | _ACEOF | 7567 | _ACEOF |
| @@ -10729,18 +7571,14 @@ _ACEOF | |||
| 10729 | fi | 7571 | fi |
| 10730 | 7572 | ||
| 10731 | 7573 | ||
| 10732 | { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 | 7574 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 |
| 10733 | $as_echo_n "checking for main in -lXbsd... " >&6; } | 7575 | $as_echo_n "checking for main in -lXbsd... " >&6; } |
| 10734 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 7576 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then : |
| 10735 | $as_echo_n "(cached) " >&6 | 7577 | $as_echo_n "(cached) " >&6 |
| 10736 | else | 7578 | else |
| 10737 | ac_check_lib_save_LIBS=$LIBS | 7579 | ac_check_lib_save_LIBS=$LIBS |
| 10738 | LIBS="-lXbsd $LIBS" | 7580 | LIBS="-lXbsd $LIBS" |
| 10739 | cat >conftest.$ac_ext <<_ACEOF | 7581 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10740 | /* confdefs.h. */ | ||
| 10741 | _ACEOF | ||
| 10742 | cat confdefs.h >>conftest.$ac_ext | ||
| 10743 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10744 | /* end confdefs.h. */ | 7582 | /* end confdefs.h. */ |
| 10745 | 7583 | ||
| 10746 | 7584 | ||
| @@ -10752,60 +7590,30 @@ return main (); | |||
| 10752 | return 0; | 7590 | return 0; |
| 10753 | } | 7591 | } |
| 10754 | _ACEOF | 7592 | _ACEOF |
| 10755 | rm -f conftest.$ac_objext conftest$ac_exeext | 7593 | if ac_fn_c_try_link "$LINENO"; then : |
| 10756 | if { (ac_try="$ac_link" | ||
| 10757 | case "(($ac_try" in | ||
| 10758 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10759 | *) ac_try_echo=$ac_try;; | ||
| 10760 | esac | ||
| 10761 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10762 | $as_echo "$ac_try_echo") >&5 | ||
| 10763 | (eval "$ac_link") 2>conftest.er1 | ||
| 10764 | ac_status=$? | ||
| 10765 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10766 | rm -f conftest.er1 | ||
| 10767 | cat conftest.err >&5 | ||
| 10768 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10769 | (exit $ac_status); } && { | ||
| 10770 | test -z "$ac_c_werror_flag" || | ||
| 10771 | test ! -s conftest.err | ||
| 10772 | } && test -s conftest$ac_exeext && { | ||
| 10773 | test "$cross_compiling" = yes || | ||
| 10774 | $as_test_x conftest$ac_exeext | ||
| 10775 | }; then | ||
| 10776 | ac_cv_lib_Xbsd_main=yes | 7594 | ac_cv_lib_Xbsd_main=yes |
| 10777 | else | 7595 | else |
| 10778 | $as_echo "$as_me: failed program was:" >&5 | 7596 | ac_cv_lib_Xbsd_main=no |
| 10779 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10780 | |||
| 10781 | ac_cv_lib_Xbsd_main=no | ||
| 10782 | fi | 7597 | fi |
| 10783 | 7598 | rm -f core conftest.err conftest.$ac_objext \ | |
| 10784 | rm -rf conftest.dSYM | 7599 | conftest$ac_exeext conftest.$ac_ext |
| 10785 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10786 | conftest$ac_exeext conftest.$ac_ext | ||
| 10787 | LIBS=$ac_check_lib_save_LIBS | 7600 | LIBS=$ac_check_lib_save_LIBS |
| 10788 | fi | 7601 | fi |
| 10789 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 | 7602 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 |
| 10790 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 7603 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
| 10791 | if test $ac_cv_lib_Xbsd_main = yes; then | 7604 | if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : |
| 10792 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 7605 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
| 10793 | fi | 7606 | fi |
| 10794 | 7607 | ||
| 10795 | 7608 | ||
| 10796 | 7609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | |
| 10797 | { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | ||
| 10798 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 7610 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
| 10799 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 7611 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : |
| 10800 | $as_echo_n "(cached) " >&6 | 7612 | $as_echo_n "(cached) " >&6 |
| 10801 | else | 7613 | else |
| 10802 | ac_check_lib_save_LIBS=$LIBS | 7614 | ac_check_lib_save_LIBS=$LIBS |
| 10803 | LIBS="-lpthreads $LIBS" | 7615 | LIBS="-lpthreads $LIBS" |
| 10804 | cat >conftest.$ac_ext <<_ACEOF | 7616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10805 | /* confdefs.h. */ | ||
| 10806 | _ACEOF | ||
| 10807 | cat confdefs.h >>conftest.$ac_ext | ||
| 10808 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10809 | /* end confdefs.h. */ | 7617 | /* end confdefs.h. */ |
| 10810 | 7618 | ||
| 10811 | /* Override any GCC internal prototype to avoid an error. | 7619 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10823,43 +7631,18 @@ return cma_open (); | |||
| 10823 | return 0; | 7631 | return 0; |
| 10824 | } | 7632 | } |
| 10825 | _ACEOF | 7633 | _ACEOF |
| 10826 | rm -f conftest.$ac_objext conftest$ac_exeext | 7634 | if ac_fn_c_try_link "$LINENO"; then : |
| 10827 | if { (ac_try="$ac_link" | ||
| 10828 | case "(($ac_try" in | ||
| 10829 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10830 | *) ac_try_echo=$ac_try;; | ||
| 10831 | esac | ||
| 10832 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10833 | $as_echo "$ac_try_echo") >&5 | ||
| 10834 | (eval "$ac_link") 2>conftest.er1 | ||
| 10835 | ac_status=$? | ||
| 10836 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10837 | rm -f conftest.er1 | ||
| 10838 | cat conftest.err >&5 | ||
| 10839 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10840 | (exit $ac_status); } && { | ||
| 10841 | test -z "$ac_c_werror_flag" || | ||
| 10842 | test ! -s conftest.err | ||
| 10843 | } && test -s conftest$ac_exeext && { | ||
| 10844 | test "$cross_compiling" = yes || | ||
| 10845 | $as_test_x conftest$ac_exeext | ||
| 10846 | }; then | ||
| 10847 | ac_cv_lib_pthreads_cma_open=yes | 7635 | ac_cv_lib_pthreads_cma_open=yes |
| 10848 | else | 7636 | else |
| 10849 | $as_echo "$as_me: failed program was:" >&5 | 7637 | ac_cv_lib_pthreads_cma_open=no |
| 10850 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10851 | |||
| 10852 | ac_cv_lib_pthreads_cma_open=no | ||
| 10853 | fi | 7638 | fi |
| 10854 | 7639 | rm -f core conftest.err conftest.$ac_objext \ | |
| 10855 | rm -rf conftest.dSYM | 7640 | conftest$ac_exeext conftest.$ac_ext |
| 10856 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10857 | conftest$ac_exeext conftest.$ac_ext | ||
| 10858 | LIBS=$ac_check_lib_save_LIBS | 7641 | LIBS=$ac_check_lib_save_LIBS |
| 10859 | fi | 7642 | fi |
| 10860 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 | 7643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 |
| 10861 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 7644 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
| 10862 | if test $ac_cv_lib_pthreads_cma_open = yes; then | 7645 | if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : |
| 10863 | cat >>confdefs.h <<_ACEOF | 7646 | cat >>confdefs.h <<_ACEOF |
| 10864 | #define HAVE_LIBPTHREADS 1 | 7647 | #define HAVE_LIBPTHREADS 1 |
| 10865 | _ACEOF | 7648 | _ACEOF |
| @@ -10872,9 +7655,9 @@ fi | |||
| 10872 | 7655 | ||
| 10873 | case ${host_os} in | 7656 | case ${host_os} in |
| 10874 | aix*) | 7657 | aix*) |
| 10875 | { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 | 7658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 |
| 10876 | $as_echo_n "checking for -bbigtoc option... " >&6; } | 7659 | $as_echo_n "checking for -bbigtoc option... " >&6; } |
| 10877 | if test "${gdb_cv_bigtoc+set}" = set; then | 7660 | if test "${gdb_cv_bigtoc+set}" = set; then : |
| 10878 | $as_echo_n "(cached) " >&6 | 7661 | $as_echo_n "(cached) " >&6 |
| 10879 | else | 7662 | else |
| 10880 | 7663 | ||
| @@ -10884,11 +7667,7 @@ else | |||
| 10884 | esac | 7667 | esac |
| 10885 | 7668 | ||
| 10886 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 7669 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
| 10887 | cat >conftest.$ac_ext <<_ACEOF | 7670 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10888 | /* confdefs.h. */ | ||
| 10889 | _ACEOF | ||
| 10890 | cat confdefs.h >>conftest.$ac_ext | ||
| 10891 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10892 | /* end confdefs.h. */ | 7671 | /* end confdefs.h. */ |
| 10893 | 7672 | ||
| 10894 | int | 7673 | int |
| @@ -10899,41 +7678,16 @@ int i; | |||
| 10899 | return 0; | 7678 | return 0; |
| 10900 | } | 7679 | } |
| 10901 | _ACEOF | 7680 | _ACEOF |
| 10902 | rm -f conftest.$ac_objext conftest$ac_exeext | 7681 | if ac_fn_c_try_link "$LINENO"; then : |
| 10903 | if { (ac_try="$ac_link" | ||
| 10904 | case "(($ac_try" in | ||
| 10905 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10906 | *) ac_try_echo=$ac_try;; | ||
| 10907 | esac | ||
| 10908 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10909 | $as_echo "$ac_try_echo") >&5 | ||
| 10910 | (eval "$ac_link") 2>conftest.er1 | ||
| 10911 | ac_status=$? | ||
| 10912 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10913 | rm -f conftest.er1 | ||
| 10914 | cat conftest.err >&5 | ||
| 10915 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10916 | (exit $ac_status); } && { | ||
| 10917 | test -z "$ac_c_werror_flag" || | ||
| 10918 | test ! -s conftest.err | ||
| 10919 | } && test -s conftest$ac_exeext && { | ||
| 10920 | test "$cross_compiling" = yes || | ||
| 10921 | $as_test_x conftest$ac_exeext | ||
| 10922 | }; then | ||
| 10923 | : | ||
| 10924 | else | ||
| 10925 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10926 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10927 | 7682 | ||
| 10928 | gdb_cv_bigtoc= | 7683 | else |
| 7684 | gdb_cv_bigtoc= | ||
| 10929 | fi | 7685 | fi |
| 10930 | 7686 | rm -f core conftest.err conftest.$ac_objext \ | |
| 10931 | rm -rf conftest.dSYM | 7687 | conftest$ac_exeext conftest.$ac_ext |
| 10932 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10933 | conftest$ac_exeext conftest.$ac_ext | ||
| 10934 | 7688 | ||
| 10935 | fi | 7689 | fi |
| 10936 | { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 | 7690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 |
| 10937 | $as_echo "$gdb_cv_bigtoc" >&6; } | 7691 | $as_echo "$gdb_cv_bigtoc" >&6; } |
| 10938 | ;; | 7692 | ;; |
| 10939 | esac | 7693 | esac |
| @@ -10961,13 +7715,9 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 10961 | fi | 7715 | fi |
| 10962 | 7716 | ||
| 10963 | if test "${opsys}" = "gnu-linux"; then | 7717 | if test "${opsys}" = "gnu-linux"; then |
| 10964 | { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 | 7718 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 |
| 10965 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 7719 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
| 10966 | cat >conftest.$ac_ext <<_ACEOF | 7720 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10967 | /* confdefs.h. */ | ||
| 10968 | _ACEOF | ||
| 10969 | cat confdefs.h >>conftest.$ac_ext | ||
| 10970 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10971 | /* end confdefs.h. */ | 7721 | /* end confdefs.h. */ |
| 10972 | 7722 | ||
| 10973 | int | 7723 | int |
| @@ -10978,38 +7728,13 @@ XOpenDisplay ("foo"); | |||
| 10978 | return 0; | 7728 | return 0; |
| 10979 | } | 7729 | } |
| 10980 | _ACEOF | 7730 | _ACEOF |
| 10981 | rm -f conftest.$ac_objext conftest$ac_exeext | 7731 | if ac_fn_c_try_link "$LINENO"; then : |
| 10982 | if { (ac_try="$ac_link" | ||
| 10983 | case "(($ac_try" in | ||
| 10984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10985 | *) ac_try_echo=$ac_try;; | ||
| 10986 | esac | ||
| 10987 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10988 | $as_echo "$ac_try_echo") >&5 | ||
| 10989 | (eval "$ac_link") 2>conftest.er1 | ||
| 10990 | ac_status=$? | ||
| 10991 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10992 | rm -f conftest.er1 | ||
| 10993 | cat conftest.err >&5 | ||
| 10994 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10995 | (exit $ac_status); } && { | ||
| 10996 | test -z "$ac_c_werror_flag" || | ||
| 10997 | test ! -s conftest.err | ||
| 10998 | } && test -s conftest$ac_exeext && { | ||
| 10999 | test "$cross_compiling" = yes || | ||
| 11000 | $as_test_x conftest$ac_exeext | ||
| 11001 | }; then | ||
| 11002 | xlinux_first_failure=no | 7732 | xlinux_first_failure=no |
| 11003 | else | 7733 | else |
| 11004 | $as_echo "$as_me: failed program was:" >&5 | 7734 | xlinux_first_failure=yes |
| 11005 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11006 | |||
| 11007 | xlinux_first_failure=yes | ||
| 11008 | fi | 7735 | fi |
| 11009 | 7736 | rm -f core conftest.err conftest.$ac_objext \ | |
| 11010 | rm -rf conftest.dSYM | 7737 | conftest$ac_exeext conftest.$ac_ext |
| 11011 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11012 | conftest$ac_exeext conftest.$ac_ext | ||
| 11013 | if test "${xlinux_first_failure}" = "yes"; then | 7738 | if test "${xlinux_first_failure}" = "yes"; then |
| 11014 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 7739 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
| 11015 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 7740 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
| @@ -11019,11 +7744,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
| 11019 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 7744 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
| 11020 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 7745 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 11021 | LIBS="$LIBS -b i486-linuxaout" | 7746 | LIBS="$LIBS -b i486-linuxaout" |
| 11022 | cat >conftest.$ac_ext <<_ACEOF | 7747 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11023 | /* confdefs.h. */ | ||
| 11024 | _ACEOF | ||
| 11025 | cat confdefs.h >>conftest.$ac_ext | ||
| 11026 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11027 | /* end confdefs.h. */ | 7748 | /* end confdefs.h. */ |
| 11028 | 7749 | ||
| 11029 | int | 7750 | int |
| @@ -11034,38 +7755,13 @@ XOpenDisplay ("foo"); | |||
| 11034 | return 0; | 7755 | return 0; |
| 11035 | } | 7756 | } |
| 11036 | _ACEOF | 7757 | _ACEOF |
| 11037 | rm -f conftest.$ac_objext conftest$ac_exeext | 7758 | if ac_fn_c_try_link "$LINENO"; then : |
| 11038 | if { (ac_try="$ac_link" | ||
| 11039 | case "(($ac_try" in | ||
| 11040 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11041 | *) ac_try_echo=$ac_try;; | ||
| 11042 | esac | ||
| 11043 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11044 | $as_echo "$ac_try_echo") >&5 | ||
| 11045 | (eval "$ac_link") 2>conftest.er1 | ||
| 11046 | ac_status=$? | ||
| 11047 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11048 | rm -f conftest.er1 | ||
| 11049 | cat conftest.err >&5 | ||
| 11050 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11051 | (exit $ac_status); } && { | ||
| 11052 | test -z "$ac_c_werror_flag" || | ||
| 11053 | test ! -s conftest.err | ||
| 11054 | } && test -s conftest$ac_exeext && { | ||
| 11055 | test "$cross_compiling" = yes || | ||
| 11056 | $as_test_x conftest$ac_exeext | ||
| 11057 | }; then | ||
| 11058 | xlinux_second_failure=no | 7759 | xlinux_second_failure=no |
| 11059 | else | 7760 | else |
| 11060 | $as_echo "$as_me: failed program was:" >&5 | 7761 | xlinux_second_failure=yes |
| 11061 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11062 | |||
| 11063 | xlinux_second_failure=yes | ||
| 11064 | fi | 7762 | fi |
| 11065 | 7763 | rm -f core conftest.err conftest.$ac_objext \ | |
| 11066 | rm -rf conftest.dSYM | 7764 | conftest$ac_exeext conftest.$ac_ext |
| 11067 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11068 | conftest$ac_exeext conftest.$ac_ext | ||
| 11069 | if test "${xlinux_second_failure}" = "yes"; then | 7765 | if test "${xlinux_second_failure}" = "yes"; then |
| 11070 | # If we get the same failure with -b, there is no use adding -b. | 7766 | # If we get the same failure with -b, there is no use adding -b. |
| 11071 | # So take it out. This plays safe. | 7767 | # So take it out. This plays safe. |
| @@ -11073,27 +7769,23 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
| 11073 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 7769 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
| 11074 | CPPFLAGS="$OLD_CPPFLAGS" | 7770 | CPPFLAGS="$OLD_CPPFLAGS" |
| 11075 | LIBS="$OLD_LIBS" | 7771 | LIBS="$OLD_LIBS" |
| 11076 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 7772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11077 | $as_echo "no" >&6; } | 7773 | $as_echo "no" >&6; } |
| 11078 | else | 7774 | else |
| 11079 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 7775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 11080 | $as_echo "yes" >&6; } | 7776 | $as_echo "yes" >&6; } |
| 11081 | fi | 7777 | fi |
| 11082 | else | 7778 | else |
| 11083 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 7779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11084 | $as_echo "no" >&6; } | 7780 | $as_echo "no" >&6; } |
| 11085 | fi | 7781 | fi |
| 11086 | fi | 7782 | fi |
| 11087 | 7783 | ||
| 11088 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 7784 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
| 11089 | # header files included from there. | 7785 | # header files included from there. |
| 11090 | { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 | 7786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 |
| 11091 | $as_echo_n "checking for Xkb... " >&6; } | 7787 | $as_echo_n "checking for Xkb... " >&6; } |
| 11092 | cat >conftest.$ac_ext <<_ACEOF | 7788 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11093 | /* confdefs.h. */ | ||
| 11094 | _ACEOF | ||
| 11095 | cat confdefs.h >>conftest.$ac_ext | ||
| 11096 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11097 | /* end confdefs.h. */ | 7789 | /* end confdefs.h. */ |
| 11098 | #include <X11/Xlib.h> | 7790 | #include <X11/Xlib.h> |
| 11099 | #include <X11/XKBlib.h> | 7791 | #include <X11/XKBlib.h> |
| @@ -11105,145 +7797,28 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | |||
| 11105 | return 0; | 7797 | return 0; |
| 11106 | } | 7798 | } |
| 11107 | _ACEOF | 7799 | _ACEOF |
| 11108 | rm -f conftest.$ac_objext conftest$ac_exeext | 7800 | if ac_fn_c_try_link "$LINENO"; then : |
| 11109 | if { (ac_try="$ac_link" | ||
| 11110 | case "(($ac_try" in | ||
| 11111 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11112 | *) ac_try_echo=$ac_try;; | ||
| 11113 | esac | ||
| 11114 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11115 | $as_echo "$ac_try_echo") >&5 | ||
| 11116 | (eval "$ac_link") 2>conftest.er1 | ||
| 11117 | ac_status=$? | ||
| 11118 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11119 | rm -f conftest.er1 | ||
| 11120 | cat conftest.err >&5 | ||
| 11121 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11122 | (exit $ac_status); } && { | ||
| 11123 | test -z "$ac_c_werror_flag" || | ||
| 11124 | test ! -s conftest.err | ||
| 11125 | } && test -s conftest$ac_exeext && { | ||
| 11126 | test "$cross_compiling" = yes || | ||
| 11127 | $as_test_x conftest$ac_exeext | ||
| 11128 | }; then | ||
| 11129 | emacs_xkb=yes | 7801 | emacs_xkb=yes |
| 11130 | else | 7802 | else |
| 11131 | $as_echo "$as_me: failed program was:" >&5 | 7803 | emacs_xkb=no |
| 11132 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11133 | |||
| 11134 | emacs_xkb=no | ||
| 11135 | fi | 7804 | fi |
| 11136 | 7805 | rm -f core conftest.err conftest.$ac_objext \ | |
| 11137 | rm -rf conftest.dSYM | 7806 | conftest$ac_exeext conftest.$ac_ext |
| 11138 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 |
| 11139 | conftest$ac_exeext conftest.$ac_ext | ||
| 11140 | { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | ||
| 11141 | $as_echo "$emacs_xkb" >&6; } | 7808 | $as_echo "$emacs_xkb" >&6; } |
| 11142 | if test $emacs_xkb = yes; then | 7809 | if test $emacs_xkb = yes; then |
| 11143 | 7810 | ||
| 11144 | cat >>confdefs.h <<\_ACEOF | 7811 | $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h |
| 11145 | #define HAVE_XKBGETKEYBOARD 1 | ||
| 11146 | _ACEOF | ||
| 11147 | 7812 | ||
| 11148 | fi | 7813 | fi |
| 11149 | 7814 | ||
| 11150 | 7815 | for ac_func in XrmSetDatabase XScreenResourceString \ | |
| 11151 | |||
| 11152 | |||
| 11153 | |||
| 11154 | for ac_func in XrmSetDatabase XScreenResourceString \ | ||
| 11155 | XScreenNumberOfScreen XSetWMProtocols | 7816 | XScreenNumberOfScreen XSetWMProtocols |
| 11156 | do | 7817 | do : |
| 11157 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7818 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11158 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7819 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 11159 | $as_echo_n "checking for $ac_func... " >&6; } | 7820 | eval as_val=\$$as_ac_var |
| 11160 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 7821 | if test "x$as_val" = x""yes; then : |
| 11161 | $as_echo_n "(cached) " >&6 | ||
| 11162 | else | ||
| 11163 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11164 | /* confdefs.h. */ | ||
| 11165 | _ACEOF | ||
| 11166 | cat confdefs.h >>conftest.$ac_ext | ||
| 11167 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11168 | /* end confdefs.h. */ | ||
| 11169 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11170 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11171 | #define $ac_func innocuous_$ac_func | ||
| 11172 | |||
| 11173 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11174 | which can conflict with char $ac_func (); below. | ||
| 11175 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11176 | <limits.h> exists even on freestanding compilers. */ | ||
| 11177 | |||
| 11178 | #ifdef __STDC__ | ||
| 11179 | # include <limits.h> | ||
| 11180 | #else | ||
| 11181 | # include <assert.h> | ||
| 11182 | #endif | ||
| 11183 | |||
| 11184 | #undef $ac_func | ||
| 11185 | |||
| 11186 | /* Override any GCC internal prototype to avoid an error. | ||
| 11187 | Use char because int might match the return type of a GCC | ||
| 11188 | builtin and then its argument prototype would still apply. */ | ||
| 11189 | #ifdef __cplusplus | ||
| 11190 | extern "C" | ||
| 11191 | #endif | ||
| 11192 | char $ac_func (); | ||
| 11193 | /* The GNU C library defines this for functions which it implements | ||
| 11194 | to always fail with ENOSYS. Some functions are actually named | ||
| 11195 | something starting with __ and the normal name is an alias. */ | ||
| 11196 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11197 | choke me | ||
| 11198 | #endif | ||
| 11199 | |||
| 11200 | int | ||
| 11201 | main () | ||
| 11202 | { | ||
| 11203 | return $ac_func (); | ||
| 11204 | ; | ||
| 11205 | return 0; | ||
| 11206 | } | ||
| 11207 | _ACEOF | ||
| 11208 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11209 | if { (ac_try="$ac_link" | ||
| 11210 | case "(($ac_try" in | ||
| 11211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11212 | *) ac_try_echo=$ac_try;; | ||
| 11213 | esac | ||
| 11214 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11215 | $as_echo "$ac_try_echo") >&5 | ||
| 11216 | (eval "$ac_link") 2>conftest.er1 | ||
| 11217 | ac_status=$? | ||
| 11218 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11219 | rm -f conftest.er1 | ||
| 11220 | cat conftest.err >&5 | ||
| 11221 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11222 | (exit $ac_status); } && { | ||
| 11223 | test -z "$ac_c_werror_flag" || | ||
| 11224 | test ! -s conftest.err | ||
| 11225 | } && test -s conftest$ac_exeext && { | ||
| 11226 | test "$cross_compiling" = yes || | ||
| 11227 | $as_test_x conftest$ac_exeext | ||
| 11228 | }; then | ||
| 11229 | eval "$as_ac_var=yes" | ||
| 11230 | else | ||
| 11231 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11232 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11233 | |||
| 11234 | eval "$as_ac_var=no" | ||
| 11235 | fi | ||
| 11236 | |||
| 11237 | rm -rf conftest.dSYM | ||
| 11238 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11239 | conftest$ac_exeext conftest.$ac_ext | ||
| 11240 | fi | ||
| 11241 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11242 | $as_echo "$as_val"'` | ||
| 11243 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11244 | $as_echo "$ac_res" >&6; } | ||
| 11245 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11246 | $as_echo "$as_val"'` = yes; then | ||
| 11247 | cat >>confdefs.h <<_ACEOF | 7822 | cat >>confdefs.h <<_ACEOF |
| 11248 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7823 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11249 | _ACEOF | 7824 | _ACEOF |
| @@ -11254,16 +7829,12 @@ done | |||
| 11254 | fi | 7829 | fi |
| 11255 | 7830 | ||
| 11256 | if test "${window_system}" = "x11"; then | 7831 | if test "${window_system}" = "x11"; then |
| 11257 | { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 | 7832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 |
| 11258 | $as_echo_n "checking X11 version 6... " >&6; } | 7833 | $as_echo_n "checking X11 version 6... " >&6; } |
| 11259 | if test "${emacs_cv_x11_version_6+set}" = set; then | 7834 | if test "${emacs_cv_x11_version_6+set}" = set; then : |
| 11260 | $as_echo_n "(cached) " >&6 | 7835 | $as_echo_n "(cached) " >&6 |
| 11261 | else | 7836 | else |
| 11262 | cat >conftest.$ac_ext <<_ACEOF | 7837 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11263 | /* confdefs.h. */ | ||
| 11264 | _ACEOF | ||
| 11265 | cat confdefs.h >>conftest.$ac_ext | ||
| 11266 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11267 | /* end confdefs.h. */ | 7838 | /* end confdefs.h. */ |
| 11268 | #include <X11/Xlib.h> | 7839 | #include <X11/Xlib.h> |
| 11269 | int | 7840 | int |
| @@ -11277,50 +7848,23 @@ fail; | |||
| 11277 | return 0; | 7848 | return 0; |
| 11278 | } | 7849 | } |
| 11279 | _ACEOF | 7850 | _ACEOF |
| 11280 | rm -f conftest.$ac_objext conftest$ac_exeext | 7851 | if ac_fn_c_try_link "$LINENO"; then : |
| 11281 | if { (ac_try="$ac_link" | ||
| 11282 | case "(($ac_try" in | ||
| 11283 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11284 | *) ac_try_echo=$ac_try;; | ||
| 11285 | esac | ||
| 11286 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11287 | $as_echo "$ac_try_echo") >&5 | ||
| 11288 | (eval "$ac_link") 2>conftest.er1 | ||
| 11289 | ac_status=$? | ||
| 11290 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11291 | rm -f conftest.er1 | ||
| 11292 | cat conftest.err >&5 | ||
| 11293 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11294 | (exit $ac_status); } && { | ||
| 11295 | test -z "$ac_c_werror_flag" || | ||
| 11296 | test ! -s conftest.err | ||
| 11297 | } && test -s conftest$ac_exeext && { | ||
| 11298 | test "$cross_compiling" = yes || | ||
| 11299 | $as_test_x conftest$ac_exeext | ||
| 11300 | }; then | ||
| 11301 | emacs_cv_x11_version_6=yes | 7852 | emacs_cv_x11_version_6=yes |
| 11302 | else | 7853 | else |
| 11303 | $as_echo "$as_me: failed program was:" >&5 | 7854 | emacs_cv_x11_version_6=no |
| 11304 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11305 | |||
| 11306 | emacs_cv_x11_version_6=no | ||
| 11307 | fi | 7855 | fi |
| 11308 | 7856 | rm -f core conftest.err conftest.$ac_objext \ | |
| 11309 | rm -rf conftest.dSYM | 7857 | conftest$ac_exeext conftest.$ac_ext |
| 11310 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11311 | conftest$ac_exeext conftest.$ac_ext | ||
| 11312 | fi | 7858 | fi |
| 11313 | 7859 | ||
| 11314 | if test $emacs_cv_x11_version_6 = yes; then | 7860 | if test $emacs_cv_x11_version_6 = yes; then |
| 11315 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 | 7861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 |
| 11316 | $as_echo "6 or newer" >&6; } | 7862 | $as_echo "6 or newer" >&6; } |
| 11317 | 7863 | ||
| 11318 | cat >>confdefs.h <<\_ACEOF | 7864 | $as_echo "#define HAVE_X11R6 1" >>confdefs.h |
| 11319 | #define HAVE_X11R6 1 | ||
| 11320 | _ACEOF | ||
| 11321 | 7865 | ||
| 11322 | else | 7866 | else |
| 11323 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 | 7867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 |
| 11324 | $as_echo "before 6" >&6; } | 7868 | $as_echo "before 6" >&6; } |
| 11325 | fi | 7869 | fi |
| 11326 | fi | 7870 | fi |
| @@ -11338,9 +7882,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then | |||
| 11338 | 7882 | ||
| 11339 | # Extract the first word of "pkg-config", so it can be a program name with args. | 7883 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 11340 | set dummy pkg-config; ac_word=$2 | 7884 | set dummy pkg-config; ac_word=$2 |
| 11341 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 7885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11342 | $as_echo_n "checking for $ac_word... " >&6; } | 7886 | $as_echo_n "checking for $ac_word... " >&6; } |
| 11343 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 7887 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 11344 | $as_echo_n "(cached) " >&6 | 7888 | $as_echo_n "(cached) " >&6 |
| 11345 | else | 7889 | else |
| 11346 | case $PKG_CONFIG in | 7890 | case $PKG_CONFIG in |
| @@ -11353,14 +7897,14 @@ for as_dir in $PATH | |||
| 11353 | do | 7897 | do |
| 11354 | IFS=$as_save_IFS | 7898 | IFS=$as_save_IFS |
| 11355 | test -z "$as_dir" && as_dir=. | 7899 | test -z "$as_dir" && as_dir=. |
| 11356 | for ac_exec_ext in '' $ac_executable_extensions; do | 7900 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11357 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7901 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 11358 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 7902 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 11359 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7903 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 11360 | break 2 | 7904 | break 2 |
| 11361 | fi | 7905 | fi |
| 11362 | done | 7906 | done |
| 11363 | done | 7907 | done |
| 11364 | IFS=$as_save_IFS | 7908 | IFS=$as_save_IFS |
| 11365 | 7909 | ||
| 11366 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 7910 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -11369,10 +7913,10 @@ esac | |||
| 11369 | fi | 7913 | fi |
| 11370 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 7914 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 11371 | if test -n "$PKG_CONFIG"; then | 7915 | if test -n "$PKG_CONFIG"; then |
| 11372 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 7916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 11373 | $as_echo "$PKG_CONFIG" >&6; } | 7917 | $as_echo "$PKG_CONFIG" >&6; } |
| 11374 | else | 7918 | else |
| 11375 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 7919 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11376 | $as_echo "no" >&6; } | 7920 | $as_echo "no" >&6; } |
| 11377 | fi | 7921 | fi |
| 11378 | 7922 | ||
| @@ -11383,27 +7927,27 @@ fi | |||
| 11383 | else | 7927 | else |
| 11384 | PKG_CONFIG_MIN_VERSION=0.9.0 | 7928 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11385 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 7929 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11386 | { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 | 7930 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 |
| 11387 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 7931 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
| 11388 | 7932 | ||
| 11389 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 7933 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
| 11390 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 7934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 11391 | $as_echo "yes" >&6; } | 7935 | $as_echo "yes" >&6; } |
| 11392 | succeeded=yes | 7936 | succeeded=yes |
| 11393 | 7937 | ||
| 11394 | { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 | 7938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 |
| 11395 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 7939 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
| 11396 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 7940 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 11397 | { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 | 7941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 |
| 11398 | $as_echo "$RSVG_CFLAGS" >&6; } | 7942 | $as_echo "$RSVG_CFLAGS" >&6; } |
| 11399 | 7943 | ||
| 11400 | { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 | 7944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 |
| 11401 | $as_echo_n "checking RSVG_LIBS... " >&6; } | 7945 | $as_echo_n "checking RSVG_LIBS... " >&6; } |
| 11402 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 7946 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 11403 | { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 | 7947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 |
| 11404 | $as_echo "$RSVG_LIBS" >&6; } | 7948 | $as_echo "$RSVG_LIBS" >&6; } |
| 11405 | else | 7949 | else |
| 11406 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 7950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11407 | $as_echo "no" >&6; } | 7951 | $as_echo "no" >&6; } |
| 11408 | RSVG_CFLAGS="" | 7952 | RSVG_CFLAGS="" |
| 11409 | RSVG_LIBS="" | 7953 | RSVG_LIBS="" |
| @@ -11433,9 +7977,7 @@ $as_echo "no" >&6; } | |||
| 11433 | if test ".${RSVG_CFLAGS}" != "."; then | 7977 | if test ".${RSVG_CFLAGS}" != "."; then |
| 11434 | HAVE_RSVG=yes | 7978 | HAVE_RSVG=yes |
| 11435 | 7979 | ||
| 11436 | cat >>confdefs.h <<\_ACEOF | 7980 | $as_echo "#define HAVE_RSVG 1" >>confdefs.h |
| 11437 | #define HAVE_RSVG 1 | ||
| 11438 | _ACEOF | ||
| 11439 | 7981 | ||
| 11440 | CFLAGS="$CFLAGS $RSVG_CFLAGS" | 7982 | CFLAGS="$CFLAGS $RSVG_CFLAGS" |
| 11441 | LIBS="$RSVG_LIBS $LIBS" | 7983 | LIBS="$RSVG_LIBS $LIBS" |
| @@ -11455,9 +7997,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then | |||
| 11455 | 7997 | ||
| 11456 | # Extract the first word of "pkg-config", so it can be a program name with args. | 7998 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 11457 | set dummy pkg-config; ac_word=$2 | 7999 | set dummy pkg-config; ac_word=$2 |
| 11458 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11459 | $as_echo_n "checking for $ac_word... " >&6; } | 8001 | $as_echo_n "checking for $ac_word... " >&6; } |
| 11460 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8002 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 11461 | $as_echo_n "(cached) " >&6 | 8003 | $as_echo_n "(cached) " >&6 |
| 11462 | else | 8004 | else |
| 11463 | case $PKG_CONFIG in | 8005 | case $PKG_CONFIG in |
| @@ -11470,14 +8012,14 @@ for as_dir in $PATH | |||
| 11470 | do | 8012 | do |
| 11471 | IFS=$as_save_IFS | 8013 | IFS=$as_save_IFS |
| 11472 | test -z "$as_dir" && as_dir=. | 8014 | test -z "$as_dir" && as_dir=. |
| 11473 | for ac_exec_ext in '' $ac_executable_extensions; do | 8015 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11474 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8016 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 11475 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8017 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 11476 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8018 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 11477 | break 2 | 8019 | break 2 |
| 11478 | fi | 8020 | fi |
| 11479 | done | 8021 | done |
| 11480 | done | 8022 | done |
| 11481 | IFS=$as_save_IFS | 8023 | IFS=$as_save_IFS |
| 11482 | 8024 | ||
| 11483 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8025 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -11486,10 +8028,10 @@ esac | |||
| 11486 | fi | 8028 | fi |
| 11487 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8029 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 11488 | if test -n "$PKG_CONFIG"; then | 8030 | if test -n "$PKG_CONFIG"; then |
| 11489 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8031 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 11490 | $as_echo "$PKG_CONFIG" >&6; } | 8032 | $as_echo "$PKG_CONFIG" >&6; } |
| 11491 | else | 8033 | else |
| 11492 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11493 | $as_echo "no" >&6; } | 8035 | $as_echo "no" >&6; } |
| 11494 | fi | 8036 | fi |
| 11495 | 8037 | ||
| @@ -11500,27 +8042,27 @@ fi | |||
| 11500 | else | 8042 | else |
| 11501 | PKG_CONFIG_MIN_VERSION=0.9.0 | 8043 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11502 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8044 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11503 | { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 | 8045 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 |
| 11504 | $as_echo_n "checking for $GTK_MODULES... " >&6; } | 8046 | $as_echo_n "checking for $GTK_MODULES... " >&6; } |
| 11505 | 8047 | ||
| 11506 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 8048 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
| 11507 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 11508 | $as_echo "yes" >&6; } | 8050 | $as_echo "yes" >&6; } |
| 11509 | succeeded=yes | 8051 | succeeded=yes |
| 11510 | 8052 | ||
| 11511 | { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 | 8053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 |
| 11512 | $as_echo_n "checking GTK_CFLAGS... " >&6; } | 8054 | $as_echo_n "checking GTK_CFLAGS... " >&6; } |
| 11513 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 8055 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 11514 | { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 | 8056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 |
| 11515 | $as_echo "$GTK_CFLAGS" >&6; } | 8057 | $as_echo "$GTK_CFLAGS" >&6; } |
| 11516 | 8058 | ||
| 11517 | { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 | 8059 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 |
| 11518 | $as_echo_n "checking GTK_LIBS... " >&6; } | 8060 | $as_echo_n "checking GTK_LIBS... " >&6; } |
| 11519 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 8061 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 11520 | { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 | 8062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 |
| 11521 | $as_echo "$GTK_LIBS" >&6; } | 8063 | $as_echo "$GTK_LIBS" >&6; } |
| 11522 | else | 8064 | else |
| 11523 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11524 | $as_echo "no" >&6; } | 8066 | $as_echo "no" >&6; } |
| 11525 | GTK_CFLAGS="" | 8067 | GTK_CFLAGS="" |
| 11526 | GTK_LIBS="" | 8068 | GTK_LIBS="" |
| @@ -11545,9 +8087,7 @@ $as_echo "no" >&6; } | |||
| 11545 | fi | 8087 | fi |
| 11546 | 8088 | ||
| 11547 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8089 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
| 11548 | { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 | 8090 | as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
| 11549 | $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | ||
| 11550 | { (exit 1); exit 1; }; } | ||
| 11551 | fi | 8091 | fi |
| 11552 | fi | 8092 | fi |
| 11553 | 8093 | ||
| @@ -11560,101 +8100,12 @@ if test x"$pkg_check_gtk" = xyes; then | |||
| 11560 | CFLAGS="$CFLAGS $GTK_CFLAGS" | 8100 | CFLAGS="$CFLAGS $GTK_CFLAGS" |
| 11561 | LIBS="$GTK_LIBS $LIBS" | 8101 | LIBS="$GTK_LIBS $LIBS" |
| 11562 | GTK_COMPILES=no | 8102 | GTK_COMPILES=no |
| 11563 | 8103 | for ac_func in gtk_main | |
| 11564 | for ac_func in gtk_main | 8104 | do : |
| 11565 | do | 8105 | ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" |
| 11566 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8106 | if test "x$ac_cv_func_gtk_main" = x""yes; then : |
| 11567 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11568 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11569 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11570 | $as_echo_n "(cached) " >&6 | ||
| 11571 | else | ||
| 11572 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11573 | /* confdefs.h. */ | ||
| 11574 | _ACEOF | ||
| 11575 | cat confdefs.h >>conftest.$ac_ext | ||
| 11576 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11577 | /* end confdefs.h. */ | ||
| 11578 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11579 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11580 | #define $ac_func innocuous_$ac_func | ||
| 11581 | |||
| 11582 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11583 | which can conflict with char $ac_func (); below. | ||
| 11584 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11585 | <limits.h> exists even on freestanding compilers. */ | ||
| 11586 | |||
| 11587 | #ifdef __STDC__ | ||
| 11588 | # include <limits.h> | ||
| 11589 | #else | ||
| 11590 | # include <assert.h> | ||
| 11591 | #endif | ||
| 11592 | |||
| 11593 | #undef $ac_func | ||
| 11594 | |||
| 11595 | /* Override any GCC internal prototype to avoid an error. | ||
| 11596 | Use char because int might match the return type of a GCC | ||
| 11597 | builtin and then its argument prototype would still apply. */ | ||
| 11598 | #ifdef __cplusplus | ||
| 11599 | extern "C" | ||
| 11600 | #endif | ||
| 11601 | char $ac_func (); | ||
| 11602 | /* The GNU C library defines this for functions which it implements | ||
| 11603 | to always fail with ENOSYS. Some functions are actually named | ||
| 11604 | something starting with __ and the normal name is an alias. */ | ||
| 11605 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11606 | choke me | ||
| 11607 | #endif | ||
| 11608 | |||
| 11609 | int | ||
| 11610 | main () | ||
| 11611 | { | ||
| 11612 | return $ac_func (); | ||
| 11613 | ; | ||
| 11614 | return 0; | ||
| 11615 | } | ||
| 11616 | _ACEOF | ||
| 11617 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11618 | if { (ac_try="$ac_link" | ||
| 11619 | case "(($ac_try" in | ||
| 11620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11621 | *) ac_try_echo=$ac_try;; | ||
| 11622 | esac | ||
| 11623 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11624 | $as_echo "$ac_try_echo") >&5 | ||
| 11625 | (eval "$ac_link") 2>conftest.er1 | ||
| 11626 | ac_status=$? | ||
| 11627 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11628 | rm -f conftest.er1 | ||
| 11629 | cat conftest.err >&5 | ||
| 11630 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11631 | (exit $ac_status); } && { | ||
| 11632 | test -z "$ac_c_werror_flag" || | ||
| 11633 | test ! -s conftest.err | ||
| 11634 | } && test -s conftest$ac_exeext && { | ||
| 11635 | test "$cross_compiling" = yes || | ||
| 11636 | $as_test_x conftest$ac_exeext | ||
| 11637 | }; then | ||
| 11638 | eval "$as_ac_var=yes" | ||
| 11639 | else | ||
| 11640 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11641 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11642 | |||
| 11643 | eval "$as_ac_var=no" | ||
| 11644 | fi | ||
| 11645 | |||
| 11646 | rm -rf conftest.dSYM | ||
| 11647 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11648 | conftest$ac_exeext conftest.$ac_ext | ||
| 11649 | fi | ||
| 11650 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11651 | $as_echo "$as_val"'` | ||
| 11652 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11653 | $as_echo "$ac_res" >&6; } | ||
| 11654 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11655 | $as_echo "$as_val"'` = yes; then | ||
| 11656 | cat >>confdefs.h <<_ACEOF | 8107 | cat >>confdefs.h <<_ACEOF |
| 11657 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8108 | #define HAVE_GTK_MAIN 1 |
| 11658 | _ACEOF | 8109 | _ACEOF |
| 11659 | GTK_COMPILES=yes | 8110 | GTK_COMPILES=yes |
| 11660 | fi | 8111 | fi |
| @@ -11662,22 +8113,18 @@ done | |||
| 11662 | 8113 | ||
| 11663 | if test "${GTK_COMPILES}" != "yes"; then | 8114 | if test "${GTK_COMPILES}" != "yes"; then |
| 11664 | if test "$USE_X_TOOLKIT" != "maybe"; then | 8115 | if test "$USE_X_TOOLKIT" != "maybe"; then |
| 11665 | { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 | 8116 | as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
| 11666 | $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | ||
| 11667 | { (exit 1); exit 1; }; }; | ||
| 11668 | fi | 8117 | fi |
| 11669 | else | 8118 | else |
| 11670 | HAVE_GTK=yes | 8119 | HAVE_GTK=yes |
| 11671 | 8120 | ||
| 11672 | cat >>confdefs.h <<\_ACEOF | 8121 | $as_echo "#define USE_GTK 1" >>confdefs.h |
| 11673 | #define USE_GTK 1 | ||
| 11674 | _ACEOF | ||
| 11675 | 8122 | ||
| 11676 | USE_X_TOOLKIT=none | 8123 | USE_X_TOOLKIT=none |
| 11677 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 8124 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
| 11678 | : | 8125 | : |
| 11679 | else | 8126 | else |
| 11680 | { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with | 8127 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with |
| 11681 | closing open displays. This is no problem if you just use | 8128 | closing open displays. This is no problem if you just use |
| 11682 | one display, but if you use more than one and close one of them | 8129 | one display, but if you use more than one and close one of them |
| 11683 | Emacs may crash." >&5 | 8130 | Emacs may crash." >&5 |
| @@ -11699,101 +8146,12 @@ if test "${HAVE_GTK}" = "yes"; then | |||
| 11699 | fi | 8146 | fi |
| 11700 | 8147 | ||
| 11701 | HAVE_GTK_MULTIDISPLAY=no | 8148 | HAVE_GTK_MULTIDISPLAY=no |
| 11702 | 8149 | for ac_func in gdk_display_open | |
| 11703 | for ac_func in gdk_display_open | 8150 | do : |
| 11704 | do | 8151 | ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" |
| 11705 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8152 | if test "x$ac_cv_func_gdk_display_open" = x""yes; then : |
| 11706 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11707 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11708 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11709 | $as_echo_n "(cached) " >&6 | ||
| 11710 | else | ||
| 11711 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11712 | /* confdefs.h. */ | ||
| 11713 | _ACEOF | ||
| 11714 | cat confdefs.h >>conftest.$ac_ext | ||
| 11715 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11716 | /* end confdefs.h. */ | ||
| 11717 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11718 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11719 | #define $ac_func innocuous_$ac_func | ||
| 11720 | |||
| 11721 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11722 | which can conflict with char $ac_func (); below. | ||
| 11723 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11724 | <limits.h> exists even on freestanding compilers. */ | ||
| 11725 | |||
| 11726 | #ifdef __STDC__ | ||
| 11727 | # include <limits.h> | ||
| 11728 | #else | ||
| 11729 | # include <assert.h> | ||
| 11730 | #endif | ||
| 11731 | |||
| 11732 | #undef $ac_func | ||
| 11733 | |||
| 11734 | /* Override any GCC internal prototype to avoid an error. | ||
| 11735 | Use char because int might match the return type of a GCC | ||
| 11736 | builtin and then its argument prototype would still apply. */ | ||
| 11737 | #ifdef __cplusplus | ||
| 11738 | extern "C" | ||
| 11739 | #endif | ||
| 11740 | char $ac_func (); | ||
| 11741 | /* The GNU C library defines this for functions which it implements | ||
| 11742 | to always fail with ENOSYS. Some functions are actually named | ||
| 11743 | something starting with __ and the normal name is an alias. */ | ||
| 11744 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11745 | choke me | ||
| 11746 | #endif | ||
| 11747 | |||
| 11748 | int | ||
| 11749 | main () | ||
| 11750 | { | ||
| 11751 | return $ac_func (); | ||
| 11752 | ; | ||
| 11753 | return 0; | ||
| 11754 | } | ||
| 11755 | _ACEOF | ||
| 11756 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11757 | if { (ac_try="$ac_link" | ||
| 11758 | case "(($ac_try" in | ||
| 11759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11760 | *) ac_try_echo=$ac_try;; | ||
| 11761 | esac | ||
| 11762 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11763 | $as_echo "$ac_try_echo") >&5 | ||
| 11764 | (eval "$ac_link") 2>conftest.er1 | ||
| 11765 | ac_status=$? | ||
| 11766 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11767 | rm -f conftest.er1 | ||
| 11768 | cat conftest.err >&5 | ||
| 11769 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11770 | (exit $ac_status); } && { | ||
| 11771 | test -z "$ac_c_werror_flag" || | ||
| 11772 | test ! -s conftest.err | ||
| 11773 | } && test -s conftest$ac_exeext && { | ||
| 11774 | test "$cross_compiling" = yes || | ||
| 11775 | $as_test_x conftest$ac_exeext | ||
| 11776 | }; then | ||
| 11777 | eval "$as_ac_var=yes" | ||
| 11778 | else | ||
| 11779 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11781 | |||
| 11782 | eval "$as_ac_var=no" | ||
| 11783 | fi | ||
| 11784 | |||
| 11785 | rm -rf conftest.dSYM | ||
| 11786 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11787 | conftest$ac_exeext conftest.$ac_ext | ||
| 11788 | fi | ||
| 11789 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11790 | $as_echo "$as_val"'` | ||
| 11791 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11792 | $as_echo "$ac_res" >&6; } | ||
| 11793 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11794 | $as_echo "$as_val"'` = yes; then | ||
| 11795 | cat >>confdefs.h <<_ACEOF | 8153 | cat >>confdefs.h <<_ACEOF |
| 11796 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8154 | #define HAVE_GDK_DISPLAY_OPEN 1 |
| 11797 | _ACEOF | 8155 | _ACEOF |
| 11798 | HAVE_GTK_MULTIDISPLAY=yes | 8156 | HAVE_GTK_MULTIDISPLAY=yes |
| 11799 | fi | 8157 | fi |
| @@ -11801,170 +8159,27 @@ done | |||
| 11801 | 8159 | ||
| 11802 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 8160 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
| 11803 | 8161 | ||
| 11804 | cat >>confdefs.h <<\_ACEOF | 8162 | $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h |
| 11805 | #define HAVE_GTK_MULTIDISPLAY 1 | ||
| 11806 | _ACEOF | ||
| 11807 | 8163 | ||
| 11808 | fi | 8164 | fi |
| 11809 | 8165 | ||
| 11810 | HAVE_GTK_FILE_SELECTION=no | 8166 | HAVE_GTK_FILE_SELECTION=no |
| 11811 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 | 8167 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default |
| 11812 | $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | ||
| 11813 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then | ||
| 11814 | $as_echo_n "(cached) " >&6 | ||
| 11815 | else | ||
| 11816 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11817 | /* confdefs.h. */ | ||
| 11818 | _ACEOF | ||
| 11819 | cat confdefs.h >>conftest.$ac_ext | ||
| 11820 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11821 | /* end confdefs.h. */ | ||
| 11822 | $ac_includes_default | ||
| 11823 | #include <gtk/gtk.h> | 8168 | #include <gtk/gtk.h> |
| 11824 | 8169 | " | |
| 11825 | int | 8170 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : |
| 11826 | main () | ||
| 11827 | { | ||
| 11828 | #ifndef GTK_TYPE_FILE_SELECTION | ||
| 11829 | (void) GTK_TYPE_FILE_SELECTION; | ||
| 11830 | #endif | ||
| 11831 | |||
| 11832 | ; | ||
| 11833 | return 0; | ||
| 11834 | } | ||
| 11835 | _ACEOF | ||
| 11836 | rm -f conftest.$ac_objext | ||
| 11837 | if { (ac_try="$ac_compile" | ||
| 11838 | case "(($ac_try" in | ||
| 11839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11840 | *) ac_try_echo=$ac_try;; | ||
| 11841 | esac | ||
| 11842 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11843 | $as_echo "$ac_try_echo") >&5 | ||
| 11844 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11845 | ac_status=$? | ||
| 11846 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11847 | rm -f conftest.er1 | ||
| 11848 | cat conftest.err >&5 | ||
| 11849 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11850 | (exit $ac_status); } && { | ||
| 11851 | test -z "$ac_c_werror_flag" || | ||
| 11852 | test ! -s conftest.err | ||
| 11853 | } && test -s conftest.$ac_objext; then | ||
| 11854 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes | ||
| 11855 | else | ||
| 11856 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11857 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11858 | |||
| 11859 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no | ||
| 11860 | fi | ||
| 11861 | |||
| 11862 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11863 | fi | ||
| 11864 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 | ||
| 11865 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } | ||
| 11866 | if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then | ||
| 11867 | HAVE_GTK_FILE_SELECTION=yes | 8171 | HAVE_GTK_FILE_SELECTION=yes |
| 11868 | else | 8172 | else |
| 11869 | HAVE_GTK_FILE_SELECTION=no | 8173 | HAVE_GTK_FILE_SELECTION=no |
| 11870 | fi | 8174 | fi |
| 11871 | 8175 | ||
| 11872 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 8176 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
| 11873 | 8177 | for ac_func in gtk_file_selection_new | |
| 11874 | for ac_func in gtk_file_selection_new | 8178 | do : |
| 11875 | do | 8179 | ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" |
| 11876 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8180 | if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : |
| 11877 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11878 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11879 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11880 | $as_echo_n "(cached) " >&6 | ||
| 11881 | else | ||
| 11882 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11883 | /* confdefs.h. */ | ||
| 11884 | _ACEOF | ||
| 11885 | cat confdefs.h >>conftest.$ac_ext | ||
| 11886 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11887 | /* end confdefs.h. */ | ||
| 11888 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11889 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11890 | #define $ac_func innocuous_$ac_func | ||
| 11891 | |||
| 11892 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11893 | which can conflict with char $ac_func (); below. | ||
| 11894 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11895 | <limits.h> exists even on freestanding compilers. */ | ||
| 11896 | |||
| 11897 | #ifdef __STDC__ | ||
| 11898 | # include <limits.h> | ||
| 11899 | #else | ||
| 11900 | # include <assert.h> | ||
| 11901 | #endif | ||
| 11902 | |||
| 11903 | #undef $ac_func | ||
| 11904 | |||
| 11905 | /* Override any GCC internal prototype to avoid an error. | ||
| 11906 | Use char because int might match the return type of a GCC | ||
| 11907 | builtin and then its argument prototype would still apply. */ | ||
| 11908 | #ifdef __cplusplus | ||
| 11909 | extern "C" | ||
| 11910 | #endif | ||
| 11911 | char $ac_func (); | ||
| 11912 | /* The GNU C library defines this for functions which it implements | ||
| 11913 | to always fail with ENOSYS. Some functions are actually named | ||
| 11914 | something starting with __ and the normal name is an alias. */ | ||
| 11915 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11916 | choke me | ||
| 11917 | #endif | ||
| 11918 | |||
| 11919 | int | ||
| 11920 | main () | ||
| 11921 | { | ||
| 11922 | return $ac_func (); | ||
| 11923 | ; | ||
| 11924 | return 0; | ||
| 11925 | } | ||
| 11926 | _ACEOF | ||
| 11927 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11928 | if { (ac_try="$ac_link" | ||
| 11929 | case "(($ac_try" in | ||
| 11930 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11931 | *) ac_try_echo=$ac_try;; | ||
| 11932 | esac | ||
| 11933 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11934 | $as_echo "$ac_try_echo") >&5 | ||
| 11935 | (eval "$ac_link") 2>conftest.er1 | ||
| 11936 | ac_status=$? | ||
| 11937 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11938 | rm -f conftest.er1 | ||
| 11939 | cat conftest.err >&5 | ||
| 11940 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11941 | (exit $ac_status); } && { | ||
| 11942 | test -z "$ac_c_werror_flag" || | ||
| 11943 | test ! -s conftest.err | ||
| 11944 | } && test -s conftest$ac_exeext && { | ||
| 11945 | test "$cross_compiling" = yes || | ||
| 11946 | $as_test_x conftest$ac_exeext | ||
| 11947 | }; then | ||
| 11948 | eval "$as_ac_var=yes" | ||
| 11949 | else | ||
| 11950 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11951 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11952 | |||
| 11953 | eval "$as_ac_var=no" | ||
| 11954 | fi | ||
| 11955 | |||
| 11956 | rm -rf conftest.dSYM | ||
| 11957 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11958 | conftest$ac_exeext conftest.$ac_ext | ||
| 11959 | fi | ||
| 11960 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11961 | $as_echo "$as_val"'` | ||
| 11962 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11963 | $as_echo "$ac_res" >&6; } | ||
| 11964 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11965 | $as_echo "$as_val"'` = yes; then | ||
| 11966 | cat >>confdefs.h <<_ACEOF | 8181 | cat >>confdefs.h <<_ACEOF |
| 11967 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8182 | #define HAVE_GTK_FILE_SELECTION_NEW 1 |
| 11968 | _ACEOF | 8183 | _ACEOF |
| 11969 | HAVE_GTK_FILE_SELECTION=yes | 8184 | HAVE_GTK_FILE_SELECTION=yes |
| 11970 | else | 8185 | else |
| @@ -11975,163 +8190,22 @@ done | |||
| 11975 | fi | 8190 | fi |
| 11976 | 8191 | ||
| 11977 | HAVE_GTK_FILE_CHOOSER=no | 8192 | HAVE_GTK_FILE_CHOOSER=no |
| 11978 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 | 8193 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default |
| 11979 | $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | ||
| 11980 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then | ||
| 11981 | $as_echo_n "(cached) " >&6 | ||
| 11982 | else | ||
| 11983 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11984 | /* confdefs.h. */ | ||
| 11985 | _ACEOF | ||
| 11986 | cat confdefs.h >>conftest.$ac_ext | ||
| 11987 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11988 | /* end confdefs.h. */ | ||
| 11989 | $ac_includes_default | ||
| 11990 | #include <gtk/gtk.h> | 8194 | #include <gtk/gtk.h> |
| 11991 | 8195 | " | |
| 11992 | int | 8196 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : |
| 11993 | main () | ||
| 11994 | { | ||
| 11995 | #ifndef GTK_TYPE_FILE_CHOOSER | ||
| 11996 | (void) GTK_TYPE_FILE_CHOOSER; | ||
| 11997 | #endif | ||
| 11998 | |||
| 11999 | ; | ||
| 12000 | return 0; | ||
| 12001 | } | ||
| 12002 | _ACEOF | ||
| 12003 | rm -f conftest.$ac_objext | ||
| 12004 | if { (ac_try="$ac_compile" | ||
| 12005 | case "(($ac_try" in | ||
| 12006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12007 | *) ac_try_echo=$ac_try;; | ||
| 12008 | esac | ||
| 12009 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12010 | $as_echo "$ac_try_echo") >&5 | ||
| 12011 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12012 | ac_status=$? | ||
| 12013 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12014 | rm -f conftest.er1 | ||
| 12015 | cat conftest.err >&5 | ||
| 12016 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12017 | (exit $ac_status); } && { | ||
| 12018 | test -z "$ac_c_werror_flag" || | ||
| 12019 | test ! -s conftest.err | ||
| 12020 | } && test -s conftest.$ac_objext; then | ||
| 12021 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes | ||
| 12022 | else | ||
| 12023 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12024 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12025 | |||
| 12026 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no | ||
| 12027 | fi | ||
| 12028 | |||
| 12029 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12030 | fi | ||
| 12031 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 | ||
| 12032 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } | ||
| 12033 | if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then | ||
| 12034 | HAVE_GTK_FILE_CHOOSER=yes | 8197 | HAVE_GTK_FILE_CHOOSER=yes |
| 12035 | else | 8198 | else |
| 12036 | HAVE_GTK_FILE_CHOOSER=no | 8199 | HAVE_GTK_FILE_CHOOSER=no |
| 12037 | fi | 8200 | fi |
| 12038 | 8201 | ||
| 12039 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 8202 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 12040 | 8203 | for ac_func in gtk_file_chooser_dialog_new | |
| 12041 | for ac_func in gtk_file_chooser_dialog_new | 8204 | do : |
| 12042 | do | 8205 | ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" |
| 12043 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8206 | if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : |
| 12044 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12045 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12046 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12047 | $as_echo_n "(cached) " >&6 | ||
| 12048 | else | ||
| 12049 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12050 | /* confdefs.h. */ | ||
| 12051 | _ACEOF | ||
| 12052 | cat confdefs.h >>conftest.$ac_ext | ||
| 12053 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12054 | /* end confdefs.h. */ | ||
| 12055 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12056 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12057 | #define $ac_func innocuous_$ac_func | ||
| 12058 | |||
| 12059 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12060 | which can conflict with char $ac_func (); below. | ||
| 12061 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12062 | <limits.h> exists even on freestanding compilers. */ | ||
| 12063 | |||
| 12064 | #ifdef __STDC__ | ||
| 12065 | # include <limits.h> | ||
| 12066 | #else | ||
| 12067 | # include <assert.h> | ||
| 12068 | #endif | ||
| 12069 | |||
| 12070 | #undef $ac_func | ||
| 12071 | |||
| 12072 | /* Override any GCC internal prototype to avoid an error. | ||
| 12073 | Use char because int might match the return type of a GCC | ||
| 12074 | builtin and then its argument prototype would still apply. */ | ||
| 12075 | #ifdef __cplusplus | ||
| 12076 | extern "C" | ||
| 12077 | #endif | ||
| 12078 | char $ac_func (); | ||
| 12079 | /* The GNU C library defines this for functions which it implements | ||
| 12080 | to always fail with ENOSYS. Some functions are actually named | ||
| 12081 | something starting with __ and the normal name is an alias. */ | ||
| 12082 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12083 | choke me | ||
| 12084 | #endif | ||
| 12085 | |||
| 12086 | int | ||
| 12087 | main () | ||
| 12088 | { | ||
| 12089 | return $ac_func (); | ||
| 12090 | ; | ||
| 12091 | return 0; | ||
| 12092 | } | ||
| 12093 | _ACEOF | ||
| 12094 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12095 | if { (ac_try="$ac_link" | ||
| 12096 | case "(($ac_try" in | ||
| 12097 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12098 | *) ac_try_echo=$ac_try;; | ||
| 12099 | esac | ||
| 12100 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12101 | $as_echo "$ac_try_echo") >&5 | ||
| 12102 | (eval "$ac_link") 2>conftest.er1 | ||
| 12103 | ac_status=$? | ||
| 12104 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12105 | rm -f conftest.er1 | ||
| 12106 | cat conftest.err >&5 | ||
| 12107 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12108 | (exit $ac_status); } && { | ||
| 12109 | test -z "$ac_c_werror_flag" || | ||
| 12110 | test ! -s conftest.err | ||
| 12111 | } && test -s conftest$ac_exeext && { | ||
| 12112 | test "$cross_compiling" = yes || | ||
| 12113 | $as_test_x conftest$ac_exeext | ||
| 12114 | }; then | ||
| 12115 | eval "$as_ac_var=yes" | ||
| 12116 | else | ||
| 12117 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12118 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12119 | |||
| 12120 | eval "$as_ac_var=no" | ||
| 12121 | fi | ||
| 12122 | |||
| 12123 | rm -rf conftest.dSYM | ||
| 12124 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12125 | conftest$ac_exeext conftest.$ac_ext | ||
| 12126 | fi | ||
| 12127 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12128 | $as_echo "$as_val"'` | ||
| 12129 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12130 | $as_echo "$ac_res" >&6; } | ||
| 12131 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12132 | $as_echo "$as_val"'` = yes; then | ||
| 12133 | cat >>confdefs.h <<_ACEOF | 8207 | cat >>confdefs.h <<_ACEOF |
| 12134 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8208 | #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 |
| 12135 | _ACEOF | 8209 | _ACEOF |
| 12136 | HAVE_GTK_FILE_CHOOSER=yes | 8210 | HAVE_GTK_FILE_CHOOSER=yes |
| 12137 | else | 8211 | else |
| @@ -12144,153 +8218,18 @@ done | |||
| 12144 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 8218 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
| 12145 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 8219 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 12146 | 8220 | ||
| 12147 | cat >>confdefs.h <<\_ACEOF | 8221 | $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h |
| 12148 | #define HAVE_GTK_FILE_BOTH 1 | ||
| 12149 | _ACEOF | ||
| 12150 | 8222 | ||
| 12151 | fi | 8223 | fi |
| 12152 | 8224 | ||
| 12153 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 8225 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 12154 | HAVE_GTK_AND_PTHREAD=no | 8226 | HAVE_GTK_AND_PTHREAD=no |
| 12155 | 8227 | for ac_header in pthread.h | |
| 12156 | for ac_header in pthread.h | 8228 | do : |
| 12157 | do | 8229 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
| 12158 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8230 | if test "x$ac_cv_header_pthread_h" = x""yes; then : |
| 12159 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12160 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12161 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12162 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12163 | $as_echo_n "(cached) " >&6 | ||
| 12164 | fi | ||
| 12165 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12166 | $as_echo "$as_val"'` | ||
| 12167 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12168 | $as_echo "$ac_res" >&6; } | ||
| 12169 | else | ||
| 12170 | # Is the header compilable? | ||
| 12171 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 12172 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 12173 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12174 | /* confdefs.h. */ | ||
| 12175 | _ACEOF | ||
| 12176 | cat confdefs.h >>conftest.$ac_ext | ||
| 12177 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12178 | /* end confdefs.h. */ | ||
| 12179 | $ac_includes_default | ||
| 12180 | #include <$ac_header> | ||
| 12181 | _ACEOF | ||
| 12182 | rm -f conftest.$ac_objext | ||
| 12183 | if { (ac_try="$ac_compile" | ||
| 12184 | case "(($ac_try" in | ||
| 12185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12186 | *) ac_try_echo=$ac_try;; | ||
| 12187 | esac | ||
| 12188 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12189 | $as_echo "$ac_try_echo") >&5 | ||
| 12190 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12191 | ac_status=$? | ||
| 12192 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12193 | rm -f conftest.er1 | ||
| 12194 | cat conftest.err >&5 | ||
| 12195 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12196 | (exit $ac_status); } && { | ||
| 12197 | test -z "$ac_c_werror_flag" || | ||
| 12198 | test ! -s conftest.err | ||
| 12199 | } && test -s conftest.$ac_objext; then | ||
| 12200 | ac_header_compiler=yes | ||
| 12201 | else | ||
| 12202 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12203 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12204 | |||
| 12205 | ac_header_compiler=no | ||
| 12206 | fi | ||
| 12207 | |||
| 12208 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12209 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 12210 | $as_echo "$ac_header_compiler" >&6; } | ||
| 12211 | |||
| 12212 | # Is the header present? | ||
| 12213 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 12214 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 12215 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12216 | /* confdefs.h. */ | ||
| 12217 | _ACEOF | ||
| 12218 | cat confdefs.h >>conftest.$ac_ext | ||
| 12219 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12220 | /* end confdefs.h. */ | ||
| 12221 | #include <$ac_header> | ||
| 12222 | _ACEOF | ||
| 12223 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 12224 | case "(($ac_try" in | ||
| 12225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12226 | *) ac_try_echo=$ac_try;; | ||
| 12227 | esac | ||
| 12228 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12229 | $as_echo "$ac_try_echo") >&5 | ||
| 12230 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12231 | ac_status=$? | ||
| 12232 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12233 | rm -f conftest.er1 | ||
| 12234 | cat conftest.err >&5 | ||
| 12235 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12236 | (exit $ac_status); } >/dev/null && { | ||
| 12237 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 12238 | test ! -s conftest.err | ||
| 12239 | }; then | ||
| 12240 | ac_header_preproc=yes | ||
| 12241 | else | ||
| 12242 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12243 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12244 | |||
| 12245 | ac_header_preproc=no | ||
| 12246 | fi | ||
| 12247 | |||
| 12248 | rm -f conftest.err conftest.$ac_ext | ||
| 12249 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 12250 | $as_echo "$ac_header_preproc" >&6; } | ||
| 12251 | |||
| 12252 | # So? What about this header? | ||
| 12253 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 12254 | yes:no: ) | ||
| 12255 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 12256 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 12257 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 12258 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 12259 | ac_header_preproc=yes | ||
| 12260 | ;; | ||
| 12261 | no:yes:* ) | ||
| 12262 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 12263 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 12264 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 12265 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 12266 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 12267 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 12268 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 12269 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 12270 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 12271 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 12272 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 12273 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 12274 | |||
| 12275 | ;; | ||
| 12276 | esac | ||
| 12277 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12278 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12279 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12280 | $as_echo_n "(cached) " >&6 | ||
| 12281 | else | ||
| 12282 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 12283 | fi | ||
| 12284 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12285 | $as_echo "$as_val"'` | ||
| 12286 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12287 | $as_echo "$ac_res" >&6; } | ||
| 12288 | |||
| 12289 | fi | ||
| 12290 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 12291 | $as_echo "$as_val"'` = yes; then | ||
| 12292 | cat >>confdefs.h <<_ACEOF | 8231 | cat >>confdefs.h <<_ACEOF |
| 12293 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8232 | #define HAVE_PTHREAD_H 1 |
| 12294 | _ACEOF | 8233 | _ACEOF |
| 12295 | 8234 | ||
| 12296 | fi | 8235 | fi |
| @@ -12298,18 +8237,14 @@ fi | |||
| 12298 | done | 8237 | done |
| 12299 | 8238 | ||
| 12300 | if test "$ac_cv_header_pthread_h"; then | 8239 | if test "$ac_cv_header_pthread_h"; then |
| 12301 | { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 | 8240 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 |
| 12302 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 8241 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
| 12303 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then | 8242 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : |
| 12304 | $as_echo_n "(cached) " >&6 | 8243 | $as_echo_n "(cached) " >&6 |
| 12305 | else | 8244 | else |
| 12306 | ac_check_lib_save_LIBS=$LIBS | 8245 | ac_check_lib_save_LIBS=$LIBS |
| 12307 | LIBS="-lpthread $LIBS" | 8246 | LIBS="-lpthread $LIBS" |
| 12308 | cat >conftest.$ac_ext <<_ACEOF | 8247 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12309 | /* confdefs.h. */ | ||
| 12310 | _ACEOF | ||
| 12311 | cat confdefs.h >>conftest.$ac_ext | ||
| 12312 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12313 | /* end confdefs.h. */ | 8248 | /* end confdefs.h. */ |
| 12314 | 8249 | ||
| 12315 | /* Override any GCC internal prototype to avoid an error. | 8250 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12327,43 +8262,18 @@ return pthread_self (); | |||
| 12327 | return 0; | 8262 | return 0; |
| 12328 | } | 8263 | } |
| 12329 | _ACEOF | 8264 | _ACEOF |
| 12330 | rm -f conftest.$ac_objext conftest$ac_exeext | 8265 | if ac_fn_c_try_link "$LINENO"; then : |
| 12331 | if { (ac_try="$ac_link" | ||
| 12332 | case "(($ac_try" in | ||
| 12333 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12334 | *) ac_try_echo=$ac_try;; | ||
| 12335 | esac | ||
| 12336 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12337 | $as_echo "$ac_try_echo") >&5 | ||
| 12338 | (eval "$ac_link") 2>conftest.er1 | ||
| 12339 | ac_status=$? | ||
| 12340 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12341 | rm -f conftest.er1 | ||
| 12342 | cat conftest.err >&5 | ||
| 12343 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12344 | (exit $ac_status); } && { | ||
| 12345 | test -z "$ac_c_werror_flag" || | ||
| 12346 | test ! -s conftest.err | ||
| 12347 | } && test -s conftest$ac_exeext && { | ||
| 12348 | test "$cross_compiling" = yes || | ||
| 12349 | $as_test_x conftest$ac_exeext | ||
| 12350 | }; then | ||
| 12351 | ac_cv_lib_pthread_pthread_self=yes | 8266 | ac_cv_lib_pthread_pthread_self=yes |
| 12352 | else | 8267 | else |
| 12353 | $as_echo "$as_me: failed program was:" >&5 | 8268 | ac_cv_lib_pthread_pthread_self=no |
| 12354 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12355 | |||
| 12356 | ac_cv_lib_pthread_pthread_self=no | ||
| 12357 | fi | 8269 | fi |
| 12358 | 8270 | rm -f core conftest.err conftest.$ac_objext \ | |
| 12359 | rm -rf conftest.dSYM | 8271 | conftest$ac_exeext conftest.$ac_ext |
| 12360 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12361 | conftest$ac_exeext conftest.$ac_ext | ||
| 12362 | LIBS=$ac_check_lib_save_LIBS | 8272 | LIBS=$ac_check_lib_save_LIBS |
| 12363 | fi | 8273 | fi |
| 12364 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 | 8274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 |
| 12365 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 8275 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
| 12366 | if test $ac_cv_lib_pthread_pthread_self = yes; then | 8276 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : |
| 12367 | HAVE_GTK_AND_PTHREAD=yes | 8277 | HAVE_GTK_AND_PTHREAD=yes |
| 12368 | fi | 8278 | fi |
| 12369 | 8279 | ||
| @@ -12374,9 +8284,7 @@ fi | |||
| 12374 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 8284 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
| 12375 | esac | 8285 | esac |
| 12376 | 8286 | ||
| 12377 | cat >>confdefs.h <<\_ACEOF | 8287 | $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h |
| 12378 | #define HAVE_GTK_AND_PTHREAD 1 | ||
| 12379 | _ACEOF | ||
| 12380 | 8288 | ||
| 12381 | fi | 8289 | fi |
| 12382 | fi | 8290 | fi |
| @@ -12389,9 +8297,9 @@ if test "${with_dbus}" = "yes"; then | |||
| 12389 | 8297 | ||
| 12390 | # Extract the first word of "pkg-config", so it can be a program name with args. | 8298 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 12391 | set dummy pkg-config; ac_word=$2 | 8299 | set dummy pkg-config; ac_word=$2 |
| 12392 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12393 | $as_echo_n "checking for $ac_word... " >&6; } | 8301 | $as_echo_n "checking for $ac_word... " >&6; } |
| 12394 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8302 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 12395 | $as_echo_n "(cached) " >&6 | 8303 | $as_echo_n "(cached) " >&6 |
| 12396 | else | 8304 | else |
| 12397 | case $PKG_CONFIG in | 8305 | case $PKG_CONFIG in |
| @@ -12404,14 +8312,14 @@ for as_dir in $PATH | |||
| 12404 | do | 8312 | do |
| 12405 | IFS=$as_save_IFS | 8313 | IFS=$as_save_IFS |
| 12406 | test -z "$as_dir" && as_dir=. | 8314 | test -z "$as_dir" && as_dir=. |
| 12407 | for ac_exec_ext in '' $ac_executable_extensions; do | 8315 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12408 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8316 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 12409 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8317 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 12410 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8318 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 12411 | break 2 | 8319 | break 2 |
| 12412 | fi | 8320 | fi |
| 12413 | done | 8321 | done |
| 12414 | done | 8322 | done |
| 12415 | IFS=$as_save_IFS | 8323 | IFS=$as_save_IFS |
| 12416 | 8324 | ||
| 12417 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8325 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -12420,10 +8328,10 @@ esac | |||
| 12420 | fi | 8328 | fi |
| 12421 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8329 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 12422 | if test -n "$PKG_CONFIG"; then | 8330 | if test -n "$PKG_CONFIG"; then |
| 12423 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 12424 | $as_echo "$PKG_CONFIG" >&6; } | 8332 | $as_echo "$PKG_CONFIG" >&6; } |
| 12425 | else | 8333 | else |
| 12426 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12427 | $as_echo "no" >&6; } | 8335 | $as_echo "no" >&6; } |
| 12428 | fi | 8336 | fi |
| 12429 | 8337 | ||
| @@ -12434,27 +8342,27 @@ fi | |||
| 12434 | else | 8342 | else |
| 12435 | PKG_CONFIG_MIN_VERSION=0.9.0 | 8343 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 12436 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8344 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 12437 | { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 | 8345 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 |
| 12438 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 8346 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
| 12439 | 8347 | ||
| 12440 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 8348 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
| 12441 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12442 | $as_echo "yes" >&6; } | 8350 | $as_echo "yes" >&6; } |
| 12443 | succeeded=yes | 8351 | succeeded=yes |
| 12444 | 8352 | ||
| 12445 | { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 | 8353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 |
| 12446 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 8354 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
| 12447 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 8355 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 12448 | { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 | 8356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 |
| 12449 | $as_echo "$DBUS_CFLAGS" >&6; } | 8357 | $as_echo "$DBUS_CFLAGS" >&6; } |
| 12450 | 8358 | ||
| 12451 | { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 | 8359 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 |
| 12452 | $as_echo_n "checking DBUS_LIBS... " >&6; } | 8360 | $as_echo_n "checking DBUS_LIBS... " >&6; } |
| 12453 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 8361 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 12454 | { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 | 8362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 |
| 12455 | $as_echo "$DBUS_LIBS" >&6; } | 8363 | $as_echo "$DBUS_LIBS" >&6; } |
| 12456 | else | 8364 | else |
| 12457 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12458 | $as_echo "no" >&6; } | 8366 | $as_echo "no" >&6; } |
| 12459 | DBUS_CFLAGS="" | 8367 | DBUS_CFLAGS="" |
| 12460 | DBUS_LIBS="" | 8368 | DBUS_LIBS="" |
| @@ -12481,105 +8389,14 @@ $as_echo "no" >&6; } | |||
| 12481 | if test "$HAVE_DBUS" = yes; then | 8389 | if test "$HAVE_DBUS" = yes; then |
| 12482 | LIBS="$LIBS $DBUS_LIBS" | 8390 | LIBS="$LIBS $DBUS_LIBS" |
| 12483 | 8391 | ||
| 12484 | cat >>confdefs.h <<\_ACEOF | 8392 | $as_echo "#define HAVE_DBUS 1" >>confdefs.h |
| 12485 | #define HAVE_DBUS 1 | ||
| 12486 | _ACEOF | ||
| 12487 | |||
| 12488 | |||
| 12489 | for ac_func in dbus_watch_get_unix_fd | ||
| 12490 | do | ||
| 12491 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 12492 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12493 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12494 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12495 | $as_echo_n "(cached) " >&6 | ||
| 12496 | else | ||
| 12497 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12498 | /* confdefs.h. */ | ||
| 12499 | _ACEOF | ||
| 12500 | cat confdefs.h >>conftest.$ac_ext | ||
| 12501 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12502 | /* end confdefs.h. */ | ||
| 12503 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12504 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12505 | #define $ac_func innocuous_$ac_func | ||
| 12506 | |||
| 12507 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12508 | which can conflict with char $ac_func (); below. | ||
| 12509 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12510 | <limits.h> exists even on freestanding compilers. */ | ||
| 12511 | |||
| 12512 | #ifdef __STDC__ | ||
| 12513 | # include <limits.h> | ||
| 12514 | #else | ||
| 12515 | # include <assert.h> | ||
| 12516 | #endif | ||
| 12517 | |||
| 12518 | #undef $ac_func | ||
| 12519 | 8393 | ||
| 12520 | /* Override any GCC internal prototype to avoid an error. | 8394 | for ac_func in dbus_watch_get_unix_fd |
| 12521 | Use char because int might match the return type of a GCC | 8395 | do : |
| 12522 | builtin and then its argument prototype would still apply. */ | 8396 | ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" |
| 12523 | #ifdef __cplusplus | 8397 | if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : |
| 12524 | extern "C" | ||
| 12525 | #endif | ||
| 12526 | char $ac_func (); | ||
| 12527 | /* The GNU C library defines this for functions which it implements | ||
| 12528 | to always fail with ENOSYS. Some functions are actually named | ||
| 12529 | something starting with __ and the normal name is an alias. */ | ||
| 12530 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12531 | choke me | ||
| 12532 | #endif | ||
| 12533 | |||
| 12534 | int | ||
| 12535 | main () | ||
| 12536 | { | ||
| 12537 | return $ac_func (); | ||
| 12538 | ; | ||
| 12539 | return 0; | ||
| 12540 | } | ||
| 12541 | _ACEOF | ||
| 12542 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12543 | if { (ac_try="$ac_link" | ||
| 12544 | case "(($ac_try" in | ||
| 12545 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12546 | *) ac_try_echo=$ac_try;; | ||
| 12547 | esac | ||
| 12548 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12549 | $as_echo "$ac_try_echo") >&5 | ||
| 12550 | (eval "$ac_link") 2>conftest.er1 | ||
| 12551 | ac_status=$? | ||
| 12552 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12553 | rm -f conftest.er1 | ||
| 12554 | cat conftest.err >&5 | ||
| 12555 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12556 | (exit $ac_status); } && { | ||
| 12557 | test -z "$ac_c_werror_flag" || | ||
| 12558 | test ! -s conftest.err | ||
| 12559 | } && test -s conftest$ac_exeext && { | ||
| 12560 | test "$cross_compiling" = yes || | ||
| 12561 | $as_test_x conftest$ac_exeext | ||
| 12562 | }; then | ||
| 12563 | eval "$as_ac_var=yes" | ||
| 12564 | else | ||
| 12565 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12566 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12567 | |||
| 12568 | eval "$as_ac_var=no" | ||
| 12569 | fi | ||
| 12570 | |||
| 12571 | rm -rf conftest.dSYM | ||
| 12572 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12573 | conftest$ac_exeext conftest.$ac_ext | ||
| 12574 | fi | ||
| 12575 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12576 | $as_echo "$as_val"'` | ||
| 12577 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12578 | $as_echo "$ac_res" >&6; } | ||
| 12579 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12580 | $as_echo "$as_val"'` = yes; then | ||
| 12581 | cat >>confdefs.h <<_ACEOF | 8398 | cat >>confdefs.h <<_ACEOF |
| 12582 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8399 | #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 |
| 12583 | _ACEOF | 8400 | _ACEOF |
| 12584 | 8401 | ||
| 12585 | fi | 8402 | fi |
| @@ -12595,9 +8412,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then | |||
| 12595 | 8412 | ||
| 12596 | # Extract the first word of "pkg-config", so it can be a program name with args. | 8413 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 12597 | set dummy pkg-config; ac_word=$2 | 8414 | set dummy pkg-config; ac_word=$2 |
| 12598 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8415 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12599 | $as_echo_n "checking for $ac_word... " >&6; } | 8416 | $as_echo_n "checking for $ac_word... " >&6; } |
| 12600 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8417 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 12601 | $as_echo_n "(cached) " >&6 | 8418 | $as_echo_n "(cached) " >&6 |
| 12602 | else | 8419 | else |
| 12603 | case $PKG_CONFIG in | 8420 | case $PKG_CONFIG in |
| @@ -12610,14 +8427,14 @@ for as_dir in $PATH | |||
| 12610 | do | 8427 | do |
| 12611 | IFS=$as_save_IFS | 8428 | IFS=$as_save_IFS |
| 12612 | test -z "$as_dir" && as_dir=. | 8429 | test -z "$as_dir" && as_dir=. |
| 12613 | for ac_exec_ext in '' $ac_executable_extensions; do | 8430 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12614 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8431 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 12615 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8432 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 12616 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8433 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 12617 | break 2 | 8434 | break 2 |
| 12618 | fi | 8435 | fi |
| 12619 | done | 8436 | done |
| 12620 | done | 8437 | done |
| 12621 | IFS=$as_save_IFS | 8438 | IFS=$as_save_IFS |
| 12622 | 8439 | ||
| 12623 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8440 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -12626,10 +8443,10 @@ esac | |||
| 12626 | fi | 8443 | fi |
| 12627 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8444 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 12628 | if test -n "$PKG_CONFIG"; then | 8445 | if test -n "$PKG_CONFIG"; then |
| 12629 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 12630 | $as_echo "$PKG_CONFIG" >&6; } | 8447 | $as_echo "$PKG_CONFIG" >&6; } |
| 12631 | else | 8448 | else |
| 12632 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8449 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12633 | $as_echo "no" >&6; } | 8450 | $as_echo "no" >&6; } |
| 12634 | fi | 8451 | fi |
| 12635 | 8452 | ||
| @@ -12640,27 +8457,27 @@ fi | |||
| 12640 | else | 8457 | else |
| 12641 | PKG_CONFIG_MIN_VERSION=0.9.0 | 8458 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 12642 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8459 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 12643 | { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 | 8460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 |
| 12644 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 8461 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
| 12645 | 8462 | ||
| 12646 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 8463 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
| 12647 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12648 | $as_echo "yes" >&6; } | 8465 | $as_echo "yes" >&6; } |
| 12649 | succeeded=yes | 8466 | succeeded=yes |
| 12650 | 8467 | ||
| 12651 | { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 | 8468 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 |
| 12652 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 8469 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
| 12653 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 8470 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 12654 | { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 | 8471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 |
| 12655 | $as_echo "$GCONF_CFLAGS" >&6; } | 8472 | $as_echo "$GCONF_CFLAGS" >&6; } |
| 12656 | 8473 | ||
| 12657 | { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 | 8474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 |
| 12658 | $as_echo_n "checking GCONF_LIBS... " >&6; } | 8475 | $as_echo_n "checking GCONF_LIBS... " >&6; } |
| 12659 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 8476 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 12660 | { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 | 8477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 |
| 12661 | $as_echo "$GCONF_LIBS" >&6; } | 8478 | $as_echo "$GCONF_LIBS" >&6; } |
| 12662 | else | 8479 | else |
| 12663 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12664 | $as_echo "no" >&6; } | 8481 | $as_echo "no" >&6; } |
| 12665 | GCONF_CFLAGS="" | 8482 | GCONF_CFLAGS="" |
| 12666 | GCONF_LIBS="" | 8483 | GCONF_LIBS="" |
| @@ -12686,9 +8503,7 @@ $as_echo "no" >&6; } | |||
| 12686 | 8503 | ||
| 12687 | if test "$HAVE_GCONF" = yes; then | 8504 | if test "$HAVE_GCONF" = yes; then |
| 12688 | 8505 | ||
| 12689 | cat >>confdefs.h <<\_ACEOF | 8506 | $as_echo "#define HAVE_GCONF 1" >>confdefs.h |
| 12690 | #define HAVE_GCONF 1 | ||
| 12691 | _ACEOF | ||
| 12692 | 8507 | ||
| 12693 | fi | 8508 | fi |
| 12694 | fi | 8509 | fi |
| @@ -12696,16 +8511,12 @@ fi | |||
| 12696 | HAVE_XAW3D=no | 8511 | HAVE_XAW3D=no |
| 12697 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 8512 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 12698 | if test "$with_xaw3d" != no; then | 8513 | if test "$with_xaw3d" != no; then |
| 12699 | { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 | 8514 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 |
| 12700 | $as_echo_n "checking for xaw3d... " >&6; } | 8515 | $as_echo_n "checking for xaw3d... " >&6; } |
| 12701 | if test "${emacs_cv_xaw3d+set}" = set; then | 8516 | if test "${emacs_cv_xaw3d+set}" = set; then : |
| 12702 | $as_echo_n "(cached) " >&6 | 8517 | $as_echo_n "(cached) " >&6 |
| 12703 | else | 8518 | else |
| 12704 | cat >conftest.$ac_ext <<_ACEOF | 8519 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12705 | /* confdefs.h. */ | ||
| 12706 | _ACEOF | ||
| 12707 | cat confdefs.h >>conftest.$ac_ext | ||
| 12708 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12709 | /* end confdefs.h. */ | 8520 | /* end confdefs.h. */ |
| 12710 | 8521 | ||
| 12711 | #include <X11/Intrinsic.h> | 8522 | #include <X11/Intrinsic.h> |
| @@ -12718,66 +8529,35 @@ main () | |||
| 12718 | return 0; | 8529 | return 0; |
| 12719 | } | 8530 | } |
| 12720 | _ACEOF | 8531 | _ACEOF |
| 12721 | rm -f conftest.$ac_objext conftest$ac_exeext | 8532 | if ac_fn_c_try_link "$LINENO"; then : |
| 12722 | if { (ac_try="$ac_link" | ||
| 12723 | case "(($ac_try" in | ||
| 12724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12725 | *) ac_try_echo=$ac_try;; | ||
| 12726 | esac | ||
| 12727 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12728 | $as_echo "$ac_try_echo") >&5 | ||
| 12729 | (eval "$ac_link") 2>conftest.er1 | ||
| 12730 | ac_status=$? | ||
| 12731 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12732 | rm -f conftest.er1 | ||
| 12733 | cat conftest.err >&5 | ||
| 12734 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12735 | (exit $ac_status); } && { | ||
| 12736 | test -z "$ac_c_werror_flag" || | ||
| 12737 | test ! -s conftest.err | ||
| 12738 | } && test -s conftest$ac_exeext && { | ||
| 12739 | test "$cross_compiling" = yes || | ||
| 12740 | $as_test_x conftest$ac_exeext | ||
| 12741 | }; then | ||
| 12742 | emacs_cv_xaw3d=yes | 8533 | emacs_cv_xaw3d=yes |
| 12743 | else | 8534 | else |
| 12744 | $as_echo "$as_me: failed program was:" >&5 | 8535 | emacs_cv_xaw3d=no |
| 12745 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12746 | |||
| 12747 | emacs_cv_xaw3d=no | ||
| 12748 | fi | 8536 | fi |
| 12749 | 8537 | rm -f core conftest.err conftest.$ac_objext \ | |
| 12750 | rm -rf conftest.dSYM | 8538 | conftest$ac_exeext conftest.$ac_ext |
| 12751 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12752 | conftest$ac_exeext conftest.$ac_ext | ||
| 12753 | fi | 8539 | fi |
| 12754 | 8540 | ||
| 12755 | else | 8541 | else |
| 12756 | emacs_cv_xaw3d=no | 8542 | emacs_cv_xaw3d=no |
| 12757 | fi | 8543 | fi |
| 12758 | if test $emacs_cv_xaw3d = yes; then | 8544 | if test $emacs_cv_xaw3d = yes; then |
| 12759 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 | 8545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
| 12760 | $as_echo "yes; using Lucid toolkit" >&6; } | 8546 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 12761 | USE_X_TOOLKIT=LUCID | 8547 | USE_X_TOOLKIT=LUCID |
| 12762 | HAVE_XAW3D=yes | 8548 | HAVE_XAW3D=yes |
| 12763 | 8549 | ||
| 12764 | cat >>confdefs.h <<\_ACEOF | 8550 | $as_echo "#define HAVE_XAW3D 1" >>confdefs.h |
| 12765 | #define HAVE_XAW3D 1 | ||
| 12766 | _ACEOF | ||
| 12767 | 8551 | ||
| 12768 | else | 8552 | else |
| 12769 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 8553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12770 | $as_echo "no" >&6; } | 8554 | $as_echo "no" >&6; } |
| 12771 | { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 | 8555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 |
| 12772 | $as_echo_n "checking for libXaw... " >&6; } | 8556 | $as_echo_n "checking for libXaw... " >&6; } |
| 12773 | if test "${emacs_cv_xaw+set}" = set; then | 8557 | if test "${emacs_cv_xaw+set}" = set; then : |
| 12774 | $as_echo_n "(cached) " >&6 | 8558 | $as_echo_n "(cached) " >&6 |
| 12775 | else | 8559 | else |
| 12776 | cat >conftest.$ac_ext <<_ACEOF | 8560 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12777 | /* confdefs.h. */ | ||
| 12778 | _ACEOF | ||
| 12779 | cat confdefs.h >>conftest.$ac_ext | ||
| 12780 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12781 | /* end confdefs.h. */ | 8561 | /* end confdefs.h. */ |
| 12782 | 8562 | ||
| 12783 | #include <X11/Intrinsic.h> | 8563 | #include <X11/Intrinsic.h> |
| @@ -12790,50 +8570,23 @@ main () | |||
| 12790 | return 0; | 8570 | return 0; |
| 12791 | } | 8571 | } |
| 12792 | _ACEOF | 8572 | _ACEOF |
| 12793 | rm -f conftest.$ac_objext conftest$ac_exeext | 8573 | if ac_fn_c_try_link "$LINENO"; then : |
| 12794 | if { (ac_try="$ac_link" | ||
| 12795 | case "(($ac_try" in | ||
| 12796 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12797 | *) ac_try_echo=$ac_try;; | ||
| 12798 | esac | ||
| 12799 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12800 | $as_echo "$ac_try_echo") >&5 | ||
| 12801 | (eval "$ac_link") 2>conftest.er1 | ||
| 12802 | ac_status=$? | ||
| 12803 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12804 | rm -f conftest.er1 | ||
| 12805 | cat conftest.err >&5 | ||
| 12806 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12807 | (exit $ac_status); } && { | ||
| 12808 | test -z "$ac_c_werror_flag" || | ||
| 12809 | test ! -s conftest.err | ||
| 12810 | } && test -s conftest$ac_exeext && { | ||
| 12811 | test "$cross_compiling" = yes || | ||
| 12812 | $as_test_x conftest$ac_exeext | ||
| 12813 | }; then | ||
| 12814 | emacs_cv_xaw=yes | 8574 | emacs_cv_xaw=yes |
| 12815 | else | 8575 | else |
| 12816 | $as_echo "$as_me: failed program was:" >&5 | 8576 | emacs_cv_xaw=no |
| 12817 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12818 | |||
| 12819 | emacs_cv_xaw=no | ||
| 12820 | fi | 8577 | fi |
| 12821 | 8578 | rm -f core conftest.err conftest.$ac_objext \ | |
| 12822 | rm -rf conftest.dSYM | 8579 | conftest$ac_exeext conftest.$ac_ext |
| 12823 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12824 | conftest$ac_exeext conftest.$ac_ext | ||
| 12825 | fi | 8580 | fi |
| 12826 | 8581 | ||
| 12827 | if test $emacs_cv_xaw = yes; then | 8582 | if test $emacs_cv_xaw = yes; then |
| 12828 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 | 8583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
| 12829 | $as_echo "yes; using Lucid toolkit" >&6; } | 8584 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 12830 | USE_X_TOOLKIT=LUCID | 8585 | USE_X_TOOLKIT=LUCID |
| 12831 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 8586 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 12832 | { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 | 8587 | as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
| 12833 | $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | ||
| 12834 | { (exit 1); exit 1; }; } | ||
| 12835 | else | 8588 | else |
| 12836 | { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 | 8589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
| 12837 | $as_echo "no; do not use toolkit by default" >&6; } | 8590 | $as_echo "no; do not use toolkit by default" >&6; } |
| 12838 | USE_X_TOOLKIT=none | 8591 | USE_X_TOOLKIT=none |
| 12839 | fi | 8592 | fi |
| @@ -12843,16 +8596,12 @@ fi | |||
| 12843 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 8596 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
| 12844 | 8597 | ||
| 12845 | if test "${USE_X_TOOLKIT}" != "none"; then | 8598 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 12846 | { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 | 8599 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 |
| 12847 | $as_echo_n "checking X11 toolkit version... " >&6; } | 8600 | $as_echo_n "checking X11 toolkit version... " >&6; } |
| 12848 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 8601 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : |
| 12849 | $as_echo_n "(cached) " >&6 | 8602 | $as_echo_n "(cached) " >&6 |
| 12850 | else | 8603 | else |
| 12851 | cat >conftest.$ac_ext <<_ACEOF | 8604 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12852 | /* confdefs.h. */ | ||
| 12853 | _ACEOF | ||
| 12854 | cat confdefs.h >>conftest.$ac_ext | ||
| 12855 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12856 | /* end confdefs.h. */ | 8605 | /* end confdefs.h. */ |
| 12857 | #include <X11/Intrinsic.h> | 8606 | #include <X11/Intrinsic.h> |
| 12858 | int | 8607 | int |
| @@ -12866,51 +8615,24 @@ fail; | |||
| 12866 | return 0; | 8615 | return 0; |
| 12867 | } | 8616 | } |
| 12868 | _ACEOF | 8617 | _ACEOF |
| 12869 | rm -f conftest.$ac_objext conftest$ac_exeext | 8618 | if ac_fn_c_try_link "$LINENO"; then : |
| 12870 | if { (ac_try="$ac_link" | ||
| 12871 | case "(($ac_try" in | ||
| 12872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12873 | *) ac_try_echo=$ac_try;; | ||
| 12874 | esac | ||
| 12875 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12876 | $as_echo "$ac_try_echo") >&5 | ||
| 12877 | (eval "$ac_link") 2>conftest.er1 | ||
| 12878 | ac_status=$? | ||
| 12879 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12880 | rm -f conftest.er1 | ||
| 12881 | cat conftest.err >&5 | ||
| 12882 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12883 | (exit $ac_status); } && { | ||
| 12884 | test -z "$ac_c_werror_flag" || | ||
| 12885 | test ! -s conftest.err | ||
| 12886 | } && test -s conftest$ac_exeext && { | ||
| 12887 | test "$cross_compiling" = yes || | ||
| 12888 | $as_test_x conftest$ac_exeext | ||
| 12889 | }; then | ||
| 12890 | emacs_cv_x11_toolkit_version_6=yes | 8619 | emacs_cv_x11_toolkit_version_6=yes |
| 12891 | else | 8620 | else |
| 12892 | $as_echo "$as_me: failed program was:" >&5 | 8621 | emacs_cv_x11_toolkit_version_6=no |
| 12893 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12894 | |||
| 12895 | emacs_cv_x11_toolkit_version_6=no | ||
| 12896 | fi | 8622 | fi |
| 12897 | 8623 | rm -f core conftest.err conftest.$ac_objext \ | |
| 12898 | rm -rf conftest.dSYM | 8624 | conftest$ac_exeext conftest.$ac_ext |
| 12899 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12900 | conftest$ac_exeext conftest.$ac_ext | ||
| 12901 | fi | 8625 | fi |
| 12902 | 8626 | ||
| 12903 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 8627 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
| 12904 | if test $emacs_cv_x11_toolkit_version_6 = yes; then | 8628 | if test $emacs_cv_x11_toolkit_version_6 = yes; then |
| 12905 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 | 8629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 |
| 12906 | $as_echo "6 or newer" >&6; } | 8630 | $as_echo "6 or newer" >&6; } |
| 12907 | 8631 | ||
| 12908 | cat >>confdefs.h <<\_ACEOF | 8632 | $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h |
| 12909 | #define HAVE_X11XTR6 1 | ||
| 12910 | _ACEOF | ||
| 12911 | 8633 | ||
| 12912 | else | 8634 | else |
| 12913 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 | 8635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 |
| 12914 | $as_echo "before 6" >&6; } | 8636 | $as_echo "before 6" >&6; } |
| 12915 | fi | 8637 | fi |
| 12916 | 8638 | ||
| @@ -12920,19 +8642,14 @@ $as_echo "before 6" >&6; } | |||
| 12920 | else | 8642 | else |
| 12921 | LIBS="-lXt $LIBS" | 8643 | LIBS="-lXt $LIBS" |
| 12922 | fi | 8644 | fi |
| 12923 | 8645 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | |
| 12924 | { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | ||
| 12925 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 8646 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
| 12926 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 8647 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : |
| 12927 | $as_echo_n "(cached) " >&6 | 8648 | $as_echo_n "(cached) " >&6 |
| 12928 | else | 8649 | else |
| 12929 | ac_check_lib_save_LIBS=$LIBS | 8650 | ac_check_lib_save_LIBS=$LIBS |
| 12930 | LIBS="-lXmu $LIBS" | 8651 | LIBS="-lXmu $LIBS" |
| 12931 | cat >conftest.$ac_ext <<_ACEOF | 8652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12932 | /* confdefs.h. */ | ||
| 12933 | _ACEOF | ||
| 12934 | cat confdefs.h >>conftest.$ac_ext | ||
| 12935 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12936 | /* end confdefs.h. */ | 8653 | /* end confdefs.h. */ |
| 12937 | 8654 | ||
| 12938 | /* Override any GCC internal prototype to avoid an error. | 8655 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12950,43 +8667,18 @@ return XmuConvertStandardSelection (); | |||
| 12950 | return 0; | 8667 | return 0; |
| 12951 | } | 8668 | } |
| 12952 | _ACEOF | 8669 | _ACEOF |
| 12953 | rm -f conftest.$ac_objext conftest$ac_exeext | 8670 | if ac_fn_c_try_link "$LINENO"; then : |
| 12954 | if { (ac_try="$ac_link" | ||
| 12955 | case "(($ac_try" in | ||
| 12956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12957 | *) ac_try_echo=$ac_try;; | ||
| 12958 | esac | ||
| 12959 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12960 | $as_echo "$ac_try_echo") >&5 | ||
| 12961 | (eval "$ac_link") 2>conftest.er1 | ||
| 12962 | ac_status=$? | ||
| 12963 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12964 | rm -f conftest.er1 | ||
| 12965 | cat conftest.err >&5 | ||
| 12966 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12967 | (exit $ac_status); } && { | ||
| 12968 | test -z "$ac_c_werror_flag" || | ||
| 12969 | test ! -s conftest.err | ||
| 12970 | } && test -s conftest$ac_exeext && { | ||
| 12971 | test "$cross_compiling" = yes || | ||
| 12972 | $as_test_x conftest$ac_exeext | ||
| 12973 | }; then | ||
| 12974 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 8671 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
| 12975 | else | 8672 | else |
| 12976 | $as_echo "$as_me: failed program was:" >&5 | 8673 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
| 12977 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12978 | |||
| 12979 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | ||
| 12980 | fi | 8674 | fi |
| 12981 | 8675 | rm -f core conftest.err conftest.$ac_objext \ | |
| 12982 | rm -rf conftest.dSYM | 8676 | conftest$ac_exeext conftest.$ac_ext |
| 12983 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12984 | conftest$ac_exeext conftest.$ac_ext | ||
| 12985 | LIBS=$ac_check_lib_save_LIBS | 8677 | LIBS=$ac_check_lib_save_LIBS |
| 12986 | fi | 8678 | fi |
| 12987 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 8679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
| 12988 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 8680 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
| 12989 | if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 8681 | if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : |
| 12990 | cat >>confdefs.h <<_ACEOF | 8682 | cat >>confdefs.h <<_ACEOF |
| 12991 | #define HAVE_LIBXMU 1 | 8683 | #define HAVE_LIBXMU 1 |
| 12992 | _ACEOF | 8684 | _ACEOF |
| @@ -13001,19 +8693,14 @@ fi | |||
| 13001 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 8693 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
| 13002 | if test "${HAVE_X11}" = "yes"; then | 8694 | if test "${HAVE_X11}" = "yes"; then |
| 13003 | if test "${USE_X_TOOLKIT}" != "none"; then | 8695 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 13004 | 8696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | |
| 13005 | { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | ||
| 13006 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 8697 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
| 13007 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 8698 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : |
| 13008 | $as_echo_n "(cached) " >&6 | 8699 | $as_echo_n "(cached) " >&6 |
| 13009 | else | 8700 | else |
| 13010 | ac_check_lib_save_LIBS=$LIBS | 8701 | ac_check_lib_save_LIBS=$LIBS |
| 13011 | LIBS="-lXext $LIBS" | 8702 | LIBS="-lXext $LIBS" |
| 13012 | cat >conftest.$ac_ext <<_ACEOF | 8703 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13013 | /* confdefs.h. */ | ||
| 13014 | _ACEOF | ||
| 13015 | cat confdefs.h >>conftest.$ac_ext | ||
| 13016 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13017 | /* end confdefs.h. */ | 8704 | /* end confdefs.h. */ |
| 13018 | 8705 | ||
| 13019 | /* Override any GCC internal prototype to avoid an error. | 8706 | /* Override any GCC internal prototype to avoid an error. |
| @@ -13031,43 +8718,18 @@ return XShapeQueryExtension (); | |||
| 13031 | return 0; | 8718 | return 0; |
| 13032 | } | 8719 | } |
| 13033 | _ACEOF | 8720 | _ACEOF |
| 13034 | rm -f conftest.$ac_objext conftest$ac_exeext | 8721 | if ac_fn_c_try_link "$LINENO"; then : |
| 13035 | if { (ac_try="$ac_link" | ||
| 13036 | case "(($ac_try" in | ||
| 13037 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13038 | *) ac_try_echo=$ac_try;; | ||
| 13039 | esac | ||
| 13040 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13041 | $as_echo "$ac_try_echo") >&5 | ||
| 13042 | (eval "$ac_link") 2>conftest.er1 | ||
| 13043 | ac_status=$? | ||
| 13044 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13045 | rm -f conftest.er1 | ||
| 13046 | cat conftest.err >&5 | ||
| 13047 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13048 | (exit $ac_status); } && { | ||
| 13049 | test -z "$ac_c_werror_flag" || | ||
| 13050 | test ! -s conftest.err | ||
| 13051 | } && test -s conftest$ac_exeext && { | ||
| 13052 | test "$cross_compiling" = yes || | ||
| 13053 | $as_test_x conftest$ac_exeext | ||
| 13054 | }; then | ||
| 13055 | ac_cv_lib_Xext_XShapeQueryExtension=yes | 8722 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
| 13056 | else | 8723 | else |
| 13057 | $as_echo "$as_me: failed program was:" >&5 | 8724 | ac_cv_lib_Xext_XShapeQueryExtension=no |
| 13058 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13059 | |||
| 13060 | ac_cv_lib_Xext_XShapeQueryExtension=no | ||
| 13061 | fi | 8725 | fi |
| 13062 | 8726 | rm -f core conftest.err conftest.$ac_objext \ | |
| 13063 | rm -rf conftest.dSYM | 8727 | conftest$ac_exeext conftest.$ac_ext |
| 13064 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13065 | conftest$ac_exeext conftest.$ac_ext | ||
| 13066 | LIBS=$ac_check_lib_save_LIBS | 8728 | LIBS=$ac_check_lib_save_LIBS |
| 13067 | fi | 8729 | fi |
| 13068 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 8730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
| 13069 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 8731 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
| 13070 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 8732 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : |
| 13071 | cat >>confdefs.h <<_ACEOF | 8733 | cat >>confdefs.h <<_ACEOF |
| 13072 | #define HAVE_LIBXEXT 1 | 8734 | #define HAVE_LIBXEXT 1 |
| 13073 | _ACEOF | 8735 | _ACEOF |
| @@ -13080,16 +8742,12 @@ fi | |||
| 13080 | fi | 8742 | fi |
| 13081 | 8743 | ||
| 13082 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 8744 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 13083 | { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 | 8745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 |
| 13084 | $as_echo_n "checking for Motif version 2.1... " >&6; } | 8746 | $as_echo_n "checking for Motif version 2.1... " >&6; } |
| 13085 | if test "${emacs_cv_motif_version_2_1+set}" = set; then | 8747 | if test "${emacs_cv_motif_version_2_1+set}" = set; then : |
| 13086 | $as_echo_n "(cached) " >&6 | 8748 | $as_echo_n "(cached) " >&6 |
| 13087 | else | 8749 | else |
| 13088 | cat >conftest.$ac_ext <<_ACEOF | 8750 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13089 | /* confdefs.h. */ | ||
| 13090 | _ACEOF | ||
| 13091 | cat confdefs.h >>conftest.$ac_ext | ||
| 13092 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13093 | /* end confdefs.h. */ | 8751 | /* end confdefs.h. */ |
| 13094 | #include <Xm/Xm.h> | 8752 | #include <Xm/Xm.h> |
| 13095 | int | 8753 | int |
| @@ -13104,56 +8762,29 @@ Motif version prior to 2.1. | |||
| 13104 | return 0; | 8762 | return 0; |
| 13105 | } | 8763 | } |
| 13106 | _ACEOF | 8764 | _ACEOF |
| 13107 | rm -f conftest.$ac_objext | 8765 | if ac_fn_c_try_compile "$LINENO"; then : |
| 13108 | if { (ac_try="$ac_compile" | ||
| 13109 | case "(($ac_try" in | ||
| 13110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13111 | *) ac_try_echo=$ac_try;; | ||
| 13112 | esac | ||
| 13113 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13114 | $as_echo "$ac_try_echo") >&5 | ||
| 13115 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13116 | ac_status=$? | ||
| 13117 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13118 | rm -f conftest.er1 | ||
| 13119 | cat conftest.err >&5 | ||
| 13120 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13121 | (exit $ac_status); } && { | ||
| 13122 | test -z "$ac_c_werror_flag" || | ||
| 13123 | test ! -s conftest.err | ||
| 13124 | } && test -s conftest.$ac_objext; then | ||
| 13125 | emacs_cv_motif_version_2_1=yes | 8766 | emacs_cv_motif_version_2_1=yes |
| 13126 | else | 8767 | else |
| 13127 | $as_echo "$as_me: failed program was:" >&5 | 8768 | emacs_cv_motif_version_2_1=no |
| 13128 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13129 | |||
| 13130 | emacs_cv_motif_version_2_1=no | ||
| 13131 | fi | 8769 | fi |
| 13132 | |||
| 13133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8770 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13134 | fi | 8771 | fi |
| 13135 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 | 8772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 |
| 13136 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 8773 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
| 13137 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 8774 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
| 13138 | if test $emacs_cv_motif_version_2_1 = yes; then | 8775 | if test $emacs_cv_motif_version_2_1 = yes; then |
| 13139 | HAVE_LIBXP=no | 8776 | HAVE_LIBXP=no |
| 13140 | 8777 | ||
| 13141 | cat >>confdefs.h <<\_ACEOF | 8778 | $as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h |
| 13142 | #define HAVE_MOTIF_2_1 1 | ||
| 13143 | _ACEOF | ||
| 13144 | 8779 | ||
| 13145 | { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | 8780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 |
| 13146 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 8781 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
| 13147 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 8782 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : |
| 13148 | $as_echo_n "(cached) " >&6 | 8783 | $as_echo_n "(cached) " >&6 |
| 13149 | else | 8784 | else |
| 13150 | ac_check_lib_save_LIBS=$LIBS | 8785 | ac_check_lib_save_LIBS=$LIBS |
| 13151 | LIBS="-lXp $LIBS" | 8786 | LIBS="-lXp $LIBS" |
| 13152 | cat >conftest.$ac_ext <<_ACEOF | 8787 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13153 | /* confdefs.h. */ | ||
| 13154 | _ACEOF | ||
| 13155 | cat confdefs.h >>conftest.$ac_ext | ||
| 13156 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13157 | /* end confdefs.h. */ | 8788 | /* end confdefs.h. */ |
| 13158 | 8789 | ||
| 13159 | /* Override any GCC internal prototype to avoid an error. | 8790 | /* Override any GCC internal prototype to avoid an error. |
| @@ -13171,57 +8802,30 @@ return XpCreateContext (); | |||
| 13171 | return 0; | 8802 | return 0; |
| 13172 | } | 8803 | } |
| 13173 | _ACEOF | 8804 | _ACEOF |
| 13174 | rm -f conftest.$ac_objext conftest$ac_exeext | 8805 | if ac_fn_c_try_link "$LINENO"; then : |
| 13175 | if { (ac_try="$ac_link" | ||
| 13176 | case "(($ac_try" in | ||
| 13177 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13178 | *) ac_try_echo=$ac_try;; | ||
| 13179 | esac | ||
| 13180 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13181 | $as_echo "$ac_try_echo") >&5 | ||
| 13182 | (eval "$ac_link") 2>conftest.er1 | ||
| 13183 | ac_status=$? | ||
| 13184 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13185 | rm -f conftest.er1 | ||
| 13186 | cat conftest.err >&5 | ||
| 13187 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13188 | (exit $ac_status); } && { | ||
| 13189 | test -z "$ac_c_werror_flag" || | ||
| 13190 | test ! -s conftest.err | ||
| 13191 | } && test -s conftest$ac_exeext && { | ||
| 13192 | test "$cross_compiling" = yes || | ||
| 13193 | $as_test_x conftest$ac_exeext | ||
| 13194 | }; then | ||
| 13195 | ac_cv_lib_Xp_XpCreateContext=yes | 8806 | ac_cv_lib_Xp_XpCreateContext=yes |
| 13196 | else | 8807 | else |
| 13197 | $as_echo "$as_me: failed program was:" >&5 | 8808 | ac_cv_lib_Xp_XpCreateContext=no |
| 13198 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13199 | |||
| 13200 | ac_cv_lib_Xp_XpCreateContext=no | ||
| 13201 | fi | 8809 | fi |
| 13202 | 8810 | rm -f core conftest.err conftest.$ac_objext \ | |
| 13203 | rm -rf conftest.dSYM | 8811 | conftest$ac_exeext conftest.$ac_ext |
| 13204 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13205 | conftest$ac_exeext conftest.$ac_ext | ||
| 13206 | LIBS=$ac_check_lib_save_LIBS | 8812 | LIBS=$ac_check_lib_save_LIBS |
| 13207 | fi | 8813 | fi |
| 13208 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 8814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
| 13209 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 8815 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
| 13210 | if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 8816 | if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : |
| 13211 | HAVE_LIBXP=yes | 8817 | HAVE_LIBXP=yes |
| 13212 | fi | 8818 | fi |
| 13213 | 8819 | ||
| 13214 | if test ${HAVE_LIBXP} = yes; then | 8820 | if test ${HAVE_LIBXP} = yes; then |
| 13215 | 8821 | ||
| 13216 | cat >>confdefs.h <<\_ACEOF | 8822 | $as_echo "#define HAVE_LIBXP 1" >>confdefs.h |
| 13217 | #define HAVE_LIBXP 1 | ||
| 13218 | _ACEOF | ||
| 13219 | 8823 | ||
| 13220 | fi | 8824 | fi |
| 13221 | else | 8825 | else |
| 13222 | { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 | 8826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 |
| 13223 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 8827 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
| 13224 | if test "${emacs_cv_lesstif+set}" = set; then | 8828 | if test "${emacs_cv_lesstif+set}" = set; then : |
| 13225 | $as_echo_n "(cached) " >&6 | 8829 | $as_echo_n "(cached) " >&6 |
| 13226 | else | 8830 | else |
| 13227 | # We put this in CFLAGS temporarily to precede other -I options | 8831 | # We put this in CFLAGS temporarily to precede other -I options |
| @@ -13231,11 +8835,7 @@ else | |||
| 13231 | OLD_CFLAGS=$CFLAGS | 8835 | OLD_CFLAGS=$CFLAGS |
| 13232 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 8836 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
| 13233 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 8837 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
| 13234 | cat >conftest.$ac_ext <<_ACEOF | 8838 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13235 | /* confdefs.h. */ | ||
| 13236 | _ACEOF | ||
| 13237 | cat confdefs.h >>conftest.$ac_ext | ||
| 13238 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13239 | /* end confdefs.h. */ | 8839 | /* end confdefs.h. */ |
| 13240 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 8840 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
| 13241 | int | 8841 | int |
| @@ -13246,35 +8846,14 @@ int x = 5; | |||
| 13246 | return 0; | 8846 | return 0; |
| 13247 | } | 8847 | } |
| 13248 | _ACEOF | 8848 | _ACEOF |
| 13249 | rm -f conftest.$ac_objext | 8849 | if ac_fn_c_try_compile "$LINENO"; then : |
| 13250 | if { (ac_try="$ac_compile" | ||
| 13251 | case "(($ac_try" in | ||
| 13252 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13253 | *) ac_try_echo=$ac_try;; | ||
| 13254 | esac | ||
| 13255 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13256 | $as_echo "$ac_try_echo") >&5 | ||
| 13257 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13258 | ac_status=$? | ||
| 13259 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13260 | rm -f conftest.er1 | ||
| 13261 | cat conftest.err >&5 | ||
| 13262 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13263 | (exit $ac_status); } && { | ||
| 13264 | test -z "$ac_c_werror_flag" || | ||
| 13265 | test ! -s conftest.err | ||
| 13266 | } && test -s conftest.$ac_objext; then | ||
| 13267 | emacs_cv_lesstif=yes | 8850 | emacs_cv_lesstif=yes |
| 13268 | else | 8851 | else |
| 13269 | $as_echo "$as_me: failed program was:" >&5 | 8852 | emacs_cv_lesstif=no |
| 13270 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13271 | |||
| 13272 | emacs_cv_lesstif=no | ||
| 13273 | fi | 8853 | fi |
| 13274 | |||
| 13275 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13276 | fi | 8855 | fi |
| 13277 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 | 8856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 |
| 13278 | $as_echo "$emacs_cv_lesstif" >&6; } | 8857 | $as_echo "$emacs_cv_lesstif" >&6; } |
| 13279 | if test $emacs_cv_lesstif = yes; then | 8858 | if test $emacs_cv_lesstif = yes; then |
| 13280 | # Make sure this -I option remains in CPPFLAGS after it is set | 8859 | # Make sure this -I option remains in CPPFLAGS after it is set |
| @@ -13292,44 +8871,31 @@ $as_echo "$emacs_cv_lesstif" >&6; } | |||
| 13292 | fi | 8871 | fi |
| 13293 | 8872 | ||
| 13294 | 8873 | ||
| 13295 | |||
| 13296 | USE_TOOLKIT_SCROLL_BARS=no | 8874 | USE_TOOLKIT_SCROLL_BARS=no |
| 13297 | if test "${with_toolkit_scroll_bars}" != "no"; then | 8875 | if test "${with_toolkit_scroll_bars}" != "no"; then |
| 13298 | if test "${USE_X_TOOLKIT}" != "none"; then | 8876 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 13299 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 8877 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 13300 | cat >>confdefs.h <<\_ACEOF | 8878 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
| 13301 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13302 | _ACEOF | ||
| 13303 | 8879 | ||
| 13304 | HAVE_XAW3D=no | 8880 | HAVE_XAW3D=no |
| 13305 | USE_TOOLKIT_SCROLL_BARS=yes | 8881 | USE_TOOLKIT_SCROLL_BARS=yes |
| 13306 | elif test "${HAVE_XAW3D}" = "yes"; then | 8882 | elif test "${HAVE_XAW3D}" = "yes"; then |
| 13307 | cat >>confdefs.h <<\_ACEOF | 8883 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
| 13308 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13309 | _ACEOF | ||
| 13310 | 8884 | ||
| 13311 | USE_TOOLKIT_SCROLL_BARS=yes | 8885 | USE_TOOLKIT_SCROLL_BARS=yes |
| 13312 | fi | 8886 | fi |
| 13313 | elif test "${HAVE_GTK}" = "yes"; then | 8887 | elif test "${HAVE_GTK}" = "yes"; then |
| 13314 | cat >>confdefs.h <<\_ACEOF | 8888 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
| 13315 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13316 | _ACEOF | ||
| 13317 | 8889 | ||
| 13318 | USE_TOOLKIT_SCROLL_BARS=yes | 8890 | USE_TOOLKIT_SCROLL_BARS=yes |
| 13319 | elif test "${HAVE_NS}" = "yes"; then | 8891 | elif test "${HAVE_NS}" = "yes"; then |
| 13320 | cat >>confdefs.h <<\_ACEOF | 8892 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
| 13321 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13322 | _ACEOF | ||
| 13323 | 8893 | ||
| 13324 | USE_TOOLKIT_SCROLL_BARS=yes | 8894 | USE_TOOLKIT_SCROLL_BARS=yes |
| 13325 | fi | 8895 | fi |
| 13326 | fi | 8896 | fi |
| 13327 | 8897 | ||
| 13328 | cat >conftest.$ac_ext <<_ACEOF | 8898 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13329 | /* confdefs.h. */ | ||
| 13330 | _ACEOF | ||
| 13331 | cat confdefs.h >>conftest.$ac_ext | ||
| 13332 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13333 | /* end confdefs.h. */ | 8899 | /* end confdefs.h. */ |
| 13334 | 8900 | ||
| 13335 | #include <X11/Xlib.h> | 8901 | #include <X11/Xlib.h> |
| @@ -13342,45 +8908,20 @@ XIMProc callback; | |||
| 13342 | return 0; | 8908 | return 0; |
| 13343 | } | 8909 | } |
| 13344 | _ACEOF | 8910 | _ACEOF |
| 13345 | rm -f conftest.$ac_objext | 8911 | if ac_fn_c_try_compile "$LINENO"; then : |
| 13346 | if { (ac_try="$ac_compile" | ||
| 13347 | case "(($ac_try" in | ||
| 13348 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13349 | *) ac_try_echo=$ac_try;; | ||
| 13350 | esac | ||
| 13351 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13352 | $as_echo "$ac_try_echo") >&5 | ||
| 13353 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13354 | ac_status=$? | ||
| 13355 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13356 | rm -f conftest.er1 | ||
| 13357 | cat conftest.err >&5 | ||
| 13358 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13359 | (exit $ac_status); } && { | ||
| 13360 | test -z "$ac_c_werror_flag" || | ||
| 13361 | test ! -s conftest.err | ||
| 13362 | } && test -s conftest.$ac_objext; then | ||
| 13363 | HAVE_XIM=yes | 8912 | HAVE_XIM=yes |
| 13364 | 8913 | ||
| 13365 | cat >>confdefs.h <<\_ACEOF | 8914 | $as_echo "#define HAVE_XIM 1" >>confdefs.h |
| 13366 | #define HAVE_XIM 1 | ||
| 13367 | _ACEOF | ||
| 13368 | 8915 | ||
| 13369 | else | 8916 | else |
| 13370 | $as_echo "$as_me: failed program was:" >&5 | 8917 | HAVE_XIM=no |
| 13371 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13372 | |||
| 13373 | HAVE_XIM=no | ||
| 13374 | fi | 8918 | fi |
| 13375 | |||
| 13376 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8919 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13377 | 8920 | ||
| 13378 | 8921 | ||
| 13379 | if test "${with_xim}" != "no"; then | 8922 | if test "${with_xim}" != "no"; then |
| 13380 | 8923 | ||
| 13381 | cat >>confdefs.h <<\_ACEOF | 8924 | $as_echo "#define USE_XIM 1" >>confdefs.h |
| 13382 | #define USE_XIM 1 | ||
| 13383 | _ACEOF | ||
| 13384 | 8925 | ||
| 13385 | fi | 8926 | fi |
| 13386 | 8927 | ||
| @@ -13390,11 +8931,7 @@ if test "${HAVE_XIM}" != "no"; then | |||
| 13390 | if test "$GCC" = yes; then | 8931 | if test "$GCC" = yes; then |
| 13391 | CFLAGS="$CFLAGS --pedantic-errors" | 8932 | CFLAGS="$CFLAGS --pedantic-errors" |
| 13392 | fi | 8933 | fi |
| 13393 | cat >conftest.$ac_ext <<_ACEOF | 8934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13394 | /* confdefs.h. */ | ||
| 13395 | _ACEOF | ||
| 13396 | cat confdefs.h >>conftest.$ac_ext | ||
| 13397 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13398 | /* end confdefs.h. */ | 8935 | /* end confdefs.h. */ |
| 13399 | 8936 | ||
| 13400 | #include <X11/Xlib.h> | 8937 | #include <X11/Xlib.h> |
| @@ -13420,43 +8957,15 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*, | |||
| 13420 | return 0; | 8957 | return 0; |
| 13421 | } | 8958 | } |
| 13422 | _ACEOF | 8959 | _ACEOF |
| 13423 | rm -f conftest.$ac_objext | 8960 | if ac_fn_c_try_compile "$LINENO"; then : |
| 13424 | if { (ac_try="$ac_compile" | ||
| 13425 | case "(($ac_try" in | ||
| 13426 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13427 | *) ac_try_echo=$ac_try;; | ||
| 13428 | esac | ||
| 13429 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13430 | $as_echo "$ac_try_echo") >&5 | ||
| 13431 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13432 | ac_status=$? | ||
| 13433 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13434 | rm -f conftest.er1 | ||
| 13435 | cat conftest.err >&5 | ||
| 13436 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13437 | (exit $ac_status); } && { | ||
| 13438 | test -z "$ac_c_werror_flag" || | ||
| 13439 | test ! -s conftest.err | ||
| 13440 | } && test -s conftest.$ac_objext; then | ||
| 13441 | emacs_cv_arg6_star=yes | 8961 | emacs_cv_arg6_star=yes |
| 13442 | else | ||
| 13443 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13444 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13445 | |||
| 13446 | |||
| 13447 | fi | 8962 | fi |
| 13448 | |||
| 13449 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8963 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13450 | 8964 | if test "$emacs_cv_arg6_star" = yes; then | |
| 13451 | if test "$emacs_cv_arg6_star" = yes; then | 8965 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h |
| 13452 | cat >>confdefs.h <<\_ACEOF | ||
| 13453 | #define XRegisterIMInstantiateCallback_arg6 XPointer* | ||
| 13454 | _ACEOF | ||
| 13455 | 8966 | ||
| 13456 | else | 8967 | else |
| 13457 | cat >>confdefs.h <<\_ACEOF | 8968 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h |
| 13458 | #define XRegisterIMInstantiateCallback_arg6 XPointer | ||
| 13459 | _ACEOF | ||
| 13460 | 8969 | ||
| 13461 | fi | 8970 | fi |
| 13462 | CFLAGS=$late_CFLAGS | 8971 | CFLAGS=$late_CFLAGS |
| @@ -13473,9 +8982,9 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 13473 | 8982 | ||
| 13474 | # Extract the first word of "pkg-config", so it can be a program name with args. | 8983 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 13475 | set dummy pkg-config; ac_word=$2 | 8984 | set dummy pkg-config; ac_word=$2 |
| 13476 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13477 | $as_echo_n "checking for $ac_word... " >&6; } | 8986 | $as_echo_n "checking for $ac_word... " >&6; } |
| 13478 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8987 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 13479 | $as_echo_n "(cached) " >&6 | 8988 | $as_echo_n "(cached) " >&6 |
| 13480 | else | 8989 | else |
| 13481 | case $PKG_CONFIG in | 8990 | case $PKG_CONFIG in |
| @@ -13488,14 +8997,14 @@ for as_dir in $PATH | |||
| 13488 | do | 8997 | do |
| 13489 | IFS=$as_save_IFS | 8998 | IFS=$as_save_IFS |
| 13490 | test -z "$as_dir" && as_dir=. | 8999 | test -z "$as_dir" && as_dir=. |
| 13491 | for ac_exec_ext in '' $ac_executable_extensions; do | 9000 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13492 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9001 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 13493 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9002 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 13494 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9003 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 13495 | break 2 | 9004 | break 2 |
| 13496 | fi | 9005 | fi |
| 13497 | done | 9006 | done |
| 13498 | done | 9007 | done |
| 13499 | IFS=$as_save_IFS | 9008 | IFS=$as_save_IFS |
| 13500 | 9009 | ||
| 13501 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9010 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -13504,10 +9013,10 @@ esac | |||
| 13504 | fi | 9013 | fi |
| 13505 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9014 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 13506 | if test -n "$PKG_CONFIG"; then | 9015 | if test -n "$PKG_CONFIG"; then |
| 13507 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 13508 | $as_echo "$PKG_CONFIG" >&6; } | 9017 | $as_echo "$PKG_CONFIG" >&6; } |
| 13509 | else | 9018 | else |
| 13510 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9019 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13511 | $as_echo "no" >&6; } | 9020 | $as_echo "no" >&6; } |
| 13512 | fi | 9021 | fi |
| 13513 | 9022 | ||
| @@ -13518,27 +9027,27 @@ fi | |||
| 13518 | else | 9027 | else |
| 13519 | PKG_CONFIG_MIN_VERSION=0.9.0 | 9028 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 13520 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9029 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 13521 | { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 | 9030 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 |
| 13522 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 9031 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
| 13523 | 9032 | ||
| 13524 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 9033 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
| 13525 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13526 | $as_echo "yes" >&6; } | 9035 | $as_echo "yes" >&6; } |
| 13527 | succeeded=yes | 9036 | succeeded=yes |
| 13528 | 9037 | ||
| 13529 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 | 9038 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 |
| 13530 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 9039 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
| 13531 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 9040 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 13532 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 | 9041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 |
| 13533 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 9042 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
| 13534 | 9043 | ||
| 13535 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 | 9044 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 |
| 13536 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 9045 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
| 13537 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 9046 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 13538 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 | 9047 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 |
| 13539 | $as_echo "$FONTCONFIG_LIBS" >&6; } | 9048 | $as_echo "$FONTCONFIG_LIBS" >&6; } |
| 13540 | else | 9049 | else |
| 13541 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13542 | $as_echo "no" >&6; } | 9051 | $as_echo "no" >&6; } |
| 13543 | FONTCONFIG_CFLAGS="" | 9052 | FONTCONFIG_CFLAGS="" |
| 13544 | FONTCONFIG_LIBS="" | 9053 | FONTCONFIG_LIBS="" |
| @@ -13575,9 +9084,9 @@ $as_echo "no" >&6; } | |||
| 13575 | 9084 | ||
| 13576 | # Extract the first word of "pkg-config", so it can be a program name with args. | 9085 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 13577 | set dummy pkg-config; ac_word=$2 | 9086 | set dummy pkg-config; ac_word=$2 |
| 13578 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9087 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13579 | $as_echo_n "checking for $ac_word... " >&6; } | 9088 | $as_echo_n "checking for $ac_word... " >&6; } |
| 13580 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9089 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 13581 | $as_echo_n "(cached) " >&6 | 9090 | $as_echo_n "(cached) " >&6 |
| 13582 | else | 9091 | else |
| 13583 | case $PKG_CONFIG in | 9092 | case $PKG_CONFIG in |
| @@ -13590,14 +9099,14 @@ for as_dir in $PATH | |||
| 13590 | do | 9099 | do |
| 13591 | IFS=$as_save_IFS | 9100 | IFS=$as_save_IFS |
| 13592 | test -z "$as_dir" && as_dir=. | 9101 | test -z "$as_dir" && as_dir=. |
| 13593 | for ac_exec_ext in '' $ac_executable_extensions; do | 9102 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13594 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9103 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 13595 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9104 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 13596 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9105 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 13597 | break 2 | 9106 | break 2 |
| 13598 | fi | 9107 | fi |
| 13599 | done | 9108 | done |
| 13600 | done | 9109 | done |
| 13601 | IFS=$as_save_IFS | 9110 | IFS=$as_save_IFS |
| 13602 | 9111 | ||
| 13603 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9112 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -13606,10 +9115,10 @@ esac | |||
| 13606 | fi | 9115 | fi |
| 13607 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9116 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 13608 | if test -n "$PKG_CONFIG"; then | 9117 | if test -n "$PKG_CONFIG"; then |
| 13609 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 13610 | $as_echo "$PKG_CONFIG" >&6; } | 9119 | $as_echo "$PKG_CONFIG" >&6; } |
| 13611 | else | 9120 | else |
| 13612 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9121 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13613 | $as_echo "no" >&6; } | 9122 | $as_echo "no" >&6; } |
| 13614 | fi | 9123 | fi |
| 13615 | 9124 | ||
| @@ -13620,27 +9129,27 @@ fi | |||
| 13620 | else | 9129 | else |
| 13621 | PKG_CONFIG_MIN_VERSION=0.9.0 | 9130 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 13622 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9131 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 13623 | { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 | 9132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 |
| 13624 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 9133 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
| 13625 | 9134 | ||
| 13626 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 9135 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
| 13627 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9136 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13628 | $as_echo "yes" >&6; } | 9137 | $as_echo "yes" >&6; } |
| 13629 | succeeded=yes | 9138 | succeeded=yes |
| 13630 | 9139 | ||
| 13631 | { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 | 9140 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 |
| 13632 | $as_echo_n "checking XFT_CFLAGS... " >&6; } | 9141 | $as_echo_n "checking XFT_CFLAGS... " >&6; } |
| 13633 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 9142 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 13634 | { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 | 9143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 |
| 13635 | $as_echo "$XFT_CFLAGS" >&6; } | 9144 | $as_echo "$XFT_CFLAGS" >&6; } |
| 13636 | 9145 | ||
| 13637 | { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 | 9146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 |
| 13638 | $as_echo_n "checking XFT_LIBS... " >&6; } | 9147 | $as_echo_n "checking XFT_LIBS... " >&6; } |
| 13639 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 9148 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 13640 | { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 | 9149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 |
| 13641 | $as_echo "$XFT_LIBS" >&6; } | 9150 | $as_echo "$XFT_LIBS" >&6; } |
| 13642 | else | 9151 | else |
| 13643 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13644 | $as_echo "no" >&6; } | 9153 | $as_echo "no" >&6; } |
| 13645 | XFT_CFLAGS="" | 9154 | XFT_CFLAGS="" |
| 13646 | XFT_LIBS="" | 9155 | XFT_LIBS="" |
| @@ -13667,18 +9176,14 @@ $as_echo "no" >&6; } | |||
| 13667 | ## Because xftfont.c uses XRenderQueryExtension, we also | 9176 | ## Because xftfont.c uses XRenderQueryExtension, we also |
| 13668 | ## need to link to -lXrender. | 9177 | ## need to link to -lXrender. |
| 13669 | HAVE_XRENDER=no | 9178 | HAVE_XRENDER=no |
| 13670 | { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 | 9179 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 |
| 13671 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 9180 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
| 13672 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then | 9181 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : |
| 13673 | $as_echo_n "(cached) " >&6 | 9182 | $as_echo_n "(cached) " >&6 |
| 13674 | else | 9183 | else |
| 13675 | ac_check_lib_save_LIBS=$LIBS | 9184 | ac_check_lib_save_LIBS=$LIBS |
| 13676 | LIBS="-lXrender $LIBS" | 9185 | LIBS="-lXrender $LIBS" |
| 13677 | cat >conftest.$ac_ext <<_ACEOF | 9186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13678 | /* confdefs.h. */ | ||
| 13679 | _ACEOF | ||
| 13680 | cat confdefs.h >>conftest.$ac_ext | ||
| 13681 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13682 | /* end confdefs.h. */ | 9187 | /* end confdefs.h. */ |
| 13683 | 9188 | ||
| 13684 | /* Override any GCC internal prototype to avoid an error. | 9189 | /* Override any GCC internal prototype to avoid an error. |
| @@ -13696,43 +9201,18 @@ return XRenderQueryExtension (); | |||
| 13696 | return 0; | 9201 | return 0; |
| 13697 | } | 9202 | } |
| 13698 | _ACEOF | 9203 | _ACEOF |
| 13699 | rm -f conftest.$ac_objext conftest$ac_exeext | 9204 | if ac_fn_c_try_link "$LINENO"; then : |
| 13700 | if { (ac_try="$ac_link" | ||
| 13701 | case "(($ac_try" in | ||
| 13702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13703 | *) ac_try_echo=$ac_try;; | ||
| 13704 | esac | ||
| 13705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13706 | $as_echo "$ac_try_echo") >&5 | ||
| 13707 | (eval "$ac_link") 2>conftest.er1 | ||
| 13708 | ac_status=$? | ||
| 13709 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13710 | rm -f conftest.er1 | ||
| 13711 | cat conftest.err >&5 | ||
| 13712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13713 | (exit $ac_status); } && { | ||
| 13714 | test -z "$ac_c_werror_flag" || | ||
| 13715 | test ! -s conftest.err | ||
| 13716 | } && test -s conftest$ac_exeext && { | ||
| 13717 | test "$cross_compiling" = yes || | ||
| 13718 | $as_test_x conftest$ac_exeext | ||
| 13719 | }; then | ||
| 13720 | ac_cv_lib_Xrender_XRenderQueryExtension=yes | 9205 | ac_cv_lib_Xrender_XRenderQueryExtension=yes |
| 13721 | else | 9206 | else |
| 13722 | $as_echo "$as_me: failed program was:" >&5 | 9207 | ac_cv_lib_Xrender_XRenderQueryExtension=no |
| 13723 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13724 | |||
| 13725 | ac_cv_lib_Xrender_XRenderQueryExtension=no | ||
| 13726 | fi | 9208 | fi |
| 13727 | 9209 | rm -f core conftest.err conftest.$ac_objext \ | |
| 13728 | rm -rf conftest.dSYM | 9210 | conftest$ac_exeext conftest.$ac_ext |
| 13729 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13730 | conftest$ac_exeext conftest.$ac_ext | ||
| 13731 | LIBS=$ac_check_lib_save_LIBS | 9211 | LIBS=$ac_check_lib_save_LIBS |
| 13732 | fi | 9212 | fi |
| 13733 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 9213 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
| 13734 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 9214 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
| 13735 | if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then | 9215 | if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : |
| 13736 | HAVE_XRENDER=yes | 9216 | HAVE_XRENDER=yes |
| 13737 | fi | 9217 | fi |
| 13738 | 9218 | ||
| @@ -13744,146 +9224,16 @@ fi | |||
| 13744 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 9224 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 13745 | XFT_LIBS="-lXrender $XFT_LIBS" | 9225 | XFT_LIBS="-lXrender $XFT_LIBS" |
| 13746 | LIBS="$XFT_LIBS $LIBS" | 9226 | LIBS="$XFT_LIBS $LIBS" |
| 13747 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | 9227 | ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
| 13748 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | 9228 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
| 13749 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | 9229 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 |
| 13750 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 13751 | $as_echo_n "(cached) " >&6 | ||
| 13752 | fi | ||
| 13753 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 13754 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 13755 | else | ||
| 13756 | # Is the header compilable? | ||
| 13757 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 | ||
| 13758 | $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } | ||
| 13759 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13760 | /* confdefs.h. */ | ||
| 13761 | _ACEOF | ||
| 13762 | cat confdefs.h >>conftest.$ac_ext | ||
| 13763 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13764 | /* end confdefs.h. */ | ||
| 13765 | $ac_includes_default | ||
| 13766 | #include <X11/Xft/Xft.h> | ||
| 13767 | _ACEOF | ||
| 13768 | rm -f conftest.$ac_objext | ||
| 13769 | if { (ac_try="$ac_compile" | ||
| 13770 | case "(($ac_try" in | ||
| 13771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13772 | *) ac_try_echo=$ac_try;; | ||
| 13773 | esac | ||
| 13774 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13775 | $as_echo "$ac_try_echo") >&5 | ||
| 13776 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13777 | ac_status=$? | ||
| 13778 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13779 | rm -f conftest.er1 | ||
| 13780 | cat conftest.err >&5 | ||
| 13781 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13782 | (exit $ac_status); } && { | ||
| 13783 | test -z "$ac_c_werror_flag" || | ||
| 13784 | test ! -s conftest.err | ||
| 13785 | } && test -s conftest.$ac_objext; then | ||
| 13786 | ac_header_compiler=yes | ||
| 13787 | else | ||
| 13788 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13789 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13790 | |||
| 13791 | ac_header_compiler=no | ||
| 13792 | fi | ||
| 13793 | |||
| 13794 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 13795 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 13796 | $as_echo "$ac_header_compiler" >&6; } | ||
| 13797 | |||
| 13798 | # Is the header present? | ||
| 13799 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 | ||
| 13800 | $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } | ||
| 13801 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13802 | /* confdefs.h. */ | ||
| 13803 | _ACEOF | ||
| 13804 | cat confdefs.h >>conftest.$ac_ext | ||
| 13805 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13806 | /* end confdefs.h. */ | ||
| 13807 | #include <X11/Xft/Xft.h> | ||
| 13808 | _ACEOF | ||
| 13809 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 13810 | case "(($ac_try" in | ||
| 13811 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13812 | *) ac_try_echo=$ac_try;; | ||
| 13813 | esac | ||
| 13814 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13815 | $as_echo "$ac_try_echo") >&5 | ||
| 13816 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 13817 | ac_status=$? | ||
| 13818 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13819 | rm -f conftest.er1 | ||
| 13820 | cat conftest.err >&5 | ||
| 13821 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13822 | (exit $ac_status); } >/dev/null && { | ||
| 13823 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 13824 | test ! -s conftest.err | ||
| 13825 | }; then | ||
| 13826 | ac_header_preproc=yes | ||
| 13827 | else | ||
| 13828 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13829 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13830 | |||
| 13831 | ac_header_preproc=no | ||
| 13832 | fi | ||
| 13833 | |||
| 13834 | rm -f conftest.err conftest.$ac_ext | ||
| 13835 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 13836 | $as_echo "$ac_header_preproc" >&6; } | ||
| 13837 | |||
| 13838 | # So? What about this header? | ||
| 13839 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 13840 | yes:no: ) | ||
| 13841 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 13842 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 13843 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 | ||
| 13844 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} | ||
| 13845 | ac_header_preproc=yes | ||
| 13846 | ;; | ||
| 13847 | no:yes:* ) | ||
| 13848 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 | ||
| 13849 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} | ||
| 13850 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 | ||
| 13851 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} | ||
| 13852 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 | ||
| 13853 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} | ||
| 13854 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 13855 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 13856 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 | ||
| 13857 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} | ||
| 13858 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 | ||
| 13859 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} | ||
| 13860 | |||
| 13861 | ;; | ||
| 13862 | esac | ||
| 13863 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | ||
| 13864 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | ||
| 13865 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 13866 | $as_echo_n "(cached) " >&6 | ||
| 13867 | else | ||
| 13868 | ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc | ||
| 13869 | fi | ||
| 13870 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 13871 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 13872 | |||
| 13873 | fi | ||
| 13874 | if test $ac_cv_header_X11_Xft_Xft_h = yes; then | ||
| 13875 | { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 | ||
| 13876 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 9230 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
| 13877 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then | 9231 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : |
| 13878 | $as_echo_n "(cached) " >&6 | 9232 | $as_echo_n "(cached) " >&6 |
| 13879 | else | 9233 | else |
| 13880 | ac_check_lib_save_LIBS=$LIBS | 9234 | ac_check_lib_save_LIBS=$LIBS |
| 13881 | LIBS="-lXft $XFT_LIBS $LIBS" | 9235 | LIBS="-lXft $XFT_LIBS $LIBS" |
| 13882 | cat >conftest.$ac_ext <<_ACEOF | 9236 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13883 | /* confdefs.h. */ | ||
| 13884 | _ACEOF | ||
| 13885 | cat confdefs.h >>conftest.$ac_ext | ||
| 13886 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13887 | /* end confdefs.h. */ | 9237 | /* end confdefs.h. */ |
| 13888 | 9238 | ||
| 13889 | /* Override any GCC internal prototype to avoid an error. | 9239 | /* Override any GCC internal prototype to avoid an error. |
| @@ -13901,43 +9251,18 @@ return XftFontOpen (); | |||
| 13901 | return 0; | 9251 | return 0; |
| 13902 | } | 9252 | } |
| 13903 | _ACEOF | 9253 | _ACEOF |
| 13904 | rm -f conftest.$ac_objext conftest$ac_exeext | 9254 | if ac_fn_c_try_link "$LINENO"; then : |
| 13905 | if { (ac_try="$ac_link" | ||
| 13906 | case "(($ac_try" in | ||
| 13907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13908 | *) ac_try_echo=$ac_try;; | ||
| 13909 | esac | ||
| 13910 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13911 | $as_echo "$ac_try_echo") >&5 | ||
| 13912 | (eval "$ac_link") 2>conftest.er1 | ||
| 13913 | ac_status=$? | ||
| 13914 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13915 | rm -f conftest.er1 | ||
| 13916 | cat conftest.err >&5 | ||
| 13917 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13918 | (exit $ac_status); } && { | ||
| 13919 | test -z "$ac_c_werror_flag" || | ||
| 13920 | test ! -s conftest.err | ||
| 13921 | } && test -s conftest$ac_exeext && { | ||
| 13922 | test "$cross_compiling" = yes || | ||
| 13923 | $as_test_x conftest$ac_exeext | ||
| 13924 | }; then | ||
| 13925 | ac_cv_lib_Xft_XftFontOpen=yes | 9255 | ac_cv_lib_Xft_XftFontOpen=yes |
| 13926 | else | 9256 | else |
| 13927 | $as_echo "$as_me: failed program was:" >&5 | 9257 | ac_cv_lib_Xft_XftFontOpen=no |
| 13928 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13929 | |||
| 13930 | ac_cv_lib_Xft_XftFontOpen=no | ||
| 13931 | fi | 9258 | fi |
| 13932 | 9259 | rm -f core conftest.err conftest.$ac_objext \ | |
| 13933 | rm -rf conftest.dSYM | 9260 | conftest$ac_exeext conftest.$ac_ext |
| 13934 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13935 | conftest$ac_exeext conftest.$ac_ext | ||
| 13936 | LIBS=$ac_check_lib_save_LIBS | 9261 | LIBS=$ac_check_lib_save_LIBS |
| 13937 | fi | 9262 | fi |
| 13938 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 9263 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
| 13939 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 9264 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
| 13940 | if test $ac_cv_lib_Xft_XftFontOpen = yes; then | 9265 | if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : |
| 13941 | HAVE_XFT=yes | 9266 | HAVE_XFT=yes |
| 13942 | fi | 9267 | fi |
| 13943 | 9268 | ||
| @@ -13947,9 +9272,7 @@ fi | |||
| 13947 | 9272 | ||
| 13948 | if test "${HAVE_XFT}" = "yes"; then | 9273 | if test "${HAVE_XFT}" = "yes"; then |
| 13949 | 9274 | ||
| 13950 | cat >>confdefs.h <<\_ACEOF | 9275 | $as_echo "#define HAVE_XFT 1" >>confdefs.h |
| 13951 | #define HAVE_XFT 1 | ||
| 13952 | _ACEOF | ||
| 13953 | 9276 | ||
| 13954 | 9277 | ||
| 13955 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 9278 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
| @@ -13978,9 +9301,7 @@ _ACEOF | |||
| 13978 | HAVE_LIBOTF=no | 9301 | HAVE_LIBOTF=no |
| 13979 | if test "${HAVE_FREETYPE}" = "yes"; then | 9302 | if test "${HAVE_FREETYPE}" = "yes"; then |
| 13980 | 9303 | ||
| 13981 | cat >>confdefs.h <<\_ACEOF | 9304 | $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h |
| 13982 | #define HAVE_FREETYPE 1 | ||
| 13983 | _ACEOF | ||
| 13984 | 9305 | ||
| 13985 | if test "${with_libotf}" != "no"; then | 9306 | if test "${with_libotf}" != "no"; then |
| 13986 | 9307 | ||
| @@ -13988,9 +9309,9 @@ _ACEOF | |||
| 13988 | 9309 | ||
| 13989 | # Extract the first word of "pkg-config", so it can be a program name with args. | 9310 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 13990 | set dummy pkg-config; ac_word=$2 | 9311 | set dummy pkg-config; ac_word=$2 |
| 13991 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13992 | $as_echo_n "checking for $ac_word... " >&6; } | 9313 | $as_echo_n "checking for $ac_word... " >&6; } |
| 13993 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9314 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 13994 | $as_echo_n "(cached) " >&6 | 9315 | $as_echo_n "(cached) " >&6 |
| 13995 | else | 9316 | else |
| 13996 | case $PKG_CONFIG in | 9317 | case $PKG_CONFIG in |
| @@ -14003,14 +9324,14 @@ for as_dir in $PATH | |||
| 14003 | do | 9324 | do |
| 14004 | IFS=$as_save_IFS | 9325 | IFS=$as_save_IFS |
| 14005 | test -z "$as_dir" && as_dir=. | 9326 | test -z "$as_dir" && as_dir=. |
| 14006 | for ac_exec_ext in '' $ac_executable_extensions; do | 9327 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 14007 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9328 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14008 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9329 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 14009 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9330 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14010 | break 2 | 9331 | break 2 |
| 14011 | fi | 9332 | fi |
| 14012 | done | 9333 | done |
| 14013 | done | 9334 | done |
| 14014 | IFS=$as_save_IFS | 9335 | IFS=$as_save_IFS |
| 14015 | 9336 | ||
| 14016 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9337 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -14019,10 +9340,10 @@ esac | |||
| 14019 | fi | 9340 | fi |
| 14020 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9341 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 14021 | if test -n "$PKG_CONFIG"; then | 9342 | if test -n "$PKG_CONFIG"; then |
| 14022 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 14023 | $as_echo "$PKG_CONFIG" >&6; } | 9344 | $as_echo "$PKG_CONFIG" >&6; } |
| 14024 | else | 9345 | else |
| 14025 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9346 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14026 | $as_echo "no" >&6; } | 9347 | $as_echo "no" >&6; } |
| 14027 | fi | 9348 | fi |
| 14028 | 9349 | ||
| @@ -14033,27 +9354,27 @@ fi | |||
| 14033 | else | 9354 | else |
| 14034 | PKG_CONFIG_MIN_VERSION=0.9.0 | 9355 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 14035 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9356 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 14036 | { $as_echo "$as_me:$LINENO: checking for libotf" >&5 | 9357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 |
| 14037 | $as_echo_n "checking for libotf... " >&6; } | 9358 | $as_echo_n "checking for libotf... " >&6; } |
| 14038 | 9359 | ||
| 14039 | if $PKG_CONFIG --exists "libotf" 2>&5; then | 9360 | if $PKG_CONFIG --exists "libotf" 2>&5; then |
| 14040 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9361 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 14041 | $as_echo "yes" >&6; } | 9362 | $as_echo "yes" >&6; } |
| 14042 | succeeded=yes | 9363 | succeeded=yes |
| 14043 | 9364 | ||
| 14044 | { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 | 9365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 |
| 14045 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 9366 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
| 14046 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 9367 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
| 14047 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 | 9368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 |
| 14048 | $as_echo "$LIBOTF_CFLAGS" >&6; } | 9369 | $as_echo "$LIBOTF_CFLAGS" >&6; } |
| 14049 | 9370 | ||
| 14050 | { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 | 9371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 |
| 14051 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 9372 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
| 14052 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 9373 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
| 14053 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 | 9374 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 |
| 14054 | $as_echo "$LIBOTF_LIBS" >&6; } | 9375 | $as_echo "$LIBOTF_LIBS" >&6; } |
| 14055 | else | 9376 | else |
| 14056 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14057 | $as_echo "no" >&6; } | 9378 | $as_echo "no" >&6; } |
| 14058 | LIBOTF_CFLAGS="" | 9379 | LIBOTF_CFLAGS="" |
| 14059 | LIBOTF_LIBS="" | 9380 | LIBOTF_LIBS="" |
| @@ -14079,22 +9400,16 @@ $as_echo "no" >&6; } | |||
| 14079 | 9400 | ||
| 14080 | if test "$HAVE_LIBOTF" = "yes"; then | 9401 | if test "$HAVE_LIBOTF" = "yes"; then |
| 14081 | 9402 | ||
| 14082 | cat >>confdefs.h <<\_ACEOF | 9403 | $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h |
| 14083 | #define HAVE_LIBOTF 1 | ||
| 14084 | _ACEOF | ||
| 14085 | 9404 | ||
| 14086 | { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 | 9405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 |
| 14087 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 9406 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
| 14088 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then | 9407 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : |
| 14089 | $as_echo_n "(cached) " >&6 | 9408 | $as_echo_n "(cached) " >&6 |
| 14090 | else | 9409 | else |
| 14091 | ac_check_lib_save_LIBS=$LIBS | 9410 | ac_check_lib_save_LIBS=$LIBS |
| 14092 | LIBS="-lotf $LIBS" | 9411 | LIBS="-lotf $LIBS" |
| 14093 | cat >conftest.$ac_ext <<_ACEOF | 9412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14094 | /* confdefs.h. */ | ||
| 14095 | _ACEOF | ||
| 14096 | cat confdefs.h >>conftest.$ac_ext | ||
| 14097 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14098 | /* end confdefs.h. */ | 9413 | /* end confdefs.h. */ |
| 14099 | 9414 | ||
| 14100 | /* Override any GCC internal prototype to avoid an error. | 9415 | /* Override any GCC internal prototype to avoid an error. |
| @@ -14112,43 +9427,18 @@ return OTF_get_variation_glyphs (); | |||
| 14112 | return 0; | 9427 | return 0; |
| 14113 | } | 9428 | } |
| 14114 | _ACEOF | 9429 | _ACEOF |
| 14115 | rm -f conftest.$ac_objext conftest$ac_exeext | 9430 | if ac_fn_c_try_link "$LINENO"; then : |
| 14116 | if { (ac_try="$ac_link" | ||
| 14117 | case "(($ac_try" in | ||
| 14118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14119 | *) ac_try_echo=$ac_try;; | ||
| 14120 | esac | ||
| 14121 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14122 | $as_echo "$ac_try_echo") >&5 | ||
| 14123 | (eval "$ac_link") 2>conftest.er1 | ||
| 14124 | ac_status=$? | ||
| 14125 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14126 | rm -f conftest.er1 | ||
| 14127 | cat conftest.err >&5 | ||
| 14128 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14129 | (exit $ac_status); } && { | ||
| 14130 | test -z "$ac_c_werror_flag" || | ||
| 14131 | test ! -s conftest.err | ||
| 14132 | } && test -s conftest$ac_exeext && { | ||
| 14133 | test "$cross_compiling" = yes || | ||
| 14134 | $as_test_x conftest$ac_exeext | ||
| 14135 | }; then | ||
| 14136 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 9431 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
| 14137 | else | 9432 | else |
| 14138 | $as_echo "$as_me: failed program was:" >&5 | 9433 | ac_cv_lib_otf_OTF_get_variation_glyphs=no |
| 14139 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14140 | |||
| 14141 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | ||
| 14142 | fi | 9434 | fi |
| 14143 | 9435 | rm -f core conftest.err conftest.$ac_objext \ | |
| 14144 | rm -rf conftest.dSYM | 9436 | conftest$ac_exeext conftest.$ac_ext |
| 14145 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14146 | conftest$ac_exeext conftest.$ac_ext | ||
| 14147 | LIBS=$ac_check_lib_save_LIBS | 9437 | LIBS=$ac_check_lib_save_LIBS |
| 14148 | fi | 9438 | fi |
| 14149 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 9439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
| 14150 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 9440 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
| 14151 | if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then | 9441 | if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : |
| 14152 | HAVE_OTF_GET_VARIATION_GLYPHS=yes | 9442 | HAVE_OTF_GET_VARIATION_GLYPHS=yes |
| 14153 | else | 9443 | else |
| 14154 | HAVE_OTF_GET_VARIATION_GLYPHS=no | 9444 | HAVE_OTF_GET_VARIATION_GLYPHS=no |
| @@ -14156,9 +9446,7 @@ fi | |||
| 14156 | 9446 | ||
| 14157 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 9447 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
| 14158 | 9448 | ||
| 14159 | cat >>confdefs.h <<\_ACEOF | 9449 | $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h |
| 14160 | #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | ||
| 14161 | _ACEOF | ||
| 14162 | 9450 | ||
| 14163 | fi | 9451 | fi |
| 14164 | fi | 9452 | fi |
| @@ -14173,9 +9461,9 @@ _ACEOF | |||
| 14173 | 9461 | ||
| 14174 | # Extract the first word of "pkg-config", so it can be a program name with args. | 9462 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 14175 | set dummy pkg-config; ac_word=$2 | 9463 | set dummy pkg-config; ac_word=$2 |
| 14176 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14177 | $as_echo_n "checking for $ac_word... " >&6; } | 9465 | $as_echo_n "checking for $ac_word... " >&6; } |
| 14178 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9466 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
| 14179 | $as_echo_n "(cached) " >&6 | 9467 | $as_echo_n "(cached) " >&6 |
| 14180 | else | 9468 | else |
| 14181 | case $PKG_CONFIG in | 9469 | case $PKG_CONFIG in |
| @@ -14188,14 +9476,14 @@ for as_dir in $PATH | |||
| 14188 | do | 9476 | do |
| 14189 | IFS=$as_save_IFS | 9477 | IFS=$as_save_IFS |
| 14190 | test -z "$as_dir" && as_dir=. | 9478 | test -z "$as_dir" && as_dir=. |
| 14191 | for ac_exec_ext in '' $ac_executable_extensions; do | 9479 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 14192 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9480 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14193 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9481 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 14194 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9482 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14195 | break 2 | 9483 | break 2 |
| 14196 | fi | 9484 | fi |
| 14197 | done | 9485 | done |
| 14198 | done | 9486 | done |
| 14199 | IFS=$as_save_IFS | 9487 | IFS=$as_save_IFS |
| 14200 | 9488 | ||
| 14201 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9489 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -14204,10 +9492,10 @@ esac | |||
| 14204 | fi | 9492 | fi |
| 14205 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9493 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 14206 | if test -n "$PKG_CONFIG"; then | 9494 | if test -n "$PKG_CONFIG"; then |
| 14207 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 14208 | $as_echo "$PKG_CONFIG" >&6; } | 9496 | $as_echo "$PKG_CONFIG" >&6; } |
| 14209 | else | 9497 | else |
| 14210 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14211 | $as_echo "no" >&6; } | 9499 | $as_echo "no" >&6; } |
| 14212 | fi | 9500 | fi |
| 14213 | 9501 | ||
| @@ -14218,27 +9506,27 @@ fi | |||
| 14218 | else | 9506 | else |
| 14219 | PKG_CONFIG_MIN_VERSION=0.9.0 | 9507 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 14220 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9508 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 14221 | { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 | 9509 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 |
| 14222 | $as_echo_n "checking for m17n-flt... " >&6; } | 9510 | $as_echo_n "checking for m17n-flt... " >&6; } |
| 14223 | 9511 | ||
| 14224 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 9512 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
| 14225 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 14226 | $as_echo "yes" >&6; } | 9514 | $as_echo "yes" >&6; } |
| 14227 | succeeded=yes | 9515 | succeeded=yes |
| 14228 | 9516 | ||
| 14229 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 | 9517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 |
| 14230 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 9518 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
| 14231 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 9519 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
| 14232 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 | 9520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 |
| 14233 | $as_echo "$M17N_FLT_CFLAGS" >&6; } | 9521 | $as_echo "$M17N_FLT_CFLAGS" >&6; } |
| 14234 | 9522 | ||
| 14235 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 | 9523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 |
| 14236 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 9524 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
| 14237 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 9525 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
| 14238 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 | 9526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 |
| 14239 | $as_echo "$M17N_FLT_LIBS" >&6; } | 9527 | $as_echo "$M17N_FLT_LIBS" >&6; } |
| 14240 | else | 9528 | else |
| 14241 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9529 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14242 | $as_echo "no" >&6; } | 9530 | $as_echo "no" >&6; } |
| 14243 | M17N_FLT_CFLAGS="" | 9531 | M17N_FLT_CFLAGS="" |
| 14244 | M17N_FLT_LIBS="" | 9532 | M17N_FLT_LIBS="" |
| @@ -14264,9 +9552,7 @@ $as_echo "no" >&6; } | |||
| 14264 | 9552 | ||
| 14265 | if test "$HAVE_M17N_FLT" = "yes"; then | 9553 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 14266 | 9554 | ||
| 14267 | cat >>confdefs.h <<\_ACEOF | 9555 | $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h |
| 14268 | #define HAVE_M17N_FLT 1 | ||
| 14269 | _ACEOF | ||
| 14270 | 9556 | ||
| 14271 | fi | 9557 | fi |
| 14272 | fi | 9558 | fi |
| @@ -14292,146 +9578,16 @@ fi | |||
| 14292 | HAVE_XPM=no | 9578 | HAVE_XPM=no |
| 14293 | if test "${HAVE_X11}" = "yes"; then | 9579 | if test "${HAVE_X11}" = "yes"; then |
| 14294 | if test "${with_xpm}" != "no"; then | 9580 | if test "${with_xpm}" != "no"; then |
| 14295 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 9581 | ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" |
| 14296 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 9582 | if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : |
| 14297 | $as_echo_n "checking for X11/xpm.h... " >&6; } | 9583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 |
| 14298 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14299 | $as_echo_n "(cached) " >&6 | ||
| 14300 | fi | ||
| 14301 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14302 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14303 | else | ||
| 14304 | # Is the header compilable? | ||
| 14305 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | ||
| 14306 | $as_echo_n "checking X11/xpm.h usability... " >&6; } | ||
| 14307 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14308 | /* confdefs.h. */ | ||
| 14309 | _ACEOF | ||
| 14310 | cat confdefs.h >>conftest.$ac_ext | ||
| 14311 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14312 | /* end confdefs.h. */ | ||
| 14313 | $ac_includes_default | ||
| 14314 | #include <X11/xpm.h> | ||
| 14315 | _ACEOF | ||
| 14316 | rm -f conftest.$ac_objext | ||
| 14317 | if { (ac_try="$ac_compile" | ||
| 14318 | case "(($ac_try" in | ||
| 14319 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14320 | *) ac_try_echo=$ac_try;; | ||
| 14321 | esac | ||
| 14322 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14323 | $as_echo "$ac_try_echo") >&5 | ||
| 14324 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14325 | ac_status=$? | ||
| 14326 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14327 | rm -f conftest.er1 | ||
| 14328 | cat conftest.err >&5 | ||
| 14329 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14330 | (exit $ac_status); } && { | ||
| 14331 | test -z "$ac_c_werror_flag" || | ||
| 14332 | test ! -s conftest.err | ||
| 14333 | } && test -s conftest.$ac_objext; then | ||
| 14334 | ac_header_compiler=yes | ||
| 14335 | else | ||
| 14336 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14337 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14338 | |||
| 14339 | ac_header_compiler=no | ||
| 14340 | fi | ||
| 14341 | |||
| 14342 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14343 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14344 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14345 | |||
| 14346 | # Is the header present? | ||
| 14347 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | ||
| 14348 | $as_echo_n "checking X11/xpm.h presence... " >&6; } | ||
| 14349 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14350 | /* confdefs.h. */ | ||
| 14351 | _ACEOF | ||
| 14352 | cat confdefs.h >>conftest.$ac_ext | ||
| 14353 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14354 | /* end confdefs.h. */ | ||
| 14355 | #include <X11/xpm.h> | ||
| 14356 | _ACEOF | ||
| 14357 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14358 | case "(($ac_try" in | ||
| 14359 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14360 | *) ac_try_echo=$ac_try;; | ||
| 14361 | esac | ||
| 14362 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14363 | $as_echo "$ac_try_echo") >&5 | ||
| 14364 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14365 | ac_status=$? | ||
| 14366 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14367 | rm -f conftest.er1 | ||
| 14368 | cat conftest.err >&5 | ||
| 14369 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14370 | (exit $ac_status); } >/dev/null && { | ||
| 14371 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14372 | test ! -s conftest.err | ||
| 14373 | }; then | ||
| 14374 | ac_header_preproc=yes | ||
| 14375 | else | ||
| 14376 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14377 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14378 | |||
| 14379 | ac_header_preproc=no | ||
| 14380 | fi | ||
| 14381 | |||
| 14382 | rm -f conftest.err conftest.$ac_ext | ||
| 14383 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14384 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14385 | |||
| 14386 | # So? What about this header? | ||
| 14387 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14388 | yes:no: ) | ||
| 14389 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14390 | $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14391 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 | ||
| 14392 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} | ||
| 14393 | ac_header_preproc=yes | ||
| 14394 | ;; | ||
| 14395 | no:yes:* ) | ||
| 14396 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | ||
| 14397 | $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | ||
| 14398 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | ||
| 14399 | $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | ||
| 14400 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 | ||
| 14401 | $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} | ||
| 14402 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14403 | $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14404 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | ||
| 14405 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 14406 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | ||
| 14407 | $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 14408 | |||
| 14409 | ;; | ||
| 14410 | esac | ||
| 14411 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | ||
| 14412 | $as_echo_n "checking for X11/xpm.h... " >&6; } | ||
| 14413 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14414 | $as_echo_n "(cached) " >&6 | ||
| 14415 | else | ||
| 14416 | ac_cv_header_X11_xpm_h=$ac_header_preproc | ||
| 14417 | fi | ||
| 14418 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14419 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14420 | |||
| 14421 | fi | ||
| 14422 | if test $ac_cv_header_X11_xpm_h = yes; then | ||
| 14423 | { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | ||
| 14424 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 9584 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
| 14425 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 9585 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : |
| 14426 | $as_echo_n "(cached) " >&6 | 9586 | $as_echo_n "(cached) " >&6 |
| 14427 | else | 9587 | else |
| 14428 | ac_check_lib_save_LIBS=$LIBS | 9588 | ac_check_lib_save_LIBS=$LIBS |
| 14429 | LIBS="-lXpm -lX11 $LIBS" | 9589 | LIBS="-lXpm -lX11 $LIBS" |
| 14430 | cat >conftest.$ac_ext <<_ACEOF | 9590 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14431 | /* confdefs.h. */ | ||
| 14432 | _ACEOF | ||
| 14433 | cat confdefs.h >>conftest.$ac_ext | ||
| 14434 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14435 | /* end confdefs.h. */ | 9591 | /* end confdefs.h. */ |
| 14436 | 9592 | ||
| 14437 | /* Override any GCC internal prototype to avoid an error. | 9593 | /* Override any GCC internal prototype to avoid an error. |
| @@ -14449,43 +9605,18 @@ return XpmReadFileToPixmap (); | |||
| 14449 | return 0; | 9605 | return 0; |
| 14450 | } | 9606 | } |
| 14451 | _ACEOF | 9607 | _ACEOF |
| 14452 | rm -f conftest.$ac_objext conftest$ac_exeext | 9608 | if ac_fn_c_try_link "$LINENO"; then : |
| 14453 | if { (ac_try="$ac_link" | ||
| 14454 | case "(($ac_try" in | ||
| 14455 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14456 | *) ac_try_echo=$ac_try;; | ||
| 14457 | esac | ||
| 14458 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14459 | $as_echo "$ac_try_echo") >&5 | ||
| 14460 | (eval "$ac_link") 2>conftest.er1 | ||
| 14461 | ac_status=$? | ||
| 14462 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14463 | rm -f conftest.er1 | ||
| 14464 | cat conftest.err >&5 | ||
| 14465 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14466 | (exit $ac_status); } && { | ||
| 14467 | test -z "$ac_c_werror_flag" || | ||
| 14468 | test ! -s conftest.err | ||
| 14469 | } && test -s conftest$ac_exeext && { | ||
| 14470 | test "$cross_compiling" = yes || | ||
| 14471 | $as_test_x conftest$ac_exeext | ||
| 14472 | }; then | ||
| 14473 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 9609 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
| 14474 | else | 9610 | else |
| 14475 | $as_echo "$as_me: failed program was:" >&5 | 9611 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
| 14476 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14477 | |||
| 14478 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | ||
| 14479 | fi | 9612 | fi |
| 14480 | 9613 | rm -f core conftest.err conftest.$ac_objext \ | |
| 14481 | rm -rf conftest.dSYM | 9614 | conftest$ac_exeext conftest.$ac_ext |
| 14482 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14483 | conftest$ac_exeext conftest.$ac_ext | ||
| 14484 | LIBS=$ac_check_lib_save_LIBS | 9615 | LIBS=$ac_check_lib_save_LIBS |
| 14485 | fi | 9616 | fi |
| 14486 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 9617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
| 14487 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 9618 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
| 14488 | if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 9619 | if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : |
| 14489 | HAVE_XPM=yes | 9620 | HAVE_XPM=yes |
| 14490 | fi | 9621 | fi |
| 14491 | 9622 | ||
| @@ -14493,13 +9624,9 @@ fi | |||
| 14493 | 9624 | ||
| 14494 | 9625 | ||
| 14495 | if test "${HAVE_XPM}" = "yes"; then | 9626 | if test "${HAVE_XPM}" = "yes"; then |
| 14496 | { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 | 9627 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 14497 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 9628 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
| 14498 | cat >conftest.$ac_ext <<_ACEOF | 9629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14499 | /* confdefs.h. */ | ||
| 14500 | _ACEOF | ||
| 14501 | cat confdefs.h >>conftest.$ac_ext | ||
| 14502 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14503 | /* end confdefs.h. */ | 9630 | /* end confdefs.h. */ |
| 14504 | #include "X11/xpm.h" | 9631 | #include "X11/xpm.h" |
| 14505 | #ifndef XpmReturnAllocPixels | 9632 | #ifndef XpmReturnAllocPixels |
| @@ -14508,7 +9635,7 @@ no_return_alloc_pixels | |||
| 14508 | 9635 | ||
| 14509 | _ACEOF | 9636 | _ACEOF |
| 14510 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9637 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 14511 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then | 9638 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : |
| 14512 | HAVE_XPM=no | 9639 | HAVE_XPM=no |
| 14513 | else | 9640 | else |
| 14514 | HAVE_XPM=yes | 9641 | HAVE_XPM=yes |
| @@ -14517,10 +9644,10 @@ rm -f conftest* | |||
| 14517 | 9644 | ||
| 14518 | 9645 | ||
| 14519 | if test "${HAVE_XPM}" = "yes"; then | 9646 | if test "${HAVE_XPM}" = "yes"; then |
| 14520 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 14521 | $as_echo "yes" >&6; } | 9648 | $as_echo "yes" >&6; } |
| 14522 | else | 9649 | else |
| 14523 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 9650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14524 | $as_echo "no" >&6; } | 9651 | $as_echo "no" >&6; } |
| 14525 | fi | 9652 | fi |
| 14526 | fi | 9653 | fi |
| @@ -14528,9 +9655,7 @@ $as_echo "no" >&6; } | |||
| 14528 | 9655 | ||
| 14529 | if test "${HAVE_XPM}" = "yes"; then | 9656 | if test "${HAVE_XPM}" = "yes"; then |
| 14530 | 9657 | ||
| 14531 | cat >>confdefs.h <<\_ACEOF | 9658 | $as_echo "#define HAVE_XPM 1" >>confdefs.h |
| 14532 | #define HAVE_XPM 1 | ||
| 14533 | _ACEOF | ||
| 14534 | 9659 | ||
| 14535 | fi | 9660 | fi |
| 14536 | fi | 9661 | fi |
| @@ -14539,146 +9664,16 @@ fi | |||
| 14539 | HAVE_JPEG=no | 9664 | HAVE_JPEG=no |
| 14540 | if test "${HAVE_X11}" = "yes"; then | 9665 | if test "${HAVE_X11}" = "yes"; then |
| 14541 | if test "${with_jpeg}" != "no"; then | 9666 | if test "${with_jpeg}" != "no"; then |
| 14542 | if test "${ac_cv_header_jerror_h+set}" = set; then | 9667 | ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" |
| 14543 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | 9668 | if test "x$ac_cv_header_jerror_h" = x""yes; then : |
| 14544 | $as_echo_n "checking for jerror.h... " >&6; } | 9669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 |
| 14545 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14546 | $as_echo_n "(cached) " >&6 | ||
| 14547 | fi | ||
| 14548 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14549 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14550 | else | ||
| 14551 | # Is the header compilable? | ||
| 14552 | { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 | ||
| 14553 | $as_echo_n "checking jerror.h usability... " >&6; } | ||
| 14554 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14555 | /* confdefs.h. */ | ||
| 14556 | _ACEOF | ||
| 14557 | cat confdefs.h >>conftest.$ac_ext | ||
| 14558 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14559 | /* end confdefs.h. */ | ||
| 14560 | $ac_includes_default | ||
| 14561 | #include <jerror.h> | ||
| 14562 | _ACEOF | ||
| 14563 | rm -f conftest.$ac_objext | ||
| 14564 | if { (ac_try="$ac_compile" | ||
| 14565 | case "(($ac_try" in | ||
| 14566 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14567 | *) ac_try_echo=$ac_try;; | ||
| 14568 | esac | ||
| 14569 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14570 | $as_echo "$ac_try_echo") >&5 | ||
| 14571 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14572 | ac_status=$? | ||
| 14573 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14574 | rm -f conftest.er1 | ||
| 14575 | cat conftest.err >&5 | ||
| 14576 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14577 | (exit $ac_status); } && { | ||
| 14578 | test -z "$ac_c_werror_flag" || | ||
| 14579 | test ! -s conftest.err | ||
| 14580 | } && test -s conftest.$ac_objext; then | ||
| 14581 | ac_header_compiler=yes | ||
| 14582 | else | ||
| 14583 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14584 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14585 | |||
| 14586 | ac_header_compiler=no | ||
| 14587 | fi | ||
| 14588 | |||
| 14589 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14590 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14591 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14592 | |||
| 14593 | # Is the header present? | ||
| 14594 | { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 | ||
| 14595 | $as_echo_n "checking jerror.h presence... " >&6; } | ||
| 14596 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14597 | /* confdefs.h. */ | ||
| 14598 | _ACEOF | ||
| 14599 | cat confdefs.h >>conftest.$ac_ext | ||
| 14600 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14601 | /* end confdefs.h. */ | ||
| 14602 | #include <jerror.h> | ||
| 14603 | _ACEOF | ||
| 14604 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14605 | case "(($ac_try" in | ||
| 14606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14607 | *) ac_try_echo=$ac_try;; | ||
| 14608 | esac | ||
| 14609 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14610 | $as_echo "$ac_try_echo") >&5 | ||
| 14611 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14612 | ac_status=$? | ||
| 14613 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14614 | rm -f conftest.er1 | ||
| 14615 | cat conftest.err >&5 | ||
| 14616 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14617 | (exit $ac_status); } >/dev/null && { | ||
| 14618 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14619 | test ! -s conftest.err | ||
| 14620 | }; then | ||
| 14621 | ac_header_preproc=yes | ||
| 14622 | else | ||
| 14623 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14624 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14625 | |||
| 14626 | ac_header_preproc=no | ||
| 14627 | fi | ||
| 14628 | |||
| 14629 | rm -f conftest.err conftest.$ac_ext | ||
| 14630 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14631 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14632 | |||
| 14633 | # So? What about this header? | ||
| 14634 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14635 | yes:no: ) | ||
| 14636 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14637 | $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14638 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 | ||
| 14639 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} | ||
| 14640 | ac_header_preproc=yes | ||
| 14641 | ;; | ||
| 14642 | no:yes:* ) | ||
| 14643 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | ||
| 14644 | $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | ||
| 14645 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | ||
| 14646 | $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | ||
| 14647 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 | ||
| 14648 | $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} | ||
| 14649 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14650 | $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14651 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | ||
| 14652 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | ||
| 14653 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | ||
| 14654 | $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | ||
| 14655 | |||
| 14656 | ;; | ||
| 14657 | esac | ||
| 14658 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | ||
| 14659 | $as_echo_n "checking for jerror.h... " >&6; } | ||
| 14660 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14661 | $as_echo_n "(cached) " >&6 | ||
| 14662 | else | ||
| 14663 | ac_cv_header_jerror_h=$ac_header_preproc | ||
| 14664 | fi | ||
| 14665 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14666 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14667 | |||
| 14668 | fi | ||
| 14669 | if test $ac_cv_header_jerror_h = yes; then | ||
| 14670 | { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | ||
| 14671 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 9670 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
| 14672 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 9671 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : |
| 14673 | $as_echo_n "(cached) " >&6 | 9672 | $as_echo_n "(cached) " >&6 |
| 14674 | else | 9673 | else |
| 14675 | ac_check_lib_save_LIBS=$LIBS | 9674 | ac_check_lib_save_LIBS=$LIBS |
| 14676 | LIBS="-ljpeg $LIBS" | 9675 | LIBS="-ljpeg $LIBS" |
| 14677 | cat >conftest.$ac_ext <<_ACEOF | 9676 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14678 | /* confdefs.h. */ | ||
| 14679 | _ACEOF | ||
| 14680 | cat confdefs.h >>conftest.$ac_ext | ||
| 14681 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14682 | /* end confdefs.h. */ | 9677 | /* end confdefs.h. */ |
| 14683 | 9678 | ||
| 14684 | /* Override any GCC internal prototype to avoid an error. | 9679 | /* Override any GCC internal prototype to avoid an error. |
| @@ -14696,43 +9691,18 @@ return jpeg_destroy_compress (); | |||
| 14696 | return 0; | 9691 | return 0; |
| 14697 | } | 9692 | } |
| 14698 | _ACEOF | 9693 | _ACEOF |
| 14699 | rm -f conftest.$ac_objext conftest$ac_exeext | 9694 | if ac_fn_c_try_link "$LINENO"; then : |
| 14700 | if { (ac_try="$ac_link" | ||
| 14701 | case "(($ac_try" in | ||
| 14702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14703 | *) ac_try_echo=$ac_try;; | ||
| 14704 | esac | ||
| 14705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14706 | $as_echo "$ac_try_echo") >&5 | ||
| 14707 | (eval "$ac_link") 2>conftest.er1 | ||
| 14708 | ac_status=$? | ||
| 14709 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14710 | rm -f conftest.er1 | ||
| 14711 | cat conftest.err >&5 | ||
| 14712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14713 | (exit $ac_status); } && { | ||
| 14714 | test -z "$ac_c_werror_flag" || | ||
| 14715 | test ! -s conftest.err | ||
| 14716 | } && test -s conftest$ac_exeext && { | ||
| 14717 | test "$cross_compiling" = yes || | ||
| 14718 | $as_test_x conftest$ac_exeext | ||
| 14719 | }; then | ||
| 14720 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 9695 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
| 14721 | else | 9696 | else |
| 14722 | $as_echo "$as_me: failed program was:" >&5 | 9697 | ac_cv_lib_jpeg_jpeg_destroy_compress=no |
| 14723 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14724 | |||
| 14725 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | ||
| 14726 | fi | 9698 | fi |
| 14727 | 9699 | rm -f core conftest.err conftest.$ac_objext \ | |
| 14728 | rm -rf conftest.dSYM | 9700 | conftest$ac_exeext conftest.$ac_ext |
| 14729 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14730 | conftest$ac_exeext conftest.$ac_ext | ||
| 14731 | LIBS=$ac_check_lib_save_LIBS | 9701 | LIBS=$ac_check_lib_save_LIBS |
| 14732 | fi | 9702 | fi |
| 14733 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 9703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
| 14734 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 9704 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
| 14735 | if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 9705 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : |
| 14736 | HAVE_JPEG=yes | 9706 | HAVE_JPEG=yes |
| 14737 | fi | 9707 | fi |
| 14738 | 9708 | ||
| @@ -14741,30 +9711,21 @@ fi | |||
| 14741 | 9711 | ||
| 14742 | fi | 9712 | fi |
| 14743 | 9713 | ||
| 9714 | if test "${HAVE_JPEG}" = "yes"; then | ||
| 9715 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | ||
| 14744 | 9716 | ||
| 14745 | if test "${HAVE_JPEG}" = "yes"; then | 9717 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14746 | cat >>confdefs.h <<\_ACEOF | ||
| 14747 | #define HAVE_JPEG 1 | ||
| 14748 | _ACEOF | ||
| 14749 | |||
| 14750 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14751 | /* confdefs.h. */ | ||
| 14752 | _ACEOF | ||
| 14753 | cat confdefs.h >>conftest.$ac_ext | ||
| 14754 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14755 | /* end confdefs.h. */ | 9718 | /* end confdefs.h. */ |
| 14756 | #include <jpeglib.h> | 9719 | #include <jpeglib.h> |
| 14757 | version=JPEG_LIB_VERSION | 9720 | version=JPEG_LIB_VERSION |
| 14758 | 9721 | ||
| 14759 | _ACEOF | 9722 | _ACEOF |
| 14760 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9723 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 14761 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then | 9724 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : |
| 14762 | cat >>confdefs.h <<\_ACEOF | 9725 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h |
| 14763 | #define HAVE_JPEG 1 | ||
| 14764 | _ACEOF | ||
| 14765 | 9726 | ||
| 14766 | else | 9727 | else |
| 14767 | { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 | 9728 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 |
| 14768 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 9729 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
| 14769 | HAVE_JPEG=no | 9730 | HAVE_JPEG=no |
| 14770 | fi | 9731 | fi |
| @@ -14779,144 +9740,12 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 14779 | if test "${with_png}" != "no"; then | 9740 | if test "${with_png}" != "no"; then |
| 14780 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 9741 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
| 14781 | # in /usr/include/libpng. | 9742 | # in /usr/include/libpng. |
| 14782 | 9743 | for ac_header in png.h libpng/png.h | |
| 14783 | 9744 | do : | |
| 14784 | for ac_header in png.h libpng/png.h | 9745 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14785 | do | 9746 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 14786 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9747 | eval as_val=\$$as_ac_Header |
| 14787 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 9748 | if test "x$as_val" = x""yes; then : |
| 14788 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 14789 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 14790 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 14791 | $as_echo_n "(cached) " >&6 | ||
| 14792 | fi | ||
| 14793 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 14794 | $as_echo "$as_val"'` | ||
| 14795 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 14796 | $as_echo "$ac_res" >&6; } | ||
| 14797 | else | ||
| 14798 | # Is the header compilable? | ||
| 14799 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 14800 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 14801 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14802 | /* confdefs.h. */ | ||
| 14803 | _ACEOF | ||
| 14804 | cat confdefs.h >>conftest.$ac_ext | ||
| 14805 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14806 | /* end confdefs.h. */ | ||
| 14807 | $ac_includes_default | ||
| 14808 | #include <$ac_header> | ||
| 14809 | _ACEOF | ||
| 14810 | rm -f conftest.$ac_objext | ||
| 14811 | if { (ac_try="$ac_compile" | ||
| 14812 | case "(($ac_try" in | ||
| 14813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14814 | *) ac_try_echo=$ac_try;; | ||
| 14815 | esac | ||
| 14816 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14817 | $as_echo "$ac_try_echo") >&5 | ||
| 14818 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14819 | ac_status=$? | ||
| 14820 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14821 | rm -f conftest.er1 | ||
| 14822 | cat conftest.err >&5 | ||
| 14823 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14824 | (exit $ac_status); } && { | ||
| 14825 | test -z "$ac_c_werror_flag" || | ||
| 14826 | test ! -s conftest.err | ||
| 14827 | } && test -s conftest.$ac_objext; then | ||
| 14828 | ac_header_compiler=yes | ||
| 14829 | else | ||
| 14830 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14831 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14832 | |||
| 14833 | ac_header_compiler=no | ||
| 14834 | fi | ||
| 14835 | |||
| 14836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14837 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14838 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14839 | |||
| 14840 | # Is the header present? | ||
| 14841 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 14842 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 14843 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14844 | /* confdefs.h. */ | ||
| 14845 | _ACEOF | ||
| 14846 | cat confdefs.h >>conftest.$ac_ext | ||
| 14847 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14848 | /* end confdefs.h. */ | ||
| 14849 | #include <$ac_header> | ||
| 14850 | _ACEOF | ||
| 14851 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14852 | case "(($ac_try" in | ||
| 14853 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14854 | *) ac_try_echo=$ac_try;; | ||
| 14855 | esac | ||
| 14856 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14857 | $as_echo "$ac_try_echo") >&5 | ||
| 14858 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14859 | ac_status=$? | ||
| 14860 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14861 | rm -f conftest.er1 | ||
| 14862 | cat conftest.err >&5 | ||
| 14863 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14864 | (exit $ac_status); } >/dev/null && { | ||
| 14865 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14866 | test ! -s conftest.err | ||
| 14867 | }; then | ||
| 14868 | ac_header_preproc=yes | ||
| 14869 | else | ||
| 14870 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14871 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14872 | |||
| 14873 | ac_header_preproc=no | ||
| 14874 | fi | ||
| 14875 | |||
| 14876 | rm -f conftest.err conftest.$ac_ext | ||
| 14877 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14878 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14879 | |||
| 14880 | # So? What about this header? | ||
| 14881 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14882 | yes:no: ) | ||
| 14883 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14884 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14885 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 14886 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 14887 | ac_header_preproc=yes | ||
| 14888 | ;; | ||
| 14889 | no:yes:* ) | ||
| 14890 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 14891 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 14892 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 14893 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 14894 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 14895 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 14896 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14897 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14898 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 14899 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 14900 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 14901 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 14902 | |||
| 14903 | ;; | ||
| 14904 | esac | ||
| 14905 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 14906 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 14907 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 14908 | $as_echo_n "(cached) " >&6 | ||
| 14909 | else | ||
| 14910 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 14911 | fi | ||
| 14912 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 14913 | $as_echo "$as_val"'` | ||
| 14914 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 14915 | $as_echo "$ac_res" >&6; } | ||
| 14916 | |||
| 14917 | fi | ||
| 14918 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 14919 | $as_echo "$as_val"'` = yes; then | ||
| 14920 | cat >>confdefs.h <<_ACEOF | 9749 | cat >>confdefs.h <<_ACEOF |
| 14921 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9750 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 14922 | _ACEOF | 9751 | _ACEOF |
| @@ -14926,18 +9755,14 @@ fi | |||
| 14926 | done | 9755 | done |
| 14927 | 9756 | ||
| 14928 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 9757 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
| 14929 | { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 | 9758 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 |
| 14930 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 9759 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
| 14931 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 9760 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : |
| 14932 | $as_echo_n "(cached) " >&6 | 9761 | $as_echo_n "(cached) " >&6 |
| 14933 | else | 9762 | else |
| 14934 | ac_check_lib_save_LIBS=$LIBS | 9763 | ac_check_lib_save_LIBS=$LIBS |
| 14935 | LIBS="-lpng -lz -lm $LIBS" | 9764 | LIBS="-lpng -lz -lm $LIBS" |
| 14936 | cat >conftest.$ac_ext <<_ACEOF | 9765 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14937 | /* confdefs.h. */ | ||
| 14938 | _ACEOF | ||
| 14939 | cat confdefs.h >>conftest.$ac_ext | ||
| 14940 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14941 | /* end confdefs.h. */ | 9766 | /* end confdefs.h. */ |
| 14942 | 9767 | ||
| 14943 | /* Override any GCC internal prototype to avoid an error. | 9768 | /* Override any GCC internal prototype to avoid an error. |
| @@ -14955,43 +9780,18 @@ return png_get_channels (); | |||
| 14955 | return 0; | 9780 | return 0; |
| 14956 | } | 9781 | } |
| 14957 | _ACEOF | 9782 | _ACEOF |
| 14958 | rm -f conftest.$ac_objext conftest$ac_exeext | 9783 | if ac_fn_c_try_link "$LINENO"; then : |
| 14959 | if { (ac_try="$ac_link" | ||
| 14960 | case "(($ac_try" in | ||
| 14961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14962 | *) ac_try_echo=$ac_try;; | ||
| 14963 | esac | ||
| 14964 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14965 | $as_echo "$ac_try_echo") >&5 | ||
| 14966 | (eval "$ac_link") 2>conftest.er1 | ||
| 14967 | ac_status=$? | ||
| 14968 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14969 | rm -f conftest.er1 | ||
| 14970 | cat conftest.err >&5 | ||
| 14971 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14972 | (exit $ac_status); } && { | ||
| 14973 | test -z "$ac_c_werror_flag" || | ||
| 14974 | test ! -s conftest.err | ||
| 14975 | } && test -s conftest$ac_exeext && { | ||
| 14976 | test "$cross_compiling" = yes || | ||
| 14977 | $as_test_x conftest$ac_exeext | ||
| 14978 | }; then | ||
| 14979 | ac_cv_lib_png_png_get_channels=yes | 9784 | ac_cv_lib_png_png_get_channels=yes |
| 14980 | else | 9785 | else |
| 14981 | $as_echo "$as_me: failed program was:" >&5 | 9786 | ac_cv_lib_png_png_get_channels=no |
| 14982 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14983 | |||
| 14984 | ac_cv_lib_png_png_get_channels=no | ||
| 14985 | fi | 9787 | fi |
| 14986 | 9788 | rm -f core conftest.err conftest.$ac_objext \ | |
| 14987 | rm -rf conftest.dSYM | 9789 | conftest$ac_exeext conftest.$ac_ext |
| 14988 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14989 | conftest$ac_exeext conftest.$ac_ext | ||
| 14990 | LIBS=$ac_check_lib_save_LIBS | 9790 | LIBS=$ac_check_lib_save_LIBS |
| 14991 | fi | 9791 | fi |
| 14992 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 | 9792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 |
| 14993 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 9793 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
| 14994 | if test $ac_cv_lib_png_png_get_channels = yes; then | 9794 | if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : |
| 14995 | HAVE_PNG=yes | 9795 | HAVE_PNG=yes |
| 14996 | fi | 9796 | fi |
| 14997 | 9797 | ||
| @@ -15000,9 +9800,7 @@ fi | |||
| 15000 | 9800 | ||
| 15001 | if test "${HAVE_PNG}" = "yes"; then | 9801 | if test "${HAVE_PNG}" = "yes"; then |
| 15002 | 9802 | ||
| 15003 | cat >>confdefs.h <<\_ACEOF | 9803 | $as_echo "#define HAVE_PNG 1" >>confdefs.h |
| 15004 | #define HAVE_PNG 1 | ||
| 15005 | _ACEOF | ||
| 15006 | 9804 | ||
| 15007 | fi | 9805 | fi |
| 15008 | fi | 9806 | fi |
| @@ -15011,149 +9809,19 @@ fi | |||
| 15011 | HAVE_TIFF=no | 9809 | HAVE_TIFF=no |
| 15012 | if test "${HAVE_X11}" = "yes"; then | 9810 | if test "${HAVE_X11}" = "yes"; then |
| 15013 | if test "${with_tiff}" != "no"; then | 9811 | if test "${with_tiff}" != "no"; then |
| 15014 | if test "${ac_cv_header_tiffio_h+set}" = set; then | 9812 | ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" |
| 15015 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 9813 | if test "x$ac_cv_header_tiffio_h" = x""yes; then : |
| 15016 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15017 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15018 | $as_echo_n "(cached) " >&6 | ||
| 15019 | fi | ||
| 15020 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15021 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15022 | else | ||
| 15023 | # Is the header compilable? | ||
| 15024 | { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | ||
| 15025 | $as_echo_n "checking tiffio.h usability... " >&6; } | ||
| 15026 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15027 | /* confdefs.h. */ | ||
| 15028 | _ACEOF | ||
| 15029 | cat confdefs.h >>conftest.$ac_ext | ||
| 15030 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15031 | /* end confdefs.h. */ | ||
| 15032 | $ac_includes_default | ||
| 15033 | #include <tiffio.h> | ||
| 15034 | _ACEOF | ||
| 15035 | rm -f conftest.$ac_objext | ||
| 15036 | if { (ac_try="$ac_compile" | ||
| 15037 | case "(($ac_try" in | ||
| 15038 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15039 | *) ac_try_echo=$ac_try;; | ||
| 15040 | esac | ||
| 15041 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15042 | $as_echo "$ac_try_echo") >&5 | ||
| 15043 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15044 | ac_status=$? | ||
| 15045 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15046 | rm -f conftest.er1 | ||
| 15047 | cat conftest.err >&5 | ||
| 15048 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15049 | (exit $ac_status); } && { | ||
| 15050 | test -z "$ac_c_werror_flag" || | ||
| 15051 | test ! -s conftest.err | ||
| 15052 | } && test -s conftest.$ac_objext; then | ||
| 15053 | ac_header_compiler=yes | ||
| 15054 | else | ||
| 15055 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15056 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15057 | |||
| 15058 | ac_header_compiler=no | ||
| 15059 | fi | ||
| 15060 | |||
| 15061 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15062 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15063 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15064 | |||
| 15065 | # Is the header present? | ||
| 15066 | { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | ||
| 15067 | $as_echo_n "checking tiffio.h presence... " >&6; } | ||
| 15068 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15069 | /* confdefs.h. */ | ||
| 15070 | _ACEOF | ||
| 15071 | cat confdefs.h >>conftest.$ac_ext | ||
| 15072 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15073 | /* end confdefs.h. */ | ||
| 15074 | #include <tiffio.h> | ||
| 15075 | _ACEOF | ||
| 15076 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15077 | case "(($ac_try" in | ||
| 15078 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15079 | *) ac_try_echo=$ac_try;; | ||
| 15080 | esac | ||
| 15081 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15082 | $as_echo "$ac_try_echo") >&5 | ||
| 15083 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15084 | ac_status=$? | ||
| 15085 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15086 | rm -f conftest.er1 | ||
| 15087 | cat conftest.err >&5 | ||
| 15088 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15089 | (exit $ac_status); } >/dev/null && { | ||
| 15090 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15091 | test ! -s conftest.err | ||
| 15092 | }; then | ||
| 15093 | ac_header_preproc=yes | ||
| 15094 | else | ||
| 15095 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15096 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15097 | |||
| 15098 | ac_header_preproc=no | ||
| 15099 | fi | ||
| 15100 | |||
| 15101 | rm -f conftest.err conftest.$ac_ext | ||
| 15102 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15103 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15104 | |||
| 15105 | # So? What about this header? | ||
| 15106 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15107 | yes:no: ) | ||
| 15108 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15109 | $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15110 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 | ||
| 15111 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} | ||
| 15112 | ac_header_preproc=yes | ||
| 15113 | ;; | ||
| 15114 | no:yes:* ) | ||
| 15115 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | ||
| 15116 | $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | ||
| 15117 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | ||
| 15118 | $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | ||
| 15119 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 | ||
| 15120 | $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} | ||
| 15121 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15122 | $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15123 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | ||
| 15124 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | ||
| 15125 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | ||
| 15126 | $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | ||
| 15127 | |||
| 15128 | ;; | ||
| 15129 | esac | ||
| 15130 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | ||
| 15131 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15132 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15133 | $as_echo_n "(cached) " >&6 | ||
| 15134 | else | ||
| 15135 | ac_cv_header_tiffio_h=$ac_header_preproc | ||
| 15136 | fi | ||
| 15137 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15138 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15139 | |||
| 15140 | fi | ||
| 15141 | if test $ac_cv_header_tiffio_h = yes; then | ||
| 15142 | tifflibs="-lz -lm" | 9814 | tifflibs="-lz -lm" |
| 15143 | # At least one tiff package requires the jpeg library. | 9815 | # At least one tiff package requires the jpeg library. |
| 15144 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 9816 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 15145 | { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 | 9817 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 |
| 15146 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 9818 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
| 15147 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 9819 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : |
| 15148 | $as_echo_n "(cached) " >&6 | 9820 | $as_echo_n "(cached) " >&6 |
| 15149 | else | 9821 | else |
| 15150 | ac_check_lib_save_LIBS=$LIBS | 9822 | ac_check_lib_save_LIBS=$LIBS |
| 15151 | LIBS="-ltiff $tifflibs $LIBS" | 9823 | LIBS="-ltiff $tifflibs $LIBS" |
| 15152 | cat >conftest.$ac_ext <<_ACEOF | 9824 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15153 | /* confdefs.h. */ | ||
| 15154 | _ACEOF | ||
| 15155 | cat confdefs.h >>conftest.$ac_ext | ||
| 15156 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15157 | /* end confdefs.h. */ | 9825 | /* end confdefs.h. */ |
| 15158 | 9826 | ||
| 15159 | /* Override any GCC internal prototype to avoid an error. | 9827 | /* Override any GCC internal prototype to avoid an error. |
| @@ -15171,43 +9839,18 @@ return TIFFGetVersion (); | |||
| 15171 | return 0; | 9839 | return 0; |
| 15172 | } | 9840 | } |
| 15173 | _ACEOF | 9841 | _ACEOF |
| 15174 | rm -f conftest.$ac_objext conftest$ac_exeext | 9842 | if ac_fn_c_try_link "$LINENO"; then : |
| 15175 | if { (ac_try="$ac_link" | ||
| 15176 | case "(($ac_try" in | ||
| 15177 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15178 | *) ac_try_echo=$ac_try;; | ||
| 15179 | esac | ||
| 15180 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15181 | $as_echo "$ac_try_echo") >&5 | ||
| 15182 | (eval "$ac_link") 2>conftest.er1 | ||
| 15183 | ac_status=$? | ||
| 15184 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15185 | rm -f conftest.er1 | ||
| 15186 | cat conftest.err >&5 | ||
| 15187 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15188 | (exit $ac_status); } && { | ||
| 15189 | test -z "$ac_c_werror_flag" || | ||
| 15190 | test ! -s conftest.err | ||
| 15191 | } && test -s conftest$ac_exeext && { | ||
| 15192 | test "$cross_compiling" = yes || | ||
| 15193 | $as_test_x conftest$ac_exeext | ||
| 15194 | }; then | ||
| 15195 | ac_cv_lib_tiff_TIFFGetVersion=yes | 9843 | ac_cv_lib_tiff_TIFFGetVersion=yes |
| 15196 | else | 9844 | else |
| 15197 | $as_echo "$as_me: failed program was:" >&5 | 9845 | ac_cv_lib_tiff_TIFFGetVersion=no |
| 15198 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15199 | |||
| 15200 | ac_cv_lib_tiff_TIFFGetVersion=no | ||
| 15201 | fi | 9846 | fi |
| 15202 | 9847 | rm -f core conftest.err conftest.$ac_objext \ | |
| 15203 | rm -rf conftest.dSYM | 9848 | conftest$ac_exeext conftest.$ac_ext |
| 15204 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15205 | conftest$ac_exeext conftest.$ac_ext | ||
| 15206 | LIBS=$ac_check_lib_save_LIBS | 9849 | LIBS=$ac_check_lib_save_LIBS |
| 15207 | fi | 9850 | fi |
| 15208 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 9851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
| 15209 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 9852 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
| 15210 | if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 9853 | if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : |
| 15211 | HAVE_TIFF=yes | 9854 | HAVE_TIFF=yes |
| 15212 | fi | 9855 | fi |
| 15213 | 9856 | ||
| @@ -15218,9 +9861,7 @@ fi | |||
| 15218 | 9861 | ||
| 15219 | if test "${HAVE_TIFF}" = "yes"; then | 9862 | if test "${HAVE_TIFF}" = "yes"; then |
| 15220 | 9863 | ||
| 15221 | cat >>confdefs.h <<\_ACEOF | 9864 | $as_echo "#define HAVE_TIFF 1" >>confdefs.h |
| 15222 | #define HAVE_TIFF 1 | ||
| 15223 | _ACEOF | ||
| 15224 | 9865 | ||
| 15225 | fi | 9866 | fi |
| 15226 | fi | 9867 | fi |
| @@ -15228,148 +9869,18 @@ fi | |||
| 15228 | ### Use -lgif or -lungif if available, unless `--with-gif=no'. | 9869 | ### Use -lgif or -lungif if available, unless `--with-gif=no'. |
| 15229 | HAVE_GIF=no | 9870 | HAVE_GIF=no |
| 15230 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 9871 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
| 15231 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | 9872 | ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" |
| 15232 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 9873 | if test "x$ac_cv_header_gif_lib_h" = x""yes; then : |
| 15233 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15234 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15235 | $as_echo_n "(cached) " >&6 | ||
| 15236 | fi | ||
| 15237 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15238 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15239 | else | ||
| 15240 | # Is the header compilable? | ||
| 15241 | { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | ||
| 15242 | $as_echo_n "checking gif_lib.h usability... " >&6; } | ||
| 15243 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15244 | /* confdefs.h. */ | ||
| 15245 | _ACEOF | ||
| 15246 | cat confdefs.h >>conftest.$ac_ext | ||
| 15247 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15248 | /* end confdefs.h. */ | ||
| 15249 | $ac_includes_default | ||
| 15250 | #include <gif_lib.h> | ||
| 15251 | _ACEOF | ||
| 15252 | rm -f conftest.$ac_objext | ||
| 15253 | if { (ac_try="$ac_compile" | ||
| 15254 | case "(($ac_try" in | ||
| 15255 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15256 | *) ac_try_echo=$ac_try;; | ||
| 15257 | esac | ||
| 15258 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15259 | $as_echo "$ac_try_echo") >&5 | ||
| 15260 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15261 | ac_status=$? | ||
| 15262 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15263 | rm -f conftest.er1 | ||
| 15264 | cat conftest.err >&5 | ||
| 15265 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15266 | (exit $ac_status); } && { | ||
| 15267 | test -z "$ac_c_werror_flag" || | ||
| 15268 | test ! -s conftest.err | ||
| 15269 | } && test -s conftest.$ac_objext; then | ||
| 15270 | ac_header_compiler=yes | ||
| 15271 | else | ||
| 15272 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15273 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15274 | |||
| 15275 | ac_header_compiler=no | ||
| 15276 | fi | ||
| 15277 | |||
| 15278 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15279 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15280 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15281 | |||
| 15282 | # Is the header present? | ||
| 15283 | { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | ||
| 15284 | $as_echo_n "checking gif_lib.h presence... " >&6; } | ||
| 15285 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15286 | /* confdefs.h. */ | ||
| 15287 | _ACEOF | ||
| 15288 | cat confdefs.h >>conftest.$ac_ext | ||
| 15289 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15290 | /* end confdefs.h. */ | ||
| 15291 | #include <gif_lib.h> | ||
| 15292 | _ACEOF | ||
| 15293 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15294 | case "(($ac_try" in | ||
| 15295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15296 | *) ac_try_echo=$ac_try;; | ||
| 15297 | esac | ||
| 15298 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15299 | $as_echo "$ac_try_echo") >&5 | ||
| 15300 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15301 | ac_status=$? | ||
| 15302 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15303 | rm -f conftest.er1 | ||
| 15304 | cat conftest.err >&5 | ||
| 15305 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15306 | (exit $ac_status); } >/dev/null && { | ||
| 15307 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15308 | test ! -s conftest.err | ||
| 15309 | }; then | ||
| 15310 | ac_header_preproc=yes | ||
| 15311 | else | ||
| 15312 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15313 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15314 | |||
| 15315 | ac_header_preproc=no | ||
| 15316 | fi | ||
| 15317 | |||
| 15318 | rm -f conftest.err conftest.$ac_ext | ||
| 15319 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15320 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15321 | |||
| 15322 | # So? What about this header? | ||
| 15323 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15324 | yes:no: ) | ||
| 15325 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15326 | $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15327 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 | ||
| 15328 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} | ||
| 15329 | ac_header_preproc=yes | ||
| 15330 | ;; | ||
| 15331 | no:yes:* ) | ||
| 15332 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | ||
| 15333 | $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | ||
| 15334 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | ||
| 15335 | $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | ||
| 15336 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 | ||
| 15337 | $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} | ||
| 15338 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15339 | $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15340 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | ||
| 15341 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | ||
| 15342 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | ||
| 15343 | $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | ||
| 15344 | |||
| 15345 | ;; | ||
| 15346 | esac | ||
| 15347 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | ||
| 15348 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15349 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15350 | $as_echo_n "(cached) " >&6 | ||
| 15351 | else | ||
| 15352 | ac_cv_header_gif_lib_h=$ac_header_preproc | ||
| 15353 | fi | ||
| 15354 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15355 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15356 | |||
| 15357 | fi | ||
| 15358 | if test $ac_cv_header_gif_lib_h = yes; then | ||
| 15359 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 9874 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 15360 | # Earlier versions can crash Emacs. | 9875 | # Earlier versions can crash Emacs. |
| 15361 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 | 9876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 |
| 15362 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 9877 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
| 15363 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then | 9878 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : |
| 15364 | $as_echo_n "(cached) " >&6 | 9879 | $as_echo_n "(cached) " >&6 |
| 15365 | else | 9880 | else |
| 15366 | ac_check_lib_save_LIBS=$LIBS | 9881 | ac_check_lib_save_LIBS=$LIBS |
| 15367 | LIBS="-lgif $LIBS" | 9882 | LIBS="-lgif $LIBS" |
| 15368 | cat >conftest.$ac_ext <<_ACEOF | 9883 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15369 | /* confdefs.h. */ | ||
| 15370 | _ACEOF | ||
| 15371 | cat confdefs.h >>conftest.$ac_ext | ||
| 15372 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15373 | /* end confdefs.h. */ | 9884 | /* end confdefs.h. */ |
| 15374 | 9885 | ||
| 15375 | /* Override any GCC internal prototype to avoid an error. | 9886 | /* Override any GCC internal prototype to avoid an error. |
| @@ -15387,43 +9898,18 @@ return EGifPutExtensionLast (); | |||
| 15387 | return 0; | 9898 | return 0; |
| 15388 | } | 9899 | } |
| 15389 | _ACEOF | 9900 | _ACEOF |
| 15390 | rm -f conftest.$ac_objext conftest$ac_exeext | 9901 | if ac_fn_c_try_link "$LINENO"; then : |
| 15391 | if { (ac_try="$ac_link" | ||
| 15392 | case "(($ac_try" in | ||
| 15393 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15394 | *) ac_try_echo=$ac_try;; | ||
| 15395 | esac | ||
| 15396 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15397 | $as_echo "$ac_try_echo") >&5 | ||
| 15398 | (eval "$ac_link") 2>conftest.er1 | ||
| 15399 | ac_status=$? | ||
| 15400 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15401 | rm -f conftest.er1 | ||
| 15402 | cat conftest.err >&5 | ||
| 15403 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15404 | (exit $ac_status); } && { | ||
| 15405 | test -z "$ac_c_werror_flag" || | ||
| 15406 | test ! -s conftest.err | ||
| 15407 | } && test -s conftest$ac_exeext && { | ||
| 15408 | test "$cross_compiling" = yes || | ||
| 15409 | $as_test_x conftest$ac_exeext | ||
| 15410 | }; then | ||
| 15411 | ac_cv_lib_gif_EGifPutExtensionLast=yes | 9902 | ac_cv_lib_gif_EGifPutExtensionLast=yes |
| 15412 | else | 9903 | else |
| 15413 | $as_echo "$as_me: failed program was:" >&5 | 9904 | ac_cv_lib_gif_EGifPutExtensionLast=no |
| 15414 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15415 | |||
| 15416 | ac_cv_lib_gif_EGifPutExtensionLast=no | ||
| 15417 | fi | 9905 | fi |
| 15418 | 9906 | rm -f core conftest.err conftest.$ac_objext \ | |
| 15419 | rm -rf conftest.dSYM | 9907 | conftest$ac_exeext conftest.$ac_ext |
| 15420 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15421 | conftest$ac_exeext conftest.$ac_ext | ||
| 15422 | LIBS=$ac_check_lib_save_LIBS | 9908 | LIBS=$ac_check_lib_save_LIBS |
| 15423 | fi | 9909 | fi |
| 15424 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 9910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
| 15425 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 9911 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
| 15426 | if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then | 9912 | if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : |
| 15427 | HAVE_GIF=yes | 9913 | HAVE_GIF=yes |
| 15428 | else | 9914 | else |
| 15429 | try_libungif=yes | 9915 | try_libungif=yes |
| @@ -15439,18 +9925,14 @@ fi | |||
| 15439 | 9925 | ||
| 15440 | # If gif_lib.h but no libgif, try libungif. | 9926 | # If gif_lib.h but no libgif, try libungif. |
| 15441 | if test x"$try_libungif" = xyes; then | 9927 | if test x"$try_libungif" = xyes; then |
| 15442 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 9928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 |
| 15443 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 9929 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
| 15444 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 9930 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : |
| 15445 | $as_echo_n "(cached) " >&6 | 9931 | $as_echo_n "(cached) " >&6 |
| 15446 | else | 9932 | else |
| 15447 | ac_check_lib_save_LIBS=$LIBS | 9933 | ac_check_lib_save_LIBS=$LIBS |
| 15448 | LIBS="-lungif $LIBS" | 9934 | LIBS="-lungif $LIBS" |
| 15449 | cat >conftest.$ac_ext <<_ACEOF | 9935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15450 | /* confdefs.h. */ | ||
| 15451 | _ACEOF | ||
| 15452 | cat confdefs.h >>conftest.$ac_ext | ||
| 15453 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15454 | /* end confdefs.h. */ | 9936 | /* end confdefs.h. */ |
| 15455 | 9937 | ||
| 15456 | /* Override any GCC internal prototype to avoid an error. | 9938 | /* Override any GCC internal prototype to avoid an error. |
| @@ -15468,52 +9950,25 @@ return EGifPutExtensionLast (); | |||
| 15468 | return 0; | 9950 | return 0; |
| 15469 | } | 9951 | } |
| 15470 | _ACEOF | 9952 | _ACEOF |
| 15471 | rm -f conftest.$ac_objext conftest$ac_exeext | 9953 | if ac_fn_c_try_link "$LINENO"; then : |
| 15472 | if { (ac_try="$ac_link" | ||
| 15473 | case "(($ac_try" in | ||
| 15474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15475 | *) ac_try_echo=$ac_try;; | ||
| 15476 | esac | ||
| 15477 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15478 | $as_echo "$ac_try_echo") >&5 | ||
| 15479 | (eval "$ac_link") 2>conftest.er1 | ||
| 15480 | ac_status=$? | ||
| 15481 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15482 | rm -f conftest.er1 | ||
| 15483 | cat conftest.err >&5 | ||
| 15484 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15485 | (exit $ac_status); } && { | ||
| 15486 | test -z "$ac_c_werror_flag" || | ||
| 15487 | test ! -s conftest.err | ||
| 15488 | } && test -s conftest$ac_exeext && { | ||
| 15489 | test "$cross_compiling" = yes || | ||
| 15490 | $as_test_x conftest$ac_exeext | ||
| 15491 | }; then | ||
| 15492 | ac_cv_lib_ungif_EGifPutExtensionLast=yes | 9954 | ac_cv_lib_ungif_EGifPutExtensionLast=yes |
| 15493 | else | 9955 | else |
| 15494 | $as_echo "$as_me: failed program was:" >&5 | 9956 | ac_cv_lib_ungif_EGifPutExtensionLast=no |
| 15495 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15496 | |||
| 15497 | ac_cv_lib_ungif_EGifPutExtensionLast=no | ||
| 15498 | fi | 9957 | fi |
| 15499 | 9958 | rm -f core conftest.err conftest.$ac_objext \ | |
| 15500 | rm -rf conftest.dSYM | 9959 | conftest$ac_exeext conftest.$ac_ext |
| 15501 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15502 | conftest$ac_exeext conftest.$ac_ext | ||
| 15503 | LIBS=$ac_check_lib_save_LIBS | 9960 | LIBS=$ac_check_lib_save_LIBS |
| 15504 | fi | 9961 | fi |
| 15505 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 9962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
| 15506 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 9963 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
| 15507 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 9964 | if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : |
| 15508 | HAVE_GIF=yes | 9965 | HAVE_GIF=yes |
| 15509 | fi | 9966 | fi |
| 15510 | 9967 | ||
| 15511 | 9968 | ||
| 15512 | if test "$HAVE_GIF" = yes; then | 9969 | if test "$HAVE_GIF" = yes; then |
| 15513 | 9970 | ||
| 15514 | cat >>confdefs.h <<\_ACEOF | 9971 | $as_echo "#define LIBGIF -lungif" >>confdefs.h |
| 15515 | #define LIBGIF -lungif | ||
| 15516 | _ACEOF | ||
| 15517 | 9972 | ||
| 15518 | ac_gif_lib_name="-lungif" | 9973 | ac_gif_lib_name="-lungif" |
| 15519 | fi | 9974 | fi |
| @@ -15521,9 +9976,7 @@ _ACEOF | |||
| 15521 | 9976 | ||
| 15522 | if test "${HAVE_GIF}" = "yes"; then | 9977 | if test "${HAVE_GIF}" = "yes"; then |
| 15523 | 9978 | ||
| 15524 | cat >>confdefs.h <<\_ACEOF | 9979 | $as_echo "#define HAVE_GIF 1" >>confdefs.h |
| 15525 | #define HAVE_GIF 1 | ||
| 15526 | _ACEOF | ||
| 15527 | 9980 | ||
| 15528 | fi | 9981 | fi |
| 15529 | fi | 9982 | fi |
| @@ -15543,165 +9996,28 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 15543 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 9996 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 15544 | 9997 | ||
| 15545 | if test "X${MISSING}" != X; then | 9998 | if test "X${MISSING}" != X; then |
| 15546 | { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: | 9999 | as_fn_error "The following required libraries were not found: |
| 15547 | $MISSING | ||
| 15548 | Maybe some development libraries/packages are missing? | ||
| 15549 | If you don't want to link with them give | ||
| 15550 | $WITH_NO | ||
| 15551 | as options to configure" >&5 | ||
| 15552 | $as_echo "$as_me: error: The following required libraries were not found: | ||
| 15553 | $MISSING | 10000 | $MISSING |
| 15554 | Maybe some development libraries/packages are missing? | 10001 | Maybe some development libraries/packages are missing? |
| 15555 | If you don't want to link with them give | 10002 | If you don't want to link with them give |
| 15556 | $WITH_NO | 10003 | $WITH_NO |
| 15557 | as options to configure" >&2;} | 10004 | as options to configure" "$LINENO" 5 |
| 15558 | { (exit 1); exit 1; }; } | ||
| 15559 | fi | 10005 | fi |
| 15560 | fi | 10006 | fi |
| 15561 | 10007 | ||
| 15562 | ### Use -lgpm if available, unless `--with-gpm=no'. | 10008 | ### Use -lgpm if available, unless `--with-gpm=no'. |
| 15563 | HAVE_GPM=no | 10009 | HAVE_GPM=no |
| 15564 | if test "${with_gpm}" != "no"; then | 10010 | if test "${with_gpm}" != "no"; then |
| 15565 | if test "${ac_cv_header_gpm_h+set}" = set; then | 10011 | ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" |
| 15566 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | 10012 | if test "x$ac_cv_header_gpm_h" = x""yes; then : |
| 15567 | $as_echo_n "checking for gpm.h... " >&6; } | 10013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 |
| 15568 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15569 | $as_echo_n "(cached) " >&6 | ||
| 15570 | fi | ||
| 15571 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15572 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15573 | else | ||
| 15574 | # Is the header compilable? | ||
| 15575 | { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 | ||
| 15576 | $as_echo_n "checking gpm.h usability... " >&6; } | ||
| 15577 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15578 | /* confdefs.h. */ | ||
| 15579 | _ACEOF | ||
| 15580 | cat confdefs.h >>conftest.$ac_ext | ||
| 15581 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15582 | /* end confdefs.h. */ | ||
| 15583 | $ac_includes_default | ||
| 15584 | #include <gpm.h> | ||
| 15585 | _ACEOF | ||
| 15586 | rm -f conftest.$ac_objext | ||
| 15587 | if { (ac_try="$ac_compile" | ||
| 15588 | case "(($ac_try" in | ||
| 15589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15590 | *) ac_try_echo=$ac_try;; | ||
| 15591 | esac | ||
| 15592 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15593 | $as_echo "$ac_try_echo") >&5 | ||
| 15594 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15595 | ac_status=$? | ||
| 15596 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15597 | rm -f conftest.er1 | ||
| 15598 | cat conftest.err >&5 | ||
| 15599 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15600 | (exit $ac_status); } && { | ||
| 15601 | test -z "$ac_c_werror_flag" || | ||
| 15602 | test ! -s conftest.err | ||
| 15603 | } && test -s conftest.$ac_objext; then | ||
| 15604 | ac_header_compiler=yes | ||
| 15605 | else | ||
| 15606 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15607 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15608 | |||
| 15609 | ac_header_compiler=no | ||
| 15610 | fi | ||
| 15611 | |||
| 15612 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15613 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15614 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15615 | |||
| 15616 | # Is the header present? | ||
| 15617 | { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 | ||
| 15618 | $as_echo_n "checking gpm.h presence... " >&6; } | ||
| 15619 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15620 | /* confdefs.h. */ | ||
| 15621 | _ACEOF | ||
| 15622 | cat confdefs.h >>conftest.$ac_ext | ||
| 15623 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15624 | /* end confdefs.h. */ | ||
| 15625 | #include <gpm.h> | ||
| 15626 | _ACEOF | ||
| 15627 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15628 | case "(($ac_try" in | ||
| 15629 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15630 | *) ac_try_echo=$ac_try;; | ||
| 15631 | esac | ||
| 15632 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15633 | $as_echo "$ac_try_echo") >&5 | ||
| 15634 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15635 | ac_status=$? | ||
| 15636 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15637 | rm -f conftest.er1 | ||
| 15638 | cat conftest.err >&5 | ||
| 15639 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15640 | (exit $ac_status); } >/dev/null && { | ||
| 15641 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15642 | test ! -s conftest.err | ||
| 15643 | }; then | ||
| 15644 | ac_header_preproc=yes | ||
| 15645 | else | ||
| 15646 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15647 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15648 | |||
| 15649 | ac_header_preproc=no | ||
| 15650 | fi | ||
| 15651 | |||
| 15652 | rm -f conftest.err conftest.$ac_ext | ||
| 15653 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15654 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15655 | |||
| 15656 | # So? What about this header? | ||
| 15657 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15658 | yes:no: ) | ||
| 15659 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15660 | $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15661 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 | ||
| 15662 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} | ||
| 15663 | ac_header_preproc=yes | ||
| 15664 | ;; | ||
| 15665 | no:yes:* ) | ||
| 15666 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 | ||
| 15667 | $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} | ||
| 15668 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 | ||
| 15669 | $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} | ||
| 15670 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 | ||
| 15671 | $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} | ||
| 15672 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15673 | $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15674 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 | ||
| 15675 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 15676 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 | ||
| 15677 | $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 15678 | |||
| 15679 | ;; | ||
| 15680 | esac | ||
| 15681 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | ||
| 15682 | $as_echo_n "checking for gpm.h... " >&6; } | ||
| 15683 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15684 | $as_echo_n "(cached) " >&6 | ||
| 15685 | else | ||
| 15686 | ac_cv_header_gpm_h=$ac_header_preproc | ||
| 15687 | fi | ||
| 15688 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15689 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15690 | |||
| 15691 | fi | ||
| 15692 | if test $ac_cv_header_gpm_h = yes; then | ||
| 15693 | { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 | ||
| 15694 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 10014 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
| 15695 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then | 10015 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : |
| 15696 | $as_echo_n "(cached) " >&6 | 10016 | $as_echo_n "(cached) " >&6 |
| 15697 | else | 10017 | else |
| 15698 | ac_check_lib_save_LIBS=$LIBS | 10018 | ac_check_lib_save_LIBS=$LIBS |
| 15699 | LIBS="-lgpm $LIBS" | 10019 | LIBS="-lgpm $LIBS" |
| 15700 | cat >conftest.$ac_ext <<_ACEOF | 10020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15701 | /* confdefs.h. */ | ||
| 15702 | _ACEOF | ||
| 15703 | cat confdefs.h >>conftest.$ac_ext | ||
| 15704 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15705 | /* end confdefs.h. */ | 10021 | /* end confdefs.h. */ |
| 15706 | 10022 | ||
| 15707 | /* Override any GCC internal prototype to avoid an error. | 10023 | /* Override any GCC internal prototype to avoid an error. |
| @@ -15719,43 +10035,18 @@ return Gpm_Open (); | |||
| 15719 | return 0; | 10035 | return 0; |
| 15720 | } | 10036 | } |
| 15721 | _ACEOF | 10037 | _ACEOF |
| 15722 | rm -f conftest.$ac_objext conftest$ac_exeext | 10038 | if ac_fn_c_try_link "$LINENO"; then : |
| 15723 | if { (ac_try="$ac_link" | ||
| 15724 | case "(($ac_try" in | ||
| 15725 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15726 | *) ac_try_echo=$ac_try;; | ||
| 15727 | esac | ||
| 15728 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15729 | $as_echo "$ac_try_echo") >&5 | ||
| 15730 | (eval "$ac_link") 2>conftest.er1 | ||
| 15731 | ac_status=$? | ||
| 15732 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15733 | rm -f conftest.er1 | ||
| 15734 | cat conftest.err >&5 | ||
| 15735 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15736 | (exit $ac_status); } && { | ||
| 15737 | test -z "$ac_c_werror_flag" || | ||
| 15738 | test ! -s conftest.err | ||
| 15739 | } && test -s conftest$ac_exeext && { | ||
| 15740 | test "$cross_compiling" = yes || | ||
| 15741 | $as_test_x conftest$ac_exeext | ||
| 15742 | }; then | ||
| 15743 | ac_cv_lib_gpm_Gpm_Open=yes | 10039 | ac_cv_lib_gpm_Gpm_Open=yes |
| 15744 | else | 10040 | else |
| 15745 | $as_echo "$as_me: failed program was:" >&5 | 10041 | ac_cv_lib_gpm_Gpm_Open=no |
| 15746 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15747 | |||
| 15748 | ac_cv_lib_gpm_Gpm_Open=no | ||
| 15749 | fi | 10042 | fi |
| 15750 | 10043 | rm -f core conftest.err conftest.$ac_objext \ | |
| 15751 | rm -rf conftest.dSYM | 10044 | conftest$ac_exeext conftest.$ac_ext |
| 15752 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15753 | conftest$ac_exeext conftest.$ac_ext | ||
| 15754 | LIBS=$ac_check_lib_save_LIBS | 10045 | LIBS=$ac_check_lib_save_LIBS |
| 15755 | fi | 10046 | fi |
| 15756 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 10047 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
| 15757 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 10048 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
| 15758 | if test $ac_cv_lib_gpm_Gpm_Open = yes; then | 10049 | if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : |
| 15759 | HAVE_GPM=yes | 10050 | HAVE_GPM=yes |
| 15760 | fi | 10051 | fi |
| 15761 | 10052 | ||
| @@ -15766,144 +10057,14 @@ fi | |||
| 15766 | 10057 | ||
| 15767 | if test "${HAVE_GPM}" = "yes"; then | 10058 | if test "${HAVE_GPM}" = "yes"; then |
| 15768 | 10059 | ||
| 15769 | cat >>confdefs.h <<\_ACEOF | 10060 | $as_echo "#define HAVE_GPM 1" >>confdefs.h |
| 15770 | #define HAVE_GPM 1 | ||
| 15771 | _ACEOF | ||
| 15772 | |||
| 15773 | fi | ||
| 15774 | |||
| 15775 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 15776 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | ||
| 15777 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 15778 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 15779 | $as_echo_n "(cached) " >&6 | ||
| 15780 | fi | ||
| 15781 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 15782 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 15783 | else | ||
| 15784 | # Is the header compilable? | ||
| 15785 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | ||
| 15786 | $as_echo_n "checking malloc/malloc.h usability... " >&6; } | ||
| 15787 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15788 | /* confdefs.h. */ | ||
| 15789 | _ACEOF | ||
| 15790 | cat confdefs.h >>conftest.$ac_ext | ||
| 15791 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15792 | /* end confdefs.h. */ | ||
| 15793 | $ac_includes_default | ||
| 15794 | #include <malloc/malloc.h> | ||
| 15795 | _ACEOF | ||
| 15796 | rm -f conftest.$ac_objext | ||
| 15797 | if { (ac_try="$ac_compile" | ||
| 15798 | case "(($ac_try" in | ||
| 15799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15800 | *) ac_try_echo=$ac_try;; | ||
| 15801 | esac | ||
| 15802 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15803 | $as_echo "$ac_try_echo") >&5 | ||
| 15804 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15805 | ac_status=$? | ||
| 15806 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15807 | rm -f conftest.er1 | ||
| 15808 | cat conftest.err >&5 | ||
| 15809 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15810 | (exit $ac_status); } && { | ||
| 15811 | test -z "$ac_c_werror_flag" || | ||
| 15812 | test ! -s conftest.err | ||
| 15813 | } && test -s conftest.$ac_objext; then | ||
| 15814 | ac_header_compiler=yes | ||
| 15815 | else | ||
| 15816 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15817 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15818 | |||
| 15819 | ac_header_compiler=no | ||
| 15820 | fi | ||
| 15821 | |||
| 15822 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15823 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15824 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15825 | |||
| 15826 | # Is the header present? | ||
| 15827 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | ||
| 15828 | $as_echo_n "checking malloc/malloc.h presence... " >&6; } | ||
| 15829 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15830 | /* confdefs.h. */ | ||
| 15831 | _ACEOF | ||
| 15832 | cat confdefs.h >>conftest.$ac_ext | ||
| 15833 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15834 | /* end confdefs.h. */ | ||
| 15835 | #include <malloc/malloc.h> | ||
| 15836 | _ACEOF | ||
| 15837 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15838 | case "(($ac_try" in | ||
| 15839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15840 | *) ac_try_echo=$ac_try;; | ||
| 15841 | esac | ||
| 15842 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15843 | $as_echo "$ac_try_echo") >&5 | ||
| 15844 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15845 | ac_status=$? | ||
| 15846 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15847 | rm -f conftest.er1 | ||
| 15848 | cat conftest.err >&5 | ||
| 15849 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15850 | (exit $ac_status); } >/dev/null && { | ||
| 15851 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15852 | test ! -s conftest.err | ||
| 15853 | }; then | ||
| 15854 | ac_header_preproc=yes | ||
| 15855 | else | ||
| 15856 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15857 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15858 | 10061 | ||
| 15859 | ac_header_preproc=no | ||
| 15860 | fi | ||
| 15861 | |||
| 15862 | rm -f conftest.err conftest.$ac_ext | ||
| 15863 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15864 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15865 | |||
| 15866 | # So? What about this header? | ||
| 15867 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15868 | yes:no: ) | ||
| 15869 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15870 | $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15871 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 | ||
| 15872 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} | ||
| 15873 | ac_header_preproc=yes | ||
| 15874 | ;; | ||
| 15875 | no:yes:* ) | ||
| 15876 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 | ||
| 15877 | $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} | ||
| 15878 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 | ||
| 15879 | $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} | ||
| 15880 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 | ||
| 15881 | $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} | ||
| 15882 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15883 | $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15884 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | ||
| 15885 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | ||
| 15886 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | ||
| 15887 | $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | ||
| 15888 | |||
| 15889 | ;; | ||
| 15890 | esac | ||
| 15891 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | ||
| 15892 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 15893 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 15894 | $as_echo_n "(cached) " >&6 | ||
| 15895 | else | ||
| 15896 | ac_cv_header_malloc_malloc_h=$ac_header_preproc | ||
| 15897 | fi | 10062 | fi |
| 15898 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 15899 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 15900 | 10063 | ||
| 15901 | fi | 10064 | ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" |
| 15902 | if test $ac_cv_header_malloc_malloc_h = yes; then | 10065 | if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : |
| 15903 | 10066 | ||
| 15904 | cat >>confdefs.h <<\_ACEOF | 10067 | $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h |
| 15905 | #define HAVE_MALLOC_MALLOC_H 1 | ||
| 15906 | _ACEOF | ||
| 15907 | 10068 | ||
| 15908 | fi | 10069 | fi |
| 15909 | 10070 | ||
| @@ -15912,31 +10073,23 @@ fi | |||
| 15912 | ### Use NeXTstep API to implement GUI. | 10073 | ### Use NeXTstep API to implement GUI. |
| 15913 | if test "${HAVE_NS}" = "yes"; then | 10074 | if test "${HAVE_NS}" = "yes"; then |
| 15914 | 10075 | ||
| 15915 | cat >>confdefs.h <<\_ACEOF | 10076 | $as_echo "#define HAVE_NS 1" >>confdefs.h |
| 15916 | #define HAVE_NS 1 | ||
| 15917 | _ACEOF | ||
| 15918 | 10077 | ||
| 15919 | if test "${NS_IMPL_COCOA}" = "yes"; then | 10078 | if test "${NS_IMPL_COCOA}" = "yes"; then |
| 15920 | 10079 | ||
| 15921 | cat >>confdefs.h <<\_ACEOF | 10080 | $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h |
| 15922 | #define NS_IMPL_COCOA 1 | ||
| 15923 | _ACEOF | ||
| 15924 | 10081 | ||
| 15925 | GNU_OBJC_CFLAGS= | 10082 | GNU_OBJC_CFLAGS= |
| 15926 | fi | 10083 | fi |
| 15927 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 10084 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
| 15928 | 10085 | ||
| 15929 | cat >>confdefs.h <<\_ACEOF | 10086 | $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h |
| 15930 | #define NS_IMPL_GNUSTEP 1 | ||
| 15931 | _ACEOF | ||
| 15932 | 10087 | ||
| 15933 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 10088 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
| 15934 | fi | 10089 | fi |
| 15935 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 10090 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 15936 | 10091 | ||
| 15937 | cat >>confdefs.h <<\_ACEOF | 10092 | $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h |
| 15938 | #define NS_HAVE_NSINTEGER 1 | ||
| 15939 | _ACEOF | ||
| 15940 | 10093 | ||
| 15941 | fi | 10094 | fi |
| 15942 | # We also have mouse menus. | 10095 | # We also have mouse menus. |
| @@ -15948,146 +10101,16 @@ fi | |||
| 15948 | ### Use session management (-lSM -lICE) if available | 10101 | ### Use session management (-lSM -lICE) if available |
| 15949 | HAVE_X_SM=no | 10102 | HAVE_X_SM=no |
| 15950 | if test "${HAVE_X11}" = "yes"; then | 10103 | if test "${HAVE_X11}" = "yes"; then |
| 15951 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 10104 | ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" |
| 15952 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 10105 | if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : |
| 15953 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | 10106 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 |
| 15954 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 15955 | $as_echo_n "(cached) " >&6 | ||
| 15956 | fi | ||
| 15957 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 15958 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 15959 | else | ||
| 15960 | # Is the header compilable? | ||
| 15961 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | ||
| 15962 | $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } | ||
| 15963 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15964 | /* confdefs.h. */ | ||
| 15965 | _ACEOF | ||
| 15966 | cat confdefs.h >>conftest.$ac_ext | ||
| 15967 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15968 | /* end confdefs.h. */ | ||
| 15969 | $ac_includes_default | ||
| 15970 | #include <X11/SM/SMlib.h> | ||
| 15971 | _ACEOF | ||
| 15972 | rm -f conftest.$ac_objext | ||
| 15973 | if { (ac_try="$ac_compile" | ||
| 15974 | case "(($ac_try" in | ||
| 15975 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15976 | *) ac_try_echo=$ac_try;; | ||
| 15977 | esac | ||
| 15978 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15979 | $as_echo "$ac_try_echo") >&5 | ||
| 15980 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15981 | ac_status=$? | ||
| 15982 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15983 | rm -f conftest.er1 | ||
| 15984 | cat conftest.err >&5 | ||
| 15985 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15986 | (exit $ac_status); } && { | ||
| 15987 | test -z "$ac_c_werror_flag" || | ||
| 15988 | test ! -s conftest.err | ||
| 15989 | } && test -s conftest.$ac_objext; then | ||
| 15990 | ac_header_compiler=yes | ||
| 15991 | else | ||
| 15992 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15993 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15994 | |||
| 15995 | ac_header_compiler=no | ||
| 15996 | fi | ||
| 15997 | |||
| 15998 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15999 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16000 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16001 | |||
| 16002 | # Is the header present? | ||
| 16003 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | ||
| 16004 | $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } | ||
| 16005 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16006 | /* confdefs.h. */ | ||
| 16007 | _ACEOF | ||
| 16008 | cat confdefs.h >>conftest.$ac_ext | ||
| 16009 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16010 | /* end confdefs.h. */ | ||
| 16011 | #include <X11/SM/SMlib.h> | ||
| 16012 | _ACEOF | ||
| 16013 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16014 | case "(($ac_try" in | ||
| 16015 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16016 | *) ac_try_echo=$ac_try;; | ||
| 16017 | esac | ||
| 16018 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16019 | $as_echo "$ac_try_echo") >&5 | ||
| 16020 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16021 | ac_status=$? | ||
| 16022 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16023 | rm -f conftest.er1 | ||
| 16024 | cat conftest.err >&5 | ||
| 16025 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16026 | (exit $ac_status); } >/dev/null && { | ||
| 16027 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16028 | test ! -s conftest.err | ||
| 16029 | }; then | ||
| 16030 | ac_header_preproc=yes | ||
| 16031 | else | ||
| 16032 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16033 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16034 | |||
| 16035 | ac_header_preproc=no | ||
| 16036 | fi | ||
| 16037 | |||
| 16038 | rm -f conftest.err conftest.$ac_ext | ||
| 16039 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16040 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16041 | |||
| 16042 | # So? What about this header? | ||
| 16043 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16044 | yes:no: ) | ||
| 16045 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16046 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16047 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 | ||
| 16048 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} | ||
| 16049 | ac_header_preproc=yes | ||
| 16050 | ;; | ||
| 16051 | no:yes:* ) | ||
| 16052 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | ||
| 16053 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | ||
| 16054 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | ||
| 16055 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | ||
| 16056 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 | ||
| 16057 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} | ||
| 16058 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16059 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16060 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | ||
| 16061 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | ||
| 16062 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | ||
| 16063 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | ||
| 16064 | |||
| 16065 | ;; | ||
| 16066 | esac | ||
| 16067 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | ||
| 16068 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | ||
| 16069 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16070 | $as_echo_n "(cached) " >&6 | ||
| 16071 | else | ||
| 16072 | ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | ||
| 16073 | fi | ||
| 16074 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16075 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16076 | |||
| 16077 | fi | ||
| 16078 | if test $ac_cv_header_X11_SM_SMlib_h = yes; then | ||
| 16079 | { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | ||
| 16080 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 10107 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
| 16081 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then | 10108 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : |
| 16082 | $as_echo_n "(cached) " >&6 | 10109 | $as_echo_n "(cached) " >&6 |
| 16083 | else | 10110 | else |
| 16084 | ac_check_lib_save_LIBS=$LIBS | 10111 | ac_check_lib_save_LIBS=$LIBS |
| 16085 | LIBS="-lSM -lICE $LIBS" | 10112 | LIBS="-lSM -lICE $LIBS" |
| 16086 | cat >conftest.$ac_ext <<_ACEOF | 10113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16087 | /* confdefs.h. */ | ||
| 16088 | _ACEOF | ||
| 16089 | cat confdefs.h >>conftest.$ac_ext | ||
| 16090 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16091 | /* end confdefs.h. */ | 10114 | /* end confdefs.h. */ |
| 16092 | 10115 | ||
| 16093 | /* Override any GCC internal prototype to avoid an error. | 10116 | /* Override any GCC internal prototype to avoid an error. |
| @@ -16105,43 +10128,18 @@ return SmcOpenConnection (); | |||
| 16105 | return 0; | 10128 | return 0; |
| 16106 | } | 10129 | } |
| 16107 | _ACEOF | 10130 | _ACEOF |
| 16108 | rm -f conftest.$ac_objext conftest$ac_exeext | 10131 | if ac_fn_c_try_link "$LINENO"; then : |
| 16109 | if { (ac_try="$ac_link" | ||
| 16110 | case "(($ac_try" in | ||
| 16111 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16112 | *) ac_try_echo=$ac_try;; | ||
| 16113 | esac | ||
| 16114 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16115 | $as_echo "$ac_try_echo") >&5 | ||
| 16116 | (eval "$ac_link") 2>conftest.er1 | ||
| 16117 | ac_status=$? | ||
| 16118 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16119 | rm -f conftest.er1 | ||
| 16120 | cat conftest.err >&5 | ||
| 16121 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16122 | (exit $ac_status); } && { | ||
| 16123 | test -z "$ac_c_werror_flag" || | ||
| 16124 | test ! -s conftest.err | ||
| 16125 | } && test -s conftest$ac_exeext && { | ||
| 16126 | test "$cross_compiling" = yes || | ||
| 16127 | $as_test_x conftest$ac_exeext | ||
| 16128 | }; then | ||
| 16129 | ac_cv_lib_SM_SmcOpenConnection=yes | 10132 | ac_cv_lib_SM_SmcOpenConnection=yes |
| 16130 | else | 10133 | else |
| 16131 | $as_echo "$as_me: failed program was:" >&5 | 10134 | ac_cv_lib_SM_SmcOpenConnection=no |
| 16132 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16133 | |||
| 16134 | ac_cv_lib_SM_SmcOpenConnection=no | ||
| 16135 | fi | 10135 | fi |
| 16136 | 10136 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16137 | rm -rf conftest.dSYM | 10137 | conftest$ac_exeext conftest.$ac_ext |
| 16138 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16139 | conftest$ac_exeext conftest.$ac_ext | ||
| 16140 | LIBS=$ac_check_lib_save_LIBS | 10138 | LIBS=$ac_check_lib_save_LIBS |
| 16141 | fi | 10139 | fi |
| 16142 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 10140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
| 16143 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 10141 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
| 16144 | if test $ac_cv_lib_SM_SmcOpenConnection = yes; then | 10142 | if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : |
| 16145 | HAVE_X_SM=yes | 10143 | HAVE_X_SM=yes |
| 16146 | fi | 10144 | fi |
| 16147 | 10145 | ||
| @@ -16151,9 +10149,7 @@ fi | |||
| 16151 | 10149 | ||
| 16152 | if test "${HAVE_X_SM}" = "yes"; then | 10150 | if test "${HAVE_X_SM}" = "yes"; then |
| 16153 | 10151 | ||
| 16154 | cat >>confdefs.h <<\_ACEOF | 10152 | $as_echo "#define HAVE_X_SM 1" >>confdefs.h |
| 16155 | #define HAVE_X_SM 1 | ||
| 16156 | _ACEOF | ||
| 16157 | 10153 | ||
| 16158 | case "$LIBS" in | 10154 | case "$LIBS" in |
| 16159 | *-lSM*) ;; | 10155 | *-lSM*) ;; |
| @@ -16163,16 +10159,12 @@ _ACEOF | |||
| 16163 | fi | 10159 | fi |
| 16164 | 10160 | ||
| 16165 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 10161 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 16166 | { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 | 10162 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 |
| 16167 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 10163 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
| 16168 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 10164 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : |
| 16169 | $as_echo_n "(cached) " >&6 | 10165 | $as_echo_n "(cached) " >&6 |
| 16170 | else | 10166 | else |
| 16171 | cat >conftest.$ac_ext <<_ACEOF | 10167 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16172 | /* confdefs.h. */ | ||
| 16173 | _ACEOF | ||
| 16174 | cat confdefs.h >>conftest.$ac_ext | ||
| 16175 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16176 | /* end confdefs.h. */ | 10168 | /* end confdefs.h. */ |
| 16177 | #include <netdb.h> | 10169 | #include <netdb.h> |
| 16178 | int | 10170 | int |
| @@ -16183,61 +10175,30 @@ return h_errno; | |||
| 16183 | return 0; | 10175 | return 0; |
| 16184 | } | 10176 | } |
| 16185 | _ACEOF | 10177 | _ACEOF |
| 16186 | rm -f conftest.$ac_objext conftest$ac_exeext | 10178 | if ac_fn_c_try_link "$LINENO"; then : |
| 16187 | if { (ac_try="$ac_link" | ||
| 16188 | case "(($ac_try" in | ||
| 16189 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16190 | *) ac_try_echo=$ac_try;; | ||
| 16191 | esac | ||
| 16192 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16193 | $as_echo "$ac_try_echo") >&5 | ||
| 16194 | (eval "$ac_link") 2>conftest.er1 | ||
| 16195 | ac_status=$? | ||
| 16196 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16197 | rm -f conftest.er1 | ||
| 16198 | cat conftest.err >&5 | ||
| 16199 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16200 | (exit $ac_status); } && { | ||
| 16201 | test -z "$ac_c_werror_flag" || | ||
| 16202 | test ! -s conftest.err | ||
| 16203 | } && test -s conftest$ac_exeext && { | ||
| 16204 | test "$cross_compiling" = yes || | ||
| 16205 | $as_test_x conftest$ac_exeext | ||
| 16206 | }; then | ||
| 16207 | emacs_cv_netdb_declares_h_errno=yes | 10179 | emacs_cv_netdb_declares_h_errno=yes |
| 16208 | else | 10180 | else |
| 16209 | $as_echo "$as_me: failed program was:" >&5 | 10181 | emacs_cv_netdb_declares_h_errno=no |
| 16210 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16211 | |||
| 16212 | emacs_cv_netdb_declares_h_errno=no | ||
| 16213 | fi | 10182 | fi |
| 16214 | 10183 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16215 | rm -rf conftest.dSYM | 10184 | conftest$ac_exeext conftest.$ac_ext |
| 16216 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16217 | conftest$ac_exeext conftest.$ac_ext | ||
| 16218 | fi | 10185 | fi |
| 16219 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | 10186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 |
| 16220 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 10187 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
| 16221 | if test $emacs_cv_netdb_declares_h_errno = yes; then | 10188 | if test $emacs_cv_netdb_declares_h_errno = yes; then |
| 16222 | 10189 | ||
| 16223 | cat >>confdefs.h <<\_ACEOF | 10190 | $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h |
| 16224 | #define HAVE_H_ERRNO 1 | ||
| 16225 | _ACEOF | ||
| 16226 | 10191 | ||
| 16227 | fi | 10192 | fi |
| 16228 | 10193 | ||
| 16229 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10194 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 16230 | # for constant arguments. Useless! | 10195 | # for constant arguments. Useless! |
| 16231 | { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 10196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
| 16232 | $as_echo_n "checking for working alloca.h... " >&6; } | 10197 | $as_echo_n "checking for working alloca.h... " >&6; } |
| 16233 | if test "${ac_cv_working_alloca_h+set}" = set; then | 10198 | if test "${ac_cv_working_alloca_h+set}" = set; then : |
| 16234 | $as_echo_n "(cached) " >&6 | 10199 | $as_echo_n "(cached) " >&6 |
| 16235 | else | 10200 | else |
| 16236 | cat >conftest.$ac_ext <<_ACEOF | 10201 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16237 | /* confdefs.h. */ | ||
| 16238 | _ACEOF | ||
| 16239 | cat confdefs.h >>conftest.$ac_ext | ||
| 16240 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16241 | /* end confdefs.h. */ | 10202 | /* end confdefs.h. */ |
| 16242 | #include <alloca.h> | 10203 | #include <alloca.h> |
| 16243 | int | 10204 | int |
| @@ -16249,59 +10210,28 @@ char *p = (char *) alloca (2 * sizeof (int)); | |||
| 16249 | return 0; | 10210 | return 0; |
| 16250 | } | 10211 | } |
| 16251 | _ACEOF | 10212 | _ACEOF |
| 16252 | rm -f conftest.$ac_objext conftest$ac_exeext | 10213 | if ac_fn_c_try_link "$LINENO"; then : |
| 16253 | if { (ac_try="$ac_link" | ||
| 16254 | case "(($ac_try" in | ||
| 16255 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16256 | *) ac_try_echo=$ac_try;; | ||
| 16257 | esac | ||
| 16258 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16259 | $as_echo "$ac_try_echo") >&5 | ||
| 16260 | (eval "$ac_link") 2>conftest.er1 | ||
| 16261 | ac_status=$? | ||
| 16262 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16263 | rm -f conftest.er1 | ||
| 16264 | cat conftest.err >&5 | ||
| 16265 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16266 | (exit $ac_status); } && { | ||
| 16267 | test -z "$ac_c_werror_flag" || | ||
| 16268 | test ! -s conftest.err | ||
| 16269 | } && test -s conftest$ac_exeext && { | ||
| 16270 | test "$cross_compiling" = yes || | ||
| 16271 | $as_test_x conftest$ac_exeext | ||
| 16272 | }; then | ||
| 16273 | ac_cv_working_alloca_h=yes | 10214 | ac_cv_working_alloca_h=yes |
| 16274 | else | 10215 | else |
| 16275 | $as_echo "$as_me: failed program was:" >&5 | 10216 | ac_cv_working_alloca_h=no |
| 16276 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16277 | |||
| 16278 | ac_cv_working_alloca_h=no | ||
| 16279 | fi | 10217 | fi |
| 16280 | 10218 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16281 | rm -rf conftest.dSYM | 10219 | conftest$ac_exeext conftest.$ac_ext |
| 16282 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16283 | conftest$ac_exeext conftest.$ac_ext | ||
| 16284 | fi | 10220 | fi |
| 16285 | { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 10221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 |
| 16286 | $as_echo "$ac_cv_working_alloca_h" >&6; } | 10222 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
| 16287 | if test $ac_cv_working_alloca_h = yes; then | 10223 | if test $ac_cv_working_alloca_h = yes; then |
| 16288 | 10224 | ||
| 16289 | cat >>confdefs.h <<\_ACEOF | 10225 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h |
| 16290 | #define HAVE_ALLOCA_H 1 | ||
| 16291 | _ACEOF | ||
| 16292 | 10226 | ||
| 16293 | fi | 10227 | fi |
| 16294 | 10228 | ||
| 16295 | { $as_echo "$as_me:$LINENO: checking for alloca" >&5 | 10229 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
| 16296 | $as_echo_n "checking for alloca... " >&6; } | 10230 | $as_echo_n "checking for alloca... " >&6; } |
| 16297 | if test "${ac_cv_func_alloca_works+set}" = set; then | 10231 | if test "${ac_cv_func_alloca_works+set}" = set; then : |
| 16298 | $as_echo_n "(cached) " >&6 | 10232 | $as_echo_n "(cached) " >&6 |
| 16299 | else | 10233 | else |
| 16300 | cat >conftest.$ac_ext <<_ACEOF | 10234 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16301 | /* confdefs.h. */ | ||
| 16302 | _ACEOF | ||
| 16303 | cat confdefs.h >>conftest.$ac_ext | ||
| 16304 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16305 | /* end confdefs.h. */ | 10235 | /* end confdefs.h. */ |
| 16306 | #ifdef __GNUC__ | 10236 | #ifdef __GNUC__ |
| 16307 | # define alloca __builtin_alloca | 10237 | # define alloca __builtin_alloca |
| @@ -16333,47 +10263,20 @@ char *p = (char *) alloca (1); | |||
| 16333 | return 0; | 10263 | return 0; |
| 16334 | } | 10264 | } |
| 16335 | _ACEOF | 10265 | _ACEOF |
| 16336 | rm -f conftest.$ac_objext conftest$ac_exeext | 10266 | if ac_fn_c_try_link "$LINENO"; then : |
| 16337 | if { (ac_try="$ac_link" | ||
| 16338 | case "(($ac_try" in | ||
| 16339 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16340 | *) ac_try_echo=$ac_try;; | ||
| 16341 | esac | ||
| 16342 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16343 | $as_echo "$ac_try_echo") >&5 | ||
| 16344 | (eval "$ac_link") 2>conftest.er1 | ||
| 16345 | ac_status=$? | ||
| 16346 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16347 | rm -f conftest.er1 | ||
| 16348 | cat conftest.err >&5 | ||
| 16349 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16350 | (exit $ac_status); } && { | ||
| 16351 | test -z "$ac_c_werror_flag" || | ||
| 16352 | test ! -s conftest.err | ||
| 16353 | } && test -s conftest$ac_exeext && { | ||
| 16354 | test "$cross_compiling" = yes || | ||
| 16355 | $as_test_x conftest$ac_exeext | ||
| 16356 | }; then | ||
| 16357 | ac_cv_func_alloca_works=yes | 10267 | ac_cv_func_alloca_works=yes |
| 16358 | else | 10268 | else |
| 16359 | $as_echo "$as_me: failed program was:" >&5 | 10269 | ac_cv_func_alloca_works=no |
| 16360 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16361 | |||
| 16362 | ac_cv_func_alloca_works=no | ||
| 16363 | fi | 10270 | fi |
| 16364 | 10271 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16365 | rm -rf conftest.dSYM | 10272 | conftest$ac_exeext conftest.$ac_ext |
| 16366 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16367 | conftest$ac_exeext conftest.$ac_ext | ||
| 16368 | fi | 10273 | fi |
| 16369 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 10274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 |
| 16370 | $as_echo "$ac_cv_func_alloca_works" >&6; } | 10275 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
| 16371 | 10276 | ||
| 16372 | if test $ac_cv_func_alloca_works = yes; then | 10277 | if test $ac_cv_func_alloca_works = yes; then |
| 16373 | 10278 | ||
| 16374 | cat >>confdefs.h <<\_ACEOF | 10279 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h |
| 16375 | #define HAVE_ALLOCA 1 | ||
| 16376 | _ACEOF | ||
| 16377 | 10280 | ||
| 16378 | else | 10281 | else |
| 16379 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 10282 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| @@ -16383,21 +10286,15 @@ else | |||
| 16383 | 10286 | ||
| 16384 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 10287 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
| 16385 | 10288 | ||
| 16386 | cat >>confdefs.h <<\_ACEOF | 10289 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
| 16387 | #define C_ALLOCA 1 | ||
| 16388 | _ACEOF | ||
| 16389 | 10290 | ||
| 16390 | 10291 | ||
| 16391 | { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 10292 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 16392 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 10293 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
| 16393 | if test "${ac_cv_os_cray+set}" = set; then | 10294 | if test "${ac_cv_os_cray+set}" = set; then : |
| 16394 | $as_echo_n "(cached) " >&6 | 10295 | $as_echo_n "(cached) " >&6 |
| 16395 | else | 10296 | else |
| 16396 | cat >conftest.$ac_ext <<_ACEOF | 10297 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16397 | /* confdefs.h. */ | ||
| 16398 | _ACEOF | ||
| 16399 | cat confdefs.h >>conftest.$ac_ext | ||
| 16400 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16401 | /* end confdefs.h. */ | 10298 | /* end confdefs.h. */ |
| 16402 | #if defined CRAY && ! defined CRAY2 | 10299 | #if defined CRAY && ! defined CRAY2 |
| 16403 | webecray | 10300 | webecray |
| @@ -16407,7 +10304,7 @@ wenotbecray | |||
| 16407 | 10304 | ||
| 16408 | _ACEOF | 10305 | _ACEOF |
| 16409 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10306 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 16410 | $EGREP "webecray" >/dev/null 2>&1; then | 10307 | $EGREP "webecray" >/dev/null 2>&1; then : |
| 16411 | ac_cv_os_cray=yes | 10308 | ac_cv_os_cray=yes |
| 16412 | else | 10309 | else |
| 16413 | ac_cv_os_cray=no | 10310 | ac_cv_os_cray=no |
| @@ -16415,100 +10312,14 @@ fi | |||
| 16415 | rm -f conftest* | 10312 | rm -f conftest* |
| 16416 | 10313 | ||
| 16417 | fi | 10314 | fi |
| 16418 | { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 10315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 |
| 16419 | $as_echo "$ac_cv_os_cray" >&6; } | 10316 | $as_echo "$ac_cv_os_cray" >&6; } |
| 16420 | if test $ac_cv_os_cray = yes; then | 10317 | if test $ac_cv_os_cray = yes; then |
| 16421 | for ac_func in _getb67 GETB67 getb67; do | 10318 | for ac_func in _getb67 GETB67 getb67; do |
| 16422 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10319 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 16423 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10320 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 16424 | $as_echo_n "checking for $ac_func... " >&6; } | 10321 | eval as_val=\$$as_ac_var |
| 16425 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10322 | if test "x$as_val" = x""yes; then : |
| 16426 | $as_echo_n "(cached) " >&6 | ||
| 16427 | else | ||
| 16428 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16429 | /* confdefs.h. */ | ||
| 16430 | _ACEOF | ||
| 16431 | cat confdefs.h >>conftest.$ac_ext | ||
| 16432 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16433 | /* end confdefs.h. */ | ||
| 16434 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 16435 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 16436 | #define $ac_func innocuous_$ac_func | ||
| 16437 | |||
| 16438 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 16439 | which can conflict with char $ac_func (); below. | ||
| 16440 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 16441 | <limits.h> exists even on freestanding compilers. */ | ||
| 16442 | |||
| 16443 | #ifdef __STDC__ | ||
| 16444 | # include <limits.h> | ||
| 16445 | #else | ||
| 16446 | # include <assert.h> | ||
| 16447 | #endif | ||
| 16448 | |||
| 16449 | #undef $ac_func | ||
| 16450 | |||
| 16451 | /* Override any GCC internal prototype to avoid an error. | ||
| 16452 | Use char because int might match the return type of a GCC | ||
| 16453 | builtin and then its argument prototype would still apply. */ | ||
| 16454 | #ifdef __cplusplus | ||
| 16455 | extern "C" | ||
| 16456 | #endif | ||
| 16457 | char $ac_func (); | ||
| 16458 | /* The GNU C library defines this for functions which it implements | ||
| 16459 | to always fail with ENOSYS. Some functions are actually named | ||
| 16460 | something starting with __ and the normal name is an alias. */ | ||
| 16461 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 16462 | choke me | ||
| 16463 | #endif | ||
| 16464 | |||
| 16465 | int | ||
| 16466 | main () | ||
| 16467 | { | ||
| 16468 | return $ac_func (); | ||
| 16469 | ; | ||
| 16470 | return 0; | ||
| 16471 | } | ||
| 16472 | _ACEOF | ||
| 16473 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 16474 | if { (ac_try="$ac_link" | ||
| 16475 | case "(($ac_try" in | ||
| 16476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16477 | *) ac_try_echo=$ac_try;; | ||
| 16478 | esac | ||
| 16479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16480 | $as_echo "$ac_try_echo") >&5 | ||
| 16481 | (eval "$ac_link") 2>conftest.er1 | ||
| 16482 | ac_status=$? | ||
| 16483 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16484 | rm -f conftest.er1 | ||
| 16485 | cat conftest.err >&5 | ||
| 16486 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16487 | (exit $ac_status); } && { | ||
| 16488 | test -z "$ac_c_werror_flag" || | ||
| 16489 | test ! -s conftest.err | ||
| 16490 | } && test -s conftest$ac_exeext && { | ||
| 16491 | test "$cross_compiling" = yes || | ||
| 16492 | $as_test_x conftest$ac_exeext | ||
| 16493 | }; then | ||
| 16494 | eval "$as_ac_var=yes" | ||
| 16495 | else | ||
| 16496 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16497 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16498 | |||
| 16499 | eval "$as_ac_var=no" | ||
| 16500 | fi | ||
| 16501 | |||
| 16502 | rm -rf conftest.dSYM | ||
| 16503 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16504 | conftest$ac_exeext conftest.$ac_ext | ||
| 16505 | fi | ||
| 16506 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 16507 | $as_echo "$as_val"'` | ||
| 16508 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 16509 | $as_echo "$ac_res" >&6; } | ||
| 16510 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 16511 | $as_echo "$as_val"'` = yes; then | ||
| 16512 | 10323 | ||
| 16513 | cat >>confdefs.h <<_ACEOF | 10324 | cat >>confdefs.h <<_ACEOF |
| 16514 | #define CRAY_STACKSEG_END $ac_func | 10325 | #define CRAY_STACKSEG_END $ac_func |
| @@ -16520,19 +10331,15 @@ fi | |||
| 16520 | done | 10331 | done |
| 16521 | fi | 10332 | fi |
| 16522 | 10333 | ||
| 16523 | { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 10334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
| 16524 | $as_echo_n "checking stack direction for C alloca... " >&6; } | 10335 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
| 16525 | if test "${ac_cv_c_stack_direction+set}" = set; then | 10336 | if test "${ac_cv_c_stack_direction+set}" = set; then : |
| 16526 | $as_echo_n "(cached) " >&6 | 10337 | $as_echo_n "(cached) " >&6 |
| 16527 | else | 10338 | else |
| 16528 | if test "$cross_compiling" = yes; then | 10339 | if test "$cross_compiling" = yes; then : |
| 16529 | ac_cv_c_stack_direction=0 | 10340 | ac_cv_c_stack_direction=0 |
| 16530 | else | 10341 | else |
| 16531 | cat >conftest.$ac_ext <<_ACEOF | 10342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16532 | /* confdefs.h. */ | ||
| 16533 | _ACEOF | ||
| 16534 | cat confdefs.h >>conftest.$ac_ext | ||
| 16535 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16536 | /* end confdefs.h. */ | 10343 | /* end confdefs.h. */ |
| 16537 | $ac_includes_default | 10344 | $ac_includes_default |
| 16538 | int | 10345 | int |
| @@ -16555,46 +10362,18 @@ main () | |||
| 16555 | return find_stack_direction () < 0; | 10362 | return find_stack_direction () < 0; |
| 16556 | } | 10363 | } |
| 16557 | _ACEOF | 10364 | _ACEOF |
| 16558 | rm -f conftest$ac_exeext | 10365 | if ac_fn_c_try_run "$LINENO"; then : |
| 16559 | if { (ac_try="$ac_link" | ||
| 16560 | case "(($ac_try" in | ||
| 16561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16562 | *) ac_try_echo=$ac_try;; | ||
| 16563 | esac | ||
| 16564 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16565 | $as_echo "$ac_try_echo") >&5 | ||
| 16566 | (eval "$ac_link") 2>&5 | ||
| 16567 | ac_status=$? | ||
| 16568 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16569 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 16570 | { (case "(($ac_try" in | ||
| 16571 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16572 | *) ac_try_echo=$ac_try;; | ||
| 16573 | esac | ||
| 16574 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16575 | $as_echo "$ac_try_echo") >&5 | ||
| 16576 | (eval "$ac_try") 2>&5 | ||
| 16577 | ac_status=$? | ||
| 16578 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16579 | (exit $ac_status); }; }; then | ||
| 16580 | ac_cv_c_stack_direction=1 | 10366 | ac_cv_c_stack_direction=1 |
| 16581 | else | 10367 | else |
| 16582 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 10368 | ac_cv_c_stack_direction=-1 |
| 16583 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16584 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16585 | |||
| 16586 | ( exit $ac_status ) | ||
| 16587 | ac_cv_c_stack_direction=-1 | ||
| 16588 | fi | 10369 | fi |
| 16589 | rm -rf conftest.dSYM | 10370 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16590 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10371 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16591 | fi | 10372 | fi |
| 16592 | 10373 | ||
| 16593 | |||
| 16594 | fi | 10374 | fi |
| 16595 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 10375 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 |
| 16596 | $as_echo "$ac_cv_c_stack_direction" >&6; } | 10376 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
| 16597 | |||
| 16598 | cat >>confdefs.h <<_ACEOF | 10377 | cat >>confdefs.h <<_ACEOF |
| 16599 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 10378 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
| 16600 | _ACEOF | 10379 | _ACEOF |
| @@ -16604,26 +10383,19 @@ fi | |||
| 16604 | 10383 | ||
| 16605 | 10384 | ||
| 16606 | if test x"$ac_cv_func_alloca_works" != xyes; then | 10385 | if test x"$ac_cv_func_alloca_works" != xyes; then |
| 16607 | { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 | 10386 | as_fn_error "a system implementation of alloca is required " "$LINENO" 5 |
| 16608 | $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | ||
| 16609 | { (exit 1); exit 1; }; } | ||
| 16610 | fi | 10387 | fi |
| 16611 | 10388 | ||
| 16612 | # fmod, logb, and frexp are found in -lm on most systems. | 10389 | # fmod, logb, and frexp are found in -lm on most systems. |
| 16613 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 10390 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 16614 | 10391 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | |
| 16615 | { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | ||
| 16616 | $as_echo_n "checking for sqrt in -lm... " >&6; } | 10392 | $as_echo_n "checking for sqrt in -lm... " >&6; } |
| 16617 | if test "${ac_cv_lib_m_sqrt+set}" = set; then | 10393 | if test "${ac_cv_lib_m_sqrt+set}" = set; then : |
| 16618 | $as_echo_n "(cached) " >&6 | 10394 | $as_echo_n "(cached) " >&6 |
| 16619 | else | 10395 | else |
| 16620 | ac_check_lib_save_LIBS=$LIBS | 10396 | ac_check_lib_save_LIBS=$LIBS |
| 16621 | LIBS="-lm $LIBS" | 10397 | LIBS="-lm $LIBS" |
| 16622 | cat >conftest.$ac_ext <<_ACEOF | 10398 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16623 | /* confdefs.h. */ | ||
| 16624 | _ACEOF | ||
| 16625 | cat confdefs.h >>conftest.$ac_ext | ||
| 16626 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16627 | /* end confdefs.h. */ | 10399 | /* end confdefs.h. */ |
| 16628 | 10400 | ||
| 16629 | /* Override any GCC internal prototype to avoid an error. | 10401 | /* Override any GCC internal prototype to avoid an error. |
| @@ -16641,43 +10413,18 @@ return sqrt (); | |||
| 16641 | return 0; | 10413 | return 0; |
| 16642 | } | 10414 | } |
| 16643 | _ACEOF | 10415 | _ACEOF |
| 16644 | rm -f conftest.$ac_objext conftest$ac_exeext | 10416 | if ac_fn_c_try_link "$LINENO"; then : |
| 16645 | if { (ac_try="$ac_link" | ||
| 16646 | case "(($ac_try" in | ||
| 16647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16648 | *) ac_try_echo=$ac_try;; | ||
| 16649 | esac | ||
| 16650 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16651 | $as_echo "$ac_try_echo") >&5 | ||
| 16652 | (eval "$ac_link") 2>conftest.er1 | ||
| 16653 | ac_status=$? | ||
| 16654 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16655 | rm -f conftest.er1 | ||
| 16656 | cat conftest.err >&5 | ||
| 16657 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16658 | (exit $ac_status); } && { | ||
| 16659 | test -z "$ac_c_werror_flag" || | ||
| 16660 | test ! -s conftest.err | ||
| 16661 | } && test -s conftest$ac_exeext && { | ||
| 16662 | test "$cross_compiling" = yes || | ||
| 16663 | $as_test_x conftest$ac_exeext | ||
| 16664 | }; then | ||
| 16665 | ac_cv_lib_m_sqrt=yes | 10417 | ac_cv_lib_m_sqrt=yes |
| 16666 | else | 10418 | else |
| 16667 | $as_echo "$as_me: failed program was:" >&5 | 10419 | ac_cv_lib_m_sqrt=no |
| 16668 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16669 | |||
| 16670 | ac_cv_lib_m_sqrt=no | ||
| 16671 | fi | 10420 | fi |
| 16672 | 10421 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16673 | rm -rf conftest.dSYM | 10422 | conftest$ac_exeext conftest.$ac_ext |
| 16674 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16675 | conftest$ac_exeext conftest.$ac_ext | ||
| 16676 | LIBS=$ac_check_lib_save_LIBS | 10423 | LIBS=$ac_check_lib_save_LIBS |
| 16677 | fi | 10424 | fi |
| 16678 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 | 10425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 |
| 16679 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 10426 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
| 16680 | if test $ac_cv_lib_m_sqrt = yes; then | 10427 | if test "x$ac_cv_lib_m_sqrt" = x""yes; then : |
| 16681 | cat >>confdefs.h <<_ACEOF | 10428 | cat >>confdefs.h <<_ACEOF |
| 16682 | #define HAVE_LIBM 1 | 10429 | #define HAVE_LIBM 1 |
| 16683 | _ACEOF | 10430 | _ACEOF |
| @@ -16689,19 +10436,14 @@ fi | |||
| 16689 | 10436 | ||
| 16690 | # Check for mail-locking functions in a "mail" library. Probably this should | 10437 | # Check for mail-locking functions in a "mail" library. Probably this should |
| 16691 | # have the same check as for liblockfile below. | 10438 | # have the same check as for liblockfile below. |
| 16692 | 10439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | |
| 16693 | { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 | ||
| 16694 | $as_echo_n "checking for maillock in -lmail... " >&6; } | 10440 | $as_echo_n "checking for maillock in -lmail... " >&6; } |
| 16695 | if test "${ac_cv_lib_mail_maillock+set}" = set; then | 10441 | if test "${ac_cv_lib_mail_maillock+set}" = set; then : |
| 16696 | $as_echo_n "(cached) " >&6 | 10442 | $as_echo_n "(cached) " >&6 |
| 16697 | else | 10443 | else |
| 16698 | ac_check_lib_save_LIBS=$LIBS | 10444 | ac_check_lib_save_LIBS=$LIBS |
| 16699 | LIBS="-lmail $LIBS" | 10445 | LIBS="-lmail $LIBS" |
| 16700 | cat >conftest.$ac_ext <<_ACEOF | 10446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16701 | /* confdefs.h. */ | ||
| 16702 | _ACEOF | ||
| 16703 | cat confdefs.h >>conftest.$ac_ext | ||
| 16704 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16705 | /* end confdefs.h. */ | 10447 | /* end confdefs.h. */ |
| 16706 | 10448 | ||
| 16707 | /* Override any GCC internal prototype to avoid an error. | 10449 | /* Override any GCC internal prototype to avoid an error. |
| @@ -16719,43 +10461,18 @@ return maillock (); | |||
| 16719 | return 0; | 10461 | return 0; |
| 16720 | } | 10462 | } |
| 16721 | _ACEOF | 10463 | _ACEOF |
| 16722 | rm -f conftest.$ac_objext conftest$ac_exeext | 10464 | if ac_fn_c_try_link "$LINENO"; then : |
| 16723 | if { (ac_try="$ac_link" | ||
| 16724 | case "(($ac_try" in | ||
| 16725 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16726 | *) ac_try_echo=$ac_try;; | ||
| 16727 | esac | ||
| 16728 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16729 | $as_echo "$ac_try_echo") >&5 | ||
| 16730 | (eval "$ac_link") 2>conftest.er1 | ||
| 16731 | ac_status=$? | ||
| 16732 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16733 | rm -f conftest.er1 | ||
| 16734 | cat conftest.err >&5 | ||
| 16735 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16736 | (exit $ac_status); } && { | ||
| 16737 | test -z "$ac_c_werror_flag" || | ||
| 16738 | test ! -s conftest.err | ||
| 16739 | } && test -s conftest$ac_exeext && { | ||
| 16740 | test "$cross_compiling" = yes || | ||
| 16741 | $as_test_x conftest$ac_exeext | ||
| 16742 | }; then | ||
| 16743 | ac_cv_lib_mail_maillock=yes | 10465 | ac_cv_lib_mail_maillock=yes |
| 16744 | else | 10466 | else |
| 16745 | $as_echo "$as_me: failed program was:" >&5 | 10467 | ac_cv_lib_mail_maillock=no |
| 16746 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16747 | |||
| 16748 | ac_cv_lib_mail_maillock=no | ||
| 16749 | fi | 10468 | fi |
| 16750 | 10469 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16751 | rm -rf conftest.dSYM | 10470 | conftest$ac_exeext conftest.$ac_ext |
| 16752 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16753 | conftest$ac_exeext conftest.$ac_ext | ||
| 16754 | LIBS=$ac_check_lib_save_LIBS | 10471 | LIBS=$ac_check_lib_save_LIBS |
| 16755 | fi | 10472 | fi |
| 16756 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 | 10473 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 |
| 16757 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 10474 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
| 16758 | if test $ac_cv_lib_mail_maillock = yes; then | 10475 | if test "x$ac_cv_lib_mail_maillock" = x""yes; then : |
| 16759 | cat >>confdefs.h <<_ACEOF | 10476 | cat >>confdefs.h <<_ACEOF |
| 16760 | #define HAVE_LIBMAIL 1 | 10477 | #define HAVE_LIBMAIL 1 |
| 16761 | _ACEOF | 10478 | _ACEOF |
| @@ -16764,19 +10481,14 @@ _ACEOF | |||
| 16764 | 10481 | ||
| 16765 | fi | 10482 | fi |
| 16766 | 10483 | ||
| 16767 | 10484 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | |
| 16768 | { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 | ||
| 16769 | $as_echo_n "checking for maillock in -llockfile... " >&6; } | 10485 | $as_echo_n "checking for maillock in -llockfile... " >&6; } |
| 16770 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 10486 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : |
| 16771 | $as_echo_n "(cached) " >&6 | 10487 | $as_echo_n "(cached) " >&6 |
| 16772 | else | 10488 | else |
| 16773 | ac_check_lib_save_LIBS=$LIBS | 10489 | ac_check_lib_save_LIBS=$LIBS |
| 16774 | LIBS="-llockfile $LIBS" | 10490 | LIBS="-llockfile $LIBS" |
| 16775 | cat >conftest.$ac_ext <<_ACEOF | 10491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16776 | /* confdefs.h. */ | ||
| 16777 | _ACEOF | ||
| 16778 | cat confdefs.h >>conftest.$ac_ext | ||
| 16779 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16780 | /* end confdefs.h. */ | 10492 | /* end confdefs.h. */ |
| 16781 | 10493 | ||
| 16782 | /* Override any GCC internal prototype to avoid an error. | 10494 | /* Override any GCC internal prototype to avoid an error. |
| @@ -16794,43 +10506,18 @@ return maillock (); | |||
| 16794 | return 0; | 10506 | return 0; |
| 16795 | } | 10507 | } |
| 16796 | _ACEOF | 10508 | _ACEOF |
| 16797 | rm -f conftest.$ac_objext conftest$ac_exeext | 10509 | if ac_fn_c_try_link "$LINENO"; then : |
| 16798 | if { (ac_try="$ac_link" | ||
| 16799 | case "(($ac_try" in | ||
| 16800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16801 | *) ac_try_echo=$ac_try;; | ||
| 16802 | esac | ||
| 16803 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16804 | $as_echo "$ac_try_echo") >&5 | ||
| 16805 | (eval "$ac_link") 2>conftest.er1 | ||
| 16806 | ac_status=$? | ||
| 16807 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16808 | rm -f conftest.er1 | ||
| 16809 | cat conftest.err >&5 | ||
| 16810 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16811 | (exit $ac_status); } && { | ||
| 16812 | test -z "$ac_c_werror_flag" || | ||
| 16813 | test ! -s conftest.err | ||
| 16814 | } && test -s conftest$ac_exeext && { | ||
| 16815 | test "$cross_compiling" = yes || | ||
| 16816 | $as_test_x conftest$ac_exeext | ||
| 16817 | }; then | ||
| 16818 | ac_cv_lib_lockfile_maillock=yes | 10510 | ac_cv_lib_lockfile_maillock=yes |
| 16819 | else | 10511 | else |
| 16820 | $as_echo "$as_me: failed program was:" >&5 | 10512 | ac_cv_lib_lockfile_maillock=no |
| 16821 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16822 | |||
| 16823 | ac_cv_lib_lockfile_maillock=no | ||
| 16824 | fi | 10513 | fi |
| 16825 | 10514 | rm -f core conftest.err conftest.$ac_objext \ | |
| 16826 | rm -rf conftest.dSYM | 10515 | conftest$ac_exeext conftest.$ac_ext |
| 16827 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16828 | conftest$ac_exeext conftest.$ac_ext | ||
| 16829 | LIBS=$ac_check_lib_save_LIBS | 10516 | LIBS=$ac_check_lib_save_LIBS |
| 16830 | fi | 10517 | fi |
| 16831 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 | 10518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 |
| 16832 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 10519 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
| 16833 | if test $ac_cv_lib_lockfile_maillock = yes; then | 10520 | if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : |
| 16834 | cat >>confdefs.h <<_ACEOF | 10521 | cat >>confdefs.h <<_ACEOF |
| 16835 | #define HAVE_LIBLOCKFILE 1 | 10522 | #define HAVE_LIBLOCKFILE 1 |
| 16836 | _ACEOF | 10523 | _ACEOF |
| @@ -16845,9 +10532,9 @@ fi | |||
| 16845 | if test "$ac_cv_lib_lockfile_maillock" = no; then | 10532 | if test "$ac_cv_lib_lockfile_maillock" = no; then |
| 16846 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 10533 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 16847 | set dummy liblockfile.so; ac_word=$2 | 10534 | set dummy liblockfile.so; ac_word=$2 |
| 16848 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10535 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 16849 | $as_echo_n "checking for $ac_word... " >&6; } | 10536 | $as_echo_n "checking for $ac_word... " >&6; } |
| 16850 | if test "${ac_cv_prog_liblockfile+set}" = set; then | 10537 | if test "${ac_cv_prog_liblockfile+set}" = set; then : |
| 16851 | $as_echo_n "(cached) " >&6 | 10538 | $as_echo_n "(cached) " >&6 |
| 16852 | else | 10539 | else |
| 16853 | if test -n "$liblockfile"; then | 10540 | if test -n "$liblockfile"; then |
| @@ -16859,14 +10546,14 @@ for as_dir in $as_dummy | |||
| 16859 | do | 10546 | do |
| 16860 | IFS=$as_save_IFS | 10547 | IFS=$as_save_IFS |
| 16861 | test -z "$as_dir" && as_dir=. | 10548 | test -z "$as_dir" && as_dir=. |
| 16862 | for ac_exec_ext in '' $ac_executable_extensions; do | 10549 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 16863 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 10550 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 16864 | ac_cv_prog_liblockfile="yes" | 10551 | ac_cv_prog_liblockfile="yes" |
| 16865 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10552 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 16866 | break 2 | 10553 | break 2 |
| 16867 | fi | 10554 | fi |
| 16868 | done | 10555 | done |
| 16869 | done | 10556 | done |
| 16870 | IFS=$as_save_IFS | 10557 | IFS=$as_save_IFS |
| 16871 | 10558 | ||
| 16872 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 10559 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
| @@ -16874,264 +10561,38 @@ fi | |||
| 16874 | fi | 10561 | fi |
| 16875 | liblockfile=$ac_cv_prog_liblockfile | 10562 | liblockfile=$ac_cv_prog_liblockfile |
| 16876 | if test -n "$liblockfile"; then | 10563 | if test -n "$liblockfile"; then |
| 16877 | { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 | 10564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 |
| 16878 | $as_echo "$liblockfile" >&6; } | 10565 | $as_echo "$liblockfile" >&6; } |
| 16879 | else | 10566 | else |
| 16880 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 10567 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16881 | $as_echo "no" >&6; } | 10568 | $as_echo "no" >&6; } |
| 16882 | fi | 10569 | fi |
| 16883 | 10570 | ||
| 16884 | 10571 | ||
| 16885 | if test $ac_cv_prog_liblockfile = yes; then | 10572 | if test $ac_cv_prog_liblockfile = yes; then |
| 16886 | { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. | 10573 | as_fn_error "Shared liblockfile found but can't link against it. |
| 16887 | This probably means that movemail could lose mail. | 10574 | This probably means that movemail could lose mail. |
| 16888 | There may be a \`development' package to install containing liblockfile." >&5 | 10575 | There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
| 16889 | $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | ||
| 16890 | This probably means that movemail could lose mail. | ||
| 16891 | There may be a \`development' package to install containing liblockfile." >&2;} | ||
| 16892 | { (exit 1); exit 1; }; } | ||
| 16893 | else : | 10576 | else : |
| 16894 | fi | 10577 | fi |
| 16895 | fi | 10578 | fi |
| 16896 | |||
| 16897 | for ac_func in touchlock | 10579 | for ac_func in touchlock |
| 16898 | do | 10580 | do : |
| 16899 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10581 | ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" |
| 16900 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10582 | if test "x$ac_cv_func_touchlock" = x""yes; then : |
| 16901 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 16902 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 16903 | $as_echo_n "(cached) " >&6 | ||
| 16904 | else | ||
| 16905 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16906 | /* confdefs.h. */ | ||
| 16907 | _ACEOF | ||
| 16908 | cat confdefs.h >>conftest.$ac_ext | ||
| 16909 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16910 | /* end confdefs.h. */ | ||
| 16911 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 16912 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 16913 | #define $ac_func innocuous_$ac_func | ||
| 16914 | |||
| 16915 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 16916 | which can conflict with char $ac_func (); below. | ||
| 16917 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 16918 | <limits.h> exists even on freestanding compilers. */ | ||
| 16919 | |||
| 16920 | #ifdef __STDC__ | ||
| 16921 | # include <limits.h> | ||
| 16922 | #else | ||
| 16923 | # include <assert.h> | ||
| 16924 | #endif | ||
| 16925 | |||
| 16926 | #undef $ac_func | ||
| 16927 | |||
| 16928 | /* Override any GCC internal prototype to avoid an error. | ||
| 16929 | Use char because int might match the return type of a GCC | ||
| 16930 | builtin and then its argument prototype would still apply. */ | ||
| 16931 | #ifdef __cplusplus | ||
| 16932 | extern "C" | ||
| 16933 | #endif | ||
| 16934 | char $ac_func (); | ||
| 16935 | /* The GNU C library defines this for functions which it implements | ||
| 16936 | to always fail with ENOSYS. Some functions are actually named | ||
| 16937 | something starting with __ and the normal name is an alias. */ | ||
| 16938 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 16939 | choke me | ||
| 16940 | #endif | ||
| 16941 | |||
| 16942 | int | ||
| 16943 | main () | ||
| 16944 | { | ||
| 16945 | return $ac_func (); | ||
| 16946 | ; | ||
| 16947 | return 0; | ||
| 16948 | } | ||
| 16949 | _ACEOF | ||
| 16950 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 16951 | if { (ac_try="$ac_link" | ||
| 16952 | case "(($ac_try" in | ||
| 16953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16954 | *) ac_try_echo=$ac_try;; | ||
| 16955 | esac | ||
| 16956 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16957 | $as_echo "$ac_try_echo") >&5 | ||
| 16958 | (eval "$ac_link") 2>conftest.er1 | ||
| 16959 | ac_status=$? | ||
| 16960 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16961 | rm -f conftest.er1 | ||
| 16962 | cat conftest.err >&5 | ||
| 16963 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16964 | (exit $ac_status); } && { | ||
| 16965 | test -z "$ac_c_werror_flag" || | ||
| 16966 | test ! -s conftest.err | ||
| 16967 | } && test -s conftest$ac_exeext && { | ||
| 16968 | test "$cross_compiling" = yes || | ||
| 16969 | $as_test_x conftest$ac_exeext | ||
| 16970 | }; then | ||
| 16971 | eval "$as_ac_var=yes" | ||
| 16972 | else | ||
| 16973 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16974 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16975 | |||
| 16976 | eval "$as_ac_var=no" | ||
| 16977 | fi | ||
| 16978 | |||
| 16979 | rm -rf conftest.dSYM | ||
| 16980 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16981 | conftest$ac_exeext conftest.$ac_ext | ||
| 16982 | fi | ||
| 16983 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 16984 | $as_echo "$as_val"'` | ||
| 16985 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 16986 | $as_echo "$ac_res" >&6; } | ||
| 16987 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 16988 | $as_echo "$as_val"'` = yes; then | ||
| 16989 | cat >>confdefs.h <<_ACEOF | 10583 | cat >>confdefs.h <<_ACEOF |
| 16990 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10584 | #define HAVE_TOUCHLOCK 1 |
| 16991 | _ACEOF | 10585 | _ACEOF |
| 16992 | 10586 | ||
| 16993 | fi | 10587 | fi |
| 16994 | done | 10588 | done |
| 16995 | 10589 | ||
| 16996 | |||
| 16997 | for ac_header in maillock.h | 10590 | for ac_header in maillock.h |
| 16998 | do | 10591 | do : |
| 16999 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10592 | ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" |
| 17000 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10593 | if test "x$ac_cv_header_maillock_h" = x""yes; then : |
| 17001 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17002 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17003 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17004 | $as_echo_n "(cached) " >&6 | ||
| 17005 | fi | ||
| 17006 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17007 | $as_echo "$as_val"'` | ||
| 17008 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17009 | $as_echo "$ac_res" >&6; } | ||
| 17010 | else | ||
| 17011 | # Is the header compilable? | ||
| 17012 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17013 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17014 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17015 | /* confdefs.h. */ | ||
| 17016 | _ACEOF | ||
| 17017 | cat confdefs.h >>conftest.$ac_ext | ||
| 17018 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17019 | /* end confdefs.h. */ | ||
| 17020 | $ac_includes_default | ||
| 17021 | #include <$ac_header> | ||
| 17022 | _ACEOF | ||
| 17023 | rm -f conftest.$ac_objext | ||
| 17024 | if { (ac_try="$ac_compile" | ||
| 17025 | case "(($ac_try" in | ||
| 17026 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17027 | *) ac_try_echo=$ac_try;; | ||
| 17028 | esac | ||
| 17029 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17030 | $as_echo "$ac_try_echo") >&5 | ||
| 17031 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17032 | ac_status=$? | ||
| 17033 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17034 | rm -f conftest.er1 | ||
| 17035 | cat conftest.err >&5 | ||
| 17036 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17037 | (exit $ac_status); } && { | ||
| 17038 | test -z "$ac_c_werror_flag" || | ||
| 17039 | test ! -s conftest.err | ||
| 17040 | } && test -s conftest.$ac_objext; then | ||
| 17041 | ac_header_compiler=yes | ||
| 17042 | else | ||
| 17043 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17044 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17045 | |||
| 17046 | ac_header_compiler=no | ||
| 17047 | fi | ||
| 17048 | |||
| 17049 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17050 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17051 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17052 | |||
| 17053 | # Is the header present? | ||
| 17054 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17055 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17056 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17057 | /* confdefs.h. */ | ||
| 17058 | _ACEOF | ||
| 17059 | cat confdefs.h >>conftest.$ac_ext | ||
| 17060 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17061 | /* end confdefs.h. */ | ||
| 17062 | #include <$ac_header> | ||
| 17063 | _ACEOF | ||
| 17064 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17065 | case "(($ac_try" in | ||
| 17066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17067 | *) ac_try_echo=$ac_try;; | ||
| 17068 | esac | ||
| 17069 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17070 | $as_echo "$ac_try_echo") >&5 | ||
| 17071 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17072 | ac_status=$? | ||
| 17073 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17074 | rm -f conftest.er1 | ||
| 17075 | cat conftest.err >&5 | ||
| 17076 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17077 | (exit $ac_status); } >/dev/null && { | ||
| 17078 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17079 | test ! -s conftest.err | ||
| 17080 | }; then | ||
| 17081 | ac_header_preproc=yes | ||
| 17082 | else | ||
| 17083 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17084 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17085 | |||
| 17086 | ac_header_preproc=no | ||
| 17087 | fi | ||
| 17088 | |||
| 17089 | rm -f conftest.err conftest.$ac_ext | ||
| 17090 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17091 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17092 | |||
| 17093 | # So? What about this header? | ||
| 17094 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17095 | yes:no: ) | ||
| 17096 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17097 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17098 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17099 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17100 | ac_header_preproc=yes | ||
| 17101 | ;; | ||
| 17102 | no:yes:* ) | ||
| 17103 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17104 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17105 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17106 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17107 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17108 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17109 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17110 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17111 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17112 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17113 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17114 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17115 | |||
| 17116 | ;; | ||
| 17117 | esac | ||
| 17118 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17119 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17120 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17121 | $as_echo_n "(cached) " >&6 | ||
| 17122 | else | ||
| 17123 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17124 | fi | ||
| 17125 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17126 | $as_echo "$as_val"'` | ||
| 17127 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17128 | $as_echo "$ac_res" >&6; } | ||
| 17129 | |||
| 17130 | fi | ||
| 17131 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17132 | $as_echo "$as_val"'` = yes; then | ||
| 17133 | cat >>confdefs.h <<_ACEOF | 10594 | cat >>confdefs.h <<_ACEOF |
| 17134 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10595 | #define HAVE_MAILLOCK_H 1 |
| 17135 | _ACEOF | 10596 | _ACEOF |
| 17136 | 10597 | ||
| 17137 | fi | 10598 | fi |
| @@ -17139,77 +10600,6 @@ fi | |||
| 17139 | done | 10600 | done |
| 17140 | 10601 | ||
| 17141 | 10602 | ||
| 17142 | |||
| 17143 | |||
| 17144 | |||
| 17145 | |||
| 17146 | |||
| 17147 | |||
| 17148 | |||
| 17149 | |||
| 17150 | |||
| 17151 | |||
| 17152 | |||
| 17153 | |||
| 17154 | |||
| 17155 | |||
| 17156 | |||
| 17157 | |||
| 17158 | |||
| 17159 | |||
| 17160 | |||
| 17161 | |||
| 17162 | |||
| 17163 | |||
| 17164 | |||
| 17165 | |||
| 17166 | |||
| 17167 | |||
| 17168 | |||
| 17169 | |||
| 17170 | |||
| 17171 | |||
| 17172 | |||
| 17173 | |||
| 17174 | |||
| 17175 | |||
| 17176 | |||
| 17177 | |||
| 17178 | |||
| 17179 | |||
| 17180 | |||
| 17181 | |||
| 17182 | |||
| 17183 | |||
| 17184 | |||
| 17185 | |||
| 17186 | |||
| 17187 | |||
| 17188 | |||
| 17189 | |||
| 17190 | |||
| 17191 | |||
| 17192 | |||
| 17193 | |||
| 17194 | |||
| 17195 | |||
| 17196 | |||
| 17197 | |||
| 17198 | |||
| 17199 | |||
| 17200 | |||
| 17201 | |||
| 17202 | |||
| 17203 | |||
| 17204 | |||
| 17205 | |||
| 17206 | |||
| 17207 | |||
| 17208 | |||
| 17209 | |||
| 17210 | |||
| 17211 | |||
| 17212 | |||
| 17213 | for ac_func in gethostname getdomainname dup2 \ | 10603 | for ac_func in gethostname getdomainname dup2 \ |
| 17214 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 10604 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
| 17215 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ | 10605 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ |
| @@ -17220,97 +10610,11 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \ | |||
| 17220 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 10610 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
| 17221 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 10611 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
| 17222 | cfmakeraw cfsetspeed | 10612 | cfmakeraw cfsetspeed |
| 17223 | do | 10613 | do : |
| 17224 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10614 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 17225 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10615 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 17226 | $as_echo_n "checking for $ac_func... " >&6; } | 10616 | eval as_val=\$$as_ac_var |
| 17227 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10617 | if test "x$as_val" = x""yes; then : |
| 17228 | $as_echo_n "(cached) " >&6 | ||
| 17229 | else | ||
| 17230 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17231 | /* confdefs.h. */ | ||
| 17232 | _ACEOF | ||
| 17233 | cat confdefs.h >>conftest.$ac_ext | ||
| 17234 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17235 | /* end confdefs.h. */ | ||
| 17236 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17237 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17238 | #define $ac_func innocuous_$ac_func | ||
| 17239 | |||
| 17240 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17241 | which can conflict with char $ac_func (); below. | ||
| 17242 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17243 | <limits.h> exists even on freestanding compilers. */ | ||
| 17244 | |||
| 17245 | #ifdef __STDC__ | ||
| 17246 | # include <limits.h> | ||
| 17247 | #else | ||
| 17248 | # include <assert.h> | ||
| 17249 | #endif | ||
| 17250 | |||
| 17251 | #undef $ac_func | ||
| 17252 | |||
| 17253 | /* Override any GCC internal prototype to avoid an error. | ||
| 17254 | Use char because int might match the return type of a GCC | ||
| 17255 | builtin and then its argument prototype would still apply. */ | ||
| 17256 | #ifdef __cplusplus | ||
| 17257 | extern "C" | ||
| 17258 | #endif | ||
| 17259 | char $ac_func (); | ||
| 17260 | /* The GNU C library defines this for functions which it implements | ||
| 17261 | to always fail with ENOSYS. Some functions are actually named | ||
| 17262 | something starting with __ and the normal name is an alias. */ | ||
| 17263 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17264 | choke me | ||
| 17265 | #endif | ||
| 17266 | |||
| 17267 | int | ||
| 17268 | main () | ||
| 17269 | { | ||
| 17270 | return $ac_func (); | ||
| 17271 | ; | ||
| 17272 | return 0; | ||
| 17273 | } | ||
| 17274 | _ACEOF | ||
| 17275 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17276 | if { (ac_try="$ac_link" | ||
| 17277 | case "(($ac_try" in | ||
| 17278 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17279 | *) ac_try_echo=$ac_try;; | ||
| 17280 | esac | ||
| 17281 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17282 | $as_echo "$ac_try_echo") >&5 | ||
| 17283 | (eval "$ac_link") 2>conftest.er1 | ||
| 17284 | ac_status=$? | ||
| 17285 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17286 | rm -f conftest.er1 | ||
| 17287 | cat conftest.err >&5 | ||
| 17288 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17289 | (exit $ac_status); } && { | ||
| 17290 | test -z "$ac_c_werror_flag" || | ||
| 17291 | test ! -s conftest.err | ||
| 17292 | } && test -s conftest$ac_exeext && { | ||
| 17293 | test "$cross_compiling" = yes || | ||
| 17294 | $as_test_x conftest$ac_exeext | ||
| 17295 | }; then | ||
| 17296 | eval "$as_ac_var=yes" | ||
| 17297 | else | ||
| 17298 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17299 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17300 | |||
| 17301 | eval "$as_ac_var=no" | ||
| 17302 | fi | ||
| 17303 | |||
| 17304 | rm -rf conftest.dSYM | ||
| 17305 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17306 | conftest$ac_exeext conftest.$ac_ext | ||
| 17307 | fi | ||
| 17308 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17309 | $as_echo "$as_val"'` | ||
| 17310 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17311 | $as_echo "$ac_res" >&6; } | ||
| 17312 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17313 | $as_echo "$as_val"'` = yes; then | ||
| 17314 | cat >>confdefs.h <<_ACEOF | 10618 | cat >>confdefs.h <<_ACEOF |
| 17315 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10619 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 17316 | _ACEOF | 10620 | _ACEOF |
| @@ -17319,145 +10623,12 @@ fi | |||
| 17319 | done | 10623 | done |
| 17320 | 10624 | ||
| 17321 | 10625 | ||
| 17322 | |||
| 17323 | for ac_header in sys/un.h | 10626 | for ac_header in sys/un.h |
| 17324 | do | 10627 | do : |
| 17325 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10628 | ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" |
| 17326 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10629 | if test "x$ac_cv_header_sys_un_h" = x""yes; then : |
| 17327 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17328 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17329 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17330 | $as_echo_n "(cached) " >&6 | ||
| 17331 | fi | ||
| 17332 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17333 | $as_echo "$as_val"'` | ||
| 17334 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17335 | $as_echo "$ac_res" >&6; } | ||
| 17336 | else | ||
| 17337 | # Is the header compilable? | ||
| 17338 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17339 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17340 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17341 | /* confdefs.h. */ | ||
| 17342 | _ACEOF | ||
| 17343 | cat confdefs.h >>conftest.$ac_ext | ||
| 17344 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17345 | /* end confdefs.h. */ | ||
| 17346 | $ac_includes_default | ||
| 17347 | #include <$ac_header> | ||
| 17348 | _ACEOF | ||
| 17349 | rm -f conftest.$ac_objext | ||
| 17350 | if { (ac_try="$ac_compile" | ||
| 17351 | case "(($ac_try" in | ||
| 17352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17353 | *) ac_try_echo=$ac_try;; | ||
| 17354 | esac | ||
| 17355 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17356 | $as_echo "$ac_try_echo") >&5 | ||
| 17357 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17358 | ac_status=$? | ||
| 17359 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17360 | rm -f conftest.er1 | ||
| 17361 | cat conftest.err >&5 | ||
| 17362 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17363 | (exit $ac_status); } && { | ||
| 17364 | test -z "$ac_c_werror_flag" || | ||
| 17365 | test ! -s conftest.err | ||
| 17366 | } && test -s conftest.$ac_objext; then | ||
| 17367 | ac_header_compiler=yes | ||
| 17368 | else | ||
| 17369 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17370 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17371 | |||
| 17372 | ac_header_compiler=no | ||
| 17373 | fi | ||
| 17374 | |||
| 17375 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17376 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17377 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17378 | |||
| 17379 | # Is the header present? | ||
| 17380 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17381 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17382 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17383 | /* confdefs.h. */ | ||
| 17384 | _ACEOF | ||
| 17385 | cat confdefs.h >>conftest.$ac_ext | ||
| 17386 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17387 | /* end confdefs.h. */ | ||
| 17388 | #include <$ac_header> | ||
| 17389 | _ACEOF | ||
| 17390 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17391 | case "(($ac_try" in | ||
| 17392 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17393 | *) ac_try_echo=$ac_try;; | ||
| 17394 | esac | ||
| 17395 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17396 | $as_echo "$ac_try_echo") >&5 | ||
| 17397 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17398 | ac_status=$? | ||
| 17399 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17400 | rm -f conftest.er1 | ||
| 17401 | cat conftest.err >&5 | ||
| 17402 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17403 | (exit $ac_status); } >/dev/null && { | ||
| 17404 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17405 | test ! -s conftest.err | ||
| 17406 | }; then | ||
| 17407 | ac_header_preproc=yes | ||
| 17408 | else | ||
| 17409 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17410 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17411 | |||
| 17412 | ac_header_preproc=no | ||
| 17413 | fi | ||
| 17414 | |||
| 17415 | rm -f conftest.err conftest.$ac_ext | ||
| 17416 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17417 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17418 | |||
| 17419 | # So? What about this header? | ||
| 17420 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17421 | yes:no: ) | ||
| 17422 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17423 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17424 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17425 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17426 | ac_header_preproc=yes | ||
| 17427 | ;; | ||
| 17428 | no:yes:* ) | ||
| 17429 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17430 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17431 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17432 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17433 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17434 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17435 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17436 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17437 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17438 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17439 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17440 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17441 | |||
| 17442 | ;; | ||
| 17443 | esac | ||
| 17444 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17445 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17446 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17447 | $as_echo_n "(cached) " >&6 | ||
| 17448 | else | ||
| 17449 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17450 | fi | ||
| 17451 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17452 | $as_echo "$as_val"'` | ||
| 17453 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17454 | $as_echo "$ac_res" >&6; } | ||
| 17455 | |||
| 17456 | fi | ||
| 17457 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17458 | $as_echo "$as_val"'` = yes; then | ||
| 17459 | cat >>confdefs.h <<_ACEOF | 10630 | cat >>confdefs.h <<_ACEOF |
| 17460 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10631 | #define HAVE_SYS_UN_H 1 |
| 17461 | _ACEOF | 10632 | _ACEOF |
| 17462 | 10633 | ||
| 17463 | fi | 10634 | fi |
| @@ -17468,143 +10639,13 @@ done | |||
| 17468 | 10639 | ||
| 17469 | 10640 | ||
| 17470 | 10641 | ||
| 17471 | 10642 | for ac_header in $ac_header_list | |
| 17472 | for ac_header in $ac_header_list | 10643 | do : |
| 17473 | do | 10644 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 17474 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10645 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 17475 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10646 | " |
| 17476 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10647 | eval as_val=\$$as_ac_Header |
| 17477 | $as_echo_n "checking for $ac_header... " >&6; } | 10648 | if test "x$as_val" = x""yes; then : |
| 17478 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17479 | $as_echo_n "(cached) " >&6 | ||
| 17480 | fi | ||
| 17481 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17482 | $as_echo "$as_val"'` | ||
| 17483 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17484 | $as_echo "$ac_res" >&6; } | ||
| 17485 | else | ||
| 17486 | # Is the header compilable? | ||
| 17487 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17488 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17489 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17490 | /* confdefs.h. */ | ||
| 17491 | _ACEOF | ||
| 17492 | cat confdefs.h >>conftest.$ac_ext | ||
| 17493 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17494 | /* end confdefs.h. */ | ||
| 17495 | $ac_includes_default | ||
| 17496 | #include <$ac_header> | ||
| 17497 | _ACEOF | ||
| 17498 | rm -f conftest.$ac_objext | ||
| 17499 | if { (ac_try="$ac_compile" | ||
| 17500 | case "(($ac_try" in | ||
| 17501 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17502 | *) ac_try_echo=$ac_try;; | ||
| 17503 | esac | ||
| 17504 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17505 | $as_echo "$ac_try_echo") >&5 | ||
| 17506 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17507 | ac_status=$? | ||
| 17508 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17509 | rm -f conftest.er1 | ||
| 17510 | cat conftest.err >&5 | ||
| 17511 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17512 | (exit $ac_status); } && { | ||
| 17513 | test -z "$ac_c_werror_flag" || | ||
| 17514 | test ! -s conftest.err | ||
| 17515 | } && test -s conftest.$ac_objext; then | ||
| 17516 | ac_header_compiler=yes | ||
| 17517 | else | ||
| 17518 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17519 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17520 | |||
| 17521 | ac_header_compiler=no | ||
| 17522 | fi | ||
| 17523 | |||
| 17524 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17525 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17526 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17527 | |||
| 17528 | # Is the header present? | ||
| 17529 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17530 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17531 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17532 | /* confdefs.h. */ | ||
| 17533 | _ACEOF | ||
| 17534 | cat confdefs.h >>conftest.$ac_ext | ||
| 17535 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17536 | /* end confdefs.h. */ | ||
| 17537 | #include <$ac_header> | ||
| 17538 | _ACEOF | ||
| 17539 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17540 | case "(($ac_try" in | ||
| 17541 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17542 | *) ac_try_echo=$ac_try;; | ||
| 17543 | esac | ||
| 17544 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17545 | $as_echo "$ac_try_echo") >&5 | ||
| 17546 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17547 | ac_status=$? | ||
| 17548 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17549 | rm -f conftest.er1 | ||
| 17550 | cat conftest.err >&5 | ||
| 17551 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17552 | (exit $ac_status); } >/dev/null && { | ||
| 17553 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17554 | test ! -s conftest.err | ||
| 17555 | }; then | ||
| 17556 | ac_header_preproc=yes | ||
| 17557 | else | ||
| 17558 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17559 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17560 | |||
| 17561 | ac_header_preproc=no | ||
| 17562 | fi | ||
| 17563 | |||
| 17564 | rm -f conftest.err conftest.$ac_ext | ||
| 17565 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17566 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17567 | |||
| 17568 | # So? What about this header? | ||
| 17569 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17570 | yes:no: ) | ||
| 17571 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17572 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17573 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17574 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17575 | ac_header_preproc=yes | ||
| 17576 | ;; | ||
| 17577 | no:yes:* ) | ||
| 17578 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17579 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17580 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17581 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17582 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17583 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17584 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17585 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17586 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17587 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17588 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17589 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17590 | |||
| 17591 | ;; | ||
| 17592 | esac | ||
| 17593 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17594 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17595 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17596 | $as_echo_n "(cached) " >&6 | ||
| 17597 | else | ||
| 17598 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17599 | fi | ||
| 17600 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17601 | $as_echo "$as_val"'` | ||
| 17602 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17603 | $as_echo "$ac_res" >&6; } | ||
| 17604 | |||
| 17605 | fi | ||
| 17606 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17607 | $as_echo "$as_val"'` = yes; then | ||
| 17608 | cat >>confdefs.h <<_ACEOF | 10649 | cat >>confdefs.h <<_ACEOF |
| 17609 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10650 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 17610 | _ACEOF | 10651 | _ACEOF |
| @@ -17620,99 +10661,12 @@ done | |||
| 17620 | 10661 | ||
| 17621 | 10662 | ||
| 17622 | 10663 | ||
| 17623 | 10664 | for ac_func in $ac_func_list | |
| 17624 | for ac_func in $ac_func_list | 10665 | do : |
| 17625 | do | 10666 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 17626 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10667 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 17627 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10668 | eval as_val=\$$as_ac_var |
| 17628 | $as_echo_n "checking for $ac_func... " >&6; } | 10669 | if test "x$as_val" = x""yes; then : |
| 17629 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17630 | $as_echo_n "(cached) " >&6 | ||
| 17631 | else | ||
| 17632 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17633 | /* confdefs.h. */ | ||
| 17634 | _ACEOF | ||
| 17635 | cat confdefs.h >>conftest.$ac_ext | ||
| 17636 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17637 | /* end confdefs.h. */ | ||
| 17638 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17639 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17640 | #define $ac_func innocuous_$ac_func | ||
| 17641 | |||
| 17642 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17643 | which can conflict with char $ac_func (); below. | ||
| 17644 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17645 | <limits.h> exists even on freestanding compilers. */ | ||
| 17646 | |||
| 17647 | #ifdef __STDC__ | ||
| 17648 | # include <limits.h> | ||
| 17649 | #else | ||
| 17650 | # include <assert.h> | ||
| 17651 | #endif | ||
| 17652 | |||
| 17653 | #undef $ac_func | ||
| 17654 | |||
| 17655 | /* Override any GCC internal prototype to avoid an error. | ||
| 17656 | Use char because int might match the return type of a GCC | ||
| 17657 | builtin and then its argument prototype would still apply. */ | ||
| 17658 | #ifdef __cplusplus | ||
| 17659 | extern "C" | ||
| 17660 | #endif | ||
| 17661 | char $ac_func (); | ||
| 17662 | /* The GNU C library defines this for functions which it implements | ||
| 17663 | to always fail with ENOSYS. Some functions are actually named | ||
| 17664 | something starting with __ and the normal name is an alias. */ | ||
| 17665 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17666 | choke me | ||
| 17667 | #endif | ||
| 17668 | |||
| 17669 | int | ||
| 17670 | main () | ||
| 17671 | { | ||
| 17672 | return $ac_func (); | ||
| 17673 | ; | ||
| 17674 | return 0; | ||
| 17675 | } | ||
| 17676 | _ACEOF | ||
| 17677 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17678 | if { (ac_try="$ac_link" | ||
| 17679 | case "(($ac_try" in | ||
| 17680 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17681 | *) ac_try_echo=$ac_try;; | ||
| 17682 | esac | ||
| 17683 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17684 | $as_echo "$ac_try_echo") >&5 | ||
| 17685 | (eval "$ac_link") 2>conftest.er1 | ||
| 17686 | ac_status=$? | ||
| 17687 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17688 | rm -f conftest.er1 | ||
| 17689 | cat conftest.err >&5 | ||
| 17690 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17691 | (exit $ac_status); } && { | ||
| 17692 | test -z "$ac_c_werror_flag" || | ||
| 17693 | test ! -s conftest.err | ||
| 17694 | } && test -s conftest$ac_exeext && { | ||
| 17695 | test "$cross_compiling" = yes || | ||
| 17696 | $as_test_x conftest$ac_exeext | ||
| 17697 | }; then | ||
| 17698 | eval "$as_ac_var=yes" | ||
| 17699 | else | ||
| 17700 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17701 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17702 | |||
| 17703 | eval "$as_ac_var=no" | ||
| 17704 | fi | ||
| 17705 | |||
| 17706 | rm -rf conftest.dSYM | ||
| 17707 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17708 | conftest$ac_exeext conftest.$ac_ext | ||
| 17709 | fi | ||
| 17710 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17711 | $as_echo "$as_val"'` | ||
| 17712 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17713 | $as_echo "$ac_res" >&6; } | ||
| 17714 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17715 | $as_echo "$as_val"'` = yes; then | ||
| 17716 | cat >>confdefs.h <<_ACEOF | 10670 | cat >>confdefs.h <<_ACEOF |
| 17717 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10671 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 17718 | _ACEOF | 10672 | _ACEOF |
| @@ -17724,31 +10678,15 @@ done | |||
| 17724 | 10678 | ||
| 17725 | 10679 | ||
| 17726 | 10680 | ||
| 17727 | 10681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | |
| 17728 | |||
| 17729 | |||
| 17730 | |||
| 17731 | |||
| 17732 | |||
| 17733 | |||
| 17734 | |||
| 17735 | |||
| 17736 | |||
| 17737 | |||
| 17738 | |||
| 17739 | { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | ||
| 17740 | $as_echo_n "checking for working mktime... " >&6; } | 10682 | $as_echo_n "checking for working mktime... " >&6; } |
| 17741 | if test "${ac_cv_func_working_mktime+set}" = set; then | 10683 | if test "${ac_cv_func_working_mktime+set}" = set; then : |
| 17742 | $as_echo_n "(cached) " >&6 | 10684 | $as_echo_n "(cached) " >&6 |
| 17743 | else | 10685 | else |
| 17744 | if test "$cross_compiling" = yes; then | 10686 | if test "$cross_compiling" = yes; then : |
| 17745 | ac_cv_func_working_mktime=no | 10687 | ac_cv_func_working_mktime=no |
| 17746 | else | 10688 | else |
| 17747 | cat >conftest.$ac_ext <<_ACEOF | 10689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17748 | /* confdefs.h. */ | ||
| 17749 | _ACEOF | ||
| 17750 | cat confdefs.h >>conftest.$ac_ext | ||
| 17751 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17752 | /* end confdefs.h. */ | 10690 | /* end confdefs.h. */ |
| 17753 | /* Test program from Paul Eggert and Tony Leneis. */ | 10691 | /* Test program from Paul Eggert and Tony Leneis. */ |
| 17754 | #ifdef TIME_WITH_SYS_TIME | 10692 | #ifdef TIME_WITH_SYS_TIME |
| @@ -17945,44 +10883,17 @@ main () | |||
| 17945 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 10883 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
| 17946 | } | 10884 | } |
| 17947 | _ACEOF | 10885 | _ACEOF |
| 17948 | rm -f conftest$ac_exeext | 10886 | if ac_fn_c_try_run "$LINENO"; then : |
| 17949 | if { (ac_try="$ac_link" | ||
| 17950 | case "(($ac_try" in | ||
| 17951 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17952 | *) ac_try_echo=$ac_try;; | ||
| 17953 | esac | ||
| 17954 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17955 | $as_echo "$ac_try_echo") >&5 | ||
| 17956 | (eval "$ac_link") 2>&5 | ||
| 17957 | ac_status=$? | ||
| 17958 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17959 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 17960 | { (case "(($ac_try" in | ||
| 17961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17962 | *) ac_try_echo=$ac_try;; | ||
| 17963 | esac | ||
| 17964 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17965 | $as_echo "$ac_try_echo") >&5 | ||
| 17966 | (eval "$ac_try") 2>&5 | ||
| 17967 | ac_status=$? | ||
| 17968 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17969 | (exit $ac_status); }; }; then | ||
| 17970 | ac_cv_func_working_mktime=yes | 10887 | ac_cv_func_working_mktime=yes |
| 17971 | else | 10888 | else |
| 17972 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 10889 | ac_cv_func_working_mktime=no |
| 17973 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17974 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17975 | |||
| 17976 | ( exit $ac_status ) | ||
| 17977 | ac_cv_func_working_mktime=no | ||
| 17978 | fi | 10890 | fi |
| 17979 | rm -rf conftest.dSYM | 10891 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17980 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10892 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17981 | fi | 10893 | fi |
| 17982 | 10894 | ||
| 17983 | |||
| 17984 | fi | 10895 | fi |
| 17985 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | 10896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 |
| 17986 | $as_echo "$ac_cv_func_working_mktime" >&6; } | 10897 | $as_echo "$ac_cv_func_working_mktime" >&6; } |
| 17987 | if test $ac_cv_func_working_mktime = no; then | 10898 | if test $ac_cv_func_working_mktime = no; then |
| 17988 | case " $LIBOBJS " in | 10899 | case " $LIBOBJS " in |
| @@ -17995,9 +10906,7 @@ fi | |||
| 17995 | 10906 | ||
| 17996 | if test "$ac_cv_func_working_mktime" = no; then | 10907 | if test "$ac_cv_func_working_mktime" = no; then |
| 17997 | 10908 | ||
| 17998 | cat >>confdefs.h <<\_ACEOF | 10909 | $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h |
| 17999 | #define BROKEN_MKTIME 1 | ||
| 18000 | _ACEOF | ||
| 18001 | 10910 | ||
| 18002 | fi | 10911 | fi |
| 18003 | 10912 | ||
| @@ -18005,99 +10914,13 @@ ac_have_func=no # yes means we've found a way to get the load average. | |||
| 18005 | 10914 | ||
| 18006 | # Make sure getloadavg.c is where it belongs, at configure-time. | 10915 | # Make sure getloadavg.c is where it belongs, at configure-time. |
| 18007 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 10916 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
| 18008 | { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 | 10917 | as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
| 18009 | $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | ||
| 18010 | { (exit 1); exit 1; }; } | ||
| 18011 | 10918 | ||
| 18012 | ac_save_LIBS=$LIBS | 10919 | ac_save_LIBS=$LIBS |
| 18013 | 10920 | ||
| 18014 | # Check for getloadavg, but be sure not to touch the cache variable. | 10921 | # Check for getloadavg, but be sure not to touch the cache variable. |
| 18015 | ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 | 10922 | (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
| 18016 | $as_echo_n "checking for getloadavg... " >&6; } | 10923 | if test "x$ac_cv_func_getloadavg" = x""yes; then : |
| 18017 | if test "${ac_cv_func_getloadavg+set}" = set; then | ||
| 18018 | $as_echo_n "(cached) " >&6 | ||
| 18019 | else | ||
| 18020 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18021 | /* confdefs.h. */ | ||
| 18022 | _ACEOF | ||
| 18023 | cat confdefs.h >>conftest.$ac_ext | ||
| 18024 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18025 | /* end confdefs.h. */ | ||
| 18026 | /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg. | ||
| 18027 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18028 | #define getloadavg innocuous_getloadavg | ||
| 18029 | |||
| 18030 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18031 | which can conflict with char getloadavg (); below. | ||
| 18032 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18033 | <limits.h> exists even on freestanding compilers. */ | ||
| 18034 | |||
| 18035 | #ifdef __STDC__ | ||
| 18036 | # include <limits.h> | ||
| 18037 | #else | ||
| 18038 | # include <assert.h> | ||
| 18039 | #endif | ||
| 18040 | |||
| 18041 | #undef getloadavg | ||
| 18042 | |||
| 18043 | /* Override any GCC internal prototype to avoid an error. | ||
| 18044 | Use char because int might match the return type of a GCC | ||
| 18045 | builtin and then its argument prototype would still apply. */ | ||
| 18046 | #ifdef __cplusplus | ||
| 18047 | extern "C" | ||
| 18048 | #endif | ||
| 18049 | char getloadavg (); | ||
| 18050 | /* The GNU C library defines this for functions which it implements | ||
| 18051 | to always fail with ENOSYS. Some functions are actually named | ||
| 18052 | something starting with __ and the normal name is an alias. */ | ||
| 18053 | #if defined __stub_getloadavg || defined __stub___getloadavg | ||
| 18054 | choke me | ||
| 18055 | #endif | ||
| 18056 | |||
| 18057 | int | ||
| 18058 | main () | ||
| 18059 | { | ||
| 18060 | return getloadavg (); | ||
| 18061 | ; | ||
| 18062 | return 0; | ||
| 18063 | } | ||
| 18064 | _ACEOF | ||
| 18065 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18066 | if { (ac_try="$ac_link" | ||
| 18067 | case "(($ac_try" in | ||
| 18068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18069 | *) ac_try_echo=$ac_try;; | ||
| 18070 | esac | ||
| 18071 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18072 | $as_echo "$ac_try_echo") >&5 | ||
| 18073 | (eval "$ac_link") 2>conftest.er1 | ||
| 18074 | ac_status=$? | ||
| 18075 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18076 | rm -f conftest.er1 | ||
| 18077 | cat conftest.err >&5 | ||
| 18078 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18079 | (exit $ac_status); } && { | ||
| 18080 | test -z "$ac_c_werror_flag" || | ||
| 18081 | test ! -s conftest.err | ||
| 18082 | } && test -s conftest$ac_exeext && { | ||
| 18083 | test "$cross_compiling" = yes || | ||
| 18084 | $as_test_x conftest$ac_exeext | ||
| 18085 | }; then | ||
| 18086 | ac_cv_func_getloadavg=yes | ||
| 18087 | else | ||
| 18088 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18089 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18090 | |||
| 18091 | ac_cv_func_getloadavg=no | ||
| 18092 | fi | ||
| 18093 | |||
| 18094 | rm -rf conftest.dSYM | ||
| 18095 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18096 | conftest$ac_exeext conftest.$ac_ext | ||
| 18097 | fi | ||
| 18098 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | ||
| 18099 | $as_echo "$ac_cv_func_getloadavg" >&6; } | ||
| 18100 | if test $ac_cv_func_getloadavg = yes; then | ||
| 18101 | exit 0 | 10924 | exit 0 |
| 18102 | else | 10925 | else |
| 18103 | exit 1 | 10926 | exit 1 |
| @@ -18105,101 +10928,12 @@ fi | |||
| 18105 | ) && ac_have_func=yes | 10928 | ) && ac_have_func=yes |
| 18106 | 10929 | ||
| 18107 | # On HPUX9, an unprivileged user can get load averages through this function. | 10930 | # On HPUX9, an unprivileged user can get load averages through this function. |
| 18108 | |||
| 18109 | for ac_func in pstat_getdynamic | 10931 | for ac_func in pstat_getdynamic |
| 18110 | do | 10932 | do : |
| 18111 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10933 | ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" |
| 18112 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10934 | if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : |
| 18113 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18114 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18115 | $as_echo_n "(cached) " >&6 | ||
| 18116 | else | ||
| 18117 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18118 | /* confdefs.h. */ | ||
| 18119 | _ACEOF | ||
| 18120 | cat confdefs.h >>conftest.$ac_ext | ||
| 18121 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18122 | /* end confdefs.h. */ | ||
| 18123 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18124 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18125 | #define $ac_func innocuous_$ac_func | ||
| 18126 | |||
| 18127 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18128 | which can conflict with char $ac_func (); below. | ||
| 18129 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18130 | <limits.h> exists even on freestanding compilers. */ | ||
| 18131 | |||
| 18132 | #ifdef __STDC__ | ||
| 18133 | # include <limits.h> | ||
| 18134 | #else | ||
| 18135 | # include <assert.h> | ||
| 18136 | #endif | ||
| 18137 | |||
| 18138 | #undef $ac_func | ||
| 18139 | |||
| 18140 | /* Override any GCC internal prototype to avoid an error. | ||
| 18141 | Use char because int might match the return type of a GCC | ||
| 18142 | builtin and then its argument prototype would still apply. */ | ||
| 18143 | #ifdef __cplusplus | ||
| 18144 | extern "C" | ||
| 18145 | #endif | ||
| 18146 | char $ac_func (); | ||
| 18147 | /* The GNU C library defines this for functions which it implements | ||
| 18148 | to always fail with ENOSYS. Some functions are actually named | ||
| 18149 | something starting with __ and the normal name is an alias. */ | ||
| 18150 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18151 | choke me | ||
| 18152 | #endif | ||
| 18153 | |||
| 18154 | int | ||
| 18155 | main () | ||
| 18156 | { | ||
| 18157 | return $ac_func (); | ||
| 18158 | ; | ||
| 18159 | return 0; | ||
| 18160 | } | ||
| 18161 | _ACEOF | ||
| 18162 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18163 | if { (ac_try="$ac_link" | ||
| 18164 | case "(($ac_try" in | ||
| 18165 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18166 | *) ac_try_echo=$ac_try;; | ||
| 18167 | esac | ||
| 18168 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18169 | $as_echo "$ac_try_echo") >&5 | ||
| 18170 | (eval "$ac_link") 2>conftest.er1 | ||
| 18171 | ac_status=$? | ||
| 18172 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18173 | rm -f conftest.er1 | ||
| 18174 | cat conftest.err >&5 | ||
| 18175 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18176 | (exit $ac_status); } && { | ||
| 18177 | test -z "$ac_c_werror_flag" || | ||
| 18178 | test ! -s conftest.err | ||
| 18179 | } && test -s conftest$ac_exeext && { | ||
| 18180 | test "$cross_compiling" = yes || | ||
| 18181 | $as_test_x conftest$ac_exeext | ||
| 18182 | }; then | ||
| 18183 | eval "$as_ac_var=yes" | ||
| 18184 | else | ||
| 18185 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18186 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18187 | |||
| 18188 | eval "$as_ac_var=no" | ||
| 18189 | fi | ||
| 18190 | |||
| 18191 | rm -rf conftest.dSYM | ||
| 18192 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18193 | conftest$ac_exeext conftest.$ac_ext | ||
| 18194 | fi | ||
| 18195 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18196 | $as_echo "$as_val"'` | ||
| 18197 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18198 | $as_echo "$ac_res" >&6; } | ||
| 18199 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18200 | $as_echo "$as_val"'` = yes; then | ||
| 18201 | cat >>confdefs.h <<_ACEOF | 10935 | cat >>confdefs.h <<_ACEOF |
| 18202 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10936 | #define HAVE_PSTAT_GETDYNAMIC 1 |
| 18203 | _ACEOF | 10937 | _ACEOF |
| 18204 | 10938 | ||
| 18205 | fi | 10939 | fi |
| @@ -18207,19 +10941,14 @@ done | |||
| 18207 | 10941 | ||
| 18208 | 10942 | ||
| 18209 | # Solaris has libkstat which does not require root. | 10943 | # Solaris has libkstat which does not require root. |
| 18210 | 10944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | |
| 18211 | { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | ||
| 18212 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 10945 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
| 18213 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 10946 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : |
| 18214 | $as_echo_n "(cached) " >&6 | 10947 | $as_echo_n "(cached) " >&6 |
| 18215 | else | 10948 | else |
| 18216 | ac_check_lib_save_LIBS=$LIBS | 10949 | ac_check_lib_save_LIBS=$LIBS |
| 18217 | LIBS="-lkstat $LIBS" | 10950 | LIBS="-lkstat $LIBS" |
| 18218 | cat >conftest.$ac_ext <<_ACEOF | 10951 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18219 | /* confdefs.h. */ | ||
| 18220 | _ACEOF | ||
| 18221 | cat confdefs.h >>conftest.$ac_ext | ||
| 18222 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18223 | /* end confdefs.h. */ | 10952 | /* end confdefs.h. */ |
| 18224 | 10953 | ||
| 18225 | /* Override any GCC internal prototype to avoid an error. | 10954 | /* Override any GCC internal prototype to avoid an error. |
| @@ -18237,43 +10966,18 @@ return kstat_open (); | |||
| 18237 | return 0; | 10966 | return 0; |
| 18238 | } | 10967 | } |
| 18239 | _ACEOF | 10968 | _ACEOF |
| 18240 | rm -f conftest.$ac_objext conftest$ac_exeext | 10969 | if ac_fn_c_try_link "$LINENO"; then : |
| 18241 | if { (ac_try="$ac_link" | ||
| 18242 | case "(($ac_try" in | ||
| 18243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18244 | *) ac_try_echo=$ac_try;; | ||
| 18245 | esac | ||
| 18246 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18247 | $as_echo "$ac_try_echo") >&5 | ||
| 18248 | (eval "$ac_link") 2>conftest.er1 | ||
| 18249 | ac_status=$? | ||
| 18250 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18251 | rm -f conftest.er1 | ||
| 18252 | cat conftest.err >&5 | ||
| 18253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18254 | (exit $ac_status); } && { | ||
| 18255 | test -z "$ac_c_werror_flag" || | ||
| 18256 | test ! -s conftest.err | ||
| 18257 | } && test -s conftest$ac_exeext && { | ||
| 18258 | test "$cross_compiling" = yes || | ||
| 18259 | $as_test_x conftest$ac_exeext | ||
| 18260 | }; then | ||
| 18261 | ac_cv_lib_kstat_kstat_open=yes | 10970 | ac_cv_lib_kstat_kstat_open=yes |
| 18262 | else | 10971 | else |
| 18263 | $as_echo "$as_me: failed program was:" >&5 | 10972 | ac_cv_lib_kstat_kstat_open=no |
| 18264 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18265 | |||
| 18266 | ac_cv_lib_kstat_kstat_open=no | ||
| 18267 | fi | 10973 | fi |
| 18268 | 10974 | rm -f core conftest.err conftest.$ac_objext \ | |
| 18269 | rm -rf conftest.dSYM | 10975 | conftest$ac_exeext conftest.$ac_ext |
| 18270 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18271 | conftest$ac_exeext conftest.$ac_ext | ||
| 18272 | LIBS=$ac_check_lib_save_LIBS | 10976 | LIBS=$ac_check_lib_save_LIBS |
| 18273 | fi | 10977 | fi |
| 18274 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | 10978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 |
| 18275 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 10979 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
| 18276 | if test $ac_cv_lib_kstat_kstat_open = yes; then | 10980 | if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : |
| 18277 | cat >>confdefs.h <<_ACEOF | 10981 | cat >>confdefs.h <<_ACEOF |
| 18278 | #define HAVE_LIBKSTAT 1 | 10982 | #define HAVE_LIBKSTAT 1 |
| 18279 | _ACEOF | 10983 | _ACEOF |
| @@ -18289,18 +10993,14 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes | |||
| 18289 | # to get the right answer into the cache. | 10993 | # to get the right answer into the cache. |
| 18290 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 10994 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
| 18291 | if test $ac_have_func = no; then | 10995 | if test $ac_have_func = no; then |
| 18292 | { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 10996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 |
| 18293 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 10997 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
| 18294 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 10998 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : |
| 18295 | $as_echo_n "(cached) " >&6 | 10999 | $as_echo_n "(cached) " >&6 |
| 18296 | else | 11000 | else |
| 18297 | ac_check_lib_save_LIBS=$LIBS | 11001 | ac_check_lib_save_LIBS=$LIBS |
| 18298 | LIBS="-lelf $LIBS" | 11002 | LIBS="-lelf $LIBS" |
| 18299 | cat >conftest.$ac_ext <<_ACEOF | 11003 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18300 | /* confdefs.h. */ | ||
| 18301 | _ACEOF | ||
| 18302 | cat confdefs.h >>conftest.$ac_ext | ||
| 18303 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18304 | /* end confdefs.h. */ | 11004 | /* end confdefs.h. */ |
| 18305 | 11005 | ||
| 18306 | /* Override any GCC internal prototype to avoid an error. | 11006 | /* Override any GCC internal prototype to avoid an error. |
| @@ -18318,60 +11018,31 @@ return elf_begin (); | |||
| 18318 | return 0; | 11018 | return 0; |
| 18319 | } | 11019 | } |
| 18320 | _ACEOF | 11020 | _ACEOF |
| 18321 | rm -f conftest.$ac_objext conftest$ac_exeext | 11021 | if ac_fn_c_try_link "$LINENO"; then : |
| 18322 | if { (ac_try="$ac_link" | ||
| 18323 | case "(($ac_try" in | ||
| 18324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18325 | *) ac_try_echo=$ac_try;; | ||
| 18326 | esac | ||
| 18327 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18328 | $as_echo "$ac_try_echo") >&5 | ||
| 18329 | (eval "$ac_link") 2>conftest.er1 | ||
| 18330 | ac_status=$? | ||
| 18331 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18332 | rm -f conftest.er1 | ||
| 18333 | cat conftest.err >&5 | ||
| 18334 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18335 | (exit $ac_status); } && { | ||
| 18336 | test -z "$ac_c_werror_flag" || | ||
| 18337 | test ! -s conftest.err | ||
| 18338 | } && test -s conftest$ac_exeext && { | ||
| 18339 | test "$cross_compiling" = yes || | ||
| 18340 | $as_test_x conftest$ac_exeext | ||
| 18341 | }; then | ||
| 18342 | ac_cv_lib_elf_elf_begin=yes | 11022 | ac_cv_lib_elf_elf_begin=yes |
| 18343 | else | 11023 | else |
| 18344 | $as_echo "$as_me: failed program was:" >&5 | 11024 | ac_cv_lib_elf_elf_begin=no |
| 18345 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18346 | |||
| 18347 | ac_cv_lib_elf_elf_begin=no | ||
| 18348 | fi | 11025 | fi |
| 18349 | 11026 | rm -f core conftest.err conftest.$ac_objext \ | |
| 18350 | rm -rf conftest.dSYM | 11027 | conftest$ac_exeext conftest.$ac_ext |
| 18351 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18352 | conftest$ac_exeext conftest.$ac_ext | ||
| 18353 | LIBS=$ac_check_lib_save_LIBS | 11028 | LIBS=$ac_check_lib_save_LIBS |
| 18354 | fi | 11029 | fi |
| 18355 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 11030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 |
| 18356 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 11031 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
| 18357 | if test $ac_cv_lib_elf_elf_begin = yes; then | 11032 | if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : |
| 18358 | LIBS="-lelf $LIBS" | 11033 | LIBS="-lelf $LIBS" |
| 18359 | fi | 11034 | fi |
| 18360 | 11035 | ||
| 18361 | fi | 11036 | fi |
| 18362 | if test $ac_have_func = no; then | 11037 | if test $ac_have_func = no; then |
| 18363 | { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | 11038 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 |
| 18364 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 11039 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
| 18365 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 11040 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : |
| 18366 | $as_echo_n "(cached) " >&6 | 11041 | $as_echo_n "(cached) " >&6 |
| 18367 | else | 11042 | else |
| 18368 | ac_check_lib_save_LIBS=$LIBS | 11043 | ac_check_lib_save_LIBS=$LIBS |
| 18369 | LIBS="-lkvm $LIBS" | 11044 | LIBS="-lkvm $LIBS" |
| 18370 | cat >conftest.$ac_ext <<_ACEOF | 11045 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18371 | /* confdefs.h. */ | ||
| 18372 | _ACEOF | ||
| 18373 | cat confdefs.h >>conftest.$ac_ext | ||
| 18374 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18375 | /* end confdefs.h. */ | 11046 | /* end confdefs.h. */ |
| 18376 | 11047 | ||
| 18377 | /* Override any GCC internal prototype to avoid an error. | 11048 | /* Override any GCC internal prototype to avoid an error. |
| @@ -18389,59 +11060,30 @@ return kvm_open (); | |||
| 18389 | return 0; | 11060 | return 0; |
| 18390 | } | 11061 | } |
| 18391 | _ACEOF | 11062 | _ACEOF |
| 18392 | rm -f conftest.$ac_objext conftest$ac_exeext | 11063 | if ac_fn_c_try_link "$LINENO"; then : |
| 18393 | if { (ac_try="$ac_link" | ||
| 18394 | case "(($ac_try" in | ||
| 18395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18396 | *) ac_try_echo=$ac_try;; | ||
| 18397 | esac | ||
| 18398 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18399 | $as_echo "$ac_try_echo") >&5 | ||
| 18400 | (eval "$ac_link") 2>conftest.er1 | ||
| 18401 | ac_status=$? | ||
| 18402 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18403 | rm -f conftest.er1 | ||
| 18404 | cat conftest.err >&5 | ||
| 18405 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18406 | (exit $ac_status); } && { | ||
| 18407 | test -z "$ac_c_werror_flag" || | ||
| 18408 | test ! -s conftest.err | ||
| 18409 | } && test -s conftest$ac_exeext && { | ||
| 18410 | test "$cross_compiling" = yes || | ||
| 18411 | $as_test_x conftest$ac_exeext | ||
| 18412 | }; then | ||
| 18413 | ac_cv_lib_kvm_kvm_open=yes | 11064 | ac_cv_lib_kvm_kvm_open=yes |
| 18414 | else | 11065 | else |
| 18415 | $as_echo "$as_me: failed program was:" >&5 | 11066 | ac_cv_lib_kvm_kvm_open=no |
| 18416 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18417 | |||
| 18418 | ac_cv_lib_kvm_kvm_open=no | ||
| 18419 | fi | 11067 | fi |
| 18420 | 11068 | rm -f core conftest.err conftest.$ac_objext \ | |
| 18421 | rm -rf conftest.dSYM | 11069 | conftest$ac_exeext conftest.$ac_ext |
| 18422 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18423 | conftest$ac_exeext conftest.$ac_ext | ||
| 18424 | LIBS=$ac_check_lib_save_LIBS | 11070 | LIBS=$ac_check_lib_save_LIBS |
| 18425 | fi | 11071 | fi |
| 18426 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | 11072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 |
| 18427 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 11073 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
| 18428 | if test $ac_cv_lib_kvm_kvm_open = yes; then | 11074 | if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : |
| 18429 | LIBS="-lkvm $LIBS" | 11075 | LIBS="-lkvm $LIBS" |
| 18430 | fi | 11076 | fi |
| 18431 | 11077 | ||
| 18432 | # Check for the 4.4BSD definition of getloadavg. | 11078 | # Check for the 4.4BSD definition of getloadavg. |
| 18433 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | 11079 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 |
| 18434 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 11080 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
| 18435 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 11081 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then : |
| 18436 | $as_echo_n "(cached) " >&6 | 11082 | $as_echo_n "(cached) " >&6 |
| 18437 | else | 11083 | else |
| 18438 | ac_check_lib_save_LIBS=$LIBS | 11084 | ac_check_lib_save_LIBS=$LIBS |
| 18439 | LIBS="-lutil $LIBS" | 11085 | LIBS="-lutil $LIBS" |
| 18440 | cat >conftest.$ac_ext <<_ACEOF | 11086 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18441 | /* confdefs.h. */ | ||
| 18442 | _ACEOF | ||
| 18443 | cat confdefs.h >>conftest.$ac_ext | ||
| 18444 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18445 | /* end confdefs.h. */ | 11087 | /* end confdefs.h. */ |
| 18446 | 11088 | ||
| 18447 | /* Override any GCC internal prototype to avoid an error. | 11089 | /* Override any GCC internal prototype to avoid an error. |
| @@ -18459,43 +11101,18 @@ return getloadavg (); | |||
| 18459 | return 0; | 11101 | return 0; |
| 18460 | } | 11102 | } |
| 18461 | _ACEOF | 11103 | _ACEOF |
| 18462 | rm -f conftest.$ac_objext conftest$ac_exeext | 11104 | if ac_fn_c_try_link "$LINENO"; then : |
| 18463 | if { (ac_try="$ac_link" | ||
| 18464 | case "(($ac_try" in | ||
| 18465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18466 | *) ac_try_echo=$ac_try;; | ||
| 18467 | esac | ||
| 18468 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18469 | $as_echo "$ac_try_echo") >&5 | ||
| 18470 | (eval "$ac_link") 2>conftest.er1 | ||
| 18471 | ac_status=$? | ||
| 18472 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18473 | rm -f conftest.er1 | ||
| 18474 | cat conftest.err >&5 | ||
| 18475 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18476 | (exit $ac_status); } && { | ||
| 18477 | test -z "$ac_c_werror_flag" || | ||
| 18478 | test ! -s conftest.err | ||
| 18479 | } && test -s conftest$ac_exeext && { | ||
| 18480 | test "$cross_compiling" = yes || | ||
| 18481 | $as_test_x conftest$ac_exeext | ||
| 18482 | }; then | ||
| 18483 | ac_cv_lib_util_getloadavg=yes | 11105 | ac_cv_lib_util_getloadavg=yes |
| 18484 | else | 11106 | else |
| 18485 | $as_echo "$as_me: failed program was:" >&5 | 11107 | ac_cv_lib_util_getloadavg=no |
| 18486 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18487 | |||
| 18488 | ac_cv_lib_util_getloadavg=no | ||
| 18489 | fi | 11108 | fi |
| 18490 | 11109 | rm -f core conftest.err conftest.$ac_objext \ | |
| 18491 | rm -rf conftest.dSYM | 11110 | conftest$ac_exeext conftest.$ac_ext |
| 18492 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18493 | conftest$ac_exeext conftest.$ac_ext | ||
| 18494 | LIBS=$ac_check_lib_save_LIBS | 11111 | LIBS=$ac_check_lib_save_LIBS |
| 18495 | fi | 11112 | fi |
| 18496 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | 11113 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 |
| 18497 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 11114 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
| 18498 | if test $ac_cv_lib_util_getloadavg = yes; then | 11115 | if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : |
| 18499 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 11116 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
| 18500 | fi | 11117 | fi |
| 18501 | 11118 | ||
| @@ -18506,18 +11123,14 @@ if test $ac_have_func = no; then | |||
| 18506 | # Since it is not a standard part of AIX, it might be installed locally. | 11123 | # Since it is not a standard part of AIX, it might be installed locally. |
| 18507 | ac_getloadavg_LIBS=$LIBS | 11124 | ac_getloadavg_LIBS=$LIBS |
| 18508 | LIBS="-L/usr/local/lib $LIBS" | 11125 | LIBS="-L/usr/local/lib $LIBS" |
| 18509 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | 11126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 |
| 18510 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 11127 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
| 18511 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 11128 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : |
| 18512 | $as_echo_n "(cached) " >&6 | 11129 | $as_echo_n "(cached) " >&6 |
| 18513 | else | 11130 | else |
| 18514 | ac_check_lib_save_LIBS=$LIBS | 11131 | ac_check_lib_save_LIBS=$LIBS |
| 18515 | LIBS="-lgetloadavg $LIBS" | 11132 | LIBS="-lgetloadavg $LIBS" |
| 18516 | cat >conftest.$ac_ext <<_ACEOF | 11133 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18517 | /* confdefs.h. */ | ||
| 18518 | _ACEOF | ||
| 18519 | cat confdefs.h >>conftest.$ac_ext | ||
| 18520 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18521 | /* end confdefs.h. */ | 11134 | /* end confdefs.h. */ |
| 18522 | 11135 | ||
| 18523 | /* Override any GCC internal prototype to avoid an error. | 11136 | /* Override any GCC internal prototype to avoid an error. |
| @@ -18535,43 +11148,18 @@ return getloadavg (); | |||
| 18535 | return 0; | 11148 | return 0; |
| 18536 | } | 11149 | } |
| 18537 | _ACEOF | 11150 | _ACEOF |
| 18538 | rm -f conftest.$ac_objext conftest$ac_exeext | 11151 | if ac_fn_c_try_link "$LINENO"; then : |
| 18539 | if { (ac_try="$ac_link" | ||
| 18540 | case "(($ac_try" in | ||
| 18541 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18542 | *) ac_try_echo=$ac_try;; | ||
| 18543 | esac | ||
| 18544 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18545 | $as_echo "$ac_try_echo") >&5 | ||
| 18546 | (eval "$ac_link") 2>conftest.er1 | ||
| 18547 | ac_status=$? | ||
| 18548 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18549 | rm -f conftest.er1 | ||
| 18550 | cat conftest.err >&5 | ||
| 18551 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18552 | (exit $ac_status); } && { | ||
| 18553 | test -z "$ac_c_werror_flag" || | ||
| 18554 | test ! -s conftest.err | ||
| 18555 | } && test -s conftest$ac_exeext && { | ||
| 18556 | test "$cross_compiling" = yes || | ||
| 18557 | $as_test_x conftest$ac_exeext | ||
| 18558 | }; then | ||
| 18559 | ac_cv_lib_getloadavg_getloadavg=yes | 11152 | ac_cv_lib_getloadavg_getloadavg=yes |
| 18560 | else | 11153 | else |
| 18561 | $as_echo "$as_me: failed program was:" >&5 | 11154 | ac_cv_lib_getloadavg_getloadavg=no |
| 18562 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18563 | |||
| 18564 | ac_cv_lib_getloadavg_getloadavg=no | ||
| 18565 | fi | 11155 | fi |
| 18566 | 11156 | rm -f core conftest.err conftest.$ac_objext \ | |
| 18567 | rm -rf conftest.dSYM | 11157 | conftest$ac_exeext conftest.$ac_ext |
| 18568 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18569 | conftest$ac_exeext conftest.$ac_ext | ||
| 18570 | LIBS=$ac_check_lib_save_LIBS | 11158 | LIBS=$ac_check_lib_save_LIBS |
| 18571 | fi | 11159 | fi |
| 18572 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 11160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
| 18573 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 11161 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
| 18574 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 11162 | if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : |
| 18575 | LIBS="-lgetloadavg $LIBS" | 11163 | LIBS="-lgetloadavg $LIBS" |
| 18576 | else | 11164 | else |
| 18577 | LIBS=$ac_getloadavg_LIBS | 11165 | LIBS=$ac_getloadavg_LIBS |
| @@ -18581,101 +11169,12 @@ fi | |||
| 18581 | 11169 | ||
| 18582 | # Make sure it is really in the library, if we think we found it, | 11170 | # Make sure it is really in the library, if we think we found it, |
| 18583 | # otherwise set up the replacement function. | 11171 | # otherwise set up the replacement function. |
| 18584 | |||
| 18585 | for ac_func in getloadavg | 11172 | for ac_func in getloadavg |
| 18586 | do | 11173 | do : |
| 18587 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11174 | ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
| 18588 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11175 | if test "x$ac_cv_func_getloadavg" = x""yes; then : |
| 18589 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18590 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18591 | $as_echo_n "(cached) " >&6 | ||
| 18592 | else | ||
| 18593 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18594 | /* confdefs.h. */ | ||
| 18595 | _ACEOF | ||
| 18596 | cat confdefs.h >>conftest.$ac_ext | ||
| 18597 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18598 | /* end confdefs.h. */ | ||
| 18599 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18600 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18601 | #define $ac_func innocuous_$ac_func | ||
| 18602 | |||
| 18603 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18604 | which can conflict with char $ac_func (); below. | ||
| 18605 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18606 | <limits.h> exists even on freestanding compilers. */ | ||
| 18607 | |||
| 18608 | #ifdef __STDC__ | ||
| 18609 | # include <limits.h> | ||
| 18610 | #else | ||
| 18611 | # include <assert.h> | ||
| 18612 | #endif | ||
| 18613 | |||
| 18614 | #undef $ac_func | ||
| 18615 | |||
| 18616 | /* Override any GCC internal prototype to avoid an error. | ||
| 18617 | Use char because int might match the return type of a GCC | ||
| 18618 | builtin and then its argument prototype would still apply. */ | ||
| 18619 | #ifdef __cplusplus | ||
| 18620 | extern "C" | ||
| 18621 | #endif | ||
| 18622 | char $ac_func (); | ||
| 18623 | /* The GNU C library defines this for functions which it implements | ||
| 18624 | to always fail with ENOSYS. Some functions are actually named | ||
| 18625 | something starting with __ and the normal name is an alias. */ | ||
| 18626 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18627 | choke me | ||
| 18628 | #endif | ||
| 18629 | |||
| 18630 | int | ||
| 18631 | main () | ||
| 18632 | { | ||
| 18633 | return $ac_func (); | ||
| 18634 | ; | ||
| 18635 | return 0; | ||
| 18636 | } | ||
| 18637 | _ACEOF | ||
| 18638 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18639 | if { (ac_try="$ac_link" | ||
| 18640 | case "(($ac_try" in | ||
| 18641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18642 | *) ac_try_echo=$ac_try;; | ||
| 18643 | esac | ||
| 18644 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18645 | $as_echo "$ac_try_echo") >&5 | ||
| 18646 | (eval "$ac_link") 2>conftest.er1 | ||
| 18647 | ac_status=$? | ||
| 18648 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18649 | rm -f conftest.er1 | ||
| 18650 | cat conftest.err >&5 | ||
| 18651 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18652 | (exit $ac_status); } && { | ||
| 18653 | test -z "$ac_c_werror_flag" || | ||
| 18654 | test ! -s conftest.err | ||
| 18655 | } && test -s conftest$ac_exeext && { | ||
| 18656 | test "$cross_compiling" = yes || | ||
| 18657 | $as_test_x conftest$ac_exeext | ||
| 18658 | }; then | ||
| 18659 | eval "$as_ac_var=yes" | ||
| 18660 | else | ||
| 18661 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18662 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18663 | |||
| 18664 | eval "$as_ac_var=no" | ||
| 18665 | fi | ||
| 18666 | |||
| 18667 | rm -rf conftest.dSYM | ||
| 18668 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18669 | conftest$ac_exeext conftest.$ac_ext | ||
| 18670 | fi | ||
| 18671 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18672 | $as_echo "$as_val"'` | ||
| 18673 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18674 | $as_echo "$ac_res" >&6; } | ||
| 18675 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18676 | $as_echo "$as_val"'` = yes; then | ||
| 18677 | cat >>confdefs.h <<_ACEOF | 11176 | cat >>confdefs.h <<_ACEOF |
| 18678 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11177 | #define HAVE_GETLOADAVG 1 |
| 18679 | _ACEOF | 11178 | _ACEOF |
| 18680 | 11179 | ||
| 18681 | else | 11180 | else |
| @@ -18686,159 +11185,24 @@ else | |||
| 18686 | esac | 11185 | esac |
| 18687 | 11186 | ||
| 18688 | 11187 | ||
| 18689 | cat >>confdefs.h <<\_ACEOF | 11188 | $as_echo "#define C_GETLOADAVG 1" >>confdefs.h |
| 18690 | #define C_GETLOADAVG 1 | ||
| 18691 | _ACEOF | ||
| 18692 | 11189 | ||
| 18693 | # Figure out what our getloadavg.c needs. | 11190 | # Figure out what our getloadavg.c needs. |
| 18694 | ac_have_func=no | 11191 | ac_have_func=no |
| 18695 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 11192 | ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" |
| 18696 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 11193 | if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : |
| 18697 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 18698 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 18699 | $as_echo_n "(cached) " >&6 | ||
| 18700 | fi | ||
| 18701 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 18702 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 18703 | else | ||
| 18704 | # Is the header compilable? | ||
| 18705 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | ||
| 18706 | $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } | ||
| 18707 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18708 | /* confdefs.h. */ | ||
| 18709 | _ACEOF | ||
| 18710 | cat confdefs.h >>conftest.$ac_ext | ||
| 18711 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18712 | /* end confdefs.h. */ | ||
| 18713 | $ac_includes_default | ||
| 18714 | #include <sys/dg_sys_info.h> | ||
| 18715 | _ACEOF | ||
| 18716 | rm -f conftest.$ac_objext | ||
| 18717 | if { (ac_try="$ac_compile" | ||
| 18718 | case "(($ac_try" in | ||
| 18719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18720 | *) ac_try_echo=$ac_try;; | ||
| 18721 | esac | ||
| 18722 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18723 | $as_echo "$ac_try_echo") >&5 | ||
| 18724 | (eval "$ac_compile") 2>conftest.er1 | ||
| 18725 | ac_status=$? | ||
| 18726 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18727 | rm -f conftest.er1 | ||
| 18728 | cat conftest.err >&5 | ||
| 18729 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18730 | (exit $ac_status); } && { | ||
| 18731 | test -z "$ac_c_werror_flag" || | ||
| 18732 | test ! -s conftest.err | ||
| 18733 | } && test -s conftest.$ac_objext; then | ||
| 18734 | ac_header_compiler=yes | ||
| 18735 | else | ||
| 18736 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18737 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18738 | |||
| 18739 | ac_header_compiler=no | ||
| 18740 | fi | ||
| 18741 | |||
| 18742 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18743 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 18744 | $as_echo "$ac_header_compiler" >&6; } | ||
| 18745 | |||
| 18746 | # Is the header present? | ||
| 18747 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | ||
| 18748 | $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } | ||
| 18749 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18750 | /* confdefs.h. */ | ||
| 18751 | _ACEOF | ||
| 18752 | cat confdefs.h >>conftest.$ac_ext | ||
| 18753 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18754 | /* end confdefs.h. */ | ||
| 18755 | #include <sys/dg_sys_info.h> | ||
| 18756 | _ACEOF | ||
| 18757 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 18758 | case "(($ac_try" in | ||
| 18759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18760 | *) ac_try_echo=$ac_try;; | ||
| 18761 | esac | ||
| 18762 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18763 | $as_echo "$ac_try_echo") >&5 | ||
| 18764 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 18765 | ac_status=$? | ||
| 18766 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18767 | rm -f conftest.er1 | ||
| 18768 | cat conftest.err >&5 | ||
| 18769 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18770 | (exit $ac_status); } >/dev/null && { | ||
| 18771 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 18772 | test ! -s conftest.err | ||
| 18773 | }; then | ||
| 18774 | ac_header_preproc=yes | ||
| 18775 | else | ||
| 18776 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18777 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18778 | |||
| 18779 | ac_header_preproc=no | ||
| 18780 | fi | ||
| 18781 | |||
| 18782 | rm -f conftest.err conftest.$ac_ext | ||
| 18783 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 18784 | $as_echo "$ac_header_preproc" >&6; } | ||
| 18785 | |||
| 18786 | # So? What about this header? | ||
| 18787 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 18788 | yes:no: ) | ||
| 18789 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 18790 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 18791 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 | ||
| 18792 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} | ||
| 18793 | ac_header_preproc=yes | ||
| 18794 | ;; | ||
| 18795 | no:yes:* ) | ||
| 18796 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | ||
| 18797 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | ||
| 18798 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | ||
| 18799 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | ||
| 18800 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 | ||
| 18801 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} | ||
| 18802 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 18803 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 18804 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | ||
| 18805 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | ||
| 18806 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | ||
| 18807 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | ||
| 18808 | |||
| 18809 | ;; | ||
| 18810 | esac | ||
| 18811 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | ||
| 18812 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 18813 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 18814 | $as_echo_n "(cached) " >&6 | ||
| 18815 | else | ||
| 18816 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | ||
| 18817 | fi | ||
| 18818 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 18819 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 18820 | |||
| 18821 | fi | ||
| 18822 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then | ||
| 18823 | ac_have_func=yes | 11194 | ac_have_func=yes |
| 18824 | 11195 | ||
| 18825 | cat >>confdefs.h <<\_ACEOF | 11196 | $as_echo "#define DGUX 1" >>confdefs.h |
| 18826 | #define DGUX 1 | ||
| 18827 | _ACEOF | ||
| 18828 | |||
| 18829 | 11197 | ||
| 18830 | { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | 11198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 |
| 18831 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 11199 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
| 18832 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 11200 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : |
| 18833 | $as_echo_n "(cached) " >&6 | 11201 | $as_echo_n "(cached) " >&6 |
| 18834 | else | 11202 | else |
| 18835 | ac_check_lib_save_LIBS=$LIBS | 11203 | ac_check_lib_save_LIBS=$LIBS |
| 18836 | LIBS="-ldgc $LIBS" | 11204 | LIBS="-ldgc $LIBS" |
| 18837 | cat >conftest.$ac_ext <<_ACEOF | 11205 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18838 | /* confdefs.h. */ | ||
| 18839 | _ACEOF | ||
| 18840 | cat confdefs.h >>conftest.$ac_ext | ||
| 18841 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18842 | /* end confdefs.h. */ | 11206 | /* end confdefs.h. */ |
| 18843 | 11207 | ||
| 18844 | /* Override any GCC internal prototype to avoid an error. | 11208 | /* Override any GCC internal prototype to avoid an error. |
| @@ -18856,43 +11220,18 @@ return dg_sys_info (); | |||
| 18856 | return 0; | 11220 | return 0; |
| 18857 | } | 11221 | } |
| 18858 | _ACEOF | 11222 | _ACEOF |
| 18859 | rm -f conftest.$ac_objext conftest$ac_exeext | 11223 | if ac_fn_c_try_link "$LINENO"; then : |
| 18860 | if { (ac_try="$ac_link" | ||
| 18861 | case "(($ac_try" in | ||
| 18862 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18863 | *) ac_try_echo=$ac_try;; | ||
| 18864 | esac | ||
| 18865 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18866 | $as_echo "$ac_try_echo") >&5 | ||
| 18867 | (eval "$ac_link") 2>conftest.er1 | ||
| 18868 | ac_status=$? | ||
| 18869 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18870 | rm -f conftest.er1 | ||
| 18871 | cat conftest.err >&5 | ||
| 18872 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18873 | (exit $ac_status); } && { | ||
| 18874 | test -z "$ac_c_werror_flag" || | ||
| 18875 | test ! -s conftest.err | ||
| 18876 | } && test -s conftest$ac_exeext && { | ||
| 18877 | test "$cross_compiling" = yes || | ||
| 18878 | $as_test_x conftest$ac_exeext | ||
| 18879 | }; then | ||
| 18880 | ac_cv_lib_dgc_dg_sys_info=yes | 11224 | ac_cv_lib_dgc_dg_sys_info=yes |
| 18881 | else | 11225 | else |
| 18882 | $as_echo "$as_me: failed program was:" >&5 | 11226 | ac_cv_lib_dgc_dg_sys_info=no |
| 18883 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18884 | |||
| 18885 | ac_cv_lib_dgc_dg_sys_info=no | ||
| 18886 | fi | 11227 | fi |
| 18887 | 11228 | rm -f core conftest.err conftest.$ac_objext \ | |
| 18888 | rm -rf conftest.dSYM | 11229 | conftest$ac_exeext conftest.$ac_ext |
| 18889 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18890 | conftest$ac_exeext conftest.$ac_ext | ||
| 18891 | LIBS=$ac_check_lib_save_LIBS | 11230 | LIBS=$ac_check_lib_save_LIBS |
| 18892 | fi | 11231 | fi |
| 18893 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 11232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
| 18894 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 11233 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
| 18895 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 11234 | if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : |
| 18896 | cat >>confdefs.h <<_ACEOF | 11235 | cat >>confdefs.h <<_ACEOF |
| 18897 | #define HAVE_LIBDGC 1 | 11236 | #define HAVE_LIBDGC 1 |
| 18898 | _ACEOF | 11237 | _ACEOF |
| @@ -18905,230 +11244,18 @@ fi | |||
| 18905 | 11244 | ||
| 18906 | 11245 | ||
| 18907 | 11246 | ||
| 18908 | if test "${ac_cv_header_locale_h+set}" = set; then | 11247 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
| 18909 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | 11248 | if test "x$ac_cv_header_locale_h" = x""yes; then : |
| 18910 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 18911 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 18912 | $as_echo_n "(cached) " >&6 | ||
| 18913 | fi | ||
| 18914 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 18915 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 18916 | else | ||
| 18917 | # Is the header compilable? | ||
| 18918 | { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 | ||
| 18919 | $as_echo_n "checking locale.h usability... " >&6; } | ||
| 18920 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18921 | /* confdefs.h. */ | ||
| 18922 | _ACEOF | ||
| 18923 | cat confdefs.h >>conftest.$ac_ext | ||
| 18924 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18925 | /* end confdefs.h. */ | ||
| 18926 | $ac_includes_default | ||
| 18927 | #include <locale.h> | ||
| 18928 | _ACEOF | ||
| 18929 | rm -f conftest.$ac_objext | ||
| 18930 | if { (ac_try="$ac_compile" | ||
| 18931 | case "(($ac_try" in | ||
| 18932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18933 | *) ac_try_echo=$ac_try;; | ||
| 18934 | esac | ||
| 18935 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18936 | $as_echo "$ac_try_echo") >&5 | ||
| 18937 | (eval "$ac_compile") 2>conftest.er1 | ||
| 18938 | ac_status=$? | ||
| 18939 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18940 | rm -f conftest.er1 | ||
| 18941 | cat conftest.err >&5 | ||
| 18942 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18943 | (exit $ac_status); } && { | ||
| 18944 | test -z "$ac_c_werror_flag" || | ||
| 18945 | test ! -s conftest.err | ||
| 18946 | } && test -s conftest.$ac_objext; then | ||
| 18947 | ac_header_compiler=yes | ||
| 18948 | else | ||
| 18949 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18950 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18951 | |||
| 18952 | ac_header_compiler=no | ||
| 18953 | fi | ||
| 18954 | |||
| 18955 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18956 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 18957 | $as_echo "$ac_header_compiler" >&6; } | ||
| 18958 | |||
| 18959 | # Is the header present? | ||
| 18960 | { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 | ||
| 18961 | $as_echo_n "checking locale.h presence... " >&6; } | ||
| 18962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18963 | /* confdefs.h. */ | ||
| 18964 | _ACEOF | ||
| 18965 | cat confdefs.h >>conftest.$ac_ext | ||
| 18966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18967 | /* end confdefs.h. */ | ||
| 18968 | #include <locale.h> | ||
| 18969 | _ACEOF | ||
| 18970 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 18971 | case "(($ac_try" in | ||
| 18972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18973 | *) ac_try_echo=$ac_try;; | ||
| 18974 | esac | ||
| 18975 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18976 | $as_echo "$ac_try_echo") >&5 | ||
| 18977 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 18978 | ac_status=$? | ||
| 18979 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18980 | rm -f conftest.er1 | ||
| 18981 | cat conftest.err >&5 | ||
| 18982 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18983 | (exit $ac_status); } >/dev/null && { | ||
| 18984 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 18985 | test ! -s conftest.err | ||
| 18986 | }; then | ||
| 18987 | ac_header_preproc=yes | ||
| 18988 | else | ||
| 18989 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18990 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18991 | |||
| 18992 | ac_header_preproc=no | ||
| 18993 | fi | ||
| 18994 | |||
| 18995 | rm -f conftest.err conftest.$ac_ext | ||
| 18996 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 18997 | $as_echo "$ac_header_preproc" >&6; } | ||
| 18998 | |||
| 18999 | # So? What about this header? | ||
| 19000 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19001 | yes:no: ) | ||
| 19002 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19003 | $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19004 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 | ||
| 19005 | $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} | ||
| 19006 | ac_header_preproc=yes | ||
| 19007 | ;; | ||
| 19008 | no:yes:* ) | ||
| 19009 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | ||
| 19010 | $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | ||
| 19011 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | ||
| 19012 | $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | ||
| 19013 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 | ||
| 19014 | $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} | ||
| 19015 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19016 | $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19017 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | ||
| 19018 | $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | ||
| 19019 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | ||
| 19020 | $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | ||
| 19021 | |||
| 19022 | ;; | ||
| 19023 | esac | ||
| 19024 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | ||
| 19025 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19026 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19027 | $as_echo_n "(cached) " >&6 | ||
| 19028 | else | ||
| 19029 | ac_cv_header_locale_h=$ac_header_preproc | ||
| 19030 | fi | ||
| 19031 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19032 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 19033 | 11249 | ||
| 19034 | fi | 11250 | fi |
| 19035 | 11251 | ||
| 19036 | 11252 | ||
| 19037 | |||
| 19038 | for ac_func in setlocale | 11253 | for ac_func in setlocale |
| 19039 | do | 11254 | do : |
| 19040 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11255 | ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" |
| 19041 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11256 | if test "x$ac_cv_func_setlocale" = x""yes; then : |
| 19042 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 19043 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19044 | $as_echo_n "(cached) " >&6 | ||
| 19045 | else | ||
| 19046 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19047 | /* confdefs.h. */ | ||
| 19048 | _ACEOF | ||
| 19049 | cat confdefs.h >>conftest.$ac_ext | ||
| 19050 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19051 | /* end confdefs.h. */ | ||
| 19052 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 19053 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 19054 | #define $ac_func innocuous_$ac_func | ||
| 19055 | |||
| 19056 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 19057 | which can conflict with char $ac_func (); below. | ||
| 19058 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 19059 | <limits.h> exists even on freestanding compilers. */ | ||
| 19060 | |||
| 19061 | #ifdef __STDC__ | ||
| 19062 | # include <limits.h> | ||
| 19063 | #else | ||
| 19064 | # include <assert.h> | ||
| 19065 | #endif | ||
| 19066 | |||
| 19067 | #undef $ac_func | ||
| 19068 | |||
| 19069 | /* Override any GCC internal prototype to avoid an error. | ||
| 19070 | Use char because int might match the return type of a GCC | ||
| 19071 | builtin and then its argument prototype would still apply. */ | ||
| 19072 | #ifdef __cplusplus | ||
| 19073 | extern "C" | ||
| 19074 | #endif | ||
| 19075 | char $ac_func (); | ||
| 19076 | /* The GNU C library defines this for functions which it implements | ||
| 19077 | to always fail with ENOSYS. Some functions are actually named | ||
| 19078 | something starting with __ and the normal name is an alias. */ | ||
| 19079 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 19080 | choke me | ||
| 19081 | #endif | ||
| 19082 | |||
| 19083 | int | ||
| 19084 | main () | ||
| 19085 | { | ||
| 19086 | return $ac_func (); | ||
| 19087 | ; | ||
| 19088 | return 0; | ||
| 19089 | } | ||
| 19090 | _ACEOF | ||
| 19091 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 19092 | if { (ac_try="$ac_link" | ||
| 19093 | case "(($ac_try" in | ||
| 19094 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19095 | *) ac_try_echo=$ac_try;; | ||
| 19096 | esac | ||
| 19097 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19098 | $as_echo "$ac_try_echo") >&5 | ||
| 19099 | (eval "$ac_link") 2>conftest.er1 | ||
| 19100 | ac_status=$? | ||
| 19101 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19102 | rm -f conftest.er1 | ||
| 19103 | cat conftest.err >&5 | ||
| 19104 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19105 | (exit $ac_status); } && { | ||
| 19106 | test -z "$ac_c_werror_flag" || | ||
| 19107 | test ! -s conftest.err | ||
| 19108 | } && test -s conftest$ac_exeext && { | ||
| 19109 | test "$cross_compiling" = yes || | ||
| 19110 | $as_test_x conftest$ac_exeext | ||
| 19111 | }; then | ||
| 19112 | eval "$as_ac_var=yes" | ||
| 19113 | else | ||
| 19114 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19115 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19116 | |||
| 19117 | eval "$as_ac_var=no" | ||
| 19118 | fi | ||
| 19119 | |||
| 19120 | rm -rf conftest.dSYM | ||
| 19121 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19122 | conftest$ac_exeext conftest.$ac_ext | ||
| 19123 | fi | ||
| 19124 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 19125 | $as_echo "$as_val"'` | ||
| 19126 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19127 | $as_echo "$ac_res" >&6; } | ||
| 19128 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 19129 | $as_echo "$as_val"'` = yes; then | ||
| 19130 | cat >>confdefs.h <<_ACEOF | 11257 | cat >>confdefs.h <<_ACEOF |
| 19131 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11258 | #define HAVE_SETLOCALE 1 |
| 19132 | _ACEOF | 11259 | _ACEOF |
| 19133 | 11260 | ||
| 19134 | fi | 11261 | fi |
| @@ -19141,151 +11268,19 @@ done | |||
| 19141 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 11268 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
| 19142 | ac_have_func=yes | 11269 | ac_have_func=yes |
| 19143 | 11270 | ||
| 19144 | cat >>confdefs.h <<\_ACEOF | 11271 | $as_echo "#define SVR4 1" >>confdefs.h |
| 19145 | #define SVR4 1 | ||
| 19146 | _ACEOF | ||
| 19147 | 11272 | ||
| 19148 | fi | 11273 | fi |
| 19149 | 11274 | ||
| 19150 | if test $ac_have_func = no; then | 11275 | if test $ac_have_func = no; then |
| 19151 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 11276 | ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" |
| 19152 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 11277 | if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : |
| 19153 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19154 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19155 | $as_echo_n "(cached) " >&6 | ||
| 19156 | fi | ||
| 19157 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19158 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19159 | else | ||
| 19160 | # Is the header compilable? | ||
| 19161 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | ||
| 19162 | $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } | ||
| 19163 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19164 | /* confdefs.h. */ | ||
| 19165 | _ACEOF | ||
| 19166 | cat confdefs.h >>conftest.$ac_ext | ||
| 19167 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19168 | /* end confdefs.h. */ | ||
| 19169 | $ac_includes_default | ||
| 19170 | #include <inq_stats/cpustats.h> | ||
| 19171 | _ACEOF | ||
| 19172 | rm -f conftest.$ac_objext | ||
| 19173 | if { (ac_try="$ac_compile" | ||
| 19174 | case "(($ac_try" in | ||
| 19175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19176 | *) ac_try_echo=$ac_try;; | ||
| 19177 | esac | ||
| 19178 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19179 | $as_echo "$ac_try_echo") >&5 | ||
| 19180 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19181 | ac_status=$? | ||
| 19182 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19183 | rm -f conftest.er1 | ||
| 19184 | cat conftest.err >&5 | ||
| 19185 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19186 | (exit $ac_status); } && { | ||
| 19187 | test -z "$ac_c_werror_flag" || | ||
| 19188 | test ! -s conftest.err | ||
| 19189 | } && test -s conftest.$ac_objext; then | ||
| 19190 | ac_header_compiler=yes | ||
| 19191 | else | ||
| 19192 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19193 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19194 | |||
| 19195 | ac_header_compiler=no | ||
| 19196 | fi | ||
| 19197 | |||
| 19198 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19199 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19200 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19201 | |||
| 19202 | # Is the header present? | ||
| 19203 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | ||
| 19204 | $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } | ||
| 19205 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19206 | /* confdefs.h. */ | ||
| 19207 | _ACEOF | ||
| 19208 | cat confdefs.h >>conftest.$ac_ext | ||
| 19209 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19210 | /* end confdefs.h. */ | ||
| 19211 | #include <inq_stats/cpustats.h> | ||
| 19212 | _ACEOF | ||
| 19213 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19214 | case "(($ac_try" in | ||
| 19215 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19216 | *) ac_try_echo=$ac_try;; | ||
| 19217 | esac | ||
| 19218 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19219 | $as_echo "$ac_try_echo") >&5 | ||
| 19220 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19221 | ac_status=$? | ||
| 19222 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19223 | rm -f conftest.er1 | ||
| 19224 | cat conftest.err >&5 | ||
| 19225 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19226 | (exit $ac_status); } >/dev/null && { | ||
| 19227 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19228 | test ! -s conftest.err | ||
| 19229 | }; then | ||
| 19230 | ac_header_preproc=yes | ||
| 19231 | else | ||
| 19232 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19233 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19234 | |||
| 19235 | ac_header_preproc=no | ||
| 19236 | fi | ||
| 19237 | |||
| 19238 | rm -f conftest.err conftest.$ac_ext | ||
| 19239 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19240 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19241 | |||
| 19242 | # So? What about this header? | ||
| 19243 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19244 | yes:no: ) | ||
| 19245 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19246 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19247 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19248 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19249 | ac_header_preproc=yes | ||
| 19250 | ;; | ||
| 19251 | no:yes:* ) | ||
| 19252 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | ||
| 19253 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19254 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19255 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19256 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19257 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19258 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19259 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19260 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19261 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19262 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19263 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19264 | |||
| 19265 | ;; | ||
| 19266 | esac | ||
| 19267 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | ||
| 19268 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19269 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19270 | $as_echo_n "(cached) " >&6 | ||
| 19271 | else | ||
| 19272 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | ||
| 19273 | fi | ||
| 19274 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19275 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19276 | |||
| 19277 | fi | ||
| 19278 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then | ||
| 19279 | ac_have_func=yes | 11278 | ac_have_func=yes |
| 19280 | 11279 | ||
| 19281 | cat >>confdefs.h <<\_ACEOF | 11280 | $as_echo "#define UMAX 1" >>confdefs.h |
| 19282 | #define UMAX 1 | ||
| 19283 | _ACEOF | ||
| 19284 | 11281 | ||
| 19285 | 11282 | ||
| 19286 | cat >>confdefs.h <<\_ACEOF | 11283 | $as_echo "#define UMAX4_3 1" >>confdefs.h |
| 19287 | #define UMAX4_3 1 | ||
| 19288 | _ACEOF | ||
| 19289 | 11284 | ||
| 19290 | fi | 11285 | fi |
| 19291 | 11286 | ||
| @@ -19293,137 +11288,9 @@ fi | |||
| 19293 | fi | 11288 | fi |
| 19294 | 11289 | ||
| 19295 | if test $ac_have_func = no; then | 11290 | if test $ac_have_func = no; then |
| 19296 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 11291 | ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" |
| 19297 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 11292 | if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : |
| 19298 | $as_echo_n "checking for sys/cpustats.h... " >&6; } | 11293 | ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h |
| 19299 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19300 | $as_echo_n "(cached) " >&6 | ||
| 19301 | fi | ||
| 19302 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19303 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19304 | else | ||
| 19305 | # Is the header compilable? | ||
| 19306 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | ||
| 19307 | $as_echo_n "checking sys/cpustats.h usability... " >&6; } | ||
| 19308 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19309 | /* confdefs.h. */ | ||
| 19310 | _ACEOF | ||
| 19311 | cat confdefs.h >>conftest.$ac_ext | ||
| 19312 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19313 | /* end confdefs.h. */ | ||
| 19314 | $ac_includes_default | ||
| 19315 | #include <sys/cpustats.h> | ||
| 19316 | _ACEOF | ||
| 19317 | rm -f conftest.$ac_objext | ||
| 19318 | if { (ac_try="$ac_compile" | ||
| 19319 | case "(($ac_try" in | ||
| 19320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19321 | *) ac_try_echo=$ac_try;; | ||
| 19322 | esac | ||
| 19323 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19324 | $as_echo "$ac_try_echo") >&5 | ||
| 19325 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19326 | ac_status=$? | ||
| 19327 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19328 | rm -f conftest.er1 | ||
| 19329 | cat conftest.err >&5 | ||
| 19330 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19331 | (exit $ac_status); } && { | ||
| 19332 | test -z "$ac_c_werror_flag" || | ||
| 19333 | test ! -s conftest.err | ||
| 19334 | } && test -s conftest.$ac_objext; then | ||
| 19335 | ac_header_compiler=yes | ||
| 19336 | else | ||
| 19337 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19338 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19339 | |||
| 19340 | ac_header_compiler=no | ||
| 19341 | fi | ||
| 19342 | |||
| 19343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19344 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19345 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19346 | |||
| 19347 | # Is the header present? | ||
| 19348 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | ||
| 19349 | $as_echo_n "checking sys/cpustats.h presence... " >&6; } | ||
| 19350 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19351 | /* confdefs.h. */ | ||
| 19352 | _ACEOF | ||
| 19353 | cat confdefs.h >>conftest.$ac_ext | ||
| 19354 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19355 | /* end confdefs.h. */ | ||
| 19356 | #include <sys/cpustats.h> | ||
| 19357 | _ACEOF | ||
| 19358 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19359 | case "(($ac_try" in | ||
| 19360 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19361 | *) ac_try_echo=$ac_try;; | ||
| 19362 | esac | ||
| 19363 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19364 | $as_echo "$ac_try_echo") >&5 | ||
| 19365 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19366 | ac_status=$? | ||
| 19367 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19368 | rm -f conftest.er1 | ||
| 19369 | cat conftest.err >&5 | ||
| 19370 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19371 | (exit $ac_status); } >/dev/null && { | ||
| 19372 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19373 | test ! -s conftest.err | ||
| 19374 | }; then | ||
| 19375 | ac_header_preproc=yes | ||
| 19376 | else | ||
| 19377 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19378 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19379 | |||
| 19380 | ac_header_preproc=no | ||
| 19381 | fi | ||
| 19382 | |||
| 19383 | rm -f conftest.err conftest.$ac_ext | ||
| 19384 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19385 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19386 | |||
| 19387 | # So? What about this header? | ||
| 19388 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19389 | yes:no: ) | ||
| 19390 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19391 | $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19392 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19393 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19394 | ac_header_preproc=yes | ||
| 19395 | ;; | ||
| 19396 | no:yes:* ) | ||
| 19397 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | ||
| 19398 | $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19399 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19400 | $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19401 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19402 | $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19403 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19404 | $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19405 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19406 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19407 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19408 | $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19409 | |||
| 19410 | ;; | ||
| 19411 | esac | ||
| 19412 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | ||
| 19413 | $as_echo_n "checking for sys/cpustats.h... " >&6; } | ||
| 19414 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19415 | $as_echo_n "(cached) " >&6 | ||
| 19416 | else | ||
| 19417 | ac_cv_header_sys_cpustats_h=$ac_header_preproc | ||
| 19418 | fi | ||
| 19419 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19420 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19421 | |||
| 19422 | fi | ||
| 19423 | if test $ac_cv_header_sys_cpustats_h = yes; then | ||
| 19424 | ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | ||
| 19425 | #define UMAX 1 | ||
| 19426 | _ACEOF | ||
| 19427 | 11294 | ||
| 19428 | fi | 11295 | fi |
| 19429 | 11296 | ||
| @@ -19431,145 +11298,12 @@ fi | |||
| 19431 | fi | 11298 | fi |
| 19432 | 11299 | ||
| 19433 | if test $ac_have_func = no; then | 11300 | if test $ac_have_func = no; then |
| 19434 | 11301 | for ac_header in mach/mach.h | |
| 19435 | for ac_header in mach/mach.h | 11302 | do : |
| 19436 | do | 11303 | ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" |
| 19437 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11304 | if test "x$ac_cv_header_mach_mach_h" = x""yes; then : |
| 19438 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19439 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19440 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19441 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19442 | $as_echo_n "(cached) " >&6 | ||
| 19443 | fi | ||
| 19444 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19445 | $as_echo "$as_val"'` | ||
| 19446 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19447 | $as_echo "$ac_res" >&6; } | ||
| 19448 | else | ||
| 19449 | # Is the header compilable? | ||
| 19450 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19451 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19452 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19453 | /* confdefs.h. */ | ||
| 19454 | _ACEOF | ||
| 19455 | cat confdefs.h >>conftest.$ac_ext | ||
| 19456 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19457 | /* end confdefs.h. */ | ||
| 19458 | $ac_includes_default | ||
| 19459 | #include <$ac_header> | ||
| 19460 | _ACEOF | ||
| 19461 | rm -f conftest.$ac_objext | ||
| 19462 | if { (ac_try="$ac_compile" | ||
| 19463 | case "(($ac_try" in | ||
| 19464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19465 | *) ac_try_echo=$ac_try;; | ||
| 19466 | esac | ||
| 19467 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19468 | $as_echo "$ac_try_echo") >&5 | ||
| 19469 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19470 | ac_status=$? | ||
| 19471 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19472 | rm -f conftest.er1 | ||
| 19473 | cat conftest.err >&5 | ||
| 19474 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19475 | (exit $ac_status); } && { | ||
| 19476 | test -z "$ac_c_werror_flag" || | ||
| 19477 | test ! -s conftest.err | ||
| 19478 | } && test -s conftest.$ac_objext; then | ||
| 19479 | ac_header_compiler=yes | ||
| 19480 | else | ||
| 19481 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19482 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19483 | |||
| 19484 | ac_header_compiler=no | ||
| 19485 | fi | ||
| 19486 | |||
| 19487 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19488 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19489 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19490 | |||
| 19491 | # Is the header present? | ||
| 19492 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19493 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19494 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19495 | /* confdefs.h. */ | ||
| 19496 | _ACEOF | ||
| 19497 | cat confdefs.h >>conftest.$ac_ext | ||
| 19498 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19499 | /* end confdefs.h. */ | ||
| 19500 | #include <$ac_header> | ||
| 19501 | _ACEOF | ||
| 19502 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19503 | case "(($ac_try" in | ||
| 19504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19505 | *) ac_try_echo=$ac_try;; | ||
| 19506 | esac | ||
| 19507 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19508 | $as_echo "$ac_try_echo") >&5 | ||
| 19509 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19510 | ac_status=$? | ||
| 19511 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19512 | rm -f conftest.er1 | ||
| 19513 | cat conftest.err >&5 | ||
| 19514 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19515 | (exit $ac_status); } >/dev/null && { | ||
| 19516 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19517 | test ! -s conftest.err | ||
| 19518 | }; then | ||
| 19519 | ac_header_preproc=yes | ||
| 19520 | else | ||
| 19521 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19522 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19523 | |||
| 19524 | ac_header_preproc=no | ||
| 19525 | fi | ||
| 19526 | |||
| 19527 | rm -f conftest.err conftest.$ac_ext | ||
| 19528 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19529 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19530 | |||
| 19531 | # So? What about this header? | ||
| 19532 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19533 | yes:no: ) | ||
| 19534 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19535 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19536 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19537 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19538 | ac_header_preproc=yes | ||
| 19539 | ;; | ||
| 19540 | no:yes:* ) | ||
| 19541 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19542 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19543 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19544 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19545 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19546 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19547 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19548 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19549 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19550 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19551 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19552 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19553 | |||
| 19554 | ;; | ||
| 19555 | esac | ||
| 19556 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19557 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19558 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19559 | $as_echo_n "(cached) " >&6 | ||
| 19560 | else | ||
| 19561 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19562 | fi | ||
| 19563 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19564 | $as_echo "$as_val"'` | ||
| 19565 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19566 | $as_echo "$ac_res" >&6; } | ||
| 19567 | |||
| 19568 | fi | ||
| 19569 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19570 | $as_echo "$as_val"'` = yes; then | ||
| 19571 | cat >>confdefs.h <<_ACEOF | 11305 | cat >>confdefs.h <<_ACEOF |
| 19572 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11306 | #define HAVE_MACH_MACH_H 1 |
| 19573 | _ACEOF | 11307 | _ACEOF |
| 19574 | 11308 | ||
| 19575 | fi | 11309 | fi |
| @@ -19578,253 +11312,23 @@ done | |||
| 19578 | 11312 | ||
| 19579 | fi | 11313 | fi |
| 19580 | 11314 | ||
| 19581 | |||
| 19582 | for ac_header in nlist.h | 11315 | for ac_header in nlist.h |
| 19583 | do | 11316 | do : |
| 19584 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11317 | ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" |
| 19585 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11318 | if test "x$ac_cv_header_nlist_h" = x""yes; then : |
| 19586 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19587 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19588 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19589 | $as_echo_n "(cached) " >&6 | ||
| 19590 | fi | ||
| 19591 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19592 | $as_echo "$as_val"'` | ||
| 19593 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19594 | $as_echo "$ac_res" >&6; } | ||
| 19595 | else | ||
| 19596 | # Is the header compilable? | ||
| 19597 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19598 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19599 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19600 | /* confdefs.h. */ | ||
| 19601 | _ACEOF | ||
| 19602 | cat confdefs.h >>conftest.$ac_ext | ||
| 19603 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19604 | /* end confdefs.h. */ | ||
| 19605 | $ac_includes_default | ||
| 19606 | #include <$ac_header> | ||
| 19607 | _ACEOF | ||
| 19608 | rm -f conftest.$ac_objext | ||
| 19609 | if { (ac_try="$ac_compile" | ||
| 19610 | case "(($ac_try" in | ||
| 19611 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19612 | *) ac_try_echo=$ac_try;; | ||
| 19613 | esac | ||
| 19614 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19615 | $as_echo "$ac_try_echo") >&5 | ||
| 19616 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19617 | ac_status=$? | ||
| 19618 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19619 | rm -f conftest.er1 | ||
| 19620 | cat conftest.err >&5 | ||
| 19621 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19622 | (exit $ac_status); } && { | ||
| 19623 | test -z "$ac_c_werror_flag" || | ||
| 19624 | test ! -s conftest.err | ||
| 19625 | } && test -s conftest.$ac_objext; then | ||
| 19626 | ac_header_compiler=yes | ||
| 19627 | else | ||
| 19628 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19629 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19630 | |||
| 19631 | ac_header_compiler=no | ||
| 19632 | fi | ||
| 19633 | |||
| 19634 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19635 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19636 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19637 | |||
| 19638 | # Is the header present? | ||
| 19639 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19640 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19641 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19642 | /* confdefs.h. */ | ||
| 19643 | _ACEOF | ||
| 19644 | cat confdefs.h >>conftest.$ac_ext | ||
| 19645 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19646 | /* end confdefs.h. */ | ||
| 19647 | #include <$ac_header> | ||
| 19648 | _ACEOF | ||
| 19649 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19650 | case "(($ac_try" in | ||
| 19651 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19652 | *) ac_try_echo=$ac_try;; | ||
| 19653 | esac | ||
| 19654 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19655 | $as_echo "$ac_try_echo") >&5 | ||
| 19656 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19657 | ac_status=$? | ||
| 19658 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19659 | rm -f conftest.er1 | ||
| 19660 | cat conftest.err >&5 | ||
| 19661 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19662 | (exit $ac_status); } >/dev/null && { | ||
| 19663 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19664 | test ! -s conftest.err | ||
| 19665 | }; then | ||
| 19666 | ac_header_preproc=yes | ||
| 19667 | else | ||
| 19668 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19669 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19670 | |||
| 19671 | ac_header_preproc=no | ||
| 19672 | fi | ||
| 19673 | |||
| 19674 | rm -f conftest.err conftest.$ac_ext | ||
| 19675 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19676 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19677 | |||
| 19678 | # So? What about this header? | ||
| 19679 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19680 | yes:no: ) | ||
| 19681 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19682 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19683 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19684 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19685 | ac_header_preproc=yes | ||
| 19686 | ;; | ||
| 19687 | no:yes:* ) | ||
| 19688 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19689 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19690 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19691 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19692 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19693 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19694 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19695 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19696 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19697 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19698 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19699 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19700 | |||
| 19701 | ;; | ||
| 19702 | esac | ||
| 19703 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19704 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19705 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19706 | $as_echo_n "(cached) " >&6 | ||
| 19707 | else | ||
| 19708 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19709 | fi | ||
| 19710 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19711 | $as_echo "$as_val"'` | ||
| 19712 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19713 | $as_echo "$ac_res" >&6; } | ||
| 19714 | |||
| 19715 | fi | ||
| 19716 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19717 | $as_echo "$as_val"'` = yes; then | ||
| 19718 | cat >>confdefs.h <<_ACEOF | 11319 | cat >>confdefs.h <<_ACEOF |
| 19719 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11320 | #define HAVE_NLIST_H 1 |
| 19720 | _ACEOF | 11321 | _ACEOF |
| 19721 | { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | 11322 | ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> |
| 19722 | $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } | 11323 | " |
| 19723 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 11324 | if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : |
| 19724 | $as_echo_n "(cached) " >&6 | ||
| 19725 | else | ||
| 19726 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19727 | /* confdefs.h. */ | ||
| 19728 | _ACEOF | ||
| 19729 | cat confdefs.h >>conftest.$ac_ext | ||
| 19730 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19731 | /* end confdefs.h. */ | ||
| 19732 | #include <nlist.h> | ||
| 19733 | |||
| 19734 | int | ||
| 19735 | main () | ||
| 19736 | { | ||
| 19737 | static struct nlist ac_aggr; | ||
| 19738 | if (ac_aggr.n_un.n_name) | ||
| 19739 | return 0; | ||
| 19740 | ; | ||
| 19741 | return 0; | ||
| 19742 | } | ||
| 19743 | _ACEOF | ||
| 19744 | rm -f conftest.$ac_objext | ||
| 19745 | if { (ac_try="$ac_compile" | ||
| 19746 | case "(($ac_try" in | ||
| 19747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19748 | *) ac_try_echo=$ac_try;; | ||
| 19749 | esac | ||
| 19750 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19751 | $as_echo "$ac_try_echo") >&5 | ||
| 19752 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19753 | ac_status=$? | ||
| 19754 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19755 | rm -f conftest.er1 | ||
| 19756 | cat conftest.err >&5 | ||
| 19757 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19758 | (exit $ac_status); } && { | ||
| 19759 | test -z "$ac_c_werror_flag" || | ||
| 19760 | test ! -s conftest.err | ||
| 19761 | } && test -s conftest.$ac_objext; then | ||
| 19762 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 19763 | else | ||
| 19764 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19765 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19766 | |||
| 19767 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19768 | /* confdefs.h. */ | ||
| 19769 | _ACEOF | ||
| 19770 | cat confdefs.h >>conftest.$ac_ext | ||
| 19771 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19772 | /* end confdefs.h. */ | ||
| 19773 | #include <nlist.h> | ||
| 19774 | |||
| 19775 | int | ||
| 19776 | main () | ||
| 19777 | { | ||
| 19778 | static struct nlist ac_aggr; | ||
| 19779 | if (sizeof ac_aggr.n_un.n_name) | ||
| 19780 | return 0; | ||
| 19781 | ; | ||
| 19782 | return 0; | ||
| 19783 | } | ||
| 19784 | _ACEOF | ||
| 19785 | rm -f conftest.$ac_objext | ||
| 19786 | if { (ac_try="$ac_compile" | ||
| 19787 | case "(($ac_try" in | ||
| 19788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19789 | *) ac_try_echo=$ac_try;; | ||
| 19790 | esac | ||
| 19791 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19792 | $as_echo "$ac_try_echo") >&5 | ||
| 19793 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19794 | ac_status=$? | ||
| 19795 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19796 | rm -f conftest.er1 | ||
| 19797 | cat conftest.err >&5 | ||
| 19798 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19799 | (exit $ac_status); } && { | ||
| 19800 | test -z "$ac_c_werror_flag" || | ||
| 19801 | test ! -s conftest.err | ||
| 19802 | } && test -s conftest.$ac_objext; then | ||
| 19803 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 19804 | else | ||
| 19805 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19806 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19807 | |||
| 19808 | ac_cv_member_struct_nlist_n_un_n_name=no | ||
| 19809 | fi | ||
| 19810 | |||
| 19811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19812 | fi | ||
| 19813 | |||
| 19814 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19815 | fi | ||
| 19816 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | ||
| 19817 | $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | ||
| 19818 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | ||
| 19819 | 11325 | ||
| 19820 | cat >>confdefs.h <<_ACEOF | 11326 | cat >>confdefs.h <<_ACEOF |
| 19821 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 11327 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
| 19822 | _ACEOF | 11328 | _ACEOF |
| 19823 | 11329 | ||
| 19824 | 11330 | ||
| 19825 | cat >>confdefs.h <<\_ACEOF | 11331 | $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h |
| 19826 | #define NLIST_NAME_UNION 1 | ||
| 19827 | _ACEOF | ||
| 19828 | 11332 | ||
| 19829 | fi | 11333 | fi |
| 19830 | 11334 | ||
| @@ -19838,16 +11342,12 @@ done | |||
| 19838 | 11342 | ||
| 19839 | 11343 | ||
| 19840 | # Some definitions of getloadavg require that the program be installed setgid. | 11344 | # Some definitions of getloadavg require that the program be installed setgid. |
| 19841 | { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | 11345 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 |
| 19842 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 11346 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
| 19843 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 11347 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : |
| 19844 | $as_echo_n "(cached) " >&6 | 11348 | $as_echo_n "(cached) " >&6 |
| 19845 | else | 11349 | else |
| 19846 | cat >conftest.$ac_ext <<_ACEOF | 11350 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19847 | /* confdefs.h. */ | ||
| 19848 | _ACEOF | ||
| 19849 | cat confdefs.h >>conftest.$ac_ext | ||
| 19850 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19851 | /* end confdefs.h. */ | 11351 | /* end confdefs.h. */ |
| 19852 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 11352 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
| 19853 | #ifdef LDAV_PRIVILEGED | 11353 | #ifdef LDAV_PRIVILEGED |
| @@ -19855,7 +11355,7 @@ Yowza Am I SETGID yet | |||
| 19855 | #endif | 11355 | #endif |
| 19856 | _ACEOF | 11356 | _ACEOF |
| 19857 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11357 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 19858 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then | 11358 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : |
| 19859 | ac_cv_func_getloadavg_setgid=yes | 11359 | ac_cv_func_getloadavg_setgid=yes |
| 19860 | else | 11360 | else |
| 19861 | ac_cv_func_getloadavg_setgid=no | 11361 | ac_cv_func_getloadavg_setgid=no |
| @@ -19863,23 +11363,21 @@ fi | |||
| 19863 | rm -f conftest* | 11363 | rm -f conftest* |
| 19864 | 11364 | ||
| 19865 | fi | 11365 | fi |
| 19866 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | 11366 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 |
| 19867 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 11367 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
| 19868 | if test $ac_cv_func_getloadavg_setgid = yes; then | 11368 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 19869 | NEED_SETGID=true | 11369 | NEED_SETGID=true |
| 19870 | 11370 | ||
| 19871 | cat >>confdefs.h <<\_ACEOF | 11371 | $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h |
| 19872 | #define GETLOADAVG_PRIVILEGED 1 | ||
| 19873 | _ACEOF | ||
| 19874 | 11372 | ||
| 19875 | else | 11373 | else |
| 19876 | NEED_SETGID=false | 11374 | NEED_SETGID=false |
| 19877 | fi | 11375 | fi |
| 19878 | 11376 | ||
| 19879 | if test $ac_cv_func_getloadavg_setgid = yes; then | 11377 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 19880 | { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | 11378 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 |
| 19881 | $as_echo_n "checking group of /dev/kmem... " >&6; } | 11379 | $as_echo_n "checking group of /dev/kmem... " >&6; } |
| 19882 | if test "${ac_cv_group_kmem+set}" = set; then | 11380 | if test "${ac_cv_group_kmem+set}" = set; then : |
| 19883 | $as_echo_n "(cached) " >&6 | 11381 | $as_echo_n "(cached) " >&6 |
| 19884 | else | 11382 | else |
| 19885 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 11383 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
| @@ -19892,7 +11390,7 @@ else | |||
| 19892 | / /s/.* //;p;'` | 11390 | / /s/.* //;p;'` |
| 19893 | 11391 | ||
| 19894 | fi | 11392 | fi |
| 19895 | { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | 11393 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 |
| 19896 | $as_echo "$ac_cv_group_kmem" >&6; } | 11394 | $as_echo "$ac_cv_group_kmem" >&6; } |
| 19897 | KMEM_GROUP=$ac_cv_group_kmem | 11395 | KMEM_GROUP=$ac_cv_group_kmem |
| 19898 | fi | 11396 | fi |
| @@ -19905,17 +11403,13 @@ LIBS=$ac_save_LIBS | |||
| 19905 | 11403 | ||
| 19906 | 11404 | ||
| 19907 | 11405 | ||
| 19908 | { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 11406 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
| 19909 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 11407 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
| 19910 | if test "${ac_cv_sys_largefile_source+set}" = set; then | 11408 | if test "${ac_cv_sys_largefile_source+set}" = set; then : |
| 19911 | $as_echo_n "(cached) " >&6 | 11409 | $as_echo_n "(cached) " >&6 |
| 19912 | else | 11410 | else |
| 19913 | while :; do | 11411 | while :; do |
| 19914 | cat >conftest.$ac_ext <<_ACEOF | 11412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19915 | /* confdefs.h. */ | ||
| 19916 | _ACEOF | ||
| 19917 | cat confdefs.h >>conftest.$ac_ext | ||
| 19918 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19919 | /* end confdefs.h. */ | 11413 | /* end confdefs.h. */ |
| 19920 | #include <sys/types.h> /* for off_t */ | 11414 | #include <sys/types.h> /* for off_t */ |
| 19921 | #include <stdio.h> | 11415 | #include <stdio.h> |
| @@ -19928,43 +11422,12 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 19928 | return 0; | 11422 | return 0; |
| 19929 | } | 11423 | } |
| 19930 | _ACEOF | 11424 | _ACEOF |
| 19931 | rm -f conftest.$ac_objext conftest$ac_exeext | 11425 | if ac_fn_c_try_link "$LINENO"; then : |
| 19932 | if { (ac_try="$ac_link" | ||
| 19933 | case "(($ac_try" in | ||
| 19934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19935 | *) ac_try_echo=$ac_try;; | ||
| 19936 | esac | ||
| 19937 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19938 | $as_echo "$ac_try_echo") >&5 | ||
| 19939 | (eval "$ac_link") 2>conftest.er1 | ||
| 19940 | ac_status=$? | ||
| 19941 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19942 | rm -f conftest.er1 | ||
| 19943 | cat conftest.err >&5 | ||
| 19944 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19945 | (exit $ac_status); } && { | ||
| 19946 | test -z "$ac_c_werror_flag" || | ||
| 19947 | test ! -s conftest.err | ||
| 19948 | } && test -s conftest$ac_exeext && { | ||
| 19949 | test "$cross_compiling" = yes || | ||
| 19950 | $as_test_x conftest$ac_exeext | ||
| 19951 | }; then | ||
| 19952 | ac_cv_sys_largefile_source=no; break | 11426 | ac_cv_sys_largefile_source=no; break |
| 19953 | else | ||
| 19954 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19955 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19956 | |||
| 19957 | |||
| 19958 | fi | 11427 | fi |
| 19959 | 11428 | rm -f core conftest.err conftest.$ac_objext \ | |
| 19960 | rm -rf conftest.dSYM | 11429 | conftest$ac_exeext conftest.$ac_ext |
| 19961 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19962 | conftest$ac_exeext conftest.$ac_ext | ||
| 19963 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19964 | /* confdefs.h. */ | ||
| 19965 | _ACEOF | ||
| 19966 | cat confdefs.h >>conftest.$ac_ext | ||
| 19967 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19968 | /* end confdefs.h. */ | 11431 | /* end confdefs.h. */ |
| 19969 | #define _LARGEFILE_SOURCE 1 | 11432 | #define _LARGEFILE_SOURCE 1 |
| 19970 | #include <sys/types.h> /* for off_t */ | 11433 | #include <sys/types.h> /* for off_t */ |
| @@ -19978,43 +11441,16 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 19978 | return 0; | 11441 | return 0; |
| 19979 | } | 11442 | } |
| 19980 | _ACEOF | 11443 | _ACEOF |
| 19981 | rm -f conftest.$ac_objext conftest$ac_exeext | 11444 | if ac_fn_c_try_link "$LINENO"; then : |
| 19982 | if { (ac_try="$ac_link" | ||
| 19983 | case "(($ac_try" in | ||
| 19984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19985 | *) ac_try_echo=$ac_try;; | ||
| 19986 | esac | ||
| 19987 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19988 | $as_echo "$ac_try_echo") >&5 | ||
| 19989 | (eval "$ac_link") 2>conftest.er1 | ||
| 19990 | ac_status=$? | ||
| 19991 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19992 | rm -f conftest.er1 | ||
| 19993 | cat conftest.err >&5 | ||
| 19994 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19995 | (exit $ac_status); } && { | ||
| 19996 | test -z "$ac_c_werror_flag" || | ||
| 19997 | test ! -s conftest.err | ||
| 19998 | } && test -s conftest$ac_exeext && { | ||
| 19999 | test "$cross_compiling" = yes || | ||
| 20000 | $as_test_x conftest$ac_exeext | ||
| 20001 | }; then | ||
| 20002 | ac_cv_sys_largefile_source=1; break | 11445 | ac_cv_sys_largefile_source=1; break |
| 20003 | else | ||
| 20004 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20005 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20006 | |||
| 20007 | |||
| 20008 | fi | 11446 | fi |
| 20009 | 11447 | rm -f core conftest.err conftest.$ac_objext \ | |
| 20010 | rm -rf conftest.dSYM | 11448 | conftest$ac_exeext conftest.$ac_ext |
| 20011 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20012 | conftest$ac_exeext conftest.$ac_ext | ||
| 20013 | ac_cv_sys_largefile_source=unknown | 11449 | ac_cv_sys_largefile_source=unknown |
| 20014 | break | 11450 | break |
| 20015 | done | 11451 | done |
| 20016 | fi | 11452 | fi |
| 20017 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 | 11453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 |
| 20018 | $as_echo "$ac_cv_sys_largefile_source" >&6; } | 11454 | $as_echo "$ac_cv_sys_largefile_source" >&6; } |
| 20019 | case $ac_cv_sys_largefile_source in #( | 11455 | case $ac_cv_sys_largefile_source in #( |
| 20020 | no | unknown) ;; | 11456 | no | unknown) ;; |
| @@ -20031,9 +11467,7 @@ rm -rf conftest* | |||
| 20031 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 11467 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
| 20032 | if test $ac_cv_sys_largefile_source != unknown; then | 11468 | if test $ac_cv_sys_largefile_source != unknown; then |
| 20033 | 11469 | ||
| 20034 | cat >>confdefs.h <<\_ACEOF | 11470 | $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h |
| 20035 | #define HAVE_FSEEKO 1 | ||
| 20036 | _ACEOF | ||
| 20037 | 11471 | ||
| 20038 | fi | 11472 | fi |
| 20039 | 11473 | ||
| @@ -20061,145 +11495,12 @@ fi | |||
| 20061 | 11495 | ||
| 20062 | 11496 | ||
| 20063 | GETOPT_H= | 11497 | GETOPT_H= |
| 20064 | 11498 | for ac_header in getopt.h | |
| 20065 | for ac_header in getopt.h | 11499 | do : |
| 20066 | do | 11500 | ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
| 20067 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11501 | if test "x$ac_cv_header_getopt_h" = x""yes; then : |
| 20068 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20069 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20070 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20071 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20072 | $as_echo_n "(cached) " >&6 | ||
| 20073 | fi | ||
| 20074 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20075 | $as_echo "$as_val"'` | ||
| 20076 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20077 | $as_echo "$ac_res" >&6; } | ||
| 20078 | else | ||
| 20079 | # Is the header compilable? | ||
| 20080 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 20081 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 20082 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20083 | /* confdefs.h. */ | ||
| 20084 | _ACEOF | ||
| 20085 | cat confdefs.h >>conftest.$ac_ext | ||
| 20086 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20087 | /* end confdefs.h. */ | ||
| 20088 | $ac_includes_default | ||
| 20089 | #include <$ac_header> | ||
| 20090 | _ACEOF | ||
| 20091 | rm -f conftest.$ac_objext | ||
| 20092 | if { (ac_try="$ac_compile" | ||
| 20093 | case "(($ac_try" in | ||
| 20094 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20095 | *) ac_try_echo=$ac_try;; | ||
| 20096 | esac | ||
| 20097 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20098 | $as_echo "$ac_try_echo") >&5 | ||
| 20099 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20100 | ac_status=$? | ||
| 20101 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20102 | rm -f conftest.er1 | ||
| 20103 | cat conftest.err >&5 | ||
| 20104 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20105 | (exit $ac_status); } && { | ||
| 20106 | test -z "$ac_c_werror_flag" || | ||
| 20107 | test ! -s conftest.err | ||
| 20108 | } && test -s conftest.$ac_objext; then | ||
| 20109 | ac_header_compiler=yes | ||
| 20110 | else | ||
| 20111 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20112 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20113 | |||
| 20114 | ac_header_compiler=no | ||
| 20115 | fi | ||
| 20116 | |||
| 20117 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20118 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 20119 | $as_echo "$ac_header_compiler" >&6; } | ||
| 20120 | |||
| 20121 | # Is the header present? | ||
| 20122 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 20123 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 20124 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20125 | /* confdefs.h. */ | ||
| 20126 | _ACEOF | ||
| 20127 | cat confdefs.h >>conftest.$ac_ext | ||
| 20128 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20129 | /* end confdefs.h. */ | ||
| 20130 | #include <$ac_header> | ||
| 20131 | _ACEOF | ||
| 20132 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 20133 | case "(($ac_try" in | ||
| 20134 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20135 | *) ac_try_echo=$ac_try;; | ||
| 20136 | esac | ||
| 20137 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20138 | $as_echo "$ac_try_echo") >&5 | ||
| 20139 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20140 | ac_status=$? | ||
| 20141 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20142 | rm -f conftest.er1 | ||
| 20143 | cat conftest.err >&5 | ||
| 20144 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20145 | (exit $ac_status); } >/dev/null && { | ||
| 20146 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 20147 | test ! -s conftest.err | ||
| 20148 | }; then | ||
| 20149 | ac_header_preproc=yes | ||
| 20150 | else | ||
| 20151 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20152 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20153 | |||
| 20154 | ac_header_preproc=no | ||
| 20155 | fi | ||
| 20156 | |||
| 20157 | rm -f conftest.err conftest.$ac_ext | ||
| 20158 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 20159 | $as_echo "$ac_header_preproc" >&6; } | ||
| 20160 | |||
| 20161 | # So? What about this header? | ||
| 20162 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 20163 | yes:no: ) | ||
| 20164 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 20165 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 20166 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 20167 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 20168 | ac_header_preproc=yes | ||
| 20169 | ;; | ||
| 20170 | no:yes:* ) | ||
| 20171 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 20172 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 20173 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 20174 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 20175 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 20176 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 20177 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 20178 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 20179 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 20180 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 20181 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 20182 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 20183 | |||
| 20184 | ;; | ||
| 20185 | esac | ||
| 20186 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20187 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20188 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20189 | $as_echo_n "(cached) " >&6 | ||
| 20190 | else | ||
| 20191 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 20192 | fi | ||
| 20193 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20194 | $as_echo "$as_val"'` | ||
| 20195 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20196 | $as_echo "$ac_res" >&6; } | ||
| 20197 | |||
| 20198 | fi | ||
| 20199 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 20200 | $as_echo "$as_val"'` = yes; then | ||
| 20201 | cat >>confdefs.h <<_ACEOF | 11502 | cat >>confdefs.h <<_ACEOF |
| 20202 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11503 | #define HAVE_GETOPT_H 1 |
| 20203 | _ACEOF | 11504 | _ACEOF |
| 20204 | 11505 | ||
| 20205 | else | 11506 | else |
| @@ -20209,101 +11510,12 @@ fi | |||
| 20209 | done | 11510 | done |
| 20210 | 11511 | ||
| 20211 | if test -z "$GETOPT_H"; then | 11512 | if test -z "$GETOPT_H"; then |
| 20212 | 11513 | for ac_func in getopt_long_only | |
| 20213 | for ac_func in getopt_long_only | 11514 | do : |
| 20214 | do | 11515 | ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" |
| 20215 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11516 | if test "x$ac_cv_func_getopt_long_only" = x""yes; then : |
| 20216 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 20217 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20218 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20219 | $as_echo_n "(cached) " >&6 | ||
| 20220 | else | ||
| 20221 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20222 | /* confdefs.h. */ | ||
| 20223 | _ACEOF | ||
| 20224 | cat confdefs.h >>conftest.$ac_ext | ||
| 20225 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20226 | /* end confdefs.h. */ | ||
| 20227 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20228 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20229 | #define $ac_func innocuous_$ac_func | ||
| 20230 | |||
| 20231 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20232 | which can conflict with char $ac_func (); below. | ||
| 20233 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20234 | <limits.h> exists even on freestanding compilers. */ | ||
| 20235 | |||
| 20236 | #ifdef __STDC__ | ||
| 20237 | # include <limits.h> | ||
| 20238 | #else | ||
| 20239 | # include <assert.h> | ||
| 20240 | #endif | ||
| 20241 | |||
| 20242 | #undef $ac_func | ||
| 20243 | |||
| 20244 | /* Override any GCC internal prototype to avoid an error. | ||
| 20245 | Use char because int might match the return type of a GCC | ||
| 20246 | builtin and then its argument prototype would still apply. */ | ||
| 20247 | #ifdef __cplusplus | ||
| 20248 | extern "C" | ||
| 20249 | #endif | ||
| 20250 | char $ac_func (); | ||
| 20251 | /* The GNU C library defines this for functions which it implements | ||
| 20252 | to always fail with ENOSYS. Some functions are actually named | ||
| 20253 | something starting with __ and the normal name is an alias. */ | ||
| 20254 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20255 | choke me | ||
| 20256 | #endif | ||
| 20257 | |||
| 20258 | int | ||
| 20259 | main () | ||
| 20260 | { | ||
| 20261 | return $ac_func (); | ||
| 20262 | ; | ||
| 20263 | return 0; | ||
| 20264 | } | ||
| 20265 | _ACEOF | ||
| 20266 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20267 | if { (ac_try="$ac_link" | ||
| 20268 | case "(($ac_try" in | ||
| 20269 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20270 | *) ac_try_echo=$ac_try;; | ||
| 20271 | esac | ||
| 20272 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20273 | $as_echo "$ac_try_echo") >&5 | ||
| 20274 | (eval "$ac_link") 2>conftest.er1 | ||
| 20275 | ac_status=$? | ||
| 20276 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20277 | rm -f conftest.er1 | ||
| 20278 | cat conftest.err >&5 | ||
| 20279 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20280 | (exit $ac_status); } && { | ||
| 20281 | test -z "$ac_c_werror_flag" || | ||
| 20282 | test ! -s conftest.err | ||
| 20283 | } && test -s conftest$ac_exeext && { | ||
| 20284 | test "$cross_compiling" = yes || | ||
| 20285 | $as_test_x conftest$ac_exeext | ||
| 20286 | }; then | ||
| 20287 | eval "$as_ac_var=yes" | ||
| 20288 | else | ||
| 20289 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20290 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20291 | |||
| 20292 | eval "$as_ac_var=no" | ||
| 20293 | fi | ||
| 20294 | |||
| 20295 | rm -rf conftest.dSYM | ||
| 20296 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20297 | conftest$ac_exeext conftest.$ac_ext | ||
| 20298 | fi | ||
| 20299 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20300 | $as_echo "$as_val"'` | ||
| 20301 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20302 | $as_echo "$ac_res" >&6; } | ||
| 20303 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20304 | $as_echo "$as_val"'` = yes; then | ||
| 20305 | cat >>confdefs.h <<_ACEOF | 11517 | cat >>confdefs.h <<_ACEOF |
| 20306 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11518 | #define HAVE_GETOPT_LONG_ONLY 1 |
| 20307 | _ACEOF | 11519 | _ACEOF |
| 20308 | 11520 | ||
| 20309 | else | 11521 | else |
| @@ -20314,139 +11526,31 @@ done | |||
| 20314 | fi | 11526 | fi |
| 20315 | 11527 | ||
| 20316 | if test -z "$GETOPT_H"; then | 11528 | if test -z "$GETOPT_H"; then |
| 20317 | { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 | 11529 | ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> |
| 20318 | $as_echo_n "checking whether optreset is declared... " >&6; } | 11530 | " |
| 20319 | if test "${ac_cv_have_decl_optreset+set}" = set; then | 11531 | if test "x$ac_cv_have_decl_optreset" = x""yes; then : |
| 20320 | $as_echo_n "(cached) " >&6 | ||
| 20321 | else | ||
| 20322 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20323 | /* confdefs.h. */ | ||
| 20324 | _ACEOF | ||
| 20325 | cat confdefs.h >>conftest.$ac_ext | ||
| 20326 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20327 | /* end confdefs.h. */ | ||
| 20328 | #include <getopt.h> | ||
| 20329 | |||
| 20330 | int | ||
| 20331 | main () | ||
| 20332 | { | ||
| 20333 | #ifndef optreset | ||
| 20334 | (void) optreset; | ||
| 20335 | #endif | ||
| 20336 | |||
| 20337 | ; | ||
| 20338 | return 0; | ||
| 20339 | } | ||
| 20340 | _ACEOF | ||
| 20341 | rm -f conftest.$ac_objext | ||
| 20342 | if { (ac_try="$ac_compile" | ||
| 20343 | case "(($ac_try" in | ||
| 20344 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20345 | *) ac_try_echo=$ac_try;; | ||
| 20346 | esac | ||
| 20347 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20348 | $as_echo "$ac_try_echo") >&5 | ||
| 20349 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20350 | ac_status=$? | ||
| 20351 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20352 | rm -f conftest.er1 | ||
| 20353 | cat conftest.err >&5 | ||
| 20354 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20355 | (exit $ac_status); } && { | ||
| 20356 | test -z "$ac_c_werror_flag" || | ||
| 20357 | test ! -s conftest.err | ||
| 20358 | } && test -s conftest.$ac_objext; then | ||
| 20359 | ac_cv_have_decl_optreset=yes | ||
| 20360 | else | ||
| 20361 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20362 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20363 | |||
| 20364 | ac_cv_have_decl_optreset=no | ||
| 20365 | fi | ||
| 20366 | |||
| 20367 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20368 | fi | ||
| 20369 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | ||
| 20370 | $as_echo "$ac_cv_have_decl_optreset" >&6; } | ||
| 20371 | if test $ac_cv_have_decl_optreset = yes; then | ||
| 20372 | GETOPT_H=getopt.h | 11532 | GETOPT_H=getopt.h |
| 20373 | fi | 11533 | fi |
| 20374 | 11534 | ||
| 20375 | fi | 11535 | fi |
| 20376 | 11536 | ||
| 20377 | if test -z "$GETOPT_H"; then | 11537 | if test -z "$GETOPT_H"; then |
| 20378 | { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 | 11538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 |
| 20379 | $as_echo_n "checking for working GNU getopt function... " >&6; } | 11539 | $as_echo_n "checking for working GNU getopt function... " >&6; } |
| 20380 | if test "${gl_cv_func_gnu_getopt+set}" = set; then | 11540 | if test "${gl_cv_func_gnu_getopt+set}" = set; then : |
| 20381 | $as_echo_n "(cached) " >&6 | ||
| 20382 | else | ||
| 20383 | if test "$cross_compiling" = yes; then | ||
| 20384 | { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 | ||
| 20385 | $as_echo_n "checking whether getopt_clip is declared... " >&6; } | ||
| 20386 | if test "${ac_cv_have_decl_getopt_clip+set}" = set; then | ||
| 20387 | $as_echo_n "(cached) " >&6 | 11541 | $as_echo_n "(cached) " >&6 |
| 20388 | else | 11542 | else |
| 20389 | cat >conftest.$ac_ext <<_ACEOF | 11543 | if test "$cross_compiling" = yes; then : |
| 20390 | /* confdefs.h. */ | 11544 | ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> |
| 20391 | _ACEOF | 11545 | " |
| 20392 | cat confdefs.h >>conftest.$ac_ext | 11546 | if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : |
| 20393 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20394 | /* end confdefs.h. */ | ||
| 20395 | #include <getopt.h> | ||
| 20396 | |||
| 20397 | int | ||
| 20398 | main () | ||
| 20399 | { | ||
| 20400 | #ifndef getopt_clip | ||
| 20401 | (void) getopt_clip; | ||
| 20402 | #endif | ||
| 20403 | |||
| 20404 | ; | ||
| 20405 | return 0; | ||
| 20406 | } | ||
| 20407 | _ACEOF | ||
| 20408 | rm -f conftest.$ac_objext | ||
| 20409 | if { (ac_try="$ac_compile" | ||
| 20410 | case "(($ac_try" in | ||
| 20411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20412 | *) ac_try_echo=$ac_try;; | ||
| 20413 | esac | ||
| 20414 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20415 | $as_echo "$ac_try_echo") >&5 | ||
| 20416 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20417 | ac_status=$? | ||
| 20418 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20419 | rm -f conftest.er1 | ||
| 20420 | cat conftest.err >&5 | ||
| 20421 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20422 | (exit $ac_status); } && { | ||
| 20423 | test -z "$ac_c_werror_flag" || | ||
| 20424 | test ! -s conftest.err | ||
| 20425 | } && test -s conftest.$ac_objext; then | ||
| 20426 | ac_cv_have_decl_getopt_clip=yes | ||
| 20427 | else | ||
| 20428 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20429 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20430 | |||
| 20431 | ac_cv_have_decl_getopt_clip=no | ||
| 20432 | fi | ||
| 20433 | |||
| 20434 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20435 | fi | ||
| 20436 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | ||
| 20437 | $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } | ||
| 20438 | if test $ac_cv_have_decl_getopt_clip = yes; then | ||
| 20439 | gl_cv_func_gnu_getopt=no | 11547 | gl_cv_func_gnu_getopt=no |
| 20440 | else | 11548 | else |
| 20441 | gl_cv_func_gnu_getopt=yes | 11549 | gl_cv_func_gnu_getopt=yes |
| 20442 | fi | 11550 | fi |
| 20443 | 11551 | ||
| 20444 | else | 11552 | else |
| 20445 | cat >conftest.$ac_ext <<_ACEOF | 11553 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20446 | /* confdefs.h. */ | ||
| 20447 | _ACEOF | ||
| 20448 | cat confdefs.h >>conftest.$ac_ext | ||
| 20449 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20450 | /* end confdefs.h. */ | 11554 | /* end confdefs.h. */ |
| 20451 | #include <getopt.h> | 11555 | #include <getopt.h> |
| 20452 | int | 11556 | int |
| @@ -20463,44 +11567,17 @@ main () | |||
| 20463 | return 0; | 11567 | return 0; |
| 20464 | } | 11568 | } |
| 20465 | _ACEOF | 11569 | _ACEOF |
| 20466 | rm -f conftest$ac_exeext | 11570 | if ac_fn_c_try_run "$LINENO"; then : |
| 20467 | if { (ac_try="$ac_link" | ||
| 20468 | case "(($ac_try" in | ||
| 20469 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20470 | *) ac_try_echo=$ac_try;; | ||
| 20471 | esac | ||
| 20472 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20473 | $as_echo "$ac_try_echo") >&5 | ||
| 20474 | (eval "$ac_link") 2>&5 | ||
| 20475 | ac_status=$? | ||
| 20476 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20477 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 20478 | { (case "(($ac_try" in | ||
| 20479 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20480 | *) ac_try_echo=$ac_try;; | ||
| 20481 | esac | ||
| 20482 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20483 | $as_echo "$ac_try_echo") >&5 | ||
| 20484 | (eval "$ac_try") 2>&5 | ||
| 20485 | ac_status=$? | ||
| 20486 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20487 | (exit $ac_status); }; }; then | ||
| 20488 | gl_cv_func_gnu_getopt=yes | 11571 | gl_cv_func_gnu_getopt=yes |
| 20489 | else | 11572 | else |
| 20490 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 11573 | gl_cv_func_gnu_getopt=no |
| 20491 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20492 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20493 | |||
| 20494 | ( exit $ac_status ) | ||
| 20495 | gl_cv_func_gnu_getopt=no | ||
| 20496 | fi | 11574 | fi |
| 20497 | rm -rf conftest.dSYM | 11575 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 20498 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11576 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20499 | fi | 11577 | fi |
| 20500 | 11578 | ||
| 20501 | |||
| 20502 | fi | 11579 | fi |
| 20503 | { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | 11580 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 |
| 20504 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 11581 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
| 20505 | if test "$gl_cv_func_gnu_getopt" = "no"; then | 11582 | if test "$gl_cv_func_gnu_getopt" = "no"; then |
| 20506 | GETOPT_H=getopt.h | 11583 | GETOPT_H=getopt.h |
| @@ -20509,14 +11586,12 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; } | |||
| 20509 | 11586 | ||
| 20510 | 11587 | ||
| 20511 | 11588 | ||
| 20512 | if test -n "$GETOPT_H"; then | 11589 | if test -n "$GETOPT_H"; then : |
| 20513 | 11590 | ||
| 20514 | 11591 | ||
| 20515 | GETOPT_H=getopt.h | 11592 | GETOPT_H=getopt.h |
| 20516 | 11593 | ||
| 20517 | cat >>confdefs.h <<\_ACEOF | 11594 | $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h |
| 20518 | #define __GETOPT_PREFIX rpl_ | ||
| 20519 | _ACEOF | ||
| 20520 | 11595 | ||
| 20521 | 11596 | ||
| 20522 | 11597 | ||
| @@ -20527,18 +11602,13 @@ fi | |||
| 20527 | 11602 | ||
| 20528 | 11603 | ||
| 20529 | 11604 | ||
| 20530 | 11605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | |
| 20531 | { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | ||
| 20532 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 11606 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
| 20533 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 11607 | if test "${ac_cv_func_getpgrp_void+set}" = set; then : |
| 20534 | $as_echo_n "(cached) " >&6 | 11608 | $as_echo_n "(cached) " >&6 |
| 20535 | else | 11609 | else |
| 20536 | # Use it with a single arg. | 11610 | # Use it with a single arg. |
| 20537 | cat >conftest.$ac_ext <<_ACEOF | 11611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20538 | /* confdefs.h. */ | ||
| 20539 | _ACEOF | ||
| 20540 | cat confdefs.h >>conftest.$ac_ext | ||
| 20541 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20542 | /* end confdefs.h. */ | 11612 | /* end confdefs.h. */ |
| 20543 | $ac_includes_default | 11613 | $ac_includes_default |
| 20544 | int | 11614 | int |
| @@ -20549,157 +11619,41 @@ getpgrp (0); | |||
| 20549 | return 0; | 11619 | return 0; |
| 20550 | } | 11620 | } |
| 20551 | _ACEOF | 11621 | _ACEOF |
| 20552 | rm -f conftest.$ac_objext | 11622 | if ac_fn_c_try_compile "$LINENO"; then : |
| 20553 | if { (ac_try="$ac_compile" | ||
| 20554 | case "(($ac_try" in | ||
| 20555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20556 | *) ac_try_echo=$ac_try;; | ||
| 20557 | esac | ||
| 20558 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20559 | $as_echo "$ac_try_echo") >&5 | ||
| 20560 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20561 | ac_status=$? | ||
| 20562 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20563 | rm -f conftest.er1 | ||
| 20564 | cat conftest.err >&5 | ||
| 20565 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20566 | (exit $ac_status); } && { | ||
| 20567 | test -z "$ac_c_werror_flag" || | ||
| 20568 | test ! -s conftest.err | ||
| 20569 | } && test -s conftest.$ac_objext; then | ||
| 20570 | ac_cv_func_getpgrp_void=no | 11623 | ac_cv_func_getpgrp_void=no |
| 20571 | else | 11624 | else |
| 20572 | $as_echo "$as_me: failed program was:" >&5 | 11625 | ac_cv_func_getpgrp_void=yes |
| 20573 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20574 | |||
| 20575 | ac_cv_func_getpgrp_void=yes | ||
| 20576 | fi | 11626 | fi |
| 20577 | |||
| 20578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11627 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 20579 | 11628 | ||
| 20580 | fi | 11629 | fi |
| 20581 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 11630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 |
| 20582 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 11631 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
| 20583 | if test $ac_cv_func_getpgrp_void = yes; then | 11632 | if test $ac_cv_func_getpgrp_void = yes; then |
| 20584 | 11633 | ||
| 20585 | cat >>confdefs.h <<\_ACEOF | 11634 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h |
| 20586 | #define GETPGRP_VOID 1 | ||
| 20587 | _ACEOF | ||
| 20588 | 11635 | ||
| 20589 | fi | 11636 | fi |
| 20590 | 11637 | ||
| 20591 | 11638 | ||
| 20592 | |||
| 20593 | for ac_func in strftime | 11639 | for ac_func in strftime |
| 20594 | do | 11640 | do : |
| 20595 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11641 | ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
| 20596 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11642 | if test "x$ac_cv_func_strftime" = x""yes; then : |
| 20597 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20598 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20599 | $as_echo_n "(cached) " >&6 | ||
| 20600 | else | ||
| 20601 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20602 | /* confdefs.h. */ | ||
| 20603 | _ACEOF | ||
| 20604 | cat confdefs.h >>conftest.$ac_ext | ||
| 20605 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20606 | /* end confdefs.h. */ | ||
| 20607 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20608 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20609 | #define $ac_func innocuous_$ac_func | ||
| 20610 | |||
| 20611 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20612 | which can conflict with char $ac_func (); below. | ||
| 20613 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20614 | <limits.h> exists even on freestanding compilers. */ | ||
| 20615 | |||
| 20616 | #ifdef __STDC__ | ||
| 20617 | # include <limits.h> | ||
| 20618 | #else | ||
| 20619 | # include <assert.h> | ||
| 20620 | #endif | ||
| 20621 | |||
| 20622 | #undef $ac_func | ||
| 20623 | |||
| 20624 | /* Override any GCC internal prototype to avoid an error. | ||
| 20625 | Use char because int might match the return type of a GCC | ||
| 20626 | builtin and then its argument prototype would still apply. */ | ||
| 20627 | #ifdef __cplusplus | ||
| 20628 | extern "C" | ||
| 20629 | #endif | ||
| 20630 | char $ac_func (); | ||
| 20631 | /* The GNU C library defines this for functions which it implements | ||
| 20632 | to always fail with ENOSYS. Some functions are actually named | ||
| 20633 | something starting with __ and the normal name is an alias. */ | ||
| 20634 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20635 | choke me | ||
| 20636 | #endif | ||
| 20637 | |||
| 20638 | int | ||
| 20639 | main () | ||
| 20640 | { | ||
| 20641 | return $ac_func (); | ||
| 20642 | ; | ||
| 20643 | return 0; | ||
| 20644 | } | ||
| 20645 | _ACEOF | ||
| 20646 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20647 | if { (ac_try="$ac_link" | ||
| 20648 | case "(($ac_try" in | ||
| 20649 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20650 | *) ac_try_echo=$ac_try;; | ||
| 20651 | esac | ||
| 20652 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20653 | $as_echo "$ac_try_echo") >&5 | ||
| 20654 | (eval "$ac_link") 2>conftest.er1 | ||
| 20655 | ac_status=$? | ||
| 20656 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20657 | rm -f conftest.er1 | ||
| 20658 | cat conftest.err >&5 | ||
| 20659 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20660 | (exit $ac_status); } && { | ||
| 20661 | test -z "$ac_c_werror_flag" || | ||
| 20662 | test ! -s conftest.err | ||
| 20663 | } && test -s conftest$ac_exeext && { | ||
| 20664 | test "$cross_compiling" = yes || | ||
| 20665 | $as_test_x conftest$ac_exeext | ||
| 20666 | }; then | ||
| 20667 | eval "$as_ac_var=yes" | ||
| 20668 | else | ||
| 20669 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20670 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20671 | |||
| 20672 | eval "$as_ac_var=no" | ||
| 20673 | fi | ||
| 20674 | |||
| 20675 | rm -rf conftest.dSYM | ||
| 20676 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20677 | conftest$ac_exeext conftest.$ac_ext | ||
| 20678 | fi | ||
| 20679 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20680 | $as_echo "$as_val"'` | ||
| 20681 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20682 | $as_echo "$ac_res" >&6; } | ||
| 20683 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20684 | $as_echo "$as_val"'` = yes; then | ||
| 20685 | cat >>confdefs.h <<_ACEOF | 11643 | cat >>confdefs.h <<_ACEOF |
| 20686 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11644 | #define HAVE_STRFTIME 1 |
| 20687 | _ACEOF | 11645 | _ACEOF |
| 20688 | 11646 | ||
| 20689 | else | 11647 | else |
| 20690 | # strftime is in -lintl on SCO UNIX. | 11648 | # strftime is in -lintl on SCO UNIX. |
| 20691 | { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 11649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
| 20692 | $as_echo_n "checking for strftime in -lintl... " >&6; } | 11650 | $as_echo_n "checking for strftime in -lintl... " >&6; } |
| 20693 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 11651 | if test "${ac_cv_lib_intl_strftime+set}" = set; then : |
| 20694 | $as_echo_n "(cached) " >&6 | 11652 | $as_echo_n "(cached) " >&6 |
| 20695 | else | 11653 | else |
| 20696 | ac_check_lib_save_LIBS=$LIBS | 11654 | ac_check_lib_save_LIBS=$LIBS |
| 20697 | LIBS="-lintl $LIBS" | 11655 | LIBS="-lintl $LIBS" |
| 20698 | cat >conftest.$ac_ext <<_ACEOF | 11656 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20699 | /* confdefs.h. */ | ||
| 20700 | _ACEOF | ||
| 20701 | cat confdefs.h >>conftest.$ac_ext | ||
| 20702 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20703 | /* end confdefs.h. */ | 11657 | /* end confdefs.h. */ |
| 20704 | 11658 | ||
| 20705 | /* Override any GCC internal prototype to avoid an error. | 11659 | /* Override any GCC internal prototype to avoid an error. |
| @@ -20717,46 +11671,19 @@ return strftime (); | |||
| 20717 | return 0; | 11671 | return 0; |
| 20718 | } | 11672 | } |
| 20719 | _ACEOF | 11673 | _ACEOF |
| 20720 | rm -f conftest.$ac_objext conftest$ac_exeext | 11674 | if ac_fn_c_try_link "$LINENO"; then : |
| 20721 | if { (ac_try="$ac_link" | ||
| 20722 | case "(($ac_try" in | ||
| 20723 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20724 | *) ac_try_echo=$ac_try;; | ||
| 20725 | esac | ||
| 20726 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20727 | $as_echo "$ac_try_echo") >&5 | ||
| 20728 | (eval "$ac_link") 2>conftest.er1 | ||
| 20729 | ac_status=$? | ||
| 20730 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20731 | rm -f conftest.er1 | ||
| 20732 | cat conftest.err >&5 | ||
| 20733 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20734 | (exit $ac_status); } && { | ||
| 20735 | test -z "$ac_c_werror_flag" || | ||
| 20736 | test ! -s conftest.err | ||
| 20737 | } && test -s conftest$ac_exeext && { | ||
| 20738 | test "$cross_compiling" = yes || | ||
| 20739 | $as_test_x conftest$ac_exeext | ||
| 20740 | }; then | ||
| 20741 | ac_cv_lib_intl_strftime=yes | 11675 | ac_cv_lib_intl_strftime=yes |
| 20742 | else | 11676 | else |
| 20743 | $as_echo "$as_me: failed program was:" >&5 | 11677 | ac_cv_lib_intl_strftime=no |
| 20744 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20745 | |||
| 20746 | ac_cv_lib_intl_strftime=no | ||
| 20747 | fi | 11678 | fi |
| 20748 | 11679 | rm -f core conftest.err conftest.$ac_objext \ | |
| 20749 | rm -rf conftest.dSYM | 11680 | conftest$ac_exeext conftest.$ac_ext |
| 20750 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20751 | conftest$ac_exeext conftest.$ac_ext | ||
| 20752 | LIBS=$ac_check_lib_save_LIBS | 11681 | LIBS=$ac_check_lib_save_LIBS |
| 20753 | fi | 11682 | fi |
| 20754 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 11683 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
| 20755 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 11684 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
| 20756 | if test $ac_cv_lib_intl_strftime = yes; then | 11685 | if test "x$ac_cv_lib_intl_strftime" = x""yes; then : |
| 20757 | cat >>confdefs.h <<\_ACEOF | 11686 | $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
| 20758 | #define HAVE_STRFTIME 1 | ||
| 20759 | _ACEOF | ||
| 20760 | 11687 | ||
| 20761 | LIBS="-lintl $LIBS" | 11688 | LIBS="-lintl $LIBS" |
| 20762 | fi | 11689 | fi |
| @@ -20766,101 +11693,12 @@ done | |||
| 20766 | 11693 | ||
| 20767 | 11694 | ||
| 20768 | # UNIX98 PTYs. | 11695 | # UNIX98 PTYs. |
| 20769 | |||
| 20770 | for ac_func in grantpt | 11696 | for ac_func in grantpt |
| 20771 | do | 11697 | do : |
| 20772 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11698 | ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" |
| 20773 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11699 | if test "x$ac_cv_func_grantpt" = x""yes; then : |
| 20774 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20775 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20776 | $as_echo_n "(cached) " >&6 | ||
| 20777 | else | ||
| 20778 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20779 | /* confdefs.h. */ | ||
| 20780 | _ACEOF | ||
| 20781 | cat confdefs.h >>conftest.$ac_ext | ||
| 20782 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20783 | /* end confdefs.h. */ | ||
| 20784 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20785 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20786 | #define $ac_func innocuous_$ac_func | ||
| 20787 | |||
| 20788 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20789 | which can conflict with char $ac_func (); below. | ||
| 20790 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20791 | <limits.h> exists even on freestanding compilers. */ | ||
| 20792 | |||
| 20793 | #ifdef __STDC__ | ||
| 20794 | # include <limits.h> | ||
| 20795 | #else | ||
| 20796 | # include <assert.h> | ||
| 20797 | #endif | ||
| 20798 | |||
| 20799 | #undef $ac_func | ||
| 20800 | |||
| 20801 | /* Override any GCC internal prototype to avoid an error. | ||
| 20802 | Use char because int might match the return type of a GCC | ||
| 20803 | builtin and then its argument prototype would still apply. */ | ||
| 20804 | #ifdef __cplusplus | ||
| 20805 | extern "C" | ||
| 20806 | #endif | ||
| 20807 | char $ac_func (); | ||
| 20808 | /* The GNU C library defines this for functions which it implements | ||
| 20809 | to always fail with ENOSYS. Some functions are actually named | ||
| 20810 | something starting with __ and the normal name is an alias. */ | ||
| 20811 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20812 | choke me | ||
| 20813 | #endif | ||
| 20814 | |||
| 20815 | int | ||
| 20816 | main () | ||
| 20817 | { | ||
| 20818 | return $ac_func (); | ||
| 20819 | ; | ||
| 20820 | return 0; | ||
| 20821 | } | ||
| 20822 | _ACEOF | ||
| 20823 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20824 | if { (ac_try="$ac_link" | ||
| 20825 | case "(($ac_try" in | ||
| 20826 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20827 | *) ac_try_echo=$ac_try;; | ||
| 20828 | esac | ||
| 20829 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20830 | $as_echo "$ac_try_echo") >&5 | ||
| 20831 | (eval "$ac_link") 2>conftest.er1 | ||
| 20832 | ac_status=$? | ||
| 20833 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20834 | rm -f conftest.er1 | ||
| 20835 | cat conftest.err >&5 | ||
| 20836 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20837 | (exit $ac_status); } && { | ||
| 20838 | test -z "$ac_c_werror_flag" || | ||
| 20839 | test ! -s conftest.err | ||
| 20840 | } && test -s conftest$ac_exeext && { | ||
| 20841 | test "$cross_compiling" = yes || | ||
| 20842 | $as_test_x conftest$ac_exeext | ||
| 20843 | }; then | ||
| 20844 | eval "$as_ac_var=yes" | ||
| 20845 | else | ||
| 20846 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20847 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20848 | |||
| 20849 | eval "$as_ac_var=no" | ||
| 20850 | fi | ||
| 20851 | |||
| 20852 | rm -rf conftest.dSYM | ||
| 20853 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20854 | conftest$ac_exeext conftest.$ac_ext | ||
| 20855 | fi | ||
| 20856 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20857 | $as_echo "$as_val"'` | ||
| 20858 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20859 | $as_echo "$ac_res" >&6; } | ||
| 20860 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20861 | $as_echo "$as_val"'` = yes; then | ||
| 20862 | cat >>confdefs.h <<_ACEOF | 11700 | cat >>confdefs.h <<_ACEOF |
| 20863 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11701 | #define HAVE_GRANTPT 1 |
| 20864 | _ACEOF | 11702 | _ACEOF |
| 20865 | 11703 | ||
| 20866 | fi | 11704 | fi |
| @@ -20868,101 +11706,12 @@ done | |||
| 20868 | 11706 | ||
| 20869 | 11707 | ||
| 20870 | # PTY-related GNU extensions. | 11708 | # PTY-related GNU extensions. |
| 20871 | |||
| 20872 | for ac_func in getpt | 11709 | for ac_func in getpt |
| 20873 | do | 11710 | do : |
| 20874 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11711 | ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" |
| 20875 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11712 | if test "x$ac_cv_func_getpt" = x""yes; then : |
| 20876 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20877 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20878 | $as_echo_n "(cached) " >&6 | ||
| 20879 | else | ||
| 20880 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20881 | /* confdefs.h. */ | ||
| 20882 | _ACEOF | ||
| 20883 | cat confdefs.h >>conftest.$ac_ext | ||
| 20884 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20885 | /* end confdefs.h. */ | ||
| 20886 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20887 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20888 | #define $ac_func innocuous_$ac_func | ||
| 20889 | |||
| 20890 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20891 | which can conflict with char $ac_func (); below. | ||
| 20892 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20893 | <limits.h> exists even on freestanding compilers. */ | ||
| 20894 | |||
| 20895 | #ifdef __STDC__ | ||
| 20896 | # include <limits.h> | ||
| 20897 | #else | ||
| 20898 | # include <assert.h> | ||
| 20899 | #endif | ||
| 20900 | |||
| 20901 | #undef $ac_func | ||
| 20902 | |||
| 20903 | /* Override any GCC internal prototype to avoid an error. | ||
| 20904 | Use char because int might match the return type of a GCC | ||
| 20905 | builtin and then its argument prototype would still apply. */ | ||
| 20906 | #ifdef __cplusplus | ||
| 20907 | extern "C" | ||
| 20908 | #endif | ||
| 20909 | char $ac_func (); | ||
| 20910 | /* The GNU C library defines this for functions which it implements | ||
| 20911 | to always fail with ENOSYS. Some functions are actually named | ||
| 20912 | something starting with __ and the normal name is an alias. */ | ||
| 20913 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20914 | choke me | ||
| 20915 | #endif | ||
| 20916 | |||
| 20917 | int | ||
| 20918 | main () | ||
| 20919 | { | ||
| 20920 | return $ac_func (); | ||
| 20921 | ; | ||
| 20922 | return 0; | ||
| 20923 | } | ||
| 20924 | _ACEOF | ||
| 20925 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20926 | if { (ac_try="$ac_link" | ||
| 20927 | case "(($ac_try" in | ||
| 20928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20929 | *) ac_try_echo=$ac_try;; | ||
| 20930 | esac | ||
| 20931 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20932 | $as_echo "$ac_try_echo") >&5 | ||
| 20933 | (eval "$ac_link") 2>conftest.er1 | ||
| 20934 | ac_status=$? | ||
| 20935 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20936 | rm -f conftest.er1 | ||
| 20937 | cat conftest.err >&5 | ||
| 20938 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20939 | (exit $ac_status); } && { | ||
| 20940 | test -z "$ac_c_werror_flag" || | ||
| 20941 | test ! -s conftest.err | ||
| 20942 | } && test -s conftest$ac_exeext && { | ||
| 20943 | test "$cross_compiling" = yes || | ||
| 20944 | $as_test_x conftest$ac_exeext | ||
| 20945 | }; then | ||
| 20946 | eval "$as_ac_var=yes" | ||
| 20947 | else | ||
| 20948 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20949 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20950 | |||
| 20951 | eval "$as_ac_var=no" | ||
| 20952 | fi | ||
| 20953 | |||
| 20954 | rm -rf conftest.dSYM | ||
| 20955 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20956 | conftest$ac_exeext conftest.$ac_ext | ||
| 20957 | fi | ||
| 20958 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20959 | $as_echo "$as_val"'` | ||
| 20960 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20961 | $as_echo "$ac_res" >&6; } | ||
| 20962 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20963 | $as_echo "$as_val"'` = yes; then | ||
| 20964 | cat >>confdefs.h <<_ACEOF | 11713 | cat >>confdefs.h <<_ACEOF |
| 20965 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11714 | #define HAVE_GETPT 1 |
| 20966 | _ACEOF | 11715 | _ACEOF |
| 20967 | 11716 | ||
| 20968 | fi | 11717 | fi |
| @@ -20973,19 +11722,14 @@ done | |||
| 20973 | # That is because we have not set up to link ncurses in lib-src. | 11722 | # That is because we have not set up to link ncurses in lib-src. |
| 20974 | # It's better to believe a function is not available | 11723 | # It's better to believe a function is not available |
| 20975 | # than to expect to find it in ncurses. | 11724 | # than to expect to find it in ncurses. |
| 20976 | 11725 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tparm in -lncurses" >&5 | |
| 20977 | { $as_echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 | ||
| 20978 | $as_echo_n "checking for tparm in -lncurses... " >&6; } | 11726 | $as_echo_n "checking for tparm in -lncurses... " >&6; } |
| 20979 | if test "${ac_cv_lib_ncurses_tparm+set}" = set; then | 11727 | if test "${ac_cv_lib_ncurses_tparm+set}" = set; then : |
| 20980 | $as_echo_n "(cached) " >&6 | 11728 | $as_echo_n "(cached) " >&6 |
| 20981 | else | 11729 | else |
| 20982 | ac_check_lib_save_LIBS=$LIBS | 11730 | ac_check_lib_save_LIBS=$LIBS |
| 20983 | LIBS="-lncurses $LIBS" | 11731 | LIBS="-lncurses $LIBS" |
| 20984 | cat >conftest.$ac_ext <<_ACEOF | 11732 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20985 | /* confdefs.h. */ | ||
| 20986 | _ACEOF | ||
| 20987 | cat confdefs.h >>conftest.$ac_ext | ||
| 20988 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20989 | /* end confdefs.h. */ | 11733 | /* end confdefs.h. */ |
| 20990 | 11734 | ||
| 20991 | /* Override any GCC internal prototype to avoid an error. | 11735 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21003,43 +11747,18 @@ return tparm (); | |||
| 21003 | return 0; | 11747 | return 0; |
| 21004 | } | 11748 | } |
| 21005 | _ACEOF | 11749 | _ACEOF |
| 21006 | rm -f conftest.$ac_objext conftest$ac_exeext | 11750 | if ac_fn_c_try_link "$LINENO"; then : |
| 21007 | if { (ac_try="$ac_link" | ||
| 21008 | case "(($ac_try" in | ||
| 21009 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21010 | *) ac_try_echo=$ac_try;; | ||
| 21011 | esac | ||
| 21012 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21013 | $as_echo "$ac_try_echo") >&5 | ||
| 21014 | (eval "$ac_link") 2>conftest.er1 | ||
| 21015 | ac_status=$? | ||
| 21016 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21017 | rm -f conftest.er1 | ||
| 21018 | cat conftest.err >&5 | ||
| 21019 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21020 | (exit $ac_status); } && { | ||
| 21021 | test -z "$ac_c_werror_flag" || | ||
| 21022 | test ! -s conftest.err | ||
| 21023 | } && test -s conftest$ac_exeext && { | ||
| 21024 | test "$cross_compiling" = yes || | ||
| 21025 | $as_test_x conftest$ac_exeext | ||
| 21026 | }; then | ||
| 21027 | ac_cv_lib_ncurses_tparm=yes | 11751 | ac_cv_lib_ncurses_tparm=yes |
| 21028 | else | 11752 | else |
| 21029 | $as_echo "$as_me: failed program was:" >&5 | 11753 | ac_cv_lib_ncurses_tparm=no |
| 21030 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21031 | |||
| 21032 | ac_cv_lib_ncurses_tparm=no | ||
| 21033 | fi | 11754 | fi |
| 21034 | 11755 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21035 | rm -rf conftest.dSYM | 11756 | conftest$ac_exeext conftest.$ac_ext |
| 21036 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21037 | conftest$ac_exeext conftest.$ac_ext | ||
| 21038 | LIBS=$ac_check_lib_save_LIBS | 11757 | LIBS=$ac_check_lib_save_LIBS |
| 21039 | fi | 11758 | fi |
| 21040 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 | 11759 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tparm" >&5 |
| 21041 | $as_echo "$ac_cv_lib_ncurses_tparm" >&6; } | 11760 | $as_echo "$ac_cv_lib_ncurses_tparm" >&6; } |
| 21042 | if test $ac_cv_lib_ncurses_tparm = yes; then | 11761 | if test "x$ac_cv_lib_ncurses_tparm" = x""yes; then : |
| 21043 | cat >>confdefs.h <<_ACEOF | 11762 | cat >>confdefs.h <<_ACEOF |
| 21044 | #define HAVE_LIBNCURSES 1 | 11763 | #define HAVE_LIBNCURSES 1 |
| 21045 | _ACEOF | 11764 | _ACEOF |
| @@ -21052,11 +11771,7 @@ fi | |||
| 21052 | # Do we have res_init, for detecting changes in /etc/resolv.conf? | 11771 | # Do we have res_init, for detecting changes in /etc/resolv.conf? |
| 21053 | 11772 | ||
| 21054 | resolv=no | 11773 | resolv=no |
| 21055 | cat >conftest.$ac_ext <<_ACEOF | 11774 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21056 | /* confdefs.h. */ | ||
| 21057 | _ACEOF | ||
| 21058 | cat confdefs.h >>conftest.$ac_ext | ||
| 21059 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21060 | /* end confdefs.h. */ | 11775 | /* end confdefs.h. */ |
| 21061 | #include <netinet/in.h> | 11776 | #include <netinet/in.h> |
| 21062 | #include <arpa/nameser.h> | 11777 | #include <arpa/nameser.h> |
| @@ -21069,48 +11784,19 @@ return res_init(); | |||
| 21069 | return 0; | 11784 | return 0; |
| 21070 | } | 11785 | } |
| 21071 | _ACEOF | 11786 | _ACEOF |
| 21072 | rm -f conftest.$ac_objext conftest$ac_exeext | 11787 | if ac_fn_c_try_link "$LINENO"; then : |
| 21073 | if { (ac_try="$ac_link" | ||
| 21074 | case "(($ac_try" in | ||
| 21075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21076 | *) ac_try_echo=$ac_try;; | ||
| 21077 | esac | ||
| 21078 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21079 | $as_echo "$ac_try_echo") >&5 | ||
| 21080 | (eval "$ac_link") 2>conftest.er1 | ||
| 21081 | ac_status=$? | ||
| 21082 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21083 | rm -f conftest.er1 | ||
| 21084 | cat conftest.err >&5 | ||
| 21085 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21086 | (exit $ac_status); } && { | ||
| 21087 | test -z "$ac_c_werror_flag" || | ||
| 21088 | test ! -s conftest.err | ||
| 21089 | } && test -s conftest$ac_exeext && { | ||
| 21090 | test "$cross_compiling" = yes || | ||
| 21091 | $as_test_x conftest$ac_exeext | ||
| 21092 | }; then | ||
| 21093 | have_res_init=yes | 11788 | have_res_init=yes |
| 21094 | else | 11789 | else |
| 21095 | $as_echo "$as_me: failed program was:" >&5 | 11790 | have_res_init=no |
| 21096 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21097 | |||
| 21098 | have_res_init=no | ||
| 21099 | fi | 11791 | fi |
| 21100 | 11792 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21101 | rm -rf conftest.dSYM | 11793 | conftest$ac_exeext conftest.$ac_ext |
| 21102 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21103 | conftest$ac_exeext conftest.$ac_ext | ||
| 21104 | if test "$have_res_init" = no; then | 11794 | if test "$have_res_init" = no; then |
| 21105 | OLIBS="$LIBS" | 11795 | OLIBS="$LIBS" |
| 21106 | LIBS="$LIBS -lresolv" | 11796 | LIBS="$LIBS -lresolv" |
| 21107 | { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 | 11797 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 |
| 21108 | $as_echo_n "checking for res_init with -lresolv... " >&6; } | 11798 | $as_echo_n "checking for res_init with -lresolv... " >&6; } |
| 21109 | cat >conftest.$ac_ext <<_ACEOF | 11799 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21110 | /* confdefs.h. */ | ||
| 21111 | _ACEOF | ||
| 21112 | cat confdefs.h >>conftest.$ac_ext | ||
| 21113 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21114 | /* end confdefs.h. */ | 11800 | /* end confdefs.h. */ |
| 21115 | #include <netinet/in.h> | 11801 | #include <netinet/in.h> |
| 21116 | #include <arpa/nameser.h> | 11802 | #include <arpa/nameser.h> |
| @@ -21123,39 +11809,14 @@ return res_init(); | |||
| 21123 | return 0; | 11809 | return 0; |
| 21124 | } | 11810 | } |
| 21125 | _ACEOF | 11811 | _ACEOF |
| 21126 | rm -f conftest.$ac_objext conftest$ac_exeext | 11812 | if ac_fn_c_try_link "$LINENO"; then : |
| 21127 | if { (ac_try="$ac_link" | ||
| 21128 | case "(($ac_try" in | ||
| 21129 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21130 | *) ac_try_echo=$ac_try;; | ||
| 21131 | esac | ||
| 21132 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21133 | $as_echo "$ac_try_echo") >&5 | ||
| 21134 | (eval "$ac_link") 2>conftest.er1 | ||
| 21135 | ac_status=$? | ||
| 21136 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21137 | rm -f conftest.er1 | ||
| 21138 | cat conftest.err >&5 | ||
| 21139 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21140 | (exit $ac_status); } && { | ||
| 21141 | test -z "$ac_c_werror_flag" || | ||
| 21142 | test ! -s conftest.err | ||
| 21143 | } && test -s conftest$ac_exeext && { | ||
| 21144 | test "$cross_compiling" = yes || | ||
| 21145 | $as_test_x conftest$ac_exeext | ||
| 21146 | }; then | ||
| 21147 | have_res_init=yes | 11813 | have_res_init=yes |
| 21148 | else | 11814 | else |
| 21149 | $as_echo "$as_me: failed program was:" >&5 | 11815 | have_res_init=no |
| 21150 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21151 | |||
| 21152 | have_res_init=no | ||
| 21153 | fi | 11816 | fi |
| 21154 | 11817 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21155 | rm -rf conftest.dSYM | 11818 | conftest$ac_exeext conftest.$ac_ext |
| 21156 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11819 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 |
| 21157 | conftest$ac_exeext conftest.$ac_ext | ||
| 21158 | { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 | ||
| 21159 | $as_echo "$have_res_init" >&6; } | 11820 | $as_echo "$have_res_init" >&6; } |
| 21160 | if test "$have_res_init" = yes ; then | 11821 | if test "$have_res_init" = yes ; then |
| 21161 | resolv=yes | 11822 | resolv=yes |
| @@ -21165,203 +11826,29 @@ fi | |||
| 21165 | 11826 | ||
| 21166 | if test "$have_res_init" = yes; then | 11827 | if test "$have_res_init" = yes; then |
| 21167 | 11828 | ||
| 21168 | cat >>confdefs.h <<\_ACEOF | 11829 | $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h |
| 21169 | #define HAVE_RES_INIT 1 | ||
| 21170 | _ACEOF | ||
| 21171 | 11830 | ||
| 21172 | fi | 11831 | fi |
| 21173 | 11832 | ||
| 21174 | # Do we need the Hesiod library to provide the support routines? | 11833 | # Do we need the Hesiod library to provide the support routines? |
| 21175 | if test "$with_hesiod" != no ; then | 11834 | if test "$with_hesiod" != no ; then |
| 21176 | # Don't set $LIBS here -- see comments above. | 11835 | # Don't set $LIBS here -- see comments above. |
| 21177 | { $as_echo "$as_me:$LINENO: checking for res_send" >&5 | 11836 | ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" |
| 21178 | $as_echo_n "checking for res_send... " >&6; } | 11837 | if test "x$ac_cv_func_res_send" = x""yes; then : |
| 21179 | if test "${ac_cv_func_res_send+set}" = set; then | ||
| 21180 | $as_echo_n "(cached) " >&6 | ||
| 21181 | else | ||
| 21182 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21183 | /* confdefs.h. */ | ||
| 21184 | _ACEOF | ||
| 21185 | cat confdefs.h >>conftest.$ac_ext | ||
| 21186 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21187 | /* end confdefs.h. */ | ||
| 21188 | /* Define res_send to an innocuous variant, in case <limits.h> declares res_send. | ||
| 21189 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21190 | #define res_send innocuous_res_send | ||
| 21191 | |||
| 21192 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21193 | which can conflict with char res_send (); below. | ||
| 21194 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21195 | <limits.h> exists even on freestanding compilers. */ | ||
| 21196 | |||
| 21197 | #ifdef __STDC__ | ||
| 21198 | # include <limits.h> | ||
| 21199 | #else | ||
| 21200 | # include <assert.h> | ||
| 21201 | #endif | ||
| 21202 | |||
| 21203 | #undef res_send | ||
| 21204 | |||
| 21205 | /* Override any GCC internal prototype to avoid an error. | ||
| 21206 | Use char because int might match the return type of a GCC | ||
| 21207 | builtin and then its argument prototype would still apply. */ | ||
| 21208 | #ifdef __cplusplus | ||
| 21209 | extern "C" | ||
| 21210 | #endif | ||
| 21211 | char res_send (); | ||
| 21212 | /* The GNU C library defines this for functions which it implements | ||
| 21213 | to always fail with ENOSYS. Some functions are actually named | ||
| 21214 | something starting with __ and the normal name is an alias. */ | ||
| 21215 | #if defined __stub_res_send || defined __stub___res_send | ||
| 21216 | choke me | ||
| 21217 | #endif | ||
| 21218 | |||
| 21219 | int | ||
| 21220 | main () | ||
| 21221 | { | ||
| 21222 | return res_send (); | ||
| 21223 | ; | ||
| 21224 | return 0; | ||
| 21225 | } | ||
| 21226 | _ACEOF | ||
| 21227 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21228 | if { (ac_try="$ac_link" | ||
| 21229 | case "(($ac_try" in | ||
| 21230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21231 | *) ac_try_echo=$ac_try;; | ||
| 21232 | esac | ||
| 21233 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21234 | $as_echo "$ac_try_echo") >&5 | ||
| 21235 | (eval "$ac_link") 2>conftest.er1 | ||
| 21236 | ac_status=$? | ||
| 21237 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21238 | rm -f conftest.er1 | ||
| 21239 | cat conftest.err >&5 | ||
| 21240 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21241 | (exit $ac_status); } && { | ||
| 21242 | test -z "$ac_c_werror_flag" || | ||
| 21243 | test ! -s conftest.err | ||
| 21244 | } && test -s conftest$ac_exeext && { | ||
| 21245 | test "$cross_compiling" = yes || | ||
| 21246 | $as_test_x conftest$ac_exeext | ||
| 21247 | }; then | ||
| 21248 | ac_cv_func_res_send=yes | ||
| 21249 | else | ||
| 21250 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21251 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21252 | |||
| 21253 | ac_cv_func_res_send=no | ||
| 21254 | fi | ||
| 21255 | |||
| 21256 | rm -rf conftest.dSYM | ||
| 21257 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21258 | conftest$ac_exeext conftest.$ac_ext | ||
| 21259 | fi | ||
| 21260 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | ||
| 21261 | $as_echo "$ac_cv_func_res_send" >&6; } | ||
| 21262 | if test $ac_cv_func_res_send = yes; then | ||
| 21263 | : | ||
| 21264 | else | ||
| 21265 | { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 | ||
| 21266 | $as_echo_n "checking for __res_send... " >&6; } | ||
| 21267 | if test "${ac_cv_func___res_send+set}" = set; then | ||
| 21268 | $as_echo_n "(cached) " >&6 | ||
| 21269 | else | ||
| 21270 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21271 | /* confdefs.h. */ | ||
| 21272 | _ACEOF | ||
| 21273 | cat confdefs.h >>conftest.$ac_ext | ||
| 21274 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21275 | /* end confdefs.h. */ | ||
| 21276 | /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send. | ||
| 21277 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21278 | #define __res_send innocuous___res_send | ||
| 21279 | |||
| 21280 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21281 | which can conflict with char __res_send (); below. | ||
| 21282 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21283 | <limits.h> exists even on freestanding compilers. */ | ||
| 21284 | |||
| 21285 | #ifdef __STDC__ | ||
| 21286 | # include <limits.h> | ||
| 21287 | #else | ||
| 21288 | # include <assert.h> | ||
| 21289 | #endif | ||
| 21290 | |||
| 21291 | #undef __res_send | ||
| 21292 | |||
| 21293 | /* Override any GCC internal prototype to avoid an error. | ||
| 21294 | Use char because int might match the return type of a GCC | ||
| 21295 | builtin and then its argument prototype would still apply. */ | ||
| 21296 | #ifdef __cplusplus | ||
| 21297 | extern "C" | ||
| 21298 | #endif | ||
| 21299 | char __res_send (); | ||
| 21300 | /* The GNU C library defines this for functions which it implements | ||
| 21301 | to always fail with ENOSYS. Some functions are actually named | ||
| 21302 | something starting with __ and the normal name is an alias. */ | ||
| 21303 | #if defined __stub___res_send || defined __stub_____res_send | ||
| 21304 | choke me | ||
| 21305 | #endif | ||
| 21306 | 11838 | ||
| 21307 | int | ||
| 21308 | main () | ||
| 21309 | { | ||
| 21310 | return __res_send (); | ||
| 21311 | ; | ||
| 21312 | return 0; | ||
| 21313 | } | ||
| 21314 | _ACEOF | ||
| 21315 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21316 | if { (ac_try="$ac_link" | ||
| 21317 | case "(($ac_try" in | ||
| 21318 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21319 | *) ac_try_echo=$ac_try;; | ||
| 21320 | esac | ||
| 21321 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21322 | $as_echo "$ac_try_echo") >&5 | ||
| 21323 | (eval "$ac_link") 2>conftest.er1 | ||
| 21324 | ac_status=$? | ||
| 21325 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21326 | rm -f conftest.er1 | ||
| 21327 | cat conftest.err >&5 | ||
| 21328 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21329 | (exit $ac_status); } && { | ||
| 21330 | test -z "$ac_c_werror_flag" || | ||
| 21331 | test ! -s conftest.err | ||
| 21332 | } && test -s conftest$ac_exeext && { | ||
| 21333 | test "$cross_compiling" = yes || | ||
| 21334 | $as_test_x conftest$ac_exeext | ||
| 21335 | }; then | ||
| 21336 | ac_cv_func___res_send=yes | ||
| 21337 | else | 11839 | else |
| 21338 | $as_echo "$as_me: failed program was:" >&5 | 11840 | ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" |
| 21339 | sed 's/^/| /' conftest.$ac_ext >&5 | 11841 | if test "x$ac_cv_func___res_send" = x""yes; then : |
| 21340 | |||
| 21341 | ac_cv_func___res_send=no | ||
| 21342 | fi | ||
| 21343 | 11842 | ||
| 21344 | rm -rf conftest.dSYM | ||
| 21345 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21346 | conftest$ac_exeext conftest.$ac_ext | ||
| 21347 | fi | ||
| 21348 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | ||
| 21349 | $as_echo "$ac_cv_func___res_send" >&6; } | ||
| 21350 | if test $ac_cv_func___res_send = yes; then | ||
| 21351 | : | ||
| 21352 | else | 11843 | else |
| 21353 | { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | 11844 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 |
| 21354 | $as_echo_n "checking for res_send in -lresolv... " >&6; } | 11845 | $as_echo_n "checking for res_send in -lresolv... " >&6; } |
| 21355 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 11846 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then : |
| 21356 | $as_echo_n "(cached) " >&6 | 11847 | $as_echo_n "(cached) " >&6 |
| 21357 | else | 11848 | else |
| 21358 | ac_check_lib_save_LIBS=$LIBS | 11849 | ac_check_lib_save_LIBS=$LIBS |
| 21359 | LIBS="-lresolv $LIBS" | 11850 | LIBS="-lresolv $LIBS" |
| 21360 | cat >conftest.$ac_ext <<_ACEOF | 11851 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21361 | /* confdefs.h. */ | ||
| 21362 | _ACEOF | ||
| 21363 | cat confdefs.h >>conftest.$ac_ext | ||
| 21364 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21365 | /* end confdefs.h. */ | 11852 | /* end confdefs.h. */ |
| 21366 | 11853 | ||
| 21367 | /* Override any GCC internal prototype to avoid an error. | 11854 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21379,57 +11866,28 @@ return res_send (); | |||
| 21379 | return 0; | 11866 | return 0; |
| 21380 | } | 11867 | } |
| 21381 | _ACEOF | 11868 | _ACEOF |
| 21382 | rm -f conftest.$ac_objext conftest$ac_exeext | 11869 | if ac_fn_c_try_link "$LINENO"; then : |
| 21383 | if { (ac_try="$ac_link" | ||
| 21384 | case "(($ac_try" in | ||
| 21385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21386 | *) ac_try_echo=$ac_try;; | ||
| 21387 | esac | ||
| 21388 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21389 | $as_echo "$ac_try_echo") >&5 | ||
| 21390 | (eval "$ac_link") 2>conftest.er1 | ||
| 21391 | ac_status=$? | ||
| 21392 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21393 | rm -f conftest.er1 | ||
| 21394 | cat conftest.err >&5 | ||
| 21395 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21396 | (exit $ac_status); } && { | ||
| 21397 | test -z "$ac_c_werror_flag" || | ||
| 21398 | test ! -s conftest.err | ||
| 21399 | } && test -s conftest$ac_exeext && { | ||
| 21400 | test "$cross_compiling" = yes || | ||
| 21401 | $as_test_x conftest$ac_exeext | ||
| 21402 | }; then | ||
| 21403 | ac_cv_lib_resolv_res_send=yes | 11870 | ac_cv_lib_resolv_res_send=yes |
| 21404 | else | 11871 | else |
| 21405 | $as_echo "$as_me: failed program was:" >&5 | 11872 | ac_cv_lib_resolv_res_send=no |
| 21406 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21407 | |||
| 21408 | ac_cv_lib_resolv_res_send=no | ||
| 21409 | fi | 11873 | fi |
| 21410 | 11874 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21411 | rm -rf conftest.dSYM | 11875 | conftest$ac_exeext conftest.$ac_ext |
| 21412 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21413 | conftest$ac_exeext conftest.$ac_ext | ||
| 21414 | LIBS=$ac_check_lib_save_LIBS | 11876 | LIBS=$ac_check_lib_save_LIBS |
| 21415 | fi | 11877 | fi |
| 21416 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 | 11878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 |
| 21417 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 11879 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
| 21418 | if test $ac_cv_lib_resolv_res_send = yes; then | 11880 | if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : |
| 21419 | resolv=yes | 11881 | resolv=yes |
| 21420 | else | 11882 | else |
| 21421 | { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 | 11883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 |
| 21422 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 11884 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
| 21423 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 11885 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then : |
| 21424 | $as_echo_n "(cached) " >&6 | 11886 | $as_echo_n "(cached) " >&6 |
| 21425 | else | 11887 | else |
| 21426 | ac_check_lib_save_LIBS=$LIBS | 11888 | ac_check_lib_save_LIBS=$LIBS |
| 21427 | LIBS="-lresolv $LIBS" | 11889 | LIBS="-lresolv $LIBS" |
| 21428 | cat >conftest.$ac_ext <<_ACEOF | 11890 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21429 | /* confdefs.h. */ | ||
| 21430 | _ACEOF | ||
| 21431 | cat confdefs.h >>conftest.$ac_ext | ||
| 21432 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21433 | /* end confdefs.h. */ | 11891 | /* end confdefs.h. */ |
| 21434 | 11892 | ||
| 21435 | /* Override any GCC internal prototype to avoid an error. | 11893 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21447,43 +11905,18 @@ return __res_send (); | |||
| 21447 | return 0; | 11905 | return 0; |
| 21448 | } | 11906 | } |
| 21449 | _ACEOF | 11907 | _ACEOF |
| 21450 | rm -f conftest.$ac_objext conftest$ac_exeext | 11908 | if ac_fn_c_try_link "$LINENO"; then : |
| 21451 | if { (ac_try="$ac_link" | ||
| 21452 | case "(($ac_try" in | ||
| 21453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21454 | *) ac_try_echo=$ac_try;; | ||
| 21455 | esac | ||
| 21456 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21457 | $as_echo "$ac_try_echo") >&5 | ||
| 21458 | (eval "$ac_link") 2>conftest.er1 | ||
| 21459 | ac_status=$? | ||
| 21460 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21461 | rm -f conftest.er1 | ||
| 21462 | cat conftest.err >&5 | ||
| 21463 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21464 | (exit $ac_status); } && { | ||
| 21465 | test -z "$ac_c_werror_flag" || | ||
| 21466 | test ! -s conftest.err | ||
| 21467 | } && test -s conftest$ac_exeext && { | ||
| 21468 | test "$cross_compiling" = yes || | ||
| 21469 | $as_test_x conftest$ac_exeext | ||
| 21470 | }; then | ||
| 21471 | ac_cv_lib_resolv___res_send=yes | 11909 | ac_cv_lib_resolv___res_send=yes |
| 21472 | else | 11910 | else |
| 21473 | $as_echo "$as_me: failed program was:" >&5 | 11911 | ac_cv_lib_resolv___res_send=no |
| 21474 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21475 | |||
| 21476 | ac_cv_lib_resolv___res_send=no | ||
| 21477 | fi | 11912 | fi |
| 21478 | 11913 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21479 | rm -rf conftest.dSYM | 11914 | conftest$ac_exeext conftest.$ac_ext |
| 21480 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21481 | conftest$ac_exeext conftest.$ac_ext | ||
| 21482 | LIBS=$ac_check_lib_save_LIBS | 11915 | LIBS=$ac_check_lib_save_LIBS |
| 21483 | fi | 11916 | fi |
| 21484 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 | 11917 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 |
| 21485 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 11918 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
| 21486 | if test $ac_cv_lib_resolv___res_send = yes; then | 11919 | if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : |
| 21487 | resolv=yes | 11920 | resolv=yes |
| 21488 | fi | 11921 | fi |
| 21489 | 11922 | ||
| @@ -21498,106 +11931,18 @@ fi | |||
| 21498 | else | 11931 | else |
| 21499 | RESOLVLIB= | 11932 | RESOLVLIB= |
| 21500 | fi | 11933 | fi |
| 21501 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 | 11934 | ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" |
| 21502 | $as_echo_n "checking for hes_getmailhost... " >&6; } | 11935 | if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : |
| 21503 | if test "${ac_cv_func_hes_getmailhost+set}" = set; then | ||
| 21504 | $as_echo_n "(cached) " >&6 | ||
| 21505 | else | ||
| 21506 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21507 | /* confdefs.h. */ | ||
| 21508 | _ACEOF | ||
| 21509 | cat confdefs.h >>conftest.$ac_ext | ||
| 21510 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21511 | /* end confdefs.h. */ | ||
| 21512 | /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost. | ||
| 21513 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21514 | #define hes_getmailhost innocuous_hes_getmailhost | ||
| 21515 | |||
| 21516 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21517 | which can conflict with char hes_getmailhost (); below. | ||
| 21518 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21519 | <limits.h> exists even on freestanding compilers. */ | ||
| 21520 | |||
| 21521 | #ifdef __STDC__ | ||
| 21522 | # include <limits.h> | ||
| 21523 | #else | ||
| 21524 | # include <assert.h> | ||
| 21525 | #endif | ||
| 21526 | 11936 | ||
| 21527 | #undef hes_getmailhost | ||
| 21528 | |||
| 21529 | /* Override any GCC internal prototype to avoid an error. | ||
| 21530 | Use char because int might match the return type of a GCC | ||
| 21531 | builtin and then its argument prototype would still apply. */ | ||
| 21532 | #ifdef __cplusplus | ||
| 21533 | extern "C" | ||
| 21534 | #endif | ||
| 21535 | char hes_getmailhost (); | ||
| 21536 | /* The GNU C library defines this for functions which it implements | ||
| 21537 | to always fail with ENOSYS. Some functions are actually named | ||
| 21538 | something starting with __ and the normal name is an alias. */ | ||
| 21539 | #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | ||
| 21540 | choke me | ||
| 21541 | #endif | ||
| 21542 | |||
| 21543 | int | ||
| 21544 | main () | ||
| 21545 | { | ||
| 21546 | return hes_getmailhost (); | ||
| 21547 | ; | ||
| 21548 | return 0; | ||
| 21549 | } | ||
| 21550 | _ACEOF | ||
| 21551 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21552 | if { (ac_try="$ac_link" | ||
| 21553 | case "(($ac_try" in | ||
| 21554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21555 | *) ac_try_echo=$ac_try;; | ||
| 21556 | esac | ||
| 21557 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21558 | $as_echo "$ac_try_echo") >&5 | ||
| 21559 | (eval "$ac_link") 2>conftest.er1 | ||
| 21560 | ac_status=$? | ||
| 21561 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21562 | rm -f conftest.er1 | ||
| 21563 | cat conftest.err >&5 | ||
| 21564 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21565 | (exit $ac_status); } && { | ||
| 21566 | test -z "$ac_c_werror_flag" || | ||
| 21567 | test ! -s conftest.err | ||
| 21568 | } && test -s conftest$ac_exeext && { | ||
| 21569 | test "$cross_compiling" = yes || | ||
| 21570 | $as_test_x conftest$ac_exeext | ||
| 21571 | }; then | ||
| 21572 | ac_cv_func_hes_getmailhost=yes | ||
| 21573 | else | 11937 | else |
| 21574 | $as_echo "$as_me: failed program was:" >&5 | 11938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 |
| 21575 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21576 | |||
| 21577 | ac_cv_func_hes_getmailhost=no | ||
| 21578 | fi | ||
| 21579 | |||
| 21580 | rm -rf conftest.dSYM | ||
| 21581 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21582 | conftest$ac_exeext conftest.$ac_ext | ||
| 21583 | fi | ||
| 21584 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | ||
| 21585 | $as_echo "$ac_cv_func_hes_getmailhost" >&6; } | ||
| 21586 | if test $ac_cv_func_hes_getmailhost = yes; then | ||
| 21587 | : | ||
| 21588 | else | ||
| 21589 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | ||
| 21590 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 11939 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
| 21591 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 11940 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : |
| 21592 | $as_echo_n "(cached) " >&6 | 11941 | $as_echo_n "(cached) " >&6 |
| 21593 | else | 11942 | else |
| 21594 | ac_check_lib_save_LIBS=$LIBS | 11943 | ac_check_lib_save_LIBS=$LIBS |
| 21595 | LIBS="-lhesiod $RESOLVLIB $LIBS" | 11944 | LIBS="-lhesiod $RESOLVLIB $LIBS" |
| 21596 | cat >conftest.$ac_ext <<_ACEOF | 11945 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21597 | /* confdefs.h. */ | ||
| 21598 | _ACEOF | ||
| 21599 | cat confdefs.h >>conftest.$ac_ext | ||
| 21600 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21601 | /* end confdefs.h. */ | 11946 | /* end confdefs.h. */ |
| 21602 | 11947 | ||
| 21603 | /* Override any GCC internal prototype to avoid an error. | 11948 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21615,47 +11960,20 @@ return hes_getmailhost (); | |||
| 21615 | return 0; | 11960 | return 0; |
| 21616 | } | 11961 | } |
| 21617 | _ACEOF | 11962 | _ACEOF |
| 21618 | rm -f conftest.$ac_objext conftest$ac_exeext | 11963 | if ac_fn_c_try_link "$LINENO"; then : |
| 21619 | if { (ac_try="$ac_link" | ||
| 21620 | case "(($ac_try" in | ||
| 21621 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21622 | *) ac_try_echo=$ac_try;; | ||
| 21623 | esac | ||
| 21624 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21625 | $as_echo "$ac_try_echo") >&5 | ||
| 21626 | (eval "$ac_link") 2>conftest.er1 | ||
| 21627 | ac_status=$? | ||
| 21628 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21629 | rm -f conftest.er1 | ||
| 21630 | cat conftest.err >&5 | ||
| 21631 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21632 | (exit $ac_status); } && { | ||
| 21633 | test -z "$ac_c_werror_flag" || | ||
| 21634 | test ! -s conftest.err | ||
| 21635 | } && test -s conftest$ac_exeext && { | ||
| 21636 | test "$cross_compiling" = yes || | ||
| 21637 | $as_test_x conftest$ac_exeext | ||
| 21638 | }; then | ||
| 21639 | ac_cv_lib_hesiod_hes_getmailhost=yes | 11964 | ac_cv_lib_hesiod_hes_getmailhost=yes |
| 21640 | else | 11965 | else |
| 21641 | $as_echo "$as_me: failed program was:" >&5 | 11966 | ac_cv_lib_hesiod_hes_getmailhost=no |
| 21642 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21643 | |||
| 21644 | ac_cv_lib_hesiod_hes_getmailhost=no | ||
| 21645 | fi | 11967 | fi |
| 21646 | 11968 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21647 | rm -rf conftest.dSYM | 11969 | conftest$ac_exeext conftest.$ac_ext |
| 21648 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21649 | conftest$ac_exeext conftest.$ac_ext | ||
| 21650 | LIBS=$ac_check_lib_save_LIBS | 11970 | LIBS=$ac_check_lib_save_LIBS |
| 21651 | fi | 11971 | fi |
| 21652 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 11972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
| 21653 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 11973 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
| 21654 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 11974 | if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : |
| 21655 | 11975 | ||
| 21656 | cat >>confdefs.h <<\_ACEOF | 11976 | $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h |
| 21657 | #define HAVE_LIBHESIOD 1 | ||
| 21658 | _ACEOF | ||
| 21659 | 11977 | ||
| 21660 | else | 11978 | else |
| 21661 | : | 11979 | : |
| @@ -21668,27 +11986,20 @@ fi | |||
| 21668 | # Do we need libresolv (due to res_init or Hesiod)? | 11986 | # Do we need libresolv (due to res_init or Hesiod)? |
| 21669 | if test "$resolv" = yes ; then | 11987 | if test "$resolv" = yes ; then |
| 21670 | 11988 | ||
| 21671 | cat >>confdefs.h <<\_ACEOF | 11989 | $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h |
| 21672 | #define HAVE_LIBRESOLV 1 | ||
| 21673 | _ACEOF | ||
| 21674 | 11990 | ||
| 21675 | fi | 11991 | fi |
| 21676 | 11992 | ||
| 21677 | # These tell us which Kerberos-related libraries to use. | 11993 | # These tell us which Kerberos-related libraries to use. |
| 21678 | if test "${with_kerberos}" != no; then | 11994 | if test "${with_kerberos}" != no; then |
| 21679 | 11995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | |
| 21680 | { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 | ||
| 21681 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 11996 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
| 21682 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 11997 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then : |
| 21683 | $as_echo_n "(cached) " >&6 | 11998 | $as_echo_n "(cached) " >&6 |
| 21684 | else | 11999 | else |
| 21685 | ac_check_lib_save_LIBS=$LIBS | 12000 | ac_check_lib_save_LIBS=$LIBS |
| 21686 | LIBS="-lcom_err $LIBS" | 12001 | LIBS="-lcom_err $LIBS" |
| 21687 | cat >conftest.$ac_ext <<_ACEOF | 12002 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21688 | /* confdefs.h. */ | ||
| 21689 | _ACEOF | ||
| 21690 | cat confdefs.h >>conftest.$ac_ext | ||
| 21691 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21692 | /* end confdefs.h. */ | 12003 | /* end confdefs.h. */ |
| 21693 | 12004 | ||
| 21694 | /* Override any GCC internal prototype to avoid an error. | 12005 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21706,43 +12017,18 @@ return com_err (); | |||
| 21706 | return 0; | 12017 | return 0; |
| 21707 | } | 12018 | } |
| 21708 | _ACEOF | 12019 | _ACEOF |
| 21709 | rm -f conftest.$ac_objext conftest$ac_exeext | 12020 | if ac_fn_c_try_link "$LINENO"; then : |
| 21710 | if { (ac_try="$ac_link" | ||
| 21711 | case "(($ac_try" in | ||
| 21712 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21713 | *) ac_try_echo=$ac_try;; | ||
| 21714 | esac | ||
| 21715 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21716 | $as_echo "$ac_try_echo") >&5 | ||
| 21717 | (eval "$ac_link") 2>conftest.er1 | ||
| 21718 | ac_status=$? | ||
| 21719 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21720 | rm -f conftest.er1 | ||
| 21721 | cat conftest.err >&5 | ||
| 21722 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21723 | (exit $ac_status); } && { | ||
| 21724 | test -z "$ac_c_werror_flag" || | ||
| 21725 | test ! -s conftest.err | ||
| 21726 | } && test -s conftest$ac_exeext && { | ||
| 21727 | test "$cross_compiling" = yes || | ||
| 21728 | $as_test_x conftest$ac_exeext | ||
| 21729 | }; then | ||
| 21730 | ac_cv_lib_com_err_com_err=yes | 12021 | ac_cv_lib_com_err_com_err=yes |
| 21731 | else | 12022 | else |
| 21732 | $as_echo "$as_me: failed program was:" >&5 | 12023 | ac_cv_lib_com_err_com_err=no |
| 21733 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21734 | |||
| 21735 | ac_cv_lib_com_err_com_err=no | ||
| 21736 | fi | 12024 | fi |
| 21737 | 12025 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21738 | rm -rf conftest.dSYM | 12026 | conftest$ac_exeext conftest.$ac_ext |
| 21739 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21740 | conftest$ac_exeext conftest.$ac_ext | ||
| 21741 | LIBS=$ac_check_lib_save_LIBS | 12027 | LIBS=$ac_check_lib_save_LIBS |
| 21742 | fi | 12028 | fi |
| 21743 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 | 12029 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 |
| 21744 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 12030 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
| 21745 | if test $ac_cv_lib_com_err_com_err = yes; then | 12031 | if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : |
| 21746 | cat >>confdefs.h <<_ACEOF | 12032 | cat >>confdefs.h <<_ACEOF |
| 21747 | #define HAVE_LIBCOM_ERR 1 | 12033 | #define HAVE_LIBCOM_ERR 1 |
| 21748 | _ACEOF | 12034 | _ACEOF |
| @@ -21751,19 +12037,14 @@ _ACEOF | |||
| 21751 | 12037 | ||
| 21752 | fi | 12038 | fi |
| 21753 | 12039 | ||
| 21754 | 12040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | |
| 21755 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | ||
| 21756 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 12041 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
| 21757 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 12042 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : |
| 21758 | $as_echo_n "(cached) " >&6 | 12043 | $as_echo_n "(cached) " >&6 |
| 21759 | else | 12044 | else |
| 21760 | ac_check_lib_save_LIBS=$LIBS | 12045 | ac_check_lib_save_LIBS=$LIBS |
| 21761 | LIBS="-lk5crypto $LIBS" | 12046 | LIBS="-lk5crypto $LIBS" |
| 21762 | cat >conftest.$ac_ext <<_ACEOF | 12047 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21763 | /* confdefs.h. */ | ||
| 21764 | _ACEOF | ||
| 21765 | cat confdefs.h >>conftest.$ac_ext | ||
| 21766 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21767 | /* end confdefs.h. */ | 12048 | /* end confdefs.h. */ |
| 21768 | 12049 | ||
| 21769 | /* Override any GCC internal prototype to avoid an error. | 12050 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21781,43 +12062,18 @@ return mit_des_cbc_encrypt (); | |||
| 21781 | return 0; | 12062 | return 0; |
| 21782 | } | 12063 | } |
| 21783 | _ACEOF | 12064 | _ACEOF |
| 21784 | rm -f conftest.$ac_objext conftest$ac_exeext | 12065 | if ac_fn_c_try_link "$LINENO"; then : |
| 21785 | if { (ac_try="$ac_link" | ||
| 21786 | case "(($ac_try" in | ||
| 21787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21788 | *) ac_try_echo=$ac_try;; | ||
| 21789 | esac | ||
| 21790 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21791 | $as_echo "$ac_try_echo") >&5 | ||
| 21792 | (eval "$ac_link") 2>conftest.er1 | ||
| 21793 | ac_status=$? | ||
| 21794 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21795 | rm -f conftest.er1 | ||
| 21796 | cat conftest.err >&5 | ||
| 21797 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21798 | (exit $ac_status); } && { | ||
| 21799 | test -z "$ac_c_werror_flag" || | ||
| 21800 | test ! -s conftest.err | ||
| 21801 | } && test -s conftest$ac_exeext && { | ||
| 21802 | test "$cross_compiling" = yes || | ||
| 21803 | $as_test_x conftest$ac_exeext | ||
| 21804 | }; then | ||
| 21805 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 12066 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
| 21806 | else | 12067 | else |
| 21807 | $as_echo "$as_me: failed program was:" >&5 | 12068 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
| 21808 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21809 | |||
| 21810 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | ||
| 21811 | fi | 12069 | fi |
| 21812 | 12070 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21813 | rm -rf conftest.dSYM | 12071 | conftest$ac_exeext conftest.$ac_ext |
| 21814 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21815 | conftest$ac_exeext conftest.$ac_ext | ||
| 21816 | LIBS=$ac_check_lib_save_LIBS | 12072 | LIBS=$ac_check_lib_save_LIBS |
| 21817 | fi | 12073 | fi |
| 21818 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 12074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
| 21819 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 12075 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
| 21820 | if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 12076 | if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : |
| 21821 | cat >>confdefs.h <<_ACEOF | 12077 | cat >>confdefs.h <<_ACEOF |
| 21822 | #define HAVE_LIBK5CRYPTO 1 | 12078 | #define HAVE_LIBK5CRYPTO 1 |
| 21823 | _ACEOF | 12079 | _ACEOF |
| @@ -21826,19 +12082,14 @@ _ACEOF | |||
| 21826 | 12082 | ||
| 21827 | fi | 12083 | fi |
| 21828 | 12084 | ||
| 21829 | 12085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | |
| 21830 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | ||
| 21831 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 12086 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
| 21832 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 12087 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : |
| 21833 | $as_echo_n "(cached) " >&6 | 12088 | $as_echo_n "(cached) " >&6 |
| 21834 | else | 12089 | else |
| 21835 | ac_check_lib_save_LIBS=$LIBS | 12090 | ac_check_lib_save_LIBS=$LIBS |
| 21836 | LIBS="-lcrypto $LIBS" | 12091 | LIBS="-lcrypto $LIBS" |
| 21837 | cat >conftest.$ac_ext <<_ACEOF | 12092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21838 | /* confdefs.h. */ | ||
| 21839 | _ACEOF | ||
| 21840 | cat confdefs.h >>conftest.$ac_ext | ||
| 21841 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21842 | /* end confdefs.h. */ | 12093 | /* end confdefs.h. */ |
| 21843 | 12094 | ||
| 21844 | /* Override any GCC internal prototype to avoid an error. | 12095 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21856,43 +12107,18 @@ return mit_des_cbc_encrypt (); | |||
| 21856 | return 0; | 12107 | return 0; |
| 21857 | } | 12108 | } |
| 21858 | _ACEOF | 12109 | _ACEOF |
| 21859 | rm -f conftest.$ac_objext conftest$ac_exeext | 12110 | if ac_fn_c_try_link "$LINENO"; then : |
| 21860 | if { (ac_try="$ac_link" | ||
| 21861 | case "(($ac_try" in | ||
| 21862 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21863 | *) ac_try_echo=$ac_try;; | ||
| 21864 | esac | ||
| 21865 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21866 | $as_echo "$ac_try_echo") >&5 | ||
| 21867 | (eval "$ac_link") 2>conftest.er1 | ||
| 21868 | ac_status=$? | ||
| 21869 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21870 | rm -f conftest.er1 | ||
| 21871 | cat conftest.err >&5 | ||
| 21872 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21873 | (exit $ac_status); } && { | ||
| 21874 | test -z "$ac_c_werror_flag" || | ||
| 21875 | test ! -s conftest.err | ||
| 21876 | } && test -s conftest$ac_exeext && { | ||
| 21877 | test "$cross_compiling" = yes || | ||
| 21878 | $as_test_x conftest$ac_exeext | ||
| 21879 | }; then | ||
| 21880 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 12111 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
| 21881 | else | 12112 | else |
| 21882 | $as_echo "$as_me: failed program was:" >&5 | 12113 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
| 21883 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21884 | |||
| 21885 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | ||
| 21886 | fi | 12114 | fi |
| 21887 | 12115 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21888 | rm -rf conftest.dSYM | 12116 | conftest$ac_exeext conftest.$ac_ext |
| 21889 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21890 | conftest$ac_exeext conftest.$ac_ext | ||
| 21891 | LIBS=$ac_check_lib_save_LIBS | 12117 | LIBS=$ac_check_lib_save_LIBS |
| 21892 | fi | 12118 | fi |
| 21893 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 12119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
| 21894 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 12120 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
| 21895 | if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 12121 | if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : |
| 21896 | cat >>confdefs.h <<_ACEOF | 12122 | cat >>confdefs.h <<_ACEOF |
| 21897 | #define HAVE_LIBCRYPTO 1 | 12123 | #define HAVE_LIBCRYPTO 1 |
| 21898 | _ACEOF | 12124 | _ACEOF |
| @@ -21901,19 +12127,14 @@ _ACEOF | |||
| 21901 | 12127 | ||
| 21902 | fi | 12128 | fi |
| 21903 | 12129 | ||
| 21904 | 12130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | |
| 21905 | { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 | ||
| 21906 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 12131 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
| 21907 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 12132 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : |
| 21908 | $as_echo_n "(cached) " >&6 | 12133 | $as_echo_n "(cached) " >&6 |
| 21909 | else | 12134 | else |
| 21910 | ac_check_lib_save_LIBS=$LIBS | 12135 | ac_check_lib_save_LIBS=$LIBS |
| 21911 | LIBS="-lkrb5 $LIBS" | 12136 | LIBS="-lkrb5 $LIBS" |
| 21912 | cat >conftest.$ac_ext <<_ACEOF | 12137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21913 | /* confdefs.h. */ | ||
| 21914 | _ACEOF | ||
| 21915 | cat confdefs.h >>conftest.$ac_ext | ||
| 21916 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21917 | /* end confdefs.h. */ | 12138 | /* end confdefs.h. */ |
| 21918 | 12139 | ||
| 21919 | /* Override any GCC internal prototype to avoid an error. | 12140 | /* Override any GCC internal prototype to avoid an error. |
| @@ -21931,43 +12152,18 @@ return krb5_init_context (); | |||
| 21931 | return 0; | 12152 | return 0; |
| 21932 | } | 12153 | } |
| 21933 | _ACEOF | 12154 | _ACEOF |
| 21934 | rm -f conftest.$ac_objext conftest$ac_exeext | 12155 | if ac_fn_c_try_link "$LINENO"; then : |
| 21935 | if { (ac_try="$ac_link" | ||
| 21936 | case "(($ac_try" in | ||
| 21937 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21938 | *) ac_try_echo=$ac_try;; | ||
| 21939 | esac | ||
| 21940 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21941 | $as_echo "$ac_try_echo") >&5 | ||
| 21942 | (eval "$ac_link") 2>conftest.er1 | ||
| 21943 | ac_status=$? | ||
| 21944 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21945 | rm -f conftest.er1 | ||
| 21946 | cat conftest.err >&5 | ||
| 21947 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21948 | (exit $ac_status); } && { | ||
| 21949 | test -z "$ac_c_werror_flag" || | ||
| 21950 | test ! -s conftest.err | ||
| 21951 | } && test -s conftest$ac_exeext && { | ||
| 21952 | test "$cross_compiling" = yes || | ||
| 21953 | $as_test_x conftest$ac_exeext | ||
| 21954 | }; then | ||
| 21955 | ac_cv_lib_krb5_krb5_init_context=yes | 12156 | ac_cv_lib_krb5_krb5_init_context=yes |
| 21956 | else | 12157 | else |
| 21957 | $as_echo "$as_me: failed program was:" >&5 | 12158 | ac_cv_lib_krb5_krb5_init_context=no |
| 21958 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21959 | |||
| 21960 | ac_cv_lib_krb5_krb5_init_context=no | ||
| 21961 | fi | 12159 | fi |
| 21962 | 12160 | rm -f core conftest.err conftest.$ac_objext \ | |
| 21963 | rm -rf conftest.dSYM | 12161 | conftest$ac_exeext conftest.$ac_ext |
| 21964 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21965 | conftest$ac_exeext conftest.$ac_ext | ||
| 21966 | LIBS=$ac_check_lib_save_LIBS | 12162 | LIBS=$ac_check_lib_save_LIBS |
| 21967 | fi | 12163 | fi |
| 21968 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 12164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
| 21969 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 12165 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
| 21970 | if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 12166 | if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : |
| 21971 | cat >>confdefs.h <<_ACEOF | 12167 | cat >>confdefs.h <<_ACEOF |
| 21972 | #define HAVE_LIBKRB5 1 | 12168 | #define HAVE_LIBKRB5 1 |
| 21973 | _ACEOF | 12169 | _ACEOF |
| @@ -21977,19 +12173,14 @@ _ACEOF | |||
| 21977 | fi | 12173 | fi |
| 21978 | 12174 | ||
| 21979 | if test "${with_kerberos5}" = no; then | 12175 | if test "${with_kerberos5}" = no; then |
| 21980 | 12176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | |
| 21981 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | ||
| 21982 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 12177 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
| 21983 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 12178 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : |
| 21984 | $as_echo_n "(cached) " >&6 | 12179 | $as_echo_n "(cached) " >&6 |
| 21985 | else | 12180 | else |
| 21986 | ac_check_lib_save_LIBS=$LIBS | 12181 | ac_check_lib_save_LIBS=$LIBS |
| 21987 | LIBS="-ldes425 $LIBS" | 12182 | LIBS="-ldes425 $LIBS" |
| 21988 | cat >conftest.$ac_ext <<_ACEOF | 12183 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21989 | /* confdefs.h. */ | ||
| 21990 | _ACEOF | ||
| 21991 | cat confdefs.h >>conftest.$ac_ext | ||
| 21992 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21993 | /* end confdefs.h. */ | 12184 | /* end confdefs.h. */ |
| 21994 | 12185 | ||
| 21995 | /* Override any GCC internal prototype to avoid an error. | 12186 | /* Override any GCC internal prototype to avoid an error. |
| @@ -22007,43 +12198,18 @@ return des_cbc_encrypt (); | |||
| 22007 | return 0; | 12198 | return 0; |
| 22008 | } | 12199 | } |
| 22009 | _ACEOF | 12200 | _ACEOF |
| 22010 | rm -f conftest.$ac_objext conftest$ac_exeext | 12201 | if ac_fn_c_try_link "$LINENO"; then : |
| 22011 | if { (ac_try="$ac_link" | ||
| 22012 | case "(($ac_try" in | ||
| 22013 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22014 | *) ac_try_echo=$ac_try;; | ||
| 22015 | esac | ||
| 22016 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22017 | $as_echo "$ac_try_echo") >&5 | ||
| 22018 | (eval "$ac_link") 2>conftest.er1 | ||
| 22019 | ac_status=$? | ||
| 22020 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22021 | rm -f conftest.er1 | ||
| 22022 | cat conftest.err >&5 | ||
| 22023 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22024 | (exit $ac_status); } && { | ||
| 22025 | test -z "$ac_c_werror_flag" || | ||
| 22026 | test ! -s conftest.err | ||
| 22027 | } && test -s conftest$ac_exeext && { | ||
| 22028 | test "$cross_compiling" = yes || | ||
| 22029 | $as_test_x conftest$ac_exeext | ||
| 22030 | }; then | ||
| 22031 | ac_cv_lib_des425_des_cbc_encrypt=yes | 12202 | ac_cv_lib_des425_des_cbc_encrypt=yes |
| 22032 | else | 12203 | else |
| 22033 | $as_echo "$as_me: failed program was:" >&5 | 12204 | ac_cv_lib_des425_des_cbc_encrypt=no |
| 22034 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22035 | |||
| 22036 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
| 22037 | fi | 12205 | fi |
| 22038 | 12206 | rm -f core conftest.err conftest.$ac_objext \ | |
| 22039 | rm -rf conftest.dSYM | 12207 | conftest$ac_exeext conftest.$ac_ext |
| 22040 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22041 | conftest$ac_exeext conftest.$ac_ext | ||
| 22042 | LIBS=$ac_check_lib_save_LIBS | 12208 | LIBS=$ac_check_lib_save_LIBS |
| 22043 | fi | 12209 | fi |
| 22044 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 12210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
| 22045 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 12211 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
| 22046 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 12212 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : |
| 22047 | cat >>confdefs.h <<_ACEOF | 12213 | cat >>confdefs.h <<_ACEOF |
| 22048 | #define HAVE_LIBDES425 1 | 12214 | #define HAVE_LIBDES425 1 |
| 22049 | _ACEOF | 12215 | _ACEOF |
| @@ -22051,19 +12217,14 @@ _ACEOF | |||
| 22051 | LIBS="-ldes425 $LIBS" | 12217 | LIBS="-ldes425 $LIBS" |
| 22052 | 12218 | ||
| 22053 | else | 12219 | else |
| 22054 | 12220 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | |
| 22055 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | ||
| 22056 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 12221 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
| 22057 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 12222 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : |
| 22058 | $as_echo_n "(cached) " >&6 | 12223 | $as_echo_n "(cached) " >&6 |
| 22059 | else | 12224 | else |
| 22060 | ac_check_lib_save_LIBS=$LIBS | 12225 | ac_check_lib_save_LIBS=$LIBS |
| 22061 | LIBS="-ldes $LIBS" | 12226 | LIBS="-ldes $LIBS" |
| 22062 | cat >conftest.$ac_ext <<_ACEOF | 12227 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22063 | /* confdefs.h. */ | ||
| 22064 | _ACEOF | ||
| 22065 | cat confdefs.h >>conftest.$ac_ext | ||
| 22066 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22067 | /* end confdefs.h. */ | 12228 | /* end confdefs.h. */ |
| 22068 | 12229 | ||
| 22069 | /* Override any GCC internal prototype to avoid an error. | 12230 | /* Override any GCC internal prototype to avoid an error. |
| @@ -22081,43 +12242,18 @@ return des_cbc_encrypt (); | |||
| 22081 | return 0; | 12242 | return 0; |
| 22082 | } | 12243 | } |
| 22083 | _ACEOF | 12244 | _ACEOF |
| 22084 | rm -f conftest.$ac_objext conftest$ac_exeext | 12245 | if ac_fn_c_try_link "$LINENO"; then : |
| 22085 | if { (ac_try="$ac_link" | ||
| 22086 | case "(($ac_try" in | ||
| 22087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22088 | *) ac_try_echo=$ac_try;; | ||
| 22089 | esac | ||
| 22090 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22091 | $as_echo "$ac_try_echo") >&5 | ||
| 22092 | (eval "$ac_link") 2>conftest.er1 | ||
| 22093 | ac_status=$? | ||
| 22094 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22095 | rm -f conftest.er1 | ||
| 22096 | cat conftest.err >&5 | ||
| 22097 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22098 | (exit $ac_status); } && { | ||
| 22099 | test -z "$ac_c_werror_flag" || | ||
| 22100 | test ! -s conftest.err | ||
| 22101 | } && test -s conftest$ac_exeext && { | ||
| 22102 | test "$cross_compiling" = yes || | ||
| 22103 | $as_test_x conftest$ac_exeext | ||
| 22104 | }; then | ||
| 22105 | ac_cv_lib_des_des_cbc_encrypt=yes | 12246 | ac_cv_lib_des_des_cbc_encrypt=yes |
| 22106 | else | 12247 | else |
| 22107 | $as_echo "$as_me: failed program was:" >&5 | 12248 | ac_cv_lib_des_des_cbc_encrypt=no |
| 22108 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22109 | |||
| 22110 | ac_cv_lib_des_des_cbc_encrypt=no | ||
| 22111 | fi | 12249 | fi |
| 22112 | 12250 | rm -f core conftest.err conftest.$ac_objext \ | |
| 22113 | rm -rf conftest.dSYM | 12251 | conftest$ac_exeext conftest.$ac_ext |
| 22114 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22115 | conftest$ac_exeext conftest.$ac_ext | ||
| 22116 | LIBS=$ac_check_lib_save_LIBS | 12252 | LIBS=$ac_check_lib_save_LIBS |
| 22117 | fi | 12253 | fi |
| 22118 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 12254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
| 22119 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 12255 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
| 22120 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 12256 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : |
| 22121 | cat >>confdefs.h <<_ACEOF | 12257 | cat >>confdefs.h <<_ACEOF |
| 22122 | #define HAVE_LIBDES 1 | 12258 | #define HAVE_LIBDES 1 |
| 22123 | _ACEOF | 12259 | _ACEOF |
| @@ -22128,19 +12264,14 @@ fi | |||
| 22128 | 12264 | ||
| 22129 | fi | 12265 | fi |
| 22130 | 12266 | ||
| 22131 | 12267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | |
| 22132 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 | ||
| 22133 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 12268 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
| 22134 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 12269 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : |
| 22135 | $as_echo_n "(cached) " >&6 | 12270 | $as_echo_n "(cached) " >&6 |
| 22136 | else | 12271 | else |
| 22137 | ac_check_lib_save_LIBS=$LIBS | 12272 | ac_check_lib_save_LIBS=$LIBS |
| 22138 | LIBS="-lkrb4 $LIBS" | 12273 | LIBS="-lkrb4 $LIBS" |
| 22139 | cat >conftest.$ac_ext <<_ACEOF | 12274 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22140 | /* confdefs.h. */ | ||
| 22141 | _ACEOF | ||
| 22142 | cat confdefs.h >>conftest.$ac_ext | ||
| 22143 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22144 | /* end confdefs.h. */ | 12275 | /* end confdefs.h. */ |
| 22145 | 12276 | ||
| 22146 | /* Override any GCC internal prototype to avoid an error. | 12277 | /* Override any GCC internal prototype to avoid an error. |
| @@ -22158,43 +12289,18 @@ return krb_get_cred (); | |||
| 22158 | return 0; | 12289 | return 0; |
| 22159 | } | 12290 | } |
| 22160 | _ACEOF | 12291 | _ACEOF |
| 22161 | rm -f conftest.$ac_objext conftest$ac_exeext | 12292 | if ac_fn_c_try_link "$LINENO"; then : |
| 22162 | if { (ac_try="$ac_link" | ||
| 22163 | case "(($ac_try" in | ||
| 22164 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22165 | *) ac_try_echo=$ac_try;; | ||
| 22166 | esac | ||
| 22167 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22168 | $as_echo "$ac_try_echo") >&5 | ||
| 22169 | (eval "$ac_link") 2>conftest.er1 | ||
| 22170 | ac_status=$? | ||
| 22171 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22172 | rm -f conftest.er1 | ||
| 22173 | cat conftest.err >&5 | ||
| 22174 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22175 | (exit $ac_status); } && { | ||
| 22176 | test -z "$ac_c_werror_flag" || | ||
| 22177 | test ! -s conftest.err | ||
| 22178 | } && test -s conftest$ac_exeext && { | ||
| 22179 | test "$cross_compiling" = yes || | ||
| 22180 | $as_test_x conftest$ac_exeext | ||
| 22181 | }; then | ||
| 22182 | ac_cv_lib_krb4_krb_get_cred=yes | 12293 | ac_cv_lib_krb4_krb_get_cred=yes |
| 22183 | else | 12294 | else |
| 22184 | $as_echo "$as_me: failed program was:" >&5 | 12295 | ac_cv_lib_krb4_krb_get_cred=no |
| 22185 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22186 | |||
| 22187 | ac_cv_lib_krb4_krb_get_cred=no | ||
| 22188 | fi | 12296 | fi |
| 22189 | 12297 | rm -f core conftest.err conftest.$ac_objext \ | |
| 22190 | rm -rf conftest.dSYM | 12298 | conftest$ac_exeext conftest.$ac_ext |
| 22191 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22192 | conftest$ac_exeext conftest.$ac_ext | ||
| 22193 | LIBS=$ac_check_lib_save_LIBS | 12299 | LIBS=$ac_check_lib_save_LIBS |
| 22194 | fi | 12300 | fi |
| 22195 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 12301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
| 22196 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 12302 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
| 22197 | if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 12303 | if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : |
| 22198 | cat >>confdefs.h <<_ACEOF | 12304 | cat >>confdefs.h <<_ACEOF |
| 22199 | #define HAVE_LIBKRB4 1 | 12305 | #define HAVE_LIBKRB4 1 |
| 22200 | _ACEOF | 12306 | _ACEOF |
| @@ -22202,19 +12308,14 @@ _ACEOF | |||
| 22202 | LIBS="-lkrb4 $LIBS" | 12308 | LIBS="-lkrb4 $LIBS" |
| 22203 | 12309 | ||
| 22204 | else | 12310 | else |
| 22205 | 12311 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | |
| 22206 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 | ||
| 22207 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 12312 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
| 22208 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 12313 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : |
| 22209 | $as_echo_n "(cached) " >&6 | 12314 | $as_echo_n "(cached) " >&6 |
| 22210 | else | 12315 | else |
| 22211 | ac_check_lib_save_LIBS=$LIBS | 12316 | ac_check_lib_save_LIBS=$LIBS |
| 22212 | LIBS="-lkrb $LIBS" | 12317 | LIBS="-lkrb $LIBS" |
| 22213 | cat >conftest.$ac_ext <<_ACEOF | 12318 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22214 | /* confdefs.h. */ | ||
| 22215 | _ACEOF | ||
| 22216 | cat confdefs.h >>conftest.$ac_ext | ||
| 22217 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22218 | /* end confdefs.h. */ | 12319 | /* end confdefs.h. */ |
| 22219 | 12320 | ||
| 22220 | /* Override any GCC internal prototype to avoid an error. | 12321 | /* Override any GCC internal prototype to avoid an error. |
| @@ -22232,43 +12333,18 @@ return krb_get_cred (); | |||
| 22232 | return 0; | 12333 | return 0; |
| 22233 | } | 12334 | } |
| 22234 | _ACEOF | 12335 | _ACEOF |
| 22235 | rm -f conftest.$ac_objext conftest$ac_exeext | 12336 | if ac_fn_c_try_link "$LINENO"; then : |
| 22236 | if { (ac_try="$ac_link" | ||
| 22237 | case "(($ac_try" in | ||
| 22238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22239 | *) ac_try_echo=$ac_try;; | ||
| 22240 | esac | ||
| 22241 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22242 | $as_echo "$ac_try_echo") >&5 | ||
| 22243 | (eval "$ac_link") 2>conftest.er1 | ||
| 22244 | ac_status=$? | ||
| 22245 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22246 | rm -f conftest.er1 | ||
| 22247 | cat conftest.err >&5 | ||
| 22248 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22249 | (exit $ac_status); } && { | ||
| 22250 | test -z "$ac_c_werror_flag" || | ||
| 22251 | test ! -s conftest.err | ||
| 22252 | } && test -s conftest$ac_exeext && { | ||
| 22253 | test "$cross_compiling" = yes || | ||
| 22254 | $as_test_x conftest$ac_exeext | ||
| 22255 | }; then | ||
| 22256 | ac_cv_lib_krb_krb_get_cred=yes | 12337 | ac_cv_lib_krb_krb_get_cred=yes |
| 22257 | else | 12338 | else |
| 22258 | $as_echo "$as_me: failed program was:" >&5 | 12339 | ac_cv_lib_krb_krb_get_cred=no |
| 22259 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22260 | |||
| 22261 | ac_cv_lib_krb_krb_get_cred=no | ||
| 22262 | fi | 12340 | fi |
| 22263 | 12341 | rm -f core conftest.err conftest.$ac_objext \ | |
| 22264 | rm -rf conftest.dSYM | 12342 | conftest$ac_exeext conftest.$ac_ext |
| 22265 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22266 | conftest$ac_exeext conftest.$ac_ext | ||
| 22267 | LIBS=$ac_check_lib_save_LIBS | 12343 | LIBS=$ac_check_lib_save_LIBS |
| 22268 | fi | 12344 | fi |
| 22269 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 12345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
| 22270 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 12346 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
| 22271 | if test $ac_cv_lib_krb_krb_get_cred = yes; then | 12347 | if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : |
| 22272 | cat >>confdefs.h <<_ACEOF | 12348 | cat >>confdefs.h <<_ACEOF |
| 22273 | #define HAVE_LIBKRB 1 | 12349 | #define HAVE_LIBKRB 1 |
| 22274 | _ACEOF | 12350 | _ACEOF |
| @@ -22282,244 +12358,16 @@ fi | |||
| 22282 | fi | 12358 | fi |
| 22283 | 12359 | ||
| 22284 | if test "${with_kerberos5}" != no; then | 12360 | if test "${with_kerberos5}" != no; then |
| 22285 | 12361 | for ac_header in krb5.h | |
| 22286 | for ac_header in krb5.h | 12362 | do : |
| 22287 | do | 12363 | ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" |
| 22288 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12364 | if test "x$ac_cv_header_krb5_h" = x""yes; then : |
| 22289 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22290 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22291 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22292 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22293 | $as_echo_n "(cached) " >&6 | ||
| 22294 | fi | ||
| 22295 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22296 | $as_echo "$as_val"'` | ||
| 22297 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22298 | $as_echo "$ac_res" >&6; } | ||
| 22299 | else | ||
| 22300 | # Is the header compilable? | ||
| 22301 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22302 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22303 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22304 | /* confdefs.h. */ | ||
| 22305 | _ACEOF | ||
| 22306 | cat confdefs.h >>conftest.$ac_ext | ||
| 22307 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22308 | /* end confdefs.h. */ | ||
| 22309 | $ac_includes_default | ||
| 22310 | #include <$ac_header> | ||
| 22311 | _ACEOF | ||
| 22312 | rm -f conftest.$ac_objext | ||
| 22313 | if { (ac_try="$ac_compile" | ||
| 22314 | case "(($ac_try" in | ||
| 22315 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22316 | *) ac_try_echo=$ac_try;; | ||
| 22317 | esac | ||
| 22318 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22319 | $as_echo "$ac_try_echo") >&5 | ||
| 22320 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22321 | ac_status=$? | ||
| 22322 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22323 | rm -f conftest.er1 | ||
| 22324 | cat conftest.err >&5 | ||
| 22325 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22326 | (exit $ac_status); } && { | ||
| 22327 | test -z "$ac_c_werror_flag" || | ||
| 22328 | test ! -s conftest.err | ||
| 22329 | } && test -s conftest.$ac_objext; then | ||
| 22330 | ac_header_compiler=yes | ||
| 22331 | else | ||
| 22332 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22333 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22334 | |||
| 22335 | ac_header_compiler=no | ||
| 22336 | fi | ||
| 22337 | |||
| 22338 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22339 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22340 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22341 | |||
| 22342 | # Is the header present? | ||
| 22343 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22344 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22345 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22346 | /* confdefs.h. */ | ||
| 22347 | _ACEOF | ||
| 22348 | cat confdefs.h >>conftest.$ac_ext | ||
| 22349 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22350 | /* end confdefs.h. */ | ||
| 22351 | #include <$ac_header> | ||
| 22352 | _ACEOF | ||
| 22353 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22354 | case "(($ac_try" in | ||
| 22355 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22356 | *) ac_try_echo=$ac_try;; | ||
| 22357 | esac | ||
| 22358 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22359 | $as_echo "$ac_try_echo") >&5 | ||
| 22360 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22361 | ac_status=$? | ||
| 22362 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22363 | rm -f conftest.er1 | ||
| 22364 | cat conftest.err >&5 | ||
| 22365 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22366 | (exit $ac_status); } >/dev/null && { | ||
| 22367 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 22368 | test ! -s conftest.err | ||
| 22369 | }; then | ||
| 22370 | ac_header_preproc=yes | ||
| 22371 | else | ||
| 22372 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22373 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22374 | |||
| 22375 | ac_header_preproc=no | ||
| 22376 | fi | ||
| 22377 | |||
| 22378 | rm -f conftest.err conftest.$ac_ext | ||
| 22379 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 22380 | $as_echo "$ac_header_preproc" >&6; } | ||
| 22381 | |||
| 22382 | # So? What about this header? | ||
| 22383 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 22384 | yes:no: ) | ||
| 22385 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 22386 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 22387 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 22388 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 22389 | ac_header_preproc=yes | ||
| 22390 | ;; | ||
| 22391 | no:yes:* ) | ||
| 22392 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 22393 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 22394 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 22395 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 22396 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 22397 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 22398 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 22399 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 22400 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 22401 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 22402 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 22403 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 22404 | |||
| 22405 | ;; | ||
| 22406 | esac | ||
| 22407 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22408 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22409 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22410 | $as_echo_n "(cached) " >&6 | ||
| 22411 | else | ||
| 22412 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 22413 | fi | ||
| 22414 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22415 | $as_echo "$as_val"'` | ||
| 22416 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22417 | $as_echo "$ac_res" >&6; } | ||
| 22418 | |||
| 22419 | fi | ||
| 22420 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 22421 | $as_echo "$as_val"'` = yes; then | ||
| 22422 | cat >>confdefs.h <<_ACEOF | 12365 | cat >>confdefs.h <<_ACEOF |
| 22423 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12366 | #define HAVE_KRB5_H 1 |
| 22424 | _ACEOF | ||
| 22425 | { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 | ||
| 22426 | $as_echo_n "checking for krb5_error.text... " >&6; } | ||
| 22427 | if test "${ac_cv_member_krb5_error_text+set}" = set; then | ||
| 22428 | $as_echo_n "(cached) " >&6 | ||
| 22429 | else | ||
| 22430 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22431 | /* confdefs.h. */ | ||
| 22432 | _ACEOF | 12367 | _ACEOF |
| 22433 | cat confdefs.h >>conftest.$ac_ext | 12368 | ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> |
| 22434 | cat >>conftest.$ac_ext <<_ACEOF | 12369 | " |
| 22435 | /* end confdefs.h. */ | 12370 | if test "x$ac_cv_member_krb5_error_text" = x""yes; then : |
| 22436 | #include <krb5.h> | ||
| 22437 | |||
| 22438 | int | ||
| 22439 | main () | ||
| 22440 | { | ||
| 22441 | static krb5_error ac_aggr; | ||
| 22442 | if (ac_aggr.text) | ||
| 22443 | return 0; | ||
| 22444 | ; | ||
| 22445 | return 0; | ||
| 22446 | } | ||
| 22447 | _ACEOF | ||
| 22448 | rm -f conftest.$ac_objext | ||
| 22449 | if { (ac_try="$ac_compile" | ||
| 22450 | case "(($ac_try" in | ||
| 22451 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22452 | *) ac_try_echo=$ac_try;; | ||
| 22453 | esac | ||
| 22454 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22455 | $as_echo "$ac_try_echo") >&5 | ||
| 22456 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22457 | ac_status=$? | ||
| 22458 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22459 | rm -f conftest.er1 | ||
| 22460 | cat conftest.err >&5 | ||
| 22461 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22462 | (exit $ac_status); } && { | ||
| 22463 | test -z "$ac_c_werror_flag" || | ||
| 22464 | test ! -s conftest.err | ||
| 22465 | } && test -s conftest.$ac_objext; then | ||
| 22466 | ac_cv_member_krb5_error_text=yes | ||
| 22467 | else | ||
| 22468 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22469 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22470 | |||
| 22471 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22472 | /* confdefs.h. */ | ||
| 22473 | _ACEOF | ||
| 22474 | cat confdefs.h >>conftest.$ac_ext | ||
| 22475 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22476 | /* end confdefs.h. */ | ||
| 22477 | #include <krb5.h> | ||
| 22478 | |||
| 22479 | int | ||
| 22480 | main () | ||
| 22481 | { | ||
| 22482 | static krb5_error ac_aggr; | ||
| 22483 | if (sizeof ac_aggr.text) | ||
| 22484 | return 0; | ||
| 22485 | ; | ||
| 22486 | return 0; | ||
| 22487 | } | ||
| 22488 | _ACEOF | ||
| 22489 | rm -f conftest.$ac_objext | ||
| 22490 | if { (ac_try="$ac_compile" | ||
| 22491 | case "(($ac_try" in | ||
| 22492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22493 | *) ac_try_echo=$ac_try;; | ||
| 22494 | esac | ||
| 22495 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22496 | $as_echo "$ac_try_echo") >&5 | ||
| 22497 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22498 | ac_status=$? | ||
| 22499 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22500 | rm -f conftest.er1 | ||
| 22501 | cat conftest.err >&5 | ||
| 22502 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22503 | (exit $ac_status); } && { | ||
| 22504 | test -z "$ac_c_werror_flag" || | ||
| 22505 | test ! -s conftest.err | ||
| 22506 | } && test -s conftest.$ac_objext; then | ||
| 22507 | ac_cv_member_krb5_error_text=yes | ||
| 22508 | else | ||
| 22509 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22510 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22511 | |||
| 22512 | ac_cv_member_krb5_error_text=no | ||
| 22513 | fi | ||
| 22514 | |||
| 22515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22516 | fi | ||
| 22517 | |||
| 22518 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22519 | fi | ||
| 22520 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 | ||
| 22521 | $as_echo "$ac_cv_member_krb5_error_text" >&6; } | ||
| 22522 | if test $ac_cv_member_krb5_error_text = yes; then | ||
| 22523 | 12371 | ||
| 22524 | cat >>confdefs.h <<_ACEOF | 12372 | cat >>confdefs.h <<_ACEOF |
| 22525 | #define HAVE_KRB5_ERROR_TEXT 1 | 12373 | #define HAVE_KRB5_ERROR_TEXT 1 |
| @@ -22527,104 +12375,9 @@ _ACEOF | |||
| 22527 | 12375 | ||
| 22528 | 12376 | ||
| 22529 | fi | 12377 | fi |
| 22530 | { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 | 12378 | ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> |
| 22531 | $as_echo_n "checking for krb5_error.e_text... " >&6; } | 12379 | " |
| 22532 | if test "${ac_cv_member_krb5_error_e_text+set}" = set; then | 12380 | if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : |
| 22533 | $as_echo_n "(cached) " >&6 | ||
| 22534 | else | ||
| 22535 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22536 | /* confdefs.h. */ | ||
| 22537 | _ACEOF | ||
| 22538 | cat confdefs.h >>conftest.$ac_ext | ||
| 22539 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22540 | /* end confdefs.h. */ | ||
| 22541 | #include <krb5.h> | ||
| 22542 | |||
| 22543 | int | ||
| 22544 | main () | ||
| 22545 | { | ||
| 22546 | static krb5_error ac_aggr; | ||
| 22547 | if (ac_aggr.e_text) | ||
| 22548 | return 0; | ||
| 22549 | ; | ||
| 22550 | return 0; | ||
| 22551 | } | ||
| 22552 | _ACEOF | ||
| 22553 | rm -f conftest.$ac_objext | ||
| 22554 | if { (ac_try="$ac_compile" | ||
| 22555 | case "(($ac_try" in | ||
| 22556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22557 | *) ac_try_echo=$ac_try;; | ||
| 22558 | esac | ||
| 22559 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22560 | $as_echo "$ac_try_echo") >&5 | ||
| 22561 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22562 | ac_status=$? | ||
| 22563 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22564 | rm -f conftest.er1 | ||
| 22565 | cat conftest.err >&5 | ||
| 22566 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22567 | (exit $ac_status); } && { | ||
| 22568 | test -z "$ac_c_werror_flag" || | ||
| 22569 | test ! -s conftest.err | ||
| 22570 | } && test -s conftest.$ac_objext; then | ||
| 22571 | ac_cv_member_krb5_error_e_text=yes | ||
| 22572 | else | ||
| 22573 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22575 | |||
| 22576 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22577 | /* confdefs.h. */ | ||
| 22578 | _ACEOF | ||
| 22579 | cat confdefs.h >>conftest.$ac_ext | ||
| 22580 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22581 | /* end confdefs.h. */ | ||
| 22582 | #include <krb5.h> | ||
| 22583 | |||
| 22584 | int | ||
| 22585 | main () | ||
| 22586 | { | ||
| 22587 | static krb5_error ac_aggr; | ||
| 22588 | if (sizeof ac_aggr.e_text) | ||
| 22589 | return 0; | ||
| 22590 | ; | ||
| 22591 | return 0; | ||
| 22592 | } | ||
| 22593 | _ACEOF | ||
| 22594 | rm -f conftest.$ac_objext | ||
| 22595 | if { (ac_try="$ac_compile" | ||
| 22596 | case "(($ac_try" in | ||
| 22597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22598 | *) ac_try_echo=$ac_try;; | ||
| 22599 | esac | ||
| 22600 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22601 | $as_echo "$ac_try_echo") >&5 | ||
| 22602 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22603 | ac_status=$? | ||
| 22604 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22605 | rm -f conftest.er1 | ||
| 22606 | cat conftest.err >&5 | ||
| 22607 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22608 | (exit $ac_status); } && { | ||
| 22609 | test -z "$ac_c_werror_flag" || | ||
| 22610 | test ! -s conftest.err | ||
| 22611 | } && test -s conftest.$ac_objext; then | ||
| 22612 | ac_cv_member_krb5_error_e_text=yes | ||
| 22613 | else | ||
| 22614 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22615 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22616 | |||
| 22617 | ac_cv_member_krb5_error_e_text=no | ||
| 22618 | fi | ||
| 22619 | |||
| 22620 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22621 | fi | ||
| 22622 | |||
| 22623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22624 | fi | ||
| 22625 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 | ||
| 22626 | $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } | ||
| 22627 | if test $ac_cv_member_krb5_error_e_text = yes; then | ||
| 22628 | 12381 | ||
| 22629 | cat >>confdefs.h <<_ACEOF | 12382 | cat >>confdefs.h <<_ACEOF |
| 22630 | #define HAVE_KRB5_ERROR_E_TEXT 1 | 12383 | #define HAVE_KRB5_ERROR_E_TEXT 1 |
| @@ -22638,429 +12391,30 @@ fi | |||
| 22638 | done | 12391 | done |
| 22639 | 12392 | ||
| 22640 | else | 12393 | else |
| 22641 | 12394 | for ac_header in des.h | |
| 22642 | for ac_header in des.h | 12395 | do : |
| 22643 | do | 12396 | ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" |
| 22644 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12397 | if test "x$ac_cv_header_des_h" = x""yes; then : |
| 22645 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22646 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22647 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22648 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22649 | $as_echo_n "(cached) " >&6 | ||
| 22650 | fi | ||
| 22651 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22652 | $as_echo "$as_val"'` | ||
| 22653 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22654 | $as_echo "$ac_res" >&6; } | ||
| 22655 | else | ||
| 22656 | # Is the header compilable? | ||
| 22657 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22658 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22659 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22660 | /* confdefs.h. */ | ||
| 22661 | _ACEOF | ||
| 22662 | cat confdefs.h >>conftest.$ac_ext | ||
| 22663 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22664 | /* end confdefs.h. */ | ||
| 22665 | $ac_includes_default | ||
| 22666 | #include <$ac_header> | ||
| 22667 | _ACEOF | ||
| 22668 | rm -f conftest.$ac_objext | ||
| 22669 | if { (ac_try="$ac_compile" | ||
| 22670 | case "(($ac_try" in | ||
| 22671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22672 | *) ac_try_echo=$ac_try;; | ||
| 22673 | esac | ||
| 22674 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22675 | $as_echo "$ac_try_echo") >&5 | ||
| 22676 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22677 | ac_status=$? | ||
| 22678 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22679 | rm -f conftest.er1 | ||
| 22680 | cat conftest.err >&5 | ||
| 22681 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22682 | (exit $ac_status); } && { | ||
| 22683 | test -z "$ac_c_werror_flag" || | ||
| 22684 | test ! -s conftest.err | ||
| 22685 | } && test -s conftest.$ac_objext; then | ||
| 22686 | ac_header_compiler=yes | ||
| 22687 | else | ||
| 22688 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22689 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22690 | |||
| 22691 | ac_header_compiler=no | ||
| 22692 | fi | ||
| 22693 | |||
| 22694 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22695 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22696 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22697 | |||
| 22698 | # Is the header present? | ||
| 22699 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22700 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22701 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22702 | /* confdefs.h. */ | ||
| 22703 | _ACEOF | ||
| 22704 | cat confdefs.h >>conftest.$ac_ext | ||
| 22705 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22706 | /* end confdefs.h. */ | ||
| 22707 | #include <$ac_header> | ||
| 22708 | _ACEOF | ||
| 22709 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22710 | case "(($ac_try" in | ||
| 22711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22712 | *) ac_try_echo=$ac_try;; | ||
| 22713 | esac | ||
| 22714 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22715 | $as_echo "$ac_try_echo") >&5 | ||
| 22716 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22717 | ac_status=$? | ||
| 22718 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22719 | rm -f conftest.er1 | ||
| 22720 | cat conftest.err >&5 | ||
| 22721 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22722 | (exit $ac_status); } >/dev/null && { | ||
| 22723 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 22724 | test ! -s conftest.err | ||
| 22725 | }; then | ||
| 22726 | ac_header_preproc=yes | ||
| 22727 | else | ||
| 22728 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22729 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22730 | |||
| 22731 | ac_header_preproc=no | ||
| 22732 | fi | ||
| 22733 | |||
| 22734 | rm -f conftest.err conftest.$ac_ext | ||
| 22735 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 22736 | $as_echo "$ac_header_preproc" >&6; } | ||
| 22737 | |||
| 22738 | # So? What about this header? | ||
| 22739 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 22740 | yes:no: ) | ||
| 22741 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 22742 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 22743 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 22744 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 22745 | ac_header_preproc=yes | ||
| 22746 | ;; | ||
| 22747 | no:yes:* ) | ||
| 22748 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 22749 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 22750 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 22751 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 22752 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 22753 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 22754 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 22755 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 22756 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 22757 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 22758 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 22759 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 22760 | |||
| 22761 | ;; | ||
| 22762 | esac | ||
| 22763 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22764 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22765 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22766 | $as_echo_n "(cached) " >&6 | ||
| 22767 | else | ||
| 22768 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 22769 | fi | ||
| 22770 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22771 | $as_echo "$as_val"'` | ||
| 22772 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22773 | $as_echo "$ac_res" >&6; } | ||
| 22774 | |||
| 22775 | fi | ||
| 22776 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 22777 | $as_echo "$as_val"'` = yes; then | ||
| 22778 | cat >>confdefs.h <<_ACEOF | 12398 | cat >>confdefs.h <<_ACEOF |
| 22779 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12399 | #define HAVE_DES_H 1 |
| 22780 | _ACEOF | ||
| 22781 | |||
| 22782 | else | ||
| 22783 | |||
| 22784 | for ac_header in kerberosIV/des.h | ||
| 22785 | do | ||
| 22786 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 22787 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22788 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22789 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22790 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22791 | $as_echo_n "(cached) " >&6 | ||
| 22792 | fi | ||
| 22793 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22794 | $as_echo "$as_val"'` | ||
| 22795 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22796 | $as_echo "$ac_res" >&6; } | ||
| 22797 | else | ||
| 22798 | # Is the header compilable? | ||
| 22799 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22800 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22801 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22802 | /* confdefs.h. */ | ||
| 22803 | _ACEOF | 12400 | _ACEOF |
| 22804 | cat confdefs.h >>conftest.$ac_ext | ||
| 22805 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22806 | /* end confdefs.h. */ | ||
| 22807 | $ac_includes_default | ||
| 22808 | #include <$ac_header> | ||
| 22809 | _ACEOF | ||
| 22810 | rm -f conftest.$ac_objext | ||
| 22811 | if { (ac_try="$ac_compile" | ||
| 22812 | case "(($ac_try" in | ||
| 22813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22814 | *) ac_try_echo=$ac_try;; | ||
| 22815 | esac | ||
| 22816 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22817 | $as_echo "$ac_try_echo") >&5 | ||
| 22818 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22819 | ac_status=$? | ||
| 22820 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22821 | rm -f conftest.er1 | ||
| 22822 | cat conftest.err >&5 | ||
| 22823 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22824 | (exit $ac_status); } && { | ||
| 22825 | test -z "$ac_c_werror_flag" || | ||
| 22826 | test ! -s conftest.err | ||
| 22827 | } && test -s conftest.$ac_objext; then | ||
| 22828 | ac_header_compiler=yes | ||
| 22829 | else | ||
| 22830 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22831 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22832 | |||
| 22833 | ac_header_compiler=no | ||
| 22834 | fi | ||
| 22835 | |||
| 22836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22837 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22838 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22839 | |||
| 22840 | # Is the header present? | ||
| 22841 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22842 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22843 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22844 | /* confdefs.h. */ | ||
| 22845 | _ACEOF | ||
| 22846 | cat confdefs.h >>conftest.$ac_ext | ||
| 22847 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22848 | /* end confdefs.h. */ | ||
| 22849 | #include <$ac_header> | ||
| 22850 | _ACEOF | ||
| 22851 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22852 | case "(($ac_try" in | ||
| 22853 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22854 | *) ac_try_echo=$ac_try;; | ||
| 22855 | esac | ||
| 22856 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22857 | $as_echo "$ac_try_echo") >&5 | ||
| 22858 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22859 | ac_status=$? | ||
| 22860 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22861 | rm -f conftest.er1 | ||
| 22862 | cat conftest.err >&5 | ||
| 22863 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22864 | (exit $ac_status); } >/dev/null && { | ||
| 22865 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 22866 | test ! -s conftest.err | ||
| 22867 | }; then | ||
| 22868 | ac_header_preproc=yes | ||
| 22869 | else | ||
| 22870 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22871 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22872 | |||
| 22873 | ac_header_preproc=no | ||
| 22874 | fi | ||
| 22875 | |||
| 22876 | rm -f conftest.err conftest.$ac_ext | ||
| 22877 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 22878 | $as_echo "$ac_header_preproc" >&6; } | ||
| 22879 | |||
| 22880 | # So? What about this header? | ||
| 22881 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 22882 | yes:no: ) | ||
| 22883 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 22884 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 22885 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 22886 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 22887 | ac_header_preproc=yes | ||
| 22888 | ;; | ||
| 22889 | no:yes:* ) | ||
| 22890 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 22891 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 22892 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 22893 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 22894 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 22895 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 22896 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 22897 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 22898 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 22899 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 22900 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 22901 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 22902 | 12401 | ||
| 22903 | ;; | ||
| 22904 | esac | ||
| 22905 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22906 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22907 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22908 | $as_echo_n "(cached) " >&6 | ||
| 22909 | else | 12402 | else |
| 22910 | eval "$as_ac_Header=\$ac_header_preproc" | 12403 | for ac_header in kerberosIV/des.h |
| 22911 | fi | 12404 | do : |
| 22912 | ac_res=`eval 'as_val=${'$as_ac_Header'} | 12405 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" |
| 22913 | $as_echo "$as_val"'` | 12406 | if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : |
| 22914 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22915 | $as_echo "$ac_res" >&6; } | ||
| 22916 | |||
| 22917 | fi | ||
| 22918 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 22919 | $as_echo "$as_val"'` = yes; then | ||
| 22920 | cat >>confdefs.h <<_ACEOF | 12407 | cat >>confdefs.h <<_ACEOF |
| 22921 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12408 | #define HAVE_KERBEROSIV_DES_H 1 |
| 22922 | _ACEOF | 12409 | _ACEOF |
| 22923 | 12410 | ||
| 22924 | else | 12411 | else |
| 22925 | 12412 | for ac_header in kerberos/des.h | |
| 22926 | for ac_header in kerberos/des.h | 12413 | do : |
| 22927 | do | 12414 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" |
| 22928 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12415 | if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : |
| 22929 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22930 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22931 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22932 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22933 | $as_echo_n "(cached) " >&6 | ||
| 22934 | fi | ||
| 22935 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22936 | $as_echo "$as_val"'` | ||
| 22937 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22938 | $as_echo "$ac_res" >&6; } | ||
| 22939 | else | ||
| 22940 | # Is the header compilable? | ||
| 22941 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22942 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22943 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22944 | /* confdefs.h. */ | ||
| 22945 | _ACEOF | ||
| 22946 | cat confdefs.h >>conftest.$ac_ext | ||
| 22947 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22948 | /* end confdefs.h. */ | ||
| 22949 | $ac_includes_default | ||
| 22950 | #include <$ac_header> | ||
| 22951 | _ACEOF | ||
| 22952 | rm -f conftest.$ac_objext | ||
| 22953 | if { (ac_try="$ac_compile" | ||
| 22954 | case "(($ac_try" in | ||
| 22955 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22956 | *) ac_try_echo=$ac_try;; | ||
| 22957 | esac | ||
| 22958 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22959 | $as_echo "$ac_try_echo") >&5 | ||
| 22960 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22961 | ac_status=$? | ||
| 22962 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22963 | rm -f conftest.er1 | ||
| 22964 | cat conftest.err >&5 | ||
| 22965 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22966 | (exit $ac_status); } && { | ||
| 22967 | test -z "$ac_c_werror_flag" || | ||
| 22968 | test ! -s conftest.err | ||
| 22969 | } && test -s conftest.$ac_objext; then | ||
| 22970 | ac_header_compiler=yes | ||
| 22971 | else | ||
| 22972 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22973 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22974 | |||
| 22975 | ac_header_compiler=no | ||
| 22976 | fi | ||
| 22977 | |||
| 22978 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22979 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22980 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22981 | |||
| 22982 | # Is the header present? | ||
| 22983 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22984 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22985 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22986 | /* confdefs.h. */ | ||
| 22987 | _ACEOF | ||
| 22988 | cat confdefs.h >>conftest.$ac_ext | ||
| 22989 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22990 | /* end confdefs.h. */ | ||
| 22991 | #include <$ac_header> | ||
| 22992 | _ACEOF | ||
| 22993 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22994 | case "(($ac_try" in | ||
| 22995 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22996 | *) ac_try_echo=$ac_try;; | ||
| 22997 | esac | ||
| 22998 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22999 | $as_echo "$ac_try_echo") >&5 | ||
| 23000 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23001 | ac_status=$? | ||
| 23002 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23003 | rm -f conftest.er1 | ||
| 23004 | cat conftest.err >&5 | ||
| 23005 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23006 | (exit $ac_status); } >/dev/null && { | ||
| 23007 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23008 | test ! -s conftest.err | ||
| 23009 | }; then | ||
| 23010 | ac_header_preproc=yes | ||
| 23011 | else | ||
| 23012 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23013 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23014 | |||
| 23015 | ac_header_preproc=no | ||
| 23016 | fi | ||
| 23017 | |||
| 23018 | rm -f conftest.err conftest.$ac_ext | ||
| 23019 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23020 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23021 | |||
| 23022 | # So? What about this header? | ||
| 23023 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23024 | yes:no: ) | ||
| 23025 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23026 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23027 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23028 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23029 | ac_header_preproc=yes | ||
| 23030 | ;; | ||
| 23031 | no:yes:* ) | ||
| 23032 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23033 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23034 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23035 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23036 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23037 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23038 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23039 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23040 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23041 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23042 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23043 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23044 | |||
| 23045 | ;; | ||
| 23046 | esac | ||
| 23047 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23048 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23049 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23050 | $as_echo_n "(cached) " >&6 | ||
| 23051 | else | ||
| 23052 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23053 | fi | ||
| 23054 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23055 | $as_echo "$as_val"'` | ||
| 23056 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23057 | $as_echo "$ac_res" >&6; } | ||
| 23058 | |||
| 23059 | fi | ||
| 23060 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23061 | $as_echo "$as_val"'` = yes; then | ||
| 23062 | cat >>confdefs.h <<_ACEOF | 12416 | cat >>confdefs.h <<_ACEOF |
| 23063 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12417 | #define HAVE_KERBEROS_DES_H 1 |
| 23064 | _ACEOF | 12418 | _ACEOF |
| 23065 | 12419 | ||
| 23066 | fi | 12420 | fi |
| @@ -23075,429 +12429,30 @@ fi | |||
| 23075 | 12429 | ||
| 23076 | done | 12430 | done |
| 23077 | 12431 | ||
| 23078 | 12432 | for ac_header in krb.h | |
| 23079 | for ac_header in krb.h | 12433 | do : |
| 23080 | do | 12434 | ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" |
| 23081 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12435 | if test "x$ac_cv_header_krb_h" = x""yes; then : |
| 23082 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23083 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23084 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23085 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23086 | $as_echo_n "(cached) " >&6 | ||
| 23087 | fi | ||
| 23088 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23089 | $as_echo "$as_val"'` | ||
| 23090 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23091 | $as_echo "$ac_res" >&6; } | ||
| 23092 | else | ||
| 23093 | # Is the header compilable? | ||
| 23094 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23095 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23096 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23097 | /* confdefs.h. */ | ||
| 23098 | _ACEOF | ||
| 23099 | cat confdefs.h >>conftest.$ac_ext | ||
| 23100 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23101 | /* end confdefs.h. */ | ||
| 23102 | $ac_includes_default | ||
| 23103 | #include <$ac_header> | ||
| 23104 | _ACEOF | ||
| 23105 | rm -f conftest.$ac_objext | ||
| 23106 | if { (ac_try="$ac_compile" | ||
| 23107 | case "(($ac_try" in | ||
| 23108 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23109 | *) ac_try_echo=$ac_try;; | ||
| 23110 | esac | ||
| 23111 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23112 | $as_echo "$ac_try_echo") >&5 | ||
| 23113 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23114 | ac_status=$? | ||
| 23115 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23116 | rm -f conftest.er1 | ||
| 23117 | cat conftest.err >&5 | ||
| 23118 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23119 | (exit $ac_status); } && { | ||
| 23120 | test -z "$ac_c_werror_flag" || | ||
| 23121 | test ! -s conftest.err | ||
| 23122 | } && test -s conftest.$ac_objext; then | ||
| 23123 | ac_header_compiler=yes | ||
| 23124 | else | ||
| 23125 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23126 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23127 | |||
| 23128 | ac_header_compiler=no | ||
| 23129 | fi | ||
| 23130 | |||
| 23131 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23132 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23133 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23134 | |||
| 23135 | # Is the header present? | ||
| 23136 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23137 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23138 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23139 | /* confdefs.h. */ | ||
| 23140 | _ACEOF | ||
| 23141 | cat confdefs.h >>conftest.$ac_ext | ||
| 23142 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23143 | /* end confdefs.h. */ | ||
| 23144 | #include <$ac_header> | ||
| 23145 | _ACEOF | ||
| 23146 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23147 | case "(($ac_try" in | ||
| 23148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23149 | *) ac_try_echo=$ac_try;; | ||
| 23150 | esac | ||
| 23151 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23152 | $as_echo "$ac_try_echo") >&5 | ||
| 23153 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23154 | ac_status=$? | ||
| 23155 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23156 | rm -f conftest.er1 | ||
| 23157 | cat conftest.err >&5 | ||
| 23158 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23159 | (exit $ac_status); } >/dev/null && { | ||
| 23160 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23161 | test ! -s conftest.err | ||
| 23162 | }; then | ||
| 23163 | ac_header_preproc=yes | ||
| 23164 | else | ||
| 23165 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23166 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23167 | |||
| 23168 | ac_header_preproc=no | ||
| 23169 | fi | ||
| 23170 | |||
| 23171 | rm -f conftest.err conftest.$ac_ext | ||
| 23172 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23173 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23174 | |||
| 23175 | # So? What about this header? | ||
| 23176 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23177 | yes:no: ) | ||
| 23178 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23179 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23180 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23181 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23182 | ac_header_preproc=yes | ||
| 23183 | ;; | ||
| 23184 | no:yes:* ) | ||
| 23185 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23186 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23187 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23188 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23189 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23190 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23191 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23192 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23193 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23194 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23195 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23196 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23197 | |||
| 23198 | ;; | ||
| 23199 | esac | ||
| 23200 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23201 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23202 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23203 | $as_echo_n "(cached) " >&6 | ||
| 23204 | else | ||
| 23205 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23206 | fi | ||
| 23207 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23208 | $as_echo "$as_val"'` | ||
| 23209 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23210 | $as_echo "$ac_res" >&6; } | ||
| 23211 | |||
| 23212 | fi | ||
| 23213 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23214 | $as_echo "$as_val"'` = yes; then | ||
| 23215 | cat >>confdefs.h <<_ACEOF | 12436 | cat >>confdefs.h <<_ACEOF |
| 23216 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12437 | #define HAVE_KRB_H 1 |
| 23217 | _ACEOF | ||
| 23218 | |||
| 23219 | else | ||
| 23220 | |||
| 23221 | for ac_header in kerberosIV/krb.h | ||
| 23222 | do | ||
| 23223 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23224 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23225 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23226 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23227 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23228 | $as_echo_n "(cached) " >&6 | ||
| 23229 | fi | ||
| 23230 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23231 | $as_echo "$as_val"'` | ||
| 23232 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23233 | $as_echo "$ac_res" >&6; } | ||
| 23234 | else | ||
| 23235 | # Is the header compilable? | ||
| 23236 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23237 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23238 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23239 | /* confdefs.h. */ | ||
| 23240 | _ACEOF | ||
| 23241 | cat confdefs.h >>conftest.$ac_ext | ||
| 23242 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23243 | /* end confdefs.h. */ | ||
| 23244 | $ac_includes_default | ||
| 23245 | #include <$ac_header> | ||
| 23246 | _ACEOF | ||
| 23247 | rm -f conftest.$ac_objext | ||
| 23248 | if { (ac_try="$ac_compile" | ||
| 23249 | case "(($ac_try" in | ||
| 23250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23251 | *) ac_try_echo=$ac_try;; | ||
| 23252 | esac | ||
| 23253 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23254 | $as_echo "$ac_try_echo") >&5 | ||
| 23255 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23256 | ac_status=$? | ||
| 23257 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23258 | rm -f conftest.er1 | ||
| 23259 | cat conftest.err >&5 | ||
| 23260 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23261 | (exit $ac_status); } && { | ||
| 23262 | test -z "$ac_c_werror_flag" || | ||
| 23263 | test ! -s conftest.err | ||
| 23264 | } && test -s conftest.$ac_objext; then | ||
| 23265 | ac_header_compiler=yes | ||
| 23266 | else | ||
| 23267 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23268 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23269 | |||
| 23270 | ac_header_compiler=no | ||
| 23271 | fi | ||
| 23272 | |||
| 23273 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23274 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23275 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23276 | |||
| 23277 | # Is the header present? | ||
| 23278 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23279 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23280 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23281 | /* confdefs.h. */ | ||
| 23282 | _ACEOF | ||
| 23283 | cat confdefs.h >>conftest.$ac_ext | ||
| 23284 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23285 | /* end confdefs.h. */ | ||
| 23286 | #include <$ac_header> | ||
| 23287 | _ACEOF | 12438 | _ACEOF |
| 23288 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23289 | case "(($ac_try" in | ||
| 23290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23291 | *) ac_try_echo=$ac_try;; | ||
| 23292 | esac | ||
| 23293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23294 | $as_echo "$ac_try_echo") >&5 | ||
| 23295 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23296 | ac_status=$? | ||
| 23297 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23298 | rm -f conftest.er1 | ||
| 23299 | cat conftest.err >&5 | ||
| 23300 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23301 | (exit $ac_status); } >/dev/null && { | ||
| 23302 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23303 | test ! -s conftest.err | ||
| 23304 | }; then | ||
| 23305 | ac_header_preproc=yes | ||
| 23306 | else | ||
| 23307 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23308 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23309 | |||
| 23310 | ac_header_preproc=no | ||
| 23311 | fi | ||
| 23312 | |||
| 23313 | rm -f conftest.err conftest.$ac_ext | ||
| 23314 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23315 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23316 | |||
| 23317 | # So? What about this header? | ||
| 23318 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23319 | yes:no: ) | ||
| 23320 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23321 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23322 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23323 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23324 | ac_header_preproc=yes | ||
| 23325 | ;; | ||
| 23326 | no:yes:* ) | ||
| 23327 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23328 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23329 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23330 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23331 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23332 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23333 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23334 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23335 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23336 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23337 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23338 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23339 | 12439 | ||
| 23340 | ;; | ||
| 23341 | esac | ||
| 23342 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23343 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23344 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23345 | $as_echo_n "(cached) " >&6 | ||
| 23346 | else | 12440 | else |
| 23347 | eval "$as_ac_Header=\$ac_header_preproc" | 12441 | for ac_header in kerberosIV/krb.h |
| 23348 | fi | 12442 | do : |
| 23349 | ac_res=`eval 'as_val=${'$as_ac_Header'} | 12443 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" |
| 23350 | $as_echo "$as_val"'` | 12444 | if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : |
| 23351 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23352 | $as_echo "$ac_res" >&6; } | ||
| 23353 | |||
| 23354 | fi | ||
| 23355 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23356 | $as_echo "$as_val"'` = yes; then | ||
| 23357 | cat >>confdefs.h <<_ACEOF | 12445 | cat >>confdefs.h <<_ACEOF |
| 23358 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12446 | #define HAVE_KERBEROSIV_KRB_H 1 |
| 23359 | _ACEOF | ||
| 23360 | |||
| 23361 | else | ||
| 23362 | |||
| 23363 | for ac_header in kerberos/krb.h | ||
| 23364 | do | ||
| 23365 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23366 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23367 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23368 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23369 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23370 | $as_echo_n "(cached) " >&6 | ||
| 23371 | fi | ||
| 23372 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23373 | $as_echo "$as_val"'` | ||
| 23374 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23375 | $as_echo "$ac_res" >&6; } | ||
| 23376 | else | ||
| 23377 | # Is the header compilable? | ||
| 23378 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23379 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23380 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23381 | /* confdefs.h. */ | ||
| 23382 | _ACEOF | ||
| 23383 | cat confdefs.h >>conftest.$ac_ext | ||
| 23384 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23385 | /* end confdefs.h. */ | ||
| 23386 | $ac_includes_default | ||
| 23387 | #include <$ac_header> | ||
| 23388 | _ACEOF | 12447 | _ACEOF |
| 23389 | rm -f conftest.$ac_objext | ||
| 23390 | if { (ac_try="$ac_compile" | ||
| 23391 | case "(($ac_try" in | ||
| 23392 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23393 | *) ac_try_echo=$ac_try;; | ||
| 23394 | esac | ||
| 23395 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23396 | $as_echo "$ac_try_echo") >&5 | ||
| 23397 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23398 | ac_status=$? | ||
| 23399 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23400 | rm -f conftest.er1 | ||
| 23401 | cat conftest.err >&5 | ||
| 23402 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23403 | (exit $ac_status); } && { | ||
| 23404 | test -z "$ac_c_werror_flag" || | ||
| 23405 | test ! -s conftest.err | ||
| 23406 | } && test -s conftest.$ac_objext; then | ||
| 23407 | ac_header_compiler=yes | ||
| 23408 | else | ||
| 23409 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23410 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23411 | |||
| 23412 | ac_header_compiler=no | ||
| 23413 | fi | ||
| 23414 | |||
| 23415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23416 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23417 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23418 | |||
| 23419 | # Is the header present? | ||
| 23420 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23421 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23422 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23423 | /* confdefs.h. */ | ||
| 23424 | _ACEOF | ||
| 23425 | cat confdefs.h >>conftest.$ac_ext | ||
| 23426 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23427 | /* end confdefs.h. */ | ||
| 23428 | #include <$ac_header> | ||
| 23429 | _ACEOF | ||
| 23430 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23431 | case "(($ac_try" in | ||
| 23432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23433 | *) ac_try_echo=$ac_try;; | ||
| 23434 | esac | ||
| 23435 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23436 | $as_echo "$ac_try_echo") >&5 | ||
| 23437 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23438 | ac_status=$? | ||
| 23439 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23440 | rm -f conftest.er1 | ||
| 23441 | cat conftest.err >&5 | ||
| 23442 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23443 | (exit $ac_status); } >/dev/null && { | ||
| 23444 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23445 | test ! -s conftest.err | ||
| 23446 | }; then | ||
| 23447 | ac_header_preproc=yes | ||
| 23448 | else | ||
| 23449 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23450 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23451 | |||
| 23452 | ac_header_preproc=no | ||
| 23453 | fi | ||
| 23454 | 12448 | ||
| 23455 | rm -f conftest.err conftest.$ac_ext | ||
| 23456 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23457 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23458 | |||
| 23459 | # So? What about this header? | ||
| 23460 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23461 | yes:no: ) | ||
| 23462 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23463 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23464 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23465 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23466 | ac_header_preproc=yes | ||
| 23467 | ;; | ||
| 23468 | no:yes:* ) | ||
| 23469 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23470 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23471 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23472 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23473 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23474 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23475 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23476 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23477 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23478 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23479 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23480 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23481 | |||
| 23482 | ;; | ||
| 23483 | esac | ||
| 23484 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23485 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23486 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23487 | $as_echo_n "(cached) " >&6 | ||
| 23488 | else | 12449 | else |
| 23489 | eval "$as_ac_Header=\$ac_header_preproc" | 12450 | for ac_header in kerberos/krb.h |
| 23490 | fi | 12451 | do : |
| 23491 | ac_res=`eval 'as_val=${'$as_ac_Header'} | 12452 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" |
| 23492 | $as_echo "$as_val"'` | 12453 | if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : |
| 23493 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23494 | $as_echo "$ac_res" >&6; } | ||
| 23495 | |||
| 23496 | fi | ||
| 23497 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23498 | $as_echo "$as_val"'` = yes; then | ||
| 23499 | cat >>confdefs.h <<_ACEOF | 12454 | cat >>confdefs.h <<_ACEOF |
| 23500 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12455 | #define HAVE_KERBEROS_KRB_H 1 |
| 23501 | _ACEOF | 12456 | _ACEOF |
| 23502 | 12457 | ||
| 23503 | fi | 12458 | fi |
| @@ -23513,145 +12468,12 @@ fi | |||
| 23513 | done | 12468 | done |
| 23514 | 12469 | ||
| 23515 | fi | 12470 | fi |
| 23516 | 12471 | for ac_header in com_err.h | |
| 23517 | for ac_header in com_err.h | 12472 | do : |
| 23518 | do | 12473 | ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" |
| 23519 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12474 | if test "x$ac_cv_header_com_err_h" = x""yes; then : |
| 23520 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23521 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23522 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23523 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23524 | $as_echo_n "(cached) " >&6 | ||
| 23525 | fi | ||
| 23526 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23527 | $as_echo "$as_val"'` | ||
| 23528 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23529 | $as_echo "$ac_res" >&6; } | ||
| 23530 | else | ||
| 23531 | # Is the header compilable? | ||
| 23532 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23533 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23534 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23535 | /* confdefs.h. */ | ||
| 23536 | _ACEOF | ||
| 23537 | cat confdefs.h >>conftest.$ac_ext | ||
| 23538 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23539 | /* end confdefs.h. */ | ||
| 23540 | $ac_includes_default | ||
| 23541 | #include <$ac_header> | ||
| 23542 | _ACEOF | ||
| 23543 | rm -f conftest.$ac_objext | ||
| 23544 | if { (ac_try="$ac_compile" | ||
| 23545 | case "(($ac_try" in | ||
| 23546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23547 | *) ac_try_echo=$ac_try;; | ||
| 23548 | esac | ||
| 23549 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23550 | $as_echo "$ac_try_echo") >&5 | ||
| 23551 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23552 | ac_status=$? | ||
| 23553 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23554 | rm -f conftest.er1 | ||
| 23555 | cat conftest.err >&5 | ||
| 23556 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23557 | (exit $ac_status); } && { | ||
| 23558 | test -z "$ac_c_werror_flag" || | ||
| 23559 | test ! -s conftest.err | ||
| 23560 | } && test -s conftest.$ac_objext; then | ||
| 23561 | ac_header_compiler=yes | ||
| 23562 | else | ||
| 23563 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23564 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23565 | |||
| 23566 | ac_header_compiler=no | ||
| 23567 | fi | ||
| 23568 | |||
| 23569 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23570 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23571 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23572 | |||
| 23573 | # Is the header present? | ||
| 23574 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23575 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23576 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23577 | /* confdefs.h. */ | ||
| 23578 | _ACEOF | ||
| 23579 | cat confdefs.h >>conftest.$ac_ext | ||
| 23580 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23581 | /* end confdefs.h. */ | ||
| 23582 | #include <$ac_header> | ||
| 23583 | _ACEOF | ||
| 23584 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23585 | case "(($ac_try" in | ||
| 23586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23587 | *) ac_try_echo=$ac_try;; | ||
| 23588 | esac | ||
| 23589 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23590 | $as_echo "$ac_try_echo") >&5 | ||
| 23591 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23592 | ac_status=$? | ||
| 23593 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23594 | rm -f conftest.er1 | ||
| 23595 | cat conftest.err >&5 | ||
| 23596 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23597 | (exit $ac_status); } >/dev/null && { | ||
| 23598 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23599 | test ! -s conftest.err | ||
| 23600 | }; then | ||
| 23601 | ac_header_preproc=yes | ||
| 23602 | else | ||
| 23603 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23604 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23605 | |||
| 23606 | ac_header_preproc=no | ||
| 23607 | fi | ||
| 23608 | |||
| 23609 | rm -f conftest.err conftest.$ac_ext | ||
| 23610 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23611 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23612 | |||
| 23613 | # So? What about this header? | ||
| 23614 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23615 | yes:no: ) | ||
| 23616 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23617 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23618 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23619 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23620 | ac_header_preproc=yes | ||
| 23621 | ;; | ||
| 23622 | no:yes:* ) | ||
| 23623 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23624 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23625 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23626 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23627 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23628 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23629 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23630 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23631 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23632 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23633 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23634 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23635 | |||
| 23636 | ;; | ||
| 23637 | esac | ||
| 23638 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23639 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23640 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23641 | $as_echo_n "(cached) " >&6 | ||
| 23642 | else | ||
| 23643 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23644 | fi | ||
| 23645 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23646 | $as_echo "$as_val"'` | ||
| 23647 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23648 | $as_echo "$ac_res" >&6; } | ||
| 23649 | |||
| 23650 | fi | ||
| 23651 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23652 | $as_echo "$as_val"'` = yes; then | ||
| 23653 | cat >>confdefs.h <<_ACEOF | 12475 | cat >>confdefs.h <<_ACEOF |
| 23654 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12476 | #define HAVE_COM_ERR_H 1 |
| 23655 | _ACEOF | 12477 | _ACEOF |
| 23656 | 12478 | ||
| 23657 | fi | 12479 | fi |
| @@ -23662,19 +12484,14 @@ fi | |||
| 23662 | 12484 | ||
| 23663 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 12485 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 23664 | # to return localized messages. | 12486 | # to return localized messages. |
| 23665 | 12487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | |
| 23666 | { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | ||
| 23667 | $as_echo_n "checking for dgettext in -lintl... " >&6; } | 12488 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
| 23668 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 12489 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then : |
| 23669 | $as_echo_n "(cached) " >&6 | 12490 | $as_echo_n "(cached) " >&6 |
| 23670 | else | 12491 | else |
| 23671 | ac_check_lib_save_LIBS=$LIBS | 12492 | ac_check_lib_save_LIBS=$LIBS |
| 23672 | LIBS="-lintl $LIBS" | 12493 | LIBS="-lintl $LIBS" |
| 23673 | cat >conftest.$ac_ext <<_ACEOF | 12494 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23674 | /* confdefs.h. */ | ||
| 23675 | _ACEOF | ||
| 23676 | cat confdefs.h >>conftest.$ac_ext | ||
| 23677 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23678 | /* end confdefs.h. */ | 12495 | /* end confdefs.h. */ |
| 23679 | 12496 | ||
| 23680 | /* Override any GCC internal prototype to avoid an error. | 12497 | /* Override any GCC internal prototype to avoid an error. |
| @@ -23692,43 +12509,18 @@ return dgettext (); | |||
| 23692 | return 0; | 12509 | return 0; |
| 23693 | } | 12510 | } |
| 23694 | _ACEOF | 12511 | _ACEOF |
| 23695 | rm -f conftest.$ac_objext conftest$ac_exeext | 12512 | if ac_fn_c_try_link "$LINENO"; then : |
| 23696 | if { (ac_try="$ac_link" | ||
| 23697 | case "(($ac_try" in | ||
| 23698 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23699 | *) ac_try_echo=$ac_try;; | ||
| 23700 | esac | ||
| 23701 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23702 | $as_echo "$ac_try_echo") >&5 | ||
| 23703 | (eval "$ac_link") 2>conftest.er1 | ||
| 23704 | ac_status=$? | ||
| 23705 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23706 | rm -f conftest.er1 | ||
| 23707 | cat conftest.err >&5 | ||
| 23708 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23709 | (exit $ac_status); } && { | ||
| 23710 | test -z "$ac_c_werror_flag" || | ||
| 23711 | test ! -s conftest.err | ||
| 23712 | } && test -s conftest$ac_exeext && { | ||
| 23713 | test "$cross_compiling" = yes || | ||
| 23714 | $as_test_x conftest$ac_exeext | ||
| 23715 | }; then | ||
| 23716 | ac_cv_lib_intl_dgettext=yes | 12513 | ac_cv_lib_intl_dgettext=yes |
| 23717 | else | 12514 | else |
| 23718 | $as_echo "$as_me: failed program was:" >&5 | 12515 | ac_cv_lib_intl_dgettext=no |
| 23719 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23720 | |||
| 23721 | ac_cv_lib_intl_dgettext=no | ||
| 23722 | fi | 12516 | fi |
| 23723 | 12517 | rm -f core conftest.err conftest.$ac_objext \ | |
| 23724 | rm -rf conftest.dSYM | 12518 | conftest$ac_exeext conftest.$ac_ext |
| 23725 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 23726 | conftest$ac_exeext conftest.$ac_ext | ||
| 23727 | LIBS=$ac_check_lib_save_LIBS | 12519 | LIBS=$ac_check_lib_save_LIBS |
| 23728 | fi | 12520 | fi |
| 23729 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 | 12521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
| 23730 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 12522 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
| 23731 | if test $ac_cv_lib_intl_dgettext = yes; then | 12523 | if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : |
| 23732 | cat >>confdefs.h <<_ACEOF | 12524 | cat >>confdefs.h <<_ACEOF |
| 23733 | #define HAVE_LIBINTL 1 | 12525 | #define HAVE_LIBINTL 1 |
| 23734 | _ACEOF | 12526 | _ACEOF |
| @@ -23738,21 +12530,17 @@ _ACEOF | |||
| 23738 | fi | 12530 | fi |
| 23739 | 12531 | ||
| 23740 | 12532 | ||
| 23741 | { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 | 12533 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 |
| 23742 | $as_echo_n "checking whether localtime caches TZ... " >&6; } | 12534 | $as_echo_n "checking whether localtime caches TZ... " >&6; } |
| 23743 | if test "${emacs_cv_localtime_cache+set}" = set; then | 12535 | if test "${emacs_cv_localtime_cache+set}" = set; then : |
| 23744 | $as_echo_n "(cached) " >&6 | 12536 | $as_echo_n "(cached) " >&6 |
| 23745 | else | 12537 | else |
| 23746 | if test x$ac_cv_func_tzset = xyes; then | 12538 | if test x$ac_cv_func_tzset = xyes; then |
| 23747 | if test "$cross_compiling" = yes; then | 12539 | if test "$cross_compiling" = yes; then : |
| 23748 | # If we have tzset, assume the worst when cross-compiling. | 12540 | # If we have tzset, assume the worst when cross-compiling. |
| 23749 | emacs_cv_localtime_cache=yes | 12541 | emacs_cv_localtime_cache=yes |
| 23750 | else | 12542 | else |
| 23751 | cat >conftest.$ac_ext <<_ACEOF | 12543 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23752 | /* confdefs.h. */ | ||
| 23753 | _ACEOF | ||
| 23754 | cat confdefs.h >>conftest.$ac_ext | ||
| 23755 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23756 | /* end confdefs.h. */ | 12544 | /* end confdefs.h. */ |
| 23757 | #include <time.h> | 12545 | #include <time.h> |
| 23758 | extern char **environ; | 12546 | extern char **environ; |
| @@ -23784,170 +12572,48 @@ main() | |||
| 23784 | exit (0); | 12572 | exit (0); |
| 23785 | } | 12573 | } |
| 23786 | _ACEOF | 12574 | _ACEOF |
| 23787 | rm -f conftest$ac_exeext | 12575 | if ac_fn_c_try_run "$LINENO"; then : |
| 23788 | if { (ac_try="$ac_link" | ||
| 23789 | case "(($ac_try" in | ||
| 23790 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23791 | *) ac_try_echo=$ac_try;; | ||
| 23792 | esac | ||
| 23793 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23794 | $as_echo "$ac_try_echo") >&5 | ||
| 23795 | (eval "$ac_link") 2>&5 | ||
| 23796 | ac_status=$? | ||
| 23797 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23798 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 23799 | { (case "(($ac_try" in | ||
| 23800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23801 | *) ac_try_echo=$ac_try;; | ||
| 23802 | esac | ||
| 23803 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23804 | $as_echo "$ac_try_echo") >&5 | ||
| 23805 | (eval "$ac_try") 2>&5 | ||
| 23806 | ac_status=$? | ||
| 23807 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23808 | (exit $ac_status); }; }; then | ||
| 23809 | emacs_cv_localtime_cache=no | 12576 | emacs_cv_localtime_cache=no |
| 23810 | else | 12577 | else |
| 23811 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 12578 | emacs_cv_localtime_cache=yes |
| 23812 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23813 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23814 | |||
| 23815 | ( exit $ac_status ) | ||
| 23816 | emacs_cv_localtime_cache=yes | ||
| 23817 | fi | 12579 | fi |
| 23818 | rm -rf conftest.dSYM | 12580 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 23819 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12581 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 23820 | fi | 12582 | fi |
| 23821 | 12583 | ||
| 23822 | |||
| 23823 | else | 12584 | else |
| 23824 | # If we lack tzset, report that localtime does not cache TZ, | 12585 | # If we lack tzset, report that localtime does not cache TZ, |
| 23825 | # since we can't invalidate the cache if we don't have tzset. | 12586 | # since we can't invalidate the cache if we don't have tzset. |
| 23826 | emacs_cv_localtime_cache=no | 12587 | emacs_cv_localtime_cache=no |
| 23827 | fi | 12588 | fi |
| 23828 | fi | 12589 | fi |
| 23829 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 12590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 |
| 23830 | $as_echo "$emacs_cv_localtime_cache" >&6; } | 12591 | $as_echo "$emacs_cv_localtime_cache" >&6; } |
| 23831 | if test $emacs_cv_localtime_cache = yes; then | 12592 | if test $emacs_cv_localtime_cache = yes; then |
| 23832 | 12593 | ||
| 23833 | cat >>confdefs.h <<\_ACEOF | 12594 | $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h |
| 23834 | #define LOCALTIME_CACHE 1 | ||
| 23835 | _ACEOF | ||
| 23836 | 12595 | ||
| 23837 | fi | 12596 | fi |
| 23838 | 12597 | ||
| 23839 | if test "x$HAVE_TIMEVAL" = xyes; then | 12598 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 23840 | 12599 | for ac_func in gettimeofday | |
| 23841 | for ac_func in gettimeofday | 12600 | do : |
| 23842 | do | 12601 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
| 23843 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12602 | if test "x$ac_cv_func_gettimeofday" = x""yes; then : |
| 23844 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 23845 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 23846 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23847 | $as_echo_n "(cached) " >&6 | ||
| 23848 | else | ||
| 23849 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23850 | /* confdefs.h. */ | ||
| 23851 | _ACEOF | ||
| 23852 | cat confdefs.h >>conftest.$ac_ext | ||
| 23853 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23854 | /* end confdefs.h. */ | ||
| 23855 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 23856 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 23857 | #define $ac_func innocuous_$ac_func | ||
| 23858 | |||
| 23859 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 23860 | which can conflict with char $ac_func (); below. | ||
| 23861 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 23862 | <limits.h> exists even on freestanding compilers. */ | ||
| 23863 | |||
| 23864 | #ifdef __STDC__ | ||
| 23865 | # include <limits.h> | ||
| 23866 | #else | ||
| 23867 | # include <assert.h> | ||
| 23868 | #endif | ||
| 23869 | |||
| 23870 | #undef $ac_func | ||
| 23871 | |||
| 23872 | /* Override any GCC internal prototype to avoid an error. | ||
| 23873 | Use char because int might match the return type of a GCC | ||
| 23874 | builtin and then its argument prototype would still apply. */ | ||
| 23875 | #ifdef __cplusplus | ||
| 23876 | extern "C" | ||
| 23877 | #endif | ||
| 23878 | char $ac_func (); | ||
| 23879 | /* The GNU C library defines this for functions which it implements | ||
| 23880 | to always fail with ENOSYS. Some functions are actually named | ||
| 23881 | something starting with __ and the normal name is an alias. */ | ||
| 23882 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 23883 | choke me | ||
| 23884 | #endif | ||
| 23885 | |||
| 23886 | int | ||
| 23887 | main () | ||
| 23888 | { | ||
| 23889 | return $ac_func (); | ||
| 23890 | ; | ||
| 23891 | return 0; | ||
| 23892 | } | ||
| 23893 | _ACEOF | ||
| 23894 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 23895 | if { (ac_try="$ac_link" | ||
| 23896 | case "(($ac_try" in | ||
| 23897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23898 | *) ac_try_echo=$ac_try;; | ||
| 23899 | esac | ||
| 23900 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23901 | $as_echo "$ac_try_echo") >&5 | ||
| 23902 | (eval "$ac_link") 2>conftest.er1 | ||
| 23903 | ac_status=$? | ||
| 23904 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23905 | rm -f conftest.er1 | ||
| 23906 | cat conftest.err >&5 | ||
| 23907 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23908 | (exit $ac_status); } && { | ||
| 23909 | test -z "$ac_c_werror_flag" || | ||
| 23910 | test ! -s conftest.err | ||
| 23911 | } && test -s conftest$ac_exeext && { | ||
| 23912 | test "$cross_compiling" = yes || | ||
| 23913 | $as_test_x conftest$ac_exeext | ||
| 23914 | }; then | ||
| 23915 | eval "$as_ac_var=yes" | ||
| 23916 | else | ||
| 23917 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23918 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23919 | |||
| 23920 | eval "$as_ac_var=no" | ||
| 23921 | fi | ||
| 23922 | |||
| 23923 | rm -rf conftest.dSYM | ||
| 23924 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 23925 | conftest$ac_exeext conftest.$ac_ext | ||
| 23926 | fi | ||
| 23927 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 23928 | $as_echo "$as_val"'` | ||
| 23929 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23930 | $as_echo "$ac_res" >&6; } | ||
| 23931 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 23932 | $as_echo "$as_val"'` = yes; then | ||
| 23933 | cat >>confdefs.h <<_ACEOF | 12603 | cat >>confdefs.h <<_ACEOF |
| 23934 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12604 | #define HAVE_GETTIMEOFDAY 1 |
| 23935 | _ACEOF | 12605 | _ACEOF |
| 23936 | 12606 | ||
| 23937 | fi | 12607 | fi |
| 23938 | done | 12608 | done |
| 23939 | 12609 | ||
| 23940 | if test $ac_cv_func_gettimeofday = yes; then | 12610 | if test $ac_cv_func_gettimeofday = yes; then |
| 23941 | { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | 12611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 |
| 23942 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 12612 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
| 23943 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 12613 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : |
| 23944 | $as_echo_n "(cached) " >&6 | 12614 | $as_echo_n "(cached) " >&6 |
| 23945 | else | 12615 | else |
| 23946 | cat >conftest.$ac_ext <<_ACEOF | 12616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23947 | /* confdefs.h. */ | ||
| 23948 | _ACEOF | ||
| 23949 | cat confdefs.h >>conftest.$ac_ext | ||
| 23950 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23951 | /* end confdefs.h. */ | 12617 | /* end confdefs.h. */ |
| 23952 | 12618 | ||
| 23953 | #ifdef TIME_WITH_SYS_TIME | 12619 | #ifdef TIME_WITH_SYS_TIME |
| @@ -23969,268 +12635,35 @@ struct timeval time; | |||
| 23969 | return 0; | 12635 | return 0; |
| 23970 | } | 12636 | } |
| 23971 | _ACEOF | 12637 | _ACEOF |
| 23972 | rm -f conftest.$ac_objext | 12638 | if ac_fn_c_try_compile "$LINENO"; then : |
| 23973 | if { (ac_try="$ac_compile" | ||
| 23974 | case "(($ac_try" in | ||
| 23975 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23976 | *) ac_try_echo=$ac_try;; | ||
| 23977 | esac | ||
| 23978 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23979 | $as_echo "$ac_try_echo") >&5 | ||
| 23980 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23981 | ac_status=$? | ||
| 23982 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23983 | rm -f conftest.er1 | ||
| 23984 | cat conftest.err >&5 | ||
| 23985 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23986 | (exit $ac_status); } && { | ||
| 23987 | test -z "$ac_c_werror_flag" || | ||
| 23988 | test ! -s conftest.err | ||
| 23989 | } && test -s conftest.$ac_objext; then | ||
| 23990 | emacs_cv_gettimeofday_two_arguments=yes | 12639 | emacs_cv_gettimeofday_two_arguments=yes |
| 23991 | else | 12640 | else |
| 23992 | $as_echo "$as_me: failed program was:" >&5 | 12641 | emacs_cv_gettimeofday_two_arguments=no |
| 23993 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23994 | |||
| 23995 | emacs_cv_gettimeofday_two_arguments=no | ||
| 23996 | fi | 12642 | fi |
| 23997 | |||
| 23998 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12643 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 23999 | fi | 12644 | fi |
| 24000 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 12645 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
| 24001 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 12646 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
| 24002 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 12647 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| 24003 | 12648 | ||
| 24004 | cat >>confdefs.h <<\_ACEOF | 12649 | $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h |
| 24005 | #define GETTIMEOFDAY_ONE_ARGUMENT 1 | ||
| 24006 | _ACEOF | ||
| 24007 | 12650 | ||
| 24008 | fi | 12651 | fi |
| 24009 | fi | 12652 | fi |
| 24010 | fi | 12653 | fi |
| 24011 | 12654 | ||
| 24012 | ok_so_far=yes | 12655 | ok_so_far=yes |
| 24013 | { $as_echo "$as_me:$LINENO: checking for socket" >&5 | 12656 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
| 24014 | $as_echo_n "checking for socket... " >&6; } | 12657 | if test "x$ac_cv_func_socket" = x""yes; then : |
| 24015 | if test "${ac_cv_func_socket+set}" = set; then | ||
| 24016 | $as_echo_n "(cached) " >&6 | ||
| 24017 | else | ||
| 24018 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24019 | /* confdefs.h. */ | ||
| 24020 | _ACEOF | ||
| 24021 | cat confdefs.h >>conftest.$ac_ext | ||
| 24022 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24023 | /* end confdefs.h. */ | ||
| 24024 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. | ||
| 24025 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24026 | #define socket innocuous_socket | ||
| 24027 | |||
| 24028 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24029 | which can conflict with char socket (); below. | ||
| 24030 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24031 | <limits.h> exists even on freestanding compilers. */ | ||
| 24032 | |||
| 24033 | #ifdef __STDC__ | ||
| 24034 | # include <limits.h> | ||
| 24035 | #else | ||
| 24036 | # include <assert.h> | ||
| 24037 | #endif | ||
| 24038 | |||
| 24039 | #undef socket | ||
| 24040 | |||
| 24041 | /* Override any GCC internal prototype to avoid an error. | ||
| 24042 | Use char because int might match the return type of a GCC | ||
| 24043 | builtin and then its argument prototype would still apply. */ | ||
| 24044 | #ifdef __cplusplus | ||
| 24045 | extern "C" | ||
| 24046 | #endif | ||
| 24047 | char socket (); | ||
| 24048 | /* The GNU C library defines this for functions which it implements | ||
| 24049 | to always fail with ENOSYS. Some functions are actually named | ||
| 24050 | something starting with __ and the normal name is an alias. */ | ||
| 24051 | #if defined __stub_socket || defined __stub___socket | ||
| 24052 | choke me | ||
| 24053 | #endif | ||
| 24054 | 12658 | ||
| 24055 | int | ||
| 24056 | main () | ||
| 24057 | { | ||
| 24058 | return socket (); | ||
| 24059 | ; | ||
| 24060 | return 0; | ||
| 24061 | } | ||
| 24062 | _ACEOF | ||
| 24063 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24064 | if { (ac_try="$ac_link" | ||
| 24065 | case "(($ac_try" in | ||
| 24066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24067 | *) ac_try_echo=$ac_try;; | ||
| 24068 | esac | ||
| 24069 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24070 | $as_echo "$ac_try_echo") >&5 | ||
| 24071 | (eval "$ac_link") 2>conftest.er1 | ||
| 24072 | ac_status=$? | ||
| 24073 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24074 | rm -f conftest.er1 | ||
| 24075 | cat conftest.err >&5 | ||
| 24076 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24077 | (exit $ac_status); } && { | ||
| 24078 | test -z "$ac_c_werror_flag" || | ||
| 24079 | test ! -s conftest.err | ||
| 24080 | } && test -s conftest$ac_exeext && { | ||
| 24081 | test "$cross_compiling" = yes || | ||
| 24082 | $as_test_x conftest$ac_exeext | ||
| 24083 | }; then | ||
| 24084 | ac_cv_func_socket=yes | ||
| 24085 | else | ||
| 24086 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24087 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24088 | |||
| 24089 | ac_cv_func_socket=no | ||
| 24090 | fi | ||
| 24091 | |||
| 24092 | rm -rf conftest.dSYM | ||
| 24093 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24094 | conftest$ac_exeext conftest.$ac_ext | ||
| 24095 | fi | ||
| 24096 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | ||
| 24097 | $as_echo "$ac_cv_func_socket" >&6; } | ||
| 24098 | if test $ac_cv_func_socket = yes; then | ||
| 24099 | : | ||
| 24100 | else | 12659 | else |
| 24101 | ok_so_far=no | 12660 | ok_so_far=no |
| 24102 | fi | 12661 | fi |
| 24103 | 12662 | ||
| 24104 | if test $ok_so_far = yes; then | 12663 | if test $ok_so_far = yes; then |
| 24105 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | 12664 | ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" |
| 24106 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 12665 | if test "x$ac_cv_header_netinet_in_h" = x""yes; then : |
| 24107 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24108 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24109 | $as_echo_n "(cached) " >&6 | ||
| 24110 | fi | ||
| 24111 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24112 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 24113 | else | ||
| 24114 | # Is the header compilable? | ||
| 24115 | { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | ||
| 24116 | $as_echo_n "checking netinet/in.h usability... " >&6; } | ||
| 24117 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24118 | /* confdefs.h. */ | ||
| 24119 | _ACEOF | ||
| 24120 | cat confdefs.h >>conftest.$ac_ext | ||
| 24121 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24122 | /* end confdefs.h. */ | ||
| 24123 | $ac_includes_default | ||
| 24124 | #include <netinet/in.h> | ||
| 24125 | _ACEOF | ||
| 24126 | rm -f conftest.$ac_objext | ||
| 24127 | if { (ac_try="$ac_compile" | ||
| 24128 | case "(($ac_try" in | ||
| 24129 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24130 | *) ac_try_echo=$ac_try;; | ||
| 24131 | esac | ||
| 24132 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24133 | $as_echo "$ac_try_echo") >&5 | ||
| 24134 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24135 | ac_status=$? | ||
| 24136 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24137 | rm -f conftest.er1 | ||
| 24138 | cat conftest.err >&5 | ||
| 24139 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24140 | (exit $ac_status); } && { | ||
| 24141 | test -z "$ac_c_werror_flag" || | ||
| 24142 | test ! -s conftest.err | ||
| 24143 | } && test -s conftest.$ac_objext; then | ||
| 24144 | ac_header_compiler=yes | ||
| 24145 | else | ||
| 24146 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24147 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24148 | |||
| 24149 | ac_header_compiler=no | ||
| 24150 | fi | ||
| 24151 | 12666 | ||
| 24152 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24153 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24154 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24155 | |||
| 24156 | # Is the header present? | ||
| 24157 | { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | ||
| 24158 | $as_echo_n "checking netinet/in.h presence... " >&6; } | ||
| 24159 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24160 | /* confdefs.h. */ | ||
| 24161 | _ACEOF | ||
| 24162 | cat confdefs.h >>conftest.$ac_ext | ||
| 24163 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24164 | /* end confdefs.h. */ | ||
| 24165 | #include <netinet/in.h> | ||
| 24166 | _ACEOF | ||
| 24167 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24168 | case "(($ac_try" in | ||
| 24169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24170 | *) ac_try_echo=$ac_try;; | ||
| 24171 | esac | ||
| 24172 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24173 | $as_echo "$ac_try_echo") >&5 | ||
| 24174 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24175 | ac_status=$? | ||
| 24176 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24177 | rm -f conftest.er1 | ||
| 24178 | cat conftest.err >&5 | ||
| 24179 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24180 | (exit $ac_status); } >/dev/null && { | ||
| 24181 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24182 | test ! -s conftest.err | ||
| 24183 | }; then | ||
| 24184 | ac_header_preproc=yes | ||
| 24185 | else | ||
| 24186 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24187 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24188 | |||
| 24189 | ac_header_preproc=no | ||
| 24190 | fi | ||
| 24191 | |||
| 24192 | rm -f conftest.err conftest.$ac_ext | ||
| 24193 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24194 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24195 | |||
| 24196 | # So? What about this header? | ||
| 24197 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24198 | yes:no: ) | ||
| 24199 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24200 | $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24201 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 | ||
| 24202 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} | ||
| 24203 | ac_header_preproc=yes | ||
| 24204 | ;; | ||
| 24205 | no:yes:* ) | ||
| 24206 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | ||
| 24207 | $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | ||
| 24208 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | ||
| 24209 | $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | ||
| 24210 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 | ||
| 24211 | $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} | ||
| 24212 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24213 | $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24214 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | ||
| 24215 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | ||
| 24216 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | ||
| 24217 | $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | ||
| 24218 | |||
| 24219 | ;; | ||
| 24220 | esac | ||
| 24221 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | ||
| 24222 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24223 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24224 | $as_echo_n "(cached) " >&6 | ||
| 24225 | else | ||
| 24226 | ac_cv_header_netinet_in_h=$ac_header_preproc | ||
| 24227 | fi | ||
| 24228 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24229 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 24230 | |||
| 24231 | fi | ||
| 24232 | if test $ac_cv_header_netinet_in_h = yes; then | ||
| 24233 | : | ||
| 24234 | else | 12667 | else |
| 24235 | ok_so_far=no | 12668 | ok_so_far=no |
| 24236 | fi | 12669 | fi |
| @@ -24238,135 +12671,9 @@ fi | |||
| 24238 | 12671 | ||
| 24239 | fi | 12672 | fi |
| 24240 | if test $ok_so_far = yes; then | 12673 | if test $ok_so_far = yes; then |
| 24241 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 12674 | ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" |
| 24242 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 12675 | if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : |
| 24243 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24244 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24245 | $as_echo_n "(cached) " >&6 | ||
| 24246 | fi | ||
| 24247 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24248 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 24249 | else | ||
| 24250 | # Is the header compilable? | ||
| 24251 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | ||
| 24252 | $as_echo_n "checking arpa/inet.h usability... " >&6; } | ||
| 24253 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24254 | /* confdefs.h. */ | ||
| 24255 | _ACEOF | ||
| 24256 | cat confdefs.h >>conftest.$ac_ext | ||
| 24257 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24258 | /* end confdefs.h. */ | ||
| 24259 | $ac_includes_default | ||
| 24260 | #include <arpa/inet.h> | ||
| 24261 | _ACEOF | ||
| 24262 | rm -f conftest.$ac_objext | ||
| 24263 | if { (ac_try="$ac_compile" | ||
| 24264 | case "(($ac_try" in | ||
| 24265 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24266 | *) ac_try_echo=$ac_try;; | ||
| 24267 | esac | ||
| 24268 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24269 | $as_echo "$ac_try_echo") >&5 | ||
| 24270 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24271 | ac_status=$? | ||
| 24272 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24273 | rm -f conftest.er1 | ||
| 24274 | cat conftest.err >&5 | ||
| 24275 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24276 | (exit $ac_status); } && { | ||
| 24277 | test -z "$ac_c_werror_flag" || | ||
| 24278 | test ! -s conftest.err | ||
| 24279 | } && test -s conftest.$ac_objext; then | ||
| 24280 | ac_header_compiler=yes | ||
| 24281 | else | ||
| 24282 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24283 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24284 | |||
| 24285 | ac_header_compiler=no | ||
| 24286 | fi | ||
| 24287 | |||
| 24288 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24289 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24290 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24291 | 12676 | ||
| 24292 | # Is the header present? | ||
| 24293 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | ||
| 24294 | $as_echo_n "checking arpa/inet.h presence... " >&6; } | ||
| 24295 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24296 | /* confdefs.h. */ | ||
| 24297 | _ACEOF | ||
| 24298 | cat confdefs.h >>conftest.$ac_ext | ||
| 24299 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24300 | /* end confdefs.h. */ | ||
| 24301 | #include <arpa/inet.h> | ||
| 24302 | _ACEOF | ||
| 24303 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24304 | case "(($ac_try" in | ||
| 24305 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24306 | *) ac_try_echo=$ac_try;; | ||
| 24307 | esac | ||
| 24308 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24309 | $as_echo "$ac_try_echo") >&5 | ||
| 24310 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24311 | ac_status=$? | ||
| 24312 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24313 | rm -f conftest.er1 | ||
| 24314 | cat conftest.err >&5 | ||
| 24315 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24316 | (exit $ac_status); } >/dev/null && { | ||
| 24317 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24318 | test ! -s conftest.err | ||
| 24319 | }; then | ||
| 24320 | ac_header_preproc=yes | ||
| 24321 | else | ||
| 24322 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24323 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24324 | |||
| 24325 | ac_header_preproc=no | ||
| 24326 | fi | ||
| 24327 | |||
| 24328 | rm -f conftest.err conftest.$ac_ext | ||
| 24329 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24330 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24331 | |||
| 24332 | # So? What about this header? | ||
| 24333 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24334 | yes:no: ) | ||
| 24335 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24336 | $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24337 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 | ||
| 24338 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} | ||
| 24339 | ac_header_preproc=yes | ||
| 24340 | ;; | ||
| 24341 | no:yes:* ) | ||
| 24342 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | ||
| 24343 | $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | ||
| 24344 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | ||
| 24345 | $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | ||
| 24346 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 | ||
| 24347 | $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} | ||
| 24348 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24349 | $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24350 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | ||
| 24351 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | ||
| 24352 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | ||
| 24353 | $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | ||
| 24354 | |||
| 24355 | ;; | ||
| 24356 | esac | ||
| 24357 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | ||
| 24358 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24359 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24360 | $as_echo_n "(cached) " >&6 | ||
| 24361 | else | ||
| 24362 | ac_cv_header_arpa_inet_h=$ac_header_preproc | ||
| 24363 | fi | ||
| 24364 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24365 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 24366 | |||
| 24367 | fi | ||
| 24368 | if test $ac_cv_header_arpa_inet_h = yes; then | ||
| 24369 | : | ||
| 24370 | else | 12677 | else |
| 24371 | ok_so_far=no | 12678 | ok_so_far=no |
| 24372 | fi | 12679 | fi |
| @@ -24375,151 +12682,16 @@ fi | |||
| 24375 | fi | 12682 | fi |
| 24376 | if test $ok_so_far = yes; then | 12683 | if test $ok_so_far = yes; then |
| 24377 | 12684 | ||
| 24378 | cat >>confdefs.h <<\_ACEOF | 12685 | $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h |
| 24379 | #define HAVE_INET_SOCKETS 1 | ||
| 24380 | _ACEOF | ||
| 24381 | 12686 | ||
| 24382 | fi | 12687 | fi |
| 24383 | 12688 | ||
| 24384 | |||
| 24385 | for ac_header in sys/ioctl.h | 12689 | for ac_header in sys/ioctl.h |
| 24386 | do | 12690 | do : |
| 24387 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12691 | ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" |
| 24388 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 12692 | if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : |
| 24389 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24390 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24391 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24392 | $as_echo_n "(cached) " >&6 | ||
| 24393 | fi | ||
| 24394 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24395 | $as_echo "$as_val"'` | ||
| 24396 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24397 | $as_echo "$ac_res" >&6; } | ||
| 24398 | else | ||
| 24399 | # Is the header compilable? | ||
| 24400 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24401 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24402 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24403 | /* confdefs.h. */ | ||
| 24404 | _ACEOF | ||
| 24405 | cat confdefs.h >>conftest.$ac_ext | ||
| 24406 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24407 | /* end confdefs.h. */ | ||
| 24408 | $ac_includes_default | ||
| 24409 | #include <$ac_header> | ||
| 24410 | _ACEOF | ||
| 24411 | rm -f conftest.$ac_objext | ||
| 24412 | if { (ac_try="$ac_compile" | ||
| 24413 | case "(($ac_try" in | ||
| 24414 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24415 | *) ac_try_echo=$ac_try;; | ||
| 24416 | esac | ||
| 24417 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24418 | $as_echo "$ac_try_echo") >&5 | ||
| 24419 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24420 | ac_status=$? | ||
| 24421 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24422 | rm -f conftest.er1 | ||
| 24423 | cat conftest.err >&5 | ||
| 24424 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24425 | (exit $ac_status); } && { | ||
| 24426 | test -z "$ac_c_werror_flag" || | ||
| 24427 | test ! -s conftest.err | ||
| 24428 | } && test -s conftest.$ac_objext; then | ||
| 24429 | ac_header_compiler=yes | ||
| 24430 | else | ||
| 24431 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24432 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24433 | |||
| 24434 | ac_header_compiler=no | ||
| 24435 | fi | ||
| 24436 | |||
| 24437 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24438 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24439 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24440 | |||
| 24441 | # Is the header present? | ||
| 24442 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 24443 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 24444 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24445 | /* confdefs.h. */ | ||
| 24446 | _ACEOF | ||
| 24447 | cat confdefs.h >>conftest.$ac_ext | ||
| 24448 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24449 | /* end confdefs.h. */ | ||
| 24450 | #include <$ac_header> | ||
| 24451 | _ACEOF | ||
| 24452 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24453 | case "(($ac_try" in | ||
| 24454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24455 | *) ac_try_echo=$ac_try;; | ||
| 24456 | esac | ||
| 24457 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24458 | $as_echo "$ac_try_echo") >&5 | ||
| 24459 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24460 | ac_status=$? | ||
| 24461 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24462 | rm -f conftest.er1 | ||
| 24463 | cat conftest.err >&5 | ||
| 24464 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24465 | (exit $ac_status); } >/dev/null && { | ||
| 24466 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24467 | test ! -s conftest.err | ||
| 24468 | }; then | ||
| 24469 | ac_header_preproc=yes | ||
| 24470 | else | ||
| 24471 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24472 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24473 | |||
| 24474 | ac_header_preproc=no | ||
| 24475 | fi | ||
| 24476 | |||
| 24477 | rm -f conftest.err conftest.$ac_ext | ||
| 24478 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24479 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24480 | |||
| 24481 | # So? What about this header? | ||
| 24482 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24483 | yes:no: ) | ||
| 24484 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24485 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24486 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 24487 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 24488 | ac_header_preproc=yes | ||
| 24489 | ;; | ||
| 24490 | no:yes:* ) | ||
| 24491 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 24492 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 24493 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 24494 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 24495 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 24496 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 24497 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24498 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24499 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 24500 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 24501 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 24502 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 24503 | |||
| 24504 | ;; | ||
| 24505 | esac | ||
| 24506 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24507 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24508 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24509 | $as_echo_n "(cached) " >&6 | ||
| 24510 | else | ||
| 24511 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 24512 | fi | ||
| 24513 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24514 | $as_echo "$as_val"'` | ||
| 24515 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24516 | $as_echo "$ac_res" >&6; } | ||
| 24517 | |||
| 24518 | fi | ||
| 24519 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 24520 | $as_echo "$as_val"'` = yes; then | ||
| 24521 | cat >>confdefs.h <<_ACEOF | 12693 | cat >>confdefs.h <<_ACEOF |
| 24522 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12694 | #define HAVE_SYS_IOCTL_H 1 |
| 24523 | _ACEOF | 12695 | _ACEOF |
| 24524 | 12696 | ||
| 24525 | fi | 12697 | fi |
| @@ -24529,123 +12701,26 @@ done | |||
| 24529 | 12701 | ||
| 24530 | if test -f /usr/lpp/X11/bin/smt.exp; then | 12702 | if test -f /usr/lpp/X11/bin/smt.exp; then |
| 24531 | 12703 | ||
| 24532 | cat >>confdefs.h <<\_ACEOF | 12704 | $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h |
| 24533 | #define HAVE_AIX_SMT_EXP 1 | ||
| 24534 | _ACEOF | ||
| 24535 | 12705 | ||
| 24536 | fi | 12706 | fi |
| 24537 | 12707 | ||
| 24538 | { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | 12708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 |
| 24539 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 12709 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
| 24540 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 12710 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 24541 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | 12711 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24542 | $as_echo "yes" >&6; } | 12712 | $as_echo "yes" >&6; } |
| 24543 | 12713 | ||
| 24544 | cat >>confdefs.h <<\_ACEOF | 12714 | $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h |
| 24545 | #define HAVE_DEV_PTMX 1 | ||
| 24546 | _ACEOF | ||
| 24547 | 12715 | ||
| 24548 | else | 12716 | else |
| 24549 | { $as_echo "$as_me:$LINENO: result: no" >&5 | 12717 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24550 | $as_echo "no" >&6; } | 12718 | $as_echo "no" >&6; } |
| 24551 | fi | 12719 | fi |
| 24552 | 12720 | ||
| 24553 | { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 | 12721 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
| 24554 | $as_echo_n "checking for pid_t... " >&6; } | 12722 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
| 24555 | if test "${ac_cv_type_pid_t+set}" = set; then | ||
| 24556 | $as_echo_n "(cached) " >&6 | ||
| 24557 | else | ||
| 24558 | ac_cv_type_pid_t=no | ||
| 24559 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24560 | /* confdefs.h. */ | ||
| 24561 | _ACEOF | ||
| 24562 | cat confdefs.h >>conftest.$ac_ext | ||
| 24563 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24564 | /* end confdefs.h. */ | ||
| 24565 | $ac_includes_default | ||
| 24566 | int | ||
| 24567 | main () | ||
| 24568 | { | ||
| 24569 | if (sizeof (pid_t)) | ||
| 24570 | return 0; | ||
| 24571 | ; | ||
| 24572 | return 0; | ||
| 24573 | } | ||
| 24574 | _ACEOF | ||
| 24575 | rm -f conftest.$ac_objext | ||
| 24576 | if { (ac_try="$ac_compile" | ||
| 24577 | case "(($ac_try" in | ||
| 24578 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24579 | *) ac_try_echo=$ac_try;; | ||
| 24580 | esac | ||
| 24581 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24582 | $as_echo "$ac_try_echo") >&5 | ||
| 24583 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24584 | ac_status=$? | ||
| 24585 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24586 | rm -f conftest.er1 | ||
| 24587 | cat conftest.err >&5 | ||
| 24588 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24589 | (exit $ac_status); } && { | ||
| 24590 | test -z "$ac_c_werror_flag" || | ||
| 24591 | test ! -s conftest.err | ||
| 24592 | } && test -s conftest.$ac_objext; then | ||
| 24593 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24594 | /* confdefs.h. */ | ||
| 24595 | _ACEOF | ||
| 24596 | cat confdefs.h >>conftest.$ac_ext | ||
| 24597 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24598 | /* end confdefs.h. */ | ||
| 24599 | $ac_includes_default | ||
| 24600 | int | ||
| 24601 | main () | ||
| 24602 | { | ||
| 24603 | if (sizeof ((pid_t))) | ||
| 24604 | return 0; | ||
| 24605 | ; | ||
| 24606 | return 0; | ||
| 24607 | } | ||
| 24608 | _ACEOF | ||
| 24609 | rm -f conftest.$ac_objext | ||
| 24610 | if { (ac_try="$ac_compile" | ||
| 24611 | case "(($ac_try" in | ||
| 24612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24613 | *) ac_try_echo=$ac_try;; | ||
| 24614 | esac | ||
| 24615 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24616 | $as_echo "$ac_try_echo") >&5 | ||
| 24617 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24618 | ac_status=$? | ||
| 24619 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24620 | rm -f conftest.er1 | ||
| 24621 | cat conftest.err >&5 | ||
| 24622 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24623 | (exit $ac_status); } && { | ||
| 24624 | test -z "$ac_c_werror_flag" || | ||
| 24625 | test ! -s conftest.err | ||
| 24626 | } && test -s conftest.$ac_objext; then | ||
| 24627 | : | ||
| 24628 | else | ||
| 24629 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24630 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24631 | |||
| 24632 | ac_cv_type_pid_t=yes | ||
| 24633 | fi | ||
| 24634 | |||
| 24635 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24636 | else | ||
| 24637 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24638 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24639 | 12723 | ||
| 24640 | |||
| 24641 | fi | ||
| 24642 | |||
| 24643 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24644 | fi | ||
| 24645 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | ||
| 24646 | $as_echo "$ac_cv_type_pid_t" >&6; } | ||
| 24647 | if test $ac_cv_type_pid_t = yes; then | ||
| 24648 | : | ||
| 24649 | else | 12724 | else |
| 24650 | 12725 | ||
| 24651 | cat >>confdefs.h <<_ACEOF | 12726 | cat >>confdefs.h <<_ACEOF |
| @@ -24654,245 +12729,24 @@ _ACEOF | |||
| 24654 | 12729 | ||
| 24655 | fi | 12730 | fi |
| 24656 | 12731 | ||
| 24657 | |||
| 24658 | for ac_header in vfork.h | 12732 | for ac_header in vfork.h |
| 24659 | do | 12733 | do : |
| 24660 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12734 | ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" |
| 24661 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 12735 | if test "x$ac_cv_header_vfork_h" = x""yes; then : |
| 24662 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24663 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24664 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24665 | $as_echo_n "(cached) " >&6 | ||
| 24666 | fi | ||
| 24667 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24668 | $as_echo "$as_val"'` | ||
| 24669 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24670 | $as_echo "$ac_res" >&6; } | ||
| 24671 | else | ||
| 24672 | # Is the header compilable? | ||
| 24673 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24674 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24675 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24676 | /* confdefs.h. */ | ||
| 24677 | _ACEOF | ||
| 24678 | cat confdefs.h >>conftest.$ac_ext | ||
| 24679 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24680 | /* end confdefs.h. */ | ||
| 24681 | $ac_includes_default | ||
| 24682 | #include <$ac_header> | ||
| 24683 | _ACEOF | ||
| 24684 | rm -f conftest.$ac_objext | ||
| 24685 | if { (ac_try="$ac_compile" | ||
| 24686 | case "(($ac_try" in | ||
| 24687 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24688 | *) ac_try_echo=$ac_try;; | ||
| 24689 | esac | ||
| 24690 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24691 | $as_echo "$ac_try_echo") >&5 | ||
| 24692 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24693 | ac_status=$? | ||
| 24694 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24695 | rm -f conftest.er1 | ||
| 24696 | cat conftest.err >&5 | ||
| 24697 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24698 | (exit $ac_status); } && { | ||
| 24699 | test -z "$ac_c_werror_flag" || | ||
| 24700 | test ! -s conftest.err | ||
| 24701 | } && test -s conftest.$ac_objext; then | ||
| 24702 | ac_header_compiler=yes | ||
| 24703 | else | ||
| 24704 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24705 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24706 | |||
| 24707 | ac_header_compiler=no | ||
| 24708 | fi | ||
| 24709 | |||
| 24710 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24711 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24712 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24713 | |||
| 24714 | # Is the header present? | ||
| 24715 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 24716 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 24717 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24718 | /* confdefs.h. */ | ||
| 24719 | _ACEOF | ||
| 24720 | cat confdefs.h >>conftest.$ac_ext | ||
| 24721 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24722 | /* end confdefs.h. */ | ||
| 24723 | #include <$ac_header> | ||
| 24724 | _ACEOF | ||
| 24725 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24726 | case "(($ac_try" in | ||
| 24727 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24728 | *) ac_try_echo=$ac_try;; | ||
| 24729 | esac | ||
| 24730 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24731 | $as_echo "$ac_try_echo") >&5 | ||
| 24732 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24733 | ac_status=$? | ||
| 24734 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24735 | rm -f conftest.er1 | ||
| 24736 | cat conftest.err >&5 | ||
| 24737 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24738 | (exit $ac_status); } >/dev/null && { | ||
| 24739 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24740 | test ! -s conftest.err | ||
| 24741 | }; then | ||
| 24742 | ac_header_preproc=yes | ||
| 24743 | else | ||
| 24744 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24745 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24746 | |||
| 24747 | ac_header_preproc=no | ||
| 24748 | fi | ||
| 24749 | |||
| 24750 | rm -f conftest.err conftest.$ac_ext | ||
| 24751 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24752 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24753 | |||
| 24754 | # So? What about this header? | ||
| 24755 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24756 | yes:no: ) | ||
| 24757 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24758 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24759 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 24760 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 24761 | ac_header_preproc=yes | ||
| 24762 | ;; | ||
| 24763 | no:yes:* ) | ||
| 24764 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 24765 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 24766 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 24767 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 24768 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 24769 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 24770 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24771 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24772 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 24773 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 24774 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 24775 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 24776 | |||
| 24777 | ;; | ||
| 24778 | esac | ||
| 24779 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24780 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24781 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24782 | $as_echo_n "(cached) " >&6 | ||
| 24783 | else | ||
| 24784 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 24785 | fi | ||
| 24786 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24787 | $as_echo "$as_val"'` | ||
| 24788 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24789 | $as_echo "$ac_res" >&6; } | ||
| 24790 | |||
| 24791 | fi | ||
| 24792 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 24793 | $as_echo "$as_val"'` = yes; then | ||
| 24794 | cat >>confdefs.h <<_ACEOF | 12736 | cat >>confdefs.h <<_ACEOF |
| 24795 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12737 | #define HAVE_VFORK_H 1 |
| 24796 | _ACEOF | 12738 | _ACEOF |
| 24797 | 12739 | ||
| 24798 | fi | 12740 | fi |
| 24799 | 12741 | ||
| 24800 | done | 12742 | done |
| 24801 | 12743 | ||
| 24802 | |||
| 24803 | |||
| 24804 | for ac_func in fork vfork | 12744 | for ac_func in fork vfork |
| 24805 | do | 12745 | do : |
| 24806 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12746 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 24807 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12747 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 24808 | $as_echo_n "checking for $ac_func... " >&6; } | 12748 | eval as_val=\$$as_ac_var |
| 24809 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 12749 | if test "x$as_val" = x""yes; then : |
| 24810 | $as_echo_n "(cached) " >&6 | ||
| 24811 | else | ||
| 24812 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24813 | /* confdefs.h. */ | ||
| 24814 | _ACEOF | ||
| 24815 | cat confdefs.h >>conftest.$ac_ext | ||
| 24816 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24817 | /* end confdefs.h. */ | ||
| 24818 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 24819 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24820 | #define $ac_func innocuous_$ac_func | ||
| 24821 | |||
| 24822 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24823 | which can conflict with char $ac_func (); below. | ||
| 24824 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24825 | <limits.h> exists even on freestanding compilers. */ | ||
| 24826 | |||
| 24827 | #ifdef __STDC__ | ||
| 24828 | # include <limits.h> | ||
| 24829 | #else | ||
| 24830 | # include <assert.h> | ||
| 24831 | #endif | ||
| 24832 | |||
| 24833 | #undef $ac_func | ||
| 24834 | |||
| 24835 | /* Override any GCC internal prototype to avoid an error. | ||
| 24836 | Use char because int might match the return type of a GCC | ||
| 24837 | builtin and then its argument prototype would still apply. */ | ||
| 24838 | #ifdef __cplusplus | ||
| 24839 | extern "C" | ||
| 24840 | #endif | ||
| 24841 | char $ac_func (); | ||
| 24842 | /* The GNU C library defines this for functions which it implements | ||
| 24843 | to always fail with ENOSYS. Some functions are actually named | ||
| 24844 | something starting with __ and the normal name is an alias. */ | ||
| 24845 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 24846 | choke me | ||
| 24847 | #endif | ||
| 24848 | |||
| 24849 | int | ||
| 24850 | main () | ||
| 24851 | { | ||
| 24852 | return $ac_func (); | ||
| 24853 | ; | ||
| 24854 | return 0; | ||
| 24855 | } | ||
| 24856 | _ACEOF | ||
| 24857 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24858 | if { (ac_try="$ac_link" | ||
| 24859 | case "(($ac_try" in | ||
| 24860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24861 | *) ac_try_echo=$ac_try;; | ||
| 24862 | esac | ||
| 24863 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24864 | $as_echo "$ac_try_echo") >&5 | ||
| 24865 | (eval "$ac_link") 2>conftest.er1 | ||
| 24866 | ac_status=$? | ||
| 24867 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24868 | rm -f conftest.er1 | ||
| 24869 | cat conftest.err >&5 | ||
| 24870 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24871 | (exit $ac_status); } && { | ||
| 24872 | test -z "$ac_c_werror_flag" || | ||
| 24873 | test ! -s conftest.err | ||
| 24874 | } && test -s conftest$ac_exeext && { | ||
| 24875 | test "$cross_compiling" = yes || | ||
| 24876 | $as_test_x conftest$ac_exeext | ||
| 24877 | }; then | ||
| 24878 | eval "$as_ac_var=yes" | ||
| 24879 | else | ||
| 24880 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24881 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24882 | |||
| 24883 | eval "$as_ac_var=no" | ||
| 24884 | fi | ||
| 24885 | |||
| 24886 | rm -rf conftest.dSYM | ||
| 24887 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24888 | conftest$ac_exeext conftest.$ac_ext | ||
| 24889 | fi | ||
| 24890 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 24891 | $as_echo "$as_val"'` | ||
| 24892 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24893 | $as_echo "$ac_res" >&6; } | ||
| 24894 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 24895 | $as_echo "$as_val"'` = yes; then | ||
| 24896 | cat >>confdefs.h <<_ACEOF | 12750 | cat >>confdefs.h <<_ACEOF |
| 24897 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12751 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 24898 | _ACEOF | 12752 | _ACEOF |
| @@ -24901,19 +12755,15 @@ fi | |||
| 24901 | done | 12755 | done |
| 24902 | 12756 | ||
| 24903 | if test "x$ac_cv_func_fork" = xyes; then | 12757 | if test "x$ac_cv_func_fork" = xyes; then |
| 24904 | { $as_echo "$as_me:$LINENO: checking for working fork" >&5 | 12758 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
| 24905 | $as_echo_n "checking for working fork... " >&6; } | 12759 | $as_echo_n "checking for working fork... " >&6; } |
| 24906 | if test "${ac_cv_func_fork_works+set}" = set; then | 12760 | if test "${ac_cv_func_fork_works+set}" = set; then : |
| 24907 | $as_echo_n "(cached) " >&6 | 12761 | $as_echo_n "(cached) " >&6 |
| 24908 | else | 12762 | else |
| 24909 | if test "$cross_compiling" = yes; then | 12763 | if test "$cross_compiling" = yes; then : |
| 24910 | ac_cv_func_fork_works=cross | 12764 | ac_cv_func_fork_works=cross |
| 24911 | else | 12765 | else |
| 24912 | cat >conftest.$ac_ext <<_ACEOF | 12766 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24913 | /* confdefs.h. */ | ||
| 24914 | _ACEOF | ||
| 24915 | cat confdefs.h >>conftest.$ac_ext | ||
| 24916 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24917 | /* end confdefs.h. */ | 12767 | /* end confdefs.h. */ |
| 24918 | $ac_includes_default | 12768 | $ac_includes_default |
| 24919 | int | 12769 | int |
| @@ -24927,44 +12777,17 @@ main () | |||
| 24927 | return 0; | 12777 | return 0; |
| 24928 | } | 12778 | } |
| 24929 | _ACEOF | 12779 | _ACEOF |
| 24930 | rm -f conftest$ac_exeext | 12780 | if ac_fn_c_try_run "$LINENO"; then : |
| 24931 | if { (ac_try="$ac_link" | ||
| 24932 | case "(($ac_try" in | ||
| 24933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24934 | *) ac_try_echo=$ac_try;; | ||
| 24935 | esac | ||
| 24936 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24937 | $as_echo "$ac_try_echo") >&5 | ||
| 24938 | (eval "$ac_link") 2>&5 | ||
| 24939 | ac_status=$? | ||
| 24940 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24941 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 24942 | { (case "(($ac_try" in | ||
| 24943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24944 | *) ac_try_echo=$ac_try;; | ||
| 24945 | esac | ||
| 24946 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24947 | $as_echo "$ac_try_echo") >&5 | ||
| 24948 | (eval "$ac_try") 2>&5 | ||
| 24949 | ac_status=$? | ||
| 24950 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24951 | (exit $ac_status); }; }; then | ||
| 24952 | ac_cv_func_fork_works=yes | 12781 | ac_cv_func_fork_works=yes |
| 24953 | else | 12782 | else |
| 24954 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 12783 | ac_cv_func_fork_works=no |
| 24955 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24956 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24957 | |||
| 24958 | ( exit $ac_status ) | ||
| 24959 | ac_cv_func_fork_works=no | ||
| 24960 | fi | 12784 | fi |
| 24961 | rm -rf conftest.dSYM | 12785 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 24962 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12786 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 24963 | fi | 12787 | fi |
| 24964 | 12788 | ||
| 24965 | |||
| 24966 | fi | 12789 | fi |
| 24967 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | 12790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 |
| 24968 | $as_echo "$ac_cv_func_fork_works" >&6; } | 12791 | $as_echo "$ac_cv_func_fork_works" >&6; } |
| 24969 | 12792 | ||
| 24970 | else | 12793 | else |
| @@ -24980,24 +12803,20 @@ if test "x$ac_cv_func_fork_works" = xcross; then | |||
| 24980 | ac_cv_func_fork_works=yes | 12803 | ac_cv_func_fork_works=yes |
| 24981 | ;; | 12804 | ;; |
| 24982 | esac | 12805 | esac |
| 24983 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 12806 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
| 24984 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 12807 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
| 24985 | fi | 12808 | fi |
| 24986 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 12809 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 24987 | if test "x$ac_cv_func_vfork" = xyes; then | 12810 | if test "x$ac_cv_func_vfork" = xyes; then |
| 24988 | { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 | 12811 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
| 24989 | $as_echo_n "checking for working vfork... " >&6; } | 12812 | $as_echo_n "checking for working vfork... " >&6; } |
| 24990 | if test "${ac_cv_func_vfork_works+set}" = set; then | 12813 | if test "${ac_cv_func_vfork_works+set}" = set; then : |
| 24991 | $as_echo_n "(cached) " >&6 | 12814 | $as_echo_n "(cached) " >&6 |
| 24992 | else | 12815 | else |
| 24993 | if test "$cross_compiling" = yes; then | 12816 | if test "$cross_compiling" = yes; then : |
| 24994 | ac_cv_func_vfork_works=cross | 12817 | ac_cv_func_vfork_works=cross |
| 24995 | else | 12818 | else |
| 24996 | cat >conftest.$ac_ext <<_ACEOF | 12819 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24997 | /* confdefs.h. */ | ||
| 24998 | _ACEOF | ||
| 24999 | cat confdefs.h >>conftest.$ac_ext | ||
| 25000 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25001 | /* end confdefs.h. */ | 12820 | /* end confdefs.h. */ |
| 25002 | /* Thanks to Paul Eggert for this test. */ | 12821 | /* Thanks to Paul Eggert for this test. */ |
| 25003 | $ac_includes_default | 12822 | $ac_includes_default |
| @@ -25089,85 +12908,48 @@ main () | |||
| 25089 | } | 12908 | } |
| 25090 | } | 12909 | } |
| 25091 | _ACEOF | 12910 | _ACEOF |
| 25092 | rm -f conftest$ac_exeext | 12911 | if ac_fn_c_try_run "$LINENO"; then : |
| 25093 | if { (ac_try="$ac_link" | ||
| 25094 | case "(($ac_try" in | ||
| 25095 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25096 | *) ac_try_echo=$ac_try;; | ||
| 25097 | esac | ||
| 25098 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25099 | $as_echo "$ac_try_echo") >&5 | ||
| 25100 | (eval "$ac_link") 2>&5 | ||
| 25101 | ac_status=$? | ||
| 25102 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25103 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25104 | { (case "(($ac_try" in | ||
| 25105 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25106 | *) ac_try_echo=$ac_try;; | ||
| 25107 | esac | ||
| 25108 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25109 | $as_echo "$ac_try_echo") >&5 | ||
| 25110 | (eval "$ac_try") 2>&5 | ||
| 25111 | ac_status=$? | ||
| 25112 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25113 | (exit $ac_status); }; }; then | ||
| 25114 | ac_cv_func_vfork_works=yes | 12912 | ac_cv_func_vfork_works=yes |
| 25115 | else | 12913 | else |
| 25116 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 12914 | ac_cv_func_vfork_works=no |
| 25117 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25118 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25119 | |||
| 25120 | ( exit $ac_status ) | ||
| 25121 | ac_cv_func_vfork_works=no | ||
| 25122 | fi | 12915 | fi |
| 25123 | rm -rf conftest.dSYM | 12916 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 25124 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12917 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 25125 | fi | 12918 | fi |
| 25126 | 12919 | ||
| 25127 | |||
| 25128 | fi | 12920 | fi |
| 25129 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | 12921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 |
| 25130 | $as_echo "$ac_cv_func_vfork_works" >&6; } | 12922 | $as_echo "$ac_cv_func_vfork_works" >&6; } |
| 25131 | 12923 | ||
| 25132 | fi; | 12924 | fi; |
| 25133 | if test "x$ac_cv_func_fork_works" = xcross; then | 12925 | if test "x$ac_cv_func_fork_works" = xcross; then |
| 25134 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 12926 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 25135 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 12927 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
| 25136 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 12928 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
| 25137 | fi | 12929 | fi |
| 25138 | 12930 | ||
| 25139 | if test "x$ac_cv_func_vfork_works" = xyes; then | 12931 | if test "x$ac_cv_func_vfork_works" = xyes; then |
| 25140 | 12932 | ||
| 25141 | cat >>confdefs.h <<\_ACEOF | 12933 | $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h |
| 25142 | #define HAVE_WORKING_VFORK 1 | ||
| 25143 | _ACEOF | ||
| 25144 | 12934 | ||
| 25145 | else | 12935 | else |
| 25146 | 12936 | ||
| 25147 | cat >>confdefs.h <<\_ACEOF | 12937 | $as_echo "#define vfork fork" >>confdefs.h |
| 25148 | #define vfork fork | ||
| 25149 | _ACEOF | ||
| 25150 | 12938 | ||
| 25151 | fi | 12939 | fi |
| 25152 | if test "x$ac_cv_func_fork_works" = xyes; then | 12940 | if test "x$ac_cv_func_fork_works" = xyes; then |
| 25153 | 12941 | ||
| 25154 | cat >>confdefs.h <<\_ACEOF | 12942 | $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h |
| 25155 | #define HAVE_WORKING_FORK 1 | ||
| 25156 | _ACEOF | ||
| 25157 | 12943 | ||
| 25158 | fi | 12944 | fi |
| 25159 | 12945 | ||
| 25160 | 12946 | ||
| 25161 | { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | 12947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 |
| 25162 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 12948 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
| 25163 | if test "${emacs_cv_langinfo_codeset+set}" = set; then | 12949 | if test "${emacs_cv_langinfo_codeset+set}" = set; then : |
| 25164 | $as_echo_n "(cached) " >&6 | 12950 | $as_echo_n "(cached) " >&6 |
| 25165 | else | 12951 | else |
| 25166 | cat >conftest.$ac_ext <<_ACEOF | 12952 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25167 | /* confdefs.h. */ | ||
| 25168 | _ACEOF | ||
| 25169 | cat confdefs.h >>conftest.$ac_ext | ||
| 25170 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25171 | /* end confdefs.h. */ | 12953 | /* end confdefs.h. */ |
| 25172 | #include <langinfo.h> | 12954 | #include <langinfo.h> |
| 25173 | int | 12955 | int |
| @@ -25178,145 +12960,25 @@ char* cs = nl_langinfo(CODESET); | |||
| 25178 | return 0; | 12960 | return 0; |
| 25179 | } | 12961 | } |
| 25180 | _ACEOF | 12962 | _ACEOF |
| 25181 | rm -f conftest.$ac_objext conftest$ac_exeext | 12963 | if ac_fn_c_try_link "$LINENO"; then : |
| 25182 | if { (ac_try="$ac_link" | ||
| 25183 | case "(($ac_try" in | ||
| 25184 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25185 | *) ac_try_echo=$ac_try;; | ||
| 25186 | esac | ||
| 25187 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25188 | $as_echo "$ac_try_echo") >&5 | ||
| 25189 | (eval "$ac_link") 2>conftest.er1 | ||
| 25190 | ac_status=$? | ||
| 25191 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25192 | rm -f conftest.er1 | ||
| 25193 | cat conftest.err >&5 | ||
| 25194 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25195 | (exit $ac_status); } && { | ||
| 25196 | test -z "$ac_c_werror_flag" || | ||
| 25197 | test ! -s conftest.err | ||
| 25198 | } && test -s conftest$ac_exeext && { | ||
| 25199 | test "$cross_compiling" = yes || | ||
| 25200 | $as_test_x conftest$ac_exeext | ||
| 25201 | }; then | ||
| 25202 | emacs_cv_langinfo_codeset=yes | 12964 | emacs_cv_langinfo_codeset=yes |
| 25203 | else | 12965 | else |
| 25204 | $as_echo "$as_me: failed program was:" >&5 | 12966 | emacs_cv_langinfo_codeset=no |
| 25205 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25206 | |||
| 25207 | emacs_cv_langinfo_codeset=no | ||
| 25208 | fi | 12967 | fi |
| 25209 | 12968 | rm -f core conftest.err conftest.$ac_objext \ | |
| 25210 | rm -rf conftest.dSYM | 12969 | conftest$ac_exeext conftest.$ac_ext |
| 25211 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25212 | conftest$ac_exeext conftest.$ac_ext | ||
| 25213 | 12970 | ||
| 25214 | fi | 12971 | fi |
| 25215 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 | 12972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 |
| 25216 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 12973 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
| 25217 | if test $emacs_cv_langinfo_codeset = yes; then | 12974 | if test $emacs_cv_langinfo_codeset = yes; then |
| 25218 | 12975 | ||
| 25219 | cat >>confdefs.h <<\_ACEOF | 12976 | $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h |
| 25220 | #define HAVE_LANGINFO_CODESET 1 | ||
| 25221 | _ACEOF | ||
| 25222 | |||
| 25223 | fi | ||
| 25224 | |||
| 25225 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 | ||
| 25226 | $as_echo_n "checking for size_t... " >&6; } | ||
| 25227 | if test "${ac_cv_type_size_t+set}" = set; then | ||
| 25228 | $as_echo_n "(cached) " >&6 | ||
| 25229 | else | ||
| 25230 | ac_cv_type_size_t=no | ||
| 25231 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25232 | /* confdefs.h. */ | ||
| 25233 | _ACEOF | ||
| 25234 | cat confdefs.h >>conftest.$ac_ext | ||
| 25235 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25236 | /* end confdefs.h. */ | ||
| 25237 | $ac_includes_default | ||
| 25238 | int | ||
| 25239 | main () | ||
| 25240 | { | ||
| 25241 | if (sizeof (size_t)) | ||
| 25242 | return 0; | ||
| 25243 | ; | ||
| 25244 | return 0; | ||
| 25245 | } | ||
| 25246 | _ACEOF | ||
| 25247 | rm -f conftest.$ac_objext | ||
| 25248 | if { (ac_try="$ac_compile" | ||
| 25249 | case "(($ac_try" in | ||
| 25250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25251 | *) ac_try_echo=$ac_try;; | ||
| 25252 | esac | ||
| 25253 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25254 | $as_echo "$ac_try_echo") >&5 | ||
| 25255 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25256 | ac_status=$? | ||
| 25257 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25258 | rm -f conftest.er1 | ||
| 25259 | cat conftest.err >&5 | ||
| 25260 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25261 | (exit $ac_status); } && { | ||
| 25262 | test -z "$ac_c_werror_flag" || | ||
| 25263 | test ! -s conftest.err | ||
| 25264 | } && test -s conftest.$ac_objext; then | ||
| 25265 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25266 | /* confdefs.h. */ | ||
| 25267 | _ACEOF | ||
| 25268 | cat confdefs.h >>conftest.$ac_ext | ||
| 25269 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25270 | /* end confdefs.h. */ | ||
| 25271 | $ac_includes_default | ||
| 25272 | int | ||
| 25273 | main () | ||
| 25274 | { | ||
| 25275 | if (sizeof ((size_t))) | ||
| 25276 | return 0; | ||
| 25277 | ; | ||
| 25278 | return 0; | ||
| 25279 | } | ||
| 25280 | _ACEOF | ||
| 25281 | rm -f conftest.$ac_objext | ||
| 25282 | if { (ac_try="$ac_compile" | ||
| 25283 | case "(($ac_try" in | ||
| 25284 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25285 | *) ac_try_echo=$ac_try;; | ||
| 25286 | esac | ||
| 25287 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25288 | $as_echo "$ac_try_echo") >&5 | ||
| 25289 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25290 | ac_status=$? | ||
| 25291 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25292 | rm -f conftest.er1 | ||
| 25293 | cat conftest.err >&5 | ||
| 25294 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25295 | (exit $ac_status); } && { | ||
| 25296 | test -z "$ac_c_werror_flag" || | ||
| 25297 | test ! -s conftest.err | ||
| 25298 | } && test -s conftest.$ac_objext; then | ||
| 25299 | : | ||
| 25300 | else | ||
| 25301 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25302 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25303 | |||
| 25304 | ac_cv_type_size_t=yes | ||
| 25305 | fi | ||
| 25306 | |||
| 25307 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25308 | else | ||
| 25309 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25310 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25311 | |||
| 25312 | 12977 | ||
| 25313 | fi | 12978 | fi |
| 25314 | 12979 | ||
| 25315 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12980 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 25316 | fi | 12981 | if test "x$ac_cv_type_size_t" = x""yes; then : |
| 25317 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | ||
| 25318 | $as_echo "$ac_cv_type_size_t" >&6; } | ||
| 25319 | if test $ac_cv_type_size_t = yes; then | ||
| 25320 | 12982 | ||
| 25321 | cat >>confdefs.h <<_ACEOF | 12983 | cat >>confdefs.h <<_ACEOF |
| 25322 | #define HAVE_SIZE_T 1 | 12984 | #define HAVE_SIZE_T 1 |
| @@ -25326,16 +12988,12 @@ _ACEOF | |||
| 25326 | fi | 12988 | fi |
| 25327 | 12989 | ||
| 25328 | 12990 | ||
| 25329 | { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 | 12991 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 |
| 25330 | $as_echo_n "checking for mbstate_t... " >&6; } | 12992 | $as_echo_n "checking for mbstate_t... " >&6; } |
| 25331 | if test "${ac_cv_type_mbstate_t+set}" = set; then | 12993 | if test "${ac_cv_type_mbstate_t+set}" = set; then : |
| 25332 | $as_echo_n "(cached) " >&6 | 12994 | $as_echo_n "(cached) " >&6 |
| 25333 | else | 12995 | else |
| 25334 | cat >conftest.$ac_ext <<_ACEOF | 12996 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25335 | /* confdefs.h. */ | ||
| 25336 | _ACEOF | ||
| 25337 | cat confdefs.h >>conftest.$ac_ext | ||
| 25338 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25339 | /* end confdefs.h. */ | 12997 | /* end confdefs.h. */ |
| 25340 | $ac_includes_default | 12998 | $ac_includes_default |
| 25341 | # include <wchar.h> | 12999 | # include <wchar.h> |
| @@ -25347,60 +13005,31 @@ mbstate_t x; return sizeof x; | |||
| 25347 | return 0; | 13005 | return 0; |
| 25348 | } | 13006 | } |
| 25349 | _ACEOF | 13007 | _ACEOF |
| 25350 | rm -f conftest.$ac_objext | 13008 | if ac_fn_c_try_compile "$LINENO"; then : |
| 25351 | if { (ac_try="$ac_compile" | ||
| 25352 | case "(($ac_try" in | ||
| 25353 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25354 | *) ac_try_echo=$ac_try;; | ||
| 25355 | esac | ||
| 25356 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25357 | $as_echo "$ac_try_echo") >&5 | ||
| 25358 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25359 | ac_status=$? | ||
| 25360 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25361 | rm -f conftest.er1 | ||
| 25362 | cat conftest.err >&5 | ||
| 25363 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25364 | (exit $ac_status); } && { | ||
| 25365 | test -z "$ac_c_werror_flag" || | ||
| 25366 | test ! -s conftest.err | ||
| 25367 | } && test -s conftest.$ac_objext; then | ||
| 25368 | ac_cv_type_mbstate_t=yes | 13009 | ac_cv_type_mbstate_t=yes |
| 25369 | else | 13010 | else |
| 25370 | $as_echo "$as_me: failed program was:" >&5 | 13011 | ac_cv_type_mbstate_t=no |
| 25371 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25372 | |||
| 25373 | ac_cv_type_mbstate_t=no | ||
| 25374 | fi | 13012 | fi |
| 25375 | |||
| 25376 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13013 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 25377 | fi | 13014 | fi |
| 25378 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 | 13015 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 |
| 25379 | $as_echo "$ac_cv_type_mbstate_t" >&6; } | 13016 | $as_echo "$ac_cv_type_mbstate_t" >&6; } |
| 25380 | if test $ac_cv_type_mbstate_t = yes; then | 13017 | if test $ac_cv_type_mbstate_t = yes; then |
| 25381 | 13018 | ||
| 25382 | cat >>confdefs.h <<\_ACEOF | 13019 | $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h |
| 25383 | #define HAVE_MBSTATE_T 1 | ||
| 25384 | _ACEOF | ||
| 25385 | 13020 | ||
| 25386 | else | 13021 | else |
| 25387 | 13022 | ||
| 25388 | cat >>confdefs.h <<\_ACEOF | 13023 | $as_echo "#define mbstate_t int" >>confdefs.h |
| 25389 | #define mbstate_t int | ||
| 25390 | _ACEOF | ||
| 25391 | 13024 | ||
| 25392 | fi | 13025 | fi |
| 25393 | 13026 | ||
| 25394 | { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 | 13027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 |
| 25395 | $as_echo_n "checking for C restrict keyword... " >&6; } | 13028 | $as_echo_n "checking for C restrict keyword... " >&6; } |
| 25396 | if test "${emacs_cv_c_restrict+set}" = set; then | 13029 | if test "${emacs_cv_c_restrict+set}" = set; then : |
| 25397 | $as_echo_n "(cached) " >&6 | 13030 | $as_echo_n "(cached) " >&6 |
| 25398 | else | 13031 | else |
| 25399 | cat >conftest.$ac_ext <<_ACEOF | 13032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25400 | /* confdefs.h. */ | ||
| 25401 | _ACEOF | ||
| 25402 | cat confdefs.h >>conftest.$ac_ext | ||
| 25403 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25404 | /* end confdefs.h. */ | 13033 | /* end confdefs.h. */ |
| 25405 | void fred (int *restrict x); | 13034 | void fred (int *restrict x); |
| 25406 | int | 13035 | int |
| @@ -25411,34 +13040,10 @@ main () | |||
| 25411 | return 0; | 13040 | return 0; |
| 25412 | } | 13041 | } |
| 25413 | _ACEOF | 13042 | _ACEOF |
| 25414 | rm -f conftest.$ac_objext | 13043 | if ac_fn_c_try_compile "$LINENO"; then : |
| 25415 | if { (ac_try="$ac_compile" | ||
| 25416 | case "(($ac_try" in | ||
| 25417 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25418 | *) ac_try_echo=$ac_try;; | ||
| 25419 | esac | ||
| 25420 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25421 | $as_echo "$ac_try_echo") >&5 | ||
| 25422 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25423 | ac_status=$? | ||
| 25424 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25425 | rm -f conftest.er1 | ||
| 25426 | cat conftest.err >&5 | ||
| 25427 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25428 | (exit $ac_status); } && { | ||
| 25429 | test -z "$ac_c_werror_flag" || | ||
| 25430 | test ! -s conftest.err | ||
| 25431 | } && test -s conftest.$ac_objext; then | ||
| 25432 | emacs_cv_c_restrict=yes | 13044 | emacs_cv_c_restrict=yes |
| 25433 | else | 13045 | else |
| 25434 | $as_echo "$as_me: failed program was:" >&5 | 13046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25435 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25436 | |||
| 25437 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25438 | /* confdefs.h. */ | ||
| 25439 | _ACEOF | ||
| 25440 | cat confdefs.h >>conftest.$ac_ext | ||
| 25441 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25442 | /* end confdefs.h. */ | 13047 | /* end confdefs.h. */ |
| 25443 | void fred (int *__restrict x); | 13048 | void fred (int *__restrict x); |
| 25444 | int | 13049 | int |
| @@ -25449,38 +13054,16 @@ main () | |||
| 25449 | return 0; | 13054 | return 0; |
| 25450 | } | 13055 | } |
| 25451 | _ACEOF | 13056 | _ACEOF |
| 25452 | rm -f conftest.$ac_objext | 13057 | if ac_fn_c_try_compile "$LINENO"; then : |
| 25453 | if { (ac_try="$ac_compile" | ||
| 25454 | case "(($ac_try" in | ||
| 25455 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25456 | *) ac_try_echo=$ac_try;; | ||
| 25457 | esac | ||
| 25458 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25459 | $as_echo "$ac_try_echo") >&5 | ||
| 25460 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25461 | ac_status=$? | ||
| 25462 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25463 | rm -f conftest.er1 | ||
| 25464 | cat conftest.err >&5 | ||
| 25465 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25466 | (exit $ac_status); } && { | ||
| 25467 | test -z "$ac_c_werror_flag" || | ||
| 25468 | test ! -s conftest.err | ||
| 25469 | } && test -s conftest.$ac_objext; then | ||
| 25470 | emacs_cv_c_restrict=__restrict | 13058 | emacs_cv_c_restrict=__restrict |
| 25471 | else | 13059 | else |
| 25472 | $as_echo "$as_me: failed program was:" >&5 | 13060 | emacs_cv_c_restrict=no |
| 25473 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25474 | |||
| 25475 | emacs_cv_c_restrict=no | ||
| 25476 | fi | 13061 | fi |
| 25477 | |||
| 25478 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13062 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 25479 | fi | 13063 | fi |
| 25480 | |||
| 25481 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13064 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 25482 | fi | 13065 | fi |
| 25483 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 | 13066 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 |
| 25484 | $as_echo "$emacs_cv_c_restrict" >&6; } | 13067 | $as_echo "$emacs_cv_c_restrict" >&6; } |
| 25485 | case "$emacs_cv_c_restrict" in | 13068 | case "$emacs_cv_c_restrict" in |
| 25486 | yes) emacs_restrict=restrict;; | 13069 | yes) emacs_restrict=restrict;; |
| @@ -25495,16 +13078,12 @@ _ACEOF | |||
| 25495 | 13078 | ||
| 25496 | fi | 13079 | fi |
| 25497 | 13080 | ||
| 25498 | { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 | 13081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 |
| 25499 | $as_echo_n "checking for C restricted array declarations... " >&6; } | 13082 | $as_echo_n "checking for C restricted array declarations... " >&6; } |
| 25500 | if test "${emacs_cv_c_restrict_arr+set}" = set; then | 13083 | if test "${emacs_cv_c_restrict_arr+set}" = set; then : |
| 25501 | $as_echo_n "(cached) " >&6 | 13084 | $as_echo_n "(cached) " >&6 |
| 25502 | else | 13085 | else |
| 25503 | cat >conftest.$ac_ext <<_ACEOF | 13086 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25504 | /* confdefs.h. */ | ||
| 25505 | _ACEOF | ||
| 25506 | cat confdefs.h >>conftest.$ac_ext | ||
| 25507 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25508 | /* end confdefs.h. */ | 13087 | /* end confdefs.h. */ |
| 25509 | void fred (int x[__restrict]); | 13088 | void fred (int x[__restrict]); |
| 25510 | int | 13089 | int |
| @@ -25515,41 +13094,18 @@ main () | |||
| 25515 | return 0; | 13094 | return 0; |
| 25516 | } | 13095 | } |
| 25517 | _ACEOF | 13096 | _ACEOF |
| 25518 | rm -f conftest.$ac_objext | 13097 | if ac_fn_c_try_compile "$LINENO"; then : |
| 25519 | if { (ac_try="$ac_compile" | ||
| 25520 | case "(($ac_try" in | ||
| 25521 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25522 | *) ac_try_echo=$ac_try;; | ||
| 25523 | esac | ||
| 25524 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25525 | $as_echo "$ac_try_echo") >&5 | ||
| 25526 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25527 | ac_status=$? | ||
| 25528 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25529 | rm -f conftest.er1 | ||
| 25530 | cat conftest.err >&5 | ||
| 25531 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25532 | (exit $ac_status); } && { | ||
| 25533 | test -z "$ac_c_werror_flag" || | ||
| 25534 | test ! -s conftest.err | ||
| 25535 | } && test -s conftest.$ac_objext; then | ||
| 25536 | emacs_cv_c_restrict_arr=yes | 13098 | emacs_cv_c_restrict_arr=yes |
| 25537 | else | 13099 | else |
| 25538 | $as_echo "$as_me: failed program was:" >&5 | 13100 | emacs_cv_c_restrict_arr=no |
| 25539 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25540 | |||
| 25541 | emacs_cv_c_restrict_arr=no | ||
| 25542 | fi | 13101 | fi |
| 25543 | |||
| 25544 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13102 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 25545 | fi | 13103 | fi |
| 25546 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 | 13104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 |
| 25547 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 13105 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
| 25548 | if test "$emacs_cv_c_restrict_arr" = yes; then | 13106 | if test "$emacs_cv_c_restrict_arr" = yes; then |
| 25549 | 13107 | ||
| 25550 | cat >>confdefs.h <<\_ACEOF | 13108 | $as_echo "#define __restrict_arr __restrict" >>confdefs.h |
| 25551 | #define __restrict_arr __restrict | ||
| 25552 | _ACEOF | ||
| 25553 | 13109 | ||
| 25554 | fi | 13110 | fi |
| 25555 | 13111 | ||
| @@ -25563,12 +13119,10 @@ CPPFLAGS="$REAL_CPPFLAGS" | |||
| 25563 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 13119 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
| 25564 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 13120 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
| 25565 | if test x"${version}" = x; then | 13121 | if test x"${version}" = x; then |
| 25566 | { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 | 13122 | as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 |
| 25567 | $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | ||
| 25568 | { (exit 1); exit 1; }; } | ||
| 25569 | fi | 13123 | fi |
| 25570 | if test x"${version}" != x"$PACKAGE_VERSION"; then | 13124 | if test x"${version}" != x"$PACKAGE_VERSION"; then |
| 25571 | { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 | 13125 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 |
| 25572 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} | 13126 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} |
| 25573 | fi | 13127 | fi |
| 25574 | 13128 | ||
| @@ -25660,65 +13214,47 @@ _ACEOF | |||
| 25660 | 13214 | ||
| 25661 | if test "${HAVE_X_WINDOWS}" = "yes" ; then | 13215 | if test "${HAVE_X_WINDOWS}" = "yes" ; then |
| 25662 | 13216 | ||
| 25663 | cat >>confdefs.h <<\_ACEOF | 13217 | $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h |
| 25664 | #define HAVE_X_WINDOWS 1 | ||
| 25665 | _ACEOF | ||
| 25666 | 13218 | ||
| 25667 | fi | 13219 | fi |
| 25668 | if test "${USE_X_TOOLKIT}" != "none" ; then | 13220 | if test "${USE_X_TOOLKIT}" != "none" ; then |
| 25669 | 13221 | ||
| 25670 | cat >>confdefs.h <<\_ACEOF | 13222 | $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h |
| 25671 | #define USE_X_TOOLKIT 1 | ||
| 25672 | _ACEOF | ||
| 25673 | 13223 | ||
| 25674 | if test "${USE_X_TOOLKIT}" = "LUCID"; then | 13224 | if test "${USE_X_TOOLKIT}" = "LUCID"; then |
| 25675 | 13225 | ||
| 25676 | cat >>confdefs.h <<\_ACEOF | 13226 | $as_echo "#define USE_LUCID 1" >>confdefs.h |
| 25677 | #define USE_LUCID 1 | ||
| 25678 | _ACEOF | ||
| 25679 | 13227 | ||
| 25680 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13228 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 25681 | 13229 | ||
| 25682 | cat >>confdefs.h <<\_ACEOF | 13230 | $as_echo "#define USE_MOTIF 1" >>confdefs.h |
| 25683 | #define USE_MOTIF 1 | ||
| 25684 | _ACEOF | ||
| 25685 | 13231 | ||
| 25686 | fi | 13232 | fi |
| 25687 | fi | 13233 | fi |
| 25688 | if test "${HAVE_X11}" = "yes" ; then | 13234 | if test "${HAVE_X11}" = "yes" ; then |
| 25689 | 13235 | ||
| 25690 | cat >>confdefs.h <<\_ACEOF | 13236 | $as_echo "#define HAVE_X11 1" >>confdefs.h |
| 25691 | #define HAVE_X11 1 | ||
| 25692 | _ACEOF | ||
| 25693 | 13237 | ||
| 25694 | fi | 13238 | fi |
| 25695 | if test "${HAVE_MENUS}" = "yes" ; then | 13239 | if test "${HAVE_MENUS}" = "yes" ; then |
| 25696 | 13240 | ||
| 25697 | cat >>confdefs.h <<\_ACEOF | 13241 | $as_echo "#define HAVE_MENUS 1" >>confdefs.h |
| 25698 | #define HAVE_MENUS 1 | ||
| 25699 | _ACEOF | ||
| 25700 | 13242 | ||
| 25701 | fi | 13243 | fi |
| 25702 | if test "${GNU_MALLOC}" = "yes" ; then | 13244 | if test "${GNU_MALLOC}" = "yes" ; then |
| 25703 | 13245 | ||
| 25704 | cat >>confdefs.h <<\_ACEOF | 13246 | $as_echo "#define GNU_MALLOC 1" >>confdefs.h |
| 25705 | #define GNU_MALLOC 1 | ||
| 25706 | _ACEOF | ||
| 25707 | 13247 | ||
| 25708 | fi | 13248 | fi |
| 25709 | if test "${REL_ALLOC}" = "yes" ; then | 13249 | if test "${REL_ALLOC}" = "yes" ; then |
| 25710 | 13250 | ||
| 25711 | cat >>confdefs.h <<\_ACEOF | 13251 | $as_echo "#define REL_ALLOC 1" >>confdefs.h |
| 25712 | #define REL_ALLOC 1 | ||
| 25713 | _ACEOF | ||
| 25714 | 13252 | ||
| 25715 | fi | 13253 | fi |
| 25716 | 13254 | ||
| 25717 | 13255 | ||
| 25718 | 13256 | ||
| 25719 | 13257 | ||
| 25720 | |||
| 25721 | |||
| 25722 | #### Report on what we decided to do. | 13258 | #### Report on what we decided to do. |
| 25723 | #### Report GTK as a toolkit, even if it doesn't use Xt. | 13259 | #### Report GTK as a toolkit, even if it doesn't use Xt. |
| 25724 | #### It makes printing result more understandable as using GTK sets | 13260 | #### It makes printing result more understandable as using GTK sets |
| @@ -25819,16 +13355,12 @@ cpp_undefs="`echo $srcdir $configuration $canonical | | |||
| 25819 | ## from Makefile.c can correctly provide the arg `-traditional' to the | 13355 | ## from Makefile.c can correctly provide the arg `-traditional' to the |
| 25820 | ## C preprocessor. | 13356 | ## C preprocessor. |
| 25821 | 13357 | ||
| 25822 | cat >conftest.$ac_ext <<_ACEOF | 13358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25823 | /* confdefs.h. */ | ||
| 25824 | _ACEOF | ||
| 25825 | cat confdefs.h >>conftest.$ac_ext | ||
| 25826 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25827 | /* end confdefs.h. */ | 13359 | /* end confdefs.h. */ |
| 25828 | yes..yes | 13360 | yes..yes |
| 25829 | _ACEOF | 13361 | _ACEOF |
| 25830 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13362 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 25831 | $EGREP "yes..yes" >/dev/null 2>&1; then | 13363 | $EGREP "yes..yes" >/dev/null 2>&1; then : |
| 25832 | CPP_NEED_TRADITIONAL=no | 13364 | CPP_NEED_TRADITIONAL=no |
| 25833 | else | 13365 | else |
| 25834 | CPP_NEED_TRADITIONAL=yes | 13366 | CPP_NEED_TRADITIONAL=yes |
| @@ -25867,13 +13399,13 @@ _ACEOF | |||
| 25867 | case $ac_val in #( | 13399 | case $ac_val in #( |
| 25868 | *${as_nl}*) | 13400 | *${as_nl}*) |
| 25869 | case $ac_var in #( | 13401 | case $ac_var in #( |
| 25870 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 13402 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 25871 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 13403 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 25872 | esac | 13404 | esac |
| 25873 | case $ac_var in #( | 13405 | case $ac_var in #( |
| 25874 | _ | IFS | as_nl) ;; #( | 13406 | _ | IFS | as_nl) ;; #( |
| 25875 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 13407 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 25876 | *) $as_unset $ac_var ;; | 13408 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 25877 | esac ;; | 13409 | esac ;; |
| 25878 | esac | 13410 | esac |
| 25879 | done | 13411 | done |
| @@ -25881,8 +13413,8 @@ $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |||
| 25881 | (set) 2>&1 | | 13413 | (set) 2>&1 | |
| 25882 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 13414 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 25883 | *${as_nl}ac_space=\ *) | 13415 | *${as_nl}ac_space=\ *) |
| 25884 | # `set' does not quote correctly, so add quotes (double-quote | 13416 | # `set' does not quote correctly, so add quotes: double-quote |
| 25885 | # substitution turns \\\\ into \\, and sed turns \\ into \). | 13417 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 25886 | sed -n \ | 13418 | sed -n \ |
| 25887 | "s/'/'\\\\''/g; | 13419 | "s/'/'\\\\''/g; |
| 25888 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 13420 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| @@ -25905,11 +13437,11 @@ $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |||
| 25905 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 13437 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 25906 | if test -w "$cache_file"; then | 13438 | if test -w "$cache_file"; then |
| 25907 | test "x$cache_file" != "x/dev/null" && | 13439 | test "x$cache_file" != "x/dev/null" && |
| 25908 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 13440 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 25909 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 13441 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 25910 | cat confcache >$cache_file | 13442 | cat confcache >$cache_file |
| 25911 | else | 13443 | else |
| 25912 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 13444 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 25913 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 13445 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 25914 | fi | 13446 | fi |
| 25915 | fi | 13447 | fi |
| @@ -25929,8 +13461,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |||
| 25929 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 13461 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 25930 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 13462 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 25931 | # will be set to the directory where LIBOBJS objects are built. | 13463 | # will be set to the directory where LIBOBJS objects are built. |
| 25932 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 13464 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 25933 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 13465 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 25934 | done | 13466 | done |
| 25935 | LIBOBJS=$ac_libobjs | 13467 | LIBOBJS=$ac_libobjs |
| 25936 | 13468 | ||
| @@ -25942,9 +13474,10 @@ LTLIBOBJS=$ac_ltlibobjs | |||
| 25942 | ac_write_fail=0 | 13474 | ac_write_fail=0 |
| 25943 | ac_clean_files_save=$ac_clean_files | 13475 | ac_clean_files_save=$ac_clean_files |
| 25944 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 13476 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 25945 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 13477 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 25946 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 13478 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 25947 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 13479 | as_write_fail=0 |
| 13480 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 25948 | #! $SHELL | 13481 | #! $SHELL |
| 25949 | # Generated by $as_me. | 13482 | # Generated by $as_me. |
| 25950 | # Run this file to recreate the current configuration. | 13483 | # Run this file to recreate the current configuration. |
| @@ -25954,17 +13487,18 @@ cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 25954 | debug=false | 13487 | debug=false |
| 25955 | ac_cs_recheck=false | 13488 | ac_cs_recheck=false |
| 25956 | ac_cs_silent=false | 13489 | ac_cs_silent=false |
| 25957 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
| 25958 | _ACEOF | ||
| 25959 | 13490 | ||
| 25960 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 13491 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 25961 | ## --------------------- ## | 13492 | export SHELL |
| 25962 | ## M4sh Initialization. ## | 13493 | _ASEOF |
| 25963 | ## --------------------- ## | 13494 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 13495 | ## -------------------- ## | ||
| 13496 | ## M4sh Initialization. ## | ||
| 13497 | ## -------------------- ## | ||
| 25964 | 13498 | ||
| 25965 | # Be more Bourne compatible | 13499 | # Be more Bourne compatible |
| 25966 | DUALCASE=1; export DUALCASE # for MKS sh | 13500 | DUALCASE=1; export DUALCASE # for MKS sh |
| 25967 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 13501 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 25968 | emulate sh | 13502 | emulate sh |
| 25969 | NULLCMD=: | 13503 | NULLCMD=: |
| 25970 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 13504 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -25972,23 +13506,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |||
| 25972 | alias -g '${1+"$@"}'='"$@"' | 13506 | alias -g '${1+"$@"}'='"$@"' |
| 25973 | setopt NO_GLOB_SUBST | 13507 | setopt NO_GLOB_SUBST |
| 25974 | else | 13508 | else |
| 25975 | case `(set -o) 2>/dev/null` in | 13509 | case `(set -o) 2>/dev/null` in #( |
| 25976 | *posix*) set -o posix ;; | 13510 | *posix*) : |
| 13511 | set -o posix ;; #( | ||
| 13512 | *) : | ||
| 13513 | ;; | ||
| 25977 | esac | 13514 | esac |
| 25978 | |||
| 25979 | fi | 13515 | fi |
| 25980 | 13516 | ||
| 25981 | 13517 | ||
| 25982 | |||
| 25983 | |||
| 25984 | # PATH needs CR | ||
| 25985 | # Avoid depending upon Character Ranges. | ||
| 25986 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 25987 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 25988 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 25989 | as_cr_digits='0123456789' | ||
| 25990 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 25991 | |||
| 25992 | as_nl=' | 13518 | as_nl=' |
| 25993 | ' | 13519 | ' |
| 25994 | export as_nl | 13520 | export as_nl |
| @@ -25996,7 +13522,13 @@ export as_nl | |||
| 25996 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 13522 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 25997 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 13523 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 25998 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 13524 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 25999 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 13525 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
| 13526 | # but without wasting forks for bash or zsh. | ||
| 13527 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 13528 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13529 | as_echo='print -r --' | ||
| 13530 | as_echo_n='print -rn --' | ||
| 13531 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 26000 | as_echo='printf %s\n' | 13532 | as_echo='printf %s\n' |
| 26001 | as_echo_n='printf %s' | 13533 | as_echo_n='printf %s' |
| 26002 | else | 13534 | else |
| @@ -26007,7 +13539,7 @@ else | |||
| 26007 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 13539 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 26008 | as_echo_n_body='eval | 13540 | as_echo_n_body='eval |
| 26009 | arg=$1; | 13541 | arg=$1; |
| 26010 | case $arg in | 13542 | case $arg in #( |
| 26011 | *"$as_nl"*) | 13543 | *"$as_nl"*) |
| 26012 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 13544 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 26013 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 13545 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -26030,13 +13562,6 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 26030 | } | 13562 | } |
| 26031 | fi | 13563 | fi |
| 26032 | 13564 | ||
| 26033 | # Support unset when possible. | ||
| 26034 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 26035 | as_unset=unset | ||
| 26036 | else | ||
| 26037 | as_unset=false | ||
| 26038 | fi | ||
| 26039 | |||
| 26040 | 13565 | ||
| 26041 | # IFS | 13566 | # IFS |
| 26042 | # We need space, tab and new line, in precisely that order. Quoting is | 13567 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -26046,15 +13571,15 @@ fi | |||
| 26046 | IFS=" "" $as_nl" | 13571 | IFS=" "" $as_nl" |
| 26047 | 13572 | ||
| 26048 | # Find who we are. Look in the path if we contain no directory separator. | 13573 | # Find who we are. Look in the path if we contain no directory separator. |
| 26049 | case $0 in | 13574 | case $0 in #(( |
| 26050 | *[\\/]* ) as_myself=$0 ;; | 13575 | *[\\/]* ) as_myself=$0 ;; |
| 26051 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 13576 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 26052 | for as_dir in $PATH | 13577 | for as_dir in $PATH |
| 26053 | do | 13578 | do |
| 26054 | IFS=$as_save_IFS | 13579 | IFS=$as_save_IFS |
| 26055 | test -z "$as_dir" && as_dir=. | 13580 | test -z "$as_dir" && as_dir=. |
| 26056 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 13581 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 26057 | done | 13582 | done |
| 26058 | IFS=$as_save_IFS | 13583 | IFS=$as_save_IFS |
| 26059 | 13584 | ||
| 26060 | ;; | 13585 | ;; |
| @@ -26066,12 +13591,16 @@ if test "x$as_myself" = x; then | |||
| 26066 | fi | 13591 | fi |
| 26067 | if test ! -f "$as_myself"; then | 13592 | if test ! -f "$as_myself"; then |
| 26068 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 13593 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 26069 | { (exit 1); exit 1; } | 13594 | exit 1 |
| 26070 | fi | 13595 | fi |
| 26071 | 13596 | ||
| 26072 | # Work around bugs in pre-3.0 UWIN ksh. | 13597 | # Unset variables that we do not need and which cause bugs (e.g. in |
| 26073 | for as_var in ENV MAIL MAILPATH | 13598 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 26074 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 13599 | # suppresses any "Segmentation fault" message there. '((' could |
| 13600 | # trigger a bug in pdksh 5.2.14. | ||
| 13601 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 13602 | do eval test x\${$as_var+set} = xset \ | ||
| 13603 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 26075 | done | 13604 | done |
| 26076 | PS1='$ ' | 13605 | PS1='$ ' |
| 26077 | PS2='> ' | 13606 | PS2='> ' |
| @@ -26083,7 +13612,89 @@ export LC_ALL | |||
| 26083 | LANGUAGE=C | 13612 | LANGUAGE=C |
| 26084 | export LANGUAGE | 13613 | export LANGUAGE |
| 26085 | 13614 | ||
| 26086 | # Required to use basename. | 13615 | # CDPATH. |
| 13616 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 13617 | |||
| 13618 | |||
| 13619 | # as_fn_error ERROR [LINENO LOG_FD] | ||
| 13620 | # --------------------------------- | ||
| 13621 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 13622 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 13623 | # script with status $?, using 1 if that was 0. | ||
| 13624 | as_fn_error () | ||
| 13625 | { | ||
| 13626 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 13627 | if test "$3"; then | ||
| 13628 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 13629 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 13630 | fi | ||
| 13631 | $as_echo "$as_me: error: $1" >&2 | ||
| 13632 | as_fn_exit $as_status | ||
| 13633 | } # as_fn_error | ||
| 13634 | |||
| 13635 | |||
| 13636 | # as_fn_set_status STATUS | ||
| 13637 | # ----------------------- | ||
| 13638 | # Set $? to STATUS, without forking. | ||
| 13639 | as_fn_set_status () | ||
| 13640 | { | ||
| 13641 | return $1 | ||
| 13642 | } # as_fn_set_status | ||
| 13643 | |||
| 13644 | # as_fn_exit STATUS | ||
| 13645 | # ----------------- | ||
| 13646 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 13647 | as_fn_exit () | ||
| 13648 | { | ||
| 13649 | set +e | ||
| 13650 | as_fn_set_status $1 | ||
| 13651 | exit $1 | ||
| 13652 | } # as_fn_exit | ||
| 13653 | |||
| 13654 | # as_fn_unset VAR | ||
| 13655 | # --------------- | ||
| 13656 | # Portably unset VAR. | ||
| 13657 | as_fn_unset () | ||
| 13658 | { | ||
| 13659 | { eval $1=; unset $1;} | ||
| 13660 | } | ||
| 13661 | as_unset=as_fn_unset | ||
| 13662 | # as_fn_append VAR VALUE | ||
| 13663 | # ---------------------- | ||
| 13664 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 13665 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 13666 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 13667 | # implementations. | ||
| 13668 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 13669 | eval 'as_fn_append () | ||
| 13670 | { | ||
| 13671 | eval $1+=\$2 | ||
| 13672 | }' | ||
| 13673 | else | ||
| 13674 | as_fn_append () | ||
| 13675 | { | ||
| 13676 | eval $1=\$$1\$2 | ||
| 13677 | } | ||
| 13678 | fi # as_fn_append | ||
| 13679 | |||
| 13680 | # as_fn_arith ARG... | ||
| 13681 | # ------------------ | ||
| 13682 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 13683 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 13684 | # must be portable across $(()) and expr. | ||
| 13685 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 13686 | eval 'as_fn_arith () | ||
| 13687 | { | ||
| 13688 | as_val=$(( $* )) | ||
| 13689 | }' | ||
| 13690 | else | ||
| 13691 | as_fn_arith () | ||
| 13692 | { | ||
| 13693 | as_val=`expr "$@" || test $? -eq 1` | ||
| 13694 | } | ||
| 13695 | fi # as_fn_arith | ||
| 13696 | |||
| 13697 | |||
| 26087 | if expr a : '\(a\)' >/dev/null 2>&1 && | 13698 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 26088 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 13699 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 26089 | as_expr=expr | 13700 | as_expr=expr |
| @@ -26097,8 +13708,12 @@ else | |||
| 26097 | as_basename=false | 13708 | as_basename=false |
| 26098 | fi | 13709 | fi |
| 26099 | 13710 | ||
| 13711 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 13712 | as_dirname=dirname | ||
| 13713 | else | ||
| 13714 | as_dirname=false | ||
| 13715 | fi | ||
| 26100 | 13716 | ||
| 26101 | # Name of the executable. | ||
| 26102 | as_me=`$as_basename -- "$0" || | 13717 | as_me=`$as_basename -- "$0" || |
| 26103 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 13718 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 26104 | X"$0" : 'X\(//\)$' \| \ | 13719 | X"$0" : 'X\(//\)$' \| \ |
| @@ -26118,76 +13733,25 @@ $as_echo X/"$0" | | |||
| 26118 | } | 13733 | } |
| 26119 | s/.*/./; q'` | 13734 | s/.*/./; q'` |
| 26120 | 13735 | ||
| 26121 | # CDPATH. | 13736 | # Avoid depending upon Character Ranges. |
| 26122 | $as_unset CDPATH | 13737 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 26123 | 13738 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 26124 | 13739 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 26125 | 13740 | as_cr_digits='0123456789' | |
| 26126 | as_lineno_1=$LINENO | 13741 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 26127 | as_lineno_2=$LINENO | ||
| 26128 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 26129 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 26130 | |||
| 26131 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 26132 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 26133 | # line-number line after each line using $LINENO; the second 'sed' | ||
| 26134 | # does the real work. The second script uses 'N' to pair each | ||
| 26135 | # line-number line with the line containing $LINENO, and appends | ||
| 26136 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 26137 | # case at line end. | ||
| 26138 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 26139 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 26140 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 26141 | sed -n ' | ||
| 26142 | p | ||
| 26143 | /[$]LINENO/= | ||
| 26144 | ' <$as_myself | | ||
| 26145 | sed ' | ||
| 26146 | s/[$]LINENO.*/&-/ | ||
| 26147 | t lineno | ||
| 26148 | b | ||
| 26149 | :lineno | ||
| 26150 | N | ||
| 26151 | :loop | ||
| 26152 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 26153 | t loop | ||
| 26154 | s/-\n.*// | ||
| 26155 | ' >$as_me.lineno && | ||
| 26156 | chmod +x "$as_me.lineno" || | ||
| 26157 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
| 26158 | { (exit 1); exit 1; }; } | ||
| 26159 | |||
| 26160 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 26161 | # (the dirname of $[0] is not the place where we might find the | ||
| 26162 | # original and so on. Autoconf is especially sensitive to this). | ||
| 26163 | . "./$as_me.lineno" | ||
| 26164 | # Exit status is that of the last command. | ||
| 26165 | exit | ||
| 26166 | } | ||
| 26167 | |||
| 26168 | |||
| 26169 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 26170 | as_dirname=dirname | ||
| 26171 | else | ||
| 26172 | as_dirname=false | ||
| 26173 | fi | ||
| 26174 | 13742 | ||
| 26175 | ECHO_C= ECHO_N= ECHO_T= | 13743 | ECHO_C= ECHO_N= ECHO_T= |
| 26176 | case `echo -n x` in | 13744 | case `echo -n x` in #((((( |
| 26177 | -n*) | 13745 | -n*) |
| 26178 | case `echo 'x\c'` in | 13746 | case `echo 'xy\c'` in |
| 26179 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 13747 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 26180 | *) ECHO_C='\c';; | 13748 | xy) ECHO_C='\c';; |
| 13749 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 13750 | ECHO_T=' ';; | ||
| 26181 | esac;; | 13751 | esac;; |
| 26182 | *) | 13752 | *) |
| 26183 | ECHO_N='-n';; | 13753 | ECHO_N='-n';; |
| 26184 | esac | 13754 | esac |
| 26185 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 26186 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 26187 | as_expr=expr | ||
| 26188 | else | ||
| 26189 | as_expr=false | ||
| 26190 | fi | ||
| 26191 | 13755 | ||
| 26192 | rm -f conf$$ conf$$.exe conf$$.file | 13756 | rm -f conf$$ conf$$.exe conf$$.file |
| 26193 | if test -d conf$$.dir; then | 13757 | if test -d conf$$.dir; then |
| @@ -26216,8 +13780,56 @@ fi | |||
| 26216 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 13780 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 26217 | rmdir conf$$.dir 2>/dev/null | 13781 | rmdir conf$$.dir 2>/dev/null |
| 26218 | 13782 | ||
| 13783 | |||
| 13784 | # as_fn_mkdir_p | ||
| 13785 | # ------------- | ||
| 13786 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 13787 | as_fn_mkdir_p () | ||
| 13788 | { | ||
| 13789 | |||
| 13790 | case $as_dir in #( | ||
| 13791 | -*) as_dir=./$as_dir;; | ||
| 13792 | esac | ||
| 13793 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 13794 | as_dirs= | ||
| 13795 | while :; do | ||
| 13796 | case $as_dir in #( | ||
| 13797 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 13798 | *) as_qdir=$as_dir;; | ||
| 13799 | esac | ||
| 13800 | as_dirs="'$as_qdir' $as_dirs" | ||
| 13801 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 13802 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 13803 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 13804 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 13805 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 13806 | $as_echo X"$as_dir" | | ||
| 13807 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 13808 | s//\1/ | ||
| 13809 | q | ||
| 13810 | } | ||
| 13811 | /^X\(\/\/\)[^/].*/{ | ||
| 13812 | s//\1/ | ||
| 13813 | q | ||
| 13814 | } | ||
| 13815 | /^X\(\/\/\)$/{ | ||
| 13816 | s//\1/ | ||
| 13817 | q | ||
| 13818 | } | ||
| 13819 | /^X\(\/\).*/{ | ||
| 13820 | s//\1/ | ||
| 13821 | q | ||
| 13822 | } | ||
| 13823 | s/.*/./; q'` | ||
| 13824 | test -d "$as_dir" && break | ||
| 13825 | done | ||
| 13826 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 13827 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 13828 | |||
| 13829 | |||
| 13830 | } # as_fn_mkdir_p | ||
| 26219 | if mkdir -p . 2>/dev/null; then | 13831 | if mkdir -p . 2>/dev/null; then |
| 26220 | as_mkdir_p=: | 13832 | as_mkdir_p='mkdir -p "$as_dir"' |
| 26221 | else | 13833 | else |
| 26222 | test -d ./-p && rmdir ./-p | 13834 | test -d ./-p && rmdir ./-p |
| 26223 | as_mkdir_p=false | 13835 | as_mkdir_p=false |
| @@ -26236,10 +13848,10 @@ else | |||
| 26236 | if test -d "$1"; then | 13848 | if test -d "$1"; then |
| 26237 | test -d "$1/."; | 13849 | test -d "$1/."; |
| 26238 | else | 13850 | else |
| 26239 | case $1 in | 13851 | case $1 in #( |
| 26240 | -*)set "./$1";; | 13852 | -*)set "./$1";; |
| 26241 | esac; | 13853 | esac; |
| 26242 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 13854 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 26243 | ???[sx]*):;;*)false;;esac;fi | 13855 | ???[sx]*):;;*)false;;esac;fi |
| 26244 | '\'' sh | 13856 | '\'' sh |
| 26245 | ' | 13857 | ' |
| @@ -26254,13 +13866,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
| 26254 | 13866 | ||
| 26255 | 13867 | ||
| 26256 | exec 6>&1 | 13868 | exec 6>&1 |
| 13869 | ## ----------------------------------- ## | ||
| 13870 | ## Main body of $CONFIG_STATUS script. ## | ||
| 13871 | ## ----------------------------------- ## | ||
| 13872 | _ASEOF | ||
| 13873 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 26257 | 13874 | ||
| 26258 | # Save the log message, to keep $[0] and so on meaningful, and to | 13875 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 13876 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 26259 | # report actual input values of CONFIG_FILES etc. instead of their | 13877 | # report actual input values of CONFIG_FILES etc. instead of their |
| 26260 | # values after options handling. | 13878 | # values after options handling. |
| 26261 | ac_log=" | 13879 | ac_log=" |
| 26262 | This file was extended by emacs $as_me 23.1.93, which was | 13880 | This file was extended by emacs $as_me 24.0.50, which was |
| 26263 | generated by GNU Autoconf 2.62. Invocation command line was | 13881 | generated by GNU Autoconf 2.64. Invocation command line was |
| 26264 | 13882 | ||
| 26265 | CONFIG_FILES = $CONFIG_FILES | 13883 | CONFIG_FILES = $CONFIG_FILES |
| 26266 | CONFIG_HEADERS = $CONFIG_HEADERS | 13884 | CONFIG_HEADERS = $CONFIG_HEADERS |
| @@ -26273,6 +13891,15 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
| 26273 | 13891 | ||
| 26274 | _ACEOF | 13892 | _ACEOF |
| 26275 | 13893 | ||
| 13894 | case $ac_config_files in *" | ||
| 13895 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 13896 | esac | ||
| 13897 | |||
| 13898 | case $ac_config_headers in *" | ||
| 13899 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 13900 | esac | ||
| 13901 | |||
| 13902 | |||
| 26276 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 13903 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 26277 | # Files that config.status was made for. | 13904 | # Files that config.status was made for. |
| 26278 | config_files="$ac_config_files" | 13905 | config_files="$ac_config_files" |
| @@ -26283,19 +13910,21 @@ _ACEOF | |||
| 26283 | 13910 | ||
| 26284 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 13911 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 26285 | ac_cs_usage="\ | 13912 | ac_cs_usage="\ |
| 26286 | \`$as_me' instantiates files from templates according to the | 13913 | \`$as_me' instantiates files and other configuration actions |
| 26287 | current configuration. | 13914 | from templates according to the current configuration. Unless the files |
| 13915 | and actions are specified as TAGs, all are instantiated by default. | ||
| 26288 | 13916 | ||
| 26289 | Usage: $0 [OPTIONS] [FILE]... | 13917 | Usage: $0 [OPTION]... [TAG]... |
| 26290 | 13918 | ||
| 26291 | -h, --help print this help, then exit | 13919 | -h, --help print this help, then exit |
| 26292 | -V, --version print version number and configuration settings, then exit | 13920 | -V, --version print version number and configuration settings, then exit |
| 26293 | -q, --quiet do not print progress messages | 13921 | -q, --quiet, --silent |
| 13922 | do not print progress messages | ||
| 26294 | -d, --debug don't remove temporary files | 13923 | -d, --debug don't remove temporary files |
| 26295 | --recheck update $as_me by reconfiguring in the same conditions | 13924 | --recheck update $as_me by reconfiguring in the same conditions |
| 26296 | --file=FILE[:TEMPLATE] | 13925 | --file=FILE[:TEMPLATE] |
| 26297 | instantiate the configuration file FILE | 13926 | instantiate the configuration file FILE |
| 26298 | --header=FILE[:TEMPLATE] | 13927 | --header=FILE[:TEMPLATE] |
| 26299 | instantiate the configuration header FILE | 13928 | instantiate the configuration header FILE |
| 26300 | 13929 | ||
| 26301 | Configuration files: | 13930 | Configuration files: |
| @@ -26307,16 +13936,16 @@ $config_headers | |||
| 26307 | Configuration commands: | 13936 | Configuration commands: |
| 26308 | $config_commands | 13937 | $config_commands |
| 26309 | 13938 | ||
| 26310 | Report bugs to <bug-autoconf@gnu.org>." | 13939 | Report bugs to the package provider." |
| 26311 | 13940 | ||
| 26312 | _ACEOF | 13941 | _ACEOF |
| 26313 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 13942 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 26314 | ac_cs_version="\\ | 13943 | ac_cs_version="\\ |
| 26315 | emacs config.status 23.1.93 | 13944 | emacs config.status 24.0.50 |
| 26316 | configured by $0, generated by GNU Autoconf 2.62, | 13945 | configured by $0, generated by GNU Autoconf 2.64, |
| 26317 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 13946 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 26318 | 13947 | ||
| 26319 | Copyright (C) 2008 Free Software Foundation, Inc. | 13948 | Copyright (C) 2009 Free Software Foundation, Inc. |
| 26320 | This config.status script is free software; the Free Software Foundation | 13949 | This config.status script is free software; the Free Software Foundation |
| 26321 | gives unlimited permission to copy, distribute and modify it." | 13950 | gives unlimited permission to copy, distribute and modify it." |
| 26322 | 13951 | ||
| @@ -26357,20 +13986,19 @@ do | |||
| 26357 | case $ac_optarg in | 13986 | case $ac_optarg in |
| 26358 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 13987 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 26359 | esac | 13988 | esac |
| 26360 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | 13989 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 26361 | ac_need_defaults=false;; | 13990 | ac_need_defaults=false;; |
| 26362 | --header | --heade | --head | --hea ) | 13991 | --header | --heade | --head | --hea ) |
| 26363 | $ac_shift | 13992 | $ac_shift |
| 26364 | case $ac_optarg in | 13993 | case $ac_optarg in |
| 26365 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 13994 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 26366 | esac | 13995 | esac |
| 26367 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | 13996 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 26368 | ac_need_defaults=false;; | 13997 | ac_need_defaults=false;; |
| 26369 | --he | --h) | 13998 | --he | --h) |
| 26370 | # Conflict between --help and --header | 13999 | # Conflict between --help and --header |
| 26371 | { $as_echo "$as_me: error: ambiguous option: $1 | 14000 | as_fn_error "ambiguous option: \`$1' |
| 26372 | Try \`$0 --help' for more information." >&2 | 14001 | Try \`$0 --help' for more information.";; |
| 26373 | { (exit 1); exit 1; }; };; | ||
| 26374 | --help | --hel | -h ) | 14002 | --help | --hel | -h ) |
| 26375 | $as_echo "$ac_cs_usage"; exit ;; | 14003 | $as_echo "$ac_cs_usage"; exit ;; |
| 26376 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 14004 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| @@ -26378,11 +14006,10 @@ Try \`$0 --help' for more information." >&2 | |||
| 26378 | ac_cs_silent=: ;; | 14006 | ac_cs_silent=: ;; |
| 26379 | 14007 | ||
| 26380 | # This is an error. | 14008 | # This is an error. |
| 26381 | -*) { $as_echo "$as_me: error: unrecognized option: $1 | 14009 | -*) as_fn_error "unrecognized option: \`$1' |
| 26382 | Try \`$0 --help' for more information." >&2 | 14010 | Try \`$0 --help' for more information." ;; |
| 26383 | { (exit 1); exit 1; }; } ;; | ||
| 26384 | 14011 | ||
| 26385 | *) ac_config_targets="$ac_config_targets $1" | 14012 | *) as_fn_append ac_config_targets " $1" |
| 26386 | ac_need_defaults=false ;; | 14013 | ac_need_defaults=false ;; |
| 26387 | 14014 | ||
| 26388 | esac | 14015 | esac |
| @@ -26447,9 +14074,7 @@ do | |||
| 26447 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 14074 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
| 26448 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 14075 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
| 26449 | 14076 | ||
| 26450 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 14077 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 26451 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
| 26452 | { (exit 1); exit 1; }; };; | ||
| 26453 | esac | 14078 | esac |
| 26454 | done | 14079 | done |
| 26455 | 14080 | ||
| @@ -26476,7 +14101,7 @@ $debug || | |||
| 26476 | trap 'exit_status=$? | 14101 | trap 'exit_status=$? |
| 26477 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 14102 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 26478 | ' 0 | 14103 | ' 0 |
| 26479 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | 14104 | trap 'as_fn_exit 1' 1 2 13 15 |
| 26480 | } | 14105 | } |
| 26481 | # Create a (secure) tmp directory for tmp files. | 14106 | # Create a (secure) tmp directory for tmp files. |
| 26482 | 14107 | ||
| @@ -26487,11 +14112,7 @@ $debug || | |||
| 26487 | { | 14112 | { |
| 26488 | tmp=./conf$$-$RANDOM | 14113 | tmp=./conf$$-$RANDOM |
| 26489 | (umask 077 && mkdir "$tmp") | 14114 | (umask 077 && mkdir "$tmp") |
| 26490 | } || | 14115 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 26491 | { | ||
| 26492 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | ||
| 26493 | { (exit 1); exit 1; } | ||
| 26494 | } | ||
| 26495 | 14116 | ||
| 26496 | # Set up the scripts for CONFIG_FILES section. | 14117 | # Set up the scripts for CONFIG_FILES section. |
| 26497 | # No need to generate them if there are no CONFIG_FILES. | 14118 | # No need to generate them if there are no CONFIG_FILES. |
| @@ -26499,10 +14120,16 @@ $debug || | |||
| 26499 | if test -n "$CONFIG_FILES"; then | 14120 | if test -n "$CONFIG_FILES"; then |
| 26500 | 14121 | ||
| 26501 | 14122 | ||
| 26502 | ac_cr=' ' | 14123 | ac_cr=`echo X | tr X '\015'` |
| 14124 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 14125 | # But we know of no other shell where ac_cr would be empty at this | ||
| 14126 | # point, so we can use a bashism as a fallback. | ||
| 14127 | if test "x$ac_cr" = x; then | ||
| 14128 | eval ac_cr=\$\'\\r\' | ||
| 14129 | fi | ||
| 26503 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 14130 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 26504 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 14131 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 26505 | ac_cs_awk_cr='\\r' | 14132 | ac_cs_awk_cr='\r' |
| 26506 | else | 14133 | else |
| 26507 | ac_cs_awk_cr=$ac_cr | 14134 | ac_cs_awk_cr=$ac_cr |
| 26508 | fi | 14135 | fi |
| @@ -26516,23 +14143,18 @@ _ACEOF | |||
| 26516 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 14143 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 26517 | echo "_ACEOF" | 14144 | echo "_ACEOF" |
| 26518 | } >conf$$subs.sh || | 14145 | } >conf$$subs.sh || |
| 26519 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 14146 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 26520 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26521 | { (exit 1); exit 1; }; } | ||
| 26522 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 14147 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 26523 | ac_delim='%!_!# ' | 14148 | ac_delim='%!_!# ' |
| 26524 | for ac_last_try in false false false false false :; do | 14149 | for ac_last_try in false false false false false :; do |
| 26525 | . ./conf$$subs.sh || | 14150 | . ./conf$$subs.sh || |
| 26526 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 14151 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 26527 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26528 | { (exit 1); exit 1; }; } | ||
| 26529 | 14152 | ||
| 26530 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then | 14153 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 14154 | if test $ac_delim_n = $ac_delim_num; then | ||
| 26531 | break | 14155 | break |
| 26532 | elif $ac_last_try; then | 14156 | elif $ac_last_try; then |
| 26533 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 14157 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 26534 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26535 | { (exit 1); exit 1; }; } | ||
| 26536 | else | 14158 | else |
| 26537 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14159 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 26538 | fi | 14160 | fi |
| @@ -26621,9 +14243,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |||
| 26621 | else | 14243 | else |
| 26622 | cat | 14244 | cat |
| 26623 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 14245 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 26624 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 | 14246 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 26625 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | ||
| 26626 | { (exit 1); exit 1; }; } | ||
| 26627 | _ACEOF | 14247 | _ACEOF |
| 26628 | 14248 | ||
| 26629 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 14249 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| @@ -26664,9 +14284,7 @@ for ac_last_try in false false :; do | |||
| 26664 | if test -z "$ac_t"; then | 14284 | if test -z "$ac_t"; then |
| 26665 | break | 14285 | break |
| 26666 | elif $ac_last_try; then | 14286 | elif $ac_last_try; then |
| 26667 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | 14287 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 26668 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | ||
| 26669 | { (exit 1); exit 1; }; } | ||
| 26670 | else | 14288 | else |
| 26671 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14289 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 26672 | fi | 14290 | fi |
| @@ -26732,9 +14350,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 26732 | } | 14350 | } |
| 26733 | split(mac1, mac2, "(") #) | 14351 | split(mac1, mac2, "(") #) |
| 26734 | macro = mac2[1] | 14352 | macro = mac2[1] |
| 14353 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 26735 | if (D_is_set[macro]) { | 14354 | if (D_is_set[macro]) { |
| 26736 | # Preserve the white space surrounding the "#". | 14355 | # Preserve the white space surrounding the "#". |
| 26737 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 26738 | print prefix "define", macro P[macro] D[macro] | 14356 | print prefix "define", macro P[macro] D[macro] |
| 26739 | next | 14357 | next |
| 26740 | } else { | 14358 | } else { |
| @@ -26742,7 +14360,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 26742 | # in the case of _POSIX_SOURCE, which is predefined and required | 14360 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 26743 | # on some systems where configure will not decide to define it. | 14361 | # on some systems where configure will not decide to define it. |
| 26744 | if (defundef == "undef") { | 14362 | if (defundef == "undef") { |
| 26745 | print "/*", line, "*/" | 14363 | print "/*", prefix defundef, macro, "*/" |
| 26746 | next | 14364 | next |
| 26747 | } | 14365 | } |
| 26748 | } | 14366 | } |
| @@ -26751,9 +14369,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 26751 | _ACAWK | 14369 | _ACAWK |
| 26752 | _ACEOF | 14370 | _ACEOF |
| 26753 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14371 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 26754 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 | 14372 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 26755 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | ||
| 26756 | { (exit 1); exit 1; }; } | ||
| 26757 | fi # test -n "$CONFIG_HEADERS" | 14373 | fi # test -n "$CONFIG_HEADERS" |
| 26758 | 14374 | ||
| 26759 | 14375 | ||
| @@ -26766,9 +14382,7 @@ do | |||
| 26766 | esac | 14382 | esac |
| 26767 | case $ac_mode$ac_tag in | 14383 | case $ac_mode$ac_tag in |
| 26768 | :[FHL]*:*);; | 14384 | :[FHL]*:*);; |
| 26769 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | 14385 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 26770 | $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
| 26771 | { (exit 1); exit 1; }; };; | ||
| 26772 | :[FH]-) ac_tag=-:-;; | 14386 | :[FH]-) ac_tag=-:-;; |
| 26773 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 14387 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 26774 | esac | 14388 | esac |
| @@ -26796,12 +14410,10 @@ $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |||
| 26796 | [\\/$]*) false;; | 14410 | [\\/$]*) false;; |
| 26797 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 14411 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 26798 | esac || | 14412 | esac || |
| 26799 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | 14413 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 26800 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
| 26801 | { (exit 1); exit 1; }; };; | ||
| 26802 | esac | 14414 | esac |
| 26803 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 14415 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 26804 | ac_file_inputs="$ac_file_inputs '$ac_f'" | 14416 | as_fn_append ac_file_inputs " '$ac_f'" |
| 26805 | done | 14417 | done |
| 26806 | 14418 | ||
| 26807 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 14419 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| @@ -26812,7 +14424,7 @@ $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |||
| 26812 | `' by configure.' | 14424 | `' by configure.' |
| 26813 | if test x"$ac_file" != x-; then | 14425 | if test x"$ac_file" != x-; then |
| 26814 | configure_input="$ac_file. $configure_input" | 14426 | configure_input="$ac_file. $configure_input" |
| 26815 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 | 14427 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 26816 | $as_echo "$as_me: creating $ac_file" >&6;} | 14428 | $as_echo "$as_me: creating $ac_file" >&6;} |
| 26817 | fi | 14429 | fi |
| 26818 | # Neutralize special characters interpreted by sed in replacement strings. | 14430 | # Neutralize special characters interpreted by sed in replacement strings. |
| @@ -26825,9 +14437,7 @@ $as_echo "$as_me: creating $ac_file" >&6;} | |||
| 26825 | 14437 | ||
| 26826 | case $ac_tag in | 14438 | case $ac_tag in |
| 26827 | *:-:* | *:-) cat >"$tmp/stdin" \ | 14439 | *:-:* | *:-) cat >"$tmp/stdin" \ |
| 26828 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14440 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 26829 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 26830 | { (exit 1); exit 1; }; } ;; | ||
| 26831 | esac | 14441 | esac |
| 26832 | ;; | 14442 | ;; |
| 26833 | esac | 14443 | esac |
| @@ -26855,47 +14465,7 @@ $as_echo X"$ac_file" | | |||
| 26855 | q | 14465 | q |
| 26856 | } | 14466 | } |
| 26857 | s/.*/./; q'` | 14467 | s/.*/./; q'` |
| 26858 | { as_dir="$ac_dir" | 14468 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 26859 | case $as_dir in #( | ||
| 26860 | -*) as_dir=./$as_dir;; | ||
| 26861 | esac | ||
| 26862 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
| 26863 | as_dirs= | ||
| 26864 | while :; do | ||
| 26865 | case $as_dir in #( | ||
| 26866 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 26867 | *) as_qdir=$as_dir;; | ||
| 26868 | esac | ||
| 26869 | as_dirs="'$as_qdir' $as_dirs" | ||
| 26870 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 26871 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 26872 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 26873 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 26874 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 26875 | $as_echo X"$as_dir" | | ||
| 26876 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 26877 | s//\1/ | ||
| 26878 | q | ||
| 26879 | } | ||
| 26880 | /^X\(\/\/\)[^/].*/{ | ||
| 26881 | s//\1/ | ||
| 26882 | q | ||
| 26883 | } | ||
| 26884 | /^X\(\/\/\)$/{ | ||
| 26885 | s//\1/ | ||
| 26886 | q | ||
| 26887 | } | ||
| 26888 | /^X\(\/\).*/{ | ||
| 26889 | s//\1/ | ||
| 26890 | q | ||
| 26891 | } | ||
| 26892 | s/.*/./; q'` | ||
| 26893 | test -d "$as_dir" && break | ||
| 26894 | done | ||
| 26895 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 26896 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
| 26897 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
| 26898 | { (exit 1); exit 1; }; }; } | ||
| 26899 | ac_builddir=. | 14469 | ac_builddir=. |
| 26900 | 14470 | ||
| 26901 | case "$ac_dir" in | 14471 | case "$ac_dir" in |
| @@ -26947,7 +14517,6 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
| 26947 | # If the template does not know about datarootdir, expand it. | 14517 | # If the template does not know about datarootdir, expand it. |
| 26948 | # FIXME: This hack should be removed a few years after 2.60. | 14518 | # FIXME: This hack should be removed a few years after 2.60. |
| 26949 | ac_datarootdir_hack=; ac_datarootdir_seen= | 14519 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 26950 | |||
| 26951 | ac_sed_dataroot=' | 14520 | ac_sed_dataroot=' |
| 26952 | /datarootdir/ { | 14521 | /datarootdir/ { |
| 26953 | p | 14522 | p |
| @@ -26957,12 +14526,11 @@ ac_sed_dataroot=' | |||
| 26957 | /@docdir@/p | 14526 | /@docdir@/p |
| 26958 | /@infodir@/p | 14527 | /@infodir@/p |
| 26959 | /@localedir@/p | 14528 | /@localedir@/p |
| 26960 | /@mandir@/p | 14529 | /@mandir@/p' |
| 26961 | ' | ||
| 26962 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 14530 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 26963 | *datarootdir*) ac_datarootdir_seen=yes;; | 14531 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 26964 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 14532 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 26965 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 14533 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 26966 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 14534 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 26967 | _ACEOF | 14535 | _ACEOF |
| 26968 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14536 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| @@ -26972,7 +14540,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 26972 | s&@infodir@&$infodir&g | 14540 | s&@infodir@&$infodir&g |
| 26973 | s&@localedir@&$localedir&g | 14541 | s&@localedir@&$localedir&g |
| 26974 | s&@mandir@&$mandir&g | 14542 | s&@mandir@&$mandir&g |
| 26975 | s&\\\${datarootdir}&$datarootdir&g' ;; | 14543 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 26976 | esac | 14544 | esac |
| 26977 | _ACEOF | 14545 | _ACEOF |
| 26978 | 14546 | ||
| @@ -27000,14 +14568,12 @@ s&@INSTALL@&$ac_INSTALL&;t t | |||
| 27000 | $ac_datarootdir_hack | 14568 | $ac_datarootdir_hack |
| 27001 | " | 14569 | " |
| 27002 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 14570 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 27003 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14571 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 27004 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27005 | { (exit 1); exit 1; }; } | ||
| 27006 | 14572 | ||
| 27007 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 14573 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 27008 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 14574 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 27009 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 14575 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 27010 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 14576 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 27011 | which seems to be undefined. Please make sure it is defined." >&5 | 14577 | which seems to be undefined. Please make sure it is defined." >&5 |
| 27012 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 14578 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 27013 | which seems to be undefined. Please make sure it is defined." >&2;} | 14579 | which seems to be undefined. Please make sure it is defined." >&2;} |
| @@ -27017,9 +14583,7 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 27017 | -) cat "$tmp/out" && rm -f "$tmp/out";; | 14583 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
| 27018 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 14584 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 27019 | esac \ | 14585 | esac \ |
| 27020 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14586 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 27021 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27022 | { (exit 1); exit 1; }; } | ||
| 27023 | ;; | 14587 | ;; |
| 27024 | :H) | 14588 | :H) |
| 27025 | # | 14589 | # |
| @@ -27030,29 +14594,23 @@ $as_echo "$as_me: error: could not create $ac_file" >&2;} | |||
| 27030 | $as_echo "/* $configure_input */" \ | 14594 | $as_echo "/* $configure_input */" \ |
| 27031 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 14595 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 27032 | } >"$tmp/config.h" \ | 14596 | } >"$tmp/config.h" \ |
| 27033 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14597 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 27034 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27035 | { (exit 1); exit 1; }; } | ||
| 27036 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 14598 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 27037 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 14599 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 27038 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 14600 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 27039 | else | 14601 | else |
| 27040 | rm -f "$ac_file" | 14602 | rm -f "$ac_file" |
| 27041 | mv "$tmp/config.h" "$ac_file" \ | 14603 | mv "$tmp/config.h" "$ac_file" \ |
| 27042 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14604 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 27043 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27044 | { (exit 1); exit 1; }; } | ||
| 27045 | fi | 14605 | fi |
| 27046 | else | 14606 | else |
| 27047 | $as_echo "/* $configure_input */" \ | 14607 | $as_echo "/* $configure_input */" \ |
| 27048 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 14608 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 27049 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | 14609 | || as_fn_error "could not create -" "$LINENO" 5 |
| 27050 | $as_echo "$as_me: error: could not create -" >&2;} | ||
| 27051 | { (exit 1); exit 1; }; } | ||
| 27052 | fi | 14610 | fi |
| 27053 | ;; | 14611 | ;; |
| 27054 | 14612 | ||
| 27055 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 | 14613 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 27056 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 14614 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
| 27057 | ;; | 14615 | ;; |
| 27058 | esac | 14616 | esac |
| @@ -27123,15 +14681,12 @@ fi | |||
| 27123 | done # for ac_tag | 14681 | done # for ac_tag |
| 27124 | 14682 | ||
| 27125 | 14683 | ||
| 27126 | { (exit 0); exit 0; } | 14684 | as_fn_exit 0 |
| 27127 | _ACEOF | 14685 | _ACEOF |
| 27128 | chmod +x $CONFIG_STATUS | ||
| 27129 | ac_clean_files=$ac_clean_files_save | 14686 | ac_clean_files=$ac_clean_files_save |
| 27130 | 14687 | ||
| 27131 | test $ac_write_fail = 0 || | 14688 | test $ac_write_fail = 0 || |
| 27132 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | 14689 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 27133 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | ||
| 27134 | { (exit 1); exit 1; }; } | ||
| 27135 | 14690 | ||
| 27136 | 14691 | ||
| 27137 | # configure is writing to config.log, and then calls config.status. | 14692 | # configure is writing to config.log, and then calls config.status. |
| @@ -27152,11 +14707,11 @@ if test "$no_create" != yes; then | |||
| 27152 | exec 5>>config.log | 14707 | exec 5>>config.log |
| 27153 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 14708 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 27154 | # would make configure fail if this is the last instruction. | 14709 | # would make configure fail if this is the last instruction. |
| 27155 | $ac_cs_success || { (exit 1); exit 1; } | 14710 | $ac_cs_success || as_fn_exit $? |
| 27156 | fi | 14711 | fi |
| 27157 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 14712 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 27158 | { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 | 14713 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 27159 | $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} | 14714 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 27160 | fi | 14715 | fi |
| 27161 | 14716 | ||
| 27162 | 14717 | ||
diff --git a/configure.in b/configure.in index da15b64125c..1b43201f13b 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -22,7 +22,7 @@ dnl You should have received a copy of the GNU General Public License | |||
| 22 | dnl along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 22 | dnl along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 23 | 23 | ||
| 24 | AC_PREREQ(2.62) | 24 | AC_PREREQ(2.62) |
| 25 | AC_INIT(emacs, 23.1.93) | 25 | AC_INIT(emacs, 24.0.50) |
| 26 | AC_CONFIG_HEADER(src/config.h:src/config.in) | 26 | AC_CONFIG_HEADER(src/config.h:src/config.in) |
| 27 | AC_CONFIG_SRCDIR(src/lisp.h) | 27 | AC_CONFIG_SRCDIR(src/lisp.h) |
| 28 | 28 | ||
| @@ -1104,7 +1104,7 @@ fi | |||
| 1104 | dnl checks for header files | 1104 | dnl checks for header files |
| 1105 | AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 1105 | AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| 1106 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 1106 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
| 1107 | termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 1107 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
| 1108 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 1108 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
| 1109 | sys/utsname.h pwd.h utmp.h) | 1109 | sys/utsname.h pwd.h utmp.h) |
| 1110 | 1110 | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index a9d7e1bcf69..78dc33a6e59 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 5 | 2010-03-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * custom.texi (Init Examples): Add xref to Locals. | ||
| 8 | |||
| 9 | * major.texi (Choosing Modes): Mention usage of setq-default for | ||
| 10 | setting the default value of major-mode (Bug#5688). | ||
| 11 | |||
| 1 | 2010-03-02 Chong Yidong <cyd@stupidchicken.com> | 12 | 2010-03-02 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 13 | ||
| 3 | * frames.texi (Mouse Avoidance): Mention make-pointer-invisible. | 14 | * frames.texi (Mouse Avoidance): Mention make-pointer-invisible. |
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index a4914531192..408de24ed6e 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -2256,9 +2256,10 @@ override this). | |||
| 2256 | @end example | 2256 | @end example |
| 2257 | 2257 | ||
| 2258 | This sets the default value, which is effective in all buffers that do | 2258 | This sets the default value, which is effective in all buffers that do |
| 2259 | not have local values for the variable. Setting @code{case-fold-search} | 2259 | not have local values for the variable (@pxref{Locals}). Setting |
| 2260 | with @code{setq} affects only the current buffer's local value, which | 2260 | @code{case-fold-search} with @code{setq} affects only the current |
| 2261 | is not what you probably want to do in an init file. | 2261 | buffer's local value, which is probably not what you want to do in an |
| 2262 | init file. | ||
| 2262 | 2263 | ||
| 2263 | @item | 2264 | @item |
| 2264 | @vindex user-mail-address | 2265 | @vindex user-mail-address |
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index ff152fdf6df..846359a3168 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | @c The edition number appears in several places in this file | 6 | @c The edition number appears in several places in this file |
| 7 | @set EDITION Sixteenth | 7 | @set EDITION Sixteenth |
| 8 | @set EMACSVER 23.1.93 | 8 | @set EMACSVER 24.0.50 |
| 9 | 9 | ||
| 10 | @copying | 10 | @copying |
| 11 | This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@* | 11 | This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@* |
diff --git a/doc/emacs/major.texi b/doc/emacs/major.texi index e2e7c3d2a4c..19ab86f91dd 100644 --- a/doc/emacs/major.texi +++ b/doc/emacs/major.texi | |||
| @@ -196,17 +196,33 @@ only after @code{auto-mode-alist}. By default, | |||
| 196 | @code{magic-fallback-mode-alist} contains forms that check for image | 196 | @code{magic-fallback-mode-alist} contains forms that check for image |
| 197 | files, HTML/XML/SGML files, and Postscript files. | 197 | files, HTML/XML/SGML files, and Postscript files. |
| 198 | 198 | ||
| 199 | When you visit a file that does not specify a major mode to use, or | 199 | @vindex major-mode |
| 200 | when you create a new buffer with @kbd{C-x b}, the default value of | 200 | Once a major mode is chosen, Emacs sets the value of the variable |
| 201 | the variable @code{major-mode} specifies which major mode to use. Normally | 201 | @code{major-mode} to the symbol for that major mode (e.g., |
| 202 | its value is the symbol @code{fundamental-mode}, which specifies | 202 | @code{text-mode} for Text mode). This is a per-buffer variable |
| 203 | Fundamental mode. If the default value of @code{major-mode} is @code{nil}, | 203 | (@pxref{Locals}); its buffer-local value is set automatically, and you |
| 204 | the major mode is taken from the previously current buffer. | 204 | should not change it yourself. |
| 205 | |||
| 206 | The default value of @code{major-mode} determines the major mode to | ||
| 207 | use for files that do not specify a major mode, and for new buffers | ||
| 208 | created with @kbd{C-x b}. Normally, this default value is the symbol | ||
| 209 | @code{fundamental-mode}, which specifies Fundamental mode. You can | ||
| 210 | change it via the Customization interface (@pxref{Easy | ||
| 211 | Customization}), or by adding a line like this to your init file | ||
| 212 | (@pxref{Init File}): | ||
| 213 | |||
| 214 | @smallexample | ||
| 215 | (setq-default major-mode 'text-mode) | ||
| 216 | @end smallexample | ||
| 217 | |||
| 218 | @noindent | ||
| 219 | If the default value of @code{major-mode} is @code{nil}, the major | ||
| 220 | mode is taken from the previously current buffer. | ||
| 205 | 221 | ||
| 206 | @findex normal-mode | 222 | @findex normal-mode |
| 207 | If you change the major mode of a buffer, you can go back to the major | 223 | If you have changed the major mode of a buffer, you can return to |
| 208 | mode Emacs would choose automatically: use the command @kbd{M-x | 224 | the major mode Emacs would have chosen automatically, by typing |
| 209 | normal-mode} to do this. This is the same function that | 225 | @kbd{M-x normal-mode}. This is the same function that |
| 210 | @code{find-file} calls to choose the major mode. It also processes | 226 | @code{find-file} calls to choose the major mode. It also processes |
| 211 | the file's @samp{-*-} line or local variables list (if any). | 227 | the file's @samp{-*-} line or local variables list (if any). |
| 212 | @xref{File Variables}. | 228 | @xref{File Variables}. |
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index e683cc1054f..23e5a6976b7 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-02-16 Glenn Morris <rgm@gnu.org> | 5 | 2010-02-16 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * emacs-lisp-intro.texi: Fix typo in name of `find-tag' command. | 7 | * emacs-lisp-intro.texi: Fix typo in name of `find-tag' command. |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 755e83b65ef..c78a7eec77d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 5 | 2010-03-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * objects.texi (Integer Type): Take note of the read syntax | ||
| 8 | exception for numbers that cannot fit in the integer type. | ||
| 9 | |||
| 1 | 2010-03-03 Glenn Morris <rgm@gnu.org> | 10 | 2010-03-03 Glenn Morris <rgm@gnu.org> |
| 2 | 11 | ||
| 3 | * numbers.texi (Integer Basics, Bitwise Operations): | 12 | * numbers.texi (Integer Basics, Bitwise Operations): |
diff --git a/doc/lispref/book-spine.texinfo b/doc/lispref/book-spine.texinfo index 9291d998473..732df503ec0 100644 --- a/doc/lispref/book-spine.texinfo +++ b/doc/lispref/book-spine.texinfo | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | @center @titlefont{GNU Emacs Lisp Reference Manual} | 11 | @center @titlefont{GNU Emacs Lisp Reference Manual} |
| 12 | @sp 5 | 12 | @sp 5 |
| 13 | @center GNU | 13 | @center GNU |
| 14 | @center Emacs Version 23.1.93 | 14 | @center Emacs Version 24.0.50 |
| 15 | @center for Unix Users | 15 | @center for Unix Users |
| 16 | @sp 5 | 16 | @sp 5 |
| 17 | 17 | ||
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 576737edc5a..8d20ed6a970 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | @c Please remember to update the edition number in README as well. | 8 | @c Please remember to update the edition number in README as well. |
| 9 | @c And also the copies in vol1.texi and vol2.texi. | 9 | @c And also the copies in vol1.texi and vol2.texi. |
| 10 | @set VERSION 3.0 | 10 | @set VERSION 3.0 |
| 11 | @set EMACSVER 23.1.93 | 11 | @set EMACSVER 24.0.50 |
| 12 | @set DATE July 2009 | 12 | @set DATE July 2009 |
| 13 | 13 | ||
| 14 | @c in general, keep the following line commented out, unless doing a | 14 | @c in general, keep the following line commented out, unless doing a |
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 26c17f09f0e..5c3ac13cdaf 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -200,6 +200,13 @@ leading @samp{+} or a final @samp{.}. | |||
| 200 | @end group | 200 | @end group |
| 201 | @end example | 201 | @end example |
| 202 | 202 | ||
| 203 | @noindent | ||
| 204 | As a special exception, if a sequence of digits specifies an integer | ||
| 205 | too large or too small to be a valid integer object, the Lisp reader | ||
| 206 | reads it as a floating-point number (@pxref{Floating Point Type}). | ||
| 207 | For instance, on most machines @code{536870912} is read as the | ||
| 208 | floating-point number @code{536870912.0}. | ||
| 209 | |||
| 203 | @xref{Numbers}, for more information. | 210 | @xref{Numbers}, for more information. |
| 204 | 211 | ||
| 205 | @node Floating Point Type | 212 | @node Floating Point Type |
diff --git a/doc/lispref/vol1.texi b/doc/lispref/vol1.texi index 9144adf18b9..a0590c3d282 100644 --- a/doc/lispref/vol1.texi +++ b/doc/lispref/vol1.texi | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | @c Version of the manual and of Emacs. | 27 | @c Version of the manual and of Emacs. |
| 28 | @c Please remember to update the edition number in README as well. | 28 | @c Please remember to update the edition number in README as well. |
| 29 | @set VERSION 3.0 | 29 | @set VERSION 3.0 |
| 30 | @set EMACSVER 23.1.93 | 30 | @set EMACSVER 24.0.50 |
| 31 | @set DATE July 2009 | 31 | @set DATE July 2009 |
| 32 | 32 | ||
| 33 | @dircategory Emacs | 33 | @dircategory Emacs |
diff --git a/doc/lispref/vol2.texi b/doc/lispref/vol2.texi index 64a4113a3c7..ad4c74611a8 100644 --- a/doc/lispref/vol2.texi +++ b/doc/lispref/vol2.texi | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | @c Version of the manual and of Emacs. | 27 | @c Version of the manual and of Emacs. |
| 28 | @c Please remember to update the edition number in README as well. | 28 | @c Please remember to update the edition number in README as well. |
| 29 | @set VERSION 3.0 | 29 | @set VERSION 3.0 |
| 30 | @set EMACSVER 23.1.93 | 30 | @set EMACSVER 24.0.50 |
| 31 | @set DATE July 2009 | 31 | @set DATE July 2009 |
| 32 | 32 | ||
| 33 | @dircategory Emacs | 33 | @dircategory Emacs |
diff --git a/doc/man/ChangeLog b/doc/man/ChangeLog index 84ce0044cea..e9313979d95 100644 --- a/doc/man/ChangeLog +++ b/doc/man/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-01-09 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-01-09 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * emacs.1: Copyedits. Update options -Q, -mm and --daemon. Remove | 7 | * emacs.1: Copyedits. Update options -Q, -mm and --daemon. Remove |
diff --git a/doc/man/emacs.1 b/doc/man/emacs.1 index 1c93f9e7648..15b7a73259b 100644 --- a/doc/man/emacs.1 +++ b/doc/man/emacs.1 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | .\" See section COPYING for copyright and redistribution information. | 1 | .\" See section COPYING for copyright and redistribution information. |
| 2 | .TH EMACS 1 "2007 April 13" "GNU Emacs 23.1.93" | 2 | .TH EMACS 1 "2007 April 13" "GNU Emacs 24.0.50" |
| 3 | . | 3 | . |
| 4 | . | 4 | . |
| 5 | .SH NAME | 5 | .SH NAME |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 3e491c42de9..136a1eea0fb 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-03-03 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-03-03 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * faq.texi (Escape sequences in shell output): Note that ansi-color is | 7 | * faq.texi (Escape sequences in shell output): Note that ansi-color is |
diff --git a/doc/misc/faq.texi b/doc/misc/faq.texi index d4c0addf43a..924240aeb53 100644 --- a/doc/misc/faq.texi +++ b/doc/misc/faq.texi | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | @c %**end of header | 5 | @c %**end of header |
| 6 | 6 | ||
| 7 | @c This is used in many places | 7 | @c This is used in many places |
| 8 | @set VER 23.1.93 | 8 | @set VER 24.0.50 |
| 9 | 9 | ||
| 10 | @c This file is maintained by Romain Francoise <rfrancoise@gnu.org>. | 10 | @c This file is maintained by Romain Francoise <rfrancoise@gnu.org>. |
| 11 | @c Feel free to install changes without prior permission (but I'd | 11 | @c Feel free to install changes without prior permission (but I'd |
diff --git a/etc/ChangeLog b/etc/ChangeLog index b45e48a7edb..adb782cd13a 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * images/custom/down.xpm, images/custom/right.xpm: Update images | ||
| 4 | to increase contrast on bright backgrounds. | ||
| 5 | |||
| 6 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 7 | |||
| 8 | * Branch for 23.2. | ||
| 9 | |||
| 1 | 2010-03-06 Glenn Morris <rgm@gnu.org> | 10 | 2010-03-06 Glenn Morris <rgm@gnu.org> |
| 2 | 11 | ||
| 3 | * srecode/default.srt (COPYRIGHT): Update template copyright to GPLv3+. | 12 | * srecode/default.srt (COPYRIGHT): Update template copyright to GPLv3+. |
| @@ -1,15 +1,15 @@ | |||
| 1 | GNU Emacs NEWS -- history of user-visible changes. | 1 | GNU Emacs NEWS -- history of user-visible changes. |
| 2 | 2 | ||
| 3 | Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 2010 Free Software Foundation, Inc. |
| 4 | See the end of the file for license conditions. | 4 | See the end of the file for license conditions. |
| 5 | 5 | ||
| 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. |
| 7 | If possible, use M-x report-emacs-bug. | 7 | If possible, use M-x report-emacs-bug. |
| 8 | 8 | ||
| 9 | This file is about changes in Emacs version 23. | 9 | This file is about changes in Emacs version 24. |
| 10 | 10 | ||
| 11 | See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 | 11 | See files NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, |
| 12 | for changes in older Emacs versions. | 12 | and NEWS.1-17 for changes in older Emacs versions. |
| 13 | 13 | ||
| 14 | You can narrow news to a specific version by calling `view-emacs-news' | 14 | You can narrow news to a specific version by calling `view-emacs-news' |
| 15 | with a prefix argument or by typing C-u C-h C-n. | 15 | with a prefix argument or by typing C-u C-h C-n. |
| @@ -22,2368 +22,66 @@ When you add a new item, please add it without either +++ or --- | |||
| 22 | so we will look at it and add it to the manual. | 22 | so we will look at it and add it to the manual. |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | * Installation Changes in Emacs 23.2 | 25 | * Installation Changes in Emacs 24.1 |
| 26 | 26 | ||
| 27 | ** New configure options for Emacs developers | ||
| 28 | These are not new features; only the configure flags are new. | ||
| 29 | --- | ||
| 30 | *** --enable-profiling builds Emacs with profiling enabled. | ||
| 31 | This might not work on all platforms. | ||
| 32 | --- | ||
| 33 | *** --enable-checking[=OPTIONS] builds emacs with extra runtime checks. | ||
| 34 | |||
| 35 | --- | ||
| 36 | ** `make install' now consistently ignores umask, creating a | ||
| 37 | world-readable install. | ||
| 38 | |||
| 39 | ** Emacs compiles with Gconf support, if it is detected. | ||
| 40 | Use the configure option --without-gconf to disable this. | ||
| 41 | |||
| 42 | * Startup Changes in Emacs 23.2 | ||
| 43 | +++ | ||
| 44 | ** The command-line option -Q (--quick) also inhibits loading X resources. | ||
| 45 | However, if Emacs is compiled with the Lucid or Motif toolkit, X | ||
| 46 | resource settings for the graphical widgets are still applied. | ||
| 47 | On Windows, the -Q option causes Emacs to ignore Registry settings, | ||
| 48 | but environment variables set on the Registry are still honored. | ||
| 49 | +++ | ||
| 50 | *** The new variable `inhibit-x-resources' shows whether X resources | ||
| 51 | were loaded. | ||
| 52 | |||
| 53 | +++ | ||
| 54 | ** New command-line option -mm (--maximized) maximizes the initial frame. | ||
| 55 | |||
| 56 | * Changes in Emacs 23.2 | ||
| 57 | |||
| 58 | +++ | ||
| 59 | ** The maximum size of buffers (and the largest fixnum) is doubled. | ||
| 60 | On typical 32bit systems, buffers can now be up to 512MB. | ||
| 61 | |||
| 62 | --- | ||
| 63 | ** The default value of `trash-directory' is now nil. | ||
| 64 | This means that `move-file-to-trash' trashes files according to | ||
| 65 | freedesktop.org specifications, the same method used by the Gnome, | ||
| 66 | KDE, and XFCE desktops. (This change has no effect on Windows, which | ||
| 67 | uses `system-move-file-to-trash' for trashing.) | ||
| 68 | |||
| 69 | +++ | ||
| 70 | ** The pointer now becomes invisible when typing. | ||
| 71 | Customize `make-pointer-invisible' to disable this feature. | ||
| 72 | |||
| 73 | ** Font changes | ||
| 74 | |||
| 75 | *** Emacs can use the system default monospaced font in Gnome. | ||
| 76 | To enable this feature, set `font-use-system-font' to non-nil (it is | ||
| 77 | nil by default). If the system default changes, Emacs changes also. | ||
| 78 | This feature requires Gconf support, which is automatically included | ||
| 79 | at compile-time if configure detects the gconf libraries (you can | ||
| 80 | disable this with the configure option --without-gconf). | ||
| 81 | |||
| 82 | *** On X11, Emacs reacts to Xft changes made by configuration tools, | ||
| 83 | via the XSETTINGS mechanism. This includes antialias, hinting, | ||
| 84 | hintstyle, RGBA, DPI and lcdfilter changes. | ||
| 85 | |||
| 86 | +++ | ||
| 87 | ** Killing a buffer with a running process now asks for confirmation. | ||
| 88 | To remove this query, remove `process-kill-buffer-query-function' from | ||
| 89 | `kill-buffer-query-functions', or set the appropriate process flag | ||
| 90 | with `set-process-query-on-exit-flag'. | ||
| 91 | |||
| 92 | ** File-local variable changes | ||
| 93 | +++ | ||
| 94 | *** Specifying a minor mode as a local variables enables that mode, | ||
| 95 | unconditionally. The previous behavior, toggling the mode, was | ||
| 96 | neither reliable nor generally desirable. | ||
| 97 | |||
| 98 | *** New commands for adding and removing file-local variables: | ||
| 99 | `add-file-local-variable', `delete-file-local-variable', | ||
| 100 | `add-file-local-variable-prop-line', and | ||
| 101 | `delete-file-local-variable-prop-line'. | ||
| 102 | |||
| 103 | *** New commands for adding and removing directory-local variables, | ||
| 104 | and copying them to and from file-local variable lists: | ||
| 105 | `add-dir-local-variable', `delete-dir-local-variable', | ||
| 106 | `copy-dir-locals-to-file-locals', | ||
| 107 | `copy-dir-locals-to-file-locals-prop-line' and | ||
| 108 | `copy-file-locals-to-dir-locals'. | ||
| 109 | |||
| 110 | ** Internationalization changes | ||
| 111 | +++ | ||
| 112 | *** Unibyte sessions are now considered obsolete. | ||
| 113 | This refers to the EMACS_UNIBYTE environment variable as well as the | ||
| 114 | --unibyte, --multibyte, --no-multibyte, and --no-unibyte command line | ||
| 115 | arguments. Customizing enable-multibyte-characters and setting | ||
| 116 | default-enable-multibyte-characters are also deprecated. | ||
| 117 | --- | ||
| 118 | *** New coding system `utf-8-hfs'. | ||
| 119 | This is suitable for default-file-name-coding-system on Mac OS X; see | ||
| 120 | international/ucs-normalize.el. | ||
| 121 | |||
| 122 | --- | ||
| 123 | ** Function arguments in *Help* buffers are now shown in upper-case. | ||
| 124 | Customize `help-downcase-arguments' to t to show them in lower-case. | ||
| 125 | |||
| 126 | |||
| 127 | * Editing Changes in Emacs 23.2 | ||
| 128 | |||
| 129 | ** Kill-ring and selection changes | ||
| 130 | +++ | ||
| 131 | *** If `select-active-regions' is t, any active region automatically | ||
| 132 | becomes the primary selection (for interaction with other window | ||
| 133 | applications). If you enable this, you might want to bind | ||
| 134 | `mouse-yank-primary' to Mouse-2. | ||
| 135 | +++ | ||
| 136 | *** When `save-interprogram-paste-before-kill' is non-nil, the kill | ||
| 137 | commands save the interprogram-paste selection into the kill ring | ||
| 138 | before doing anything else. This avoids losing the selection. | ||
| 139 | +++ | ||
| 140 | *** When `kill-do-not-save-duplicates' is non-nil, identical | ||
| 141 | subsequent kills are not duplicated in the `kill-ring'. | ||
| 142 | |||
| 143 | ** Completion changes | ||
| 144 | |||
| 145 | *** The new command `completion-at-point' provides mode-sensitive completion. | ||
| 146 | |||
| 147 | *** tab-always-indent set to `complete' lets TAB do completion as well. | ||
| 148 | +++ | ||
| 149 | *** The new completion-style `initials' is available. | ||
| 150 | For instance, this can complete M-x lch to list-command-history. | ||
| 151 | |||
| 152 | *** The new variable `completions-format' determines how completions | ||
| 153 | are displayed in the *Completions* buffer. If you set it to | ||
| 154 | `vertical', completions are sorted vertically in columns. | ||
| 155 | |||
| 156 | +++ | ||
| 157 | ** The default value of `blink-matching-paren-distance' is increased. | ||
| 158 | |||
| 159 | --- | ||
| 160 | ** M-n provides more default values in the minibuffer for commands | ||
| 161 | that read file names. These include the file name at point (when ffap | ||
| 162 | is loaded without ffap-bindings), the file name on the current line | ||
| 163 | (in Dired buffers), and the directory names of adjacent Dired windows | ||
| 164 | (for Dired commands that operate on several directories, such as copy, | ||
| 165 | rename, or diff). | ||
| 166 | |||
| 167 | +++ | ||
| 168 | ** M-r is bound to the new `move-to-window-line-top-bottom'. | ||
| 169 | This moves point to the window center, top and bottom on successive | ||
| 170 | invocations, in the same spirit as the C-l (recenter-top-bottom) | ||
| 171 | command. | ||
| 172 | |||
| 173 | +++ | ||
| 174 | ** The new variable `recenter-positions' determines the default | ||
| 175 | cycling order of C-l (`recenter-top-bottom'). | ||
| 176 | |||
| 177 | +++ | ||
| 178 | ** The abbrevs file is now a file named abbrev_defs in | ||
| 179 | user-emacs-directory; but the old location, ~/.abbrev_defs, is used if | ||
| 180 | that file exists. | ||
| 181 | |||
| 182 | * Changes in Specialized Modes and Packages in Emacs 23.2 | ||
| 183 | |||
| 184 | ** The bookmark menu has a narrowing search via bookmark-bmenu-search. | ||
| 185 | |||
| 186 | ** LaTeX mode now provides completion (via completion-at-point). | ||
| 187 | |||
| 188 | ** sym-comp.el is now declared obsolete, superceded by completion-at-point. | ||
| 189 | |||
| 190 | ** lucid.el and levents.el are now declared obsolete. | ||
| 191 | |||
| 192 | ** pcomplete provides a new command `pcomplete-std-completion' which | ||
| 193 | is similar to `pcomplete' but using the standard completion UI code. | ||
| 194 | |||
| 195 | ** Calc | ||
| 196 | +++ | ||
| 197 | *** The Calc settings file is now a file named calc.el in | ||
| 198 | user-emacs-directory; but the old location, ~/.calc.el, is used if | ||
| 199 | that file exists. | ||
| 200 | |||
| 201 | --- | ||
| 202 | *** Graphing commands (`g f' etc.) now work on MS-Windows, if you have | ||
| 203 | the native Windows port of Gnuplot version 3.8 or later installed. | ||
| 204 | |||
| 205 | ** Calendar and diary | ||
| 206 | |||
| 207 | +++ | ||
| 208 | *** Fancy diary display is now the default. | ||
| 209 | If you prefer the simple display, customize `diary-display-function'. | ||
| 210 | |||
| 211 | +++ | ||
| 212 | *** The diary's fancy display now enables view-mode. | ||
| 213 | |||
| 214 | --- | ||
| 215 | *** The command `calendar-current-date' accepts an optional argument | ||
| 216 | giving an offset from today. | ||
| 217 | |||
| 218 | ** Desktop | ||
| 219 | --- | ||
| 220 | *** The default value for `desktop-buffers-not-to-save' is nil. | ||
| 221 | This means Desktop will try restoring all buffers, when you restart | ||
| 222 | your Emacs session. Also, `desktop-buffers-not-to-save' is only | ||
| 223 | effective for buffers that have no associated file. If you want to | ||
| 224 | exempt buffers that do correspond to files, customize the value of | ||
| 225 | `desktop-files-not-to-save' instead. | ||
| 226 | |||
| 227 | ** Dired | ||
| 228 | |||
| 229 | *** The new variable `dired-auto-revert-buffer' allows to revert | ||
| 230 | dired buffers automatically on revisiting. | ||
| 231 | |||
| 232 | ** DocView | ||
| 233 | |||
| 234 | *** When `doc-view-continuous' is non-nil, scrolling a line | ||
| 235 | on the page edge advances to the next/previous page. | ||
| 236 | |||
| 237 | ** GDB-UI | ||
| 238 | |||
| 239 | *** Toolbar functionality for reverse debugging. Display of STL | ||
| 240 | collections as watch expressions. These features require GDB 7.0 | ||
| 241 | or later. | ||
| 242 | |||
| 243 | ** Grep | ||
| 244 | +++ | ||
| 245 | *** A new command `zrgrep' searches recursively in gzipped files. | ||
| 246 | |||
| 247 | ** Info | ||
| 248 | |||
| 249 | *** The new command `Info-virtual-index' bound to "I" displays a menu of | ||
| 250 | matched topics found in the index. | ||
| 251 | |||
| 252 | *** The new command `info-finder' replaces finder.el with a virtual Info | ||
| 253 | manual that generates an Info file which gives the same information | ||
| 254 | through a menu structure. | ||
| 255 | |||
| 256 | ** Message mode is now the default mode for composing mail. | ||
| 257 | |||
| 258 | The default for `mail-user-agent' is now message-user-agent, so the | ||
| 259 | C-x m (`compose-mail') command uses Message mode instead of Mail mode. | ||
| 260 | |||
| 261 | Message mode has been included in Emacs, as part of the Gnus package, | ||
| 262 | for several years. It provides several features that are absent in | ||
| 263 | Mail mode, such as MIME handling. | ||
| 264 | |||
| 265 | *** If the user has not customized mail-user-agent, `compose-mail' | ||
| 266 | checks for Mail mode customizations, and issues a warning if these | ||
| 267 | customizations are found. This alerts users who may otherwise be | ||
| 268 | unaware that their mail configuration has changed. | ||
| 269 | |||
| 270 | To disable this check, set compose-mail-user-agent-warnings to nil. | ||
| 271 | |||
| 272 | ** The default value of mail-interactive is t, since Emacs 23.1. | ||
| 273 | (This was not announced at the time.) It means that when sending mail, | ||
| 274 | Emacs will wait for the process sending mail to return. If you | ||
| 275 | experience delays when sending mail, you may wish to set this to nil. | ||
| 276 | |||
| 277 | ** nXML mode is now the default for editing XML files. | ||
| 278 | |||
| 279 | ** Shell | ||
| 280 | +++ | ||
| 281 | *** ansi-color is now enabled by default. | ||
| 282 | To disable it, set ansi-color-for-comint-mode to nil. | ||
| 283 | |||
| 284 | +++ | ||
| 285 | ** Tramp | ||
| 286 | |||
| 287 | *** New connection methods "rsyncc", "imap" and "imaps". | ||
| 288 | On systems which support GVFS-Fuse, Tramp offers also the new | ||
| 289 | connection methods "dav", "davs", "obex" and "synce". | ||
| 290 | |||
| 291 | ** VC and related modes | ||
| 292 | |||
| 293 | *** When using C-x v v or C-x v i on a unregistered file that is in a | ||
| 294 | directory not controlled by any VCS, ask the user what VC backend to | ||
| 295 | use to create a repository, create a new repository and register the | ||
| 296 | file. | ||
| 297 | |||
| 298 | *** FIXME: add info about the new VC functions: vc-root-diff and | ||
| 299 | vc-root-print-log once they stabilize. | ||
| 300 | |||
| 301 | *** The log functions (C-x v l and C-x v L) do not show the full log | ||
| 302 | by default anymore. The number of entries shown can be chosen | ||
| 303 | interactively with a prefix argument, by customizing | ||
| 304 | vc-log-show-limit. The log buffer display buttons that can be used | ||
| 305 | to change the number of entries shown. | ||
| 306 | RCS, SCCS, CVS do not support this feature. | ||
| 307 | |||
| 308 | *** vc-annotate supports annotations through file copies and renames, | ||
| 309 | it displays the old names for the files and it can show logs/diffs for | ||
| 310 | the corresponding lines. Currently only Git and Mercurial take | ||
| 311 | advantage of this feature. | ||
| 312 | |||
| 313 | *** The log command in vc-annotate can display a single log entry | ||
| 314 | instead of redisplaying the full log. The RCS, CVS and SCCS VC | ||
| 315 | backends do not support this. | ||
| 316 | |||
| 317 | *** When a file is not found, VC will not try to check it out of RCS anymore. | ||
| 318 | |||
| 319 | *** Diff and log operations can be used from dired buffers. | ||
| 320 | |||
| 321 | *** vc-git changes | ||
| 322 | |||
| 323 | **** The short log format for git makes use of the graph display, so | ||
| 324 | it's not supported on git versions earlier than 1.5. | ||
| 325 | |||
| 326 | **** Support for operating with stashes has been added to vc-dir: the stash list is | ||
| 327 | displayed in the *vc-dir* header, stashes can be created, removed, applied and | ||
| 328 | their content displayed. | ||
| 329 | |||
| 330 | **** vc-dir displays the stash status | ||
| 331 | |||
| 332 | **** vc-dir requires at least git-1.5.5. | ||
| 333 | |||
| 334 | *** vc-bzr supports operating with shelves: the shelve list is | ||
| 335 | displayed in the *vc-dir* header, shelves can be created, removed and applied. | ||
| 336 | |||
| 337 | *** log-edit-strip-single-file-name controls whether or not single filenames | ||
| 338 | are stripped when copying text from the ChangeLog to the *VC-Log* buffer. | ||
| 339 | |||
| 340 | ** Elint | ||
| 341 | |||
| 342 | --- | ||
| 343 | *** Elint now uses compilation-mode. | ||
| 344 | |||
| 345 | --- | ||
| 346 | *** Elint can now scan individual files and whole directories, | ||
| 347 | and can be run in batch mode. | ||
| 348 | |||
| 349 | --- | ||
| 350 | *** Elint does a more thorough initialization, and recognizes more built-in | ||
| 351 | functions and variables. Customize `elint-scan-preloaded' if you want | ||
| 352 | to sacrifice some accuracy for a faster startup. | ||
| 353 | |||
| 354 | --- | ||
| 355 | *** Elint attempts some basic understanding of featurep and (f)boundp tests. | ||
| 356 | |||
| 357 | --- | ||
| 358 | *** Customize `elint-ignored-warnings' to suppress some warnings. | ||
| 359 | |||
| 360 | ** Miscellaneous | ||
| 361 | +++ | ||
| 362 | *** The new command `async-shell-command' bound globally to `M-&' executes | ||
| 363 | the command asynchronously without the need to manually add ampersand to | ||
| 364 | the end of the command. Its output appears in the buffer `*Async Shell | ||
| 365 | Command*'. | ||
| 366 | |||
| 367 | *** Isearch searches in the comint/shell input history when the new variable | ||
| 368 | `comint-history-isearch' is non-nil. New commands `comint-history-isearch-backward' | ||
| 369 | and `comint-history-isearch-backward-regexp' (bound to M-r) start Isearch | ||
| 370 | in the input history regardless of the value of `comint-history-isearch'. | ||
| 371 | |||
| 372 | *** Interactively `multi-isearch-buffers' and `multi-isearch-buffers-regexp' | ||
| 373 | read buffer names to search, one by one, ended with RET. With a prefix | ||
| 374 | argument, they ask for a regexp, and search in buffers whose names match | ||
| 375 | the specified regexp. Interactively `multi-isearch-files' and | ||
| 376 | `multi-isearch-files-regexp' read file names to search, one by one, | ||
| 377 | ended with RET. With a prefix argument, they ask for a wildcard, and | ||
| 378 | search in file buffers whose file names match the specified wildcard. | ||
| 379 | |||
| 380 | +++ | ||
| 381 | *** Autorevert Tail mode now works also for remote files. | ||
| 382 | |||
| 383 | +++ | ||
| 384 | *** The new built-in commands `su' and `sudo' support Tramp. | ||
| 385 | That means, they change `default-directory' to the new users value, | ||
| 386 | and let commands run under that user permissions. It works even when | ||
| 387 | `default-directory' is already remote. Calling the external commands | ||
| 388 | is possible by `*su' or `*sudo', repectively. | ||
| 389 | |||
| 390 | --- | ||
| 391 | *** When running in a new enough xterm (newer than version 242), emacs | ||
| 392 | asks xterm what the background color is and it sets up faces | ||
| 393 | accordingly for a dark background if needed (the current default is to | ||
| 394 | consider the background light). | ||
| 395 | |||
| 396 | |||
| 397 | * New Modes and Packages in Emacs 23.2 | ||
| 398 | |||
| 399 | ** CEDET (the Collection of Emacs Development Tools) is now in Emacs. | ||
| 400 | This is a collection of packages to aid with using Emacs as an IDE | ||
| 401 | (integrated development environment): | ||
| 402 | |||
| 403 | *** The Semantic package allows the use of parsers to intelligently | ||
| 404 | edit and navigate source code. Parsers for C/C++, Java, Javascript, | ||
| 405 | and several other languages are included by default, and Semantic can | ||
| 406 | also interface with external tools such as GNU Global and GNU Idutils. | ||
| 407 | |||
| 408 | To enable Semantic, use the global minor mode `semantic-mode'. | ||
| 409 | See the Semantic manual for details. | ||
| 410 | |||
| 411 | *** EDE (Emacs Development Environment) is a package for managing code | ||
| 412 | projects, including features such as automatic Makefile generation. | ||
| 413 | |||
| 414 | To enable EDE, use the minor mode `global-ede-mode'. | ||
| 415 | See the EDE manual for details. | ||
| 416 | |||
| 417 | *** SRecode is a library for recoding Semantic tags back into source | ||
| 418 | code. It is currently used by some parts of Semantic and EDE; in the | ||
| 419 | future, it may be used for code generation features. | ||
| 420 | |||
| 421 | *** The EIEIO library implements a subset of the Common Lisp Object | ||
| 422 | System (CLOS). It is used by the other CEDET packages. | ||
| 423 | |||
| 424 | ** mpc.el is a front end for the Music Player Daemon. Run it with M-x mpc. | ||
| 425 | |||
| 426 | ** htmlfontify.el turns a fontified Emacs buffer into an HTML page. | ||
| 427 | |||
| 428 | ** js.el is a new major mode for JavaScript files. | ||
| 429 | |||
| 430 | ** imap-hash.el is a new library to address IMAP mailboxes as hashtables. | ||
| 431 | |||
| 432 | |||
| 433 | * Incompatible Lisp Changes in Emacs 23.2 | ||
| 434 | |||
| 435 | --- | ||
| 436 | ** Several obsolete functions removed. | ||
| 437 | The functions have been obsolete since Emacs 19, and are unlikely to | ||
| 438 | be in use: | ||
| 439 | |||
| 440 | time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy | ||
| 441 | time-stamp-dd-mon-yy, time-stamp-yy/mm/dd, time-stamp-yyyy/mm/dd, | ||
| 442 | time-stamp-yyyy-mm-dd, time-stamp-yymmdd, time-stamp-hh:mm:ss, | ||
| 443 | time-stamp-hhmm, baud-rate | ||
| 444 | |||
| 445 | --- | ||
| 446 | ** Support for generating Emacs 18 compatible bytecode (by setting | ||
| 447 | the variable `byte-compile-compatibility') has been removed. | ||
| 448 | |||
| 449 | ** In image-mode.el `image-mode-maybe' is obsolete. Instead, you can | ||
| 450 | either use `image-mode' that displays an image file as the actual image | ||
| 451 | inititally, or `image-mode-as-text' when you want to display an image file | ||
| 452 | as text inititally. `image-mode-as-text' is a combination of a non-image | ||
| 453 | mode from `auto-mode-alist' (or Fundamental mode) and `image-minor-mode'. | ||
| 454 | `image-minor-mode' provides `C-c C-c' key binding to toggle image display. | ||
| 455 | `image-toggle-display-text' removes image properties. | ||
| 456 | `image-toggle-display-image' adds image properties. | ||
| 457 | `image-toggle-display' toggles between `image-mode-as-text' and | ||
| 458 | `image-mode'. | ||
| 459 | |||
| 460 | |||
| 461 | * Lisp changes in Emacs 23.2 | ||
| 462 | |||
| 463 | ** make-network-socket can now also create `seqpacket' Unix sockets. | ||
| 464 | |||
| 465 | ** New function `completion-in-region' to use the standard completion | ||
| 466 | facilities on a particular region of text. | ||
| 467 | |||
| 468 | +++ | ||
| 469 | ** The 4th arg to all-completions (aka hide-spaces) is declared obsolete. | ||
| 470 | |||
| 471 | --- | ||
| 472 | ** read-file-name-predicate is obsolete. It was used to pass the predicate | ||
| 473 | to read-file-name-internal because read-file-name-internal abused its `pred' | ||
| 474 | argument to pass the current directory, but this hack is not needed | ||
| 475 | any more. | ||
| 476 | |||
| 477 | ** Frame parameter changes | ||
| 478 | |||
| 479 | +++ | ||
| 480 | *** You can give the `fullscreen' frame parameter the value `maximized'. | ||
| 481 | This maximizes the frame. | ||
| 482 | |||
| 483 | +++ | ||
| 484 | *** The new frame parameter `sticky' makes Emacs frames sticky in | ||
| 485 | virtual desktops. | ||
| 486 | |||
| 487 | --- | ||
| 488 | ** completion-base-size is obsoleted by completion-base-position. | ||
| 489 | This change causes a few backward incompatibilities, mostly with | ||
| 490 | choose-completion-string-functions where the `mini-p' argument has | ||
| 491 | been replaced by a `base-position' argument, and where the `base-size' | ||
| 492 | argument is now always nil. | ||
| 493 | |||
| 494 | ** called-interactively-p now takes one argument and replaces interactive-p | ||
| 495 | which is now marked obsolete. | ||
| 496 | ** New function set-advertised-calling-convention makes it possible | ||
| 497 | to obsolete arguments as well as make some arguments mandatory. | ||
| 498 | ** eval-next-after-load is obsolete. | ||
| 499 | ** New hook `after-load-functions' run after loading an Elisp file. | ||
| 500 | |||
| 501 | ** You can control which binding is preferentially shown in menus and | ||
| 502 | docstrings by adding a `:advertised-binding' property to the corresponding | ||
| 503 | command's symbol. That property can hold a single binding or a list | ||
| 504 | of bindings. | ||
| 505 | |||
| 506 | ** New macro with-silent-modifications to tweak text properties without | ||
| 507 | affecting the buffer's modification state. | ||
| 508 | ** All the default-FOO variables that hold the default value of the FOO | ||
| 509 | variable, are now declared obsolete. | ||
| 510 | |||
| 511 | ** read-key is a function halfway between read-event and read-key-sequence. | ||
| 512 | It reads a single key, but obeys input and escape sequence decoding. | ||
| 513 | |||
| 514 | ** start-process-shell-command and start-file-process-shell-command | ||
| 515 | now only take a single `command' argument. | ||
| 516 | |||
| 517 | ** The variable `process-file-side-effects' shall be bound to nil, if | ||
| 518 | a `process-file' call does not change a remote file. By this, file | ||
| 519 | name handlers like Tramp can apply optimizations. | ||
| 520 | |||
| 521 | +++ | ||
| 522 | ** Hash tables have a new printed representation that is readable. | ||
| 523 | The feature `hashtable-print-readable' identifies this new | ||
| 524 | functionality. | ||
| 525 | |||
| 526 | ** New functions performing Unicode normalization are added: | ||
| 527 | ucs-normalize-NFD-region, ucs-normalize-NFD-string, | ||
| 528 | ucs-normalize-NFC-region, ucs-normalize-NFC-string, | ||
| 529 | ucs-normalize-NFKD-region, ucs-normalize-NFKD-string, | ||
| 530 | ucs-normalize-NFKC-region, ucs-normalize-NFKC-string, | ||
| 531 | ucs-normalize-HFS-NFD-region, ucs-normalize-HFS-NFD-string, | ||
| 532 | ucs-normalize-HFS-NFC-region, ucs-normalize-HFS-NFC-string. | ||
| 533 | |||
| 534 | ** completion-annotate-function specifies how to compute annotations | ||
| 535 | for completions displayed in *Completions*. | ||
| 536 | |||
| 537 | +++ | ||
| 538 | ** Face aliases can now be marked as obsolete, using the macro | ||
| 539 | `define-obsolete-face-alias'. | ||
| 540 | |||
| 541 | --- | ||
| 542 | ** Changing the file-names generated by byte-compilation by redefining | ||
| 543 | the function `byte-compile-dest-file' before loading bytecomp.el is obsolete. | ||
| 544 | Instead, customize byte-compile-dest-file-function. | ||
| 545 | |||
| 546 | --- | ||
| 547 | ** `byte-compile-warnings' has new members, `constants' and `suspicious'. | ||
| 548 | |||
| 549 | ** `delete-directory' has an optional parameter RECURSIVE. | ||
| 550 | |||
| 551 | ** New function `copy-directory', which copies a directory recursively. | ||
| 552 | |||
| 553 | +++ | ||
| 554 | ** New function `window-full-height-p', analogous to the full-width version. | ||
| 555 | |||
| 556 | |||
| 557 | * Changes in Emacs 23.2 on non-free operating systems | ||
| 558 | |||
| 559 | --- | ||
| 560 | ** On MS-Windows, `display-time' now displays the system load average | ||
| 561 | as well as the time, as it does on GNU and Unix. | ||
| 562 | |||
| 563 | |||
| 564 | * Installation Changes in Emacs 23.1 | ||
| 565 | |||
| 566 | ** The default X toolkit is now Gtk+, rather than Lucid. | ||
| 567 | The configure option `--with-gtk' has been removed. Gtk is now the | ||
| 568 | default toolkit, but you can use --with-x-toolkit=gtk if necessary. | ||
| 569 | |||
| 570 | ** New font code. | ||
| 571 | Fonts are handled by new code capable of dealing with multiple font | ||
| 572 | backends. This uses the freetype and fontconfig libraries. | ||
| 573 | |||
| 574 | *** Emacs now accepts font names supplied in the fontconfig format | ||
| 575 | (e.g. "monospace-12:bold") and GTK format (e.g. "Monospace Bold 12"). | ||
| 576 | |||
| 577 | *** Added support for local fonts (fonts installed on the machine | ||
| 578 | where Emacs is running). | ||
| 579 | |||
| 580 | *** Added support for the Xft library for antialiasing. | ||
| 581 | |||
| 582 | *** Added support for the otf library for complex text layout by | ||
| 583 | OpenType fonts. | ||
| 584 | |||
| 585 | *** Added support for the m17n library for text shaping. | ||
| 586 | |||
| 587 | ** Changes to image support | ||
| 588 | |||
| 589 | *** configure now checks for libgif before libungif when searching for | ||
| 590 | a GIF library. | ||
| 591 | |||
| 592 | *** Emacs now supports the SVG image format through librsvg2. | ||
| 593 | |||
| 594 | *** Emacs now supports multi-page TIFF images. | ||
| 595 | |||
| 596 | ** New NeXTSTEP-based port. | ||
| 597 | This provides support for GNUstep (via the GNUstep libraries) and Mac | ||
| 598 | OS X (via the Cocoa libraries). | ||
| 599 | |||
| 600 | Specify --with-ns to configure for this. By default, a self-contained | ||
| 601 | app will be built (containing all lisp). To install/share lisp with | ||
| 602 | other emacsen (e.g. X11 build) use --disable-ns-self-contained. See | ||
| 603 | nextstep/README and nextstep/INSTALL in the Emacs source directory. | ||
| 604 | |||
| 605 | ** Mac OS X is no longer supported via Carbon. | ||
| 606 | Use the NeXTSTEP port, described above. | ||
| 607 | |||
| 608 | ** The new configuration option "--with-dbus" enables D-Bus language | ||
| 609 | bindings for Emacs. | ||
| 610 | |||
| 611 | ** Support for many obsolete platforms has been removed. | ||
| 612 | See the list at the end of etc/MACHINES for details. | ||
| 613 | |||
| 614 | *** Support for systems without alloca has been removed. | ||
| 615 | |||
| 616 | *** Support for Sun windows has been removed. | ||
| 617 | |||
| 618 | *** The `emacstool' utility has been removed. | ||
| 619 | |||
| 620 | ** The following platforms will be removed in a future Emacs version: | ||
| 621 | If you are still using Emacs on one of these platforms, please email | ||
| 622 | emacs-devel@gnu.org to inform the Emacs developers. | ||
| 623 | |||
| 624 | *** Old GNU/Linux systems based on libc version 5. | ||
| 625 | |||
| 626 | *** Old FreeBSD, NetBSD, and OpenBSD systems based on the COFF | ||
| 627 | executable format. | ||
| 628 | |||
| 629 | *** Solaris versions 2.6 and below. | ||
| 630 | |||
| 631 | *** Solaris on IBM RS6000 machines. | ||
| 632 | |||
| 633 | *** UNIX System V (the original SysV, not later platforms based on it). | ||
| 634 | |||
| 635 | *** Unixware on non-x86 machines. | ||
| 636 | |||
| 637 | *** Platforms not supporting shared libraries (i.e., requiring the | ||
| 638 | NO_SHARED_LIBS compilation flag). | ||
| 639 | |||
| 640 | ** The configure options `--with-gcc', `--without-gcc' have been removed. | ||
| 641 | Configure will use gcc by default. Set the CC environment variable if | ||
| 642 | you need control over which C compiler is used. | ||
| 643 | |||
| 644 | ** The refcards are now shipped as PDF files. | ||
| 645 | |||
| 646 | ** The manuals are now licensed under the GNU Free Documentation License v1.3, | ||
| 647 | or any later version. | ||
| 648 | |||
| 649 | ** Emacs 23 comes with a new set of default icons. | ||
| 650 | Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. | ||
| 651 | The Emacs 22 icon is available as `emacs22.png' in the same location. | ||
| 652 | 27 | ||
| 653 | * Changes in Emacs 23.1 | 28 | * Startup Changes in Emacs 24.1 |
| 654 | |||
| 655 | ** Improved X Window System support | ||
| 656 | |||
| 657 | *** Emacs now supports using both X displays and ttys in one session. | ||
| 658 | With an Emacs server active (M-x server-start), `emacsclient -t' | ||
| 659 | creates a tty frame connected to the running emacs server. You can | ||
| 660 | use any number of different ttys. `emacsclient -c' creates a new X11 | ||
| 661 | frame on the current $DISPLAY (or a tty frame if $DISPLAY is not set). | ||
| 662 | There may be problems if a display exits unexpectedly and Emacs is compiled | ||
| 663 | with Gtk+, see etc/PROBLEMS. | ||
| 664 | |||
| 665 | You can test for the presence of this feature in your Lisp code by | ||
| 666 | testing for the `multi-tty' feature. | ||
| 667 | |||
| 668 | *** Emacs starts in the background, as a daemon, when given the | ||
| 669 | --daemon command line argument. It disconnects from the terminal and | ||
| 670 | starts the server. Clients can connect and create graphical or | ||
| 671 | terminal frames using emacsclient. | ||
| 672 | |||
| 673 | **** emacsclient starts emacs in daemon mode and connects to it when | ||
| 674 | --alternate-editor="" is used (or when the evironment variable | ||
| 675 | ALTERNATE_EDITOR is set to "") and emacsclient cannot connect to an | ||
| 676 | emacs server. | ||
| 677 | |||
| 678 | *** The new command close-display-connection closes a connection to a | ||
| 679 | remote display. There are some bugs for Gtk+. See etc/PROBLEMS. | ||
| 680 | |||
| 681 | *** Emacs now supports the XEmbed specification. | ||
| 682 | You can embed Emacs in another application on X11. The new command line | ||
| 683 | option --parent-id is used to pass the parent window id to Emacs. See | ||
| 684 | http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html | ||
| 685 | for details about XEmbed. | ||
| 686 | |||
| 687 | *** Emacs can now set the frame opacity. | ||
| 688 | The opacity of a frame can be controlled by setting the `alpha' frame | ||
| 689 | parameter. This only takes effect on a compositing window manager for | ||
| 690 | the X Window System, such as Compiz, Beryl and Compiz Fusion, on Mac | ||
| 691 | OS X, or on Windows 2000 and later versions of Windows. | ||
| 692 | |||
| 693 | The alpha parameter should be an integer between 0 (transparent) and | ||
| 694 | 100 (opaque), or a float number between 0.0 and 1.0. It can also be a | ||
| 695 | cons cell (ACTIVE . INACTIVE), where ACTIVE is the opacity of an | ||
| 696 | active frame and INACTIVE is the opacity of non-active frames. | ||
| 697 | |||
| 698 | The variable `frame-alpha-lower-limit' defines a lower bound for the | ||
| 699 | opacity; the default is 20. | ||
| 700 | |||
| 701 | ** Internationalization changes | ||
| 702 | |||
| 703 | *** The Emacs character set is now a superset of Unicode. | ||
| 704 | (It has about four times the code space, which should be plenty). | ||
| 705 | |||
| 706 | The internal encoding used for buffers and strings is now | ||
| 707 | Unicode-based and called `utf-8-emacs' (`emacs-internal' is an alias | ||
| 708 | for this). This encoding is backward-compatible with Unicode's UTF-8 | ||
| 709 | encoding. The internal encoding previously used by Emacs, | ||
| 710 | `emacs-mule', is still available for reading and writing files. | ||
| 711 | |||
| 712 | During byte-compilation, Emacs 23 uses `utf-8-emacs' to write files. | ||
| 713 | As a result, byte-compiled files containing non-ASCII characters can't | ||
| 714 | be read by earlier versions of Emacs. Files compiled by Emacs 20, 21, | ||
| 715 | or 22 are loaded correctly as `emacs-mule' (whether or not they | ||
| 716 | contain multibyte characters). This takes somewhat more time, so it | ||
| 717 | may be worth recompiling existing .elc files which don't need to be | ||
| 718 | shared with older Emacsen. | ||
| 719 | |||
| 720 | *** There are new coding systems/aliases; see M-x list-coding-systems. | ||
| 721 | |||
| 722 | *** There is a new charset implementation with many new charsets. | ||
| 723 | See M-x list-character-sets. New charsets can be defined conveniently | ||
| 724 | as tables of unicodes. | ||
| 725 | |||
| 726 | *** There are new language environments for Chinese-GBK, | ||
| 727 | Chinese-GB18030, Khmer, Bengali, Punjabi, Gujarati, Oriya, Telugu, | ||
| 728 | Sinhala, and TaiViet. | ||
| 729 | |||
| 730 | *** The minor modes unify-8859-on-encoding-mode and | ||
| 731 | unify-8859-on-decoding-mode are obsolete. | ||
| 732 | |||
| 733 | *** `ucs-insert' is bound to `C-x 8 RET' and in addition to hex numbers | ||
| 734 | accepts numbers in hash notation (e.g. #o21430 for octal, or #10r8984 for | ||
| 735 | decimal). It also accepts Unicode character names with completion. | ||
| 736 | |||
| 737 | *** The `cyrillic-translit' input method supports many new characters. | ||
| 738 | Common typographical characters available from Unicode were added to | ||
| 739 | `cyrillic-translit': punctuation marks, accented characters, fractions, | ||
| 740 | and others. | ||
| 741 | |||
| 742 | ** Emacs now supports serial port access on GNU/Linux, Unix, and | ||
| 743 | Windows. The new command `serial-term' starts an interactive terminal | ||
| 744 | on a serial port. The serial port can be configured at runtime with | ||
| 745 | the mode-line mouse menu. | ||
| 746 | |||
| 747 | ** Menu Bar changes | ||
| 748 | |||
| 749 | *** In the Options menu, the "Set Default Font" item applies the | ||
| 750 | selected font to the `default' face on all frames, not just the | ||
| 751 | current frame. Furthermore, if Emacs is compiled with both GTK and | ||
| 752 | Fontconfig support, the "Set Default Font" item uses the GTK font | ||
| 753 | selection dialog instead of an Emacs pop-up menu. | ||
| 754 | |||
| 755 | *** The font setting chosen by "Set Default Font" is saved if the | ||
| 756 | "Save Options" item is used. | ||
| 757 | |||
| 758 | *** The Tools menu contains a new Encryption/Decryption submenu. | ||
| 759 | This contains commands provided by EasyPG, the newly-included | ||
| 760 | interface to GnuPG (see New Modes and Packages). | ||
| 761 | |||
| 762 | *** In the Options menu, the "Truncate Long Lines in the Buffer" entry | ||
| 763 | has been replaced with a submenu offering three different ways to | ||
| 764 | handle long lines: truncation, continuation at the window edge, and | ||
| 765 | the new word wrapping behavior (see Editing Changes, below). | ||
| 766 | |||
| 767 | *** Improvements to menus for major and minor modes | ||
| 768 | More major and minor modes now have a mode specific menu, and existing | ||
| 769 | mode menus have been improved to include more functionality. | ||
| 770 | |||
| 771 | ** Mode-line changes | ||
| 772 | |||
| 773 | *** The mode-line displays a `@', instead of `-', if the | ||
| 774 | default-directory for the current buffer is on a remote machine. | ||
| 775 | |||
| 776 | *** The mode-line displays a mode menu when mouse-1 is clicked on a | ||
| 777 | minor mode, in the same way as it already did for major modes. | ||
| 778 | |||
| 779 | *** The `mode-line-emphasis' face is used to highlight certain | ||
| 780 | mode-line information (e.g. waiting for a VC command to finish). | ||
| 781 | |||
| 782 | *** The mode-line tooltips have been improved to provide more details. | ||
| 783 | |||
| 784 | *** The VC, line/colum number and minor mode indicators on the mode | ||
| 785 | line are now interactive: mouse-1 can be used on them to pop up a menu. | ||
| 786 | |||
| 787 | ** File deletion can make use of the Recycle Bin or system Trash folder. | ||
| 788 | Set `delete-by-moving-to-trash' non-nil to use this. Deleted files | ||
| 789 | and directories will then be sent to the Recycle Bin on Windows, and | ||
| 790 | to `trash-directory' on other systems. | ||
| 791 | |||
| 792 | ** Directory-local variables can now be defined. | ||
| 793 | By default, Emacs looks in .dir-locals.el for directory-local | ||
| 794 | variables. For more information, see `dir-locals-set-directory-class' | ||
| 795 | and `dir-locals-set-class-variables'. | ||
| 796 | |||
| 797 | ** Emacs can now use `auth-source' for authentication. | ||
| 798 | `smtpmail' and `url' (Tramp and Gnus also) use `auth-source' to obtain | ||
| 799 | login names and passwords. The match, if found, is reported | ||
| 800 | in *Messages* with the password blanked out. | ||
| 801 | |||
| 802 | ** `where-is-preferred-modifier' can specify your favorite modifier. | ||
| 803 | 29 | ||
| 804 | 30 | ||
| 805 | * Startup Changes in Emacs 23.1 | 31 | * Changes in Emacs 24.1 |
| 806 | |||
| 807 | ** The option `inhibit-startup-screen' (with aliases to old names | ||
| 808 | `inhibit-splash-screen' and `inhibit-startup-message') doesn't inhibit | ||
| 809 | display of the initial message in the *scratch* buffer. If you don't | ||
| 810 | want to display the initial message in the *scratch* buffer at startup, | ||
| 811 | you can set the option `initial-scratch-message' to nil. | ||
| 812 | |||
| 813 | ** New user option `initial-buffer-choice' specifies what to display | ||
| 814 | after starting Emacs: startup screen, *scratch* buffer, visiting a | ||
| 815 | file or directory. | ||
| 816 | 32 | ||
| 817 | ** New alias `argv' for `command-line-args-left' | 33 | ** The scroll-bar is now on the right on GNU/Linux and UNIX-like systems. |
| 818 | This is a convenience alias, so that one can write `(pop argv)' | 34 | Use `set-scroll-bar-mode' to change this. |
| 819 | inside of --eval command line arguments in order to access | ||
| 820 | following arguments. | ||
| 821 | 35 | ||
| 822 | ** The abbrev file is no longer read at startup in batch mode. | ||
| 823 | |||
| 824 | ** Emacs now supports invocation by an X session manager. | ||
| 825 | It can save a session and restore it later. See the documentation of | ||
| 826 | the functions `emacs-session-save' and `emacs-session-restore'. | ||
| 827 | (Actually, this feature was introduced with Emacs 22, but it was not | ||
| 828 | documented.) | ||
| 829 | 36 | ||
| 830 | * Incompatible Editing Changes in Emacs 23.1 | 37 | * Editing Changes in Emacs 24.1 |
| 831 | |||
| 832 | ** In Dired, `dired-flag-garbage-files' is rebound from `&' to `%&' | ||
| 833 | on the regexp command prefix map. | ||
| 834 | |||
| 835 | ** In Dired-x, all command guesses for ! are now added to the default | ||
| 836 | list accessible by M-n instead of pushing all guesses temporarily into | ||
| 837 | the history list. | ||
| 838 | |||
| 839 | ** In Isearch mode, a special case of typing `C-w' at the beginning of | ||
| 840 | the minibuffer that toggles word search (i.e. using key sequences | ||
| 841 | `C-s RET C-w' or `C-s M-e C-w') is obsolete. You can use the global key | ||
| 842 | `M-s w' to start word search, or type `M-s w' in Isearch mode to | ||
| 843 | toggle word search. To start nonincremental word search you can now use | ||
| 844 | `M-s w RET' and `M-s w C-r RET' instead of `C-s RET C-w' and `C-r RET C-w'. | ||
| 845 | |||
| 846 | ** In Info, `Info-search' is unbound from `M-s' to allow using `M-s w' | ||
| 847 | for word search as well as other search commands from the global prefix | ||
| 848 | key `M-s'. `Info-search' is still bound to `s', and also incremental | ||
| 849 | search commands `C-s', `C-M-s', `C-r', `C-M-r' are available for searching | ||
| 850 | through multiple Info nodes, together with their nonincremental versions | ||
| 851 | `C-s RET', `C-r RET', `C-M-s RET', `C-M-r RET', `M-s w RET'. | ||
| 852 | |||
| 853 | ** In Text mode, `center-line' and `center-paragraph' are rebound from | ||
| 854 | `M-s' and `M-S' to global keys `M-o M-s' and `M-o M-S' on the global | ||
| 855 | prefix map `M-o', which is intended for such formatting commands. | ||
| 856 | |||
| 857 | ** The following input methods were removed in Emacs 22.2, but this was | ||
| 858 | not advertised: danish-alt-postfix, esperanto-alt-postfix, | ||
| 859 | finnish-alt-postfix, german-alt-postfix, icelandic-alt-postfix, | ||
| 860 | norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix, | ||
| 861 | and swedish-alt-postfix. Use the versions without "alt-", which are | ||
| 862 | identical. | ||
| 863 | 38 | ||
| 864 | 39 | ||
| 865 | * Editing Changes in Emacs 23.1 | 40 | * Changes in Specialized Modes and Packages in Emacs 24.1 |
| 866 | |||
| 867 | ** The C-n and C-p line-motion commands now move by screen lines, | ||
| 868 | taking continued lines and variable-width characters into account. | ||
| 869 | Setting `line-move-visual' to nil reverts this to the previous | ||
| 870 | behavior (i.e., motion by logical lines based on buffer contents | ||
| 871 | alone). | ||
| 872 | |||
| 873 | ** C-x C-c now invokes `save-buffers-kill-terminal', and C-z now | ||
| 874 | invokes `suspend-frame'. These changes are for compatibility with the | ||
| 875 | new multi-tty support (see `Improved X Window System support' above). | ||
| 876 | |||
| 877 | ** Mark changes | ||
| 878 | |||
| 879 | *** Transient Mark mode is now on by default. | ||
| 880 | |||
| 881 | *** mark-even-if-inactive now defaults to t | ||
| 882 | |||
| 883 | *** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without | ||
| 884 | activating it. | ||
| 885 | |||
| 886 | *** When Transient Mark mode is on, M-q now fills the region if the | ||
| 887 | region is active. Otherwise, it fills the current paragraph. | ||
| 888 | |||
| 889 | *** When Transient Mark mode is on, M-$ now checks spelling of the | ||
| 890 | region if the region is active. Otherwise, it checks spelling of the | ||
| 891 | word at point. | ||
| 892 | |||
| 893 | *** When Transient Mark mode is on, TAB now indents the region if the | ||
| 894 | region is active. | ||
| 895 | |||
| 896 | *** The variable `use-empty-active-region' controls whether an empty | ||
| 897 | active region in Transient Mark mode should make commands operate on | ||
| 898 | that empty region. | ||
| 899 | |||
| 900 | ** Temporarily active regions | ||
| 901 | |||
| 902 | *** The new variable shift-select-mode, non-nil by default, controls | ||
| 903 | shift-selection. When Shift Select mode is on, shift-translated | ||
| 904 | motion keys (e.g. S-left and S-down) activate and extend a temporary | ||
| 905 | region, similar to mouse-selection. | ||
| 906 | |||
| 907 | *** Temporarily active regions, created using shift-selection or | ||
| 908 | mouse-selection, are not necessarily deactivated in the next command. | ||
| 909 | They are only deactivated after point motion commands that are not | ||
| 910 | shift-translated, or after commands that would ordinarily deactivate | ||
| 911 | the mark in Transient Mark mode (e.g., any command that modifies the | ||
| 912 | buffer). | ||
| 913 | |||
| 914 | ** Minibuffer and completion changes | ||
| 915 | |||
| 916 | *** Emacs may ask for confirmation before opening a non-existent file | ||
| 917 | or buffer. By default, Emacs requests confirmation if you type RET | ||
| 918 | immediately after TAB, and the resulting input is not an existing file | ||
| 919 | or buffer; this usually happens when the minibuffer input did not | ||
| 920 | complete far enough and you entered RET by mistake. In that case, | ||
| 921 | Emacs puts the message "[Confirm]" in the minibuffer; type RET again | ||
| 922 | to create the file or buffer. | ||
| 923 | |||
| 924 | The new variable confirm-nonexistent-file-or-buffer determines whether | ||
| 925 | Emacs asks for confirmation. The default value is `after-completion'. | ||
| 926 | If you change it to t, Emacs always asks for confirmation; if you | ||
| 927 | change it to nil, Emacs never asks for confirmation. | ||
| 928 | |||
| 929 | *** The rules for performing completion have been changed. | ||
| 930 | When generating completion alternatives, Emacs now takes the | ||
| 931 | minibuffer text after point, if any, into account: this text is | ||
| 932 | treated as a substring of the remaining part of the completion | ||
| 933 | alternative (i.e., the part not matched by the minibuffer text before | ||
| 934 | point). If no completion alternatives are found this way, Emacs | ||
| 935 | attempts to perform partial-completion. If still no completion | ||
| 936 | alternatives are found, we fall back on the Emacs 22 rules for | ||
| 937 | performing completion. | ||
| 938 | |||
| 939 | The new variable `completion-styles' can be customized to choose your | ||
| 940 | favorite completion style. | ||
| 941 | |||
| 942 | *** When M-n in the minibuffer reaches the end of the list of defaults, | ||
| 943 | it adds the completion list to the end, so next M-n continues putting | ||
| 944 | completion items to the minibuffer. The same principle applies to | ||
| 945 | incremental search commands as well: C-s or C-M-s starts searching | ||
| 946 | the default values and after the end of defaults they continue | ||
| 947 | searching minibuffer completion items. | ||
| 948 | |||
| 949 | *** Minibuffer input of shell commands now comes with completion. | ||
| 950 | |||
| 951 | *** In the `C-x d' (Dired) prompt, typing M-n gives the visited file | ||
| 952 | name of the current buffer. | ||
| 953 | |||
| 954 | *** In the M-! (shell-command) prompt, M-n provides some default commands. | ||
| 955 | These are guessed using the file extension of the current file, based | ||
| 956 | on the file-handlers specified in the operating system's `mailcap' | ||
| 957 | file. The ! command in Dired (dired-do-shell-command) works | ||
| 958 | similarly, using the file displayed on the current line. | ||
| 959 | |||
| 960 | *** A list of regexp default values is available via M-n for `occur', | ||
| 961 | `keep-lines', `flush-lines' and `how-many'. This list includes the active | ||
| 962 | region in transient-mark-mode, the word under the cursor, the last Isearch | ||
| 963 | regexp, the last Isearch string and the last replacement regexp. | ||
| 964 | |||
| 965 | *** When enable-recursive-minibuffers is non-nil, operations which use | ||
| 966 | switch-to-buffer (such as C-x b and C-x C-f) do not fail any more when | ||
| 967 | used in a minibuffer or a dedicated window. Instead, they fallback on | ||
| 968 | using pop-to-buffer, which will use some other window. This change | ||
| 969 | has no effect when enable-recursive-minibuffers is nil (the default). | ||
| 970 | |||
| 971 | *** Isearch started in the minibuffer searches in the minibuffer history. | ||
| 972 | Reverse Isearch commands (C-r, C-M-r) search in previous minibuffer | ||
| 973 | history elements, and forward Isearch commands (C-s, C-M-s) search in | ||
| 974 | next history elements. When the reverse search reaches the first history | ||
| 975 | element, it wraps to the last history element, and the forward search | ||
| 976 | wraps to the first history element. When the search is terminated, the | ||
| 977 | history element containing the search string becomes the current. | ||
| 978 | |||
| 979 | *** The variable read-file-name-completion-ignore-case overrides | ||
| 980 | completion-ignore-case for file name completion. | ||
| 981 | |||
| 982 | *** The variable read-buffer-completion-ignore-case overrides | ||
| 983 | completion-ignore-case for buffer name completion. | ||
| 984 | |||
| 985 | *** The new command `minibuffer-force-complete' chooses one of the | ||
| 986 | possible completions, rather than stopping at the common prefix. | ||
| 987 | |||
| 988 | *** If `completion-auto-help' is `lazy', Emacs shows the completions | ||
| 989 | buffer only on the second attempt to complete. This was already | ||
| 990 | supported in `partial-completion-mode'. | ||
| 991 | |||
| 992 | ** Face changes | ||
| 993 | |||
| 994 | *** S-down-mouse-1 now pops up a menu for changing the font and text | ||
| 995 | size of the default face in the current buffer. The face is changed | ||
| 996 | via face remapping (see Lisp changes, below). | ||
| 997 | |||
| 998 | *** New commands to change the default face size in the current buffer. | ||
| 999 | To increase it, type `C-x C-+' or `C-x C-='. To decrease it, type | ||
| 1000 | `C-x C--'. To restore the default (global) face size, type `C-x C-0'. | ||
| 1001 | These work via Text Scale mode, a new minor mode. | ||
| 1002 | |||
| 1003 | The final key in the above commands may be repeated without the | ||
| 1004 | leading `C-x', e.g. `C-x C-= C-= C-=' increases the face height by | ||
| 1005 | three steps. Each step scales the height of the default face by the | ||
| 1006 | value of the variable `text-scale-mode-step'. | ||
| 1007 | |||
| 1008 | *** The commands buffer-face-mode and buffer-face-set can be used to | ||
| 1009 | remap the default face in the current buffer. See "Buffer Face mode", | ||
| 1010 | under New Modes and Packages. | ||
| 1011 | |||
| 1012 | ** Primary selection changes | ||
| 1013 | |||
| 1014 | *** You can disable kill ring commands from accessing the primary | ||
| 1015 | selection by setting `x-select-enable-primary' to nil. | ||
| 1016 | |||
| 1017 | ** Continuation lines can now be wrapped at word boundaries | ||
| 1018 | (word-wrapping). This is controlled by the new per-buffer variable | ||
| 1019 | `word-wrap'. Word wrapping does not take place if continuation lines | ||
| 1020 | are not shown, e.g. if truncate-lines is non-nil. The most convenient | ||
| 1021 | way to enable word-wrapping is using the new minor mode Visual Line | ||
| 1022 | mode; in addition to setting `word-wrap' to t, this rebinds some | ||
| 1023 | editing commands to work on screen lines rather than text lines. See | ||
| 1024 | New Modes and Packages, below. | ||
| 1025 | |||
| 1026 | ** Window management changes | ||
| 1027 | |||
| 1028 | *** truncate-partial-width-windows now accepts integer values, which | ||
| 1029 | specify a minimum window width for partial-width windows, below which | ||
| 1030 | lines are truncated. The default has been changed to 50. | ||
| 1031 | |||
| 1032 | *** The new command balance-windows-area balances windows both | ||
| 1033 | vertically and horizontally. | ||
| 1034 | |||
| 1035 | *** pop-to-buffer now always sets input focus when the popped-to window | ||
| 1036 | is on a different frame. | ||
| 1037 | |||
| 1038 | ** Miscellaneous changes: | ||
| 1039 | |||
| 1040 | *** C-l is bound to the new command recenter-top-bottom, rather than recenter. | ||
| 1041 | This moves the current line to window center, top and bottom on | ||
| 1042 | successive invocations. | ||
| 1043 | |||
| 1044 | *** scroll-preserve-screen-position also preserves the column position. | ||
| 1045 | |||
| 1046 | *** If `yank-pop-change-selection' is t, rotating the kill ring also | ||
| 1047 | updates the selection or clipboard to the current yank, just as M-w | ||
| 1048 | would do so with the text it copies to the kill ring. | ||
| 1049 | |||
| 1050 | *** C-M-% now shows replacement as it would look in the buffer, with | ||
| 1051 | `\N' and `\&' substituted according to the match. Old behavior can be | ||
| 1052 | restored by customizing `query-replace-show-replacement'. | ||
| 1053 | |||
| 1054 | *** The command shell prompts for the default directory, when it is | ||
| 1055 | called with a prefix and the default directory is a remote file name. | ||
| 1056 | This is because some file name handlers (like ange-ftp) are not able to | ||
| 1057 | run processes remotely. | ||
| 1058 | |||
| 1059 | *** The new command kill-matching-buffers kills buffers whose name | ||
| 1060 | matches a regexp. | ||
| 1061 | |||
| 1062 | *** The value of comment-style now defaults to `indent'. | ||
| 1063 | Thefore, comment-start markers are inserted at the current indentation | ||
| 1064 | of the region to comment, rather than the leftmost column. | ||
| 1065 | |||
| 1066 | *** The new commands `pp-macroexpand-expression' and | ||
| 1067 | `pp-macroexpand-last-sexp' pretty-print macro expansions. | ||
| 1068 | |||
| 1069 | *** The new command `set-file-modes' allows to set file's mode bits. | ||
| 1070 | The mode bits can be specified in symbolic notation, like with GNU | ||
| 1071 | Coreutils, in addition to an octal number. `chmod' is a new | ||
| 1072 | convenience alias for this function. | ||
| 1073 | |||
| 1074 | *** `next-error-recenter' specifies how next-error should recenter the | ||
| 1075 | visited source file. Its value can be a number (for example, 0 for | ||
| 1076 | top line, -1 for bottom line), or nil for no recentering. | ||
| 1077 | |||
| 1078 | *** When typing in a password in the echo area, C-y yanks the current | ||
| 1079 | kill into the password. | ||
| 1080 | |||
| 1081 | *** Tooltip frame parameters `font' and `color' in `tooltip-frame-parameters' | ||
| 1082 | are ignored. Customize the `tooltip' face instead. | ||
| 1083 | |||
| 1084 | *** `mkdir' is a new convenience alias for `make-directory'. | ||
| 1085 | |||
| 1086 | * New Modes and Packages in Emacs 23.1 | ||
| 1087 | |||
| 1088 | ** Auto Composition Mode is a minor mode that composes characters | ||
| 1089 | automatically when they are displayed. It is globally on by default. | ||
| 1090 | It uses `auto-composition-function' (default `auto-compose-chars'). | ||
| 1091 | |||
| 1092 | ** Bubbles, a new game, is similar to SameGame. | ||
| 1093 | |||
| 1094 | ** Buffer Face mode is a minor mode for remapping the default face in | ||
| 1095 | the current buffer. The variable `buffer-face-mode-face' specifies | ||
| 1096 | the face to remap to. The command `buffer-face-set' prompts for a | ||
| 1097 | face name, sets `buffer-face-mode-face' to it, and enables | ||
| 1098 | buffer-face-mode. See "Face changes", under Editing Changes, for a | ||
| 1099 | description of face remapping. | ||
| 1100 | |||
| 1101 | ** butterfly flips the desired bit on the drive platter. | ||
| 1102 | See http://xkcd.com/378/ | ||
| 1103 | |||
| 1104 | ** bug-reference.el provides clickable links to bug reports. | ||
| 1105 | |||
| 1106 | ** dbus.el provides D-Bus language bindings. | ||
| 1107 | D-Bus is an inter-process communication mechanism for applications | ||
| 1108 | residing on the same host. See the manual for details. | ||
| 1109 | |||
| 1110 | ** DocView mode allows viewing of PDF, PostScript and DVI documents. | ||
| 1111 | One can also search for a regular expression in the document. For | ||
| 1112 | details, see the commentary in doc-view.el. | ||
| 1113 | |||
| 1114 | PDF and DVI files are now opened in Doc View mode by default. | ||
| 1115 | |||
| 1116 | In Postcript mode, C-c C-c launches Doc View minor mode for viewing | ||
| 1117 | the postscript file. | ||
| 1118 | |||
| 1119 | ** EasyPG provides an interface to the GNU Privacy Guard (GnuPG). | ||
| 1120 | It includes a GnuPG keyring browser, cryptographic operations on | ||
| 1121 | regions and files, and automatic encryption of *.gpg files. For | ||
| 1122 | details, see the EasyPG Assistant User's Manual. | ||
| 1123 | |||
| 1124 | ** json.el is a library for parsing and generating JSON | ||
| 1125 | (JavaScript Object Notation), a lightweight data-interchange format. | ||
| 1126 | |||
| 1127 | ** linum.el is a new minor mode to display line numbers for the | ||
| 1128 | current buffer. | ||
| 1129 | |||
| 1130 | ** mairix.el is an interface to mairix, a free tool for indexing and | ||
| 1131 | searching locally stored mail. It allows you to query mairix and | ||
| 1132 | display the search results with Rmail, Gnus and VM. Note that there | ||
| 1133 | is an existing Gnus back end, nnmairix.el, which should be used with | ||
| 1134 | Maildir/MH setups. | ||
| 1135 | |||
| 1136 | ** minibuffer-depth-indicate-mode shows the minibuffer depth in the prompt. | ||
| 1137 | |||
| 1138 | ** nXML Mode | ||
| 1139 | This is a new mode for editing XML documents. It allows a schema to | ||
| 1140 | be associated with the XML document being edited, using Relax NG as | ||
| 1141 | the schema language. The schema is used to provide two key features: | ||
| 1142 | |||
| 1143 | *** Continuous validation. nXML validates as you type, highlighting | ||
| 1144 | any invalid parts of your document. | ||
| 1145 | |||
| 1146 | *** Completion. nXML can assist you in entering an element name, | ||
| 1147 | attribute name or data value by using information about what is | ||
| 1148 | allowed by the schema in that context. | ||
| 1149 | |||
| 1150 | ** proced.el provides a Dired-like interface for operating on | ||
| 1151 | processes. Proced makes an Emacs buffer containing a listing of the | ||
| 1152 | current processes. You can use the normal Emacs commands to move | ||
| 1153 | around in this buffer, and special Proced commands to operate on the | ||
| 1154 | processes listed. It is currently only functional on GNU/Linux, | ||
| 1155 | MS-Windows and Solaris. | ||
| 1156 | |||
| 1157 | ** Remember Mode is a mode for jotting down things to remember. | ||
| 1158 | Notes can be saved to a Diary file. For details, see the Remember | ||
| 1159 | Manual. | ||
| 1160 | |||
| 1161 | ** RST mode is a major mode for editing reStructuredText files. | ||
| 1162 | |||
| 1163 | ** Ruby mode is a major mode for Ruby files. | ||
| 1164 | |||
| 1165 | ** Visual Line mode provides support for editing by visual lines. | ||
| 1166 | It turns on word-wrapping in the current buffer, and rebinds C-a, C-e, | ||
| 1167 | and C-k to commands that operate by visual lines instead of logical | ||
| 1168 | lines. This is a more reliable replacement for longlines-mode. | ||
| 1169 | This can also be turned on using the menu bar, via | ||
| 1170 | Options -> Line Wrapping in this Buffer -> Word Wrap | ||
| 1171 | |||
| 1172 | ** xesam.el is an implementation of Xesam, an interface to (desktop) | ||
| 1173 | search engines like Beagle, Strigi, and Tracker. The Xesam API | ||
| 1174 | requires D-Bus for communication. | ||
| 1175 | |||
| 1176 | ** zeroconf.el offers service discovery and service publishing | ||
| 1177 | interfaces according to the zeroconf specification. It communicates | ||
| 1178 | with Avahi, a zeroconf implementation, via D-Bus messages on systems | ||
| 1179 | which have installed this software. | ||
| 1180 | |||
| 1181 | ** There is a new `whitespace' package. | ||
| 1182 | (The pre-existing one has been renamed to `old-whitespace'.) | ||
| 1183 | Now, besides reporting bogus blanks, the whitespace package has a | ||
| 1184 | minor mode and a global minor mode to visualize blanks (TAB, (HARD) | ||
| 1185 | SPACE and NEWLINE). The visualization is made via faces and/or display | ||
| 1186 | table. It can also indicate lines that extend beyond a given column, | ||
| 1187 | trailing blanks, and empty lines at the start or end of a buffer. | ||
| 1188 | See `whitespace-style' for more details. The `whitespace-action' option | ||
| 1189 | specifies what to do when a buffer is visited, killed, or written. | ||
| 1190 | |||
| 1191 | |||
| 1192 | * Changes in Specialized Modes and Packages in Emacs 23.1 | ||
| 1193 | |||
| 1194 | ** Abbrev has been rewritten in Elisp and extended with more flexibility. | ||
| 1195 | |||
| 1196 | *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, | ||
| 1197 | abbrev-table-p, abbrev-insert, abbrev-table-menu. | ||
| 1198 | |||
| 1199 | *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. | ||
| 1200 | |||
| 1201 | *** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take | ||
| 1202 | extra arguments for arbitrary properties. | ||
| 1203 | |||
| 1204 | *** New variable `abbrev-minor-mode-table-alist'. | ||
| 1205 | |||
| 1206 | *** `local-abbrev-table' can hold a list of abbrev-tables. | ||
| 1207 | |||
| 1208 | *** Abbrevs have now the following special properties: | ||
| 1209 | `:count', `:system', `:enable-function', `:case-fixed'. | ||
| 1210 | |||
| 1211 | *** Abbrev-tables have now the following special properties: | ||
| 1212 | `:parents', `:case-fixed', `:enable-function', `:regexp', | ||
| 1213 | `abbrev-table-modiff'. | ||
| 1214 | |||
| 1215 | ** Apropos | ||
| 1216 | |||
| 1217 | *** `apropos-library' describes the elements defined in a given library. | ||
| 1218 | |||
| 1219 | *** Set `apropos-compact-layout' is you want a more compact (but wider) layout. | ||
| 1220 | |||
| 1221 | ** Archive Mode has basic support to browse Rar archives. | ||
| 1222 | Note, however, that the free version of the unrar command only handles | ||
| 1223 | versions 1 and 2 of the Rar format. | ||
| 1224 | |||
| 1225 | ** BibTeX mode | ||
| 1226 | |||
| 1227 | *** New command `bibtex-initialize' (re)initializes BibTeX buffers. | ||
| 1228 | |||
| 1229 | *** New `bibtex-entry-format' options `whitespace', `braces', and | ||
| 1230 | `string', disabled by default. | ||
| 1231 | |||
| 1232 | *** New variable `bibtex-cite-matcher-alist' contains rules to | ||
| 1233 | identify cited keys in BibTeX entries, used by `bibtex-find-crossref'. | ||
| 1234 | |||
| 1235 | *** Command `bibtex-url' allows multiple URLs per entry. | ||
| 1236 | |||
| 1237 | ** Bookmarks | ||
| 1238 | |||
| 1239 | *** bookmark.el saves bookmarks in a pre-Emacs-23-incompatible file format | ||
| 1240 | bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an | ||
| 1241 | older Emacs cannot read one saved by Emacs 23. | ||
| 1242 | 41 | ||
| 1243 | ** Calendar and diary | 42 | ** Customize |
| 1244 | 43 | ||
| 1245 | *** There is a new date style, `iso', essentially year/month/day. | 44 | *** Customize buffers now contain a search field. |
| 1246 | The variable `european-calendar-style' is obsolete - use `calendar-date-style'. | 45 | The search is performed using `customize-apropos'. |
| 1247 | Similarly, the commands `american-calendar' and `european-calendar' | 46 | To turn off the search field, set custom-search-field to nil . |
| 1248 | should be replaced by `calendar-set-date-style'. | ||
| 1249 | 47 | ||
| 1250 | *** The calendar namespace has been rationalized. | 48 | *** Custom options now start out hidden if at their default values. |
| 1251 | All functions and variables now begin with a `calendar-', `diary-', or | 49 | Use the arrow to the left of the option name to toggle visibility. |
| 1252 | `holiday-' prefix. The various calendar systems have secondary | ||
| 1253 | prefixes, eg `calendar-french-'. The old names you are likely to use | ||
| 1254 | directly still exist, for the time being, as aliases, but please start | ||
| 1255 | using the new names. | ||
| 1256 | 50 | ||
| 1257 | *** The whitespace in the calendar layout can be customized. | 51 | *** custom-buffer-sort-alphabetically now defaults to t. |
| 1258 | See the variables: | ||
| 1259 | calendar-left-margin, calendar-intermonth-spacing, calendar-column-width, | ||
| 1260 | calendar-day-header-width, and calendar-day-digit-width. | ||
| 1261 | 52 | ||
| 1262 | *** Text (e.g. ISO weeks) can be displayed between the calendar months. | 53 | *** The color widget now has a "Choose" button, which allows you to |
| 1263 | See the variables calendar-intermonth-header and calendar-intermonth-text. | 54 | choose a color via list-colors-display. |
| 1264 | |||
| 1265 | *** The function `holiday-chinese' computes holidays on the Chinese calendar. | ||
| 1266 | It has been used to add items to the list `holiday-oriental-holidays'. | ||
| 1267 | |||
| 1268 | *** `diary-remind' accepts a negative number -DAYS as a shorthand for | ||
| 1269 | the list (1 2 ... DAYS). | ||
| 1270 | |||
| 1271 | ** Change Log mode | ||
| 1272 | |||
| 1273 | *** The new command C-c C-f (change-log-find-file) finds the file | ||
| 1274 | associated with the current log entry. | ||
| 1275 | |||
| 1276 | *** The new command C-c C-c (change-log-goto-source) goes to the | ||
| 1277 | source code associated with a log entry. | ||
| 1278 | |||
| 1279 | ** Compile and grep modes | ||
| 1280 | |||
| 1281 | *** The mode-line entry for the *compilation* and *grep* buffer is color coded. | ||
| 1282 | It has different colors for to show that: (a) the command is still | ||
| 1283 | running, (b) successful completion, (c) error. | ||
| 1284 | |||
| 1285 | *** compilation-auto-jump-to-first-error tells `compile' to jump to | ||
| 1286 | the first error encountered during compilations. | ||
| 1287 | |||
| 1288 | *** compilation-scroll-output accepts a new value, `first-error', which | ||
| 1289 | says to stop auto scrolling at the first error that occurs. | ||
| 1290 | |||
| 1291 | *** The `cc' alias for C++ files in `grep-file-aliases' has been | ||
| 1292 | improved. `hh' can be used to match C++ header files and `cchh' both | ||
| 1293 | C++ sources and headers. | ||
| 1294 | |||
| 1295 | ** Copyright | ||
| 1296 | |||
| 1297 | *** You can specify your copyright holders' names. | ||
| 1298 | Only copyright lines with holders matching `copyright-names-regexp' are | ||
| 1299 | considered for update. | ||
| 1300 | |||
| 1301 | *** Copyrights can be at the end of the buffer. | ||
| 1302 | This is controlled by `copyright-at-end-flag' (used by, e.g., change-log-mode). | ||
| 1303 | |||
| 1304 | ** Custom | ||
| 1305 | |||
| 1306 | *** defcustom accepts new keyword arguments, `:safe' and `:risky', which | ||
| 1307 | set a variable's `safe-local-variable' and `risky-local-variable' property. | ||
| 1308 | |||
| 1309 | ** Diff mode | ||
| 1310 | |||
| 1311 | *** diff-refine-hunk highlights word-level details of changes in a diff hunk. | ||
| 1312 | It's used automatically as you move through hunks, see | ||
| 1313 | diff-auto-refine-mode. It is bound to `C-c C-b'. | ||
| 1314 | |||
| 1315 | *** diff-add-change-log-entries-other-window iterates through the diff | ||
| 1316 | buffer and tries to create ChangeLog entries for each change. | ||
| 1317 | It is bound to `C-x 4 A'. | ||
| 1318 | |||
| 1319 | *** Turning on `whitespace-mode' in a diff buffer will show trailing | ||
| 1320 | whitespace problems in the modified lines. | ||
| 1321 | |||
| 1322 | ** Dired | ||
| 1323 | |||
| 1324 | *** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode, | ||
| 1325 | and C-x C-q in wdired-mode exits it with asking a question about | ||
| 1326 | saving changes. | ||
| 1327 | |||
| 1328 | *** `&' runs the command `dired-do-async-shell-command' that executes | ||
| 1329 | the command asynchronously without the need to manually add ampersand | ||
| 1330 | to the end of the command. Its output appears in the buffer `*Async Shell | ||
| 1331 | Command*'. | ||
| 1332 | |||
| 1333 | *** `M-s f C-s' and `M-s f M-C-s' run Isearch that matches only at file names. | ||
| 1334 | When a new user option `dired-isearch-filenames' is t, then even ordinary | ||
| 1335 | Isearch started with `C-s' and `C-M-s' matches only at file names in the | ||
| 1336 | Dired buffer. When `dired-isearch-filenames' is `dwim' then activation of | ||
| 1337 | file name Isearch depends on the position of point - if point is on a file | ||
| 1338 | name initially, then Isearch matches only file names, otherwise it matches | ||
| 1339 | everywhere in the Dired buffer. You can toggle file names matching on or | ||
| 1340 | off by typing `M-s f' in Isearch mode. | ||
| 1341 | |||
| 1342 | *** `M-s a C-s' and `M-s a M-C-s' run multi-file Isearch on the marked files. | ||
| 1343 | They visit the first marked file in the sequence and display the usual Isearch | ||
| 1344 | prompt for a string or a regexp where all Isearch commands are available. | ||
| 1345 | |||
| 1346 | *** `Q' in Dired provides two new keys for multi-file replacement. | ||
| 1347 | The upper case key `Y' replaces all remaining matches in all remaining files | ||
| 1348 | with no more questions. The upper case key `N' stops doing replacements | ||
| 1349 | in the current file and skips to the next file. These multi-file keys | ||
| 1350 | are available for all commands that use `tags-query-replace' | ||
| 1351 | including `dired-do-query-replace-regexp', `vc-dir-query-replace-regexp', | ||
| 1352 | `reftex-query-replace-document'. | ||
| 1353 | |||
| 1354 | ** Fortran | ||
| 1355 | |||
| 1356 | *** The line length of fixed-form Fortran is not fixed at 72 any more. | ||
| 1357 | Customize the variable `fortran-line-length' to change it. | ||
| 1358 | |||
| 1359 | *** In Fortran mode, M-; is now bound to the standard comment-dwim, | ||
| 1360 | rather than fortran-indent-comment. | ||
| 1361 | |||
| 1362 | *** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax. | ||
| 1363 | |||
| 1364 | ** Gnus | ||
| 1365 | |||
| 1366 | *** The Gnus package has been updated | ||
| 1367 | There are many news features, bug fixes and improvements; see the file | ||
| 1368 | GNUS-NEWS or the node "No Gnus" in the Gnus manual for details. | ||
| 1369 | |||
| 1370 | *** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for | ||
| 1371 | saving articles drafts and ~/.newsrc.eld. These file may not be read | ||
| 1372 | correctly in Emacs 22 and below. If you want to Gnus across different Emacs | ||
| 1373 | versions, you may set `mm-auto-save-coding-system' to `emacs-mule'. | ||
| 1374 | |||
| 1375 | *** Passwords are consistently loaded through `auth-source' | ||
| 1376 | Gnus can use `auth-source' for POP and IMAP passwords. Also see that | ||
| 1377 | `smtpmail' and `url' support `auth-source' for SMTP and HTTP/HTTPS/RSS | ||
| 1378 | authentication respectively. | ||
| 1379 | |||
| 1380 | ** Help mode | ||
| 1381 | |||
| 1382 | *** New macro `with-help-window' should set up help windows better | ||
| 1383 | than `with-output-to-temp-buffer' with `print-help-return-message'. | ||
| 1384 | |||
| 1385 | *** New option `help-window-select' permits to customize whether help | ||
| 1386 | window shall be automatically selected when invoking help. | ||
| 1387 | |||
| 1388 | *** New variable `help-window-point-marker' permits one to specify a new | ||
| 1389 | position for point in help window (for example in `view-lossage'). | ||
| 1390 | |||
| 1391 | ** Isearch | ||
| 1392 | |||
| 1393 | *** New command `isearch-forward-word' bound globally to `M-s w' starts | ||
| 1394 | incremental word search. New command `isearch-toggle-word' bound to the | ||
| 1395 | same key `M-s w' in Isearch mode toggles word searching on or off | ||
| 1396 | while Isearch is active. | ||
| 1397 | |||
| 1398 | *** New command `isearch-highlight-regexp' bound to `M-s h r' in Isearch | ||
| 1399 | mode runs `highlight-regexp' (`hi-lock-face-buffer') with the current | ||
| 1400 | search string as its regexp argument. The same key `M-s h r' and | ||
| 1401 | other keys on the `M-s h' prefix are bound globally to the command | ||
| 1402 | `highlight-regexp' and other hi-lock commands. | ||
| 1403 | |||
| 1404 | *** New command `isearch-occur' bound to `M-s o' in Isearch mode | ||
| 1405 | runs `occur' with the current search string. The same key `M-s o' | ||
| 1406 | is bound globally to the command `occur'. | ||
| 1407 | |||
| 1408 | *** Isearch can now search through multiple ChangeLog files. | ||
| 1409 | When running Isearch in a ChangeLog file, if the search fails, | ||
| 1410 | then another C-s tries searching the previous ChangeLog, | ||
| 1411 | if there is one (e.g. going from ChangeLog to ChangeLog.12). | ||
| 1412 | This is enabled if multi-isearch-search is non-nil. | ||
| 1413 | |||
| 1414 | *** Two new commands to start Isearch on a list of marked buffers | ||
| 1415 | for buff-menu.el and ibuffer.el are bound to the keys `M-s a C-s' and | ||
| 1416 | `M-s a M-C-s'. | ||
| 1417 | |||
| 1418 | *** The part of an Isearch that failed to match is highlighted in | ||
| 1419 | `isearch-fail' face. | ||
| 1420 | |||
| 1421 | *** `C-h C-h' in Isearch mode displays isearch-specific Help screen, | ||
| 1422 | `C-h b' displays all Isearch key bindings, `C-h k' displays the full | ||
| 1423 | documentation of the given Isearch key sequence, `C-h m' displays | ||
| 1424 | documentation of Isearch mode. All the rest Help commands exit Isearch mode | ||
| 1425 | and execute their global definitions. | ||
| 1426 | |||
| 1427 | *** When started in the minibuffer, Isearch searches in the minibuffer | ||
| 1428 | history. See `Minibuffer changes', above. | ||
| 1429 | |||
| 1430 | ** MH-E | ||
| 1431 | |||
| 1432 | *** Upgraded to MH-E version 8.2. See MH-E-NEWS for details. | ||
| 1433 | |||
| 1434 | ** Python | ||
| 1435 | *** The file etc/emacs.py now supports both Python 2 and 3, meaning | ||
| 1436 | that either version can be used as inferior Python by python.el. | ||
| 1437 | |||
| 1438 | *** Python mode now has `pdbtrack' functionality. When using pdb to | ||
| 1439 | debug a Python program, pdbtrack notices the pdb prompt and displays | ||
| 1440 | the source file and line that the program is stopped at, much the same | ||
| 1441 | way as gud-mode does for debugging C programs with gdb. | ||
| 1442 | |||
| 1443 | ** Recentf | ||
| 1444 | |||
| 1445 | *** The default value of `recentf-keep' prevents from checking of | ||
| 1446 | remote files, if there is no established connection to the | ||
| 1447 | corresponding remote host. | ||
| 1448 | |||
| 1449 | ** Rmail | ||
| 1450 | |||
| 1451 | *** Rmail no longer converts the messages to Babyl format. | ||
| 1452 | Instead, it uses UNIX mbox format, both on disk and in Rmail buffers, | ||
| 1453 | and does conversion and decoding when a message is displayed. | ||
| 1454 | |||
| 1455 | The first time you visit an Rmail file in Babyl format, Rmail | ||
| 1456 | automatically converts it to mbox format. This is a one-time | ||
| 1457 | conversion, but it can take a few minutes, depending on how fast is | ||
| 1458 | your machine and on the size of the file. You should find the rest of | ||
| 1459 | Rmail usage unaltered. | ||
| 1460 | |||
| 1461 | However, M-x set-rmail-inbox-list now lasts only for one session | ||
| 1462 | because there is no way to save the list of inbox files in an | ||
| 1463 | mbox-format file. | ||
| 1464 | |||
| 1465 | Also, whereas with Babyl format M-x find-file would switch to Rmail | ||
| 1466 | mode, with mbox format this is no longer the case (there being no way | ||
| 1467 | to add an "-*- rmail-*-" cookie to an mbox file). Use C-u M-x rmail | ||
| 1468 | instead. | ||
| 1469 | |||
| 1470 | If you have written any extensions to Rmail, they are likely to need | ||
| 1471 | updating. Conceptually, the Rmail buffer that you see is no longer | ||
| 1472 | just a narrowed portion of the whole. So you cannot access the whole | ||
| 1473 | of a message (or message collection) by a simple save-restriction and | ||
| 1474 | widen. Instead, there are two buffers: the rmail-buffer, and the | ||
| 1475 | rmail-view-buffer. The former is the buffer that you see, the latter | ||
| 1476 | is invisible. Most of the time, the invisible `view' buffer contains | ||
| 1477 | the full contents of the Rmail file, and the Rmail buffer contains a | ||
| 1478 | decoded copy of the current message (with only a subset of the | ||
| 1479 | headers). In this state, Rmail is said to be `swapped'. | ||
| 1480 | |||
| 1481 | You may find the following functions useful: | ||
| 1482 | |||
| 1483 | `rmail-get-header' and `rmail-set-header' get or set the value of a | ||
| 1484 | message header, whether or not it is currently visible. | ||
| 1485 | |||
| 1486 | `rmail-apply-in-message' is a general purpose function that calls a | ||
| 1487 | function (with arguments) which you specify on the full text of a given | ||
| 1488 | message. To further narrow to just the headers, search forward for "\n\n". | ||
| 1489 | |||
| 1490 | *** The new command `rmail-mime' displays MIME messages. | ||
| 1491 | It is bound to `v' in Rmail buffers and summaries. It displays plain | ||
| 1492 | text and multipart messages in a temporary buffer, and offers buttons | ||
| 1493 | to save attachments. | ||
| 1494 | |||
| 1495 | *** The command `rmail-redecode-body' no longer accepts the optional arg RAW. | ||
| 1496 | Since Rmail now holds messages in their original undecoded form in a | ||
| 1497 | separate buffer, `rmail-redecode-body' no longer encodes the original | ||
| 1498 | message, and therefore there should be no need to avoid encoding it. | ||
| 1499 | |||
| 1500 | *** The o command is now `rmail-output'. It is an all-purpose command | ||
| 1501 | for copying messages from Rmail and appending them to files. It | ||
| 1502 | handles Babyl-format files as well as mbox-format files, and it | ||
| 1503 | handles both kinds properly when they are visited in Emacs. It always | ||
| 1504 | copies the full headers of the message. | ||
| 1505 | |||
| 1506 | *** The C-o command is now `rmail-output-as-seen'. It uses | ||
| 1507 | the message as displayed, appending it to an mbox file. | ||
| 1508 | |||
| 1509 | *** The modified status of the Rmail buffer is reported in the mode-line. | ||
| 1510 | Previously, this information was hidden. | ||
| 1511 | |||
| 1512 | ** TeX modes | ||
| 1513 | |||
| 1514 | *** New option latex-indent-within-escaped-parens | ||
| 1515 | permits to customize indentation of LaTeX environments delimited | ||
| 1516 | by escaped parens. | ||
| 1517 | |||
| 1518 | ** T-mouse Mode | ||
| 1519 | |||
| 1520 | *** If the gpm mouse server is running and t-mouse-mode is enabled, | ||
| 1521 | Emacs uses a Unix socket in a GNU/Linux console to talk to server, | ||
| 1522 | rather than faking events using the client program mev. This C level | ||
| 1523 | approach provides mouse highlighting and help echoing in the | ||
| 1524 | minibuffer. | ||
| 1525 | |||
| 1526 | ** Tramp | ||
| 1527 | |||
| 1528 | *** New connection methods. | ||
| 1529 | The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have | ||
| 1530 | been introduced. There are also new so-called gateway methods | ||
| 1531 | "tunnel" and "socks". | ||
| 1532 | |||
| 1533 | *** IPv6 addresses. | ||
| 1534 | IPv6 addresses are supported now as host names. They must be embedded | ||
| 1535 | in square brackets, like in "/ssh:[::1]:". | ||
| 1536 | |||
| 1537 | *** Multihop syntax has been removed. | ||
| 1538 | The pseudo-method "multi" has been removed. Instead, multi hops | ||
| 1539 | can be specified by the new variable `tramp-default-proxies-alist'. | ||
| 1540 | |||
| 1541 | *** More default settings. | ||
| 1542 | Default values can be set via the variables `tramp-default-user', | ||
| 1543 | `tramp-default-user-alist' and `tramp-default-host'. | ||
| 1544 | |||
| 1545 | *** Connection information is cached. | ||
| 1546 | In order to reduce connection setup, information about used | ||
| 1547 | connections is kept persistently in a file. The name of this file is | ||
| 1548 | defined in the variable `tramp-persistency-file-name'. | ||
| 1549 | |||
| 1550 | *** Control of remote processes. | ||
| 1551 | Running processes on a remote host can be controlled by settings in | ||
| 1552 | `tramp-remote-path' and `tramp-remote-process-environment'. | ||
| 1553 | |||
| 1554 | *** Success of remote copy is checked. | ||
| 1555 | When the variable `file-precious-flag' is set, the success of a remote | ||
| 1556 | file copy is checked via the file's checksum. | ||
| 1557 | |||
| 1558 | *** Passwords can be read from an authentification file. | ||
| 1559 | Tramp uses the package `auth-source' to read passwords from a file, if | ||
| 1560 | necessary. | ||
| 1561 | 55 | ||
| 1562 | ** VC and related modes | 56 | ** VC and related modes |
| 1563 | 57 | ||
| 1564 | *** VC now supports applying VC operations to a set of files at a time. | 58 | *** vc-dir for Bzr supports viewing shelve contents and shelving snapshots. |
| 1565 | This enables VC to work much more effectively with changeset-oriented | ||
| 1566 | version-control systems such as Subversion, GNU Arch, Mercurial, Git | ||
| 1567 | and Bzr. VC will now pass a multiple-file commit to these systems as | ||
| 1568 | a single changeset. | ||
| 1569 | |||
| 1570 | *** vc-dir is a new command that displays file names and their VC | ||
| 1571 | status. It allows to apply various VC operations to a file, a | ||
| 1572 | directory or a set of files/directories. | ||
| 1573 | 59 | ||
| 1574 | *** VC switches are no longer appended, rather the first non-nil value is used. | 60 | ** Directory local variables can apply to file-less buffers. |
| 1575 | (This was for the most part true in Emacs 22, but was not advertised). | 61 | For example, adding "(diff-mode . ((mode . whitespace)))" to your |
| 1576 | This is because there is an increasing variety of VC systems, and they | 62 | .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* |
| 1577 | do not all accept the same "common" options. For example, a CVS diff | 63 | buffers. |
| 1578 | command used to append the values of `vc-cvs-diff-switches', | ||
| 1579 | `vc-diff-switches', and `diff-switches'. Now the first non-nil value | ||
| 1580 | from that sequence is used. The special value `t' means "no switches". | ||
| 1581 | |||
| 1582 | *** Clicking on the VC mode-line entry now pops the VC menu. | ||
| 1583 | |||
| 1584 | *** The VC mode-line entry now has a tooltip that explains the VC file status. | ||
| 1585 | |||
| 1586 | *** In VC Annotate mode, the key bindings have changed to use lower | ||
| 1587 | case keys instead of the upper case keys used in the past. | ||
| 1588 | |||
| 1589 | *** In VC Annotate mode, for VC systems that support changesets, you can | ||
| 1590 | see the diff for the whole changeset (not only for the current file) | ||
| 1591 | by typing the D key. Using the "Show changeset diff of revision at | ||
| 1592 | line" menu entry does the same thing. | ||
| 1593 | |||
| 1594 | *** In VC Annotate mode, you can type v to toggle the annotation visibility. | ||
| 1595 | |||
| 1596 | *** In VC Annotate mode, you can type f to show the file revision on | ||
| 1597 | the current line. | ||
| 1598 | |||
| 1599 | *** Asynchronous VC commands display [Waiting...] in the mode-line | ||
| 1600 | of the corresponding buffer as long as the asynchronous process is | ||
| 1601 | active. | ||
| 1602 | |||
| 1603 | *** Log entries can be modified using the key "e" in log-view. | ||
| 1604 | For now only CVS, RCS, SCCS and SVN support this functionality. | ||
| 1605 | This is done by the `modify-change-comment' backend function. | ||
| 1606 | |||
| 1607 | *** In log-view-mode, for VC systems that support changesets, you can | ||
| 1608 | see the diff for the whole changeset (not only for the current file) | ||
| 1609 | by typing the D key or using the "Changeset Diff" menu entry. | ||
| 1610 | |||
| 1611 | *** In Log Edit mode, C-c C-d now shows the diff for the files involved. | ||
| 1612 | |||
| 1613 | *** vc-git supports the "git grep" command. | ||
| 1614 | |||
| 1615 | *** VC Support for Meta-CVS has been removed for lack of a maintainer able | ||
| 1616 | to update it to the new VC. | ||
| 1617 | |||
| 1618 | ** Miscellaneous | ||
| 1619 | |||
| 1620 | *** comint-mode uses `start-file-process' now (see Lisp Changes). | ||
| 1621 | If `default-directory' is a remote file name, subprocesses are started | ||
| 1622 | on the corresponding remote system. | ||
| 1623 | |||
| 1624 | *** Eldoc highlights the function argument under point | ||
| 1625 | with the face `eldoc-highlight-function-argument'. | ||
| 1626 | |||
| 1627 | *** In Etags, the --members option is now the default. | ||
| 1628 | Use --no-members if you want the old default behavior of not tagging | ||
| 1629 | struct members in C, members variables in C++ and variables in PHP. | ||
| 1630 | |||
| 1631 | *** The `gdb' command only works with the graphical interface now. | ||
| 1632 | Use `gud-gdb' if you want the (old) text command mode. | ||
| 1633 | |||
| 1634 | *** goto-address.el provides two new minor modes, goto-address-mode and | ||
| 1635 | goto-address-prog-mode, which buttonize URLS and email addresses. | ||
| 1636 | |||
| 1637 | *** The new command `eshell/info' runs info in an eshell buffer. | ||
| 1638 | |||
| 1639 | *** The new variable `ffap-rfc-directories' specifies a list of local | ||
| 1640 | directories in which `ffap-rfc' will first search for RFCs. | ||
| 1641 | |||
| 1642 | *** hide-ifdef-mode allows shadowing ifdef-blocks instead of hiding them. | ||
| 1643 | See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'. | ||
| 1644 | |||
| 1645 | *** `icomplete-prospects-height' now supercedes `icomplete-prospects-length'. | ||
| 1646 | |||
| 1647 | *** Info displays breadcrumbs in the header of the page. | ||
| 1648 | See Info-breadcrumbs-depth to control it. | ||
| 1649 | |||
| 1650 | *** net-utils has an `iwconfig' command, similar to the existing `ifconfig'. | ||
| 1651 | It is used to configure wireless interfaces. | ||
| 1652 | |||
| 1653 | *** The pcmpl-unix package supports hostname completion for ssh and scp. | ||
| 1654 | |||
| 1655 | *** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs. | ||
| 1656 | |||
| 1657 | *** smerge-refine highlights word-level details of changes in conflict. | ||
| 1658 | It's used automatically as you move through conflicts, see | ||
| 1659 | smerge-auto-refine-mode. | ||
| 1660 | |||
| 1661 | *** talk.el has been extended for multiple tty support. | ||
| 1662 | |||
| 1663 | *** A new command `display-time-world' has been added to the Time | ||
| 1664 | package. It creates a buffer with an updating time display using | ||
| 1665 | several time zones. | ||
| 1666 | |||
| 1667 | *** The appearance of superscript and subscript in TeX is more customizable. | ||
| 1668 | See the documentation of the variables: tex-fontify-script, | ||
| 1669 | tex-font-script-display, tex-suscript-height-ratio, and | ||
| 1670 | tex-suscript-height-minimum. | ||
| 1671 | |||
| 1672 | *** view-remove-frame-by-deleting is now by default t | ||
| 1673 | since users found iconification of view-mode frames distracting. | ||
| 1674 | |||
| 1675 | *** WoMan tries to add locale-specific manual page directories to the | ||
| 1676 | search path. This can be disabled by setting `woman-locale' to nil. | ||
| 1677 | 64 | ||
| 1678 | 65 | ||
| 1679 | * Changes in Emacs 23.1 on non-free operating systems | 66 | * New Modes and Packages in Emacs 24.1 |
| 1680 | |||
| 1681 | ** Case is now considered significant in completion on MS-Windows. | ||
| 1682 | The default value of `completion-ignore-case' is now nil on | ||
| 1683 | MS-Windows, the same as it is for other operating systems. The | ||
| 1684 | variable doesn't apply to reading a file name -- in that case Emacs | ||
| 1685 | heeds `read-file-name-completion-ignore-case' instead. | ||
| 1686 | |||
| 1687 | ** IPv6 is supported on MS-Windows. | ||
| 1688 | Emacs now supports IPv6 on Windows XP and later, and earlier versions | ||
| 1689 | of Windows with third party IPv6 stacks installed. In Emacs 22, IPv6 was | ||
| 1690 | supported on other platforms, but not on Windows due to using the winsock | ||
| 1691 | 1.1 header file, even though Emacs was linking to the winsock 2 library. | ||
| 1692 | |||
| 1693 | ** Busy cursor (hourglass) now displays on MS-Windows. | ||
| 1694 | When Emacs is busy, an hourglass mouse cursor is displayed on Windows. | ||
| 1695 | In Emacs 22 only X supported the busy cursor. | ||
| 1696 | |||
| 1697 | ** Battery status is available on MS-Windows | ||
| 1698 | Emacs can now display the battery status in the mode-line when enabled with | ||
| 1699 | display-battery-mode or from the Options menu. More verbose battery | ||
| 1700 | information is also available with the command `battery'. In Emacs 22 | ||
| 1701 | battery status was supported only on GNU/Linux and Mac. | ||
| 1702 | |||
| 1703 | ** More keys available on MS-Windows. | ||
| 1704 | Keys normally associated with IMEs, and some exotic keys not normally found | ||
| 1705 | on standard keyboards have been given names so they can be bound to functions | ||
| 1706 | inside Emacs. If there are keys on your keyboard that have not been exposed | ||
| 1707 | to Emacs in the past, try C-h k to see if they are available now. | ||
| 1708 | |||
| 1709 | Emacs can now bind functions to the extra buttons for media player and | ||
| 1710 | browser control present on some keyboards. These buttons are disabled | ||
| 1711 | by default, since enabling them prevents their system-wide use when | ||
| 1712 | Emacs has focus. To enable them, set the variable | ||
| 1713 | w32-pass-multimedia-buttons to nil. See the doc string of that variable | ||
| 1714 | for the list of extra keys that are available. | ||
| 1715 | |||
| 1716 | ** BDF fonts no longer supported on MS-Windows. | ||
| 1717 | The font backend was completely rewritten for this release. The focus | ||
| 1718 | on Windows has been getting acceptable performance and full unicode | ||
| 1719 | support, including complex script shaping for native Windows fonts. A | ||
| 1720 | rewrite of the BDF font support has not happened due to lack of time | ||
| 1721 | and developers. If demand still exists for such a backend even with | ||
| 1722 | the improved language support for native Windows fonts, future | ||
| 1723 | development in this direction will most likely be based on the | ||
| 1724 | freetype library, giving access to a wider range of font formats. | ||
| 1725 | 67 | ||
| 1726 | 68 | ||
| 1727 | * Incompatible Lisp Changes in Emacs 23.1 | 69 | * Incompatible Lisp Changes in Emacs 24.1 |
| 1728 | |||
| 1729 | ** Variables cannot be both buffer-local and frame-local any more. | ||
| 1730 | |||
| 1731 | ** `functionp' returns nil for special forms. | ||
| 1732 | I.e., it only returns t for objects that can be passed to `funcall'. | ||
| 1733 | |||
| 1734 | ** The behavior of map-char-table has changed. It may call the | ||
| 1735 | specified function with a cons (FROM . TO) as a key if characters in | ||
| 1736 | that range have the same value. | ||
| 1737 | |||
| 1738 | ** Process changes | ||
| 1739 | |||
| 1740 | *** The function `dired-call-process' has been removed. | ||
| 1741 | |||
| 1742 | *** The multibyteness of process filters is now determined by the | ||
| 1743 | coding-system used for decoding. The functions | ||
| 1744 | `process-filter-multibyte-p' and `set-process-filter-multibyte' are | ||
| 1745 | obsolete. | ||
| 1746 | |||
| 1747 | ** The variable `byte-compile-warnings' can now be a list starting with `not', | ||
| 1748 | meaning to disable the specified warnings. The meaning of this list | ||
| 1749 | may therefore be the reverse of what you expect (of course, this is | ||
| 1750 | only an issue if you make use of the new `not' syntax). Rather than | ||
| 1751 | checking/manipulating elements directly, use the new functions | ||
| 1752 | `byte-compile-warning-enabled-p', `byte-compile-disable-warning', and | ||
| 1753 | `byte-compile-enable-warning.' | ||
| 1754 | |||
| 1755 | ** `mode-name' is no longer guaranteed to be a string. | ||
| 1756 | Use `(format-mode-line mode-name)' to ensure a string value. | ||
| 1757 | |||
| 1758 | ** The function x-font-family-list has been removed. | ||
| 1759 | Use the new function font-family-list (see Lisp Changes, below). | ||
| 1760 | |||
| 1761 | ** Internationalization changes | ||
| 1762 | |||
| 1763 | *** The value of the function `charset-id' is now always 0. | ||
| 1764 | |||
| 1765 | *** The functions `register-char-codings' and `coding-system-spec' | ||
| 1766 | have been removed. | ||
| 1767 | |||
| 1768 | *** The cpXXX coding systems are now supported automatically. | ||
| 1769 | The functions cp-...-codepage, which you had to use in Emacs 22 to | ||
| 1770 | enable support for these coding systems, have been deleted. | ||
| 1771 | |||
| 1772 | *** The following features have been removed. They were used for | ||
| 1773 | displaying various scripts with specific fonts, and are no longer | ||
| 1774 | needed now that OpenType font support is available: | ||
| 1775 | |||
| 1776 | **** `devanagari' and `devan-util', and all associated devanagari-* and | ||
| 1777 | dev-* functions and variables (formerly used for Devanagari script). | ||
| 1778 | |||
| 1779 | **** `kannada' and `knd-util', and all associated kannada-* and knd-* | ||
| 1780 | functions and variables (formerly used for Kannada script). | ||
| 1781 | |||
| 1782 | **** `malayalam' and `mlm-util', and all associated malayalam-* and | ||
| 1783 | mlm-* functions and variables (formerly used for Malayalam script). | ||
| 1784 | |||
| 1785 | **** `tamil' and `tml-util, and all associated tamil-* and tml-* | ||
| 1786 | functions and variables (formerly used for Tamil script). | ||
| 1787 | |||
| 1788 | *** The meaning of NAME argument of `set-fontset-font' is changed. | ||
| 1789 | Previously nil is accepted as the default fontset. Now, nil is for | ||
| 1790 | the fontset of the selected frame and t is for the default fontset. | ||
| 1791 | |||
| 1792 | *** The meaning of FONTSET argument of `print-fontset' is changed. | ||
| 1793 | Now, nil is for the fontset of the selected frame and t is for the | ||
| 1794 | default fontset. | ||
| 1795 | |||
| 1796 | ** If a function in write-region-annotate-functions returns with a | ||
| 1797 | different buffer current, Emacs no longer kills that buffer | ||
| 1798 | automatically. This behavior existed in previous versions of Emacs, | ||
| 1799 | but was undocumented. To kill a buffer after write-region, give the | ||
| 1800 | variable `write-region-post-annotation-function' a buffer-local value | ||
| 1801 | of `kill-buffer'. | ||
| 1802 | |||
| 1803 | ** The variable temp-file-name-pattern has been removed. | ||
| 1804 | This variable was only used by call-process-region, which now uses | ||
| 1805 | temporary-file-directory instead. | ||
| 1806 | |||
| 1807 | ** The COUNT and SYSTEM-FLAG arguments to define-abbrev have been | ||
| 1808 | removed. The function now takes extra arguments for specifying | ||
| 1809 | arbitrary abbrev properties. | ||
| 1810 | |||
| 1811 | ** end-of-defun-function is now guaranteed to work only when called | ||
| 1812 | from the start of a defun. It must now leave point exactly at the end | ||
| 1813 | of defun, since `end-of-defun' now itself moves forward over | ||
| 1814 | whitespace after calling it. | ||
| 1815 | 70 | ||
| 1816 | 71 | ||
| 1817 | * Lisp Changes in Emacs 23.1 | 72 | * Lisp changes in Emacs 24.1 |
| 1818 | |||
| 1819 | ** The new variable `generate-autoload-cookie' controls the magic comment | ||
| 1820 | string used by `update-file-autoloads' to find autoloaded forms. The | ||
| 1821 | variable `generated-autoload-file' similarly controls the name of the | ||
| 1822 | file where `update-file-autoloads' writes the calls to `autoload'. | ||
| 1823 | The default values are ";;;###autoload" and `loaddefs.el', | ||
| 1824 | respectively. | ||
| 1825 | |||
| 1826 | ** New primitives `list-system-processes' and `process-attributes' | ||
| 1827 | let Lisp programs access the processes that are running on the local | ||
| 1828 | machine. See the doc strings of these functions for more details. | ||
| 1829 | Not all platforms support accessing this information; on those that | ||
| 1830 | don't, these primitives will return nil. | ||
| 1831 | |||
| 1832 | ** New variable `user-emacs-directory'. | ||
| 1833 | Use this instead of "~/.emacs.d". | ||
| 1834 | |||
| 1835 | ** If a local hook function has a non-nil `permanent-local-hook' | ||
| 1836 | property, `kill-all-local-variables' does not remove it from the local | ||
| 1837 | value of the hook variable; it remains even if you change major modes. | ||
| 1838 | |||
| 1839 | ** `frame-inherited-parameters' lets new frames inherit parameters from | ||
| 1840 | the selected frame. | ||
| 1841 | |||
| 1842 | ** New keymap `input-decode-map' overrides like key-translation-map, but | ||
| 1843 | applies before function-key-map. Also it is terminal-local contrary to | ||
| 1844 | key-translation-map. Terminal-specific key-sequences are generally added to | ||
| 1845 | this map rather than to function-key-map now. | ||
| 1846 | |||
| 1847 | ** `ignore-errors' is now a standard macro (does not require the CL package). | ||
| 1848 | |||
| 1849 | ** `interprogram-paste-function' can now return one string or a list | ||
| 1850 | of strings. In the latter case, Emacs puts the second and following | ||
| 1851 | strings on the kill ring. | ||
| 1852 | |||
| 1853 | ** In `condition-case', a handler can specify "let the debugger run first". | ||
| 1854 | You do this by writing `debug' in the list of conditions to be handled, | ||
| 1855 | like this: | ||
| 1856 | |||
| 1857 | (condition-case nil | ||
| 1858 | (foo bar) | ||
| 1859 | ((debug error) nil)) | ||
| 1860 | |||
| 1861 | ** clone-indirect-buffer now runs the clone-indirect-buffer-hook. | ||
| 1862 | |||
| 1863 | ** `beginning-of-defun-function' now takes one argument, the count given to | ||
| 1864 | `beginning-of-defun'. (N.B. `end-of-defun-function' doesn't take any | ||
| 1865 | arguments.) | ||
| 1866 | |||
| 1867 | ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED. | ||
| 1868 | IDENTIFICATION specifies which part of the remote identifier has to be | ||
| 1869 | returned. With CONNECTED passed non-nil, it is checked whether a | ||
| 1870 | remote connection has been established already. | ||
| 1871 | |||
| 1872 | ** The new macro `declare-function' suppresses compiler warnings about | ||
| 1873 | undefined functions. | ||
| 1874 | |||
| 1875 | ** Changes to interactive function handling | ||
| 1876 | |||
| 1877 | *** The new interactive spec code ^ says to first call | ||
| 1878 | handle-shift-selection if shift-select-mode is non-nil, before reading | ||
| 1879 | the command arguments. This is used for shift-selection (see above). | ||
| 1880 | 73 | ||
| 1881 | *** Built-in functions can now have an interactive specification that | 74 | ** Image API |
| 1882 | is not a prompt string. If the `intspec' parameter of a `DEFUN' | ||
| 1883 | starts with a `(', the string is evaluated as a Lisp form. | ||
| 1884 | 75 | ||
| 1885 | *** The interactive-form of a function can be added post-facto via the | 76 | *** When the image type is one of listed in `image-animated-types' |
| 1886 | `interactive-form' symbol property. Mostly useful to add complex | 77 | and the number of sub-images in the image is more then one, then the |
| 1887 | interactive forms to subroutines. | 78 | new function `create-animated-image' creates an animated image where |
| 1888 | 79 | sub-images are displayed successively with the duration defined by | |
| 1889 | ** Region changes | 80 | `image-animate-max-time' and the delay between sub-images defined |
| 1890 | 81 | by the Graphic Control Extension of the image. | |
| 1891 | *** Commands should use `use-region-p' to test whether there is | ||
| 1892 | an active region that they should operate on. | ||
| 1893 | |||
| 1894 | *** `region-active-p' returns non-nil when Transient Mark mode is | ||
| 1895 | enabled and the mark is active. Most commands that act specially on | ||
| 1896 | the active region in Transient Mark mode should use `use-region-p' | ||
| 1897 | instead of `region-active-p', because `use-region-p' obeys the new | ||
| 1898 | user option `use-empty-active-region' (see Editing Changes, above). | ||
| 1899 | |||
| 1900 | *** If a command sets `transient-mark-mode' to (only . OLDVAL), that | ||
| 1901 | means to activate transient-mark-mode temporarily, until the next | ||
| 1902 | unshifted point motion command or mark deactivation. Afterwards, | ||
| 1903 | reset transient-mark-mode to the value OLDVAL. The values `only' and | ||
| 1904 | `identity', introduced in Emacs 22, are now deprecated. | ||
| 1905 | |||
| 1906 | ** Emacs session information | ||
| 1907 | |||
| 1908 | *** The new variables `before-init-time' and `after-init-time' record the | ||
| 1909 | value of `current-time' before and after Emacs loads the init files. | ||
| 1910 | |||
| 1911 | *** The new function `emacs-uptime' returns the uptime of an Emacs instance. | ||
| 1912 | |||
| 1913 | *** The new function `emacs-init-time' returns the duration of the | ||
| 1914 | Emacs initialization. | ||
| 1915 | |||
| 1916 | ** Changes affecting display-buffer | ||
| 1917 | |||
| 1918 | *** display-buffer tries to be smarter when splitting windows. | ||
| 1919 | The new option split-window-preferred-function lets you specify your own | ||
| 1920 | function to pop up new windows. Its default value split-window-sensibly | ||
| 1921 | can split a window either vertically or horizontally, whichever seems | ||
| 1922 | more suitable in the current configuration. You can tune the behavior | ||
| 1923 | of split-window-sensibly by customizing split-height-threshold and the | ||
| 1924 | new option split-width-threshold. Both options now take the value nil | ||
| 1925 | to inhibit splitting in one direction. Setting split-width-threshold to | ||
| 1926 | nil inhibits horizontal splitting and gets you the behavior of Emacs 22 | ||
| 1927 | in this respect. In any case, display-buffer may now split the largest | ||
| 1928 | window vertically even when it is not as wide as the containing frame. | ||
| 1929 | |||
| 1930 | *** If pop-up-frames has the value `graphic-only', display-buffer only | ||
| 1931 | makes a separate frame on graphic displays. | ||
| 1932 | |||
| 1933 | *** select-frame and set-frame-selected-window have a new optional | ||
| 1934 | argument NORECORD. If non-nil, this will avoid messing with the order | ||
| 1935 | of recently selected windows and the buffer list. | ||
| 1936 | |||
| 1937 | ** Window parameters can now be defined. | ||
| 1938 | These are analogous to frame parameters, but are associated with | ||
| 1939 | individual windows. | ||
| 1940 | |||
| 1941 | *** The new functions window-parameters, window-parameter, and | ||
| 1942 | set-window-parameter are used to query and set window parameters. | ||
| 1943 | |||
| 1944 | ** Minibuffer and completion changes | ||
| 1945 | |||
| 1946 | *** A list of default values can be specified for the DEFAULT argument of | ||
| 1947 | functions `read-from-minibuffer', `read-string', `read-command', | ||
| 1948 | `read-variable', `read-buffer', `completing-read'. Elements of this list | ||
| 1949 | are available for inserting into the minibuffer by typing `M-n'. | ||
| 1950 | For empty input these functions return the first element of this list. | ||
| 1951 | |||
| 1952 | *** New function `read-regexp' uses the regexp history and some useful | ||
| 1953 | regexp defaults (string at point, last Isearch/replacement regexp/string) | ||
| 1954 | via M-n when reading a regexp in the minibuffer. | ||
| 1955 | |||
| 1956 | *** minibuffer-local-must-match-filename-map is now named | ||
| 1957 | minibuffer-local-filename-must-match-map. | ||
| 1958 | |||
| 1959 | *** The `require-match' argument to `completing-read' accepts the new | ||
| 1960 | values `confirm-only' and `confirm-after-completion'. | ||
| 1961 | |||
| 1962 | ** Search and replacement changes | ||
| 1963 | |||
| 1964 | *** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly. | ||
| 1965 | |||
| 1966 | *** New function `match-substitute-replacement' returns the result of | ||
| 1967 | `replace-match' without actually using it in the buffer. | ||
| 1968 | |||
| 1969 | *** The new variable `replace-search-function' determines the function | ||
| 1970 | to use for searching in query-replace and replace-string. The | ||
| 1971 | function it specifies is called by `perform-replace' when its 4th | ||
| 1972 | argument is nil. | ||
| 1973 | |||
| 1974 | *** The new variable `replace-re-search-function' determines the | ||
| 1975 | function to use for searching in `query-replace-regexp', | ||
| 1976 | `replace-regexp', `query-replace-regexp-eval', and | ||
| 1977 | `map-query-replace-regexp'. The function it specifies is called by | ||
| 1978 | `perform-replace' when its 4th argument is non-nil. | ||
| 1979 | |||
| 1980 | *** New keymap `search-map' bound to `M-s' provides global bindings | ||
| 1981 | for search related commands. | ||
| 1982 | |||
| 1983 | *** New keymap `multi-query-replace-map' contains additonal keys bound | ||
| 1984 | to `automatic-all' and `exit-current' for multi-buffer interactive replacement. | ||
| 1985 | |||
| 1986 | *** The variable `inhibit-changing-match-data', if non-nil, prevents | ||
| 1987 | the search and match primitives from changing the match data. | ||
| 1988 | |||
| 1989 | *** New functions `word-search-forward-lax' and `word-search-backward-lax'. | ||
| 1990 | These are like `word-search-forward and `word-search-backward', except | ||
| 1991 | that the end of the search string need not match a word boundary, | ||
| 1992 | unless it ends in whitespace. | ||
| 1993 | |||
| 1994 | ** File handling changes | ||
| 1995 | |||
| 1996 | *** set-file-modes is now interactive and can take the mode value in | ||
| 1997 | symbolic notation thanks to auxiliary functions. | ||
| 1998 | |||
| 1999 | *** file-local-variables-alist stores an alist of file-local | ||
| 2000 | variables defined in the current buffer. | ||
| 2001 | |||
| 2002 | ** Face-remapping | ||
| 2003 | |||
| 2004 | *** Each face can be remapped to a different face definition using the | ||
| 2005 | variable `face-remapping-alist'. This is an alist that maps faces to | ||
| 2006 | replacement definitions (which can be face names, lists of face names, | ||
| 2007 | or attribute/value plists. If this variable is buffer-local, the | ||
| 2008 | remapping occurs only in that buffer. | ||
| 2009 | |||
| 2010 | *** text-scale-mode remaps the default face to a larger or smaller | ||
| 2011 | size in the current buffer. This feature is used by the Buffer Face | ||
| 2012 | menu and the new `C-x C-+', `C-x C--', and `C-x C-0' commands (see | ||
| 2013 | Editing Changes, above). | ||
| 2014 | |||
| 2015 | *** New functions: | ||
| 2016 | |||
| 2017 | **** `face-remap-add-relative' adds a face remapping entry to the | ||
| 2018 | current buffer. | ||
| 2019 | |||
| 2020 | **** ``face-remap-remove-relative' removes a face remapping entry from | ||
| 2021 | the current buffer. | ||
| 2022 | |||
| 2023 | **** `face-remap-reset-base' restores a face to its global definition. | ||
| 2024 | |||
| 2025 | **** `face-remap-set-base' sets the base remapping of a face. | ||
| 2026 | |||
| 2027 | ** Process changes | ||
| 2028 | |||
| 2029 | *** The new function `start-file-process' is similar to `start-process', | ||
| 2030 | but obeys file handlers. The file handler is chosen based on | ||
| 2031 | `default-directory'. The functions `start-file-process-shell-command' | ||
| 2032 | and `process-file-shell-command' are also new; they call internally | ||
| 2033 | `start-file-process' and `process-file', respectively. | ||
| 2034 | |||
| 2035 | *** The new function `process-lines' executes an external program and | ||
| 2036 | returns its output as a list of lines. | ||
| 2037 | |||
| 2038 | ** Character code, representation, and charset changes. | ||
| 2039 | |||
| 2040 | *** In multibyte buffers and strings, characters are represented by | ||
| 2041 | UTF-8 byte sequences. The character code space is now 0x0..0x3FFFFF | ||
| 2042 | with no gap; code points 0x0..0x10FFFF are Unicode characters of the | ||
| 2043 | same code points, while code points 0x3FFF80..0x3FFFFF are raw 8-bit | ||
| 2044 | bytes. | ||
| 2045 | |||
| 2046 | *** Generic characters no longer exist. | ||
| 2047 | |||
| 2048 | *** The concept of a charset has changed. A single character may | ||
| 2049 | belong to multiple charsets (e.g. a-grave, U+00E0, belongs to charsets | ||
| 2050 | unicode, iso-8859-1, iso-8859-3, etc). | ||
| 2051 | |||
| 2052 | **** The dimension of a charset is now 1, 2, 3, or 4, and the size of | ||
| 2053 | each dimension is no longer limited to 94 or 96. | ||
| 2054 | |||
| 2055 | **** A dynamic charset priority list is used to infer the charset of | ||
| 2056 | characters for display. | ||
| 2057 | |||
| 2058 | *** The functions `split-char' and `make-char' now accept up to 4 | ||
| 2059 | positional codes instead of just 2. | ||
| 2060 | |||
| 2061 | *** The functions `encode-char' and `decode-char' now accept any character sets. | ||
| 2062 | |||
| 2063 | *** The function `define-charset' now accepts a completely different | ||
| 2064 | form of arguments (old-style arguments still work). | ||
| 2065 | |||
| 2066 | *** The value of the function `char-charset' depends on the current | ||
| 2067 | priorities of charsets. | ||
| 2068 | |||
| 2069 | *** The function get-char-code-property now accepts many Unicode base | ||
| 2070 | character properties. They are `name', `general-category', | ||
| 2071 | `canonical-combining-class', `bidi-class', `decomposition', | ||
| 2072 | `decimal-digit-value', `digit-value', `numeric-value', `mirrored', | ||
| 2073 | `old-name', `iso-10646-comment', `uppercase', `lowercase', and | ||
| 2074 | `titlecase'. | ||
| 2075 | |||
| 2076 | *** The functions `modify-syntax-entry' and `modify-category-entry' now | ||
| 2077 | accept a cons of characters as the first argument, and modify all | ||
| 2078 | entries in that range of characters. | ||
| 2079 | |||
| 2080 | *** Use of `translation-table-for-input' for character code unification | ||
| 2081 | is now obsolete, since Emacs 23.1 and later uses Unicode as basis for | ||
| 2082 | internal representation of characters. | ||
| 2083 | |||
| 2084 | *** New functions: | ||
| 2085 | |||
| 2086 | **** `characterp' returns t if and only if the argument is a character. | ||
| 2087 | This replaces `char-valid-p', which is now obsolete. | ||
| 2088 | |||
| 2089 | **** `max-char' returns the maximum character code (currently #x3FFFFF). | ||
| 2090 | |||
| 2091 | **** `define-charset-alias' defines an alias of a charset. | ||
| 2092 | |||
| 2093 | **** `set-charset-priority' sets priorities of charsets. | ||
| 2094 | |||
| 2095 | **** `charset-priority-list' returns a prioritized list of charsets. | ||
| 2096 | |||
| 2097 | **** `unibyte-string' makes a unibyte string from bytes. | ||
| 2098 | |||
| 2099 | **** `define-char-code-property' defines a character code property. | ||
| 2100 | |||
| 2101 | **** `char-code-property-description' returns the description string of | ||
| 2102 | a character code property. | ||
| 2103 | |||
| 2104 | *** New variables: | ||
| 2105 | |||
| 2106 | **** `find-word-boundary-function-table' is a char-table of functions to | ||
| 2107 | search for a word boundary. | ||
| 2108 | |||
| 2109 | **** `char-script-table' is a char-table of script names. | ||
| 2110 | |||
| 2111 | **** `char-width-table' is a char-table of character widths. | ||
| 2112 | |||
| 2113 | **** `print-charset-text-property' controls how to handle `charset' text | ||
| 2114 | property on printing a string. | ||
| 2115 | |||
| 2116 | **** `printable-chars' is a char-table of printable characters. | ||
| 2117 | |||
| 2118 | ** Code conversion changes | ||
| 2119 | |||
| 2120 | *** The new function `define-coding-system' should be used to define a | ||
| 2121 | coding system instead of `make-coding-system' (which is now obsolete). | ||
| 2122 | |||
| 2123 | *** The functions `encode-coding-region' and `decode-coding-region' | ||
| 2124 | have an optional 4th argument to specify where the result of | ||
| 2125 | conversion should go. | ||
| 2126 | |||
| 2127 | *** The functions `encode-coding-string' and `decode-coding-string' | ||
| 2128 | have an optional 4th argument specifying a buffer to store the result | ||
| 2129 | of conversion. | ||
| 2130 | |||
| 2131 | *** The new variable `inhibit-null-byte-detection' controls whether to | ||
| 2132 | consider text with null bytes as binary data. By default, it is | ||
| 2133 | `nil', and Emacs uses `no-conversion' for any text containing null | ||
| 2134 | bytes. | ||
| 2135 | |||
| 2136 | *** The functions `set-coding-priority' and `make-coding-system' are obsolete. | ||
| 2137 | |||
| 2138 | *** New functions: | ||
| 2139 | |||
| 2140 | **** `with-coding-priority' executes Lisp code using the specified | ||
| 2141 | coding system priority order. | ||
| 2142 | |||
| 2143 | **** `check-coding-systems-region' checks if the text in the region is | ||
| 2144 | encodable by the specified coding systems. | ||
| 2145 | |||
| 2146 | **** `coding-system-aliases' returns a list of aliases of a coding system. | ||
| 2147 | |||
| 2148 | **** `coding-system-charset-list' returns a list of charsets supported | ||
| 2149 | by a coding system. | ||
| 2150 | |||
| 2151 | **** `coding-system-priority-list' returns a list of coding systems | ||
| 2152 | ordered by their priorities. | ||
| 2153 | |||
| 2154 | **** `set-coding-system-priority' sets priorities of coding systems. | ||
| 2155 | |||
| 2156 | **** `coding-system-from-name' returns a coding system matching with | ||
| 2157 | the argument name. | ||
| 2158 | |||
| 2159 | ** There is a new input method, Robin, different from Quail. | ||
| 2160 | It has three functionalities: | ||
| 2161 | i) a simple input method (converts an ASCII sequence into a string). | ||
| 2162 | ii) converts an existing buffer substring into another string | ||
| 2163 | iii) reverse conversion (each character produced by a | ||
| 2164 | robin rule can hold the original ASCII sequence as a char-code-property) | ||
| 2165 | |||
| 2166 | *** The new function `robin-define-package' defines a Robin package. | ||
| 2167 | |||
| 2168 | *** The new function `robin-modify-package' modifies an existing Robin package. | ||
| 2169 | |||
| 2170 | *** The new function `robin-use-package' starts using a Robin package | ||
| 2171 | as an input method. | ||
| 2172 | |||
| 2173 | *** The new function `string-to-unibyte' is like `string-as-unibyte' | ||
| 2174 | but signals an error if STRING contains a non-ASCII, non-eight-bit | ||
| 2175 | character. | ||
| 2176 | |||
| 2177 | ** Changes related to the new font backend | ||
| 2178 | |||
| 2179 | *** Which font backends to use can be specified by the X resource | ||
| 2180 | "FontBackend". For instance, to use both X core fonts and Xft fonts: | ||
| 2181 | |||
| 2182 | Emacs.FontBackend: x,xft | ||
| 2183 | |||
| 2184 | If this resource is not set, Emacs tries to use all font backends | ||
| 2185 | available on your graphic device. | ||
| 2186 | |||
| 2187 | *** New frame parameter `font-backend' specifies a list of | ||
| 2188 | font-backends supported by the frame's graphic device. On X, they are | ||
| 2189 | currently `x' and `xft'. | ||
| 2190 | |||
| 2191 | *** The function `set-fontset-font' now accepts a script name as the | ||
| 2192 | second argument, and has an optional 5th argument to control how to | ||
| 2193 | set the font. | ||
| 2194 | |||
| 2195 | *** New functions: | ||
| 2196 | |||
| 2197 | **** `fontp' checks if the argument is a font-spec or font-entity. | ||
| 2198 | |||
| 2199 | **** `font-spec' creates a new font-spec object. | ||
| 2200 | |||
| 2201 | **** `font-get' returns a font property value. | ||
| 2202 | |||
| 2203 | **** `font-put' sets a font property value. | ||
| 2204 | |||
| 2205 | **** `font-face-attributes' returns a plist of face attributes set by a font. | ||
| 2206 | |||
| 2207 | **** `list-fonts' returns a list of font-entities matching a font spec. | ||
| 2208 | |||
| 2209 | **** `find-font' returns the font-entity best matching the given font spec. | ||
| 2210 | |||
| 2211 | **** `font-family-list' returns a list of family names of available fonts. | ||
| 2212 | |||
| 2213 | **** `font-xlfd-name' returns an XLFD name of a given font spec, font | ||
| 2214 | entity, or font object. | ||
| 2215 | |||
| 2216 | **** `clear-font-cache' clears all font caches. | ||
| 2217 | |||
| 2218 | ** Changes related to multiple-terminal (multi-tty) support | ||
| 2219 | |||
| 2220 | *** $TERM is now set to `dumb' for subprocesses. If you want to know the | ||
| 2221 | $TERM inherited by Emacs you will have to look inside initial-environment. | ||
| 2222 | |||
| 2223 | *** $DISPLAY is now dynamically inherited from the frame's `display'. | ||
| 2224 | |||
| 2225 | *** The `window-system' variable is now frame-local. The new | ||
| 2226 | `initial-window-system' variable contains the `window-system' value | ||
| 2227 | for the first frame. `window-system' is also now a function that | ||
| 2228 | takes a frame argument. | ||
| 2229 | |||
| 2230 | *** The `keyboard-translate-table' variable and the terminal and | ||
| 2231 | keyboard coding systems are now terminal-local. | ||
| 2232 | |||
| 2233 | *** You can specify a terminal device (`tty' parameter) and a terminal | ||
| 2234 | type (`tty-type' parameter) to `make-terminal-frame'. | ||
| 2235 | |||
| 2236 | *** The function `make-frame-on-display' now works during a tty | ||
| 2237 | session. | ||
| 2238 | |||
| 2239 | *** A new `terminal' data type. | ||
| 2240 | The functions `get-device-terminal', `terminal-parameters', | ||
| 2241 | `terminal-parameter', `set-terminal-parameter' use this data type. | ||
| 2242 | |||
| 2243 | *** Function key sequences are now mapped using `local-function-key-map', | ||
| 2244 | a new variable. This inherits from the global variable function-key-map, | ||
| 2245 | which is not used directly any more. | ||
| 2246 | |||
| 2247 | *** New hooks: | ||
| 2248 | |||
| 2249 | **** before-hack-local-variables-hook is called after setting new | ||
| 2250 | variable file-local-variables-alist, and before actually applying the | ||
| 2251 | file-local variables. | ||
| 2252 | |||
| 2253 | **** `suspend-tty-functions' and `resume-tty-functions' are called | ||
| 2254 | after a tty frame has been suspended or resumed, respectively. The | ||
| 2255 | functions are called with the terminal id of the frame being | ||
| 2256 | suspended/resumed as a parameter. | ||
| 2257 | |||
| 2258 | **** The special hook `delete-terminal-functions' is called before | ||
| 2259 | deleting a terminal. | ||
| 2260 | |||
| 2261 | *** New functions: | ||
| 2262 | |||
| 2263 | **** `delete-terminal' | ||
| 2264 | |||
| 2265 | **** `suspend-tty' | ||
| 2266 | |||
| 2267 | **** `resume-tty'. | ||
| 2268 | |||
| 2269 | *** `initial-environment' holds the environment inherited from Emacs's parent. | ||
| 2270 | |||
| 2271 | ** Redisplay changes | ||
| 2272 | |||
| 2273 | *** For underlined characters, the distance between the underline and | ||
| 2274 | the baseline is controlled by a new variable, `underline-minimum-offset'. | ||
| 2275 | |||
| 2276 | *** You can now pass the value of the `invisible' property to | ||
| 2277 | invisible-p to check whether it would cause the text to be invisible. | ||
| 2278 | This is convenient when checking invisibility of text with no buffer | ||
| 2279 | position (e.g. in before/after-strings). | ||
| 2280 | |||
| 2281 | *** `clear-image-cache' can be told to flush only images of a specific file. | ||
| 2282 | |||
| 2283 | *** `vertical-motion' can now be given a goal column. | ||
| 2284 | It now accepts a cons cell (COLS . LINES) in its first argument, which | ||
| 2285 | says to stop, where possible, at a pixel x-position equal to COLS | ||
| 2286 | times the default column width. | ||
| 2287 | |||
| 2288 | *** redisplay-end-trigger-functions, set-window-redisplay-end-trigger, | ||
| 2289 | and window-redisplay-end-trigger are obsolete. Use `jit-lock-register' | ||
| 2290 | instead. | ||
| 2291 | |||
| 2292 | *** The new variables `wrap-prefix' and `line-prefix' specify display | ||
| 2293 | specs which are appended at display-time to every continuation line | ||
| 2294 | and non-continuation line, respectively. In addition, Emacs | ||
| 2295 | recognizes the `wrap-prefix' and `line-prefix' text or overlay | ||
| 2296 | properties; these have the same effects as the variables of the same | ||
| 2297 | name, but take precedence. | ||
| 2298 | |||
| 2299 | ** The Lisp interpreter now treats non-breaking space as whitespace. | ||
| 2300 | |||
| 2301 | ** Miscellaneous new functions | ||
| 2302 | |||
| 2303 | *** `apply-partially' performs a "curried" application of a function. | ||
| 2304 | |||
| 2305 | *** `buffer-swap-text' swaps text between two buffers. This can be | ||
| 2306 | useful for modes such as tar-mode, archive-mode, RMAIL. | ||
| 2307 | |||
| 2308 | *** `combine-and-quote-strings' produces a single string from a list of strings | ||
| 2309 | sticking a separator string in between each pair, and quoting those | ||
| 2310 | strings that include the separator as their substring. Useful for | ||
| 2311 | consing shell command lines from the individual arguments. | ||
| 2312 | |||
| 2313 | *** `custom-note-var-changed' tells Custom to treat the change in a | ||
| 2314 | certain variable as having been made within Custom. | ||
| 2315 | |||
| 2316 | *** `face-all-attributes' returns an alist describing all the basic | ||
| 2317 | attributes of a given face. | ||
| 2318 | |||
| 2319 | *** `format-seconds' converts a number of seconds into a readable | ||
| 2320 | string of days, hours, etc. | ||
| 2321 | |||
| 2322 | *** `image-refresh' refreshes all images associated with a given image | ||
| 2323 | specification. | ||
| 2324 | |||
| 2325 | *** `locate-user-emacs-file' helps packages to select the appropriate | ||
| 2326 | place to save user-specific files. It defaults to `user-emacs-directory' | ||
| 2327 | unless the file already exists at $HOME. | ||
| 2328 | |||
| 2329 | *** `read-color' reads a color name using the minibuffer. | ||
| 2330 | |||
| 2331 | *** `read-shell-command' does what its name says, with completion. It | ||
| 2332 | uses the minibuffer-local-shell-command-map for that. | ||
| 2333 | |||
| 2334 | *** `split-string-and-unquote' splits a string into a list of substrings | ||
| 2335 | on the boundaries of a given delimiter, and unquotes the substrings that | ||
| 2336 | are quoted. Useful for taking apart shell commands. | ||
| 2337 | |||
| 2338 | *** The two new functions `looking-at-p' and `string-match-p' can do | ||
| 2339 | the same matching as `looking-at' and `string-match' without changing | ||
| 2340 | the match data. | ||
| 2341 | |||
| 2342 | *** The two new functions `make-serial-process' and | ||
| 2343 | `serial-process-configure' provide a Lisp interface to the new serial | ||
| 2344 | port support (see Emacs changes, above). | ||
| 2345 | |||
| 2346 | ** Miscellaneous new variables | ||
| 2347 | |||
| 2348 | *** `auto-save-include-big-deletions', if non-nil, means auto-save is | ||
| 2349 | not turned off automatically after a big deletion. | ||
| 2350 | |||
| 2351 | *** `read-circle', if nil, disables the reading of recursive Lisp | ||
| 2352 | structures using the #N= and #N# syntax. | ||
| 2353 | |||
| 2354 | *** `this-command-keys-shift-translated' is non-nil if the key | ||
| 2355 | sequence invoking the current command was found by shift-translation. | ||
| 2356 | |||
| 2357 | *** `window-point-insertion-type' determines the insertion-type of the | ||
| 2358 | marker used for window-point. | ||
| 2359 | |||
| 2360 | *** bookmark provides `bookmark-make-record-function' so special major | ||
| 2361 | modes like Info can teach bookmark.el how to save and restore the | ||
| 2362 | relevant data. | ||
| 2363 | |||
| 2364 | *** `fill-forward-paragraph-function' specifies which function the | ||
| 2365 | filling code should use to find paragraph boundaries. | ||
| 2366 | 82 | ||
| 2367 | 83 | ||
| 2368 | * New Packages for Lisp Programming in Emacs 23.1 | 84 | * Changes in Emacs 24.1 on non-free operating systems |
| 2369 | |||
| 2370 | ** The new package avl-tree.el deals with the AVL tree data structure. | ||
| 2371 | |||
| 2372 | ** The new package check-declare.el verifies the accuracy of | ||
| 2373 | declare-function macros (see Lisp Changes, above). | ||
| 2374 | |||
| 2375 | ** find-cmd.el can build `find' commands using lisp syntax. | ||
| 2376 | |||
| 2377 | ** The package misearch.el has been added. It allows Isearch to search | ||
| 2378 | through multiple buffers. A variable `multi-isearch-next-buffer-function' | ||
| 2379 | defines the function to call to get the next buffer to search in the series | ||
| 2380 | of multiple buffers. Top-level functions `multi-isearch-buffers', | ||
| 2381 | `multi-isearch-buffers-regexp', `multi-isearch-files' and | ||
| 2382 | `multi-isearch-files-regexp' accept a single argument that specifies | ||
| 2383 | a list of buffers/files to search for a string/regexp. | ||
| 2384 | |||
| 2385 | ** The new major mode `special-mode' is intended as a parent for | ||
| 2386 | major modes such as those that set the "'mode-class 'special" property. | ||
| 2387 | 85 | ||
| 2388 | 86 | ||
| 2389 | ---------------------------------------------------------------------- | 87 | ---------------------------------------------------------------------- |
| @@ -2407,5 +105,3 @@ Local variables: | |||
| 2407 | mode: outline | 105 | mode: outline |
| 2408 | paragraph-separate: "[ ]*$" | 106 | paragraph-separate: "[ ]*$" |
| 2409 | end: | 107 | end: |
| 2410 | |||
| 2411 | arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2 | ||
diff --git a/etc/NEWS.23 b/etc/NEWS.23 new file mode 100644 index 00000000000..00c4765f822 --- /dev/null +++ b/etc/NEWS.23 | |||
| @@ -0,0 +1,2419 @@ | |||
| 1 | GNU Emacs NEWS -- history of user-visible changes. | ||
| 2 | |||
| 3 | Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | See the end of the file for license conditions. | ||
| 5 | |||
| 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | ||
| 7 | If possible, use M-x report-emacs-bug. | ||
| 8 | |||
| 9 | This file is about changes in Emacs version 23. | ||
| 10 | |||
| 11 | See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 | ||
| 12 | for changes in older Emacs versions. | ||
| 13 | |||
| 14 | You can narrow news to a specific version by calling `view-emacs-news' | ||
| 15 | with a prefix argument or by typing C-u C-h C-n. | ||
| 16 | |||
| 17 | |||
| 18 | Temporary note: | ||
| 19 | +++ indicates that the appropriate manual has already been updated. | ||
| 20 | --- means no change in the manuals is called for. | ||
| 21 | When you add a new item, please add it without either +++ or --- | ||
| 22 | so we will look at it and add it to the manual. | ||
| 23 | |||
| 24 | |||
| 25 | * Installation Changes in Emacs 23.2 | ||
| 26 | |||
| 27 | ** New configure options for Emacs developers | ||
| 28 | These are not new features; only the configure flags are new. | ||
| 29 | --- | ||
| 30 | *** --enable-profiling builds Emacs with profiling enabled. | ||
| 31 | This might not work on all platforms. | ||
| 32 | --- | ||
| 33 | *** --enable-checking[=OPTIONS] builds emacs with extra runtime checks. | ||
| 34 | |||
| 35 | --- | ||
| 36 | ** `make install' now consistently ignores umask, creating a | ||
| 37 | world-readable install. | ||
| 38 | |||
| 39 | ** Emacs compiles with Gconf support, if it is detected. | ||
| 40 | Use the configure option --without-gconf to disable this. | ||
| 41 | |||
| 42 | * Startup Changes in Emacs 23.2 | ||
| 43 | +++ | ||
| 44 | ** The command-line option -Q (--quick) also inhibits loading X resources. | ||
| 45 | However, if Emacs is compiled with the Lucid or Motif toolkit, X | ||
| 46 | resource settings for the graphical widgets are still applied. | ||
| 47 | On Windows, the -Q option causes Emacs to ignore Registry settings, | ||
| 48 | but environment variables set on the Registry are still honored. | ||
| 49 | +++ | ||
| 50 | *** The new variable `inhibit-x-resources' shows whether X resources | ||
| 51 | were loaded. | ||
| 52 | |||
| 53 | +++ | ||
| 54 | ** New command-line option -mm (--maximized) maximizes the initial frame. | ||
| 55 | |||
| 56 | * Changes in Emacs 23.2 | ||
| 57 | |||
| 58 | +++ | ||
| 59 | ** The maximum size of buffers (and the largest fixnum) is doubled. | ||
| 60 | On typical 32bit systems, buffers can now be up to 512MB. | ||
| 61 | |||
| 62 | --- | ||
| 63 | ** The default value of `trash-directory' is now nil. | ||
| 64 | This means that `move-file-to-trash' trashes files according to | ||
| 65 | freedesktop.org specifications, the same method used by the Gnome, | ||
| 66 | KDE, and XFCE desktops. (This change has no effect on Windows, which | ||
| 67 | uses `system-move-file-to-trash' for trashing.) | ||
| 68 | |||
| 69 | +++ | ||
| 70 | ** The pointer now becomes invisible when typing. | ||
| 71 | Customize `make-pointer-invisible' to disable this feature. | ||
| 72 | |||
| 73 | ** Font changes | ||
| 74 | |||
| 75 | *** Emacs can use the system default monospaced font in Gnome. | ||
| 76 | To enable this feature, set `font-use-system-font' to non-nil (it is | ||
| 77 | nil by default). If the system default changes, Emacs changes also. | ||
| 78 | This feature requires Gconf support, which is automatically included | ||
| 79 | at compile-time if configure detects the gconf libraries (you can | ||
| 80 | disable this with the configure option --without-gconf). | ||
| 81 | |||
| 82 | *** On X11, Emacs reacts to Xft changes made by configuration tools, | ||
| 83 | via the XSETTINGS mechanism. This includes antialias, hinting, | ||
| 84 | hintstyle, RGBA, DPI and lcdfilter changes. | ||
| 85 | |||
| 86 | +++ | ||
| 87 | ** Killing a buffer with a running process now asks for confirmation. | ||
| 88 | To remove this query, remove `process-kill-buffer-query-function' from | ||
| 89 | `kill-buffer-query-functions', or set the appropriate process flag | ||
| 90 | with `set-process-query-on-exit-flag'. | ||
| 91 | |||
| 92 | ** File-local variable changes | ||
| 93 | +++ | ||
| 94 | *** Specifying a minor mode as a local variables enables that mode, | ||
| 95 | unconditionally. The previous behavior, toggling the mode, was | ||
| 96 | neither reliable nor generally desirable. | ||
| 97 | |||
| 98 | *** New commands for adding and removing file-local variables: | ||
| 99 | `add-file-local-variable', `delete-file-local-variable', | ||
| 100 | `add-file-local-variable-prop-line', and | ||
| 101 | `delete-file-local-variable-prop-line'. | ||
| 102 | |||
| 103 | *** New commands for adding and removing directory-local variables, | ||
| 104 | and copying them to and from file-local variable lists: | ||
| 105 | `add-dir-local-variable', `delete-dir-local-variable', | ||
| 106 | `copy-dir-locals-to-file-locals', | ||
| 107 | `copy-dir-locals-to-file-locals-prop-line' and | ||
| 108 | `copy-file-locals-to-dir-locals'. | ||
| 109 | |||
| 110 | ** Internationalization changes | ||
| 111 | +++ | ||
| 112 | *** Unibyte sessions are now considered obsolete. | ||
| 113 | This refers to the EMACS_UNIBYTE environment variable as well as the | ||
| 114 | --unibyte, --multibyte, --no-multibyte, and --no-unibyte command line | ||
| 115 | arguments. Customizing enable-multibyte-characters and setting | ||
| 116 | default-enable-multibyte-characters are also deprecated. | ||
| 117 | --- | ||
| 118 | *** New coding system `utf-8-hfs'. | ||
| 119 | This is suitable for default-file-name-coding-system on Mac OS X; see | ||
| 120 | international/ucs-normalize.el. | ||
| 121 | |||
| 122 | --- | ||
| 123 | ** Function arguments in *Help* buffers are now shown in upper-case. | ||
| 124 | Customize `help-downcase-arguments' to t to show them in lower-case. | ||
| 125 | |||
| 126 | |||
| 127 | * Editing Changes in Emacs 23.2 | ||
| 128 | |||
| 129 | ** Kill-ring and selection changes | ||
| 130 | +++ | ||
| 131 | *** If `select-active-regions' is t, any active region automatically | ||
| 132 | becomes the primary selection (for interaction with other window | ||
| 133 | applications). If you enable this, you might want to bind | ||
| 134 | `mouse-yank-primary' to Mouse-2. | ||
| 135 | +++ | ||
| 136 | *** When `save-interprogram-paste-before-kill' is non-nil, the kill | ||
| 137 | commands save the interprogram-paste selection into the kill ring | ||
| 138 | before doing anything else. This avoids losing the selection. | ||
| 139 | +++ | ||
| 140 | *** When `kill-do-not-save-duplicates' is non-nil, identical | ||
| 141 | subsequent kills are not duplicated in the `kill-ring'. | ||
| 142 | |||
| 143 | ** Completion changes | ||
| 144 | |||
| 145 | *** The new command `completion-at-point' provides mode-sensitive completion. | ||
| 146 | |||
| 147 | *** tab-always-indent set to `complete' lets TAB do completion as well. | ||
| 148 | +++ | ||
| 149 | *** The new completion-style `initials' is available. | ||
| 150 | For instance, this can complete M-x lch to list-command-history. | ||
| 151 | |||
| 152 | *** The new variable `completions-format' determines how completions | ||
| 153 | are displayed in the *Completions* buffer. If you set it to | ||
| 154 | `vertical', completions are sorted vertically in columns. | ||
| 155 | |||
| 156 | +++ | ||
| 157 | ** The default value of `blink-matching-paren-distance' is increased. | ||
| 158 | |||
| 159 | --- | ||
| 160 | ** M-n provides more default values in the minibuffer for commands | ||
| 161 | that read file names. These include the file name at point (when ffap | ||
| 162 | is loaded without ffap-bindings), the file name on the current line | ||
| 163 | (in Dired buffers), and the directory names of adjacent Dired windows | ||
| 164 | (for Dired commands that operate on several directories, such as copy, | ||
| 165 | rename, or diff). | ||
| 166 | |||
| 167 | +++ | ||
| 168 | ** M-r is bound to the new `move-to-window-line-top-bottom'. | ||
| 169 | This moves point to the window center, top and bottom on successive | ||
| 170 | invocations, in the same spirit as the C-l (recenter-top-bottom) | ||
| 171 | command. | ||
| 172 | |||
| 173 | +++ | ||
| 174 | ** The new variable `recenter-positions' determines the default | ||
| 175 | cycling order of C-l (`recenter-top-bottom'). | ||
| 176 | |||
| 177 | +++ | ||
| 178 | ** The abbrevs file is now a file named abbrev_defs in | ||
| 179 | user-emacs-directory; but the old location, ~/.abbrev_defs, is used if | ||
| 180 | that file exists. | ||
| 181 | |||
| 182 | * Changes in Specialized Modes and Packages in Emacs 23.2 | ||
| 183 | |||
| 184 | ** The bookmark menu has a narrowing search via bookmark-bmenu-search. | ||
| 185 | |||
| 186 | ** LaTeX mode now provides completion (via completion-at-point). | ||
| 187 | |||
| 188 | ** sym-comp.el is now declared obsolete, superceded by completion-at-point. | ||
| 189 | |||
| 190 | ** lucid.el and levents.el are now declared obsolete. | ||
| 191 | |||
| 192 | ** pcomplete provides a new command `pcomplete-std-completion' which | ||
| 193 | is similar to `pcomplete' but using the standard completion UI code. | ||
| 194 | |||
| 195 | ** Calc | ||
| 196 | +++ | ||
| 197 | *** The Calc settings file is now a file named calc.el in | ||
| 198 | user-emacs-directory; but the old location, ~/.calc.el, is used if | ||
| 199 | that file exists. | ||
| 200 | |||
| 201 | --- | ||
| 202 | *** Graphing commands (`g f' etc.) now work on MS-Windows, if you have | ||
| 203 | the native Windows port of Gnuplot version 3.8 or later installed. | ||
| 204 | |||
| 205 | ** Calendar and diary | ||
| 206 | |||
| 207 | +++ | ||
| 208 | *** Fancy diary display is now the default. | ||
| 209 | If you prefer the simple display, customize `diary-display-function'. | ||
| 210 | |||
| 211 | +++ | ||
| 212 | *** The diary's fancy display now enables view-mode. | ||
| 213 | |||
| 214 | --- | ||
| 215 | *** The command `calendar-current-date' accepts an optional argument | ||
| 216 | giving an offset from today. | ||
| 217 | |||
| 218 | ** Desktop | ||
| 219 | --- | ||
| 220 | *** The default value for `desktop-buffers-not-to-save' is nil. | ||
| 221 | This means Desktop will try restoring all buffers, when you restart | ||
| 222 | your Emacs session. Also, `desktop-buffers-not-to-save' is only | ||
| 223 | effective for buffers that have no associated file. If you want to | ||
| 224 | exempt buffers that do correspond to files, customize the value of | ||
| 225 | `desktop-files-not-to-save' instead. | ||
| 226 | |||
| 227 | ** Dired | ||
| 228 | |||
| 229 | *** The new variable `dired-auto-revert-buffer' allows to revert | ||
| 230 | dired buffers automatically on revisiting. | ||
| 231 | |||
| 232 | ** DocView | ||
| 233 | |||
| 234 | *** When `doc-view-continuous' is non-nil, scrolling a line | ||
| 235 | on the page edge advances to the next/previous page. | ||
| 236 | |||
| 237 | ** GDB-UI | ||
| 238 | |||
| 239 | *** Toolbar functionality for reverse debugging. Display of STL | ||
| 240 | collections as watch expressions. These features require GDB 7.0 | ||
| 241 | or later. | ||
| 242 | |||
| 243 | ** Grep | ||
| 244 | +++ | ||
| 245 | *** A new command `zrgrep' searches recursively in gzipped files. | ||
| 246 | |||
| 247 | ** Info | ||
| 248 | |||
| 249 | *** The new command `Info-virtual-index' bound to "I" displays a menu of | ||
| 250 | matched topics found in the index. | ||
| 251 | |||
| 252 | *** The new command `info-finder' replaces finder.el with a virtual Info | ||
| 253 | manual that generates an Info file which gives the same information | ||
| 254 | through a menu structure. | ||
| 255 | |||
| 256 | ** Message mode is now the default mode for composing mail. | ||
| 257 | |||
| 258 | The default for `mail-user-agent' is now message-user-agent, so the | ||
| 259 | C-x m (`compose-mail') command uses Message mode instead of Mail mode. | ||
| 260 | |||
| 261 | Message mode has been included in Emacs, as part of the Gnus package, | ||
| 262 | for several years. It provides several features that are absent in | ||
| 263 | Mail mode, such as MIME handling. | ||
| 264 | |||
| 265 | *** If the user has not customized mail-user-agent, `compose-mail' | ||
| 266 | checks for Mail mode customizations, and issues a warning if these | ||
| 267 | customizations are found. This alerts users who may otherwise be | ||
| 268 | unaware that their mail configuration has changed. | ||
| 269 | |||
| 270 | To disable this check, set compose-mail-user-agent-warnings to nil. | ||
| 271 | |||
| 272 | ** The default value of mail-interactive is t, since Emacs 23.1. | ||
| 273 | (This was not announced at the time.) It means that when sending mail, | ||
| 274 | Emacs will wait for the process sending mail to return. If you | ||
| 275 | experience delays when sending mail, you may wish to set this to nil. | ||
| 276 | |||
| 277 | ** nXML mode is now the default for editing XML files. | ||
| 278 | |||
| 279 | ** Shell | ||
| 280 | +++ | ||
| 281 | *** ansi-color is now enabled by default. | ||
| 282 | To disable it, set ansi-color-for-comint-mode to nil. | ||
| 283 | |||
| 284 | +++ | ||
| 285 | ** Tramp | ||
| 286 | |||
| 287 | *** New connection methods "rsyncc", "imap" and "imaps". | ||
| 288 | On systems which support GVFS-Fuse, Tramp offers also the new | ||
| 289 | connection methods "dav", "davs", "obex" and "synce". | ||
| 290 | |||
| 291 | ** VC and related modes | ||
| 292 | |||
| 293 | *** When using C-x v v or C-x v i on a unregistered file that is in a | ||
| 294 | directory not controlled by any VCS, ask the user what VC backend to | ||
| 295 | use to create a repository, create a new repository and register the | ||
| 296 | file. | ||
| 297 | |||
| 298 | *** FIXME: add info about the new VC functions: vc-root-diff and | ||
| 299 | vc-root-print-log once they stabilize. | ||
| 300 | |||
| 301 | *** The log functions (C-x v l and C-x v L) do not show the full log | ||
| 302 | by default anymore. The number of entries shown can be chosen | ||
| 303 | interactively with a prefix argument, by customizing | ||
| 304 | vc-log-show-limit. The log buffer display buttons that can be used | ||
| 305 | to change the number of entries shown. | ||
| 306 | RCS, SCCS, CVS do not support this feature. | ||
| 307 | |||
| 308 | *** vc-annotate supports annotations through file copies and renames, | ||
| 309 | it displays the old names for the files and it can show logs/diffs for | ||
| 310 | the corresponding lines. Currently only Git and Mercurial take | ||
| 311 | advantage of this feature. | ||
| 312 | |||
| 313 | *** The log command in vc-annotate can display a single log entry | ||
| 314 | instead of redisplaying the full log. The RCS, CVS and SCCS VC | ||
| 315 | backends do not support this. | ||
| 316 | |||
| 317 | *** When a file is not found, VC will not try to check it out of RCS anymore. | ||
| 318 | |||
| 319 | *** Diff and log operations can be used from dired buffers. | ||
| 320 | |||
| 321 | *** vc-git changes | ||
| 322 | |||
| 323 | **** The short log format for git makes use of the graph display, so | ||
| 324 | it's not supported on git versions earlier than 1.5. | ||
| 325 | |||
| 326 | **** Support for operating with stashes has been added to vc-dir: the stash list is | ||
| 327 | displayed in the *vc-dir* header, stashes can be created, removed, applied and | ||
| 328 | their content displayed. | ||
| 329 | |||
| 330 | **** vc-dir displays the stash status | ||
| 331 | |||
| 332 | **** vc-dir requires at least git-1.5.5. | ||
| 333 | |||
| 334 | *** vc-bzr supports operating with shelves: the shelve list is | ||
| 335 | displayed in the *vc-dir* header, shelves can be created, removed and applied. | ||
| 336 | |||
| 337 | *** log-edit-strip-single-file-name controls whether or not single filenames | ||
| 338 | are stripped when copying text from the ChangeLog to the *VC-Log* buffer. | ||
| 339 | |||
| 340 | ** Elint | ||
| 341 | |||
| 342 | --- | ||
| 343 | *** Elint now uses compilation-mode. | ||
| 344 | |||
| 345 | --- | ||
| 346 | *** Elint can now scan individual files and whole directories, | ||
| 347 | and can be run in batch mode. | ||
| 348 | |||
| 349 | --- | ||
| 350 | *** Elint does a more thorough initialization, and recognizes more built-in | ||
| 351 | functions and variables. Customize `elint-scan-preloaded' if you want | ||
| 352 | to sacrifice some accuracy for a faster startup. | ||
| 353 | |||
| 354 | --- | ||
| 355 | *** Elint attempts some basic understanding of featurep and (f)boundp tests. | ||
| 356 | |||
| 357 | --- | ||
| 358 | *** Customize `elint-ignored-warnings' to suppress some warnings. | ||
| 359 | |||
| 360 | ** Miscellaneous | ||
| 361 | +++ | ||
| 362 | *** The new command `async-shell-command' bound globally to `M-&' executes | ||
| 363 | the command asynchronously without the need to manually add ampersand to | ||
| 364 | the end of the command. Its output appears in the buffer `*Async Shell | ||
| 365 | Command*'. | ||
| 366 | |||
| 367 | *** Isearch searches in the comint/shell input history when the new variable | ||
| 368 | `comint-history-isearch' is non-nil. New commands `comint-history-isearch-backward' | ||
| 369 | and `comint-history-isearch-backward-regexp' (bound to M-r) start Isearch | ||
| 370 | in the input history regardless of the value of `comint-history-isearch'. | ||
| 371 | |||
| 372 | *** Interactively `multi-isearch-buffers' and `multi-isearch-buffers-regexp' | ||
| 373 | read buffer names to search, one by one, ended with RET. With a prefix | ||
| 374 | argument, they ask for a regexp, and search in buffers whose names match | ||
| 375 | the specified regexp. Interactively `multi-isearch-files' and | ||
| 376 | `multi-isearch-files-regexp' read file names to search, one by one, | ||
| 377 | ended with RET. With a prefix argument, they ask for a wildcard, and | ||
| 378 | search in file buffers whose file names match the specified wildcard. | ||
| 379 | |||
| 380 | +++ | ||
| 381 | *** Autorevert Tail mode now works also for remote files. | ||
| 382 | |||
| 383 | +++ | ||
| 384 | *** The new built-in commands `su' and `sudo' support Tramp. | ||
| 385 | That means, they change `default-directory' to the new users value, | ||
| 386 | and let commands run under that user permissions. It works even when | ||
| 387 | `default-directory' is already remote. Calling the external commands | ||
| 388 | is possible by `*su' or `*sudo', repectively. | ||
| 389 | |||
| 390 | --- | ||
| 391 | *** When running in a new enough xterm (newer than version 242), emacs | ||
| 392 | asks xterm what the background color is and it sets up faces | ||
| 393 | accordingly for a dark background if needed (the current default is to | ||
| 394 | consider the background light). | ||
| 395 | |||
| 396 | |||
| 397 | * New Modes and Packages in Emacs 23.2 | ||
| 398 | |||
| 399 | ** CEDET (the Collection of Emacs Development Tools) is now in Emacs. | ||
| 400 | This is a collection of packages to aid with using Emacs as an IDE | ||
| 401 | (integrated development environment): | ||
| 402 | |||
| 403 | *** The Semantic package allows the use of parsers to intelligently | ||
| 404 | edit and navigate source code. Parsers for C/C++, Java, Javascript, | ||
| 405 | and several other languages are included by default, and Semantic can | ||
| 406 | also interface with external tools such as GNU Global and GNU Idutils. | ||
| 407 | |||
| 408 | To enable Semantic, use the global minor mode `semantic-mode'. | ||
| 409 | See the Semantic manual for details. | ||
| 410 | |||
| 411 | *** EDE (Emacs Development Environment) is a package for managing code | ||
| 412 | projects, including features such as automatic Makefile generation. | ||
| 413 | |||
| 414 | To enable EDE, use the minor mode `global-ede-mode'. | ||
| 415 | See the EDE manual for details. | ||
| 416 | |||
| 417 | *** SRecode is a library for recoding Semantic tags back into source | ||
| 418 | code. It is currently used by some parts of Semantic and EDE; in the | ||
| 419 | future, it may be used for code generation features. | ||
| 420 | |||
| 421 | *** The EIEIO library implements a subset of the Common Lisp Object | ||
| 422 | System (CLOS). It is used by the other CEDET packages. | ||
| 423 | |||
| 424 | ** mpc.el is a front end for the Music Player Daemon. Run it with M-x mpc. | ||
| 425 | |||
| 426 | ** htmlfontify.el turns a fontified Emacs buffer into an HTML page. | ||
| 427 | |||
| 428 | ** js.el is a new major mode for JavaScript files. | ||
| 429 | |||
| 430 | ** imap-hash.el is a new library to address IMAP mailboxes as hashtables. | ||
| 431 | |||
| 432 | |||
| 433 | * Incompatible Lisp Changes in Emacs 23.2 | ||
| 434 | |||
| 435 | +++ | ||
| 436 | ** The Lisp reader turns integers that are too large/small into floats. | ||
| 437 | For instance, on machines where `536870911' is the largest integer, | ||
| 438 | reading `536870912' gives the floating-point object `536870912.0'. | ||
| 439 | |||
| 440 | This change only concerns the Lisp reader; it does not affect how | ||
| 441 | actual integer objects overflow. | ||
| 442 | |||
| 443 | --- | ||
| 444 | ** Several obsolete functions removed. | ||
| 445 | The functions have been obsolete since Emacs 19, and are unlikely to | ||
| 446 | be in use: | ||
| 447 | |||
| 448 | time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy | ||
| 449 | time-stamp-dd-mon-yy, time-stamp-yy/mm/dd, time-stamp-yyyy/mm/dd, | ||
| 450 | time-stamp-yyyy-mm-dd, time-stamp-yymmdd, time-stamp-hh:mm:ss, | ||
| 451 | time-stamp-hhmm, baud-rate | ||
| 452 | |||
| 453 | --- | ||
| 454 | ** Support for generating Emacs 18 compatible bytecode (by setting | ||
| 455 | the variable `byte-compile-compatibility') has been removed. | ||
| 456 | |||
| 457 | ** In image-mode.el `image-mode-maybe' is obsolete. Instead, you can | ||
| 458 | either use `image-mode' that displays an image file as the actual image | ||
| 459 | inititally, or `image-mode-as-text' when you want to display an image file | ||
| 460 | as text inititally. `image-mode-as-text' is a combination of a non-image | ||
| 461 | mode from `auto-mode-alist' (or Fundamental mode) and `image-minor-mode'. | ||
| 462 | `image-minor-mode' provides `C-c C-c' key binding to toggle image display. | ||
| 463 | `image-toggle-display-text' removes image properties. | ||
| 464 | `image-toggle-display-image' adds image properties. | ||
| 465 | `image-toggle-display' toggles between `image-mode-as-text' and | ||
| 466 | `image-mode'. | ||
| 467 | |||
| 468 | |||
| 469 | * Lisp changes in Emacs 23.2 | ||
| 470 | |||
| 471 | ** make-network-socket can now also create `seqpacket' Unix sockets. | ||
| 472 | |||
| 473 | ** New function `completion-in-region' to use the standard completion | ||
| 474 | facilities on a particular region of text. | ||
| 475 | |||
| 476 | +++ | ||
| 477 | ** The 4th arg to all-completions (aka hide-spaces) is declared obsolete. | ||
| 478 | |||
| 479 | --- | ||
| 480 | ** read-file-name-predicate is obsolete. It was used to pass the predicate | ||
| 481 | to read-file-name-internal because read-file-name-internal abused its `pred' | ||
| 482 | argument to pass the current directory, but this hack is not needed | ||
| 483 | any more. | ||
| 484 | |||
| 485 | ** Frame parameter changes | ||
| 486 | |||
| 487 | +++ | ||
| 488 | *** You can give the `fullscreen' frame parameter the value `maximized'. | ||
| 489 | This maximizes the frame. | ||
| 490 | |||
| 491 | +++ | ||
| 492 | *** The new frame parameter `sticky' makes Emacs frames sticky in | ||
| 493 | virtual desktops. | ||
| 494 | |||
| 495 | --- | ||
| 496 | ** completion-base-size is obsoleted by completion-base-position. | ||
| 497 | This change causes a few backward incompatibilities, mostly with | ||
| 498 | choose-completion-string-functions where the `mini-p' argument has | ||
| 499 | been replaced by a `base-position' argument, and where the `base-size' | ||
| 500 | argument is now always nil. | ||
| 501 | |||
| 502 | ** called-interactively-p now takes one argument and replaces interactive-p | ||
| 503 | which is now marked obsolete. | ||
| 504 | ** New function set-advertised-calling-convention makes it possible | ||
| 505 | to obsolete arguments as well as make some arguments mandatory. | ||
| 506 | ** eval-next-after-load is obsolete. | ||
| 507 | ** New hook `after-load-functions' run after loading an Elisp file. | ||
| 508 | |||
| 509 | ** You can control which binding is preferentially shown in menus and | ||
| 510 | docstrings by adding a `:advertised-binding' property to the corresponding | ||
| 511 | command's symbol. That property can hold a single binding or a list | ||
| 512 | of bindings. | ||
| 513 | |||
| 514 | ** New macro with-silent-modifications to tweak text properties without | ||
| 515 | affecting the buffer's modification state. | ||
| 516 | ** All the default-FOO variables that hold the default value of the FOO | ||
| 517 | variable, are now declared obsolete. | ||
| 518 | |||
| 519 | ** read-key is a function halfway between read-event and read-key-sequence. | ||
| 520 | It reads a single key, but obeys input and escape sequence decoding. | ||
| 521 | |||
| 522 | ** start-process-shell-command and start-file-process-shell-command | ||
| 523 | now only take a single `command' argument. | ||
| 524 | |||
| 525 | ** The variable `process-file-side-effects' shall be bound to nil, if | ||
| 526 | a `process-file' call does not change a remote file. By this, file | ||
| 527 | name handlers like Tramp can apply optimizations. | ||
| 528 | |||
| 529 | +++ | ||
| 530 | ** Hash tables have a new printed representation that is readable. | ||
| 531 | The feature `hashtable-print-readable' identifies this new | ||
| 532 | functionality. | ||
| 533 | |||
| 534 | ** New functions performing Unicode normalization are added: | ||
| 535 | ucs-normalize-NFD-region, ucs-normalize-NFD-string, | ||
| 536 | ucs-normalize-NFC-region, ucs-normalize-NFC-string, | ||
| 537 | ucs-normalize-NFKD-region, ucs-normalize-NFKD-string, | ||
| 538 | ucs-normalize-NFKC-region, ucs-normalize-NFKC-string, | ||
| 539 | ucs-normalize-HFS-NFD-region, ucs-normalize-HFS-NFD-string, | ||
| 540 | ucs-normalize-HFS-NFC-region, ucs-normalize-HFS-NFC-string. | ||
| 541 | |||
| 542 | ** completion-annotate-function specifies how to compute annotations | ||
| 543 | for completions displayed in *Completions*. | ||
| 544 | |||
| 545 | +++ | ||
| 546 | ** Face aliases can now be marked as obsolete, using the macro | ||
| 547 | `define-obsolete-face-alias'. | ||
| 548 | |||
| 549 | --- | ||
| 550 | ** Changing the file-names generated by byte-compilation by redefining | ||
| 551 | the function `byte-compile-dest-file' before loading bytecomp.el is obsolete. | ||
| 552 | Instead, customize byte-compile-dest-file-function. | ||
| 553 | |||
| 554 | --- | ||
| 555 | ** `byte-compile-warnings' has new members, `constants' and `suspicious'. | ||
| 556 | |||
| 557 | ** `delete-directory' has an optional parameter RECURSIVE. | ||
| 558 | |||
| 559 | ** New function `copy-directory', which copies a directory recursively. | ||
| 560 | |||
| 561 | +++ | ||
| 562 | ** New function `window-full-height-p', analogous to the full-width version. | ||
| 563 | |||
| 564 | |||
| 565 | * Changes in Emacs 23.2 on non-free operating systems | ||
| 566 | |||
| 567 | --- | ||
| 568 | ** On MS-Windows, `display-time' now displays the system load average | ||
| 569 | as well as the time, as it does on GNU and Unix. | ||
| 570 | |||
| 571 | |||
| 572 | * Installation Changes in Emacs 23.1 | ||
| 573 | |||
| 574 | ** The default X toolkit is now Gtk+, rather than Lucid. | ||
| 575 | The configure option `--with-gtk' has been removed. Gtk is now the | ||
| 576 | default toolkit, but you can use --with-x-toolkit=gtk if necessary. | ||
| 577 | |||
| 578 | ** New font code. | ||
| 579 | Fonts are handled by new code capable of dealing with multiple font | ||
| 580 | backends. This uses the freetype and fontconfig libraries. | ||
| 581 | |||
| 582 | *** Emacs now accepts font names supplied in the fontconfig format | ||
| 583 | (e.g. "monospace-12:bold") and GTK format (e.g. "Monospace Bold 12"). | ||
| 584 | |||
| 585 | *** Added support for local fonts (fonts installed on the machine | ||
| 586 | where Emacs is running). | ||
| 587 | |||
| 588 | *** Added support for the Xft library for antialiasing. | ||
| 589 | |||
| 590 | *** Added support for the otf library for complex text layout by | ||
| 591 | OpenType fonts. | ||
| 592 | |||
| 593 | *** Added support for the m17n library for text shaping. | ||
| 594 | |||
| 595 | ** Changes to image support | ||
| 596 | |||
| 597 | *** configure now checks for libgif before libungif when searching for | ||
| 598 | a GIF library. | ||
| 599 | |||
| 600 | *** Emacs now supports the SVG image format through librsvg2. | ||
| 601 | |||
| 602 | *** Emacs now supports multi-page TIFF images. | ||
| 603 | |||
| 604 | ** New NeXTSTEP-based port. | ||
| 605 | This provides support for GNUstep (via the GNUstep libraries) and Mac | ||
| 606 | OS X (via the Cocoa libraries). | ||
| 607 | |||
| 608 | Specify --with-ns to configure for this. By default, a self-contained | ||
| 609 | app will be built (containing all lisp). To install/share lisp with | ||
| 610 | other emacsen (e.g. X11 build) use --disable-ns-self-contained. See | ||
| 611 | nextstep/README and nextstep/INSTALL in the Emacs source directory. | ||
| 612 | |||
| 613 | ** Mac OS X is no longer supported via Carbon. | ||
| 614 | Use the NeXTSTEP port, described above. | ||
| 615 | |||
| 616 | ** The new configuration option "--with-dbus" enables D-Bus language | ||
| 617 | bindings for Emacs. | ||
| 618 | |||
| 619 | ** Support for many obsolete platforms has been removed. | ||
| 620 | See the list at the end of etc/MACHINES for details. | ||
| 621 | |||
| 622 | *** Support for systems without alloca has been removed. | ||
| 623 | |||
| 624 | *** Support for Sun windows has been removed. | ||
| 625 | |||
| 626 | *** The `emacstool' utility has been removed. | ||
| 627 | |||
| 628 | ** The following platforms will be removed in a future Emacs version: | ||
| 629 | If you are still using Emacs on one of these platforms, please email | ||
| 630 | emacs-devel@gnu.org to inform the Emacs developers. | ||
| 631 | |||
| 632 | *** Old GNU/Linux systems based on libc version 5. | ||
| 633 | |||
| 634 | *** Old FreeBSD, NetBSD, and OpenBSD systems based on the COFF | ||
| 635 | executable format. | ||
| 636 | |||
| 637 | *** Solaris versions 2.6 and below. | ||
| 638 | |||
| 639 | *** Solaris on IBM RS6000 machines. | ||
| 640 | |||
| 641 | *** UNIX System V (the original SysV, not later platforms based on it). | ||
| 642 | |||
| 643 | *** Unixware on non-x86 machines. | ||
| 644 | |||
| 645 | *** Platforms not supporting shared libraries (i.e., requiring the | ||
| 646 | NO_SHARED_LIBS compilation flag). | ||
| 647 | |||
| 648 | ** The configure options `--with-gcc', `--without-gcc' have been removed. | ||
| 649 | Configure will use gcc by default. Set the CC environment variable if | ||
| 650 | you need control over which C compiler is used. | ||
| 651 | |||
| 652 | ** The refcards are now shipped as PDF files. | ||
| 653 | |||
| 654 | ** The manuals are now licensed under the GNU Free Documentation License v1.3, | ||
| 655 | or any later version. | ||
| 656 | |||
| 657 | ** Emacs 23 comes with a new set of default icons. | ||
| 658 | Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. | ||
| 659 | The Emacs 22 icon is available as `emacs22.png' in the same location. | ||
| 660 | |||
| 661 | * Changes in Emacs 23.1 | ||
| 662 | |||
| 663 | ** Improved X Window System support | ||
| 664 | |||
| 665 | *** Emacs now supports using both X displays and ttys in one session. | ||
| 666 | With an Emacs server active (M-x server-start), `emacsclient -t' | ||
| 667 | creates a tty frame connected to the running emacs server. You can | ||
| 668 | use any number of different ttys. `emacsclient -c' creates a new X11 | ||
| 669 | frame on the current $DISPLAY (or a tty frame if $DISPLAY is not set). | ||
| 670 | There may be problems if a display exits unexpectedly and Emacs is compiled | ||
| 671 | with Gtk+, see etc/PROBLEMS. | ||
| 672 | |||
| 673 | You can test for the presence of this feature in your Lisp code by | ||
| 674 | testing for the `multi-tty' feature. | ||
| 675 | |||
| 676 | *** Emacs starts in the background, as a daemon, when given the | ||
| 677 | --daemon command line argument. It disconnects from the terminal and | ||
| 678 | starts the server. Clients can connect and create graphical or | ||
| 679 | terminal frames using emacsclient. | ||
| 680 | |||
| 681 | **** emacsclient starts emacs in daemon mode and connects to it when | ||
| 682 | --alternate-editor="" is used (or when the evironment variable | ||
| 683 | ALTERNATE_EDITOR is set to "") and emacsclient cannot connect to an | ||
| 684 | emacs server. | ||
| 685 | |||
| 686 | *** The new command close-display-connection closes a connection to a | ||
| 687 | remote display. There are some bugs for Gtk+. See etc/PROBLEMS. | ||
| 688 | |||
| 689 | *** Emacs now supports the XEmbed specification. | ||
| 690 | You can embed Emacs in another application on X11. The new command line | ||
| 691 | option --parent-id is used to pass the parent window id to Emacs. See | ||
| 692 | http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html | ||
| 693 | for details about XEmbed. | ||
| 694 | |||
| 695 | *** Emacs can now set the frame opacity. | ||
| 696 | The opacity of a frame can be controlled by setting the `alpha' frame | ||
| 697 | parameter. This only takes effect on a compositing window manager for | ||
| 698 | the X Window System, such as Compiz, Beryl and Compiz Fusion, on Mac | ||
| 699 | OS X, or on Windows 2000 and later versions of Windows. | ||
| 700 | |||
| 701 | The alpha parameter should be an integer between 0 (transparent) and | ||
| 702 | 100 (opaque), or a float number between 0.0 and 1.0. It can also be a | ||
| 703 | cons cell (ACTIVE . INACTIVE), where ACTIVE is the opacity of an | ||
| 704 | active frame and INACTIVE is the opacity of non-active frames. | ||
| 705 | |||
| 706 | The variable `frame-alpha-lower-limit' defines a lower bound for the | ||
| 707 | opacity; the default is 20. | ||
| 708 | |||
| 709 | ** Internationalization changes | ||
| 710 | |||
| 711 | *** The Emacs character set is now a superset of Unicode. | ||
| 712 | (It has about four times the code space, which should be plenty). | ||
| 713 | |||
| 714 | The internal encoding used for buffers and strings is now | ||
| 715 | Unicode-based and called `utf-8-emacs' (`emacs-internal' is an alias | ||
| 716 | for this). This encoding is backward-compatible with Unicode's UTF-8 | ||
| 717 | encoding. The internal encoding previously used by Emacs, | ||
| 718 | `emacs-mule', is still available for reading and writing files. | ||
| 719 | |||
| 720 | During byte-compilation, Emacs 23 uses `utf-8-emacs' to write files. | ||
| 721 | As a result, byte-compiled files containing non-ASCII characters can't | ||
| 722 | be read by earlier versions of Emacs. Files compiled by Emacs 20, 21, | ||
| 723 | or 22 are loaded correctly as `emacs-mule' (whether or not they | ||
| 724 | contain multibyte characters). This takes somewhat more time, so it | ||
| 725 | may be worth recompiling existing .elc files which don't need to be | ||
| 726 | shared with older Emacsen. | ||
| 727 | |||
| 728 | *** There are new coding systems/aliases; see M-x list-coding-systems. | ||
| 729 | |||
| 730 | *** There is a new charset implementation with many new charsets. | ||
| 731 | See M-x list-character-sets. New charsets can be defined conveniently | ||
| 732 | as tables of unicodes. | ||
| 733 | |||
| 734 | *** There are new language environments for Chinese-GBK, | ||
| 735 | Chinese-GB18030, Khmer, Bengali, Punjabi, Gujarati, Oriya, Telugu, | ||
| 736 | Sinhala, and TaiViet. | ||
| 737 | |||
| 738 | *** The minor modes unify-8859-on-encoding-mode and | ||
| 739 | unify-8859-on-decoding-mode are obsolete. | ||
| 740 | |||
| 741 | *** `ucs-insert' is bound to `C-x 8 RET' and in addition to hex numbers | ||
| 742 | accepts numbers in hash notation (e.g. #o21430 for octal, or #10r8984 for | ||
| 743 | decimal). It also accepts Unicode character names with completion. | ||
| 744 | |||
| 745 | *** The `cyrillic-translit' input method supports many new characters. | ||
| 746 | Common typographical characters available from Unicode were added to | ||
| 747 | `cyrillic-translit': punctuation marks, accented characters, fractions, | ||
| 748 | and others. | ||
| 749 | |||
| 750 | ** Emacs now supports serial port access on GNU/Linux, Unix, and | ||
| 751 | Windows. The new command `serial-term' starts an interactive terminal | ||
| 752 | on a serial port. The serial port can be configured at runtime with | ||
| 753 | the mode-line mouse menu. | ||
| 754 | |||
| 755 | ** Menu Bar changes | ||
| 756 | |||
| 757 | *** In the Options menu, the "Set Default Font" item applies the | ||
| 758 | selected font to the `default' face on all frames, not just the | ||
| 759 | current frame. Furthermore, if Emacs is compiled with both GTK and | ||
| 760 | Fontconfig support, the "Set Default Font" item uses the GTK font | ||
| 761 | selection dialog instead of an Emacs pop-up menu. | ||
| 762 | |||
| 763 | *** The font setting chosen by "Set Default Font" is saved if the | ||
| 764 | "Save Options" item is used. | ||
| 765 | |||
| 766 | *** The Tools menu contains a new Encryption/Decryption submenu. | ||
| 767 | This contains commands provided by EasyPG, the newly-included | ||
| 768 | interface to GnuPG (see New Modes and Packages). | ||
| 769 | |||
| 770 | *** In the Options menu, the "Truncate Long Lines in the Buffer" entry | ||
| 771 | has been replaced with a submenu offering three different ways to | ||
| 772 | handle long lines: truncation, continuation at the window edge, and | ||
| 773 | the new word wrapping behavior (see Editing Changes, below). | ||
| 774 | |||
| 775 | *** Improvements to menus for major and minor modes | ||
| 776 | More major and minor modes now have a mode specific menu, and existing | ||
| 777 | mode menus have been improved to include more functionality. | ||
| 778 | |||
| 779 | ** Mode-line changes | ||
| 780 | |||
| 781 | *** The mode-line displays a `@', instead of `-', if the | ||
| 782 | default-directory for the current buffer is on a remote machine. | ||
| 783 | |||
| 784 | *** The mode-line displays a mode menu when mouse-1 is clicked on a | ||
| 785 | minor mode, in the same way as it already did for major modes. | ||
| 786 | |||
| 787 | *** The `mode-line-emphasis' face is used to highlight certain | ||
| 788 | mode-line information (e.g. waiting for a VC command to finish). | ||
| 789 | |||
| 790 | *** The mode-line tooltips have been improved to provide more details. | ||
| 791 | |||
| 792 | *** The VC, line/colum number and minor mode indicators on the mode | ||
| 793 | line are now interactive: mouse-1 can be used on them to pop up a menu. | ||
| 794 | |||
| 795 | ** File deletion can make use of the Recycle Bin or system Trash folder. | ||
| 796 | Set `delete-by-moving-to-trash' non-nil to use this. Deleted files | ||
| 797 | and directories will then be sent to the Recycle Bin on Windows, and | ||
| 798 | to `trash-directory' on other systems. | ||
| 799 | |||
| 800 | ** Directory-local variables can now be defined. | ||
| 801 | By default, Emacs looks in .dir-locals.el for directory-local | ||
| 802 | variables. For more information, see `dir-locals-set-directory-class' | ||
| 803 | and `dir-locals-set-class-variables'. | ||
| 804 | |||
| 805 | ** Emacs can now use `auth-source' for authentication. | ||
| 806 | `smtpmail' and `url' (Tramp and Gnus also) use `auth-source' to obtain | ||
| 807 | login names and passwords. The match, if found, is reported | ||
| 808 | in *Messages* with the password blanked out. | ||
| 809 | |||
| 810 | ** `where-is-preferred-modifier' can specify your favorite modifier. | ||
| 811 | |||
| 812 | |||
| 813 | * Startup Changes in Emacs 23.1 | ||
| 814 | |||
| 815 | ** The option `inhibit-startup-screen' (with aliases to old names | ||
| 816 | `inhibit-splash-screen' and `inhibit-startup-message') doesn't inhibit | ||
| 817 | display of the initial message in the *scratch* buffer. If you don't | ||
| 818 | want to display the initial message in the *scratch* buffer at startup, | ||
| 819 | you can set the option `initial-scratch-message' to nil. | ||
| 820 | |||
| 821 | ** New user option `initial-buffer-choice' specifies what to display | ||
| 822 | after starting Emacs: startup screen, *scratch* buffer, visiting a | ||
| 823 | file or directory. | ||
| 824 | |||
| 825 | ** New alias `argv' for `command-line-args-left' | ||
| 826 | This is a convenience alias, so that one can write `(pop argv)' | ||
| 827 | inside of --eval command line arguments in order to access | ||
| 828 | following arguments. | ||
| 829 | |||
| 830 | ** The abbrev file is no longer read at startup in batch mode. | ||
| 831 | |||
| 832 | ** Emacs now supports invocation by an X session manager. | ||
| 833 | It can save a session and restore it later. See the documentation of | ||
| 834 | the functions `emacs-session-save' and `emacs-session-restore'. | ||
| 835 | (Actually, this feature was introduced with Emacs 22, but it was not | ||
| 836 | documented.) | ||
| 837 | |||
| 838 | * Incompatible Editing Changes in Emacs 23.1 | ||
| 839 | |||
| 840 | ** In Dired, `dired-flag-garbage-files' is rebound from `&' to `%&' | ||
| 841 | on the regexp command prefix map. | ||
| 842 | |||
| 843 | ** In Dired-x, all command guesses for ! are now added to the default | ||
| 844 | list accessible by M-n instead of pushing all guesses temporarily into | ||
| 845 | the history list. | ||
| 846 | |||
| 847 | ** In Isearch mode, a special case of typing `C-w' at the beginning of | ||
| 848 | the minibuffer that toggles word search (i.e. using key sequences | ||
| 849 | `C-s RET C-w' or `C-s M-e C-w') is obsolete. You can use the global key | ||
| 850 | `M-s w' to start word search, or type `M-s w' in Isearch mode to | ||
| 851 | toggle word search. To start nonincremental word search you can now use | ||
| 852 | `M-s w RET' and `M-s w C-r RET' instead of `C-s RET C-w' and `C-r RET C-w'. | ||
| 853 | |||
| 854 | ** In Info, `Info-search' is unbound from `M-s' to allow using `M-s w' | ||
| 855 | for word search as well as other search commands from the global prefix | ||
| 856 | key `M-s'. `Info-search' is still bound to `s', and also incremental | ||
| 857 | search commands `C-s', `C-M-s', `C-r', `C-M-r' are available for searching | ||
| 858 | through multiple Info nodes, together with their nonincremental versions | ||
| 859 | `C-s RET', `C-r RET', `C-M-s RET', `C-M-r RET', `M-s w RET'. | ||
| 860 | |||
| 861 | ** In Text mode, `center-line' and `center-paragraph' are rebound from | ||
| 862 | `M-s' and `M-S' to global keys `M-o M-s' and `M-o M-S' on the global | ||
| 863 | prefix map `M-o', which is intended for such formatting commands. | ||
| 864 | |||
| 865 | ** The following input methods were removed in Emacs 22.2, but this was | ||
| 866 | not advertised: danish-alt-postfix, esperanto-alt-postfix, | ||
| 867 | finnish-alt-postfix, german-alt-postfix, icelandic-alt-postfix, | ||
| 868 | norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix, | ||
| 869 | and swedish-alt-postfix. Use the versions without "alt-", which are | ||
| 870 | identical. | ||
| 871 | |||
| 872 | |||
| 873 | * Editing Changes in Emacs 23.1 | ||
| 874 | |||
| 875 | ** The C-n and C-p line-motion commands now move by screen lines, | ||
| 876 | taking continued lines and variable-width characters into account. | ||
| 877 | Setting `line-move-visual' to nil reverts this to the previous | ||
| 878 | behavior (i.e., motion by logical lines based on buffer contents | ||
| 879 | alone). | ||
| 880 | |||
| 881 | ** C-x C-c now invokes `save-buffers-kill-terminal', and C-z now | ||
| 882 | invokes `suspend-frame'. These changes are for compatibility with the | ||
| 883 | new multi-tty support (see `Improved X Window System support' above). | ||
| 884 | |||
| 885 | ** Mark changes | ||
| 886 | |||
| 887 | *** Transient Mark mode is now on by default. | ||
| 888 | |||
| 889 | *** mark-even-if-inactive now defaults to t | ||
| 890 | |||
| 891 | *** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without | ||
| 892 | activating it. | ||
| 893 | |||
| 894 | *** When Transient Mark mode is on, M-q now fills the region if the | ||
| 895 | region is active. Otherwise, it fills the current paragraph. | ||
| 896 | |||
| 897 | *** When Transient Mark mode is on, M-$ now checks spelling of the | ||
| 898 | region if the region is active. Otherwise, it checks spelling of the | ||
| 899 | word at point. | ||
| 900 | |||
| 901 | *** When Transient Mark mode is on, TAB now indents the region if the | ||
| 902 | region is active. | ||
| 903 | |||
| 904 | *** The variable `use-empty-active-region' controls whether an empty | ||
| 905 | active region in Transient Mark mode should make commands operate on | ||
| 906 | that empty region. | ||
| 907 | |||
| 908 | ** Temporarily active regions | ||
| 909 | |||
| 910 | *** The new variable shift-select-mode, non-nil by default, controls | ||
| 911 | shift-selection. When Shift Select mode is on, shift-translated | ||
| 912 | motion keys (e.g. S-left and S-down) activate and extend a temporary | ||
| 913 | region, similar to mouse-selection. | ||
| 914 | |||
| 915 | *** Temporarily active regions, created using shift-selection or | ||
| 916 | mouse-selection, are not necessarily deactivated in the next command. | ||
| 917 | They are only deactivated after point motion commands that are not | ||
| 918 | shift-translated, or after commands that would ordinarily deactivate | ||
| 919 | the mark in Transient Mark mode (e.g., any command that modifies the | ||
| 920 | buffer). | ||
| 921 | |||
| 922 | ** Minibuffer and completion changes | ||
| 923 | |||
| 924 | *** Emacs may ask for confirmation before opening a non-existent file | ||
| 925 | or buffer. By default, Emacs requests confirmation if you type RET | ||
| 926 | immediately after TAB, and the resulting input is not an existing file | ||
| 927 | or buffer; this usually happens when the minibuffer input did not | ||
| 928 | complete far enough and you entered RET by mistake. In that case, | ||
| 929 | Emacs puts the message "[Confirm]" in the minibuffer; type RET again | ||
| 930 | to create the file or buffer. | ||
| 931 | |||
| 932 | The new variable confirm-nonexistent-file-or-buffer determines whether | ||
| 933 | Emacs asks for confirmation. The default value is `after-completion'. | ||
| 934 | If you change it to t, Emacs always asks for confirmation; if you | ||
| 935 | change it to nil, Emacs never asks for confirmation. | ||
| 936 | |||
| 937 | *** The rules for performing completion have been changed. | ||
| 938 | When generating completion alternatives, Emacs now takes the | ||
| 939 | minibuffer text after point, if any, into account: this text is | ||
| 940 | treated as a substring of the remaining part of the completion | ||
| 941 | alternative (i.e., the part not matched by the minibuffer text before | ||
| 942 | point). If no completion alternatives are found this way, Emacs | ||
| 943 | attempts to perform partial-completion. If still no completion | ||
| 944 | alternatives are found, we fall back on the Emacs 22 rules for | ||
| 945 | performing completion. | ||
| 946 | |||
| 947 | The new variable `completion-styles' can be customized to choose your | ||
| 948 | favorite completion style. | ||
| 949 | |||
| 950 | *** When M-n in the minibuffer reaches the end of the list of defaults, | ||
| 951 | it adds the completion list to the end, so next M-n continues putting | ||
| 952 | completion items to the minibuffer. The same principle applies to | ||
| 953 | incremental search commands as well: C-s or C-M-s starts searching | ||
| 954 | the default values and after the end of defaults they continue | ||
| 955 | searching minibuffer completion items. | ||
| 956 | |||
| 957 | *** Minibuffer input of shell commands now comes with completion. | ||
| 958 | |||
| 959 | *** In the `C-x d' (Dired) prompt, typing M-n gives the visited file | ||
| 960 | name of the current buffer. | ||
| 961 | |||
| 962 | *** In the M-! (shell-command) prompt, M-n provides some default commands. | ||
| 963 | These are guessed using the file extension of the current file, based | ||
| 964 | on the file-handlers specified in the operating system's `mailcap' | ||
| 965 | file. The ! command in Dired (dired-do-shell-command) works | ||
| 966 | similarly, using the file displayed on the current line. | ||
| 967 | |||
| 968 | *** A list of regexp default values is available via M-n for `occur', | ||
| 969 | `keep-lines', `flush-lines' and `how-many'. This list includes the active | ||
| 970 | region in transient-mark-mode, the word under the cursor, the last Isearch | ||
| 971 | regexp, the last Isearch string and the last replacement regexp. | ||
| 972 | |||
| 973 | *** When enable-recursive-minibuffers is non-nil, operations which use | ||
| 974 | switch-to-buffer (such as C-x b and C-x C-f) do not fail any more when | ||
| 975 | used in a minibuffer or a dedicated window. Instead, they fallback on | ||
| 976 | using pop-to-buffer, which will use some other window. This change | ||
| 977 | has no effect when enable-recursive-minibuffers is nil (the default). | ||
| 978 | |||
| 979 | *** Isearch started in the minibuffer searches in the minibuffer history. | ||
| 980 | Reverse Isearch commands (C-r, C-M-r) search in previous minibuffer | ||
| 981 | history elements, and forward Isearch commands (C-s, C-M-s) search in | ||
| 982 | next history elements. When the reverse search reaches the first history | ||
| 983 | element, it wraps to the last history element, and the forward search | ||
| 984 | wraps to the first history element. When the search is terminated, the | ||
| 985 | history element containing the search string becomes the current. | ||
| 986 | |||
| 987 | *** The variable read-file-name-completion-ignore-case overrides | ||
| 988 | completion-ignore-case for file name completion. | ||
| 989 | |||
| 990 | *** The variable read-buffer-completion-ignore-case overrides | ||
| 991 | completion-ignore-case for buffer name completion. | ||
| 992 | |||
| 993 | *** The new command `minibuffer-force-complete' chooses one of the | ||
| 994 | possible completions, rather than stopping at the common prefix. | ||
| 995 | |||
| 996 | *** If `completion-auto-help' is `lazy', Emacs shows the completions | ||
| 997 | buffer only on the second attempt to complete. This was already | ||
| 998 | supported in `partial-completion-mode'. | ||
| 999 | |||
| 1000 | ** Face changes | ||
| 1001 | |||
| 1002 | *** S-down-mouse-1 now pops up a menu for changing the font and text | ||
| 1003 | size of the default face in the current buffer. The face is changed | ||
| 1004 | via face remapping (see Lisp changes, below). | ||
| 1005 | |||
| 1006 | *** New commands to change the default face size in the current buffer. | ||
| 1007 | To increase it, type `C-x C-+' or `C-x C-='. To decrease it, type | ||
| 1008 | `C-x C--'. To restore the default (global) face size, type `C-x C-0'. | ||
| 1009 | These work via Text Scale mode, a new minor mode. | ||
| 1010 | |||
| 1011 | The final key in the above commands may be repeated without the | ||
| 1012 | leading `C-x', e.g. `C-x C-= C-= C-=' increases the face height by | ||
| 1013 | three steps. Each step scales the height of the default face by the | ||
| 1014 | value of the variable `text-scale-mode-step'. | ||
| 1015 | |||
| 1016 | *** The commands buffer-face-mode and buffer-face-set can be used to | ||
| 1017 | remap the default face in the current buffer. See "Buffer Face mode", | ||
| 1018 | under New Modes and Packages. | ||
| 1019 | |||
| 1020 | ** Primary selection changes | ||
| 1021 | |||
| 1022 | *** You can disable kill ring commands from accessing the primary | ||
| 1023 | selection by setting `x-select-enable-primary' to nil. | ||
| 1024 | |||
| 1025 | ** Continuation lines can now be wrapped at word boundaries | ||
| 1026 | (word-wrapping). This is controlled by the new per-buffer variable | ||
| 1027 | `word-wrap'. Word wrapping does not take place if continuation lines | ||
| 1028 | are not shown, e.g. if truncate-lines is non-nil. The most convenient | ||
| 1029 | way to enable word-wrapping is using the new minor mode Visual Line | ||
| 1030 | mode; in addition to setting `word-wrap' to t, this rebinds some | ||
| 1031 | editing commands to work on screen lines rather than text lines. See | ||
| 1032 | New Modes and Packages, below. | ||
| 1033 | |||
| 1034 | ** Window management changes | ||
| 1035 | |||
| 1036 | *** truncate-partial-width-windows now accepts integer values, which | ||
| 1037 | specify a minimum window width for partial-width windows, below which | ||
| 1038 | lines are truncated. The default has been changed to 50. | ||
| 1039 | |||
| 1040 | *** The new command balance-windows-area balances windows both | ||
| 1041 | vertically and horizontally. | ||
| 1042 | |||
| 1043 | *** pop-to-buffer now always sets input focus when the popped-to window | ||
| 1044 | is on a different frame. | ||
| 1045 | |||
| 1046 | ** Miscellaneous changes: | ||
| 1047 | |||
| 1048 | *** C-l is bound to the new command recenter-top-bottom, rather than recenter. | ||
| 1049 | This moves the current line to window center, top and bottom on | ||
| 1050 | successive invocations. | ||
| 1051 | |||
| 1052 | *** scroll-preserve-screen-position also preserves the column position. | ||
| 1053 | |||
| 1054 | *** If `yank-pop-change-selection' is t, rotating the kill ring also | ||
| 1055 | updates the selection or clipboard to the current yank, just as M-w | ||
| 1056 | would do so with the text it copies to the kill ring. | ||
| 1057 | |||
| 1058 | *** C-M-% now shows replacement as it would look in the buffer, with | ||
| 1059 | `\N' and `\&' substituted according to the match. Old behavior can be | ||
| 1060 | restored by customizing `query-replace-show-replacement'. | ||
| 1061 | |||
| 1062 | *** The command shell prompts for the default directory, when it is | ||
| 1063 | called with a prefix and the default directory is a remote file name. | ||
| 1064 | This is because some file name handlers (like ange-ftp) are not able to | ||
| 1065 | run processes remotely. | ||
| 1066 | |||
| 1067 | *** The new command kill-matching-buffers kills buffers whose name | ||
| 1068 | matches a regexp. | ||
| 1069 | |||
| 1070 | *** The value of comment-style now defaults to `indent'. | ||
| 1071 | Thefore, comment-start markers are inserted at the current indentation | ||
| 1072 | of the region to comment, rather than the leftmost column. | ||
| 1073 | |||
| 1074 | *** The new commands `pp-macroexpand-expression' and | ||
| 1075 | `pp-macroexpand-last-sexp' pretty-print macro expansions. | ||
| 1076 | |||
| 1077 | *** The new command `set-file-modes' allows to set file's mode bits. | ||
| 1078 | The mode bits can be specified in symbolic notation, like with GNU | ||
| 1079 | Coreutils, in addition to an octal number. `chmod' is a new | ||
| 1080 | convenience alias for this function. | ||
| 1081 | |||
| 1082 | *** `next-error-recenter' specifies how next-error should recenter the | ||
| 1083 | visited source file. Its value can be a number (for example, 0 for | ||
| 1084 | top line, -1 for bottom line), or nil for no recentering. | ||
| 1085 | |||
| 1086 | *** When typing in a password in the echo area, C-y yanks the current | ||
| 1087 | kill into the password. | ||
| 1088 | |||
| 1089 | *** Tooltip frame parameters `font' and `color' in `tooltip-frame-parameters' | ||
| 1090 | are ignored. Customize the `tooltip' face instead. | ||
| 1091 | |||
| 1092 | *** `mkdir' is a new convenience alias for `make-directory'. | ||
| 1093 | |||
| 1094 | * New Modes and Packages in Emacs 23.1 | ||
| 1095 | |||
| 1096 | ** Auto Composition Mode is a minor mode that composes characters | ||
| 1097 | automatically when they are displayed. It is globally on by default. | ||
| 1098 | It uses `auto-composition-function' (default `auto-compose-chars'). | ||
| 1099 | |||
| 1100 | ** Bubbles, a new game, is similar to SameGame. | ||
| 1101 | |||
| 1102 | ** Buffer Face mode is a minor mode for remapping the default face in | ||
| 1103 | the current buffer. The variable `buffer-face-mode-face' specifies | ||
| 1104 | the face to remap to. The command `buffer-face-set' prompts for a | ||
| 1105 | face name, sets `buffer-face-mode-face' to it, and enables | ||
| 1106 | buffer-face-mode. See "Face changes", under Editing Changes, for a | ||
| 1107 | description of face remapping. | ||
| 1108 | |||
| 1109 | ** butterfly flips the desired bit on the drive platter. | ||
| 1110 | See http://xkcd.com/378/ | ||
| 1111 | |||
| 1112 | ** bug-reference.el provides clickable links to bug reports. | ||
| 1113 | |||
| 1114 | ** dbus.el provides D-Bus language bindings. | ||
| 1115 | D-Bus is an inter-process communication mechanism for applications | ||
| 1116 | residing on the same host. See the manual for details. | ||
| 1117 | |||
| 1118 | ** DocView mode allows viewing of PDF, PostScript and DVI documents. | ||
| 1119 | One can also search for a regular expression in the document. For | ||
| 1120 | details, see the commentary in doc-view.el. | ||
| 1121 | |||
| 1122 | PDF and DVI files are now opened in Doc View mode by default. | ||
| 1123 | |||
| 1124 | In Postcript mode, C-c C-c launches Doc View minor mode for viewing | ||
| 1125 | the postscript file. | ||
| 1126 | |||
| 1127 | ** EasyPG provides an interface to the GNU Privacy Guard (GnuPG). | ||
| 1128 | It includes a GnuPG keyring browser, cryptographic operations on | ||
| 1129 | regions and files, and automatic encryption of *.gpg files. For | ||
| 1130 | details, see the EasyPG Assistant User's Manual. | ||
| 1131 | |||
| 1132 | ** json.el is a library for parsing and generating JSON | ||
| 1133 | (JavaScript Object Notation), a lightweight data-interchange format. | ||
| 1134 | |||
| 1135 | ** linum.el is a new minor mode to display line numbers for the | ||
| 1136 | current buffer. | ||
| 1137 | |||
| 1138 | ** mairix.el is an interface to mairix, a free tool for indexing and | ||
| 1139 | searching locally stored mail. It allows you to query mairix and | ||
| 1140 | display the search results with Rmail, Gnus and VM. Note that there | ||
| 1141 | is an existing Gnus back end, nnmairix.el, which should be used with | ||
| 1142 | Maildir/MH setups. | ||
| 1143 | |||
| 1144 | ** minibuffer-depth-indicate-mode shows the minibuffer depth in the prompt. | ||
| 1145 | |||
| 1146 | ** nXML Mode | ||
| 1147 | This is a new mode for editing XML documents. It allows a schema to | ||
| 1148 | be associated with the XML document being edited, using Relax NG as | ||
| 1149 | the schema language. The schema is used to provide two key features: | ||
| 1150 | |||
| 1151 | *** Continuous validation. nXML validates as you type, highlighting | ||
| 1152 | any invalid parts of your document. | ||
| 1153 | |||
| 1154 | *** Completion. nXML can assist you in entering an element name, | ||
| 1155 | attribute name or data value by using information about what is | ||
| 1156 | allowed by the schema in that context. | ||
| 1157 | |||
| 1158 | ** proced.el provides a Dired-like interface for operating on | ||
| 1159 | processes. Proced makes an Emacs buffer containing a listing of the | ||
| 1160 | current processes. You can use the normal Emacs commands to move | ||
| 1161 | around in this buffer, and special Proced commands to operate on the | ||
| 1162 | processes listed. It is currently only functional on GNU/Linux, | ||
| 1163 | MS-Windows and Solaris. | ||
| 1164 | |||
| 1165 | ** Remember Mode is a mode for jotting down things to remember. | ||
| 1166 | Notes can be saved to a Diary file. For details, see the Remember | ||
| 1167 | Manual. | ||
| 1168 | |||
| 1169 | ** RST mode is a major mode for editing reStructuredText files. | ||
| 1170 | |||
| 1171 | ** Ruby mode is a major mode for Ruby files. | ||
| 1172 | |||
| 1173 | ** Visual Line mode provides support for editing by visual lines. | ||
| 1174 | It turns on word-wrapping in the current buffer, and rebinds C-a, C-e, | ||
| 1175 | and C-k to commands that operate by visual lines instead of logical | ||
| 1176 | lines. This is a more reliable replacement for longlines-mode. | ||
| 1177 | This can also be turned on using the menu bar, via | ||
| 1178 | Options -> Line Wrapping in this Buffer -> Word Wrap | ||
| 1179 | |||
| 1180 | ** xesam.el is an implementation of Xesam, an interface to (desktop) | ||
| 1181 | search engines like Beagle, Strigi, and Tracker. The Xesam API | ||
| 1182 | requires D-Bus for communication. | ||
| 1183 | |||
| 1184 | ** zeroconf.el offers service discovery and service publishing | ||
| 1185 | interfaces according to the zeroconf specification. It communicates | ||
| 1186 | with Avahi, a zeroconf implementation, via D-Bus messages on systems | ||
| 1187 | which have installed this software. | ||
| 1188 | |||
| 1189 | ** There is a new `whitespace' package. | ||
| 1190 | (The pre-existing one has been renamed to `old-whitespace'.) | ||
| 1191 | Now, besides reporting bogus blanks, the whitespace package has a | ||
| 1192 | minor mode and a global minor mode to visualize blanks (TAB, (HARD) | ||
| 1193 | SPACE and NEWLINE). The visualization is made via faces and/or display | ||
| 1194 | table. It can also indicate lines that extend beyond a given column, | ||
| 1195 | trailing blanks, and empty lines at the start or end of a buffer. | ||
| 1196 | See `whitespace-style' for more details. The `whitespace-action' option | ||
| 1197 | specifies what to do when a buffer is visited, killed, or written. | ||
| 1198 | |||
| 1199 | |||
| 1200 | * Changes in Specialized Modes and Packages in Emacs 23.1 | ||
| 1201 | |||
| 1202 | ** Abbrev has been rewritten in Elisp and extended with more flexibility. | ||
| 1203 | |||
| 1204 | *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, | ||
| 1205 | abbrev-table-p, abbrev-insert, abbrev-table-menu. | ||
| 1206 | |||
| 1207 | *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. | ||
| 1208 | |||
| 1209 | *** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take | ||
| 1210 | extra arguments for arbitrary properties. | ||
| 1211 | |||
| 1212 | *** New variable `abbrev-minor-mode-table-alist'. | ||
| 1213 | |||
| 1214 | *** `local-abbrev-table' can hold a list of abbrev-tables. | ||
| 1215 | |||
| 1216 | *** Abbrevs have now the following special properties: | ||
| 1217 | `:count', `:system', `:enable-function', `:case-fixed'. | ||
| 1218 | |||
| 1219 | *** Abbrev-tables have now the following special properties: | ||
| 1220 | `:parents', `:case-fixed', `:enable-function', `:regexp', | ||
| 1221 | `abbrev-table-modiff'. | ||
| 1222 | |||
| 1223 | ** Apropos | ||
| 1224 | |||
| 1225 | *** `apropos-library' describes the elements defined in a given library. | ||
| 1226 | |||
| 1227 | *** Set `apropos-compact-layout' is you want a more compact (but wider) layout. | ||
| 1228 | |||
| 1229 | ** Archive Mode has basic support to browse Rar archives. | ||
| 1230 | Note, however, that the free version of the unrar command only handles | ||
| 1231 | versions 1 and 2 of the Rar format. | ||
| 1232 | |||
| 1233 | ** BibTeX mode | ||
| 1234 | |||
| 1235 | *** New command `bibtex-initialize' (re)initializes BibTeX buffers. | ||
| 1236 | |||
| 1237 | *** New `bibtex-entry-format' options `whitespace', `braces', and | ||
| 1238 | `string', disabled by default. | ||
| 1239 | |||
| 1240 | *** New variable `bibtex-cite-matcher-alist' contains rules to | ||
| 1241 | identify cited keys in BibTeX entries, used by `bibtex-find-crossref'. | ||
| 1242 | |||
| 1243 | *** Command `bibtex-url' allows multiple URLs per entry. | ||
| 1244 | |||
| 1245 | ** Bookmarks | ||
| 1246 | |||
| 1247 | *** bookmark.el saves bookmarks in a pre-Emacs-23-incompatible file format | ||
| 1248 | bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an | ||
| 1249 | older Emacs cannot read one saved by Emacs 23. | ||
| 1250 | |||
| 1251 | ** Calendar and diary | ||
| 1252 | |||
| 1253 | *** There is a new date style, `iso', essentially year/month/day. | ||
| 1254 | The variable `european-calendar-style' is obsolete - use `calendar-date-style'. | ||
| 1255 | Similarly, the commands `american-calendar' and `european-calendar' | ||
| 1256 | should be replaced by `calendar-set-date-style'. | ||
| 1257 | |||
| 1258 | *** The calendar namespace has been rationalized. | ||
| 1259 | All functions and variables now begin with a `calendar-', `diary-', or | ||
| 1260 | `holiday-' prefix. The various calendar systems have secondary | ||
| 1261 | prefixes, eg `calendar-french-'. The old names you are likely to use | ||
| 1262 | directly still exist, for the time being, as aliases, but please start | ||
| 1263 | using the new names. | ||
| 1264 | |||
| 1265 | *** The whitespace in the calendar layout can be customized. | ||
| 1266 | See the variables: | ||
| 1267 | calendar-left-margin, calendar-intermonth-spacing, calendar-column-width, | ||
| 1268 | calendar-day-header-width, and calendar-day-digit-width. | ||
| 1269 | |||
| 1270 | *** Text (e.g. ISO weeks) can be displayed between the calendar months. | ||
| 1271 | See the variables calendar-intermonth-header and calendar-intermonth-text. | ||
| 1272 | |||
| 1273 | *** The function `holiday-chinese' computes holidays on the Chinese calendar. | ||
| 1274 | It has been used to add items to the list `holiday-oriental-holidays'. | ||
| 1275 | |||
| 1276 | *** `diary-remind' accepts a negative number -DAYS as a shorthand for | ||
| 1277 | the list (1 2 ... DAYS). | ||
| 1278 | |||
| 1279 | ** Change Log mode | ||
| 1280 | |||
| 1281 | *** The new command C-c C-f (change-log-find-file) finds the file | ||
| 1282 | associated with the current log entry. | ||
| 1283 | |||
| 1284 | *** The new command C-c C-c (change-log-goto-source) goes to the | ||
| 1285 | source code associated with a log entry. | ||
| 1286 | |||
| 1287 | ** Compile and grep modes | ||
| 1288 | |||
| 1289 | *** The mode-line entry for the *compilation* and *grep* buffer is color coded. | ||
| 1290 | It has different colors for to show that: (a) the command is still | ||
| 1291 | running, (b) successful completion, (c) error. | ||
| 1292 | |||
| 1293 | *** compilation-auto-jump-to-first-error tells `compile' to jump to | ||
| 1294 | the first error encountered during compilations. | ||
| 1295 | |||
| 1296 | *** compilation-scroll-output accepts a new value, `first-error', which | ||
| 1297 | says to stop auto scrolling at the first error that occurs. | ||
| 1298 | |||
| 1299 | *** The `cc' alias for C++ files in `grep-file-aliases' has been | ||
| 1300 | improved. `hh' can be used to match C++ header files and `cchh' both | ||
| 1301 | C++ sources and headers. | ||
| 1302 | |||
| 1303 | ** Copyright | ||
| 1304 | |||
| 1305 | *** You can specify your copyright holders' names. | ||
| 1306 | Only copyright lines with holders matching `copyright-names-regexp' are | ||
| 1307 | considered for update. | ||
| 1308 | |||
| 1309 | *** Copyrights can be at the end of the buffer. | ||
| 1310 | This is controlled by `copyright-at-end-flag' (used by, e.g., change-log-mode). | ||
| 1311 | |||
| 1312 | ** Custom | ||
| 1313 | |||
| 1314 | *** defcustom accepts new keyword arguments, `:safe' and `:risky', which | ||
| 1315 | set a variable's `safe-local-variable' and `risky-local-variable' property. | ||
| 1316 | |||
| 1317 | ** Diff mode | ||
| 1318 | |||
| 1319 | *** diff-refine-hunk highlights word-level details of changes in a diff hunk. | ||
| 1320 | It's used automatically as you move through hunks, see | ||
| 1321 | diff-auto-refine-mode. It is bound to `C-c C-b'. | ||
| 1322 | |||
| 1323 | *** diff-add-change-log-entries-other-window iterates through the diff | ||
| 1324 | buffer and tries to create ChangeLog entries for each change. | ||
| 1325 | It is bound to `C-x 4 A'. | ||
| 1326 | |||
| 1327 | *** Turning on `whitespace-mode' in a diff buffer will show trailing | ||
| 1328 | whitespace problems in the modified lines. | ||
| 1329 | |||
| 1330 | ** Dired | ||
| 1331 | |||
| 1332 | *** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode, | ||
| 1333 | and C-x C-q in wdired-mode exits it with asking a question about | ||
| 1334 | saving changes. | ||
| 1335 | |||
| 1336 | *** `&' runs the command `dired-do-async-shell-command' that executes | ||
| 1337 | the command asynchronously without the need to manually add ampersand | ||
| 1338 | to the end of the command. Its output appears in the buffer `*Async Shell | ||
| 1339 | Command*'. | ||
| 1340 | |||
| 1341 | *** `M-s f C-s' and `M-s f M-C-s' run Isearch that matches only at file names. | ||
| 1342 | When a new user option `dired-isearch-filenames' is t, then even ordinary | ||
| 1343 | Isearch started with `C-s' and `C-M-s' matches only at file names in the | ||
| 1344 | Dired buffer. When `dired-isearch-filenames' is `dwim' then activation of | ||
| 1345 | file name Isearch depends on the position of point - if point is on a file | ||
| 1346 | name initially, then Isearch matches only file names, otherwise it matches | ||
| 1347 | everywhere in the Dired buffer. You can toggle file names matching on or | ||
| 1348 | off by typing `M-s f' in Isearch mode. | ||
| 1349 | |||
| 1350 | *** `M-s a C-s' and `M-s a M-C-s' run multi-file Isearch on the marked files. | ||
| 1351 | They visit the first marked file in the sequence and display the usual Isearch | ||
| 1352 | prompt for a string or a regexp where all Isearch commands are available. | ||
| 1353 | |||
| 1354 | *** `Q' in Dired provides two new keys for multi-file replacement. | ||
| 1355 | The upper case key `Y' replaces all remaining matches in all remaining files | ||
| 1356 | with no more questions. The upper case key `N' stops doing replacements | ||
| 1357 | in the current file and skips to the next file. These multi-file keys | ||
| 1358 | are available for all commands that use `tags-query-replace' | ||
| 1359 | including `dired-do-query-replace-regexp', `vc-dir-query-replace-regexp', | ||
| 1360 | `reftex-query-replace-document'. | ||
| 1361 | |||
| 1362 | ** Fortran | ||
| 1363 | |||
| 1364 | *** The line length of fixed-form Fortran is not fixed at 72 any more. | ||
| 1365 | Customize the variable `fortran-line-length' to change it. | ||
| 1366 | |||
| 1367 | *** In Fortran mode, M-; is now bound to the standard comment-dwim, | ||
| 1368 | rather than fortran-indent-comment. | ||
| 1369 | |||
| 1370 | *** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax. | ||
| 1371 | |||
| 1372 | ** Gnus | ||
| 1373 | |||
| 1374 | *** The Gnus package has been updated | ||
| 1375 | There are many news features, bug fixes and improvements; see the file | ||
| 1376 | GNUS-NEWS or the node "No Gnus" in the Gnus manual for details. | ||
| 1377 | |||
| 1378 | *** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for | ||
| 1379 | saving articles drafts and ~/.newsrc.eld. These file may not be read | ||
| 1380 | correctly in Emacs 22 and below. If you want to Gnus across different Emacs | ||
| 1381 | versions, you may set `mm-auto-save-coding-system' to `emacs-mule'. | ||
| 1382 | |||
| 1383 | *** Passwords are consistently loaded through `auth-source' | ||
| 1384 | Gnus can use `auth-source' for POP and IMAP passwords. Also see that | ||
| 1385 | `smtpmail' and `url' support `auth-source' for SMTP and HTTP/HTTPS/RSS | ||
| 1386 | authentication respectively. | ||
| 1387 | |||
| 1388 | ** Help mode | ||
| 1389 | |||
| 1390 | *** New macro `with-help-window' should set up help windows better | ||
| 1391 | than `with-output-to-temp-buffer' with `print-help-return-message'. | ||
| 1392 | |||
| 1393 | *** New option `help-window-select' permits to customize whether help | ||
| 1394 | window shall be automatically selected when invoking help. | ||
| 1395 | |||
| 1396 | *** New variable `help-window-point-marker' permits one to specify a new | ||
| 1397 | position for point in help window (for example in `view-lossage'). | ||
| 1398 | |||
| 1399 | ** Isearch | ||
| 1400 | |||
| 1401 | *** New command `isearch-forward-word' bound globally to `M-s w' starts | ||
| 1402 | incremental word search. New command `isearch-toggle-word' bound to the | ||
| 1403 | same key `M-s w' in Isearch mode toggles word searching on or off | ||
| 1404 | while Isearch is active. | ||
| 1405 | |||
| 1406 | *** New command `isearch-highlight-regexp' bound to `M-s h r' in Isearch | ||
| 1407 | mode runs `highlight-regexp' (`hi-lock-face-buffer') with the current | ||
| 1408 | search string as its regexp argument. The same key `M-s h r' and | ||
| 1409 | other keys on the `M-s h' prefix are bound globally to the command | ||
| 1410 | `highlight-regexp' and other hi-lock commands. | ||
| 1411 | |||
| 1412 | *** New command `isearch-occur' bound to `M-s o' in Isearch mode | ||
| 1413 | runs `occur' with the current search string. The same key `M-s o' | ||
| 1414 | is bound globally to the command `occur'. | ||
| 1415 | |||
| 1416 | *** Isearch can now search through multiple ChangeLog files. | ||
| 1417 | When running Isearch in a ChangeLog file, if the search fails, | ||
| 1418 | then another C-s tries searching the previous ChangeLog, | ||
| 1419 | if there is one (e.g. going from ChangeLog to ChangeLog.12). | ||
| 1420 | This is enabled if multi-isearch-search is non-nil. | ||
| 1421 | |||
| 1422 | *** Two new commands to start Isearch on a list of marked buffers | ||
| 1423 | for buff-menu.el and ibuffer.el are bound to the keys `M-s a C-s' and | ||
| 1424 | `M-s a M-C-s'. | ||
| 1425 | |||
| 1426 | *** The part of an Isearch that failed to match is highlighted in | ||
| 1427 | `isearch-fail' face. | ||
| 1428 | |||
| 1429 | *** `C-h C-h' in Isearch mode displays isearch-specific Help screen, | ||
| 1430 | `C-h b' displays all Isearch key bindings, `C-h k' displays the full | ||
| 1431 | documentation of the given Isearch key sequence, `C-h m' displays | ||
| 1432 | documentation of Isearch mode. All the rest Help commands exit Isearch mode | ||
| 1433 | and execute their global definitions. | ||
| 1434 | |||
| 1435 | *** When started in the minibuffer, Isearch searches in the minibuffer | ||
| 1436 | history. See `Minibuffer changes', above. | ||
| 1437 | |||
| 1438 | ** MH-E | ||
| 1439 | |||
| 1440 | *** Upgraded to MH-E version 8.2. See MH-E-NEWS for details. | ||
| 1441 | |||
| 1442 | ** Python | ||
| 1443 | *** The file etc/emacs.py now supports both Python 2 and 3, meaning | ||
| 1444 | that either version can be used as inferior Python by python.el. | ||
| 1445 | |||
| 1446 | *** Python mode now has `pdbtrack' functionality. When using pdb to | ||
| 1447 | debug a Python program, pdbtrack notices the pdb prompt and displays | ||
| 1448 | the source file and line that the program is stopped at, much the same | ||
| 1449 | way as gud-mode does for debugging C programs with gdb. | ||
| 1450 | |||
| 1451 | ** Recentf | ||
| 1452 | |||
| 1453 | *** The default value of `recentf-keep' prevents from checking of | ||
| 1454 | remote files, if there is no established connection to the | ||
| 1455 | corresponding remote host. | ||
| 1456 | |||
| 1457 | ** Rmail | ||
| 1458 | |||
| 1459 | *** Rmail no longer converts the messages to Babyl format. | ||
| 1460 | Instead, it uses UNIX mbox format, both on disk and in Rmail buffers, | ||
| 1461 | and does conversion and decoding when a message is displayed. | ||
| 1462 | |||
| 1463 | The first time you visit an Rmail file in Babyl format, Rmail | ||
| 1464 | automatically converts it to mbox format. This is a one-time | ||
| 1465 | conversion, but it can take a few minutes, depending on how fast is | ||
| 1466 | your machine and on the size of the file. You should find the rest of | ||
| 1467 | Rmail usage unaltered. | ||
| 1468 | |||
| 1469 | However, M-x set-rmail-inbox-list now lasts only for one session | ||
| 1470 | because there is no way to save the list of inbox files in an | ||
| 1471 | mbox-format file. | ||
| 1472 | |||
| 1473 | Also, whereas with Babyl format M-x find-file would switch to Rmail | ||
| 1474 | mode, with mbox format this is no longer the case (there being no way | ||
| 1475 | to add an "-*- rmail-*-" cookie to an mbox file). Use C-u M-x rmail | ||
| 1476 | instead. | ||
| 1477 | |||
| 1478 | If you have written any extensions to Rmail, they are likely to need | ||
| 1479 | updating. Conceptually, the Rmail buffer that you see is no longer | ||
| 1480 | just a narrowed portion of the whole. So you cannot access the whole | ||
| 1481 | of a message (or message collection) by a simple save-restriction and | ||
| 1482 | widen. Instead, there are two buffers: the rmail-buffer, and the | ||
| 1483 | rmail-view-buffer. The former is the buffer that you see, the latter | ||
| 1484 | is invisible. Most of the time, the invisible `view' buffer contains | ||
| 1485 | the full contents of the Rmail file, and the Rmail buffer contains a | ||
| 1486 | decoded copy of the current message (with only a subset of the | ||
| 1487 | headers). In this state, Rmail is said to be `swapped'. | ||
| 1488 | |||
| 1489 | You may find the following functions useful: | ||
| 1490 | |||
| 1491 | `rmail-get-header' and `rmail-set-header' get or set the value of a | ||
| 1492 | message header, whether or not it is currently visible. | ||
| 1493 | |||
| 1494 | `rmail-apply-in-message' is a general purpose function that calls a | ||
| 1495 | function (with arguments) which you specify on the full text of a given | ||
| 1496 | message. To further narrow to just the headers, search forward for "\n\n". | ||
| 1497 | |||
| 1498 | *** The new command `rmail-mime' displays MIME messages. | ||
| 1499 | It is bound to `v' in Rmail buffers and summaries. It displays plain | ||
| 1500 | text and multipart messages in a temporary buffer, and offers buttons | ||
| 1501 | to save attachments. | ||
| 1502 | |||
| 1503 | *** The command `rmail-redecode-body' no longer accepts the optional arg RAW. | ||
| 1504 | Since Rmail now holds messages in their original undecoded form in a | ||
| 1505 | separate buffer, `rmail-redecode-body' no longer encodes the original | ||
| 1506 | message, and therefore there should be no need to avoid encoding it. | ||
| 1507 | |||
| 1508 | *** The o command is now `rmail-output'. It is an all-purpose command | ||
| 1509 | for copying messages from Rmail and appending them to files. It | ||
| 1510 | handles Babyl-format files as well as mbox-format files, and it | ||
| 1511 | handles both kinds properly when they are visited in Emacs. It always | ||
| 1512 | copies the full headers of the message. | ||
| 1513 | |||
| 1514 | *** The C-o command is now `rmail-output-as-seen'. It uses | ||
| 1515 | the message as displayed, appending it to an mbox file. | ||
| 1516 | |||
| 1517 | *** The modified status of the Rmail buffer is reported in the mode-line. | ||
| 1518 | Previously, this information was hidden. | ||
| 1519 | |||
| 1520 | ** TeX modes | ||
| 1521 | |||
| 1522 | *** New option latex-indent-within-escaped-parens | ||
| 1523 | permits to customize indentation of LaTeX environments delimited | ||
| 1524 | by escaped parens. | ||
| 1525 | |||
| 1526 | ** T-mouse Mode | ||
| 1527 | |||
| 1528 | *** If the gpm mouse server is running and t-mouse-mode is enabled, | ||
| 1529 | Emacs uses a Unix socket in a GNU/Linux console to talk to server, | ||
| 1530 | rather than faking events using the client program mev. This C level | ||
| 1531 | approach provides mouse highlighting and help echoing in the | ||
| 1532 | minibuffer. | ||
| 1533 | |||
| 1534 | ** Tramp | ||
| 1535 | |||
| 1536 | *** New connection methods. | ||
| 1537 | The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have | ||
| 1538 | been introduced. There are also new so-called gateway methods | ||
| 1539 | "tunnel" and "socks". | ||
| 1540 | |||
| 1541 | *** IPv6 addresses. | ||
| 1542 | IPv6 addresses are supported now as host names. They must be embedded | ||
| 1543 | in square brackets, like in "/ssh:[::1]:". | ||
| 1544 | |||
| 1545 | *** Multihop syntax has been removed. | ||
| 1546 | The pseudo-method "multi" has been removed. Instead, multi hops | ||
| 1547 | can be specified by the new variable `tramp-default-proxies-alist'. | ||
| 1548 | |||
| 1549 | *** More default settings. | ||
| 1550 | Default values can be set via the variables `tramp-default-user', | ||
| 1551 | `tramp-default-user-alist' and `tramp-default-host'. | ||
| 1552 | |||
| 1553 | *** Connection information is cached. | ||
| 1554 | In order to reduce connection setup, information about used | ||
| 1555 | connections is kept persistently in a file. The name of this file is | ||
| 1556 | defined in the variable `tramp-persistency-file-name'. | ||
| 1557 | |||
| 1558 | *** Control of remote processes. | ||
| 1559 | Running processes on a remote host can be controlled by settings in | ||
| 1560 | `tramp-remote-path' and `tramp-remote-process-environment'. | ||
| 1561 | |||
| 1562 | *** Success of remote copy is checked. | ||
| 1563 | When the variable `file-precious-flag' is set, the success of a remote | ||
| 1564 | file copy is checked via the file's checksum. | ||
| 1565 | |||
| 1566 | *** Passwords can be read from an authentification file. | ||
| 1567 | Tramp uses the package `auth-source' to read passwords from a file, if | ||
| 1568 | necessary. | ||
| 1569 | |||
| 1570 | ** VC and related modes | ||
| 1571 | |||
| 1572 | *** VC now supports applying VC operations to a set of files at a time. | ||
| 1573 | This enables VC to work much more effectively with changeset-oriented | ||
| 1574 | version-control systems such as Subversion, GNU Arch, Mercurial, Git | ||
| 1575 | and Bzr. VC will now pass a multiple-file commit to these systems as | ||
| 1576 | a single changeset. | ||
| 1577 | |||
| 1578 | *** vc-dir is a new command that displays file names and their VC | ||
| 1579 | status. It allows to apply various VC operations to a file, a | ||
| 1580 | directory or a set of files/directories. | ||
| 1581 | |||
| 1582 | *** VC switches are no longer appended, rather the first non-nil value is used. | ||
| 1583 | (This was for the most part true in Emacs 22, but was not advertised). | ||
| 1584 | This is because there is an increasing variety of VC systems, and they | ||
| 1585 | do not all accept the same "common" options. For example, a CVS diff | ||
| 1586 | command used to append the values of `vc-cvs-diff-switches', | ||
| 1587 | `vc-diff-switches', and `diff-switches'. Now the first non-nil value | ||
| 1588 | from that sequence is used. The special value `t' means "no switches". | ||
| 1589 | |||
| 1590 | *** Clicking on the VC mode-line entry now pops the VC menu. | ||
| 1591 | |||
| 1592 | *** The VC mode-line entry now has a tooltip that explains the VC file status. | ||
| 1593 | |||
| 1594 | *** In VC Annotate mode, the key bindings have changed to use lower | ||
| 1595 | case keys instead of the upper case keys used in the past. | ||
| 1596 | |||
| 1597 | *** In VC Annotate mode, for VC systems that support changesets, you can | ||
| 1598 | see the diff for the whole changeset (not only for the current file) | ||
| 1599 | by typing the D key. Using the "Show changeset diff of revision at | ||
| 1600 | line" menu entry does the same thing. | ||
| 1601 | |||
| 1602 | *** In VC Annotate mode, you can type v to toggle the annotation visibility. | ||
| 1603 | |||
| 1604 | *** In VC Annotate mode, you can type f to show the file revision on | ||
| 1605 | the current line. | ||
| 1606 | |||
| 1607 | *** Asynchronous VC commands display [Waiting...] in the mode-line | ||
| 1608 | of the corresponding buffer as long as the asynchronous process is | ||
| 1609 | active. | ||
| 1610 | |||
| 1611 | *** Log entries can be modified using the key "e" in log-view. | ||
| 1612 | For now only CVS, RCS, SCCS and SVN support this functionality. | ||
| 1613 | This is done by the `modify-change-comment' backend function. | ||
| 1614 | |||
| 1615 | *** In log-view-mode, for VC systems that support changesets, you can | ||
| 1616 | see the diff for the whole changeset (not only for the current file) | ||
| 1617 | by typing the D key or using the "Changeset Diff" menu entry. | ||
| 1618 | |||
| 1619 | *** In Log Edit mode, C-c C-d now shows the diff for the files involved. | ||
| 1620 | |||
| 1621 | *** vc-git supports the "git grep" command. | ||
| 1622 | |||
| 1623 | *** VC Support for Meta-CVS has been removed for lack of a maintainer able | ||
| 1624 | to update it to the new VC. | ||
| 1625 | |||
| 1626 | ** Miscellaneous | ||
| 1627 | |||
| 1628 | *** comint-mode uses `start-file-process' now (see Lisp Changes). | ||
| 1629 | If `default-directory' is a remote file name, subprocesses are started | ||
| 1630 | on the corresponding remote system. | ||
| 1631 | |||
| 1632 | *** Eldoc highlights the function argument under point | ||
| 1633 | with the face `eldoc-highlight-function-argument'. | ||
| 1634 | |||
| 1635 | *** In Etags, the --members option is now the default. | ||
| 1636 | Use --no-members if you want the old default behavior of not tagging | ||
| 1637 | struct members in C, members variables in C++ and variables in PHP. | ||
| 1638 | |||
| 1639 | *** The `gdb' command only works with the graphical interface now. | ||
| 1640 | Use `gud-gdb' if you want the (old) text command mode. | ||
| 1641 | |||
| 1642 | *** goto-address.el provides two new minor modes, goto-address-mode and | ||
| 1643 | goto-address-prog-mode, which buttonize URLS and email addresses. | ||
| 1644 | |||
| 1645 | *** The new command `eshell/info' runs info in an eshell buffer. | ||
| 1646 | |||
| 1647 | *** The new variable `ffap-rfc-directories' specifies a list of local | ||
| 1648 | directories in which `ffap-rfc' will first search for RFCs. | ||
| 1649 | |||
| 1650 | *** hide-ifdef-mode allows shadowing ifdef-blocks instead of hiding them. | ||
| 1651 | See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'. | ||
| 1652 | |||
| 1653 | *** `icomplete-prospects-height' now supercedes `icomplete-prospects-length'. | ||
| 1654 | |||
| 1655 | *** Info displays breadcrumbs in the header of the page. | ||
| 1656 | See Info-breadcrumbs-depth to control it. | ||
| 1657 | |||
| 1658 | *** net-utils has an `iwconfig' command, similar to the existing `ifconfig'. | ||
| 1659 | It is used to configure wireless interfaces. | ||
| 1660 | |||
| 1661 | *** The pcmpl-unix package supports hostname completion for ssh and scp. | ||
| 1662 | |||
| 1663 | *** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs. | ||
| 1664 | |||
| 1665 | *** smerge-refine highlights word-level details of changes in conflict. | ||
| 1666 | It's used automatically as you move through conflicts, see | ||
| 1667 | smerge-auto-refine-mode. | ||
| 1668 | |||
| 1669 | *** talk.el has been extended for multiple tty support. | ||
| 1670 | |||
| 1671 | *** A new command `display-time-world' has been added to the Time | ||
| 1672 | package. It creates a buffer with an updating time display using | ||
| 1673 | several time zones. | ||
| 1674 | |||
| 1675 | *** The appearance of superscript and subscript in TeX is more customizable. | ||
| 1676 | See the documentation of the variables: tex-fontify-script, | ||
| 1677 | tex-font-script-display, tex-suscript-height-ratio, and | ||
| 1678 | tex-suscript-height-minimum. | ||
| 1679 | |||
| 1680 | *** view-remove-frame-by-deleting is now by default t | ||
| 1681 | since users found iconification of view-mode frames distracting. | ||
| 1682 | |||
| 1683 | *** WoMan tries to add locale-specific manual page directories to the | ||
| 1684 | search path. This can be disabled by setting `woman-locale' to nil. | ||
| 1685 | |||
| 1686 | |||
| 1687 | * Changes in Emacs 23.1 on non-free operating systems | ||
| 1688 | |||
| 1689 | ** Case is now considered significant in completion on MS-Windows. | ||
| 1690 | The default value of `completion-ignore-case' is now nil on | ||
| 1691 | MS-Windows, the same as it is for other operating systems. The | ||
| 1692 | variable doesn't apply to reading a file name -- in that case Emacs | ||
| 1693 | heeds `read-file-name-completion-ignore-case' instead. | ||
| 1694 | |||
| 1695 | ** IPv6 is supported on MS-Windows. | ||
| 1696 | Emacs now supports IPv6 on Windows XP and later, and earlier versions | ||
| 1697 | of Windows with third party IPv6 stacks installed. In Emacs 22, IPv6 was | ||
| 1698 | supported on other platforms, but not on Windows due to using the winsock | ||
| 1699 | 1.1 header file, even though Emacs was linking to the winsock 2 library. | ||
| 1700 | |||
| 1701 | ** Busy cursor (hourglass) now displays on MS-Windows. | ||
| 1702 | When Emacs is busy, an hourglass mouse cursor is displayed on Windows. | ||
| 1703 | In Emacs 22 only X supported the busy cursor. | ||
| 1704 | |||
| 1705 | ** Battery status is available on MS-Windows | ||
| 1706 | Emacs can now display the battery status in the mode-line when enabled with | ||
| 1707 | display-battery-mode or from the Options menu. More verbose battery | ||
| 1708 | information is also available with the command `battery'. In Emacs 22 | ||
| 1709 | battery status was supported only on GNU/Linux and Mac. | ||
| 1710 | |||
| 1711 | ** More keys available on MS-Windows. | ||
| 1712 | Keys normally associated with IMEs, and some exotic keys not normally found | ||
| 1713 | on standard keyboards have been given names so they can be bound to functions | ||
| 1714 | inside Emacs. If there are keys on your keyboard that have not been exposed | ||
| 1715 | to Emacs in the past, try C-h k to see if they are available now. | ||
| 1716 | |||
| 1717 | Emacs can now bind functions to the extra buttons for media player and | ||
| 1718 | browser control present on some keyboards. These buttons are disabled | ||
| 1719 | by default, since enabling them prevents their system-wide use when | ||
| 1720 | Emacs has focus. To enable them, set the variable | ||
| 1721 | w32-pass-multimedia-buttons to nil. See the doc string of that variable | ||
| 1722 | for the list of extra keys that are available. | ||
| 1723 | |||
| 1724 | ** BDF fonts no longer supported on MS-Windows. | ||
| 1725 | The font backend was completely rewritten for this release. The focus | ||
| 1726 | on Windows has been getting acceptable performance and full unicode | ||
| 1727 | support, including complex script shaping for native Windows fonts. A | ||
| 1728 | rewrite of the BDF font support has not happened due to lack of time | ||
| 1729 | and developers. If demand still exists for such a backend even with | ||
| 1730 | the improved language support for native Windows fonts, future | ||
| 1731 | development in this direction will most likely be based on the | ||
| 1732 | freetype library, giving access to a wider range of font formats. | ||
| 1733 | |||
| 1734 | |||
| 1735 | * Incompatible Lisp Changes in Emacs 23.1 | ||
| 1736 | |||
| 1737 | ** Variables cannot be both buffer-local and frame-local any more. | ||
| 1738 | |||
| 1739 | ** `functionp' returns nil for special forms. | ||
| 1740 | I.e., it only returns t for objects that can be passed to `funcall'. | ||
| 1741 | |||
| 1742 | ** The behavior of map-char-table has changed. It may call the | ||
| 1743 | specified function with a cons (FROM . TO) as a key if characters in | ||
| 1744 | that range have the same value. | ||
| 1745 | |||
| 1746 | ** Process changes | ||
| 1747 | |||
| 1748 | *** The function `dired-call-process' has been removed. | ||
| 1749 | |||
| 1750 | *** The multibyteness of process filters is now determined by the | ||
| 1751 | coding-system used for decoding. The functions | ||
| 1752 | `process-filter-multibyte-p' and `set-process-filter-multibyte' are | ||
| 1753 | obsolete. | ||
| 1754 | |||
| 1755 | ** The variable `byte-compile-warnings' can now be a list starting with `not', | ||
| 1756 | meaning to disable the specified warnings. The meaning of this list | ||
| 1757 | may therefore be the reverse of what you expect (of course, this is | ||
| 1758 | only an issue if you make use of the new `not' syntax). Rather than | ||
| 1759 | checking/manipulating elements directly, use the new functions | ||
| 1760 | `byte-compile-warning-enabled-p', `byte-compile-disable-warning', and | ||
| 1761 | `byte-compile-enable-warning.' | ||
| 1762 | |||
| 1763 | ** `mode-name' is no longer guaranteed to be a string. | ||
| 1764 | Use `(format-mode-line mode-name)' to ensure a string value. | ||
| 1765 | |||
| 1766 | ** The function x-font-family-list has been removed. | ||
| 1767 | Use the new function font-family-list (see Lisp Changes, below). | ||
| 1768 | |||
| 1769 | ** Internationalization changes | ||
| 1770 | |||
| 1771 | *** The value of the function `charset-id' is now always 0. | ||
| 1772 | |||
| 1773 | *** The functions `register-char-codings' and `coding-system-spec' | ||
| 1774 | have been removed. | ||
| 1775 | |||
| 1776 | *** The cpXXX coding systems are now supported automatically. | ||
| 1777 | The functions cp-...-codepage, which you had to use in Emacs 22 to | ||
| 1778 | enable support for these coding systems, have been deleted. | ||
| 1779 | |||
| 1780 | *** The following features have been removed. They were used for | ||
| 1781 | displaying various scripts with specific fonts, and are no longer | ||
| 1782 | needed now that OpenType font support is available: | ||
| 1783 | |||
| 1784 | **** `devanagari' and `devan-util', and all associated devanagari-* and | ||
| 1785 | dev-* functions and variables (formerly used for Devanagari script). | ||
| 1786 | |||
| 1787 | **** `kannada' and `knd-util', and all associated kannada-* and knd-* | ||
| 1788 | functions and variables (formerly used for Kannada script). | ||
| 1789 | |||
| 1790 | **** `malayalam' and `mlm-util', and all associated malayalam-* and | ||
| 1791 | mlm-* functions and variables (formerly used for Malayalam script). | ||
| 1792 | |||
| 1793 | **** `tamil' and `tml-util, and all associated tamil-* and tml-* | ||
| 1794 | functions and variables (formerly used for Tamil script). | ||
| 1795 | |||
| 1796 | *** The meaning of NAME argument of `set-fontset-font' is changed. | ||
| 1797 | Previously nil is accepted as the default fontset. Now, nil is for | ||
| 1798 | the fontset of the selected frame and t is for the default fontset. | ||
| 1799 | |||
| 1800 | *** The meaning of FONTSET argument of `print-fontset' is changed. | ||
| 1801 | Now, nil is for the fontset of the selected frame and t is for the | ||
| 1802 | default fontset. | ||
| 1803 | |||
| 1804 | ** If a function in write-region-annotate-functions returns with a | ||
| 1805 | different buffer current, Emacs no longer kills that buffer | ||
| 1806 | automatically. This behavior existed in previous versions of Emacs, | ||
| 1807 | but was undocumented. To kill a buffer after write-region, give the | ||
| 1808 | variable `write-region-post-annotation-function' a buffer-local value | ||
| 1809 | of `kill-buffer'. | ||
| 1810 | |||
| 1811 | ** The variable temp-file-name-pattern has been removed. | ||
| 1812 | This variable was only used by call-process-region, which now uses | ||
| 1813 | temporary-file-directory instead. | ||
| 1814 | |||
| 1815 | ** The COUNT and SYSTEM-FLAG arguments to define-abbrev have been | ||
| 1816 | removed. The function now takes extra arguments for specifying | ||
| 1817 | arbitrary abbrev properties. | ||
| 1818 | |||
| 1819 | ** end-of-defun-function is now guaranteed to work only when called | ||
| 1820 | from the start of a defun. It must now leave point exactly at the end | ||
| 1821 | of defun, since `end-of-defun' now itself moves forward over | ||
| 1822 | whitespace after calling it. | ||
| 1823 | |||
| 1824 | |||
| 1825 | * Lisp Changes in Emacs 23.1 | ||
| 1826 | |||
| 1827 | ** The new variable `generate-autoload-cookie' controls the magic comment | ||
| 1828 | string used by `update-file-autoloads' to find autoloaded forms. The | ||
| 1829 | variable `generated-autoload-file' similarly controls the name of the | ||
| 1830 | file where `update-file-autoloads' writes the calls to `autoload'. | ||
| 1831 | The default values are ";;;###autoload" and `loaddefs.el', | ||
| 1832 | respectively. | ||
| 1833 | |||
| 1834 | ** New primitives `list-system-processes' and `process-attributes' | ||
| 1835 | let Lisp programs access the processes that are running on the local | ||
| 1836 | machine. See the doc strings of these functions for more details. | ||
| 1837 | Not all platforms support accessing this information; on those that | ||
| 1838 | don't, these primitives will return nil. | ||
| 1839 | |||
| 1840 | ** New variable `user-emacs-directory'. | ||
| 1841 | Use this instead of "~/.emacs.d". | ||
| 1842 | |||
| 1843 | ** If a local hook function has a non-nil `permanent-local-hook' | ||
| 1844 | property, `kill-all-local-variables' does not remove it from the local | ||
| 1845 | value of the hook variable; it remains even if you change major modes. | ||
| 1846 | |||
| 1847 | ** `frame-inherited-parameters' lets new frames inherit parameters from | ||
| 1848 | the selected frame. | ||
| 1849 | |||
| 1850 | ** New keymap `input-decode-map' overrides like key-translation-map, but | ||
| 1851 | applies before function-key-map. Also it is terminal-local contrary to | ||
| 1852 | key-translation-map. Terminal-specific key-sequences are generally added to | ||
| 1853 | this map rather than to function-key-map now. | ||
| 1854 | |||
| 1855 | ** `ignore-errors' is now a standard macro (does not require the CL package). | ||
| 1856 | |||
| 1857 | ** `interprogram-paste-function' can now return one string or a list | ||
| 1858 | of strings. In the latter case, Emacs puts the second and following | ||
| 1859 | strings on the kill ring. | ||
| 1860 | |||
| 1861 | ** In `condition-case', a handler can specify "let the debugger run first". | ||
| 1862 | You do this by writing `debug' in the list of conditions to be handled, | ||
| 1863 | like this: | ||
| 1864 | |||
| 1865 | (condition-case nil | ||
| 1866 | (foo bar) | ||
| 1867 | ((debug error) nil)) | ||
| 1868 | |||
| 1869 | ** clone-indirect-buffer now runs the clone-indirect-buffer-hook. | ||
| 1870 | |||
| 1871 | ** `beginning-of-defun-function' now takes one argument, the count given to | ||
| 1872 | `beginning-of-defun'. (N.B. `end-of-defun-function' doesn't take any | ||
| 1873 | arguments.) | ||
| 1874 | |||
| 1875 | ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED. | ||
| 1876 | IDENTIFICATION specifies which part of the remote identifier has to be | ||
| 1877 | returned. With CONNECTED passed non-nil, it is checked whether a | ||
| 1878 | remote connection has been established already. | ||
| 1879 | |||
| 1880 | ** The new macro `declare-function' suppresses compiler warnings about | ||
| 1881 | undefined functions. | ||
| 1882 | |||
| 1883 | ** Changes to interactive function handling | ||
| 1884 | |||
| 1885 | *** The new interactive spec code ^ says to first call | ||
| 1886 | handle-shift-selection if shift-select-mode is non-nil, before reading | ||
| 1887 | the command arguments. This is used for shift-selection (see above). | ||
| 1888 | |||
| 1889 | *** Built-in functions can now have an interactive specification that | ||
| 1890 | is not a prompt string. If the `intspec' parameter of a `DEFUN' | ||
| 1891 | starts with a `(', the string is evaluated as a Lisp form. | ||
| 1892 | |||
| 1893 | *** The interactive-form of a function can be added post-facto via the | ||
| 1894 | `interactive-form' symbol property. Mostly useful to add complex | ||
| 1895 | interactive forms to subroutines. | ||
| 1896 | |||
| 1897 | ** Region changes | ||
| 1898 | |||
| 1899 | *** Commands should use `use-region-p' to test whether there is | ||
| 1900 | an active region that they should operate on. | ||
| 1901 | |||
| 1902 | *** `region-active-p' returns non-nil when Transient Mark mode is | ||
| 1903 | enabled and the mark is active. Most commands that act specially on | ||
| 1904 | the active region in Transient Mark mode should use `use-region-p' | ||
| 1905 | instead of `region-active-p', because `use-region-p' obeys the new | ||
| 1906 | user option `use-empty-active-region' (see Editing Changes, above). | ||
| 1907 | |||
| 1908 | *** If a command sets `transient-mark-mode' to (only . OLDVAL), that | ||
| 1909 | means to activate transient-mark-mode temporarily, until the next | ||
| 1910 | unshifted point motion command or mark deactivation. Afterwards, | ||
| 1911 | reset transient-mark-mode to the value OLDVAL. The values `only' and | ||
| 1912 | `identity', introduced in Emacs 22, are now deprecated. | ||
| 1913 | |||
| 1914 | ** Emacs session information | ||
| 1915 | |||
| 1916 | *** The new variables `before-init-time' and `after-init-time' record the | ||
| 1917 | value of `current-time' before and after Emacs loads the init files. | ||
| 1918 | |||
| 1919 | *** The new function `emacs-uptime' returns the uptime of an Emacs instance. | ||
| 1920 | |||
| 1921 | *** The new function `emacs-init-time' returns the duration of the | ||
| 1922 | Emacs initialization. | ||
| 1923 | |||
| 1924 | ** Changes affecting display-buffer | ||
| 1925 | |||
| 1926 | *** display-buffer tries to be smarter when splitting windows. | ||
| 1927 | The new option split-window-preferred-function lets you specify your own | ||
| 1928 | function to pop up new windows. Its default value split-window-sensibly | ||
| 1929 | can split a window either vertically or horizontally, whichever seems | ||
| 1930 | more suitable in the current configuration. You can tune the behavior | ||
| 1931 | of split-window-sensibly by customizing split-height-threshold and the | ||
| 1932 | new option split-width-threshold. Both options now take the value nil | ||
| 1933 | to inhibit splitting in one direction. Setting split-width-threshold to | ||
| 1934 | nil inhibits horizontal splitting and gets you the behavior of Emacs 22 | ||
| 1935 | in this respect. In any case, display-buffer may now split the largest | ||
| 1936 | window vertically even when it is not as wide as the containing frame. | ||
| 1937 | |||
| 1938 | *** If pop-up-frames has the value `graphic-only', display-buffer only | ||
| 1939 | makes a separate frame on graphic displays. | ||
| 1940 | |||
| 1941 | *** select-frame and set-frame-selected-window have a new optional | ||
| 1942 | argument NORECORD. If non-nil, this will avoid messing with the order | ||
| 1943 | of recently selected windows and the buffer list. | ||
| 1944 | |||
| 1945 | ** Window parameters can now be defined. | ||
| 1946 | These are analogous to frame parameters, but are associated with | ||
| 1947 | individual windows. | ||
| 1948 | |||
| 1949 | *** The new functions window-parameters, window-parameter, and | ||
| 1950 | set-window-parameter are used to query and set window parameters. | ||
| 1951 | |||
| 1952 | ** Minibuffer and completion changes | ||
| 1953 | |||
| 1954 | *** A list of default values can be specified for the DEFAULT argument of | ||
| 1955 | functions `read-from-minibuffer', `read-string', `read-command', | ||
| 1956 | `read-variable', `read-buffer', `completing-read'. Elements of this list | ||
| 1957 | are available for inserting into the minibuffer by typing `M-n'. | ||
| 1958 | For empty input these functions return the first element of this list. | ||
| 1959 | |||
| 1960 | *** New function `read-regexp' uses the regexp history and some useful | ||
| 1961 | regexp defaults (string at point, last Isearch/replacement regexp/string) | ||
| 1962 | via M-n when reading a regexp in the minibuffer. | ||
| 1963 | |||
| 1964 | *** minibuffer-local-must-match-filename-map is now named | ||
| 1965 | minibuffer-local-filename-must-match-map. | ||
| 1966 | |||
| 1967 | *** The `require-match' argument to `completing-read' accepts the new | ||
| 1968 | values `confirm-only' and `confirm-after-completion'. | ||
| 1969 | |||
| 1970 | ** Search and replacement changes | ||
| 1971 | |||
| 1972 | *** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly. | ||
| 1973 | |||
| 1974 | *** New function `match-substitute-replacement' returns the result of | ||
| 1975 | `replace-match' without actually using it in the buffer. | ||
| 1976 | |||
| 1977 | *** The new variable `replace-search-function' determines the function | ||
| 1978 | to use for searching in query-replace and replace-string. The | ||
| 1979 | function it specifies is called by `perform-replace' when its 4th | ||
| 1980 | argument is nil. | ||
| 1981 | |||
| 1982 | *** The new variable `replace-re-search-function' determines the | ||
| 1983 | function to use for searching in `query-replace-regexp', | ||
| 1984 | `replace-regexp', `query-replace-regexp-eval', and | ||
| 1985 | `map-query-replace-regexp'. The function it specifies is called by | ||
| 1986 | `perform-replace' when its 4th argument is non-nil. | ||
| 1987 | |||
| 1988 | *** New keymap `search-map' bound to `M-s' provides global bindings | ||
| 1989 | for search related commands. | ||
| 1990 | |||
| 1991 | *** New keymap `multi-query-replace-map' contains additonal keys bound | ||
| 1992 | to `automatic-all' and `exit-current' for multi-buffer interactive replacement. | ||
| 1993 | |||
| 1994 | *** The variable `inhibit-changing-match-data', if non-nil, prevents | ||
| 1995 | the search and match primitives from changing the match data. | ||
| 1996 | |||
| 1997 | *** New functions `word-search-forward-lax' and `word-search-backward-lax'. | ||
| 1998 | These are like `word-search-forward and `word-search-backward', except | ||
| 1999 | that the end of the search string need not match a word boundary, | ||
| 2000 | unless it ends in whitespace. | ||
| 2001 | |||
| 2002 | ** File handling changes | ||
| 2003 | |||
| 2004 | *** set-file-modes is now interactive and can take the mode value in | ||
| 2005 | symbolic notation thanks to auxiliary functions. | ||
| 2006 | |||
| 2007 | *** file-local-variables-alist stores an alist of file-local | ||
| 2008 | variables defined in the current buffer. | ||
| 2009 | |||
| 2010 | ** Face-remapping | ||
| 2011 | |||
| 2012 | *** Each face can be remapped to a different face definition using the | ||
| 2013 | variable `face-remapping-alist'. This is an alist that maps faces to | ||
| 2014 | replacement definitions (which can be face names, lists of face names, | ||
| 2015 | or attribute/value plists. If this variable is buffer-local, the | ||
| 2016 | remapping occurs only in that buffer. | ||
| 2017 | |||
| 2018 | *** text-scale-mode remaps the default face to a larger or smaller | ||
| 2019 | size in the current buffer. This feature is used by the Buffer Face | ||
| 2020 | menu and the new `C-x C-+', `C-x C--', and `C-x C-0' commands (see | ||
| 2021 | Editing Changes, above). | ||
| 2022 | |||
| 2023 | *** New functions: | ||
| 2024 | |||
| 2025 | **** `face-remap-add-relative' adds a face remapping entry to the | ||
| 2026 | current buffer. | ||
| 2027 | |||
| 2028 | **** ``face-remap-remove-relative' removes a face remapping entry from | ||
| 2029 | the current buffer. | ||
| 2030 | |||
| 2031 | **** `face-remap-reset-base' restores a face to its global definition. | ||
| 2032 | |||
| 2033 | **** `face-remap-set-base' sets the base remapping of a face. | ||
| 2034 | |||
| 2035 | ** Process changes | ||
| 2036 | |||
| 2037 | *** The new function `start-file-process' is similar to `start-process', | ||
| 2038 | but obeys file handlers. The file handler is chosen based on | ||
| 2039 | `default-directory'. The functions `start-file-process-shell-command' | ||
| 2040 | and `process-file-shell-command' are also new; they call internally | ||
| 2041 | `start-file-process' and `process-file', respectively. | ||
| 2042 | |||
| 2043 | *** The new function `process-lines' executes an external program and | ||
| 2044 | returns its output as a list of lines. | ||
| 2045 | |||
| 2046 | ** Character code, representation, and charset changes. | ||
| 2047 | |||
| 2048 | *** In multibyte buffers and strings, characters are represented by | ||
| 2049 | UTF-8 byte sequences. The character code space is now 0x0..0x3FFFFF | ||
| 2050 | with no gap; code points 0x0..0x10FFFF are Unicode characters of the | ||
| 2051 | same code points, while code points 0x3FFF80..0x3FFFFF are raw 8-bit | ||
| 2052 | bytes. | ||
| 2053 | |||
| 2054 | *** Generic characters no longer exist. | ||
| 2055 | |||
| 2056 | *** The concept of a charset has changed. A single character may | ||
| 2057 | belong to multiple charsets (e.g. a-grave, U+00E0, belongs to charsets | ||
| 2058 | unicode, iso-8859-1, iso-8859-3, etc). | ||
| 2059 | |||
| 2060 | **** The dimension of a charset is now 1, 2, 3, or 4, and the size of | ||
| 2061 | each dimension is no longer limited to 94 or 96. | ||
| 2062 | |||
| 2063 | **** A dynamic charset priority list is used to infer the charset of | ||
| 2064 | characters for display. | ||
| 2065 | |||
| 2066 | *** The functions `split-char' and `make-char' now accept up to 4 | ||
| 2067 | positional codes instead of just 2. | ||
| 2068 | |||
| 2069 | *** The functions `encode-char' and `decode-char' now accept any character sets. | ||
| 2070 | |||
| 2071 | *** The function `define-charset' now accepts a completely different | ||
| 2072 | form of arguments (old-style arguments still work). | ||
| 2073 | |||
| 2074 | *** The value of the function `char-charset' depends on the current | ||
| 2075 | priorities of charsets. | ||
| 2076 | |||
| 2077 | *** The function get-char-code-property now accepts many Unicode base | ||
| 2078 | character properties. They are `name', `general-category', | ||
| 2079 | `canonical-combining-class', `bidi-class', `decomposition', | ||
| 2080 | `decimal-digit-value', `digit-value', `numeric-value', `mirrored', | ||
| 2081 | `old-name', `iso-10646-comment', `uppercase', `lowercase', and | ||
| 2082 | `titlecase'. | ||
| 2083 | |||
| 2084 | *** The functions `modify-syntax-entry' and `modify-category-entry' now | ||
| 2085 | accept a cons of characters as the first argument, and modify all | ||
| 2086 | entries in that range of characters. | ||
| 2087 | |||
| 2088 | *** Use of `translation-table-for-input' for character code unification | ||
| 2089 | is now obsolete, since Emacs 23.1 and later uses Unicode as basis for | ||
| 2090 | internal representation of characters. | ||
| 2091 | |||
| 2092 | *** New functions: | ||
| 2093 | |||
| 2094 | **** `characterp' returns t if and only if the argument is a character. | ||
| 2095 | This replaces `char-valid-p', which is now obsolete. | ||
| 2096 | |||
| 2097 | **** `max-char' returns the maximum character code (currently #x3FFFFF). | ||
| 2098 | |||
| 2099 | **** `define-charset-alias' defines an alias of a charset. | ||
| 2100 | |||
| 2101 | **** `set-charset-priority' sets priorities of charsets. | ||
| 2102 | |||
| 2103 | **** `charset-priority-list' returns a prioritized list of charsets. | ||
| 2104 | |||
| 2105 | **** `unibyte-string' makes a unibyte string from bytes. | ||
| 2106 | |||
| 2107 | **** `define-char-code-property' defines a character code property. | ||
| 2108 | |||
| 2109 | **** `char-code-property-description' returns the description string of | ||
| 2110 | a character code property. | ||
| 2111 | |||
| 2112 | *** New variables: | ||
| 2113 | |||
| 2114 | **** `find-word-boundary-function-table' is a char-table of functions to | ||
| 2115 | search for a word boundary. | ||
| 2116 | |||
| 2117 | **** `char-script-table' is a char-table of script names. | ||
| 2118 | |||
| 2119 | **** `char-width-table' is a char-table of character widths. | ||
| 2120 | |||
| 2121 | **** `print-charset-text-property' controls how to handle `charset' text | ||
| 2122 | property on printing a string. | ||
| 2123 | |||
| 2124 | **** `printable-chars' is a char-table of printable characters. | ||
| 2125 | |||
| 2126 | ** Code conversion changes | ||
| 2127 | |||
| 2128 | *** The new function `define-coding-system' should be used to define a | ||
| 2129 | coding system instead of `make-coding-system' (which is now obsolete). | ||
| 2130 | |||
| 2131 | *** The functions `encode-coding-region' and `decode-coding-region' | ||
| 2132 | have an optional 4th argument to specify where the result of | ||
| 2133 | conversion should go. | ||
| 2134 | |||
| 2135 | *** The functions `encode-coding-string' and `decode-coding-string' | ||
| 2136 | have an optional 4th argument specifying a buffer to store the result | ||
| 2137 | of conversion. | ||
| 2138 | |||
| 2139 | *** The new variable `inhibit-null-byte-detection' controls whether to | ||
| 2140 | consider text with null bytes as binary data. By default, it is | ||
| 2141 | `nil', and Emacs uses `no-conversion' for any text containing null | ||
| 2142 | bytes. | ||
| 2143 | |||
| 2144 | *** The functions `set-coding-priority' and `make-coding-system' are obsolete. | ||
| 2145 | |||
| 2146 | *** New functions: | ||
| 2147 | |||
| 2148 | **** `with-coding-priority' executes Lisp code using the specified | ||
| 2149 | coding system priority order. | ||
| 2150 | |||
| 2151 | **** `check-coding-systems-region' checks if the text in the region is | ||
| 2152 | encodable by the specified coding systems. | ||
| 2153 | |||
| 2154 | **** `coding-system-aliases' returns a list of aliases of a coding system. | ||
| 2155 | |||
| 2156 | **** `coding-system-charset-list' returns a list of charsets supported | ||
| 2157 | by a coding system. | ||
| 2158 | |||
| 2159 | **** `coding-system-priority-list' returns a list of coding systems | ||
| 2160 | ordered by their priorities. | ||
| 2161 | |||
| 2162 | **** `set-coding-system-priority' sets priorities of coding systems. | ||
| 2163 | |||
| 2164 | **** `coding-system-from-name' returns a coding system matching with | ||
| 2165 | the argument name. | ||
| 2166 | |||
| 2167 | ** There is a new input method, Robin, different from Quail. | ||
| 2168 | It has three functionalities: | ||
| 2169 | i) a simple input method (converts an ASCII sequence into a string). | ||
| 2170 | ii) converts an existing buffer substring into another string | ||
| 2171 | iii) reverse conversion (each character produced by a | ||
| 2172 | robin rule can hold the original ASCII sequence as a char-code-property) | ||
| 2173 | |||
| 2174 | *** The new function `robin-define-package' defines a Robin package. | ||
| 2175 | |||
| 2176 | *** The new function `robin-modify-package' modifies an existing Robin package. | ||
| 2177 | |||
| 2178 | *** The new function `robin-use-package' starts using a Robin package | ||
| 2179 | as an input method. | ||
| 2180 | |||
| 2181 | *** The new function `string-to-unibyte' is like `string-as-unibyte' | ||
| 2182 | but signals an error if STRING contains a non-ASCII, non-eight-bit | ||
| 2183 | character. | ||
| 2184 | |||
| 2185 | ** Changes related to the new font backend | ||
| 2186 | |||
| 2187 | *** Which font backends to use can be specified by the X resource | ||
| 2188 | "FontBackend". For instance, to use both X core fonts and Xft fonts: | ||
| 2189 | |||
| 2190 | Emacs.FontBackend: x,xft | ||
| 2191 | |||
| 2192 | If this resource is not set, Emacs tries to use all font backends | ||
| 2193 | available on your graphic device. | ||
| 2194 | |||
| 2195 | *** New frame parameter `font-backend' specifies a list of | ||
| 2196 | font-backends supported by the frame's graphic device. On X, they are | ||
| 2197 | currently `x' and `xft'. | ||
| 2198 | |||
| 2199 | *** The function `set-fontset-font' now accepts a script name as the | ||
| 2200 | second argument, and has an optional 5th argument to control how to | ||
| 2201 | set the font. | ||
| 2202 | |||
| 2203 | *** New functions: | ||
| 2204 | |||
| 2205 | **** `fontp' checks if the argument is a font-spec or font-entity. | ||
| 2206 | |||
| 2207 | **** `font-spec' creates a new font-spec object. | ||
| 2208 | |||
| 2209 | **** `font-get' returns a font property value. | ||
| 2210 | |||
| 2211 | **** `font-put' sets a font property value. | ||
| 2212 | |||
| 2213 | **** `font-face-attributes' returns a plist of face attributes set by a font. | ||
| 2214 | |||
| 2215 | **** `list-fonts' returns a list of font-entities matching a font spec. | ||
| 2216 | |||
| 2217 | **** `find-font' returns the font-entity best matching the given font spec. | ||
| 2218 | |||
| 2219 | **** `font-family-list' returns a list of family names of available fonts. | ||
| 2220 | |||
| 2221 | **** `font-xlfd-name' returns an XLFD name of a given font spec, font | ||
| 2222 | entity, or font object. | ||
| 2223 | |||
| 2224 | **** `clear-font-cache' clears all font caches. | ||
| 2225 | |||
| 2226 | ** Changes related to multiple-terminal (multi-tty) support | ||
| 2227 | |||
| 2228 | *** $TERM is now set to `dumb' for subprocesses. If you want to know the | ||
| 2229 | $TERM inherited by Emacs you will have to look inside initial-environment. | ||
| 2230 | |||
| 2231 | *** $DISPLAY is now dynamically inherited from the frame's `display'. | ||
| 2232 | |||
| 2233 | *** The `window-system' variable is now frame-local. The new | ||
| 2234 | `initial-window-system' variable contains the `window-system' value | ||
| 2235 | for the first frame. `window-system' is also now a function that | ||
| 2236 | takes a frame argument. | ||
| 2237 | |||
| 2238 | *** The `keyboard-translate-table' variable and the terminal and | ||
| 2239 | keyboard coding systems are now terminal-local. | ||
| 2240 | |||
| 2241 | *** You can specify a terminal device (`tty' parameter) and a terminal | ||
| 2242 | type (`tty-type' parameter) to `make-terminal-frame'. | ||
| 2243 | |||
| 2244 | *** The function `make-frame-on-display' now works during a tty | ||
| 2245 | session. | ||
| 2246 | |||
| 2247 | *** A new `terminal' data type. | ||
| 2248 | The functions `get-device-terminal', `terminal-parameters', | ||
| 2249 | `terminal-parameter', `set-terminal-parameter' use this data type. | ||
| 2250 | |||
| 2251 | *** Function key sequences are now mapped using `local-function-key-map', | ||
| 2252 | a new variable. This inherits from the global variable function-key-map, | ||
| 2253 | which is not used directly any more. | ||
| 2254 | |||
| 2255 | *** New hooks: | ||
| 2256 | |||
| 2257 | **** before-hack-local-variables-hook is called after setting new | ||
| 2258 | variable file-local-variables-alist, and before actually applying the | ||
| 2259 | file-local variables. | ||
| 2260 | |||
| 2261 | **** `suspend-tty-functions' and `resume-tty-functions' are called | ||
| 2262 | after a tty frame has been suspended or resumed, respectively. The | ||
| 2263 | functions are called with the terminal id of the frame being | ||
| 2264 | suspended/resumed as a parameter. | ||
| 2265 | |||
| 2266 | **** The special hook `delete-terminal-functions' is called before | ||
| 2267 | deleting a terminal. | ||
| 2268 | |||
| 2269 | *** New functions: | ||
| 2270 | |||
| 2271 | **** `delete-terminal' | ||
| 2272 | |||
| 2273 | **** `suspend-tty' | ||
| 2274 | |||
| 2275 | **** `resume-tty'. | ||
| 2276 | |||
| 2277 | *** `initial-environment' holds the environment inherited from Emacs's parent. | ||
| 2278 | |||
| 2279 | ** Redisplay changes | ||
| 2280 | |||
| 2281 | *** For underlined characters, the distance between the underline and | ||
| 2282 | the baseline is controlled by a new variable, `underline-minimum-offset'. | ||
| 2283 | |||
| 2284 | *** You can now pass the value of the `invisible' property to | ||
| 2285 | invisible-p to check whether it would cause the text to be invisible. | ||
| 2286 | This is convenient when checking invisibility of text with no buffer | ||
| 2287 | position (e.g. in before/after-strings). | ||
| 2288 | |||
| 2289 | *** `clear-image-cache' can be told to flush only images of a specific file. | ||
| 2290 | |||
| 2291 | *** `vertical-motion' can now be given a goal column. | ||
| 2292 | It now accepts a cons cell (COLS . LINES) in its first argument, which | ||
| 2293 | says to stop, where possible, at a pixel x-position equal to COLS | ||
| 2294 | times the default column width. | ||
| 2295 | |||
| 2296 | *** redisplay-end-trigger-functions, set-window-redisplay-end-trigger, | ||
| 2297 | and window-redisplay-end-trigger are obsolete. Use `jit-lock-register' | ||
| 2298 | instead. | ||
| 2299 | |||
| 2300 | *** The new variables `wrap-prefix' and `line-prefix' specify display | ||
| 2301 | specs which are appended at display-time to every continuation line | ||
| 2302 | and non-continuation line, respectively. In addition, Emacs | ||
| 2303 | recognizes the `wrap-prefix' and `line-prefix' text or overlay | ||
| 2304 | properties; these have the same effects as the variables of the same | ||
| 2305 | name, but take precedence. | ||
| 2306 | |||
| 2307 | ** The Lisp interpreter now treats non-breaking space as whitespace. | ||
| 2308 | |||
| 2309 | ** Miscellaneous new functions | ||
| 2310 | |||
| 2311 | *** `apply-partially' performs a "curried" application of a function. | ||
| 2312 | |||
| 2313 | *** `buffer-swap-text' swaps text between two buffers. This can be | ||
| 2314 | useful for modes such as tar-mode, archive-mode, RMAIL. | ||
| 2315 | |||
| 2316 | *** `combine-and-quote-strings' produces a single string from a list of strings | ||
| 2317 | sticking a separator string in between each pair, and quoting those | ||
| 2318 | strings that include the separator as their substring. Useful for | ||
| 2319 | consing shell command lines from the individual arguments. | ||
| 2320 | |||
| 2321 | *** `custom-note-var-changed' tells Custom to treat the change in a | ||
| 2322 | certain variable as having been made within Custom. | ||
| 2323 | |||
| 2324 | *** `face-all-attributes' returns an alist describing all the basic | ||
| 2325 | attributes of a given face. | ||
| 2326 | |||
| 2327 | *** `format-seconds' converts a number of seconds into a readable | ||
| 2328 | string of days, hours, etc. | ||
| 2329 | |||
| 2330 | *** `image-refresh' refreshes all images associated with a given image | ||
| 2331 | specification. | ||
| 2332 | |||
| 2333 | *** `locate-user-emacs-file' helps packages to select the appropriate | ||
| 2334 | place to save user-specific files. It defaults to `user-emacs-directory' | ||
| 2335 | unless the file already exists at $HOME. | ||
| 2336 | |||
| 2337 | *** `read-color' reads a color name using the minibuffer. | ||
| 2338 | |||
| 2339 | *** `read-shell-command' does what its name says, with completion. It | ||
| 2340 | uses the minibuffer-local-shell-command-map for that. | ||
| 2341 | |||
| 2342 | *** `split-string-and-unquote' splits a string into a list of substrings | ||
| 2343 | on the boundaries of a given delimiter, and unquotes the substrings that | ||
| 2344 | are quoted. Useful for taking apart shell commands. | ||
| 2345 | |||
| 2346 | *** The two new functions `looking-at-p' and `string-match-p' can do | ||
| 2347 | the same matching as `looking-at' and `string-match' without changing | ||
| 2348 | the match data. | ||
| 2349 | |||
| 2350 | *** The two new functions `make-serial-process' and | ||
| 2351 | `serial-process-configure' provide a Lisp interface to the new serial | ||
| 2352 | port support (see Emacs changes, above). | ||
| 2353 | |||
| 2354 | ** Miscellaneous new variables | ||
| 2355 | |||
| 2356 | *** `auto-save-include-big-deletions', if non-nil, means auto-save is | ||
| 2357 | not turned off automatically after a big deletion. | ||
| 2358 | |||
| 2359 | *** `read-circle', if nil, disables the reading of recursive Lisp | ||
| 2360 | structures using the #N= and #N# syntax. | ||
| 2361 | |||
| 2362 | *** `this-command-keys-shift-translated' is non-nil if the key | ||
| 2363 | sequence invoking the current command was found by shift-translation. | ||
| 2364 | |||
| 2365 | *** `window-point-insertion-type' determines the insertion-type of the | ||
| 2366 | marker used for window-point. | ||
| 2367 | |||
| 2368 | *** bookmark provides `bookmark-make-record-function' so special major | ||
| 2369 | modes like Info can teach bookmark.el how to save and restore the | ||
| 2370 | relevant data. | ||
| 2371 | |||
| 2372 | *** `fill-forward-paragraph-function' specifies which function the | ||
| 2373 | filling code should use to find paragraph boundaries. | ||
| 2374 | |||
| 2375 | |||
| 2376 | * New Packages for Lisp Programming in Emacs 23.1 | ||
| 2377 | |||
| 2378 | ** The new package avl-tree.el deals with the AVL tree data structure. | ||
| 2379 | |||
| 2380 | ** The new package check-declare.el verifies the accuracy of | ||
| 2381 | declare-function macros (see Lisp Changes, above). | ||
| 2382 | |||
| 2383 | ** find-cmd.el can build `find' commands using lisp syntax. | ||
| 2384 | |||
| 2385 | ** The package misearch.el has been added. It allows Isearch to search | ||
| 2386 | through multiple buffers. A variable `multi-isearch-next-buffer-function' | ||
| 2387 | defines the function to call to get the next buffer to search in the series | ||
| 2388 | of multiple buffers. Top-level functions `multi-isearch-buffers', | ||
| 2389 | `multi-isearch-buffers-regexp', `multi-isearch-files' and | ||
| 2390 | `multi-isearch-files-regexp' accept a single argument that specifies | ||
| 2391 | a list of buffers/files to search for a string/regexp. | ||
| 2392 | |||
| 2393 | ** The new major mode `special-mode' is intended as a parent for | ||
| 2394 | major modes such as those that set the "'mode-class 'special" property. | ||
| 2395 | |||
| 2396 | |||
| 2397 | ---------------------------------------------------------------------- | ||
| 2398 | This file is part of GNU Emacs. | ||
| 2399 | |||
| 2400 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 2401 | it under the terms of the GNU General Public License as published by | ||
| 2402 | the Free Software Foundation, either version 3 of the License, or | ||
| 2403 | (at your option) any later version. | ||
| 2404 | |||
| 2405 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 2406 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 2407 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 2408 | GNU General Public License for more details. | ||
| 2409 | |||
| 2410 | You should have received a copy of the GNU General Public License | ||
| 2411 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 2412 | |||
| 2413 | |||
| 2414 | Local variables: | ||
| 2415 | mode: outline | ||
| 2416 | paragraph-separate: "[ ]*$" | ||
| 2417 | end: | ||
| 2418 | |||
| 2419 | arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2 | ||
| @@ -12,7 +12,46 @@ it best. Since Emacs is an FSF-copyrighted package, please be | |||
| 12 | prepared to sign legal papers to transfer the copyright on your work | 12 | prepared to sign legal papers to transfer the copyright on your work |
| 13 | to the FSF. | 13 | to the FSF. |
| 14 | 14 | ||
| 15 | * Simple tasks. These don't require much emacs knowledge, they are | 15 | * Tentative plan for Emacs-24 |
| 16 | |||
| 17 | ** Bidi | ||
| 18 | ** lexbind: I haven't checked the status of the code recently, so | ||
| 19 | I don't know how realistic it is to include it. But it's been around | ||
| 20 | for a long time, and I trust Miles, so I have hope. | ||
| 21 | ** concurrency: including it as an "experimental" compile-time option | ||
| 22 | sounds good. Of course there might still be big questions around | ||
| 23 | "which form of concurrency" we'll want. | ||
| 24 | ** Overhaul of customize: sounds wonderful. | ||
| 25 | ** some kind of color-theme: agreed. | ||
| 26 | ** better support for dynamic embedded graphics: I like this idea (my | ||
| 27 | mpc.el code could use it for the volume widget), tho I wonder if the | ||
| 28 | resulting efficiency will be sufficient. | ||
| 29 | ** Spread Semantic. | ||
| 30 | ** Improve the "code snippets" support: consolidate skeleton.el, tempo.el, | ||
| 31 | and expand.el (any other?) and then advertise/use/improve it. | ||
| 32 | ** Improve VC: yes, there's a lot of work to be done there :-( | ||
| 33 | And most of it could/should make it into Emacs-23.3. | ||
| 34 | ** package manager. | ||
| 35 | |||
| 36 | ** Random things that cross my mind right now that I'd like to see (some of | ||
| 37 | them from my local hacks), but it's not obvious at all whether they'll | ||
| 38 | make it. | ||
| 39 | *** multiple inheritance for keymaps (to get rid of the | ||
| 40 | fix_submap_inheritance hack and to more cleanly express the | ||
| 41 | relationship between minibuffer-local-*-map): I've had this locally | ||
| 42 | for a long time, but the details of the semantics is somewhat ... delicate. | ||
| 43 | *** prog-mode (a parent-mode, like text-mode). Could/should provide | ||
| 44 | a better fill-paragraph default that uses syntax-tables to recognize | ||
| 45 | string/comment boundaries. | ||
| 46 | *** provide more completion-at-point-functions. Make existing | ||
| 47 | in-buffer completion use completion-at-point. | ||
| 48 | *** "functional" function-key-map that would make it easy to add (and | ||
| 49 | remove) mappings like "FOO-mouse-4 -> FOO-scroll-down", | ||
| 50 | "FOO-tab -> ?\FOO-\t", "uppercase -> lowercase", "[fringe KEY...] -> | ||
| 51 | [KEY]", "H-FOO -> M-FOO", "C-x C-y FOO -> H-FOO", ... | ||
| 52 | |||
| 53 | |||
| 54 | * Simple tasks. These don't require much Emacs knowledge, they are | ||
| 16 | suitable for anyone from beginners to experts. | 55 | suitable for anyone from beginners to experts. |
| 17 | 56 | ||
| 18 | ** Convert modes that use view-mode to be derived from special-mode instead. | 57 | ** Convert modes that use view-mode to be derived from special-mode instead. |
diff --git a/etc/images/custom/down.xpm b/etc/images/custom/down.xpm index 4ddb255bc44..9977d499187 100644 --- a/etc/images/custom/down.xpm +++ b/etc/images/custom/down.xpm | |||
| @@ -1,19 +1,16 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * down_xpm[] = { | 2 | static char * down_xpm[] = { |
| 3 | "8 12 4 1", | 3 | "9 9 4 1", |
| 4 | " c none", | 4 | " c none", |
| 5 | ". c gray90", | 5 | ". c black", |
| 6 | "X c gray45", | 6 | "x c gray45", |
| 7 | "O c gray75", | 7 | "+ c white", |
| 8 | "........", | 8 | ".........", |
| 9 | ".OOOOOOX", | 9 | ".x+++++x.", |
| 10 | " .OOOOX ", | 10 | " .+++++. ", |
| 11 | " .OOOOX ", | 11 | " .x+++x. ", |
| 12 | " .OOX ", | 12 | " .+++. ", |
| 13 | " .OOX ", | 13 | " .x+x. ", |
| 14 | " OX ", | 14 | " .+. ", |
| 15 | " OX ", | 15 | " .x. ", |
| 16 | " ", | 16 | " . "}; |
| 17 | " ", | ||
| 18 | " ", | ||
| 19 | " "}; | ||
diff --git a/etc/images/custom/right.xpm b/etc/images/custom/right.xpm index c75f7e74058..a105af025e9 100644 --- a/etc/images/custom/right.xpm +++ b/etc/images/custom/right.xpm | |||
| @@ -1,19 +1,16 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * right_xpm[] = { | 2 | static char * right_xpm[] = { |
| 3 | "8 12 4 1", | 3 | "9 9 4 1", |
| 4 | " c none", | 4 | " c none", |
| 5 | ". c gray90", | 5 | ". c black", |
| 6 | "X c gray45", | 6 | "x c gray45", |
| 7 | "O c gray75", | 7 | "+ c white", |
| 8 | ".. ", | 8 | ".. ", |
| 9 | "..O. ", | 9 | ".x.. ", |
| 10 | "..OOO. ", | 10 | ".++x.. ", |
| 11 | "..OOOOOX", | 11 | ".++++x.. ", |
| 12 | "..OOOOXX", | 12 | ".++++++x.", |
| 13 | "..OOXX ", | 13 | ".++++x.. ", |
| 14 | "..XX ", | 14 | ".++x.. ", |
| 15 | "OO ", | 15 | ".x.. ", |
| 16 | " ", | 16 | ".. "}; |
| 17 | " ", | ||
| 18 | " ", | ||
| 19 | " " }; | ||
diff --git a/leim/ChangeLog b/leim/ChangeLog index 176db63c42d..a7de27cc2c6 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-02-16 Kenichi Handa <handa@m17n.org> | 5 | 2010-02-16 Kenichi Handa <handa@m17n.org> |
| 2 | 6 | ||
| 3 | * SKK-DIC/SKK-JISYO.L: Updated to the latest version. | 7 | * SKK-DIC/SKK-JISYO.L: Updated to the latest version. |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index fd7097c0956..0a05a066648 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-02-20 Kevin Ryde <user42@zip.com.au> | 5 | 2010-02-20 Kevin Ryde <user42@zip.com.au> |
| 2 | 6 | ||
| 3 | * etags.c (Scheme_functions): Don't loop past a null character | 7 | * etags.c (Scheme_functions): Don't loop past a null character |
| @@ -21,7 +25,7 @@ | |||
| 21 | 25 | ||
| 22 | 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change) | 26 | 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change) |
| 23 | 27 | ||
| 24 | * etags.c (absolute_filename): Use memove if we have it for | 28 | * etags.c (absolute_filename): Use memmove if we have it for |
| 25 | overlapping copy. | 29 | overlapping copy. |
| 26 | 30 | ||
| 27 | 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu> | 31 | 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu> |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 368e1acb447..14130d2e525 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -22,7 +22,7 @@ ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacs | |||
| 22 | 22 | ||
| 23 | .PHONY: $(ALL) | 23 | .PHONY: $(ALL) |
| 24 | 24 | ||
| 25 | VERSION = 23.1.93 | 25 | VERSION = 24.0.50 |
| 26 | 26 | ||
| 27 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ | 27 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ |
| 28 | -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \ | 28 | -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \ |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 512e83999ab..5dc59f3cf1c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,172 @@ | |||
| 1 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * facemenu.el (list-colors-display, list-colors-print): New arg | ||
| 4 | callback. Use it to allow selecting colors. | ||
| 5 | |||
| 6 | * wid-edit.el (widget-image-insert): Insert image prop even if the | ||
| 7 | current display is non-graphic. | ||
| 8 | (widget-field-value-set): New fun. | ||
| 9 | (editable-field): Use it. | ||
| 10 | (widget-field-value-get): Clean up unused var. | ||
| 11 | (widget-color-value-create, widget-color--choose-action): New | ||
| 12 | funs. Allow using list-colors-display to choose color. | ||
| 13 | |||
| 14 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 15 | |||
| 16 | * cus-edit.el: Resort topmost custom groups. | ||
| 17 | (custom-buffer-sort-alphabetically): Default to t. | ||
| 18 | (customize-apropos): Use apropos-parse-pattern. | ||
| 19 | (custom-search-field): New var. | ||
| 20 | (custom-buffer-create-internal): Add custom-apropos search field. | ||
| 21 | (custom-add-parent-links): Don't display parent doc. | ||
| 22 | (custom-group-value-create): Don't sort top-level custom group. | ||
| 23 | (custom-magic-value-create): Show visibility button before option | ||
| 24 | name. | ||
| 25 | |||
| 26 | (custom-variable-state): New fun, from custom-variable-state-set. | ||
| 27 | (custom-variable-state-set): Use it. | ||
| 28 | (custom-group-value-create): Hide options with standard values | ||
| 29 | using the :hidden-states property. Use progress reporter. | ||
| 30 | |||
| 31 | (custom-show): Simplify. | ||
| 32 | (custom-visibility): Disable images by default. | ||
| 33 | (custom-variable): New property :hidden-states. | ||
| 34 | (custom-variable-value-create): Enable images for | ||
| 35 | custom-visibility widgets. Use :hidden-states property to | ||
| 36 | determine initial visibility. | ||
| 37 | |||
| 38 | * wid-edit.el (widget-image-find): Give images center ascent. | ||
| 39 | (visibility): Add :on-image and :off-image properties. | ||
| 40 | (widget-visibility-value-create): Use them. | ||
| 41 | |||
| 42 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 43 | |||
| 44 | * cus-edit.el (processes): Remove from development group. | ||
| 45 | (oop, hypermedia): Delete group. | ||
| 46 | (comm): Promote to top-level group. | ||
| 47 | |||
| 48 | * net/browse-url.el (browse-url): | ||
| 49 | * net/xesam.el (xesam): | ||
| 50 | * net/tramp.el (tramp): | ||
| 51 | * net/goto-addr.el (goto-address): | ||
| 52 | * net/ange-ftp.el (ange-ftp): Put in comm group. | ||
| 53 | |||
| 54 | * view.el (view): Remove from editing group. | ||
| 55 | |||
| 56 | * uniquify.el (uniquify): Put in files group. | ||
| 57 | |||
| 58 | * net/browse-url.el (browse-url): | ||
| 59 | * ps-print.el (postscript): Put in external group. | ||
| 60 | |||
| 61 | * cus-edit.el (outlines): | ||
| 62 | * textmodes/text-mode.el (text-mode-hook): | ||
| 63 | * textmodes/table.el (table): | ||
| 64 | * textmodes/picture.el (picture): | ||
| 65 | * outline.el (outlines): Put in wp group. | ||
| 66 | |||
| 67 | * nxml/nxml-mode.el (nxml): Remove from wp group. | ||
| 68 | |||
| 69 | * net/tramp-imap.el (tramp-imap): Put in tramp group. | ||
| 70 | |||
| 71 | * mail/metamail.el (metamail): Remove from hypermedia group. | ||
| 72 | |||
| 73 | * cus-edit.el (abbrev): | ||
| 74 | * whitespace.el (whitespace): | ||
| 75 | * vcursor.el (vcursor): | ||
| 76 | * reveal.el (reveal): | ||
| 77 | * hl-line.el (hl-line): Put in convenience group. | ||
| 78 | |||
| 79 | * epg-config.el (epg): Put in data group. | ||
| 80 | |||
| 81 | * emulation/pc-select.el (pc-select): Put in emulations group. | ||
| 82 | |||
| 83 | * calculator.el (calculator): Put in applications group. | ||
| 84 | |||
| 85 | 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 86 | |||
| 87 | Add .dir-locals.el support for file-less buffers. | ||
| 88 | * files.el (hack-local-variables): Split out code to apply local | ||
| 89 | variable settings ... | ||
| 90 | (hack-local-variables-apply): ... here. New function. | ||
| 91 | (hack-dir-local-variables): Use the default directory for when the | ||
| 92 | buffer does not have an associated file. | ||
| 93 | (hack-dir-local-variables-non-file-buffer): New function. | ||
| 94 | * diff-mode.el (diff-mode): | ||
| 95 | * vc-annotate.el (vc-annotate-mode): | ||
| 96 | * vc-dir.el (vc-dir-mode): | ||
| 97 | * log-edit.el (log-edit-mode): | ||
| 98 | * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer. | ||
| 99 | |||
| 100 | 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 101 | |||
| 102 | Add support for shelving snapshots and for showing shelves. | ||
| 103 | * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point) | ||
| 104 | (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot): | ||
| 105 | New functions. | ||
| 106 | (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) | ||
| 107 | (vc-bzr-extra-menu-map): Map them. | ||
| 108 | |||
| 109 | 2010-03-11 Glenn Morris <rgm@gnu.org> | ||
| 110 | |||
| 111 | * cus-edit.el (customize-changed-options-previous-release): | ||
| 112 | Bump to 23.1. | ||
| 113 | |||
| 114 | * image.el (image-animate-max-time): Fix :version tag. | ||
| 115 | |||
| 116 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 117 | |||
| 118 | * Branch for 23.2. | ||
| 119 | |||
| 120 | 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 121 | |||
| 122 | * vc-git.el (vc-git-revision-table): Include remote branches. | ||
| 123 | |||
| 124 | 2010-03-10 Kim F. Storm <storm@cua.dk> | ||
| 125 | |||
| 126 | Animated image API. | ||
| 127 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html | ||
| 128 | |||
| 129 | * image.el (image-animate-max-time): New defcustom. | ||
| 130 | (image-animated-types): New defconst. | ||
| 131 | (create-animated-image, image-animate-timer) | ||
| 132 | (image-animate-start, image-animate-stop, image-animate-timeout) | ||
| 133 | (image-animated-p): New functions. | ||
| 134 | |||
| 135 | * image-mode.el (image-toggle-display-image): | ||
| 136 | Replace `create-image' with `create-animated-image'. | ||
| 137 | |||
| 138 | 2010-03-09 Miles Bader <Miles Bader <miles@gnu.org>> | ||
| 139 | |||
| 140 | * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog, | ||
| 141 | instead of "format:"; this ensures that the output is | ||
| 142 | newline-terminated. | ||
| 143 | |||
| 144 | 2010-03-08 Chong Yidong <cyd@stupidchicken.com> | ||
| 145 | |||
| 146 | * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure | ||
| 147 | that all errors are caught, and that the return value is always a | ||
| 148 | list (Bug#5692). | ||
| 149 | |||
| 150 | 2010-03-08 Kenichi Handa <handa@m17n.org> | ||
| 151 | |||
| 152 | * language/misc-lang.el (windows-1256): New coding system. | ||
| 153 | (cp1256): New alias of windows-1256 (bug#5690). | ||
| 154 | |||
| 155 | 2010-03-07 Andreas Schwab <schwab@linux-m68k.org> | ||
| 156 | |||
| 157 | * mail/rfc822.el (rfc822-addresses): Move catch clause down around | ||
| 158 | call to rfc822-bad-address. (Bug#5692) | ||
| 159 | |||
| 160 | 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change) | ||
| 161 | |||
| 162 | * vc-git.el (vc-git-annotate-extract-revision-at-line): Use | ||
| 163 | vc-git-root as default directory for revision path (Bug#5657). | ||
| 164 | |||
| 165 | 2010-03-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 166 | |||
| 167 | * calculator.el (calculator): Don't bind split-window-keep-point | ||
| 168 | (Bug#5674). | ||
| 169 | |||
| 1 | 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca> | 170 | 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 171 | ||
| 3 | * vc-git.el: Re-flow to fit into 80 columns. | 172 | * vc-git.el: Re-flow to fit into 80 columns. |
| @@ -61,7 +230,7 @@ | |||
| 61 | 2010-03-01 Alan Mackenzie <bug-cc-mode@gnu.org> | 230 | 2010-03-01 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 62 | 231 | ||
| 63 | * cc-engine.el (c-remove-stale-state-cache): Take account of when | 232 | * cc-engine.el (c-remove-stale-state-cache): Take account of when |
| 64 | `good-pos' is in the same macro as `here'. Fixes bug 5649. | 233 | `good-pos' is in the same macro as `here'. Fixes bug#5649. |
| 65 | 234 | ||
| 66 | 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org> | 235 | 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org> |
| 67 | 236 | ||
| @@ -170,8 +339,8 @@ | |||
| 170 | 339 | ||
| 171 | 2010-02-20 Kevin Ryde <user42@zip.com.au> | 340 | 2010-02-20 Kevin Ryde <user42@zip.com.au> |
| 172 | 341 | ||
| 173 | * progmodes/compile.el (compilation-error-regexp-alist-alist): In | 342 | * progmodes/compile.el (compilation-error-regexp-alist-alist): |
| 174 | `watcom' anchor regexp to start of line, to avoid slowness | 343 | In `watcom' anchor regexp to start of line, to avoid slowness |
| 175 | (Bug#5599). | 344 | (Bug#5599). |
| 176 | 345 | ||
| 177 | 2010-02-20 Eli Zaretskii <eliz@gnu.org> | 346 | 2010-02-20 Eli Zaretskii <eliz@gnu.org> |
| @@ -236,9 +405,9 @@ | |||
| 236 | 405 | ||
| 237 | 2010-02-17 Mark A. Hershberger <mah@everybody.org> | 406 | 2010-02-17 Mark A. Hershberger <mah@everybody.org> |
| 238 | 407 | ||
| 239 | * vc-bzr.el: fix typo in Known Bugs section. | 408 | * vc-bzr.el: Fix typo in Known Bugs section. |
| 240 | 409 | ||
| 241 | * isearch.el (isearch-update-post-hook): New hook | 410 | * isearch.el (isearch-update-post-hook): New hook. |
| 242 | (isearch-update): Use the new hook. | 411 | (isearch-update): Use the new hook. |
| 243 | 412 | ||
| 244 | 2010-02-16 Michael Albinus <michael.albinus@gmx.de> | 413 | 2010-02-16 Michael Albinus <michael.albinus@gmx.de> |
diff --git a/lisp/calculator.el b/lisp/calculator.el index 015fb4cd763..a20efdbc122 100644 --- a/lisp/calculator.el +++ b/lisp/calculator.el | |||
| @@ -54,7 +54,7 @@ | |||
| 54 | :prefix "calculator" | 54 | :prefix "calculator" |
| 55 | :version "21.1" | 55 | :version "21.1" |
| 56 | :group 'tools | 56 | :group 'tools |
| 57 | :group 'convenience) | 57 | :group 'applications) |
| 58 | 58 | ||
| 59 | (defcustom calculator-electric-mode nil | 59 | (defcustom calculator-electric-mode nil |
| 60 | "Run `calculator' electrically, in the echo area. | 60 | "Run `calculator' electrically, in the echo area. |
| @@ -724,8 +724,7 @@ See the documentation for `calculator-mode' for more information." | |||
| 724 | (progn | 724 | (progn |
| 725 | (cond | 725 | (cond |
| 726 | ((not (get-buffer-window calculator-buffer)) | 726 | ((not (get-buffer-window calculator-buffer)) |
| 727 | (let ((split-window-keep-point nil) | 727 | (let ((window-min-height 2)) |
| 728 | (window-min-height 2)) | ||
| 729 | ;; maybe leave two lines for our window because of the normal | 728 | ;; maybe leave two lines for our window because of the normal |
| 730 | ;; `raised' modeline in Emacs 21 | 729 | ;; `raised' modeline in Emacs 21 |
| 731 | (select-window | 730 | (select-window |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index b815e31f31c..399a6992f41 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -166,10 +166,27 @@ | |||
| 166 | "Basic text editing facilities." | 166 | "Basic text editing facilities." |
| 167 | :group 'emacs) | 167 | :group 'emacs) |
| 168 | 168 | ||
| 169 | (defgroup convenience nil | ||
| 170 | "Convenience features for faster editing." | ||
| 171 | :group 'emacs) | ||
| 172 | |||
| 173 | (defgroup files nil | ||
| 174 | "Support for editing files." | ||
| 175 | :group 'emacs) | ||
| 176 | |||
| 177 | (defgroup wp nil | ||
| 178 | "Support for editing text files." | ||
| 179 | :tag "Text" | ||
| 180 | :group 'emacs) | ||
| 181 | |||
| 182 | (defgroup data nil | ||
| 183 | "Support for editing binary data files." | ||
| 184 | :group 'emacs) | ||
| 185 | |||
| 169 | (defgroup abbrev nil | 186 | (defgroup abbrev nil |
| 170 | "Abbreviation handling, typing shortcuts, macros." | 187 | "Abbreviation handling, typing shortcuts, macros." |
| 171 | :tag "Abbreviations" | 188 | :tag "Abbreviations" |
| 172 | :group 'editing) | 189 | :group 'convenience) |
| 173 | 190 | ||
| 174 | (defgroup matching nil | 191 | (defgroup matching nil |
| 175 | "Various sorts of searching and matching." | 192 | "Various sorts of searching and matching." |
| @@ -186,20 +203,20 @@ | |||
| 186 | 203 | ||
| 187 | (defgroup outlines nil | 204 | (defgroup outlines nil |
| 188 | "Support for hierarchical outlining." | 205 | "Support for hierarchical outlining." |
| 189 | :group 'editing) | 206 | :group 'wp) |
| 190 | 207 | ||
| 191 | (defgroup external nil | 208 | (defgroup external nil |
| 192 | "Interfacing to external utilities." | 209 | "Interfacing to external utilities." |
| 193 | :group 'emacs) | 210 | :group 'emacs) |
| 194 | 211 | ||
| 212 | (defgroup comm nil | ||
| 213 | "Communications, networking, and remote access to files." | ||
| 214 | :tag "Communication" | ||
| 215 | :group 'emacs) | ||
| 216 | |||
| 195 | (defgroup processes nil | 217 | (defgroup processes nil |
| 196 | "Process, subshell, compilation, and job control support." | 218 | "Process, subshell, compilation, and job control support." |
| 197 | :group 'external | 219 | :group 'external) |
| 198 | :group 'development) | ||
| 199 | |||
| 200 | (defgroup convenience nil | ||
| 201 | "Convenience features for faster editing." | ||
| 202 | :group 'emacs) | ||
| 203 | 220 | ||
| 204 | (defgroup programming nil | 221 | (defgroup programming nil |
| 205 | "Support for programming in other languages." | 222 | "Support for programming in other languages." |
| @@ -225,10 +242,6 @@ | |||
| 225 | "Programming tools." | 242 | "Programming tools." |
| 226 | :group 'programming) | 243 | :group 'programming) |
| 227 | 244 | ||
| 228 | (defgroup oop nil | ||
| 229 | "Support for object-oriented programming." | ||
| 230 | :group 'programming) | ||
| 231 | |||
| 232 | (defgroup applications nil | 245 | (defgroup applications nil |
| 233 | "Applications written in Emacs." | 246 | "Applications written in Emacs." |
| 234 | :group 'emacs) | 247 | :group 'emacs) |
| @@ -275,11 +288,6 @@ | |||
| 275 | "Fitting Emacs with its environment." | 288 | "Fitting Emacs with its environment." |
| 276 | :group 'emacs) | 289 | :group 'emacs) |
| 277 | 290 | ||
| 278 | (defgroup comm nil | ||
| 279 | "Communications, networking, remote access to files." | ||
| 280 | :tag "Communication" | ||
| 281 | :group 'environment) | ||
| 282 | |||
| 283 | (defgroup hardware nil | 291 | (defgroup hardware nil |
| 284 | "Support for interfacing with miscellaneous hardware." | 292 | "Support for interfacing with miscellaneous hardware." |
| 285 | :group 'environment) | 293 | :group 'environment) |
| @@ -306,18 +314,6 @@ | |||
| 306 | "Support for Emacs frames and window systems." | 314 | "Support for Emacs frames and window systems." |
| 307 | :group 'environment) | 315 | :group 'environment) |
| 308 | 316 | ||
| 309 | (defgroup data nil | ||
| 310 | "Support for editing files of data." | ||
| 311 | :group 'emacs) | ||
| 312 | |||
| 313 | (defgroup files nil | ||
| 314 | "Support for editing files." | ||
| 315 | :group 'emacs) | ||
| 316 | |||
| 317 | (defgroup wp nil | ||
| 318 | "Word processing." | ||
| 319 | :group 'emacs) | ||
| 320 | |||
| 321 | (defgroup tex nil | 317 | (defgroup tex nil |
| 322 | "Code related to the TeX formatter." | 318 | "Code related to the TeX formatter." |
| 323 | :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) | 319 | :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) |
| @@ -327,10 +323,6 @@ | |||
| 327 | "Support for multiple fonts." | 323 | "Support for multiple fonts." |
| 328 | :group 'emacs) | 324 | :group 'emacs) |
| 329 | 325 | ||
| 330 | (defgroup hypermedia nil | ||
| 331 | "Support for links between text or other media types." | ||
| 332 | :group 'emacs) | ||
| 333 | |||
| 334 | (defgroup help nil | 326 | (defgroup help nil |
| 335 | "Support for on-line help systems." | 327 | "Support for on-line help systems." |
| 336 | :group 'emacs) | 328 | :group 'emacs) |
| @@ -680,8 +672,8 @@ If `last', order groups after non-groups." | |||
| 680 | :group 'custom-browse) | 672 | :group 'custom-browse) |
| 681 | 673 | ||
| 682 | ;;;###autoload | 674 | ;;;###autoload |
| 683 | (defcustom custom-buffer-sort-alphabetically nil | 675 | (defcustom custom-buffer-sort-alphabetically t |
| 684 | "If non-nil, sort each customization group alphabetically in Custom buffer." | 676 | "Whether to sort customization groups alphabetically in Custom buffer." |
| 685 | :type 'boolean | 677 | :type 'boolean |
| 686 | :group 'custom-buffer) | 678 | :group 'custom-buffer) |
| 687 | 679 | ||
| @@ -1136,7 +1128,7 @@ Show the buffer in another window, but don't select it." | |||
| 1136 | (unless (eq symbol basevar) | 1128 | (unless (eq symbol basevar) |
| 1137 | (message "`%s' is an alias for `%s'" symbol basevar)))) | 1129 | (message "`%s' is an alias for `%s'" symbol basevar)))) |
| 1138 | 1130 | ||
| 1139 | (defvar customize-changed-options-previous-release "22.1" | 1131 | (defvar customize-changed-options-previous-release "23.1" |
| 1140 | "Version for `customize-changed-options' to refer back to by default.") | 1132 | "Version for `customize-changed-options' to refer back to by default.") |
| 1141 | 1133 | ||
| 1142 | ;; Packages will update this variable, so make it available. | 1134 | ;; Packages will update this variable, so make it available. |
| @@ -1382,42 +1374,52 @@ suggest to customize that face, if it's customizable." | |||
| 1382 | (custom-buffer-create (custom-sort-items found t nil) | 1374 | (custom-buffer-create (custom-sort-items found t nil) |
| 1383 | "*Customize Saved*")))) | 1375 | "*Customize Saved*")))) |
| 1384 | 1376 | ||
| 1377 | (declare-function apropos-parse-pattern "apropos" (pattern)) | ||
| 1378 | |||
| 1385 | ;;;###autoload | 1379 | ;;;###autoload |
| 1386 | (defun customize-apropos (regexp &optional all) | 1380 | (defun customize-apropos (pattern &optional type) |
| 1387 | "Customize all loaded options, faces and groups matching REGEXP. | 1381 | "Customize all loaded options, faces and groups matching PATTERN. |
| 1388 | If ALL is `options', include only options. | 1382 | PATTERN can be a word, a list of words (separated by spaces), |
| 1389 | If ALL is `faces', include only faces. | 1383 | or a regexp (using some regexp special characters). If it is a word, |
| 1390 | If ALL is `groups', include only groups. | 1384 | search for matches for that word as a substring. If it is a list of words, |
| 1391 | If ALL is t (interactively, with prefix arg), include variables | 1385 | search for matches for any two (or more) of those words. |
| 1386 | |||
| 1387 | If TYPE is `options', include only options. | ||
| 1388 | If TYPE is `faces', include only faces. | ||
| 1389 | If TYPE is `groups', include only groups. | ||
| 1390 | If TYPE is t (interactively, with prefix arg), include variables | ||
| 1392 | that are not customizable options, as well as faces and groups | 1391 | that are not customizable options, as well as faces and groups |
| 1393 | \(but we recommend using `apropos-variable' instead)." | 1392 | \(but we recommend using `apropos-variable' instead)." |
| 1394 | (interactive "sCustomize (regexp): \nP") | 1393 | (interactive (list (apropos-read-pattern "symbol") current-prefix-arg)) |
| 1395 | (let ((found nil)) | 1394 | (require 'apropos) |
| 1396 | (mapatoms (lambda (symbol) | 1395 | (apropos-parse-pattern pattern) |
| 1397 | (when (string-match regexp (symbol-name symbol)) | 1396 | (let (found tests) |
| 1398 | (when (and (not (memq all '(faces options))) | 1397 | (mapatoms |
| 1399 | (get symbol 'custom-group)) | 1398 | `(lambda (symbol) |
| 1400 | (push (list symbol 'custom-group) found)) | 1399 | (when (string-match apropos-regexp (symbol-name symbol)) |
| 1401 | (when (and (not (memq all '(options groups))) | 1400 | ,(if (not (memq type '(faces options))) |
| 1402 | (custom-facep symbol)) | 1401 | '(if (get symbol 'custom-group) |
| 1403 | (push (list symbol 'custom-face) found)) | 1402 | (push (list symbol 'custom-group) found))) |
| 1404 | (when (and (not (memq all '(groups faces))) | 1403 | ,(if (not (memq type '(options groups))) |
| 1405 | (boundp symbol) | 1404 | '(if (custom-facep symbol) |
| 1406 | (eq (indirect-variable symbol) symbol) | 1405 | (push (list symbol 'custom-face) found))) |
| 1407 | (or (get symbol 'saved-value) | 1406 | ,(if (not (memq type '(groups faces))) |
| 1408 | (custom-variable-p symbol) | 1407 | `(if (and (boundp symbol) |
| 1409 | (and (not (memq all '(nil options))) | 1408 | (eq (indirect-variable symbol) symbol) |
| 1410 | (get symbol 'variable-documentation)))) | 1409 | (or (get symbol 'saved-value) |
| 1411 | (push (list symbol 'custom-variable) found))))) | 1410 | (custom-variable-p symbol) |
| 1411 | ,(if (not (memq type '(nil options))) | ||
| 1412 | '(get symbol 'variable-documentation)))) | ||
| 1413 | (push (list symbol 'custom-variable) found)))))) | ||
| 1412 | (if (not found) | 1414 | (if (not found) |
| 1413 | (error "No %s matching %s" | 1415 | (error "No %s matching %s" |
| 1414 | (if (eq all t) | 1416 | (if (eq type t) |
| 1415 | "items" | 1417 | "items" |
| 1416 | (format "customizable %s" | 1418 | (format "customizable %s" |
| 1417 | (if (memq all '(options faces groups)) | 1419 | (if (memq type '(options faces groups)) |
| 1418 | (symbol-name all) | 1420 | (symbol-name type) |
| 1419 | "items"))) | 1421 | "items"))) |
| 1420 | regexp) | 1422 | pattern) |
| 1421 | (custom-buffer-create | 1423 | (custom-buffer-create |
| 1422 | (custom-sort-items found t custom-buffer-order-groups) | 1424 | (custom-sort-items found t custom-buffer-order-groups) |
| 1423 | "*Customize Apropos*")))) | 1425 | "*Customize Apropos*")))) |
| @@ -1540,6 +1542,12 @@ This button will have a menu with all three reset operations." | |||
| 1540 | (defvar custom-button-pressed nil | 1542 | (defvar custom-button-pressed nil |
| 1541 | "Face used for pressed buttons in customization buffers.") | 1543 | "Face used for pressed buttons in customization buffers.") |
| 1542 | 1544 | ||
| 1545 | (defcustom custom-search-field t | ||
| 1546 | "If non-nil, show a search field in Custom buffers." | ||
| 1547 | :type 'boolean | ||
| 1548 | :version "24.1" | ||
| 1549 | :group 'custom-buffer) | ||
| 1550 | |||
| 1543 | (defcustom custom-raised-buttons (not (equal (face-valid-attribute-values :box) | 1551 | (defcustom custom-raised-buttons (not (equal (face-valid-attribute-values :box) |
| 1544 | '(("unspecified" . unspecified)))) | 1552 | '(("unspecified" . unspecified)))) |
| 1545 | "If non-nil, indicate active buttons in a `raised-button' style. | 1553 | "If non-nil, indicate active buttons in a `raised-button' style. |
| @@ -1563,14 +1571,9 @@ Otherwise use brackets." | |||
| 1563 | (let ((init-file (or custom-file user-init-file))) | 1571 | (let ((init-file (or custom-file user-init-file))) |
| 1564 | ;; Insert verbose help at the top of the custom buffer. | 1572 | ;; Insert verbose help at the top of the custom buffer. |
| 1565 | (when custom-buffer-verbose-help | 1573 | (when custom-buffer-verbose-help |
| 1566 | (widget-insert "Editing a setting changes only the text in this buffer." | 1574 | (widget-insert (if init-file |
| 1567 | (if init-file | 1575 | "To apply changes, use the Save or Set buttons." |
| 1568 | " | 1576 | "Custom settings cannot be saved; maybe you started Emacs with `-q'.") |
| 1569 | To apply your changes, use the Save or Set buttons. | ||
| 1570 | Saving a change normally works by editing your init file." | ||
| 1571 | " | ||
| 1572 | Currently, these settings cannot be saved for future Emacs sessions, | ||
| 1573 | possibly because you started Emacs with `-q'.") | ||
| 1574 | "\nFor details, see ") | 1577 | "\nFor details, see ") |
| 1575 | (widget-create 'custom-manual | 1578 | (widget-create 'custom-manual |
| 1576 | :tag "Saving Customizations" | 1579 | :tag "Saving Customizations" |
| @@ -1582,6 +1585,26 @@ possibly because you started Emacs with `-q'.") | |||
| 1582 | "(emacs)Top") | 1585 | "(emacs)Top") |
| 1583 | (widget-insert ".")) | 1586 | (widget-insert ".")) |
| 1584 | (widget-insert "\n") | 1587 | (widget-insert "\n") |
| 1588 | |||
| 1589 | ;; Insert the search field. | ||
| 1590 | (when custom-search-field | ||
| 1591 | (widget-insert "\n") | ||
| 1592 | (let* ((echo "Search for custom items") | ||
| 1593 | (search-widget | ||
| 1594 | (widget-create | ||
| 1595 | 'editable-field | ||
| 1596 | :size 40 :help-echo echo | ||
| 1597 | :action `(lambda (widget &optional event) | ||
| 1598 | (customize-apropos (widget-value widget)))))) | ||
| 1599 | (widget-insert " ") | ||
| 1600 | (widget-create-child-and-convert | ||
| 1601 | search-widget 'push-button | ||
| 1602 | :tag "Search" | ||
| 1603 | :help-echo echo :action | ||
| 1604 | (lambda (widget &optional event) | ||
| 1605 | (customize-apropos (widget-value (widget-get widget :parent))))) | ||
| 1606 | (widget-insert "\n"))) | ||
| 1607 | |||
| 1585 | ;; The custom command buttons are also in the toolbar, so for a | 1608 | ;; The custom command buttons are also in the toolbar, so for a |
| 1586 | ;; time they were not inserted in the buffer if the toolbar was in use. | 1609 | ;; time they were not inserted in the buffer if the toolbar was in use. |
| 1587 | ;; But it can be a little confusing for the buffer layout to | 1610 | ;; But it can be a little confusing for the buffer layout to |
| @@ -1589,10 +1612,9 @@ possibly because you started Emacs with `-q'.") | |||
| 1589 | ;; mention that a custom buffer can in theory be created in a | 1612 | ;; mention that a custom buffer can in theory be created in a |
| 1590 | ;; frame with a toolbar, then later viewed in one without. | 1613 | ;; frame with a toolbar, then later viewed in one without. |
| 1591 | ;; So now the buttons are always inserted in the buffer. (Bug#1326) | 1614 | ;; So now the buttons are always inserted in the buffer. (Bug#1326) |
| 1592 | ;;; (when (not (and (bound-and-true-p tool-bar-mode) (display-graphic-p))) | ||
| 1593 | (if custom-buffer-verbose-help | 1615 | (if custom-buffer-verbose-help |
| 1594 | (widget-insert "\n | 1616 | (widget-insert " |
| 1595 | Operate on all settings in this buffer that are not marked HIDDEN:\n")) | 1617 | Operate on all settings in this buffer:\n")) |
| 1596 | (let ((button (lambda (tag action active help icon) | 1618 | (let ((button (lambda (tag action active help icon) |
| 1597 | (widget-insert " ") | 1619 | (widget-insert " ") |
| 1598 | (if (eval active) | 1620 | (if (eval active) |
| @@ -1988,63 +2010,64 @@ and `face'." | |||
| 1988 | (nth 3 entry))) | 2010 | (nth 3 entry))) |
| 1989 | (form (widget-get parent :custom-form)) | 2011 | (form (widget-get parent :custom-form)) |
| 1990 | children) | 2012 | children) |
| 1991 | (while (string-match "\\`\\(.*\\)%c\\(.*\\)\\'" text) | 2013 | (unless (eq state 'hidden) |
| 1992 | (setq text (concat (match-string 1 text) | 2014 | (while (string-match "\\`\\(.*\\)%c\\(.*\\)\\'" text) |
| 1993 | (symbol-name category) | 2015 | (setq text (concat (match-string 1 text) |
| 1994 | (match-string 2 text)))) | 2016 | (symbol-name category) |
| 1995 | (when (and custom-magic-show | 2017 | (match-string 2 text)))) |
| 1996 | (or (not hidden) | 2018 | (when (and custom-magic-show |
| 1997 | (memq category custom-magic-show-hidden))) | 2019 | (or (not hidden) |
| 1998 | (insert " ") | 2020 | (memq category custom-magic-show-hidden))) |
| 2021 | (insert " ") | ||
| 2022 | (when (and (eq category 'group) | ||
| 2023 | (not (and (eq custom-buffer-style 'links) | ||
| 2024 | (> (widget-get parent :custom-level) 1)))) | ||
| 2025 | (insert-char ?\ (* custom-buffer-indent | ||
| 2026 | (widget-get parent :custom-level)))) | ||
| 2027 | (push (widget-create-child-and-convert | ||
| 2028 | widget 'choice-item | ||
| 2029 | :help-echo "Change the state of this item." | ||
| 2030 | :format (if hidden "%t" "%[%t%]") | ||
| 2031 | :button-prefix 'widget-push-button-prefix | ||
| 2032 | :button-suffix 'widget-push-button-suffix | ||
| 2033 | :mouse-down-action 'widget-magic-mouse-down-action | ||
| 2034 | :tag "State") | ||
| 2035 | children) | ||
| 2036 | (insert ": ") | ||
| 2037 | (let ((start (point))) | ||
| 2038 | (if (eq custom-magic-show 'long) | ||
| 2039 | (insert text) | ||
| 2040 | (insert (symbol-name state))) | ||
| 2041 | (cond ((eq form 'lisp) | ||
| 2042 | (insert " (lisp)")) | ||
| 2043 | ((eq form 'mismatch) | ||
| 2044 | (insert " (mismatch)"))) | ||
| 2045 | (put-text-property start (point) 'face 'custom-state)) | ||
| 2046 | (insert "\n")) | ||
| 1999 | (when (and (eq category 'group) | 2047 | (when (and (eq category 'group) |
| 2000 | (not (and (eq custom-buffer-style 'links) | 2048 | (not (and (eq custom-buffer-style 'links) |
| 2001 | (> (widget-get parent :custom-level) 1)))) | 2049 | (> (widget-get parent :custom-level) 1)))) |
| 2002 | (insert-char ?\ (* custom-buffer-indent | 2050 | (insert-char ?\ (* custom-buffer-indent |
| 2003 | (widget-get parent :custom-level)))) | 2051 | (widget-get parent :custom-level)))) |
| 2004 | (push (widget-create-child-and-convert | 2052 | (when custom-magic-show-button |
| 2005 | widget 'choice-item | 2053 | (when custom-magic-show |
| 2006 | :help-echo "Change the state of this item." | 2054 | (let ((indent (widget-get parent :indent))) |
| 2007 | :format (if hidden "%t" "%[%t%]") | 2055 | (when indent |
| 2008 | :button-prefix 'widget-push-button-prefix | 2056 | (insert-char ? indent)))) |
| 2009 | :button-suffix 'widget-push-button-suffix | 2057 | (push (widget-create-child-and-convert |
| 2010 | :mouse-down-action 'widget-magic-mouse-down-action | 2058 | widget 'choice-item |
| 2011 | :tag "State") | 2059 | :mouse-down-action 'widget-magic-mouse-down-action |
| 2012 | children) | 2060 | :button-face face |
| 2013 | (insert ": ") | 2061 | :button-prefix "" |
| 2014 | (let ((start (point))) | 2062 | :button-suffix "" |
| 2015 | (if (eq custom-magic-show 'long) | 2063 | :help-echo "Change the state." |
| 2016 | (insert text) | 2064 | :format (if hidden "%t" "%[%t%]") |
| 2017 | (insert (symbol-name state))) | 2065 | :tag (if (memq form '(lisp mismatch)) |
| 2018 | (cond ((eq form 'lisp) | 2066 | (concat "(" magic ")") |
| 2019 | (insert " (lisp)")) | 2067 | (concat "[" magic "]"))) |
| 2020 | ((eq form 'mismatch) | 2068 | children) |
| 2021 | (insert " (mismatch)"))) | 2069 | (insert " ")) |
| 2022 | (put-text-property start (point) 'face 'custom-state)) | 2070 | (widget-put widget :children children)))) |
| 2023 | (insert "\n")) | ||
| 2024 | (when (and (eq category 'group) | ||
| 2025 | (not (and (eq custom-buffer-style 'links) | ||
| 2026 | (> (widget-get parent :custom-level) 1)))) | ||
| 2027 | (insert-char ?\ (* custom-buffer-indent | ||
| 2028 | (widget-get parent :custom-level)))) | ||
| 2029 | (when custom-magic-show-button | ||
| 2030 | (when custom-magic-show | ||
| 2031 | (let ((indent (widget-get parent :indent))) | ||
| 2032 | (when indent | ||
| 2033 | (insert-char ? indent)))) | ||
| 2034 | (push (widget-create-child-and-convert | ||
| 2035 | widget 'choice-item | ||
| 2036 | :mouse-down-action 'widget-magic-mouse-down-action | ||
| 2037 | :button-face face | ||
| 2038 | :button-prefix "" | ||
| 2039 | :button-suffix "" | ||
| 2040 | :help-echo "Change the state." | ||
| 2041 | :format (if hidden "%t" "%[%t%]") | ||
| 2042 | :tag (if (memq form '(lisp mismatch)) | ||
| 2043 | (concat "(" magic ")") | ||
| 2044 | (concat "[" magic "]"))) | ||
| 2045 | children) | ||
| 2046 | (insert " ")) | ||
| 2047 | (widget-put widget :children children))) | ||
| 2048 | 2071 | ||
| 2049 | (defun custom-magic-reset (widget) | 2072 | (defun custom-magic-reset (widget) |
| 2050 | "Redraw the :custom-magic property of WIDGET." | 2073 | "Redraw the :custom-magic property of WIDGET." |
| @@ -2206,12 +2229,9 @@ and `face'." | |||
| 2206 | (defun custom-show (widget value) | 2229 | (defun custom-show (widget value) |
| 2207 | "Non-nil if WIDGET should be shown with VALUE by default." | 2230 | "Non-nil if WIDGET should be shown with VALUE by default." |
| 2208 | (let ((show (widget-get widget :custom-show))) | 2231 | (let ((show (widget-get widget :custom-show))) |
| 2209 | (cond ((null show) | 2232 | (if (functionp show) |
| 2210 | nil) | 2233 | (funcall show widget value) |
| 2211 | ((eq t show) | 2234 | show))) |
| 2212 | t) | ||
| 2213 | (t | ||
| 2214 | (funcall show widget value))))) | ||
| 2215 | 2235 | ||
| 2216 | (defun custom-load-widget (widget) | 2236 | (defun custom-load-widget (widget) |
| 2217 | "Load all dependencies for WIDGET." | 2237 | "Load all dependencies for WIDGET." |
| @@ -2289,8 +2309,7 @@ Insert PREFIX first if non-nil." | |||
| 2289 | (insert ", ")))) | 2309 | (insert ", ")))) |
| 2290 | (widget-put widget :buttons buttons)))) | 2310 | (widget-put widget :buttons buttons)))) |
| 2291 | 2311 | ||
| 2292 | (defun custom-add-parent-links (widget &optional initial-string | 2312 | (defun custom-add-parent-links (widget &optional initial-string doc-initial-string) |
| 2293 | doc-initial-string) | ||
| 2294 | "Add \"Parent groups: ...\" to WIDGET if the group has parents. | 2313 | "Add \"Parent groups: ...\" to WIDGET if the group has parents. |
| 2295 | The value is non-nil if any parents were found. | 2314 | The value is non-nil if any parents were found. |
| 2296 | If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | 2315 | If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." |
| @@ -2309,36 +2328,6 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | |||
| 2309 | symbol) | 2328 | symbol) |
| 2310 | buttons) | 2329 | buttons) |
| 2311 | (setq parents (cons symbol parents))))) | 2330 | (setq parents (cons symbol parents))))) |
| 2312 | (and (null (get name 'custom-links)) ;No links of its own. | ||
| 2313 | (= (length parents) 1) ;A single parent. | ||
| 2314 | (let* ((links (delq nil (mapcar (lambda (w) | ||
| 2315 | (unless (eq (widget-type w) | ||
| 2316 | 'custom-group-link) | ||
| 2317 | w)) | ||
| 2318 | (get (car parents) 'custom-links)))) | ||
| 2319 | (many (> (length links) 2))) | ||
| 2320 | (when links | ||
| 2321 | (let ((pt (point)) | ||
| 2322 | (left-margin (+ left-margin 2))) | ||
| 2323 | (insert "\n" (or doc-initial-string "Group documentation:") " ") | ||
| 2324 | (while links | ||
| 2325 | (push (widget-create-child-and-convert | ||
| 2326 | widget (car links) | ||
| 2327 | :button-face 'custom-link | ||
| 2328 | :mouse-face 'highlight | ||
| 2329 | :pressed-face 'highlight) | ||
| 2330 | buttons) | ||
| 2331 | (setq links (cdr links)) | ||
| 2332 | (cond ((null links) | ||
| 2333 | (insert ".\n")) | ||
| 2334 | ((null (cdr links)) | ||
| 2335 | (if many | ||
| 2336 | (insert ", and ") | ||
| 2337 | (insert " and "))) | ||
| 2338 | (t | ||
| 2339 | (insert ", ")))) | ||
| 2340 | (fill-region-as-paragraph pt (point)) | ||
| 2341 | (delete-to-left-margin (1+ pt) (+ pt 2)))))) | ||
| 2342 | (if parents | 2331 | (if parents |
| 2343 | (insert "\n") | 2332 | (insert "\n") |
| 2344 | (delete-region start (point))) | 2333 | (delete-region start (point))) |
| @@ -2413,8 +2402,6 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | |||
| 2413 | 2402 | ||
| 2414 | ;;; The `custom-variable' Widget. | 2403 | ;;; The `custom-variable' Widget. |
| 2415 | 2404 | ||
| 2416 | ;; When this was underlined blue, users confused it with a | ||
| 2417 | ;; Mosaic-style hyperlink... | ||
| 2418 | (defface custom-variable-tag | 2405 | (defface custom-variable-tag |
| 2419 | `((((class color) | 2406 | `((((class color) |
| 2420 | (background dark)) | 2407 | (background dark)) |
| @@ -2459,7 +2446,11 @@ However, setting it through Custom sets the default value.") | |||
| 2459 | (documentation-property variable 'variable-documentation))) | 2446 | (documentation-property variable 'variable-documentation))) |
| 2460 | 2447 | ||
| 2461 | (define-widget 'custom-variable 'custom | 2448 | (define-widget 'custom-variable 'custom |
| 2462 | "Customize variable." | 2449 | "A widget for displaying a Custom variable. |
| 2450 | |||
| 2451 | The following property has a special meaning for this widget: | ||
| 2452 | :hidden-states - A list of widget states for which the widget's initial | ||
| 2453 | contents should be hidden." | ||
| 2463 | :format "%v" | 2454 | :format "%v" |
| 2464 | :help-echo "Set or reset this variable." | 2455 | :help-echo "Set or reset this variable." |
| 2465 | :documentation-property #'custom-variable-documentation | 2456 | :documentation-property #'custom-variable-documentation |
| @@ -2469,6 +2460,7 @@ However, setting it through Custom sets the default value.") | |||
| 2469 | :custom-form nil ; defaults to value of `custom-variable-default-form' | 2460 | :custom-form nil ; defaults to value of `custom-variable-default-form' |
| 2470 | :value-create 'custom-variable-value-create | 2461 | :value-create 'custom-variable-value-create |
| 2471 | :action 'custom-variable-action | 2462 | :action 'custom-variable-action |
| 2463 | :hidden-states '(standard) | ||
| 2472 | :custom-set 'custom-variable-set | 2464 | :custom-set 'custom-variable-set |
| 2473 | :custom-mark-to-save 'custom-variable-mark-to-save | 2465 | :custom-mark-to-save 'custom-variable-mark-to-save |
| 2474 | :custom-reset-current 'custom-redraw | 2466 | :custom-reset-current 'custom-redraw |
| @@ -2503,7 +2495,6 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2503 | (let* ((buttons (widget-get widget :buttons)) | 2495 | (let* ((buttons (widget-get widget :buttons)) |
| 2504 | (children (widget-get widget :children)) | 2496 | (children (widget-get widget :children)) |
| 2505 | (form (widget-get widget :custom-form)) | 2497 | (form (widget-get widget :custom-form)) |
| 2506 | (state (widget-get widget :custom-state)) | ||
| 2507 | (symbol (widget-get widget :value)) | 2498 | (symbol (widget-get widget :value)) |
| 2508 | (tag (widget-get widget :tag)) | 2499 | (tag (widget-get widget :tag)) |
| 2509 | (type (custom-variable-type symbol)) | 2500 | (type (custom-variable-type symbol)) |
| @@ -2513,17 +2504,17 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2513 | (last (widget-get widget :custom-last)) | 2504 | (last (widget-get widget :custom-last)) |
| 2514 | (value (if (default-boundp symbol) | 2505 | (value (if (default-boundp symbol) |
| 2515 | (funcall get symbol) | 2506 | (funcall get symbol) |
| 2516 | (widget-get conv :value)))) | 2507 | (widget-get conv :value))) |
| 2517 | ;; If the widget is new, the child determines whether it is hidden. | 2508 | (state (or (widget-get widget :custom-state) |
| 2518 | (cond (state) | 2509 | (if (memq (custom-variable-state symbol value) |
| 2519 | ((custom-show type value) | 2510 | (widget-get widget :hidden-states)) |
| 2520 | (setq state 'unknown)) | 2511 | 'hidden)))) |
| 2521 | (t | 2512 | |
| 2522 | (setq state 'hidden))) | ||
| 2523 | ;; If we don't know the state, see if we need to edit it in lisp form. | 2513 | ;; If we don't know the state, see if we need to edit it in lisp form. |
| 2514 | (unless state | ||
| 2515 | (setq state (if (custom-show type value) 'unknown 'hidden))) | ||
| 2524 | (when (eq state 'unknown) | 2516 | (when (eq state 'unknown) |
| 2525 | (unless (widget-apply conv :match value) | 2517 | (unless (widget-apply conv :match value) |
| 2526 | ;; (widget-apply (widget-convert type) :match value) | ||
| 2527 | (setq form 'mismatch))) | 2518 | (setq form 'mismatch))) |
| 2528 | ;; Now we can create the child widget. | 2519 | ;; Now we can create the child widget. |
| 2529 | (cond ((eq custom-buffer-style 'tree) | 2520 | (cond ((eq custom-buffer-style 'tree) |
| @@ -2536,21 +2527,36 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2536 | ((eq state 'hidden) | 2527 | ((eq state 'hidden) |
| 2537 | ;; Indicate hidden value. | 2528 | ;; Indicate hidden value. |
| 2538 | (push (widget-create-child-and-convert | 2529 | (push (widget-create-child-and-convert |
| 2539 | widget 'item | 2530 | widget 'custom-visibility |
| 2540 | :format "%{%t%}: " | ||
| 2541 | :sample-face 'custom-variable-tag | ||
| 2542 | :tag tag | ||
| 2543 | :parent widget) | ||
| 2544 | buttons) | ||
| 2545 | (push (widget-create-child-and-convert | ||
| 2546 | widget 'visibility | ||
| 2547 | :help-echo "Show the value of this option." | 2531 | :help-echo "Show the value of this option." |
| 2532 | :on-image "down" | ||
| 2533 | :on "Hide" | ||
| 2534 | :off-image "right" | ||
| 2548 | :off "Show Value" | 2535 | :off "Show Value" |
| 2549 | :action 'custom-toggle-parent | 2536 | :action 'custom-toggle-parent |
| 2550 | nil) | 2537 | nil) |
| 2538 | buttons) | ||
| 2539 | (insert " ") | ||
| 2540 | (push (widget-create-child-and-convert | ||
| 2541 | widget 'item | ||
| 2542 | :format "%{%t%} " | ||
| 2543 | :sample-face 'custom-variable-tag | ||
| 2544 | :tag tag | ||
| 2545 | :parent widget) | ||
| 2551 | buttons)) | 2546 | buttons)) |
| 2552 | ((memq form '(lisp mismatch)) | 2547 | ((memq form '(lisp mismatch)) |
| 2553 | ;; In lisp mode edit the saved value when possible. | 2548 | ;; In lisp mode edit the saved value when possible. |
| 2549 | (push (widget-create-child-and-convert | ||
| 2550 | widget 'custom-visibility | ||
| 2551 | :help-echo "Hide the value of this option." | ||
| 2552 | :on "Hide" | ||
| 2553 | :off "Show" | ||
| 2554 | :on-image "down" | ||
| 2555 | :off-image "right" | ||
| 2556 | :action 'custom-toggle-parent | ||
| 2557 | t) | ||
| 2558 | buttons) | ||
| 2559 | (insert " ") | ||
| 2554 | (let* ((value (cond ((get symbol 'saved-value) | 2560 | (let* ((value (cond ((get symbol 'saved-value) |
| 2555 | (car (get symbol 'saved-value))) | 2561 | (car (get symbol 'saved-value))) |
| 2556 | ((get symbol 'standard-value) | 2562 | ((get symbol 'standard-value) |
| @@ -2561,15 +2567,6 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2561 | (custom-quote (widget-get conv :value)))))) | 2567 | (custom-quote (widget-get conv :value)))))) |
| 2562 | (insert (symbol-name symbol) ": ") | 2568 | (insert (symbol-name symbol) ": ") |
| 2563 | (push (widget-create-child-and-convert | 2569 | (push (widget-create-child-and-convert |
| 2564 | widget 'visibility | ||
| 2565 | :help-echo "Hide the value of this option." | ||
| 2566 | :on "Hide Value" | ||
| 2567 | :off "Show Value" | ||
| 2568 | :action 'custom-toggle-parent | ||
| 2569 | t) | ||
| 2570 | buttons) | ||
| 2571 | (insert " ") | ||
| 2572 | (push (widget-create-child-and-convert | ||
| 2573 | widget 'sexp | 2570 | widget 'sexp |
| 2574 | :button-face 'custom-variable-button-face | 2571 | :button-face 'custom-variable-button-face |
| 2575 | :format "%v" | 2572 | :format "%v" |
| @@ -2579,6 +2576,17 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2579 | children))) | 2576 | children))) |
| 2580 | (t | 2577 | (t |
| 2581 | ;; Edit mode. | 2578 | ;; Edit mode. |
| 2579 | (push (widget-create-child-and-convert | ||
| 2580 | widget 'custom-visibility | ||
| 2581 | :help-echo "Hide or show this option." | ||
| 2582 | :on "Hide" | ||
| 2583 | :off "Show" | ||
| 2584 | :on-image "down" | ||
| 2585 | :off-image "right" | ||
| 2586 | :action 'custom-toggle-parent | ||
| 2587 | t) | ||
| 2588 | buttons) | ||
| 2589 | (insert " ") | ||
| 2582 | (let* ((format (widget-get type :format)) | 2590 | (let* ((format (widget-get type :format)) |
| 2583 | tag-format value-format) | 2591 | tag-format value-format) |
| 2584 | (unless (string-match ":" format) | 2592 | (unless (string-match ":" format) |
| @@ -2595,15 +2603,6 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2595 | :sample-face 'custom-variable-tag | 2603 | :sample-face 'custom-variable-tag |
| 2596 | tag) | 2604 | tag) |
| 2597 | buttons) | 2605 | buttons) |
| 2598 | (insert " ") | ||
| 2599 | (push (widget-create-child-and-convert | ||
| 2600 | widget 'visibility | ||
| 2601 | :help-echo "Hide the value of this option." | ||
| 2602 | :on "Hide Value" | ||
| 2603 | :off "Show Value" | ||
| 2604 | :action 'custom-toggle-parent | ||
| 2605 | t) | ||
| 2606 | buttons) | ||
| 2607 | (push (widget-create-child-and-convert | 2606 | (push (widget-create-child-and-convert |
| 2608 | widget type | 2607 | widget type |
| 2609 | :format value-format | 2608 | :format value-format |
| @@ -2635,7 +2634,7 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2635 | ;; Don't push it !!! Custom assumes that the first child is the | 2634 | ;; Don't push it !!! Custom assumes that the first child is the |
| 2636 | ;; value one. | 2635 | ;; value one. |
| 2637 | (setq children (append children (list comment-widget))))) | 2636 | (setq children (append children (list comment-widget))))) |
| 2638 | ;; Update the rest of the properties properties. | 2637 | ;; Update the rest of the properties. |
| 2639 | (widget-put widget :custom-form form) | 2638 | (widget-put widget :custom-form form) |
| 2640 | (widget-put widget :children children) | 2639 | (widget-put widget :children children) |
| 2641 | ;; Now update the state. | 2640 | ;; Now update the state. |
| @@ -2658,61 +2657,69 @@ try matching its doc string against `custom-guess-doc-alist'." | |||
| 2658 | (apply 'widget-apply (car (widget-get (widget-get widget :parent) :children)) | 2657 | (apply 'widget-apply (car (widget-get (widget-get widget :parent) :children)) |
| 2659 | :mouse-down-action args)) | 2658 | :mouse-down-action args)) |
| 2660 | 2659 | ||
| 2661 | (defun custom-variable-state-set (widget) | 2660 | (defun custom-variable-state (symbol val) |
| 2662 | "Set the state of WIDGET." | 2661 | "Return the state of SYMBOL if its value is VAL. |
| 2663 | (let* ((symbol (widget-value widget)) | 2662 | If SYMBOL has a non-nil `custom-get' property, it overrides VAL. |
| 2664 | (get (or (get symbol 'custom-get) 'default-value)) | 2663 | Possible return values are `standard', `saved', `set', `themed', |
| 2664 | `changed', and `rogue'." | ||
| 2665 | (let* ((get (or (get symbol 'custom-get) 'default-value)) | ||
| 2665 | (value (if (default-boundp symbol) | 2666 | (value (if (default-boundp symbol) |
| 2666 | (funcall get symbol) | 2667 | (funcall get symbol) |
| 2667 | (widget-get widget :value))) | 2668 | val)) |
| 2668 | (comment (get symbol 'variable-comment)) | 2669 | (comment (get symbol 'variable-comment)) |
| 2669 | tmp | 2670 | tmp |
| 2670 | temp | 2671 | temp) |
| 2671 | (state (cond ((progn (setq tmp (get symbol 'customized-value)) | 2672 | (cond ((progn (setq tmp (get symbol 'customized-value)) |
| 2672 | (setq temp | 2673 | (setq temp |
| 2673 | (get symbol 'customized-variable-comment)) | 2674 | (get symbol 'customized-variable-comment)) |
| 2674 | (or tmp temp)) | 2675 | (or tmp temp)) |
| 2675 | (if (condition-case nil | 2676 | (if (condition-case nil |
| 2676 | (and (equal value (eval (car tmp))) | 2677 | (and (equal value (eval (car tmp))) |
| 2677 | (equal comment temp)) | 2678 | (equal comment temp)) |
| 2678 | (error nil)) | 2679 | (error nil)) |
| 2679 | 'set | 2680 | 'set |
| 2680 | 'changed)) | 2681 | 'changed)) |
| 2681 | ((progn (setq tmp (get symbol 'theme-value)) | 2682 | ((progn (setq tmp (get symbol 'theme-value)) |
| 2682 | (setq temp (get symbol 'saved-variable-comment)) | 2683 | (setq temp (get symbol 'saved-variable-comment)) |
| 2683 | (or tmp temp)) | 2684 | (or tmp temp)) |
| 2684 | (if (condition-case nil | 2685 | (if (condition-case nil |
| 2685 | (and (equal comment temp) | 2686 | (and (equal comment temp) |
| 2686 | (equal value | 2687 | (equal value |
| 2687 | (eval | 2688 | (eval |
| 2688 | (car (custom-variable-theme-value | 2689 | (car (custom-variable-theme-value |
| 2689 | symbol))))) | 2690 | symbol))))) |
| 2690 | (error nil)) | 2691 | (error nil)) |
| 2691 | (cond | 2692 | (cond |
| 2692 | ((eq (caar tmp) 'user) 'saved) | 2693 | ((eq (caar tmp) 'user) 'saved) |
| 2693 | ((eq (caar tmp) 'changed) | 2694 | ((eq (caar tmp) 'changed) |
| 2694 | (if (condition-case nil | 2695 | (if (condition-case nil |
| 2695 | (and (null comment) | 2696 | (and (null comment) |
| 2696 | (equal value | 2697 | (equal value |
| 2697 | (eval | 2698 | (eval |
| 2698 | (car (get symbol 'standard-value))))) | 2699 | (car (get symbol 'standard-value))))) |
| 2699 | (error nil)) | 2700 | (error nil)) |
| 2700 | ;; The value was originally set outside | 2701 | ;; The value was originally set outside |
| 2701 | ;; custom, but it was set to the standard | 2702 | ;; custom, but it was set to the standard |
| 2702 | ;; value (probably an autoloaded defcustom). | 2703 | ;; value (probably an autoloaded defcustom). |
| 2703 | 'standard | 2704 | 'standard |
| 2704 | 'changed)) | 2705 | 'changed)) |
| 2705 | (t 'themed)) | 2706 | (t 'themed)) |
| 2706 | 'changed)) | 2707 | 'changed)) |
| 2707 | ((setq tmp (get symbol 'standard-value)) | 2708 | ((setq tmp (get symbol 'standard-value)) |
| 2708 | (if (condition-case nil | 2709 | (if (condition-case nil |
| 2709 | (and (equal value (eval (car tmp))) | 2710 | (and (equal value (eval (car tmp))) |
| 2710 | (equal comment nil)) | 2711 | (equal comment nil)) |
| 2711 | (error nil)) | 2712 | (error nil)) |
| 2712 | 'standard | 2713 | 'standard |
| 2713 | 'changed)) | 2714 | 'changed)) |
| 2714 | (t 'rogue)))) | 2715 | (t 'rogue)))) |
| 2715 | (widget-put widget :custom-state state))) | 2716 | |
| 2717 | (defun custom-variable-state-set (widget &optional state) | ||
| 2718 | "Set the state of WIDGET to STATE. | ||
| 2719 | If STATE is nil, the value is computed by `custom-variable-state'." | ||
| 2720 | (widget-put widget :custom-state | ||
| 2721 | (or state (custom-variable-state (widget-value widget) | ||
| 2722 | (widget-get widget :value))))) | ||
| 2716 | 2723 | ||
| 2717 | (defun custom-variable-standard-value (widget) | 2724 | (defun custom-variable-standard-value (widget) |
| 2718 | (get (widget-value widget) 'standard-value)) | 2725 | (get (widget-value widget) 'standard-value)) |
| @@ -2998,7 +3005,9 @@ to switch between two values." | |||
| 2998 | :button-face 'custom-visibility | 3005 | :button-face 'custom-visibility |
| 2999 | :pressed-face 'custom-visibility | 3006 | :pressed-face 'custom-visibility |
| 3000 | :mouse-face 'highlight | 3007 | :mouse-face 'highlight |
| 3001 | :pressed-face 'highlight) | 3008 | :pressed-face 'highlight |
| 3009 | :on-image nil | ||
| 3010 | :off-image nil) | ||
| 3002 | 3011 | ||
| 3003 | (defface custom-visibility | 3012 | (defface custom-visibility |
| 3004 | '((t :height 0.8 :inherit link)) | 3013 | '((t :height 0.8 :inherit link)) |
| @@ -3345,6 +3354,18 @@ SPEC must be a full face spec." | |||
| 3345 | (insert " " tag "\n") | 3354 | (insert " " tag "\n") |
| 3346 | (widget-put widget :buttons buttons)) | 3355 | (widget-put widget :buttons buttons)) |
| 3347 | (t | 3356 | (t |
| 3357 | ;; Visibility. | ||
| 3358 | (push (widget-create-child-and-convert | ||
| 3359 | widget 'custom-visibility | ||
| 3360 | :help-echo "Hide or show this face." | ||
| 3361 | :on "Hide" | ||
| 3362 | :off "Show" | ||
| 3363 | :on-image "down" | ||
| 3364 | :off-image "right" | ||
| 3365 | :action 'custom-toggle-parent | ||
| 3366 | (not (eq state 'hidden))) | ||
| 3367 | buttons) | ||
| 3368 | (insert " ") | ||
| 3348 | ;; Create tag. | 3369 | ;; Create tag. |
| 3349 | (insert tag) | 3370 | (insert tag) |
| 3350 | (widget-specify-sample widget begin (point)) | 3371 | (widget-specify-sample widget begin (point)) |
| @@ -3359,16 +3380,6 @@ SPEC must be a full face spec." | |||
| 3359 | :sample-face symbol | 3380 | :sample-face symbol |
| 3360 | :tag "sample") | 3381 | :tag "sample") |
| 3361 | buttons) | 3382 | buttons) |
| 3362 | ;; Visibility. | ||
| 3363 | (insert " ") | ||
| 3364 | (push (widget-create-child-and-convert | ||
| 3365 | widget 'visibility | ||
| 3366 | :help-echo "Hide or show this face." | ||
| 3367 | :on "Hide Face" | ||
| 3368 | :off "Show Face" | ||
| 3369 | :action 'custom-toggle-parent | ||
| 3370 | (not (eq state 'hidden))) | ||
| 3371 | buttons) | ||
| 3372 | ;; Magic. | 3383 | ;; Magic. |
| 3373 | (insert "\n") | 3384 | (insert "\n") |
| 3374 | (let ((magic (widget-create-child-and-convert | 3385 | (let ((magic (widget-create-child-and-convert |
| @@ -3920,8 +3931,11 @@ If GROUPS-ONLY non-nil, return only those members that are groups." | |||
| 3920 | (insert " " tag "\n") | 3931 | (insert " " tag "\n") |
| 3921 | (widget-put widget :buttons buttons) | 3932 | (widget-put widget :buttons buttons) |
| 3922 | (message "Creating group...") | 3933 | (message "Creating group...") |
| 3923 | (let* ((members (custom-sort-items members | 3934 | (let* ((members (custom-sort-items |
| 3924 | custom-browse-sort-alphabetically | 3935 | members |
| 3936 | ;; Never sort the top-level custom group. | ||
| 3937 | (unless (eq symbol 'emacs) | ||
| 3938 | custom-browse-sort-alphabetically) | ||
| 3925 | custom-browse-order-groups)) | 3939 | custom-browse-order-groups)) |
| 3926 | (prefixes (widget-get widget :custom-prefixes)) | 3940 | (prefixes (widget-get widget :custom-prefixes)) |
| 3927 | (custom-prefix-list (custom-prefix-add symbol prefixes)) | 3941 | (custom-prefix-list (custom-prefix-add symbol prefixes)) |
| @@ -3979,17 +3993,21 @@ If GROUPS-ONLY non-nil, return only those members that are groups." | |||
| 3979 | 3993 | ||
| 3980 | ;; Nested style. | 3994 | ;; Nested style. |
| 3981 | (t ;Visible. | 3995 | (t ;Visible. |
| 3996 | ;; Draw a horizontal line (this works for both graphical | ||
| 3997 | ;; and text displays): | ||
| 3998 | (let ((p (point))) | ||
| 3999 | (insert "\n") | ||
| 4000 | (put-text-property p (1+ p) 'face '(:underline t)) | ||
| 4001 | (overlay-put (make-overlay p (1+ p)) | ||
| 4002 | 'before-string | ||
| 4003 | (propertize "\n" 'face '(:underline t) | ||
| 4004 | 'display '(space :align-to 999)))) | ||
| 4005 | |||
| 3982 | ;; Add parent groups references above the group. | 4006 | ;; Add parent groups references above the group. |
| 3983 | (if t ;;; This should test that the buffer | 4007 | (when (eq level 1) |
| 3984 | ;;; was made to display a group. | 4008 | (if (custom-add-parent-links widget "Parent groups:") |
| 3985 | (when (eq level 1) | 4009 | (insert "\n"))) |
| 3986 | (if (custom-add-parent-links widget | ||
| 3987 | "Parent groups:" | ||
| 3988 | "Parent group documentation:") | ||
| 3989 | (insert "\n")))) | ||
| 3990 | ;; Create level indicator. | ||
| 3991 | (insert-char ?\ (* custom-buffer-indent (1- level))) | 4010 | (insert-char ?\ (* custom-buffer-indent (1- level))) |
| 3992 | (insert "/- ") | ||
| 3993 | ;; Create tag. | 4011 | ;; Create tag. |
| 3994 | (let ((start (point))) | 4012 | (let ((start (point))) |
| 3995 | (insert tag " group: ") | 4013 | (insert tag " group: ") |
| @@ -4009,12 +4027,7 @@ If GROUPS-ONLY non-nil, return only those members that are groups." | |||
| 4009 | (not (eq state 'hidden))) | 4027 | (not (eq state 'hidden))) |
| 4010 | buttons) | 4028 | buttons) |
| 4011 | (insert " ")) | 4029 | (insert " ")) |
| 4012 | ;; Create more dashes. | 4030 | (insert "\n") |
| 4013 | ;; Use 76 instead of 75 to compensate for the temporary "<" | ||
| 4014 | ;; added by `widget-insert'. | ||
| 4015 | (insert-char ?- (- 76 (current-column) | ||
| 4016 | (* custom-buffer-indent level))) | ||
| 4017 | (insert "\\\n") | ||
| 4018 | ;; Create magic button. | 4031 | ;; Create magic button. |
| 4019 | (let ((magic (widget-create-child-and-convert | 4032 | (let ((magic (widget-create-child-and-convert |
| 4020 | widget 'custom-magic | 4033 | widget 'custom-magic |
| @@ -4040,43 +4053,50 @@ If GROUPS-ONLY non-nil, return only those members that are groups." | |||
| 4040 | ?\ )) | 4053 | ?\ )) |
| 4041 | ;; Members. | 4054 | ;; Members. |
| 4042 | (message "Creating group...") | 4055 | (message "Creating group...") |
| 4043 | (let* ((members (custom-sort-items members | 4056 | (let* ((members (custom-sort-items |
| 4044 | custom-buffer-sort-alphabetically | 4057 | members |
| 4045 | custom-buffer-order-groups)) | 4058 | ;; Never sort the top-level custom group. |
| 4059 | (unless (eq symbol 'emacs) | ||
| 4060 | custom-buffer-sort-alphabetically) | ||
| 4061 | custom-buffer-order-groups)) | ||
| 4046 | (prefixes (widget-get widget :custom-prefixes)) | 4062 | (prefixes (widget-get widget :custom-prefixes)) |
| 4047 | (custom-prefix-list (custom-prefix-add symbol prefixes)) | 4063 | (custom-prefix-list (custom-prefix-add symbol prefixes)) |
| 4048 | (length (length members)) | 4064 | (len (length members)) |
| 4049 | (count 0) | 4065 | (count 0) |
| 4050 | (children (mapcar (lambda (entry) | 4066 | (reporter (make-progress-reporter |
| 4051 | (widget-insert "\n") | 4067 | "Creating group entries..." 0 len)) |
| 4052 | (message "\ | 4068 | children) |
| 4053 | Creating group members... %2d%%" | 4069 | (setq children |
| 4054 | (/ (* 100.0 count) length)) | 4070 | (mapcar |
| 4055 | (setq count (1+ count)) | 4071 | (lambda (entry) |
| 4056 | (prog1 | 4072 | (widget-insert "\n") |
| 4057 | (widget-create-child-and-convert | 4073 | (progress-reporter-update reporter (setq count (1+ count))) |
| 4058 | widget (nth 1 entry) | 4074 | (let ((sym (nth 0 entry)) |
| 4059 | :group widget | 4075 | (type (nth 1 entry)) |
| 4060 | :tag (custom-unlispify-tag-name | 4076 | hidden-p) |
| 4061 | (nth 0 entry)) | 4077 | (prog1 |
| 4062 | :custom-prefixes custom-prefix-list | 4078 | (widget-create-child-and-convert |
| 4063 | :custom-level (1+ level) | 4079 | widget type |
| 4064 | :value (nth 0 entry)) | 4080 | :group widget |
| 4065 | (unless (eq (preceding-char) ?\n) | 4081 | :tag (custom-unlispify-tag-name sym) |
| 4066 | (widget-insert "\n")))) | 4082 | :custom-prefixes custom-prefix-list |
| 4067 | members))) | 4083 | :custom-level (1+ level) |
| 4068 | (message "Creating group magic...") | 4084 | :value sym) |
| 4085 | (unless (eq (preceding-char) ?\n) | ||
| 4086 | (widget-insert "\n"))))) | ||
| 4087 | members)) | ||
| 4069 | (mapc 'custom-magic-reset children) | 4088 | (mapc 'custom-magic-reset children) |
| 4070 | (message "Creating group state...") | ||
| 4071 | (widget-put widget :children children) | 4089 | (widget-put widget :children children) |
| 4072 | (custom-group-state-update widget) | 4090 | (custom-group-state-update widget) |
| 4073 | (message "Creating group... done")) | 4091 | (progress-reporter-done reporter)) |
| 4074 | ;; End line | 4092 | ;; End line |
| 4075 | (insert "\n") | 4093 | (let ((p (point))) |
| 4076 | (insert-char ?\ (* custom-buffer-indent (1- level))) | 4094 | (insert "\n") |
| 4077 | (insert "\\- " (widget-get widget :tag) " group end ") | 4095 | (put-text-property p (1+ p) 'face '(:underline t)) |
| 4078 | (insert-char ?- (- 75 (current-column) (* custom-buffer-indent level))) | 4096 | (overlay-put (make-overlay p (1+ p)) |
| 4079 | (insert "/\n"))))) | 4097 | 'before-string |
| 4098 | (propertize "\n" 'face '(:underline t) | ||
| 4099 | 'display '(space :align-to 999)))))))) | ||
| 4080 | 4100 | ||
| 4081 | (defvar custom-group-menu | 4101 | (defvar custom-group-menu |
| 4082 | `(("Set for Current Session" custom-group-set | 4102 | `(("Set for Current Session" custom-group-set |
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 27f8318f91c..75ea98ba911 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el | |||
| @@ -1287,7 +1287,9 @@ a diff with \\[diff-reverse-direction]. | |||
| 1287 | (set (make-local-variable 'add-log-current-defun-function) | 1287 | (set (make-local-variable 'add-log-current-defun-function) |
| 1288 | 'diff-current-defun) | 1288 | 'diff-current-defun) |
| 1289 | (set (make-local-variable 'add-log-buffer-file-name-function) | 1289 | (set (make-local-variable 'add-log-buffer-file-name-function) |
| 1290 | (lambda () (diff-find-file-name nil 'noprompt)))) | 1290 | (lambda () (diff-find-file-name nil 'noprompt))) |
| 1291 | (unless (buffer-file-name) | ||
| 1292 | (hack-dir-local-variables-non-file-buffer))) | ||
| 1291 | 1293 | ||
| 1292 | ;;;###autoload | 1294 | ;;;###autoload |
| 1293 | (define-minor-mode diff-minor-mode | 1295 | (define-minor-mode diff-minor-mode |
diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el index 45c3840bdd2..175999b6e37 100644 --- a/lisp/emulation/pc-select.el +++ b/lisp/emulation/pc-select.el | |||
| @@ -82,8 +82,7 @@ | |||
| 82 | (defgroup pc-select nil | 82 | (defgroup pc-select nil |
| 83 | "Emulate pc bindings." | 83 | "Emulate pc bindings." |
| 84 | :prefix "pc-select" | 84 | :prefix "pc-select" |
| 85 | :group 'editing-basics | 85 | :group 'emulations) |
| 86 | :group 'convenience) | ||
| 87 | 86 | ||
| 88 | (defcustom pc-select-override-scroll-error t | 87 | (defcustom pc-select-override-scroll-error t |
| 89 | "*Non-nil means don't generate error on scrolling past edge of buffer. | 88 | "*Non-nil means don't generate error on scrolling past edge of buffer. |
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 3cdf2ff3ffa..ddbdd3541ad 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | (defgroup epg () | 34 | (defgroup epg () |
| 35 | "The EasyPG library." | 35 | "The EasyPG library." |
| 36 | :version "23.1" | 36 | :version "23.1" |
| 37 | :group 'emacs) | 37 | :group 'data) |
| 38 | 38 | ||
| 39 | (defcustom epg-gpg-program "gpg" | 39 | (defcustom epg-gpg-program "gpg" |
| 40 | "The `gpg' executable." | 40 | "The `gpg' executable." |
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index c192b3400b4..18fc5f188a9 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-02-07 Vivek Dasmohapatra <vivek@etla.org> | 5 | 2010-02-07 Vivek Dasmohapatra <vivek@etla.org> |
| 2 | 6 | ||
| 3 | * erc-services.el (erc-nickserv-alist): Fix defcustom type (Bug#5520). | 7 | * erc-services.el (erc-nickserv-alist): Fix defcustom type (Bug#5520). |
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index 6f9e6799763..b7c9f359095 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -479,12 +479,20 @@ These special properties include `invisible', `intangible' and `read-only'." | |||
| 479 | nil | 479 | nil |
| 480 | col))) | 480 | col))) |
| 481 | 481 | ||
| 482 | (defun list-colors-display (&optional list buffer-name) | 482 | |
| 483 | (defun list-colors-display (&optional list buffer-name callback) | ||
| 483 | "Display names of defined colors, and show what they look like. | 484 | "Display names of defined colors, and show what they look like. |
| 484 | If the optional argument LIST is non-nil, it should be a list of | 485 | If the optional argument LIST is non-nil, it should be a list of |
| 485 | colors to display. Otherwise, this command computes a list of | 486 | colors to display. Otherwise, this command computes a list of |
| 486 | colors that the current display can handle. If the optional | 487 | colors that the current display can handle. |
| 487 | argument BUFFER-NAME is nil, it defaults to *Colors*." | 488 | |
| 489 | If the optional argument BUFFER-NAME is nil, it defaults to | ||
| 490 | *Colors*. | ||
| 491 | |||
| 492 | If the optional argument CALLBACK is non-nil, it should be a | ||
| 493 | function to call each time the user types RET or clicks on a | ||
| 494 | color. The function should accept a single argument, the color | ||
| 495 | name." | ||
| 488 | (interactive) | 496 | (interactive) |
| 489 | (when (and (null list) (> (display-color-cells) 0)) | 497 | (when (and (null list) (> (display-color-cells) 0)) |
| 490 | (setq list (list-colors-duplicates (defined-colors))) | 498 | (setq list (list-colors-duplicates (defined-colors))) |
| @@ -493,49 +501,57 @@ argument BUFFER-NAME is nil, it defaults to *Colors*." | |||
| 493 | (let ((lc (nthcdr (1- (display-color-cells)) list))) | 501 | (let ((lc (nthcdr (1- (display-color-cells)) list))) |
| 494 | (if lc | 502 | (if lc |
| 495 | (setcdr lc nil))))) | 503 | (setcdr lc nil))))) |
| 496 | (with-help-window (or buffer-name "*Colors*") | 504 | (let ((buf (get-buffer-create "*Colors*"))) |
| 497 | (with-current-buffer standard-output | 505 | (with-current-buffer buf |
| 506 | (erase-buffer) | ||
| 498 | (setq truncate-lines t) | 507 | (setq truncate-lines t) |
| 499 | (if temp-buffer-show-function | 508 | (list-colors-print list callback) |
| 500 | (list-colors-print list) | 509 | (set-buffer-modified-p nil)) |
| 501 | ;; Call list-colors-print from temp-buffer-show-hook | 510 | (pop-to-buffer buf)) |
| 502 | ;; to get the right value of window-width in list-colors-print | 511 | (if callback |
| 503 | ;; after the buffer is displayed. | 512 | (message "Click on a color to select it."))) |
| 504 | (add-hook 'temp-buffer-show-hook | 513 | |
| 505 | (lambda () | 514 | (defun list-colors-print (list &optional callback) |
| 506 | (set-buffer-modified-p | 515 | (let ((callback-fn |
| 507 | (prog1 (buffer-modified-p) | 516 | (if callback |
| 508 | (list-colors-print list)))) | 517 | `(lambda (button) |
| 509 | nil t))))) | 518 | (funcall ,callback (button-get button 'color-name)))))) |
| 510 | 519 | (dolist (color list) | |
| 511 | (defun list-colors-print (list) | 520 | (if (consp color) |
| 512 | (dolist (color list) | 521 | (if (cdr color) |
| 513 | (if (consp color) | 522 | (setq color (sort color (lambda (a b) |
| 514 | (if (cdr color) | 523 | (string< (downcase a) |
| 515 | (setq color (sort color (lambda (a b) | 524 | (downcase b)))))) |
| 516 | (string< (downcase a) | 525 | (setq color (list color))) |
| 517 | (downcase b)))))) | 526 | (let* ((opoint (point)) |
| 518 | (setq color (list color))) | 527 | (color-values (color-values (car color))) |
| 519 | (put-text-property | 528 | (light-p (>= (apply 'max color-values) |
| 520 | (prog1 (point) | 529 | (* (car (color-values "white")) .5)))) |
| 521 | (insert (car color)) | 530 | (insert (car color)) |
| 522 | (indent-to 22)) | 531 | (indent-to 22) |
| 523 | (point) | 532 | (put-text-property opoint (point) 'face `(:background ,(car color))) |
| 524 | 'face (list ':background (car color))) | 533 | (put-text-property |
| 525 | (put-text-property | 534 | (prog1 (point) |
| 526 | (prog1 (point) | 535 | (insert " " (if (cdr color) |
| 527 | (insert " " (if (cdr color) | 536 | (mapconcat 'identity (cdr color) ", ") |
| 528 | (mapconcat 'identity (cdr color) ", ") | 537 | (car color)))) |
| 529 | (car color)))) | 538 | (point) |
| 530 | (point) | 539 | 'face (list :foreground (car color))) |
| 531 | 'face (list ':foreground (car color))) | 540 | (indent-to (max (- (window-width) 8) 44)) |
| 532 | (indent-to (max (- (window-width) 8) 44)) | 541 | (insert (apply 'format "#%02x%02x%02x" |
| 533 | (insert (apply 'format "#%02x%02x%02x" | 542 | (mapcar (lambda (c) (lsh c -8)) |
| 534 | (mapcar (lambda (c) (lsh c -8)) | 543 | color-values))) |
| 535 | (color-values (car color))))) | 544 | (when callback |
| 536 | 545 | (make-text-button | |
| 537 | (insert "\n")) | 546 | opoint (point) |
| 538 | (goto-char (point-min))) | 547 | 'follow-link t |
| 548 | 'mouse-face (list :background (car color) | ||
| 549 | :foreground (if light-p "black" "white")) | ||
| 550 | 'color-name (car color) | ||
| 551 | 'action callback-fn))) | ||
| 552 | (insert "\n")) | ||
| 553 | (goto-char (point-min)))) | ||
| 554 | |||
| 539 | 555 | ||
| 540 | (defun list-colors-duplicates (&optional list) | 556 | (defun list-colors-duplicates (&optional list) |
| 541 | "Return a list of colors with grouped duplicate colors. | 557 | "Return a list of colors with grouped duplicate colors. |
diff --git a/lisp/files.el b/lisp/files.el index f0a8d72d3f0..07442d4ba14 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2269,7 +2269,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) | |||
| 2269 | ("\\.dtd\\'" . sgml-mode) | 2269 | ("\\.dtd\\'" . sgml-mode) |
| 2270 | ("\\.ds\\(ss\\)?l\\'" . dsssl-mode) | 2270 | ("\\.ds\\(ss\\)?l\\'" . dsssl-mode) |
| 2271 | ("\\.js\\'" . js-mode) ; javascript-mode would be better | 2271 | ("\\.js\\'" . js-mode) ; javascript-mode would be better |
| 2272 | ("\\.[ds]?v\\'" . verilog-mode) | 2272 | ("\\.[ds]?vh?\\'" . verilog-mode) |
| 2273 | ;; .emacs or .gnus or .viper following a directory delimiter in | 2273 | ;; .emacs or .gnus or .viper following a directory delimiter in |
| 2274 | ;; Unix, MSDOG or VMS syntax. | 2274 | ;; Unix, MSDOG or VMS syntax. |
| 2275 | ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode) | 2275 | ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode) |
| @@ -3112,14 +3112,17 @@ is specified, returning t if it is specified." | |||
| 3112 | ;; Otherwise, set the variables. | 3112 | ;; Otherwise, set the variables. |
| 3113 | (enable-local-variables | 3113 | (enable-local-variables |
| 3114 | (hack-local-variables-filter result nil) | 3114 | (hack-local-variables-filter result nil) |
| 3115 | (when file-local-variables-alist | 3115 | (hack-local-variables-apply))))) |
| 3116 | ;; Any 'evals must run in the Right sequence. | 3116 | |
| 3117 | (setq file-local-variables-alist | 3117 | (defun hack-local-variables-apply () |
| 3118 | (nreverse file-local-variables-alist)) | 3118 | (when file-local-variables-alist |
| 3119 | (run-hooks 'before-hack-local-variables-hook) | 3119 | ;; Any 'evals must run in the Right sequence. |
| 3120 | (dolist (elt file-local-variables-alist) | 3120 | (setq file-local-variables-alist |
| 3121 | (hack-one-local-variable (car elt) (cdr elt)))) | 3121 | (nreverse file-local-variables-alist)) |
| 3122 | (run-hooks 'hack-local-variables-hook))))) | 3122 | (run-hooks 'before-hack-local-variables-hook) |
| 3123 | (dolist (elt file-local-variables-alist) | ||
| 3124 | (hack-one-local-variable (car elt) (cdr elt)))) | ||
| 3125 | (run-hooks 'hack-local-variables-hook)) | ||
| 3123 | 3126 | ||
| 3124 | (defun safe-local-variable-p (sym val) | 3127 | (defun safe-local-variable-p (sym val) |
| 3125 | "Non-nil if SYM is safe as a file-local variable with value VAL. | 3128 | "Non-nil if SYM is safe as a file-local variable with value VAL. |
| @@ -3413,15 +3416,14 @@ is found. Returns the new class name." | |||
| 3413 | Store the directory-local variables in `dir-local-variables-alist' | 3416 | Store the directory-local variables in `dir-local-variables-alist' |
| 3414 | and `file-local-variables-alist', without applying them." | 3417 | and `file-local-variables-alist', without applying them." |
| 3415 | (when (and enable-local-variables | 3418 | (when (and enable-local-variables |
| 3416 | (buffer-file-name) | 3419 | (not (file-remote-p (or (buffer-file-name) default-directory)))) |
| 3417 | (not (file-remote-p (buffer-file-name)))) | ||
| 3418 | ;; Find the variables file. | 3420 | ;; Find the variables file. |
| 3419 | (let ((variables-file (dir-locals-find-file (buffer-file-name))) | 3421 | (let ((variables-file (dir-locals-find-file (or (buffer-file-name) default-directory))) |
| 3420 | (class nil) | 3422 | (class nil) |
| 3421 | (dir-name nil)) | 3423 | (dir-name nil)) |
| 3422 | (cond | 3424 | (cond |
| 3423 | ((stringp variables-file) | 3425 | ((stringp variables-file) |
| 3424 | (setq dir-name (file-name-directory (buffer-file-name))) | 3426 | (setq dir-name (if (buffer-file-name) (file-name-directory (buffer-file-name)) default-directory)) |
| 3425 | (setq class (dir-locals-read-from-file variables-file))) | 3427 | (setq class (dir-locals-read-from-file variables-file))) |
| 3426 | ((consp variables-file) | 3428 | ((consp variables-file) |
| 3427 | (setq dir-name (nth 0 variables-file)) | 3429 | (setq dir-name (nth 0 variables-file)) |
| @@ -3438,6 +3440,10 @@ and `file-local-variables-alist', without applying them." | |||
| 3438 | (push elt dir-local-variables-alist)) | 3440 | (push elt dir-local-variables-alist)) |
| 3439 | (hack-local-variables-filter variables dir-name))))))) | 3441 | (hack-local-variables-filter variables dir-name))))))) |
| 3440 | 3442 | ||
| 3443 | (defun hack-dir-local-variables-non-file-buffer () | ||
| 3444 | (hack-dir-local-variables) | ||
| 3445 | (hack-local-variables-apply)) | ||
| 3446 | |||
| 3441 | 3447 | ||
| 3442 | (defcustom change-major-mode-with-file-name t | 3448 | (defcustom change-major-mode-with-file-name t |
| 3443 | "Non-nil means \\[write-file] should set the major mode from the file name. | 3449 | "Non-nil means \\[write-file] should set the major mode from the file name. |
diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 1ce4f25af70..755ff696453 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el | |||
| @@ -72,7 +72,7 @@ | |||
| 72 | (defgroup hl-line nil | 72 | (defgroup hl-line nil |
| 73 | "Highlight the current line." | 73 | "Highlight the current line." |
| 74 | :version "21.1" | 74 | :version "21.1" |
| 75 | :group 'editing) | 75 | :group 'convenience) |
| 76 | 76 | ||
| 77 | (defface hl-line | 77 | (defface hl-line |
| 78 | '((t :inherit highlight)) | 78 | '((t :inherit highlight)) |
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 5b785f0031e..6169fa4cb71 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -466,7 +466,7 @@ was inserted." | |||
| 466 | (buffer-substring-no-properties (point-min) (point-max))) | 466 | (buffer-substring-no-properties (point-min) (point-max))) |
| 467 | filename)) | 467 | filename)) |
| 468 | (type (image-type file-or-data nil data-p)) | 468 | (type (image-type file-or-data nil data-p)) |
| 469 | (image (create-image file-or-data type data-p)) | 469 | (image (create-animated-image file-or-data type data-p)) |
| 470 | (props | 470 | (props |
| 471 | `(display ,image | 471 | `(display ,image |
| 472 | intangible ,image | 472 | intangible ,image |
diff --git a/lisp/image.el b/lisp/image.el index 944c6135e23..83ab6288e9a 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; image.el --- image API | 1 | ;;; image.el --- image API |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, | 3 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| 4 | ;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| 7 | ;; Keywords: multimedia | 7 | ;; Keywords: multimedia |
| @@ -584,7 +584,111 @@ Example: | |||
| 584 | (declare (doc-string 3)) | 584 | (declare (doc-string 3)) |
| 585 | `(defvar ,symbol (find-image ',specs) ,doc)) | 585 | `(defvar ,symbol (find-image ',specs) ,doc)) |
| 586 | 586 | ||
| 587 | |||
| 588 | ;;; Animated image API | ||
| 587 | 589 | ||
| 590 | (defcustom image-animate-max-time 30 | ||
| 591 | "Time in seconds to animate images." | ||
| 592 | :type 'integer | ||
| 593 | :version "24.1" | ||
| 594 | :group 'image) | ||
| 595 | |||
| 596 | (defconst image-animated-types '(gif) | ||
| 597 | "List of supported animated image types.") | ||
| 598 | |||
| 599 | ;;;###autoload | ||
| 600 | (defun create-animated-image (file-or-data &optional type data-p &rest props) | ||
| 601 | "Create an animated image. | ||
| 602 | FILE-OR-DATA is an image file name or image data. | ||
| 603 | Optional TYPE is a symbol describing the image type. If TYPE is omitted | ||
| 604 | or nil, try to determine the image type from its first few bytes | ||
| 605 | of image data. If that doesn't work, and FILE-OR-DATA is a file name, | ||
| 606 | use its file extension as image type. | ||
| 607 | Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data. | ||
| 608 | Optional PROPS are additional image attributes to assign to the image, | ||
| 609 | like, e.g. `:mask MASK'. | ||
| 610 | Value is the image created, or nil if images of type TYPE are not supported. | ||
| 611 | |||
| 612 | Images should not be larger than specified by `max-image-size'." | ||
| 613 | (setq type (image-type file-or-data type data-p)) | ||
| 614 | (when (image-type-available-p type) | ||
| 615 | (let* ((animate (memq type image-animated-types)) | ||
| 616 | (image | ||
| 617 | (append (list 'image :type type (if data-p :data :file) file-or-data) | ||
| 618 | (if animate '(:index 0 :mask heuristic)) | ||
| 619 | props))) | ||
| 620 | (if animate | ||
| 621 | (image-animate-start image)) | ||
| 622 | image))) | ||
| 623 | |||
| 624 | (defun image-animate-timer (image) | ||
| 625 | "Return the animation timer for image IMAGE." | ||
| 626 | ;; See cancel-function-timers | ||
| 627 | (let ((tail timer-list) timer) | ||
| 628 | (while tail | ||
| 629 | (setq timer (car tail) | ||
| 630 | tail (cdr tail)) | ||
| 631 | (if (and (eq (aref timer 5) #'image-animate-timeout) | ||
| 632 | (consp (aref timer 6)) | ||
| 633 | (eq (car (aref timer 6)) image)) | ||
| 634 | (setq tail nil) | ||
| 635 | (setq timer nil))) | ||
| 636 | timer)) | ||
| 637 | |||
| 638 | (defun image-animate-start (image &optional max-time) | ||
| 639 | "Start animation of image IMAGE. | ||
| 640 | Optional second arg MAX-TIME is number of seconds to animate image, | ||
| 641 | or t to animate infinitely." | ||
| 642 | (let ((anim (image-animated-p image)) | ||
| 643 | timer tmo) | ||
| 644 | (when anim | ||
| 645 | (if (setq timer (image-animate-timer image)) | ||
| 646 | (setcar (nthcdr 3 (aref timer 6)) max-time) | ||
| 647 | (setq tmo (* (cdr anim) 0.01)) | ||
| 648 | (setq max-time (or max-time image-animate-max-time)) | ||
| 649 | (run-with-timer tmo nil #'image-animate-timeout | ||
| 650 | image 1 (car anim) | ||
| 651 | (if (numberp max-time) | ||
| 652 | (- max-time tmo) | ||
| 653 | max-time)))))) | ||
| 654 | |||
| 655 | (defun image-animate-stop (image) | ||
| 656 | "Stop animation of image." | ||
| 657 | (let ((timer (image-animate-timer image))) | ||
| 658 | (when timer | ||
| 659 | (cancel-timer timer)))) | ||
| 660 | |||
| 661 | (defun image-animate-timeout (image ino count time-left) | ||
| 662 | (if (>= ino count) | ||
| 663 | (setq ino 0)) | ||
| 664 | (plist-put (cdr image) :index ino) | ||
| 665 | (force-window-update) | ||
| 666 | (let ((anim (image-animated-p image)) tmo) | ||
| 667 | (when anim | ||
| 668 | (setq tmo (* (cdr anim) 0.01)) | ||
| 669 | (unless (and (= ino 0) (numberp time-left) (< time-left tmo)) | ||
| 670 | (run-with-timer tmo nil #'image-animate-timeout | ||
| 671 | image (1+ ino) count | ||
| 672 | (if (numberp time-left) | ||
| 673 | (- time-left tmo) | ||
| 674 | time-left)))))) | ||
| 675 | |||
| 676 | (defun image-animated-p (image) | ||
| 677 | "Return non-nil if image is animated. | ||
| 678 | Actually, return value is a cons (IMAGES . DELAY) where IMAGES | ||
| 679 | is the number of sub-images in the animated image, and DELAY | ||
| 680 | is the delay in 100ths of a second until the next sub-image | ||
| 681 | shall be displayed." | ||
| 682 | (cond | ||
| 683 | ((eq (plist-get (cdr image) :type) 'gif) | ||
| 684 | (let* ((extdata (image-extension-data image)) | ||
| 685 | (images (plist-get extdata 'count)) | ||
| 686 | (anim (plist-get extdata #xF9))) | ||
| 687 | (and (integerp images) (> images 1) | ||
| 688 | (stringp anim) (>= (length anim) 4) | ||
| 689 | (cons images (+ (aref anim 1) (* (aref anim 2) 256)))))))) | ||
| 690 | |||
| 691 | |||
| 588 | (provide 'image) | 692 | (provide 'image) |
| 589 | 693 | ||
| 590 | ;; arch-tag: 8e76a07b-eb48-4f3e-a7a0-1a7ba9f096b3 | 694 | ;; arch-tag: 8e76a07b-eb48-4f3e-a7a0-1a7ba9f096b3 |
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el index ac69cf5c7fa..2431c9d9e99 100644 --- a/lisp/language/misc-lang.el +++ b/lisp/language/misc-lang.el | |||
| @@ -50,6 +50,14 @@ and Italian."))) | |||
| 50 | :charset-list '(iso-8859-6) | 50 | :charset-list '(iso-8859-6) |
| 51 | :mime-charset 'iso-8859-6) | 51 | :mime-charset 'iso-8859-6) |
| 52 | 52 | ||
| 53 | (define-coding-system 'windows-1256 | ||
| 54 | "windows-1256 (Arabic) encoding (MIME: WINDOWS-1256)" | ||
| 55 | :coding-type 'charset | ||
| 56 | :mnemonic ?A | ||
| 57 | :charset-list '(windows-1256) | ||
| 58 | :mime-charset 'windows-1256) | ||
| 59 | (define-coding-system-alias 'cp1256 'windows-1256) | ||
| 60 | |||
| 53 | (provide 'misc-lang) | 61 | (provide 'misc-lang) |
| 54 | 62 | ||
| 55 | ;; arch-tag: 6953585c-1a1a-4c09-be82-a2518afb6074 | 63 | ;; arch-tag: 6953585c-1a1a-4c09-be82-a2518afb6074 |
diff --git a/lisp/log-edit.el b/lisp/log-edit.el index 10c6d480d23..e26521642da 100644 --- a/lisp/log-edit.el +++ b/lisp/log-edit.el | |||
| @@ -368,7 +368,8 @@ commands (under C-x v for VC, for example). | |||
| 368 | \\{log-edit-mode-map}" | 368 | \\{log-edit-mode-map}" |
| 369 | (set (make-local-variable 'font-lock-defaults) | 369 | (set (make-local-variable 'font-lock-defaults) |
| 370 | '(log-edit-font-lock-keywords t)) | 370 | '(log-edit-font-lock-keywords t)) |
| 371 | (make-local-variable 'log-edit-comment-ring-index)) | 371 | (make-local-variable 'log-edit-comment-ring-index) |
| 372 | (hack-dir-local-variables-non-file-buffer)) | ||
| 372 | 373 | ||
| 373 | (defun log-edit-hide-buf (&optional buf where) | 374 | (defun log-edit-hide-buf (&optional buf where) |
| 374 | (when (setq buf (get-buffer (or buf log-edit-files-buf))) | 375 | (when (setq buf (get-buffer (or buf log-edit-files-buf))) |
diff --git a/lisp/log-view.el b/lisp/log-view.el index 6fbe8429671..5c454ead5fc 100644 --- a/lisp/log-view.el +++ b/lisp/log-view.el | |||
| @@ -255,7 +255,8 @@ The match group number 1 should match the revision number itself.") | |||
| 255 | 'log-view-beginning-of-defun) | 255 | 'log-view-beginning-of-defun) |
| 256 | (set (make-local-variable 'end-of-defun-function) | 256 | (set (make-local-variable 'end-of-defun-function) |
| 257 | 'log-view-end-of-defun) | 257 | 'log-view-end-of-defun) |
| 258 | (set (make-local-variable 'cvs-minor-wrap-function) 'log-view-minor-wrap)) | 258 | (set (make-local-variable 'cvs-minor-wrap-function) 'log-view-minor-wrap) |
| 259 | (hack-dir-local-variables-non-file-buffer)) | ||
| 259 | 260 | ||
| 260 | ;;;; | 261 | ;;;; |
| 261 | ;;;; Navigation | 262 | ;;;; Navigation |
diff --git a/lisp/mail/metamail.el b/lisp/mail/metamail.el index 64c7c57f8db..47326b636a1 100644 --- a/lisp/mail/metamail.el +++ b/lisp/mail/metamail.el | |||
| @@ -40,7 +40,6 @@ | |||
| 40 | (defgroup metamail nil | 40 | (defgroup metamail nil |
| 41 | "Metamail interface for Emacs." | 41 | "Metamail interface for Emacs." |
| 42 | :group 'mail | 42 | :group 'mail |
| 43 | :group 'hypermedia | ||
| 44 | :group 'processes) | 43 | :group 'processes) |
| 45 | 44 | ||
| 46 | (defcustom metamail-program-name "metamail" | 45 | (defcustom metamail-program-name "metamail" |
diff --git a/lisp/mail/rfc822.el b/lisp/mail/rfc822.el index e1e6932a560..2bdf16eff96 100644 --- a/lisp/mail/rfc822.el +++ b/lisp/mail/rfc822.el | |||
| @@ -290,32 +290,36 @@ | |||
| 290 | (replace-match "\\1 " t)) | 290 | (replace-match "\\1 " t)) |
| 291 | 291 | ||
| 292 | (goto-char (point-min)) | 292 | (goto-char (point-min)) |
| 293 | (let ((list ()) | 293 | ;; Give `rfc822-address-start' a non-nil initial value to |
| 294 | tem | 294 | ;; prevent `rfc822-bad-address' from raising a |
| 295 | ;; This is for rfc822-bad-address. Give it a non-nil | 295 | ;; `wrong-type-argument' error. |
| 296 | ;; initial value to prevent rfc822-bad-address from | 296 | (let* ((rfc822-address-start (point)) |
| 297 | ;; raising a wrong-type-argument error | 297 | list tem |
| 298 | (rfc822-address-start (point))) | 298 | (err |
| 299 | (catch 'address ; this is for rfc822-bad-address | 299 | (catch 'address |
| 300 | (rfc822-nuke-whitespace) | 300 | ;; Note that `rfc822-nuke-whitespace' and |
| 301 | (while (not (eobp)) | 301 | ;; `rfc822-looking-at' can throw. |
| 302 | (setq rfc822-address-start (point)) | 302 | (rfc822-nuke-whitespace) |
| 303 | (setq tem | 303 | (while (not (eobp)) |
| 304 | (cond ((rfc822-looking-at ?\,) | 304 | (setq rfc822-address-start (point)) |
| 305 | nil) | 305 | (setq tem |
| 306 | ((looking-at "[][\000-\037@;:\\.>)]") | 306 | (cond ((rfc822-looking-at ?\,) |
| 307 | (forward-char) | 307 | nil) |
| 308 | (rfc822-bad-address | 308 | ((looking-at "[][\000-\037@;:\\.>)]") |
| 309 | (format "Strange character \\%c found" | 309 | (forward-char) |
| 310 | (preceding-char)))) | 310 | (catch 'address ; For rfc822-bad-address |
| 311 | (t | 311 | (rfc822-bad-address |
| 312 | (rfc822-addresses-1 t)))) | 312 | (format "Strange character \\%c found" |
| 313 | (cond ((null tem)) | 313 | (preceding-char))))) |
| 314 | ((stringp tem) | 314 | (t |
| 315 | (setq list (cons tem list))) | 315 | (rfc822-addresses-1 t)))) |
| 316 | (t | 316 | (cond ((null tem)) |
| 317 | (setq list (nconc (nreverse tem) list))))) | 317 | ((stringp tem) |
| 318 | (nreverse list)))) | 318 | (setq list (cons tem list))) |
| 319 | (t | ||
| 320 | (setq list (nconc (nreverse tem) list))))) | ||
| 321 | nil))) | ||
| 322 | (nreverse (append (if err (list err)) list)))) | ||
| 319 | (and buf (kill-buffer buf)))))) | 323 | (and buf (kill-buffer buf)))))) |
| 320 | 324 | ||
| 321 | (provide 'rfc822) | 325 | (provide 'rfc822) |
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index 83d5e391ffd..4405249d981 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2009-12-01 Bill Wohler <wohler@newt.com> | 5 | 2009-12-01 Bill Wohler <wohler@newt.com> |
| 2 | 6 | ||
| 3 | * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format. | 7 | * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format. |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 6e468386749..336ffdadd09 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -676,6 +676,7 @@ | |||
| 676 | "Accessing remote files and directories using FTP | 676 | "Accessing remote files and directories using FTP |
| 677 | made as simple and transparent as possible." | 677 | made as simple and transparent as possible." |
| 678 | :group 'files | 678 | :group 'files |
| 679 | :group 'comm | ||
| 679 | :prefix "ange-ftp-") | 680 | :prefix "ange-ftp-") |
| 680 | 681 | ||
| 681 | (defcustom ange-ftp-name-format | 682 | (defcustom ange-ftp-name-format |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 3a5fa8c30a6..261b765eaeb 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -215,7 +215,8 @@ | |||
| 215 | "Use a web browser to look at a URL." | 215 | "Use a web browser to look at a URL." |
| 216 | :prefix "browse-url-" | 216 | :prefix "browse-url-" |
| 217 | :link '(emacs-commentary-link "browse-url") | 217 | :link '(emacs-commentary-link "browse-url") |
| 218 | :group 'hypermedia) | 218 | :group 'external |
| 219 | :group 'comm) | ||
| 219 | 220 | ||
| 220 | ;;;###autoload | 221 | ;;;###autoload |
| 221 | (defcustom browse-url-browser-function | 222 | (defcustom browse-url-browser-function |
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el index fd8c1061bcb..182758aaffb 100644 --- a/lisp/net/goto-addr.el +++ b/lisp/net/goto-addr.el | |||
| @@ -76,7 +76,7 @@ | |||
| 76 | (defgroup goto-address nil | 76 | (defgroup goto-address nil |
| 77 | "Click to browse URL or to send to e-mail address." | 77 | "Click to browse URL or to send to e-mail address." |
| 78 | :group 'mouse | 78 | :group 'mouse |
| 79 | :group 'hypermedia) | 79 | :group 'comm) |
| 80 | 80 | ||
| 81 | 81 | ||
| 82 | ;; I don't expect users to want fontify'ing without highlighting. | 82 | ;; I don't expect users to want fontify'ing without highlighting. |
diff --git a/lisp/net/hmac-def.el b/lisp/net/hmac-def.el index e388f698100..9cbb919abcc 100644 --- a/lisp/net/hmac-def.el +++ b/lisp/net/hmac-def.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Copyright (C) 1999, 2001, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999, 2001, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp> | 5 | ;; Author: Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp> |
| 6 | ;; Keywords: HMAC, RFC 2104 | 6 | ;; Keywords: HMAC, RFC-2104 |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
diff --git a/lisp/net/hmac-md5.el b/lisp/net/hmac-md5.el index 86d149ffaae..9bda79d36f0 100644 --- a/lisp/net/hmac-md5.el +++ b/lisp/net/hmac-md5.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Copyright (C) 1999, 2001, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999, 2001, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp> | 5 | ;; Author: Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp> |
| 6 | ;; Keywords: HMAC, RFC 2104, HMAC-MD5, MD5, KEYED-MD5, CRAM-MD5 | 6 | ;; Keywords: HMAC, RFC-2104, HMAC-MD5, MD5, KEYED-MD5, CRAM-MD5 |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
diff --git a/lisp/net/tramp-imap.el b/lisp/net/tramp-imap.el index d36569b5c23..92dbb4fef3a 100644 --- a/lisp/net/tramp-imap.el +++ b/lisp/net/tramp-imap.el | |||
| @@ -168,7 +168,7 @@ Operations not mentioned here will be handled by the default Emacs primitives.") | |||
| 168 | (defgroup tramp-imap nil | 168 | (defgroup tramp-imap nil |
| 169 | "Tramp over IMAP configuration." | 169 | "Tramp over IMAP configuration." |
| 170 | :version "23.2" | 170 | :version "23.2" |
| 171 | :group 'applications) | 171 | :group 'tramp) |
| 172 | 172 | ||
| 173 | (defcustom tramp-imap-subject-marker "tramp-imap-subject-marker" | 173 | (defcustom tramp-imap-subject-marker "tramp-imap-subject-marker" |
| 174 | "The subject marker that Tramp-IMAP will use." | 174 | "The subject marker that Tramp-IMAP will use." |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index c029f073724..8a3ec552d4d 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -176,6 +176,7 @@ | |||
| 176 | (defgroup tramp nil | 176 | (defgroup tramp nil |
| 177 | "Edit remote files with a combination of rsh and rcp or similar programs." | 177 | "Edit remote files with a combination of rsh and rcp or similar programs." |
| 178 | :group 'files | 178 | :group 'files |
| 179 | :group 'comm | ||
| 179 | :version "22.1") | 180 | :version "22.1") |
| 180 | 181 | ||
| 181 | ;; Maybe we need once a real Tramp mode, with key bindings etc. | 182 | ;; Maybe we need once a real Tramp mode, with key bindings etc. |
diff --git a/lisp/net/xesam.el b/lisp/net/xesam.el index 35df085bc57..03c188006d0 100644 --- a/lisp/net/xesam.el +++ b/lisp/net/xesam.el | |||
| @@ -151,7 +151,7 @@ | |||
| 151 | (defgroup xesam nil | 151 | (defgroup xesam nil |
| 152 | "Xesam compatible interface to search engines." | 152 | "Xesam compatible interface to search engines." |
| 153 | :group 'extensions | 153 | :group 'extensions |
| 154 | :group 'hypermedia | 154 | :group 'comm |
| 155 | :version "23.1") | 155 | :version "23.1") |
| 156 | 156 | ||
| 157 | (defcustom xesam-query-type 'user-query | 157 | (defcustom xesam-query-type 'user-query |
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 8919d920c9d..5eb9840a4ca 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el | |||
| @@ -45,8 +45,7 @@ | |||
| 45 | 45 | ||
| 46 | (defgroup nxml nil | 46 | (defgroup nxml nil |
| 47 | "New XML editing mode." | 47 | "New XML editing mode." |
| 48 | :group 'languages | 48 | :group 'languages) |
| 49 | :group 'wp) | ||
| 50 | 49 | ||
| 51 | (defgroup nxml-faces nil | 50 | (defgroup nxml-faces nil |
| 52 | "Faces for XML syntax highlighting." | 51 | "Faces for XML syntax highlighting." |
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 7ce303b5add..b70fb150735 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * org.el (org): Remove from hypermedia group. | ||
| 4 | |||
| 5 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * Branch for 23.2. | ||
| 8 | |||
| 1 | 2010-02-15 Chong Yidong <cyd@stupidchicken.com> | 9 | 2010-02-15 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 10 | ||
| 3 | * org-freemind.el (org-freemind-from-org-mode-node) | 11 | * org-freemind.el (org-freemind-from-org-mode-node) |
diff --git a/lisp/org/org.el b/lisp/org/org.el index a404551f3cb..54025f4d83c 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -134,7 +134,6 @@ With prefix arg HERE, insert it at point." | |||
| 134 | "Outline-based notes management and organizer." | 134 | "Outline-based notes management and organizer." |
| 135 | :tag "Org" | 135 | :tag "Org" |
| 136 | :group 'outlines | 136 | :group 'outlines |
| 137 | :group 'hypermedia | ||
| 138 | :group 'calendar) | 137 | :group 'calendar) |
| 139 | 138 | ||
| 140 | (defcustom org-mode-hook nil | 139 | (defcustom org-mode-hook nil |
diff --git a/lisp/outline.el b/lisp/outline.el index b5d3d798714..5b10de231f2 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | (defgroup outlines nil | 41 | (defgroup outlines nil |
| 42 | "Support for hierarchical outlining." | 42 | "Support for hierarchical outlining." |
| 43 | :prefix "outline-" | 43 | :prefix "outline-" |
| 44 | :group 'editing) | 44 | :group 'wp) |
| 45 | 45 | ||
| 46 | (defcustom outline-regexp "[*\^L]+" | 46 | (defcustom outline-regexp "[*\^L]+" |
| 47 | "Regular expression to match the beginning of a heading. | 47 | "Regular expression to match the beginning of a heading. |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 0efac03f7d5..7c7397a52bc 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -1497,7 +1497,7 @@ Please send all bug fixes and enhancements to | |||
| 1497 | "Support for printing and PostScript." | 1497 | "Support for printing and PostScript." |
| 1498 | :tag "PostScript" | 1498 | :tag "PostScript" |
| 1499 | :version "20" | 1499 | :version "20" |
| 1500 | :group 'emacs) | 1500 | :group 'external) |
| 1501 | 1501 | ||
| 1502 | (defgroup ps-print nil | 1502 | (defgroup ps-print nil |
| 1503 | "PostScript generator for Emacs." | 1503 | "PostScript generator for Emacs." |
diff --git a/lisp/reveal.el b/lisp/reveal.el index 9838ade89f1..ff5c8807de5 100644 --- a/lisp/reveal.el +++ b/lisp/reveal.el | |||
| @@ -49,7 +49,7 @@ | |||
| 49 | 49 | ||
| 50 | (defgroup reveal nil | 50 | (defgroup reveal nil |
| 51 | "Reveal hidden text on the fly." | 51 | "Reveal hidden text on the fly." |
| 52 | :group 'editing) | 52 | :group 'convenience) |
| 53 | 53 | ||
| 54 | (defcustom reveal-around-mark t | 54 | (defcustom reveal-around-mark t |
| 55 | "Reveal text around the mark, if active." | 55 | "Reveal text around the mark, if active." |
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index 2673ee15457..e4ed2c8a051 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | (defgroup picture nil | 34 | (defgroup picture nil |
| 35 | "Picture mode --- editing using quarter-plane screen model." | 35 | "Picture mode --- editing using quarter-plane screen model." |
| 36 | :prefix "picture-" | 36 | :prefix "picture-" |
| 37 | :group 'editing) | 37 | :group 'wp) |
| 38 | 38 | ||
| 39 | (defcustom picture-rectangle-ctl ?+ | 39 | (defcustom picture-rectangle-ctl ?+ |
| 40 | "*Character `picture-draw-rectangle' uses for top left corners." | 40 | "*Character `picture-draw-rectangle' uses for top left corners." |
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 44933bff327..3e092374207 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -640,14 +640,10 @@ | |||
| 640 | ;;; | 640 | ;;; |
| 641 | 641 | ||
| 642 | (defgroup table nil | 642 | (defgroup table nil |
| 643 | "Text based table manipulation utilities. | 643 | "Text based table manipulation utilities." |
| 644 | See `table-insert' for examples about how to use." | ||
| 645 | :tag "Table" | 644 | :tag "Table" |
| 646 | :prefix "table-" | 645 | :prefix "table-" |
| 647 | :group 'editing | ||
| 648 | :group 'wp | 646 | :group 'wp |
| 649 | :group 'paragraphs | ||
| 650 | :group 'fill | ||
| 651 | :version "22.1") | 647 | :version "22.1") |
| 652 | 648 | ||
| 653 | (defgroup table-hooks nil | 649 | (defgroup table-hooks nil |
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 75897a2cf07..51040824b20 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | "Normal hook run when entering Text mode and many related modes." | 32 | "Normal hook run when entering Text mode and many related modes." |
| 33 | :type 'hook | 33 | :type 'hook |
| 34 | :options '(turn-on-auto-fill turn-on-flyspell) | 34 | :options '(turn-on-auto-fill turn-on-flyspell) |
| 35 | :group 'data) | 35 | :group 'wp) |
| 36 | 36 | ||
| 37 | (defvar text-mode-variant nil | 37 | (defvar text-mode-variant nil |
| 38 | "Non-nil if this buffer's major mode is a variant of Text mode. | 38 | "Non-nil if this buffer's major mode is a variant of Text mode. |
diff --git a/lisp/uniquify.el b/lisp/uniquify.el index ddf15e243c4..27093042efe 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el | |||
| @@ -89,7 +89,7 @@ | |||
| 89 | 89 | ||
| 90 | (defgroup uniquify nil | 90 | (defgroup uniquify nil |
| 91 | "Unique buffer names dependent on file name." | 91 | "Unique buffer names dependent on file name." |
| 92 | :group 'applications) | 92 | :group 'files) |
| 93 | 93 | ||
| 94 | 94 | ||
| 95 | (defcustom uniquify-buffer-name-style nil | 95 | (defcustom uniquify-buffer-name-style nil |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 2a8c6ebe25b..7309402a848 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * url-vars.el (url): Put in comm group. | ||
| 4 | |||
| 5 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * Branch for 23.2. | ||
| 8 | |||
| 1 | 2010-01-23 Chong Yidong <cyd@stupidchicken.com> | 9 | 2010-01-23 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 10 | ||
| 3 | * url-util.el: Require url-vars (Bug#5459). | 11 | * url-util.el: Require url-vars (Bug#5459). |
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 2062f482ede..1b9fd7b76cc 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | (defgroup url nil | 30 | (defgroup url nil |
| 31 | "Uniform Resource Locator tool." | 31 | "Uniform Resource Locator tool." |
| 32 | :version "22.1" | 32 | :version "22.1" |
| 33 | :group 'hypermedia) | 33 | :group 'comm) |
| 34 | 34 | ||
| 35 | (defgroup url-file nil | 35 | (defgroup url-file nil |
| 36 | "URL storage." | 36 | "URL storage." |
diff --git a/lisp/vc-annotate.el b/lisp/vc-annotate.el index 71839443553..1878fe8740f 100644 --- a/lisp/vc-annotate.el +++ b/lisp/vc-annotate.el | |||
| @@ -162,7 +162,8 @@ menu items." | |||
| 162 | (remove-from-invisibility-spec 'foo) | 162 | (remove-from-invisibility-spec 'foo) |
| 163 | (set (make-local-variable 'truncate-lines) t) | 163 | (set (make-local-variable 'truncate-lines) t) |
| 164 | (set (make-local-variable 'font-lock-defaults) | 164 | (set (make-local-variable 'font-lock-defaults) |
| 165 | '(vc-annotate-font-lock-keywords t))) | 165 | '(vc-annotate-font-lock-keywords t)) |
| 166 | (hack-dir-local-variables-non-file-buffer)) | ||
| 166 | 167 | ||
| 167 | (defun vc-annotate-toggle-annotation-visibility () | 168 | (defun vc-annotate-toggle-annotation-visibility () |
| 168 | "Toggle whether or not the annotation is visible." | 169 | "Toggle whether or not the annotation is visible." |
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el index b0dbb8ec192..75845f0aa2c 100644 --- a/lisp/vc-bzr.el +++ b/lisp/vc-bzr.el | |||
| @@ -758,9 +758,11 @@ stream. Standard error output is discarded." | |||
| 758 | 758 | ||
| 759 | (define-key map [down-mouse-3] 'vc-bzr-shelve-menu) | 759 | (define-key map [down-mouse-3] 'vc-bzr-shelve-menu) |
| 760 | (define-key map "\C-k" 'vc-bzr-shelve-delete-at-point) | 760 | (define-key map "\C-k" 'vc-bzr-shelve-delete-at-point) |
| 761 | ;; (define-key map "=" 'vc-bzr-shelve-show-at-point) | 761 | (define-key map "=" 'vc-bzr-shelve-show-at-point) |
| 762 | ;; (define-key map "\C-m" 'vc-bzr-shelve-show-at-point) | 762 | (define-key map "\C-m" 'vc-bzr-shelve-show-at-point) |
| 763 | (define-key map "A" 'vc-bzr-shelve-apply-and-keep-at-point) | ||
| 763 | (define-key map "P" 'vc-bzr-shelve-apply-at-point) | 764 | (define-key map "P" 'vc-bzr-shelve-apply-at-point) |
| 765 | (define-key map "S" 'vc-bzr-shelve-snapshot) | ||
| 764 | map)) | 766 | map)) |
| 765 | 767 | ||
| 766 | (defvar vc-bzr-shelve-menu-map | 768 | (defvar vc-bzr-shelve-menu-map |
| @@ -768,16 +770,22 @@ stream. Standard error output is discarded." | |||
| 768 | (define-key map [de] | 770 | (define-key map [de] |
| 769 | '(menu-item "Delete shelf" vc-bzr-shelve-delete-at-point | 771 | '(menu-item "Delete shelf" vc-bzr-shelve-delete-at-point |
| 770 | :help "Delete the current shelf")) | 772 | :help "Delete the current shelf")) |
| 773 | (define-key map [ap] | ||
| 774 | '(menu-item "Apply and keep shelf" vc-bzr-shelve-apply-and-keep-at-point | ||
| 775 | :help "Apply the current shelf and keep it")) | ||
| 771 | (define-key map [po] | 776 | (define-key map [po] |
| 772 | '(menu-item "Apply and remove shelf (pop)" vc-bzr-shelve-apply-at-point | 777 | '(menu-item "Apply and remove shelf (pop)" vc-bzr-shelve-apply-at-point |
| 773 | :help "Apply the current shelf and remove it")) | 778 | :help "Apply the current shelf and remove it")) |
| 774 | ;; (define-key map [sh] | 779 | (define-key map [sh] |
| 775 | ;; '(menu-item "Show shelve" vc-bzr-shelve-show-at-point | 780 | '(menu-item "Show shelve" vc-bzr-shelve-show-at-point |
| 776 | ;; :help "Show the contents of the current shelve")) | 781 | :help "Show the contents of the current shelve")) |
| 777 | map)) | 782 | map)) |
| 778 | 783 | ||
| 779 | (defvar vc-bzr-extra-menu-map | 784 | (defvar vc-bzr-extra-menu-map |
| 780 | (let ((map (make-sparse-keymap))) | 785 | (let ((map (make-sparse-keymap))) |
| 786 | (define-key map [bzr-sn] | ||
| 787 | '(menu-item "Shelve a snapshot" vc-bzr-shelve-snapshot | ||
| 788 | :help "Shelve the current state of the tree and keep the current state")) | ||
| 781 | (define-key map [bzr-sh] | 789 | (define-key map [bzr-sh] |
| 782 | '(menu-item "Shelve..." vc-bzr-shelve | 790 | '(menu-item "Shelve..." vc-bzr-shelve |
| 783 | :help "Shelve changes")) | 791 | :help "Shelve changes")) |
| @@ -864,16 +872,16 @@ stream. Standard error output is discarded." | |||
| 864 | (vc-bzr-command "shelve" nil 0 nil "--all" "-m" name) | 872 | (vc-bzr-command "shelve" nil 0 nil "--all" "-m" name) |
| 865 | (vc-resynch-buffer root t t)))) | 873 | (vc-resynch-buffer root t t)))) |
| 866 | 874 | ||
| 867 | ;; (defun vc-bzr-shelve-show (name) | 875 | (defun vc-bzr-shelve-show (name) |
| 868 | ;; "Show the contents of shelve NAME." | 876 | "Show the contents of shelve NAME." |
| 869 | ;; (interactive "sShelve name: ") | 877 | (interactive "sShelve name: ") |
| 870 | ;; (vc-setup-buffer "*vc-bzr-shelve*") | 878 | (vc-setup-buffer "*vc-bzr-shelve*") |
| 871 | ;; ;; FIXME: how can you show the contents of a shelf? | 879 | ;; FIXME: how can you show the contents of a shelf? |
| 872 | ;; (vc-bzr-command "shelve" "*vc-bzr-shelve*" 'async nil name) | 880 | (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 'async nil "--preview" name) |
| 873 | ;; (set-buffer "*vc-bzr-shelve*") | 881 | (set-buffer "*vc-bzr-shelve*") |
| 874 | ;; (diff-mode) | 882 | (diff-mode) |
| 875 | ;; (setq buffer-read-only t) | 883 | (setq buffer-read-only t) |
| 876 | ;; (pop-to-buffer (current-buffer))) | 884 | (pop-to-buffer (current-buffer))) |
| 877 | 885 | ||
| 878 | (defun vc-bzr-shelve-apply (name) | 886 | (defun vc-bzr-shelve-apply (name) |
| 879 | "Apply shelve NAME and remove it afterwards." | 887 | "Apply shelve NAME and remove it afterwards." |
| @@ -881,6 +889,23 @@ stream. Standard error output is discarded." | |||
| 881 | (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" name) | 889 | (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" name) |
| 882 | (vc-resynch-buffer (vc-bzr-root default-directory) t t)) | 890 | (vc-resynch-buffer (vc-bzr-root default-directory) t t)) |
| 883 | 891 | ||
| 892 | (defun vc-bzr-shelve-apply-and-keep (name) | ||
| 893 | "Apply shelve NAME and keep it afterwards." | ||
| 894 | (interactive "sApply (and keep) shelf: ") | ||
| 895 | (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" "--keep" name) | ||
| 896 | (vc-resynch-buffer (vc-bzr-root default-directory) t t)) | ||
| 897 | |||
| 898 | (defun vc-bzr-shelve-snapshot () | ||
| 899 | "Create a stash with the current tree state." | ||
| 900 | (interactive) | ||
| 901 | (vc-bzr-command "shelve" nil 0 nil "--all" "-m" | ||
| 902 | (let ((ct (current-time))) | ||
| 903 | (concat | ||
| 904 | (format-time-string "Snapshot on %Y-%m-%d" ct) | ||
| 905 | (format-time-string " at %H:%M" ct)))) | ||
| 906 | (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" "--keep") | ||
| 907 | (vc-resynch-buffer (vc-bzr-root default-directory) t t)) | ||
| 908 | |||
| 884 | (defun vc-bzr-shelve-list () | 909 | (defun vc-bzr-shelve-list () |
| 885 | (with-temp-buffer | 910 | (with-temp-buffer |
| 886 | (vc-bzr-command "shelve" (current-buffer) 1 nil "--list" "-q") | 911 | (vc-bzr-command "shelve" (current-buffer) 1 nil "--list" "-q") |
| @@ -905,14 +930,18 @@ stream. Standard error output is discarded." | |||
| 905 | (vc-bzr-command "unshelve" nil 0 nil "--delete-only" shelve) | 930 | (vc-bzr-command "unshelve" nil 0 nil "--delete-only" shelve) |
| 906 | (vc-dir-refresh)))) | 931 | (vc-dir-refresh)))) |
| 907 | 932 | ||
| 908 | ;; (defun vc-bzr-shelve-show-at-point () | 933 | (defun vc-bzr-shelve-show-at-point () |
| 909 | ;; (interactive) | 934 | (interactive) |
| 910 | ;; (vc-bzr-shelve-show (vc-bzr-shelve-get-at-point (point)))) | 935 | (vc-bzr-shelve-show (vc-bzr-shelve-get-at-point (point)))) |
| 911 | 936 | ||
| 912 | (defun vc-bzr-shelve-apply-at-point () | 937 | (defun vc-bzr-shelve-apply-at-point () |
| 913 | (interactive) | 938 | (interactive) |
| 914 | (vc-bzr-shelve-apply (vc-bzr-shelve-get-at-point (point)))) | 939 | (vc-bzr-shelve-apply (vc-bzr-shelve-get-at-point (point)))) |
| 915 | 940 | ||
| 941 | (defun vc-bzr-shelve-apply-and-keep-at-point () | ||
| 942 | (interactive) | ||
| 943 | (vc-bzr-shelve-apply-and-keep (vc-bzr-shelve-get-at-point (point)))) | ||
| 944 | |||
| 916 | (defun vc-bzr-shelve-menu (e) | 945 | (defun vc-bzr-shelve-menu (e) |
| 917 | (interactive "e") | 946 | (interactive "e") |
| 918 | (vc-dir-at-event e (popup-menu vc-bzr-shelve-menu-map e))) | 947 | (vc-dir-at-event e (popup-menu vc-bzr-shelve-menu-map e))) |
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el index 2f661e8becf..a0350eb3013 100644 --- a/lisp/vc-dir.el +++ b/lisp/vc-dir.el | |||
| @@ -938,6 +938,7 @@ the *vc-dir* buffer. | |||
| 938 | ;; Make sure that if the directory buffer is killed, the update | 938 | ;; Make sure that if the directory buffer is killed, the update |
| 939 | ;; process running in the background is also killed. | 939 | ;; process running in the background is also killed. |
| 940 | (add-hook 'kill-buffer-query-functions 'vc-dir-kill-query nil t) | 940 | (add-hook 'kill-buffer-query-functions 'vc-dir-kill-query nil t) |
| 941 | (hack-dir-local-variables-non-file-buffer) | ||
| 941 | (vc-dir-refresh))) | 942 | (vc-dir-refresh))) |
| 942 | 943 | ||
| 943 | (defun vc-dir-headers (backend dir) | 944 | (defun vc-dir-headers (backend dir) |
diff --git a/lisp/vc-git.el b/lisp/vc-git.el index d645a4c05ba..eab3b650fa4 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el | |||
| @@ -587,7 +587,7 @@ or an empty string if none." | |||
| 587 | '("log" "--no-color") | 587 | '("log" "--no-color") |
| 588 | (when shortlog | 588 | (when shortlog |
| 589 | '("--graph" "--decorate" "--date=short" | 589 | '("--graph" "--decorate" "--date=short" |
| 590 | "--pretty=format:%d%h %ad %s" "--abbrev-commit")) | 590 | "--pretty=tformat:%d%h %ad %s" "--abbrev-commit")) |
| 591 | (when limit (list "-n" (format "%s" limit))) | 591 | (when limit (list "-n" (format "%s" limit))) |
| 592 | (when start-revision (list start-revision)) | 592 | (when start-revision (list start-revision)) |
| 593 | '("--"))))))) | 593 | '("--"))))))) |
| @@ -673,7 +673,8 @@ or BRANCH^ (where \"^\" can be repeated)." | |||
| 673 | (with-temp-buffer | 673 | (with-temp-buffer |
| 674 | (vc-git-command t nil nil "for-each-ref" "--format=%(refname)") | 674 | (vc-git-command t nil nil "for-each-ref" "--format=%(refname)") |
| 675 | (goto-char (point-min)) | 675 | (goto-char (point-min)) |
| 676 | (while (re-search-forward "^refs/\\(heads\\|tags\\)/\\(.*\\)$" nil t) | 676 | (while (re-search-forward "^refs/\\(heads\\|tags\\|remotes\\)/\\(.*\\)$" |
| 677 | nil t) | ||
| 677 | (push (match-string 2) table))) | 678 | (push (match-string 2) table))) |
| 678 | table)) | 679 | table)) |
| 679 | 680 | ||
| @@ -703,7 +704,8 @@ or BRANCH^ (where \"^\" can be repeated)." | |||
| 703 | (when (looking-at "\\([0-9a-f^][0-9a-f]+\\) \\(\\([^(]+\\) \\)?") | 704 | (when (looking-at "\\([0-9a-f^][0-9a-f]+\\) \\(\\([^(]+\\) \\)?") |
| 704 | (let ((revision (match-string-no-properties 1))) | 705 | (let ((revision (match-string-no-properties 1))) |
| 705 | (if (match-beginning 2) | 706 | (if (match-beginning 2) |
| 706 | (cons revision (expand-file-name (match-string-no-properties 3))) | 707 | (cons revision (expand-file-name (match-string-no-properties 3) |
| 708 | (vc-git-root default-directory))) | ||
| 707 | revision))))) | 709 | revision))))) |
| 708 | 710 | ||
| 709 | ;;; TAG SYSTEM | 711 | ;;; TAG SYSTEM |
diff --git a/lisp/vcursor.el b/lisp/vcursor.el index 3573a86ad49..9e8fbf431f1 100644 --- a/lisp/vcursor.el +++ b/lisp/vcursor.el | |||
| @@ -325,7 +325,7 @@ | |||
| 325 | (defgroup vcursor nil | 325 | (defgroup vcursor nil |
| 326 | "Manipulate an alternative (\"virtual\") cursor." | 326 | "Manipulate an alternative (\"virtual\") cursor." |
| 327 | :prefix "vcursor-" | 327 | :prefix "vcursor-" |
| 328 | :group 'editing) | 328 | :group 'convenience) |
| 329 | 329 | ||
| 330 | (defface vcursor | 330 | (defface vcursor |
| 331 | '((((class color)) (:foreground "blue" :background "cyan" :underline t)) | 331 | '((((class color)) (:foreground "blue" :background "cyan" :underline t)) |
diff --git a/lisp/version.el b/lisp/version.el index 905733a56b3..5cd0cc8d634 100644 --- a/lisp/version.el +++ b/lisp/version.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | (defconst emacs-copyright "Copyright (C) 2010 Free Software Foundation, Inc." "\ | 32 | (defconst emacs-copyright "Copyright (C) 2010 Free Software Foundation, Inc." "\ |
| 33 | Short copyright string for this version of Emacs.") | 33 | Short copyright string for this version of Emacs.") |
| 34 | 34 | ||
| 35 | (defconst emacs-version "23.1.93" "\ | 35 | (defconst emacs-version "24.0.50" "\ |
| 36 | Version numbers of this version of Emacs.") | 36 | Version numbers of this version of Emacs.") |
| 37 | 37 | ||
| 38 | (defconst emacs-major-version (progn (string-match "^[0-9]+" emacs-version) (string-to-number (match-string 0 emacs-version))) "\ | 38 | (defconst emacs-major-version (progn (string-match "^[0-9]+" emacs-version) (string-to-number (match-string 0 emacs-version))) "\ |
diff --git a/lisp/view.el b/lisp/view.el index 219af1b6e1e..63db3452a87 100644 --- a/lisp/view.el +++ b/lisp/view.el | |||
| @@ -48,8 +48,7 @@ | |||
| 48 | "Peruse file or buffer without editing." | 48 | "Peruse file or buffer without editing." |
| 49 | :link '(function-link view-mode) | 49 | :link '(function-link view-mode) |
| 50 | :link '(custom-manual "(emacs)Misc File Ops") | 50 | :link '(custom-manual "(emacs)Misc File Ops") |
| 51 | :group 'wp | 51 | :group 'wp) |
| 52 | :group 'editing) | ||
| 53 | 52 | ||
| 54 | (defcustom view-highlight-face 'highlight | 53 | (defcustom view-highlight-face 'highlight |
| 55 | "The face used for highlighting the match found by View mode search." | 54 | "The face used for highlighting the match found by View mode search." |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 183698a28f3..79ce9a330d4 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -378,8 +378,7 @@ | |||
| 378 | "Visualize blanks (TAB, (HARD) SPACE and NEWLINE)." | 378 | "Visualize blanks (TAB, (HARD) SPACE and NEWLINE)." |
| 379 | :link '(emacs-library-link :tag "Source Lisp File" "whitespace.el") | 379 | :link '(emacs-library-link :tag "Source Lisp File" "whitespace.el") |
| 380 | :version "23.1" | 380 | :version "23.1" |
| 381 | :group 'wp | 381 | :group 'convenience) |
| 382 | :group 'data) | ||
| 383 | 382 | ||
| 384 | 383 | ||
| 385 | (defcustom whitespace-style | 384 | (defcustom whitespace-style |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index a087f17a900..6296a965df9 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -78,8 +78,7 @@ | |||
| 78 | :link '(custom-manual "(widget)Top") | 78 | :link '(custom-manual "(widget)Top") |
| 79 | :link '(emacs-library-link :tag "Lisp File" "widget.el") | 79 | :link '(emacs-library-link :tag "Lisp File" "widget.el") |
| 80 | :prefix "widget-" | 80 | :prefix "widget-" |
| 81 | :group 'extensions | 81 | :group 'extensions) |
| 82 | :group 'hypermedia) | ||
| 83 | 82 | ||
| 84 | (defgroup widget-documentation nil | 83 | (defgroup widget-documentation nil |
| 85 | "Options controlling the display of documentation strings." | 84 | "Options controlling the display of documentation strings." |
| @@ -639,8 +638,7 @@ extension (xpm, xbm, gif, jpg, or png) located in | |||
| 639 | (dolist (elt widget-image-conversion) | 638 | (dolist (elt widget-image-conversion) |
| 640 | (dolist (ext (cdr elt)) | 639 | (dolist (ext (cdr elt)) |
| 641 | (push (list :type (car elt) :file (concat image ext)) specs))) | 640 | (push (list :type (car elt) :file (concat image ext)) specs))) |
| 642 | (setq specs (nreverse specs)) | 641 | (find-image (nreverse specs)))) |
| 643 | (find-image specs))) | ||
| 644 | (t | 642 | (t |
| 645 | ;; Oh well. | 643 | ;; Oh well. |
| 646 | nil))) | 644 | nil))) |
| @@ -657,7 +655,7 @@ IMAGE should either be an image or an image file name sans extension | |||
| 657 | 655 | ||
| 658 | Optional arguments DOWN and INACTIVE are used instead of IMAGE when the | 656 | Optional arguments DOWN and INACTIVE are used instead of IMAGE when the |
| 659 | button is pressed or inactive, respectively. These are currently ignored." | 657 | button is pressed or inactive, respectively. These are currently ignored." |
| 660 | (if (and (display-graphic-p) | 658 | (if (and (featurep 'image) |
| 661 | (setq image (widget-image-find image))) | 659 | (setq image (widget-image-find image))) |
| 662 | (progn (widget-put widget :suppress-face t) | 660 | (progn (widget-put widget :suppress-face t) |
| 663 | (insert-image image tag)) | 661 | (insert-image image tag)) |
| @@ -1874,6 +1872,7 @@ by some other text in the `:format' string (if specified)." | |||
| 1874 | :valid-regexp "" | 1872 | :valid-regexp "" |
| 1875 | :error "Field's value doesn't match allowed forms" | 1873 | :error "Field's value doesn't match allowed forms" |
| 1876 | :value-create 'widget-field-value-create | 1874 | :value-create 'widget-field-value-create |
| 1875 | :value-set 'widget-field-value-set | ||
| 1877 | :value-delete 'widget-field-value-delete | 1876 | :value-delete 'widget-field-value-delete |
| 1878 | :value-get 'widget-field-value-get | 1877 | :value-get 'widget-field-value-get |
| 1879 | :match 'widget-field-match) | 1878 | :match 'widget-field-match) |
| @@ -1912,6 +1911,18 @@ the earlier input." | |||
| 1912 | (widget-apply widget :value-get)) | 1911 | (widget-apply widget :value-get)) |
| 1913 | widget)) | 1912 | widget)) |
| 1914 | 1913 | ||
| 1914 | (defun widget-field-value-set (widget value) | ||
| 1915 | "Set an editable text field WIDGET to VALUE" | ||
| 1916 | (let ((from (widget-field-start widget)) | ||
| 1917 | (to (widget-field-text-end widget)) | ||
| 1918 | (buffer (widget-field-buffer widget)) | ||
| 1919 | (size (widget-get widget :size))) | ||
| 1920 | (when (and from to (buffer-live-p buffer)) | ||
| 1921 | (with-current-buffer buffer | ||
| 1922 | (goto-char from) | ||
| 1923 | (delete-char (- to from)) | ||
| 1924 | (insert value))))) | ||
| 1925 | |||
| 1915 | (defun widget-field-value-create (widget) | 1926 | (defun widget-field-value-create (widget) |
| 1916 | "Create an editable text field." | 1927 | "Create an editable text field." |
| 1917 | (let ((size (widget-get widget :size)) | 1928 | (let ((size (widget-get widget :size)) |
| @@ -1949,7 +1960,6 @@ the earlier input." | |||
| 1949 | (let ((from (widget-field-start widget)) | 1960 | (let ((from (widget-field-start widget)) |
| 1950 | (to (widget-field-text-end widget)) | 1961 | (to (widget-field-text-end widget)) |
| 1951 | (buffer (widget-field-buffer widget)) | 1962 | (buffer (widget-field-buffer widget)) |
| 1952 | (size (widget-get widget :size)) | ||
| 1953 | (secret (widget-get widget :secret)) | 1963 | (secret (widget-get widget :secret)) |
| 1954 | (old (current-buffer))) | 1964 | (old (current-buffer))) |
| 1955 | (if (and from to) | 1965 | (if (and from to) |
| @@ -2806,11 +2816,19 @@ Return an alist of (TYPE MATCH)." | |||
| 2806 | ;;; The `visibility' Widget. | 2816 | ;;; The `visibility' Widget. |
| 2807 | 2817 | ||
| 2808 | (define-widget 'visibility 'item | 2818 | (define-widget 'visibility 'item |
| 2809 | "An indicator and manipulator for hidden items." | 2819 | "An indicator and manipulator for hidden items. |
| 2820 | |||
| 2821 | The following properties have special meanings for this widget: | ||
| 2822 | :on-image Image filename or spec to display when the item is visible. | ||
| 2823 | :on Text shown if the \"on\" image is nil or cannot be displayed. | ||
| 2824 | :off-image Image filename or spec to display when the item is hidden. | ||
| 2825 | :off Text shown if the \"off\" image is nil cannot be displayed." | ||
| 2810 | :format "%[%v%]" | 2826 | :format "%[%v%]" |
| 2811 | :button-prefix "" | 2827 | :button-prefix "" |
| 2812 | :button-suffix "" | 2828 | :button-suffix "" |
| 2829 | :on-image "down" | ||
| 2813 | :on "Hide" | 2830 | :on "Hide" |
| 2831 | :off-image "right" | ||
| 2814 | :off "Show" | 2832 | :off "Show" |
| 2815 | :value-create 'widget-visibility-value-create | 2833 | :value-create 'widget-visibility-value-create |
| 2816 | :action 'widget-toggle-action | 2834 | :action 'widget-toggle-action |
| @@ -2818,21 +2836,17 @@ Return an alist of (TYPE MATCH)." | |||
| 2818 | 2836 | ||
| 2819 | (defun widget-visibility-value-create (widget) | 2837 | (defun widget-visibility-value-create (widget) |
| 2820 | ;; Insert text representing the `on' and `off' states. | 2838 | ;; Insert text representing the `on' and `off' states. |
| 2821 | (let ((on (widget-get widget :on)) | 2839 | (let* ((val (widget-value widget)) |
| 2822 | (off (widget-get widget :off))) | 2840 | (text (widget-get widget (if val :on :off))) |
| 2823 | (if on | 2841 | (img (widget-image-find |
| 2824 | (setq on (concat widget-push-button-prefix | 2842 | (widget-get widget (if val :on-image :off-image))))) |
| 2825 | on | 2843 | (widget-image-insert widget |
| 2826 | widget-push-button-suffix)) | 2844 | (if text |
| 2827 | (setq on "")) | 2845 | (concat widget-push-button-prefix text |
| 2828 | (if off | 2846 | widget-push-button-suffix) |
| 2829 | (setq off (concat widget-push-button-prefix | 2847 | "") |
| 2830 | off | 2848 | (if img |
| 2831 | widget-push-button-suffix)) | 2849 | (append img '(:ascent center)))))) |
| 2832 | (setq off "")) | ||
| 2833 | (if (widget-value widget) | ||
| 2834 | (widget-image-insert widget on "down" "down-pushed") | ||
| 2835 | (widget-image-insert widget off "right" "right-pushed")))) | ||
| 2836 | 2850 | ||
| 2837 | ;;; The `documentation-link' Widget. | 2851 | ;;; The `documentation-link' Widget. |
| 2838 | ;; | 2852 | ;; |
| @@ -2935,7 +2949,7 @@ link for that string." | |||
| 2935 | (widget-create-child-and-convert | 2949 | (widget-create-child-and-convert |
| 2936 | widget (widget-get widget :visibility-widget) | 2950 | widget (widget-get widget :visibility-widget) |
| 2937 | :help-echo "Show or hide rest of the documentation." | 2951 | :help-echo "Show or hide rest of the documentation." |
| 2938 | :on "Hide Rest" | 2952 | :on "Hide" |
| 2939 | :off "More" | 2953 | :off "More" |
| 2940 | :always-active t | 2954 | :always-active t |
| 2941 | :action 'widget-parent-action | 2955 | :action 'widget-parent-action |
| @@ -3692,6 +3706,7 @@ example: | |||
| 3692 | (define-widget 'color 'editable-field | 3706 | (define-widget 'color 'editable-field |
| 3693 | "Choose a color name (with sample)." | 3707 | "Choose a color name (with sample)." |
| 3694 | :format "%{%t%}: %v (%{sample%})\n" | 3708 | :format "%{%t%}: %v (%{sample%})\n" |
| 3709 | :value-create 'widget-color-value-create | ||
| 3695 | :size 10 | 3710 | :size 10 |
| 3696 | :tag "Color" | 3711 | :tag "Color" |
| 3697 | :value "black" | 3712 | :value "black" |
| @@ -3700,6 +3715,27 @@ example: | |||
| 3700 | :notify 'widget-color-notify | 3715 | :notify 'widget-color-notify |
| 3701 | :action 'widget-color-action) | 3716 | :action 'widget-color-action) |
| 3702 | 3717 | ||
| 3718 | (defun widget-color-value-create (widget) | ||
| 3719 | (widget-field-value-create widget) | ||
| 3720 | (widget-insert " ") | ||
| 3721 | (widget-create-child-and-convert | ||
| 3722 | widget 'push-button | ||
| 3723 | :tag "Choose" :action 'widget-color--choose-action) | ||
| 3724 | (widget-insert " ")) | ||
| 3725 | |||
| 3726 | (defun widget-color--choose-action (widget &optional event) | ||
| 3727 | (list-colors-display | ||
| 3728 | nil nil | ||
| 3729 | `(lambda (color) | ||
| 3730 | (when (buffer-live-p ,(current-buffer)) | ||
| 3731 | (widget-value-set ',(widget-get widget :parent) color) | ||
| 3732 | (let* ((buf (get-buffer "*Colors*")) | ||
| 3733 | (win (get-buffer-window buf 0))) | ||
| 3734 | (bury-buffer buf) | ||
| 3735 | (and win (> (length (window-list)) 1) | ||
| 3736 | (delete-window win))) | ||
| 3737 | (pop-to-buffer ,(current-buffer)))))) | ||
| 3738 | |||
| 3703 | (defun widget-color-complete (widget) | 3739 | (defun widget-color-complete (widget) |
| 3704 | "Complete the color in WIDGET." | 3740 | "Complete the color in WIDGET." |
| 3705 | (require 'facemenu) ; for facemenu-color-alist | 3741 | (require 'facemenu) ; for facemenu-color-alist |
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 65ef9431939..9bea2c13dbd 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | * xlwmenu.c: | 7 | * xlwmenu.c: |
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 7dd77153ac1..2a2c62eaa31 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-02-19 Eli Zaretskii <eliz@gnu.org> | 5 | 2010-02-19 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * INSTALL: Remove a CVS-specific note. Update for latest versions | 7 | * INSTALL: Remove a CVS-specific note. Update for latest versions |
diff --git a/nextstep/ChangeLog b/nextstep/ChangeLog index 6e296cfc595..f49fa9aa0d5 100644 --- a/nextstep/ChangeLog +++ b/nextstep/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-01-11 Glenn Morris <rgm@gnu.org> | 5 | 2010-01-11 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Cocoa/Emacs.base/Contents/Info.plist: | 7 | * Cocoa/Emacs.base/Contents/Info.plist: |
diff --git a/nextstep/Cocoa/Emacs.base/Contents/Info.plist b/nextstep/Cocoa/Emacs.base/Contents/Info.plist index a208344fd03..c32b85f6b0d 100644 --- a/nextstep/Cocoa/Emacs.base/Contents/Info.plist +++ b/nextstep/Cocoa/Emacs.base/Contents/Info.plist | |||
| @@ -553,7 +553,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 553 | <key>CFBundleExecutable</key> | 553 | <key>CFBundleExecutable</key> |
| 554 | <string>Emacs</string> | 554 | <string>Emacs</string> |
| 555 | <key>CFBundleGetInfoString</key> | 555 | <key>CFBundleGetInfoString</key> |
| 556 | <string>Emacs 23.1.93 Copyright (C) 2010 Free Software Foundation, Inc.</string> | 556 | <string>Emacs 24.0.50 Copyright (C) 2010 Free Software Foundation, Inc.</string> |
| 557 | <key>CFBundleIconFile</key> | 557 | <key>CFBundleIconFile</key> |
| 558 | <string>Emacs.icns</string> | 558 | <string>Emacs.icns</string> |
| 559 | <key>CFBundleIdentifier</key> | 559 | <key>CFBundleIdentifier</key> |
| @@ -566,7 +566,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 566 | <string>APPL</string> | 566 | <string>APPL</string> |
| 567 | <!-- This should be the emacs version number. --> | 567 | <!-- This should be the emacs version number. --> |
| 568 | <key>CFBundleShortVersionString</key> | 568 | <key>CFBundleShortVersionString</key> |
| 569 | <string>23.1.93</string> | 569 | <string>24.0.50</string> |
| 570 | <key>CFBundleSignature</key> | 570 | <key>CFBundleSignature</key> |
| 571 | <string>EMAx</string> | 571 | <string>EMAx</string> |
| 572 | <!-- This SHOULD be a build number. --> | 572 | <!-- This SHOULD be a build number. --> |
diff --git a/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings b/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings index e0e42c66056..197e42cb6fb 100644 --- a/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings +++ b/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Localized versions of Info.plist keys */ | 1 | /* Localized versions of Info.plist keys */ |
| 2 | 2 | ||
| 3 | CFBundleName = "Emacs"; | 3 | CFBundleName = "Emacs"; |
| 4 | CFBundleShortVersionString = "Version 23.1.93"; | 4 | CFBundleShortVersionString = "Version 24.0.50"; |
| 5 | CFBundleGetInfoString = "Emacs version 23.1.93, NS Windowing"; | 5 | CFBundleGetInfoString = "Emacs version 24.0.50, NS Windowing"; |
| 6 | NSHumanReadableCopyright = "Copyright (C) 2010 Free Software Foundation, Inc."; | 6 | NSHumanReadableCopyright = "Copyright (C) 2010 Free Software Foundation, Inc."; |
diff --git a/nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop b/nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop index 588c1b3ce0e..0131becdb62 100644 --- a/nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop +++ b/nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | [Desktop Entry] | 1 | [Desktop Entry] |
| 2 | Encoding=UTF-8 | 2 | Encoding=UTF-8 |
| 3 | Type=Application | 3 | Type=Application |
| 4 | Version=23.1.93 | 4 | Version=24.0.50 |
| 5 | Categories=GNUstep | 5 | Categories=GNUstep |
| 6 | Name=Emacs | 6 | Name=Emacs |
| 7 | Comment=GNU Emacs for NeXT/Open/GNUstep and OS X | 7 | Comment=GNU Emacs for NeXT/Open/GNUstep and OS X |
diff --git a/nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist b/nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist index a3148621b6d..ade3f0117e6 100644 --- a/nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist +++ b/nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ApplicationDescription = "GNU Emacs for GNUstep / OS X"; | 2 | ApplicationDescription = "GNU Emacs for GNUstep / OS X"; |
| 3 | ApplicationIcon = emacs.tiff; | 3 | ApplicationIcon = emacs.tiff; |
| 4 | ApplicationName = Emacs; | 4 | ApplicationName = Emacs; |
| 5 | ApplicationRelease = "23.1.93"; | 5 | ApplicationRelease = "24.0.50"; |
| 6 | Authors = ( | 6 | Authors = ( |
| 7 | "Adrian Robert (GNUstep)", | 7 | "Adrian Robert (GNUstep)", |
| 8 | "Christophe de Dinechin (MacOS X)", | 8 | "Christophe de Dinechin (MacOS X)", |
| @@ -13,7 +13,7 @@ | |||
| 13 | ); | 13 | ); |
| 14 | Copyright = "Copyright (C) 2010 Free Software Foundation, Inc."; | 14 | Copyright = "Copyright (C) 2010 Free Software Foundation, Inc."; |
| 15 | CopyrightDescription = "Released under the GNU General Public License Version 3 or later"; | 15 | CopyrightDescription = "Released under the GNU General Public License Version 3 or later"; |
| 16 | FullVersionID = "Emacs 23.1.93, NS Windowing"; | 16 | FullVersionID = "Emacs 24.0.50, NS Windowing"; |
| 17 | NSExecutable = Emacs; | 17 | NSExecutable = Emacs; |
| 18 | NSIcon = emacs.tiff; | 18 | NSIcon = emacs.tiff; |
| 19 | NSPrincipalClass = NSApplication; | 19 | NSPrincipalClass = NSApplication; |
diff --git a/nt/ChangeLog b/nt/ChangeLog index 624cb960b40..c4fddfee0b7 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-01-13 Martin Rudalics <rudalics@gmx.at> | 5 | 2010-01-13 Martin Rudalics <rudalics@gmx.at> |
| 2 | 6 | ||
| 3 | * emacsclient.rc: Fix format of "LegalCopyright" value. | 7 | * emacsclient.rc: Fix format of "LegalCopyright" value. |
diff --git a/nt/emacs.rc b/nt/emacs.rc index ff8cc421450..253065b47c4 100644 --- a/nt/emacs.rc +++ b/nt/emacs.rc | |||
| @@ -7,8 +7,8 @@ Emacs ICON icons\emacs.ico | |||
| 7 | #endif | 7 | #endif |
| 8 | 8 | ||
| 9 | VS_VERSION_INFO VERSIONINFO | 9 | VS_VERSION_INFO VERSIONINFO |
| 10 | FILEVERSION 23,1,93,0 | 10 | FILEVERSION 24,0,50,0 |
| 11 | PRODUCTVERSION 23,1,93,0 | 11 | PRODUCTVERSION 24,0,50,0 |
| 12 | FILEFLAGSMASK 0x3FL | 12 | FILEFLAGSMASK 0x3FL |
| 13 | #ifdef EMACSDEBUG | 13 | #ifdef EMACSDEBUG |
| 14 | FILEFLAGS 0x1L | 14 | FILEFLAGS 0x1L |
| @@ -25,12 +25,12 @@ BEGIN | |||
| 25 | BEGIN | 25 | BEGIN |
| 26 | VALUE "CompanyName", "Free Software Foundation\0" | 26 | VALUE "CompanyName", "Free Software Foundation\0" |
| 27 | VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0" | 27 | VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0" |
| 28 | VALUE "FileVersion", "23, 1, 93, 0\0" | 28 | VALUE "FileVersion", "24, 0, 50, 0\0" |
| 29 | VALUE "InternalName", "Emacs\0" | 29 | VALUE "InternalName", "Emacs\0" |
| 30 | VALUE "LegalCopyright", "Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010\0" | 30 | VALUE "LegalCopyright", "Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010\0" |
| 31 | VALUE "OriginalFilename", "emacs.exe" | 31 | VALUE "OriginalFilename", "emacs.exe" |
| 32 | VALUE "ProductName", "Emacs\0" | 32 | VALUE "ProductName", "Emacs\0" |
| 33 | VALUE "ProductVersion", "23, 1, 93, 0\0" | 33 | VALUE "ProductVersion", "24, 0, 50, 0\0" |
| 34 | VALUE "OLESelfRegister", "\0" | 34 | VALUE "OLESelfRegister", "\0" |
| 35 | END | 35 | END |
| 36 | END | 36 | END |
diff --git a/nt/emacsclient.rc b/nt/emacsclient.rc index 479889ee95a..98f0bcd4f84 100644 --- a/nt/emacsclient.rc +++ b/nt/emacsclient.rc | |||
| @@ -5,8 +5,8 @@ Emacs ICON icons\emacs.ico | |||
| 5 | #endif | 5 | #endif |
| 6 | 6 | ||
| 7 | VS_VERSION_INFO VERSIONINFO | 7 | VS_VERSION_INFO VERSIONINFO |
| 8 | FILEVERSION 23,1,93,0 | 8 | FILEVERSION 24,0,50,0 |
| 9 | PRODUCTVERSION 23,1,93,0 | 9 | PRODUCTVERSION 24,0,50,0 |
| 10 | FILEFLAGSMASK 0x3FL | 10 | FILEFLAGSMASK 0x3FL |
| 11 | #ifdef EMACSDEBUG | 11 | #ifdef EMACSDEBUG |
| 12 | FILEFLAGS 0x1L | 12 | FILEFLAGS 0x1L |
| @@ -23,12 +23,12 @@ BEGIN | |||
| 23 | BEGIN | 23 | BEGIN |
| 24 | VALUE "CompanyName", "Free Software Foundation\0" | 24 | VALUE "CompanyName", "Free Software Foundation\0" |
| 25 | VALUE "FileDescription", "GNU EmacsClient: Client for the extensible self-documenting text editor\0" | 25 | VALUE "FileDescription", "GNU EmacsClient: Client for the extensible self-documenting text editor\0" |
| 26 | VALUE "FileVersion", "23, 1, 93, 0\0" | 26 | VALUE "FileVersion", "24, 0, 50, 0\0" |
| 27 | VALUE "InternalName", "EmacsClient\0" | 27 | VALUE "InternalName", "EmacsClient\0" |
| 28 | VALUE "LegalCopyright", "Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010\0" | 28 | VALUE "LegalCopyright", "Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010\0" |
| 29 | VALUE "OriginalFilename", "emacsclientw.exe" | 29 | VALUE "OriginalFilename", "emacsclientw.exe" |
| 30 | VALUE "ProductName", "EmacsClient\0" | 30 | VALUE "ProductName", "EmacsClient\0" |
| 31 | VALUE "ProductVersion", "23, 1, 93, 0\0" | 31 | VALUE "ProductVersion", "24, 0, 50, 0\0" |
| 32 | VALUE "OLESelfRegister", "\0" | 32 | VALUE "OLESelfRegister", "\0" |
| 33 | END | 33 | END |
| 34 | END | 34 | END |
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog index bdf0957ef9d..e39f931e6e4 100644 --- a/oldXMenu/ChangeLog +++ b/oldXMenu/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> | 5 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * Branch for 23.1. | 7 | * Branch for 23.1. |
diff --git a/src/ChangeLog b/src/ChangeLog index ce4fe1cd7b4..37a4cdb1b10 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,39 @@ | |||
| 1 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * xfns.c (Fx_create_frame): Set default to Qright. | ||
| 4 | |||
| 5 | * frame.c (Vdefault_frame_scroll_bars): Set default to Qright for | ||
| 6 | all window systems. | ||
| 7 | |||
| 8 | 2010-03-12 Eli Zaretskii <eliz@gnu.org> | ||
| 9 | |||
| 10 | These changes remove termcap.c from the build on Posix platforms. | ||
| 11 | * Makefilie.in (termcapobj): Move termcap.o from here... | ||
| 12 | (MSDOS_OBJ): ...to here. | ||
| 13 | (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is | ||
| 14 | now identical to when LIBS_TERMCAP is defined. | ||
| 15 | |||
| 16 | * term.c: Remove (ifdef'ed away) inclusion of termcap.h. | ||
| 17 | |||
| 18 | * cm.c: Remove (ifdef'ed away) inclusion of termcap.h. | ||
| 19 | |||
| 20 | * config.in: Regenerated. (See top-level ChangeLog.) | ||
| 21 | |||
| 22 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 23 | |||
| 24 | * Branch for 23.2. | ||
| 25 | |||
| 26 | 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 27 | |||
| 28 | Cleanup setup of gl_state in various parts of the code. | ||
| 29 | * syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro. | ||
| 30 | (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): | ||
| 31 | * syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren) | ||
| 32 | (skip_chars): | ||
| 33 | * regex.c (regex_compile): Use it. | ||
| 34 | (re_compile_pattern): Don't set gl_state.current_syntax_table since | ||
| 35 | it's now set in regex_compile when/if we need it. | ||
| 36 | |||
| 1 | 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca> | 37 | 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 38 | ||
| 3 | Make it possible to C-g in a tight bytecode loop again (bug#5680). | 39 | Make it possible to C-g in a tight bytecode loop again (bug#5680). |
| @@ -33,13 +33,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 33 | /* For now, don't try to include termcap.h. On some systems, | 33 | /* For now, don't try to include termcap.h. On some systems, |
| 34 | configure finds a non-standard termcap.h that the main build | 34 | configure finds a non-standard termcap.h that the main build |
| 35 | won't find. */ | 35 | won't find. */ |
| 36 | |||
| 37 | #if defined HAVE_TERMCAP_H && 0 | ||
| 38 | #include <termcap.h> | ||
| 39 | #else | ||
| 40 | extern void tputs P_ ((const char *, int, int (*)(int))); | 36 | extern void tputs P_ ((const char *, int, int (*)(int))); |
| 41 | extern char *tgoto P_ ((const char *, int, int)); | 37 | extern char *tgoto P_ ((const char *, int, int)); |
| 42 | #endif | ||
| 43 | 38 | ||
| 44 | #define BIG 9999 /* 9999 good on VAXen. For 16 bit machines | 39 | #define BIG 9999 /* 9999 good on VAXen. For 16 bit machines |
| 45 | use about 2000.... */ | 40 | use about 2000.... */ |
diff --git a/src/config.in b/src/config.in index b321c586a4a..3a3ae09a084 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -319,10 +319,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 319 | /* Define to 1 if you have the <kerberos/krb.h> header file. */ | 319 | /* Define to 1 if you have the <kerberos/krb.h> header file. */ |
| 320 | #undef HAVE_KERBEROS_KRB_H | 320 | #undef HAVE_KERBEROS_KRB_H |
| 321 | 321 | ||
| 322 | /* Define to 1 if `e_text' is member of `krb5_error'. */ | 322 | /* Define to 1 if `krb5_error' is a member of `e_text'. */ |
| 323 | #undef HAVE_KRB5_ERROR_E_TEXT | 323 | #undef HAVE_KRB5_ERROR_E_TEXT |
| 324 | 324 | ||
| 325 | /* Define to 1 if `text' is member of `krb5_error'. */ | 325 | /* Define to 1 if `krb5_error' is a member of `text'. */ |
| 326 | #undef HAVE_KRB5_ERROR_TEXT | 326 | #undef HAVE_KRB5_ERROR_TEXT |
| 327 | 327 | ||
| 328 | /* Define to 1 if you have the <krb5.h> header file. */ | 328 | /* Define to 1 if you have the <krb5.h> header file. */ |
| @@ -616,25 +616,25 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 616 | /* Define to 1 if you have the `strsignal' function. */ | 616 | /* Define to 1 if you have the `strsignal' function. */ |
| 617 | #undef HAVE_STRSIGNAL | 617 | #undef HAVE_STRSIGNAL |
| 618 | 618 | ||
| 619 | /* Define to 1 if `ifr_addr' is member of `struct ifreq'. */ | 619 | /* Define to 1 if `struct ifreq' is a member of `ifr_addr'. */ |
| 620 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR | 620 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR |
| 621 | 621 | ||
| 622 | /* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */ | 622 | /* Define to 1 if `struct ifreq' is a member of `ifr_broadaddr'. */ |
| 623 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR | 623 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR |
| 624 | 624 | ||
| 625 | /* Define to 1 if `ifr_flags' is member of `struct ifreq'. */ | 625 | /* Define to 1 if `struct ifreq' is a member of `ifr_flags'. */ |
| 626 | #undef HAVE_STRUCT_IFREQ_IFR_FLAGS | 626 | #undef HAVE_STRUCT_IFREQ_IFR_FLAGS |
| 627 | 627 | ||
| 628 | /* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */ | 628 | /* Define to 1 if `struct ifreq' is a member of `ifr_hwaddr'. */ |
| 629 | #undef HAVE_STRUCT_IFREQ_IFR_HWADDR | 629 | #undef HAVE_STRUCT_IFREQ_IFR_HWADDR |
| 630 | 630 | ||
| 631 | /* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */ | 631 | /* Define to 1 if `struct ifreq' is a member of `ifr_netmask'. */ |
| 632 | #undef HAVE_STRUCT_IFREQ_IFR_NETMASK | 632 | #undef HAVE_STRUCT_IFREQ_IFR_NETMASK |
| 633 | 633 | ||
| 634 | /* Define to 1 if `n_un.n_name' is member of `struct nlist'. */ | 634 | /* Define to 1 if `struct nlist' is a member of `n_un.n_name'. */ |
| 635 | #undef HAVE_STRUCT_NLIST_N_UN_N_NAME | 635 | #undef HAVE_STRUCT_NLIST_N_UN_N_NAME |
| 636 | 636 | ||
| 637 | /* Define to 1 if `tm_zone' is member of `struct tm'. */ | 637 | /* Define to 1 if `struct tm' is a member of `tm_zone'. */ |
| 638 | #undef HAVE_STRUCT_TM_TM_ZONE | 638 | #undef HAVE_STRUCT_TM_TM_ZONE |
| 639 | 639 | ||
| 640 | /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ | 640 | /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ |
| @@ -697,9 +697,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 697 | /* Define to 1 if you have the <sys/_mbstate_t.h> header file. */ | 697 | /* Define to 1 if you have the <sys/_mbstate_t.h> header file. */ |
| 698 | #undef HAVE_SYS__MBSTATE_T_H | 698 | #undef HAVE_SYS__MBSTATE_T_H |
| 699 | 699 | ||
| 700 | /* Define to 1 if you have the <termcap.h> header file. */ | ||
| 701 | #undef HAVE_TERMCAP_H | ||
| 702 | |||
| 703 | /* Define to 1 if you have the <termios.h> header file. */ | 700 | /* Define to 1 if you have the <termios.h> header file. */ |
| 704 | #undef HAVE_TERMIOS_H | 701 | #undef HAVE_TERMIOS_H |
| 705 | 702 | ||
| @@ -858,6 +855,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 858 | /* Define to the one symbol short name of this package. */ | 855 | /* Define to the one symbol short name of this package. */ |
| 859 | #undef PACKAGE_TARNAME | 856 | #undef PACKAGE_TARNAME |
| 860 | 857 | ||
| 858 | /* Define to the home page for this package. */ | ||
| 859 | #undef PACKAGE_URL | ||
| 860 | |||
| 861 | /* Define to the version of this package. */ | 861 | /* Define to the version of this package. */ |
| 862 | #undef PACKAGE_VERSION | 862 | #undef PACKAGE_VERSION |
| 863 | 863 | ||
| @@ -917,6 +917,28 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 917 | /* Define to 1 if using the Motif X toolkit. */ | 917 | /* Define to 1 if using the Motif X toolkit. */ |
| 918 | #undef USE_MOTIF | 918 | #undef USE_MOTIF |
| 919 | 919 | ||
| 920 | /* Enable extensions on AIX 3, Interix. */ | ||
| 921 | #ifndef _ALL_SOURCE | ||
| 922 | # undef _ALL_SOURCE | ||
| 923 | #endif | ||
| 924 | /* Enable GNU extensions on systems that have them. */ | ||
| 925 | #ifndef _GNU_SOURCE | ||
| 926 | # undef _GNU_SOURCE | ||
| 927 | #endif | ||
| 928 | /* Enable threading extensions on Solaris. */ | ||
| 929 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 930 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 931 | #endif | ||
| 932 | /* Enable extensions on HP NonStop. */ | ||
| 933 | #ifndef _TANDEM_SOURCE | ||
| 934 | # undef _TANDEM_SOURCE | ||
| 935 | #endif | ||
| 936 | /* Enable general extensions on Solaris. */ | ||
| 937 | #ifndef __EXTENSIONS__ | ||
| 938 | # undef __EXTENSIONS__ | ||
| 939 | #endif | ||
| 940 | |||
| 941 | |||
| 920 | /* Define to 1 if we should use toolkit scroll bars. */ | 942 | /* Define to 1 if we should use toolkit scroll bars. */ |
| 921 | #undef USE_TOOLKIT_SCROLL_BARS | 943 | #undef USE_TOOLKIT_SCROLL_BARS |
| 922 | 944 | ||
| @@ -952,28 +974,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 952 | /* Define to 1 if you need to in order for `stat' and other things to work. */ | 974 | /* Define to 1 if you need to in order for `stat' and other things to work. */ |
| 953 | #undef _POSIX_SOURCE | 975 | #undef _POSIX_SOURCE |
| 954 | 976 | ||
| 955 | /* Enable extensions on AIX 3, Interix. */ | ||
| 956 | #ifndef _ALL_SOURCE | ||
| 957 | # undef _ALL_SOURCE | ||
| 958 | #endif | ||
| 959 | /* Enable GNU extensions on systems that have them. */ | ||
| 960 | #ifndef _GNU_SOURCE | ||
| 961 | # undef _GNU_SOURCE | ||
| 962 | #endif | ||
| 963 | /* Enable threading extensions on Solaris. */ | ||
| 964 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 965 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 966 | #endif | ||
| 967 | /* Enable extensions on HP NonStop. */ | ||
| 968 | #ifndef _TANDEM_SOURCE | ||
| 969 | # undef _TANDEM_SOURCE | ||
| 970 | #endif | ||
| 971 | /* Enable general extensions on Solaris. */ | ||
| 972 | #ifndef __EXTENSIONS__ | ||
| 973 | # undef __EXTENSIONS__ | ||
| 974 | #endif | ||
| 975 | |||
| 976 | |||
| 977 | /* Define to rpl_ if the getopt replacement functions and variables should be | 977 | /* Define to rpl_ if the getopt replacement functions and variables should be |
| 978 | used. */ | 978 | used. */ |
| 979 | #undef __GETOPT_PREFIX | 979 | #undef __GETOPT_PREFIX |
diff --git a/src/frame.c b/src/frame.c index f05f9f751da..c779f1c5b65 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4584,13 +4584,8 @@ Setting this variable does not affect existing frames, only new ones. */); | |||
| 4584 | DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, | 4584 | DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, |
| 4585 | doc: /* Default position of scroll bars on this window-system. */); | 4585 | doc: /* Default position of scroll bars on this window-system. */); |
| 4586 | #ifdef HAVE_WINDOW_SYSTEM | 4586 | #ifdef HAVE_WINDOW_SYSTEM |
| 4587 | #if defined(HAVE_NTGUI) || defined(NS_IMPL_COCOA) | ||
| 4588 | /* MS-Windows and Mac OS X have scroll bars on the right by default. */ | ||
| 4589 | Vdefault_frame_scroll_bars = Qright; | 4587 | Vdefault_frame_scroll_bars = Qright; |
| 4590 | #else | 4588 | #else |
| 4591 | Vdefault_frame_scroll_bars = Qleft; | ||
| 4592 | #endif | ||
| 4593 | #else | ||
| 4594 | Vdefault_frame_scroll_bars = Qnil; | 4589 | Vdefault_frame_scroll_bars = Qnil; |
| 4595 | #endif | 4590 | #endif |
| 4596 | 4591 | ||
diff --git a/src/keyboard.c b/src/keyboard.c index 1e331d078ce..48d39235e3f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -11235,6 +11235,7 @@ handle_interrupt () | |||
| 11235 | GCPRO4 (saved.object, saved.global_code, | 11235 | GCPRO4 (saved.object, saved.global_code, |
| 11236 | saved.current_syntax_table, saved.old_prop); | 11236 | saved.current_syntax_table, saved.old_prop); |
| 11237 | Fsignal (Qquit, Qnil); | 11237 | Fsignal (Qquit, Qnil); |
| 11238 | /* FIXME: AFAIK, `quit' can never return, so this code is dead! */ | ||
| 11238 | gl_state = saved; | 11239 | gl_state = saved; |
| 11239 | UNGCPRO; | 11240 | UNGCPRO; |
| 11240 | } | 11241 | } |
diff --git a/src/regex.c b/src/regex.c index f242446796d..e59c48aad74 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -3070,7 +3070,7 @@ regex_compile (pattern, size, syntax, bufp) | |||
| 3070 | syntax-table for ASCII chars, while the other chars | 3070 | syntax-table for ASCII chars, while the other chars |
| 3071 | will obey syntax-table properties. It's not ideal, | 3071 | will obey syntax-table properties. It's not ideal, |
| 3072 | but it's the way it's been done until now. */ | 3072 | but it's the way it's been done until now. */ |
| 3073 | SETUP_SYNTAX_TABLE (BEGV, 0); | 3073 | SETUP_BUFFER_SYNTAX_TABLE (); |
| 3074 | 3074 | ||
| 3075 | for (ch = 0; ch < 256; ++ch) | 3075 | for (ch = 0; ch < 256; ++ch) |
| 3076 | { | 3076 | { |
| @@ -4496,7 +4496,7 @@ re_search_2 (bufp, str1, size1, str2, size2, startpos, range, regs, stop) | |||
| 4496 | anchored_start = (bufp->buffer[0] == begline); | 4496 | anchored_start = (bufp->buffer[0] == begline); |
| 4497 | 4497 | ||
| 4498 | #ifdef emacs | 4498 | #ifdef emacs |
| 4499 | gl_state.object = re_match_object; | 4499 | gl_state.object = re_match_object; /* Used by SYNTAX_TABLE_BYTE_TO_CHAR. */ |
| 4500 | { | 4500 | { |
| 4501 | int charpos = SYNTAX_TABLE_BYTE_TO_CHAR (POS_AS_IN_BUFFER (startpos)); | 4501 | int charpos = SYNTAX_TABLE_BYTE_TO_CHAR (POS_AS_IN_BUFFER (startpos)); |
| 4502 | 4502 | ||
| @@ -5099,7 +5099,7 @@ re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 5099 | 5099 | ||
| 5100 | #ifdef emacs | 5100 | #ifdef emacs |
| 5101 | int charpos; | 5101 | int charpos; |
| 5102 | gl_state.object = re_match_object; | 5102 | gl_state.object = re_match_object; /* Used by SYNTAX_TABLE_BYTE_TO_CHAR. */ |
| 5103 | charpos = SYNTAX_TABLE_BYTE_TO_CHAR (POS_AS_IN_BUFFER (pos)); | 5103 | charpos = SYNTAX_TABLE_BYTE_TO_CHAR (POS_AS_IN_BUFFER (pos)); |
| 5104 | SETUP_SYNTAX_TABLE_FOR_OBJECT (re_match_object, charpos, 1); | 5104 | SETUP_SYNTAX_TABLE_FOR_OBJECT (re_match_object, charpos, 1); |
| 5105 | #endif | 5105 | #endif |
| @@ -6504,10 +6504,6 @@ re_compile_pattern (pattern, length, bufp) | |||
| 6504 | { | 6504 | { |
| 6505 | reg_errcode_t ret; | 6505 | reg_errcode_t ret; |
| 6506 | 6506 | ||
| 6507 | #ifdef emacs | ||
| 6508 | gl_state.current_syntax_table = current_buffer->syntax_table; | ||
| 6509 | #endif | ||
| 6510 | |||
| 6511 | /* GNU code is written to assume at least RE_NREGS registers will be set | 6507 | /* GNU code is written to assume at least RE_NREGS registers will be set |
| 6512 | (and at least one extra will be -1). */ | 6508 | (and at least one extra will be -1). */ |
| 6513 | bufp->regs_allocated = REGS_UNALLOCATED; | 6509 | bufp->regs_allocated = REGS_UNALLOCATED; |
diff --git a/src/syntax.c b/src/syntax.c index 47b4caf5ade..a80f047e43c 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -385,8 +385,7 @@ find_defun_start (pos, pos_byte) | |||
| 385 | /* We optimize syntax-table lookup for rare updates. Thus we accept | 385 | /* We optimize syntax-table lookup for rare updates. Thus we accept |
| 386 | only those `^\s(' which are good in global _and_ text-property | 386 | only those `^\s(' which are good in global _and_ text-property |
| 387 | syntax-tables. */ | 387 | syntax-tables. */ |
| 388 | gl_state.current_syntax_table = current_buffer->syntax_table; | 388 | SETUP_BUFFER_SYNTAX_TABLE (); |
| 389 | gl_state.use_global = 0; | ||
| 390 | while (PT > BEGV) | 389 | while (PT > BEGV) |
| 391 | { | 390 | { |
| 392 | int c; | 391 | int c; |
| @@ -401,8 +400,7 @@ find_defun_start (pos, pos_byte) | |||
| 401 | if (SYNTAX (c) == Sopen) | 400 | if (SYNTAX (c) == Sopen) |
| 402 | break; | 401 | break; |
| 403 | /* Now fallback to the default value. */ | 402 | /* Now fallback to the default value. */ |
| 404 | gl_state.current_syntax_table = current_buffer->syntax_table; | 403 | SETUP_BUFFER_SYNTAX_TABLE (); |
| 405 | gl_state.use_global = 0; | ||
| 406 | } | 404 | } |
| 407 | /* Move to beg of previous line. */ | 405 | /* Move to beg of previous line. */ |
| 408 | scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -2, 1); | 406 | scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -2, 1); |
| @@ -860,11 +858,9 @@ are listed in the documentation of `modify-syntax-entry'. */) | |||
| 860 | Lisp_Object character; | 858 | Lisp_Object character; |
| 861 | { | 859 | { |
| 862 | int char_int; | 860 | int char_int; |
| 863 | gl_state.current_syntax_table = current_buffer->syntax_table; | ||
| 864 | |||
| 865 | gl_state.use_global = 0; | ||
| 866 | CHECK_NUMBER (character); | 861 | CHECK_NUMBER (character); |
| 867 | char_int = XINT (character); | 862 | char_int = XINT (character); |
| 863 | SETUP_BUFFER_SYNTAX_TABLE (); | ||
| 868 | return make_number (syntax_code_spec[(int) SYNTAX (char_int)]); | 864 | return make_number (syntax_code_spec[(int) SYNTAX (char_int)]); |
| 869 | } | 865 | } |
| 870 | 866 | ||
| @@ -874,10 +870,9 @@ DEFUN ("matching-paren", Fmatching_paren, Smatching_paren, 1, 1, 0, | |||
| 874 | Lisp_Object character; | 870 | Lisp_Object character; |
| 875 | { | 871 | { |
| 876 | int char_int, code; | 872 | int char_int, code; |
| 877 | gl_state.current_syntax_table = current_buffer->syntax_table; | ||
| 878 | gl_state.use_global = 0; | ||
| 879 | CHECK_NUMBER (character); | 873 | CHECK_NUMBER (character); |
| 880 | char_int = XINT (character); | 874 | char_int = XINT (character); |
| 875 | SETUP_BUFFER_SYNTAX_TABLE (); | ||
| 881 | code = SYNTAX (char_int); | 876 | code = SYNTAX (char_int); |
| 882 | if (code == Sopen || code == Sclose) | 877 | if (code == Sopen || code == Sclose) |
| 883 | return SYNTAX_MATCH (char_int); | 878 | return SYNTAX_MATCH (char_int); |
| @@ -1752,7 +1747,7 @@ skip_chars (forwardp, string, lim, handle_iso_classes) | |||
| 1752 | let's initialize it manually. | 1747 | let's initialize it manually. |
| 1753 | We ignore syntax-table text-properties for now, since that's | 1748 | We ignore syntax-table text-properties for now, since that's |
| 1754 | what we've done in the past. */ | 1749 | what we've done in the past. */ |
| 1755 | SETUP_SYNTAX_TABLE (BEGV, 0); | 1750 | SETUP_BUFFER_SYNTAX_TABLE (); |
| 1756 | if (forwardp) | 1751 | if (forwardp) |
| 1757 | { | 1752 | { |
| 1758 | if (multibyte) | 1753 | if (multibyte) |
diff --git a/src/syntax.h b/src/syntax.h index c36b1eb28f6..ec8fab0166c 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -245,6 +245,14 @@ extern char syntax_code_spec[16]; | |||
| 245 | 1) \ | 245 | 1) \ |
| 246 | : 0)) | 246 | : 0)) |
| 247 | 247 | ||
| 248 | /* This macro sets up the buffer-global syntax table. */ | ||
| 249 | #define SETUP_BUFFER_SYNTAX_TABLE() \ | ||
| 250 | do \ | ||
| 251 | { \ | ||
| 252 | gl_state.use_global = 0; \ | ||
| 253 | gl_state.current_syntax_table = current_buffer->syntax_table; \ | ||
| 254 | } while (0) | ||
| 255 | |||
| 248 | /* This macro should be called with FROM at the start of forward | 256 | /* This macro should be called with FROM at the start of forward |
| 249 | search, or after the last position of the backward search. It | 257 | search, or after the last position of the backward search. It |
| 250 | makes sure that the first char is picked up with correct table, so | 258 | makes sure that the first char is picked up with correct table, so |
| @@ -256,12 +264,11 @@ extern char syntax_code_spec[16]; | |||
| 256 | #define SETUP_SYNTAX_TABLE(FROM, COUNT) \ | 264 | #define SETUP_SYNTAX_TABLE(FROM, COUNT) \ |
| 257 | do \ | 265 | do \ |
| 258 | { \ | 266 | { \ |
| 267 | SETUP_BUFFER_SYNTAX_TABLE (); \ | ||
| 259 | gl_state.b_property = BEGV; \ | 268 | gl_state.b_property = BEGV; \ |
| 260 | gl_state.e_property = ZV + 1; \ | 269 | gl_state.e_property = ZV + 1; \ |
| 261 | gl_state.object = Qnil; \ | 270 | gl_state.object = Qnil; \ |
| 262 | gl_state.use_global = 0; \ | ||
| 263 | gl_state.offset = 0; \ | 271 | gl_state.offset = 0; \ |
| 264 | gl_state.current_syntax_table = current_buffer->syntax_table; \ | ||
| 265 | if (parse_sexp_lookup_properties) \ | 272 | if (parse_sexp_lookup_properties) \ |
| 266 | if ((COUNT) > 0 || (FROM) > BEGV) \ | 273 | if ((COUNT) > 0 || (FROM) > BEGV) \ |
| 267 | update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT),\ | 274 | update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT),\ |
| @@ -279,6 +286,7 @@ while (0) | |||
| 279 | #define SETUP_SYNTAX_TABLE_FOR_OBJECT(OBJECT, FROM, COUNT) \ | 286 | #define SETUP_SYNTAX_TABLE_FOR_OBJECT(OBJECT, FROM, COUNT) \ |
| 280 | do \ | 287 | do \ |
| 281 | { \ | 288 | { \ |
| 289 | SETUP_BUFFER_SYNTAX_TABLE (); \ | ||
| 282 | gl_state.object = (OBJECT); \ | 290 | gl_state.object = (OBJECT); \ |
| 283 | if (BUFFERP (gl_state.object)) \ | 291 | if (BUFFERP (gl_state.object)) \ |
| 284 | { \ | 292 | { \ |
| @@ -305,8 +313,6 @@ do \ | |||
| 305 | gl_state.e_property = 1 + SCHARS (gl_state.object); \ | 313 | gl_state.e_property = 1 + SCHARS (gl_state.object); \ |
| 306 | gl_state.offset = 0; \ | 314 | gl_state.offset = 0; \ |
| 307 | } \ | 315 | } \ |
| 308 | gl_state.use_global = 0; \ | ||
| 309 | gl_state.current_syntax_table = current_buffer->syntax_table; \ | ||
| 310 | if (parse_sexp_lookup_properties) \ | 316 | if (parse_sexp_lookup_properties) \ |
| 311 | update_syntax_table (((FROM) + gl_state.offset \ | 317 | update_syntax_table (((FROM) + gl_state.offset \ |
| 312 | + (COUNT > 0 ? 0 : -1)), \ | 318 | + (COUNT > 0 ? 0 : -1)), \ |
diff --git a/src/term.c b/src/term.c index dbfdf80d905..718a20d4164 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -66,15 +66,10 @@ static int been_here = -1; | |||
| 66 | /* For now, don't try to include termcap.h. On some systems, | 66 | /* For now, don't try to include termcap.h. On some systems, |
| 67 | configure finds a non-standard termcap.h that the main build | 67 | configure finds a non-standard termcap.h that the main build |
| 68 | won't find. */ | 68 | won't find. */ |
| 69 | |||
| 70 | #if defined HAVE_TERMCAP_H && 0 | ||
| 71 | #include <termcap.h> | ||
| 72 | #else | ||
| 73 | extern void tputs P_ ((const char *, int, int (*)(int))); | 69 | extern void tputs P_ ((const char *, int, int (*)(int))); |
| 74 | extern int tgetent P_ ((char *, const char *)); | 70 | extern int tgetent P_ ((char *, const char *)); |
| 75 | extern int tgetflag P_ ((char *id)); | 71 | extern int tgetflag P_ ((char *id)); |
| 76 | extern int tgetnum P_ ((char *id)); | 72 | extern int tgetnum P_ ((char *id)); |
| 77 | #endif | ||
| 78 | 73 | ||
| 79 | #include "cm.h" | 74 | #include "cm.h" |
| 80 | #ifdef HAVE_X_WINDOWS | 75 | #ifdef HAVE_X_WINDOWS |
diff --git a/src/xfns.c b/src/xfns.c index 96fb090e327..84d0d622200 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3376,7 +3376,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3376 | #endif | 3376 | #endif |
| 3377 | "internalBorderWidth", "internalBorderWidth", | 3377 | "internalBorderWidth", "internalBorderWidth", |
| 3378 | RES_TYPE_NUMBER); | 3378 | RES_TYPE_NUMBER); |
| 3379 | x_default_parameter (f, parms, Qvertical_scroll_bars, Qleft, | 3379 | x_default_parameter (f, parms, Qvertical_scroll_bars, Qright, |
| 3380 | "verticalScrollBars", "ScrollBars", | 3380 | "verticalScrollBars", "ScrollBars", |
| 3381 | RES_TYPE_SYMBOL); | 3381 | RES_TYPE_SYMBOL); |
| 3382 | 3382 | ||
diff --git a/test/ChangeLog b/test/ChangeLog index 85d9d813c5c..b45e2f1576a 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Branch for 23.2. | ||
| 4 | |||
| 1 | 2010-02-19 Ulf Jasper <ulf.jasper@web.de> | 5 | 2010-02-19 Ulf Jasper <ulf.jasper@web.de> |
| 2 | 6 | ||
| 3 | * icalendar-testsuite.el | 7 | * icalendar-testsuite.el |