annotate modules/canna/configure @ 5141:0dcd22290039

fix issues with finalizers in number.c, postgresql, ldap -------------------- ChangeLog entries follow: -------------------- modules/ChangeLog addition: 2010-03-07 Ben Wing <ben@xemacs.org> * postgresql/postgresql.c (finalize_pgconn): * postgresql/postgresql.c (finalize_pgresult): * ldap/eldap.c (finalize_ldap): Fix the finalizers to go with the new calling sequence. Done previously but somehow got lost. src/ChangeLog addition: 2010-03-07 Ben Wing <ben@xemacs.org> * number.c (bignum_finalize): * number.c (ratio_finalize): * number.c (bigfloat_finalize): Fix the finalizers to go with the new calling sequence. Done previously but somehow got lost.
author Ben Wing <ben@xemacs.org>
date Sun, 07 Mar 2010 19:26:04 -0600
parents 1e7cc382eb16
children 56b64a055043
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 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
17 # 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
18 # 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
19 # 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
20 # option) any later version.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
21 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
22 # 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
23 # WITHOUT ANY WARRANTY; without even the implied warranty of
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
24 # 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
25 # General Public License for more details.
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
28 # 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
29 # 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
30 # 02111-1307, USA.
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 ## M4sh Initialization. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
33 ## --------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
34
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
35 # Be Bourne compatible
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
36 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
37 emulate sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
38 NULLCMD=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
39 # 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
40 # is contrary to our usage. Disable this feature.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
41 alias -g '${1+"$@"}'='"$@"'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
42 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
43 set -o posix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
44 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
45 DUALCASE=1; export DUALCASE # for MKS sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
46
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
47 # Support unset when possible.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
48 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
49 as_unset=unset
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
50 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
51 as_unset=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
52 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
53
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
54
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
55 # Work around bugs in pre-3.0 UWIN ksh.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
56 $as_unset ENV MAIL MAILPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
57 PS1='$ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
58 PS2='> '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
59 PS4='+ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
60
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
61 # NLS nuisances.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
62 for as_var in \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
63 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
64 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
65 LC_TELEPHONE LC_TIME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
66 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
67 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
68 eval $as_var=C; export $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
69 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
70 $as_unset $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
71 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
72 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
73
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
74 # Required to use basename.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
75 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
76 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
77 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
78 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
79 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
80
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
81 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
82 as_basename=basename
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
83 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
84 as_basename=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
85 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
86
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
87
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
88 # Name of the executable.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
89 as_me=`$as_basename "$0" ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
90 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
91 X"$0" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
92 X"$0" : 'X\(/\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
93 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
94 echo X/"$0" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
95 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
96 /^X\/\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
97 /^X\/\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
98 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
99
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
100
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
101 # PATH needs CR, and LINENO needs CR and PATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
102 # Avoid depending upon Character Ranges.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
106 as_cr_digits='0123456789'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
107 as_cr_alnum=$as_cr_Letters$as_cr_digits
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
108
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
109 # The user is always right.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
110 if test "${PATH_SEPARATOR+set}" != set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
111 echo "#! /bin/sh" >conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
112 echo "exit 0" >>conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
113 chmod +x conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
114 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
115 PATH_SEPARATOR=';'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
116 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
117 PATH_SEPARATOR=:
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 rm -f conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
120 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
121
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
122
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
123 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
124 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
125 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
126 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
127 test "x$as_lineno_3" = "x$as_lineno_2" || {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
128 # 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
129 # relative or not.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
130 case $0 in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
131 *[\\/]* ) as_myself=$0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
132 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
133 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
134 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
135 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
136 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
137 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
138 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
139
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
140 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
141 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
142 # 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
143 # 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
144 if test "x$as_myself" = x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
145 as_myself=$0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
146 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
147 if test ! -f "$as_myself"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
148 { 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
149 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
150 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
151 case $CONFIG_SHELL in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
152 '')
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
154 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
155 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
156 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
157 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
158 for as_base in sh bash ksh sh5; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
159 case $as_dir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
160 /*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
161 if ("$as_dir/$as_base" -c '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
162 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
163 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
164 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
165 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
166 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
167 $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
168 $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
169 CONFIG_SHELL=$as_dir/$as_base
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
170 export CONFIG_SHELL
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
171 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
172 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
173 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
174 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
175 done
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 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
178
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
179 # 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
180 # 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
181 # 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
182 # 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
183 # with the numbered line, and appends trailing '-' during
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
184 # 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
185 # (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
186 # 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
187 sed '=' <$as_myself |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
188 sed '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
189 N
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
190 s,$,-,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
191 : loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
192 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
193 t loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
194 s,-$,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
195 s,^['$as_cr_digits']*\n,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
196 ' >$as_me.lineno &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
197 chmod +x $as_me.lineno ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
198 { 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
199 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
200
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
201 # 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
202 # (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
203 # 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
204 . ./$as_me.lineno
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
205 # Exit status is that of the last command.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
206 exit
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
209
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
210 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
211 *c*,-n*) ECHO_N= ECHO_C='
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
212 ' ECHO_T=' ' ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
213 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
214 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
215 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
216
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
217 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
218 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
219 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
220 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
221 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
222
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
223 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
224 echo >conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
225 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
226 # 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
227 # 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
228 if test -f conf$$.exe; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
229 # 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
230 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
231 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
232 as_ln_s='ln -s'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
233 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
234 elif ln conf$$.file conf$$ 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
235 as_ln_s=ln
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
236 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
237 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
238 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
239 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
240
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
241 if mkdir -p . 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
242 as_mkdir_p=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
243 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
244 test -d ./-p && rmdir ./-p
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
245 as_mkdir_p=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
246 fi
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 as_executable_p="test -f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
249
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
250 # 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
251 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
252
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
253 # 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
254 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
255
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
256
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
257 # IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
258 # 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
259 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 IFS=" $as_nl"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
262
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
263 # CDPATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
264 $as_unset CDPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
265
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
266
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
267 # Name of the host.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
268 # 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
269 # so uname gets run too.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
270 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
271
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
272 exec 6>&1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
273
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 # Initializations.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
276 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
277 ac_default_prefix=/usr/local
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
278 ac_config_libobj_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
279 cross_compiling=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
280 subdirs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
281 MFLAGS=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
282 MAKEFLAGS=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
283 SHELL=${CONFIG_SHELL-/bin/sh}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
284
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
285 # 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
286 # 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
287 # only ac_max_sed_lines should be used.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
288 : ${ac_max_here_lines=38}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
289
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
290 # Identity of this package.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
291 PACKAGE_NAME='Sample module'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
292 PACKAGE_TARNAME='sample-module'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
293 PACKAGE_VERSION='1.0'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
294 PACKAGE_STRING='Sample module 1.0'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
295 PACKAGE_BUGREPORT='xemacs-beta@xemacs.org'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
296
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
297 ac_unique_file="sample.c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
298 # Factoring default headers for most tests.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
299 ac_includes_default="\
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
300 #include <stdio.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
301 #if HAVE_SYS_TYPES_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
302 # include <sys/types.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
303 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
304 #if HAVE_SYS_STAT_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
305 # include <sys/stat.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
306 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
307 #if STDC_HEADERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
308 # include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
309 # include <stddef.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
310 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
311 # if HAVE_STDLIB_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
312 # include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
313 # endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
314 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
315 #if HAVE_STRING_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
316 # if !STDC_HEADERS && HAVE_MEMORY_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
317 # include <memory.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 # include <string.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
320 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
321 #if HAVE_STRINGS_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
322 # include <strings.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
323 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
324 #if HAVE_INTTYPES_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
325 # include <inttypes.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
326 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
327 # if HAVE_STDINT_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
328 # include <stdint.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
329 # endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
330 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
331 #if HAVE_UNISTD_H
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
332 # include <unistd.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
333 #endif"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
334
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
335 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
336 ac_subst_files=''
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
337
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
338 # Initialize some variables set by options.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
339 ac_init_help=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
340 ac_init_version=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
341 # 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
342 # dashes changed to underlines.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
343 cache_file=/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
344 exec_prefix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
345 no_create=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
346 no_recursion=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
347 prefix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
348 program_prefix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
349 program_suffix=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
350 program_transform_name=s,x,x,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
351 silent=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
352 site=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
353 srcdir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
354 verbose=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
355 x_includes=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
356 x_libraries=NONE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
357
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
358 # Installation directory options.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
359 # 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
360 # 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
361 # by default will actually change.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
362 # 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
363 bindir='${exec_prefix}/bin'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
364 sbindir='${exec_prefix}/sbin'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
365 libexecdir='${exec_prefix}/libexec'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
366 datadir='${prefix}/share'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
367 sysconfdir='${prefix}/etc'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
368 sharedstatedir='${prefix}/com'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
369 localstatedir='${prefix}/var'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
370 libdir='${exec_prefix}/lib'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
371 includedir='${prefix}/include'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
372 oldincludedir='/usr/include'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
373 infodir='${prefix}/info'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
374 mandir='${prefix}/man'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
375
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
376 ac_prev=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
377 for ac_option
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
378 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
379 # If the previous option needs an argument, assign it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
380 if test -n "$ac_prev"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
381 eval "$ac_prev=\$ac_option"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
382 ac_prev=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
383 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
384 fi
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 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
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 # 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
389
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
390 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
391
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 ac_prev=bindir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
394 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
395 bindir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
396
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 ac_prev=build_alias ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
399 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
400 build_alias=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
401
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
402 -cache-file | --cache-file | --cache-fil | --cache-fi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
403 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
404 ac_prev=cache_file ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
405 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
406 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
407 cache_file=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
408
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
409 --config-cache | -C)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
410 cache_file=config.cache ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
411
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
412 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
413 ac_prev=datadir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
414 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
415 | --da=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
416 datadir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
417
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
418 -disable-* | --disable-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
419 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
420 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
421 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
422 { 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
423 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
424 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
425 eval "enable_$ac_feature=no" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
426
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
427 -enable-* | --enable-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
428 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
429 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
430 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
431 { 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
432 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
433 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
434 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
435 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
436 *) ac_optarg=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
437 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
438 eval "enable_$ac_feature='$ac_optarg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
439
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
440 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
441 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
442 | --exec | --exe | --ex)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
443 ac_prev=exec_prefix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
444 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
445 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
446 | --exec=* | --exe=* | --ex=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
447 exec_prefix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
448
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
449 -gas | --gas | --ga | --g)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
450 # Obsolete; use --with-gas.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
451 with_gas=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
452
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
453 -help | --help | --hel | --he | -h)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
454 ac_init_help=long ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
455 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
456 ac_init_help=recursive ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
457 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
458 ac_init_help=short ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
459
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 ac_prev=host_alias ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
462 -host=* | --host=* | --hos=* | --ho=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
463 host_alias=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
464
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
465 -includedir | --includedir | --includedi | --included | --include \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
466 | --includ | --inclu | --incl | --inc)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
467 ac_prev=includedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
468 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
469 | --includ=* | --inclu=* | --incl=* | --inc=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
470 includedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
471
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 ac_prev=infodir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
474 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
475 infodir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
476
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 ac_prev=libdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
479 -libdir=* | --libdir=* | --libdi=* | --libd=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
480 libdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
481
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
482 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
483 | --libexe | --libex | --libe)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
484 ac_prev=libexecdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
485 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
486 | --libexe=* | --libex=* | --libe=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
487 libexecdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
488
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
489 -localstatedir | --localstatedir | --localstatedi | --localstated \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
490 | --localstate | --localstat | --localsta | --localst \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
491 | --locals | --local | --loca | --loc | --lo)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
492 ac_prev=localstatedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
493 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
494 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
495 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
496 localstatedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
497
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 ac_prev=mandir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
500 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
501 mandir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
502
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
503 -nfp | --nfp | --nf)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
504 # Obsolete; use --without-fp.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
505 with_fp=no ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
506
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
507 -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
508 | --no-cr | --no-c | -n)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
509 no_create=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
510
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
511 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
512 | --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
513 no_recursion=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
514
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
515 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
516 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
517 | --oldin | --oldi | --old | --ol | --o)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
518 ac_prev=oldincludedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
519 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
520 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
521 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
522 oldincludedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
523
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 ac_prev=prefix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
527 prefix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
528
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
529 -program-prefix | --program-prefix | --program-prefi | --program-pref \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
530 | --program-pre | --program-pr | --program-p)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
531 ac_prev=program_prefix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
532 -program-prefix=* | --program-prefix=* | --program-prefi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
533 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
534 program_prefix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
535
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
536 -program-suffix | --program-suffix | --program-suffi | --program-suff \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
537 | --program-suf | --program-su | --program-s)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
538 ac_prev=program_suffix ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
539 -program-suffix=* | --program-suffix=* | --program-suffi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
540 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
541 program_suffix=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
542
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
543 -program-transform-name | --program-transform-name \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
544 | --program-transform-nam | --program-transform-na \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
545 | --program-transform-n | --program-transform- \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
546 | --program-transform | --program-transfor \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
547 | --program-transfo | --program-transf \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
548 | --program-trans | --program-tran \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
549 | --progr-tra | --program-tr | --program-t)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
550 ac_prev=program_transform_name ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
551 -program-transform-name=* | --program-transform-name=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
552 | --program-transform-nam=* | --program-transform-na=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
553 | --program-transform-n=* | --program-transform-=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
554 | --program-transform=* | --program-transfor=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
555 | --program-transfo=* | --program-transf=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
556 | --program-trans=* | --program-tran=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
557 | --progr-tra=* | --program-tr=* | --program-t=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
558 program_transform_name=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
559
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
561 | -silent | --silent | --silen | --sile | --sil)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
562 silent=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
563
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
564 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
565 ac_prev=sbindir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
566 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
567 | --sbi=* | --sb=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
568 sbindir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
569
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
570 -sharedstatedir | --sharedstatedir | --sharedstatedi \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
571 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
572 | --sharedst | --shareds | --shared | --share | --shar \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
573 | --sha | --sh)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
574 ac_prev=sharedstatedir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
575 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
576 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
577 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
578 | --sha=* | --sh=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
579 sharedstatedir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
580
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 ac_prev=site ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
583 -site=* | --site=* | --sit=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
584 site=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
585
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 ac_prev=srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
588 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
589 srcdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
590
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
591 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
592 | --syscon | --sysco | --sysc | --sys | --sy)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
593 ac_prev=sysconfdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
594 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
595 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
596 sysconfdir=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
597
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 ac_prev=target_alias ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
600 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
601 target_alias=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
602
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
603 -v | -verbose | --verbose | --verbos | --verbo | --verb)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
604 verbose=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
605
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
606 -version | --version | --versio | --versi | --vers | -V)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
607 ac_init_version=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
608
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
609 -with-* | --with-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
610 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
611 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
612 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
613 { 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
614 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
615 ac_package=`echo $ac_package| sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
616 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
617 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
618 *) ac_optarg=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
619 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
620 eval "with_$ac_package='$ac_optarg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
621
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
622 -without-* | --without-*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
623 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
624 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
625 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
626 { 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
627 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
628 ac_package=`echo $ac_package | sed 's/-/_/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
629 eval "with_$ac_package=no" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
630
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
631 --x)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
632 # Obsolete; use --with-x.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
633 with_x=yes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
634
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
635 -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
636 | --x-incl | --x-inc | --x-in | --x-i)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
637 ac_prev=x_includes ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
638 -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
639 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
640 x_includes=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
641
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
642 -x-libraries | --x-libraries | --x-librarie | --x-librari \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
643 | --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
644 ac_prev=x_libraries ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
645 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
646 | --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
647 x_libraries=$ac_optarg ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
648
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
649 -*) { echo "$as_me: error: unrecognized option: $ac_option
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
650 Try \`$0 --help' for more information." >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
651 { (exit 1); exit 1; }; }
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
654 *=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
655 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
656 # Reject names that are not valid shell variable names.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
657 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
658 { 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
659 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
660 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
661 eval "$ac_envvar='$ac_optarg'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
662 export $ac_envvar ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
663
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
664 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
665 # FIXME: should be removed in autoconf 3.0.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
666 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
667 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
668 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
669 : ${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
670 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
671
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
672 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
673 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
674
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
675 if test -n "$ac_prev"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
676 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
677 { 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
678 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
679 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
680
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
681 # Be sure to have absolute paths.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
682 for ac_var in exec_prefix prefix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
683 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
684 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
685 case $ac_val in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
686 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
687 *) { 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
688 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
689 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
690 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
691
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
692 # Be sure to have absolute paths.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
693 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
694 localstatedir libdir includedir oldincludedir infodir mandir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
695 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
696 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
697 case $ac_val in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
698 [\\/$]* | ?:[\\/]* ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
699 *) { 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
700 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
701 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
702 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
703
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
704 # 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
705 # used to hold the argument of --host etc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
706 # FIXME: To remove some day.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
707 build=$build_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
708 host=$host_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
709 target=$target_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
710
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
711 # FIXME: To remove some day.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
712 if test "x$host_alias" != x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
713 if test "x$build_alias" = x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
714 cross_compiling=maybe
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
715 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
716 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
717 elif test "x$build_alias" != "x$host_alias"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
718 cross_compiling=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
719 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
720 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
721
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
722 ac_tool_prefix=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
723 test -n "$host_alias" && ac_tool_prefix=$host_alias-
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 test "$silent" = yes && exec 6>/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
726
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
727
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
728 # Find the source files, if location was not specified.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
729 if test -z "$srcdir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
730 ac_srcdir_defaulted=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
731 # Try the directory containing this script, then its parent.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
732 ac_confdir=`(dirname "$0") 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
733 $as_expr 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 X"$0" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
736 X"$0" : 'X\(/\)' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
737 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
738 echo X"$0" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
739 sed '/^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 /^X\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
742 /^X\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
743 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
744 srcdir=$ac_confdir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
745 if test ! -r $srcdir/$ac_unique_file; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
746 srcdir=..
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
747 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
748 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
749 ac_srcdir_defaulted=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
750 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
751 if test ! -r $srcdir/$ac_unique_file; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
752 if test "$ac_srcdir_defaulted" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
753 { 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
754 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
755 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
756 { 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
757 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
758 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
759 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
760 (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
761 { 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
762 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
763 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
764 ac_env_build_alias_set=${build_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
765 ac_env_build_alias_value=$build_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
766 ac_cv_env_build_alias_set=${build_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
767 ac_cv_env_build_alias_value=$build_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
768 ac_env_host_alias_set=${host_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
769 ac_env_host_alias_value=$host_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
770 ac_cv_env_host_alias_set=${host_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
771 ac_cv_env_host_alias_value=$host_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
772 ac_env_target_alias_set=${target_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
773 ac_env_target_alias_value=$target_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
774 ac_cv_env_target_alias_set=${target_alias+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
775 ac_cv_env_target_alias_value=$target_alias
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
776 ac_env_CC_set=${CC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
777 ac_env_CC_value=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
778 ac_cv_env_CC_set=${CC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
779 ac_cv_env_CC_value=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
780 ac_env_CFLAGS_set=${CFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
781 ac_env_CFLAGS_value=$CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
782 ac_cv_env_CFLAGS_set=${CFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
783 ac_cv_env_CFLAGS_value=$CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
784 ac_env_LDFLAGS_set=${LDFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
785 ac_env_LDFLAGS_value=$LDFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
786 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
787 ac_cv_env_LDFLAGS_value=$LDFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
788 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
789 ac_env_CPPFLAGS_value=$CPPFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
790 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
791 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
792 ac_env_ELLCC_set=${ELLCC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
793 ac_env_ELLCC_value=$ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
794 ac_cv_env_ELLCC_set=${ELLCC+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
795 ac_cv_env_ELLCC_value=$ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
796 ac_env_CPP_set=${CPP+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
797 ac_env_CPP_value=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
798 ac_cv_env_CPP_set=${CPP+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
799 ac_cv_env_CPP_value=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
800
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 # Report the --help message.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
803 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
804 if test "$ac_init_help" = "long"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
805 # 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
806 # 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
807 cat <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
808 \`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
809
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
810 Usage: $0 [OPTION]... [VAR=VALUE]...
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
811
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
812 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
813 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
814
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
815 Defaults for the options are specified in brackets.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
816
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
817 Configuration:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
818 -h, --help display this help and exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
819 --help=short display options specific to this package
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
820 --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
821 -V, --version display version information and exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
822 -q, --quiet, --silent do not print \`checking...' messages
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
823 --cache-file=FILE cache test results in FILE [disabled]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
824 -C, --config-cache alias for \`--cache-file=config.cache'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
825 -n, --no-create do not create output files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
826 --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
827
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
828 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
829
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
830 cat <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
831 Installation directories:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
832 --prefix=PREFIX install architecture-independent files in PREFIX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
833 [$ac_default_prefix]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
834 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
835 [PREFIX]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
836
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
837 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
838 \`$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
839 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
840 for instance \`--prefix=\$HOME'.
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 For better control, use the options below.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
843
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
844 Fine tuning of the installation directories:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
845 --bindir=DIR user executables [EPREFIX/bin]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
846 --sbindir=DIR system admin executables [EPREFIX/sbin]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
847 --libexecdir=DIR program executables [EPREFIX/libexec]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
848 --datadir=DIR read-only architecture-independent data [PREFIX/share]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
849 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
850 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
851 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
852 --libdir=DIR object code libraries [EPREFIX/lib]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
853 --includedir=DIR C header files [PREFIX/include]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
854 --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
855 --infodir=DIR info documentation [PREFIX/info]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
856 --mandir=DIR man documentation [PREFIX/man]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
857 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
858
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
859 cat <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
860 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
861 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
862
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
863 if test -n "$ac_init_help"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
864 case $ac_init_help in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
865 short | recursive ) echo "Configuration of Sample module 1.0:";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
866 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
867 cat <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
868
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
869 Some influential environment variables:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
870 CC C compiler command
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
871 CFLAGS C compiler flags
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
872 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
873 nonstandard directory <lib dir>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
874 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
875 headers in a nonstandard directory <include dir>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
876 ELLCC The path to the ellcc module compiler
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
877 CPP C preprocessor
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
878
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
879 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
880 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
881
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
882 Report bugs to <xemacs-beta@xemacs.org>.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
883 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
884 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
885
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
886 if test "$ac_init_help" = "recursive"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
887 # If there are subdirs, report their specific --help.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
888 ac_popdir=`pwd`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
889 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
890 test -d $ac_dir || continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
891 ac_builddir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
892
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
893 if test "$ac_dir" != .; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
894 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
895 # A "../" for each directory in $ac_dir_suffix.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
896 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
897 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
898 ac_dir_suffix= ac_top_builddir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
899 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
900
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
901 case $srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
902 .) # No --srcdir option. We are building in place.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
903 ac_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
904 if test -z "$ac_top_builddir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
905 ac_top_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
906 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
907 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
908 fi ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
909 [\\/]* | ?:[\\/]* ) # Absolute path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
910 ac_srcdir=$srcdir$ac_dir_suffix;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
911 ac_top_srcdir=$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
912 *) # Relative path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
915 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
916
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
917 # 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
918 # the directories may not exist.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
919 case `pwd` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
920 .) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
921 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
922 case "$ac_dir" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
923 .) ac_abs_builddir=`pwd`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
925 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
926 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
927 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
928 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
929 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
930 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
931 case ${ac_top_builddir}. in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
932 .) ac_abs_top_builddir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
934 *) 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
935 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
936 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
937 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
938 .) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
939 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
940 case $ac_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
941 .) ac_abs_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
944 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
945 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
946 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
947 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
948 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
949 case $ac_top_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
950 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
952 *) 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
953 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
954 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
955
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
956 cd $ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
957 # Check for guested configure; otherwise get Cygnus style configure.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
958 if test -f $ac_srcdir/configure.gnu; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
959 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
961 elif test -f $ac_srcdir/configure; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
962 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
963 $SHELL $ac_srcdir/configure --help=recursive
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
964 elif test -f $ac_srcdir/configure.ac ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
965 test -f $ac_srcdir/configure.in; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
966 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
967 $ac_configure --help
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
968 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
969 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
970 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
971 cd $ac_popdir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
972 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
973 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
974
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
975 test -n "$ac_init_help" && exit 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
976 if $ac_init_version; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
977 cat <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
978 Sample module configure 1.0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
979 generated by GNU Autoconf 2.59
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
980
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
981 Copyright (C) 2003 Free Software Foundation, Inc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
982 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
983 gives unlimited permission to copy, distribute and modify it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
984
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
985 Configuration script for the sample module.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
986 Copyright (C) 2002 Jerry James.
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 This file is part of XEmacs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
989
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
990 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
991 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
992 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
993 option) any later version.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
994
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
995 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
996 WITHOUT ANY WARRANTY; without even the implied warranty of
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
997 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
998 General Public License for more details.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
999
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1000 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
1001 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
1002 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
1003 02111-1307, USA.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1004 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1005 exit 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1006 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1007 exec 5>config.log
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1008 cat >&5 <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1009 This file contains any messages produced by compilers while
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1010 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
1011
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1012 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
1013 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
1014
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1015 $ $0 $@
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 _ACEOF
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 cat <<_ASUNAME
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 ## Platform. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1022 ## --------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1023
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1029
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1030 /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
1031 /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
1032
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1034 /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
1035 /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
1036 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1038 /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
1039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
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 _ASUNAME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1042
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1044 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1045 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1046 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1047 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1048 echo "PATH: $as_dir"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1049 done
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 } >&5
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 cat >&5 <<_ACEOF
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
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 ## Core tests. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1058 ## ----------- ##
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 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1061
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1062
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1063 # Keep a trace of the command line.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1064 # 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
1065 # 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
1066 # Also quote any args containing shell meta-characters.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1067 # 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
1068 ac_configure_args=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1069 ac_configure_args0=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1070 ac_configure_args1=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1071 ac_sep=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1072 ac_must_keep_next=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1073 for ac_pass in 1 2
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 for ac_arg
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1076 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1077 case $ac_arg in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1078 -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
1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1080 | -silent | --silent | --silen | --sile | --sil)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1081 continue ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1082 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1084 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1085 case $ac_pass in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1087 2)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1089 if test $ac_must_keep_next = true; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1090 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
1091 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1092 case $ac_arg in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1093 *=* | --config-cache | -C | -disable-* | --disable-* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1096 | -with-* | --with-* | -without-* | --without-* | --x)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1097 case "$ac_configure_args0 " in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1099 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1100 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1101 -* ) ac_must_keep_next=true ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1102 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1103 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1104 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
1105 # Get rid of the leading space.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1106 ac_sep=" "
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1107 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1108 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1109 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1110 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1111 $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
1112 $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
1113
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1114 # 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
1115 # 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
1116 # would cause problems or look ugly.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1117 # 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
1118 # 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
1119 trap 'exit_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1120 # 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
1121 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1122 echo
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 cat <<\_ASBOX
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 ## Cache variables. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1127 ## ---------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1128 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1129 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1130 # 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
1131 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1132 (set) 2>&1 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1133 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
1134 *ac_space=\ *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1135 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1136 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1137 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
1138 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1139 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1140 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1141 "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
1142 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1143 esac;
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 echo
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 cat <<\_ASBOX
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 ## Output variables. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1150 ## ----------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1151 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1152 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1153 for ac_var in $ac_subst_vars
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1154 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1155 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1156 echo "$ac_var='"'"'$ac_val'"'"'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1157 done | sort
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1158 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1159
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1160 if test -n "$ac_subst_files"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1161 cat <<\_ASBOX
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 ## Output files. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1164 ## ------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1165 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1166 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1167 for ac_var in $ac_subst_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1168 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1169 eval ac_val=$`echo $ac_var`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1170 echo "$ac_var='"'"'$ac_val'"'"'"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1171 done | sort
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1172 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1173 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1174
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1175 if test -s confdefs.h; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1176 cat <<\_ASBOX
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 ## confdefs.h. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1179 ## ----------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1180 _ASBOX
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 sed "/^$/d" confdefs.h | sort
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1183 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1184 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1185 test "$ac_signal" != 0 &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1186 echo "$as_me: caught signal $ac_signal"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1187 echo "$as_me: exit $exit_status"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1188 } >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1189 rm -f core *.core &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1190 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1191 exit $exit_status
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1192 ' 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1193 for ac_signal in 1 2 13 15; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1194 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
1195 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1196 ac_signal=0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1197
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1198 # 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
1199 rm -rf conftest* confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1200 # 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
1201 echo >confdefs.h
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 # Predefined preprocessor variables.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1204
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1205 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1206 #define PACKAGE_NAME "$PACKAGE_NAME"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1207 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1208
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1209
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1210 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1211 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1212 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1213
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1214
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1215 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1216 #define PACKAGE_VERSION "$PACKAGE_VERSION"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1217 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1218
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1219
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1220 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1221 #define PACKAGE_STRING "$PACKAGE_STRING"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1222 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1223
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1224
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1225 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1226 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1227 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1228
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1229
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1230 # 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
1231 # Prefer explicitly selected file to automatically selected ones.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1232 if test -z "$CONFIG_SITE"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1233 if test "x$prefix" != xNONE; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1234 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
1235 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1236 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
1237 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1238 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1239 for ac_site_file in $CONFIG_SITE; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1240 if test -r "$ac_site_file"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1241 { 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
1242 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
1243 sed 's/^/| /' "$ac_site_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1244 . "$ac_site_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1245 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1246 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1247
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1248 if test -r "$cache_file"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1249 # 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
1250 # files actually), so we avoid doing that.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1251 if test -f "$cache_file"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1252 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1253 echo "$as_me: loading cache $cache_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1254 case $cache_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1255 [\\/]* | ?:[\\/]* ) . $cache_file;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1256 *) . ./$cache_file;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1257 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1258 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1259 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1260 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1261 echo "$as_me: creating cache $cache_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1262 >$cache_file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1263 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1264
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1265 # 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
1266 # value.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1267 ac_cache_corrupted=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1268 for ac_var in `(set) 2>&1 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1269 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
1270 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
1271 eval ac_new_set=\$ac_env_${ac_var}_set
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1272 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
1273 eval ac_new_val="\$ac_env_${ac_var}_value"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1274 case $ac_old_set,$ac_new_set in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1275 set,)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1276 { 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
1277 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
1278 ac_cache_corrupted=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1279 ,set)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1280 { 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
1281 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
1282 ac_cache_corrupted=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1283 ,);;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1284 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1285 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
1286 { 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
1287 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
1288 { 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
1289 echo "$as_me: former value: $ac_old_val" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1290 { 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
1291 echo "$as_me: current value: $ac_new_val" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1292 ac_cache_corrupted=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1293 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1294 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1295 # Pass precious variables to config.status.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1296 if test "$ac_new_set" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1297 case $ac_new_val in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1298 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1299 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
1300 *) ac_arg=$ac_var=$ac_new_val ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1301 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1302 case " $ac_configure_args " in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1304 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1305 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1306 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1307 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1308 if $ac_cache_corrupted; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1309 { 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
1310 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
1311 { { 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
1312 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
1313 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1314 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1315
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1316 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1317 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1318 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
1319 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
1320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1352
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1353 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1354 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1355 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
1356 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
1357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1358 if test -n "$ac_tool_prefix"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1359 # 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
1360 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1361 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1362 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
1363 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1365 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1366 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1367 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
1368 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1370 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1371 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1372 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1373 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1374 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1375 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
1376 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1377 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
1378 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1379 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1380 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1381 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1382
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1383 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1384 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1385 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1386 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1387 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1388 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1389 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1390 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1391 echo "${ECHO_T}no" >&6
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1394 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1395 if test -z "$ac_cv_prog_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1396 ac_ct_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1397 # 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
1398 set dummy gcc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1399 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1400 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
1401 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
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1403 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1404 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1405 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
1406 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1408 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1409 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1410 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1411 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1412 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1413 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
1414 ac_cv_prog_ac_ct_CC="gcc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1415 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
1416 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1417 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1418 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1419 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1420
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1421 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1422 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1424 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1425 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1426 echo "${ECHO_T}$ac_ct_CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1427 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1428 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1429 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1430 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1431
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1432 CC=$ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1433 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1434 CC="$ac_cv_prog_CC"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1435 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1436
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1437 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1438 if test -n "$ac_tool_prefix"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1439 # 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
1440 set dummy ${ac_tool_prefix}cc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1442 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
1443 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1445 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1446 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1447 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
1448 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1450 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1451 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1452 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1453 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1454 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1455 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
1456 ac_cv_prog_CC="${ac_tool_prefix}cc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1457 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
1458 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1459 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1460 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1461 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1462
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1463 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1464 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1465 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1466 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1467 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1468 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1469 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1470 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1471 echo "${ECHO_T}no" >&6
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1474 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1475 if test -z "$ac_cv_prog_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1476 ac_ct_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1477 # 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
1478 set dummy cc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1480 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
1481 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
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1483 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1484 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1485 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
1486 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1488 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1489 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1490 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1491 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1492 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1493 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
1494 ac_cv_prog_ac_ct_CC="cc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1495 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
1496 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1497 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1498 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1499 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1500
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1501 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1502 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1504 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1506 echo "${ECHO_T}$ac_ct_CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1507 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1508 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1509 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1510 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1511
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1512 CC=$ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1513 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1514 CC="$ac_cv_prog_CC"
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1517 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1518 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1519 # 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
1520 set dummy cc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1522 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
1523 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1525 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1526 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1527 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
1528 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1529 ac_prog_rejected=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1531 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1532 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1533 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1534 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1535 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1536 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
1537 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
1538 ac_prog_rejected=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1539 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1540 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1541 ac_cv_prog_CC="cc"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1542 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
1543 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1544 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1545 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1546 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1547
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1548 if test $ac_prog_rejected = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1549 # 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
1550 set dummy $ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1551 shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1552 if test $# != 0; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1553 # We chose a different compiler from the bogus one.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1554 # 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
1555 # 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
1556 shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1557 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1561 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1562 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1563 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1564 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1565 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1566 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1567 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1568 echo "${ECHO_T}no" >&6
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1571 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1572 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1573 if test -n "$ac_tool_prefix"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1574 for ac_prog in cl
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1575 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1576 # 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
1577 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
1578 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1579 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
1580 if test "${ac_cv_prog_CC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1582 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1583 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1584 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
1585 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1587 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1588 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1589 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1590 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1591 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1592 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
1593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1594 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
1595 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1596 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1597 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1598 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1599
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1600 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1601 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1602 CC=$ac_cv_prog_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1603 if test -n "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1604 echo "$as_me:$LINENO: result: $CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1605 echo "${ECHO_T}$CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1606 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1607 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1608 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1609 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1610
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1611 test -n "$CC" && break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1612 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1613 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1614 if test -z "$CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1615 ac_ct_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1616 for ac_prog in cl
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1617 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1618 # 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
1619 set dummy $ac_prog; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1620 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1621 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
1622 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
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1624 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1625 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1626 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
1627 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1629 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1630 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1631 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1632 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1633 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1634 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
1635 ac_cv_prog_ac_ct_CC="$ac_prog"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1636 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
1637 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1638 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1639 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1640 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1641
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1642 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1643 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1645 if test -n "$ac_ct_CC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1646 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1647 echo "${ECHO_T}$ac_ct_CC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1648 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1649 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1650 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1651 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1652
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1653 test -n "$ac_ct_CC" && break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1654 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1655
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1656 CC=$ac_ct_CC
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1660
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1661
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1662 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
1663 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1664 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
1665 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1666 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1667
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1668 # Provide some information about the compiler.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1669 echo "$as_me:$LINENO:" \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1670 "checking for C compiler version" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1671 ac_compiler=`set X $ac_compile; echo $2`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1672 { (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
1673 (eval $ac_compiler --version </dev/null >&5) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1674 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1676 (exit $ac_status); }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1677 { (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
1678 (eval $ac_compiler -v </dev/null >&5) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1679 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1681 (exit $ac_status); }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1682 { (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
1683 (eval $ac_compiler -V </dev/null >&5) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1684 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1686 (exit $ac_status); }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1687
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1688 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1689 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1690 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1691 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1692 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1693 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1694
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1695 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1696 main ()
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
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1701 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1702 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1703 ac_clean_files_save=$ac_clean_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1704 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
1705 # 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
1706 # 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
1707 # of exeext.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1708 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
1709 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
1710 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
1711 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
1712 (eval $ac_link_default) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1713 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1715 (exit $ac_status); }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1716 # 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
1717 # 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
1718 # resort.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1719
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1720 # 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
1721 # 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
1722 ac_cv_exeext=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1723 # b.out is created by i960 compilers.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1724 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
1725 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1726 test -f "$ac_file" || continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1727 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1728 *.$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
1729 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1730 conftest.$ac_ext )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1731 # This is the source file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1732 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1733 [ab].out )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1734 # We found the default executable, but exeext='' is most
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1735 # certainly right.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1736 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1737 *.* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1738 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1739 # 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
1740 # 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
1741 # maintain Libtool? --akim.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1742 export ac_cv_exeext
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 * )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1745 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1746 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1747 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1748 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1749 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1750 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1751
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1752 { { 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
1753 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1754 echo "$as_me: error: C compiler cannot create executables
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1755 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1756 { (exit 77); exit 77; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1757 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1758
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1759 ac_exeext=$ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1760 echo "$as_me:$LINENO: result: $ac_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1761 echo "${ECHO_T}$ac_file" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1762
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1763 # 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
1764 # the compiler is broken, or we cross compile.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1765 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
1766 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
1767 # 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
1768 # 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
1769 if test "$cross_compiling" != yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1770 if { ac_try='./$ac_file'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1772 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1773 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1775 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1776 cross_compiling=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1777 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1778 if test "$cross_compiling" = maybe; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1779 cross_compiling=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1780 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1781 { { 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
1782 If you meant to cross compile, use \`--host'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1783 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1784 echo "$as_me: error: cannot run C compiled programs.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1785 If you meant to cross compile, use \`--host'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1786 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1787 { (exit 1); exit 1; }; }
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1790 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1791 echo "$as_me:$LINENO: result: yes" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1792 echo "${ECHO_T}yes" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1793
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1794 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
1795 ac_clean_files=$ac_clean_files_save
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1796 # 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
1797 # the compiler is broken, or we cross compile.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1798 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
1799 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
1800 echo "$as_me:$LINENO: result: $cross_compiling" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1801 echo "${ECHO_T}$cross_compiling" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1802
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1803 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
1804 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
1805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1806 (eval $ac_link) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1807 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1809 (exit $ac_status); }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1810 # 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
1811 # 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
1812 # 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
1813 # `rm'.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1814 for ac_file in conftest.exe conftest conftest.*; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1815 test -f "$ac_file" || continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1816 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1817 *.$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
1818 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1819 export ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1820 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1821 * ) break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1822 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1823 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1824 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1825 { { 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
1826 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1827 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
1828 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1829 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1830 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1831
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1832 rm -f conftest$ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1833 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1834 echo "${ECHO_T}$ac_cv_exeext" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1835
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1836 rm -f conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1837 EXEEXT=$ac_cv_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1838 ac_exeext=$EXEEXT
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1839 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
1840 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
1841 if test "${ac_cv_objext+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1843 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1844 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1845 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1846 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1847 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1848 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1849 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1850
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1851 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1852 main ()
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
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1857 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1858 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1859 rm -f conftest.o conftest.obj
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1861 (eval $ac_compile) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1862 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1864 (exit $ac_status); }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1865 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
1866 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1868 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1869 break;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1870 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1871 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1872 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1873 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1874 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1875
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1876 { { 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
1877 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1878 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
1879 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1880 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1881 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1882
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1883 rm -f conftest.$ac_cv_objext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1884 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1885 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1886 echo "${ECHO_T}$ac_cv_objext" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1887 OBJEXT=$ac_cv_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1888 ac_objext=$OBJEXT
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1889 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
1890 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
1891 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
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1893 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1894 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1895 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1896 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1897 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1898 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1899 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1900
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1901 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1902 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1903 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1904 #ifndef __GNUC__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1905 choke me
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1906 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1907
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1910 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1911 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1912 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1914 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1915 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1916 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1917 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1918 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1920 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1921 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1922 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1924 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1925 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1927 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1928 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1930 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1931 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1933 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1934 ac_compiler_gnu=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1935 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1936 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1937 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1938
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1939 ac_compiler_gnu=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1940 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1941 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
1942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1943
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1944 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1945 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
1946 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1947 GCC=`test $ac_compiler_gnu = yes && echo yes`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1948 ac_test_CFLAGS=${CFLAGS+set}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1949 ac_save_CFLAGS=$CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1950 CFLAGS="-g"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1951 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
1952 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
1953 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
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1955 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1956 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1957 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1958 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1959 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1960 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1961 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1962
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1963 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1964 main ()
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
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1969 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1970 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1971 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1973 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1974 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1975 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1976 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1977 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1979 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1980 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1981 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1983 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1984 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1986 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1987 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1989 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1990 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1992 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1993 ac_cv_prog_cc_g=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1994 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1995 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1996 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1997
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
1998 ac_cv_prog_cc_g=no
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 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
2001 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2002 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
2003 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2004 if test "$ac_test_CFLAGS" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2005 CFLAGS=$ac_save_CFLAGS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2006 elif test $ac_cv_prog_cc_g = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2007 if test "$GCC" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2008 CFLAGS="-g -O2"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2009 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2010 CFLAGS="-g"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2011 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2012 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2013 if test "$GCC" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2014 CFLAGS="-O2"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2015 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2016 CFLAGS=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2017 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2018 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2019 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
2020 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
2021 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
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2023 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2024 ac_cv_prog_cc_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2025 ac_save_CC=$CC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2026 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2027 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2028 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2029 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2030 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2031 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2032 #include <stdarg.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2033 #include <stdio.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2034 #include <sys/types.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2035 #include <sys/stat.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2036 /* 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
2037 struct buf { int x; };
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2039 static char *e (p, i)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2040 char **p;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2041 int 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 return p[i];
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 static char *f (char * (*g) (char **, int), char **p, ...)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2046 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2047 char *s;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2048 va_list v;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2049 va_start (v,p);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2050 s = g (p, va_arg (v,int));
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2051 va_end (v);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2052 return s;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2053 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2054
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2055 /* 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
2056 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
2057 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
2058 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
2059 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
2060 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
2061 that's true only with -std1. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2063
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2064 int test (int i, double x);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2065 struct s1 {int (*f) (int a);};
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2066 struct s2 {int (*f) (double a);};
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2067 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
2068 int argc;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2069 char **argv;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2070 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2071 main ()
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 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
2074 ;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2075 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2076 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2077 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2078 # 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
2079 # breaks some systems' header files.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2080 # AIX -qlanglvl=ansi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2081 # Ultrix and OSF/1 -std1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2082 # HP-UX 10.20 and later -Ae
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2083 # HP-UX older versions -Aa -D_HPUX_SOURCE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2084 # SVR4 -Xc -D__EXTENSIONS__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2085 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
2086 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2087 CC="$ac_save_CC $ac_arg"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2088 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2090 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2091 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2092 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2093 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2094 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2096 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2097 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2098 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2100 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2101 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2103 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2104 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2106 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2107 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2109 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2110 ac_cv_prog_cc_stdc=$ac_arg
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2111 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2112 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2113 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2114 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2115
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2116 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2117 rm -f conftest.err conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2118 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2119 rm -f conftest.$ac_ext conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2120 CC=$ac_save_CC
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2123
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2124 case "x$ac_cv_prog_cc_stdc" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2125 x|xno)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2126 echo "$as_me:$LINENO: result: none needed" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2127 echo "${ECHO_T}none needed" >&6 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2128 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2129 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
2130 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2131 CC="$CC $ac_cv_prog_cc_stdc" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2132 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2133
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2134 # 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
2135 # 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
2136 # 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
2137 # 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
2138 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2139 #ifndef __cplusplus
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2140 choke me
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2141 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2142 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2143 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2145 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2146 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2147 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2148 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2149 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2151 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2152 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2153 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2155 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2156 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2158 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2159 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2161 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2162 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2164 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2165 for ac_declaration in \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2166 '' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2167 '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
2168 'extern "C" void std::exit (int); using std::exit;' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2169 'extern "C" void exit (int) throw ();' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2170 'extern "C" void exit (int);' \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2171 'void exit (int);'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2172 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2173 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2174 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2175 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2176 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2177 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2178 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2179 $ac_declaration
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2180 #include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2181 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2182 main ()
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 exit (42);
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2187 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2188 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2189 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2191 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2192 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2193 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2194 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2195 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2197 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2198 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2199 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2201 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2202 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2204 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2205 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2207 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2208 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2210 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2211 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2212 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2213 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2214 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2215
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2216 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2217 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2218 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
2219 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2220 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2221 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2222 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2223 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2224 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2225 $ac_declaration
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2226 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2227 main ()
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 exit (42);
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2232 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2233 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2234 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2236 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2237 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2238 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2239 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2240 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2242 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2243 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2244 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2246 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2247 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2249 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2250 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2252 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2253 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2255 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2256 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2257 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2258 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2259 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2260
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2261 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2262 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
2263 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2264 rm -f conftest*
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2265 if test -n "$ac_declaration"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2266 echo '#ifdef __cplusplus' >>confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2267 echo $ac_declaration >>confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2268 echo '#endif' >>confdefs.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2269 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2270
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2271 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2272 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2273 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2274
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2275 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2276 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
2277 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2278 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2279 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
2280 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
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2282
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2283 ac_aux_dir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2284 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2285 if test -f $ac_dir/install-sh; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2286 ac_aux_dir=$ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2287 ac_install_sh="$ac_aux_dir/install-sh -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2288 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2289 elif test -f $ac_dir/install.sh; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2290 ac_aux_dir=$ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2291 ac_install_sh="$ac_aux_dir/install.sh -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2292 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2293 elif test -f $ac_dir/shtool; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2294 ac_aux_dir=$ac_dir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2295 ac_install_sh="$ac_aux_dir/shtool install -c"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2296 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2297 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2298 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2299 if test -z "$ac_aux_dir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2300 { { 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
2301 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
2302 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2303 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2304 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2305 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2306 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
2307
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2308 # 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
2309 # 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
2310 # incompatible versions:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2311 # SysV /etc/install, /usr/sbin/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2312 # SunOS /usr/etc/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2313 # IRIX /sbin/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2314 # AIX /bin/install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2315 # AmigaOS /C/install, which installs bootblocks on floppy discs
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2316 # 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
2317 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2318 # 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
2319 # 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
2320 # ./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
2321 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
2322 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
2323 if test -z "$INSTALL"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2324 if test "${ac_cv_path_install+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2326 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2328 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2329 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2330 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2331 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2332 # 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
2333 case $as_dir/ in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2334 ./ | .// | /cC/* | \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2335 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2336 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2337 /usr/ucb/* ) ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2338 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2339 # 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
2340 # 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
2341 # by default.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2342 for ac_prog in ginstall scoinst install; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2343 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2344 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
2345 if test $ac_prog = install &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2346 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
2347 # AIX install. It has an incompatible calling convention.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2348 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2349 elif test $ac_prog = install &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2350 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
2351 # 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
2352 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2353 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2354 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
2355 break 3
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2356 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2357 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2358 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2359 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2360 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2361 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2362 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2363
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2364
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2365 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2366 if test "${ac_cv_path_install+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2367 INSTALL=$ac_cv_path_install
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2368 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2369 # 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
2370 # 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
2371 # 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
2372 # removed, or if the path is relative.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2373 INSTALL=$ac_install_sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2374 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2375 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2376 echo "$as_me:$LINENO: result: $INSTALL" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2377 echo "${ECHO_T}$INSTALL" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2378
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2379 # 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
2380 # 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
2381 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${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_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
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 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
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 # Find ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2391
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2392 # 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
2393 set dummy ellcc; ac_word=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2395 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
2396 if test "${ac_cv_path_ELLCC+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2398 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2399 case $ELLCC in
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 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
2402 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2403 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2405 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2406 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2407 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2408 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2409 for ac_exec_ext in '' $ac_executable_extensions; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2410 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
2411 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
2412 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
2413 break 2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2414 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2415 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2416 done
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 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
2419 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2420 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2421 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2422 ELLCC=$ac_cv_path_ELLCC
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2423
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2424 if test -n "$ELLCC"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2425 echo "$as_me:$LINENO: result: $ELLCC" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2426 echo "${ECHO_T}$ELLCC" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2427 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2428 echo "$as_me:$LINENO: result: no" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2429 echo "${ECHO_T}no" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2430 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2431
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2432 if test "$ELLCC" = "FAIL"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2433 { { echo "$as_me:$LINENO: error: Cannot find ellcc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2434 echo "$as_me: error: Cannot find ellcc" >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2435 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2436 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2437
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2438
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2439 # 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
2440 # 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
2441 # 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
2442
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2443 # detect canna
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2444 canna_includes_found=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2445 if test "$with_canna" != "no"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2446
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2447 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2448 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2449 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
2450 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
2451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2452 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
2453 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
2454 # On Suns, sometimes $CPP names a directory.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2455 if test -n "$CPP" && test -d "$CPP"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2456 CPP=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2457 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2458 if test -z "$CPP"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2459 if test "${ac_cv_prog_CPP+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2461 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2462 # Double quotes because CPP needs to be expanded
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2463 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
2464 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2465 ac_preproc_ok=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2466 for ac_c_preproc_warn_flag in '' yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2467 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2468 # 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
2469 # with a fresh cross-compiler works.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2470 # 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
2471 # <limits.h> exists even on freestanding compilers.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2472 # 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
2473 # 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
2474 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2475 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2476 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2477 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2478 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2479 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2480 #ifdef __STDC__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2481 # include <limits.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2482 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2483 # include <assert.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2484 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2485 Syntax error
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2486 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2487 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
2488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2489 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2490 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2491 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2492 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2494 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2495 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2496 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2497 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
2498 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2499 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2500 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2501 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2502 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2503 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2504 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2505 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2506 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2507 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2508 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2509
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2510 # Broken: fails on valid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2511 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2512 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2513 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2514
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2515 # 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
2516 # can be detected and how.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2517 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2518 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2519 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2520 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2521 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2522 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2523 #include <ac_nonexistent.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2524 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2525 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
2526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2527 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2528 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2529 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2530 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2532 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2533 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2534 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2535 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
2536 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2537 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2538 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2539 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2540 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2541 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2542 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2543 # Broken: success on invalid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2544 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2545 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2546 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2547 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2548
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2549 # Passes both tests.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2550 ac_preproc_ok=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2551 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2552 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2553 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2554
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2555 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2556 # 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
2557 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2558 if $ac_preproc_ok; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2559 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2560 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2561
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2562 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2563 ac_cv_prog_CPP=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2564
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2565 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2566 CPP=$ac_cv_prog_CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2567 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2568 ac_cv_prog_CPP=$CPP
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2569 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2570 echo "$as_me:$LINENO: result: $CPP" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2571 echo "${ECHO_T}$CPP" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2572 ac_preproc_ok=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2573 for ac_c_preproc_warn_flag in '' yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2574 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2575 # 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
2576 # with a fresh cross-compiler works.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2577 # 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
2578 # <limits.h> exists even on freestanding compilers.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2579 # 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
2580 # 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
2581 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2582 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2583 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2584 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2585 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2586 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2587 #ifdef __STDC__
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2588 # include <limits.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2589 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2590 # include <assert.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2591 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2592 Syntax error
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2593 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2594 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
2595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2596 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2597 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2598 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2599 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2601 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2602 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2603 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2604 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
2605 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2606 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2607 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2608 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2609 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2610 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2611 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2612 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2613 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2614 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2615 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2616
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2617 # Broken: fails on valid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2618 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2619 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2620 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2621
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2622 # 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
2623 # can be detected and how.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2624 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2625 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2626 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2627 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2628 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2629 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2630 #include <ac_nonexistent.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2631 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2632 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
2633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2634 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2635 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2636 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2637 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2639 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2640 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2641 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2642 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
2643 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2644 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2645 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2646 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2647 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2648 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2649 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2650 # Broken: success on invalid input.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2651 continue
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2652 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2653 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2654 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2655
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2656 # Passes both tests.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2657 ac_preproc_ok=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2658 break
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2659 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2660 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2661
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2662 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2663 # 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
2664 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2665 if $ac_preproc_ok; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2666 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2667 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2668 { { 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
2669 See \`config.log' for more details." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2670 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
2671 See \`config.log' for more details." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2672 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2673 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2674
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2675 ac_ext=c
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2676 ac_cpp='$CPP $CPPFLAGS'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2677 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
2678 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
2679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2680
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2681
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2682 echo "$as_me:$LINENO: checking for egrep" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2683 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2684 if test "${ac_cv_prog_egrep+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2686 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2687 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
2688 then ac_cv_prog_egrep='grep -E'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2689 else ac_cv_prog_egrep='egrep'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2690 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2691 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2692 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
2693 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2694 EGREP=$ac_cv_prog_egrep
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2695
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2696
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2697 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
2698 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
2699 if test "${ac_cv_header_stdc+set}" = set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2701 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2702 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2703 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2704 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2705 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2706 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2707 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2708 #include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2709 #include <stdarg.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2710 #include <string.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2711 #include <float.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2712
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2713 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2714 main ()
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
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2719 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2720 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2721 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2723 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2724 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2725 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2726 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2727 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2729 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2730 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2731 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2733 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2734 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2736 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2737 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2739 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2740 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2742 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2743 ac_cv_header_stdc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2744 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2745 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2746 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2747
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2748 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2749 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2750 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
2751
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2752 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2753 # 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
2754 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2755 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2756 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2757 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2758 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2759 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2760 #include <string.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2761
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2762 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2764 $EGREP "memchr" >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2765 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2766 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2767 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2768 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2769 rm -f conftest*
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2772
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2773 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2774 # 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
2775 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2776 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2777 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2778 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2779 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2780 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2781 #include <stdlib.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2782
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2783 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2785 $EGREP "free" >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2786 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2787 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2788 ac_cv_header_stdc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2789 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2790 rm -f conftest*
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2793
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2794 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2795 # /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
2796 if test "$cross_compiling" = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2797 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2798 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2799 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2800 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2801 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2802 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2803 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2804 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2805 #include <ctype.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2806 #if ((' ' & 0x0FF) == 0x020)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2807 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2808 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2809 #else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2810 # define ISLOWER(c) \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2811 (('a' <= (c) && (c) <= 'i') \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2812 || ('j' <= (c) && (c) <= 'r') \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2813 || ('s' <= (c) && (c) <= 'z'))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2814 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2815 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2816
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2817 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2818 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2819 main ()
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2820 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2821 int i;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2822 for (i = 0; i < 256; i++)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2823 if (XOR (islower (i), ISLOWER (i))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2824 || toupper (i) != TOUPPER (i))
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2825 exit(2);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2826 exit (0);
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2827 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2828 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2829 rm -f conftest$ac_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2831 (eval $ac_link) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2832 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2836 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2837 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2839 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2840 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2841 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2842 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
2843 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2844 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2845
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2846 ( exit $ac_status )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2847 ac_cv_header_stdc=no
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 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
2850 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2851 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2852 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2853 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
2854 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2855 if test $ac_cv_header_stdc = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2856
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2857 cat >>confdefs.h <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2858 #define STDC_HEADERS 1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2859 _ACEOF
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 fi
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 # 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
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2872
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2873 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
2874 inttypes.h stdint.h unistd.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2875 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2876 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
2877 echo "$as_me:$LINENO: checking for $ac_header" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2878 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
2879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2881 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2882 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2883 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2884 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2885 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2886 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2887 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2888 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2889
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2890 #include <$ac_header>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2891 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2892 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2894 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2895 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2896 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2897 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2898 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2900 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2901 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2902 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2904 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2905 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2907 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2908 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2910 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2911 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2913 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2914 eval "$as_ac_Header=yes"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2915 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2916 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2917 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2918
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2919 eval "$as_ac_Header=no"
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 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
2922 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2923 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
2924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2926 cat >>confdefs.h <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2928 _ACEOF
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 fi
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 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2933
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2934
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2935 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
2936 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
2937 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
2938 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
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2940 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2941 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
2942 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
2943 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2944 # Is the header compilable?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2945 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
2946 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
2947 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2948 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2949 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2950 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2951 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2952 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2953 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2954 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2955 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2956 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2958 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2959 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2960 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2961 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2962 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2964 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2965 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2966 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2968 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2969 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2971 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2972 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2974 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2975 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2977 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2978 ac_header_compiler=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2979 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2980 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2981 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2982
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2983 ac_header_compiler=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2984 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2985 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
2986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2987 echo "${ECHO_T}$ac_header_compiler" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2988
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2989 # Is the header present?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2990 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
2991 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
2992 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2993 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2994 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2995 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2996 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2997 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2998 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
2999 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3000 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
3001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3002 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3003 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3004 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3005 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3007 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3008 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3009 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3010 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
3011 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3012 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3013 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3014 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3015 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3016 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3017 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3018 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3019 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3020 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3021 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3022
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3023 ac_header_preproc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3024 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3025 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3027 echo "${ECHO_T}$ac_header_preproc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3028
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3029 # So? What about this header?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3030 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
3031 yes:no: )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3032 { 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
3033 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
3034 { 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
3035 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
3036 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3037 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3038 no:yes:* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3039 { 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
3040 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
3041 { 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
3042 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
3043 { 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
3044 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
3045 { 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
3046 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
3047 { 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
3048 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
3049 { 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
3050 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
3051 (
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3052 cat <<\_ASBOX
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 ## Report this to xemacs-beta@xemacs.org ##
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 _ASBOX
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 sed "s/^/$as_me: WARNING: /" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3059 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3060 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3061 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
3062 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
3063 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
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3065 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3066 ac_cv_header_canna_jrkanji_h=$ac_header_preproc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3067 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3068 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
3069 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
3070
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3071 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3072 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
3073 canna_includes_found=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3074 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3075
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3076
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3077 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3078 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
3079 -d "/usr/local/canna/include"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3080 save_c_switch_site="$c_switch_site"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3081 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
3082 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
3083 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
3084 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
3085 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
3086 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3087 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3088 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
3089 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
3090 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3091 # Is the header compilable?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3092 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
3093 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
3094 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3095 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3096 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3097 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3098 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3099 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3100 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3101 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3102 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3103 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3105 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3106 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3107 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3108 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3109 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3111 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3112 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3113 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3115 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3116 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3118 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3119 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3121 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3122 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3124 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3125 ac_header_compiler=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3126 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3127 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3128 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3129
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3130 ac_header_compiler=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3131 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3132 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
3133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3134 echo "${ECHO_T}$ac_header_compiler" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3135
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3136 # Is the header present?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3137 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
3138 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
3139 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3140 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3141 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3142 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3143 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3144 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3145 #include <canna/jrkanji.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3146 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3147 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
3148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3149 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3150 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3151 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3152 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3154 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3155 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3156 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3157 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
3158 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3159 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3160 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3161 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3162 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3163 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3164 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3165 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3166 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3167 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3168 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3169
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3170 ac_header_preproc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3171 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3172 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3174 echo "${ECHO_T}$ac_header_preproc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3175
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3176 # So? What about this header?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3177 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
3178 yes:no: )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3179 { 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
3180 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
3181 { 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
3182 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
3183 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3184 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3185 no:yes:* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3186 { 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
3187 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
3188 { 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
3189 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
3190 { 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
3191 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
3192 { 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
3193 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
3194 { 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
3195 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
3196 { 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
3197 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
3198 (
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3199 cat <<\_ASBOX
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 ## Report this to xemacs-beta@xemacs.org ##
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 _ASBOX
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 sed "s/^/$as_me: WARNING: /" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3206 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3207 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3208 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
3209 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
3210 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
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3212 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3213 ac_cv_header_canna_jrkanji_h=$ac_header_preproc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3214 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3215 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
3216 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
3217
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3218 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3219 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
3220 canna_includes_found=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3221 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3222
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3223
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3224 if test "$canna_includes_found" != "yes"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3225 c_switch_site="$save_c_switch_site"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3226 with_canna="no"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3227 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3228 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3229
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3230 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
3231 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
3232 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
3233 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
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3235 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3236 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
3237 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
3238 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3239 # Is the header compilable?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3240 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
3241 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
3242 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3243 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3244 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3245 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3246 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3247 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3248 $ac_includes_default
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3249 #include <canna/RK.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3250 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3251 rm -f conftest.$ac_objext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3253 (eval $ac_compile) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3254 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3255 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3256 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3257 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3259 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3260 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3261 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3263 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3264 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3266 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3267 { ac_try='test -s conftest.$ac_objext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3269 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3270 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3272 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3273 ac_header_compiler=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3274 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3275 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3276 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3277
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3278 ac_header_compiler=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3279 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3280 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
3281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3282 echo "${ECHO_T}$ac_header_compiler" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3283
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3284 # Is the header present?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3285 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
3286 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
3287 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3288 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3289 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3290 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3291 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3292 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3293 #include <canna/RK.h>
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3294 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3295 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
3296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3297 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3298 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3299 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3300 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3302 (exit $ac_status); } >/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3303 if test -s conftest.err; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3304 ac_cpp_err=$ac_c_preproc_warn_flag
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3305 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
3306 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3307 ac_cpp_err=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3308 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3309 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3310 ac_cpp_err=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3311 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3312 if test -z "$ac_cpp_err"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3313 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3314 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3315 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3316 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3317
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3318 ac_header_preproc=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3319 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3320 rm -f conftest.err conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3322 echo "${ECHO_T}$ac_header_preproc" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3323
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3324 # So? What about this header?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3325 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
3326 yes:no: )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3327 { 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
3328 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
3329 { 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
3330 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
3331 ac_header_preproc=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3332 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3333 no:yes:* )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3334 { 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
3335 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
3336 { 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
3337 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
3338 { 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
3339 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
3340 { 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
3341 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
3342 { 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
3343 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
3344 { 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
3345 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
3346 (
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3347 cat <<\_ASBOX
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 ## Report this to xemacs-beta@xemacs.org ##
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 _ASBOX
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 sed "s/^/$as_me: WARNING: /" >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3354 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3355 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3356 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
3357 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
3358 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
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3360 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3361 ac_cv_header_canna_RK_h=$ac_header_preproc
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3362 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3363 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
3364 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
3365
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3366 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3367 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
3368 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3369 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3370 with_canna=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3371 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3372
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3373 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3374 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
3375 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
3376 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
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3378 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3379 ac_check_lib_save_LIBS=$LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3380 LIBS="-lRKC $LIBS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3381 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3382 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3383 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3384 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3385 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3386 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3387
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3388 /* Override any gcc2 internal prototype to avoid an error. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3389 #ifdef __cplusplus
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3390 extern "C"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3391 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3392 /* 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
3393 builtin and then its argument prototype would still apply. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3394 char RkBgnBun ();
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3395 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3396 main ()
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 RkBgnBun ();
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3401 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3402 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3403 rm -f conftest.$ac_objext conftest$ac_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3405 (eval $ac_link) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3406 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3407 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3408 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3409 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3411 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3412 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3413 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3415 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3416 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3418 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3419 { ac_try='test -s conftest$ac_exeext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3421 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3422 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3424 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3425 ac_cv_lib_RKC_RkBgnBun=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3426 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3427 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3428 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3429
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3430 ac_cv_lib_RKC_RkBgnBun=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3431 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3432 rm -f conftest.err conftest.$ac_objext \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3433 conftest$ac_exeext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3434 LIBS=$ac_check_lib_save_LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3435 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3436 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
3437 echo "${ECHO_T}$ac_cv_lib_RKC_RkBgnBun" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3438 if test $ac_cv_lib_RKC_RkBgnBun = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3439 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3440 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3441 with_canna=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3442 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3443 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3444 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
3445 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
3446 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
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3448 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3449 ac_check_lib_save_LIBS=$LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3450 LIBS="-lcanna $LIBS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3451 cat >conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3452 /* confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3453 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3454 cat confdefs.h >>conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3455 cat >>conftest.$ac_ext <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3456 /* end confdefs.h. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3457
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3458 /* Override any gcc2 internal prototype to avoid an error. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3459 #ifdef __cplusplus
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3460 extern "C"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3461 #endif
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3462 /* 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
3463 builtin and then its argument prototype would still apply. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3464 char jrKanjiControl ();
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3465 int
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3466 main ()
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 jrKanjiControl ();
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 return 0;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3471 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3472 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3473 rm -f conftest.$ac_objext conftest$ac_exeext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3475 (eval $ac_link) 2>conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3476 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3477 grep -v '^ *+' conftest.er1 >conftest.err
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3478 rm -f conftest.er1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3479 cat conftest.err >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3481 (exit $ac_status); } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3482 { ac_try='test -z "$ac_c_werror_flag"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3483 || test ! -s conftest.err'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3485 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3486 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3488 (exit $ac_status); }; } &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3489 { ac_try='test -s conftest$ac_exeext'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3491 (eval $ac_try) 2>&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3492 ac_status=$?
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3494 (exit $ac_status); }; }; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3495 ac_cv_lib_canna_jrKanjiControl=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3496 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3497 echo "$as_me: failed program was:" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3498 sed 's/^/| /' conftest.$ac_ext >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3499
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3500 ac_cv_lib_canna_jrKanjiControl=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3501 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3502 rm -f conftest.err conftest.$ac_objext \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3503 conftest$ac_exeext conftest.$ac_ext
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3504 LIBS=$ac_check_lib_save_LIBS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3505 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3506 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
3507 echo "${ECHO_T}$ac_cv_lib_canna_jrKanjiControl" >&6
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3508 if test $ac_cv_lib_canna_jrKanjiControl = yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3509 :
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3510 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3511 with_canna=no
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3512 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3513 }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3514 test -z "$with_canna" && with_canna=yes
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3515 if test "$with_canna" = "yes"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3516 cat >>confdefs.h <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3517 #define HAVE_CANNA 1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3518 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3519
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3520 LIBS="-lcanna -lRKC"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3521 fi
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 canna_libs="$LIBS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3524
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3525
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3526 # 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
3527 PROGNAME="module"
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 MOD_CC="@ELLCC@"
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 MODARCHDIR="\$(shell @ELLCC@ --mod-archdir)"
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 MAKE_DOCFILE="\$(MODARCHDIR)/make-docfile"
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 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I\$(MODARCHDIR)/include"
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 INSTALLPATH="\$(shell @ELLCC@ --mod-site-location)"
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 MOD_INSTALL_PROGRAM="@INSTALL_PROGRAM@"
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 OBJECT_TO_BUILD="\$(MODNAME).ell"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3542
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 ac_config_files="$ac_config_files Makefile.in Makefile"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3545
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3546 cat >confcache <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3547 # 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
3548 # 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
3549 # 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
3550 # 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
3551 # want to keep, you may remove or edit it.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3552 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3553 # 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
3554 # the --recheck option to rerun configure.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3555 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3556 # `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
3557 # 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
3558 # following values.
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 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3561
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3562 # 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
3563 # 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
3564 # So, don't put newlines in cache variables' values.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3565 # 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
3566 # 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
3567 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3568 (set) 2>&1 |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3569 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
3570 *ac_space=\ *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3571 # `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
3572 # substitution turns \\\\ into \\, and sed turns \\ into \).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3573 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3574 "s/'/'\\\\''/g;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3575 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
3576 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3577 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3578 # `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
3579 sed -n \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3580 "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
3581 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3582 esac;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3583 } |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3584 sed '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3585 t clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3586 : clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3588 t end
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3589 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3590 : end' >>confcache
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3591 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
3592 if test -w $cache_file; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3593 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
3594 cat confcache >$cache_file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3595 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3596 echo "not updating unwritable cache $cache_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3597 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3598 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3599 rm -f confcache
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3600
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3601 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3602 # Let make expand exec_prefix.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3603 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3604
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3605 # 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
3606 # ${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
3607 # 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
3608 # (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
3609 if test "x$srcdir" = x.; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3610 ac_vpsub='/^[ ]*VPATH[ ]*=/{
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/:*\${srcdir}:*/:/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3613 s/:*@srcdir@:*/:/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3614 s/^\([^=]*=[ ]*\):*/\1/;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3615 s/:*$//;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3616 s/^[^=]*=[ ]*$//;
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 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3619
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3620 # Transform confdefs.h into DEFS.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3621 # Protect against shell expansion while executing Makefile rules.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3622 # Protect against Makefile macro expansion.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3623 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3624 # 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
3625 # 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
3626 # look for a macro that doesn't take arguments.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3627 cat >confdef2opt.sed <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3628 t clear
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3629 : clear
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 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3633 t quote
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3634 d
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3635 : quote
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 s,\],\\&,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3639 s,\$,$$,g
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3640 p
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3641 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3642 # 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
3643 # 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
3644 # 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
3645 # 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
3646 # 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
3647 # would break.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3648 ac_LF_and_DOT=`echo; echo .`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3649 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
3650 rm -f confdef2opt.sed
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3651
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3652
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3653 ac_libobjs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3654 ac_ltlibobjs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3655 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
3656 # 1. Remove the extension, and $U if already installed.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3657 ac_i=`echo "$ac_i" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3658 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3017
1e7cc382eb16 [xemacs-hg @ 2005-10-24 10:07:26 by ben]
ben
parents: 3007
diff changeset
3659 # 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
3660 # 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
3661 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
3662 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
3663 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3664 LIBOBJS=$ac_libobjs
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 LTLIBOBJS=$ac_ltlibobjs
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3669
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3670 : ${CONFIG_STATUS=./config.status}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3671 ac_clean_files_save=$ac_clean_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3672 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3673 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3674 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3675 cat >$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3676 #! $SHELL
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3677 # Generated by $as_me.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3678 # Run this file to recreate the current configuration.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3679 # Compiler output produced by configure, useful for debugging
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3680 # configure, is in config.log if it exists.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3681
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3682 debug=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3683 ac_cs_recheck=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3684 ac_cs_silent=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3685 SHELL=\${CONFIG_SHELL-$SHELL}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3686 _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 cat >>$CONFIG_STATUS <<\_ACEOF
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 ## M4sh Initialization. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3691 ## --------------------- ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3692
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3693 # Be Bourne compatible
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3694 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
3695 emulate sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3696 NULLCMD=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3697 # 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
3698 # is contrary to our usage. Disable this feature.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3699 alias -g '${1+"$@"}'='"$@"'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3700 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
3701 set -o posix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3702 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3703 DUALCASE=1; export DUALCASE # for MKS sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3704
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3705 # Support unset when possible.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3706 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
3707 as_unset=unset
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3708 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3709 as_unset=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3710 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3711
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3712
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3713 # Work around bugs in pre-3.0 UWIN ksh.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3714 $as_unset ENV MAIL MAILPATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3715 PS1='$ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3716 PS2='> '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3717 PS4='+ '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3718
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3719 # NLS nuisances.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3720 for as_var in \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3721 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
3722 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
3723 LC_TELEPHONE LC_TIME
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3724 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3725 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
3726 eval $as_var=C; export $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3727 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3728 $as_unset $as_var
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3729 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3730 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3731
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3732 # Required to use basename.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3733 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3734 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3735 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3736 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3737 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3738
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3739 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
3740 as_basename=basename
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3741 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3742 as_basename=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3743 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3744
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3745
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3746 # Name of the executable.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3747 as_me=`$as_basename "$0" ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3748 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3749 X"$0" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3750 X"$0" : 'X\(/\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3751 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3752 echo X/"$0" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3753 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3754 /^X\/\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3755 /^X\/\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3756 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3757
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3758
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3759 # PATH needs CR, and LINENO needs CR and PATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3760 # Avoid depending upon Character Ranges.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3761 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3762 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3763 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3764 as_cr_digits='0123456789'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3765 as_cr_alnum=$as_cr_Letters$as_cr_digits
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3766
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3767 # The user is always right.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3768 if test "${PATH_SEPARATOR+set}" != set; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3769 echo "#! /bin/sh" >conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3770 echo "exit 0" >>conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3771 chmod +x conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3772 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
3773 PATH_SEPARATOR=';'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3774 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3775 PATH_SEPARATOR=:
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 rm -f conf$$.sh
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3778 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3779
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3780
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3781 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3782 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3783 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
3784 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3785 test "x$as_lineno_3" = "x$as_lineno_2" || {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3786 # 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
3787 # relative or not.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3788 case $0 in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3789 *[\\/]* ) as_myself=$0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3790 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3791 for as_dir in $PATH
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3792 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3793 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3794 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3795 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
3796 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3797
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3798 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3799 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3800 # 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
3801 # 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
3802 if test "x$as_myself" = x; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3803 as_myself=$0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3804 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3805 if test ! -f "$as_myself"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3806 { { 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
3807 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
3808 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3809 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3810 case $CONFIG_SHELL in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3811 '')
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3813 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
3814 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3815 IFS=$as_save_IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3816 test -z "$as_dir" && as_dir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3817 for as_base in sh bash ksh sh5; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3818 case $as_dir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3819 /*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3820 if ("$as_dir/$as_base" -c '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3821 as_lineno_1=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3822 as_lineno_2=$LINENO
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3823 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
3824 test "x$as_lineno_1" != "x$as_lineno_2" &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3825 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
3826 $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
3827 $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
3828 CONFIG_SHELL=$as_dir/$as_base
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3829 export CONFIG_SHELL
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3830 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3831 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3832 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3833 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3834 done
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 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3837
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3838 # 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
3839 # 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
3840 # 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
3841 # 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
3842 # with the numbered line, and appends trailing '-' during
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3843 # 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
3844 # (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
3845 # 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
3846 sed '=' <$as_myself |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3847 sed '
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3848 N
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3849 s,$,-,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3850 : loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3851 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
3852 t loop
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3853 s,-$,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3854 s,^['$as_cr_digits']*\n,,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3855 ' >$as_me.lineno &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3856 chmod +x $as_me.lineno ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3857 { { 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
3858 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
3859 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3860
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3861 # 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
3862 # (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
3863 # 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
3864 . ./$as_me.lineno
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3865 # Exit status is that of the last command.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3866 exit
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3869
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3870 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
3871 *c*,-n*) ECHO_N= ECHO_C='
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3872 ' ECHO_T=' ' ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3873 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3874 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3875 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3876
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3877 if expr a : '\(a\)' >/dev/null 2>&1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3878 as_expr=expr
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3879 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3880 as_expr=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3881 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3882
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3883 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3884 echo >conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3885 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
3886 # 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
3887 # 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
3888 if test -f conf$$.exe; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3889 # 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
3890 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3891 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3892 as_ln_s='ln -s'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3893 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3894 elif ln conf$$.file conf$$ 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3895 as_ln_s=ln
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3896 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3897 as_ln_s='cp -p'
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3898 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3899 rm -f conf$$ conf$$.exe conf$$.file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3900
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3901 if mkdir -p . 2>/dev/null; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3902 as_mkdir_p=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3903 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3904 test -d ./-p && rmdir ./-p
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3905 as_mkdir_p=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3906 fi
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 as_executable_p="test -f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3909
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3910 # 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
3911 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
3912
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3913 # 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
3914 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
3915
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3916
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3917 # IFS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3918 # 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
3919 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 IFS=" $as_nl"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3922
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3923 # CDPATH.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3924 $as_unset CDPATH
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 exec 6>&1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3927
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3928 # 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
3929 # 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
3930 # values after options handling. Logging --version etc. is OK.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3931 exec 5>>config.log
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3932 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3933 echo
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3934 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
3935 ## Running $as_me. ##
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3936 _ASBOX
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3937 } >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3938 cat >&5 <<_CSEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3939
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3940 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
3941 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
3942
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3943 CONFIG_FILES = $CONFIG_FILES
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3944 CONFIG_HEADERS = $CONFIG_HEADERS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3945 CONFIG_LINKS = $CONFIG_LINKS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3946 CONFIG_COMMANDS = $CONFIG_COMMANDS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3947 $ $0 $@
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3948
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3949 _CSEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3950 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
3951 echo >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3952 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3953
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3954 # Files that config.status was made for.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3955 if test -n "$ac_config_files"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3956 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3957 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3958
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3959 if test -n "$ac_config_headers"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3960 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3961 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3962
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3963 if test -n "$ac_config_links"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3964 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3965 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3966
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3967 if test -n "$ac_config_commands"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3968 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3969 fi
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 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3972
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3973 ac_cs_usage="\
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3974 \`$as_me' instantiates files from templates according to the
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3975 current configuration.
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 Usage: $0 [OPTIONS] [FILE]...
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3978
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3979 -h, --help print this help, then exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3980 -V, --version print version number, then exit
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3981 -q, --quiet do not print progress messages
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3982 -d, --debug don't remove temporary files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3983 --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
3984 --file=FILE[:TEMPLATE]
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3985 instantiate the configuration file FILE
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3986
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3987 Configuration files:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3988 $config_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3989
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3990 Report bugs to <bug-autoconf@gnu.org>."
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3991 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3992
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3993 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3994 ac_cs_version="\\
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3995 Sample module config.status 1.0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3996 configured by $0, generated by GNU Autoconf 2.59,
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3997 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3998
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
3999 Copyright (C) 2003 Free Software Foundation, Inc.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4000 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
4001 gives unlimited permission to copy, distribute and modify it."
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4002 srcdir=$srcdir
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4003 INSTALL="$INSTALL"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4004 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4005
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4006 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4007 # 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
4008 # 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
4009 ac_need_defaults=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4010 while test $# != 0
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4011 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4012 case $1 in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4013 --*=*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4014 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4015 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4016 ac_shift=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4017 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4018 -*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4019 ac_option=$1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4020 ac_optarg=$2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4021 ac_shift=shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4022 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4023 *) # 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
4024 # arguments.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4025 ac_option=$1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4026 ac_need_defaults=false;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4027 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4028
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4029 case $ac_option in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4030 # Handling of the options.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4031 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4032 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4033 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4034 ac_cs_recheck=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4035 --version | --vers* | -V )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4036 echo "$ac_cs_version"; exit 0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4037 --he | --h)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4038 # Conflict between --help and --header
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4039 { { echo "$as_me:$LINENO: 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." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4041 echo "$as_me: error: ambiguous option: $1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4042 Try \`$0 --help' for more information." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4043 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4044 --help | --hel | -h )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4045 echo "$ac_cs_usage"; exit 0 ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4046 --debug | --d* | -d )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4047 debug=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4048 --file | --fil | --fi | --f )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4049 $ac_shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4050 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4051 ac_need_defaults=false;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4052 --header | --heade | --head | --hea )
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4053 $ac_shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4054 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4055 ac_need_defaults=false;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4057 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4058 ac_cs_silent=: ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4059
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4060 # This is an error.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4061 -*) { { echo "$as_me:$LINENO: 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." >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4063 echo "$as_me: error: unrecognized option: $1
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4064 Try \`$0 --help' for more information." >&2;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4065 { (exit 1); exit 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 *) ac_config_targets="$ac_config_targets $1" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4068
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4069 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4070 shift
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4071 done
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 ac_configure_extra_args=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4074
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4075 if $ac_cs_silent; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4076 exec 6>/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4077 ac_configure_extra_args="$ac_configure_extra_args --silent"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4078 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4079
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4080 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4081 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4082 if \$ac_cs_recheck; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4083 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
4084 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
4085 fi
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 _ACEOF
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
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4092
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4093 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4094 for ac_config_target in $ac_config_targets
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4095 do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4096 case "$ac_config_target" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4097 # Handling of arguments.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4098 "Makefile.in" ) CONFIG_FILES="$CONFIG_FILES Makefile.in" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4099 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4100 *) { { 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
4101 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
4102 { (exit 1); exit 1; }; };;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4103 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4104 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4105
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4106 # 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
4107 # 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
4108 # 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
4109 # bizarre bug on SunOS 4.1.3.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4110 if $ac_need_defaults; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4111 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4112 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4113
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4114 # 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
4115 # 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
4116 # 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
4117 # 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
4118 $debug ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4119 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4120 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
4121 trap '{ (exit 1); exit 1; }' 1 2 13 15
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4122 }
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 # Create a (secure) tmp directory for tmp files.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4125
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4126 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4127 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
4128 test -n "$tmp" && test -d "$tmp"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4129 } ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4130 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4131 tmp=./confstat$$-$RANDOM
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4132 (umask 077 && mkdir $tmp)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4133 } ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4134 {
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4135 echo "$me: cannot create a temporary directory in ." >&2
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4136 { (exit 1); exit 1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4137 }
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 _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 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4142
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 # CONFIG_FILES section.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4145 #
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4146
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4147 # 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
4148 # This happens for instance when ./config.status config.h
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4149 if test -n "\$CONFIG_FILES"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4150 # 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
4151 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
4152 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
4153 s,@SHELL@,$SHELL,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4154 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4155 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4156 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4157 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4158 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4159 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4160 s,@exec_prefix@,$exec_prefix,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4161 s,@prefix@,$prefix,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4162 s,@program_transform_name@,$program_transform_name,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4163 s,@bindir@,$bindir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4164 s,@sbindir@,$sbindir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4165 s,@libexecdir@,$libexecdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4166 s,@datadir@,$datadir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4167 s,@sysconfdir@,$sysconfdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4168 s,@sharedstatedir@,$sharedstatedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4169 s,@localstatedir@,$localstatedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4170 s,@libdir@,$libdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4171 s,@includedir@,$includedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4172 s,@oldincludedir@,$oldincludedir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4173 s,@infodir@,$infodir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4174 s,@mandir@,$mandir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4175 s,@build_alias@,$build_alias,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4176 s,@host_alias@,$host_alias,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4177 s,@target_alias@,$target_alias,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4178 s,@DEFS@,$DEFS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4179 s,@ECHO_C@,$ECHO_C,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4180 s,@ECHO_N@,$ECHO_N,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4181 s,@ECHO_T@,$ECHO_T,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4182 s,@LIBS@,$LIBS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4183 s,@CC@,$CC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4184 s,@CFLAGS@,$CFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4185 s,@LDFLAGS@,$LDFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4186 s,@CPPFLAGS@,$CPPFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4187 s,@ac_ct_CC@,$ac_ct_CC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4188 s,@EXEEXT@,$EXEEXT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4189 s,@OBJEXT@,$OBJEXT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4190 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4191 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4192 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4193 s,@ELLCC@,$ELLCC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4194 s,@CPP@,$CPP,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4195 s,@EGREP@,$EGREP,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4196 s,@canna_libs@,$canna_libs,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4197 s,@PROGNAME@,$PROGNAME,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4198 s,@MOD_CC@,$MOD_CC,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4199 s,@MODARCHDIR@,$MODARCHDIR,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4200 s,@MAKE_DOCFILE@,$MAKE_DOCFILE,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4201 s,@MODCFLAGS@,$MODCFLAGS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4202 s,@INSTALLPATH@,$INSTALLPATH,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4203 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4204 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4205 s,@LIBOBJS@,$LIBOBJS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4206 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4207 CEOF
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 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4210
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4211 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4212 # 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
4213 # 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
4214 ac_max_sed_lines=48
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4215 ac_sed_frag=1 # Number of current file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4216 ac_beg=1 # First line for current file.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4217 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
4218 ac_more_lines=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4219 ac_sed_cmds=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4220 while $ac_more_lines; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4221 if test $ac_beg -gt 1; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4222 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
4223 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4224 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
4225 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4226 if test ! -s $tmp/subs.frag; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4227 ac_more_lines=false
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4228 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4229 # 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
4230 # 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
4231 # is no need to browse any of the substitutions).
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4232 # These are the two extra sed commands mentioned above.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4233 (echo ':t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4234 /@[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
4235 if test -z "$ac_sed_cmds"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4236 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 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4238 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
4239 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4240 ac_sed_frag=`expr $ac_sed_frag + 1`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4241 ac_beg=$ac_end
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4242 ac_end=`expr $ac_end + $ac_max_sed_lines`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4243 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4244 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4245 if test -z "$ac_sed_cmds"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4246 ac_sed_cmds=cat
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4247 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4248 fi # test -n "$CONFIG_FILES"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4249
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4250 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4251 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4252 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
4253 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4254 case $ac_file in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4255 - | *:- | *:-:* ) # input from stdin
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4256 cat >$tmp/stdin
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=`echo "$ac_file" | sed 's,[^:]*:,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4260 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4261 * ) ac_file_in=$ac_file.in ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4262 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4263
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4264 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4265 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4266 $as_expr 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 X"$ac_file" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4269 X"$ac_file" : 'X\(/\)' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4270 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4271 echo X"$ac_file" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4272 sed '/^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 /^X\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4275 /^X\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4276 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4277 { if $as_mkdir_p; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4278 mkdir -p "$ac_dir"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4279 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4280 as_dir="$ac_dir"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4281 as_dirs=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4282 while test ! -d "$as_dir"; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4283 as_dirs="$as_dir $as_dirs"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4284 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4285 $as_expr 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 X"$as_dir" : 'X\(//\)$' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4288 X"$as_dir" : 'X\(/\)' \| \
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4289 . : '\(.\)' 2>/dev/null ||
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4290 echo X"$as_dir" |
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4291 sed '/^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 /^X\(\/\/\)$/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4294 /^X\(\/\).*/{ s//\1/; q; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4295 s/.*/./; q'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4296 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4297 test ! -n "$as_dirs" || mkdir $as_dirs
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4298 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
4299 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
4300 { (exit 1); exit 1; }; }; }
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 ac_builddir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4303
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4304 if test "$ac_dir" != .; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4305 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4306 # A "../" for each directory in $ac_dir_suffix.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4307 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
4308 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4309 ac_dir_suffix= ac_top_builddir=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4310 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4311
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4312 case $srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4313 .) # No --srcdir option. We are building in place.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4314 ac_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4315 if test -z "$ac_top_builddir"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4316 ac_top_srcdir=.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4317 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4318 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4319 fi ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4320 [\\/]* | ?:[\\/]* ) # Absolute path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4321 ac_srcdir=$srcdir$ac_dir_suffix;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4322 ac_top_srcdir=$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4323 *) # Relative path.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4324 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4325 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4326 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4327
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4328 # 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
4329 # the directories may not exist.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4330 case `pwd` in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4331 .) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4332 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4333 case "$ac_dir" in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4334 .) ac_abs_builddir=`pwd`;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4335 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4336 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4337 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4338 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4339 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4340 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4341 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4342 case ${ac_top_builddir}. in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4343 .) ac_abs_top_builddir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4344 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4345 *) 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
4346 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4347 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4348 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4349 .) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4350 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4351 case $ac_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4352 .) ac_abs_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4353 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4354 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4355 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4356 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4357 case $ac_abs_builddir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4358 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4359 *)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4360 case $ac_top_srcdir in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4361 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4362 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4363 *) 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
4364 esac;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4365 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4366
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4367
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4368 case $INSTALL in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4369 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4370 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4371 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4372
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4373 if test x"$ac_file" != x-; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4374 { echo "$as_me:$LINENO: creating $ac_file" >&5
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4375 echo "$as_me: creating $ac_file" >&6;}
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4376 rm -f "$ac_file"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4377 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4378 # 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
4379 # use $as_me), people would be surprised to read:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4380 # /* config.h. Generated by config.status. */
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4381 if test x"$ac_file" = x-; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4382 configure_input=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4383 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4384 configure_input="$ac_file. "
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4385 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4386 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
4387 sed 's,.*/,,'` by configure."
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4388
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4389 # 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
4390 # src tree.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4391 ac_file_inputs=`IFS=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4392 for f in $ac_file_in; do
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4393 case $f in
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4394 -) echo $tmp/stdin ;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4395 [\\/$]*)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4396 # Absolute (can't be DOS-style, as IFS=:)
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4397 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
4398 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
4399 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4400 echo "$f";;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4401 *) # Relative
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4402 if test -f "$f"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4403 # Build tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4404 echo "$f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4405 elif test -f "$srcdir/$f"; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4406 # Source tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4407 echo "$srcdir/$f"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4408 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4409 # /dev/null tree
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4410 { { 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
4411 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
4412 { (exit 1); exit 1; }; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4413 fi;;
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4414 esac
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4415 done` || { (exit 1); exit 1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4416 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4417 cat >>$CONFIG_STATUS <<_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4418 sed "$ac_vpsub
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4419 $extrasub
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4420 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4421 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4422 :t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4424 s,@configure_input@,$configure_input,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4425 s,@srcdir@,$ac_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4426 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4427 s,@top_srcdir@,$ac_top_srcdir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4428 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
4429 s,@builddir@,$ac_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4430 s,@abs_builddir@,$ac_abs_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4431 s,@top_builddir@,$ac_top_builddir,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4432 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
4433 s,@INSTALL@,$ac_INSTALL,;t t
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4434 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4435 rm -f $tmp/stdin
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4436 if test x"$ac_file" != x-; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4437 mv $tmp/out $ac_file
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4438 else
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4439 cat $tmp/out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4440 rm -f $tmp/out
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4441 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4442
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4443 done
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4444 _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 cat >>$CONFIG_STATUS <<\_ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4447
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4448 { (exit 0); exit 0; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4449 _ACEOF
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4450 chmod +x $CONFIG_STATUS
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4451 ac_clean_files=$ac_clean_files_save
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4452
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4453
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4454 # 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
4455 # 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
4456 # 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
4457 # 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
4458 # 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
4459 # 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
4460 # 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
4461 # need to make the FD available again.
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4462 if test "$no_create" != yes; then
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4463 ac_cs_success=:
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4464 ac_config_status_args=
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4465 test "$silent" = yes &&
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4466 ac_config_status_args="$ac_config_status_args --quiet"
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4467 exec 5>/dev/null
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4468 $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
4469 exec 5>>config.log
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4470 # 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
4471 # 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
4472 $ac_cs_success || { (exit 1); exit 1; }
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4473 fi
6546b8d718e9 [xemacs-hg @ 2005-10-21 10:26:51 by stephent]
stephent
parents:
diff changeset
4474