~ubuntu-branches/ubuntu/saucy/atool/saucy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2011-08-17 07:51:06 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110817075106-8gd3c7fczf342nif
Tags: 0.38.0-1
* New upstream release:
  - remove all Debian patches (they have been applied upstream)
* Add empty build-arch and build-indep targets in debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for atool 0.37.0.
 
3
# Generated by GNU Autoconf 2.67 for atool 0.38.0.
4
4
#
5
5
# Report bugs to <oskar@osk.mine.nu>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
25
  # is contrary to our usage.  Disable this feature.
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
 
fi
30
 
 
31
 
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
41
75
 
42
76
# The user is always right.
43
77
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
60
83
fi
61
84
 
62
85
 
65
88
# there to prevent editors from complaining about space-tab.
66
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
90
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
91
IFS=" ""        $as_nl"
71
92
 
72
93
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
 
94
case $0 in #((
74
95
  *[\\/]* ) as_myself=$0 ;;
75
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
97
for as_dir in $PATH
77
98
do
78
99
  IFS=$as_save_IFS
79
100
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
82
103
IFS=$as_save_IFS
83
104
 
84
105
     ;;
89
110
  as_myself=$0
90
111
fi
91
112
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
 
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
114
  exit 1
94
115
fi
95
116
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
99
124
done
100
125
PS1='$ '
101
126
PS2='> '
102
127
PS4='+ '
103
128
 
104
129
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
151
134
 
152
135
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
155
137
 
156
138
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
 
176
  if (eval "$as_required") 2>/dev/null; then :
158
177
  as_have_required=yes
159
178
else
160
179
  as_have_required=no
161
180
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
181
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
182
 
 
183
else
 
184
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
185
as_found=false
224
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
187
do
226
188
  IFS=$as_save_IFS
227
189
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
 
190
  as_found=:
 
191
  case $as_dir in #(
229
192
         /*)
230
193
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
194
             # Try only shells that exist, to save several forks.
 
195
             as_shell=$as_dir/$as_base
 
196
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
197
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
198
  CONFIG_SHELL=$as_shell as_have_required=yes
 
199
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  break 2
 
201
fi
 
202
fi
232
203
           done;;
233
204
       esac
 
205
  as_found=false
234
206
done
 
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
208
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
209
  CONFIG_SHELL=$SHELL as_have_required=yes
 
210
fi; }
235
211
IFS=$as_save_IFS
236
212
 
237
213
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
 
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
214
      if test "x$CONFIG_SHELL" != x; then :
 
215
  # We cannot yet assume a decent shell, so we have to provide a
 
216
        # neutralization value for shells without unset; and this also
 
217
        # works around shells that cannot unset nonexistent variables.
 
218
        BASH_ENV=/dev/null
 
219
        ENV=/dev/null
 
220
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
221
        export CONFIG_SHELL
 
222
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
223
fi
 
224
 
 
225
    if test x$as_have_required = xno; then :
 
226
  $as_echo "$0: This script requires a shell more modern than all"
 
227
  $as_echo "$0: the shells that I found on your system."
 
228
  if test x${ZSH_VERSION+set} = xset ; then
 
229
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
230
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
231
  else
 
232
    $as_echo "$0: Please tell bug-autoconf@gnu.org and oskar@osk.mine.nu
 
233
$0: about your system, including any error possibly output
 
234
$0: before this message. Then install a modern shell, or
 
235
$0: manually run the script under such a shell if you do
 
236
$0: have one."
 
237
  fi
 
238
  exit 1
 
239
fi
 
240
fi
 
241
fi
 
242
SHELL=${CONFIG_SHELL-/bin/sh}
 
243
export SHELL
 
244
# Unset more variables known to interfere with behavior of common tools.
 
245
CLICOLOR_FORCE= GREP_OPTIONS=
 
246
unset CLICOLOR_FORCE GREP_OPTIONS
 
247
 
 
248
## --------------------- ##
 
249
## M4sh Shell Functions. ##
 
250
## --------------------- ##
 
251
# as_fn_unset VAR
 
252
# ---------------
 
253
# Portably unset VAR.
 
254
as_fn_unset ()
 
255
{
 
256
  { eval $1=; unset $1;}
 
257
}
 
258
as_unset=as_fn_unset
 
259
 
 
260
# as_fn_set_status STATUS
 
261
# -----------------------
 
262
# Set $? to STATUS, without forking.
 
263
as_fn_set_status ()
 
264
{
 
265
  return $1
 
266
} # as_fn_set_status
 
267
 
 
268
# as_fn_exit STATUS
 
269
# -----------------
 
270
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
271
as_fn_exit ()
 
272
{
 
273
  set +e
 
274
  as_fn_set_status $1
 
275
  exit $1
 
276
} # as_fn_exit
 
277
 
 
278
# as_fn_mkdir_p
 
279
# -------------
 
280
# Create "$as_dir" as a directory, including parents if necessary.
 
281
as_fn_mkdir_p ()
 
282
{
 
283
 
 
284
  case $as_dir in #(
 
285
  -*) as_dir=./$as_dir;;
 
286
  esac
 
287
  test -d "$as_dir" || eval $as_mkdir_p || {
 
288
    as_dirs=
 
289
    while :; do
 
290
      case $as_dir in #(
 
291
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
292
      *) as_qdir=$as_dir;;
 
293
      esac
 
294
      as_dirs="'$as_qdir' $as_dirs"
 
295
      as_dir=`$as_dirname -- "$as_dir" ||
 
296
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
297
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
298
         X"$as_dir" : 'X\(//\)$' \| \
 
299
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
300
$as_echo X"$as_dir" |
 
301
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)[^/].*/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\/\)$/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          /^X\(\/\).*/{
 
314
            s//\1/
 
315
            q
 
316
          }
 
317
          s/.*/./; q'`
 
318
      test -d "$as_dir" && break
 
319
    done
 
320
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
321
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
322
 
 
323
 
 
324
} # as_fn_mkdir_p
 
325
# as_fn_append VAR VALUE
 
326
# ----------------------
 
327
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
328
# advantage of any shell optimizations that allow amortized linear growth over
 
329
# repeated appends, instead of the typical quadratic growth present in naive
 
330
# implementations.
 
331
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
332
  eval 'as_fn_append ()
 
333
  {
 
334
    eval $1+=\$2
 
335
  }'
 
336
else
 
337
  as_fn_append ()
 
338
  {
 
339
    eval $1=\$$1\$2
 
340
  }
 
341
fi # as_fn_append
 
342
 
 
343
# as_fn_arith ARG...
 
344
# ------------------
 
345
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
346
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
347
# must be portable across $(()) and expr.
 
348
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
349
  eval 'as_fn_arith ()
 
350
  {
 
351
    as_val=$(( $* ))
 
352
  }'
 
353
else
 
354
  as_fn_arith ()
 
355
  {
 
356
    as_val=`expr "$@" || test $? -eq 1`
 
357
  }
 
358
fi # as_fn_arith
 
359
 
 
360
 
 
361
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
362
# ----------------------------------------
 
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
365
# script with STATUS, using 1 if that was 0.
 
366
as_fn_error ()
 
367
{
 
368
  as_status=$1; test $as_status -eq 0 && as_status=1
 
369
  if test "$4"; then
 
370
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
371
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
372
  fi
 
373
  $as_echo "$as_me: error: $2" >&2
 
374
  as_fn_exit $as_status
 
375
} # as_fn_error
 
376
 
 
377
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
378
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
379
  as_expr=expr
 
380
else
 
381
  as_expr=false
 
382
fi
 
383
 
 
384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
385
  as_basename=basename
 
386
else
 
387
  as_basename=false
 
388
fi
 
389
 
 
390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
391
  as_dirname=dirname
 
392
else
 
393
  as_dirname=false
 
394
fi
 
395
 
 
396
as_me=`$as_basename -- "$0" ||
 
397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
398
         X"$0" : 'X\(//\)$' \| \
 
399
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
400
$as_echo X/"$0" |
 
401
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\/\)$/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          /^X\/\(\/\).*/{
 
410
            s//\1/
 
411
            q
 
412
          }
 
413
          s/.*/./; q'`
 
414
 
 
415
# Avoid depending upon Character Ranges.
 
416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
419
as_cr_digits='0123456789'
 
420
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
424
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
425
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
426
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
427
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
440
428
  sed -n '
441
429
    p
442
430
    /[$]LINENO/=
453
441
      s/-\n.*//
454
442
    ' >$as_me.lineno &&
455
443
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
 
444
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458
445
 
459
446
  # Don't try to exec as it changes $[0], causing all sort of problems
460
447
  # (the dirname of $[0] is not the place where we might find the
464
451
  exit
465
452
}
466
453
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
454
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
 
455
case `echo -n x` in #(((((
476
456
-n*)
477
 
  case `echo 'x\c'` in
 
457
  case `echo 'xy\c'` in
478
458
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
 
459
  xy)  ECHO_C='\c';;
 
460
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
461
       ECHO_T=' ';;
480
462
  esac;;
481
463
*)
482
464
  ECHO_N='-n';;
483
465
esac
484
466
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
467
rm -f conf$$ conf$$.exe conf$$.file
493
468
if test -d conf$$.dir; then
494
469
  rm -f conf$$.dir/conf$$.file
495
470
else
496
471
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
472
  mkdir conf$$.dir 2>/dev/null
498
473
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
474
if (echo >conf$$.file) 2>/dev/null; then
 
475
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
476
    as_ln_s='ln -s'
 
477
    # ... but there are two gotchas:
 
478
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
479
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
480
    # In both cases, we have to default to `cp -p'.
 
481
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
482
      as_ln_s='cp -p'
 
483
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
484
    as_ln_s=ln
 
485
  else
507
486
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
487
  fi
510
488
else
511
489
  as_ln_s='cp -p'
512
490
fi
514
492
rmdir conf$$.dir 2>/dev/null
515
493
 
516
494
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
 
495
  as_mkdir_p='mkdir -p "$as_dir"'
518
496
else
519
497
  test -d ./-p && rmdir ./-p
520
498
  as_mkdir_p=false
531
509
  as_test_x='
532
510
    eval sh -c '\''
533
511
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
512
        test -d "$1/.";
535
513
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
 
514
        case $1 in #(
 
515
        -*)set "./$1";;
538
516
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
517
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
540
518
        ???[sx]*):;;*)false;;esac;fi
541
519
    '\'' sh
542
520
  '
550
528
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
529
 
552
530
 
553
 
 
554
 
exec 7<&0 </dev/null 6>&1
 
531
test -n "$DJDIR" || exec 7<&0 </dev/null
 
532
exec 6>&1
555
533
 
556
534
# Name of the host.
557
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
535
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558
536
# so uname gets run too.
559
537
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
538
 
569
547
subdirs=
570
548
MFLAGS=
571
549
MAKEFLAGS=
572
 
SHELL=${CONFIG_SHELL-/bin/sh}
573
550
 
574
551
# Identity of this package.
575
552
PACKAGE_NAME='atool'
576
553
PACKAGE_TARNAME='atool'
577
 
PACKAGE_VERSION='0.37.0'
578
 
PACKAGE_STRING='atool 0.37.0'
 
554
PACKAGE_VERSION='0.38.0'
 
555
PACKAGE_STRING='atool 0.38.0'
579
556
PACKAGE_BUGREPORT='oskar@osk.mine.nu'
 
557
PACKAGE_URL=''
580
558
 
581
559
ac_unique_file="atool"
582
 
ac_subst_vars='SHELL
 
560
ac_subst_vars='LTLIBOBJS
 
561
LIBOBJS
 
562
PERL_SITELIB
 
563
PERL_SHEBANG
 
564
PERL
 
565
LOCALSTATEDIR
 
566
SYSCONFDIR
 
567
SBINDIR
 
568
am__untar
 
569
am__tar
 
570
AMTAR
 
571
am__leading_dot
 
572
SET_MAKE
 
573
AWK
 
574
mkdir_p
 
575
MKDIR_P
 
576
INSTALL_STRIP_PROGRAM
 
577
STRIP
 
578
install_sh
 
579
MAKEINFO
 
580
AUTOHEADER
 
581
AUTOMAKE
 
582
AUTOCONF
 
583
ACLOCAL
 
584
VERSION
 
585
PACKAGE
 
586
CYGPATH_W
 
587
am__isrc
 
588
INSTALL_DATA
 
589
INSTALL_SCRIPT
 
590
INSTALL_PROGRAM
 
591
target_alias
 
592
host_alias
 
593
build_alias
 
594
LIBS
 
595
ECHO_T
 
596
ECHO_N
 
597
ECHO_C
 
598
DEFS
 
599
mandir
 
600
localedir
 
601
libdir
 
602
psdir
 
603
pdfdir
 
604
dvidir
 
605
htmldir
 
606
infodir
 
607
docdir
 
608
oldincludedir
 
609
includedir
 
610
localstatedir
 
611
sharedstatedir
 
612
sysconfdir
 
613
datadir
 
614
datarootdir
 
615
libexecdir
 
616
sbindir
 
617
bindir
 
618
program_transform_name
 
619
prefix
 
620
exec_prefix
 
621
PACKAGE_URL
 
622
PACKAGE_BUGREPORT
 
623
PACKAGE_STRING
 
