134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
136
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174
if (eval "$as_required") 2>/dev/null; then :
175
175
as_have_required=yes
177
177
as_have_required=no
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
179
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
184
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
187
test -z "$as_dir" && as_dir=.
247
191
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
192
# Try only shells that exist, to save several forks.
193
as_shell=$as_dir/$as_base
194
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196
CONFIG_SHELL=$as_shell as_have_required=yes
197
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207
CONFIG_SHELL=$SHELL as_have_required=yes
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
212
if test "x$CONFIG_SHELL" != x; then :
213
# We cannot yet assume a decent shell, so we have to provide a
214
# neutralization value for shells without unset; and this also
215
# works around shells that cannot unset nonexistent variables.
218
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
219
export CONFIG_SHELL
366
220
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
223
if test x$as_have_required = xno; then :
224
$as_echo "$0: This script requires a shell more modern than all"
225
$as_echo "$0: the shells that I found on your system."
226
if test x${ZSH_VERSION+set} = xset ; then
227
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231
$0: including any error possibly output before this
232
$0: message. Then install a modern shell, or manually run
233
$0: the script under such a shell if you do have one."
239
SHELL=${CONFIG_SHELL-/bin/sh}
241
# Unset more variables known to interfere with behavior of common tools.
242
CLICOLOR_FORCE= GREP_OPTIONS=
243
unset CLICOLOR_FORCE GREP_OPTIONS
245
## --------------------- ##
246
## M4sh Shell Functions. ##
247
## --------------------- ##
250
# Portably unset VAR.
253
{ eval $1=; unset $1;}
257
# as_fn_set_status STATUS
258
# -----------------------
259
# Set $? to STATUS, without forking.
267
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277
# Create "$as_dir" as a directory, including parents if necessary.
282
-*) as_dir=./$as_dir;;
284
test -d "$as_dir" || eval $as_mkdir_p || {
288
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291
as_dirs="'$as_qdir' $as_dirs"
292
as_dir=`$as_dirname -- "$as_dir" ||
293
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294
X"$as_dir" : 'X\(//\)[^/]' \| \
295
X"$as_dir" : 'X\(//\)$' \| \
296
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297
$as_echo X"$as_dir" |
298
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315
test -d "$as_dir" && break
317
test -z "$as_dirs" || eval "mkdir $as_dirs"
318
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322
# as_fn_append VAR VALUE
323
# ----------------------
324
# Append the text in VALUE to the end of the definition contained in VAR. Take
325
# advantage of any shell optimizations that allow amortized linear growth over
326
# repeated appends, instead of the typical quadratic growth present in naive
328
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329
eval 'as_fn_append ()
342
# Perform arithmetic evaluation on the ARGs, and store the result in the
343
# global $as_val. Take advantage of shells that can avoid forks. The arguments
344
# must be portable across $(()) and expr.
345
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353
as_val=`expr "$@" || test $? -eq 1`
358
# as_fn_error ERROR [LINENO LOG_FD]
359
# ---------------------------------
360
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362
# script with status $?, using 1 if that was 0.
365
as_status=$?; test $as_status -eq 0 && as_status=1
367
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370
$as_echo "$as_me: error: $1" >&2
371
as_fn_exit $as_status
374
if expr a : '\(a\)' >/dev/null 2>&1 &&
375
test "X`expr 00001 : '.*\(...\)'`" = X001; then
381
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393
as_me=`$as_basename -- "$0" ||
394
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395
X"$0" : 'X\(//\)$' \| \
396
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
sed '/^.*\/\([^/][^/]*\)\/*$/{
412
# Avoid depending upon Character Ranges.
413
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416
as_cr_digits='0123456789'
417
as_cr_alnum=$as_cr_Letters$as_cr_digits
420
as_lineno_1=$LINENO as_lineno_1a=$LINENO
421
as_lineno_2=$LINENO as_lineno_2a=$LINENO
422
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1972
1902
# expand $ac_aux_dir to an absolute path
1973
1903
am_aux_dir=`cd $ac_aux_dir && pwd`
1975
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1905
if test x"${MISSING+set}" != xset; then
1908
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1910
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1976
1913
# Use eval to expand $SHELL
1977
1914
if eval "$MISSING --run true"; then
1978
1915
am_missing_run="$MISSING --run "
1980
1917
am_missing_run=
1981
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1982
1919
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1985
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1922
if test x"${install_sh}" != xset; then
1925
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1927
install_sh="\${SHELL} $am_aux_dir/install-sh"
1931
# Installed binaries are usually stripped using `strip' when the user
1932
# run `make install-strip'. However `strip' might not be the right
1933
# tool to use in cross-compilation environments, therefore Automake
1934
# will honor the `STRIP' environment variable to overrule this program.
1935
if test "$cross_compiling" != no; then
1936
if test -n "$ac_tool_prefix"; then
1937
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1938
set dummy ${ac_tool_prefix}strip; ac_word=$2
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1940
$as_echo_n "checking for $ac_word... " >&6; }
1941
if test "${ac_cv_prog_STRIP+set}" = set; then :
1942
$as_echo_n "(cached) " >&6
1944
if test -n "$STRIP"; then
1945
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951
test -z "$as_dir" && as_dir=.
1952
for ac_exec_ext in '' $ac_executable_extensions; do
1953
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1954
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1955
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1964
STRIP=$ac_cv_prog_STRIP
1965
if test -n "$STRIP"; then
1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1967
$as_echo "$STRIP" >&6; }
1969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1970
$as_echo "no" >&6; }
1975
if test -z "$ac_cv_prog_STRIP"; then
1977
# Extract the first word of "strip", so it can be a program name with args.
1978
set dummy strip; ac_word=$2
1979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1980
$as_echo_n "checking for $ac_word... " >&6; }
1981
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1982
$as_echo_n "(cached) " >&6
1984
if test -n "$ac_ct_STRIP"; then
1985
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1991
test -z "$as_dir" && as_dir=.
1992
for ac_exec_ext in '' $ac_executable_extensions; do
1993
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994
ac_cv_prog_ac_ct_STRIP="strip"
1995
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2004
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2005
if test -n "$ac_ct_STRIP"; then
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2007
$as_echo "$ac_ct_STRIP" >&6; }
2009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2010
$as_echo "no" >&6; }
2013
if test "x$ac_ct_STRIP" = x; then
2016
case $cross_compiling:$ac_tool_warned in
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2020
ac_tool_warned=yes ;;
2025
STRIP="$ac_cv_prog_STRIP"
2029
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1986
2032
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1987
2033
if test -z "$MKDIR_P"; then
1988
if test "${ac_cv_path_mkdir+set}" = set; then
2034
if test "${ac_cv_path_mkdir+set}" = set; then :
1989
2035
$as_echo_n "(cached) " >&6
1991
2037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165
2209
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2167
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2169
# Installed binaries are usually stripped using `strip' when the user
2170
# run `make install-strip'. However `strip' might not be the right
2171
# tool to use in cross-compilation environments, therefore Automake
2172
# will honor the `STRIP' environment variable to overrule this program.
2173
if test "$cross_compiling" != no; then
2174
if test -n "$ac_tool_prefix"; then
2175
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2176
set dummy ${ac_tool_prefix}strip; ac_word=$2
2177
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2178
$as_echo_n "checking for $ac_word... " >&6; }
2179
if test "${ac_cv_prog_STRIP+set}" = set; then
2180
$as_echo_n "(cached) " >&6
2182
if test -n "$STRIP"; then
2183
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189
test -z "$as_dir" && as_dir=.
2190
for ac_exec_ext in '' $ac_executable_extensions; do
2191
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2193
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202
STRIP=$ac_cv_prog_STRIP
2203
if test -n "$STRIP"; then
2204
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2205
$as_echo "$STRIP" >&6; }
2207
{ $as_echo "$as_me:$LINENO: result: no" >&5
2208
$as_echo "no" >&6; }
2213
if test -z "$ac_cv_prog_STRIP"; then
2215
# Extract the first word of "strip", so it can be a program name with args.
2216
set dummy strip; ac_word=$2
2217
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2218
$as_echo_n "checking for $ac_word... " >&6; }
2219
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2220
$as_echo_n "(cached) " >&6
2222
if test -n "$ac_ct_STRIP"; then
2223
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229
test -z "$as_dir" && as_dir=.
2230
for ac_exec_ext in '' $ac_executable_extensions; do
2231
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2232
ac_cv_prog_ac_ct_STRIP="strip"
2233
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2243
if test -n "$ac_ct_STRIP"; then
2244
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2245
$as_echo "$ac_ct_STRIP" >&6; }
2247
{ $as_echo "$as_me:$LINENO: result: no" >&5
2248
$as_echo "no" >&6; }
2251
if test "x$ac_ct_STRIP" = x; then
2254
case $cross_compiling:$ac_tool_warned in
2256
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2257
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2258
ac_tool_warned=yes ;;
2263
STRIP="$ac_cv_prog_STRIP"
2267
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2269
2211
# We need awk for the "check" target. The system "awk" is bad on
2270
2212
# some platforms.
2271
2213
# Always define AMTAR for backward compatibility.
2437
# Find a good install program. We prefer a C program (faster),
2438
# so one script is as good as another. But avoid the broken or
2439
# incompatible versions:
2440
# SysV /etc/install, /usr/sbin/install
2441
# SunOS /usr/etc/install
2442
# IRIX /sbin/install
2444
# AmigaOS /C/install, which installs bootblocks on floppy discs
2445
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448
# OS/2's system install, which has a completely different semantic
2449
# ./install, which can be erroneously created by make from ./install.sh.
2450
# Reject install programs that cannot install multiple files.
2451
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2452
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2453
if test -z "$INSTALL"; then
2454
if test "${ac_cv_path_install+set}" = set; then
2455
$as_echo_n "(cached) " >&6
2457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461
test -z "$as_dir" && as_dir=.
2462
# Account for people who put trailing slashes in PATH elements.
2464
./ | .// | /cC/* | \
2465
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2466
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2469
# OSF1 and SCO ODT 3.0 have their own names for install.
2470
# Don't use installbsd from OSF since it installs stuff as root
2472
for ac_prog in ginstall scoinst install; do
2473
for ac_exec_ext in '' $ac_executable_extensions; do
2474
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475
if test $ac_prog = install &&
2476
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477
# AIX install. It has an incompatible calling convention.
2479
elif test $ac_prog = install &&
2480
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2481
# program-specific install script used by HP pwplus--don't use.
2484
rm -rf conftest.one conftest.two conftest.dir
2485
echo one > conftest.one
2486
echo two > conftest.two
2488
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2489
test -s conftest.one && test -s conftest.two &&
2490
test -s conftest.dir/conftest.one &&
2491
test -s conftest.dir/conftest.two
2493
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2506
rm -rf conftest.one conftest.two conftest.dir
2509
if test "${ac_cv_path_install+set}" = set; then
2510
INSTALL=$ac_cv_path_install
2512
# As a last resort, use the slow shell script. Don't cache a
2513
# value for INSTALL within a source directory, because that will
2514
# break other packages using the cache if that directory is
2515
# removed, or if the value is a relative name.
2516
INSTALL=$ac_install_sh
2519
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2520
$as_echo "$INSTALL" >&6; }
2522
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523
# It thinks the first close brace ends the variable substitution.
2524
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2526
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2528
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2530
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2531
2381
$as_echo_n "checking whether ln -s works... " >&6; }
2533
2383
if test "$LN_S" = "ln -s"; then
2534
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2535
2385
$as_echo "yes" >&6; }
2537
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2538
2388
$as_echo "no, using $LN_S" >&6; }
3025
2867
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3026
2868
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3027
2869
# will be set to the directory where LIBOBJS objects are built.
3028
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3029
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2870
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2871
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3031
2873
LIBOBJS=$ac_libobjs
3033
2875
LTLIBOBJS=$ac_ltlibobjs
3036
2879
if test -z "${INCLUDE_TTF_TRUE}" && test -z "${INCLUDE_TTF_FALSE}"; then
3037
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TTF\" was never defined.
3038
Usually this means the macro was only invoked conditionally." >&5
3039
$as_echo "$as_me: error: conditional \"INCLUDE_TTF\" was never defined.
3040
Usually this means the macro was only invoked conditionally." >&2;}
3041
{ (exit 1); exit 1; }; }
2880
as_fn_error "conditional \"INCLUDE_TTF\" was never defined.
2881
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3043
2883
if test -z "${INCLUDE_PFA_TRUE}" && test -z "${INCLUDE_PFA_FALSE}"; then
3044
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_PFA\" was never defined.
3045
Usually this means the macro was only invoked conditionally." >&5
3046
$as_echo "$as_me: error: conditional \"INCLUDE_PFA\" was never defined.
3047
Usually this means the macro was only invoked conditionally." >&2;}
3048
{ (exit 1); exit 1; }; }
2884
as_fn_error "conditional \"INCLUDE_PFA\" was never defined.
2885
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3050
2887
if test -z "${INCLUDE_PFB_TRUE}" && test -z "${INCLUDE_PFB_FALSE}"; then
3051
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_PFB\" was never defined.
3052
Usually this means the macro was only invoked conditionally." >&5
3053
$as_echo "$as_me: error: conditional \"INCLUDE_PFB\" was never defined.
3054
Usually this means the macro was only invoked conditionally." >&2;}
3055
{ (exit 1); exit 1; }; }
2888
as_fn_error "conditional \"INCLUDE_PFB\" was never defined.
2889
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3057
2891
if test -z "${INCLUDE_TYPE1_TRUE}" && test -z "${INCLUDE_TYPE1_FALSE}"; then
3058
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TYPE1\" was never defined.
3059
Usually this means the macro was only invoked conditionally." >&5
3060
$as_echo "$as_me: error: conditional \"INCLUDE_TYPE1\" was never defined.
3061
Usually this means the macro was only invoked conditionally." >&2;}
3062
{ (exit 1); exit 1; }; }
2892
as_fn_error "conditional \"INCLUDE_TYPE1\" was never defined.
2893
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3064
2895
if test -z "${INCLUDE_OTF_TRUE}" && test -z "${INCLUDE_OTF_FALSE}"; then
3065
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_OTF\" was never defined.
3066
Usually this means the macro was only invoked conditionally." >&5
3067
$as_echo "$as_me: error: conditional \"INCLUDE_OTF\" was never defined.
3068
Usually this means the macro was only invoked conditionally." >&2;}
3069
{ (exit 1); exit 1; }; }
2896
as_fn_error "conditional \"INCLUDE_OTF\" was never defined.
2897
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3071
2899
if test -z "${INCLUDE_TESTFONT_TRUE}" && test -z "${INCLUDE_TESTFONT_FALSE}"; then
3072
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TESTFONT\" was never defined.
3073
Usually this means the macro was only invoked conditionally." >&5
3074
$as_echo "$as_me: error: conditional \"INCLUDE_TESTFONT\" was never defined.
3075
Usually this means the macro was only invoked conditionally." >&2;}
3076
{ (exit 1); exit 1; }; }
2900
as_fn_error "conditional \"INCLUDE_TESTFONT\" was never defined.
2901
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3079
2904
: ${CONFIG_STATUS=./config.status}
3080
2905
ac_write_fail=0
3081
2906
ac_clean_files_save=$ac_clean_files
3082
2907
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3083
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3084
2909
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3085
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2911
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3087
2913
# Generated by $as_me.
3088
2914
# Run this file to recreate the current configuration.