annotate modules/canna/configure @ 5785:7343a186a475

Correct some partial character accounting, buffered_bytecount_to_charcount(). src/ChangeLog addition: 2014-01-23 Aidan Kehoe <kehoea@parhasard.net> * lstream.c (Lstream_read_1): Don't include the unread partial character in unget_character_count, since our consumers will never be aware of it. * text.c: * text.c (buffered_bytecount_to_charcount): A buffer consisting entirely of a partial character needs to be treated as a partial last character, not a partial first character, to avoid double-counting.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 23 Jan 2014 13:49:40 +0000
parents 56b64a055043
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3007
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1 #! /bin/sh
3017
1e7cc382eb16 [xemacs-hg @ 2005-10-24 10:07:26 by ben]
ben
parents: 3007
diff changeset
2 # From configure.ac Revision: 1.3 .
3007
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3 # Guess values for system-dependent variables and create Makefiles.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4 # Generated by GNU Autoconf 2.59 for Sample module 1.0.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
5 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
6 # Report bugs to <xemacs-beta@xemacs.org>.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
7 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
8 # Copyright (C) 2003 Free Software Foundation, Inc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
9 # This configure script is free software; the Free Software Foundation
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
10 # gives unlimited permission to copy, distribute and modify it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
11 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
12 # Configuration script for the sample module.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
13 # Copyright (C) 2002 Jerry James.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
14 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
15 # This file is part of XEmacs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
16 #
5418
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
17 # XEmacs is free software: you can redistribute it and/or modify it
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
18 # under the terms of the GNU General Public License as published by the
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
19 # Free Software Foundation, either version 3 of the License, or (at your
3007
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
20 # option) any later version.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
21 #
5418
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
22 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
23 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
24 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
25 # for more details.
3007
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
26 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
27 # You should have received a copy of the GNU General Public License
5418
56b64a055043 Converted modules to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents: 3017
diff changeset
28 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>.
3007
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
29 ## --------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
30 ## M4sh Initialization. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
31 ## --------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
32
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
33 # Be Bourne compatible
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
34 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
35 emulate sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
36 NULLCMD=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
37 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
38 # is contrary to our usage. Disable this feature.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
39 alias -g '${1+"$@"}'='"$@"'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
40 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
41 set -o posix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
42 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
43 DUALCASE=1; export DUALCASE # for MKS sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
44
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
45 # Support unset when possible.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
46 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
47 as_unset=unset
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
48 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
49 as_unset=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
50 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
51
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
52
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
53 # Work around bugs in pre-3.0 UWIN ksh.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
54 $as_unset ENV MAIL MAILPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
55 PS1='$ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
56 PS2='> '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
57 PS4='+ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
58
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
59 # NLS nuisances.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
60 for as_var in \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
61 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
62 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
63 LC_TELEPHONE LC_TIME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
64 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
65 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
66 eval $as_var=C; export $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
67 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
68 $as_unset $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
69 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
70 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
71
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
72 # Required to use basename.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
73 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
74 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
75 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
76 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
77 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
78
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
79 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
80 as_basename=basename
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
81 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
82 as_basename=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
83 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
84
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
85
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
86 # Name of the executable.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
87 as_me=`$as_basename "$0" ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
88 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
89 X"$0" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
90 X"$0" : 'X\(/\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
91 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
92 echo X/"$0" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
93 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
94 /^X\/\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
95 /^X\/\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
96 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
97
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
98
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
99 # PATH needs CR, and LINENO needs CR and PATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
100 # Avoid depending upon Character Ranges.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
101 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
102 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
103 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
104 as_cr_digits='0123456789'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
105 as_cr_alnum=$as_cr_Letters$as_cr_digits
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
106
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
107 # The user is always right.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
108 if test "${PATH_SEPARATOR+set}" != set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
109 echo "#! /bin/sh" >conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
110 echo "exit 0" >>conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
111 chmod +x conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
112 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
113 PATH_SEPARATOR=';'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
114 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
115 PATH_SEPARATOR=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
116 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
117 rm -f conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
118 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
119
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
120
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
121 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
122 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
123 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
124 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
125 test "x$as_lineno_3" = "x$as_lineno_2" || {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
126 # Find who we are. Look in the path if we contain no path at all
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
127 # relative or not.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
128 case $0 in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
129 *[\\/]* ) as_myself=$0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
130 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
131 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
132 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
133 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
134 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
135 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
136 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
137
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
138 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
139 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
140 # We did not find ourselves, most probably we were run as `sh COMMAND'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
141 # in which case we are not to be found in the path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
142 if test "x$as_myself" = x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
143 as_myself=$0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
144 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
145 if test ! -f "$as_myself"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
146 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
147 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
148 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
149 case $CONFIG_SHELL in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
150 '')
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
152 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
153 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
154 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
155 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
156 for as_base in sh bash ksh sh5; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
157 case $as_dir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
158 /*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
159 if ("$as_dir/$as_base" -c '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
160 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
161 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
162 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
163 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
164 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
165 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
166 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
167 CONFIG_SHELL=$as_dir/$as_base
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
168 export CONFIG_SHELL
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
169 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
170 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
171 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
172 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
173 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
174 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
175 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
176
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
177 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
178 # uniformly replaced by the line number. The first 'sed' inserts a
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
179 # line-number line before each line; the second 'sed' does the real
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
180 # work. The second script uses 'N' to pair each line-number line
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
181 # with the numbered line, and appends trailing '-' during
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
182 # substitution so that $LINENO is not a special case at line end.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
183 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
184 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
185 sed '=' <$as_myself |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
186 sed '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
187 N
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
188 s,$,-,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
189 : loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
190 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
191 t loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
192 s,-$,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
193 s,^['$as_cr_digits']*\n,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
194 ' >$as_me.lineno &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
195 chmod +x $as_me.lineno ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
196 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
197 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
198
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
199 # Don't try to exec as it changes $[0], causing all sort of problems
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
200 # (the dirname of $[0] is not the place where we might find the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
201 # original and so on. Autoconf is especially sensible to this).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
202 . ./$as_me.lineno
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
203 # Exit status is that of the last command.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
204 exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
205 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
206
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
207
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
208 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
209 *c*,-n*) ECHO_N= ECHO_C='
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
210 ' ECHO_T=' ' ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
211 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
212 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
213 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
214
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
215 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
216 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
217 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
218 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
219 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
220
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
221 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
222 echo >conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
223 if ln -s conf$$.file conf$$ 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
224 # We could just check for DJGPP; but this test a) works b) is more generic
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
225 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
226 if test -f conf$$.exe; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
227 # Don't use ln at all; we don't have any links
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
228 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
229 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
230 as_ln_s='ln -s'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
231 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
232 elif ln conf$$.file conf$$ 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
233 as_ln_s=ln
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
234 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
235 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
236 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
237 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
238
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
239 if mkdir -p . 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
240 as_mkdir_p=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
241 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
242 test -d ./-p && rmdir ./-p
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
243 as_mkdir_p=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
244 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
245
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
246 as_executable_p="test -f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
247
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
248 # Sed expression to map a string onto a valid CPP name.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
250
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
251 # Sed expression to map a string onto a valid variable name.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
252 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
253
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
254
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
255 # IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
256 # We need space, tab and new line, in precisely that order.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
257 as_nl='
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
258 '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
259 IFS=" $as_nl"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
260
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
261 # CDPATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
262 $as_unset CDPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
263
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
264
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
265 # Name of the host.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
266 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
267 # so uname gets run too.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
268 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
269
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
270 exec 6>&1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
271
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
272 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
273 # Initializations.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
274 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
275 ac_default_prefix=/usr/local
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
276 ac_config_libobj_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
277 cross_compiling=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
278 subdirs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
279 MFLAGS=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
280 MAKEFLAGS=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
281 SHELL=${CONFIG_SHELL-/bin/sh}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
282
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
283 # Maximum number of lines to put in a shell here document.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
284 # This variable seems obsolete. It should probably be removed, and
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
285 # only ac_max_sed_lines should be used.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
286 : ${ac_max_here_lines=38}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
287
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
288 # Identity of this package.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
289 PACKAGE_NAME='Sample module'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
290 PACKAGE_TARNAME='sample-module'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
291 PACKAGE_VERSION='1.0'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
292 PACKAGE_STRING='Sample module 1.0'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
293 PACKAGE_BUGREPORT='xemacs-beta@xemacs.org'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
294
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
295 ac_unique_file="sample.c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
296 # Factoring default headers for most tests.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
297 ac_includes_default="\
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
298 #include <stdio.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
299 #if HAVE_SYS_TYPES_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
300 # include <sys/types.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
301 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
302 #if HAVE_SYS_STAT_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
303 # include <sys/stat.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
304 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
305 #if STDC_HEADERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
306 # include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
307 # include <stddef.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
308 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
309 # if HAVE_STDLIB_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
310 # include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
311 # endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
312 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
313 #if HAVE_STRING_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
314 # if !STDC_HEADERS && HAVE_MEMORY_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
315 # include <memory.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
316 # endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
317 # include <string.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
318 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
319 #if HAVE_STRINGS_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
320 # include <strings.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
321 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
322 #if HAVE_INTTYPES_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
323 # include <inttypes.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
324 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
325 # if HAVE_STDINT_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
326 # include <stdint.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
327 # endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
328 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
329 #if HAVE_UNISTD_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
330 # include <unistd.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
331 #endif"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
332
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
333 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA ELLCC CPP EGREP canna_libs PROGNAME MOD_CC MODARCHDIR MAKE_DOCFILE MODCFLAGS INSTALLPATH MOD_INSTALL_PROGRAM OBJECT_TO_BUILD LIBOBJS LTLIBOBJS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
334 ac_subst_files=''
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
335
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
336 # Initialize some variables set by options.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
337 ac_init_help=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
338 ac_init_version=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
339 # The variables have the same names as the options, with
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
340 # dashes changed to underlines.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
341 cache_file=/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
342 exec_prefix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
343 no_create=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
344 no_recursion=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
345 prefix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
346 program_prefix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
347 program_suffix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
348 program_transform_name=s,x,x,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
349 silent=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
350 site=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
351 srcdir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
352 verbose=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
353 x_includes=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
354 x_libraries=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
355
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
356 # Installation directory options.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
357 # These are left unexpanded so users can "make install exec_prefix=/foo"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
358 # and all the variables that are supposed to be based on exec_prefix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
359 # by default will actually change.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
360 # Use braces instead of parens because sh, perl, etc. also accept them.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
361 bindir='${exec_prefix}/bin'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
362 sbindir='${exec_prefix}/sbin'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
363 libexecdir='${exec_prefix}/libexec'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
364 datadir='${prefix}/share'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
365 sysconfdir='${prefix}/etc'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
366 sharedstatedir='${prefix}/com'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
367 localstatedir='${prefix}/var'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
368 libdir='${exec_prefix}/lib'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
369 includedir='${prefix}/include'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
370 oldincludedir='/usr/include'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
371 infodir='${prefix}/info'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
372 mandir='${prefix}/man'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
373
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
374 ac_prev=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
375 for ac_option
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
376 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
377 # If the previous option needs an argument, assign it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
378 if test -n "$ac_prev"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
379 eval "$ac_prev=\$ac_option"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
380 ac_prev=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
381 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
382 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
383
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
384 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
385
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
386 # Accept the important Cygnus configure options, so we can diagnose typos.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
387
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
388 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
389
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
390 -bindir | --bindir | --bindi | --bind | --bin | --bi)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
391 ac_prev=bindir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
392 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
393 bindir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
394
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
395 -build | --build | --buil | --bui | --bu)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
396 ac_prev=build_alias ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
397 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
398 build_alias=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
399
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
400 -cache-file | --cache-file | --cache-fil | --cache-fi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
401 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
402 ac_prev=cache_file ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
403 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
404 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
405 cache_file=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
406
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
407 --config-cache | -C)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
408 cache_file=config.cache ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
409
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
410 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
411 ac_prev=datadir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
412 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
413 | --da=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
414 datadir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
415
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
416 -disable-* | --disable-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
417 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
418 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
419 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
420 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
421 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
422 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
423 eval "enable_$ac_feature=no" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
424
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
425 -enable-* | --enable-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
426 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
427 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
428 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
429 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
430 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
431 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
432 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
433 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
434 *) ac_optarg=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
435 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
436 eval "enable_$ac_feature='$ac_optarg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
437
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
438 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
439 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
440 | --exec | --exe | --ex)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
441 ac_prev=exec_prefix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
442 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
443 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
444 | --exec=* | --exe=* | --ex=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
445 exec_prefix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
446
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
447 -gas | --gas | --ga | --g)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
448 # Obsolete; use --with-gas.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
449 with_gas=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
450
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
451 -help | --help | --hel | --he | -h)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
452 ac_init_help=long ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
453 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
454 ac_init_help=recursive ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
455 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
456 ac_init_help=short ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
457
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
458 -host | --host | --hos | --ho)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
459 ac_prev=host_alias ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
460 -host=* | --host=* | --hos=* | --ho=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
461 host_alias=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
462
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
463 -includedir | --includedir | --includedi | --included | --include \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
464 | --includ | --inclu | --incl | --inc)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
465 ac_prev=includedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
466 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
467 | --includ=* | --inclu=* | --incl=* | --inc=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
468 includedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
469
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
470 -infodir | --infodir | --infodi | --infod | --info | --inf)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
471 ac_prev=infodir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
472 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
473 infodir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
474
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
475 -libdir | --libdir | --libdi | --libd)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
476 ac_prev=libdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
477 -libdir=* | --libdir=* | --libdi=* | --libd=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
478 libdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
479
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
480 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
481 | --libexe | --libex | --libe)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
482 ac_prev=libexecdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
483 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
484 | --libexe=* | --libex=* | --libe=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
485 libexecdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
486
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
487 -localstatedir | --localstatedir | --localstatedi | --localstated \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
488 | --localstate | --localstat | --localsta | --localst \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
489 | --locals | --local | --loca | --loc | --lo)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
490 ac_prev=localstatedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
491 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
492 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
493 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
494 localstatedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
495
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
496 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
497 ac_prev=mandir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
498 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
499 mandir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
500
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
501 -nfp | --nfp | --nf)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
502 # Obsolete; use --without-fp.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
503 with_fp=no ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
504
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
505 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
506 | --no-cr | --no-c | -n)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
507 no_create=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
508
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
509 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
510 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
511 no_recursion=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
512
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
513 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
514 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
515 | --oldin | --oldi | --old | --ol | --o)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
516 ac_prev=oldincludedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
517 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
518 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
519 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
520 oldincludedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
521
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
522 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
523 ac_prev=prefix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
524 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
525 prefix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
526
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
527 -program-prefix | --program-prefix | --program-prefi | --program-pref \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
528 | --program-pre | --program-pr | --program-p)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
529 ac_prev=program_prefix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
530 -program-prefix=* | --program-prefix=* | --program-prefi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
531 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
532 program_prefix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
533
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
534 -program-suffix | --program-suffix | --program-suffi | --program-suff \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
535 | --program-suf | --program-su | --program-s)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
536 ac_prev=program_suffix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
537 -program-suffix=* | --program-suffix=* | --program-suffi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
538 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
539 program_suffix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
540
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
541 -program-transform-name | --program-transform-name \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
542 | --program-transform-nam | --program-transform-na \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
543 | --program-transform-n | --program-transform- \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
544 | --program-transform | --program-transfor \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
545 | --program-transfo | --program-transf \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
546 | --program-trans | --program-tran \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
547 | --progr-tra | --program-tr | --program-t)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
548 ac_prev=program_transform_name ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
549 -program-transform-name=* | --program-transform-name=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
550 | --program-transform-nam=* | --program-transform-na=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
551 | --program-transform-n=* | --program-transform-=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
552 | --program-transform=* | --program-transfor=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
553 | --program-transfo=* | --program-transf=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
554 | --program-trans=* | --program-tran=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
555 | --progr-tra=* | --program-tr=* | --program-t=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
556 program_transform_name=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
557
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
559 | -silent | --silent | --silen | --sile | --sil)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
560 silent=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
561
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
562 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
563 ac_prev=sbindir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
564 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
565 | --sbi=* | --sb=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
566 sbindir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
567
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
568 -sharedstatedir | --sharedstatedir | --sharedstatedi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
569 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
570 | --sharedst | --shareds | --shared | --share | --shar \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
571 | --sha | --sh)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
572 ac_prev=sharedstatedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
573 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
574 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
575 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
576 | --sha=* | --sh=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
577 sharedstatedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
578
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
579 -site | --site | --sit)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
580 ac_prev=site ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
581 -site=* | --site=* | --sit=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
582 site=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
583
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
584 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
585 ac_prev=srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
586 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
587 srcdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
588
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
589 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
590 | --syscon | --sysco | --sysc | --sys | --sy)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
591 ac_prev=sysconfdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
592 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
593 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
594 sysconfdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
595
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
596 -target | --target | --targe | --targ | --tar | --ta | --t)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
597 ac_prev=target_alias ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
598 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
599 target_alias=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
600
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
601 -v | -verbose | --verbose | --verbos | --verbo | --verb)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
602 verbose=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
603
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
604 -version | --version | --versio | --versi | --vers | -V)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
605 ac_init_version=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
606
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
607 -with-* | --with-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
608 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
609 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
610 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
611 { echo "$as_me: error: invalid package name: $ac_package" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
612 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
613 ac_package=`echo $ac_package| sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
614 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
615 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
616 *) ac_optarg=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
617 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
618 eval "with_$ac_package='$ac_optarg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
619
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
620 -without-* | --without-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
621 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
622 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
623 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
624 { echo "$as_me: error: invalid package name: $ac_package" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
625 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
626 ac_package=`echo $ac_package | sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
627 eval "with_$ac_package=no" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
628
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
629 --x)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
630 # Obsolete; use --with-x.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
631 with_x=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
632
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
633 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
634 | --x-incl | --x-inc | --x-in | --x-i)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
635 ac_prev=x_includes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
636 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
637 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
638 x_includes=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
639
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
640 -x-libraries | --x-libraries | --x-librarie | --x-librari \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
641 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
642 ac_prev=x_libraries ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
643 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
644 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
645 x_libraries=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
646
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
647 -*) { echo "$as_me: error: unrecognized option: $ac_option
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
648 Try \`$0 --help' for more information." >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
649 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
650 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
651
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
652 *=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
653 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
654 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
655 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
656 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
657 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
658 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
659 eval "$ac_envvar='$ac_optarg'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
660 export $ac_envvar ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
661
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
662 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
663 # FIXME: should be removed in autoconf 3.0.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
664 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
665 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
666 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
667 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
668 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
669
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
670 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
671 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
672
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
673 if test -n "$ac_prev"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
674 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
675 { echo "$as_me: error: missing argument to $ac_option" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
676 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
677 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
678
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
679 # Be sure to have absolute paths.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
680 for ac_var in exec_prefix prefix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
681 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
682 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
683 case $ac_val in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
684 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
685 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
686 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
687 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
688 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
689
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
690 # Be sure to have absolute paths.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
691 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
692 localstatedir libdir includedir oldincludedir infodir mandir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
693 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
694 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
695 case $ac_val in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
696 [\\/$]* | ?:[\\/]* ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
697 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
698 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
699 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
700 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
701
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
702 # There might be people who depend on the old broken behavior: `$host'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
703 # used to hold the argument of --host etc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
704 # FIXME: To remove some day.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
705 build=$build_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
706 host=$host_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
707 target=$target_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
708
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
709 # FIXME: To remove some day.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
710 if test "x$host_alias" != x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
711 if test "x$build_alias" = x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
712 cross_compiling=maybe
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
713 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
714 If a cross compiler is detected then cross compile mode will be used." >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
715 elif test "x$build_alias" != "x$host_alias"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
716 cross_compiling=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
717 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
718 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
719
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
720 ac_tool_prefix=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
721 test -n "$host_alias" && ac_tool_prefix=$host_alias-
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
722
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
723 test "$silent" = yes && exec 6>/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
724
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
725
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
726 # Find the source files, if location was not specified.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
727 if test -z "$srcdir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
728 ac_srcdir_defaulted=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
729 # Try the directory containing this script, then its parent.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
730 ac_confdir=`(dirname "$0") 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
731 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
732 X"$0" : 'X\(//\)[^/]' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
733 X"$0" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
734 X"$0" : 'X\(/\)' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
735 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
736 echo X"$0" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
738 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
739 /^X\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
740 /^X\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
741 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
742 srcdir=$ac_confdir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
743 if test ! -r $srcdir/$ac_unique_file; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
744 srcdir=..
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
745 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
746 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
747 ac_srcdir_defaulted=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
748 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
749 if test ! -r $srcdir/$ac_unique_file; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
750 if test "$ac_srcdir_defaulted" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
751 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
752 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
753 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
754 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
755 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
756 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
757 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
758 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
759 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
760 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
761 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
762 ac_env_build_alias_set=${build_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
763 ac_env_build_alias_value=$build_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
764 ac_cv_env_build_alias_set=${build_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
765 ac_cv_env_build_alias_value=$build_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
766 ac_env_host_alias_set=${host_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
767 ac_env_host_alias_value=$host_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
768 ac_cv_env_host_alias_set=${host_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
769 ac_cv_env_host_alias_value=$host_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
770 ac_env_target_alias_set=${target_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
771 ac_env_target_alias_value=$target_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
772 ac_cv_env_target_alias_set=${target_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
773 ac_cv_env_target_alias_value=$target_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
774 ac_env_CC_set=${CC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
775 ac_env_CC_value=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
776 ac_cv_env_CC_set=${CC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
777 ac_cv_env_CC_value=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
778 ac_env_CFLAGS_set=${CFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
779 ac_env_CFLAGS_value=$CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
780 ac_cv_env_CFLAGS_set=${CFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
781 ac_cv_env_CFLAGS_value=$CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
782 ac_env_LDFLAGS_set=${LDFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
783 ac_env_LDFLAGS_value=$LDFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
784 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
785 ac_cv_env_LDFLAGS_value=$LDFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
786 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
787 ac_env_CPPFLAGS_value=$CPPFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
788 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
789 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
790 ac_env_ELLCC_set=${ELLCC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
791 ac_env_ELLCC_value=$ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
792 ac_cv_env_ELLCC_set=${ELLCC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
793 ac_cv_env_ELLCC_value=$ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
794 ac_env_CPP_set=${CPP+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
795 ac_env_CPP_value=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
796 ac_cv_env_CPP_set=${CPP+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
797 ac_cv_env_CPP_value=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
798
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
799 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
800 # Report the --help message.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
801 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
802 if test "$ac_init_help" = "long"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
803 # Omit some internal or obsolete options to make the list less imposing.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
804 # This message is too long to be a string in the A/UX 3.1 sh.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
805 cat <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
806 \`configure' configures Sample module 1.0 to adapt to many kinds of systems.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
807
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
808 Usage: $0 [OPTION]... [VAR=VALUE]...
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
809
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
810 To assign environment variables (e.g., CC, CFLAGS...), specify them as
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
811 VAR=VALUE. See below for descriptions of some of the useful variables.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
812
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
813 Defaults for the options are specified in brackets.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
814
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
815 Configuration:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
816 -h, --help display this help and exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
817 --help=short display options specific to this package
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
818 --help=recursive display the short help of all the included packages
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
819 -V, --version display version information and exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
820 -q, --quiet, --silent do not print \`checking...' messages
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
821 --cache-file=FILE cache test results in FILE [disabled]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
822 -C, --config-cache alias for \`--cache-file=config.cache'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
823 -n, --no-create do not create output files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
824 --srcdir=DIR find the sources in DIR [configure dir or \`..']
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
825
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
826 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
827
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
828 cat <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
829 Installation directories:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
830 --prefix=PREFIX install architecture-independent files in PREFIX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
831 [$ac_default_prefix]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
832 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
833 [PREFIX]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
834
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
835 By default, \`make install' will install all the files in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
836 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
837 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
838 for instance \`--prefix=\$HOME'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
839
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
840 For better control, use the options below.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
841
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
842 Fine tuning of the installation directories:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
843 --bindir=DIR user executables [EPREFIX/bin]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
844 --sbindir=DIR system admin executables [EPREFIX/sbin]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
845 --libexecdir=DIR program executables [EPREFIX/libexec]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
846 --datadir=DIR read-only architecture-independent data [PREFIX/share]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
847 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
848 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
849 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
850 --libdir=DIR object code libraries [EPREFIX/lib]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
851 --includedir=DIR C header files [PREFIX/include]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
852 --oldincludedir=DIR C header files for non-gcc [/usr/include]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
853 --infodir=DIR info documentation [PREFIX/info]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
854 --mandir=DIR man documentation [PREFIX/man]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
855 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
856
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
857 cat <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
858 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
859 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
860
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
861 if test -n "$ac_init_help"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
862 case $ac_init_help in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
863 short | recursive ) echo "Configuration of Sample module 1.0:";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
864 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
865 cat <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
866
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
867 Some influential environment variables:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
868 CC C compiler command
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
869 CFLAGS C compiler flags
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
871 nonstandard directory <lib dir>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
873 headers in a nonstandard directory <include dir>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
874 ELLCC The path to the ellcc module compiler
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
875 CPP C preprocessor
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
876
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
877 Use these variables to override the choices made by `configure' or to help
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
878 it to find libraries and programs with nonstandard names/locations.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
879
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
880 Report bugs to <xemacs-beta@xemacs.org>.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
881 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
882 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
883
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
884 if test "$ac_init_help" = "recursive"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
885 # If there are subdirs, report their specific --help.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
886 ac_popdir=`pwd`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
888 test -d $ac_dir || continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
889 ac_builddir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
890
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
891 if test "$ac_dir" != .; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
892 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
893 # A "../" for each directory in $ac_dir_suffix.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
894 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
895 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
896 ac_dir_suffix= ac_top_builddir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
897 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
898
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
899 case $srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
900 .) # No --srcdir option. We are building in place.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
901 ac_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
902 if test -z "$ac_top_builddir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
903 ac_top_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
904 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
905 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
906 fi ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
907 [\\/]* | ?:[\\/]* ) # Absolute path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
908 ac_srcdir=$srcdir$ac_dir_suffix;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
909 ac_top_srcdir=$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
910 *) # Relative path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
913 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
914
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
915 # Do not use `cd foo && pwd` to compute absolute paths, because
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
916 # the directories may not exist.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
917 case `pwd` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
918 .) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
919 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
920 case "$ac_dir" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
921 .) ac_abs_builddir=`pwd`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
924 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
925 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
926 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
928 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
929 case ${ac_top_builddir}. in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
933 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
934 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
935 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
936 .) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
937 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
938 case $ac_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
939 .) ac_abs_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
942 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
943 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
944 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
946 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
947 case $ac_top_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
951 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
952 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
953
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
954 cd $ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
955 # Check for guested configure; otherwise get Cygnus style configure.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
956 if test -f $ac_srcdir/configure.gnu; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
957 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
959 elif test -f $ac_srcdir/configure; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
960 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
961 $SHELL $ac_srcdir/configure --help=recursive
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
962 elif test -f $ac_srcdir/configure.ac ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
963 test -f $ac_srcdir/configure.in; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
964 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
965 $ac_configure --help
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
966 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
968 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
969 cd $ac_popdir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
970 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
971 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
972
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
973 test -n "$ac_init_help" && exit 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
974 if $ac_init_version; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
975 cat <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
976 Sample module configure 1.0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
977 generated by GNU Autoconf 2.59
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
978
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
979 Copyright (C) 2003 Free Software Foundation, Inc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
980 This configure script is free software; the Free Software Foundation
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
981 gives unlimited permission to copy, distribute and modify it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
982
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
983 Configuration script for the sample module.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
984 Copyright (C) 2002 Jerry James.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
985
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
986 This file is part of XEmacs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
987
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
988 XEmacs is free software; you can redistribute it and/or modify it
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
989 under the terms of the GNU General Public License as published by
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
990 the Free Software Foundation; either version 2, or (at your
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
991 option) any later version.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
992
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
993 XEmacs is distributed in the hope that it will be useful, but
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
994 WITHOUT ANY WARRANTY; without even the implied warranty of
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
995 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
996 General Public License for more details.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
997
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
998 You should have received a copy of the GNU General Public License
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
999 along with XEmacs; see the file COPYING. If not, write to the Free
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1000 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1001 02111-1307, USA.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1002 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1003 exit 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1004 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1005 exec 5>config.log
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1006 cat >&5 <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1007 This file contains any messages produced by compilers while
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1008 running configure, to aid debugging if configure makes a mistake.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1009
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1010 It was created by Sample module $as_me 1.0, which was
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1011 generated by GNU Autoconf 2.59. Invocation command line was
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1012
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1013 $ $0 $@
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1014
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1015 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1016 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1017 cat <<_ASUNAME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1018 ## --------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1019 ## Platform. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1020 ## --------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1021
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1023 uname -m = `(uname -m) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1024 uname -r = `(uname -r) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1025 uname -s = `(uname -s) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1026 uname -v = `(uname -v) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1027
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1030
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1034 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1038
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1039 _ASUNAME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1040
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1042 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1043 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1044 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1045 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1046 echo "PATH: $as_dir"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1047 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1048
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1049 } >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1050
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1051 cat >&5 <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1052
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1053
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1054 ## ----------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1055 ## Core tests. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1056 ## ----------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1057
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1058 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1059
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1060
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1061 # Keep a trace of the command line.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1062 # Strip out --no-create and --no-recursion so they do not pile up.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1063 # Strip out --silent because we don't want to record it for future runs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1064 # Also quote any args containing shell meta-characters.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1065 # Make two passes to allow for proper duplicate-argument suppression.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1066 ac_configure_args=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1067 ac_configure_args0=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1068 ac_configure_args1=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1069 ac_sep=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1070 ac_must_keep_next=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1071 for ac_pass in 1 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1072 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1073 for ac_arg
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1074 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1075 case $ac_arg in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1078 | -silent | --silent | --silen | --sile | --sil)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1079 continue ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1082 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1083 case $ac_pass in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1085 2)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1087 if test $ac_must_keep_next = true; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1088 ac_must_keep_next=false # Got value, back to normal.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1089 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1090 case $ac_arg in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1091 *=* | --config-cache | -C | -disable-* | --disable-* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1094 | -with-* | --with-* | -without-* | --without-* | --x)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1095 case "$ac_configure_args0 " in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1097 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1098 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1099 -* ) ac_must_keep_next=true ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1100 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1101 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1103 # Get rid of the leading space.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1104 ac_sep=" "
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1105 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1106 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1107 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1108 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1111
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1112 # When interrupted or exit'd, cleanup temporary files, and complete
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1113 # config.log. We remove comments because anyway the quotes in there
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1114 # would cause problems or look ugly.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1115 # WARNING: Be sure not to use single quotes in there, as some shells,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1116 # such as our DU 5.0 friend, will then `close' the trap.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1117 trap 'exit_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1118 # Save into config.log some information that might help in debugging.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1119 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1120 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1121
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1122 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1123 ## ---------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1124 ## Cache variables. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1125 ## ---------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1126 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1127 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1128 # The following way of writing the cache mishandles newlines in values,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1129 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1130 (set) 2>&1 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1132 *ac_space=\ *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1133 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1136 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1137 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1138 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1140 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1141 esac;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1142 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1143 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1144
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1145 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1146 ## ----------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1147 ## Output variables. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1148 ## ----------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1149 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1150 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1151 for ac_var in $ac_subst_vars
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1152 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1153 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1154 echo "$ac_var='"'"'$ac_val'"'"'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1155 done | sort
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1156 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1157
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1158 if test -n "$ac_subst_files"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1159 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1160 ## ------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1161 ## Output files. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1162 ## ------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1163 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1164 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1165 for ac_var in $ac_subst_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1166 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1167 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1168 echo "$ac_var='"'"'$ac_val'"'"'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1169 done | sort
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1170 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1171 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1172
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1173 if test -s confdefs.h; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1174 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1175 ## ----------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1176 ## confdefs.h. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1177 ## ----------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1178 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1179 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1180 sed "/^$/d" confdefs.h | sort
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1181 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1182 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1183 test "$ac_signal" != 0 &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1184 echo "$as_me: caught signal $ac_signal"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1185 echo "$as_me: exit $exit_status"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1186 } >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1187 rm -f core *.core &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1189 exit $exit_status
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1190 ' 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1191 for ac_signal in 1 2 13 15; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1193 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1194 ac_signal=0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1195
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1197 rm -rf conftest* confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1199 echo >confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1200
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1201 # Predefined preprocessor variables.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1202
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1203 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1204 #define PACKAGE_NAME "$PACKAGE_NAME"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1205 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1206
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1207
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1208 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1210 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1211
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1212
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1213 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1215 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1216
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1217
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1218 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1219 #define PACKAGE_STRING "$PACKAGE_STRING"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1220 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1221
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1222
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1223 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1225 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1226
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1227
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1228 # Let the site file select an alternate cache file if it wants to.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1229 # Prefer explicitly selected file to automatically selected ones.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1230 if test -z "$CONFIG_SITE"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1231 if test "x$prefix" != xNONE; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1233 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1235 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1236 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1237 for ac_site_file in $CONFIG_SITE; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1238 if test -r "$ac_site_file"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1240 echo "$as_me: loading site script $ac_site_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1241 sed 's/^/| /' "$ac_site_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1242 . "$ac_site_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1243 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1244 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1245
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1246 if test -r "$cache_file"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1247 # Some versions of bash will fail to source /dev/null (special
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1248 # files actually), so we avoid doing that.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1249 if test -f "$cache_file"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1251 echo "$as_me: loading cache $cache_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1252 case $cache_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1253 [\\/]* | ?:[\\/]* ) . $cache_file;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1254 *) . ./$cache_file;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1255 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1256 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1257 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1259 echo "$as_me: creating cache $cache_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1260 >$cache_file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1261 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1262
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1263 # Check that the precious variables saved in the cache have kept the same
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1264 # value.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1265 ac_cache_corrupted=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1266 for ac_var in `(set) 2>&1 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1267 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1269 eval ac_new_set=\$ac_env_${ac_var}_set
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1271 eval ac_new_val="\$ac_env_${ac_var}_value"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1272 case $ac_old_set,$ac_new_set in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1273 set,)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1276 ac_cache_corrupted=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1277 ,set)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1278 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1279 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1280 ac_cache_corrupted=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1281 ,);;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1282 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1283 if test "x$ac_old_val" != "x$ac_new_val"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1284 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1285 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1286 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1287 echo "$as_me: former value: $ac_old_val" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1288 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1289 echo "$as_me: current value: $ac_new_val" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1290 ac_cache_corrupted=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1291 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1292 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1293 # Pass precious variables to config.status.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1294 if test "$ac_new_set" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1295 case $ac_new_val in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1297 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1298 *) ac_arg=$ac_var=$ac_new_val ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1299 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1300 case " $ac_configure_args " in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1303 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1304 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1305 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1306 if $ac_cache_corrupted; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1307 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1308 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1309 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1310 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1311 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1312 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1313
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1314 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1315 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1319
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1320
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1321
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1322
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1323
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1324
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1325
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1326
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1327
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1328
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1329
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1330
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1331
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1332
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1333
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1334
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1335
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1336
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1337
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1338
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1339
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1340
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1341
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1342
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1343
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1344
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1345
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1346
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1347
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1348
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1349
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1350
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1351 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1352 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1356 if test -n "$ac_tool_prefix"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1358 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1359 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1361 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1363 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1364 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1365 ac_cv_prog_CC="$CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1366 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1368 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1369 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1370 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1371 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1372 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1374 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1376 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1377 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1378 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1379 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1380
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1381 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1382 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1383 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1384 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1385 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1386 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1387 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1388 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1389 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1390 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1391
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1392 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1393 if test -z "$ac_cv_prog_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1394 ac_ct_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1395 # Extract the first word of "gcc", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1396 set dummy gcc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1401 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1402 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1404 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1406 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1407 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1408 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1409 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1410 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1412 ac_cv_prog_ac_ct_CC="gcc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1414 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1415 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1416 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1417 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1418
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1419 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1420 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1422 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1423 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1424 echo "${ECHO_T}$ac_ct_CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1425 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1426 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1427 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1428 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1429
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1430 CC=$ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1431 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1432 CC="$ac_cv_prog_CC"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1433 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1434
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1435 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1436 if test -n "$ac_tool_prefix"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1438 set dummy ${ac_tool_prefix}cc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1439 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1441 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1443 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1444 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1445 ac_cv_prog_CC="$CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1446 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1448 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1449 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1450 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1451 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1452 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1454 ac_cv_prog_CC="${ac_tool_prefix}cc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1456 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1457 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1458 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1459 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1460
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1461 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1462 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1463 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1464 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1465 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1466 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1467 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1468 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1469 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1470 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1471
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1472 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1473 if test -z "$ac_cv_prog_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1474 ac_ct_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1475 # Extract the first word of "cc", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1476 set dummy cc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1481 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1482 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1484 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1486 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1487 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1488 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1489 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1490 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1492 ac_cv_prog_ac_ct_CC="cc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1494 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1495 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1496 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1497 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1498
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1499 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1500 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1502 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1503 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1504 echo "${ECHO_T}$ac_ct_CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1505 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1506 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1507 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1508 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1509
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1510 CC=$ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1511 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1512 CC="$ac_cv_prog_CC"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1513 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1514
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1515 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1516 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1517 # Extract the first word of "cc", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1518 set dummy cc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1521 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1523 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1524 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1526 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1527 ac_prog_rejected=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1529 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1530 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1531 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1532 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1533 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1536 ac_prog_rejected=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1537 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1538 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1539 ac_cv_prog_CC="cc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1541 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1542 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1543 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1544 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1545
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1546 if test $ac_prog_rejected = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1547 # We found a bogon in the path, so make sure we never use it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1548 set dummy $ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1549 shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1550 if test $# != 0; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1551 # We chose a different compiler from the bogus one.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1552 # However, it has the same basename, so the bogon will be chosen
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1553 # first if we set CC to just the basename; use the full file name.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1554 shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1555 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1556 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1557 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1558 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1559 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1560 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1561 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1562 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1563 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1564 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1565 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1566 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1567 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1568
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1569 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1570 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1571 if test -n "$ac_tool_prefix"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1572 for ac_prog in cl
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1573 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1576 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1578 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1580 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1581 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1582 ac_cv_prog_CC="$CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1583 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1585 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1586 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1587 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1588 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1589 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1591 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1593 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1594 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1595 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1596 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1597
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1598 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1599 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1600 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1601 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1602 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1603 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1604 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1605 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1606 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1607 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1608
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1609 test -n "$CC" && break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1610 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1611 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1612 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1613 ac_ct_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1614 for ac_prog in cl
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1615 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1616 # Extract the first word of "$ac_prog", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1617 set dummy $ac_prog; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1622 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1623 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1625 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1627 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1628 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1629 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1630 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1631 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1633 ac_cv_prog_ac_ct_CC="$ac_prog"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1635 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1636 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1637 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1638 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1639
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1640 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1641 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1643 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1644 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1645 echo "${ECHO_T}$ac_ct_CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1646 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1647 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1648 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1649 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1650
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1651 test -n "$ac_ct_CC" && break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1652 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1653
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1654 CC=$ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1655 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1656
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1657 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1658
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1659
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1660 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1661 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1662 echo "$as_me: error: no acceptable C compiler found in \$PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1663 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1664 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1665
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1666 # Provide some information about the compiler.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1667 echo "$as_me:$LINENO:" \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1668 "checking for C compiler version" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1669 ac_compiler=`set X $ac_compile; echo $2`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1671 (eval $ac_compiler --version </dev/null >&5) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1672 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1674 (exit $ac_status); }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1675 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1676 (eval $ac_compiler -v </dev/null >&5) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1677 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1679 (exit $ac_status); }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1681 (eval $ac_compiler -V </dev/null >&5) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1682 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1684 (exit $ac_status); }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1685
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1686 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1687 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1688 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1689 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1690 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1691 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1692
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1693 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1694 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1695 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1696
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1697 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1698 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1699 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1700 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1701 ac_clean_files_save=$ac_clean_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1702 ac_clean_files="$ac_clean_files a.out a.exe b.out"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1703 # Try to create an executable without -o first, disregard a.out.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1704 # It will help us diagnose broken compilers, and finding out an intuition
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1705 # of exeext.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1706 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1707 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1708 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1709 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1710 (eval $ac_link_default) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1711 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1713 (exit $ac_status); }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1714 # Find the output, starting from the most likely. This scheme is
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1715 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1716 # resort.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1717
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1718 # Be careful to initialize this variable, since it used to be cached.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1719 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1720 ac_cv_exeext=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1721 # b.out is created by i960 compilers.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1722 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1723 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1724 test -f "$ac_file" || continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1725 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1727 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1728 conftest.$ac_ext )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1729 # This is the source file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1730 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1731 [ab].out )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1732 # We found the default executable, but exeext='' is most
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1733 # certainly right.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1734 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1735 *.* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1736 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1737 # FIXME: I believe we export ac_cv_exeext for Libtool,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1738 # but it would be cool to find out if it's true. Does anybody
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1739 # maintain Libtool? --akim.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1740 export ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1741 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1742 * )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1743 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1744 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1745 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1746 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1747 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1748 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1749
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1750 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1751 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1752 echo "$as_me: error: C compiler cannot create executables
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1753 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1754 { (exit 77); exit 77; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1755 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1756
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1757 ac_exeext=$ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1758 echo "$as_me:$LINENO: result: $ac_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1759 echo "${ECHO_T}$ac_file" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1760
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1761 # Check the compiler produces executables we can run. If not, either
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1762 # the compiler is broken, or we cross compile.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1763 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1764 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1765 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1766 # If not cross compiling, check that we can run a simple program.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1767 if test "$cross_compiling" != yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1768 if { ac_try='./$ac_file'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1770 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1771 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1773 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1774 cross_compiling=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1775 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1776 if test "$cross_compiling" = maybe; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1777 cross_compiling=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1778 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1779 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1780 If you meant to cross compile, use \`--host'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1781 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1782 echo "$as_me: error: cannot run C compiled programs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1783 If you meant to cross compile, use \`--host'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1784 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1785 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1786 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1787 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1788 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1789 echo "$as_me:$LINENO: result: yes" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1790 echo "${ECHO_T}yes" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1791
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1792 rm -f a.out a.exe conftest$ac_cv_exeext b.out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1793 ac_clean_files=$ac_clean_files_save
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1794 # Check the compiler produces executables we can run. If not, either
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1795 # the compiler is broken, or we cross compile.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1796 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1797 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1798 echo "$as_me:$LINENO: result: $cross_compiling" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1799 echo "${ECHO_T}$cross_compiling" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1800
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1801 echo "$as_me:$LINENO: checking for suffix of executables" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1802 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1804 (eval $ac_link) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1805 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1807 (exit $ac_status); }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1808 # If both `conftest.exe' and `conftest' are `present' (well, observable)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1809 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1810 # work properly (i.e., refer to `conftest.exe'), while it won't with
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1811 # `rm'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1812 for ac_file in conftest.exe conftest conftest.*; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1813 test -f "$ac_file" || continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1814 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1816 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1817 export ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1818 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1819 * ) break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1820 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1821 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1822 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1823 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1824 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1825 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1826 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1827 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1828 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1829
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1830 rm -f conftest$ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1831 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1832 echo "${ECHO_T}$ac_cv_exeext" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1833
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1834 rm -f conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1835 EXEEXT=$ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1836 ac_exeext=$EXEEXT
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1837 echo "$as_me:$LINENO: checking for suffix of object files" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1838 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1839 if test "${ac_cv_objext+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1841 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1842 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1843 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1844 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1845 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1846 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1847 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1848
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1849 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1850 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1851 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1852
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1853 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1854 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1855 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1856 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1857 rm -f conftest.o conftest.obj
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1859 (eval $ac_compile) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1860 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1862 (exit $ac_status); }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1863 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1864 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1866 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1867 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1868 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1869 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1870 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1871 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1872 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1873
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1874 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1875 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1876 echo "$as_me: error: cannot compute suffix of object files: cannot compile
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1877 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1878 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1879 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1880
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1881 rm -f conftest.$ac_cv_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1882 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1883 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1884 echo "${ECHO_T}$ac_cv_objext" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1885 OBJEXT=$ac_cv_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1886 ac_objext=$OBJEXT
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1887 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1888 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1891 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1892 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1893 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1894 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1895 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1896 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1897 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1898
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1899 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1900 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1901 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1902 #ifndef __GNUC__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1903 choke me
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1904 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1905
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1906 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1907 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1908 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1909 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1910 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1912 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1913 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1914 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1915 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1916 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1918 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1919 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1920 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1922 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1923 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1925 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1926 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1928 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1929 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1931 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1932 ac_compiler_gnu=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1933 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1934 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1935 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1936
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1937 ac_compiler_gnu=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1938 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1941
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1942 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1943 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1944 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1945 GCC=`test $ac_compiler_gnu = yes && echo yes`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1946 ac_test_CFLAGS=${CFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1947 ac_save_CFLAGS=$CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1948 CFLAGS="-g"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1949 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1950 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1951 if test "${ac_cv_prog_cc_g+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1953 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1954 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1955 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1956 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1957 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1958 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1959 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1960
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1961 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1962 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1963 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1964
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1965 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1966 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1967 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1968 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1969 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1971 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1972 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1973 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1974 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1975 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1977 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1978 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1979 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1981 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1982 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1984 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1985 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1987 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1988 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1990 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1991 ac_cv_prog_cc_g=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1992 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1993 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1994 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1995
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1996 ac_cv_prog_cc_g=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1997 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1999 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2000 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2001 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2002 if test "$ac_test_CFLAGS" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2003 CFLAGS=$ac_save_CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2004 elif test $ac_cv_prog_cc_g = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2005 if test "$GCC" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2006 CFLAGS="-g -O2"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2007 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2008 CFLAGS="-g"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2009 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2010 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2011 if test "$GCC" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2012 CFLAGS="-O2"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2013 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2014 CFLAGS=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2015 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2016 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2017 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2018 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2019 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2021 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2022 ac_cv_prog_cc_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2023 ac_save_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2024 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2025 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2026 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2027 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2028 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2029 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2030 #include <stdarg.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2031 #include <stdio.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2032 #include <sys/types.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2033 #include <sys/stat.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2034 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2035 struct buf { int x; };
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2036 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2037 static char *e (p, i)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2038 char **p;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2039 int i;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2040 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2041 return p[i];
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2042 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2043 static char *f (char * (*g) (char **, int), char **p, ...)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2044 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2045 char *s;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2046 va_list v;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2047 va_start (v,p);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2048 s = g (p, va_arg (v,int));
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2049 va_end (v);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2050 return s;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2051 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2052
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2053 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2054 function prototypes and stuff, but not '\xHH' hex character constants.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2055 These don't provoke an error unfortunately, instead are silently treated
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2056 as 'x'. The following induces an error, until -std1 is added to get
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2057 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2058 array size at least. It's necessary to write '\x00'==0 to get something
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2059 that's true only with -std1. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2060 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2061
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2062 int test (int i, double x);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2063 struct s1 {int (*f) (int a);};
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2064 struct s2 {int (*f) (double a);};
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2066 int argc;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2067 char **argv;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2068 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2069 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2070 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2072 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2073 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2074 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2075 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2076 # Don't try gcc -ansi; that turns off useful extensions and
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2077 # breaks some systems' header files.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2078 # AIX -qlanglvl=ansi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2079 # Ultrix and OSF/1 -std1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2080 # HP-UX 10.20 and later -Ae
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2081 # HP-UX older versions -Aa -D_HPUX_SOURCE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2082 # SVR4 -Xc -D__EXTENSIONS__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2083 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2084 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2085 CC="$ac_save_CC $ac_arg"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2086 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2088 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2089 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2090 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2091 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2092 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2094 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2095 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2096 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2098 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2099 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2101 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2102 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2104 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2105 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2107 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2108 ac_cv_prog_cc_stdc=$ac_arg
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2109 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2110 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2111 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2112 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2113
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2114 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2115 rm -f conftest.err conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2116 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2117 rm -f conftest.$ac_ext conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2118 CC=$ac_save_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2119
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2120 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2121
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2122 case "x$ac_cv_prog_cc_stdc" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2123 x|xno)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2124 echo "$as_me:$LINENO: result: none needed" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2125 echo "${ECHO_T}none needed" >&6 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2126 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2127 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2128 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2129 CC="$CC $ac_cv_prog_cc_stdc" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2130 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2131
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2132 # Some people use a C++ compiler to compile C. Since we use `exit',
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2133 # in C++ we need to declare it. In case someone uses the same compiler
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2134 # for both compiling C and C++ we need to have the C++ compiler decide
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2135 # the declaration of exit, since it's the most demanding environment.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2136 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2137 #ifndef __cplusplus
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2138 choke me
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2139 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2140 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2141 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2143 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2144 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2145 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2146 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2147 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2149 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2150 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2151 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2153 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2154 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2156 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2157 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2159 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2160 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2162 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2163 for ac_declaration in \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2164 '' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2165 'extern "C" void std::exit (int) throw (); using std::exit;' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2166 'extern "C" void std::exit (int); using std::exit;' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2167 'extern "C" void exit (int) throw ();' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2168 'extern "C" void exit (int);' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2169 'void exit (int);'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2170 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2171 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2172 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2173 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2174 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2175 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2176 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2177 $ac_declaration
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2178 #include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2179 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2180 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2181 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2182 exit (42);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2183 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2184 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2185 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2186 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2187 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2189 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2190 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2191 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2192 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2193 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2195 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2196 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2197 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2199 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2200 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2202 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2203 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2205 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2206 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2208 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2209 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2210 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2211 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2212 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2213
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2214 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2215 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2217 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2218 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2219 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2220 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2221 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2222 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2223 $ac_declaration
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2224 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2225 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2226 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2227 exit (42);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2228 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2229 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2230 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2231 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2232 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2234 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2235 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2236 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2237 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2238 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2240 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2241 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2242 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2244 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2245 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2247 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2248 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2250 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2251 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2253 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2254 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2255 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2256 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2257 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2258
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2259 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2261 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2262 rm -f conftest*
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2263 if test -n "$ac_declaration"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2264 echo '#ifdef __cplusplus' >>confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2265 echo $ac_declaration >>confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2266 echo '#endif' >>confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2267 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2268
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2269 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2270 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2271 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2272
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2273 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2275 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2276 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2280
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2281 ac_aux_dir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2282 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2283 if test -f $ac_dir/install-sh; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2284 ac_aux_dir=$ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2285 ac_install_sh="$ac_aux_dir/install-sh -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2286 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2287 elif test -f $ac_dir/install.sh; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2288 ac_aux_dir=$ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2289 ac_install_sh="$ac_aux_dir/install.sh -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2290 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2291 elif test -f $ac_dir/shtool; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2292 ac_aux_dir=$ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2293 ac_install_sh="$ac_aux_dir/shtool install -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2294 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2295 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2296 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2297 if test -z "$ac_aux_dir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2298 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2299 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2300 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2301 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2302 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2303 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2304 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2305
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2306 # Find a good install program. We prefer a C program (faster),
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2307 # so one script is as good as another. But avoid the broken or
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2308 # incompatible versions:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2309 # SysV /etc/install, /usr/sbin/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2310 # SunOS /usr/etc/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2311 # IRIX /sbin/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2312 # AIX /bin/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2313 # AmigaOS /C/install, which installs bootblocks on floppy discs
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2317 # OS/2's system install, which has a completely different semantic
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2318 # ./install, which can be erroneously created by make from ./install.sh.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2319 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2320 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2321 if test -z "$INSTALL"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2322 if test "${ac_cv_path_install+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2324 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2326 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2327 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2328 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2329 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2330 # Account for people who put trailing slashes in PATH elements.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2331 case $as_dir/ in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2332 ./ | .// | /cC/* | \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2333 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2334 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2335 /usr/ucb/* ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2336 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2337 # OSF1 and SCO ODT 3.0 have their own names for install.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2338 # Don't use installbsd from OSF since it installs stuff as root
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2339 # by default.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2340 for ac_prog in ginstall scoinst install; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2341 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2342 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2343 if test $ac_prog = install &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2344 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2345 # AIX install. It has an incompatible calling convention.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2346 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2347 elif test $ac_prog = install &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2348 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2349 # program-specific install script used by HP pwplus--don't use.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2350 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2351 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2352 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2353 break 3
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2354 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2355 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2356 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2357 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2358 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2359 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2360 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2361
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2362
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2363 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2364 if test "${ac_cv_path_install+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2365 INSTALL=$ac_cv_path_install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2366 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2367 # As a last resort, use the slow shell script. We don't cache a
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2368 # path for INSTALL within a source directory, because that will
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2369 # break other packages using the cache if that directory is
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2370 # removed, or if the path is relative.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2371 INSTALL=$ac_install_sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2372 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2373 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2374 echo "$as_me:$LINENO: result: $INSTALL" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2375 echo "${ECHO_T}$INSTALL" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2376
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2378 # It thinks the first close brace ends the variable substitution.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2380
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2382
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2384
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2385
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2386
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2387
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2388 # Find ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2389
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2390 # Extract the first word of "ellcc", so it can be a program name with args.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2391 set dummy ellcc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2392 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2394 if test "${ac_cv_path_ELLCC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2396 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2397 case $ELLCC in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2398 [\\/]* | ?:[\\/]*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2399 ac_cv_path_ELLCC="$ELLCC" # Let the user override the test with a path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2400 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2401 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2403 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2404 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2405 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2406 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2407 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2409 ac_cv_path_ELLCC="$as_dir/$ac_word$ac_exec_ext"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2411 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2412 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2413 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2414 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2415
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2416 test -z "$ac_cv_path_ELLCC" && ac_cv_path_ELLCC=""FAIL""
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2417 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2418 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2419 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2420 ELLCC=$ac_cv_path_ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2421
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2422 if test -n "$ELLCC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2423 echo "$as_me:$LINENO: result: $ELLCC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2424 echo "${ECHO_T}$ELLCC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2425 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2426 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2427 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2428 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2429
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2430 if test "$ELLCC" = "FAIL"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2431 { { echo "$as_me:$LINENO: error: Cannot find ellcc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2432 echo "$as_me: error: Cannot find ellcc" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2433 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2434 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2435
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2436
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2437 # Insert autoconf macros here to find the headers, libraries, other
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2438 # programs, etc. needed by your module. If other libraries will be linked
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2439 # with your module, then after detecting them, use a line of this form last:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2440
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2441 # detect canna
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2442 canna_includes_found=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2443 if test "$with_canna" != "no"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2444
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2445 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2446 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2450 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2451 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2452 # On Suns, sometimes $CPP names a directory.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2453 if test -n "$CPP" && test -d "$CPP"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2454 CPP=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2455 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2456 if test -z "$CPP"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2457 if test "${ac_cv_prog_CPP+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2459 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2460 # Double quotes because CPP needs to be expanded
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2461 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2462 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2463 ac_preproc_ok=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2464 for ac_c_preproc_warn_flag in '' yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2465 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2466 # Use a header file that comes with gcc, so configuring glibc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2467 # with a fresh cross-compiler works.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2469 # <limits.h> exists even on freestanding compilers.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2470 # On the NeXT, cc -E runs the code through the compiler's parser,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2471 # not just through cpp. "Syntax error" is here to catch this case.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2472 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2473 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2474 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2475 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2476 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2477 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2478 #ifdef __STDC__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2479 # include <limits.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2480 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2481 # include <assert.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2482 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2483 Syntax error
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2484 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2487 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2488 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2489 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2490 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2492 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2493 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2494 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2496 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2497 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2498 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2499 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2500 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2501 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2502 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2503 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2504 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2505 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2506 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2507
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2508 # Broken: fails on valid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2509 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2510 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2511 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2512
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2513 # OK, works on sane cases. Now check whether non-existent headers
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2514 # can be detected and how.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2515 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2516 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2517 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2518 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2519 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2520 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2521 #include <ac_nonexistent.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2522 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2525 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2526 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2527 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2528 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2530 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2531 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2532 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2534 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2535 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2536 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2537 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2538 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2539 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2540 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2541 # Broken: success on invalid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2542 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2543 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2544 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2545 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2546
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2547 # Passes both tests.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2548 ac_preproc_ok=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2549 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2550 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2551 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2552
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2553 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2554 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2555 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2556 if $ac_preproc_ok; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2557 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2558 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2559
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2560 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2561 ac_cv_prog_CPP=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2562
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2563 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2564 CPP=$ac_cv_prog_CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2565 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2566 ac_cv_prog_CPP=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2567 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2568 echo "$as_me:$LINENO: result: $CPP" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2569 echo "${ECHO_T}$CPP" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2570 ac_preproc_ok=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2571 for ac_c_preproc_warn_flag in '' yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2572 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2573 # Use a header file that comes with gcc, so configuring glibc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2574 # with a fresh cross-compiler works.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2576 # <limits.h> exists even on freestanding compilers.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2577 # On the NeXT, cc -E runs the code through the compiler's parser,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2578 # not just through cpp. "Syntax error" is here to catch this case.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2579 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2580 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2581 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2582 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2583 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2584 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2585 #ifdef __STDC__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2586 # include <limits.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2587 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2588 # include <assert.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2589 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2590 Syntax error
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2591 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2594 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2595 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2596 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2597 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2599 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2600 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2601 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2603 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2604 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2605 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2606 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2607 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2608 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2609 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2610 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2611 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2612 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2613 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2614
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2615 # Broken: fails on valid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2616 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2617 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2618 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2619
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2620 # OK, works on sane cases. Now check whether non-existent headers
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2621 # can be detected and how.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2622 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2623 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2624 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2625 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2626 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2627 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2628 #include <ac_nonexistent.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2629 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2632 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2633 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2634 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2635 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2637 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2638 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2639 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2641 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2642 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2643 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2644 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2645 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2646 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2647 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2648 # Broken: success on invalid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2649 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2650 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2651 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2652 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2653
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2654 # Passes both tests.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2655 ac_preproc_ok=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2656 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2657 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2658 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2659
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2660 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2662 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2663 if $ac_preproc_ok; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2664 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2665 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2667 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2669 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2670 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2671 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2672
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2673 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2674 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2678
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2679
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2680 echo "$as_me:$LINENO: checking for egrep" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2681 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2682 if test "${ac_cv_prog_egrep+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2684 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2685 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2686 then ac_cv_prog_egrep='grep -E'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2687 else ac_cv_prog_egrep='egrep'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2688 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2689 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2690 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2691 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2692 EGREP=$ac_cv_prog_egrep
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2693
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2694
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2695 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2696 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2697 if test "${ac_cv_header_stdc+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2699 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2700 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2701 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2702 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2703 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2704 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2705 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2706 #include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2707 #include <stdarg.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2708 #include <string.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2709 #include <float.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2710
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2711 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2712 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2713 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2714
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2715 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2716 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2717 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2718 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2719 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2721 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2722 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2723 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2724 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2725 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2727 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2728 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2729 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2731 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2732 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2734 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2735 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2737 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2738 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2740 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2741 ac_cv_header_stdc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2742 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2743 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2744 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2745
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2746 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2747 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2749
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2750 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2751 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2752 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2753 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2754 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2755 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2756 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2757 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2758 #include <string.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2759
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2760 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2762 $EGREP "memchr" >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2763 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2764 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2765 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2766 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2767 rm -f conftest*
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2768
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2769 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2770
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2771 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2773 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2774 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2775 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2776 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2777 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2778 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2779 #include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2780
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2781 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2783 $EGREP "free" >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2784 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2785 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2786 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2787 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2788 rm -f conftest*
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2789
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2790 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2791
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2792 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2794 if test "$cross_compiling" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2795 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2796 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2797 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2798 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2799 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2800 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2801 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2802 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2803 #include <ctype.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2804 #if ((' ' & 0x0FF) == 0x020)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2806 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2807 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2808 # define ISLOWER(c) \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2809 (('a' <= (c) && (c) <= 'i') \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2810 || ('j' <= (c) && (c) <= 'r') \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2811 || ('s' <= (c) && (c) <= 'z'))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2812 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2813 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2814
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2815 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2816 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2817 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2818 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2819 int i;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2820 for (i = 0; i < 256; i++)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2821 if (XOR (islower (i), ISLOWER (i))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2822 || toupper (i) != TOUPPER (i))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2823 exit(2);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2824 exit (0);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2825 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2826 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2827 rm -f conftest$ac_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2829 (eval $ac_link) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2830 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2834 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2835 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2837 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2838 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2839 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2840 echo "$as_me: program exited with status $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2841 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2842 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2843
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2844 ( exit $ac_status )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2845 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2846 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2848 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2849 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2850 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2851 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2852 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2853 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2854
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2855 cat >>confdefs.h <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2856 #define STDC_HEADERS 1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2857 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2858
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2859 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2860
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2861 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2862
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2863
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2864
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2865
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2866
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2867
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2868
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2869
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2870
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2871 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2872 inttypes.h stdint.h unistd.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2873 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2875 echo "$as_me:$LINENO: checking for $ac_header" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2879 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2880 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2881 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2882 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2883 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2884 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2885 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2886 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2887
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2888 #include <$ac_header>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2889 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2890 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2892 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2893 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2894 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2895 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2896 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2898 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2899 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2900 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2902 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2903 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2905 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2906 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2908 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2909 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2911 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2912 eval "$as_ac_Header=yes"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2913 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2914 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2915 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2916
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2917 eval "$as_ac_Header=no"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2918 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2920 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2924 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2926 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2927
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2928 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2929
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2930 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2931
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2932
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2933 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2934 echo "$as_me:$LINENO: checking for canna/jrkanji.h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2935 echo $ECHO_N "checking for canna/jrkanji.h... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2936 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2938 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2939 echo "$as_me:$LINENO: result: $ac_cv_header_canna_jrkanji_h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2940 echo "${ECHO_T}$ac_cv_header_canna_jrkanji_h" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2941 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2942 # Is the header compilable?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2943 echo "$as_me:$LINENO: checking canna/jrkanji.h usability" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2944 echo $ECHO_N "checking canna/jrkanji.h usability... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2945 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2946 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2947 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2948 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2949 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2950 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2951 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2952 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2953 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2954 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2956 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2957 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2958 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2959 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2960 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2962 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2963 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2964 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2966 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2967 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2969 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2970 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2972 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2973 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2975 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2976 ac_header_compiler=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2977 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2978 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2979 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2980
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2981 ac_header_compiler=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2982 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2985 echo "${ECHO_T}$ac_header_compiler" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2986
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2987 # Is the header present?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2988 echo "$as_me:$LINENO: checking canna/jrkanji.h presence" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2989 echo $ECHO_N "checking canna/jrkanji.h presence... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2990 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2991 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2992 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2993 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2994 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2995 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2996 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2997 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3000 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3001 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3002 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3003 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3005 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3006 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3007 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3009 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3010 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3011 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3012 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3013 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3014 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3015 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3016 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3017 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3018 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3019 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3020
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3021 ac_header_preproc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3022 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3023 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3025 echo "${ECHO_T}$ac_header_preproc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3026
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3027 # So? What about this header?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3029 yes:no: )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3030 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: accepted by the compiler, rejected by the preprocessor!" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3031 echo "$as_me: WARNING: canna/jrkanji.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3032 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: proceeding with the compiler's result" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3033 echo "$as_me: WARNING: canna/jrkanji.h: proceeding with the compiler's result" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3034 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3035 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3036 no:yes:* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3037 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: present but cannot be compiled" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3038 echo "$as_me: WARNING: canna/jrkanji.h: present but cannot be compiled" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3039 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: check for missing prerequisite headers?" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3040 echo "$as_me: WARNING: canna/jrkanji.h: check for missing prerequisite headers?" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3041 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: see the Autoconf documentation" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3042 echo "$as_me: WARNING: canna/jrkanji.h: see the Autoconf documentation" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3043 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: section \"Present But Cannot Be Compiled\"" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3044 echo "$as_me: WARNING: canna/jrkanji.h: section \"Present But Cannot Be Compiled\"" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3045 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: proceeding with the preprocessor's result" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3046 echo "$as_me: WARNING: canna/jrkanji.h: proceeding with the preprocessor's result" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3047 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: in the future, the compiler will take precedence" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3048 echo "$as_me: WARNING: canna/jrkanji.h: in the future, the compiler will take precedence" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3049 (
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3050 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3051 ## ------------------------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3052 ## Report this to xemacs-beta@xemacs.org ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3053 ## ------------------------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3054 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3055 ) |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3056 sed "s/^/$as_me: WARNING: /" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3057 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3058 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3059 echo "$as_me:$LINENO: checking for canna/jrkanji.h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3060 echo $ECHO_N "checking for canna/jrkanji.h... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3061 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3063 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3064 ac_cv_header_canna_jrkanji_h=$ac_header_preproc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3065 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3066 echo "$as_me:$LINENO: result: $ac_cv_header_canna_jrkanji_h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3067 echo "${ECHO_T}$ac_cv_header_canna_jrkanji_h" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3068
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3069 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3070 if test $ac_cv_header_canna_jrkanji_h = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3071 canna_includes_found=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3072 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3073
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3074
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3075 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3076 if test "$canna_includes_found" = "no" -a "$with_canna" != "no" -a \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3077 -d "/usr/local/canna/include"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3078 save_c_switch_site="$c_switch_site"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3079 c_switch_site="$c_switch_site -I/usr/local/canna/include"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3080 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3081 echo "$as_me:$LINENO: checking for canna/jrkanji.h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3082 echo $ECHO_N "checking for canna/jrkanji.h... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3083 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3085 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3086 echo "$as_me:$LINENO: result: $ac_cv_header_canna_jrkanji_h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3087 echo "${ECHO_T}$ac_cv_header_canna_jrkanji_h" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3088 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3089 # Is the header compilable?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3090 echo "$as_me:$LINENO: checking canna/jrkanji.h usability" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3091 echo $ECHO_N "checking canna/jrkanji.h usability... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3092 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3093 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3094 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3095 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3096 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3097 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3098 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3099 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3100 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3101 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3103 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3104 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3105 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3106 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3107 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3109 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3110 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3111 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3113 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3114 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3116 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3117 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3119 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3120 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3122 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3123 ac_header_compiler=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3124 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3125 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3126 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3127
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3128 ac_header_compiler=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3129 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3132 echo "${ECHO_T}$ac_header_compiler" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3133
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3134 # Is the header present?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3135 echo "$as_me:$LINENO: checking canna/jrkanji.h presence" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3136 echo $ECHO_N "checking canna/jrkanji.h presence... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3137 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3138 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3139 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3140 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3141 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3142 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3143 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3144 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3147 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3148 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3149 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3150 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3152 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3153 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3154 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3155 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3156 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3157 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3158 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3159 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3160 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3161 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3162 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3163 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3164 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3165 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3166 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3167
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3168 ac_header_preproc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3169 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3170 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3172 echo "${ECHO_T}$ac_header_preproc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3173
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3174 # So? What about this header?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3176 yes:no: )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3177 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: accepted by the compiler, rejected by the preprocessor!" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3178 echo "$as_me: WARNING: canna/jrkanji.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3179 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: proceeding with the compiler's result" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3180 echo "$as_me: WARNING: canna/jrkanji.h: proceeding with the compiler's result" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3181 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3182 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3183 no:yes:* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3184 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: present but cannot be compiled" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3185 echo "$as_me: WARNING: canna/jrkanji.h: present but cannot be compiled" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3186 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: check for missing prerequisite headers?" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3187 echo "$as_me: WARNING: canna/jrkanji.h: check for missing prerequisite headers?" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3188 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: see the Autoconf documentation" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3189 echo "$as_me: WARNING: canna/jrkanji.h: see the Autoconf documentation" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3190 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: section \"Present But Cannot Be Compiled\"" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3191 echo "$as_me: WARNING: canna/jrkanji.h: section \"Present But Cannot Be Compiled\"" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3192 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: proceeding with the preprocessor's result" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3193 echo "$as_me: WARNING: canna/jrkanji.h: proceeding with the preprocessor's result" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3194 { echo "$as_me:$LINENO: WARNING: canna/jrkanji.h: in the future, the compiler will take precedence" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3195 echo "$as_me: WARNING: canna/jrkanji.h: in the future, the compiler will take precedence" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3196 (
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3197 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3198 ## ------------------------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3199 ## Report this to xemacs-beta@xemacs.org ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3200 ## ------------------------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3201 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3202 ) |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3203 sed "s/^/$as_me: WARNING: /" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3204 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3205 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3206 echo "$as_me:$LINENO: checking for canna/jrkanji.h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3207 echo $ECHO_N "checking for canna/jrkanji.h... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3208 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3210 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3211 ac_cv_header_canna_jrkanji_h=$ac_header_preproc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3212 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3213 echo "$as_me:$LINENO: result: $ac_cv_header_canna_jrkanji_h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3214 echo "${ECHO_T}$ac_cv_header_canna_jrkanji_h" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3215
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3216 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3217 if test $ac_cv_header_canna_jrkanji_h = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3218 canna_includes_found=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3219 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3220
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3221
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3222 if test "$canna_includes_found" != "yes"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3223 c_switch_site="$save_c_switch_site"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3224 with_canna="no"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3225 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3226 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3227
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3228 test -z "$with_canna" && { if test "${ac_cv_header_canna_RK_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3229 echo "$as_me:$LINENO: checking for canna/RK.h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3230 echo $ECHO_N "checking for canna/RK.h... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3231 if test "${ac_cv_header_canna_RK_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3233 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3234 echo "$as_me:$LINENO: result: $ac_cv_header_canna_RK_h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3235 echo "${ECHO_T}$ac_cv_header_canna_RK_h" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3236 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3237 # Is the header compilable?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3238 echo "$as_me:$LINENO: checking canna/RK.h usability" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3239 echo $ECHO_N "checking canna/RK.h usability... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3240 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3241 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3242 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3243 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3244 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3245 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3246 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3247 #include <canna/RK.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3248 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3249 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3251 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3252 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3253 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3254 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3255 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3257 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3258 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3259 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3261 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3262 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3264 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3265 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3267 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3268 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3270 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3271 ac_header_compiler=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3272 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3273 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3274 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3275
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3276 ac_header_compiler=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3277 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3280 echo "${ECHO_T}$ac_header_compiler" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3281
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3282 # Is the header present?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3283 echo "$as_me:$LINENO: checking canna/RK.h presence" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3284 echo $ECHO_N "checking canna/RK.h presence... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3285 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3286 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3287 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3288 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3289 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3290 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3291 #include <canna/RK.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3292 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3295 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3296 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3297 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3298 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3300 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3301 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3302 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3304 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3305 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3306 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3307 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3308 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3309 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3310 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3311 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3312 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3313 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3314 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3315
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3316 ac_header_preproc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3317 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3318 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3320 echo "${ECHO_T}$ac_header_preproc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3321
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3322 # So? What about this header?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3324 yes:no: )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3325 { echo "$as_me:$LINENO: WARNING: canna/RK.h: accepted by the compiler, rejected by the preprocessor!" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3326 echo "$as_me: WARNING: canna/RK.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3327 { echo "$as_me:$LINENO: WARNING: canna/RK.h: proceeding with the compiler's result" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3328 echo "$as_me: WARNING: canna/RK.h: proceeding with the compiler's result" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3329 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3330 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3331 no:yes:* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3332 { echo "$as_me:$LINENO: WARNING: canna/RK.h: present but cannot be compiled" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3333 echo "$as_me: WARNING: canna/RK.h: present but cannot be compiled" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3334 { echo "$as_me:$LINENO: WARNING: canna/RK.h: check for missing prerequisite headers?" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3335 echo "$as_me: WARNING: canna/RK.h: check for missing prerequisite headers?" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3336 { echo "$as_me:$LINENO: WARNING: canna/RK.h: see the Autoconf documentation" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3337 echo "$as_me: WARNING: canna/RK.h: see the Autoconf documentation" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3338 { echo "$as_me:$LINENO: WARNING: canna/RK.h: section \"Present But Cannot Be Compiled\"" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3339 echo "$as_me: WARNING: canna/RK.h: section \"Present But Cannot Be Compiled\"" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3340 { echo "$as_me:$LINENO: WARNING: canna/RK.h: proceeding with the preprocessor's result" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3341 echo "$as_me: WARNING: canna/RK.h: proceeding with the preprocessor's result" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3342 { echo "$as_me:$LINENO: WARNING: canna/RK.h: in the future, the compiler will take precedence" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3343 echo "$as_me: WARNING: canna/RK.h: in the future, the compiler will take precedence" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3344 (
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3345 cat <<\_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3346 ## ------------------------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3347 ## Report this to xemacs-beta@xemacs.org ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3348 ## ------------------------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3349 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3350 ) |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3351 sed "s/^/$as_me: WARNING: /" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3352 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3353 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3354 echo "$as_me:$LINENO: checking for canna/RK.h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3355 echo $ECHO_N "checking for canna/RK.h... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3356 if test "${ac_cv_header_canna_RK_h+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3358 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3359 ac_cv_header_canna_RK_h=$ac_header_preproc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3360 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3361 echo "$as_me:$LINENO: result: $ac_cv_header_canna_RK_h" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3362 echo "${ECHO_T}$ac_cv_header_canna_RK_h" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3363
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3364 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3365 if test $ac_cv_header_canna_RK_h = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3366 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3367 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3368 with_canna=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3369 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3370
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3371 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3372 test -z "$with_canna" && { echo "$as_me:$LINENO: checking for RkBgnBun in -lRKC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3373 echo $ECHO_N "checking for RkBgnBun in -lRKC... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3374 if test "${ac_cv_lib_RKC_RkBgnBun+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3376 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3377 ac_check_lib_save_LIBS=$LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3378 LIBS="-lRKC $LIBS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3379 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3380 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3381 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3382 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3383 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3384 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3385
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3386 /* Override any gcc2 internal prototype to avoid an error. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3387 #ifdef __cplusplus
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3388 extern "C"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3389 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3390 /* We use char because int might match the return type of a gcc2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3391 builtin and then its argument prototype would still apply. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3392 char RkBgnBun ();
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3393 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3394 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3395 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3396 RkBgnBun ();
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3397 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3398 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3399 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3400 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3401 rm -f conftest.$ac_objext conftest$ac_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3403 (eval $ac_link) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3404 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3405 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3406 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3407 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3409 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3410 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3411 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3413 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3414 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3416 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3417 { ac_try='test -s conftest$ac_exeext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3419 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3420 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3422 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3423 ac_cv_lib_RKC_RkBgnBun=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3424 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3425 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3426 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3427
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3428 ac_cv_lib_RKC_RkBgnBun=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3429 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3430 rm -f conftest.err conftest.$ac_objext \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3431 conftest$ac_exeext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3432 LIBS=$ac_check_lib_save_LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3433 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3434 echo "$as_me:$LINENO: result: $ac_cv_lib_RKC_RkBgnBun" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3435 echo "${ECHO_T}$ac_cv_lib_RKC_RkBgnBun" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3436 if test $ac_cv_lib_RKC_RkBgnBun = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3437 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3438 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3439 with_canna=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3440 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3441 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3442 test -z "$with_canna" && { echo "$as_me:$LINENO: checking for jrKanjiControl in -lcanna" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3443 echo $ECHO_N "checking for jrKanjiControl in -lcanna... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3444 if test "${ac_cv_lib_canna_jrKanjiControl+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3446 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3447 ac_check_lib_save_LIBS=$LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3448 LIBS="-lcanna $LIBS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3449 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3450 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3451 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3452 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3453 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3454 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3455
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3456 /* Override any gcc2 internal prototype to avoid an error. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3457 #ifdef __cplusplus
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3458 extern "C"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3459 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3460 /* We use char because int might match the return type of a gcc2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3461 builtin and then its argument prototype would still apply. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3462 char jrKanjiControl ();
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3463 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3464 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3465 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3466 jrKanjiControl ();
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3467 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3468 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3469 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3470 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3471 rm -f conftest.$ac_objext conftest$ac_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3473 (eval $ac_link) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3474 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3475 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3476 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3477 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3479 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3480 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3481 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3483 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3484 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3486 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3487 { ac_try='test -s conftest$ac_exeext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3489 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3490 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3492 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3493 ac_cv_lib_canna_jrKanjiControl=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3494 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3495 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3496 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3497
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3498 ac_cv_lib_canna_jrKanjiControl=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3499 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3500 rm -f conftest.err conftest.$ac_objext \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3501 conftest$ac_exeext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3502 LIBS=$ac_check_lib_save_LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3503 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3504 echo "$as_me:$LINENO: result: $ac_cv_lib_canna_jrKanjiControl" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3505 echo "${ECHO_T}$ac_cv_lib_canna_jrKanjiControl" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3506 if test $ac_cv_lib_canna_jrKanjiControl = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3507 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3508 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3509 with_canna=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3510 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3511 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3512 test -z "$with_canna" && with_canna=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3513 if test "$with_canna" = "yes"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3514 cat >>confdefs.h <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3515 #define HAVE_CANNA 1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3516 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3517
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3518 LIBS="-lcanna -lRKC"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3519 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3520
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3521 canna_libs="$LIBS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3522
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3523
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3524 # This part should appear unchanged in every module configure.ac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3525 PROGNAME="module"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3526
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3527 MOD_CC="@ELLCC@"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3528
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3529 MODARCHDIR="\$(shell @ELLCC@ --mod-archdir)"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3530
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3531 MAKE_DOCFILE="\$(MODARCHDIR)/make-docfile"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3532
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3533 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I\$(MODARCHDIR)/include"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3534
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3535 INSTALLPATH="\$(shell @ELLCC@ --mod-site-location)"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3536
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3537 MOD_INSTALL_PROGRAM="@INSTALL_PROGRAM@"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3538
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3539 OBJECT_TO_BUILD="\$(MODNAME).ell"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3540
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3541
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3542 ac_config_files="$ac_config_files Makefile.in Makefile"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3543
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3544 cat >confcache <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3545 # This file is a shell script that caches the results of configure
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3546 # tests run on this system so they can be shared between configure
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3547 # scripts and configure runs, see configure's option --config-cache.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3548 # It is not useful on other systems. If it contains results you don't
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3549 # want to keep, you may remove or edit it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3550 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3551 # config.status only pays attention to the cache file if you give it
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3552 # the --recheck option to rerun configure.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3553 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3556 # following values.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3557
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3558 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3559
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3560 # The following way of writing the cache mishandles newlines in values,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3561 # but we know of no workaround that is simple, portable, and efficient.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3562 # So, don't put newlines in cache variables' values.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3563 # Ultrix sh set writes to stderr and can't be redirected directly,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3564 # and sets the high bit in the cache file unless we assign to the vars.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3565 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3566 (set) 2>&1 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3567 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3568 *ac_space=\ *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3569 # `set' does not quote correctly, so add quotes (double-quote
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3570 # substitution turns \\\\ into \\, and sed turns \\ into \).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3571 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3572 "s/'/'\\\\''/g;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3574 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3575 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3576 # `set' quotes correctly as required by POSIX, so do not add quotes.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3577 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3578 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3579 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3580 esac;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3581 } |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3582 sed '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3583 t clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3584 : clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3585 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3586 t end
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3587 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3588 : end' >>confcache
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3589 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3590 if test -w $cache_file; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3591 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3592 cat confcache >$cache_file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3593 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3594 echo "not updating unwritable cache $cache_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3595 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3596 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3597 rm -f confcache
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3598
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3599 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3600 # Let make expand exec_prefix.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3601 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3602
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3603 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3604 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3605 # trailing colons and then remove the whole line if VPATH becomes empty
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3606 # (actually we leave an empty line to preserve line numbers).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3607 if test "x$srcdir" = x.; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3608 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3609 s/:*\$(srcdir):*/:/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3610 s/:*\${srcdir}:*/:/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3611 s/:*@srcdir@:*/:/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3612 s/^\([^=]*=[ ]*\):*/\1/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3613 s/:*$//;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3614 s/^[^=]*=[ ]*$//;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3615 }'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3616 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3617
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3618 # Transform confdefs.h into DEFS.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3619 # Protect against shell expansion while executing Makefile rules.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3620 # Protect against Makefile macro expansion.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3621 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3622 # If the first sed substitution is executed (which looks for macros that
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3623 # take arguments), then we branch to the quote section. Otherwise,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3624 # look for a macro that doesn't take arguments.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3625 cat >confdef2opt.sed <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3626 t clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3627 : clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3628 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3629 t quote
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3630 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3631 t quote
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3632 d
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3633 : quote
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3634 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3635 s,\[,\\&,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3636 s,\],\\&,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3637 s,\$,$$,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3638 p
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3639 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3640 # We use echo to avoid assuming a particular line-breaking character.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3641 # The extra dot is to prevent the shell from consuming trailing
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3642 # line-breaks from the sub-command output. A line-break within
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3643 # single-quotes doesn't work because, if this script is created in a
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3644 # platform that uses two characters for line-breaks (e.g., DOS), tr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3645 # would break.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3646 ac_LF_and_DOT=`echo; echo .`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3647 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3648 rm -f confdef2opt.sed
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3649
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3650
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3651 ac_libobjs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3652 ac_ltlibobjs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3653 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3654 # 1. Remove the extension, and $U if already installed.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3655 ac_i=`echo "$ac_i" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3656 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3017
1e7cc382eb16 [xemacs-hg @ 2005-10-24 10:07:26 by ben]
ben
parents: 3007
diff changeset
3657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1e7cc382eb16 [xemacs-hg @ 2005-10-24 10:07:26 by ben]
ben
parents: 3007
diff changeset
3658 # will be set to the directory where LIBOBJS objects are built.
1e7cc382eb16 [xemacs-hg @ 2005-10-24 10:07:26 by ben]
ben
parents: 3007
diff changeset
3659 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1e7cc382eb16 [xemacs-hg @ 2005-10-24 10:07:26 by ben]
ben
parents: 3007
diff changeset
3660 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3007
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3661 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3662 LIBOBJS=$ac_libobjs
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3663
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3664 LTLIBOBJS=$ac_ltlibobjs
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3665
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3666
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3667
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3668 : ${CONFIG_STATUS=./config.status}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3669 ac_clean_files_save=$ac_clean_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3670 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3671 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3672 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3673 cat >$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3674 #! $SHELL
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3675 # Generated by $as_me.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3676 # Run this file to recreate the current configuration.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3677 # Compiler output produced by configure, useful for debugging
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3678 # configure, is in config.log if it exists.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3679
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3680 debug=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3681 ac_cs_recheck=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3682 ac_cs_silent=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3683 SHELL=\${CONFIG_SHELL-$SHELL}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3684 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3685
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3686 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3687 ## --------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3688 ## M4sh Initialization. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3689 ## --------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3690
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3691 # Be Bourne compatible
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3692 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3693 emulate sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3694 NULLCMD=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3695 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3696 # is contrary to our usage. Disable this feature.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3697 alias -g '${1+"$@"}'='"$@"'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3698 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3699 set -o posix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3700 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3701 DUALCASE=1; export DUALCASE # for MKS sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3702
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3703 # Support unset when possible.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3704 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3705 as_unset=unset
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3706 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3707 as_unset=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3708 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3709
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3710
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3711 # Work around bugs in pre-3.0 UWIN ksh.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3712 $as_unset ENV MAIL MAILPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3713 PS1='$ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3714 PS2='> '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3715 PS4='+ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3716
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3717 # NLS nuisances.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3718 for as_var in \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3719 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3720 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3721 LC_TELEPHONE LC_TIME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3722 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3723 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3724 eval $as_var=C; export $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3725 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3726 $as_unset $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3727 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3728 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3729
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3730 # Required to use basename.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3731 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3732 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3733 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3734 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3735 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3736
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3737 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3738 as_basename=basename
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3739 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3740 as_basename=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3741 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3742
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3743
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3744 # Name of the executable.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3745 as_me=`$as_basename "$0" ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3746 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3747 X"$0" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3748 X"$0" : 'X\(/\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3749 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3750 echo X/"$0" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3751 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3752 /^X\/\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3753 /^X\/\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3754 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3755
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3756
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3757 # PATH needs CR, and LINENO needs CR and PATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3758 # Avoid depending upon Character Ranges.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3759 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3760 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3761 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3762 as_cr_digits='0123456789'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3763 as_cr_alnum=$as_cr_Letters$as_cr_digits
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3764
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3765 # The user is always right.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3766 if test "${PATH_SEPARATOR+set}" != set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3767 echo "#! /bin/sh" >conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3768 echo "exit 0" >>conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3769 chmod +x conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3770 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3771 PATH_SEPARATOR=';'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3772 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3773 PATH_SEPARATOR=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3774 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3775 rm -f conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3776 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3777
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3778
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3779 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3780 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3781 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3782 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3783 test "x$as_lineno_3" = "x$as_lineno_2" || {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3784 # Find who we are. Look in the path if we contain no path at all
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3785 # relative or not.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3786 case $0 in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3787 *[\\/]* ) as_myself=$0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3789 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3790 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3791 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3792 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3794 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3795
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3796 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3797 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3798 # We did not find ourselves, most probably we were run as `sh COMMAND'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3799 # in which case we are not to be found in the path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3800 if test "x$as_myself" = x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3801 as_myself=$0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3802 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3803 if test ! -f "$as_myself"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3804 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3805 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3806 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3807 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3808 case $CONFIG_SHELL in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3809 '')
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3811 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3812 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3813 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3814 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3815 for as_base in sh bash ksh sh5; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3816 case $as_dir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3817 /*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3818 if ("$as_dir/$as_base" -c '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3819 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3820 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3821 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3822 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3823 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3824 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3825 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3826 CONFIG_SHELL=$as_dir/$as_base
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3827 export CONFIG_SHELL
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3828 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3829 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3830 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3831 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3832 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3833 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3834 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3835
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3836 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3837 # uniformly replaced by the line number. The first 'sed' inserts a
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3838 # line-number line before each line; the second 'sed' does the real
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3839 # work. The second script uses 'N' to pair each line-number line
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3840 # with the numbered line, and appends trailing '-' during
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3841 # substitution so that $LINENO is not a special case at line end.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3842 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3843 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3844 sed '=' <$as_myself |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3845 sed '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3846 N
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3847 s,$,-,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3848 : loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3849 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3850 t loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3851 s,-$,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3852 s,^['$as_cr_digits']*\n,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3853 ' >$as_me.lineno &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3854 chmod +x $as_me.lineno ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3855 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3856 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3857 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3858
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3859 # Don't try to exec as it changes $[0], causing all sort of problems
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3860 # (the dirname of $[0] is not the place where we might find the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3861 # original and so on. Autoconf is especially sensible to this).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3862 . ./$as_me.lineno
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3863 # Exit status is that of the last command.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3864 exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3865 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3866
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3867
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3868 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3869 *c*,-n*) ECHO_N= ECHO_C='
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3870 ' ECHO_T=' ' ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3871 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3872 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3873 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3874
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3875 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3876 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3877 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3878 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3879 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3880
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3881 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3882 echo >conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3883 if ln -s conf$$.file conf$$ 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3884 # We could just check for DJGPP; but this test a) works b) is more generic
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3885 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3886 if test -f conf$$.exe; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3887 # Don't use ln at all; we don't have any links
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3888 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3889 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3890 as_ln_s='ln -s'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3891 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3892 elif ln conf$$.file conf$$ 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3893 as_ln_s=ln
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3894 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3895 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3896 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3897 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3898
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3899 if mkdir -p . 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3900 as_mkdir_p=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3901 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3902 test -d ./-p && rmdir ./-p
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3903 as_mkdir_p=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3904 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3905
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3906 as_executable_p="test -f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3907
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3908 # Sed expression to map a string onto a valid CPP name.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3909 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3910
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3911 # Sed expression to map a string onto a valid variable name.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3912 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3913
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3914
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3915 # IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3916 # We need space, tab and new line, in precisely that order.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3917 as_nl='
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3918 '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3919 IFS=" $as_nl"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3920
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3921 # CDPATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3922 $as_unset CDPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3923
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3924 exec 6>&1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3925
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3926 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3927 # report actual input values of CONFIG_FILES etc. instead of their
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3928 # values after options handling. Logging --version etc. is OK.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3929 exec 5>>config.log
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3930 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3931 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3933 ## Running $as_me. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3934 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3935 } >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3936 cat >&5 <<_CSEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3937
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3938 This file was extended by Sample module $as_me 1.0, which was
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3939 generated by GNU Autoconf 2.59. Invocation command line was
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3940
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3941 CONFIG_FILES = $CONFIG_FILES
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3942 CONFIG_HEADERS = $CONFIG_HEADERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3943 CONFIG_LINKS = $CONFIG_LINKS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3944 CONFIG_COMMANDS = $CONFIG_COMMANDS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3945 $ $0 $@
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3946
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3947 _CSEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3948 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3949 echo >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3950 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3951
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3952 # Files that config.status was made for.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3953 if test -n "$ac_config_files"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3954 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3955 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3956
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3957 if test -n "$ac_config_headers"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3958 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3959 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3960
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3961 if test -n "$ac_config_links"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3962 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3963 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3964
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3965 if test -n "$ac_config_commands"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3966 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3967 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3968
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3969 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3970
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3971 ac_cs_usage="\
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3972 \`$as_me' instantiates files from templates according to the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3973 current configuration.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3974
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3975 Usage: $0 [OPTIONS] [FILE]...
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3976
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3977 -h, --help print this help, then exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3978 -V, --version print version number, then exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3979 -q, --quiet do not print progress messages
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3980 -d, --debug don't remove temporary files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3981 --recheck update $as_me by reconfiguring in the same conditions
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3982 --file=FILE[:TEMPLATE]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3983 instantiate the configuration file FILE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3984
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3985 Configuration files:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3986 $config_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3987
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3988 Report bugs to <bug-autoconf@gnu.org>."
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3989 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3990
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3991 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3992 ac_cs_version="\\
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3993 Sample module config.status 1.0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3994 configured by $0, generated by GNU Autoconf 2.59,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3995 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3996
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3997 Copyright (C) 2003 Free Software Foundation, Inc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3998 This config.status script is free software; the Free Software Foundation
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3999 gives unlimited permission to copy, distribute and modify it."
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4000 srcdir=$srcdir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4001 INSTALL="$INSTALL"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4002 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4003
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4004 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4005 # If no file are specified by the user, then we need to provide default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4006 # value. By we need to know if files were specified by the user.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4007 ac_need_defaults=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4008 while test $# != 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4009 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4010 case $1 in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4011 --*=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4012 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4013 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4014 ac_shift=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4015 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4016 -*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4017 ac_option=$1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4018 ac_optarg=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4019 ac_shift=shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4020 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4021 *) # This is not an option, so the user has probably given explicit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4022 # arguments.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4023 ac_option=$1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4024 ac_need_defaults=false;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4025 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4026
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4027 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4028 # Handling of the options.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4029 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4030 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4031 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4032 ac_cs_recheck=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4033 --version | --vers* | -V )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4034 echo "$ac_cs_version"; exit 0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4035 --he | --h)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4036 # Conflict between --help and --header
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4037 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4038 Try \`$0 --help' for more information." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4039 echo "$as_me: error: ambiguous option: $1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4040 Try \`$0 --help' for more information." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4041 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4042 --help | --hel | -h )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4043 echo "$ac_cs_usage"; exit 0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4044 --debug | --d* | -d )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4045 debug=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4046 --file | --fil | --fi | --f )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4047 $ac_shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4048 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4049 ac_need_defaults=false;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4050 --header | --heade | --head | --hea )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4051 $ac_shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4052 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4053 ac_need_defaults=false;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4056 ac_cs_silent=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4057
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4058 # This is an error.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4059 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4060 Try \`$0 --help' for more information." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4061 echo "$as_me: error: unrecognized option: $1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4062 Try \`$0 --help' for more information." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4063 { (exit 1); exit 1; }; } ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4064
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4065 *) ac_config_targets="$ac_config_targets $1" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4066
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4067 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4068 shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4069 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4070
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4071 ac_configure_extra_args=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4072
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4073 if $ac_cs_silent; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4074 exec 6>/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4075 ac_configure_extra_args="$ac_configure_extra_args --silent"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4076 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4077
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4078 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4079 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4080 if \$ac_cs_recheck; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4081 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4082 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4083 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4084
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4085 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4086
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4087
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4088
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4089
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4090
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4091 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4092 for ac_config_target in $ac_config_targets
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4093 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4094 case "$ac_config_target" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4095 # Handling of arguments.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4096 "Makefile.in" ) CONFIG_FILES="$CONFIG_FILES Makefile.in" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4097 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4098 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4099 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4100 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4101 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4102 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4103
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4104 # If the user did not use the arguments to specify the items to instantiate,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4105 # then the envvar interface is used. Set only those that are not.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4106 # We use the long form for the default assignment because of an extremely
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4107 # bizarre bug on SunOS 4.1.3.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4108 if $ac_need_defaults; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4110 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4111
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4112 # Have a temporary directory for convenience. Make it in the build tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4113 # simply because there is no reason to put it here, and in addition,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4114 # creating and moving files from /tmp can sometimes cause problems.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4115 # Create a temporary directory, and hook for its removal unless debugging.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4116 $debug ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4117 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4118 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4119 trap '{ (exit 1); exit 1; }' 1 2 13 15
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4120 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4121
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4122 # Create a (secure) tmp directory for tmp files.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4123
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4124 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4125 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4126 test -n "$tmp" && test -d "$tmp"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4127 } ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4128 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4129 tmp=./confstat$$-$RANDOM
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4130 (umask 077 && mkdir $tmp)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4131 } ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4132 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4133 echo "$me: cannot create a temporary directory in ." >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4134 { (exit 1); exit 1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4135 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4136
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4137 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4138
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4139 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4140
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4141 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4142 # CONFIG_FILES section.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4143 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4144
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4145 # No need to generate the scripts if there are no CONFIG_FILES.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4146 # This happens for instance when ./config.status config.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4147 if test -n "\$CONFIG_FILES"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4148 # Protect against being on the right side of a sed subst in config.status.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4149 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4150 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4151 s,@SHELL@,$SHELL,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4152 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4153 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4154 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4155 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4156 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4157 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4158 s,@exec_prefix@,$exec_prefix,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4159 s,@prefix@,$prefix,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4160 s,@program_transform_name@,$program_transform_name,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4161 s,@bindir@,$bindir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4162 s,@sbindir@,$sbindir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4163 s,@libexecdir@,$libexecdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4164 s,@datadir@,$datadir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4165 s,@sysconfdir@,$sysconfdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4166 s,@sharedstatedir@,$sharedstatedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4167 s,@localstatedir@,$localstatedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4168 s,@libdir@,$libdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4169 s,@includedir@,$includedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4170 s,@oldincludedir@,$oldincludedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4171 s,@infodir@,$infodir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4172 s,@mandir@,$mandir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4173 s,@build_alias@,$build_alias,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4174 s,@host_alias@,$host_alias,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4175 s,@target_alias@,$target_alias,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4176 s,@DEFS@,$DEFS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4177 s,@ECHO_C@,$ECHO_C,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4178 s,@ECHO_N@,$ECHO_N,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4179 s,@ECHO_T@,$ECHO_T,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4180 s,@LIBS@,$LIBS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4181 s,@CC@,$CC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4182 s,@CFLAGS@,$CFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4183 s,@LDFLAGS@,$LDFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4184 s,@CPPFLAGS@,$CPPFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4185 s,@ac_ct_CC@,$ac_ct_CC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4186 s,@EXEEXT@,$EXEEXT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4187 s,@OBJEXT@,$OBJEXT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4188 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4189 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4190 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4191 s,@ELLCC@,$ELLCC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4192 s,@CPP@,$CPP,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4193 s,@EGREP@,$EGREP,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4194 s,@canna_libs@,$canna_libs,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4195 s,@PROGNAME@,$PROGNAME,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4196 s,@MOD_CC@,$MOD_CC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4197 s,@MODARCHDIR@,$MODARCHDIR,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4198 s,@MAKE_DOCFILE@,$MAKE_DOCFILE,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4199 s,@MODCFLAGS@,$MODCFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4200 s,@INSTALLPATH@,$INSTALLPATH,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4201 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4202 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4203 s,@LIBOBJS@,$LIBOBJS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4204 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4205 CEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4206
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4207 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4208
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4209 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4210 # Split the substitutions into bite-sized pieces for seds with
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4211 # small command number limits, like on Digital OSF/1 and HP-UX.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4212 ac_max_sed_lines=48
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4213 ac_sed_frag=1 # Number of current file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4214 ac_beg=1 # First line for current file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4215 ac_end=$ac_max_sed_lines # Line after last line for current file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4216 ac_more_lines=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4217 ac_sed_cmds=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4218 while $ac_more_lines; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4219 if test $ac_beg -gt 1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4220 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4221 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4222 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4223 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4224 if test ! -s $tmp/subs.frag; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4225 ac_more_lines=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4226 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4227 # The purpose of the label and of the branching condition is to
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4228 # speed up the sed processing (if there are no `@' at all, there
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4229 # is no need to browse any of the substitutions).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4230 # These are the two extra sed commands mentioned above.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4231 (echo ':t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4232 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4233 if test -z "$ac_sed_cmds"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4234 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4235 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4236 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4237 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4238 ac_sed_frag=`expr $ac_sed_frag + 1`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4239 ac_beg=$ac_end
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4240 ac_end=`expr $ac_end + $ac_max_sed_lines`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4241 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4242 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4243 if test -z "$ac_sed_cmds"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4244 ac_sed_cmds=cat
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4245 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4246 fi # test -n "$CONFIG_FILES"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4247
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4248 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4249 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4250 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4251 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4252 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4253 - | *:- | *:-:* ) # input from stdin
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4254 cat >$tmp/stdin
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4255 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4256 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4257 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4258 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4259 * ) ac_file_in=$ac_file.in ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4260 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4261
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4262 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4263 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4264 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4265 X"$ac_file" : 'X\(//\)[^/]' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4266 X"$ac_file" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4267 X"$ac_file" : 'X\(/\)' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4268 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4269 echo X"$ac_file" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4272 /^X\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4273 /^X\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4274 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4275 { if $as_mkdir_p; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4276 mkdir -p "$ac_dir"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4277 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4278 as_dir="$ac_dir"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4279 as_dirs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4280 while test ! -d "$as_dir"; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4281 as_dirs="$as_dir $as_dirs"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4282 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4284 X"$as_dir" : 'X\(//\)[^/]' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4285 X"$as_dir" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4286 X"$as_dir" : 'X\(/\)' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4287 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4288 echo X"$as_dir" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4291 /^X\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4292 /^X\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4293 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4294 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4295 test ! -n "$as_dirs" || mkdir $as_dirs
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4296 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4297 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4298 { (exit 1); exit 1; }; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4299
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4300 ac_builddir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4301
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4302 if test "$ac_dir" != .; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4304 # A "../" for each directory in $ac_dir_suffix.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4305 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4306 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4307 ac_dir_suffix= ac_top_builddir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4308 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4309
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4310 case $srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4311 .) # No --srcdir option. We are building in place.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4312 ac_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4313 if test -z "$ac_top_builddir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4314 ac_top_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4315 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4316 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4317 fi ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4318 [\\/]* | ?:[\\/]* ) # Absolute path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4319 ac_srcdir=$srcdir$ac_dir_suffix;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4320 ac_top_srcdir=$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4321 *) # Relative path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4322 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4323 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4324 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4325
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4326 # Do not use `cd foo && pwd` to compute absolute paths, because
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4327 # the directories may not exist.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4328 case `pwd` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4329 .) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4330 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4331 case "$ac_dir" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4332 .) ac_abs_builddir=`pwd`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4333 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4334 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4335 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4336 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4337 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4338 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4339 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4340 case ${ac_top_builddir}. in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4341 .) ac_abs_top_builddir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4342 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4343 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4344 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4345 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4346 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4347 .) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4348 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4349 case $ac_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4350 .) ac_abs_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4351 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4352 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4353 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4354 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4355 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4356 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4357 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4358 case $ac_top_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4359 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4360 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4361 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4362 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4363 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4364
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4365
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4366 case $INSTALL in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4367 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4368 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4369 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4370
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4371 if test x"$ac_file" != x-; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4372 { echo "$as_me:$LINENO: creating $ac_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4373 echo "$as_me: creating $ac_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4374 rm -f "$ac_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4375 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4376 # Let's still pretend it is `configure' which instantiates (i.e., don't
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4377 # use $as_me), people would be surprised to read:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4378 # /* config.h. Generated by config.status. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4379 if test x"$ac_file" = x-; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4380 configure_input=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4381 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4382 configure_input="$ac_file. "
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4383 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4384 configure_input=$configure_input"Generated from `echo $ac_file_in |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4385 sed 's,.*/,,'` by configure."
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4386
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4387 # First look for the input files in the build tree, otherwise in the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4388 # src tree.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4389 ac_file_inputs=`IFS=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4390 for f in $ac_file_in; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4391 case $f in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4392 -) echo $tmp/stdin ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4393 [\\/$]*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4394 # Absolute (can't be DOS-style, as IFS=:)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4395 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4396 echo "$as_me: error: cannot find input file: $f" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4397 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4398 echo "$f";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4399 *) # Relative
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4400 if test -f "$f"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4401 # Build tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4402 echo "$f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4403 elif test -f "$srcdir/$f"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4404 # Source tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4405 echo "$srcdir/$f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4406 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4407 # /dev/null tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4408 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4409 echo "$as_me: error: cannot find input file: $f" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4410 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4411 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4412 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4413 done` || { (exit 1); exit 1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4414 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4415 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4416 sed "$ac_vpsub
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4417 $extrasub
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4418 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4419 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4420 :t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4422 s,@configure_input@,$configure_input,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4423 s,@srcdir@,$ac_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4424 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4425 s,@top_srcdir@,$ac_top_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4426 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4427 s,@builddir@,$ac_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4428 s,@abs_builddir@,$ac_abs_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4429 s,@top_builddir@,$ac_top_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4430 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4431 s,@INSTALL@,$ac_INSTALL,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4432 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4433 rm -f $tmp/stdin
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4434 if test x"$ac_file" != x-; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4435 mv $tmp/out $ac_file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4436 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4437 cat $tmp/out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4438 rm -f $tmp/out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4439 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4440
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4441 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4442 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4443
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4444 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4445
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4446 { (exit 0); exit 0; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4447 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4448 chmod +x $CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4449 ac_clean_files=$ac_clean_files_save
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4450
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4451
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4452 # configure is writing to config.log, and then calls config.status.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4453 # config.status does its own redirection, appending to config.log.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4454 # Unfortunately, on DOS this fails, as config.log is still kept open
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4455 # by configure, so config.status won't be able to write to it; its
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4456 # output is simply discarded. So we exec the FD to /dev/null,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4457 # effectively closing config.log, so it can be properly (re)opened and
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4458 # appended to by config.status. When coming back to configure, we
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4459 # need to make the FD available again.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4460 if test "$no_create" != yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4461 ac_cs_success=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4462 ac_config_status_args=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4463 test "$silent" = yes &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4464 ac_config_status_args="$ac_config_status_args --quiet"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4465 exec 5>/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4467 exec 5>>config.log
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4469 # would make configure fail if this is the last instruction.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4470 $ac_cs_success || { (exit 1); exit 1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4471 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4472