624
PACKAGE_VERSION
 
625
PACKAGE_TARNAME
 
626
PACKAGE_NAME
583
627
PATH_SEPARATOR
584
 
PACKAGE_NAME
585
 
PACKAGE_TARNAME
586
 
PACKAGE_VERSION
587
 
PACKAGE_STRING
588
 
PACKAGE_BUGREPORT
589
 
exec_prefix
590
 
prefix
591
 
program_transform_name
592
 
bindir
593
 
sbindir
594
 
libexecdir
595
 
datarootdir
596
 
datadir
597
 
sysconfdir
598
 
sharedstatedir
599
 
localstatedir
600
 
includedir
601
 
oldincludedir
602
 
docdir
603
 
infodir
604
 
htmldir
605
 
dvidir
606
 
pdfdir
607
 
psdir
608
 
libdir
609
 
localedir
610
 
mandir
611
 
DEFS
612
 
ECHO_C
613
 
ECHO_N
614
 
ECHO_T
615
 
LIBS
616
 
build_alias
617
 
host_alias
618
 
target_alias
619
 
INSTALL_PROGRAM
620
 
INSTALL_SCRIPT
621
 
INSTALL_DATA
622
 
am__isrc
623
 
CYGPATH_W
624
 
PACKAGE
625
 
VERSION
626
 
ACLOCAL
627
 
AUTOCONF
628
 
AUTOMAKE
629
 
AUTOHEADER
630
 
MAKEINFO
631
 
install_sh
632
 
STRIP
633
 
INSTALL_STRIP_PROGRAM
634
 
mkdir_p
635
 
AWK
636
 
SET_MAKE
637
 
am__leading_dot
638
 
AMTAR
639
 
am__tar
640
 
am__untar
641
 
SBINDIR
642
 
SYSCONFDIR
643
 
LOCALSTATEDIR
644
 
PERL
645
 
PERL_SHEBANG
646
 
PERL_SITELIB
647
 
LIBOBJS
648
 
LTLIBOBJS'
 
628
SHELL'
649
629
ac_subst_files=''
 
630
ac_user_opts='
 
631
enable_option_checking
 
632
'
650
633
      ac_precious_vars='build_alias
651
634
host_alias
652
635
target_alias'
655
638
# Initialize some variables set by options.
656
639
ac_init_help=
657
640
ac_init_version=false
 
641
ac_unrecognized_opts=
 
642
ac_unrecognized_sep=
658
643
# The variables have the same names as the options, with
659
644
# dashes changed to underlines.
660
645
cache_file=/dev/null
710
695
  fi
711
696
 
712
697
  case $ac_option in
713
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714
 
  *)    ac_optarg=yes ;;
 
698
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
699
  *=)   ac_optarg= ;;
 
700
  *)    ac_optarg=yes ;;
715
701
  esac
716
702
 
717
703
  # Accept the important Cygnus configure options, so we can diagnose typos.
753
739
    datarootdir=$ac_optarg ;;
754
740
 
755
741
  -disable-* | --disable-*)
756
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
742
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757
743
    # Reject names that are not valid shell variable names.
758
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760
 
   { (exit 1); exit 1; }; }
761
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
762
 
    eval enable_$ac_feature=no ;;
 
744
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
745
      as_fn_error $? "invalid feature name: $ac_useropt"
 
746
    ac_useropt_orig=$ac_useropt
 
747
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
748
    case $ac_user_opts in
 
749
      *"
 
750
"enable_$ac_useropt"
 
751
"*) ;;
 
752
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
753
         ac_unrecognized_sep=', ';;
 
754
    esac
 
755
    eval enable_$ac_useropt=no ;;
763
756
 
764
757
  -docdir | --docdir | --docdi | --doc | --do)
765
758
    ac_prev=docdir ;;
772
765
    dvidir=$ac_optarg ;;
773
766
 
774
767
  -enable-* | --enable-*)
775
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
768
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776
769
    # Reject names that are not valid shell variable names.
777
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
778
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
779
 
   { (exit 1); exit 1; }; }
780
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
781
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
770
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
771
      as_fn_error $? "invalid feature name: $ac_useropt"
 
772
    ac_useropt_orig=$ac_useropt
 
773
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
774
    case $ac_user_opts in
 
775
      *"
 
776
"enable_$ac_useropt"
 
777
"*) ;;
 
778
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
779
         ac_unrecognized_sep=', ';;
 
780
    esac
 
781
    eval enable_$ac_useropt=\$ac_optarg ;;
782
782
 
783
783
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784
784
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
969
969
    ac_init_version=: ;;
970
970
 
971
971
  -with-* | --with-*)
972
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
972
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973
973
    # Reject names that are not valid shell variable names.
974
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
975
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
976
 
   { (exit 1); exit 1; }; }
977
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
978
 
    eval with_$ac_package=\$ac_optarg ;;
 
974
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
975
      as_fn_error $? "invalid package name: $ac_useropt"
 
976
    ac_useropt_orig=$ac_useropt
 
977
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
978
    case $ac_user_opts in
 
979
      *"
 
980
"with_$ac_useropt"
 
981
"*) ;;
 
982
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
983
         ac_unrecognized_sep=', ';;
 
984
    esac
 
985
    eval with_$ac_useropt=\$ac_optarg ;;
979
986
 
980
987
  -without-* | --without-*)
981
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
988
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
982
989
    # Reject names that are not valid shell variable names.
983
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
985
 
   { (exit 1); exit 1; }; }
986
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987
 
    eval with_$ac_package=no ;;
 
990
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
991
      as_fn_error $? "invalid package name: $ac_useropt"
 
992
    ac_useropt_orig=$ac_useropt
 
993
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
994
    case $ac_user_opts in
 
995
      *"
 
996
"with_$ac_useropt"
 
997
"*) ;;
 
998
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
999
         ac_unrecognized_sep=', ';;
 
1000
    esac
 
1001
    eval with_$ac_useropt=no ;;
988
1002
 
989
1003
  --x)
990
1004
    # Obsolete; use --with-x.
1004
1018
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1005
1019
    x_libraries=$ac_optarg ;;
1006
1020
 
1007
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1008
 
Try \`$0 --help' for more information." >&2
1009
 
   { (exit 1); exit 1; }; }
 
1021
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1022
Try \`$0 --help' for more information"
1010
1023
    ;;
1011
1024
 
1012
1025
  *=*)
1013
1026
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1014
1027
    # Reject names that are not valid shell variable names.
1015
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1016
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1017
 
   { (exit 1); exit 1; }; }
 
1028
    case $ac_envvar in #(
 
1029
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1030
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1031
    esac
1018
1032
    eval $ac_envvar=\$ac_optarg
1019
1033
    export $ac_envvar ;;
1020
1034
 
1021
1035
  *)
1022
1036
    # FIXME: should be removed in autoconf 3.0.
1023
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1037
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1024
1038
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1039
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1026
1040
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1027
1041
    ;;
1028
1042
 
1031
1045
 
1032
1046
if test -n "$ac_prev"; then
1033
1047
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1034
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1035
 
   { (exit 1); exit 1; }; }
1036
 
fi
1037
 
 
1038
 
# Be sure to have absolute directory names.
 
1048
  as_fn_error $? "missing argument to $ac_option"
 
1049
fi
 
1050
 
 
1051
if test -n "$ac_unrecognized_opts"; then
 
1052
  case $enable_option_checking in
 
1053
    no) ;;
 
1054
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1055
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1056
  esac
 
1057
fi
 
1058
 
 
1059
# Check all directory arguments for consistency.
1039
1060
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1040
1061
                datadir sysconfdir sharedstatedir localstatedir includedir \
1041
1062
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1042
1063
                libdir localedir mandir
1043
1064
do
1044
1065
  eval ac_val=\$$ac_var
 
1066
  # Remove trailing slashes.
 
1067
  case $ac_val in
 
1068
    */ )
 
1069
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1070
      eval $ac_var=\$ac_val;;
 
1071
  esac
 
1072
  # Be sure to have absolute directory names.
1045
1073
  case $ac_val in
1046
1074
    [\\/$]* | ?:[\\/]* )  continue;;
1047
1075
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1048
1076
  esac
1049
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1050
 
   { (exit 1); exit 1; }; }
 
1077
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1051
1078
done
1052
1079
 
1053
1080
# There might be people who depend on the old broken behavior: `$host'
1061
1088
if test "x$host_alias" != x; then
1062
1089
  if test "x$build_alias" = x; then
1063
1090
    cross_compiling=maybe
1064
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1065
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1091
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1092
    If a cross compiler is detected then cross compile mode will be used" >&2
1066
1093
  elif test "x$build_alias" != "x$host_alias"; then
1067
1094
    cross_compiling=yes
1068
1095
  fi
1077
1104
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1078
1105
ac_ls_di=`ls -di .` &&
1079
1106
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1080
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1081
 
   { (exit 1); exit 1; }; }
 
1107
  as_fn_error $? "working directory cannot be determined"
1082
1108
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1083
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1084
 
   { (exit 1); exit 1; }; }
 
1109
  as_fn_error $? "pwd does not report name of working directory"
1085
1110
 
1086
1111
 
1087
1112
# Find the source files, if location was not specified.
1088
1113
if test -z "$srcdir"; then
1089
1114
  ac_srcdir_defaulted=yes
1090
1115
  # Try the directory containing this script, then the parent directory.
1091
 
  ac_confdir=`$as_dirname -- "$0" ||
1092
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1093
 
         X"$0" : 'X\(//\)[^/]' \| \
1094
 
         X"$0" : 'X\(//\)$' \| \
1095
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1096
 
echo X"$0" |
 
1116
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1117
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1118
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1119
         X"$as_myself" : 'X\(//\)$' \| \
 
1120
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1121
$as_echo X"$as_myself" |
1097
1122
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1098
1123
            s//\1/
1099
1124
            q
1120
1145
fi
1121
1146
if test ! -r "$srcdir/$ac_unique_file"; then
1122
1147
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1123
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1124
 
   { (exit 1); exit 1; }; }
 
1148
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1125
1149
fi
1126
1150
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1127
1151
ac_abs_confdir=`(
1128
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1129
 
   { (exit 1); exit 1; }; }
 
