source: trunk/essentials/sys-devel/automake-1.9/configure@ 3151

Last change on this file since 3151 was 3086, checked in by bird, 19 years ago

automake 1.9.6

File size: 100.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59c for GNU Automake 1.9.6.
4#
5# Report bugs to <[email protected]>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26BIN_SH=xpg4; export BIN_SH # for Tru64
27DUALCASE=1; export DUALCASE # for MKS sh
28
29
30# PATH needs CR
31# Avoid depending upon Character Ranges.
32as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35as_cr_digits='0123456789'
36as_cr_alnum=$as_cr_Letters$as_cr_digits
37
38# The user is always right.
39if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
47 fi
48 rm -f conf$$.sh
49fi
50
51# Support unset when possible.
52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54else
55 as_unset=false
56fi
57
58
59# Find who we are. Look in the path if we contain no path at all
60# relative or not.
61case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64for as_dir in $PATH
65do
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69done
70
71 ;;
72esac
73# We did not find ourselves, most probably we were run as `sh COMMAND'
74# in which case we are not to be found in the path.
75if test "x$as_myself" = x; then
76 as_myself=$0
77fi
78if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
81fi
82
83# Work around bugs in pre-3.0 UWIN ksh.
84for as_var in ENV MAIL MAILPATH
85do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86done
87PS1='$ '
88PS2='> '
89PS4='+ '
90
91# NLS nuisances.
92for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
96do
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
101 fi
102done
103
104# Required to use basename.
105if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107else
108 as_expr=false
109fi
110
111if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113else
114 as_basename=false
115fi
116
117
118# Name of the executable.
119as_me=`$as_basename "$0" ||
120$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
129
130
131
132if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135else
136 as_have_required=no
137fi
138
139 if test $as_have_required = yes && (eval ":
140(as_func_return () {
141 (exit \$1)
142}
143as_func_success () {
144 as_func_return 0
145}
146as_func_failure () {
147 as_func_return 1
148}
149as_func_ret_success () {
150 return 0
151}
152as_func_ret_failure () {
153 return 1
154}
155
156exitcode=0
157if as_func_success; then
158 :
159else
160 exitcode=1
161 echo as_func_success failed.
162fi
163
164if as_func_failure; then
165 exitcode=1
166 echo as_func_failure succeeded.
167fi
168
169if as_func_ret_success; then
170 :
171else
172 exitcode=1
173 echo as_func_ret_success failed.
174fi
175
176if as_func_ret_failure; then
177 exitcode=1
178 echo as_func_ret_failure succeeded.
179fi
180
181if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
182 :
183else
184 exitcode=1
185 echo positional parameters were not saved.
186fi
187
188test \$exitcode = 0) || { (exit 1); exit 1; }
189
190(
191 as_lineno_1=\$LINENO
192 as_lineno_2=\$LINENO
193 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
194 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
195") 2> /dev/null; then
196 :
197else
198 as_candidate_shells=
199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201do
202 IFS=$as_save_IFS
203 test -z "$as_dir" && as_dir=.
204 case $as_dir in
205 /*)
206 for as_base in sh bash ksh sh5; do
207 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
208 done
209 esac
210done
211
212
213 for as_shell in $as_candidate_shells $SHELL; do
214 if { ($as_shell) 2> /dev/null <<\_ASEOF
215# Be Bourne compatible
216if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
217 emulate sh
218 NULLCMD=:
219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
220 # is contrary to our usage. Disable this feature.
221 alias -g '${1+"$@"}'='"$@"'
222 setopt NO_GLOB_SUBST
223elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
224 set -o posix
225fi
226BIN_SH=xpg4; export BIN_SH # for Tru64
227DUALCASE=1; export DUALCASE # for MKS sh
228
229:
230_ASEOF
231}; then
232 CONFIG_SHELL=$as_shell
233 as_have_required=yes
234 if { $as_shell 2> /dev/null <<\_ASEOF
235# Be Bourne compatible
236if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237 emulate sh
238 NULLCMD=:
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
242 setopt NO_GLOB_SUBST
243elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
244 set -o posix
245fi
246BIN_SH=xpg4; export BIN_SH # for Tru64
247DUALCASE=1; export DUALCASE # for MKS sh
248
249:
250(as_func_return () {
251 (exit $1)
252}
253as_func_success () {
254 as_func_return 0
255}
256as_func_failure () {
257 as_func_return 1
258}
259as_func_ret_success () {
260 return 0
261}
262as_func_ret_failure () {
263 return 1
264}
265
266exitcode=0
267if as_func_success; then
268 :
269else
270 exitcode=1
271 echo as_func_success failed.
272fi
273
274if as_func_failure; then
275 exitcode=1
276 echo as_func_failure succeeded.
277fi
278
279if as_func_ret_success; then
280 :
281else
282 exitcode=1
283 echo as_func_ret_success failed.
284fi
285
286if as_func_ret_failure; then
287 exitcode=1
288 echo as_func_ret_failure succeeded.
289fi
290
291if ( set x; as_func_ret_success y && test x = "$1" ); then
292 :
293else
294 exitcode=1
295 echo positional parameters were not saved.
296fi
297
298test $exitcode = 0) || { (exit 1); exit 1; }
299
300(
301 as_lineno_1=$LINENO
302 as_lineno_2=$LINENO
303 test "x$as_lineno_1" != "x$as_lineno_2" &&
304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
305
306_ASEOF
307}; then
308 break
309fi
310
311fi
312
313 done
314
315 if test "x$CONFIG_SHELL" != x; then
316 for as_var in BASH_ENV ENV
317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
318 done
319 export CONFIG_SHELL
320 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
321fi
322
323
324 if test $as_have_required = no; then
325 echo This script requires a shell more modern than all the
326 echo shells that I found on your system. Please install a
327 echo modern shell, or manually run the script under such a
328 echo shell if you do have one.
329 { (exit 1); exit 1; }
330fi
331
332
333fi
334
335fi
336
337
338
339(eval "as_func_return () {
340 (exit \$1)
341}
342as_func_success () {
343 as_func_return 0
344}
345as_func_failure () {
346 as_func_return 1
347}
348as_func_ret_success () {
349 return 0
350}
351as_func_ret_failure () {
352 return 1
353}
354
355exitcode=0
356if as_func_success; then
357 :
358else
359 exitcode=1
360 echo as_func_success failed.
361fi
362
363if as_func_failure; then
364 exitcode=1
365 echo as_func_failure succeeded.
366fi
367
368if as_func_ret_success; then
369 :
370else
371 exitcode=1