annotate configure @ 177:d340e9c8191f 2.2

Added autotool files for releae
author lost
date Wed, 04 Mar 2009 03:44:49 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
177
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1 #! /bin/sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3 # Generated by GNU Autoconf 2.61 for LWTOOLS 2.2.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
5 # Report bugs to <lost@l-w.ca>.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
6 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
9 # This configure script is free software; the Free Software Foundation
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
10 # gives unlimited permission to copy, distribute and modify it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
11 ## --------------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
12 ## M4sh Initialization. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
13 ## --------------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
14
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
15 # Be more Bourne compatible
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
16 DUALCASE=1; export DUALCASE # for MKS sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
18 emulate sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
19 NULLCMD=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
21 # is contrary to our usage. Disable this feature.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
22 alias -g '${1+"$@"}'='"$@"'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
23 setopt NO_GLOB_SUBST
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
24 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
25 case `(set -o) 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
26 *posix*) set -o posix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
27 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
28
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
29 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
30
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
31
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
32
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
33
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
34 # PATH needs CR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
35 # Avoid depending upon Character Ranges.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
39 as_cr_digits='0123456789'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
41
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
42 # The user is always right.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
43 if test "${PATH_SEPARATOR+set}" != set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
44 echo "#! /bin/sh" >conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
45 echo "exit 0" >>conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
46 chmod +x conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
48 PATH_SEPARATOR=';'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
49 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
50 PATH_SEPARATOR=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
51 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
52 rm -f conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
53 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
54
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
55 # Support unset when possible.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
57 as_unset=unset
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
58 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
59 as_unset=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
60 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
61
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
62
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
63 # IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
64 # We need space, tab and new line, in precisely that order. Quoting is
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
65 # there to prevent editors from complaining about space-tab.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
67 # splitting by setting IFS to empty value.)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
68 as_nl='
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
69 '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
70 IFS=" "" $as_nl"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
71
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
72 # Find who we are. Look in the path if we contain no directory separator.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
73 case $0 in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
74 *[\\/]* ) as_myself=$0 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
76 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
77 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
78 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
79 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
81 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
82 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
83
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
84 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
85 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
87 # in which case we are not to be found in the path.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
88 if test "x$as_myself" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
89 as_myself=$0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
90 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
91 if test ! -f "$as_myself"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
93 { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
94 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
95
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
96 # Work around bugs in pre-3.0 UWIN ksh.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
97 for as_var in ENV MAIL MAILPATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
99 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
100 PS1='$ '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
101 PS2='> '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
102 PS4='+ '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
103
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
104 # NLS nuisances.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
105 for as_var in \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
108 LC_TELEPHONE LC_TIME
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
109 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
111 eval $as_var=C; export $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
112 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
114 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
115 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
116
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
117 # Required to use basename.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
120 as_expr=expr
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
121 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
122 as_expr=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
123 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
124
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
126 as_basename=basename
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
127 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
128 as_basename=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
129 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
130
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
131
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
132 # Name of the executable.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
133 as_me=`$as_basename -- "$0" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
135 X"$0" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
137 echo X/"$0" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
139 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
140 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
141 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
142 /^X\/\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
143 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
144 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
145 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
146 /^X\/\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
147 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
148 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
149 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
150 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
151
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
152 # CDPATH.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
153 $as_unset CDPATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
154
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
155
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
156 if test "x$CONFIG_SHELL" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
157 if (eval ":") 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
158 as_have_required=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
159 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
160 as_have_required=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
161 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
162
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
163 if test $as_have_required = yes && (eval ":
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
164 (as_func_return () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
165 (exit \$1)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
166 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
167 as_func_success () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
168 as_func_return 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
169 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
170 as_func_failure () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
171 as_func_return 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
172 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
173 as_func_ret_success () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
174 return 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
175 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
176 as_func_ret_failure () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
177 return 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
178 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
179
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
180 exitcode=0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
181 if as_func_success; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
182 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
183 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
184 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
185 echo as_func_success failed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
186 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
187
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
188 if as_func_failure; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
189 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
190 echo as_func_failure succeeded.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
191 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
192
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
193 if as_func_ret_success; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
194 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
195 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
196 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
197 echo as_func_ret_success failed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
198 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
199
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
200 if as_func_ret_failure; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
201 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
202 echo as_func_ret_failure succeeded.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
203 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
204
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
206 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
207 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
208 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
209 echo positional parameters were not saved.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
210 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
211
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
212 test \$exitcode = 0) || { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
213
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
214 (
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
215 as_lineno_1=\$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
216 as_lineno_2=\$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
219 ") 2> /dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
220 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
221 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
222 as_candidate_shells=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
225 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
226 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
227 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
228 case $as_dir in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
229 /*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
230 for as_base in sh bash ksh sh5; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
232 done;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
233 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
234 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
235 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
236
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
237
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
238 for as_shell in $as_candidate_shells $SHELL; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
239 # Try only shells that exist, to save several forks.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
243 emulate sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
244 NULLCMD=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
246 # is contrary to our usage. Disable this feature.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
247 alias -g '${1+"$@"}'='"$@"'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
248 setopt NO_GLOB_SUBST
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
249 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
250 case `(set -o) 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
251 *posix*) set -o posix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
252 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
253
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
254 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
255
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
256
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
257 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
258 _ASEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
259 }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
260 CONFIG_SHELL=$as_shell
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
261 as_have_required=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
264 emulate sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
265 NULLCMD=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
267 # is contrary to our usage. Disable this feature.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
268 alias -g '${1+"$@"}'='"$@"'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
269 setopt NO_GLOB_SUBST
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
270 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
271 case `(set -o) 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
272 *posix*) set -o posix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
273 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
274
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
275 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
276
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
277
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
278 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
279 (as_func_return () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
280 (exit $1)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
281 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
282 as_func_success () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
283 as_func_return 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
284 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
285 as_func_failure () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
286 as_func_return 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
287 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
288 as_func_ret_success () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
289 return 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
290 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
291 as_func_ret_failure () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
292 return 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
293 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
294
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
295 exitcode=0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
296 if as_func_success; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
297 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
298 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
299 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
300 echo as_func_success failed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
301 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
302
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
303 if as_func_failure; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
304 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
305 echo as_func_failure succeeded.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
306 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
307
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
308 if as_func_ret_success; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
309 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
310 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
311 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
312 echo as_func_ret_success failed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
313 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
314
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
315 if as_func_ret_failure; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
316 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
317 echo as_func_ret_failure succeeded.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
318 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
319
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
321 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
322 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
323 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
324 echo positional parameters were not saved.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
325 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
326
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
327 test $exitcode = 0) || { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
328
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
329 (
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
330 as_lineno_1=$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
331 as_lineno_2=$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
334
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
335 _ASEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
336 }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
337 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
338 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
339
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
340 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
341
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
342 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
343
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
344 if test "x$CONFIG_SHELL" != x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
345 for as_var in BASH_ENV ENV
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
347 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
348 export CONFIG_SHELL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
350 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
351
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
352
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
353 if test $as_have_required = no; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
354 echo This script requires a shell more modern than all the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
355 echo shells that I found on your system. Please install a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
356 echo modern shell, or manually run the script under such a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
357 echo shell if you do have one.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
358 { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
359 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
360
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
361
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
362 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
363
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
364 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
365
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
366
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
367
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
368 (eval "as_func_return () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
369 (exit \$1)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
370 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
371 as_func_success () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
372 as_func_return 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
373 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
374 as_func_failure () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
375 as_func_return 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
376 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
377 as_func_ret_success () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
378 return 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
379 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
380 as_func_ret_failure () {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
381 return 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
382 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
383
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
384 exitcode=0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
385 if as_func_success; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
386 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
387 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
388 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
389 echo as_func_success failed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
390 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
391
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
392 if as_func_failure; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
393 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
394 echo as_func_failure succeeded.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
395 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
396
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
397 if as_func_ret_success; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
398 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
399 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
400 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
401 echo as_func_ret_success failed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
402 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
403
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
404 if as_func_ret_failure; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
405 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
406 echo as_func_ret_failure succeeded.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
407 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
408
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
410 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
411 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
412 exitcode=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
413 echo positional parameters were not saved.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
414 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
415
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
416 test \$exitcode = 0") || {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
417 echo No shell found that supports shell functions.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
418 echo Please tell autoconf@gnu.org about your system,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
419 echo including any error possibly output before this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
420 echo message
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
421 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
422
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
423
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
424
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
425 as_lineno_1=$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
426 as_lineno_2=$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
429
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
431 # uniformly replaced by the line number. The first 'sed' inserts a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
432 # line-number line after each line using $LINENO; the second 'sed'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
433 # does the real work. The second script uses 'N' to pair each
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
434 # line-number line with the line containing $LINENO, and appends
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
435 # trailing '-' during substitution so that $LINENO is not a special
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
436 # case at line end.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
439 # E. McMahon (1931-1989) for sed's syntax. :-)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
440 sed -n '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
441 p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
442 /[$]LINENO/=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
443 ' <$as_myself |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
444 sed '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
445 s/[$]LINENO.*/&-/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
446 t lineno
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
447 b
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
448 :lineno
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
449 N
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
450 :loop
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
452 t loop
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
453 s/-\n.*//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
454 ' >$as_me.lineno &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
455 chmod +x "$as_me.lineno" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
457 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
458
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
459 # Don't try to exec as it changes $[0], causing all sort of problems
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
460 # (the dirname of $[0] is not the place where we might find the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
461 # original and so on. Autoconf is especially sensitive to this).
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
462 . "./$as_me.lineno"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
463 # Exit status is that of the last command.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
464 exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
465 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
466
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
467
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
469 as_dirname=dirname
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
470 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
471 as_dirname=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
472 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
473
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
474 ECHO_C= ECHO_N= ECHO_T=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
475 case `echo -n x` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
476 -n*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
477 case `echo 'x\c'` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
479 *) ECHO_C='\c';;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
480 esac;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
481 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
482 ECHO_N='-n';;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
483 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
484
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
487 as_expr=expr
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
488 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
489 as_expr=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
490 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
491
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
492 rm -f conf$$ conf$$.exe conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
493 if test -d conf$$.dir; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
494 rm -f conf$$.dir/conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
495 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
496 rm -f conf$$.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
497 mkdir conf$$.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
498 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
499 echo >conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
501 as_ln_s='ln -s'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
502 # ... but there are two gotchas:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
505 # In both cases, we have to default to `cp -p'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
507 as_ln_s='cp -p'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
508 elif ln conf$$.file conf$$ 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
509 as_ln_s=ln
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
510 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
511 as_ln_s='cp -p'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
512 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
514 rmdir conf$$.dir 2>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
515
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
516 if mkdir -p . 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
517 as_mkdir_p=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
518 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
519 test -d ./-p && rmdir ./-p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
520 as_mkdir_p=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
521 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
522
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
523 if test -x / >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
524 as_test_x='test -x'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
525 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
526 if ls -dL / >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
527 as_ls_L_option=L
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
528 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
529 as_ls_L_option=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
530 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
531 as_test_x='
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
532 eval sh -c '\''
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
533 if test -d "$1"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
534 test -d "$1/.";
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
535 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
536 case $1 in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
537 -*)set "./$1";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
538 esac;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
540 ???[sx]*):;;*)false;;esac;fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
541 '\'' sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
542 '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
543 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
544 as_executable_p=$as_test_x
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
545
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
546 # Sed expression to map a string onto a valid CPP name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
548
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
549 # Sed expression to map a string onto a valid variable name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
551
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
552
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
553
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
554 exec 7<&0 </dev/null 6>&1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
555
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
556 # Name of the host.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
558 # so uname gets run too.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
560
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
561 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
562 # Initializations.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
563 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
564 ac_default_prefix=/usr/local
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
565 ac_clean_files=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
566 ac_config_libobj_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
567 LIBOBJS=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
568 cross_compiling=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
569 subdirs=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
570 MFLAGS=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
571 MAKEFLAGS=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
572 SHELL=${CONFIG_SHELL-/bin/sh}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
573
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
574 # Identity of this package.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
575 PACKAGE_NAME='LWTOOLS'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
576 PACKAGE_TARNAME='lwtools'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
577 PACKAGE_VERSION='2.2'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
578 PACKAGE_STRING='LWTOOLS 2.2'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
579 PACKAGE_BUGREPORT='lost@l-w.ca'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
580
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
581 ac_subst_vars='SHELL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
582 PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
583 PACKAGE_NAME
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
584 PACKAGE_TARNAME
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
585 PACKAGE_VERSION
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
586 PACKAGE_STRING
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
587 PACKAGE_BUGREPORT
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
588 exec_prefix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
589 prefix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
590 program_transform_name
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
591 bindir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
592 sbindir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
593 libexecdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
594 datarootdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
595 datadir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
596 sysconfdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
597 sharedstatedir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
598 localstatedir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
599 includedir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
600 oldincludedir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
601 docdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
602 infodir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
603 htmldir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
604 dvidir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
605 pdfdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
606 psdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
607 libdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
608 localedir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
609 mandir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
610 DEFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
611 ECHO_C
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
612 ECHO_N
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
613 ECHO_T
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
614 LIBS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
615 build_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
616 host_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
617 target_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
618 INSTALL_PROGRAM
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
619 INSTALL_SCRIPT
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
620 INSTALL_DATA
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
621 CYGPATH_W
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
622 PACKAGE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
623 VERSION
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
624 ACLOCAL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
625 AUTOCONF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
626 AUTOMAKE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
627 AUTOHEADER
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
628 MAKEINFO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
629 install_sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
630 STRIP
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
631 INSTALL_STRIP_PROGRAM
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
632 mkdir_p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
633 AWK
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
634 SET_MAKE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
635 am__leading_dot
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
636 AMTAR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
637 am__tar
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
638 am__untar
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
639 CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
640 CFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
641 LDFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
642 CPPFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
643 ac_ct_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
644 EXEEXT
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
645 OBJEXT
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
646 DEPDIR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
647 am__include
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
648 am__quote
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
649 AMDEP_TRUE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
650 AMDEP_FALSE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
651 AMDEPBACKSLASH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
652 CCDEPMODE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
653 am__fastdepCC_TRUE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
654 am__fastdepCC_FALSE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
655 LIBOBJS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
656 LTLIBOBJS'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
657 ac_subst_files=''
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
658 ac_precious_vars='build_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
659 host_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
660 target_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
661 CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
662 CFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
663 LDFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
664 LIBS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
665 CPPFLAGS'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
666
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
667
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
668 # Initialize some variables set by options.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
669 ac_init_help=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
670 ac_init_version=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
671 # The variables have the same names as the options, with
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
672 # dashes changed to underlines.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
673 cache_file=/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
674 exec_prefix=NONE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
675 no_create=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
676 no_recursion=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
677 prefix=NONE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
678 program_prefix=NONE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
679 program_suffix=NONE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
680 program_transform_name=s,x,x,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
681 silent=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
682 site=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
683 srcdir=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
684 verbose=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
685 x_includes=NONE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
686 x_libraries=NONE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
687
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
688 # Installation directory options.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
689 # These are left unexpanded so users can "make install exec_prefix=/foo"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
690 # and all the variables that are supposed to be based on exec_prefix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
691 # by default will actually change.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
692 # Use braces instead of parens because sh, perl, etc. also accept them.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
693 # (The list follows the same order as the GNU Coding Standards.)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
694 bindir='${exec_prefix}/bin'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
695 sbindir='${exec_prefix}/sbin'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
696 libexecdir='${exec_prefix}/libexec'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
697 datarootdir='${prefix}/share'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
698 datadir='${datarootdir}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
699 sysconfdir='${prefix}/etc'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
700 sharedstatedir='${prefix}/com'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
701 localstatedir='${prefix}/var'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
702 includedir='${prefix}/include'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
703 oldincludedir='/usr/include'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
704 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
705 infodir='${datarootdir}/info'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
706 htmldir='${docdir}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
707 dvidir='${docdir}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
708 pdfdir='${docdir}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
709 psdir='${docdir}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
710 libdir='${exec_prefix}/lib'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
711 localedir='${datarootdir}/locale'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
712 mandir='${datarootdir}/man'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
713
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
714 ac_prev=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
715 ac_dashdash=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
716 for ac_option
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
717 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
718 # If the previous option needs an argument, assign it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
719 if test -n "$ac_prev"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
720 eval $ac_prev=\$ac_option
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
721 ac_prev=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
722 continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
723 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
724
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
725 case $ac_option in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
726 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
727 *) ac_optarg=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
728 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
729
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
730 # Accept the important Cygnus configure options, so we can diagnose typos.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
731
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
732 case $ac_dashdash$ac_option in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
733 --)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
734 ac_dashdash=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
735
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
737 ac_prev=bindir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
739 bindir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
740
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
741 -build | --build | --buil | --bui | --bu)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
742 ac_prev=build_alias ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
743 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
744 build_alias=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
745
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
746 -cache-file | --cache-file | --cache-fil | --cache-fi \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
748 ac_prev=cache_file ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
751 cache_file=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
752
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
753 --config-cache | -C)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
754 cache_file=config.cache ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
755
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
756 -datadir | --datadir | --datadi | --datad)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
757 ac_prev=datadir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
758 -datadir=* | --datadir=* | --datadi=* | --datad=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
759 datadir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
760
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
762 | --dataroo | --dataro | --datar)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
763 ac_prev=datarootdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
766 datarootdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
767
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
768 -disable-* | --disable-*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
769 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
770 # Reject names that are not valid shell variable names.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
771 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
772 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
773 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
774 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
775 eval enable_$ac_feature=no ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
776
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
777 -docdir | --docdir | --docdi | --doc | --do)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
778 ac_prev=docdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
779 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
780 docdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
781
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
782 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
783 ac_prev=dvidir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
784 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
785 dvidir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
786
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
787 -enable-* | --enable-*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
788 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
789 # Reject names that are not valid shell variable names.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
790 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
791 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
792 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
793 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
794 eval enable_$ac_feature=\$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
795
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
796 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
797 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
798 | --exec | --exe | --ex)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
799 ac_prev=exec_prefix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
800 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
801 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
802 | --exec=* | --exe=* | --ex=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
803 exec_prefix=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
804
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
805 -gas | --gas | --ga | --g)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
806 # Obsolete; use --with-gas.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
807 with_gas=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
808
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
809 -help | --help | --hel | --he | -h)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
810 ac_init_help=long ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
811 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
812 ac_init_help=recursive ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
813 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
814 ac_init_help=short ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
815
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
816 -host | --host | --hos | --ho)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
817 ac_prev=host_alias ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
818 -host=* | --host=* | --hos=* | --ho=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
819 host_alias=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
820
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
821 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
822 ac_prev=htmldir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
823 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
824 | --ht=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
825 htmldir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
826
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
827 -includedir | --includedir | --includedi | --included | --include \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
828 | --includ | --inclu | --incl | --inc)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
829 ac_prev=includedir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
830 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
831 | --includ=* | --inclu=* | --incl=* | --inc=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
832 includedir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
833
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
834 -infodir | --infodir | --infodi | --infod | --info | --inf)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
835 ac_prev=infodir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
836 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
837 infodir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
838
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
839 -libdir | --libdir | --libdi | --libd)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
840 ac_prev=libdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
841 -libdir=* | --libdir=* | --libdi=* | --libd=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
842 libdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
843
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
844 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
845 | --libexe | --libex | --libe)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
846 ac_prev=libexecdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
847 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
848 | --libexe=* | --libex=* | --libe=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
849 libexecdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
850
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
851 -localedir | --localedir | --localedi | --localed | --locale)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
852 ac_prev=localedir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
853 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
854 localedir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
855
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
856 -localstatedir | --localstatedir | --localstatedi | --localstated \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
857 | --localstate | --localstat | --localsta | --localst | --locals)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
858 ac_prev=localstatedir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
859 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
860 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
861 localstatedir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
862
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
863 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
864 ac_prev=mandir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
865 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
866 mandir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
867
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
868 -nfp | --nfp | --nf)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
869 # Obsolete; use --without-fp.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
870 with_fp=no ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
871
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
873 | --no-cr | --no-c | -n)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
874 no_create=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
875
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
876 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
877 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
878 no_recursion=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
879
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
880 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
881 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
882 | --oldin | --oldi | --old | --ol | --o)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
883 ac_prev=oldincludedir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
884 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
885 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
886 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
887 oldincludedir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
888
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
889 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
890 ac_prev=prefix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
891 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
892 prefix=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
893
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
894 -program-prefix | --program-prefix | --program-prefi | --program-pref \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
895 | --program-pre | --program-pr | --program-p)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
896 ac_prev=program_prefix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
897 -program-prefix=* | --program-prefix=* | --program-prefi=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
898 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
899 program_prefix=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
900
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
901 -program-suffix | --program-suffix | --program-suffi | --program-suff \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
902 | --program-suf | --program-su | --program-s)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
903 ac_prev=program_suffix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
904 -program-suffix=* | --program-suffix=* | --program-suffi=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
905 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
906 program_suffix=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
907
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
908 -program-transform-name | --program-transform-name \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
909 | --program-transform-nam | --program-transform-na \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
910 | --program-transform-n | --program-transform- \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
911 | --program-transform | --program-transfor \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
912 | --program-transfo | --program-transf \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
913 | --program-trans | --program-tran \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
914 | --progr-tra | --program-tr | --program-t)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
915 ac_prev=program_transform_name ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
916 -program-transform-name=* | --program-transform-name=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
917 | --program-transform-nam=* | --program-transform-na=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
918 | --program-transform-n=* | --program-transform-=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
919 | --program-transform=* | --program-transfor=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
920 | --program-transfo=* | --program-transf=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
921 | --program-trans=* | --program-tran=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
922 | --progr-tra=* | --program-tr=* | --program-t=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
923 program_transform_name=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
924
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
925 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
926 ac_prev=pdfdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
927 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
928 pdfdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
929
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
930 -psdir | --psdir | --psdi | --psd | --ps)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
931 ac_prev=psdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
932 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
933 psdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
934
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
936 | -silent | --silent | --silen | --sile | --sil)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
937 silent=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
938
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
939 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
940 ac_prev=sbindir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
941 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
942 | --sbi=* | --sb=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
943 sbindir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
944
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
945 -sharedstatedir | --sharedstatedir | --sharedstatedi \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
946 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
947 | --sharedst | --shareds | --shared | --share | --shar \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
948 | --sha | --sh)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
949 ac_prev=sharedstatedir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
950 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
951 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
952 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
953 | --sha=* | --sh=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
954 sharedstatedir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
955
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
956 -site | --site | --sit)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
957 ac_prev=site ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
958 -site=* | --site=* | --sit=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
959 site=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
960
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
961 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
962 ac_prev=srcdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
963 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
964 srcdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
965
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
966 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
967 | --syscon | --sysco | --sysc | --sys | --sy)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
968 ac_prev=sysconfdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
969 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
970 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
971 sysconfdir=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
972
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
973 -target | --target | --targe | --targ | --tar | --ta | --t)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
974 ac_prev=target_alias ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
975 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
976 target_alias=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
977
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
978 -v | -verbose | --verbose | --verbos | --verbo | --verb)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
979 verbose=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
980
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
981 -version | --version | --versio | --versi | --vers | -V)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
982 ac_init_version=: ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
983
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
984 -with-* | --with-*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
985 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
986 # Reject names that are not valid shell variable names.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
987 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
988 { echo "$as_me: error: invalid package name: $ac_package" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
989 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
990 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
991 eval with_$ac_package=\$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
992
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
993 -without-* | --without-*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
994 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
995 # Reject names that are not valid shell variable names.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
996 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
997 { echo "$as_me: error: invalid package name: $ac_package" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
998 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
999 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1000 eval with_$ac_package=no ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1001
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1002 --x)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1003 # Obsolete; use --with-x.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1004 with_x=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1005
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1006 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1007 | --x-incl | --x-inc | --x-in | --x-i)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1008 ac_prev=x_includes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1009 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1010 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1011 x_includes=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1012
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1013 -x-libraries | --x-libraries | --x-librarie | --x-librari \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1014 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1015 ac_prev=x_libraries ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1016 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1017 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1018 x_libraries=$ac_optarg ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1019
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1020 -*) { echo "$as_me: error: unrecognized option: $ac_option
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1021 Try \`$0 --help' for more information." >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1022 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1023 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1024
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1025 *=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1026 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1027 # Reject names that are not valid shell variable names.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1028 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1029 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1030 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1031 eval $ac_envvar=\$ac_optarg
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1032 export $ac_envvar ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1033
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1034 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1035 # FIXME: should be removed in autoconf 3.0.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1036 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1037 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1038 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1039 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1040 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1041
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1042 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1043 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1044
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1045 if test -n "$ac_prev"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1046 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1047 { echo "$as_me: error: missing argument to $ac_option" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1048 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1049 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1050
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1051 # Be sure to have absolute directory names.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1052 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1053 datadir sysconfdir sharedstatedir localstatedir includedir \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1054 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1055 libdir localedir mandir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1056 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1057 eval ac_val=\$$ac_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1058 case $ac_val in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1059 [\\/$]* | ?:[\\/]* ) continue;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1060 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1061 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1062 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1063 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1064 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1065
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1066 # There might be people who depend on the old broken behavior: `$host'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1067 # used to hold the argument of --host etc.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1068 # FIXME: To remove some day.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1069 build=$build_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1070 host=$host_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1071 target=$target_alias
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1072
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1073 # FIXME: To remove some day.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1074 if test "x$host_alias" != x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1075 if test "x$build_alias" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1076 cross_compiling=maybe
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1077 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1078 If a cross compiler is detected then cross compile mode will be used." >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1079 elif test "x$build_alias" != "x$host_alias"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1080 cross_compiling=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1081 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1082 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1083
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1084 ac_tool_prefix=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1085 test -n "$host_alias" && ac_tool_prefix=$host_alias-
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1086
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1087 test "$silent" = yes && exec 6>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1088
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1089
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1090 ac_pwd=`pwd` && test -n "$ac_pwd" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1091 ac_ls_di=`ls -di .` &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1092 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1093 { echo "$as_me: error: Working directory cannot be determined" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1094 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1095 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1096 { echo "$as_me: error: pwd does not report name of working directory" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1097 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1098
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1099
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1100 # Find the source files, if location was not specified.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1101 if test -z "$srcdir"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1102 ac_srcdir_defaulted=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1103 # Try the directory containing this script, then the parent directory.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1104 ac_confdir=`$as_dirname -- "$0" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1105 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1106 X"$0" : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1107 X"$0" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1108 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1109 echo X"$0" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1111 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1112 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1113 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1114 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1115 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1116 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1117 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1118 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1119 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1120 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1121 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1122 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1123 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1124 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1125 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1126 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1127 srcdir=$ac_confdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1128 if test ! -r "$srcdir/$ac_unique_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1129 srcdir=..
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1130 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1131 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1132 ac_srcdir_defaulted=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1133 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1134 if test ! -r "$srcdir/$ac_unique_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1135 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1136 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1137 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1138 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1139 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1140 ac_abs_confdir=`(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1141 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1142 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1143 pwd)`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1144 # When building in place, set srcdir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1145 if test "$ac_abs_confdir" = "$ac_pwd"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1146 srcdir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1147 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1148 # Remove unnecessary trailing slashes from srcdir.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1149 # Double slashes in file names in object file debugging info
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1150 # mess up M-x gdb in Emacs.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1151 case $srcdir in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1152 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1153 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1154 for ac_var in $ac_precious_vars; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1155 eval ac_env_${ac_var}_set=\${${ac_var}+set}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1156 eval ac_env_${ac_var}_value=\$${ac_var}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1157 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1158 eval ac_cv_env_${ac_var}_value=\$${ac_var}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1159 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1160
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1161 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1162 # Report the --help message.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1163 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1164 if test "$ac_init_help" = "long"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1165 # Omit some internal or obsolete options to make the list less imposing.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1166 # This message is too long to be a string in the A/UX 3.1 sh.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1167 cat <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1168 \`configure' configures LWTOOLS 2.2 to adapt to many kinds of systems.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1169
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1170 Usage: $0 [OPTION]... [VAR=VALUE]...
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1171
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1172 To assign environment variables (e.g., CC, CFLAGS...), specify them as
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1173 VAR=VALUE. See below for descriptions of some of the useful variables.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1174
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1175 Defaults for the options are specified in brackets.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1176
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1177 Configuration:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1178 -h, --help display this help and exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1179 --help=short display options specific to this package
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1180 --help=recursive display the short help of all the included packages
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1181 -V, --version display version information and exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1182 -q, --quiet, --silent do not print \`checking...' messages
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1183 --cache-file=FILE cache test results in FILE [disabled]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1184 -C, --config-cache alias for \`--cache-file=config.cache'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1185 -n, --no-create do not create output files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1186 --srcdir=DIR find the sources in DIR [configure dir or \`..']
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1187
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1188 Installation directories:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1189 --prefix=PREFIX install architecture-independent files in PREFIX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1190 [$ac_default_prefix]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1191 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1192 [PREFIX]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1193
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1194 By default, \`make install' will install all the files in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1195 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1196 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1197 for instance \`--prefix=\$HOME'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1198
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1199 For better control, use the options below.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1200
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1201 Fine tuning of the installation directories:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1202 --bindir=DIR user executables [EPREFIX/bin]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1203 --sbindir=DIR system admin executables [EPREFIX/sbin]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1204 --libexecdir=DIR program executables [EPREFIX/libexec]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1205 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1206 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1207 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1208 --libdir=DIR object code libraries [EPREFIX/lib]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1209 --includedir=DIR C header files [PREFIX/include]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1210 --oldincludedir=DIR C header files for non-gcc [/usr/include]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1211 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1212 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1213 --infodir=DIR info documentation [DATAROOTDIR/info]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1214 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1215 --mandir=DIR man documentation [DATAROOTDIR/man]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1216 --docdir=DIR documentation root [DATAROOTDIR/doc/lwtools]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1217 --htmldir=DIR html documentation [DOCDIR]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1218 --dvidir=DIR dvi documentation [DOCDIR]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1219 --pdfdir=DIR pdf documentation [DOCDIR]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1220 --psdir=DIR ps documentation [DOCDIR]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1221 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1222
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1223 cat <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1224
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1225 Program names:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1226 --program-prefix=PREFIX prepend PREFIX to installed program names
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1227 --program-suffix=SUFFIX append SUFFIX to installed program names
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1228 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1229 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1230 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1231
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1232 if test -n "$ac_init_help"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1233 case $ac_init_help in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1234 short | recursive ) echo "Configuration of LWTOOLS 2.2:";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1235 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1236 cat <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1237
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1238 Optional Features:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1239 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1240 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1241 --disable-dependency-tracking speeds up one-time build
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1242 --enable-dependency-tracking do not reject slow dependency extractors
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1243
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1244 Some influential environment variables:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1245 CC C compiler command
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1246 CFLAGS C compiler flags
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1247 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1248 nonstandard directory <lib dir>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1249 LIBS libraries to pass to the linker, e.g. -l<library>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1250 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1251 you have headers in a nonstandard directory <include dir>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1252
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1253 Use these variables to override the choices made by `configure' or to help
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1254 it to find libraries and programs with nonstandard names/locations.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1255
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1256 Report bugs to <lost@l-w.ca>.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1257 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1258 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1259 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1260
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1261 if test "$ac_init_help" = "recursive"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1262 # If there are subdirs, report their specific --help.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1263 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1264 test -d "$ac_dir" || continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1265 ac_builddir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1266
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1267 case "$ac_dir" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1268 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1269 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1270 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1271 # A ".." for each directory in $ac_dir_suffix.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1272 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1273 case $ac_top_builddir_sub in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1274 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1275 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1276 esac ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1277 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1278 ac_abs_top_builddir=$ac_pwd
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1279 ac_abs_builddir=$ac_pwd$ac_dir_suffix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1280 # for backward compatibility:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1281 ac_top_builddir=$ac_top_build_prefix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1282
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1283 case $srcdir in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1284 .) # We are building in place.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1285 ac_srcdir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1286 ac_top_srcdir=$ac_top_builddir_sub
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1287 ac_abs_top_srcdir=$ac_pwd ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1288 [\\/]* | ?:[\\/]* ) # Absolute name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1289 ac_srcdir=$srcdir$ac_dir_suffix;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1290 ac_top_srcdir=$srcdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1291 ac_abs_top_srcdir=$srcdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1292 *) # Relative name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1293 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1294 ac_top_srcdir=$ac_top_build_prefix$srcdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1295 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1296 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1297 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1298
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1299 cd "$ac_dir" || { ac_status=$?; continue; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1300 # Check for guested configure.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1301 if test -f "$ac_srcdir/configure.gnu"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1302 echo &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1303 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1304 elif test -f "$ac_srcdir/configure"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1305 echo &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1306 $SHELL "$ac_srcdir/configure" --help=recursive
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1307 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1308 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1309 fi || ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1310 cd "$ac_pwd" || { ac_status=$?; break; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1311 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1312 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1313
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1314 test -n "$ac_init_help" && exit $ac_status
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1315 if $ac_init_version; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1316 cat <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1317 LWTOOLS configure 2.2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1318 generated by GNU Autoconf 2.61
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1319
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1320 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1321 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1322 This configure script is free software; the Free Software Foundation
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1323 gives unlimited permission to copy, distribute and modify it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1324 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1325 exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1326 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1327 cat >config.log <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1328 This file contains any messages produced by compilers while
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1329 running configure, to aid debugging if configure makes a mistake.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1330
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1331 It was created by LWTOOLS $as_me 2.2, which was
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1332 generated by GNU Autoconf 2.61. Invocation command line was
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1333
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1334 $ $0 $@
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1335
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1336 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1337 exec 5>>config.log
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1338 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1339 cat <<_ASUNAME
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1340 ## --------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1341 ## Platform. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1342 ## --------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1343
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1344 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1345 uname -m = `(uname -m) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1346 uname -r = `(uname -r) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1347 uname -s = `(uname -s) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1348 uname -v = `(uname -v) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1349
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1350 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1351 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1352
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1353 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1354 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1355 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1356 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1357 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1358 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1359 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1360
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1361 _ASUNAME
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1362
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1364 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1365 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1366 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1367 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1368 echo "PATH: $as_dir"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1369 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1370 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1371
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1372 } >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1373
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1374 cat >&5 <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1375
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1376
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1377 ## ----------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1378 ## Core tests. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1379 ## ----------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1380
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1381 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1382
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1383
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1384 # Keep a trace of the command line.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1385 # Strip out --no-create and --no-recursion so they do not pile up.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1386 # Strip out --silent because we don't want to record it for future runs.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1387 # Also quote any args containing shell meta-characters.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1388 # Make two passes to allow for proper duplicate-argument suppression.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1389 ac_configure_args=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1390 ac_configure_args0=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1391 ac_configure_args1=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1392 ac_must_keep_next=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1393 for ac_pass in 1 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1394 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1395 for ac_arg
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1396 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1397 case $ac_arg in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1398 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1400 | -silent | --silent | --silen | --sile | --sil)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1401 continue ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1402 *\'*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1403 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1404 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1405 case $ac_pass in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1406 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1407 2)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1408 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1409 if test $ac_must_keep_next = true; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1410 ac_must_keep_next=false # Got value, back to normal.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1411 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1412 case $ac_arg in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1413 *=* | --config-cache | -C | -disable-* | --disable-* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1414 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1415 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1416 | -with-* | --with-* | -without-* | --without-* | --x)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1417 case "$ac_configure_args0 " in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1418 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1419 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1420 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1421 -* ) ac_must_keep_next=true ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1422 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1423 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1424 ac_configure_args="$ac_configure_args '$ac_arg'"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1425 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1426 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1427 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1428 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1429 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1430 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1431
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1432 # When interrupted or exit'd, cleanup temporary files, and complete
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1433 # config.log. We remove comments because anyway the quotes in there
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1434 # would cause problems or look ugly.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1435 # WARNING: Use '\'' to represent an apostrophe within the trap.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1436 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1437 trap 'exit_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1438 # Save into config.log some information that might help in debugging.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1439 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1440 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1441
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1442 cat <<\_ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1443 ## ---------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1444 ## Cache variables. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1445 ## ---------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1446 _ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1447 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1448 # The following way of writing the cache mishandles newlines in values,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1449 (
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1450 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1451 eval ac_val=\$$ac_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1452 case $ac_val in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1453 *${as_nl}*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1454 case $ac_var in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1455 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1456 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1457 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1458 case $ac_var in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1459 _ | IFS | as_nl) ;; #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1460 *) $as_unset $ac_var ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1461 esac ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1462 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1463 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1464 (set) 2>&1 |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1465 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1466 *${as_nl}ac_space=\ *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1467 sed -n \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1468 "s/'\''/'\''\\\\'\'''\''/g;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1470 ;; #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1471 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1473 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1474 esac |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1475 sort
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1476 )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1477 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1478
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1479 cat <<\_ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1480 ## ----------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1481 ## Output variables. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1482 ## ----------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1483 _ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1484 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1485 for ac_var in $ac_subst_vars
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1486 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1487 eval ac_val=\$$ac_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1488 case $ac_val in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1489 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1490 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1491 echo "$ac_var='\''$ac_val'\''"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1492 done | sort
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1493 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1494
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1495 if test -n "$ac_subst_files"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1496 cat <<\_ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1497 ## ------------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1498 ## File substitutions. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1499 ## ------------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1500 _ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1501 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1502 for ac_var in $ac_subst_files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1503 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1504 eval ac_val=\$$ac_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1505 case $ac_val in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1506 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1507 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1508 echo "$ac_var='\''$ac_val'\''"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1509 done | sort
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1510 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1511 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1512
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1513 if test -s confdefs.h; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1514 cat <<\_ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1515 ## ----------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1516 ## confdefs.h. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1517 ## ----------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1518 _ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1519 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1520 cat confdefs.h
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1521 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1522 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1523 test "$ac_signal" != 0 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1524 echo "$as_me: caught signal $ac_signal"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1525 echo "$as_me: exit $exit_status"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1526 } >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1527 rm -f core *.core core.conftest.* &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1528 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1529 exit $exit_status
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1530 ' 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1531 for ac_signal in 1 2 13 15; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1532 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1533 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1534 ac_signal=0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1535
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1536 # confdefs.h avoids OS command line length limits that DEFS can exceed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1537 rm -f -r conftest* confdefs.h
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1538
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1539 # Predefined preprocessor variables.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1540
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1541 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1542 #define PACKAGE_NAME "$PACKAGE_NAME"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1543 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1544
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1545
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1546 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1547 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1548 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1549
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1550
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1551 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1552 #define PACKAGE_VERSION "$PACKAGE_VERSION"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1553 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1554
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1555
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1556 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1557 #define PACKAGE_STRING "$PACKAGE_STRING"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1558 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1559
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1560
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1561 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1562 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1563 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1564
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1565
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1566 # Let the site file select an alternate cache file if it wants to.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1567 # Prefer explicitly selected file to automatically selected ones.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1568 if test -n "$CONFIG_SITE"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1569 set x "$CONFIG_SITE"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1570 elif test "x$prefix" != xNONE; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1571 set x "$prefix/share/config.site" "$prefix/etc/config.site"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1572 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1573 set x "$ac_default_prefix/share/config.site" \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1574 "$ac_default_prefix/etc/config.site"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1575 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1576 shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1577 for ac_site_file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1578 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1579 if test -r "$ac_site_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1580 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1581 echo "$as_me: loading site script $ac_site_file" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1582 sed 's/^/| /' "$ac_site_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1583 . "$ac_site_file"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1584 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1585 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1586
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1587 if test -r "$cache_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1588 # Some versions of bash will fail to source /dev/null (special
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1589 # files actually), so we avoid doing that.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1590 if test -f "$cache_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1591 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1592 echo "$as_me: loading cache $cache_file" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1593 case $cache_file in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1594 [\\/]* | ?:[\\/]* ) . "$cache_file";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1595 *) . "./$cache_file";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1596 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1597 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1598 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1599 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1600 echo "$as_me: creating cache $cache_file" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1601 >$cache_file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1602 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1603
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1604 # Check that the precious variables saved in the cache have kept the same
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1605 # value.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1606 ac_cache_corrupted=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1607 for ac_var in $ac_precious_vars; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1608 eval ac_old_set=\$ac_cv_env_${ac_var}_set
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1609 eval ac_new_set=\$ac_env_${ac_var}_set
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1610 eval ac_old_val=\$ac_cv_env_${ac_var}_value
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1611 eval ac_new_val=\$ac_env_${ac_var}_value
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1612 case $ac_old_set,$ac_new_set in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1613 set,)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1614 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1615 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1616 ac_cache_corrupted=: ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1617 ,set)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1619 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1620 ac_cache_corrupted=: ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1621 ,);;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1622 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1623 if test "x$ac_old_val" != "x$ac_new_val"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1624 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1625 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1626 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1627 echo "$as_me: former value: $ac_old_val" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1628 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1629 echo "$as_me: current value: $ac_new_val" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1630 ac_cache_corrupted=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1631 fi;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1632 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1633 # Pass precious variables to config.status.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1634 if test "$ac_new_set" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1635 case $ac_new_val in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1636 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1637 *) ac_arg=$ac_var=$ac_new_val ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1638 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1639 case " $ac_configure_args " in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1640 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1641 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1642 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1643 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1644 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1645 if $ac_cache_corrupted; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1646 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1647 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1648 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1649 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1650 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1651 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1652
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1653
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1654
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1655
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1656
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1657
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1658
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1659
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1660
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1661
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1662
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1663
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1664
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1665
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1666
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1667
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1668
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1669
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1670
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1671
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1672
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1673
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1674
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1675
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1676
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1677 ac_ext=c
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1678 ac_cpp='$CPP $CPPFLAGS'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1682
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1683
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1684 am__api_version="1.9"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1685 ac_aux_dir=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1686 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1687 if test -f "$ac_dir/install-sh"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1688 ac_aux_dir=$ac_dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1689 ac_install_sh="$ac_aux_dir/install-sh -c"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1690 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1691 elif test -f "$ac_dir/install.sh"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1692 ac_aux_dir=$ac_dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1693 ac_install_sh="$ac_aux_dir/install.sh -c"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1694 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1695 elif test -f "$ac_dir/shtool"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1696 ac_aux_dir=$ac_dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1697 ac_install_sh="$ac_aux_dir/shtool install -c"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1698 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1699 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1700 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1701 if test -z "$ac_aux_dir"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1702 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1703 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1704 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1705 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1706
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1707 # These three variables are undocumented and unsupported,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1708 # and are intended to be withdrawn in a future Autoconf release.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1709 # They can cause serious problems if a builder's source tree is in a directory
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1710 # whose full name contains unusual characters.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1711 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1712 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1713 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1714
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1715
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1716 # Find a good install program. We prefer a C program (faster),
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1717 # so one script is as good as another. But avoid the broken or
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1718 # incompatible versions:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1719 # SysV /etc/install, /usr/sbin/install
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1720 # SunOS /usr/etc/install
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1721 # IRIX /sbin/install
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1722 # AIX /bin/install
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1723 # AmigaOS /C/install, which installs bootblocks on floppy discs
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1727 # OS/2's system install, which has a completely different semantic
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1728 # ./install, which can be erroneously created by make from ./install.sh.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1729 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1730 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1731 if test -z "$INSTALL"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1732 if test "${ac_cv_path_install+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1734 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1736 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1737 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1738 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1739 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1740 # Account for people who put trailing slashes in PATH elements.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1741 case $as_dir/ in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1742 ./ | .// | /cC/* | \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1743 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1744 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1745 /usr/ucb/* ) ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1746 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1747 # OSF1 and SCO ODT 3.0 have their own names for install.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1748 # Don't use installbsd from OSF since it installs stuff as root
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1749 # by default.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1750 for ac_prog in ginstall scoinst install; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1751 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1752 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1753 if test $ac_prog = install &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1754 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1755 # AIX install. It has an incompatible calling convention.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1756 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1757 elif test $ac_prog = install &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1758 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1759 # program-specific install script used by HP pwplus--don't use.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1760 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1761 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1762 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1763 break 3
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1764 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1765 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1766 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1767 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1768 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1769 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1770 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1771 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1772
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1773
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1774 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1775 if test "${ac_cv_path_install+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1776 INSTALL=$ac_cv_path_install
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1777 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1778 # As a last resort, use the slow shell script. Don't cache a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1779 # value for INSTALL within a source directory, because that will
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1780 # break other packages using the cache if that directory is
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1781 # removed, or if the value is a relative name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1782 INSTALL=$ac_install_sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1783 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1784 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1785 { echo "$as_me:$LINENO: result: $INSTALL" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1786 echo "${ECHO_T}$INSTALL" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1787
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1788 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1789 # It thinks the first close brace ends the variable substitution.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1790 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1791
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1792 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1793
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1794 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1795
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1796 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1797 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1798 # Just in case
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1799 sleep 1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1800 echo timestamp > conftest.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1801 # Do `set' in a subshell so we don't clobber the current shell's
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1802 # arguments. Must try -L first in case configure is actually a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1803 # symlink; some systems play weird games with the mod time of symlinks
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1804 # (eg FreeBSD returns the mod time of the symlink's containing
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1805 # directory).
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1806 if (
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1807 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1808 if test "$*" = "X"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1809 # -L didn't work.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1810 set X `ls -t $srcdir/configure conftest.file`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1811 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1812 rm -f conftest.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1813 if test "$*" != "X $srcdir/configure conftest.file" \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1814 && test "$*" != "X conftest.file $srcdir/configure"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1815
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1816 # If neither matched, then we have a broken ls. This can happen
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1817 # if, for instance, CONFIG_SHELL is bash and it inherits a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1818 # broken ls alias from the environment. This has actually
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1819 # happened. Such a system could not be considered "sane".
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1820 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1821 alias in your environment" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1822 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1823 alias in your environment" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1824 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1825 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1826
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1827 test "$2" = conftest.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1828 )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1829 then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1830 # Ok.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1831 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1832 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1833 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1834 Check your system clock" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1835 echo "$as_me: error: newly created file is older than distributed files!
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1836 Check your system clock" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1837 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1838 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1839 { echo "$as_me:$LINENO: result: yes" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1840 echo "${ECHO_T}yes" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1841 test "$program_prefix" != NONE &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1842 program_transform_name="s&^&$program_prefix&;$program_transform_name"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1843 # Use a double $ so make ignores it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1844 test "$program_suffix" != NONE &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1845 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1846 # Double any \ or $. echo might interpret backslashes.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1847 # By default was `s,x,x', remove it if useless.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1848 cat <<\_ACEOF >conftest.sed
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1849 s/[\\$]/&&/g;s/;s,x,x,$//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1850 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1851 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1852 rm -f conftest.sed
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1853
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1854 # expand $ac_aux_dir to an absolute path
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1855 am_aux_dir=`cd $ac_aux_dir && pwd`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1856
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1857 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1858 # Use eval to expand $SHELL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1859 if eval "$MISSING --run true"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1860 am_missing_run="$MISSING --run "
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1861 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1862 am_missing_run=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1863 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1864 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1865 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1866
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1867 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1868 # We used to keeping the `.' as first argument, in order to
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1869 # allow $(mkdir_p) to be used without argument. As in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1870 # $(mkdir_p) $(somedir)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1871 # where $(somedir) is conditionally defined. However this is wrong
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1872 # for two reasons:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1873 # 1. if the package is installed by a user who cannot write `.'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1874 # make install will fail,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1875 # 2. the above comment should most certainly read
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1876 # $(mkdir_p) $(DESTDIR)$(somedir)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1877 # so it does not work when $(somedir) is undefined and
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1878 # $(DESTDIR) is not.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1879 # To support the latter case, we have to write
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1880 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1881 # so the `.' trick is pointless.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1882 mkdir_p='mkdir -p --'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1883 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1884 # On NextStep and OpenStep, the `mkdir' command does not
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1885 # recognize any option. It will interpret all options as
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1886 # directories to create, and then abort because `.' already
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1887 # exists.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1888 for d in ./-p ./--version;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1889 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1890 test -d $d && rmdir $d
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1891 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1892 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1893 if test -f "$ac_aux_dir/mkinstalldirs"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1894 mkdir_p='$(mkinstalldirs)'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1895 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1896 mkdir_p='$(install_sh) -d'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1897 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1898 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1899
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1900 for ac_prog in gawk mawk nawk awk
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1901 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1902 # Extract the first word of "$ac_prog", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1903 set dummy $ac_prog; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1906 if test "${ac_cv_prog_AWK+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1908 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1909 if test -n "$AWK"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1910 ac_cv_prog_AWK="$AWK" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1911 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1913 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1914 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1915 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1916 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1917 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1919 ac_cv_prog_AWK="$ac_prog"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1921 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1922 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1923 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1924 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1925 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1926
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1927 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1928 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1929 AWK=$ac_cv_prog_AWK
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1930 if test -n "$AWK"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1931 { echo "$as_me:$LINENO: result: $AWK" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1932 echo "${ECHO_T}$AWK" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1933 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1934 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1935 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1936 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1937
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1938
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1939 test -n "$AWK" && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1940 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1941
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1942 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1943 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1944 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1945 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1947 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1948 cat >conftest.make <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1949 SHELL = /bin/sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1950 all:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1951 @echo '@@@%%%=$(MAKE)=@@@%%%'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1952 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1954 case `${MAKE-make} -f conftest.make 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1955 *@@@%%%=?*=@@@%%%*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1956 eval ac_cv_prog_make_${ac_make}_set=yes;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1957 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1958 eval ac_cv_prog_make_${ac_make}_set=no;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1959 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1960 rm -f conftest.make
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1961 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1962 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1963 { echo "$as_me:$LINENO: result: yes" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1964 echo "${ECHO_T}yes" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1965 SET_MAKE=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1966 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1967 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1968 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1969 SET_MAKE="MAKE=${MAKE-make}"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1970 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1971
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1972 rm -rf .tst 2>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1973 mkdir .tst 2>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1974 if test -d .tst; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1975 am__leading_dot=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1976 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1977 am__leading_dot=_
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1978 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1979 rmdir .tst 2>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1980
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1981 # test to see if srcdir already configured
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1982 if test "`cd $srcdir && pwd`" != "`pwd`" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1983 test -f $srcdir/config.status; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1984 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1985 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1986 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1987 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1988
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1989 # test whether we have cygpath
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1990 if test -z "$CYGPATH_W"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1991 if (cygpath --version) >/dev/null 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1992 CYGPATH_W='cygpath -w'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1993 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1994 CYGPATH_W=echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1995 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1996 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1997
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1998
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
1999 # Define the identity of the package.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2000 PACKAGE='lwtools'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2001 VERSION='2.2'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2002
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2003
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2004 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2005 #define PACKAGE "$PACKAGE"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2006 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2007
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2008
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2009 cat >>confdefs.h <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2010 #define VERSION "$VERSION"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2011 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2012
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2013 # Some tools Automake needs.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2014
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2015 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2016
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2017
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2018 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2019
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2020
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2021 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2022
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2023
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2024 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2025
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2026
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2027 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2028
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2029 install_sh=${install_sh-"$am_aux_dir/install-sh"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2030
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2031 # Installed binaries are usually stripped using `strip' when the user
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2032 # run `make install-strip'. However `strip' might not be the right
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2033 # tool to use in cross-compilation environments, therefore Automake
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2034 # will honor the `STRIP' environment variable to overrule this program.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2035 if test "$cross_compiling" != no; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2036 if test -n "$ac_tool_prefix"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2038 set dummy ${ac_tool_prefix}strip; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2041 if test "${ac_cv_prog_STRIP+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2043 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2044 if test -n "$STRIP"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2046 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2048 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2049 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2050 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2051 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2052 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2054 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2056 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2057 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2058 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2059 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2060 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2061
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2062 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2063 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2064 STRIP=$ac_cv_prog_STRIP
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2065 if test -n "$STRIP"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2066 { echo "$as_me:$LINENO: result: $STRIP" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2067 echo "${ECHO_T}$STRIP" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2068 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2069 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2070 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2071 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2072
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2073
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2074 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2075 if test -z "$ac_cv_prog_STRIP"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2076 ac_ct_STRIP=$STRIP
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2077 # Extract the first word of "strip", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2078 set dummy strip; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2083 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2084 if test -n "$ac_ct_STRIP"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2086 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2088 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2089 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2090 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2091 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2092 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2094 ac_cv_prog_ac_ct_STRIP="strip"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2096 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2097 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2098 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2099 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2100 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2101
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2102 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2103 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2105 if test -n "$ac_ct_STRIP"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2106 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2107 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2108 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2109 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2110 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2111 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2112
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2113 if test "x$ac_ct_STRIP" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2114 STRIP=":"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2115 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2116 case $cross_compiling:$ac_tool_warned in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2117 yes:)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2119 whose name does not start with the host triplet. If you think this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2120 configuration is useful to you, please write to autoconf@gnu.org." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2122 whose name does not start with the host triplet. If you think this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2124 ac_tool_warned=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2125 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2126 STRIP=$ac_ct_STRIP
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2127 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2128 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2129 STRIP="$ac_cv_prog_STRIP"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2130 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2131
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2132 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2133 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2134
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2135 # We need awk for the "check" target. The system "awk" is bad on
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2136 # some platforms.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2137 # Always define AMTAR for backward compatibility.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2138
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2139 AMTAR=${AMTAR-"${am_missing_run}tar"}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2140
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2141 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2142
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2143
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2144
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2145
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2146
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2147 ac_ext=c
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2148 ac_cpp='$CPP $CPPFLAGS'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2152 if test -n "$ac_tool_prefix"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2153 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2154 set dummy ${ac_tool_prefix}gcc; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2157 if test "${ac_cv_prog_CC+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2159 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2160 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2161 ac_cv_prog_CC="$CC" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2162 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2164 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2165 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2166 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2167 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2168 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2170 ac_cv_prog_CC="${ac_tool_prefix}gcc"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2172 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2173 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2174 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2175 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2176 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2177
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2178 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2179 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2180 CC=$ac_cv_prog_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2181 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2182 { echo "$as_me:$LINENO: result: $CC" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2183 echo "${ECHO_T}$CC" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2184 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2185 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2186 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2187 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2188
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2189
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2190 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2191 if test -z "$ac_cv_prog_CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2192 ac_ct_CC=$CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2193 # Extract the first word of "gcc", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2194 set dummy gcc; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2197 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2199 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2200 if test -n "$ac_ct_CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2202 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2204 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2205 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2206 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2207 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2208 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2210 ac_cv_prog_ac_ct_CC="gcc"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2212 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2213 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2214 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2215 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2216 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2217
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2218 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2219 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2221 if test -n "$ac_ct_CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2222 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2223 echo "${ECHO_T}$ac_ct_CC" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2224 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2225 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2226 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2227 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2228
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2229 if test "x$ac_ct_CC" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2230 CC=""
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2231 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2232 case $cross_compiling:$ac_tool_warned in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2233 yes:)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2235 whose name does not start with the host triplet. If you think this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2236 configuration is useful to you, please write to autoconf@gnu.org." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2238 whose name does not start with the host triplet. If you think this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2240 ac_tool_warned=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2241 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2242 CC=$ac_ct_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2243 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2244 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2245 CC="$ac_cv_prog_CC"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2246 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2247
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2248 if test -z "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2249 if test -n "$ac_tool_prefix"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2250 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2251 set dummy ${ac_tool_prefix}cc; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2254 if test "${ac_cv_prog_CC+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2256 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2257 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2258 ac_cv_prog_CC="$CC" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2259 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2261 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2262 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2263 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2264 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2265 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2267 ac_cv_prog_CC="${ac_tool_prefix}cc"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2269 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2270 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2271 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2272 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2273 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2274
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2275 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2276 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2277 CC=$ac_cv_prog_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2278 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2279 { echo "$as_me:$LINENO: result: $CC" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2280 echo "${ECHO_T}$CC" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2281 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2282 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2283 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2284 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2285
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2286
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2287 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2288 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2289 if test -z "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2290 # Extract the first word of "cc", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2291 set dummy cc; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2294 if test "${ac_cv_prog_CC+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2296 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2297 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2299 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2300 ac_prog_rejected=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2302 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2303 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2304 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2305 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2306 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2308 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2309 ac_prog_rejected=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2310 continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2311 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2312 ac_cv_prog_CC="cc"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2314 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2315 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2316 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2317 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2318 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2319
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2320 if test $ac_prog_rejected = yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2321 # We found a bogon in the path, so make sure we never use it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2322 set dummy $ac_cv_prog_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2323 shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2324 if test $# != 0; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2325 # We chose a different compiler from the bogus one.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2326 # However, it has the same basename, so the bogon will be chosen
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2327 # first if we set CC to just the basename; use the full file name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2328 shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2330 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2331 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2332 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2333 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2334 CC=$ac_cv_prog_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2335 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2336 { echo "$as_me:$LINENO: result: $CC" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2337 echo "${ECHO_T}$CC" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2338 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2339 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2340 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2341 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2342
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2343
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2344 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2345 if test -z "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2346 if test -n "$ac_tool_prefix"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2347 for ac_prog in cl.exe
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2348 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2353 if test "${ac_cv_prog_CC+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2355 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2356 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2358 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2360 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2361 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2362 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2363 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2364 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2366 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2368 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2369 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2370 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2371 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2372 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2373
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2374 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2375 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2376 CC=$ac_cv_prog_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2377 if test -n "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2378 { echo "$as_me:$LINENO: result: $CC" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2379 echo "${ECHO_T}$CC" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2380 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2381 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2382 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2383 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2384
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2385
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2386 test -n "$CC" && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2387 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2388 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2389 if test -z "$CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2390 ac_ct_CC=$CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2391 for ac_prog in cl.exe
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2392 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2394 set dummy $ac_prog; ac_word=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2397 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2399 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2400 if test -n "$ac_ct_CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2402 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2404 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2405 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2406 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2407 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2408 for ac_exec_ext in '' $ac_executable_extensions; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2410 ac_cv_prog_ac_ct_CC="$ac_prog"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2412 break 2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2413 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2414 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2415 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2416 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2417
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2418 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2419 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2421 if test -n "$ac_ct_CC"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2422 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2423 echo "${ECHO_T}$ac_ct_CC" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2424 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2425 { echo "$as_me:$LINENO: result: no" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2426 echo "${ECHO_T}no" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2427 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2428
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2429
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2430 test -n "$ac_ct_CC" && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2431 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2432
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2433 if test "x$ac_ct_CC" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2434 CC=""
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2435 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2436 case $cross_compiling:$ac_tool_warned in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2437 yes:)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2439 whose name does not start with the host triplet. If you think this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2440 configuration is useful to you, please write to autoconf@gnu.org." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2442 whose name does not start with the host triplet. If you think this
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2444 ac_tool_warned=yes ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2445 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2446 CC=$ac_ct_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2447 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2448 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2449
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2450 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2451
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2452
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2453 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2454 See \`config.log' for more details." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2455 echo "$as_me: error: no acceptable C compiler found in \$PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2456 See \`config.log' for more details." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2457 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2458
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2459 # Provide some information about the compiler.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2460 echo "$as_me:$LINENO: checking for C compiler version" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2461 ac_compiler=`set X $ac_compile; echo $2`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2462 { (ac_try="$ac_compiler --version >&5"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2463 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2465 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2466 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2468 (eval "$ac_compiler --version >&5") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2469 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2471 (exit $ac_status); }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2472 { (ac_try="$ac_compiler -v >&5"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2473 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2475 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2476 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2478 (eval "$ac_compiler -v >&5") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2479 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2481 (exit $ac_status); }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2482 { (ac_try="$ac_compiler -V >&5"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2483 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2485 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2486 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2488 (eval "$ac_compiler -V >&5") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2489 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2491 (exit $ac_status); }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2492
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2493 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2494 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2495 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2496 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2497 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2498 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2499
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2500 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2501 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2502 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2503
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2504 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2505 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2506 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2507 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2508 ac_clean_files_save=$ac_clean_files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2509 ac_clean_files="$ac_clean_files a.out a.exe b.out"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2510 # Try to create an executable without -o first, disregard a.out.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2511 # It will help us diagnose broken compilers, and finding out an intuition
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2512 # of exeext.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2513 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2514 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2515 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2516 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2517 # List of possible output files, starting from the most likely.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2518 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2519 # only as a last resort. b.out is created by i960 compilers.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2520 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2521 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2522 # The IRIX 6 linker writes into existing files which may not be
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2523 # executable, retaining their permissions. Remove them first so a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2524 # subsequent execution test works.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2525 ac_rmfiles=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2526 for ac_file in $ac_files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2527 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2528 case $ac_file in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2530 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2531 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2532 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2533 rm -f $ac_rmfiles
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2534
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2535 if { (ac_try="$ac_link_default"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2536 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2538 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2539 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2541 (eval "$ac_link_default") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2542 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2544 (exit $ac_status); }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2545 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2546 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2547 # in a Makefile. We should not override ac_cv_exeext if it was cached,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2548 # so that the user can short-circuit this test for compilers unknown to
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2549 # Autoconf.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2550 for ac_file in $ac_files ''
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2551 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2552 test -f "$ac_file" || continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2553 case $ac_file in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2555 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2556 [ab].out )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2557 # We found the default executable, but exeext='' is most
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2558 # certainly right.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2559 break;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2560 *.* )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2561 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2562 then :; else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2563 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2564 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2565 # We set ac_cv_exeext here because the later test for it is not
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2566 # safe: cross compilers may not add the suffix if given an `-o'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2567 # argument, so we may need to know it at that point already.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2568 # Even if this section looks crufty: it has the advantage of
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2569 # actually working.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2570 break;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2571 * )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2572 break;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2573 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2574 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2575 test "$ac_cv_exeext" = no && ac_cv_exeext=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2576
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2577 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2578 ac_file=''
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2579 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2580
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2581 { echo "$as_me:$LINENO: result: $ac_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2582 echo "${ECHO_T}$ac_file" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2583 if test -z "$ac_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2584 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2585 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2586
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2587 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2588 See \`config.log' for more details." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2589 echo "$as_me: error: C compiler cannot create executables
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2590 See \`config.log' for more details." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2591 { (exit 77); exit 77; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2592 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2593
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2594 ac_exeext=$ac_cv_exeext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2595
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2596 # Check that the compiler produces executables we can run. If not, either
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2597 # the compiler is broken, or we cross compile.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2598 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2599 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2600 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2601 # If not cross compiling, check that we can run a simple program.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2602 if test "$cross_compiling" != yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2603 if { ac_try='./$ac_file'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2604 { (case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2606 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2607 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2609 (eval "$ac_try") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2610 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2612 (exit $ac_status); }; }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2613 cross_compiling=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2614 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2615 if test "$cross_compiling" = maybe; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2616 cross_compiling=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2617 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2618 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2619 If you meant to cross compile, use \`--host'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2620 See \`config.log' for more details." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2621 echo "$as_me: error: cannot run C compiled programs.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2622 If you meant to cross compile, use \`--host'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2623 See \`config.log' for more details." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2624 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2625 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2626 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2627 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2628 { echo "$as_me:$LINENO: result: yes" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2629 echo "${ECHO_T}yes" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2630
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2631 rm -f a.out a.exe conftest$ac_cv_exeext b.out
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2632 ac_clean_files=$ac_clean_files_save
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2633 # Check that the compiler produces executables we can run. If not, either
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2634 # the compiler is broken, or we cross compile.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2635 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2636 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2637 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2638 echo "${ECHO_T}$cross_compiling" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2639
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2640 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2641 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2642 if { (ac_try="$ac_link"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2643 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2645 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2646 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2648 (eval "$ac_link") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2649 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2651 (exit $ac_status); }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2652 # If both `conftest.exe' and `conftest' are `present' (well, observable)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2653 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2654 # work properly (i.e., refer to `conftest.exe'), while it won't with
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2655 # `rm'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2656 for ac_file in conftest.exe conftest conftest.*; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2657 test -f "$ac_file" || continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2658 case $ac_file in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2660 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2661 break;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2662 * ) break;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2663 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2664 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2665 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2666 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2667 See \`config.log' for more details." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2668 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2669 See \`config.log' for more details." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2670 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2671 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2672
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2673 rm -f conftest$ac_cv_exeext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2674 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2675 echo "${ECHO_T}$ac_cv_exeext" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2676
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2677 rm -f conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2678 EXEEXT=$ac_cv_exeext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2679 ac_exeext=$EXEEXT
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2680 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2681 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2682 if test "${ac_cv_objext+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2684 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2685 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2686 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2687 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2688 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2689 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2690 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2691
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2692 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2693 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2694 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2695
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2696 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2697 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2698 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2699 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2700 rm -f conftest.o conftest.obj
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2701 if { (ac_try="$ac_compile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2702 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2704 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2705 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2707 (eval "$ac_compile") 2>&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2708 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2710 (exit $ac_status); }; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2711 for ac_file in conftest.o conftest.obj conftest.*; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2712 test -f "$ac_file" || continue;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2713 case $ac_file in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2715 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2716 break;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2717 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2718 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2719 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2720 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2721 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2722
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2723 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2724 See \`config.log' for more details." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2725 echo "$as_me: error: cannot compute suffix of object files: cannot compile
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2726 See \`config.log' for more details." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2727 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2728 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2729
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2730 rm -f conftest.$ac_cv_objext conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2731 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2732 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2733 echo "${ECHO_T}$ac_cv_objext" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2734 OBJEXT=$ac_cv_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2735 ac_objext=$OBJEXT
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2736 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2737 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2738 if test "${ac_cv_c_compiler_gnu+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2740 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2741 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2742 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2743 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2744 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2745 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2746 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2747
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2748 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2749 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2750 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2751 #ifndef __GNUC__
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2752 choke me
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2753 #endif
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2754
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2755 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2756 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2757 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2758 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2759 rm -f conftest.$ac_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2760 if { (ac_try="$ac_compile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2761 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2763 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2764 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2766 (eval "$ac_compile") 2>conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2767 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2768 grep -v '^ *+' conftest.er1 >conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2769 rm -f conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2770 cat conftest.err >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2772 (exit $ac_status); } && {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2773 test -z "$ac_c_werror_flag" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2774 test ! -s conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2775 } && test -s conftest.$ac_objext; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2776 ac_compiler_gnu=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2777 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2778 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2779 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2780
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2781 ac_compiler_gnu=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2782 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2783
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2785 ac_cv_c_compiler_gnu=$ac_compiler_gnu
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2786
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2787 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2788 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2789 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2790 GCC=`test $ac_compiler_gnu = yes && echo yes`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2791 ac_test_CFLAGS=${CFLAGS+set}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2792 ac_save_CFLAGS=$CFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2793 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2794 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2795 if test "${ac_cv_prog_cc_g+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2797 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2798 ac_save_c_werror_flag=$ac_c_werror_flag
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2799 ac_c_werror_flag=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2800 ac_cv_prog_cc_g=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2801 CFLAGS="-g"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2802 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2803 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2804 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2805 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2806 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2807 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2808
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2809 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2810 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2811 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2812
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2813 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2814 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2815 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2816 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2817 rm -f conftest.$ac_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2818 if { (ac_try="$ac_compile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2819 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2821 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2822 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2824 (eval "$ac_compile") 2>conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2825 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2826 grep -v '^ *+' conftest.er1 >conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2827 rm -f conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2828 cat conftest.err >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2830 (exit $ac_status); } && {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2831 test -z "$ac_c_werror_flag" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2832 test ! -s conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2833 } && test -s conftest.$ac_objext; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2834 ac_cv_prog_cc_g=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2835 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2836 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2837 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2838
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2839 CFLAGS=""
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2840 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2841 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2842 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2843 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2844 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2845 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2846
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2847 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2848 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2849 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2850
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2851 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2852 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2853 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2854 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2855 rm -f conftest.$ac_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2856 if { (ac_try="$ac_compile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2857 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2859 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2860 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2862 (eval "$ac_compile") 2>conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2863 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2864 grep -v '^ *+' conftest.er1 >conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2865 rm -f conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2866 cat conftest.err >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2868 (exit $ac_status); } && {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2869 test -z "$ac_c_werror_flag" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2870 test ! -s conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2871 } && test -s conftest.$ac_objext; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2872 :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2873 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2874 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2875 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2876
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2877 ac_c_werror_flag=$ac_save_c_werror_flag
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2878 CFLAGS="-g"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2879 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2880 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2881 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2882 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2883 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2884 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2885
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2886 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2887 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2888 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2889
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2890 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2891 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2892 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2893 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2894 rm -f conftest.$ac_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2895 if { (ac_try="$ac_compile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2896 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2898 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2899 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2901 (eval "$ac_compile") 2>conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2902 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2903 grep -v '^ *+' conftest.er1 >conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2904 rm -f conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2905 cat conftest.err >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2907 (exit $ac_status); } && {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2908 test -z "$ac_c_werror_flag" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2909 test ! -s conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2910 } && test -s conftest.$ac_objext; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2911 ac_cv_prog_cc_g=yes
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2912 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2913 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2914 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2915
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2916
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2917 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2918
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2920 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2921
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2923 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2924
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2926 ac_c_werror_flag=$ac_save_c_werror_flag
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2927 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2928 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2929 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2930 if test "$ac_test_CFLAGS" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2931 CFLAGS=$ac_save_CFLAGS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2932 elif test $ac_cv_prog_cc_g = yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2933 if test "$GCC" = yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2934 CFLAGS="-g -O2"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2935 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2936 CFLAGS="-g"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2937 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2938 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2939 if test "$GCC" = yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2940 CFLAGS="-O2"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2941 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2942 CFLAGS=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2943 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2944 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2945 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2946 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2947 if test "${ac_cv_prog_cc_c89+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2949 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2950 ac_cv_prog_cc_c89=no
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2951 ac_save_CC=$CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2952 cat >conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2953 /* confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2954 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2955 cat confdefs.h >>conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2956 cat >>conftest.$ac_ext <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2957 /* end confdefs.h. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2958 #include <stdarg.h>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2959 #include <stdio.h>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2960 #include <sys/types.h>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2961 #include <sys/stat.h>
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2962 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2963 struct buf { int x; };
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2964 FILE * (*rcsopen) (struct buf *, struct stat *, int);
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2965 static char *e (p, i)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2966 char **p;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2967 int i;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2968 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2969 return p[i];
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2970 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2971 static char *f (char * (*g) (char **, int), char **p, ...)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2972 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2973 char *s;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2974 va_list v;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2975 va_start (v,p);
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2976 s = g (p, va_arg (v,int));
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2977 va_end (v);
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2978 return s;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2979 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2980
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2981 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2982 function prototypes and stuff, but not '\xHH' hex character constants.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2983 These don't provoke an error unfortunately, instead are silently treated
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2984 as 'x'. The following induces an error, until -std is added to get
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2985 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2986 array size at least. It's necessary to write '\x00'==0 to get something
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2987 that's true only with -std. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2988 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2989
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2990 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2991 inside strings and character constants. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2992 #define FOO(x) 'x'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2993 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2994
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2995 int test (int i, double x);
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2996 struct s1 {int (*f) (int a);};
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2997 struct s2 {int (*f) (double a);};
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2998 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
2999 int argc;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3000 char **argv;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3001 int
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3002 main ()
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3003 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3004 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3005 ;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3006 return 0;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3007 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3008 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3009 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3010 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3011 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3012 CC="$ac_save_CC $ac_arg"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3013 rm -f conftest.$ac_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3014 if { (ac_try="$ac_compile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3015 case "(($ac_try" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3017 *) ac_try_echo=$ac_try;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3018 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3020 (eval "$ac_compile") 2>conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3021 ac_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3022 grep -v '^ *+' conftest.er1 >conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3023 rm -f conftest.er1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3024 cat conftest.err >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3026 (exit $ac_status); } && {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3027 test -z "$ac_c_werror_flag" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3028 test ! -s conftest.err
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3029 } && test -s conftest.$ac_objext; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3030 ac_cv_prog_cc_c89=$ac_arg
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3031 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3032 echo "$as_me: failed program was:" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3033 sed 's/^/| /' conftest.$ac_ext >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3034
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3035
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3036 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3037
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3038 rm -f core conftest.err conftest.$ac_objext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3039 test "x$ac_cv_prog_cc_c89" != "xno" && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3040 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3041 rm -f conftest.$ac_ext
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3042 CC=$ac_save_CC
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3043
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3044 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3045 # AC_CACHE_VAL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3046 case "x$ac_cv_prog_cc_c89" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3047 x)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3048 { echo "$as_me:$LINENO: result: none needed" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3049 echo "${ECHO_T}none needed" >&6; } ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3050 xno)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3051 { echo "$as_me:$LINENO: result: unsupported" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3052 echo "${ECHO_T}unsupported" >&6; } ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3053 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3054 CC="$CC $ac_cv_prog_cc_c89"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3055 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3056 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3057 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3058
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3059
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3060 ac_ext=c
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3061 ac_cpp='$CPP $CPPFLAGS'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3065 DEPDIR="${am__leading_dot}deps"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3066
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3067 ac_config_commands="$ac_config_commands depfiles"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3068
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3069
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3070 am_make=${MAKE-make}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3071 cat > confinc << 'END'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3072 am__doit:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3073 @echo done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3074 .PHONY: am__doit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3075 END
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3076 # If we don't find an include directive, just comment out the code.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3077 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3078 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3079 am__include="#"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3080 am__quote=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3081 _am_result=none
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3082 # First try GNU make style include.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3083 echo "include confinc" > confmf
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3084 # We grep out `Entering directory' and `Leaving directory'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3085 # messages which can occur if `w' ends up in MAKEFLAGS.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3086 # In particular we don't look at `^make:' because GNU make might
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3087 # be invoked under some other name (usually "gmake"), in which
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3088 # case it prints its new name instead of `make'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3089 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3090 am__include=include
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3091 am__quote=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3092 _am_result=GNU
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3093 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3094 # Now try BSD make style include.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3095 if test "$am__include" = "#"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3096 echo '.include "confinc"' > confmf
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3097 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3098 am__include=.include
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3099 am__quote="\""
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3100 _am_result=BSD
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3101 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3102 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3103
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3104
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3105 { echo "$as_me:$LINENO: result: $_am_result" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3106 echo "${ECHO_T}$_am_result" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3107 rm -f confinc confmf
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3108
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3109 # Check whether --enable-dependency-tracking was given.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3110 if test "${enable_dependency_tracking+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3111 enableval=$enable_dependency_tracking;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3112 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3113
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3114 if test "x$enable_dependency_tracking" != xno; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3115 am_depcomp="$ac_aux_dir/depcomp"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3116 AMDEPBACKSLASH='\'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3117 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3118
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3119
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3120 if test "x$enable_dependency_tracking" != xno; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3121 AMDEP_TRUE=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3122 AMDEP_FALSE='#'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3123 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3124 AMDEP_TRUE='#'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3125 AMDEP_FALSE=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3126 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3127
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3128
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3129
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3130
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3131 depcc="$CC" am_compiler_list=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3132
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3133 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3134 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3135 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3137 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3138 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3139 # We make a subdir and do the tests there. Otherwise we can end up
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3140 # making bogus files that we don't know about and never remove. For
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3141 # instance it was reported that on HP-UX the gcc test will end up
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3142 # making a dummy file named `D' -- because `-MD' means `put the output
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3143 # in D'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3144 mkdir conftest.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3145 # Copy depcomp to subdir because otherwise we won't find it if we're
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3146 # using a relative directory.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3147 cp "$am_depcomp" conftest.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3148 cd conftest.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3149 # We will build objects and dependencies in a subdirectory because
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3150 # it helps to detect inapplicable dependency modes. For instance
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3151 # both Tru64's cc and ICC support -MD to output dependencies as a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3152 # side effect of compilation, but ICC will put the dependencies in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3153 # the current directory while Tru64 will put them in the object
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3154 # directory.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3155 mkdir sub
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3156
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3157 am_cv_CC_dependencies_compiler_type=none
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3158 if test "$am_compiler_list" = ""; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3159 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3160 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3161 for depmode in $am_compiler_list; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3162 # Setup a source with many dependencies, because some compilers
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3163 # like to wrap large dependency lists on column 80 (with \), and
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3164 # we should not choose a depcomp mode which is confused by this.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3165 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3166 # We need to recreate these files for each test, as the compiler may
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3167 # overwrite some of them when testing with obscure command lines.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3168 # This happens at least with the AIX C compiler.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3169 : > sub/conftest.c
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3170 for i in 1 2 3 4 5 6; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3171 echo '#include "conftst'$i'.h"' >> sub/conftest.c
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3172 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3173 # Solaris 8's {/usr,}/bin/sh.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3174 touch sub/conftst$i.h
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3175 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3176 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3177
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3178 case $depmode in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3179 nosideeffect)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3180 # after this tag, mechanisms are not by side-effect, so they'll
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3181 # only be used when explicitly requested
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3182 if test "x$enable_dependency_tracking" = xyes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3183 continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3184 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3185 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3186 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3187 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3188 none) break ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3189 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3190 # We check with `-c' and `-o' for the sake of the "dashmstdout"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3191 # mode. It turns out that the SunPro C++ compiler does not properly
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3192 # handle `-M -o', and we need to detect this.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3193 if depmode=$depmode \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3194 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3195 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3196 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3197 >/dev/null 2>conftest.err &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3198 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3199 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3200 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3201 # icc doesn't choke on unknown options, it will just issue warnings
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3202 # or remarks (even with -Werror). So we grep stderr for any message
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3203 # that says an option was ignored or not supported.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3204 # When given -MP, icc 7.0 and 7.1 complain thusly:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3205 # icc: Command line warning: ignoring option '-M'; no argument required
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3206 # The diagnosis changed in icc 8.0:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3207 # icc: Command line remark: option '-MP' not supported
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3208 if (grep 'ignoring option' conftest.err ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3209 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3210 am_cv_CC_dependencies_compiler_type=$depmode
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3211 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3212 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3213 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3214 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3215
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3216 cd ..
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3217 rm -rf conftest.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3218 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3219 am_cv_CC_dependencies_compiler_type=none
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3220 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3221
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3222 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3223 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3224 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3225 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3226
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3227
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3228
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3229 if
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3230 test "x$enable_dependency_tracking" != xno \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3231 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3232 am__fastdepCC_TRUE=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3233 am__fastdepCC_FALSE='#'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3234 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3235 am__fastdepCC_TRUE='#'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3236 am__fastdepCC_FALSE=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3237 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3238
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3239
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3240 ac_config_headers="$ac_config_headers lwasm/config.h"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3241
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3242 ac_config_files="$ac_config_files Makefile lwasm/Makefile doc/Makefile lwlink/Makefile lwar/Makefile"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3243
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3244 cat >confcache <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3245 # This file is a shell script that caches the results of configure
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3246 # tests run on this system so they can be shared between configure
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3247 # scripts and configure runs, see configure's option --config-cache.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3248 # It is not useful on other systems. If it contains results you don't
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3249 # want to keep, you may remove or edit it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3250 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3251 # config.status only pays attention to the cache file if you give it
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3252 # the --recheck option to rerun configure.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3253 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3256 # following values.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3257
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3258 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3259
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3260 # The following way of writing the cache mishandles newlines in values,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3261 # but we know of no workaround that is simple, portable, and efficient.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3262 # So, we kill variables containing newlines.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3263 # Ultrix sh set writes to stderr and can't be redirected directly,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3264 # and sets the high bit in the cache file unless we assign to the vars.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3265 (
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3267 eval ac_val=\$$ac_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3268 case $ac_val in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3269 *${as_nl}*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3270 case $ac_var in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3271 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3272 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3273 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3274 case $ac_var in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3275 _ | IFS | as_nl) ;; #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3276 *) $as_unset $ac_var ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3277 esac ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3278 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3279 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3280
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3281 (set) 2>&1 |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3282 case $as_nl`(ac_space=' '; set) 2>&1` in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3283 *${as_nl}ac_space=\ *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3284 # `set' does not quote correctly, so add quotes (double-quote
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3285 # substitution turns \\\\ into \\, and sed turns \\ into \).
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3286 sed -n \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3287 "s/'/'\\\\''/g;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3289 ;; #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3290 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3291 # `set' quotes correctly as required by POSIX, so do not add quotes.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3293 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3294 esac |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3295 sort
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3296 ) |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3297 sed '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3298 /^ac_cv_env_/b end
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3299 t clear
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3300 :clear
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3302 t end
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3303 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3304 :end' >>confcache
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3305 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3306 if test -w "$cache_file"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3307 test "x$cache_file" != "x/dev/null" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3308 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3309 echo "$as_me: updating cache $cache_file" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3310 cat confcache >$cache_file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3311 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3312 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3313 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3314 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3315 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3316 rm -f confcache
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3317
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3319 # Let make expand exec_prefix.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3321
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3322 DEFS=-DHAVE_CONFIG_H
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3323
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3324 ac_libobjs=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3325 ac_ltlibobjs=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3326 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3327 # 1. Remove the extension, and $U if already installed.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3328 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3329 ac_i=`echo "$ac_i" | sed "$ac_script"`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3330 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3331 # will be set to the directory where LIBOBJS objects are built.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3332 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3333 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3334 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3335 LIBOBJS=$ac_libobjs
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3336
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3337 LTLIBOBJS=$ac_ltlibobjs
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3338
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3339
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3340 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3341 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3342 Usually this means the macro was only invoked conditionally." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3343 echo "$as_me: error: conditional \"AMDEP\" was never defined.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3344 Usually this means the macro was only invoked conditionally." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3345 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3346 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3347 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3348 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3349 Usually this means the macro was only invoked conditionally." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3350 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3351 Usually this means the macro was only invoked conditionally." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3352 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3353 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3354
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3355 : ${CONFIG_STATUS=./config.status}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3356 ac_clean_files_save=$ac_clean_files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3357 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3358 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3359 echo "$as_me: creating $CONFIG_STATUS" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3360 cat >$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3361 #! $SHELL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3362 # Generated by $as_me.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3363 # Run this file to recreate the current configuration.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3364 # Compiler output produced by configure, useful for debugging
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3365 # configure, is in config.log if it exists.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3366
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3367 debug=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3368 ac_cs_recheck=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3369 ac_cs_silent=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3370 SHELL=\${CONFIG_SHELL-$SHELL}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3371 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3372
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3373 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3374 ## --------------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3375 ## M4sh Initialization. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3376 ## --------------------- ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3377
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3378 # Be more Bourne compatible
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3379 DUALCASE=1; export DUALCASE # for MKS sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3380 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3381 emulate sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3382 NULLCMD=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3383 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3384 # is contrary to our usage. Disable this feature.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3385 alias -g '${1+"$@"}'='"$@"'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3386 setopt NO_GLOB_SUBST
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3387 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3388 case `(set -o) 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3389 *posix*) set -o posix ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3390 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3391
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3392 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3393
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3394
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3395
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3396
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3397 # PATH needs CR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3398 # Avoid depending upon Character Ranges.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3399 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3400 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3401 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3402 as_cr_digits='0123456789'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3403 as_cr_alnum=$as_cr_Letters$as_cr_digits
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3404
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3405 # The user is always right.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3406 if test "${PATH_SEPARATOR+set}" != set; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3407 echo "#! /bin/sh" >conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3408 echo "exit 0" >>conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3409 chmod +x conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3410 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3411 PATH_SEPARATOR=';'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3412 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3413 PATH_SEPARATOR=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3414 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3415 rm -f conf$$.sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3416 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3417
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3418 # Support unset when possible.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3419 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3420 as_unset=unset
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3421 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3422 as_unset=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3423 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3424
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3425
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3426 # IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3427 # We need space, tab and new line, in precisely that order. Quoting is
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3428 # there to prevent editors from complaining about space-tab.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3429 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3430 # splitting by setting IFS to empty value.)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3431 as_nl='
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3432 '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3433 IFS=" "" $as_nl"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3434
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3435 # Find who we are. Look in the path if we contain no directory separator.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3436 case $0 in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3437 *[\\/]* ) as_myself=$0 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3439 for as_dir in $PATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3440 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3441 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3442 test -z "$as_dir" && as_dir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3444 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3445 IFS=$as_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3446
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3447 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3448 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3449 # We did not find ourselves, most probably we were run as `sh COMMAND'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3450 # in which case we are not to be found in the path.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3451 if test "x$as_myself" = x; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3452 as_myself=$0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3453 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3454 if test ! -f "$as_myself"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3455 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3456 { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3457 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3458
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3459 # Work around bugs in pre-3.0 UWIN ksh.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3460 for as_var in ENV MAIL MAILPATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3461 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3462 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3463 PS1='$ '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3464 PS2='> '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3465 PS4='+ '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3466
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3467 # NLS nuisances.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3468 for as_var in \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3469 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3470 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3471 LC_TELEPHONE LC_TIME
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3472 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3473 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3474 eval $as_var=C; export $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3475 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3476 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3477 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3478 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3479
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3480 # Required to use basename.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3481 if expr a : '\(a\)' >/dev/null 2>&1 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3482 test "X`expr 00001 : '.*\(...\)'`" = X001; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3483 as_expr=expr
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3484 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3485 as_expr=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3486 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3487
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3488 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3489 as_basename=basename
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3490 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3491 as_basename=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3492 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3493
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3494
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3495 # Name of the executable.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3496 as_me=`$as_basename -- "$0" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3497 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3498 X"$0" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3500 echo X/"$0" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3501 sed '/^.*\/\([^/][^/]*\)\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3502 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3503 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3504 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3505 /^X\/\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3506 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3507 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3508 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3509 /^X\/\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3510 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3511 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3512 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3513 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3514
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3515 # CDPATH.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3516 $as_unset CDPATH
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3517
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3518
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3519
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3520 as_lineno_1=$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3521 as_lineno_2=$LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3522 test "x$as_lineno_1" != "x$as_lineno_2" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3523 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3524
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3525 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3526 # uniformly replaced by the line number. The first 'sed' inserts a
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3527 # line-number line after each line using $LINENO; the second 'sed'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3528 # does the real work. The second script uses 'N' to pair each
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3529 # line-number line with the line containing $LINENO, and appends
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3530 # trailing '-' during substitution so that $LINENO is not a special
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3531 # case at line end.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3532 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3533 # scripts with optimization help from Paolo Bonzini. Blame Lee
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3534 # E. McMahon (1931-1989) for sed's syntax. :-)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3535 sed -n '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3536 p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3537 /[$]LINENO/=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3538 ' <$as_myself |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3539 sed '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3540 s/[$]LINENO.*/&-/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3541 t lineno
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3542 b
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3543 :lineno
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3544 N
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3545 :loop
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3546 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3547 t loop
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3548 s/-\n.*//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3549 ' >$as_me.lineno &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3550 chmod +x "$as_me.lineno" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3551 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3552 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3553
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3554 # Don't try to exec as it changes $[0], causing all sort of problems
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3555 # (the dirname of $[0] is not the place where we might find the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3556 # original and so on. Autoconf is especially sensitive to this).
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3557 . "./$as_me.lineno"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3558 # Exit status is that of the last command.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3559 exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3560 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3561
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3562
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3563 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3564 as_dirname=dirname
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3565 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3566 as_dirname=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3567 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3568
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3569 ECHO_C= ECHO_N= ECHO_T=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3570 case `echo -n x` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3571 -n*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3572 case `echo 'x\c'` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3573 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3574 *) ECHO_C='\c';;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3575 esac;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3576 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3577 ECHO_N='-n';;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3578 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3579
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3580 if expr a : '\(a\)' >/dev/null 2>&1 &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3581 test "X`expr 00001 : '.*\(...\)'`" = X001; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3582 as_expr=expr
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3583 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3584 as_expr=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3585 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3586
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3587 rm -f conf$$ conf$$.exe conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3588 if test -d conf$$.dir; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3589 rm -f conf$$.dir/conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3590 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3591 rm -f conf$$.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3592 mkdir conf$$.dir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3593 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3594 echo >conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3595 if ln -s conf$$.file conf$$ 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3596 as_ln_s='ln -s'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3597 # ... but there are two gotchas:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3598 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3599 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3600 # In both cases, we have to default to `cp -p'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3601 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3602 as_ln_s='cp -p'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3603 elif ln conf$$.file conf$$ 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3604 as_ln_s=ln
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3605 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3606 as_ln_s='cp -p'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3607 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3608 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3609 rmdir conf$$.dir 2>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3610
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3611 if mkdir -p . 2>/dev/null; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3612 as_mkdir_p=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3613 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3614 test -d ./-p && rmdir ./-p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3615 as_mkdir_p=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3616 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3617
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3618 if test -x / >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3619 as_test_x='test -x'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3620 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3621 if ls -dL / >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3622 as_ls_L_option=L
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3623 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3624 as_ls_L_option=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3625 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3626 as_test_x='
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3627 eval sh -c '\''
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3628 if test -d "$1"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3629 test -d "$1/.";
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3630 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3631 case $1 in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3632 -*)set "./$1";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3633 esac;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3634 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3635 ???[sx]*):;;*)false;;esac;fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3636 '\'' sh
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3637 '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3638 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3639 as_executable_p=$as_test_x
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3640
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3641 # Sed expression to map a string onto a valid CPP name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3642 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3643
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3644 # Sed expression to map a string onto a valid variable name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3645 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3646
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3647
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3648 exec 6>&1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3649
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3650 # Save the log message, to keep $[0] and so on meaningful, and to
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3651 # report actual input values of CONFIG_FILES etc. instead of their
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3652 # values after options handling.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3653 ac_log="
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3654 This file was extended by LWTOOLS $as_me 2.2, which was
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3655 generated by GNU Autoconf 2.61. Invocation command line was
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3656
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3657 CONFIG_FILES = $CONFIG_FILES
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3658 CONFIG_HEADERS = $CONFIG_HEADERS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3659 CONFIG_LINKS = $CONFIG_LINKS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3660 CONFIG_COMMANDS = $CONFIG_COMMANDS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3661 $ $0 $@
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3662
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3663 on `(hostname || uname -n) 2>/dev/null | sed 1q`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3664 "
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3665
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3666 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3667
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3668 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3669 # Files that config.status was made for.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3670 config_files="$ac_config_files"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3671 config_headers="$ac_config_headers"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3672 config_commands="$ac_config_commands"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3673
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3674 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3675
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3676 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3677 ac_cs_usage="\
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3678 \`$as_me' instantiates files from templates according to the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3679 current configuration.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3680
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3681 Usage: $0 [OPTIONS] [FILE]...
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3682
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3683 -h, --help print this help, then exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3684 -V, --version print version number and configuration settings, then exit
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3685 -q, --quiet do not print progress messages
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3686 -d, --debug don't remove temporary files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3687 --recheck update $as_me by reconfiguring in the same conditions
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3688 --file=FILE[:TEMPLATE]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3689 instantiate the configuration file FILE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3690 --header=FILE[:TEMPLATE]
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3691 instantiate the configuration header FILE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3692
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3693 Configuration files:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3694 $config_files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3695
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3696 Configuration headers:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3697 $config_headers
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3698
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3699 Configuration commands:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3700 $config_commands
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3701
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3702 Report bugs to <bug-autoconf@gnu.org>."
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3703
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3704 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3705 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3706 ac_cs_version="\\
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3707 LWTOOLS config.status 2.2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3708 configured by $0, generated by GNU Autoconf 2.61,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3709 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3710
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3711 Copyright (C) 2006 Free Software Foundation, Inc.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3712 This config.status script is free software; the Free Software Foundation
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3713 gives unlimited permission to copy, distribute and modify it."
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3714
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3715 ac_pwd='$ac_pwd'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3716 srcdir='$srcdir'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3717 INSTALL='$INSTALL'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3718 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3719
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3720 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3721 # If no file are specified by the user, then we need to provide default
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3722 # value. By we need to know if files were specified by the user.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3723 ac_need_defaults=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3724 while test $# != 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3725 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3726 case $1 in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3727 --*=*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3728 ac_option=`expr "X$1" : 'X\([^=]*\)='`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3729 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3730 ac_shift=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3731 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3732 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3733 ac_option=$1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3734 ac_optarg=$2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3735 ac_shift=shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3736 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3737 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3738
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3739 case $ac_option in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3740 # Handling of the options.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3741 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3742 ac_cs_recheck=: ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3743 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3744 echo "$ac_cs_version"; exit ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3745 --debug | --debu | --deb | --de | --d | -d )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3746 debug=: ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3747 --file | --fil | --fi | --f )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3748 $ac_shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3749 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3750 ac_need_defaults=false;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3751 --header | --heade | --head | --hea )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3752 $ac_shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3753 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3754 ac_need_defaults=false;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3755 --he | --h)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3756 # Conflict between --help and --header
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3757 { echo "$as_me: error: ambiguous option: $1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3758 Try \`$0 --help' for more information." >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3759 { (exit 1); exit 1; }; };;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3760 --help | --hel | -h )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3761 echo "$ac_cs_usage"; exit ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3762 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3763 | -silent | --silent | --silen | --sile | --sil | --si | --s)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3764 ac_cs_silent=: ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3765
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3766 # This is an error.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3767 -*) { echo "$as_me: error: unrecognized option: $1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3768 Try \`$0 --help' for more information." >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3769 { (exit 1); exit 1; }; } ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3770
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3771 *) ac_config_targets="$ac_config_targets $1"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3772 ac_need_defaults=false ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3773
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3774 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3775 shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3776 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3777
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3778 ac_configure_extra_args=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3779
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3780 if $ac_cs_silent; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3781 exec 6>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3782 ac_configure_extra_args="$ac_configure_extra_args --silent"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3783 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3784
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3785 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3786 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3787 if \$ac_cs_recheck; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3788 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3789 CONFIG_SHELL=$SHELL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3790 export CONFIG_SHELL
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3791 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3792 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3793
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3794 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3795 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3796 exec 5>>config.log
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3797 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3798 echo
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3799 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3800 ## Running $as_me. ##
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3801 _ASBOX
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3802 echo "$ac_log"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3803 } >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3804
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3805 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3806 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3807 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3808 # INIT-COMMANDS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3809 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3810 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3811
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3812 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3813
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3814 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3815
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3816 # Handling of arguments.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3817 for ac_config_target in $ac_config_targets
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3818 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3819 case $ac_config_target in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3820 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3821 "lwasm/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lwasm/config.h" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3822 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3823 "lwasm/Makefile") CONFIG_FILES="$CONFIG_FILES lwasm/Makefile" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3824 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3825 "lwlink/Makefile") CONFIG_FILES="$CONFIG_FILES lwlink/Makefile" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3826 "lwar/Makefile") CONFIG_FILES="$CONFIG_FILES lwar/Makefile" ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3827
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3828 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3829 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3830 { (exit 1); exit 1; }; };;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3831 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3832 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3833
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3834
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3835 # If the user did not use the arguments to specify the items to instantiate,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3836 # then the envvar interface is used. Set only those that are not.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3837 # We use the long form for the default assignment because of an extremely
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3838 # bizarre bug on SunOS 4.1.3.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3839 if $ac_need_defaults; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3843 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3844
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3845 # Have a temporary directory for convenience. Make it in the build tree
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3846 # simply because there is no reason against having it here, and in addition,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3847 # creating and moving files from /tmp can sometimes cause problems.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3848 # Hook for its removal unless debugging.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3849 # Note that there is a small window in which the directory will not be cleaned:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3850 # after its creation but before its name has been assigned to `$tmp'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3851 $debug ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3852 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3853 tmp=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3854 trap 'exit_status=$?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3855 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3856 ' 0
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3857 trap '{ (exit 1); exit 1; }' 1 2 13 15
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3858 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3859 # Create a (secure) tmp directory for tmp files.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3860
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3861 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3862 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3863 test -n "$tmp" && test -d "$tmp"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3864 } ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3865 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3866 tmp=./conf$$-$RANDOM
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3867 (umask 077 && mkdir "$tmp")
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3868 } ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3869 {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3870 echo "$me: cannot create a temporary directory in ." >&2
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3871 { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3872 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3873
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3874 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3875 # Set up the sed scripts for CONFIG_FILES section.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3876 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3877
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3878 # No need to generate the scripts if there are no CONFIG_FILES.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3879 # This happens for instance when ./config.status config.h
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3880 if test -n "$CONFIG_FILES"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3881
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3882 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3883
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3884
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3885
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3886 ac_delim='%!_!# '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3887 for ac_last_try in false false false false false :; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3888 cat >conf$$subs.sed <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3889 SHELL!$SHELL$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3890 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3891 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3892 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3893 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3894 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3895 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3896 exec_prefix!$exec_prefix$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3897 prefix!$prefix$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3898 program_transform_name!$program_transform_name$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3899 bindir!$bindir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3900 sbindir!$sbindir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3901 libexecdir!$libexecdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3902 datarootdir!$datarootdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3903 datadir!$datadir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3904 sysconfdir!$sysconfdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3905 sharedstatedir!$sharedstatedir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3906 localstatedir!$localstatedir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3907 includedir!$includedir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3908 oldincludedir!$oldincludedir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3909 docdir!$docdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3910 infodir!$infodir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3911 htmldir!$htmldir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3912 dvidir!$dvidir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3913 pdfdir!$pdfdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3914 psdir!$psdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3915 libdir!$libdir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3916 localedir!$localedir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3917 mandir!$mandir$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3918 DEFS!$DEFS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3919 ECHO_C!$ECHO_C$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3920 ECHO_N!$ECHO_N$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3921 ECHO_T!$ECHO_T$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3922 LIBS!$LIBS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3923 build_alias!$build_alias$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3924 host_alias!$host_alias$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3925 target_alias!$target_alias$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3926 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3927 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3928 INSTALL_DATA!$INSTALL_DATA$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3929 CYGPATH_W!$CYGPATH_W$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3930 PACKAGE!$PACKAGE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3931 VERSION!$VERSION$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3932 ACLOCAL!$ACLOCAL$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3933 AUTOCONF!$AUTOCONF$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3934 AUTOMAKE!$AUTOMAKE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3935 AUTOHEADER!$AUTOHEADER$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3936 MAKEINFO!$MAKEINFO$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3937 install_sh!$install_sh$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3938 STRIP!$STRIP$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3939 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3940 mkdir_p!$mkdir_p$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3941 AWK!$AWK$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3942 SET_MAKE!$SET_MAKE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3943 am__leading_dot!$am__leading_dot$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3944 AMTAR!$AMTAR$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3945 am__tar!$am__tar$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3946 am__untar!$am__untar$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3947 CC!$CC$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3948 CFLAGS!$CFLAGS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3949 LDFLAGS!$LDFLAGS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3950 CPPFLAGS!$CPPFLAGS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3951 ac_ct_CC!$ac_ct_CC$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3952 EXEEXT!$EXEEXT$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3953 OBJEXT!$OBJEXT$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3954 DEPDIR!$DEPDIR$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3955 am__include!$am__include$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3956 am__quote!$am__quote$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3957 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3958 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3959 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3960 CCDEPMODE!$CCDEPMODE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3961 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3962 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3963 LIBOBJS!$LIBOBJS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3964 LTLIBOBJS!$LTLIBOBJS$ac_delim
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3965 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3966
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3967 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3968 break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3969 elif $ac_last_try; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3970 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3971 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3972 { (exit 1); exit 1; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3973 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3974 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3975 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3976 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3977
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3978 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3979 if test -n "$ac_eof"; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3980 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3981 ac_eof=`expr $ac_eof + 1`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3982 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3983
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3984 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3985 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3987 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3988 sed '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3989 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3990 s/^/s,@/; s/!/@,|#_!!_#|/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3991 :n
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3992 t n
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3993 s/'"$ac_delim"'$/,g/; t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3994 s/$/\\/; p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3995 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3996 ' >>$CONFIG_STATUS <conf$$subs.sed
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3997 rm -f conf$$subs.sed
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3998 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
3999 :end
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4000 s/|#_!!_#|//g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4001 CEOF$ac_eof
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4002 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4003
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4004
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4005 # VPATH may cause trouble with some makes, so we remove $(srcdir),
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4006 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4007 # trailing colons and then remove the whole line if VPATH becomes empty
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4008 # (actually we leave an empty line to preserve line numbers).
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4009 if test "x$srcdir" = x.; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4010 ac_vpsub='/^[ ]*VPATH[ ]*=/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4011 s/:*\$(srcdir):*/:/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4012 s/:*\${srcdir}:*/:/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4013 s/:*@srcdir@:*/:/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4014 s/^\([^=]*=[ ]*\):*/\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4015 s/:*$//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4016 s/^[^=]*=[ ]*$//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4017 }'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4018 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4019
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4020 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4021 fi # test -n "$CONFIG_FILES"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4022
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4023
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4024 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4025 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4026 case $ac_tag in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4027 :[FHLC]) ac_mode=$ac_tag; continue;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4028 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4029 case $ac_mode$ac_tag in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4030 :[FHL]*:*);;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4031 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4032 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4033 { (exit 1); exit 1; }; };;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4034 :[FH]-) ac_tag=-:-;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4035 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4036 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4037 ac_save_IFS=$IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4038 IFS=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4039 set x $ac_tag
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4040 IFS=$ac_save_IFS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4041 shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4042 ac_file=$1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4043 shift
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4044
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4045 case $ac_mode in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4046 :L) ac_source=$1;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4047 :[FH])
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4048 ac_file_inputs=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4049 for ac_f
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4050 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4051 case $ac_f in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4052 -) ac_f="$tmp/stdin";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4053 *) # Look for the file first in the build tree, then in the source tree
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4054 # (if the path is not absolute). The absolute path cannot be DOS-style,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4055 # because $ac_f cannot contain `:'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4056 test -f "$ac_f" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4057 case $ac_f in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4058 [\\/$]*) false;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4059 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4060 esac ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4061 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4062 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4063 { (exit 1); exit 1; }; };;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4064 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4065 ac_file_inputs="$ac_file_inputs $ac_f"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4066 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4067
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4068 # Let's still pretend it is `configure' which instantiates (i.e., don't
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4069 # use $as_me), people would be surprised to read:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4070 # /* config.h. Generated by config.status. */
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4071 configure_input="Generated from "`IFS=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4072 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4073 if test x"$ac_file" != x-; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4074 configure_input="$ac_file. $configure_input"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4075 { echo "$as_me:$LINENO: creating $ac_file" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4076 echo "$as_me: creating $ac_file" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4077 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4078
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4079 case $ac_tag in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4080 *:-:* | *:-) cat >"$tmp/stdin";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4081 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4082 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4083 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4084
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4085 ac_dir=`$as_dirname -- "$ac_file" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4087 X"$ac_file" : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4088 X"$ac_file" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4089 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4090 echo X"$ac_file" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4092 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4093 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4094 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4095 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4096 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4097 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4098 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4099 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4100 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4101 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4102 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4103 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4104 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4105 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4106 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4107 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4108 { as_dir="$ac_dir"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4109 case $as_dir in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4110 -*) as_dir=./$as_dir;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4111 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4112 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4113 as_dirs=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4114 while :; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4115 case $as_dir in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4116 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4117 *) as_qdir=$as_dir;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4118 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4119 as_dirs="'$as_qdir' $as_dirs"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4120 as_dir=`$as_dirname -- "$as_dir" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4122 X"$as_dir" : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4123 X"$as_dir" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4124 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4125 echo X"$as_dir" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4127 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4128 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4129 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4130 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4131 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4132 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4133 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4134 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4135 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4136 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4137 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4138 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4139 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4140 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4141 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4142 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4143 test -d "$as_dir" && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4144 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4145 test -z "$as_dirs" || eval "mkdir $as_dirs"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4146 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4147 echo "$as_me: error: cannot create directory $as_dir" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4148 { (exit 1); exit 1; }; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4149 ac_builddir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4150
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4151 case "$ac_dir" in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4152 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4153 *)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4154 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4155 # A ".." for each directory in $ac_dir_suffix.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4156 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4157 case $ac_top_builddir_sub in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4158 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4159 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4160 esac ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4161 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4162 ac_abs_top_builddir=$ac_pwd
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4163 ac_abs_builddir=$ac_pwd$ac_dir_suffix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4164 # for backward compatibility:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4165 ac_top_builddir=$ac_top_build_prefix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4166
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4167 case $srcdir in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4168 .) # We are building in place.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4169 ac_srcdir=.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4170 ac_top_srcdir=$ac_top_builddir_sub
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4171 ac_abs_top_srcdir=$ac_pwd ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4172 [\\/]* | ?:[\\/]* ) # Absolute name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4173 ac_srcdir=$srcdir$ac_dir_suffix;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4174 ac_top_srcdir=$srcdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4175 ac_abs_top_srcdir=$srcdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4176 *) # Relative name.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4177 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4178 ac_top_srcdir=$ac_top_build_prefix$srcdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4179 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4180 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4181 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4182
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4183
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4184 case $ac_mode in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4185 :F)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4186 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4187 # CONFIG_FILE
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4188 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4189
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4190 case $INSTALL in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4191 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4192 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4193 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4194 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4195
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4196 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4197 # If the template does not know about datarootdir, expand it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4198 # FIXME: This hack should be removed a few years after 2.60.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4199 ac_datarootdir_hack=; ac_datarootdir_seen=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4200
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4201 case `sed -n '/datarootdir/ {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4202 p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4203 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4204 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4205 /@datadir@/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4206 /@docdir@/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4207 /@infodir@/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4208 /@localedir@/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4209 /@mandir@/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4210 ' $ac_file_inputs` in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4211 *datarootdir*) ac_datarootdir_seen=yes;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4212 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4213 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4214 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4215 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4216 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4217 ac_datarootdir_hack='
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4218 s&@datadir@&$datadir&g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4219 s&@docdir@&$docdir&g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4220 s&@infodir@&$infodir&g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4221 s&@localedir@&$localedir&g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4222 s&@mandir@&$mandir&g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4223 s&\\\${datarootdir}&$datarootdir&g' ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4224 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4225 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4226
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4227 # Neutralize VPATH when `$srcdir' = `.'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4228 # Shell code in configure.ac might set extrasub.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4229 # FIXME: do we really want to maintain this feature?
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4230 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4231 sed "$ac_vpsub
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4232 $extrasub
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4233 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4234 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4235 :t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4236 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4237 s&@configure_input@&$configure_input&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4238 s&@top_builddir@&$ac_top_builddir_sub&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4239 s&@srcdir@&$ac_srcdir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4240 s&@abs_srcdir@&$ac_abs_srcdir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4241 s&@top_srcdir@&$ac_top_srcdir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4242 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4243 s&@builddir@&$ac_builddir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4244 s&@abs_builddir@&$ac_abs_builddir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4245 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4246 s&@INSTALL@&$ac_INSTALL&;t t
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4247 $ac_datarootdir_hack
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4248 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4249
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4250 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4251 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4252 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4253 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4254 which seems to be undefined. Please make sure it is defined." >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4255 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4256 which seems to be undefined. Please make sure it is defined." >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4257
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4258 rm -f "$tmp/stdin"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4259 case $ac_file in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4260 -) cat "$tmp/out"; rm -f "$tmp/out";;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4261 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4262 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4263 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4264 :H)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4265 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4266 # CONFIG_HEADER
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4267 #
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4268 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4269
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4270 # Transform confdefs.h into a sed script `conftest.defines', that
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4271 # substitutes the proper values into config.h.in to produce config.h.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4272 rm -f conftest.defines conftest.tail
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4273 # First, append a space to every undef/define line, to ease matching.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4274 echo 's/$/ /' >conftest.defines
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4275 # Then, protect against being on the right side of a sed subst, or in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4276 # an unquoted here document, in config.status. If some macros were
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4277 # called several times there might be several #defines for the same
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4278 # symbol, which is useless. But do not sort them, since the last
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4279 # AC_DEFINE must be honored.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4280 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4281 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4282 # NAME is the cpp macro being defined, VALUE is the value it is being given.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4283 # PARAMS is the parameter list in the macro definition--in most cases, it's
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4284 # just an empty string.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4285 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4286 ac_dB='\\)[ (].*,\\1define\\2'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4287 ac_dC=' '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4288 ac_dD=' ,'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4289
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4290 uniq confdefs.h |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4291 sed -n '
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4292 t rset
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4293 :rset
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4294 s/^[ ]*#[ ]*define[ ][ ]*//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4295 t ok
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4296 d
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4297 :ok
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4298 s/[\\&,]/\\&/g
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4299 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4300 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4301 ' >>conftest.defines
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4302
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4303 # Remove the space that was appended to ease matching.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4304 # Then replace #undef with comments. This is necessary, for
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4305 # example, in the case of _POSIX_SOURCE, which is predefined and required
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4306 # on some systems where configure will not decide to define it.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4307 # (The regexp can be short, since the line contains either #define or #undef.)
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4308 echo 's/ $//
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4309 s,^[ #]*u.*,/* & */,' >>conftest.defines
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4310
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4311 # Break up conftest.defines:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4312 ac_max_sed_lines=50
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4313
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4314 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4315 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4316 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4317 # et cetera.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4318 ac_in='$ac_file_inputs'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4319 ac_out='"$tmp/out1"'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4320 ac_nxt='"$tmp/out2"'
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4321
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4322 while :
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4323 do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4324 # Write a here document:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4325 cat >>$CONFIG_STATUS <<_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4326 # First, check the format of the line:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4327 cat >"\$tmp/defines.sed" <<\\CEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4328 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4329 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4330 b
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4331 :def
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4332 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4333 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4334 echo 'CEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4335 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4336 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4337 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4338 grep . conftest.tail >/dev/null || break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4339 rm -f conftest.defines
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4340 mv conftest.tail conftest.defines
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4341 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4342 rm -f conftest.defines conftest.tail
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4343
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4344 echo "ac_result=$ac_in" >>$CONFIG_STATUS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4345 cat >>$CONFIG_STATUS <<\_ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4346 if test x"$ac_file" != x-; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4347 echo "/* $configure_input */" >"$tmp/config.h"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4348 cat "$ac_result" >>"$tmp/config.h"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4349 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4350 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4351 echo "$as_me: $ac_file is unchanged" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4352 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4353 rm -f $ac_file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4354 mv "$tmp/config.h" $ac_file
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4355 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4356 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4357 echo "/* $configure_input */"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4358 cat "$ac_result"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4359 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4360 rm -f "$tmp/out12"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4361 # Compute $ac_file's index in $config_headers.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4362 _am_stamp_count=1
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4363 for _am_header in $config_headers :; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4364 case $_am_header in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4365 $ac_file | $ac_file:* )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4366 break ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4367 * )
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4368 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4369 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4370 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4371 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4372 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4373 X$ac_file : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4374 X$ac_file : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4375 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4376 echo X$ac_file |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4378 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4379 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4380 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4381 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4382 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4383 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4384 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4385 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4386 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4387 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4388 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4389 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4390 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4391 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4392 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4393 s/.*/./; q'`/stamp-h$_am_stamp_count
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4394 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4395
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4396 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4397 echo "$as_me: executing $ac_file commands" >&6;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4398 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4399 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4400
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4401
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4402 case $ac_file$ac_mode in
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4403 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4404 # Strip MF so we end up with the name of the file.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4405 mf=`echo "$mf" | sed -e 's/:.*$//'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4406 # Check whether this is an Automake generated Makefile or not.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4407 # We used to match only the files named `Makefile.in', but
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4408 # some people rename them; so instead we look at the file content.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4409 # Grep'ing the first line is not enough: some people post-process
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4410 # each Makefile.in and add a new line on top of each file to say so.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4411 # So let's grep whole file.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4412 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4413 dirpart=`$as_dirname -- "$mf" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4414 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4415 X"$mf" : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4416 X"$mf" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4417 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4418 echo X"$mf" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4420 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4421 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4422 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4423 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4424 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4425 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4426 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4427 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4428 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4429 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4430 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4431 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4432 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4433 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4434 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4435 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4436 else
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4437 continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4438 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4439 # Extract the definition of DEPDIR, am__include, and am__quote
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4440 # from the Makefile without running `make'.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4441 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4442 test -z "$DEPDIR" && continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4443 am__include=`sed -n 's/^am__include = //p' < "$mf"`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4444 test -z "am__include" && continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4445 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4446 # When using ansi2knr, U may be empty or an underscore; expand it
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4447 U=`sed -n 's/^U = //p' < "$mf"`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4448 # Find all dependency output files, they are included files with
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4449 # $(DEPDIR) in their names. We invoke sed twice because it is the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4450 # simplest approach to changing $(DEPDIR) to its actual value in the
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4451 # expansion.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4452 for file in `sed -n "
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4453 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4454 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4455 # Make sure the directory exists.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4456 test -f "$dirpart/$file" && continue
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4457 fdir=`$as_dirname -- "$file" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4458 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4459 X"$file" : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4460 X"$file" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4461 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4462 echo X"$file" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4464 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4465 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4466 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4467 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4468 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4469 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4470 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4471 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4472 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4473 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4474 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4475 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4476 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4477 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4478 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4479 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4480 { as_dir=$dirpart/$fdir
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4481 case $as_dir in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4482 -*) as_dir=./$as_dir;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4483 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4484 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4485 as_dirs=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4486 while :; do
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4487 case $as_dir in #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4488 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4489 *) as_qdir=$as_dir;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4490 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4491 as_dirs="'$as_qdir' $as_dirs"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4492 as_dir=`$as_dirname -- "$as_dir" ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4494 X"$as_dir" : 'X\(//\)[^/]' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4495 X"$as_dir" : 'X\(//\)$' \| \
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4496 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4497 echo X"$as_dir" |
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4499 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4500 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4501 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4502 /^X\(\/\/\)[^/].*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4503 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4504 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4505 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4506 /^X\(\/\/\)$/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4507 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4508 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4509 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4510 /^X\(\/\).*/{
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4511 s//\1/
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4512 q
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4513 }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4514 s/.*/./; q'`
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4515 test -d "$as_dir" && break
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4516 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4517 test -z "$as_dirs" || eval "mkdir $as_dirs"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4518 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4519 echo "$as_me: error: cannot create directory $as_dir" >&2;}
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4520 { (exit 1); exit 1; }; }; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4521 # echo "creating $dirpart/$file"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4522 echo '# dummy' > "$dirpart/$file"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4523 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4524 done
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4525 ;;
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4526
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4527 esac
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4528 done # for ac_tag
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4529
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4530
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4531 { (exit 0); exit 0; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4532 _ACEOF
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4533 chmod +x $CONFIG_STATUS
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4534 ac_clean_files=$ac_clean_files_save
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4535
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4536
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4537 # configure is writing to config.log, and then calls config.status.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4538 # config.status does its own redirection, appending to config.log.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4539 # Unfortunately, on DOS this fails, as config.log is still kept open
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4540 # by configure, so config.status won't be able to write to it; its
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4541 # output is simply discarded. So we exec the FD to /dev/null,
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4542 # effectively closing config.log, so it can be properly (re)opened and
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4543 # appended to by config.status. When coming back to configure, we
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4544 # need to make the FD available again.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4545 if test "$no_create" != yes; then
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4546 ac_cs_success=:
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4547 ac_config_status_args=
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4548 test "$silent" = yes &&
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4549 ac_config_status_args="$ac_config_status_args --quiet"
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4550 exec 5>/dev/null
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4552 exec 5>>config.log
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4554 # would make configure fail if this is the last instruction.
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4555 $ac_cs_success || { (exit 1); exit 1; }
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4556 fi
d340e9c8191f Added autotool files for releae
lost
parents:
diff changeset
4557