1152
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1130
1153
        pwd)`
1131
1154
# When building in place, set srcdir=.
1132
1155
if test "$ac_abs_confdir" = "$ac_pwd"; then
1152
1175
  # Omit some internal or obsolete options to make the list less imposing.
1153
1176
  # This message is too long to be a string in the A/UX 3.1 sh.
1154
1177
  cat <<_ACEOF
1155
 
\`configure' configures atool 0.37.0 to adapt to many kinds of systems.
 
1178
\`configure' configures atool 0.38.0 to adapt to many kinds of systems.
1156
1179
 
1157
1180
Usage: $0 [OPTION]... [VAR=VALUE]...
1158
1181
 
1166
1189
      --help=short        display options specific to this package
1167
1190
      --help=recursive    display the short help of all the included packages
1168
1191
  -V, --version           display version information and exit
1169
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1192
  -q, --quiet, --silent   do not print \`checking ...' messages
1170
1193
      --cache-file=FILE   cache test results in FILE [disabled]
1171
1194
  -C, --config-cache      alias for \`--cache-file=config.cache'
1172
1195
  -n, --no-create         do not create output files
1174
1197
 
1175
1198
Installation directories:
1176
1199
  --prefix=PREFIX         install architecture-independent files in PREFIX
1177
 
                          [$ac_default_prefix]
 
1200
                          [$ac_default_prefix]
1178
1201
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1179
 
                          [PREFIX]
 
1202
                          [PREFIX]
1180
1203
 
1181
1204
By default, \`make install' will install all the files in
1182
1205
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1186
1209
For better control, use the options below.
1187
1210
 
1188
1211
Fine tuning of the installation directories:
1189
 
  --bindir=DIR           user executables [EPREFIX/bin]
1190
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1191
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1192
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1193
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1194
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1195
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1196
 
  --includedir=DIR       C header files [PREFIX/include]
1197
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1198
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1199
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1200
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1201
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1202
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1203
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/atool]
1204
 
  --htmldir=DIR          html documentation [DOCDIR]
1205
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1206
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1207
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1212
  --bindir=DIR            user executables [EPREFIX/bin]
 
1213
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1214
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1215
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1216
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1217
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1218
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1219
  --includedir=DIR        C header files [PREFIX/include]
 
1220
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1221
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1222
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1223
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1224
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1225
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1226
  --docdir=DIR            documentation root [DATAROOTDIR/doc/atool]
 
1227
  --htmldir=DIR           html documentation [DOCDIR]
 
1228
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1229
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1230
  --psdir=DIR             ps documentation [DOCDIR]
1208
1231
_ACEOF
1209
1232
 
1210
1233
  cat <<\_ACEOF
1218
1241
 
1219
1242
if test -n "$ac_init_help"; then
1220
1243
  case $ac_init_help in
1221
 
     short | recursive ) echo "Configuration of atool 0.37.0:";;
 
1244
     short | recursive ) echo "Configuration of atool 0.38.0:";;
1222
1245
   esac
1223
1246
  cat <<\_ACEOF
1224
1247
 
1230
1253
if test "$ac_init_help" = "recursive"; then
1231
1254
  # If there are subdirs, report their specific --help.
1232
1255
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1233
 
    test -d "$ac_dir" || continue
 
1256
    test -d "$ac_dir" ||
 
1257
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1258
      continue
1234
1259
    ac_builddir=.
1235
1260
 
1236
1261
case "$ac_dir" in
1237
1262
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1238
1263
*)
1239
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1264
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1240
1265
  # A ".." for each directory in $ac_dir_suffix.
1241
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1266
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1242
1267
  case $ac_top_builddir_sub in
1243
1268
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244
1269
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1274
1299
      echo &&
1275
1300
      $SHELL "$ac_srcdir/configure" --help=recursive
1276
1301
    else
1277
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1302
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278
1303
    fi || ac_status=$?
1279
1304
    cd "$ac_pwd" || { ac_status=$?; break; }
1280
1305
  done
1283
1308
test -n "$ac_init_help" && exit $ac_status
1284
1309
if $ac_init_version; then
1285
1310
  cat <<\_ACEOF
1286
 
atool configure 0.37.0
1287
 
generated by GNU Autoconf 2.61
 
1311
atool configure 0.38.0
 
1312
generated by GNU Autoconf 2.67
1288
1313
 
1289
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1290
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1314
Copyright (C) 2010 Free Software Foundation, Inc.
1291
1315
This configure script is free software; the Free Software Foundation
1292
1316
gives unlimited permission to copy, distribute and modify it.
1293
1317
_ACEOF
1294
1318
  exit
1295
1319
fi
 
1320
 
 
1321
## ------------------------ ##
 
1322
## Autoconf initialization. ##
 
1323
## ------------------------ ##
1296
1324
cat >config.log <<_ACEOF
1297
1325
This file contains any messages produced by compilers while
1298
1326
running configure, to aid debugging if configure makes a mistake.
1299
1327
 
1300
 
It was created by atool $as_me 0.37.0, which was
1301
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1328
It was created by atool $as_me 0.38.0, which was
 
1329
generated by GNU Autoconf 2.67.  Invocation command line was
1302
1330
 
1303
1331
  $ $0 $@
1304
1332
 
1334
1362
do
1335
1363
  IFS=$as_save_IFS
1336
1364
  test -z "$as_dir" && as_dir=.
1337
 
  echo "PATH: $as_dir"
1338
 
done
 
1365
    $as_echo "PATH: $as_dir"
 
1366
  done
1339
1367
IFS=$as_save_IFS
1340
1368
 
1341
1369
} >&5
1369
1397
    | -silent | --silent | --silen | --sile | --sil)
1370
1398
      continue ;;
1371
1399
    *\'*)
1372
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1400
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1373
1401
    esac
1374
1402
    case $ac_pass in
1375
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1403
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1376
1404
    2)
1377
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1405
      as_fn_append ac_configure_args1 " '$ac_arg'"
1378
1406
      if test $ac_must_keep_next = true; then
1379
1407
        ac_must_keep_next=false # Got value, back to normal.
1380
1408
      else
1390
1418
          -* ) ac_must_keep_next=true ;;
1391
1419
        esac
1392
1420
      fi
1393
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1421
      as_fn_append ac_configure_args " '$ac_arg'"
1394
1422
      ;;
1395
1423
    esac
1396
1424
  done
1397
1425
done
1398
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1399
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1426
{ ac_configure_args0=; unset ac_configure_args0;}
 
1427
{ ac_configure_args1=; unset ac_configure_args1;}
1400
1428
 
1401
1429
# When interrupted or exit'd, cleanup temporary files, and complete
1402
1430
# config.log.  We remove comments because anyway the quotes in there
1408
1436
  {
1409
1437
    echo
1410
1438
 
1411
 
    cat <<\_ASBOX
1412
 
## ---------------- ##
 
1439
    $as_echo "## ---------------- ##
1413
1440
## Cache variables. ##
1414
 
## ---------------- ##
1415
 
_ASBOX
 
1441
## ---------------- ##"
1416
1442
    echo
1417
1443
    # The following way of writing the cache mishandles newlines in values,
1418
1444
(
1421
1447
    case $ac_val in #(
1422
1448
    *${as_nl}*)
1423
1449
      case $ac_var in #(
1424
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1425
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1450
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1451
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1426
1452
      esac
1427
1453
      case $ac_var in #(
1428
1454
      _ | IFS | as_nl) ;; #(
1429
 
      *) $as_unset $ac_var ;;
 
1455
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1456
      *) { eval $ac_var=; unset $ac_var;} ;;
1430
1457
      esac ;;
1431
1458
    esac
1432
1459
  done
1445
1472
)
1446
1473
    echo
1447
1474
 
1448
 
    cat <<\_ASBOX
1449
 
## ----------------- ##
 
1475
    $as_echo "## ----------------- ##
1450
1476
## Output variables. ##
1451
 
## ----------------- ##
1452
 
_ASBOX
 
1477
## ----------------- ##"
1453
1478
    echo
1454
1479
    for ac_var in $ac_subst_vars
1455
1480
    do
1456
1481
      eval ac_val=\$$ac_var
1457
1482
      case $ac_val in
1458
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1483
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459
1484
      esac
1460
 
      echo "$ac_var='\''$ac_val'\''"
 
1485
      $as_echo "$ac_var='\''$ac_val'\''"
1461
1486
    done | sort
1462
1487
    echo
1463
1488
 
1464
1489
    if test -n "$ac_subst_files"; then
1465
 
      cat <<\_ASBOX
1466
 
## ------------------- ##
 
1490
      $as_echo "## ------------------- ##
1467
1491
## File substitutions. ##
1468
 
## ------------------- ##
1469
 
_ASBOX
 
1492
## ------------------- ##"
1470
1493
      echo
1471
1494
      for ac_var in $ac_subst_files
1472
1495
      do
1473
1496
        eval ac_val=\$$ac_var
1474
1497
        case $ac_val in
1475
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1498
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1476
1499
        esac
1477
 
        echo "$ac_var='\''$ac_val'\''"
 
1500
        $as_echo "$ac_var='\''$ac_val'\''"
1478
1501
      done | sort
1479
1502
      echo
1480
1503
    fi
1481
1504
 
1482
1505
    if test -s confdefs.h; then
1483
 
      cat <<\_ASBOX
1484
 
## ----------- ##
 
1506
      $as_echo "## ----------- ##
1485
1507
## confdefs.h. ##
1486
 
## ----------- ##
1487
 
_ASBOX
 
1508
## ----------- ##"
1488
1509
      echo
1489
1510
      cat confdefs.h
1490
1511
      echo
1491
1512
    fi
1492
1513
    test "$ac_signal" != 0 &&
1493
 
      echo "$as_me: caught signal $ac_signal"
1494
 
    echo "$as_me: exit $exit_status"
 
1514
      $as_echo "$as_me: caught signal $ac_signal"
 
1515
    $as_echo "$as_me: exit $exit_status"
1495
1516
  } >&5
1496
1517
  rm -f core *.core core.conftest.* &&
1497
1518
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1498
1519
    exit $exit_status
1499
1520
' 0
1500
1521
for ac_signal in 1 2 13 15; do
1501
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1522
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1502
1523
done
1503
1524
ac_signal=0
1504
1525
 
1505
1526
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1506
1527
rm -f -r conftest* confdefs.h
1507
1528
 
 
1529
$as_echo "/* confdefs.h */" > confdefs.h
 
1530
 
1508
1531
# Predefined preprocessor variables.
1509
1532
 
1510
1533
cat >>confdefs.h <<_ACEOF
1511
1534
#define PACKAGE_NAME "$PACKAGE_NAME"
1512
1535
_ACEOF
1513
1536
 
1514
 
 
1515
1537
cat >>confdefs.h <<_ACEOF
1516
1538
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1517
1539
_ACEOF
1518
1540
 
1519
 
 
1520
1541
cat >>confdefs.h <<_ACEOF
1521
1542
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1522
1543
_ACEOF
1523
1544
 
1524
 
 
1525
1545
cat >>confdefs.h <<_ACEOF
1526
1546
#define PACKAGE_STRING "$PACKAGE_STRING"
1527
1547
_ACEOF
1528
1548
 
1529
 
 
1530
1549
cat >>confdefs.h <<_ACEOF
1531
1550
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1532
1551
_ACEOF
1533
1552
 
 
1553
cat >>confdefs.h <<_ACEOF
 
1554
#define PACKAGE_URL "$PACKAGE_URL"
 
1555
_ACEOF
 
1556
 
1534
1557
 
1535
1558
# Let the site file select an alternate cache file if it wants to.
1536
 
# Prefer explicitly selected file to automatically selected ones.
 
1559
# Prefer an explicitly selected file to automatically selected ones.
 
1560
ac_site_file1=NONE
 
1561
ac_site_file2=NONE
1537
1562
if test -n "$CONFIG_SITE"; then
1538
 
  set x "$CONFIG_SITE"
 
1563
  # We do not want a PATH search for config.site.
 
1564
  case $CONFIG_SITE in #((
 
1565
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1566
    */*) ac_site_file1=$CONFIG_SITE;;
 
1567
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1568
  esac
1539
1569
elif test "x$prefix" != xNONE; then
1540
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1570
  ac_site_file1=$prefix/share/config.site
 
1571
  ac_site_file2=$prefix/etc/config.site
1541
1572
else
1542
 
  set x "$ac_default_prefix/share/config.site" \
1543
 
        "$ac_default_prefix/etc/config.site"
 
1573
  ac_site_file1=$ac_default_prefix/share/config.site
 
1574
  ac_site_file2=$ac_default_prefix/etc/config.site
1544
1575
fi
1545
 
shift
1546
 
for ac_site_file
 
1576
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1547
1577
do
1548
 
  if test -r "$ac_site_file"; then
1549
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1578
  test "x$ac_site_file" = xNONE && continue
 
1579
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1580
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
1581
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1551
1582
    sed 's/^/| /' "$ac_site_file" >&5
1552
 
    . "$ac_site_file"
 
1583
    . "$ac_site_file" \
 
1584
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1585
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1586
as_fn_error $? "failed to load site script $ac_site_file
 
1587
See \`config.log' for more details" "$LINENO" 5 ; }
1553
1588
  fi
1554
1589
done
1555
1590
 
1556
1591
if test -r "$cache_file"; then
1557
 
  # Some versions of bash will fail to source /dev/null (special
1558
 
  # files actually), so we avoid doing that.
1559
 
  if test -f "$cache_file"; then
1560
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1592
  # Some versions of bash will fail to source /dev/null (special files
 
1593
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1594
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1595
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
1596
$as_echo "$as_me: loading cache $cache_file" >&6;}
1562
1597
    case $cache_file in
1563
1598
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1564
1599
      *)                      . "./$cache_file";;
1565
1600
    esac
1566
1601
  fi
1567
1602
else
1568
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1603
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
1604
$as_echo "$as_me: creating cache $cache_file" >&6;}
1570
1605
  >$cache_file
1571
1606
fi
1572
1607
 
1580
1615
  eval ac_new_val=\$ac_env_${ac_var}_value
1581
1616
  case $ac_old_set,$ac_new_set in
1582
1617
    set,)
1583
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1584
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1618
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1619
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1585
1620
      ac_cache_corrupted=: ;;
1586
1621
    ,set)
1587
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1588
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1622
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
1623
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1589
1624
      ac_cache_corrupted=: ;;
1590
1625
    ,);;
1591
1626
    *)
1592
1627
      if test "x$ac_old_val" != "x$ac_new_val"; then
1593
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1594
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1595
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1596
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1597
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1598
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1599
 
        ac_cache_corrupted=:
 
1628
        # differences in whitespace do not lead to failure.
 
1629
        ac_old_val_w=`echo x $ac_old_val`
 
1630
        ac_new_val_w=`echo x $ac_new_val`
 
1631
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1632
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
1633
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1634
          ac_cache_corrupted=:
 
1635
        else
 
1636
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1637
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1638
          eval $ac_var=\$ac_old_val
 
1639
        fi
 
1640
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
1641
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1642
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
1643
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1600
1644
      fi;;
1601
1645
  esac
1602
1646
  # Pass precious variables to config.status.
1603
1647
  if test "$ac_new_set" = set; then
1604
1648
    case $ac_new_val in
1605
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1649
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1606
1650
    *) ac_arg=$ac_var=$ac_new_val ;;
1607
1651
    esac
1608
1652
    case " $ac_configure_args " in
1609
1653
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1610
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1654
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1611
1655
    esac
1612
1656
  fi
1613
1657
done
1614
1658
if $ac_cache_corrupted; then
1615
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1616
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1617
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1618
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1619
 
   { (exit 1); exit 1; }; }
 
1659
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1660
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1661
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
1662
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1663
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1620
1664
fi
1621
 
 
1622
 
 
1623
 
 
1624
 
 
1625
 
 
1626
 
 
1627
 
 
1628
 
 
1629
 
 
1630
 
 
1631
 
 
1632
 
 
1633
 
 
1634
 
 
1635
 
 
1636
 
 
1637
 
 
1638
 
 
1639
 
 
1640
 
 
1641
 
 
1642
 
 
1643
 
 
1644
 
 
 
1665
## -------------------- ##
 
1666
## Main body of script. ##
 
1667
## -------------------- ##
1645
1668
 
1646
1669
ac_ext=c
1647
1670
ac_cpp='$CPP $CPPFLAGS'
1669
1692
  fi
1670
1693
done
1671
1694
if test -z "$ac_aux_dir"; then
1672
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1673
 
echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1674
 
   { (exit 1); exit 1; }; }
 
1695
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1675
1696
fi
1676
1697
 
1677
1698
# These three variables are undocumented and unsupported,
1683
1704
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1684
1705
 
1685
1706
 
1686
 
am__api_version='1.10'
 
1707
am__api_version='1.11'
1687
1708
 
1688
1709
# Find a good install program.  We prefer a C program (faster),
1689
1710
# so one script is as good as another.  But avoid the broken or
1698
1719
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1699
1720
# OS/2's system install, which has a completely different semantic
1700
1721
# ./install, which can be erroneously created by make from ./install.sh.
1701
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1702
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1722
# Reject install programs that cannot install multiple files.
 
1723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
1724
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1703
1725
if test -z "$INSTALL"; then
1704
 
if test "${ac_cv_path_install+set}" = set; then
1705
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1726
if test "${ac_cv_path_install+set}" = set; then :
 
1727
  $as_echo_n "(cached) " >&6
1706
1728
else
1707
1729
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708
1730
for as_dir in $PATH
1709
1731
do
1710
1732
  IFS=$as_save_IFS
1711
1733
  test -z "$as_dir" && as_dir=.
1712
 
  # Account for people who put trailing slashes in PATH elements.
1713
 
case $as_dir/ in
1714
 
  ./ | .// | /cC/* | \
 
1734
    # Account for people who put trailing slashes in PATH elements.
 
1735
case $as_dir/ in #((
 
1736
  ./ | .// | /[cC]/* | \
1715
1737
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1716
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1738
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1717
1739
  /usr/ucb/* ) ;;
1718
1740
  *)
1719
1741
    # OSF1 and SCO ODT 3.0 have their own names for install.
1731
1753
            # program-specific install script used by HP pwplus--don't use.
1732
1754
            :
1733
1755
          else
1734
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1735
 
            break 3
 
1756
            rm -rf conftest.one conftest.two conftest.dir
 
1757
            echo one > conftest.one
 
1758
            echo two > conftest.two
 
1759
            mkdir conftest.dir
 
1760
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1761
              test -s conftest.one && test -s conftest.two &&
 
1762
              test -s conftest.dir/conftest.one &&
 
1763
              test -s conftest.dir/conftest.two
 
1764
            then
 
1765
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1766
              break 3
 
1767
            fi
1736
1768
          fi
1737
1769
        fi
1738
1770
      done
1739
1771
    done
1740
1772
    ;;
1741
1773
esac
1742
 
done
 
1774
 
 
1775
  done
1743
1776
IFS=$as_save_IFS
1744
1777
 
 
1778
rm -rf conftest.one conftest.two conftest.dir
1745
1779
 
1746
1780
fi
1747
1781
  if test "${ac_cv_path_install+set}" = set; then
1754
1788
    INSTALL=$ac_install_sh
1755
1789
  fi
1756
1790
fi
1757
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1758
 
echo "${ECHO_T}$INSTALL" >&6; }
 
1791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
1792
$as_echo "$INSTALL" >&6; }
1759
1793
 
1760
1794
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1761
1795
# It thinks the first close brace ends the variable substitution.
1765
1799
 
1766
1800
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1767
1801
 
1768
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1769
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
1803
$as_echo_n "checking whether build environment is sane... " >&6; }
1770
1804
# Just in case
1771
1805
sleep 1
1772
1806
echo timestamp > conftest.file
 
1807
# Reject unsafe characters in $srcdir or the absolute working directory
 
1808
# name.  Accept space and tab only in the latter.
 
1809
am_lf='
 
1810
'
 
1811
case `pwd` in
 
1812
  *[\\\"\#\$\&\'\`$am_lf]*)
 
1813
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
1814
esac
 
1815
case $srcdir in
 
1816
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
1817
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
1818
esac
 
1819
 
1773
1820
# Do `set' in a subshell so we don't clobber the current shell's
1774
1821
# arguments.  Must try -L first in case configure is actually a
1775
1822
# symlink; some systems play weird games with the mod time of symlinks
1776
1823
# (eg FreeBSD returns the mod time of the symlink's containing
1777
1824
# directory).
1778
1825
if (
1779
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1826
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1780
1827
   if test "$*" = "X"; then
1781
1828
      # -L didn't work.
1782
 
      set X `ls -t $srcdir/configure conftest.file`
 
1829
      set X `ls -t "$srcdir/configure" conftest.file`
1783
1830
   fi
1784
1831
   rm -f conftest.file
1785
1832
   if test "$*" != "X $srcdir/configure conftest.file" \
1789
1836
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1790
1837
      # broken ls alias from the environment.  This has actually
1791
1838
      # happened.  Such a system could not be considered "sane".
1792
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1793
 
alias in your environment" >&5
1794
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1795
 
alias in your environment" >&2;}
1796
 
   { (exit 1); exit 1; }; }
 
1839
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
1840
alias in your environment" "$LINENO" 5
1797
1841
   fi
1798
1842
 
1799
1843
   test "$2" = conftest.file
1802
1846
   # Ok.
1803
1847
   :
1804
1848
else
1805
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1806
 
Check your system clock" >&5
1807
 
echo "$as_me: error: newly created file is older than distributed files!
1808
 
Check your system clock" >&2;}
1809
 
   { (exit 1); exit 1; }; }
 
1849
   as_fn_error $? "newly created file is older than distributed files!
 
1850
Check your system clock" "$LINENO" 5
1810
1851
fi
1811
 
{ echo "$as_me:$LINENO: result: yes" >&5
1812
 
echo "${ECHO_T}yes" >&6; }
 
1852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
1853
$as_echo "yes" >&6; }
1813
1854
test "$program_prefix" != NONE &&
1814
1855
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1815
1856
# Use a double $ so make ignores it.
1816
1857
test "$program_suffix" != NONE &&
1817
1858
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1818
 
# Double any \ or $.  echo might interpret backslashes.
 
1859
# Double any \ or $.
1819
1860
# By default was `s,x,x', remove it if useless.
1820
 
cat <<\_ACEOF >conftest.sed
1821
 
s/[\\$]/&&/g;s/;s,x,x,$//
1822
 
_ACEOF
1823
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1824
 
rm -f conftest.sed
 
1861
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
1862
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1825
1863
 
1826
1864
# expand $ac_aux_dir to an absolute path
1827
1865
am_aux_dir=`cd $ac_aux_dir && pwd`
1828
1866
 
1829
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1867
if test x"${MISSING+set}" != xset; then
 
1868
  case $am_aux_dir in
 
1869
  *\ * | *\     *)
 
1870
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
1871
  *)
 
1872
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
1873
  esac
 
1874
fi
1830
1875
# Use eval to expand $SHELL
1831
1876
if eval "$MISSING --run true"; then
1832
1877
  am_missing_run="$MISSING --run "
1833
1878
else
1834
1879
  am_missing_run=
1835
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1836
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1837
 
fi
1838
 
 
1839
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1840
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
1880
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
1881
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1882
fi
 
1883
 
 
1884
if test x"${install_sh}" != xset; then
 
1885
  case $am_aux_dir in
 
1886
  *\ * | *\     *)
 
1887
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
1888
  *)
 
1889
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
1890
  esac
 
1891
fi
 
1892
 
 
1893
# Installed binaries are usually stripped using `strip' when the user
 
1894
# run `make install-strip'.  However `strip' might not be the right
 
1895
# tool to use in cross-compilation environments, therefore Automake
 
1896
# will honor the `STRIP' environment variable to overrule this program.
 
1897
if test "$cross_compiling" != no; then
 
1898
  if test -n "$ac_tool_prefix"; then
 
1899
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1900
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1902
$as_echo_n "checking for $ac_word... " >&6; }
 
1903
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
1904
  $as_echo_n "(cached) " >&6
 
1905
else
 
1906
  if test -n "$STRIP"; then
 
1907
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1908
else
 
1909
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1910
for as_dir in $PATH
 
1911
do
 
1912
  IFS=$as_save_IFS
 
1913
  test -z "$as_dir" && as_dir=.
 
1914
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1916
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1917
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1918
    break 2
 
1919
  fi
 
1920
done
 
1921
  done
 
1922
IFS=$as_save_IFS
 
1923
 
 
1924
fi
 
1925
fi
 
1926
STRIP=$ac_cv_prog_STRIP
 
1927
if test -n "$STRIP"; then
 
1928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
1929
$as_echo "$STRIP" >&6; }
 
1930
else
 
1931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1932
$as_echo "no" >&6; }
 
1933
fi
 
1934
 
 
1935
 
 
1936
fi
 
1937
if test -z "$ac_cv_prog_STRIP"; then
 
1938
  ac_ct_STRIP=$STRIP
 
1939
  # Extract the first word of "strip", so it can be a program name with args.
 
1940
set dummy strip; ac_word=$2
 
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1942
$as_echo_n "checking for $ac_word... " >&6; }
 
1943
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
1944
  $as_echo_n "(cached) " >&6
 
1945
else
 
1946
  if test -n "$ac_ct_STRIP"; then
 
1947
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1948
else
 
1949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1950
for as_dir in $PATH
 
1951
do
 
1952
  IFS=$as_save_IFS
 
1953
  test -z "$as_dir" && as_dir=.
 
1954
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1955
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1956
    ac_cv_prog_ac_ct_STRIP="strip"
 
1957
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1958
    break 2
 
1959
  fi
 
1960
done
 
1961
  done
 
1962
IFS=$as_save_IFS
 
1963
 
 
1964
fi
 
1965
fi
 
1966
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1967
if test -n "$ac_ct_STRIP"; then
 
1968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
1969
$as_echo "$ac_ct_STRIP" >&6; }
 
1970
else
 
1971
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1972
$as_echo "no" >&6; }
 
1973
fi
 
1974
 
 
1975
  if test "x$ac_ct_STRIP" = x; then
 
1976
    STRIP=":"
 
1977
  else
 
1978
    case $cross_compiling:$ac_tool_warned in
 
1979
yes:)
 
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
1981
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
1982
ac_tool_warned=yes ;;
 
1983
esac
 
1984
    STRIP=$ac_ct_STRIP
 
1985
  fi
 
1986
else
 
1987
  STRIP="$ac_cv_prog_STRIP"
 
1988
fi
 
1989
 
 
1990
fi
 
1991
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
1992
 
 
1993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
1994
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1841
1995
if test -z "$MKDIR_P"; then
1842
 
  if test "${ac_cv_path_mkdir+set}" = set; then
1843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1996
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
1997
  $as_echo_n "(cached) " >&6
1844
1998
else
1845
1999
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846
2000
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1847
2001
do
1848
2002
  IFS=$as_save_IFS
1849
2003
  test -z "$as_dir" && as_dir=.
1850
 
  for ac_prog in mkdir gmkdir; do
 
2004
    for ac_prog in mkdir gmkdir; do
1851
2005
         for ac_exec_ext in '' $ac_executable_extensions; do
1852
2006
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1853
2007
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1859
2013
           esac
1860
2014
         done
1861
2015
       done
1862
 
done
 
2016
  done
1863
2017
IFS=$as_save_IFS
1864
2018
 
1865
2019
fi
1866
2020
 
 
2021
  test -d ./--version && rmdir ./--version
1867
2022
  if test "${ac_cv_path_mkdir+set}" = set; then
1868
2023
    MKDIR_P="$ac_cv_path_mkdir -p"
1869
2024
  else
1871
2026
    # value for MKDIR_P within a source directory, because that will
1872
2027
    # break other packages using the cache if that directory is
1873
2028
    # removed, or if the value is a relative name.
1874
 
    test -d ./--version && rmdir ./--version
1875
2029
    MKDIR_P="$ac_install_sh -d"
1876
2030
  fi
1877
2031
fi
1878
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1879
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2033
$as_echo "$MKDIR_P" >&6; }
1880
2034
 
1881
2035
mkdir_p="$MKDIR_P"
1882
2036
case $mkdir_p in
1888
2042
do
1889
2043
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1890
2044
set dummy $ac_prog; ac_word=$2
1891
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1892
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893
 
if test "${ac_cv_prog_AWK+set}" = set; then
1894
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2046
$as_echo_n "checking for $ac_word... " >&6; }
 
2047
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2048
  $as_echo_n "(cached) " >&6
1895
2049
else
1896
2050
  if test -n "$AWK"; then
1897
2051
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1901
2055
do
1902
2056
  IFS=$as_save_IFS
1903
2057
  test -z "$as_dir" && as_dir=.
1904
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2058
    for ac_exec_ext in '' $ac_executable_extensions; do
1905
2059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1906
2060
    ac_cv_prog_AWK="$ac_prog"
1907
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2061
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1908
2062
    break 2
1909
2063
  fi
1910
2064
done
1911
 
done
 
2065
  done
1912
2066
IFS=$as_save_IFS
1913
2067
 
1914
2068
fi
1915
2069
fi
1916
2070
AWK=$ac_cv_prog_AWK
1917
2071
if test -n "$AWK"; then
1918
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
1919
 
echo "${ECHO_T}$AWK" >&6; }
 
2072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2073
$as_echo "$AWK" >&6; }
1920
2074
else
1921
 
  { echo "$as_me:$LINENO: result: no" >&5
1922
 
echo "${ECHO_T}no" >&6; }
 
2075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2076
$as_echo "no" >&6; }
1923
2077
fi
1924
2078
 
1925
2079
 
1926
2080
  test -n "$AWK" && break
1927
2081
done
1928
2082
 
1929
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1930
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1931
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1932
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1933
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2084
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2085
set x ${MAKE-make}
 
2086
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2087
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2088
  $as_echo_n "(cached) " >&6
1934
2089
else
1935
2090
  cat >conftest.make <<\_ACEOF
1936
2091
SHELL = /bin/sh
1937
2092
all:
1938
2093
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1939
2094
_ACEOF
1940
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2095
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1941
2096
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1942
2097
  *@@@%%%=?*=@@@%%%*)
1943
2098
    eval ac_cv_prog_make_${ac_make}_set=yes;;
1947
2102
rm -f conftest.make
1948
2103
fi
1949
2104
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1950
 
  { echo "$as_me:$LINENO: result: yes" >&5
1951
 
echo "${ECHO_T}yes" >&6; }
 
2105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2106
$as_echo "yes" >&6; }
1952
2107
  SET_MAKE=
1953
2108
else
1954
 
  { echo "$as_me:$LINENO: result: no" >&5
1955
 
echo "${ECHO_T}no" >&6; }
 
2109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2110
$as_echo "no" >&6; }
1956
2111
  SET_MAKE="MAKE=${MAKE-make}"
1957
2112
fi
1958
2113
 
1971
2126
  am__isrc=' -I$(srcdir)'
1972
2127
  # test to see if srcdir already configured
1973
2128
  if test -f $srcdir/config.status; then
1974
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1975
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1976
 
   { (exit 1); exit 1; }; }
 
2129
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1977
2130
  fi
1978
2131
fi
1979
2132
 
1989
2142
 
1990
2143
# Define the identity of the package.
1991
2144
 PACKAGE='atool'
1992
 
 VERSION='0.37.0'
 
2145
 VERSION='0.38.0'
1993
2146
 
1994
2147
 
1995
2148
cat >>confdefs.h <<_ACEOF
2017
2170
 
2018
2171
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2019
2172
 
2020
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2021
 
 
2022
 
# Installed binaries are usually stripped using `strip' when the user
2023
 
# run `make install-strip'.  However `strip' might not be the right
2024
 
# tool to use in cross-compilation environments, therefore Automake
2025
 
# will honor the `STRIP' environment variable to overrule this program.
2026
 
if test "$cross_compiling" != no; then
2027
 
  if test -n "$ac_tool_prefix"; then
2028
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2029
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2030
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2031
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2034
 
else
2035
 
  if test -n "$STRIP"; then
2036
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2037
 
else
2038
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039
 
for as_dir in $PATH
2040
 
do
2041
 
  IFS=$as_save_IFS
2042
 
  test -z "$as_dir" && as_dir=.
2043
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2044
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2046
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047
 
    break 2
2048
 
  fi
2049
 
done
2050
 
done
2051
 
IFS=$as_save_IFS
2052
 
 
2053
 
fi
2054
 
fi
2055
 
STRIP=$ac_cv_prog_STRIP
2056
 
if test -n "$STRIP"; then
2057
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2058
 
echo "${ECHO_T}$STRIP" >&6; }
2059
 
else
2060
 
  { echo "$as_me:$LINENO: result: no" >&5
2061
 
echo "${ECHO_T}no" >&6; }
2062
 
fi
2063
 
 
2064
 
 
2065
 
fi
2066
 
if test -z "$ac_cv_prog_STRIP"; then
2067
 
  ac_ct_STRIP=$STRIP
2068
 
  # Extract the first word of "strip", so it can be a program name with args.
2069
 
set dummy strip; ac_word=$2
2070
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2071
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2073
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2074
 
else
2075
 
  if test -n "$ac_ct_STRIP"; then
2076
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2077
 
else
2078
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079
 
for as_dir in $PATH
2080
 
do
2081
 
  IFS=$as_save_IFS
2082
 
  test -z "$as_dir" && as_dir=.
2083
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2084
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085
 
    ac_cv_prog_ac_ct_STRIP="strip"
2086
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087
 
    break 2
2088
 
  fi
2089
 
done
2090
 
done
2091
 
IFS=$as_save_IFS
2092
 
 
2093
 
fi
2094
 
fi
2095
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2096
 
if test -n "$ac_ct_STRIP"; then
2097
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2098
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2099
 
else
2100
 
  { echo "$as_me:$LINENO: result: no" >&5
2101
 
echo "${ECHO_T}no" >&6; }
2102
 
fi
2103
 
 
2104
 
  if test "x$ac_ct_STRIP" = x; then
2105
 
    STRIP=":"
2106
 
  else
2107
 
    case $cross_compiling:$ac_tool_warned in
2108
 
yes:)
2109
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110
 
whose name does not start with the host triplet.  If you think this
2111
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2112
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113
 
whose name does not start with the host triplet.  If you think this
2114
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115
 
ac_tool_warned=yes ;;
2116
 
esac
2117
 
    STRIP=$ac_ct_STRIP
2118
 
  fi
2119
 
else
2120
 
  STRIP="$ac_cv_prog_STRIP"
2121
 
fi
2122
 
 
2123
 
fi
2124
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2125
 
 
2126
2173
# We need awk for the "check" target.  The system "awk" is bad on
2127
2174
# some platforms.
2128
2175
# Always define AMTAR for backward compatibility.
2175
2222
 
2176
2223
# Extract the first word of "perl", so it can be a program name with args.
2177
2224
set dummy perl; ac_word=$2
2178
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2179
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180
 
if test "${ac_cv_path_PERL+set}" = set; then
2181
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2226
$as_echo_n "checking for $ac_word... " >&6; }
 
2227
if test "${ac_cv_path_PERL+set}" = set; then :
 
2228
  $as_echo_n "(cached) " >&6
2182
2229
else
2183
2230
  case $PERL in
2184
2231
  [\\/]* | ?:[\\/]*)
2190
2237
do
2191
2238
  IFS=$as_save_IFS
2192
2239
  test -z "$as_dir" && as_dir=.
2193
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2240
    for ac_exec_ext in '' $ac_executable_extensions; do
2194
2241
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195
2242
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2196
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2243
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2197
2244
    break 2
2198
2245
  fi
2199
2246
done
2200
 
done
 
2247
  done
2201
2248
IFS=$as_save_IFS
2202
2249
 
2203
2250
  ;;
2205
2252
fi
2206
2253
PERL=$ac_cv_path_PERL
2207
2254
if test -n "$PERL"; then
2208
 
  { echo "$as_me:$LINENO: result: $PERL" >&5
2209
 
echo "${ECHO_T}$PERL" >&6; }
 
2255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
 
2256
$as_echo "$PERL" >&6; }
2210
2257
else
2211
 
  { echo "$as_me:$LINENO: result: no" >&5
2212
 
echo "${ECHO_T}no" >&6; }
 
2258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2259
$as_echo "no" >&6; }
2213
2260
fi
2214
2261
 
2215
2262
 
2264
2311
    case $ac_val in #(
2265
2312
    *${as_nl}*)
2266
2313
      case $ac_var in #(
2267
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2268
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2314
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2315
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2269
2316
      esac
2270
2317
      case $ac_var in #(
2271
2318
      _ | IFS | as_nl) ;; #(
2272
 
      *) $as_unset $ac_var ;;
 
2319
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2320
      *) { eval $ac_var=; unset $ac_var;} ;;
2273
2321
      esac ;;
2274
2322
    esac
2275
2323
  done
2277
2325
  (set) 2>&1 |
2278
2326
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2279
2327
    *${as_nl}ac_space=\ *)
2280
 
      # `set' does not quote correctly, so add quotes (double-quote
2281
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
2328
      # `set' does not quote correctly, so add quotes: double-quote
 
2329
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2282
2330
      sed -n \
2283
2331
        "s/'/'\\\\''/g;
2284
2332
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2301
2349
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2302
2350
  if test -w "$cache_file"; then
2303
2351
    test "x$cache_file" != "x/dev/null" &&
2304
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2305
 
echo "$as_me: updating cache $cache_file" >&6;}
 
2352
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
2353
$as_echo "$as_me: updating cache $cache_file" >&6;}
2306
2354
    cat confcache >$cache_file
2307
2355
  else
2308
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2309
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
2356
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
2357
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2310
2358
  fi
2311
2359
fi
2312
2360
rm -f confcache
2323
2371
# take arguments), then branch to the quote section.  Otherwise,
2324
2372
# look for a macro that doesn't take arguments.
2325
2373
ac_script='
 
2374
:mline
 
2375
/\\$/{
 
2376
 N
 
2377
 s,\\\n,,
 
2378
 b mline
 
2379
}
2326
2380
t clear
2327
2381
:clear
2328
2382
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2349
2403
 
2350
2404
ac_libobjs=
2351
2405
ac_ltlibobjs=
 
2406
U=
2352
2407
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2353
2408
  # 1. Remove the extension, and $U if already installed.
2354
2409
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2355
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
2410
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2356
2411
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2357
2412
  #    will be set to the directory where LIBOBJS objects are built.
2358
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2359
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
2413
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2414
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2360
2415
done
2361
2416
LIBOBJS=$ac_libobjs
2362
2417
 
2364
2419
 
2365
2420
 
2366
2421
 
 
2422
 
2367
2423
: ${CONFIG_STATUS=./config.status}
 
2424
ac_write_fail=0
2368
2425
ac_clean_files_save=$ac_clean_files
2369
2426
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2370
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2371
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2372
 
cat >$CONFIG_STATUS <<_ACEOF
 
2427
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
2428
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
2429
as_write_fail=0
 
2430
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2373
2431
#! $SHELL
2374
2432
# Generated by $as_me.
2375
2433
# Run this file to recreate the current configuration.
2379
2437
debug=false
2380
2438
ac_cs_recheck=false
2381
2439
ac_cs_silent=false
 
2440
 
2382
2441
SHELL=\${CONFIG_SHELL-$SHELL}
2383
 
_ACEOF
2384
 
 
2385
 
cat >>$CONFIG_STATUS <<\_ACEOF
2386
 
## --------------------- ##
2387
 
## M4sh Initialization.  ##
2388
 
## --------------------- ##
 
2442
export SHELL
 
2443
_ASEOF
 
2444
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
2445
## -------------------- ##
 
2446
## M4sh Initialization. ##
 
2447
## -------------------- ##
2389
2448
 
2390
2449
# Be more Bourne compatible
2391
2450
DUALCASE=1; export DUALCASE # for MKS sh
2392
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2451
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2393
2452
  emulate sh
2394
2453
  NULLCMD=:
2395
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
2454
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2396
2455
  # is contrary to our usage.  Disable this feature.
2397
2456
  alias -g '${1+"$@"}'='"$@"'
2398
2457
  setopt NO_GLOB_SUBST
2399
2458
else
2400
 
  case `(set -o) 2>/dev/null` in
2401
 
  *posix*) set -o posix ;;
 
2459
  case `(set -o) 2>/dev/null` in #(
 
2460
  *posix*) :
 
2461
    set -o posix ;; #(
 
2462
  *) :
 
2463
     ;;
2402
2464
esac
2403
 
 
2404
 
fi
2405
 
 
2406
 
 
2407
 
 
2408
 
 
2409
 
# PATH needs CR
2410
 
# Avoid depending upon Character Ranges.
2411
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2412
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2413
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2414
 
as_cr_digits='0123456789'
2415
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2465
fi
 
2466
 
 
2467
 
 
2468
as_nl='
 
2469
'
 
2470
export as_nl
 
2471
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
2472
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2473
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
2474
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
2475
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
2476
# but without wasting forks for bash or zsh.
 
2477
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
2478
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2479
  as_echo='print -r --'
 
2480
  as_echo_n='print -rn --'
 
2481
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2482
  as_echo='printf %s\n'
 
2483
  as_echo_n='printf %s'
 
2484
else
 
2485
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
2486
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
2487
    as_echo_n='/usr/ucb/echo -n'
 
2488
  else
 
2489
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
2490
    as_echo_n_body='eval
 
2491
      arg=$1;
 
2492
      case $arg in #(
 
2493
      *"$as_nl"*)
 
2494
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
2495
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
2496
      esac;
 
2497
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
2498
    '
 
2499
    export as_echo_n_body
 
2500
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
2501
  fi
 
2502
  export as_echo_body
 
2503
  as_echo='sh -c $as_echo_body as_echo'
 
2504
fi
2416
2505
 
2417
2506
# The user is always right.
2418
2507
if test "${PATH_SEPARATOR+set}" != set; then
2419
 
  echo "#! /bin/sh" >conf$$.sh
2420
 
  echo  "exit 0"   >>conf$$.sh
2421
 
  chmod +x conf$$.sh
2422
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2423
 
    PATH_SEPARATOR=';'
2424
 
  else
2425
 
    PATH_SEPARATOR=:
2426
 
  fi
2427
 
  rm -f conf$$.sh
2428
 
fi
2429
 
 
2430
 
# Support unset when possible.
2431
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2432
 
  as_unset=unset
2433
 
else
2434
 
  as_unset=false
 
2508
  PATH_SEPARATOR=:
 
2509
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
2510
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
2511
      PATH_SEPARATOR=';'
 
2512
  }
2435
2513
fi
2436
2514
 
2437
2515
 
2440
2518
# there to prevent editors from complaining about space-tab.
2441
2519
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2442
2520
# splitting by setting IFS to empty value.)
2443
 
as_nl='
2444
 
'
2445
2521
IFS=" ""        $as_nl"
2446
2522
 
2447
2523
# Find who we are.  Look in the path if we contain no directory separator.
2448
 
case $0 in
 
2524
case $0 in #((
2449
2525
  *[\\/]* ) as_myself=$0 ;;
2450
2526
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451
2527
for as_dir in $PATH
2452
2528
do
2453
2529
  IFS=$as_save_IFS
2454
2530
  test -z "$as_dir" && as_dir=.
2455
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2456
 
done
 
2531
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2532
  done
2457
2533
IFS=$as_save_IFS
2458
2534
 
2459
2535
     ;;
2464
2540
  as_myself=$0
2465
2541
fi
2466
2542
if test ! -f "$as_myself"; then
2467
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2468
 
  { (exit 1); exit 1; }
 
2543
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2544
  exit 1
2469
2545
fi
2470
2546
 
2471
 
# Work around bugs in pre-3.0 UWIN ksh.
2472
 
for as_var in ENV MAIL MAILPATH
2473
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2547
# Unset variables that we do not need and which cause bugs (e.g. in
 
2548
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
2549
# suppresses any "Segmentation fault" message there.  '((' could
 
2550
# trigger a bug in pdksh 5.2.14.
 
2551
for as_var in BASH_ENV ENV MAIL MAILPATH
 
2552
do eval test x\${$as_var+set} = xset \
 
2553
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2474
2554
done
2475
2555
PS1='$ '
2476
2556
PS2='> '
2477
2557
PS4='+ '
2478
2558
 
2479
2559
# NLS nuisances.
2480
 
for as_var in \
2481
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2482
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2483
 
  LC_TELEPHONE LC_TIME
2484
 
do
2485
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2486
 
    eval $as_var=C; export $as_var
2487
 
  else
2488
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2560
LC_ALL=C
 
2561
export LC_ALL
 
2562
LANGUAGE=C
 
2563
export LANGUAGE
 
2564
 
 
2565
# CDPATH.
 
2566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
2567
 
 
2568
 
 
2569
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
2570
# ----------------------------------------
 
2571
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
2572
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
2573
# script with STATUS, using 1 if that was 0.
 
2574
as_fn_error ()
 
2575
{
 
2576
  as_status=$1; test $as_status -eq 0 && as_status=1
 
2577
  if test "$4"; then
 
2578
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2579
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2489
2580
  fi
2490
 
done
2491
 
 
2492
 
# Required to use basename.
 
2581
  $as_echo "$as_me: error: $2" >&2
 
2582
  as_fn_exit $as_status
 
2583
} # as_fn_error
 
2584
 
 
2585
 
 
2586
# as_fn_set_status STATUS
 
2587
# -----------------------
 
2588
# Set $? to STATUS, without forking.
 
2589
as_fn_set_status ()
 
2590
{
 
2591
  return $1
 
2592
} # as_fn_set_status
 
2593
 
 
2594
# as_fn_exit STATUS
 
2595
# -----------------
 
2596
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
2597
as_fn_exit ()
 
2598
{
 
2599
  set +e
 
2600
  as_fn_set_status $1
 
2601
  exit $1
 
2602
} # as_fn_exit
 
2603
 
 
2604
# as_fn_unset VAR
 
2605
# ---------------
 
2606
# Portably unset VAR.
 
2607
as_fn_unset ()
 
2608
{
 
2609
  { eval $1=; unset $1;}
 
2610
}
 
2611
as_unset=as_fn_unset
 
2612
# as_fn_append VAR VALUE
 
2613
# ----------------------
 
2614
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
2615
# advantage of any shell optimizations that allow amortized linear growth over
 
2616
# repeated appends, instead of the typical quadratic growth present in naive
 
2617
# implementations.
 
2618
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
2619
  eval 'as_fn_append ()
 
2620
  {
 
2621
    eval $1+=\$2
 
2622
  }'
 
2623
else
 
2624
  as_fn_append ()
 
2625
  {
 
2626
    eval $1=\$$1\$2
 
2627
  }
 
2628
fi # as_fn_append
 
2629
 
 
2630
# as_fn_arith ARG...
 
2631
# ------------------
 
2632
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
2633
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
2634
# must be portable across $(()) and expr.
 
2635
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
2636
  eval 'as_fn_arith ()
 
2637
  {
 
2638
    as_val=$(( $* ))
 
2639
  }'
 
2640
else
 
2641
  as_fn_arith ()
 
2642
  {
 
2643
    as_val=`expr "$@" || test $? -eq 1`
 
2644
  }
 
2645
fi # as_fn_arith
 
2646
 
 
2647
 
2493
2648
if expr a : '\(a\)' >/dev/null 2>&1 &&
2494
2649
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2495
2650
  as_expr=expr
2503
2658
  as_basename=false
2504
2659
fi
2505
2660
 
 
2661
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2662
  as_dirname=dirname
 
2663
else
 
2664
  as_dirname=false
 
2665
fi
2506
2666
 
2507
 
# Name of the executable.
2508
2667
as_me=`$as_basename -- "$0" ||
2509
2668
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2510
2669
         X"$0" : 'X\(//\)$' \| \
2511
2670
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2512
 
echo X/"$0" |
 
2671
$as_echo X/"$0" |
2513
2672
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2514
2673
            s//\1/
2515
2674
            q
2524
2683
          }
2525
2684
          s/.*/./; q'`
2526
2685
 
2527
 
# CDPATH.
2528
 
$as_unset CDPATH
2529
 
 
2530
 
 
2531
 
 
2532
 
  as_lineno_1=$LINENO
2533
 
  as_lineno_2=$LINENO
2534
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2535
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2536
 
 
2537
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2538
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
2539
 
  # line-number line after each line using $LINENO; the second 'sed'
2540
 
  # does the real work.  The second script uses 'N' to pair each
2541
 
  # line-number line with the line containing $LINENO, and appends
2542
 
  # trailing '-' during substitution so that $LINENO is not a special
2543
 
  # case at line end.
2544
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2545
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2546
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
2547
 
  sed -n '
2548
 
    p
2549
 
    /[$]LINENO/=
2550
 
  ' <$as_myself |
2551
 
    sed '
2552
 
      s/[$]LINENO.*/&-/
2553
 
      t lineno
2554
 
      b
2555
 
      :lineno
2556
 
      N
2557
 
      :loop
2558
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2559
 
      t loop
2560
 
      s/-\n.*//
2561
 
    ' >$as_me.lineno &&
2562
 
  chmod +x "$as_me.lineno" ||
2563
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2564
 
   { (exit 1); exit 1; }; }
2565
 
 
2566
 
  # Don't try to exec as it changes $[0], causing all sort of problems
2567
 
  # (the dirname of $[0] is not the place where we might find the
2568
 
  # original and so on.  Autoconf is especially sensitive to this).
2569
 
  . "./$as_me.lineno"
2570
 
  # Exit status is that of the last command.
2571
 
  exit
2572
 
}
2573
 
 
2574
 
 
2575
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2576
 
  as_dirname=dirname
2577
 
else
2578
 
  as_dirname=false
2579
 
fi
 
2686
# Avoid depending upon Character Ranges.
 
2687
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2688
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2689
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2690
as_cr_digits='0123456789'
 
2691
as_cr_alnum=$as_cr_Letters$as_cr_digits
2580
2692
 
2581
2693
ECHO_C= ECHO_N= ECHO_T=
2582
 
case `echo -n x` in
 
2694
case `echo -n x` in #(((((
2583
2695
-n*)
2584
 
  case `echo 'x\c'` in
 
2696
  case `echo 'xy\c'` in
2585
2697
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2586
 
  *)   ECHO_C='\c';;
 
2698
  xy)  ECHO_C='\c';;
 
2699
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
2700
       ECHO_T=' ';;
2587
2701
  esac;;
2588
2702
*)
2589
2703
  ECHO_N='-n';;
2590
2704
esac
2591
2705
 
2592
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
2593
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2594
 
  as_expr=expr
2595
 
else
2596
 
  as_expr=false
2597
 
fi
2598
 
 
2599
2706
rm -f conf$$ conf$$.exe conf$$.file
2600
2707
if test -d conf$$.dir; then
2601
2708
  rm -f conf$$.dir/conf$$.file
2602
2709
else
2603
2710
  rm -f conf$$.dir
2604
 
  mkdir conf$$.dir
 
2711
  mkdir conf$$.dir 2>/dev/null
2605
2712
fi
2606
 
echo >conf$$.file
2607
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
2608
 
  as_ln_s='ln -s'
2609
 
  # ... but there are two gotchas:
2610
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2611
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2612
 
  # In both cases, we have to default to `cp -p'.
2613
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2713
if (echo >conf$$.file) 2>/dev/null; then
 
2714
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
2715
    as_ln_s='ln -s'
 
2716
    # ... but there are two gotchas:
 
2717
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2718
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2719
    # In both cases, we have to default to `cp -p'.
 
2720
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2721
      as_ln_s='cp -p'
 
2722
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
2723
    as_ln_s=ln
 
2724
  else
2614
2725
    as_ln_s='cp -p'
2615
 
elif ln conf$$.file conf$$ 2>/dev/null; then
2616
 
  as_ln_s=ln
 
2726
  fi
2617
2727
else
2618
2728
  as_ln_s='cp -p'
2619
2729
fi
2620
2730
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2621
2731
rmdir conf$$.dir 2>/dev/null
2622
2732
 
 
2733
 
 
2734
# as_fn_mkdir_p
 
2735
# -------------
 
2736
# Create "$as_dir" as a directory, including parents if necessary.
 
2737
as_fn_mkdir_p ()
 
2738
{
 
2739
 
 
2740
  case $as_dir in #(
 
2741
  -*) as_dir=./$as_dir;;
 
2742
  esac
 
2743
  test -d "$as_dir" || eval $as_mkdir_p || {
 
2744
    as_dirs=
 
2745
    while :; do
 
2746
      case $as_dir in #(
 
2747
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
2748
      *) as_qdir=$as_dir;;
 
2749
      esac
 
2750
      as_dirs="'$as_qdir' $as_dirs"
 
2751
      as_dir=`$as_dirname -- "$as_dir" ||
 
2752
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2753
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
2754
         X"$as_dir" : 'X\(//\)$' \| \
 
2755
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
2756
$as_echo X"$as_dir" |
 
2757
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2758
            s//\1/
 
2759
            q
 
2760
          }
 
2761
          /^X\(\/\/\)[^/].*/{
 
2762
            s//\1/
 
2763
            q
 
2764
          }
 
2765
          /^X\(\/\/\)$/{
 
2766
            s//\1/
 
2767
            q
 
2768
          }
 
2769
          /^X\(\/\).*/{
 
2770
            s//\1/
 
2771
            q
 
2772
          }
 
2773
          s/.*/./; q'`
 
2774
      test -d "$as_dir" && break
 
2775
    done
 
2776
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
2777
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
2778
 
 
2779
 
 
2780
} # as_fn_mkdir_p
2623
2781
if mkdir -p . 2>/dev/null; then
2624
 
  as_mkdir_p=:
 
2782
  as_mkdir_p='mkdir -p "$as_dir"'
2625
2783
else
2626
2784
  test -d ./-p && rmdir ./-p
2627
2785
  as_mkdir_p=false
2638
2796
  as_test_x='
2639
2797
    eval sh -c '\''
2640
2798
      if test -d "$1"; then
2641
 
        test -d "$1/.";
 
2799
        test -d "$1/.";
2642
2800
      else
2643
 
        case $1 in
2644
 
        -*)set "./$1";;
 
2801
        case $1 in #(
 
2802
        -*)set "./$1";;
2645
2803
        esac;
2646
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
2804
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2647
2805
        ???[sx]*):;;*)false;;esac;fi
2648
2806
    '\'' sh
2649
2807
  '
2658
2816
 
2659
2817
 
2660
2818
exec 6>&1
 
2819
## ----------------------------------- ##
 
2820
## Main body of $CONFIG_STATUS script. ##
 
2821
## ----------------------------------- ##
 
2822
_ASEOF
 
2823
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2661
2824
 
2662
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
2825
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
2826
# Save the log message, to keep $0 and so on meaningful, and to
2663
2827
# report actual input values of CONFIG_FILES etc. instead of their
2664
2828
# values after options handling.
2665
2829
ac_log="
2666
 
This file was extended by atool $as_me 0.37.0, which was
2667
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2830
This file was extended by atool $as_me 0.38.0, which was
 
2831
generated by GNU Autoconf 2.67.  Invocation command line was
2668
2832
 
2669
2833
  CONFIG_FILES    = $CONFIG_FILES
2670
2834
  CONFIG_HEADERS  = $CONFIG_HEADERS
2677
2841
 
2678
2842
_ACEOF
2679
2843
 
2680
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2844
case $ac_config_files in *"
 
2845
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
2846
esac
 
2847
 
 
2848
 
 
2849
 
 
2850
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2681
2851
# Files that config.status was made for.
2682
2852
config_files="$ac_config_files"
2683
2853
config_commands="$ac_config_commands"
2684
2854
 
2685
2855
_ACEOF
2686
2856
 
2687
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2857
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2688
2858
ac_cs_usage="\
2689
 
\`$as_me' instantiates files from templates according to the
2690
 
current configuration.
 
2859
\`$as_me' instantiates files and other configuration actions
 
2860
from templates according to the current configuration.  Unless the files
 
2861
and actions are specified as TAGs, all are instantiated by default.
2691
2862
 
2692
 
Usage: $0 [OPTIONS] [FILE]...
 
2863
Usage: $0 [OPTION]... [TAG]...
2693
2864
 
2694
2865
  -h, --help       print this help, then exit
2695
2866
  -V, --version    print version number and configuration settings, then exit
2696
 
  -q, --quiet      do not print progress messages
 
2867
      --config     print configuration, then exit
 
2868
  -q, --quiet, --silent
 
2869
                   do not print progress messages
2697
2870
  -d, --debug      don't remove temporary files
2698
2871
      --recheck    update $as_me by reconfiguring in the same conditions
2699
 
  --file=FILE[:TEMPLATE]
2700
 
                   instantiate the configuration file FILE
 
2872
      --file=FILE[:TEMPLATE]
 
2873
                   instantiate the configuration file FILE
2701
2874
 
2702
2875
Configuration files:
2703
2876
$config_files
2705
2878
Configuration commands:
2706
2879
$config_commands
2707
2880
 
2708
 
Report bugs to <bug-autoconf@gnu.org>."
 
2881
Report bugs to <oskar@osk.mine.nu>."
2709
2882
 
2710
2883
_ACEOF
2711
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2884
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
2885
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2712
2886
ac_cs_version="\\
2713
 
atool config.status 0.37.0
2714
 
configured by $0, generated by GNU Autoconf 2.61,
2715
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
2887
atool config.status 0.38.0
 
2888
configured by $0, generated by GNU Autoconf 2.67,
 
2889
  with options \\"\$ac_cs_config\\"
2716
2890
 
2717
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
2891
Copyright (C) 2010 Free Software Foundation, Inc.
2718
2892
This config.status script is free software; the Free Software Foundation
2719
2893
gives unlimited permission to copy, distribute and modify it."
2720
2894
 
2722
2896
srcdir='$srcdir'
2723
2897
INSTALL='$INSTALL'
2724
2898
MKDIR_P='$MKDIR_P'
 
2899
AWK='$AWK'
 
2900
test -n "\$AWK" || AWK=awk
2725
2901
_ACEOF
2726
2902
 
2727
 
cat >>$CONFIG_STATUS <<\_ACEOF
2728
 
# If no file are specified by the user, then we need to provide default
2729
 
# value.  By we need to know if files were specified by the user.
 
2903
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
2904
# The default lists apply if the user does not specify any file.
2730
2905
ac_need_defaults=:
2731
2906
while test $# != 0
2732
2907
do
2733
2908
  case $1 in
2734
 
  --*=*)
 
2909
  --*=?*)
2735
2910
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2736
2911
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2737
2912
    ac_shift=:
2738
2913
    ;;
 
2914
  --*=)
 
2915
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
2916
    ac_optarg=
 
2917
    ac_shift=:
 
2918
    ;;
2739
2919
  *)
2740
2920
    ac_option=$1
2741
2921
    ac_optarg=$2
2748
2928
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2749
2929
    ac_cs_recheck=: ;;
2750
2930
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2751
 
    echo "$ac_cs_version"; exit ;;
 
2931
    $as_echo "$ac_cs_version"; exit ;;
 
2932
  --config | --confi | --conf | --con | --co | --c )
 
2933
    $as_echo "$ac_cs_config"; exit ;;
2752
2934
  --debug | --debu | --deb | --de | --d | -d )
2753
2935
    debug=: ;;
2754
2936
  --file | --fil | --fi | --f )
2755
2937
    $ac_shift
2756
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
2938
    case $ac_optarg in
 
2939
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2940
    '') as_fn_error $? "missing file argument" ;;
 
2941
    esac
 
2942
    as_fn_append CONFIG_FILES " '$ac_optarg'"
2757
2943
    ac_need_defaults=false;;
2758
2944
  --he | --h |  --help | --hel | -h )
2759
 
    echo "$ac_cs_usage"; exit ;;
 
2945
    $as_echo "$ac_cs_usage"; exit ;;
2760
2946
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2761
2947
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2762
2948
    ac_cs_silent=: ;;
2763
2949
 
2764
2950
  # This is an error.
2765
 
  -*) { echo "$as_me: error: unrecognized option: $1
2766
 
Try \`$0 --help' for more information." >&2
2767
 
   { (exit 1); exit 1; }; } ;;
 
2951
  -*) as_fn_error $? "unrecognized option: \`$1'
 
2952
Try \`$0 --help' for more information." ;;
2768
2953
 
2769
 
  *) ac_config_targets="$ac_config_targets $1"
 
2954
  *) as_fn_append ac_config_targets " $1"
2770
2955
     ac_need_defaults=false ;;
2771
2956
 
2772
2957
  esac
2781
2966
fi
2782
2967
 
2783
2968
_ACEOF
2784
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2969
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2785
2970
if \$ac_cs_recheck; then
2786
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2787
 
  CONFIG_SHELL=$SHELL
 
2971
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2972
  shift
 
2973
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
2974
  CONFIG_SHELL='$SHELL'
2788
2975
  export CONFIG_SHELL
2789
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2976
  exec "\$@"
2790
2977
fi
2791
2978
 
2792
2979
_ACEOF
2793
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2980
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2794
2981
exec 5>>config.log
2795
2982
{
2796
2983
  echo
2797
2984
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2798
2985
## Running $as_me. ##
2799
2986
_ASBOX
2800
 
  echo "$ac_log"
 
2987
  $as_echo "$ac_log"
2801
2988
} >&5
2802
2989
 
2803
2990
_ACEOF
2804
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2805
2992
_ACEOF
2806
2993
 
2807
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2994
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2808
2995
 
2809
2996
# Handling of arguments.
2810
2997
for ac_config_target in $ac_config_targets
2820
3007
    "aunpack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS aunpack-link" ;;
2821
3008
    "arepack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS arepack-link" ;;
2822
3009
 
2823
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2824
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2825
 
   { (exit 1); exit 1; }; };;
 
3010
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
2826
3011
  esac
2827
3012
done
2828
3013
 
2848
3033
  trap 'exit_status=$?
2849
3034
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2850
3035
' 0
2851
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
3036
  trap 'as_fn_exit 1' 1 2 13 15
2852
3037
}
2853
3038
# Create a (secure) tmp directory for tmp files.
2854
3039
 
2859
3044
{
2860
3045
  tmp=./conf$$-$RANDOM
2861
3046
  (umask 077 && mkdir "$tmp")
2862
 
} ||
2863
 
{
2864
 
   echo "$me: cannot create a temporary directory in ." >&2
2865
 
   { (exit 1); exit 1; }
2866
 
}
2867
 
 
2868
 
#
2869
 
# Set up the sed scripts for CONFIG_FILES section.
2870
 
#
2871
 
 
2872
 
# No need to generate the scripts if there are no CONFIG_FILES.
2873
 
# This happens for instance when ./config.status config.h
 
3047
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
3048
 
 
3049
# Set up the scripts for CONFIG_FILES section.
 
3050
# No need to generate them if there are no CONFIG_FILES.
 
3051
# This happens for instance with `./config.status config.h'.
2874
3052
if test -n "$CONFIG_FILES"; then
2875
3053
 
 
3054
 
 
3055
ac_cr=`echo X | tr X '\015'`
 
3056
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
3057
# But we know of no other shell where ac_cr would be empty at this
 
3058
# point, so we can use a bashism as a fallback.
 
3059
if test "x$ac_cr" = x; then
 
3060
  eval ac_cr=\$\'\\r\'
 
3061
fi
 
3062
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
3063
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
3064
  ac_cs_awk_cr='\\r'
 
3065
else
 
3066
  ac_cs_awk_cr=$ac_cr
 
3067
fi
 
3068
 
 
3069
echo 'BEGIN {' >"$tmp/subs1.awk" &&
2876
3070
_ACEOF
2877
3071
 
2878
3072
 
2879
 
 
 
3073
{
 
3074
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
3075
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
3076
  echo "_ACEOF"
 
3077
} >conf$$subs.sh ||
 
3078
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3079
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2880
3080
ac_delim='%!_!# '
2881
3081
for ac_last_try in false false false false false :; do
2882
 
  cat >conf$$subs.sed <<_ACEOF
2883
 
SHELL!$SHELL$ac_delim
2884
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2885
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2886
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2887
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2888
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2889
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2890
 
exec_prefix!$exec_prefix$ac_delim
2891
 
prefix!$prefix$ac_delim
2892
 
program_transform_name!$program_transform_name$ac_delim
2893
 
bindir!$bindir$ac_delim
2894
 
sbindir!$sbindir$ac_delim
2895
 
libexecdir!$libexecdir$ac_delim
2896
 
datarootdir!$datarootdir$ac_delim
2897
 
datadir!$datadir$ac_delim
2898
 
sysconfdir!$sysconfdir$ac_delim
2899
 
sharedstatedir!$sharedstatedir$ac_delim
2900
 
localstatedir!$localstatedir$ac_delim
2901
 
includedir!$includedir$ac_delim
2902
 
oldincludedir!$oldincludedir$ac_delim
2903
 
docdir!$docdir$ac_delim
2904
 
infodir!$infodir$ac_delim
2905
 
htmldir!$htmldir$ac_delim
2906
 
dvidir!$dvidir$ac_delim
2907
 
pdfdir!$pdfdir$ac_delim
2908
 
psdir!$psdir$ac_delim
2909
 
libdir!$libdir$ac_delim
2910
 
localedir!$localedir$ac_delim
2911
 
mandir!$mandir$ac_delim
2912
 
DEFS!$DEFS$ac_delim
2913
 
ECHO_C!$ECHO_C$ac_delim
2914
 
ECHO_N!$ECHO_N$ac_delim
2915
 
ECHO_T!$ECHO_T$ac_delim
2916
 
LIBS!$LIBS$ac_delim
2917
 
build_alias!$build_alias$ac_delim
2918
 
host_alias!$host_alias$ac_delim
2919
 
target_alias!$target_alias$ac_delim
2920
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2921
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2922
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
2923
 
am__isrc!$am__isrc$ac_delim
2924
 
CYGPATH_W!$CYGPATH_W$ac_delim
2925
 
PACKAGE!$PACKAGE$ac_delim
2926
 
VERSION!$VERSION$ac_delim
2927
 
ACLOCAL!$ACLOCAL$ac_delim
2928
 
AUTOCONF!$AUTOCONF$ac_delim
2929
 
AUTOMAKE!$AUTOMAKE$ac_delim
2930
 
AUTOHEADER!$AUTOHEADER$ac_delim
2931
 
MAKEINFO!$MAKEINFO$ac_delim
2932
 
install_sh!$install_sh$ac_delim
2933
 
STRIP!$STRIP$ac_delim
2934
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2935
 
mkdir_p!$mkdir_p$ac_delim
2936
 
AWK!$AWK$ac_delim
2937
 
SET_MAKE!$SET_MAKE$ac_delim
2938
 
am__leading_dot!$am__leading_dot$ac_delim
2939
 
AMTAR!$AMTAR$ac_delim
2940
 
am__tar!$am__tar$ac_delim
2941
 
am__untar!$am__untar$ac_delim
2942
 
SBINDIR!$SBINDIR$ac_delim
2943
 
SYSCONFDIR!$SYSCONFDIR$ac_delim
2944
 
LOCALSTATEDIR!$LOCALSTATEDIR$ac_delim
2945
 
PERL!$PERL$ac_delim
2946
 
PERL_SHEBANG!$PERL_SHEBANG$ac_delim
2947
 
PERL_SITELIB!$PERL_SITELIB$ac_delim
2948
 
LIBOBJS!$LIBOBJS$ac_delim
2949
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
2950
 
_ACEOF
 
3082
  . ./conf$$subs.sh ||
 
3083
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2951
3084
 
2952
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
 
3085
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
3086
  if test $ac_delim_n = $ac_delim_num; then
2953
3087
    break
2954
3088
  elif $ac_last_try; then
2955
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2956
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2957
 
   { (exit 1); exit 1; }; }
 
3089
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2958
3090
  else
2959
3091
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2960
3092
  fi
2961
3093
done
2962
 
 
2963
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2964
 
if test -n "$ac_eof"; then
2965
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2966
 
  ac_eof=`expr $ac_eof + 1`
2967
 
fi
2968
 
 
2969
 
cat >>$CONFIG_STATUS <<_ACEOF
2970
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2971
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2972
 
_ACEOF
2973
 
sed '
2974
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2975
 
s/^/s,@/; s/!/@,|#_!!_#|/
2976
 
:n
2977
 
t n
2978
 
s/'"$ac_delim"'$/,g/; t
2979
 
s/$/\\/; p
2980
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2981
 
' >>$CONFIG_STATUS <conf$$subs.sed
2982
 
rm -f conf$$subs.sed
2983
 
cat >>$CONFIG_STATUS <<_ACEOF
2984
 
:end
2985
 
s/|#_!!_#|//g
2986
 
CEOF$ac_eof
2987
 
_ACEOF
2988
 
 
2989
 
 
2990
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2991
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3094
rm -f conf$$subs.sh
 
3095
 
 
3096
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3097
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
3098
_ACEOF
 
3099
sed -n '
 
3100
h
 
3101
s/^/S["/; s/!.*/"]=/
 
3102
p
 
3103
g
 
3104
s/^[^!]*!//
 
3105
:repl
 
3106
t repl
 
3107
s/'"$ac_delim"'$//
 
3108
t delim
 
3109
:nl
 
3110
h
 
3111
s/\(.\{148\}\)..*/\1/
 
3112
t more1
 
3113
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
3114
p
 
3115
n
 
3116
b repl
 
3117
:more1
 
3118
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
3119
p
 
3120
g
 
3121
s/.\{148\}//
 
3122
t nl
 
3123
:delim
 
3124
h
 
3125
s/\(.\{148\}\)..*/\1/
 
3126
t more2
 
3127
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
3128
p
 
3129
b
 
3130
:more2
 
3131
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
3132
p
 
3133
g
 
3134
s/.\{148\}//
 
3135
t delim
 
3136
' <conf$$subs.awk | sed '
 
3137
/^[^""]/{
 
3138
  N
 
3139
  s/\n//
 
3140
}
 
3141
' >>$CONFIG_STATUS || ac_write_fail=1
 
3142
rm -f conf$$subs.awk
 
3143
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3144
_ACAWK
 
3145
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
3146
  for (key in S) S_is_set[key] = 1
 
3147
  FS = ""
 
3148
 
 
3149
}
 
3150
{
 
3151
  line = $ 0
 
3152
  nfields = split(line, field, "@")
 
3153
  substed = 0
 
3154
  len = length(field[1])
 
3155
  for (i = 2; i < nfields; i++) {
 
3156
    key = field[i]
 
3157
    keylen = length(key)
 
3158
    if (S_is_set[key]) {
 
3159
      value = S[key]
 
3160
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
3161
      len += length(value) + length(field[++i])
 
3162
      substed = 1
 
3163
    } else
 
3164
      len += 1 + keylen
 
3165
  }
 
3166
 
 
3167
  print line
 
3168
}
 
3169
 
 
3170
_ACAWK
 
3171
_ACEOF
 
3172
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3173
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
3174
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
3175
else
 
3176
  cat
 
3177
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
3178
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
3179
_ACEOF
 
3180
 
 
3181
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
3182
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2992
3183
# trailing colons and then remove the whole line if VPATH becomes empty
2993
3184
# (actually we leave an empty line to preserve line numbers).
2994
3185
if test "x$srcdir" = x.; then
2995
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2996
 
s/:*\$(srcdir):*/:/
2997
 
s/:*\${srcdir}:*/:/
2998
 
s/:*@srcdir@:*/:/
2999
 
s/^\([^=]*=[     ]*\):*/\1/
 
3186
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
3187
h
 
3188
s///
 
3189
s/^/:/
 
3190
s/[      ]*$/:/
 
3191
s/:\$(srcdir):/:/g
 
3192
s/:\${srcdir}:/:/g
 
3193
s/:@srcdir@:/:/g
 
3194
s/^:*//
3000
3195
s/:*$//
 
3196
x
 
3197
s/\(=[   ]*\).*/\1/
 
3198
G
 
3199
s/\n//
3001
3200
s/^[^=]*=[       ]*$//
3002
3201
}'
3003
3202
fi
3004
3203
 
3005
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3204
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3006
3205
fi # test -n "$CONFIG_FILES"
3007
3206
 
3008
3207
 
3009
 
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
 
3208
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
3209
shift
 
3210
for ac_tag
3010
3211
do
3011
3212
  case $ac_tag in
3012
3213
  :[FHLC]) ac_mode=$ac_tag; continue;;
3013
3214
  esac
3014
3215
  case $ac_mode$ac_tag in
3015
3216
  :[FHL]*:*);;
3016
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3017
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3018
 
   { (exit 1); exit 1; }; };;
 
3217
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3019
3218
  :[FH]-) ac_tag=-:-;;
3020
3219
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3021
3220
  esac
3043
3242
           [\\/$]*) false;;
3044
3243
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3045
3244
           esac ||
3046
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3047
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3048
 
   { (exit 1); exit 1; }; };;
 
3245
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3049
3246
      esac
3050
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
3247
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
3248
      as_fn_append ac_file_inputs " '$ac_f'"
3051
3249
    done
3052
3250
 
3053
3251
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3054
3252
    # use $as_me), people would be surprised to read:
3055
3253
    #    /* config.h.  Generated by config.status.  */
3056
 
    configure_input="Generated from "`IFS=:
3057
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
3254
    configure_input='Generated from '`
 
3255
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
3256
        `' by configure.'
3058
3257
    if test x"$ac_file" != x-; then
3059
3258
      configure_input="$ac_file.  $configure_input"
3060
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
3061
 
echo "$as_me: creating $ac_file" >&6;}
 
3259
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
3260
$as_echo "$as_me: creating $ac_file" >&6;}
3062
3261
    fi
 
3262
    # Neutralize special characters interpreted by sed in replacement strings.
 
3263
    case $configure_input in #(
 
3264
    *\&* | *\|* | *\\* )
 
3265
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
3266
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
3267
    *) ac_sed_conf_input=$configure_input;;
 
3268
    esac
3063
3269
 
3064
3270
    case $ac_tag in
3065
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
3271
    *:-:* | *:-) cat >"$tmp/stdin" \
 
3272
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
3066
3273
    esac
3067
3274
    ;;
3068
3275
  esac
3072
3279
         X"$ac_file" : 'X\(//\)[^/]' \| \
3073
3280
         X"$ac_file" : 'X\(//\)$' \| \
3074
3281
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3075
 
echo X"$ac_file" |
3076
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3077
 
            s//\1/
3078
 
            q
3079
 
          }
3080
 
          /^X\(\/\/\)[^/].*/{
3081
 
            s//\1/
3082
 
            q
3083
 
          }
3084
 
          /^X\(\/\/\)$/{
3085
 
            s//\1/
3086
 
            q
3087
 
          }
3088
 
          /^X\(\/\).*/{
3089
 
            s//\1/
3090
 
            q
3091
 
          }
3092
 
          s/.*/./; q'`
3093
 
  { as_dir="$ac_dir"
3094
 
  case $as_dir in #(
3095
 
  -*) as_dir=./$as_dir;;
3096
 
  esac
3097
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3098
 
    as_dirs=
3099
 
    while :; do
3100
 
      case $as_dir in #(
3101
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3102
 
      *) as_qdir=$as_dir;;
3103
 
      esac
3104
 
      as_dirs="'$as_qdir' $as_dirs"
3105
 
      as_dir=`$as_dirname -- "$as_dir" ||
3106
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3107
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
3108
 
         X"$as_dir" : 'X\(//\)$' \| \
3109
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3110
 
echo X"$as_dir" |
3111
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3112
 
            s//\1/
3113
 
            q
3114
 
          }
3115
 
          /^X\(\/\/\)[^/].*/{
3116
 
            s//\1/
3117
 
            q
3118
 
          }
3119
 
          /^X\(\/\/\)$/{
3120
 
            s//\1/
3121
 
            q
3122
 
          }
3123
 
          /^X\(\/\).*/{
3124
 
            s//\1/
3125
 
            q
3126
 
          }
3127
 
          s/.*/./; q'`
3128
 
      test -d "$as_dir" && break
3129
 
    done
3130
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3131
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3132
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3133
 
   { (exit 1); exit 1; }; }; }
 
3282
$as_echo X"$ac_file" |
 
3283
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3284
            s//\1/
 
3285
            q
 
3286
          }
 
3287
          /^X\(\/\/\)[^/].*/{
 
3288
            s//\1/
 
3289
            q
 
3290
          }
 
3291
          /^X\(\/\/\)$/{
 
3292
            s//\1/
 
3293
            q
 
3294
          }
 
3295
          /^X\(\/\).*/{
 
3296
            s//\1/
 
3297
            q
 
3298
          }
 
3299
          s/.*/./; q'`
 
3300
  as_dir="$ac_dir"; as_fn_mkdir_p
3134
3301
  ac_builddir=.
3135
3302
 
3136
3303
case "$ac_dir" in
3137
3304
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3138
3305
*)
3139
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
3306
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3140
3307
  # A ".." for each directory in $ac_dir_suffix.
3141
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
3308
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3142
3309
  case $ac_top_builddir_sub in
3143
3310
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3144
3311
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3183
3350
  esac
3184
3351
_ACEOF
3185
3352
 
3186
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3353
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3187
3354
# If the template does not know about datarootdir, expand it.
3188
3355
# FIXME: This hack should be removed a few years after 2.60.
3189
3356
ac_datarootdir_hack=; ac_datarootdir_seen=
3190
 
 
3191
 
case `sed -n '/datarootdir/ {
 
3357
ac_sed_dataroot='
 
3358
/datarootdir/ {
3192
3359
  p
3193
3360
  q
3194
3361
}
3196
3363
/@docdir@/p
3197
3364
/@infodir@/p
3198
3365
/@localedir@/p
3199
 
/@mandir@/p
3200
 
' $ac_file_inputs` in
 
3366
/@mandir@/p'
 
3367
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3201
3368
*datarootdir*) ac_datarootdir_seen=yes;;
3202
3369
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3203
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3204
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
3370
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3371
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3205
3372
_ACEOF
3206
 
cat >>$CONFIG_STATUS <<_ACEOF
 
3373
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3207
3374
  ac_datarootdir_hack='
3208
3375
  s&@datadir@&$datadir&g
3209
3376
  s&@docdir@&$docdir&g
3210
3377
  s&@infodir@&$infodir&g
3211
3378
  s&@localedir@&$localedir&g
3212
3379
  s&@mandir@&$mandir&g
3213
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
3380
  s&\\\${datarootdir}&$datarootdir&g' ;;
3214
3381
esac
3215
3382
_ACEOF
3216
3383
 
3217
3384
# Neutralize VPATH when `$srcdir' = `.'.
3218
3385
# Shell code in configure.ac might set extrasub.
3219
3386
# FIXME: do we really want to maintain this feature?
3220
 
cat >>$CONFIG_STATUS <<_ACEOF
3221
 
  sed "$ac_vpsub
 
3387
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3388
ac_sed_extra="$ac_vpsub
3222
3389
$extrasub
3223
3390
_ACEOF
3224
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3391
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3225
3392
:t
3226
3393
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3227
 
s&@configure_input@&$configure_input&;t t
 
3394
s|@configure_input@|$ac_sed_conf_input|;t t
3228
3395
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
3396
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3229
3397
s&@srcdir@&$ac_srcdir&;t t
3230
3398
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3231
3399
s&@top_srcdir@&$ac_top_srcdir&;t t
3236
3404
s&@INSTALL@&$ac_INSTALL&;t t
3237
3405
s&@MKDIR_P@&$ac_MKDIR_P&;t t
3238
3406
$ac_datarootdir_hack
3239
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
3407
"
 
3408
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
3409
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3240
3410
 
3241
3411
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3242
3412
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3243
3413
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3244
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3245
 
which seems to be undefined.  Please make sure it is defined." >&5
3246
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3247
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
3414
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3415
which seems to be undefined.  Please make sure it is defined" >&5
 
3416
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3417
which seems to be undefined.  Please make sure it is defined" >&2;}
3248
3418
 
3249
3419
  rm -f "$tmp/stdin"
3250
3420
  case $ac_file in
3251
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
3252
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3253
 
  esac
 
3421
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
3422
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
3423
  esac \
 
3424
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3254
3425
 ;;
3255
3426
 
3256
3427
 
3257
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3258
 
echo "$as_me: executing $ac_file commands" >&6;}
 
3428
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
3429
$as_echo "$as_me: executing $ac_file commands" >&6;}
3259
3430
 ;;
3260
3431
  esac
3261
3432
 
3272
3443
done # for ac_tag
3273
3444
 
3274
3445
 
3275
 
{ (exit 0); exit 0; }
 
3446
as_fn_exit 0
3276
3447
_ACEOF
3277
 
chmod +x $CONFIG_STATUS
3278
3448
ac_clean_files=$ac_clean_files_save
3279
3449
 
 
3450
test $ac_write_fail = 0 ||
 
3451
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
3452
 
3280
3453
 
3281
3454
# configure is writing to config.log, and then calls config.status.
3282
3455
# config.status does its own redirection, appending to config.log.
3296
3469
  exec 5>>config.log
3297
3470
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3298
3471
  # would make configure fail if this is the last instruction.
3299
 
  $ac_cs_success || { (exit 1); exit 1; }
 
3472
  $ac_cs_success || as_fn_exit 1
 
3473
fi
 
3474
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
3475
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
3476
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3300
3477
fi
3301
3478