~ubuntu-branches/ubuntu/raring/ltspfs/raring-proposed

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2010-01-13 13:49:37 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20100113134937-xfuq6hiuel2iuded
Tags: 0.5.14-0ubuntu1
* new upstream version (0.5.14)
 * Fix mount point access when the users are in the same primary group.
 * Fix localapp mount when remote and local user doesn't have matching case.
 * Bump standards to 3.8.3
 * Update short description (was the same for both ltspfsd-core and ltspfsd)

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 ltspfs 0.5.13.
 
3
@%:@ Generated by GNU Autoconf 2.65 for ltspfs 0.5.14.
4
4
@%:@
5
5
@%:@ Report bugs to <sbalneav@ltsp.org>.
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 Free Software Foundation,
 
10
@%:@ 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
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
158
178
  as_have_required=yes
159
179
else
160
180
  as_have_required=no
161
181
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
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
  
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
224
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
188
do
226
189
  IFS=$as_save_IFS
227
190
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in @%:@(
229
193
         /*)
230
194
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
232
204
           done;;
233
205
       esac
 
206
  as_found=false
234
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
235
212
IFS=$as_save_IFS
236
213
 
237
214
 
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.  :-)
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
222
        export CONFIG_SHELL
 
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
fi
 
225
 
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and sbalneav@ltsp.org
 
234
$0: about your system, including any error possibly output
 
235
$0: before this message. Then install a modern shell, or
 
236
$0: manually run the script under such a shell if you do
 
237
$0: have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
@%:@ as_fn_unset VAR
 
253
@%:@ ---------------
 
254
@%:@ Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
@%:@ as_fn_set_status STATUS
 
262
@%:@ -----------------------
 
263
@%:@ Set @S|@? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} @%:@ as_fn_set_status
 
268
 
 
269
@%:@ as_fn_exit STATUS
 
270
@%:@ -----------------
 
271
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} @%:@ as_fn_exit
 
278
 
 
279
@%:@ as_fn_mkdir_p
 
280
@%:@ -------------
 
281
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} @%:@ as_fn_mkdir_p
 
326
@%:@ as_fn_append VAR VALUE
 
327
@%:@ ----------------------
 
328
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
330
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
331
@%:@ implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
@%:@ as_fn_arith ARG...
 
345
@%:@ ------------------
 
346
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
348
@%:@ must be portable across @S|@(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
363
@%:@ ---------------------------------
 
364
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
@%:@ script with status @S|@?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} @%:@ as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
440
429
  sed -n '
441
430
    p
442
431
    /[$]LINENO/=
453
442
      s/-\n.*//
454
443
    ' >$as_me.lineno &&
455
444
  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; }; }
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458
446
 
459
447
  # Don't try to exec as it changes $[0], causing all sort of problems
460
448
  # (the dirname of $[0] is not the place where we might find the
464
452
  exit
465
453
}
466
454
 
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
455
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
 
456
case `echo -n x` in @%:@(((((
476
457
-n*)
477
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
478
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
480
463
  esac;;
481
464
*)
482
465
  ECHO_N='-n';;
483
466
esac
484
467
 
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
468
rm -f conf$$ conf$$.exe conf$$.file
493
469
if test -d conf$$.dir; then
494
470
  rm -f conf$$.dir/conf$$.file
495
471
else
496
472
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
473
  mkdir conf$$.dir 2>/dev/null
498
474
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 ||
 
475
if (echo >conf$$.file) 2>/dev/null; then
 
476
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
477
    as_ln_s='ln -s'
 
478
    # ... but there are two gotchas:
 
479
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
480
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
481
    # In both cases, we have to default to `cp -p'.
 
482
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
483
      as_ln_s='cp -p'
 
484
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
485
    as_ln_s=ln
 
486
  else
507
487
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
488
  fi
510
489
else
511
490
  as_ln_s='cp -p'
512
491
fi
514
493
rmdir conf$$.dir 2>/dev/null
515
494
 
516
495
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
518
497
else
519
498
  test -d ./-p && rmdir ./-p
520
499
  as_mkdir_p=false
531
510
  as_test_x='
532
511
    eval sh -c '\''
533
512
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
513
        test -d "$1/.";
535
514
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
 
515
        case $1 in @%:@(
 
516
        -*)set "./$1";;
538
517
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
540
519
        ???[sx]*):;;*)false;;esac;fi
541
520
    '\'' sh
542
521
  '
550
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
530
 
552
531
 
553
 
 
554
 
exec 7<&0 </dev/null 6>&1
 
532
test -n "$DJDIR" || exec 7<&0 </dev/null
 
533
exec 6>&1
555
534
 
556
535
# Name of the host.
557
536
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
569
548
subdirs=
570
549
MFLAGS=
571
550
MAKEFLAGS=
572
 
SHELL=${CONFIG_SHELL-/bin/sh}
573
551
 
574
552
# Identity of this package.
575
553
PACKAGE_NAME='ltspfs'
576
554
PACKAGE_TARNAME='ltspfs'
577
 
PACKAGE_VERSION='0.5.13'
578
 
PACKAGE_STRING='ltspfs 0.5.13'
 
555
PACKAGE_VERSION='0.5.14'
 
556
PACKAGE_STRING='ltspfs 0.5.14'
579
557
PACKAGE_BUGREPORT='sbalneav@ltsp.org'
 
558
PACKAGE_URL=''
580
559
 
581
560
ac_unique_file="src/ltspfs.c"
582
561
# Factoring default headers for most tests.
615
594
# include <unistd.h>
616
595
#endif"
617
596
 
618
 
ac_subst_vars='SHELL
 
597
ac_subst_vars='am__EXEEXT_FALSE
 
598
am__EXEEXT_TRUE
 
599
LTLIBOBJS
 
600
LIB@&t@OBJS
 
601
GOBJECT_LIBS
 
602
GOBJECT_CFLAGS
 
603
GLIB_LIBS
 
604
GLIB_CFLAGS
 
605
UDEV_LIB_PATH
 
606
UDEV_RULES_PATH
 
607
EGREP
 
608
GREP
 
609
CPP
 
610
LTSPFS_LIBS
 
611
LTSPFS_CFLAGS
 
612
PKG_CONFIG
 
613
am__fastdepCC_FALSE
 
614
am__fastdepCC_TRUE
 
615
CCDEPMODE
 
616
AMDEPBACKSLASH
 
617
AMDEP_FALSE
 
618
AMDEP_TRUE
 
619
am__quote
 
620
am__include
 
621
DEPDIR
 
622
OBJEXT
 
623
EXEEXT
 
624
ac_ct_CC
 
625
CPPFLAGS
 
626
LDFLAGS
 
627
CFLAGS
 
628
CC
 
629
MAINT
 
630
MAINTAINER_MODE_FALSE
 
631
MAINTAINER_MODE_TRUE
 
632
am__untar
 
633
am__tar
 
634
AMTAR
 
635
am__leading_dot
 
636
SET_MAKE
 
637
AWK
 
638
mkdir_p
 
639
MKDIR_P
 
640
INSTALL_STRIP_PROGRAM
 
641
STRIP
 
642
install_sh
 
643
MAKEINFO
 
644
AUTOHEADER
 
645
AUTOMAKE
 
646
AUTOCONF
 
647
ACLOCAL
 
648
VERSION
 
649
PACKAGE
 
650
CYGPATH_W
 
651
am__isrc
 
652
INSTALL_DATA
 
653
INSTALL_SCRIPT
 
654
INSTALL_PROGRAM
 
655
target_alias
 
656
host_alias
 
657
build_alias
 
658
LIBS
 
659
ECHO_T
 
660
ECHO_N
 
661
ECHO_C
 
662
DEFS
 
663
mandir
 
664
localedir
 
665
libdir
 
666
psdir
 
667
pdfdir
 
668
dvidir
 
669
htmldir
 
670
infodir
 
671
docdir
 
672
oldincludedir
 
673
includedir
 
674
localstatedir
 
675
sharedstatedir
 
676
sysconfdir
 
677
datadir
 
678
datarootdir
 
679
libexecdir
 
680
sbindir
 
681
bindir
 
682
program_transform_name
 
683
prefix
 
684
exec_prefix
 
685
PACKAGE_URL
 
686
PACKAGE_BUGREPORT
 
687
PACKAGE_STRING
 
688
PACKAGE_VERSION
 
689
PACKAGE_TARNAME
 
690
PACKAGE_NAME
619
691
PATH_SEPARATOR
620
 
PACKAGE_NAME
621
 
PACKAGE_TARNAME
622
 
PACKAGE_VERSION
623
 
PACKAGE_STRING
624
 
PACKAGE_BUGREPORT
625
 
exec_prefix
626
 
prefix
627
 
program_transform_name
628
 
bindir
629
 
sbindir
630
 
libexecdir
631
 
datarootdir
632
 
datadir
633
 
sysconfdir
634
 
sharedstatedir
635
 
localstatedir
636
 
includedir
637
 
oldincludedir
638
 
docdir
639
 
infodir
640
 
htmldir
641
 
dvidir
642
 
pdfdir
643
 
psdir
644
 
libdir
645
 
localedir
646
 
mandir
647
 
DEFS
648
 
ECHO_C
649
 
ECHO_N
650
 
ECHO_T
651
 
LIBS
652
 
build_alias
653
 
host_alias
654
 
target_alias
655
 
INSTALL_PROGRAM
656
 
INSTALL_SCRIPT
657
 
INSTALL_DATA
658
 
am__isrc
659
 
CYGPATH_W
660
 
PACKAGE
661
 
VERSION
662
 
ACLOCAL
663
 
AUTOCONF
664
 
AUTOMAKE
665
 
AUTOHEADER
666
 
MAKEINFO
667
 
install_sh
668
 
STRIP
669
 
INSTALL_STRIP_PROGRAM
670
 
mkdir_p
671
 
AWK
672
 
SET_MAKE
673
 
am__leading_dot
674
 
AMTAR
675
 
am__tar
676
 
am__untar
677
 
MAINTAINER_MODE_TRUE
678
 
MAINTAINER_MODE_FALSE
679
 
MAINT
680
 
CC
681
 
CFLAGS
682
 
LDFLAGS
683
 
CPPFLAGS
684
 
ac_ct_CC
685
 
EXEEXT
686
 
OBJEXT
687
 
DEPDIR
688
 
am__include
689
 
am__quote
690
 
AMDEP_TRUE
691
 
AMDEP_FALSE
692
 
AMDEPBACKSLASH
693
 
CCDEPMODE
694
 
am__fastdepCC_TRUE
695
 
am__fastdepCC_FALSE
696
 
PKG_CONFIG
697
 
LTSPFS_CFLAGS
698
 
LTSPFS_LIBS
699
 
CPP
700
 
GREP
701
 
EGREP
702
 
UDEV_RULES_PATH
703
 
UDEV_LIB_PATH
704
 
GLIB_CFLAGS
705
 
GLIB_LIBS
706
 
GOBJECT_CFLAGS
707
 
GOBJECT_LIBS
708
 
LIB@&t@OBJS
709
 
LTLIBOBJS'
 
692
SHELL'
710
693
ac_subst_files=''
 
694
ac_user_opts='
 
695
enable_option_checking
 
696
enable_maintainer_mode
 
697
enable_dependency_tracking
 
698
'
711
699
      ac_precious_vars='build_alias
712
700
host_alias
713
701
target_alias
729
717
# Initialize some variables set by options.
730
718
ac_init_help=
731
719
ac_init_version=false
 
720
ac_unrecognized_opts=
 
721
ac_unrecognized_sep=
732
722
# The variables have the same names as the options, with
733
723
# dashes changed to underlines.
734
724
cache_file=/dev/null
827
817
    datarootdir=$ac_optarg ;;
828
818
 
829
819
  -disable-* | --disable-*)
830
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
820
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
831
821
    # Reject names that are not valid shell variable names.
832
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
834
 
   { (exit 1); exit 1; }; }
835
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
836
 
    eval enable_$ac_feature=no ;;
 
822
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
823
      as_fn_error "invalid feature name: $ac_useropt"
 
824
    ac_useropt_orig=$ac_useropt
 
825
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
826
    case $ac_user_opts in
 
827
      *"
 
828
"enable_$ac_useropt"
 
829
"*) ;;
 
830
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
831
         ac_unrecognized_sep=', ';;
 
832
    esac
 
833
    eval enable_$ac_useropt=no ;;
837
834
 
838
835
  -docdir | --docdir | --docdi | --doc | --do)
839
836
    ac_prev=docdir ;;
846
843
    dvidir=$ac_optarg ;;
847
844
 
848
845
  -enable-* | --enable-*)
849
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
846
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850
847
    # Reject names that are not valid shell variable names.
851
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
852
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
853
 
   { (exit 1); exit 1; }; }
854
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
855
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
848
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
849
      as_fn_error "invalid feature name: $ac_useropt"
 
850
    ac_useropt_orig=$ac_useropt
 
851
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
852
    case $ac_user_opts in
 
853
      *"
 
854
"enable_$ac_useropt"
 
855
"*) ;;
 
856
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
857
         ac_unrecognized_sep=', ';;
 
858
    esac
 
859
    eval enable_$ac_useropt=\$ac_optarg ;;
856
860
 
857
861
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858
862
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043
1047
    ac_init_version=: ;;
1044
1048
 
1045
1049
  -with-* | --with-*)
1046
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1050
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047
1051
    # Reject names that are not valid shell variable names.
1048
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1050
 
   { (exit 1); exit 1; }; }
1051
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1052
 
    eval with_$ac_package=\$ac_optarg ;;
 
1052
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1053
      as_fn_error "invalid package name: $ac_useropt"
 
1054
    ac_useropt_orig=$ac_useropt
 
1055
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1056
    case $ac_user_opts in
 
1057
      *"
 
1058
"with_$ac_useropt"
 
1059
"*) ;;
 
1060
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1061
         ac_unrecognized_sep=', ';;
 
1062
    esac
 
1063
    eval with_$ac_useropt=\$ac_optarg ;;
1053
1064
 
1054
1065
  -without-* | --without-*)
1055
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1066
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056
1067
    # Reject names that are not valid shell variable names.
1057
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1058
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1059
 
   { (exit 1); exit 1; }; }
1060
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1061
 
    eval with_$ac_package=no ;;
 
1068
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1069
      as_fn_error "invalid package name: $ac_useropt"
 
1070
    ac_useropt_orig=$ac_useropt
 
1071
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1072
    case $ac_user_opts in
 
1073
      *"
 
1074
"with_$ac_useropt"
 
1075
"*) ;;
 
1076
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1077
         ac_unrecognized_sep=', ';;
 
1078
    esac
 
1079
    eval with_$ac_useropt=no ;;
1062
1080
 
1063
1081
  --x)
1064
1082
    # Obsolete; use --with-x.
1078
1096
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1079
1097
    x_libraries=$ac_optarg ;;
1080
1098
 
1081
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1082
 
Try \`$0 --help' for more information." >&2
1083
 
   { (exit 1); exit 1; }; }
 
1099
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1100
Try \`$0 --help' for more information."
1084
1101
    ;;
1085
1102
 
1086
1103
  *=*)
1087
1104
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1088
1105
    # Reject names that are not valid shell variable names.
1089
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1090
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1091
 
   { (exit 1); exit 1; }; }
 
1106
    case $ac_envvar in #(
 
1107
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1108
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1109
    esac
1092
1110
    eval $ac_envvar=\$ac_optarg
1093
1111
    export $ac_envvar ;;
1094
1112
 
1095
1113
  *)
1096
1114
    # FIXME: should be removed in autoconf 3.0.
1097
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1115
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1098
1116
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1099
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1117
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1100
1118
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1101
1119
    ;;
1102
1120
 
1105
1123
 
1106
1124
if test -n "$ac_prev"; then
1107
1125
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1108
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1109
 
   { (exit 1); exit 1; }; }
1110
 
fi
1111
 
 
1112
 
# Be sure to have absolute directory names.
 
1126
  as_fn_error "missing argument to $ac_option"
 
1127
fi
 
1128
 
 
1129
if test -n "$ac_unrecognized_opts"; then
 
1130
  case $enable_option_checking in
 
1131
    no) ;;
 
1132
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1133
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1134
  esac
 
1135
fi
 
1136
 
 
1137
# Check all directory arguments for consistency.
1113
1138
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1114
1139
                datadir sysconfdir sharedstatedir localstatedir includedir \
1115
1140
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1116
1141
                libdir localedir mandir
1117
1142
do
1118
1143
  eval ac_val=\$$ac_var
 
1144
  # Remove trailing slashes.
 
1145
  case $ac_val in
 
1146
    */ )
 
1147
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1148
      eval $ac_var=\$ac_val;;
 
1149
  esac
 
1150
  # Be sure to have absolute directory names.
1119
1151
  case $ac_val in
1120
1152
    [\\/$]* | ?:[\\/]* )  continue;;
1121
1153
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122
1154
  esac
1123
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1124
 
   { (exit 1); exit 1; }; }
 
1155
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1125
1156
done
1126
1157
 
1127
1158
# There might be people who depend on the old broken behavior: `$host'
1135
1166
if test "x$host_alias" != x; then
1136
1167
  if test "x$build_alias" = x; then
1137
1168
    cross_compiling=maybe
1138
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1169
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1139
1170
    If a cross compiler is detected then cross compile mode will be used." >&2
1140
1171
  elif test "x$build_alias" != "x$host_alias"; then
1141
1172
    cross_compiling=yes
1151
1182
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1152
1183
ac_ls_di=`ls -di .` &&
1153
1184
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1154
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1155
 
   { (exit 1); exit 1; }; }
 
1185
  as_fn_error "working directory cannot be determined"
1156
1186
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1158
 
   { (exit 1); exit 1; }; }
 
1187
  as_fn_error "pwd does not report name of working directory"
1159
1188
 
1160
1189
 
1161
1190
# Find the source files, if location was not specified.
1162
1191
if test -z "$srcdir"; then
1163
1192
  ac_srcdir_defaulted=yes
1164
1193
  # Try the directory containing this script, then the parent directory.
1165
 
  ac_confdir=`$as_dirname -- "$0" ||
1166
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167
 
         X"$0" : 'X\(//\)[^/]' \| \
1168
 
         X"$0" : 'X\(//\)$' \| \
1169
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1170
 
echo X"$0" |
 
1194
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1195
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1196
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1197
         X"$as_myself" : 'X\(//\)$' \| \
 
1198
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1199
$as_echo X"$as_myself" |
1171
1200
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172
1201
            s//\1/
1173
1202
            q
1194
1223
fi
1195
1224
if test ! -r "$srcdir/$ac_unique_file"; then
1196
1225
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1198
 
   { (exit 1); exit 1; }; }
 
1226
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1199
1227
fi
1200
1228
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201
1229
ac_abs_confdir=`(
1202
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1203
 
   { (exit 1); exit 1; }; }
 
1230
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1204
1231
        pwd)`
1205
1232
# When building in place, set srcdir=.
1206
1233
if test "$ac_abs_confdir" = "$ac_pwd"; then
1226
1253
  # Omit some internal or obsolete options to make the list less imposing.
1227
1254
  # This message is too long to be a string in the A/UX 3.1 sh.
1228
1255
  cat <<_ACEOF
1229
 
\`configure' configures ltspfs 0.5.13 to adapt to many kinds of systems.
 
1256
\`configure' configures ltspfs 0.5.14 to adapt to many kinds of systems.
1230
1257
 
1231
1258
Usage: $0 [OPTION]... [VAR=VALUE]...
1232
1259
 
1248
1275
 
1249
1276
Installation directories:
1250
1277
  --prefix=PREFIX         install architecture-independent files in PREFIX
1251
 
                          [$ac_default_prefix]
 
1278
                          @<:@@S|@ac_default_prefix@:>@
1252
1279
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1253
 
                          [PREFIX]
 
1280
                          @<:@PREFIX@:>@
1254
1281
 
1255
1282
By default, \`make install' will install all the files in
1256
1283
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1260
1287
For better control, use the options below.
1261
1288
 
1262
1289
Fine tuning of the installation directories:
1263
 
  --bindir=DIR           user executables [EPREFIX/bin]
1264
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1265
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1266
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1267
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1268
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1269
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1270
 
  --includedir=DIR       C header files [PREFIX/include]
1271
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1272
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1273
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1274
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1275
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1276
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1277
 
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/ltspfs@:>@
1278
 
  --htmldir=DIR          html documentation [DOCDIR]
1279
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1280
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1281
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1290
  --bindir=DIR            user executables [EPREFIX/bin]
 
1291
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1292
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1293
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1294
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1295
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1296
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1297
  --includedir=DIR        C header files [PREFIX/include]
 
1298
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1299
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1300
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1301
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1302
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1303
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1304
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/ltspfs@:>@
 
1305
  --htmldir=DIR           html documentation [DOCDIR]
 
1306
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1307
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1308
  --psdir=DIR             ps documentation [DOCDIR]
1282
1309
_ACEOF
1283
1310
 
1284
1311
  cat <<\_ACEOF
1292
1319
 
1293
1320
if test -n "$ac_init_help"; then
1294
1321
  case $ac_init_help in
1295
 
     short | recursive ) echo "Configuration of ltspfs 0.5.13:";;
 
1322
     short | recursive ) echo "Configuration of ltspfs 0.5.14:";;
1296
1323
   esac
1297
1324
  cat <<\_ACEOF
1298
1325
 
1299
1326
Optional Features:
 
1327
  --disable-option-checking  ignore unrecognized --enable/--with options
1300
1328
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1301
1329
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1302
1330
  --enable-maintainer-mode  enable make rules and dependencies not useful
1310
1338
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1311
1339
              nonstandard directory <lib dir>
1312
1340
  LIBS        libraries to pass to the linker, e.g. -l<library>
1313
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1341
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1314
1342
              you have headers in a nonstandard directory <include dir>
1315
1343
  PKG_CONFIG  path to pkg-config utility
1316
1344
  LTSPFS_CFLAGS 
1335
1363
if test "$ac_init_help" = "recursive"; then
1336
1364
  # If there are subdirs, report their specific --help.
1337
1365
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1338
 
    test -d "$ac_dir" || continue
 
1366
    test -d "$ac_dir" ||
 
1367
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1368
      continue
1339
1369
    ac_builddir=.
1340
1370
 
1341
1371
case "$ac_dir" in
1342
1372
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343
1373
*)
1344
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1374
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1345
1375
  # A ".." for each directory in $ac_dir_suffix.
1346
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1376
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1347
1377
  case $ac_top_builddir_sub in
1348
1378
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349
1379
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1379
1409
      echo &&
1380
1410
      $SHELL "$ac_srcdir/configure" --help=recursive
1381
1411
    else
1382
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1412
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383
1413
    fi || ac_status=$?
1384
1414
    cd "$ac_pwd" || { ac_status=$?; break; }
1385
1415
  done
1388
1418
test -n "$ac_init_help" && exit $ac_status
1389
1419
if $ac_init_version; then
1390
1420
  cat <<\_ACEOF
1391
 
ltspfs configure 0.5.13
1392
 
generated by GNU Autoconf 2.61
 
1421
ltspfs configure 0.5.14
 
1422
generated by GNU Autoconf 2.65
1393
1423
 
1394
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1395
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1424
Copyright (C) 2009 Free Software Foundation, Inc.
1396
1425
This configure script is free software; the Free Software Foundation
1397
1426
gives unlimited permission to copy, distribute and modify it.
1398
1427
_ACEOF
1399
1428
  exit
1400
1429
fi
 
1430
 
 
1431
## ------------------------ ##
 
1432
## Autoconf initialization. ##
 
1433
## ------------------------ ##
 
1434
 
 
1435
@%:@ ac_fn_c_try_compile LINENO
 
1436
@%:@ --------------------------
 
1437
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1438
ac_fn_c_try_compile ()
 
1439
{
 
1440
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1441
  rm -f conftest.$ac_objext
 
1442
  if { { ac_try="$ac_compile"
 
1443
case "(($ac_try" in
 
1444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1445
  *) ac_try_echo=$ac_try;;
 
1446
esac
 
1447
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1448
$as_echo "$ac_try_echo"; } >&5
 
1449
  (eval "$ac_compile") 2>conftest.err
 
1450
  ac_status=$?
 
1451
  if test -s conftest.err; then
 
1452
    grep -v '^ *+' conftest.err >conftest.er1
 
1453
    cat conftest.er1 >&5
 
1454
    mv -f conftest.er1 conftest.err
 
1455
  fi
 
1456
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1457
  test $ac_status = 0; } && {
 
1458
         test -z "$ac_c_werror_flag" ||
 
1459
         test ! -s conftest.err
 
1460
       } && test -s conftest.$ac_objext; then :
 
1461
  ac_retval=0
 
1462
else
 
1463
  $as_echo "$as_me: failed program was:" >&5
 
1464
sed 's/^/| /' conftest.$ac_ext >&5
 
1465
 
 
1466
        ac_retval=1
 
1467
fi
 
1468
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1469
  as_fn_set_status $ac_retval
 
1470
 
 
1471
} @%:@ ac_fn_c_try_compile
 
1472
 
 
1473
@%:@ ac_fn_c_try_cpp LINENO
 
1474
@%:@ ----------------------
 
1475
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1476
ac_fn_c_try_cpp ()
 
1477
{
 
1478
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1479
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1480
case "(($ac_try" in
 
1481
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1482
  *) ac_try_echo=$ac_try;;
 
1483
esac
 
1484
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1485
$as_echo "$ac_try_echo"; } >&5
 
1486
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1487
  ac_status=$?
 
1488
  if test -s conftest.err; then
 
1489
    grep -v '^ *+' conftest.err >conftest.er1
 
1490
    cat conftest.er1 >&5
 
1491
    mv -f conftest.er1 conftest.err
 
1492
  fi
 
1493
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1494
  test $ac_status = 0; } >/dev/null && {
 
1495
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1496
         test ! -s conftest.err
 
1497
       }; then :
 
1498
  ac_retval=0
 
1499
else
 
1500
  $as_echo "$as_me: failed program was:" >&5
 
1501
sed 's/^/| /' conftest.$ac_ext >&5
 
1502
 
 
1503
    ac_retval=1
 
1504
fi
 
1505
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1506
  as_fn_set_status $ac_retval
 
1507
 
 
1508
} @%:@ ac_fn_c_try_cpp
 
1509
 
 
1510
@%:@ ac_fn_c_try_run LINENO
 
1511
@%:@ ----------------------
 
1512
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
1513
@%:@ that executables *can* be run.
 
1514
ac_fn_c_try_run ()
 
1515
{
 
1516
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1517
  if { { ac_try="$ac_link"
 
1518
case "(($ac_try" in
 
1519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1520
  *) ac_try_echo=$ac_try;;
 
1521
esac
 
1522
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1523
$as_echo "$ac_try_echo"; } >&5
 
1524
  (eval "$ac_link") 2>&5
 
1525
  ac_status=$?
 
1526
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1527
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1528
  { { case "(($ac_try" in
 
1529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1530
  *) ac_try_echo=$ac_try;;
 
1531
esac
 
1532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1533
$as_echo "$ac_try_echo"; } >&5
 
1534
  (eval "$ac_try") 2>&5
 
1535
  ac_status=$?
 
1536
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1537
  test $ac_status = 0; }; }; then :
 
1538
  ac_retval=0
 
1539
else
 
1540
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1541
       $as_echo "$as_me: failed program was:" >&5
 
1542
sed 's/^/| /' conftest.$ac_ext >&5
 
1543
 
 
1544
       ac_retval=$ac_status
 
1545
fi
 
1546
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1547
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1548
  as_fn_set_status $ac_retval
 
1549
 
 
1550
} @%:@ ac_fn_c_try_run
 
1551
 
 
1552
@%:@ ac_fn_c_try_link LINENO
 
1553
@%:@ -----------------------
 
1554
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1555
ac_fn_c_try_link ()
 
1556
{
 
1557
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1558
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1559
  if { { ac_try="$ac_link"
 
1560
case "(($ac_try" in
 
1561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1562
  *) ac_try_echo=$ac_try;;
 
1563
esac
 
1564
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1565
$as_echo "$ac_try_echo"; } >&5
 
1566
  (eval "$ac_link") 2>conftest.err
 
1567
  ac_status=$?
 
1568
  if test -s conftest.err; then
 
1569
    grep -v '^ *+' conftest.err >conftest.er1
 
1570
    cat conftest.er1 >&5
 
1571
    mv -f conftest.er1 conftest.err
 
1572
  fi
 
1573
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1574
  test $ac_status = 0; } && {
 
1575
         test -z "$ac_c_werror_flag" ||
 
1576
         test ! -s conftest.err
 
1577
       } && test -s conftest$ac_exeext && {
 
1578
         test "$cross_compiling" = yes ||
 
1579
         $as_test_x conftest$ac_exeext
 
1580
       }; then :
 
1581
  ac_retval=0
 
1582
else
 
1583
  $as_echo "$as_me: failed program was:" >&5
 
1584
sed 's/^/| /' conftest.$ac_ext >&5
 
1585
 
 
1586
        ac_retval=1
 
1587
fi
 
1588
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1589
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1590
  # interfere with the next link command; also delete a directory that is
 
1591
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1592
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1593
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1594
  as_fn_set_status $ac_retval
 
1595
 
 
1596
} @%:@ ac_fn_c_try_link
 
1597
 
 
1598
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1599
@%:@ -------------------------------------------------------
 
1600
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1601
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
1602
@%:@ accordingly.
 
1603
ac_fn_c_check_header_mongrel ()
 
1604
{
 
1605
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1606
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1607
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1608
$as_echo_n "checking for $2... " >&6; }
 
1609
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1610
  $as_echo_n "(cached) " >&6
 
1611
fi
 
1612
eval ac_res=\$$3
 
1613
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1614
$as_echo "$ac_res" >&6; }
 
1615
else
 
1616
  # Is the header compilable?
 
1617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1618
$as_echo_n "checking $2 usability... " >&6; }
 
1619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1620
/* end confdefs.h.  */
 
1621
$4
 
1622
@%:@include <$2>
 
1623
_ACEOF
 
1624
if ac_fn_c_try_compile "$LINENO"; then :
 
1625
  ac_header_compiler=yes
 
1626
else
 
1627
  ac_header_compiler=no
 
1628
fi
 
1629
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1631
$as_echo "$ac_header_compiler" >&6; }
 
1632
 
 
1633
# Is the header present?
 
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1635
$as_echo_n "checking $2 presence... " >&6; }
 
1636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1637
/* end confdefs.h.  */
 
1638
@%:@include <$2>
 
1639
_ACEOF
 
1640
if ac_fn_c_try_cpp "$LINENO"; then :
 
1641
  ac_header_preproc=yes
 
1642
else
 
1643
  ac_header_preproc=no
 
1644
fi
 
1645
rm -f conftest.err conftest.$ac_ext
 
1646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1647
$as_echo "$ac_header_preproc" >&6; }
 
1648
 
 
1649
# So?  What about this header?
 
1650
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1651
  yes:no: )
 
1652
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1653
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1654
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1655
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1656
    ;;
 
1657
  no:yes:* )
 
1658
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1659
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1660
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1661
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1662
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1663
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1664
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1665
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1666
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1667
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1668
( cat <<\_ASBOX
 
1669
## -------------------------------- ##
 
1670
## Report this to sbalneav@ltsp.org ##
 
1671
## -------------------------------- ##
 
1672
_ASBOX
 
1673
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1674
    ;;
 
1675
esac
 
1676
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1677
$as_echo_n "checking for $2... " >&6; }
 
1678
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1679
  $as_echo_n "(cached) " >&6
 
1680
else
 
1681
  eval "$3=\$ac_header_compiler"
 
1682
fi
 
1683
eval ac_res=\$$3
 
1684
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1685
$as_echo "$ac_res" >&6; }
 
1686
fi
 
1687
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1688
 
 
1689
} @%:@ ac_fn_c_check_header_mongrel
 
1690
 
 
1691
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1692
@%:@ -------------------------------------------------------
 
1693
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1694
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1695
ac_fn_c_check_header_compile ()
 
1696
{
 
1697
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1698
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1699
$as_echo_n "checking for $2... " >&6; }
 
1700
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1701
  $as_echo_n "(cached) " >&6
 
1702
else
 
1703
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1704
/* end confdefs.h.  */
 
1705
$4
 
1706
@%:@include <$2>
 
1707
_ACEOF
 
1708
if ac_fn_c_try_compile "$LINENO"; then :
 
1709
  eval "$3=yes"
 
1710
else
 
1711
  eval "$3=no"
 
1712
fi
 
1713
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1714
fi
 
1715
eval ac_res=\$$3
 
1716
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1717
$as_echo "$ac_res" >&6; }
 
1718
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1719
 
 
1720
} @%:@ ac_fn_c_check_header_compile
1401
1721
cat >config.log <<_ACEOF
1402
1722
This file contains any messages produced by compilers while
1403
1723
running configure, to aid debugging if configure makes a mistake.
1404
1724
 
1405
 
It was created by ltspfs $as_me 0.5.13, which was
1406
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1725
It was created by ltspfs $as_me 0.5.14, which was
 
1726
generated by GNU Autoconf 2.65.  Invocation command line was
1407
1727
 
1408
1728
  $ $0 $@
1409
1729
 
1411
1731
exec 5>>config.log
1412
1732
{
1413
1733
cat <<_ASUNAME
1414
 
@%:@@%:@ --------- @%:@@%:@
1415
 
@%:@@%:@ Platform. @%:@@%:@
1416
 
@%:@@%:@ --------- @%:@@%:@
 
1734
## --------- ##
 
1735
## Platform. ##
 
1736
## --------- ##
1417
1737
 
1418
1738
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1419
1739
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1439
1759
do
1440
1760
  IFS=$as_save_IFS
1441
1761
  test -z "$as_dir" && as_dir=.
1442
 
  echo "PATH: $as_dir"
1443
 
done
 
1762
    $as_echo "PATH: $as_dir"
 
1763
  done
1444
1764
IFS=$as_save_IFS
1445
1765
 
1446
1766
} >&5
1448
1768
cat >&5 <<_ACEOF
1449
1769
 
1450
1770
 
1451
 
@%:@@%:@ ----------- @%:@@%:@
1452
 
@%:@@%:@ Core tests. @%:@@%:@
1453
 
@%:@@%:@ ----------- @%:@@%:@
 
1771
## ----------- ##
 
1772
## Core tests. ##
 
1773
## ----------- ##
1454
1774
 
1455
1775
_ACEOF
1456
1776
 
1474
1794
    | -silent | --silent | --silen | --sile | --sil)
1475
1795
      continue ;;
1476
1796
    *\'*)
1477
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1797
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1478
1798
    esac
1479
1799
    case $ac_pass in
1480
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1800
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1481
1801
    2)
1482
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1802
      as_fn_append ac_configure_args1 " '$ac_arg'"
1483
1803
      if test $ac_must_keep_next = true; then
1484
1804
        ac_must_keep_next=false # Got value, back to normal.
1485
1805
      else
1495
1815
          -* ) ac_must_keep_next=true ;;
1496
1816
        esac
1497
1817
      fi
1498
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1818
      as_fn_append ac_configure_args " '$ac_arg'"
1499
1819
      ;;
1500
1820
    esac
1501
1821
  done
1502
1822
done
1503
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1504
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1823
{ ac_configure_args0=; unset ac_configure_args0;}
 
1824
{ ac_configure_args1=; unset ac_configure_args1;}
1505
1825
 
1506
1826
# When interrupted or exit'd, cleanup temporary files, and complete
1507
1827
# config.log.  We remove comments because anyway the quotes in there
1514
1834
    echo
1515
1835
 
1516
1836
    cat <<\_ASBOX
1517
 
@%:@@%:@ ---------------- @%:@@%:@
1518
 
@%:@@%:@ Cache variables. @%:@@%:@
1519
 
@%:@@%:@ ---------------- @%:@@%:@
 
1837
## ---------------- ##
 
1838
## Cache variables. ##
 
1839
## ---------------- ##
1520
1840
_ASBOX
1521
1841
    echo
1522
1842
    # The following way of writing the cache mishandles newlines in values,
1526
1846
    case $ac_val in #(
1527
1847
    *${as_nl}*)
1528
1848
      case $ac_var in #(
1529
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1530
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1849
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1850
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1531
1851
      esac
1532
1852
      case $ac_var in #(
1533
1853
      _ | IFS | as_nl) ;; #(
1534
 
      *) $as_unset $ac_var ;;
 
1854
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1855
      *) { eval $ac_var=; unset $ac_var;} ;;
1535
1856
      esac ;;
1536
1857
    esac
1537
1858
  done
1551
1872
    echo
1552
1873
 
1553
1874
    cat <<\_ASBOX
1554
 
@%:@@%:@ ----------------- @%:@@%:@
1555
 
@%:@@%:@ Output variables. @%:@@%:@
1556
 
@%:@@%:@ ----------------- @%:@@%:@
 
1875
## ----------------- ##
 
1876
## Output variables. ##
 
1877
## ----------------- ##
1557
1878
_ASBOX
1558
1879
    echo
1559
1880
    for ac_var in $ac_subst_vars
1560
1881
    do
1561
1882
      eval ac_val=\$$ac_var
1562
1883
      case $ac_val in
1563
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1884
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1564
1885
      esac
1565
 
      echo "$ac_var='\''$ac_val'\''"
 
1886
      $as_echo "$ac_var='\''$ac_val'\''"
1566
1887
    done | sort
1567
1888
    echo
1568
1889
 
1569
1890
    if test -n "$ac_subst_files"; then
1570
1891
      cat <<\_ASBOX
1571
 
@%:@@%:@ ------------------- @%:@@%:@
1572
 
@%:@@%:@ File substitutions. @%:@@%:@
1573
 
@%:@@%:@ ------------------- @%:@@%:@
 
1892
## ------------------- ##
 
1893
## File substitutions. ##
 
1894
## ------------------- ##
1574
1895
_ASBOX
1575
1896
      echo
1576
1897
      for ac_var in $ac_subst_files
1577
1898
      do
1578
1899
        eval ac_val=\$$ac_var
1579
1900
        case $ac_val in
1580
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1901
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581
1902
        esac
1582
 
        echo "$ac_var='\''$ac_val'\''"
 
1903
        $as_echo "$ac_var='\''$ac_val'\''"
1583
1904
      done | sort
1584
1905
      echo
1585
1906
    fi
1586
1907
 
1587
1908
    if test -s confdefs.h; then
1588
1909
      cat <<\_ASBOX
1589
 
@%:@@%:@ ----------- @%:@@%:@
1590
 
@%:@@%:@ confdefs.h. @%:@@%:@
1591
 
@%:@@%:@ ----------- @%:@@%:@
 
1910
## ----------- ##
 
1911
## confdefs.h. ##
 
1912
## ----------- ##
1592
1913
_ASBOX
1593
1914
      echo
1594
1915
      cat confdefs.h
1595
1916
      echo
1596
1917
    fi
1597
1918
    test "$ac_signal" != 0 &&
1598
 
      echo "$as_me: caught signal $ac_signal"
1599
 
    echo "$as_me: exit $exit_status"
 
1919
      $as_echo "$as_me: caught signal $ac_signal"
 
1920
    $as_echo "$as_me: exit $exit_status"
1600
1921
  } >&5
1601
1922
  rm -f core *.core core.conftest.* &&
1602
1923
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1603
1924
    exit $exit_status
1604
1925
' 0
1605
1926
for ac_signal in 1 2 13 15; do
1606
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1927
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1607
1928
done
1608
1929
ac_signal=0
1609
1930
 
1610
1931
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1611
1932
rm -f -r conftest* confdefs.h
1612
1933
 
 
1934
$as_echo "/* confdefs.h */" > confdefs.h
 
1935
 
1613
1936
# Predefined preprocessor variables.
1614
1937
 
1615
1938
cat >>confdefs.h <<_ACEOF
1616
1939
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1617
1940
_ACEOF
1618
1941
 
1619
 
 
1620
1942
cat >>confdefs.h <<_ACEOF
1621
1943
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1622
1944
_ACEOF
1623
1945
 
1624
 
 
1625
1946
cat >>confdefs.h <<_ACEOF
1626
1947
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1627
1948
_ACEOF
1628
1949
 
1629
 
 
1630
1950
cat >>confdefs.h <<_ACEOF
1631
1951
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1632
1952
_ACEOF
1633
1953
 
1634
 
 
1635
1954
cat >>confdefs.h <<_ACEOF
1636
1955
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1637
1956
_ACEOF
1638
1957
 
 
1958
cat >>confdefs.h <<_ACEOF
 
1959
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
1960
_ACEOF
 
1961
 
1639
1962
 
1640
1963
# Let the site file select an alternate cache file if it wants to.
1641
 
# Prefer explicitly selected file to automatically selected ones.
 
1964
# Prefer an explicitly selected file to automatically selected ones.
 
1965
ac_site_file1=NONE
 
1966
ac_site_file2=NONE
1642
1967
if test -n "$CONFIG_SITE"; then
1643
 
  set x "$CONFIG_SITE"
 
1968
  ac_site_file1=$CONFIG_SITE
1644
1969
elif test "x$prefix" != xNONE; then
1645
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1970
  ac_site_file1=$prefix/share/config.site
 
1971
  ac_site_file2=$prefix/etc/config.site
1646
1972
else
1647
 
  set x "$ac_default_prefix/share/config.site" \
1648
 
        "$ac_default_prefix/etc/config.site"
 
1973
  ac_site_file1=$ac_default_prefix/share/config.site
 
1974
  ac_site_file2=$ac_default_prefix/etc/config.site
1649
1975
fi
1650
 
shift
1651
 
for ac_site_file
 
1976
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1652
1977
do
1653
 
  if test -r "$ac_site_file"; then
1654
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1655
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1978
  test "x$ac_site_file" = xNONE && continue
 
1979
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1980
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
1981
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1656
1982
    sed 's/^/| /' "$ac_site_file" >&5
1657
1983
    . "$ac_site_file"
1658
1984
  fi
1659
1985
done
1660
1986
 
1661
1987
if test -r "$cache_file"; then
1662
 
  # Some versions of bash will fail to source /dev/null (special
1663
 
  # files actually), so we avoid doing that.
1664
 
  if test -f "$cache_file"; then
1665
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1666
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1988
  # Some versions of bash will fail to source /dev/null (special files
 
1989
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1990
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1991
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
1992
$as_echo "$as_me: loading cache $cache_file" >&6;}
1667
1993
    case $cache_file in
1668
1994
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1669
1995
      *)                      . "./$cache_file";;
1670
1996
    esac
1671
1997
  fi
1672
1998
else
1673
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1674
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1999
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2000
$as_echo "$as_me: creating cache $cache_file" >&6;}
1675
2001
  >$cache_file
1676
2002
fi
1677
2003
 
1685
2011
  eval ac_new_val=\$ac_env_${ac_var}_value
1686
2012
  case $ac_old_set,$ac_new_set in
1687
2013
    set,)
1688
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1689
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2014
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2015
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1690
2016
      ac_cache_corrupted=: ;;
1691
2017
    ,set)
1692
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1693
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2018
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2019
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1694
2020
      ac_cache_corrupted=: ;;
1695
2021
    ,);;
1696
2022
    *)
1697
2023
      if test "x$ac_old_val" != "x$ac_new_val"; then
1698
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1699
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1700
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1701
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1702
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1703
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1704
 
        ac_cache_corrupted=:
 
2024
        # differences in whitespace do not lead to failure.
 
2025
        ac_old_val_w=`echo x $ac_old_val`
 
2026
        ac_new_val_w=`echo x $ac_new_val`
 
2027
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2028
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2029
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2030
          ac_cache_corrupted=:
 
2031
        else
 
2032
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2033
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2034
          eval $ac_var=\$ac_old_val
 
2035
        fi
 
2036
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2037
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2038
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2039
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1705
2040
      fi;;
1706
2041
  esac
1707
2042
  # Pass precious variables to config.status.
1708
2043
  if test "$ac_new_set" = set; then
1709
2044
    case $ac_new_val in
1710
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2045
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1711
2046
    *) ac_arg=$ac_var=$ac_new_val ;;
1712
2047
    esac
1713
2048
    case " $ac_configure_args " in
1714
2049
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1715
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2050
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1716
2051
    esac
1717
2052
  fi
1718
2053
done
1719
2054
if $ac_cache_corrupted; then
1720
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1721
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1722
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1723
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1724
 
   { (exit 1); exit 1; }; }
 
2055
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2056
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2057
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2058
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2059
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1725
2060
fi
1726
 
 
1727
 
 
1728
 
 
1729
 
 
1730
 
 
1731
 
 
1732
 
 
1733
 
 
1734
 
 
1735
 
 
1736
 
 
1737
 
 
1738
 
 
1739
 
 
1740
 
 
1741
 
 
1742
 
 
1743
 
 
1744
 
 
1745
 
 
1746
 
 
1747
 
 
1748
 
 
1749
 
 
 
2061
## -------------------- ##
 
2062
## Main body of script. ##
 
2063
## -------------------- ##
1750
2064
 
1751
2065
ac_ext=c
1752
2066
ac_cpp='$CPP $CPPFLAGS'
1756
2070
 
1757
2071
 
1758
2072
 
1759
 
am__api_version='1.10'
 
2073
am__api_version='1.11'
1760
2074
 
1761
2075
ac_aux_dir=
1762
2076
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1763
 
  if test -f "$ac_dir/install-sh"; then
1764
 
    ac_aux_dir=$ac_dir
1765
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1766
 
    break
1767
 
  elif test -f "$ac_dir/install.sh"; then
1768
 
    ac_aux_dir=$ac_dir
1769
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1770
 
    break
1771
 
  elif test -f "$ac_dir/shtool"; then
1772
 
    ac_aux_dir=$ac_dir
1773
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1774
 
    break
1775
 
  fi
 
2077
  for ac_t in install-sh install.sh shtool; do
 
2078
    if test -f "$ac_dir/$ac_t"; then
 
2079
      ac_aux_dir=$ac_dir
 
2080
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2081
      break 2
 
2082
    fi
 
2083
  done
1776
2084
done
1777
2085
if test -z "$ac_aux_dir"; then
1778
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1779
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1780
 
   { (exit 1); exit 1; }; }
 
2086
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1781
2087
fi
1782
2088
 
1783
2089
# These three variables are undocumented and unsupported,
1802
2108
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1803
2109
# OS/2's system install, which has a completely different semantic
1804
2110
# ./install, which can be erroneously created by make from ./install.sh.
1805
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1806
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2111
# Reject install programs that cannot install multiple files.
 
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2113
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1807
2114
if test -z "$INSTALL"; then
1808
 
if test "${ac_cv_path_install+set}" = set; then
1809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2115
if test "${ac_cv_path_install+set}" = set; then :
 
2116
  $as_echo_n "(cached) " >&6
1810
2117
else
1811
2118
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812
2119
for as_dir in $PATH
1813
2120
do
1814
2121
  IFS=$as_save_IFS
1815
2122
  test -z "$as_dir" && as_dir=.
1816
 
  # Account for people who put trailing slashes in PATH elements.
1817
 
case $as_dir/ in
1818
 
  ./ | .// | /cC/* | \
 
2123
    # Account for people who put trailing slashes in PATH elements.
 
2124
case $as_dir/ in @%:@((
 
2125
  ./ | .// | /[cC]/* | \
1819
2126
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1820
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2127
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1821
2128
  /usr/ucb/* ) ;;
1822
2129
  *)
1823
2130
    # OSF1 and SCO ODT 3.0 have their own names for install.
1835
2142
            # program-specific install script used by HP pwplus--don't use.
1836
2143
            :
1837
2144
          else
1838
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1839
 
            break 3
 
2145
            rm -rf conftest.one conftest.two conftest.dir
 
2146
            echo one > conftest.one
 
2147
            echo two > conftest.two
 
2148
            mkdir conftest.dir
 
2149
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2150
              test -s conftest.one && test -s conftest.two &&
 
2151
              test -s conftest.dir/conftest.one &&
 
2152
              test -s conftest.dir/conftest.two
 
2153
            then
 
2154
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2155
              break 3
 
2156
            fi
1840
2157
          fi
1841
2158
        fi
1842
2159
      done
1843
2160
    done
1844
2161
    ;;
1845
2162
esac
1846
 
done
 
2163
 
 
2164
  done
1847
2165
IFS=$as_save_IFS
1848
2166
 
 
2167
rm -rf conftest.one conftest.two conftest.dir
1849
2168
 
1850
2169
fi
1851
2170
  if test "${ac_cv_path_install+set}" = set; then
1858
2177
    INSTALL=$ac_install_sh
1859
2178
  fi
1860
2179
fi
1861
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1862
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2181
$as_echo "$INSTALL" >&6; }
1863
2182
 
1864
2183
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1865
2184
# It thinks the first close brace ends the variable substitution.
1869
2188
 
1870
2189
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1871
2190
 
1872
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1873
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2192
$as_echo_n "checking whether build environment is sane... " >&6; }
1874
2193
# Just in case
1875
2194
sleep 1
1876
2195
echo timestamp > conftest.file
 
2196
# Reject unsafe characters in $srcdir or the absolute working directory
 
2197
# name.  Accept space and tab only in the latter.
 
2198
am_lf='
 
2199
'
 
2200
case `pwd` in
 
2201
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2202
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2203
esac
 
2204
case $srcdir in
 
2205
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2206
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2207
esac
 
2208
 
1877
2209
# Do `set' in a subshell so we don't clobber the current shell's
1878
2210
# arguments.  Must try -L first in case configure is actually a
1879
2211
# symlink; some systems play weird games with the mod time of symlinks
1880
2212
# (eg FreeBSD returns the mod time of the symlink's containing
1881
2213
# directory).
1882
2214
if (
1883
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2215
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1884
2216
   if test "$*" = "X"; then
1885
2217
      # -L didn't work.
1886
 
      set X `ls -t $srcdir/configure conftest.file`
 
2218
      set X `ls -t "$srcdir/configure" conftest.file`
1887
2219
   fi
1888
2220
   rm -f conftest.file
1889
2221
   if test "$*" != "X $srcdir/configure conftest.file" \
1893
2225
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1894
2226
      # broken ls alias from the environment.  This has actually
1895
2227
      # happened.  Such a system could not be considered "sane".
1896
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1897
 
alias in your environment" >&5
1898
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1899
 
alias in your environment" >&2;}
1900
 
   { (exit 1); exit 1; }; }
 
2228
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2229
alias in your environment" "$LINENO" 5
1901
2230
   fi
1902
2231
 
1903
2232
   test "$2" = conftest.file
1906
2235
   # Ok.
1907
2236
   :
1908
2237
else
1909
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1910
 
Check your system clock" >&5
1911
 
echo "$as_me: error: newly created file is older than distributed files!
1912
 
Check your system clock" >&2;}
1913
 
   { (exit 1); exit 1; }; }
 
2238
   as_fn_error "newly created file is older than distributed files!
 
2239
Check your system clock" "$LINENO" 5
1914
2240
fi
1915
 
{ echo "$as_me:$LINENO: result: yes" >&5
1916
 
echo "${ECHO_T}yes" >&6; }
 
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2242
$as_echo "yes" >&6; }
1917
2243
test "$program_prefix" != NONE &&
1918
2244
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1919
2245
# Use a double $ so make ignores it.
1920
2246
test "$program_suffix" != NONE &&
1921
2247
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1922
 
# Double any \ or $.  echo might interpret backslashes.
 
2248
# Double any \ or $.
1923
2249
# By default was `s,x,x', remove it if useless.
1924
 
cat <<\_ACEOF >conftest.sed
1925
 
s/[\\$]/&&/g;s/;s,x,x,$//
1926
 
_ACEOF
1927
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1928
 
rm -f conftest.sed
 
2250
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2251
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1929
2252
 
1930
2253
# expand $ac_aux_dir to an absolute path
1931
2254
am_aux_dir=`cd $ac_aux_dir && pwd`
1932
2255
 
1933
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2256
if test x"${MISSING+set}" != xset; then
 
2257
  case $am_aux_dir in
 
2258
  *\ * | *\     *)
 
2259
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2260
  *)
 
2261
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2262
  esac
 
2263
fi
1934
2264
# Use eval to expand $SHELL
1935
2265
if eval "$MISSING --run true"; then
1936
2266
  am_missing_run="$MISSING --run "
1937
2267
else
1938
2268
  am_missing_run=
1939
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1940
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1941
 
fi
1942
 
 
1943
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1944
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2269
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2270
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2271
fi
 
2272
 
 
2273
if test x"${install_sh}" != xset; then
 
2274
  case $am_aux_dir in
 
2275
  *\ * | *\     *)
 
2276
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2277
  *)
 
2278
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2279
  esac
 
2280
fi
 
2281
 
 
2282
# Installed binaries are usually stripped using `strip' when the user
 
2283
# run `make install-strip'.  However `strip' might not be the right
 
2284
# tool to use in cross-compilation environments, therefore Automake
 
2285
# will honor the `STRIP' environment variable to overrule this program.
 
2286
if test "$cross_compiling" != no; then
 
2287
  if test -n "$ac_tool_prefix"; then
 
2288
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2289
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2291
$as_echo_n "checking for $ac_word... " >&6; }
 
2292
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2293
  $as_echo_n "(cached) " >&6
 
2294
else
 
2295
  if test -n "$STRIP"; then
 
2296
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2297
else
 
2298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2299
for as_dir in $PATH
 
2300
do
 
2301
  IFS=$as_save_IFS
 
2302
  test -z "$as_dir" && as_dir=.
 
2303
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2304
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2305
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2306
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2307
    break 2
 
2308
  fi
 
2309
done
 
2310
  done
 
2311
IFS=$as_save_IFS
 
2312
 
 
2313
fi
 
2314
fi
 
2315
STRIP=$ac_cv_prog_STRIP
 
2316
if test -n "$STRIP"; then
 
2317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2318
$as_echo "$STRIP" >&6; }
 
2319
else
 
2320
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2321
$as_echo "no" >&6; }
 
2322
fi
 
2323
 
 
2324
 
 
2325
fi
 
2326
if test -z "$ac_cv_prog_STRIP"; then
 
2327
  ac_ct_STRIP=$STRIP
 
2328
  # Extract the first word of "strip", so it can be a program name with args.
 
2329
set dummy strip; ac_word=$2
 
2330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2331
$as_echo_n "checking for $ac_word... " >&6; }
 
2332
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2333
  $as_echo_n "(cached) " >&6
 
2334
else
 
2335
  if test -n "$ac_ct_STRIP"; then
 
2336
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2337
else
 
2338
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2339
for as_dir in $PATH
 
2340
do
 
2341
  IFS=$as_save_IFS
 
2342
  test -z "$as_dir" && as_dir=.
 
2343
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2344
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2345
    ac_cv_prog_ac_ct_STRIP="strip"
 
2346
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2347
    break 2
 
2348
  fi
 
2349
done
 
2350
  done
 
2351
IFS=$as_save_IFS
 
2352
 
 
2353
fi
 
2354
fi
 
2355
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2356
if test -n "$ac_ct_STRIP"; then
 
2357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2358
$as_echo "$ac_ct_STRIP" >&6; }
 
2359
else
 
2360
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2361
$as_echo "no" >&6; }
 
2362
fi
 
2363
 
 
2364
  if test "x$ac_ct_STRIP" = x; then
 
2365
    STRIP=":"
 
2366
  else
 
2367
    case $cross_compiling:$ac_tool_warned in
 
2368
yes:)
 
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2370
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2371
ac_tool_warned=yes ;;
 
2372
esac
 
2373
    STRIP=$ac_ct_STRIP
 
2374
  fi
 
2375
else
 
2376
  STRIP="$ac_cv_prog_STRIP"
 
2377
fi
 
2378
 
 
2379
fi
 
2380
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2381
 
 
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2383
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1945
2384
if test -z "$MKDIR_P"; then
1946
 
  if test "${ac_cv_path_mkdir+set}" = set; then
1947
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2385
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2386
  $as_echo_n "(cached) " >&6
1948
2387
else
1949
2388
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950
2389
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1951
2390
do
1952
2391
  IFS=$as_save_IFS
1953
2392
  test -z "$as_dir" && as_dir=.
1954
 
  for ac_prog in mkdir gmkdir; do
 
2393
    for ac_prog in mkdir gmkdir; do
1955
2394
         for ac_exec_ext in '' $ac_executable_extensions; do
1956
2395
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1957
2396
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1963
2402
           esac
1964
2403
         done
1965
2404
       done
1966
 
done
 
2405
  done
1967
2406
IFS=$as_save_IFS
1968
2407
 
1969
2408
fi
1970
2409
 
 
2410
  test -d ./--version && rmdir ./--version
1971
2411
  if test "${ac_cv_path_mkdir+set}" = set; then
1972
2412
    MKDIR_P="$ac_cv_path_mkdir -p"
1973
2413
  else
1975
2415
    # value for MKDIR_P within a source directory, because that will
1976
2416
    # break other packages using the cache if that directory is
1977
2417
    # removed, or if the value is a relative name.
1978
 
    test -d ./--version && rmdir ./--version
1979
2418
    MKDIR_P="$ac_install_sh -d"
1980
2419
  fi
1981
2420
fi
1982
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1983
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2422
$as_echo "$MKDIR_P" >&6; }
1984
2423
 
1985
2424
mkdir_p="$MKDIR_P"
1986
2425
case $mkdir_p in
1992
2431
do
1993
2432
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1994
2433
set dummy $ac_prog; ac_word=$2
1995
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1996
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1997
 
if test "${ac_cv_prog_AWK+set}" = set; then
1998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2435
$as_echo_n "checking for $ac_word... " >&6; }
 
2436
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2437
  $as_echo_n "(cached) " >&6
1999
2438
else
2000
2439
  if test -n "$AWK"; then
2001
2440
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2005
2444
do
2006
2445
  IFS=$as_save_IFS
2007
2446
  test -z "$as_dir" && as_dir=.
2008
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2447
    for ac_exec_ext in '' $ac_executable_extensions; do
2009
2448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2010
2449
    ac_cv_prog_AWK="$ac_prog"
2011
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2450
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2012
2451
    break 2
2013
2452
  fi
2014
2453
done
2015
 
done
 
2454
  done
2016
2455
IFS=$as_save_IFS
2017
2456
 
2018
2457
fi
2019
2458
fi
2020
2459
AWK=$ac_cv_prog_AWK
2021
2460
if test -n "$AWK"; then
2022
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2023
 
echo "${ECHO_T}$AWK" >&6; }
 
2461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2462
$as_echo "$AWK" >&6; }
2024
2463
else
2025
 
  { echo "$as_me:$LINENO: result: no" >&5
2026
 
echo "${ECHO_T}no" >&6; }
 
2464
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2465
$as_echo "no" >&6; }
2027
2466
fi
2028
2467
 
2029
2468
 
2030
2469
  test -n "$AWK" && break
2031
2470
done
2032
2471
 
2033
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2034
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2035
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2036
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2473
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2474
set x ${MAKE-make}
 
2475
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2476
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2477
  $as_echo_n "(cached) " >&6
2038
2478
else
2039
2479
  cat >conftest.make <<\_ACEOF
2040
2480
SHELL = /bin/sh
2051
2491
rm -f conftest.make
2052
2492
fi
2053
2493
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2054
 
  { echo "$as_me:$LINENO: result: yes" >&5
2055
 
echo "${ECHO_T}yes" >&6; }
 
2494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2495
$as_echo "yes" >&6; }
2056
2496
  SET_MAKE=
2057
2497
else
2058
 
  { echo "$as_me:$LINENO: result: no" >&5
2059
 
echo "${ECHO_T}no" >&6; }
 
2498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2499
$as_echo "no" >&6; }
2060
2500
  SET_MAKE="MAKE=${MAKE-make}"
2061
2501
fi
2062
2502
 
2075
2515
  am__isrc=' -I$(srcdir)'
2076
2516
  # test to see if srcdir already configured
2077
2517
  if test -f $srcdir/config.status; then
2078
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2079
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2080
 
   { (exit 1); exit 1; }; }
 
2518
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2081
2519
  fi
2082
2520
fi
2083
2521
 
2093
2531
 
2094
2532
# Define the identity of the package.
2095
2533
 PACKAGE='ltspfs'
2096
 
 VERSION='0.5.13'
 
2534
 VERSION='0.5.14'
2097
2535
 
2098
2536
 
2099
2537
cat >>confdefs.h <<_ACEOF
2121
2559
 
2122
2560
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2123
2561
 
2124
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2125
 
 
2126
 
# Installed binaries are usually stripped using `strip' when the user
2127
 
# run `make install-strip'.  However `strip' might not be the right
2128
 
# tool to use in cross-compilation environments, therefore Automake
2129
 
# will honor the `STRIP' environment variable to overrule this program.
2130
 
if test "$cross_compiling" != no; then
2131
 
  if test -n "$ac_tool_prefix"; then
2132
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2133
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2134
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2135
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2136
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2138
 
else
2139
 
  if test -n "$STRIP"; then
2140
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2141
 
else
2142
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143
 
for as_dir in $PATH
2144
 
do
2145
 
  IFS=$as_save_IFS
2146
 
  test -z "$as_dir" && as_dir=.
2147
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2148
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2149
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2150
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151
 
    break 2
2152
 
  fi
2153
 
done
2154
 
done
2155
 
IFS=$as_save_IFS
2156
 
 
2157
 
fi
2158
 
fi
2159
 
STRIP=$ac_cv_prog_STRIP
2160
 
if test -n "$STRIP"; then
2161
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2162
 
echo "${ECHO_T}$STRIP" >&6; }
2163
 
else
2164
 
  { echo "$as_me:$LINENO: result: no" >&5
2165
 
echo "${ECHO_T}no" >&6; }
2166
 
fi
2167
 
 
2168
 
 
2169
 
fi
2170
 
if test -z "$ac_cv_prog_STRIP"; then
2171
 
  ac_ct_STRIP=$STRIP
2172
 
  # Extract the first word of "strip", so it can be a program name with args.
2173
 
set dummy strip; ac_word=$2
2174
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2175
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2176
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2177
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2178
 
else
2179
 
  if test -n "$ac_ct_STRIP"; then
2180
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2181
 
else
2182
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183
 
for as_dir in $PATH
2184
 
do
2185
 
  IFS=$as_save_IFS
2186
 
  test -z "$as_dir" && as_dir=.
2187
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2188
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2189
 
    ac_cv_prog_ac_ct_STRIP="strip"
2190
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191
 
    break 2
2192
 
  fi
2193
 
done
2194
 
done
2195
 
IFS=$as_save_IFS
2196
 
 
2197
 
fi
2198
 
fi
2199
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2200
 
if test -n "$ac_ct_STRIP"; then
2201
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2202
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2203
 
else
2204
 
  { echo "$as_me:$LINENO: result: no" >&5
2205
 
echo "${ECHO_T}no" >&6; }
2206
 
fi
2207
 
 
2208
 
  if test "x$ac_ct_STRIP" = x; then
2209
 
    STRIP=":"
2210
 
  else
2211
 
    case $cross_compiling:$ac_tool_warned in
2212
 
yes:)
2213
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2214
 
whose name does not start with the host triplet.  If you think this
2215
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2216
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2217
 
whose name does not start with the host triplet.  If you think this
2218
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2219
 
ac_tool_warned=yes ;;
2220
 
esac
2221
 
    STRIP=$ac_ct_STRIP
2222
 
  fi
2223
 
else
2224
 
  STRIP="$ac_cv_prog_STRIP"
2225
 
fi
2226
 
 
2227
 
fi
2228
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2229
 
 
2230
2562
# We need awk for the "check" target.  The system "awk" is bad on
2231
2563
# some platforms.
2232
2564
# Always define AMTAR for backward compatibility.
2242
2574
 
2243
2575
ac_config_headers="$ac_config_headers config.h"
2244
2576
 
2245
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2246
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2247
 
    # Check whether --enable-maintainer-mode was given.
2248
 
if test "${enable_maintainer_mode+set}" = set; then
 
2577
 
 
2578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2579
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2580
    @%:@ Check whether --enable-maintainer-mode was given.
 
2581
if test "${enable_maintainer_mode+set}" = set; then :
2249
2582
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2250
2583
else
2251
2584
  USE_MAINTAINER_MODE=no
2252
2585
fi
2253
2586
 
2254
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2255
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2588
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2256
2589
   if test $USE_MAINTAINER_MODE = yes; then
2257
2590
  MAINTAINER_MODE_TRUE=
2258
2591
  MAINTAINER_MODE_FALSE='#'
2273
2606
if test -n "$ac_tool_prefix"; then
2274
2607
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2275
2608
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2276
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2277
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278
 
if test "${ac_cv_prog_CC+set}" = set; then
2279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2610
$as_echo_n "checking for $ac_word... " >&6; }
 
2611
if test "${ac_cv_prog_CC+set}" = set; then :
 
2612
  $as_echo_n "(cached) " >&6
2280
2613
else
2281
2614
  if test -n "$CC"; then
2282
2615
  ac_cv_prog_CC="$CC" # Let the user override the test.
2286
2619
do
2287
2620
  IFS=$as_save_IFS
2288
2621
  test -z "$as_dir" && as_dir=.
2289
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2622
    for ac_exec_ext in '' $ac_executable_extensions; do
2290
2623
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291
2624
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2292
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2625
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2293
2626
    break 2
2294
2627
  fi
2295
2628
done
2296
 
done
 
2629
  done
2297
2630
IFS=$as_save_IFS
2298
2631
 
2299
2632
fi
2300
2633
fi
2301
2634
CC=$ac_cv_prog_CC
2302
2635
if test -n "$CC"; then
2303
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2304
 
echo "${ECHO_T}$CC" >&6; }
 
2636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2637
$as_echo "$CC" >&6; }
2305
2638
else
2306
 
  { echo "$as_me:$LINENO: result: no" >&5
2307
 
echo "${ECHO_T}no" >&6; }
 
2639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2640
$as_echo "no" >&6; }
2308
2641
fi
2309
2642
 
2310
2643
 
2313
2646
  ac_ct_CC=$CC
2314
2647
  # Extract the first word of "gcc", so it can be a program name with args.
2315
2648
set dummy gcc; ac_word=$2
2316
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2317
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2650
$as_echo_n "checking for $ac_word... " >&6; }
 
2651
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2652
  $as_echo_n "(cached) " >&6
2320
2653
else
2321
2654
  if test -n "$ac_ct_CC"; then
2322
2655
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2326
2659
do
2327
2660
  IFS=$as_save_IFS
2328
2661
  test -z "$as_dir" && as_dir=.
2329
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2662
    for ac_exec_ext in '' $ac_executable_extensions; do
2330
2663
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331
2664
    ac_cv_prog_ac_ct_CC="gcc"
2332
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2665
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2333
2666
    break 2
2334
2667
  fi
2335
2668
done
2336
 
done
 
2669
  done
2337
2670
IFS=$as_save_IFS
2338
2671
 
2339
2672
fi
2340
2673
fi
2341
2674
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2342
2675
if test -n "$ac_ct_CC"; then
2343
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2344
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2677
$as_echo "$ac_ct_CC" >&6; }
2345
2678
else
2346
 
  { echo "$as_me:$LINENO: result: no" >&5
2347
 
echo "${ECHO_T}no" >&6; }
 
2679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2680
$as_echo "no" >&6; }
2348
2681
fi
2349
2682
 
2350
2683
  if test "x$ac_ct_CC" = x; then
2352
2685
  else
2353
2686
    case $cross_compiling:$ac_tool_warned in
2354
2687
yes:)
2355
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2356
 
whose name does not start with the host triplet.  If you think this
2357
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2358
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2359
 
whose name does not start with the host triplet.  If you think this
2360
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2689
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2361
2690
ac_tool_warned=yes ;;
2362
2691
esac
2363
2692
    CC=$ac_ct_CC
2370
2699
          if test -n "$ac_tool_prefix"; then
2371
2700
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2372
2701
set dummy ${ac_tool_prefix}cc; ac_word=$2
2373
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2374
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375
 
if test "${ac_cv_prog_CC+set}" = set; then
2376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2703
$as_echo_n "checking for $ac_word... " >&6; }
 
2704
if test "${ac_cv_prog_CC+set}" = set; then :
 
2705
  $as_echo_n "(cached) " >&6
2377
2706
else
2378
2707
  if test -n "$CC"; then
2379
2708
  ac_cv_prog_CC="$CC" # Let the user override the test.
2383
2712
do
2384
2713
  IFS=$as_save_IFS
2385
2714
  test -z "$as_dir" && as_dir=.
2386
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2715
    for ac_exec_ext in '' $ac_executable_extensions; do
2387
2716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388
2717
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2389
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2718
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390
2719
    break 2
2391
2720
  fi
2392
2721
done
2393
 
done
 
2722
  done
2394
2723
IFS=$as_save_IFS
2395
2724
 
2396
2725
fi
2397
2726
fi
2398
2727
CC=$ac_cv_prog_CC
2399
2728
if test -n "$CC"; then
2400
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2401
 
echo "${ECHO_T}$CC" >&6; }
 
2729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2730
$as_echo "$CC" >&6; }
2402
2731
else
2403
 
  { echo "$as_me:$LINENO: result: no" >&5
2404
 
echo "${ECHO_T}no" >&6; }
 
2732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2733
$as_echo "no" >&6; }
2405
2734
fi
2406
2735
 
2407
2736
 
2410
2739
if test -z "$CC"; then
2411
2740
  # Extract the first word of "cc", so it can be a program name with args.
2412
2741
set dummy cc; ac_word=$2
2413
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2414
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2415
 
if test "${ac_cv_prog_CC+set}" = set; then
2416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2743
$as_echo_n "checking for $ac_word... " >&6; }
 
2744
if test "${ac_cv_prog_CC+set}" = set; then :
 
2745
  $as_echo_n "(cached) " >&6
2417
2746
else
2418
2747
  if test -n "$CC"; then
2419
2748
  ac_cv_prog_CC="$CC" # Let the user override the test.
2424
2753
do
2425
2754
  IFS=$as_save_IFS
2426
2755
  test -z "$as_dir" && as_dir=.
2427
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2756
    for ac_exec_ext in '' $ac_executable_extensions; do
2428
2757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429
2758
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2430
2759
       ac_prog_rejected=yes
2431
2760
       continue
2432
2761
     fi
2433
2762
    ac_cv_prog_CC="cc"
2434
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2763
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2435
2764
    break 2
2436
2765
  fi
2437
2766
done
2438
 
done
 
2767
  done
2439
2768
IFS=$as_save_IFS
2440
2769
 
2441
2770
if test $ac_prog_rejected = yes; then
2454
2783
fi
2455
2784
CC=$ac_cv_prog_CC
2456
2785
if test -n "$CC"; then
2457
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2458
 
echo "${ECHO_T}$CC" >&6; }
 
2786
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2787
$as_echo "$CC" >&6; }
2459
2788
else
2460
 
  { echo "$as_me:$LINENO: result: no" >&5
2461
 
echo "${ECHO_T}no" >&6; }
 
2789
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2790
$as_echo "no" >&6; }
2462
2791
fi
2463
2792
 
2464
2793
 
2469
2798
  do
2470
2799
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2471
2800
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2472
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2473
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2474
 
if test "${ac_cv_prog_CC+set}" = set; then
2475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2802
$as_echo_n "checking for $ac_word... " >&6; }
 
2803
if test "${ac_cv_prog_CC+set}" = set; then :
 
2804
  $as_echo_n "(cached) " >&6
2476
2805
else
2477
2806
  if test -n "$CC"; then
2478
2807
  ac_cv_prog_CC="$CC" # Let the user override the test.
2482
2811
do
2483
2812
  IFS=$as_save_IFS
2484
2813
  test -z "$as_dir" && as_dir=.
2485
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2814
    for ac_exec_ext in '' $ac_executable_extensions; do
2486
2815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487
2816
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2488
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489
2818
    break 2
2490
2819
  fi
2491
2820
done
2492
 
done
 
2821
  done
2493
2822
IFS=$as_save_IFS
2494
2823
 
2495
2824
fi
2496
2825
fi
2497
2826
CC=$ac_cv_prog_CC
2498
2827
if test -n "$CC"; then
2499
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2500
 
echo "${ECHO_T}$CC" >&6; }
 
2828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2829
$as_echo "$CC" >&6; }
2501
2830
else
2502
 
  { echo "$as_me:$LINENO: result: no" >&5
2503
 
echo "${ECHO_T}no" >&6; }
 
2831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2832
$as_echo "no" >&6; }
2504
2833
fi
2505
2834
 
2506
2835
 
2513
2842
do
2514
2843
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2515
2844
set dummy $ac_prog; ac_word=$2
2516
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2517
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2518
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2846
$as_echo_n "checking for $ac_word... " >&6; }
 
2847
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2848
  $as_echo_n "(cached) " >&6
2520
2849
else
2521
2850
  if test -n "$ac_ct_CC"; then
2522
2851
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2526
2855
do
2527
2856
  IFS=$as_save_IFS
2528
2857
  test -z "$as_dir" && as_dir=.
2529
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2858
    for ac_exec_ext in '' $ac_executable_extensions; do
2530
2859
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531
2860
    ac_cv_prog_ac_ct_CC="$ac_prog"
2532
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2861
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533
2862
    break 2
2534
2863
  fi
2535
2864
done
2536
 
done
 
2865
  done
2537
2866
IFS=$as_save_IFS
2538
2867
 
2539
2868
fi
2540
2869
fi
2541
2870
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2542
2871
if test -n "$ac_ct_CC"; then
2543
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2544
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2873
$as_echo "$ac_ct_CC" >&6; }
2545
2874
else
2546
 
  { echo "$as_me:$LINENO: result: no" >&5
2547
 
echo "${ECHO_T}no" >&6; }
 
2875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2876
$as_echo "no" >&6; }
2548
2877
fi
2549
2878
 
2550
2879
 
2556
2885
  else
2557
2886
    case $cross_compiling:$ac_tool_warned in
2558
2887
yes:)
2559
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2560
 
whose name does not start with the host triplet.  If you think this
2561
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2562
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2563
 
whose name does not start with the host triplet.  If you think this
2564
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2889
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2565
2890
ac_tool_warned=yes ;;
2566
2891
esac
2567
2892
    CC=$ac_ct_CC
2571
2896
fi
2572
2897
 
2573
2898
 
2574
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575
 
See \`config.log' for more details." >&5
2576
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2577
 
See \`config.log' for more details." >&2;}
2578
 
   { (exit 1); exit 1; }; }
 
2899
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2900
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2901
as_fn_error "no acceptable C compiler found in \$PATH
 
2902
See \`config.log' for more details." "$LINENO" 5; }
2579
2903
 
2580
2904
# Provide some information about the compiler.
2581
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2582
 
ac_compiler=`set X $ac_compile; echo $2`
2583
 
{ (ac_try="$ac_compiler --version >&5"
2584
 
case "(($ac_try" in
2585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586
 
  *) ac_try_echo=$ac_try;;
2587
 
esac
2588
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589
 
  (eval "$ac_compiler --version >&5") 2>&5
2590
 
  ac_status=$?
2591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
 
  (exit $ac_status); }
2593
 
{ (ac_try="$ac_compiler -v >&5"
2594
 
case "(($ac_try" in
2595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596
 
  *) ac_try_echo=$ac_try;;
2597
 
esac
2598
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599
 
  (eval "$ac_compiler -v >&5") 2>&5
2600
 
  ac_status=$?
2601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
 
  (exit $ac_status); }
2603
 
{ (ac_try="$ac_compiler -V >&5"
2604
 
case "(($ac_try" in
2605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606
 
  *) ac_try_echo=$ac_try;;
2607
 
esac
2608
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609
 
  (eval "$ac_compiler -V >&5") 2>&5
2610
 
  ac_status=$?
2611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
 
  (exit $ac_status); }
 
2905
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
2906
set X $ac_compile
 
2907
ac_compiler=$2
 
2908
for ac_option in --version -v -V -qversion; do
 
2909
  { { ac_try="$ac_compiler $ac_option >&5"
 
2910
case "(($ac_try" in
 
2911
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2912
  *) ac_try_echo=$ac_try;;
 
2913
esac
 
2914
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2915
$as_echo "$ac_try_echo"; } >&5
 
2916
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2917
  ac_status=$?
 
2918
  if test -s conftest.err; then
 
2919
    sed '10a\
 
2920
... rest of stderr output deleted ...
 
2921
         10q' conftest.err >conftest.er1
 
2922
    cat conftest.er1 >&5
 
2923
  fi
 
2924
  rm -f conftest.er1 conftest.err
 
2925
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2926
  test $ac_status = 0; }
 
2927
done
2613
2928
 
2614
 
cat >conftest.$ac_ext <<_ACEOF
2615
 
/* confdefs.h.  */
2616
 
_ACEOF
2617
 
cat confdefs.h >>conftest.$ac_ext
2618
 
cat >>conftest.$ac_ext <<_ACEOF
 
2929
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2619
2930
/* end confdefs.h.  */
2620
2931
 
2621
2932
int
2627
2938
}
2628
2939
_ACEOF
2629
2940
ac_clean_files_save=$ac_clean_files
2630
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2941
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2631
2942
# Try to create an executable without -o first, disregard a.out.
2632
2943
# It will help us diagnose broken compilers, and finding out an intuition
2633
2944
# of exeext.
2634
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2635
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2636
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2637
 
#
2638
 
# List of possible output files, starting from the most likely.
2639
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2640
 
# only as a last resort.  b.out is created by i960 compilers.
2641
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2642
 
#
2643
 
# The IRIX 6 linker writes into existing files which may not be
2644
 
# executable, retaining their permissions.  Remove them first so a
2645
 
# subsequent execution test works.
 
2945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2946
$as_echo_n "checking whether the C compiler works... " >&6; }
 
2947
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2948
 
 
2949
# The possible output files:
 
2950
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2951
 
2646
2952
ac_rmfiles=
2647
2953
for ac_file in $ac_files
2648
2954
do
2649
2955
  case $ac_file in
2650
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2956
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2651
2957
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2652
2958
  esac
2653
2959
done
2654
2960
rm -f $ac_rmfiles
2655
2961
 
2656
 
if { (ac_try="$ac_link_default"
 
2962
if { { ac_try="$ac_link_default"
2657
2963
case "(($ac_try" in
2658
2964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659
2965
  *) ac_try_echo=$ac_try;;
2660
2966
esac
2661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2967
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2968
$as_echo "$ac_try_echo"; } >&5
2662
2969
  (eval "$ac_link_default") 2>&5
2663
2970
  ac_status=$?
2664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665
 
  (exit $ac_status); }; then
 
2971
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2972
  test $ac_status = 0; }; then :
2666
2973
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2667
2974
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2668
2975
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2672
2979
do
2673
2980
  test -f "$ac_file" || continue
2674
2981
  case $ac_file in
2675
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2982
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2676
2983
        ;;
2677
2984
    [ab].out )
2678
2985
        # We found the default executable, but exeext='' is most
2679
2986
        # certainly right.
2680
2987
        break;;
2681
2988
    *.* )
2682
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2989
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2683
2990
        then :; else
2684
2991
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2685
2992
        fi
2698
3005
else
2699
3006
  ac_file=''
2700
3007
fi
2701
 
 
2702
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2703
 
echo "${ECHO_T}$ac_file" >&6; }
2704
 
if test -z "$ac_file"; then
2705
 
  echo "$as_me: failed program was:" >&5
 
3008
if test -z "$ac_file"; then :
 
3009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3010
$as_echo "no" >&6; }
 
3011
$as_echo "$as_me: failed program was:" >&5
2706
3012
sed 's/^/| /' conftest.$ac_ext >&5
2707
3013
 
2708
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2709
 
See \`config.log' for more details." >&5
2710
 
echo "$as_me: error: C compiler cannot create executables
2711
 
See \`config.log' for more details." >&2;}
2712
 
   { (exit 77); exit 77; }; }
 
3014
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3015
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3016
{ as_fn_set_status 77
 
3017
as_fn_error "C compiler cannot create executables
 
3018
See \`config.log' for more details." "$LINENO" 5; }; }
 
3019
else
 
3020
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3021
$as_echo "yes" >&6; }
2713
3022
fi
2714
 
 
 
3023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3024
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3026
$as_echo "$ac_file" >&6; }
2715
3027
ac_exeext=$ac_cv_exeext
2716
3028
 
2717
 
# Check that the compiler produces executables we can run.  If not, either
2718
 
# the compiler is broken, or we cross compile.
2719
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2720
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2721
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2722
 
# If not cross compiling, check that we can run a simple program.
2723
 
if test "$cross_compiling" != yes; then
2724
 
  if { ac_try='./$ac_file'
2725
 
  { (case "(($ac_try" in
2726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727
 
  *) ac_try_echo=$ac_try;;
2728
 
esac
2729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730
 
  (eval "$ac_try") 2>&5
2731
 
  ac_status=$?
2732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733
 
  (exit $ac_status); }; }; then
2734
 
    cross_compiling=no
2735
 
  else
2736
 
    if test "$cross_compiling" = maybe; then
2737
 
        cross_compiling=yes
2738
 
    else
2739
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2740
 
If you meant to cross compile, use \`--host'.
2741
 
See \`config.log' for more details." >&5
2742
 
echo "$as_me: error: cannot run C compiled programs.
2743
 
If you meant to cross compile, use \`--host'.
2744
 
See \`config.log' for more details." >&2;}
2745
 
   { (exit 1); exit 1; }; }
2746
 
    fi
2747
 
  fi
2748
 
fi
2749
 
{ echo "$as_me:$LINENO: result: yes" >&5
2750
 
echo "${ECHO_T}yes" >&6; }
2751
 
 
2752
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3029
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2753
3030
ac_clean_files=$ac_clean_files_save
2754
 
# Check that the compiler produces executables we can run.  If not, either
2755
 
# the compiler is broken, or we cross compile.
2756
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2757
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2758
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2759
 
echo "${ECHO_T}$cross_compiling" >&6; }
2760
 
 
2761
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2762
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2763
 
if { (ac_try="$ac_link"
 
3031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3032
$as_echo_n "checking for suffix of executables... " >&6; }
 
3033
if { { ac_try="$ac_link"
2764
3034
case "(($ac_try" in
2765
3035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766
3036
  *) ac_try_echo=$ac_try;;
2767
3037
esac
2768
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3038
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3039
$as_echo "$ac_try_echo"; } >&5
2769
3040
  (eval "$ac_link") 2>&5
2770
3041
  ac_status=$?
2771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
 
  (exit $ac_status); }; then
 
3042
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3043
  test $ac_status = 0; }; then :
2773
3044
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2774
3045
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2775
3046
# work properly (i.e., refer to `conftest.exe'), while it won't with
2777
3048
for ac_file in conftest.exe conftest conftest.*; do
2778
3049
  test -f "$ac_file" || continue
2779
3050
  case $ac_file in
2780
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3051
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2781
3052
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2782
3053
          break;;
2783
3054
    * ) break;;
2784
3055
  esac
2785
3056
done
2786
3057
else
2787
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2788
 
See \`config.log' for more details." >&5
2789
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2790
 
See \`config.log' for more details." >&2;}
2791
 
   { (exit 1); exit 1; }; }
 
3058
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3059
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3060
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3061
See \`config.log' for more details." "$LINENO" 5; }
2792
3062
fi
2793
 
 
2794
 
rm -f conftest$ac_cv_exeext
2795
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2796
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3063
rm -f conftest conftest$ac_cv_exeext
 
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3065
$as_echo "$ac_cv_exeext" >&6; }
2797
3066
 
2798
3067
rm -f conftest.$ac_ext
2799
3068
EXEEXT=$ac_cv_exeext
2800
3069
ac_exeext=$EXEEXT
2801
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2802
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2803
 
if test "${ac_cv_objext+set}" = set; then
2804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3070
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3071
/* end confdefs.h.  */
 
3072
@%:@include <stdio.h>
 
3073
int
 
3074
main ()
 
3075
{
 
3076
FILE *f = fopen ("conftest.out", "w");
 
3077
 return ferror (f) || fclose (f) != 0;
 
3078
 
 
3079
  ;
 
3080
  return 0;
 
3081
}
 
3082
_ACEOF
 
3083
ac_clean_files="$ac_clean_files conftest.out"
 
3084
# Check that the compiler produces executables we can run.  If not, either
 
3085
# the compiler is broken, or we cross compile.
 
3086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3087
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3088
if test "$cross_compiling" != yes; then
 
3089
  { { ac_try="$ac_link"
 
3090
case "(($ac_try" in
 
3091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3092
  *) ac_try_echo=$ac_try;;
 
3093
esac
 
3094
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3095
$as_echo "$ac_try_echo"; } >&5
 
3096
  (eval "$ac_link") 2>&5
 
3097
  ac_status=$?
 
3098
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3099
  test $ac_status = 0; }
 
3100
  if { ac_try='./conftest$ac_cv_exeext'
 
3101
  { { case "(($ac_try" in
 
3102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3103
  *) ac_try_echo=$ac_try;;
 
3104
esac
 
3105
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3106
$as_echo "$ac_try_echo"; } >&5
 
3107
  (eval "$ac_try") 2>&5
 
3108
  ac_status=$?
 
3109
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3110
  test $ac_status = 0; }; }; then
 
3111
    cross_compiling=no
 
3112
  else
 
3113
    if test "$cross_compiling" = maybe; then
 
3114
        cross_compiling=yes
 
3115
    else
 
3116
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3118
as_fn_error "cannot run C compiled programs.
 
3119
If you meant to cross compile, use \`--host'.
 
3120
See \`config.log' for more details." "$LINENO" 5; }
 
3121
    fi
 
3122
  fi
 
3123
fi
 
3124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3125
$as_echo "$cross_compiling" >&6; }
 
3126
 
 
3127
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3128
ac_clean_files=$ac_clean_files_save
 
3129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3130
$as_echo_n "checking for suffix of object files... " >&6; }
 
3131
if test "${ac_cv_objext+set}" = set; then :
 
3132
  $as_echo_n "(cached) " >&6
2805
3133
else
2806
 
  cat >conftest.$ac_ext <<_ACEOF
2807
 
/* confdefs.h.  */
2808
 
_ACEOF
2809
 
cat confdefs.h >>conftest.$ac_ext
2810
 
cat >>conftest.$ac_ext <<_ACEOF
 
3134
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811
3135
/* end confdefs.h.  */
2812
3136
 
2813
3137
int
2819
3143
}
2820
3144
_ACEOF
2821
3145
rm -f conftest.o conftest.obj
2822
 
if { (ac_try="$ac_compile"
 
3146
if { { ac_try="$ac_compile"
2823
3147
case "(($ac_try" in
2824
3148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825
3149
  *) ac_try_echo=$ac_try;;
2826
3150
esac
2827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3151
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3152
$as_echo "$ac_try_echo"; } >&5
2828
3153
  (eval "$ac_compile") 2>&5
2829
3154
  ac_status=$?
2830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831
 
  (exit $ac_status); }; then
 
3155
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3156
  test $ac_status = 0; }; then :
2832
3157
  for ac_file in conftest.o conftest.obj conftest.*; do
2833
3158
  test -f "$ac_file" || continue;
2834
3159
  case $ac_file in
2835
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3160
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2836
3161
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2837
3162
       break;;
2838
3163
  esac
2839
3164
done
2840
3165
else
2841
 
  echo "$as_me: failed program was:" >&5
 
3166
  $as_echo "$as_me: failed program was:" >&5
2842
3167
sed 's/^/| /' conftest.$ac_ext >&5
2843
3168
 
2844
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845
 
See \`config.log' for more details." >&5
2846
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847
 
See \`config.log' for more details." >&2;}
2848
 
   { (exit 1); exit 1; }; }
 
3169
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3170
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3171
as_fn_error "cannot compute suffix of object files: cannot compile
 
3172
See \`config.log' for more details." "$LINENO" 5; }
2849
3173
fi
2850
 
 
2851
3174
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2852
3175
fi
2853
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3177
$as_echo "$ac_cv_objext" >&6; }
2855
3178
OBJEXT=$ac_cv_objext
2856
3179
ac_objext=$OBJEXT
2857
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2859
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3181
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3182
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3183
  $as_echo_n "(cached) " >&6
2861
3184
else
2862
 
  cat >conftest.$ac_ext <<_ACEOF
2863
 
/* confdefs.h.  */
2864
 
_ACEOF
2865
 
cat confdefs.h >>conftest.$ac_ext
2866
 
cat >>conftest.$ac_ext <<_ACEOF
 
3185
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867
3186
/* end confdefs.h.  */
2868
3187
 
2869
3188
int
2877
3196
  return 0;
2878
3197
}
2879
3198
_ACEOF
2880
 
rm -f conftest.$ac_objext
2881
 
if { (ac_try="$ac_compile"
2882
 
case "(($ac_try" in
2883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884
 
  *) ac_try_echo=$ac_try;;
2885
 
esac
2886
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887
 
  (eval "$ac_compile") 2>conftest.er1
2888
 
  ac_status=$?
2889
 
  grep -v '^ *+' conftest.er1 >conftest.err
2890
 
  rm -f conftest.er1
2891
 
  cat conftest.err >&5
2892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893
 
  (exit $ac_status); } && {
2894
 
         test -z "$ac_c_werror_flag" ||
2895
 
         test ! -s conftest.err
2896
 
       } && test -s conftest.$ac_objext; then
 
3199
if ac_fn_c_try_compile "$LINENO"; then :
2897
3200
  ac_compiler_gnu=yes
2898
3201
else
2899
 
  echo "$as_me: failed program was:" >&5
2900
 
sed 's/^/| /' conftest.$ac_ext >&5
2901
 
 
2902
 
        ac_compiler_gnu=no
 
3202
  ac_compiler_gnu=no
2903
3203
fi
2904
 
 
2905
3204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906
3205
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2907
3206
 
2908
3207
fi
2909
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2910
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2911
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3209
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3210
if test $ac_compiler_gnu = yes; then
 
3211
  GCC=yes
 
3212
else
 
3213
  GCC=
 
3214
fi
2912
3215
ac_test_CFLAGS=${CFLAGS+set}
2913
3216
ac_save_CFLAGS=$CFLAGS
2914
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2915
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2916
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2917
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3218
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3219
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3220
  $as_echo_n "(cached) " >&6
2918
3221
else
2919
3222
  ac_save_c_werror_flag=$ac_c_werror_flag
2920
3223
   ac_c_werror_flag=yes
2921
3224
   ac_cv_prog_cc_g=no
2922
3225
   CFLAGS="-g"
2923
 
   cat >conftest.$ac_ext <<_ACEOF
2924
 
/* confdefs.h.  */
2925
 
_ACEOF
2926
 
cat confdefs.h >>conftest.$ac_ext
2927
 
cat >>conftest.$ac_ext <<_ACEOF
 
3226
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928
3227
/* end confdefs.h.  */
2929
3228
 
2930
3229
int
2935
3234
  return 0;
2936
3235
}
2937
3236
_ACEOF
2938
 
rm -f conftest.$ac_objext
2939
 
if { (ac_try="$ac_compile"
2940
 
case "(($ac_try" in
2941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942
 
  *) ac_try_echo=$ac_try;;
2943
 
esac
2944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945
 
  (eval "$ac_compile") 2>conftest.er1
2946
 
  ac_status=$?
2947
 
  grep -v '^ *+' conftest.er1 >conftest.err
2948
 
  rm -f conftest.er1
2949
 
  cat conftest.err >&5
2950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951
 
  (exit $ac_status); } && {
2952
 
         test -z "$ac_c_werror_flag" ||
2953
 
         test ! -s conftest.err
2954
 
       } && test -s conftest.$ac_objext; then
 
3237
if ac_fn_c_try_compile "$LINENO"; then :
2955
3238
  ac_cv_prog_cc_g=yes
2956
3239
else
2957
 
  echo "$as_me: failed program was:" >&5
2958
 
sed 's/^/| /' conftest.$ac_ext >&5
2959
 
 
2960
 
        CFLAGS=""
2961
 
      cat >conftest.$ac_ext <<_ACEOF
2962
 
/* confdefs.h.  */
2963
 
_ACEOF
2964
 
cat confdefs.h >>conftest.$ac_ext
2965
 
cat >>conftest.$ac_ext <<_ACEOF
 
3240
  CFLAGS=""
 
3241
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966
3242
/* end confdefs.h.  */
2967
3243
 
2968
3244
int
2973
3249
  return 0;
2974
3250
}
2975
3251
_ACEOF
2976
 
rm -f conftest.$ac_objext
2977
 
if { (ac_try="$ac_compile"
2978
 
case "(($ac_try" in
2979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980
 
  *) ac_try_echo=$ac_try;;
2981
 
esac
2982
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983
 
  (eval "$ac_compile") 2>conftest.er1
2984
 
  ac_status=$?
2985
 
  grep -v '^ *+' conftest.er1 >conftest.err
2986
 
  rm -f conftest.er1
2987
 
  cat conftest.err >&5
2988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989
 
  (exit $ac_status); } && {
2990
 
         test -z "$ac_c_werror_flag" ||
2991
 
         test ! -s conftest.err
2992
 
       } && test -s conftest.$ac_objext; then
2993
 
  :
 
3252
if ac_fn_c_try_compile "$LINENO"; then :
 
3253
  
2994
3254
else
2995
 
  echo "$as_me: failed program was:" >&5
2996
 
sed 's/^/| /' conftest.$ac_ext >&5
2997
 
 
2998
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3255
  ac_c_werror_flag=$ac_save_c_werror_flag
2999
3256
         CFLAGS="-g"
3000
 
         cat >conftest.$ac_ext <<_ACEOF
3001
 
/* confdefs.h.  */
3002
 
_ACEOF
3003
 
cat confdefs.h >>conftest.$ac_ext
3004
 
cat >>conftest.$ac_ext <<_ACEOF
 
3257
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005
3258
/* end confdefs.h.  */
3006
3259
 
3007
3260
int
3012
3265
  return 0;
3013
3266
}
3014
3267
_ACEOF
3015
 
rm -f conftest.$ac_objext
3016
 
if { (ac_try="$ac_compile"
3017
 
case "(($ac_try" in
3018
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019
 
  *) ac_try_echo=$ac_try;;
3020
 
esac
3021
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022
 
  (eval "$ac_compile") 2>conftest.er1
3023
 
  ac_status=$?
3024
 
  grep -v '^ *+' conftest.er1 >conftest.err
3025
 
  rm -f conftest.er1
3026
 
  cat conftest.err >&5
3027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
 
  (exit $ac_status); } && {
3029
 
         test -z "$ac_c_werror_flag" ||
3030
 
         test ! -s conftest.err
3031
 
       } && test -s conftest.$ac_objext; then
 
3268
if ac_fn_c_try_compile "$LINENO"; then :
3032
3269
  ac_cv_prog_cc_g=yes
3033
 
else
3034
 
  echo "$as_me: failed program was:" >&5
3035
 
sed 's/^/| /' conftest.$ac_ext >&5
3036
 
 
3037
 
        
3038
 
fi
3039
 
 
3040
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041
 
fi
3042
 
 
3043
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044
 
fi
3045
 
 
 
3270
fi
 
3271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3272
fi
 
3273
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3274
fi
3046
3275
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047
3276
   ac_c_werror_flag=$ac_save_c_werror_flag
3048
3277
fi
3049
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3050
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3279
$as_echo "$ac_cv_prog_cc_g" >&6; }
3051
3280
if test "$ac_test_CFLAGS" = set; then
3052
3281
  CFLAGS=$ac_save_CFLAGS
3053
3282
elif test $ac_cv_prog_cc_g = yes; then
3063
3292
    CFLAGS=
3064
3293
  fi
3065
3294
fi
3066
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3067
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3068
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3296
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3297
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3298
  $as_echo_n "(cached) " >&6
3070
3299
else
3071
3300
  ac_cv_prog_cc_c89=no
3072
3301
ac_save_CC=$CC
3073
 
cat >conftest.$ac_ext <<_ACEOF
3074
 
/* confdefs.h.  */
3075
 
_ACEOF
3076
 
cat confdefs.h >>conftest.$ac_ext
3077
 
cat >>conftest.$ac_ext <<_ACEOF
 
3302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078
3303
/* end confdefs.h.  */
3079
3304
#include <stdarg.h>
3080
3305
#include <stdio.h>
3131
3356
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3132
3357
do
3133
3358
  CC="$ac_save_CC $ac_arg"
3134
 
  rm -f conftest.$ac_objext
3135
 
if { (ac_try="$ac_compile"
3136
 
case "(($ac_try" in
3137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
 
  *) ac_try_echo=$ac_try;;
3139
 
esac
3140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141
 
  (eval "$ac_compile") 2>conftest.er1
3142
 
  ac_status=$?
3143
 
  grep -v '^ *+' conftest.er1 >conftest.err
3144
 
  rm -f conftest.er1
3145
 
  cat conftest.err >&5
3146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
 
  (exit $ac_status); } && {
3148
 
         test -z "$ac_c_werror_flag" ||
3149
 
         test ! -s conftest.err
3150
 
       } && test -s conftest.$ac_objext; then
 
3359
  if ac_fn_c_try_compile "$LINENO"; then :
3151
3360
  ac_cv_prog_cc_c89=$ac_arg
3152
 
else
3153
 
  echo "$as_me: failed program was:" >&5
3154
 
sed 's/^/| /' conftest.$ac_ext >&5
3155
 
 
3156
 
        
3157
3361
fi
3158
 
 
3159
 
rm -f core conftest.err conftest.$ac_objext 
 
3362
rm -f core conftest.err conftest.$ac_objext
3160
3363
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3161
3364
done
3162
3365
rm -f conftest.$ac_ext
3166
3369
# AC_CACHE_VAL
3167
3370
case "x$ac_cv_prog_cc_c89" in
3168
3371
  x)
3169
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3170
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3372
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3373
$as_echo "none needed" >&6; } ;;
3171
3374
  xno)
3172
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3173
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3375
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3376
$as_echo "unsupported" >&6; } ;;
3174
3377
  *)
3175
3378
    CC="$CC $ac_cv_prog_cc_c89"
3176
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3177
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3379
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3380
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3178
3381
esac
3179
 
 
 
3382
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3383
  
 
3384
fi
3180
3385
 
3181
3386
ac_ext=c
3182
3387
ac_cpp='$CPP $CPPFLAGS'
3191
3396
am_make=${MAKE-make}
3192
3397
cat > confinc << 'END'
3193
3398
am__doit:
3194
 
        @echo done
 
3399
        @echo this is the am__doit target
3195
3400
.PHONY: am__doit
3196
3401
END
3197
3402
# If we don't find an include directive, just comment out the code.
3198
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3199
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3404
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3200
3405
am__include="#"
3201
3406
am__quote=
3202
3407
_am_result=none
3203
3408
# First try GNU make style include.
3204
3409
echo "include confinc" > confmf
3205
 
# We grep out `Entering directory' and `Leaving directory'
3206
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3207
 
# In particular we don't look at `^make:' because GNU make might
3208
 
# be invoked under some other name (usually "gmake"), in which
3209
 
# case it prints its new name instead of `make'.
3210
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3211
 
   am__include=include
3212
 
   am__quote=
3213
 
   _am_result=GNU
3214
 
fi
 
3410
# Ignore all kinds of additional output from `make'.
 
3411
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3412
*the\ am__doit\ target*)
 
3413
  am__include=include
 
3414
  am__quote=
 
3415
  _am_result=GNU
 
3416
  ;;
 
3417
esac
3215
3418
# Now try BSD make style include.
3216
3419
if test "$am__include" = "#"; then
3217
3420
   echo '.include "confinc"' > confmf
3218
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3219
 
      am__include=.include
3220
 
      am__quote="\""
3221
 
      _am_result=BSD
3222
 
   fi
 
3421
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3422
   *the\ am__doit\ target*)
 
3423
     am__include=.include
 
3424
     am__quote="\""
 
3425
     _am_result=BSD
 
3426
     ;;
 
3427
   esac
3223
3428
fi
3224
3429
 
3225
3430
 
3226
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3227
 
echo "${ECHO_T}$_am_result" >&6; }
 
3431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3432
$as_echo "$_am_result" >&6; }
3228
3433
rm -f confinc confmf
3229
3434
 
3230
 
# Check whether --enable-dependency-tracking was given.
3231
 
if test "${enable_dependency_tracking+set}" = set; then
 
3435
@%:@ Check whether --enable-dependency-tracking was given.
 
3436
if test "${enable_dependency_tracking+set}" = set; then :
3232
3437
  enableval=$enable_dependency_tracking; 
3233
3438
fi
3234
3439
 
3248
3453
 
3249
3454
depcc="$CC"   am_compiler_list=
3250
3455
 
3251
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3252
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3253
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3254
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3457
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3458
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3459
  $as_echo_n "(cached) " >&6
3255
3460
else
3256
3461
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3257
3462
  # We make a subdir and do the tests there.  Otherwise we can end up
3276
3481
  if test "$am_compiler_list" = ""; then
3277
3482
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3278
3483
  fi
 
3484
  am__universal=false
 
3485
  case " $depcc " in #(
 
3486
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3487
     esac
 
3488
 
3279
3489
  for depmode in $am_compiler_list; do
3280
3490
    # Setup a source with many dependencies, because some compilers
3281
3491
    # like to wrap large dependency lists on column 80 (with \), and
3293
3503
    done
3294
3504
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3295
3505
 
 
3506
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3507
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3508
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3509
    # versions had trouble with output in subdirs
 
3510
    am__obj=sub/conftest.${OBJEXT-o}
 
3511
    am__minus_obj="-o $am__obj"
3296
3512
    case $depmode in
 
3513
    gcc)
 
3514
      # This depmode causes a compiler race in universal mode.
 
3515
      test "$am__universal" = false || continue
 
3516
      ;;
3297
3517
    nosideeffect)
3298
3518
      # after this tag, mechanisms are not by side-effect, so they'll
3299
3519
      # only be used when explicitly requested
3303
3523
        break
3304
3524
      fi
3305
3525
      ;;
 
3526
    msvisualcpp | msvcmsys)
 
3527
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3528
      # not run yet.  These depmodes are late enough in the game, and
 
3529
      # so weak that their functioning should not be impacted.
 
3530
      am__obj=conftest.${OBJEXT-o}
 
3531
      am__minus_obj=
 
3532
      ;;
3306
3533
    none) break ;;
3307
3534
    esac
3308
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3309
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3310
 
    # handle `-M -o', and we need to detect this.
3311
3535
    if depmode=$depmode \
3312
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3536
       source=sub/conftest.c object=$am__obj \
3313
3537
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3314
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3538
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3315
3539
         >/dev/null 2>conftest.err &&
3316
3540
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3317
3541
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3318
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3542
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3319
3543
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3320
3544
      # icc doesn't choke on unknown options, it will just issue warnings
3321
3545
      # or remarks (even with -Werror).  So we grep stderr for any message
3339
3563
fi
3340
3564
 
3341
3565
fi
3342
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3343
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3567
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3344
3568
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3345
3569
 
3346
3570
 if 
3354
3578
fi
3355
3579
 
3356
3580
 
3357
 
# Find a good install program.  We prefer a C program (faster),
3358
 
# so one script is as good as another.  But avoid the broken or
3359
 
# incompatible versions:
3360
 
# SysV /etc/install, /usr/sbin/install
3361
 
# SunOS /usr/etc/install
3362
 
# IRIX /sbin/install
3363
 
# AIX /bin/install
3364
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3365
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3366
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3367
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3368
 
# OS/2's system install, which has a completely different semantic
3369
 
# ./install, which can be erroneously created by make from ./install.sh.
3370
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3371
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3372
 
if test -z "$INSTALL"; then
3373
 
if test "${ac_cv_path_install+set}" = set; then
3374
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3581
if test "x$CC" != xcc; then
 
3582
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
3583
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3375
3584
else
3376
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377
 
for as_dir in $PATH
3378
 
do
3379
 
  IFS=$as_save_IFS
3380
 
  test -z "$as_dir" && as_dir=.
3381
 
  # Account for people who put trailing slashes in PATH elements.
3382
 
case $as_dir/ in
3383
 
  ./ | .// | /cC/* | \
3384
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3385
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3386
 
  /usr/ucb/* ) ;;
3387
 
  *)
3388
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3389
 
    # Don't use installbsd from OSF since it installs stuff as root
3390
 
    # by default.
3391
 
    for ac_prog in ginstall scoinst install; do
3392
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3393
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3394
 
          if test $ac_prog = install &&
3395
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396
 
            # AIX install.  It has an incompatible calling convention.
3397
 
            :
3398
 
          elif test $ac_prog = install &&
3399
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3400
 
            # program-specific install script used by HP pwplus--don't use.
3401
 
            :
3402
 
          else
3403
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3404
 
            break 3
3405
 
          fi
3406
 
        fi
3407
 
      done
3408
 
    done
3409
 
    ;;
3410
 
esac
3411
 
done
3412
 
IFS=$as_save_IFS
3413
 
 
3414
 
 
 
3585
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
3586
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3415
3587
fi
3416
 
  if test "${ac_cv_path_install+set}" = set; then
3417
 
    INSTALL=$ac_cv_path_install
3418
 
  else
3419
 
    # As a last resort, use the slow shell script.  Don't cache a
3420
 
    # value for INSTALL within a source directory, because that will
3421
 
    # break other packages using the cache if that directory is
3422
 
    # removed, or if the value is a relative name.
3423
 
    INSTALL=$ac_install_sh
 
3588
set dummy $CC; ac_cc=`$as_echo "$2" |
 
3589
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3590
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3591
  $as_echo_n "(cached) " >&6
 
3592
else
 
3593
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3594
/* end confdefs.h.  */
 
3595
 
 
3596
int
 
3597
main ()
 
3598
{
 
3599
 
 
3600
  ;
 
3601
  return 0;
 
3602
}
 
3603
_ACEOF
 
3604
# Make sure it works both with $CC and with simple cc.
 
3605
# We do the test twice because some compilers refuse to overwrite an
 
3606
# existing .o file with -o, though they will create one.
 
3607
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3608
rm -f conftest2.*
 
3609
if { { case "(($ac_try" in
 
3610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3611
  *) ac_try_echo=$ac_try;;
 
3612
esac
 
3613
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3614
$as_echo "$ac_try_echo"; } >&5
 
3615
  (eval "$ac_try") 2>&5
 
3616
  ac_status=$?
 
3617
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3618
  test $ac_status = 0; } &&
 
3619
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
3620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3621
  *) ac_try_echo=$ac_try;;
 
3622
esac
 
3623
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3624
$as_echo "$ac_try_echo"; } >&5
 
3625
  (eval "$ac_try") 2>&5
 
3626
  ac_status=$?
 
3627
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3628
  test $ac_status = 0; };
 
3629
then
 
3630
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
3631
  if test "x$CC" != xcc; then
 
3632
    # Test first that cc exists at all.
 
3633
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
3634
  { { case "(($ac_try" in
 
3635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3636
  *) ac_try_echo=$ac_try;;
 
3637
esac
 
3638
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3639
$as_echo "$ac_try_echo"; } >&5
 
3640
  (eval "$ac_try") 2>&5
 
3641
  ac_status=$?
 
3642
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3643
  test $ac_status = 0; }; }; then
 
3644
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3645
      rm -f conftest2.*
 
3646
      if { { case "(($ac_try" in
 
3647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3648
  *) ac_try_echo=$ac_try;;
 
3649
esac
 
3650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3651
$as_echo "$ac_try_echo"; } >&5
 
3652
  (eval "$ac_try") 2>&5
 
3653
  ac_status=$?
 
3654
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3655
  test $ac_status = 0; } &&
 
3656
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
3657
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3658
  *) ac_try_echo=$ac_try;;
 
3659
esac
 
3660
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3661
$as_echo "$ac_try_echo"; } >&5
 
3662
  (eval "$ac_try") 2>&5
 
3663
  ac_status=$?
 
3664
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3665
  test $ac_status = 0; };
 
3666
      then
 
3667
        # cc works too.
 
3668
        :
 
3669
      else
 
3670
        # cc exists but doesn't like -o.
 
3671
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3672
      fi
 
3673
    fi
3424
3674
  fi
3425
 
fi
3426
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3427
 
echo "${ECHO_T}$INSTALL" >&6; }
3428
 
 
3429
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3430
 
# It thinks the first close brace ends the variable substitution.
3431
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3432
 
 
3433
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3434
 
 
3435
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
3675
else
 
3676
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3677
fi
 
3678
rm -f core conftest*
 
3679
 
 
3680
fi
 
3681
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
3682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3683
$as_echo "yes" >&6; }
 
3684
else
 
3685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3686
$as_echo "no" >&6; }
 
3687
  
 
3688
$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
3689
 
 
3690
fi
 
3691
 
 
3692
# FIXME: we rely on the cache variable name because
 
3693
# there is no other way.
 
3694
set dummy $CC
 
3695
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3696
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
3697
if test "$am_t" != yes; then
 
3698
   # Losing compiler, so override with the script.
 
3699
   # FIXME: It is wrong to rewrite CC.
 
3700
   # But if we don't then we get into trouble of one sort or another.
 
3701
   # A longer-term fix would be to have automake use am__CC in this case,
 
3702
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3703
   CC="$am_aux_dir/compile $CC"
 
3704
fi
 
3705
 
 
3706
 
3436
3707
 
3437
3708
 
3438
3709
# Checks for libraries.
3444
3715
        if test -n "$ac_tool_prefix"; then
3445
3716
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3446
3717
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3447
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3448
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3449
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3719
$as_echo_n "checking for $ac_word... " >&6; }
 
3720
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
3721
  $as_echo_n "(cached) " >&6
3451
3722
else
3452
3723
  case $PKG_CONFIG in
3453
3724
  [\\/]* | ?:[\\/]*)
3459
3730
do
3460
3731
  IFS=$as_save_IFS
3461
3732
  test -z "$as_dir" && as_dir=.
3462
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3733
    for ac_exec_ext in '' $ac_executable_extensions; do
3463
3734
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3464
3735
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3465
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3736
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466
3737
    break 2
3467
3738
  fi
3468
3739
done
3469
 
done
 
3740
  done
3470
3741
IFS=$as_save_IFS
3471
3742
 
3472
3743
  ;;
3474
3745
fi
3475
3746
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3476
3747
if test -n "$PKG_CONFIG"; then
3477
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3478
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
3748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
3749
$as_echo "$PKG_CONFIG" >&6; }
3479
3750
else
3480
 
  { echo "$as_me:$LINENO: result: no" >&5
3481
 
echo "${ECHO_T}no" >&6; }
 
3751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3752
$as_echo "no" >&6; }
3482
3753
fi
3483
3754
 
3484
3755
 
3487
3758
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3488
3759
  # Extract the first word of "pkg-config", so it can be a program name with args.
3489
3760
set dummy pkg-config; ac_word=$2
3490
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3491
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3492
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3762
$as_echo_n "checking for $ac_word... " >&6; }
 
3763
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
3764
  $as_echo_n "(cached) " >&6
3494
3765
else
3495
3766
  case $ac_pt_PKG_CONFIG in
3496
3767
  [\\/]* | ?:[\\/]*)
3502
3773
do
3503
3774
  IFS=$as_save_IFS
3504
3775
  test -z "$as_dir" && as_dir=.
3505
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3776
    for ac_exec_ext in '' $ac_executable_extensions; do
3506
3777
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3507
3778
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3508
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3779
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3509
3780
    break 2
3510
3781
  fi
3511
3782
done
3512
 
done
 
3783
  done
3513
3784
IFS=$as_save_IFS
3514
3785
 
3515
3786
  ;;
3517
3788
fi
3518
3789
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3519
3790
if test -n "$ac_pt_PKG_CONFIG"; then
3520
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3521
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
3791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
3792
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3522
3793
else
3523
 
  { echo "$as_me:$LINENO: result: no" >&5
3524
 
echo "${ECHO_T}no" >&6; }
 
3794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3795
$as_echo "no" >&6; }
3525
3796
fi
3526
3797
 
3527
3798
  if test "x$ac_pt_PKG_CONFIG" = x; then
3529
3800
  else
3530
3801
    case $cross_compiling:$ac_tool_warned in
3531
3802
yes:)
3532
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3533
 
whose name does not start with the host triplet.  If you think this
3534
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3535
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3536
 
whose name does not start with the host triplet.  If you think this
3537
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3804
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3538
3805
ac_tool_warned=yes ;;
3539
3806
esac
3540
3807
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3546
3813
fi
3547
3814
if test -n "$PKG_CONFIG"; then
3548
3815
        _pkg_min_version=0.9.0
3549
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3550
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
3816
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
3817
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3551
3818
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3552
 
                { echo "$as_me:$LINENO: result: yes" >&5
3553
 
echo "${ECHO_T}yes" >&6; }
 
3819
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3820
$as_echo "yes" >&6; }
3554
3821
        else
3555
 
                { echo "$as_me:$LINENO: result: no" >&5
3556
 
echo "${ECHO_T}no" >&6; }
 
3822
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3823
$as_echo "no" >&6; }
3557
3824
                PKG_CONFIG=""
3558
3825
        fi
3559
3826
                
3560
3827
fi
3561
3828
 
3562
3829
pkg_failed=no
3563
 
{ echo "$as_me:$LINENO: checking for LTSPFS" >&5
3564
 
echo $ECHO_N "checking for LTSPFS... $ECHO_C" >&6; }
 
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LTSPFS" >&5
 
3831
$as_echo_n "checking for LTSPFS... " >&6; }
3565
3832
 
3566
3833
if test -n "$PKG_CONFIG"; then
3567
3834
    if test -n "$LTSPFS_CFLAGS"; then
3568
3835
        pkg_cv_LTSPFS_CFLAGS="$LTSPFS_CFLAGS"
3569
3836
    else
3570
3837
        if test -n "$PKG_CONFIG" && \
3571
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse, x11\"") >&5
 
3838
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse, x11\""; } >&5
3572
3839
  ($PKG_CONFIG --exists --print-errors "fuse, x11") 2>&5
3573
3840
  ac_status=$?
3574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575
 
  (exit $ac_status); }; then
 
3841
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3842
  test $ac_status = 0; }; then
3576
3843
  pkg_cv_LTSPFS_CFLAGS=`$PKG_CONFIG --cflags "fuse, x11" 2>/dev/null`
3577
3844
else
3578
3845
  pkg_failed=yes
3586
3853
        pkg_cv_LTSPFS_LIBS="$LTSPFS_LIBS"
3587
3854
    else
3588
3855
        if test -n "$PKG_CONFIG" && \
3589
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse, x11\"") >&5
 
3856
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse, x11\""; } >&5
3590
3857
  ($PKG_CONFIG --exists --print-errors "fuse, x11") 2>&5
3591
3858
  ac_status=$?
3592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593
 
  (exit $ac_status); }; then
 
3859
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3860
  test $ac_status = 0; }; then
3594
3861
  pkg_cv_LTSPFS_LIBS=`$PKG_CONFIG --libs "fuse, x11" 2>/dev/null`
3595
3862
else
3596
3863
  pkg_failed=yes
3617
3884
        # Put the nasty error message in config.log where it belongs
3618
3885
        echo "$LTSPFS_PKG_ERRORS" >&5
3619
3886
 
3620
 
        { { echo "$as_me:$LINENO: error: Package requirements (fuse, x11) were not met:
3621
 
 
3622
 
$LTSPFS_PKG_ERRORS
3623
 
 
3624
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3625
 
installed software in a non-standard prefix.
3626
 
 
3627
 
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3628
 
and LTSPFS_LIBS to avoid the need to call pkg-config.
3629
 
See the pkg-config man page for more details.
3630
 
" >&5
3631
 
echo "$as_me: error: Package requirements (fuse, x11) were not met:
3632
 
 
3633
 
$LTSPFS_PKG_ERRORS
3634
 
 
3635
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3636
 
installed software in a non-standard prefix.
3637
 
 
3638
 
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3639
 
and LTSPFS_LIBS to avoid the need to call pkg-config.
3640
 
See the pkg-config man page for more details.
3641
 
" >&2;}
3642
 
   { (exit 1); exit 1; }; }
 
3887
        as_fn_error "Package requirements (fuse, x11) were not met:
 
3888
 
 
3889
$LTSPFS_PKG_ERRORS
 
3890
 
 
3891
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
3892
installed software in a non-standard prefix.
 
3893
 
 
3894
Alternatively, you may set the environment variables LTSPFS_CFLAGS
 
3895
and LTSPFS_LIBS to avoid the need to call pkg-config.
 
3896
See the pkg-config man page for more details.
 
3897
" "$LINENO" 5
3643
3898
elif test $pkg_failed = untried; then
3644
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3645
 
is in your PATH or set the PKG_CONFIG environment variable to the full
3646
 
path to pkg-config.
3647
 
 
3648
 
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3649
 
and LTSPFS_LIBS to avoid the need to call pkg-config.
3650
 
See the pkg-config man page for more details.
3651
 
 
3652
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3653
 
See \`config.log' for more details." >&5
3654
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3655
 
is in your PATH or set the PKG_CONFIG environment variable to the full
3656
 
path to pkg-config.
3657
 
 
3658
 
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3659
 
and LTSPFS_LIBS to avoid the need to call pkg-config.
3660
 
See the pkg-config man page for more details.
3661
 
 
3662
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3663
 
See \`config.log' for more details." >&2;}
3664
 
   { (exit 1); exit 1; }; }
 
3899
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3900
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3901
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
3902
is in your PATH or set the PKG_CONFIG environment variable to the full
 
3903
path to pkg-config.
 
3904
 
 
3905
Alternatively, you may set the environment variables LTSPFS_CFLAGS
 
3906
and LTSPFS_LIBS to avoid the need to call pkg-config.
 
3907
See the pkg-config man page for more details.
 
3908
 
 
3909
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
3910
See \`config.log' for more details." "$LINENO" 5; }
3665
3911
else
3666
3912
        LTSPFS_CFLAGS=$pkg_cv_LTSPFS_CFLAGS
3667
3913
        LTSPFS_LIBS=$pkg_cv_LTSPFS_LIBS
3668
 
        { echo "$as_me:$LINENO: result: yes" >&5
3669
 
echo "${ECHO_T}yes" >&6; }
 
3914
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3915
$as_echo "yes" >&6; }
3670
3916
        :
3671
3917
fi
3672
3918
 
3677
3923
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678
3924
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679
3925
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3927
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3682
3928
# On Suns, sometimes $CPP names a directory.
3683
3929
if test -n "$CPP" && test -d "$CPP"; then
3684
3930
  CPP=
3685
3931
fi
3686
3932
if test -z "$CPP"; then
3687
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3933
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3934
  $as_echo_n "(cached) " >&6
3689
3935
else
3690
3936
      # Double quotes because CPP needs to be expanded
3691
3937
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3699
3945
  # <limits.h> exists even on freestanding compilers.
3700
3946
  # On the NeXT, cc -E runs the code through the compiler's parser,
3701
3947
  # not just through cpp. "Syntax error" is here to catch this case.
3702
 
  cat >conftest.$ac_ext <<_ACEOF
3703
 
/* confdefs.h.  */
3704
 
_ACEOF
3705
 
cat confdefs.h >>conftest.$ac_ext
3706
 
cat >>conftest.$ac_ext <<_ACEOF
 
3948
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707
3949
/* end confdefs.h.  */
3708
3950
@%:@ifdef __STDC__
3709
3951
@%:@ include <limits.h>
3712
3954
@%:@endif
3713
3955
                     Syntax error
3714
3956
_ACEOF
3715
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3716
 
case "(($ac_try" in
3717
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718
 
  *) ac_try_echo=$ac_try;;
3719
 
esac
3720
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3722
 
  ac_status=$?
3723
 
  grep -v '^ *+' conftest.er1 >conftest.err
3724
 
  rm -f conftest.er1
3725
 
  cat conftest.err >&5
3726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727
 
  (exit $ac_status); } >/dev/null && {
3728
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729
 
         test ! -s conftest.err
3730
 
       }; then
3731
 
  :
 
3957
if ac_fn_c_try_cpp "$LINENO"; then :
 
3958
  
3732
3959
else
3733
 
  echo "$as_me: failed program was:" >&5
3734
 
sed 's/^/| /' conftest.$ac_ext >&5
3735
 
 
3736
3960
  # Broken: fails on valid input.
3737
3961
continue
3738
3962
fi
3739
 
 
3740
3963
rm -f conftest.err conftest.$ac_ext
3741
3964
 
3742
3965
  # OK, works on sane cases.  Now check whether nonexistent headers
3743
3966
  # can be detected and how.
3744
 
  cat >conftest.$ac_ext <<_ACEOF
3745
 
/* confdefs.h.  */
3746
 
_ACEOF
3747
 
cat confdefs.h >>conftest.$ac_ext
3748
 
cat >>conftest.$ac_ext <<_ACEOF
 
3967
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749
3968
/* end confdefs.h.  */
3750
3969
@%:@include <ac_nonexistent.h>
3751
3970
_ACEOF
3752
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3753
 
case "(($ac_try" in
3754
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755
 
  *) ac_try_echo=$ac_try;;
3756
 
esac
3757
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3758
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759
 
  ac_status=$?
3760
 
  grep -v '^ *+' conftest.er1 >conftest.err
3761
 
  rm -f conftest.er1
3762
 
  cat conftest.err >&5
3763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764
 
  (exit $ac_status); } >/dev/null && {
3765
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766
 
         test ! -s conftest.err
3767
 
       }; then
 
3971
if ac_fn_c_try_cpp "$LINENO"; then :
3768
3972
  # Broken: success on invalid input.
3769
3973
continue
3770
3974
else
3771
 
  echo "$as_me: failed program was:" >&5
3772
 
sed 's/^/| /' conftest.$ac_ext >&5
3773
 
 
3774
3975
  # Passes both tests.
3775
3976
ac_preproc_ok=:
3776
3977
break
3777
3978
fi
3778
 
 
3779
3979
rm -f conftest.err conftest.$ac_ext
3780
3980
 
3781
3981
done
3782
3982
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783
3983
rm -f conftest.err conftest.$ac_ext
3784
 
if $ac_preproc_ok; then
 
3984
if $ac_preproc_ok; then :
3785
3985
  break
3786
3986
fi
3787
3987
 
3793
3993
else
3794
3994
  ac_cv_prog_CPP=$CPP
3795
3995
fi
3796
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3797
 
echo "${ECHO_T}$CPP" >&6; }
 
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
3997
$as_echo "$CPP" >&6; }
3798
3998
ac_preproc_ok=false
3799
3999
for ac_c_preproc_warn_flag in '' yes
3800
4000
do
3804
4004
  # <limits.h> exists even on freestanding compilers.
3805
4005
  # On the NeXT, cc -E runs the code through the compiler's parser,
3806
4006
  # not just through cpp. "Syntax error" is here to catch this case.
3807
 
  cat >conftest.$ac_ext <<_ACEOF
3808
 
/* confdefs.h.  */
3809
 
_ACEOF
3810
 
cat confdefs.h >>conftest.$ac_ext
3811
 
cat >>conftest.$ac_ext <<_ACEOF
 
4007
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812
4008
/* end confdefs.h.  */
3813
4009
@%:@ifdef __STDC__
3814
4010
@%:@ include <limits.h>
3817
4013
@%:@endif
3818
4014
                     Syntax error
3819
4015
_ACEOF
3820
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3821
 
case "(($ac_try" in
3822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823
 
  *) ac_try_echo=$ac_try;;
3824
 
esac
3825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827
 
  ac_status=$?
3828
 
  grep -v '^ *+' conftest.er1 >conftest.err
3829
 
  rm -f conftest.er1
3830
 
  cat conftest.err >&5
3831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832
 
  (exit $ac_status); } >/dev/null && {
3833
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834
 
         test ! -s conftest.err
3835
 
       }; then
3836
 
  :
 
4016
if ac_fn_c_try_cpp "$LINENO"; then :
 
4017
  
3837
4018
else
3838
 
  echo "$as_me: failed program was:" >&5
3839
 
sed 's/^/| /' conftest.$ac_ext >&5
3840
 
 
3841
4019
  # Broken: fails on valid input.
3842
4020
continue
3843
4021
fi
3844
 
 
3845
4022
rm -f conftest.err conftest.$ac_ext
3846
4023
 
3847
4024
  # OK, works on sane cases.  Now check whether nonexistent headers
3848
4025
  # can be detected and how.
3849
 
  cat >conftest.$ac_ext <<_ACEOF
3850
 
/* confdefs.h.  */
3851
 
_ACEOF
3852
 
cat confdefs.h >>conftest.$ac_ext
3853
 
cat >>conftest.$ac_ext <<_ACEOF
 
4026
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854
4027
/* end confdefs.h.  */
3855
4028
@%:@include <ac_nonexistent.h>
3856
4029
_ACEOF
3857
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3858
 
case "(($ac_try" in
3859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860
 
  *) ac_try_echo=$ac_try;;
3861
 
esac
3862
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3864
 
  ac_status=$?
3865
 
  grep -v '^ *+' conftest.er1 >conftest.err
3866
 
  rm -f conftest.er1
3867
 
  cat conftest.err >&5
3868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869
 
  (exit $ac_status); } >/dev/null && {
3870
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3871
 
         test ! -s conftest.err
3872
 
       }; then
 
4030
if ac_fn_c_try_cpp "$LINENO"; then :
3873
4031
  # Broken: success on invalid input.
3874
4032
continue
3875
4033
else
3876
 
  echo "$as_me: failed program was:" >&5
3877
 
sed 's/^/| /' conftest.$ac_ext >&5
3878
 
 
3879
4034
  # Passes both tests.
3880
4035
ac_preproc_ok=:
3881
4036
break
3882
4037
fi
3883
 
 
3884
4038
rm -f conftest.err conftest.$ac_ext
3885
4039
 
3886
4040
done
3887
4041
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3888
4042
rm -f conftest.err conftest.$ac_ext
3889
 
if $ac_preproc_ok; then
3890
 
  :
 
4043
if $ac_preproc_ok; then :
 
4044
  
3891
4045
else
3892
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893
 
See \`config.log' for more details." >&5
3894
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895
 
See \`config.log' for more details." >&2;}
3896
 
   { (exit 1); exit 1; }; }
 
4046
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4047
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4048
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4049
See \`config.log' for more details." "$LINENO" 5; }
3897
4050
fi
3898
4051
 
3899
4052
ac_ext=c
3903
4056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904
4057
 
3905
4058
 
3906
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3907
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3908
 
if test "${ac_cv_path_GREP+set}" = set; then
3909
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3910
 
else
3911
 
  # Extract the first word of "grep ggrep" to use in msg output
3912
 
if test -z "$GREP"; then
3913
 
set dummy grep ggrep; ac_prog_name=$2
3914
 
if test "${ac_cv_path_GREP+set}" = set; then
3915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3916
 
else
 
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4060
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4061
if test "${ac_cv_path_GREP+set}" = set; then :
 
4062
  $as_echo_n "(cached) " >&6
 
4063
else
 
4064
  if test -z "$GREP"; then
3917
4065
  ac_path_GREP_found=false
3918
 
# Loop through the user's path and test for each of PROGNAME-LIST
3919
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4066
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4067
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920
4068
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3921
4069
do
3922
4070
  IFS=$as_save_IFS
3923
4071
  test -z "$as_dir" && as_dir=.
3924
 
  for ac_prog in grep ggrep; do
3925
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3926
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3927
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3928
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4072
    for ac_prog in grep ggrep; do
 
4073
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4074
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4075
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4076
# Check for GNU ac_path_GREP and select it if it is found.
3929
4077
  # Check for GNU $ac_path_GREP
3930
4078
case `"$ac_path_GREP" --version 2>&1` in
3931
4079
*GNU*)
3932
4080
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3933
4081
*)
3934
4082
  ac_count=0
3935
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4083
  $as_echo_n 0123456789 >"conftest.in"
3936
4084
  while :
3937
4085
  do
3938
4086
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3939
4087
    mv "conftest.tmp" "conftest.in"
3940
4088
    cp "conftest.in" "conftest.nl"
3941
 
    echo 'GREP' >> "conftest.nl"
 
4089
    $as_echo 'GREP' >> "conftest.nl"
3942
4090
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3943
4091
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3944
 
    ac_count=`expr $ac_count + 1`
 
4092
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3945
4093
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3946
4094
      # Best one so far, save it but keep looking for a better one
3947
4095
      ac_cv_path_GREP="$ac_path_GREP"
3953
4101
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3954
4102
esac
3955
4103
 
3956
 
 
3957
 
    $ac_path_GREP_found && break 3
3958
 
  done
3959
 
done
3960
 
 
3961
 
done
 
4104
      $ac_path_GREP_found && break 3
 
4105
    done
 
4106
  done
 
4107
  done
3962
4108
IFS=$as_save_IFS
3963
 
 
3964
 
 
3965
 
fi
3966
 
 
3967
 
GREP="$ac_cv_path_GREP"
3968
 
if test -z "$GREP"; then
3969
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3970
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3971
 
   { (exit 1); exit 1; }; }
3972
 
fi
3973
 
 
 
4109
  if test -z "$ac_cv_path_GREP"; then
 
4110
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4111
  fi
3974
4112
else
3975
4113
  ac_cv_path_GREP=$GREP
3976
4114
fi
3977
4115
 
3978
 
 
3979
4116
fi
3980
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3981
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4118
$as_echo "$ac_cv_path_GREP" >&6; }
3982
4119
 GREP="$ac_cv_path_GREP"
3983
4120
 
3984
4121
 
3985
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3986
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3987
 
if test "${ac_cv_path_EGREP+set}" = set; then
3988
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4123
$as_echo_n "checking for egrep... " >&6; }
 
4124
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4125
  $as_echo_n "(cached) " >&6
3989
4126
else
3990
4127
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3991
4128
   then ac_cv_path_EGREP="$GREP -E"
3992
4129
   else
3993
 
     # Extract the first word of "egrep" to use in msg output
3994
 
if test -z "$EGREP"; then
3995
 
set dummy egrep; ac_prog_name=$2
3996
 
if test "${ac_cv_path_EGREP+set}" = set; then
3997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3998
 
else
 
4130
     if test -z "$EGREP"; then
3999
4131
  ac_path_EGREP_found=false
4000
 
# Loop through the user's path and test for each of PROGNAME-LIST
4001
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4132
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4133
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002
4134
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4003
4135
do
4004
4136
  IFS=$as_save_IFS
4005
4137
  test -z "$as_dir" && as_dir=.
4006
 
  for ac_prog in egrep; do
4007
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4008
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4009
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4010
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4138
    for ac_prog in egrep; do
 
4139
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4140
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4141
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4142
# Check for GNU ac_path_EGREP and select it if it is found.
4011
4143
  # Check for GNU $ac_path_EGREP
4012
4144
case `"$ac_path_EGREP" --version 2>&1` in
4013
4145
*GNU*)
4014
4146
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4015
4147
*)
4016
4148
  ac_count=0
4017
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4149
  $as_echo_n 0123456789 >"conftest.in"
4018
4150
  while :
4019
4151
  do
4020
4152
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4021
4153
    mv "conftest.tmp" "conftest.in"
4022
4154
    cp "conftest.in" "conftest.nl"
4023
 
    echo 'EGREP' >> "conftest.nl"
 
4155
    $as_echo 'EGREP' >> "conftest.nl"
4024
4156
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4025
4157
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4026
 
    ac_count=`expr $ac_count + 1`
 
4158
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4027
4159
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4028
4160
      # Best one so far, save it but keep looking for a better one
4029
4161
      ac_cv_path_EGREP="$ac_path_EGREP"
4035
4167
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4036
4168
esac
4037
4169
 
4038
 
 
4039
 
    $ac_path_EGREP_found && break 3
4040
 
  done
4041
 
done
4042
 
 
4043
 
done
 
4170
      $ac_path_EGREP_found && break 3
 
4171
    done
 
4172
  done
 
4173
  done
4044
4174
IFS=$as_save_IFS
4045
 
 
4046
 
 
4047
 
fi
4048
 
 
4049
 
EGREP="$ac_cv_path_EGREP"
4050
 
if test -z "$EGREP"; then
4051
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4052
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4053
 
   { (exit 1); exit 1; }; }
4054
 
fi
4055
 
 
 
4175
  if test -z "$ac_cv_path_EGREP"; then
 
4176
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4177
  fi
4056
4178
else
4057
4179
  ac_cv_path_EGREP=$EGREP
4058
4180
fi
4059
4181
 
4060
 
 
4061
4182
   fi
4062
4183
fi
4063
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4064
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4185
$as_echo "$ac_cv_path_EGREP" >&6; }
4065
4186
 EGREP="$ac_cv_path_EGREP"
4066
4187
 
4067
4188
 
4068
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4069
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4070
 
if test "${ac_cv_header_stdc+set}" = set; then
4071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4190
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4191
if test "${ac_cv_header_stdc+set}" = set; then :
 
4192
  $as_echo_n "(cached) " >&6
4072
4193
else
4073
 
  cat >conftest.$ac_ext <<_ACEOF
4074
 
/* confdefs.h.  */
4075
 
_ACEOF
4076
 
cat confdefs.h >>conftest.$ac_ext
4077
 
cat >>conftest.$ac_ext <<_ACEOF
 
4194
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078
4195
/* end confdefs.h.  */
4079
4196
#include <stdlib.h>
4080
4197
#include <stdarg.h>
4089
4206
  return 0;
4090
4207
}
4091
4208
_ACEOF
4092
 
rm -f conftest.$ac_objext
4093
 
if { (ac_try="$ac_compile"
4094
 
case "(($ac_try" in
4095
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096
 
  *) ac_try_echo=$ac_try;;
4097
 
esac
4098
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099
 
  (eval "$ac_compile") 2>conftest.er1
4100
 
  ac_status=$?
4101
 
  grep -v '^ *+' conftest.er1 >conftest.err
4102
 
  rm -f conftest.er1
4103
 
  cat conftest.err >&5
4104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105
 
  (exit $ac_status); } && {
4106
 
         test -z "$ac_c_werror_flag" ||
4107
 
         test ! -s conftest.err
4108
 
       } && test -s conftest.$ac_objext; then
 
4209
if ac_fn_c_try_compile "$LINENO"; then :
4109
4210
  ac_cv_header_stdc=yes
4110
4211
else
4111
 
  echo "$as_me: failed program was:" >&5
4112
 
sed 's/^/| /' conftest.$ac_ext >&5
4113
 
 
4114
 
        ac_cv_header_stdc=no
 
4212
  ac_cv_header_stdc=no
4115
4213
fi
4116
 
 
4117
4214
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118
4215
 
4119
4216
if test $ac_cv_header_stdc = yes; then
4120
4217
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4121
 
  cat >conftest.$ac_ext <<_ACEOF
4122
 
/* confdefs.h.  */
4123
 
_ACEOF
4124
 
cat confdefs.h >>conftest.$ac_ext
4125
 
cat >>conftest.$ac_ext <<_ACEOF
 
4218
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126
4219
/* end confdefs.h.  */
4127
4220
#include <string.h>
4128
4221
 
4129
4222
_ACEOF
4130
4223
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4131
 
  $EGREP "memchr" >/dev/null 2>&1; then
4132
 
  :
 
4224
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4225
  
4133
4226
else
4134
4227
  ac_cv_header_stdc=no
4135
4228
fi
4139
4232
 
4140
4233
if test $ac_cv_header_stdc = yes; then
4141
4234
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4142
 
  cat >conftest.$ac_ext <<_ACEOF
4143
 
/* confdefs.h.  */
4144
 
_ACEOF
4145
 
cat confdefs.h >>conftest.$ac_ext
4146
 
cat >>conftest.$ac_ext <<_ACEOF
 
4235
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147
4236
/* end confdefs.h.  */
4148
4237
#include <stdlib.h>
4149
4238
 
4150
4239
_ACEOF
4151
4240
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4152
 
  $EGREP "free" >/dev/null 2>&1; then
4153
 
  :
 
4241
  $EGREP "free" >/dev/null 2>&1; then :
 
4242
  
4154
4243
else
4155
4244
  ac_cv_header_stdc=no
4156
4245
fi
4160
4249
 
4161
4250
if test $ac_cv_header_stdc = yes; then
4162
4251
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4163
 
  if test "$cross_compiling" = yes; then
 
4252
  if test "$cross_compiling" = yes; then :
4164
4253
  :
4165
4254
else
4166
 
  cat >conftest.$ac_ext <<_ACEOF
4167
 
/* confdefs.h.  */
4168
 
_ACEOF
4169
 
cat confdefs.h >>conftest.$ac_ext
4170
 
cat >>conftest.$ac_ext <<_ACEOF
 
4255
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171
4256
/* end confdefs.h.  */
4172
4257
#include <ctype.h>
4173
4258
#include <stdlib.h>
4194
4279
  return 0;
4195
4280
}
4196
4281
_ACEOF
4197
 
rm -f conftest$ac_exeext
4198
 
if { (ac_try="$ac_link"
4199
 
case "(($ac_try" in
4200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201
 
  *) ac_try_echo=$ac_try;;
4202
 
esac
4203
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204
 
  (eval "$ac_link") 2>&5
4205
 
  ac_status=$?
4206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4208
 
  { (case "(($ac_try" in
4209
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210
 
  *) ac_try_echo=$ac_try;;
4211
 
esac
4212
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213
 
  (eval "$ac_try") 2>&5
4214
 
  ac_status=$?
4215
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216
 
  (exit $ac_status); }; }; then
4217
 
  :
 
4282
if ac_fn_c_try_run "$LINENO"; then :
 
4283
  
4218
4284
else
4219
 
  echo "$as_me: program exited with status $ac_status" >&5
4220
 
echo "$as_me: failed program was:" >&5
4221
 
sed 's/^/| /' conftest.$ac_ext >&5
4222
 
 
4223
 
( exit $ac_status )
4224
 
ac_cv_header_stdc=no
4225
 
fi
4226
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4227
 
fi
4228
 
 
4229
 
 
4230
 
fi
4231
 
fi
4232
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4233
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4285
  ac_cv_header_stdc=no
 
4286
fi
 
4287
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4288
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4289
fi
 
4290
 
 
4291
fi
 
4292
fi
 
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4294
$as_echo "$ac_cv_header_stdc" >&6; }
4234
4295
if test $ac_cv_header_stdc = yes; then
4235
4296
  
4236
 
cat >>confdefs.h <<\_ACEOF
4237
 
@%:@define STDC_HEADERS 1
4238
 
_ACEOF
 
4297
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4239
4298
 
4240
4299
fi
4241
4300
 
4242
 
 
4243
 
 
4244
 
 
4245
 
 
4246
 
 
4247
4301
ac_header_dirent=no
4248
4302
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4249
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4250
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4251
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4252
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4303
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
4304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 
4305
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 
4306
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 
4307
  $as_echo_n "(cached) " >&6
4254
4308
else
4255
 
  cat >conftest.$ac_ext <<_ACEOF
4256
 
/* confdefs.h.  */
4257
 
_ACEOF
4258
 
cat confdefs.h >>conftest.$ac_ext
4259
 
cat >>conftest.$ac_ext <<_ACEOF
 
4309
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260
4310
/* end confdefs.h.  */
4261
4311
#include <sys/types.h>
4262
4312
#include <$ac_hdr>
4270
4320
  return 0;
4271
4321
}
4272
4322
_ACEOF
4273
 
rm -f conftest.$ac_objext
4274
 
if { (ac_try="$ac_compile"
4275
 
case "(($ac_try" in
4276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277
 
  *) ac_try_echo=$ac_try;;
4278
 
esac
4279
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280
 
  (eval "$ac_compile") 2>conftest.er1
4281
 
  ac_status=$?
4282
 
  grep -v '^ *+' conftest.er1 >conftest.err
4283
 
  rm -f conftest.er1
4284
 
  cat conftest.err >&5
4285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286
 
  (exit $ac_status); } && {
4287
 
         test -z "$ac_c_werror_flag" ||
4288
 
         test ! -s conftest.err
4289
 
       } && test -s conftest.$ac_objext; then
 
4323
if ac_fn_c_try_compile "$LINENO"; then :
4290
4324
  eval "$as_ac_Header=yes"
4291
4325
else
4292
 
  echo "$as_me: failed program was:" >&5
4293
 
sed 's/^/| /' conftest.$ac_ext >&5
4294
 
 
4295
 
        eval "$as_ac_Header=no"
 
4326
  eval "$as_ac_Header=no"
4296
4327
fi
4297
 
 
4298
4328
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299
4329
fi
4300
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4301
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4302
 
echo "${ECHO_T}$ac_res" >&6; }
4303
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4330
eval ac_res=\$$as_ac_Header
 
4331
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
4332
$as_echo "$ac_res" >&6; }
 
4333
eval as_val=\$$as_ac_Header
 
4334
   if test "x$as_val" = x""yes; then :
4304
4335
  cat >>confdefs.h <<_ACEOF
4305
 
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
4336
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4306
4337
_ACEOF
4307
4338
 
4308
4339
ac_header_dirent=$ac_hdr; break
4311
4342
done
4312
4343
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4313
4344
if test $ac_header_dirent = dirent.h; then
4314
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4315
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4316
 
if test "${ac_cv_search_opendir+set}" = set; then
4317
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4345
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 
4346
$as_echo_n "checking for library containing opendir... " >&6; }
 
4347
if test "${ac_cv_search_opendir+set}" = set; then :
 
4348
  $as_echo_n "(cached) " >&6
4318
4349
else
4319
4350
  ac_func_search_save_LIBS=$LIBS
4320
 
cat >conftest.$ac_ext <<_ACEOF
4321
 
/* confdefs.h.  */
4322
 
_ACEOF
4323
 
cat confdefs.h >>conftest.$ac_ext
4324
 
cat >>conftest.$ac_ext <<_ACEOF
 
4351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325
4352
/* end confdefs.h.  */
4326
4353
 
4327
4354
/* Override any GCC internal prototype to avoid an error.
4346
4373
    ac_res=-l$ac_lib
4347
4374
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4348
4375
  fi
4349
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4350
 
if { (ac_try="$ac_link"
4351
 
case "(($ac_try" in
4352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353
 
  *) ac_try_echo=$ac_try;;
4354
 
esac
4355
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4356
 
  (eval "$ac_link") 2>conftest.er1
4357
 
  ac_status=$?
4358
 
  grep -v '^ *+' conftest.er1 >conftest.err
4359
 
  rm -f conftest.er1
4360
 
  cat conftest.err >&5
4361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362
 
  (exit $ac_status); } && {
4363
 
         test -z "$ac_c_werror_flag" ||
4364
 
         test ! -s conftest.err
4365
 
       } && test -s conftest$ac_exeext &&
4366
 
       $as_test_x conftest$ac_exeext; then
 
4376
  if ac_fn_c_try_link "$LINENO"; then :
4367
4377
  ac_cv_search_opendir=$ac_res
4368
 
else
4369
 
  echo "$as_me: failed program was:" >&5
4370
 
sed 's/^/| /' conftest.$ac_ext >&5
4371
 
 
4372
 
        
4373
4378
fi
4374
 
 
4375
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4376
 
      conftest$ac_exeext 
4377
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
4379
rm -f core conftest.err conftest.$ac_objext \
 
4380
    conftest$ac_exeext
 
4381
  if test "${ac_cv_search_opendir+set}" = set; then :
4378
4382
  break
4379
4383
fi
4380
4384
done
4381
 
if test "${ac_cv_search_opendir+set}" = set; then
4382
 
  :
 
4385
if test "${ac_cv_search_opendir+set}" = set; then :
 
4386
  
4383
4387
else
4384
4388
  ac_cv_search_opendir=no
4385
4389
fi
4386
4390
rm conftest.$ac_ext
4387
4391
LIBS=$ac_func_search_save_LIBS
4388
4392
fi
4389
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4390
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
4393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 
4394
$as_echo "$ac_cv_search_opendir" >&6; }
4391
4395
ac_res=$ac_cv_search_opendir
4392
 
if test "$ac_res" != no; then
 
4396
if test "$ac_res" != no; then :
4393
4397
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4394
4398
  
4395
4399
fi
4396
4400
 
4397
4401
else
4398
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4399
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4400
 
if test "${ac_cv_search_opendir+set}" = set; then
4401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4402
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 
4403
$as_echo_n "checking for library containing opendir... " >&6; }
 
4404
if test "${ac_cv_search_opendir+set}" = set; then :
 
4405
  $as_echo_n "(cached) " >&6
4402
4406
else
4403
4407
  ac_func_search_save_LIBS=$LIBS
4404
 
cat >conftest.$ac_ext <<_ACEOF
4405
 
/* confdefs.h.  */
4406
 
_ACEOF
4407
 
cat confdefs.h >>conftest.$ac_ext
4408
 
cat >>conftest.$ac_ext <<_ACEOF
 
4408
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409
4409
/* end confdefs.h.  */
4410
4410
 
4411
4411
/* Override any GCC internal prototype to avoid an error.
4430
4430
    ac_res=-l$ac_lib
4431
4431
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4432
4432
  fi
4433
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4434
 
if { (ac_try="$ac_link"
4435
 
case "(($ac_try" in
4436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437
 
  *) ac_try_echo=$ac_try;;
4438
 
esac
4439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440
 
  (eval "$ac_link") 2>conftest.er1
4441
 
  ac_status=$?
4442
 
  grep -v '^ *+' conftest.er1 >conftest.err
4443
 
  rm -f conftest.er1
4444
 
  cat conftest.err >&5
4445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446
 
  (exit $ac_status); } && {
4447
 
         test -z "$ac_c_werror_flag" ||
4448
 
         test ! -s conftest.err
4449
 
       } && test -s conftest$ac_exeext &&
4450
 
       $as_test_x conftest$ac_exeext; then
 
4433
  if ac_fn_c_try_link "$LINENO"; then :
4451
4434
  ac_cv_search_opendir=$ac_res
4452
 
else
4453
 
  echo "$as_me: failed program was:" >&5
4454
 
sed 's/^/| /' conftest.$ac_ext >&5
4455
 
 
4456
 
        
4457
4435
fi
4458
 
 
4459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4460
 
      conftest$ac_exeext 
4461
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
4436
rm -f core conftest.err conftest.$ac_objext \
 
4437
    conftest$ac_exeext
 
4438
  if test "${ac_cv_search_opendir+set}" = set; then :
4462
4439
  break
4463
4440
fi
4464
4441
done
4465
 
if test "${ac_cv_search_opendir+set}" = set; then
4466
 
  :
 
4442
if test "${ac_cv_search_opendir+set}" = set; then :
 
4443
  
4467
4444
else
4468
4445
  ac_cv_search_opendir=no
4469
4446
fi
4470
4447
rm conftest.$ac_ext
4471
4448
LIBS=$ac_func_search_save_LIBS
4472
4449
fi
4473
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4474
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
4450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 
4451
$as_echo "$ac_cv_search_opendir" >&6; }
4475
4452
ac_res=$ac_cv_search_opendir
4476
 
if test "$ac_res" != no; then
 
4453
if test "$ac_res" != no; then :
4477
4454
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4478
4455
  
4479
4456
fi
4480
4457
 
4481
4458
fi
4482
4459
 
4483
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4484
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4485
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then
4486
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
4461
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 
4462
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 
4463
  $as_echo_n "(cached) " >&6
4487
4464
else
4488
 
  cat >conftest.$ac_ext <<_ACEOF
4489
 
/* confdefs.h.  */
4490
 
_ACEOF
4491
 
cat confdefs.h >>conftest.$ac_ext
4492
 
cat >>conftest.$ac_ext <<_ACEOF
 
4465
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493
4466
/* end confdefs.h.  */
4494
4467
#include <sys/types.h>
4495
4468
#include <sys/wait.h>
4510
4483
  return 0;
4511
4484
}
4512
4485
_ACEOF
4513
 
rm -f conftest.$ac_objext
4514
 
if { (ac_try="$ac_compile"
4515
 
case "(($ac_try" in
4516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517
 
  *) ac_try_echo=$ac_try;;
4518
 
esac
4519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520
 
  (eval "$ac_compile") 2>conftest.er1
4521
 
  ac_status=$?
4522
 
  grep -v '^ *+' conftest.er1 >conftest.err
4523
 
  rm -f conftest.er1
4524
 
  cat conftest.err >&5
4525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526
 
  (exit $ac_status); } && {
4527
 
         test -z "$ac_c_werror_flag" ||
4528
 
         test ! -s conftest.err
4529
 
       } && test -s conftest.$ac_objext; then
 
4486
if ac_fn_c_try_compile "$LINENO"; then :
4530
4487
  ac_cv_header_sys_wait_h=yes
4531
4488
else
4532
 
  echo "$as_me: failed program was:" >&5
4533
 
sed 's/^/| /' conftest.$ac_ext >&5
4534
 
 
4535
 
        ac_cv_header_sys_wait_h=no
 
4489
  ac_cv_header_sys_wait_h=no
4536
4490
fi
4537
 
 
4538
4491
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539
4492
fi
4540
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4541
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 
4494
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
4542
4495
if test $ac_cv_header_sys_wait_h = yes; then
4543
4496
  
4544
 
cat >>confdefs.h <<\_ACEOF
4545
 
@%:@define HAVE_SYS_WAIT_H 1
4546
 
_ACEOF
 
4497
$as_echo "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
4547
4498
 
4548
4499
fi
4549
4500
 
4550
4501
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4551
 
 
4552
 
 
4553
 
 
4554
 
 
4555
 
 
4556
 
 
4557
 
 
4558
 
 
4559
 
 
4560
4502
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4561
4503
                  inttypes.h stdint.h unistd.h
4562
 
do
4563
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4564
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4565
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4566
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4567
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4568
 
else
4569
 
  cat >conftest.$ac_ext <<_ACEOF
4570
 
/* confdefs.h.  */
4571
 
_ACEOF
4572
 
cat confdefs.h >>conftest.$ac_ext
4573
 
cat >>conftest.$ac_ext <<_ACEOF
4574
 
/* end confdefs.h.  */
4575
 
$ac_includes_default
4576
 
 
4577
 
@%:@include <$ac_header>
4578
 
_ACEOF
4579
 
rm -f conftest.$ac_objext
4580
 
if { (ac_try="$ac_compile"
4581
 
case "(($ac_try" in
4582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583
 
  *) ac_try_echo=$ac_try;;
4584
 
esac
4585
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586
 
  (eval "$ac_compile") 2>conftest.er1
4587
 
  ac_status=$?
4588
 
  grep -v '^ *+' conftest.er1 >conftest.err
4589
 
  rm -f conftest.er1
4590
 
  cat conftest.err >&5
4591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592
 
  (exit $ac_status); } && {
4593
 
         test -z "$ac_c_werror_flag" ||
4594
 
         test ! -s conftest.err
4595
 
       } && test -s conftest.$ac_objext; then
4596
 
  eval "$as_ac_Header=yes"
4597
 
else
4598
 
  echo "$as_me: failed program was:" >&5
4599
 
sed 's/^/| /' conftest.$ac_ext >&5
4600
 
 
4601
 
        eval "$as_ac_Header=no"
4602
 
fi
4603
 
 
4604
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605
 
fi
4606
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4607
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4608
 
echo "${ECHO_T}$ac_res" >&6; }
4609
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4504
do :
 
4505
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4506
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4507
"
 
4508
eval as_val=\$$as_ac_Header
 
4509
   if test "x$as_val" = x""yes; then :
4610
4510
  cat >>confdefs.h <<_ACEOF
4611
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4511
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4612
4512
_ACEOF
4613
4513
 
4614
4514
fi
4616
4516
done
4617
4517
 
4618
4518
 
4619
 
 
4620
 
 
4621
4519
for ac_header in linux/cdrom.h fcntl.h
4622
 
do
4623
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4624
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4625
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4626
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4627
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4628
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4629
 
fi
4630
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4631
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4632
 
echo "${ECHO_T}$ac_res" >&6; }
4633
 
else
4634
 
  # Is the header compilable?
4635
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4636
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4637
 
cat >conftest.$ac_ext <<_ACEOF
4638
 
/* confdefs.h.  */
4639
 
_ACEOF
4640
 
cat confdefs.h >>conftest.$ac_ext
4641
 
cat >>conftest.$ac_ext <<_ACEOF
4642
 
/* end confdefs.h.  */
4643
 
$ac_includes_default
4644
 
@%:@include <$ac_header>
4645
 
_ACEOF
4646
 
rm -f conftest.$ac_objext
4647
 
if { (ac_try="$ac_compile"
4648
 
case "(($ac_try" in
4649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650
 
  *) ac_try_echo=$ac_try;;
4651
 
esac
4652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4653
 
  (eval "$ac_compile") 2>conftest.er1
4654
 
  ac_status=$?
4655
 
  grep -v '^ *+' conftest.er1 >conftest.err
4656
 
  rm -f conftest.er1
4657
 
  cat conftest.err >&5
4658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659
 
  (exit $ac_status); } && {
4660
 
         test -z "$ac_c_werror_flag" ||
4661
 
         test ! -s conftest.err
4662
 
       } && test -s conftest.$ac_objext; then
4663
 
  ac_header_compiler=yes
4664
 
else
4665
 
  echo "$as_me: failed program was:" >&5
4666
 
sed 's/^/| /' conftest.$ac_ext >&5
4667
 
 
4668
 
        ac_header_compiler=no
4669
 
fi
4670
 
 
4671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4672
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4673
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
4674
 
 
4675
 
# Is the header present?
4676
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4677
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4678
 
cat >conftest.$ac_ext <<_ACEOF
4679
 
/* confdefs.h.  */
4680
 
_ACEOF
4681
 
cat confdefs.h >>conftest.$ac_ext
4682
 
cat >>conftest.$ac_ext <<_ACEOF
4683
 
/* end confdefs.h.  */
4684
 
@%:@include <$ac_header>
4685
 
_ACEOF
4686
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4687
 
case "(($ac_try" in
4688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689
 
  *) ac_try_echo=$ac_try;;
4690
 
esac
4691
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4693
 
  ac_status=$?
4694
 
  grep -v '^ *+' conftest.er1 >conftest.err
4695
 
  rm -f conftest.er1
4696
 
  cat conftest.err >&5
4697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698
 
  (exit $ac_status); } >/dev/null && {
4699
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4700
 
         test ! -s conftest.err
4701
 
       }; then
4702
 
  ac_header_preproc=yes
4703
 
else
4704
 
  echo "$as_me: failed program was:" >&5
4705
 
sed 's/^/| /' conftest.$ac_ext >&5
4706
 
 
4707
 
  ac_header_preproc=no
4708
 
fi
4709
 
 
4710
 
rm -f conftest.err conftest.$ac_ext
4711
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4712
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
4713
 
 
4714
 
# So?  What about this header?
4715
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4716
 
  yes:no: )
4717
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4718
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4719
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4720
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4721
 
    ac_header_preproc=yes
4722
 
    ;;
4723
 
  no:yes:* )
4724
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4725
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4726
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4727
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4728
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4729
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4730
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4731
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4732
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4733
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4734
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4735
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4736
 
    ( cat <<\_ASBOX
4737
 
@%:@@%:@ -------------------------------- @%:@@%:@
4738
 
@%:@@%:@ Report this to sbalneav@ltsp.org @%:@@%:@
4739
 
@%:@@%:@ -------------------------------- @%:@@%:@
4740
 
_ASBOX
4741
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4742
 
    ;;
4743
 
esac
4744
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4745
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4746
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4747
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4748
 
else
4749
 
  eval "$as_ac_Header=\$ac_header_preproc"
4750
 
fi
4751
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4752
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4753
 
echo "${ECHO_T}$ac_res" >&6; }
4754
 
 
4755
 
fi
4756
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4520
do :
 
4521
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4522
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4523
eval as_val=\$$as_ac_Header
 
4524
   if test "x$as_val" = x""yes; then :
4757
4525
  cat >>confdefs.h <<_ACEOF
4758
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4526
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4759
4527
_ACEOF
4760
4528
 
4761
4529
else
4762
 
  { { echo "$as_me:$LINENO: error: Required header missing" >&5
4763
 
echo "$as_me: error: Required header missing" >&2;}
4764
 
   { (exit 1); exit 1; }; }
 
4530
  as_fn_error "Required header missing" "$LINENO" 5
4765
4531
fi
4766
4532
 
4767
4533
done
4779
4545
 
4780
4546
 
4781
4547
pkg_failed=no
4782
 
{ echo "$as_me:$LINENO: checking for GLIB" >&5
4783
 
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
 
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
 
4549
$as_echo_n "checking for GLIB... " >&6; }
4784
4550
 
4785
4551
if test -n "$PKG_CONFIG"; then
4786
4552
    if test -n "$GLIB_CFLAGS"; then
4787
4553
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4788
4554
    else
4789
4555
        if test -n "$PKG_CONFIG" && \
4790
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
 
4556
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\""; } >&5
4791
4557
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4792
4558
  ac_status=$?
4793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794
 
  (exit $ac_status); }; then
 
4559
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4560
  test $ac_status = 0; }; then
4795
4561
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6.0" 2>/dev/null`
4796
4562
else
4797
4563
  pkg_failed=yes
4805
4571
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4806
4572
    else
4807
4573
        if test -n "$PKG_CONFIG" && \
4808
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
 
4574
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\""; } >&5
4809
4575
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4810
4576
  ac_status=$?
4811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812
 
  (exit $ac_status); }; then
 
4577
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4578
  test $ac_status = 0; }; then
4813
4579
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6.0" 2>/dev/null`
4814
4580
else
4815
4581
  pkg_failed=yes
4836
4602
        # Put the nasty error message in config.log where it belongs
4837
4603
        echo "$GLIB_PKG_ERRORS" >&5
4838
4604
 
4839
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4840
 
 
4841
 
$GLIB_PKG_ERRORS
4842
 
 
4843
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4844
 
installed software in a non-standard prefix.
4845
 
 
4846
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4847
 
and GLIB_LIBS to avoid the need to call pkg-config.
4848
 
See the pkg-config man page for more details.
4849
 
" >&5
4850
 
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4851
 
 
4852
 
$GLIB_PKG_ERRORS
4853
 
 
4854
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4855
 
installed software in a non-standard prefix.
4856
 
 
4857
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4858
 
and GLIB_LIBS to avoid the need to call pkg-config.
4859
 
See the pkg-config man page for more details.
4860
 
" >&2;}
4861
 
   { (exit 1); exit 1; }; }
 
4605
        as_fn_error "Package requirements (glib-2.0 >= 2.6.0) were not met:
 
4606
 
 
4607
$GLIB_PKG_ERRORS
 
4608
 
 
4609
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4610
installed software in a non-standard prefix.
 
4611
 
 
4612
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4613
and GLIB_LIBS to avoid the need to call pkg-config.
 
4614
See the pkg-config man page for more details.
 
4615
" "$LINENO" 5
4862
4616
elif test $pkg_failed = untried; then
4863
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4864
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4865
 
path to pkg-config.
4866
 
 
4867
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4868
 
and GLIB_LIBS to avoid the need to call pkg-config.
4869
 
See the pkg-config man page for more details.
4870
 
 
4871
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4872
 
See \`config.log' for more details." >&5
4873
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4874
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4875
 
path to pkg-config.
4876
 
 
4877
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4878
 
and GLIB_LIBS to avoid the need to call pkg-config.
4879
 
See the pkg-config man page for more details.
4880
 
 
4881
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4882
 
See \`config.log' for more details." >&2;}
4883
 
   { (exit 1); exit 1; }; }
 
4617
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4618
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4619
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
4620
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4621
path to pkg-config.
 
4622
 
 
4623
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4624
and GLIB_LIBS to avoid the need to call pkg-config.
 
4625
See the pkg-config man page for more details.
 
4626
 
 
4627
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4628
See \`config.log' for more details." "$LINENO" 5; }
4884
4629
else
4885
4630
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4886
4631
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
4887
 
        { echo "$as_me:$LINENO: result: yes" >&5
4888
 
echo "${ECHO_T}yes" >&6; }
 
4632
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4633
$as_echo "yes" >&6; }
4889
4634
        :
4890
4635
fi
4891
4636
 
4892
4637
pkg_failed=no
4893
 
{ echo "$as_me:$LINENO: checking for GOBJECT" >&5
4894
 
echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
 
4638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
 
4639
$as_echo_n "checking for GOBJECT... " >&6; }
4895
4640
 
4896
4641
if test -n "$PKG_CONFIG"; then
4897
4642
    if test -n "$GOBJECT_CFLAGS"; then
4898
4643
        pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
4899
4644
    else
4900
4645
        if test -n "$PKG_CONFIG" && \
4901
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
 
4646
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\""; } >&5
4902
4647
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4903
4648
  ac_status=$?
4904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905
 
  (exit $ac_status); }; then
 
4649
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4650
  test $ac_status = 0; }; then
4906
4651
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.6.0" 2>/dev/null`
4907
4652
else
4908
4653
  pkg_failed=yes
4916
4661
        pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
4917
4662
    else
4918
4663
        if test -n "$PKG_CONFIG" && \
4919
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
 
4664
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\""; } >&5
4920
4665
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4921
4666
  ac_status=$?
4922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
 
  (exit $ac_status); }; then
 
4667
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4668
  test $ac_status = 0; }; then
4924
4669
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.6.0" 2>/dev/null`
4925
4670
else
4926
4671
  pkg_failed=yes
4947
4692
        # Put the nasty error message in config.log where it belongs
4948
4693
        echo "$GOBJECT_PKG_ERRORS" >&5
4949
4694
 
4950
 
        { { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4951
 
 
4952
 
$GOBJECT_PKG_ERRORS
4953
 
 
4954
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4955
 
installed software in a non-standard prefix.
4956
 
 
4957
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4958
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4959
 
See the pkg-config man page for more details.
4960
 
" >&5
4961
 
echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4962
 
 
4963
 
$GOBJECT_PKG_ERRORS
4964
 
 
4965
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4966
 
installed software in a non-standard prefix.
4967
 
 
4968
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4969
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4970
 
See the pkg-config man page for more details.
4971
 
" >&2;}
4972
 
   { (exit 1); exit 1; }; }
 
4695
        as_fn_error "Package requirements (gobject-2.0 >= 2.6.0) were not met:
 
4696
 
 
4697
$GOBJECT_PKG_ERRORS
 
4698
 
 
4699
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4700
installed software in a non-standard prefix.
 
4701
 
 
4702
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4703
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4704
See the pkg-config man page for more details.
 
4705
" "$LINENO" 5
4973
4706
elif test $pkg_failed = untried; then
4974
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4975
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4976
 
path to pkg-config.
4977
 
 
4978
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4979
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4980
 
See the pkg-config man page for more details.
4981
 
 
4982
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4983
 
See \`config.log' for more details." >&5
4984
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4985
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4986
 
path to pkg-config.
4987
 
 
4988
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4989
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4990
 
See the pkg-config man page for more details.
4991
 
 
4992
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4993
 
See \`config.log' for more details." >&2;}
4994
 
   { (exit 1); exit 1; }; }
 
4707
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4708
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4709
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
4710
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4711
path to pkg-config.
 
4712
 
 
4713
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4714
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4715
See the pkg-config man page for more details.
 
4716
 
 
4717
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4718
See \`config.log' for more details." "$LINENO" 5; }
4995
4719
else
4996
4720
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
4997
4721
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
4998
 
        { echo "$as_me:$LINENO: result: yes" >&5
4999
 
echo "${ECHO_T}yes" >&6; }
 
4722
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4723
$as_echo "yes" >&6; }
5000
4724
        :
5001
4725
fi
5002
4726
 
5034
4758
    case $ac_val in #(
5035
4759
    *${as_nl}*)
5036
4760
      case $ac_var in #(
5037
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5038
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
4761
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
4762
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5039
4763
      esac
5040
4764
      case $ac_var in #(
5041
4765
      _ | IFS | as_nl) ;; #(
5042
 
      *) $as_unset $ac_var ;;
 
4766
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
4767
      *) { eval $ac_var=; unset $ac_var;} ;;
5043
4768
      esac ;;
5044
4769
    esac
5045
4770
  done
5047
4772
  (set) 2>&1 |
5048
4773
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5049
4774
    *${as_nl}ac_space=\ *)
5050
 
      # `set' does not quote correctly, so add quotes (double-quote
5051
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4775
      # `set' does not quote correctly, so add quotes: double-quote
 
4776
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5052
4777
      sed -n \
5053
4778
        "s/'/'\\\\''/g;
5054
4779
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5071
4796
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5072
4797
  if test -w "$cache_file"; then
5073
4798
    test "x$cache_file" != "x/dev/null" &&
5074
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5075
 
echo "$as_me: updating cache $cache_file" >&6;}
 
4799
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
4800
$as_echo "$as_me: updating cache $cache_file" >&6;}
5076
4801
    cat confcache >$cache_file
5077
4802
  else
5078
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5079
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
4803
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
4804
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5080
4805
  fi
5081
4806
fi
5082
4807
rm -f confcache
5092
4817
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5093
4818
  # 1. Remove the extension, and $U if already installed.
5094
4819
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5095
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
4820
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5096
4821
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5097
4822
  #    will be set to the directory where LIBOBJS objects are built.
5098
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5099
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4823
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4824
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5100
4825
done
5101
4826
LIB@&t@OBJS=$ac_libobjs
5102
4827
 
5103
4828
LTLIBOBJS=$ac_ltlibobjs
5104
4829
 
5105
4830
 
 
4831
 if test -n "$EXEEXT"; then
 
4832
  am__EXEEXT_TRUE=
 
4833
  am__EXEEXT_FALSE='#'
 
4834
else
 
4835
  am__EXEEXT_TRUE='#'
 
4836
  am__EXEEXT_FALSE=
 
4837
fi
 
4838
 
5106
4839
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5107
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5108
 
Usually this means the macro was only invoked conditionally." >&5
5109
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5110
 
Usually this means the macro was only invoked conditionally." >&2;}
5111
 
   { (exit 1); exit 1; }; }
 
4840
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
4841
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5112
4842
fi
5113
4843
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5114
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5115
 
Usually this means the macro was only invoked conditionally." >&5
5116
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
5117
 
Usually this means the macro was only invoked conditionally." >&2;}
5118
 
   { (exit 1); exit 1; }; }
 
4844
  as_fn_error "conditional \"AMDEP\" was never defined.
 
4845
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5119
4846
fi
5120
4847
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5121
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5122
 
Usually this means the macro was only invoked conditionally." >&5
5123
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5124
 
Usually this means the macro was only invoked conditionally." >&2;}
5125
 
   { (exit 1); exit 1; }; }
 
4848
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
4849
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5126
4850
fi
5127
4851
 
5128
4852
: ${CONFIG_STATUS=./config.status}
 
4853
ac_write_fail=0
5129
4854
ac_clean_files_save=$ac_clean_files
5130
4855
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5131
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5132
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5133
 
cat >$CONFIG_STATUS <<_ACEOF
 
4856
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
4857
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
4858
as_write_fail=0
 
4859
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5134
4860
#! $SHELL
5135
4861
# Generated by $as_me.
5136
4862
# Run this file to recreate the current configuration.
5140
4866
debug=false
5141
4867
ac_cs_recheck=false
5142
4868
ac_cs_silent=false
 
4869
 
5143
4870
SHELL=\${CONFIG_SHELL-$SHELL}
5144
 
_ACEOF
5145
 
 
5146
 
cat >>$CONFIG_STATUS <<\_ACEOF
5147
 
## --------------------- ##
5148
 
## M4sh Initialization.  ##
5149
 
## --------------------- ##
 
4871
export SHELL
 
4872
_ASEOF
 
4873
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
4874
## -------------------- ##
 
4875
## M4sh Initialization. ##
 
4876
## -------------------- ##
5150
4877
 
5151
4878
# Be more Bourne compatible
5152
4879
DUALCASE=1; export DUALCASE # for MKS sh
5153
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4880
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5154
4881
  emulate sh
5155
4882
  NULLCMD=:
5156
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
4883
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5157
4884
  # is contrary to our usage.  Disable this feature.
5158
4885
  alias -g '${1+"$@"}'='"$@"'
5159
4886
  setopt NO_GLOB_SUBST
5160
4887
else
5161
 
  case `(set -o) 2>/dev/null` in
5162
 
  *posix*) set -o posix ;;
 
4888
  case `(set -o) 2>/dev/null` in @%:@(
 
4889
  *posix*) :
 
4890
    set -o posix ;; @%:@(
 
4891
  *) :
 
4892
     ;;
5163
4893
esac
5164
 
 
5165
 
fi
5166
 
 
5167
 
 
5168
 
 
5169
 
 
5170
 
# PATH needs CR
5171
 
# Avoid depending upon Character Ranges.
5172
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5173
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5174
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5175
 
as_cr_digits='0123456789'
5176
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4894
fi
 
4895
 
 
4896
 
 
4897
as_nl='
 
4898
'
 
4899
export as_nl
 
4900
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
4901
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4902
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
4903
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
4904
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
4905
# but without wasting forks for bash or zsh.
 
4906
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
4907
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4908
  as_echo='print -r --'
 
4909
  as_echo_n='print -rn --'
 
4910
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4911
  as_echo='printf %s\n'
 
4912
  as_echo_n='printf %s'
 
4913
else
 
4914
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
4915
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
4916
    as_echo_n='/usr/ucb/echo -n'
 
4917
  else
 
4918
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
4919
    as_echo_n_body='eval
 
4920
      arg=$1;
 
4921
      case $arg in @%:@(
 
4922
      *"$as_nl"*)
 
4923
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
4924
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
4925
      esac;
 
4926
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
4927
    '
 
4928
    export as_echo_n_body
 
4929
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
4930
  fi
 
4931
  export as_echo_body
 
4932
  as_echo='sh -c $as_echo_body as_echo'
 
4933
fi
5177
4934
 
5178
4935
# The user is always right.
5179
4936
if test "${PATH_SEPARATOR+set}" != set; then
5180
 
  echo "#! /bin/sh" >conf$$.sh
5181
 
  echo  "exit 0"   >>conf$$.sh
5182
 
  chmod +x conf$$.sh
5183
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5184
 
    PATH_SEPARATOR=';'
5185
 
  else
5186
 
    PATH_SEPARATOR=:
5187
 
  fi
5188
 
  rm -f conf$$.sh
5189
 
fi
5190
 
 
5191
 
# Support unset when possible.
5192
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5193
 
  as_unset=unset
5194
 
else
5195
 
  as_unset=false
 
4937
  PATH_SEPARATOR=:
 
4938
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
4939
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
4940
      PATH_SEPARATOR=';'
 
4941
  }
5196
4942
fi
5197
4943
 
5198
4944
 
5201
4947
# there to prevent editors from complaining about space-tab.
5202
4948
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5203
4949
# splitting by setting IFS to empty value.)
5204
 
as_nl='
5205
 
'
5206
4950
IFS=" ""        $as_nl"
5207
4951
 
5208
4952
# Find who we are.  Look in the path if we contain no directory separator.
5209
 
case $0 in
 
4953
case $0 in @%:@((
5210
4954
  *[\\/]* ) as_myself=$0 ;;
5211
4955
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212
4956
for as_dir in $PATH
5213
4957
do
5214
4958
  IFS=$as_save_IFS
5215
4959
  test -z "$as_dir" && as_dir=.
5216
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5217
 
done
 
4960
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4961
  done
5218
4962
IFS=$as_save_IFS
5219
4963
 
5220
4964
     ;;
5225
4969
  as_myself=$0
5226
4970
fi
5227
4971
if test ! -f "$as_myself"; then
5228
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5229
 
  { (exit 1); exit 1; }
 
4972
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
4973
  exit 1
5230
4974
fi
5231
4975
 
5232
 
# Work around bugs in pre-3.0 UWIN ksh.
5233
 
for as_var in ENV MAIL MAILPATH
5234
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4976
# Unset variables that we do not need and which cause bugs (e.g. in
 
4977
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
4978
# suppresses any "Segmentation fault" message there.  '((' could
 
4979
# trigger a bug in pdksh 5.2.14.
 
4980
for as_var in BASH_ENV ENV MAIL MAILPATH
 
4981
do eval test x\${$as_var+set} = xset \
 
4982
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5235
4983
done
5236
4984
PS1='$ '
5237
4985
PS2='> '
5238
4986
PS4='+ '
5239
4987
 
5240
4988
# NLS nuisances.
5241
 
for as_var in \
5242
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5243
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5244
 
  LC_TELEPHONE LC_TIME
5245
 
do
5246
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5247
 
    eval $as_var=C; export $as_var
5248
 
  else
5249
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4989
LC_ALL=C
 
4990
export LC_ALL
 
4991
LANGUAGE=C
 
4992
export LANGUAGE
 
4993
 
 
4994
# CDPATH.
 
4995
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
4996
 
 
4997
 
 
4998
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
4999
@%:@ ---------------------------------
 
5000
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5001
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5002
@%:@ script with status @S|@?, using 1 if that was 0.
 
5003
as_fn_error ()
 
5004
{
 
5005
  as_status=$?; test $as_status -eq 0 && as_status=1
 
5006
  if test "$3"; then
 
5007
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5008
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5250
5009
  fi
5251
 
done
5252
 
 
5253
 
# Required to use basename.
 
5010
  $as_echo "$as_me: error: $1" >&2
 
5011
  as_fn_exit $as_status
 
5012
} @%:@ as_fn_error
 
5013
 
 
5014
 
 
5015
@%:@ as_fn_set_status STATUS
 
5016
@%:@ -----------------------
 
5017
@%:@ Set @S|@? to STATUS, without forking.
 
5018
as_fn_set_status ()
 
5019
{
 
5020
  return $1
 
5021
} @%:@ as_fn_set_status
 
5022
 
 
5023
@%:@ as_fn_exit STATUS
 
5024
@%:@ -----------------
 
5025
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5026
as_fn_exit ()
 
5027
{
 
5028
  set +e
 
5029
  as_fn_set_status $1
 
5030
  exit $1
 
5031
} @%:@ as_fn_exit
 
5032
 
 
5033
@%:@ as_fn_unset VAR
 
5034
@%:@ ---------------
 
5035
@%:@ Portably unset VAR.
 
5036
as_fn_unset ()
 
5037
{
 
5038
  { eval $1=; unset $1;}
 
5039
}
 
5040
as_unset=as_fn_unset
 
5041
@%:@ as_fn_append VAR VALUE
 
5042
@%:@ ----------------------
 
5043
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
5044
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
5045
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
5046
@%:@ implementations.
 
5047
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5048
  eval 'as_fn_append ()
 
5049
  {
 
5050
    eval $1+=\$2
 
5051
  }'
 
5052
else
 
5053
  as_fn_append ()
 
5054
  {
 
5055
    eval $1=\$$1\$2
 
5056
  }
 
5057
fi # as_fn_append
 
5058
 
 
5059
@%:@ as_fn_arith ARG...
 
5060
@%:@ ------------------
 
5061
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
5062
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
5063
@%:@ must be portable across @S|@(()) and expr.
 
5064
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5065
  eval 'as_fn_arith ()
 
5066
  {
 
5067
    as_val=$(( $* ))
 
5068
  }'
 
5069
else
 
5070
  as_fn_arith ()
 
5071
  {
 
5072
    as_val=`expr "$@" || test $? -eq 1`
 
5073
  }
 
5074
fi # as_fn_arith
 
5075
 
 
5076
 
5254
5077
if expr a : '\(a\)' >/dev/null 2>&1 &&
5255
5078
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5256
5079
  as_expr=expr
5264
5087
  as_basename=false
5265
5088
fi
5266
5089
 
 
5090
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5091
  as_dirname=dirname
 
5092
else
 
5093
  as_dirname=false
 
5094
fi
5267
5095
 
5268
 
# Name of the executable.
5269
5096
as_me=`$as_basename -- "$0" ||
5270
5097
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5271
5098
         X"$0" : 'X\(//\)$' \| \
5272
5099
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5273
 
echo X/"$0" |
 
5100
$as_echo X/"$0" |
5274
5101
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5275
5102
            s//\1/
5276
5103
            q
5285
5112
          }
5286
5113
          s/.*/./; q'`
5287
5114
 
5288
 
# CDPATH.
5289
 
$as_unset CDPATH
5290
 
 
5291
 
 
5292
 
 
5293
 
  as_lineno_1=$LINENO
5294
 
  as_lineno_2=$LINENO
5295
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5296
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5297
 
 
5298
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5299
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
5300
 
  # line-number line after each line using $LINENO; the second 'sed'
5301
 
  # does the real work.  The second script uses 'N' to pair each
5302
 
  # line-number line with the line containing $LINENO, and appends
5303
 
  # trailing '-' during substitution so that $LINENO is not a special
5304
 
  # case at line end.
5305
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5306
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5307
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5308
 
  sed -n '
5309
 
    p
5310
 
    /[$]LINENO/=
5311
 
  ' <$as_myself |
5312
 
    sed '
5313
 
      s/[$]LINENO.*/&-/
5314
 
      t lineno
5315
 
      b
5316
 
      :lineno
5317
 
      N
5318
 
      :loop
5319
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5320
 
      t loop
5321
 
      s/-\n.*//
5322
 
    ' >$as_me.lineno &&
5323
 
  chmod +x "$as_me.lineno" ||
5324
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5325
 
   { (exit 1); exit 1; }; }
5326
 
 
5327
 
  # Don't try to exec as it changes $[0], causing all sort of problems
5328
 
  # (the dirname of $[0] is not the place where we might find the
5329
 
  # original and so on.  Autoconf is especially sensitive to this).
5330
 
  . "./$as_me.lineno"
5331
 
  # Exit status is that of the last command.
5332
 
  exit
5333
 
}
5334
 
 
5335
 
 
5336
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5337
 
  as_dirname=dirname
5338
 
else
5339
 
  as_dirname=false
5340
 
fi
 
5115
# Avoid depending upon Character Ranges.
 
5116
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5117
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5118
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5119
as_cr_digits='0123456789'
 
5120
as_cr_alnum=$as_cr_Letters$as_cr_digits
5341
5121
 
5342
5122
ECHO_C= ECHO_N= ECHO_T=
5343
 
case `echo -n x` in
 
5123
case `echo -n x` in @%:@(((((
5344
5124
-n*)
5345
 
  case `echo 'x\c'` in
 
5125
  case `echo 'xy\c'` in
5346
5126
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5347
 
  *)   ECHO_C='\c';;
 
5127
  xy)  ECHO_C='\c';;
 
5128
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5129
       ECHO_T=' ';;
5348
5130
  esac;;
5349
5131
*)
5350
5132
  ECHO_N='-n';;
5351
5133
esac
5352
5134
 
5353
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5354
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5355
 
  as_expr=expr
5356
 
else
5357
 
  as_expr=false
5358
 
fi
5359
 
 
5360
5135
rm -f conf$$ conf$$.exe conf$$.file
5361
5136
if test -d conf$$.dir; then
5362
5137
  rm -f conf$$.dir/conf$$.file
5363
5138
else
5364
5139
  rm -f conf$$.dir
5365
 
  mkdir conf$$.dir
 
5140
  mkdir conf$$.dir 2>/dev/null
5366
5141
fi
5367
 
echo >conf$$.file
5368
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
5369
 
  as_ln_s='ln -s'
5370
 
  # ... but there are two gotchas:
5371
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5372
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5373
 
  # In both cases, we have to default to `cp -p'.
5374
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
5142
if (echo >conf$$.file) 2>/dev/null; then
 
5143
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
5144
    as_ln_s='ln -s'
 
5145
    # ... but there are two gotchas:
 
5146
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
5147
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
5148
    # In both cases, we have to default to `cp -p'.
 
5149
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
5150
      as_ln_s='cp -p'
 
5151
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
5152
    as_ln_s=ln
 
5153
  else
5375
5154
    as_ln_s='cp -p'
5376
 
elif ln conf$$.file conf$$ 2>/dev/null; then
5377
 
  as_ln_s=ln
 
5155
  fi
5378
5156
else
5379
5157
  as_ln_s='cp -p'
5380
5158
fi
5381
5159
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5382
5160
rmdir conf$$.dir 2>/dev/null
5383
5161
 
 
5162
 
 
5163
@%:@ as_fn_mkdir_p
 
5164
@%:@ -------------
 
5165
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
5166
as_fn_mkdir_p ()
 
5167
{
 
5168
 
 
5169
  case $as_dir in #(
 
5170
  -*) as_dir=./$as_dir;;
 
5171
  esac
 
5172
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5173
    as_dirs=
 
5174
    while :; do
 
5175
      case $as_dir in #(
 
5176
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5177
      *) as_qdir=$as_dir;;
 
5178
      esac
 
5179
      as_dirs="'$as_qdir' $as_dirs"
 
5180
      as_dir=`$as_dirname -- "$as_dir" ||
 
5181
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5182
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5183
         X"$as_dir" : 'X\(//\)$' \| \
 
5184
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5185
$as_echo X"$as_dir" |
 
5186
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5187
            s//\1/
 
5188
            q
 
5189
          }
 
5190
          /^X\(\/\/\)[^/].*/{
 
5191
            s//\1/
 
5192
            q
 
5193
          }
 
5194
          /^X\(\/\/\)$/{
 
5195
            s//\1/
 
5196
            q
 
5197
          }
 
5198
          /^X\(\/\).*/{
 
5199
            s//\1/
 
5200
            q
 
5201
          }
 
5202
          s/.*/./; q'`
 
5203
      test -d "$as_dir" && break
 
5204
    done
 
5205
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5206
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
5207
 
 
5208
 
 
5209
} @%:@ as_fn_mkdir_p
5384
5210
if mkdir -p . 2>/dev/null; then
5385
 
  as_mkdir_p=:
 
5211
  as_mkdir_p='mkdir -p "$as_dir"'
5386
5212
else
5387
5213
  test -d ./-p && rmdir ./-p
5388
5214
  as_mkdir_p=false
5399
5225
  as_test_x='
5400
5226
    eval sh -c '\''
5401
5227
      if test -d "$1"; then
5402
 
        test -d "$1/.";
 
5228
        test -d "$1/.";
5403
5229
      else
5404
 
        case $1 in
5405
 
        -*)set "./$1";;
 
5230
        case $1 in @%:@(
 
5231
        -*)set "./$1";;
5406
5232
        esac;
5407
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5233
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
5408
5234
        ???[sx]*):;;*)false;;esac;fi
5409
5235
    '\'' sh
5410
5236
  '
5419
5245
 
5420
5246
 
5421
5247
exec 6>&1
 
5248
## ----------------------------------- ##
 
5249
## Main body of $CONFIG_STATUS script. ##
 
5250
## ----------------------------------- ##
 
5251
_ASEOF
 
5252
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5422
5253
 
5423
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5254
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5255
# Save the log message, to keep $0 and so on meaningful, and to
5424
5256
# report actual input values of CONFIG_FILES etc. instead of their
5425
5257
# values after options handling.
5426
5258
ac_log="
5427
 
This file was extended by ltspfs $as_me 0.5.13, which was
5428
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
5259
This file was extended by ltspfs $as_me 0.5.14, which was
 
5260
generated by GNU Autoconf 2.65.  Invocation command line was
5429
5261
 
5430
5262
  CONFIG_FILES    = $CONFIG_FILES
5431
5263
  CONFIG_HEADERS  = $CONFIG_HEADERS
5438
5270
 
5439
5271
_ACEOF
5440
5272
 
5441
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5273
case $ac_config_files in *"
 
5274
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
5275
esac
 
5276
 
 
5277
case $ac_config_headers in *"
 
5278
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
5279
esac
 
5280
 
 
5281
 
 
5282
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5442
5283
# Files that config.status was made for.
5443
5284
config_files="$ac_config_files"
5444
5285
config_headers="$ac_config_headers"
5446
5287
 
5447
5288
_ACEOF
5448
5289
 
5449
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5290
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5450
5291
ac_cs_usage="\
5451
 
\`$as_me' instantiates files from templates according to the
5452
 
current configuration.
 
5292
\`$as_me' instantiates files and other configuration actions
 
5293
from templates according to the current configuration.  Unless the files
 
5294
and actions are specified as TAGs, all are instantiated by default.
5453
5295
 
5454
 
Usage: $0 [OPTIONS] [FILE]...
 
5296
Usage: $0 [OPTION]... [TAG]...
5455
5297
 
5456
5298
  -h, --help       print this help, then exit
5457
5299
  -V, --version    print version number and configuration settings, then exit
5458
 
  -q, --quiet      do not print progress messages
 
5300
      --config     print configuration, then exit
 
5301
  -q, --quiet, --silent
 
5302
                   do not print progress messages
5459
5303
  -d, --debug      don't remove temporary files
5460
5304
      --recheck    update $as_me by reconfiguring in the same conditions
5461
 
  --file=FILE[:TEMPLATE]
5462
 
                   instantiate the configuration file FILE
5463
 
  --header=FILE[:TEMPLATE]
5464
 
                   instantiate the configuration header FILE
 
5305
      --file=FILE[:TEMPLATE] 
 
5306
                   instantiate the configuration file FILE
 
5307
      --header=FILE[:TEMPLATE] 
 
5308
                   instantiate the configuration header FILE
5465
5309
 
5466
5310
Configuration files:
5467
5311
$config_files
5472
5316
Configuration commands:
5473
5317
$config_commands
5474
5318
 
5475
 
Report bugs to <bug-autoconf@gnu.org>."
 
5319
Report bugs to <sbalneav@ltsp.org>."
5476
5320
 
5477
5321
_ACEOF
5478
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5322
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5323
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5479
5324
ac_cs_version="\\
5480
 
ltspfs config.status 0.5.13
5481
 
configured by $0, generated by GNU Autoconf 2.61,
5482
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5325
ltspfs config.status 0.5.14
 
5326
configured by $0, generated by GNU Autoconf 2.65,
 
5327
  with options \\"\$ac_cs_config\\"
5483
5328
 
5484
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
5329
Copyright (C) 2009 Free Software Foundation, Inc.
5485
5330
This config.status script is free software; the Free Software Foundation
5486
5331
gives unlimited permission to copy, distribute and modify it."
5487
5332
 
5489
5334
srcdir='$srcdir'
5490
5335
INSTALL='$INSTALL'
5491
5336
MKDIR_P='$MKDIR_P'
 
5337
AWK='$AWK'
 
5338
test -n "\$AWK" || AWK=awk
5492
5339
_ACEOF
5493
5340
 
5494
 
cat >>$CONFIG_STATUS <<\_ACEOF
5495
 
# If no file are specified by the user, then we need to provide default
5496
 
# value.  By we need to know if files were specified by the user.
 
5341
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5342
# The default lists apply if the user does not specify any file.
5497
5343
ac_need_defaults=:
5498
5344
while test $# != 0
5499
5345
do
5515
5361
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5516
5362
    ac_cs_recheck=: ;;
5517
5363
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5518
 
    echo "$ac_cs_version"; exit ;;
 
5364
    $as_echo "$ac_cs_version"; exit ;;
 
5365
  --config | --confi | --conf | --con | --co | --c )
 
5366
    $as_echo "$ac_cs_config"; exit ;;
5519
5367
  --debug | --debu | --deb | --de | --d | -d )
5520
5368
    debug=: ;;
5521
5369
  --file | --fil | --fi | --f )
5522
5370
    $ac_shift
5523
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
5371
    case $ac_optarg in
 
5372
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5373
    esac
 
5374
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5524
5375
    ac_need_defaults=false;;
5525
5376
  --header | --heade | --head | --hea )
5526
5377
    $ac_shift
5527
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
5378
    case $ac_optarg in
 
5379
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5380
    esac
 
5381
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5528
5382
    ac_need_defaults=false;;
5529
5383
  --he | --h)
5530
5384
    # Conflict between --help and --header
5531
 
    { echo "$as_me: error: ambiguous option: $1
5532
 
Try \`$0 --help' for more information." >&2
5533
 
   { (exit 1); exit 1; }; };;
 
5385
    as_fn_error "ambiguous option: \`$1'
 
5386
Try \`$0 --help' for more information.";;
5534
5387
  --help | --hel | -h )
5535
 
    echo "$ac_cs_usage"; exit ;;
 
5388
    $as_echo "$ac_cs_usage"; exit ;;
5536
5389
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5537
5390
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5538
5391
    ac_cs_silent=: ;;
5539
5392
 
5540
5393
  # This is an error.
5541
 
  -*) { echo "$as_me: error: unrecognized option: $1
5542
 
Try \`$0 --help' for more information." >&2
5543
 
   { (exit 1); exit 1; }; } ;;
 
5394
  -*) as_fn_error "unrecognized option: \`$1'
 
5395
Try \`$0 --help' for more information." ;;
5544
5396
 
5545
 
  *) ac_config_targets="$ac_config_targets $1"
 
5397
  *) as_fn_append ac_config_targets " $1"
5546
5398
     ac_need_defaults=false ;;
5547
5399
 
5548
5400
  esac
5557
5409
fi
5558
5410
 
5559
5411
_ACEOF
5560
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5412
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5561
5413
if \$ac_cs_recheck; then
5562
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5563
 
  CONFIG_SHELL=$SHELL
 
5414
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5415
  shift
 
5416
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
5417
  CONFIG_SHELL='$SHELL'
5564
5418
  export CONFIG_SHELL
5565
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5419
  exec "\$@"
5566
5420
fi
5567
5421
 
5568
5422
_ACEOF
5569
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5423
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5570
5424
exec 5>>config.log
5571
5425
{
5572
5426
  echo
5573
5427
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5574
5428
@%:@@%:@ Running $as_me. @%:@@%:@
5575
5429
_ASBOX
5576
 
  echo "$ac_log"
 
5430
  $as_echo "$ac_log"
5577
5431
} >&5
5578
5432
 
5579
5433
_ACEOF
5580
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5434
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5581
5435
#
5582
5436
# INIT-COMMANDS
5583
5437
#
5585
5439
 
5586
5440
_ACEOF
5587
5441
 
5588
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5442
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5589
5443
 
5590
5444
# Handling of arguments.
5591
5445
for ac_config_target in $ac_config_targets
5599
5453
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5600
5454
    "udev/Makefile") CONFIG_FILES="$CONFIG_FILES udev/Makefile" ;;
5601
5455
 
5602
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5603
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5604
 
   { (exit 1); exit 1; }; };;
 
5456
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5605
5457
  esac
5606
5458
done
5607
5459
 
5628
5480
  trap 'exit_status=$?
5629
5481
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5630
5482
' 0
5631
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5483
  trap 'as_fn_exit 1' 1 2 13 15
5632
5484
}
5633
5485
# Create a (secure) tmp directory for tmp files.
5634
5486
 
5639
5491
{
5640
5492
  tmp=./conf$$-$RANDOM
5641
5493
  (umask 077 && mkdir "$tmp")
5642
 
} ||
5643
 
{
5644
 
   echo "$me: cannot create a temporary directory in ." >&2
5645
 
   { (exit 1); exit 1; }
5646
 
}
5647
 
 
5648
 
#
5649
 
# Set up the sed scripts for CONFIG_FILES section.
5650
 
#
5651
 
 
5652
 
# No need to generate the scripts if there are no CONFIG_FILES.
5653
 
# This happens for instance when ./config.status config.h
 
5494
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
5495
 
 
5496
# Set up the scripts for CONFIG_FILES section.
 
5497
# No need to generate them if there are no CONFIG_FILES.
 
5498
# This happens for instance with `./config.status config.h'.
5654
5499
if test -n "$CONFIG_FILES"; then
5655
5500
 
 
5501
 
 
5502
ac_cr=`echo X | tr X '\015'`
 
5503
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5504
# But we know of no other shell where ac_cr would be empty at this
 
5505
# point, so we can use a bashism as a fallback.
 
5506
if test "x$ac_cr" = x; then
 
5507
  eval ac_cr=\$\'\\r\'
 
5508
fi
 
5509
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
5510
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
5511
  ac_cs_awk_cr='\r'
 
5512
else
 
5513
  ac_cs_awk_cr=$ac_cr
 
5514
fi
 
5515
 
 
5516
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5656
5517
_ACEOF
5657
5518
 
5658
5519
 
5659
 
 
 
5520
{
 
5521
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
5522
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
5523
  echo "_ACEOF"
 
5524
} >conf$$subs.sh ||
 
5525
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
5526
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5660
5527
ac_delim='%!_!# '
5661
5528
for ac_last_try in false false false false false :; do
5662
 
  cat >conf$$subs.sed <<_ACEOF
5663
 
SHELL!$SHELL$ac_delim
5664
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5665
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5666
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5667
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5668
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5669
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5670
 
exec_prefix!$exec_prefix$ac_delim
5671
 
prefix!$prefix$ac_delim
5672
 
program_transform_name!$program_transform_name$ac_delim
5673
 
bindir!$bindir$ac_delim
5674
 
sbindir!$sbindir$ac_delim
5675
 
libexecdir!$libexecdir$ac_delim
5676
 
datarootdir!$datarootdir$ac_delim
5677
 
datadir!$datadir$ac_delim
5678
 
sysconfdir!$sysconfdir$ac_delim
5679
 
sharedstatedir!$sharedstatedir$ac_delim
5680
 
localstatedir!$localstatedir$ac_delim
5681
 
includedir!$includedir$ac_delim
5682
 
oldincludedir!$oldincludedir$ac_delim
5683
 
docdir!$docdir$ac_delim
5684
 
infodir!$infodir$ac_delim
5685
 
htmldir!$htmldir$ac_delim
5686
 
dvidir!$dvidir$ac_delim
5687
 
pdfdir!$pdfdir$ac_delim
5688
 
psdir!$psdir$ac_delim
5689
 
libdir!$libdir$ac_delim
5690
 
localedir!$localedir$ac_delim
5691
 
mandir!$mandir$ac_delim
5692
 
DEFS!$DEFS$ac_delim
5693
 
ECHO_C!$ECHO_C$ac_delim
5694
 
ECHO_N!$ECHO_N$ac_delim
5695
 
ECHO_T!$ECHO_T$ac_delim
5696
 
LIBS!$LIBS$ac_delim
5697
 
build_alias!$build_alias$ac_delim
5698
 
host_alias!$host_alias$ac_delim
5699
 
target_alias!$target_alias$ac_delim
5700
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5701
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5702
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
5703
 
am__isrc!$am__isrc$ac_delim
5704
 
CYGPATH_W!$CYGPATH_W$ac_delim
5705
 
PACKAGE!$PACKAGE$ac_delim
5706
 
VERSION!$VERSION$ac_delim
5707
 
ACLOCAL!$ACLOCAL$ac_delim
5708
 
AUTOCONF!$AUTOCONF$ac_delim
5709
 
AUTOMAKE!$AUTOMAKE$ac_delim
5710
 
AUTOHEADER!$AUTOHEADER$ac_delim
5711
 
MAKEINFO!$MAKEINFO$ac_delim
5712
 
install_sh!$install_sh$ac_delim
5713
 
STRIP!$STRIP$ac_delim
5714
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5715
 
mkdir_p!$mkdir_p$ac_delim
5716
 
AWK!$AWK$ac_delim
5717
 
SET_MAKE!$SET_MAKE$ac_delim
5718
 
am__leading_dot!$am__leading_dot$ac_delim
5719
 
AMTAR!$AMTAR$ac_delim
5720
 
am__tar!$am__tar$ac_delim
5721
 
am__untar!$am__untar$ac_delim
5722
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5723
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5724
 
MAINT!$MAINT$ac_delim
5725
 
CC!$CC$ac_delim
5726
 
CFLAGS!$CFLAGS$ac_delim
5727
 
LDFLAGS!$LDFLAGS$ac_delim
5728
 
CPPFLAGS!$CPPFLAGS$ac_delim
5729
 
ac_ct_CC!$ac_ct_CC$ac_delim
5730
 
EXEEXT!$EXEEXT$ac_delim
5731
 
OBJEXT!$OBJEXT$ac_delim
5732
 
DEPDIR!$DEPDIR$ac_delim
5733
 
am__include!$am__include$ac_delim
5734
 
am__quote!$am__quote$ac_delim
5735
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5736
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5737
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5738
 
CCDEPMODE!$CCDEPMODE$ac_delim
5739
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5740
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5741
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
5742
 
LTSPFS_CFLAGS!$LTSPFS_CFLAGS$ac_delim
5743
 
LTSPFS_LIBS!$LTSPFS_LIBS$ac_delim
5744
 
CPP!$CPP$ac_delim
5745
 
GREP!$GREP$ac_delim
5746
 
EGREP!$EGREP$ac_delim
5747
 
UDEV_RULES_PATH!$UDEV_RULES_PATH$ac_delim
5748
 
UDEV_LIB_PATH!$UDEV_LIB_PATH$ac_delim
5749
 
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
5750
 
GLIB_LIBS!$GLIB_LIBS$ac_delim
5751
 
GOBJECT_CFLAGS!$GOBJECT_CFLAGS$ac_delim
5752
 
GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
5753
 
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5754
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
5755
 
_ACEOF
 
5529
  . ./conf$$subs.sh ||
 
5530
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5756
5531
 
5757
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
 
5532
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
5533
  if test $ac_delim_n = $ac_delim_num; then
5758
5534
    break
5759
5535
  elif $ac_last_try; then
5760
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5761
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5762
 
   { (exit 1); exit 1; }; }
 
5536
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5763
5537
  else
5764
5538
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5765
5539
  fi
5766
5540
done
5767
 
 
5768
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5769
 
if test -n "$ac_eof"; then
5770
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5771
 
  ac_eof=`expr $ac_eof + 1`
5772
 
fi
5773
 
 
5774
 
cat >>$CONFIG_STATUS <<_ACEOF
5775
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5776
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5777
 
_ACEOF
5778
 
sed '
5779
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5780
 
s/^/s,@/; s/!/@,|#_!!_#|/
5781
 
:n
5782
 
t n
5783
 
s/'"$ac_delim"'$/,g/; t
5784
 
s/$/\\/; p
5785
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5786
 
' >>$CONFIG_STATUS <conf$$subs.sed
5787
 
rm -f conf$$subs.sed
5788
 
cat >>$CONFIG_STATUS <<_ACEOF
5789
 
:end
5790
 
s/|#_!!_#|//g
5791
 
CEOF$ac_eof
5792
 
_ACEOF
5793
 
 
 
5541
rm -f conf$$subs.sh
 
5542
 
 
5543
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5544
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5545
_ACEOF
 
5546
sed -n '
 
5547
h
 
5548
s/^/S["/; s/!.*/"]=/
 
5549
p
 
5550
g
 
5551
s/^[^!]*!//
 
5552
:repl
 
5553
t repl
 
5554
s/'"$ac_delim"'$//
 
5555
t delim
 
5556
:nl
 
5557
h
 
5558
s/\(.\{148\}\)..*/\1/
 
5559
t more1
 
5560
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
5561
p
 
5562
n
 
5563
b repl
 
5564
:more1
 
5565
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5566
p
 
5567
g
 
5568
s/.\{148\}//
 
5569
t nl
 
5570
:delim
 
5571
h
 
5572
s/\(.\{148\}\)..*/\1/
 
5573
t more2
 
5574
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
5575
p
 
5576
b
 
5577
:more2
 
5578
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5579
p
 
5580
g
 
5581
s/.\{148\}//
 
5582
t delim
 
5583
' <conf$$subs.awk | sed '
 
5584
/^[^""]/{
 
5585
  N
 
5586
  s/\n//
 
5587
}
 
5588
' >>$CONFIG_STATUS || ac_write_fail=1
 
5589
rm -f conf$$subs.awk
 
5590
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5591
_ACAWK
 
5592
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5593
  for (key in S) S_is_set[key] = 1
 
5594
  FS = ""
 
5595
 
 
5596
}
 
5597
{
 
5598
  line = $ 0
 
5599
  nfields = split(line, field, "@")
 
5600
  substed = 0
 
5601
  len = length(field[1])
 
5602
  for (i = 2; i < nfields; i++) {
 
5603
    key = field[i]
 
5604
    keylen = length(key)
 
5605
    if (S_is_set[key]) {
 
5606
      value = S[key]
 
5607
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
5608
      len += length(value) + length(field[++i])
 
5609
      substed = 1
 
5610
    } else
 
5611
      len += 1 + keylen
 
5612
  }
 
5613
 
 
5614
  print line
 
5615
}
 
5616
 
 
5617
_ACAWK
 
5618
_ACEOF
 
5619
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5620
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
5621
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
5622
else
 
5623
  cat
 
5624
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
5625
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
5626
_ACEOF
5794
5627
 
5795
5628
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5796
5629
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5807
5640
}'
5808
5641
fi
5809
5642
 
5810
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5643
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5811
5644
fi # test -n "$CONFIG_FILES"
5812
5645
 
5813
 
 
5814
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
5646
# Set up the scripts for CONFIG_HEADERS section.
 
5647
# No need to generate them if there are no CONFIG_HEADERS.
 
5648
# This happens for instance with `./config.status Makefile'.
 
5649
if test -n "$CONFIG_HEADERS"; then
 
5650
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5651
BEGIN {
 
5652
_ACEOF
 
5653
 
 
5654
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
5655
# here-document in config.status, that substitutes the proper values into
 
5656
# config.h.in to produce config.h.
 
5657
 
 
5658
# Create a delimiter string that does not exist in confdefs.h, to ease
 
5659
# handling of long lines.
 
5660
ac_delim='%!_!# '
 
5661
for ac_last_try in false false :; do
 
5662
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
5663
  if test -z "$ac_t"; then
 
5664
    break
 
5665
  elif $ac_last_try; then
 
5666
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
5667
  else
 
5668
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
5669
  fi
 
5670
done
 
5671
 
 
5672
# For the awk script, D is an array of macro values keyed by name,
 
5673
# likewise P contains macro parameters if any.  Preserve backslash
 
5674
# newline sequences.
 
5675
 
 
5676
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
5677
sed -n '
 
5678
s/.\{148\}/&'"$ac_delim"'/g
 
5679
t rset
 
5680
:rset
 
5681
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
5682
t def
 
5683
d
 
5684
:def
 
5685
s/\\$//
 
5686
t bsnl
 
5687
s/["\\]/\\&/g
 
5688
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
5689
D["\1"]=" \3"/p
 
5690
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
5691
d
 
5692
:bsnl
 
5693
s/["\\]/\\&/g
 
5694
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
5695
D["\1"]=" \3\\\\\\n"\\/p
 
5696
t cont
 
5697
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
5698
t cont
 
5699
d
 
5700
:cont
 
5701
n
 
5702
s/.\{148\}/&'"$ac_delim"'/g
 
5703
t clear
 
5704
:clear
 
5705
s/\\$//
 
5706
t bsnlc
 
5707
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
5708
d
 
5709
:bsnlc
 
5710
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
5711
b cont
 
5712
' <confdefs.h | sed '
 
5713
s/'"$ac_delim"'/"\\\
 
5714
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
5715
 
 
5716
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5717
  for (key in D) D_is_set[key] = 1
 
5718
  FS = ""
 
5719
}
 
5720
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
5721
  line = \$ 0
 
5722
  split(line, arg, " ")
 
5723
  if (arg[1] == "#") {
 
5724
    defundef = arg[2]
 
5725
    mac1 = arg[3]
 
5726
  } else {
 
5727
    defundef = substr(arg[1], 2)
 
5728
    mac1 = arg[2]
 
5729
  }
 
5730
  split(mac1, mac2, "(") #)
 
5731
  macro = mac2[1]
 
5732
  prefix = substr(line, 1, index(line, defundef) - 1)
 
5733
  if (D_is_set[macro]) {
 
5734
    # Preserve the white space surrounding the "#".
 
5735
    print prefix "define", macro P[macro] D[macro]
 
5736
    next
 
5737
  } else {
 
5738
    # Replace #undef with comments.  This is necessary, for example,
 
5739
    # in the case of _POSIX_SOURCE, which is predefined and required
 
5740
    # on some systems where configure will not decide to define it.
 
5741
    if (defundef == "undef") {
 
5742
      print "/*", prefix defundef, macro, "*/"
 
5743
      next
 
5744
    }
 
5745
  }
 
5746
}
 
5747
{ print }
 
5748
_ACAWK
 
5749
_ACEOF
 
5750
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5751
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
5752
fi # test -n "$CONFIG_HEADERS"
 
5753
 
 
5754
 
 
5755
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
5756
shift
 
5757
for ac_tag
5815
5758
do
5816
5759
  case $ac_tag in
5817
5760
  :[FHLC]) ac_mode=$ac_tag; continue;;
5818
5761
  esac
5819
5762
  case $ac_mode$ac_tag in
5820
5763
  :[FHL]*:*);;
5821
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5822
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5823
 
   { (exit 1); exit 1; }; };;
 
5764
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5824
5765
  :[FH]-) ac_tag=-:-;;
5825
5766
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5826
5767
  esac
5848
5789
           [\\/$]*) false;;
5849
5790
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5850
5791
           esac ||
5851
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5852
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5853
 
   { (exit 1); exit 1; }; };;
 
5792
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5854
5793
      esac
5855
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
5794
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
5795
      as_fn_append ac_file_inputs " '$ac_f'"
5856
5796
    done
5857
5797
 
5858
5798
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5859
5799
    # use $as_me), people would be surprised to read:
5860
5800
    #    /* config.h.  Generated by config.status.  */
5861
 
    configure_input="Generated from "`IFS=:
5862
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
5801
    configure_input='Generated from '`
 
5802
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
5803
        `' by configure.'
5863
5804
    if test x"$ac_file" != x-; then
5864
5805
      configure_input="$ac_file.  $configure_input"
5865
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5866
 
echo "$as_me: creating $ac_file" >&6;}
 
5806
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
5807
$as_echo "$as_me: creating $ac_file" >&6;}
5867
5808
    fi
 
5809
    # Neutralize special characters interpreted by sed in replacement strings.
 
5810
    case $configure_input in #(
 
5811
    *\&* | *\|* | *\\* )
 
5812
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
5813
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
5814
    *) ac_sed_conf_input=$configure_input;;
 
5815
    esac
5868
5816
 
5869
5817
    case $ac_tag in
5870
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
5818
    *:-:* | *:-) cat >"$tmp/stdin" \
 
5819
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5871
5820
    esac
5872
5821
    ;;
5873
5822
  esac
5877
5826
         X"$ac_file" : 'X\(//\)[^/]' \| \
5878
5827
         X"$ac_file" : 'X\(//\)$' \| \
5879
5828
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5880
 
echo X"$ac_file" |
5881
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5882
 
            s//\1/
5883
 
            q
5884
 
          }
5885
 
          /^X\(\/\/\)[^/].*/{
5886
 
            s//\1/
5887
 
            q
5888
 
          }
5889
 
          /^X\(\/\/\)$/{
5890
 
            s//\1/
5891
 
            q
5892
 
          }
5893
 
          /^X\(\/\).*/{
5894
 
            s//\1/
5895
 
            q
5896
 
          }
5897
 
          s/.*/./; q'`
5898
 
  { as_dir="$ac_dir"
5899
 
  case $as_dir in #(
5900
 
  -*) as_dir=./$as_dir;;
5901
 
  esac
5902
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5903
 
    as_dirs=
5904
 
    while :; do
5905
 
      case $as_dir in #(
5906
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5907
 
      *) as_qdir=$as_dir;;
5908
 
      esac
5909
 
      as_dirs="'$as_qdir' $as_dirs"
5910
 
      as_dir=`$as_dirname -- "$as_dir" ||
5911
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5912
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5913
 
         X"$as_dir" : 'X\(//\)$' \| \
5914
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5915
 
echo X"$as_dir" |
5916
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5917
 
            s//\1/
5918
 
            q
5919
 
          }
5920
 
          /^X\(\/\/\)[^/].*/{
5921
 
            s//\1/
5922
 
            q
5923
 
          }
5924
 
          /^X\(\/\/\)$/{
5925
 
            s//\1/
5926
 
            q
5927
 
          }
5928
 
          /^X\(\/\).*/{
5929
 
            s//\1/
5930
 
            q
5931
 
          }
5932
 
          s/.*/./; q'`
5933
 
      test -d "$as_dir" && break
5934
 
    done
5935
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5936
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5937
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5938
 
   { (exit 1); exit 1; }; }; }
 
5829
$as_echo X"$ac_file" |
 
5830
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5831
            s//\1/
 
5832
            q
 
5833
          }
 
5834
          /^X\(\/\/\)[^/].*/{
 
5835
            s//\1/
 
5836
            q
 
5837
          }
 
5838
          /^X\(\/\/\)$/{
 
5839
            s//\1/
 
5840
            q
 
5841
          }
 
5842
          /^X\(\/\).*/{
 
5843
            s//\1/
 
5844
            q
 
5845
          }
 
5846
          s/.*/./; q'`
 
5847
  as_dir="$ac_dir"; as_fn_mkdir_p
5939
5848
  ac_builddir=.
5940
5849
 
5941
5850
case "$ac_dir" in
5942
5851
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5943
5852
*)
5944
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
5853
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5945
5854
  # A ".." for each directory in $ac_dir_suffix.
5946
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
5855
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5947
5856
  case $ac_top_builddir_sub in
5948
5857
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5949
5858
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5988
5897
  esac
5989
5898
_ACEOF
5990
5899
 
5991
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5900
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5992
5901
# If the template does not know about datarootdir, expand it.
5993
5902
# FIXME: This hack should be removed a few years after 2.60.
5994
5903
ac_datarootdir_hack=; ac_datarootdir_seen=
5995
 
 
5996
 
case `sed -n '/datarootdir/ {
 
5904
ac_sed_dataroot='
 
5905
/datarootdir/ {
5997
5906
  p
5998
5907
  q
5999
5908
}
6001
5910
/@docdir@/p
6002
5911
/@infodir@/p
6003
5912
/@localedir@/p
6004
 
/@mandir@/p
6005
 
' $ac_file_inputs` in
 
5913
/@mandir@/p'
 
5914
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6006
5915
*datarootdir*) ac_datarootdir_seen=yes;;
6007
5916
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6008
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6009
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
5917
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5918
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6010
5919
_ACEOF
6011
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5920
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6012
5921
  ac_datarootdir_hack='
6013
5922
  s&@datadir@&$datadir&g
6014
5923
  s&@docdir@&$docdir&g
6015
5924
  s&@infodir@&$infodir&g
6016
5925
  s&@localedir@&$localedir&g
6017
5926
  s&@mandir@&$mandir&g
6018
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5927
  s&\\\${datarootdir}&$datarootdir&g' ;;
6019
5928
esac
6020
5929
_ACEOF
6021
5930
 
6022
5931
# Neutralize VPATH when `$srcdir' = `.'.
6023
5932
# Shell code in configure.ac might set extrasub.
6024
5933
# FIXME: do we really want to maintain this feature?
6025
 
cat >>$CONFIG_STATUS <<_ACEOF
6026
 
  sed "$ac_vpsub
 
5934
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5935
ac_sed_extra="$ac_vpsub
6027
5936
$extrasub
6028
5937
_ACEOF
6029
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5938
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6030
5939
:t
6031
5940
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6032
 
s&@configure_input@&$configure_input&;t t
 
5941
s|@configure_input@|$ac_sed_conf_input|;t t
6033
5942
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5943
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6034
5944
s&@srcdir@&$ac_srcdir&;t t
6035
5945
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6036
5946
s&@top_srcdir@&$ac_top_srcdir&;t t
6041
5951
s&@INSTALL@&$ac_INSTALL&;t t
6042
5952
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6043
5953
$ac_datarootdir_hack
6044
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
5954
"
 
5955
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
5956
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6045
5957
 
6046
5958
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6047
5959
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6048
5960
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6049
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5961
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6050
5962
which seems to be undefined.  Please make sure it is defined." >&5
6051
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5963
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6052
5964
which seems to be undefined.  Please make sure it is defined." >&2;}
6053
5965
 
6054
5966
  rm -f "$tmp/stdin"
6055
5967
  case $ac_file in
6056
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
6057
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6058
 
  esac
 
5968
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
5969
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
5970
  esac \
 
5971
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6059
5972
 ;;
6060
5973
  :H)
6061
5974
  #
6062
5975
  # CONFIG_HEADER
6063
5976
  #
6064
 
_ACEOF
6065
 
 
6066
 
# Transform confdefs.h into a sed script `conftest.defines', that
6067
 
# substitutes the proper values into config.h.in to produce config.h.
6068
 
rm -f conftest.defines conftest.tail
6069
 
# First, append a space to every undef/define line, to ease matching.
6070
 
echo 's/$/ /' >conftest.defines
6071
 
# Then, protect against being on the right side of a sed subst, or in
6072
 
# an unquoted here document, in config.status.  If some macros were
6073
 
# called several times there might be several #defines for the same
6074
 
# symbol, which is useless.  But do not sort them, since the last
6075
 
# AC_DEFINE must be honored.
6076
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6077
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6078
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6079
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
6080
 
# just an empty string.
6081
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
6082
 
ac_dB='\\)[      (].*,\\1define\\2'
6083
 
ac_dC=' '
6084
 
ac_dD=' ,'
6085
 
 
6086
 
uniq confdefs.h |
6087
 
  sed -n '
6088
 
        t rset
6089
 
        :rset
6090
 
        s/^[     ]*#[    ]*define[       ][      ]*//
6091
 
        t ok
6092
 
        d
6093
 
        :ok
6094
 
        s/[\\&,]/\\&/g
6095
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6096
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6097
 
  ' >>conftest.defines
6098
 
 
6099
 
# Remove the space that was appended to ease matching.
6100
 
# Then replace #undef with comments.  This is necessary, for
6101
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
6102
 
# on some systems where configure will not decide to define it.
6103
 
# (The regexp can be short, since the line contains either #define or #undef.)
6104
 
echo 's/ $//
6105
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
6106
 
 
6107
 
# Break up conftest.defines:
6108
 
ac_max_sed_lines=50
6109
 
 
6110
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6111
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6112
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6113
 
# et cetera.
6114
 
ac_in='$ac_file_inputs'
6115
 
ac_out='"$tmp/out1"'
6116
 
ac_nxt='"$tmp/out2"'
6117
 
 
6118
 
while :
6119
 
do
6120
 
  # Write a here document:
6121
 
    cat >>$CONFIG_STATUS <<_ACEOF
6122
 
    # First, check the format of the line:
6123
 
    cat >"\$tmp/defines.sed" <<\\CEOF
6124
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6125
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6126
 
b
6127
 
:def
6128
 
_ACEOF
6129
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6130
 
  echo 'CEOF
6131
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6132
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6133
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6134
 
  grep . conftest.tail >/dev/null || break
6135
 
  rm -f conftest.defines
6136
 
  mv conftest.tail conftest.defines
6137
 
done
6138
 
rm -f conftest.defines conftest.tail
6139
 
 
6140
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6141
 
cat >>$CONFIG_STATUS <<\_ACEOF
6142
5977
  if test x"$ac_file" != x-; then
6143
 
    echo "/* $configure_input  */" >"$tmp/config.h"
6144
 
    cat "$ac_result" >>"$tmp/config.h"
6145
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6146
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6147
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
5978
    {
 
5979
      $as_echo "/* $configure_input  */" \
 
5980
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
5981
    } >"$tmp/config.h" \
 
5982
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
5983
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
5984
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
5985
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6148
5986
    else
6149
 
      rm -f $ac_file
6150
 
      mv "$tmp/config.h" $ac_file
 
5987
      rm -f "$ac_file"
 
5988
      mv "$tmp/config.h" "$ac_file" \
 
5989
        || as_fn_error "could not create $ac_file" "$LINENO" 5
6151
5990
    fi
6152
5991
  else
6153
 
    echo "/* $configure_input  */"
6154
 
    cat "$ac_result"
 
5992
    $as_echo "/* $configure_input  */" \
 
5993
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
5994
      || as_fn_error "could not create -" "$LINENO" 5
6155
5995
  fi
6156
 
  rm -f "$tmp/out12"
6157
 
# Compute $ac_file's index in $config_headers.
6158
 
_am_arg=$ac_file
 
5996
# Compute "$ac_file"'s index in $config_headers.
 
5997
_am_arg="$ac_file"
6159
5998
_am_stamp_count=1
6160
5999
for _am_header in $config_headers :; do
6161
6000
  case $_am_header in
6170
6009
         X"$_am_arg" : 'X\(//\)[^/]' \| \
6171
6010
         X"$_am_arg" : 'X\(//\)$' \| \
6172
6011
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6173
 
echo X"$_am_arg" |
 
6012
$as_echo X"$_am_arg" |
6174
6013
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6175
6014
            s//\1/
6176
6015
            q
6190
6029
          s/.*/./; q'`/stamp-h$_am_stamp_count
6191
6030
 ;;
6192
6031
  
6193
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6194
 
echo "$as_me: executing $ac_file commands" >&6;}
 
6032
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
6033
$as_echo "$as_me: executing $ac_file commands" >&6;}
6195
6034
 ;;
6196
6035
  esac
6197
6036
 
6198
6037
 
6199
6038
  case $ac_file$ac_mode in
6200
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6201
 
  # Strip MF so we end up with the name of the file.
6202
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6203
 
  # Check whether this is an Automake generated Makefile or not.
6204
 
  # We used to match only the files named `Makefile.in', but
6205
 
  # some people rename them; so instead we look at the file content.
6206
 
  # Grep'ing the first line is not enough: some people post-process
6207
 
  # each Makefile.in and add a new line on top of each file to say so.
6208
 
  # Grep'ing the whole file is not good either: AIX grep has a line
6209
 
  # limit of 2048, but all sed's we know have understand at least 4000.
6210
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6211
 
    dirpart=`$as_dirname -- "$mf" ||
 
6039
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
6040
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
6041
  # are listed without --file.  Let's play safe and only enable the eval
 
6042
  # if we detect the quoting.
 
6043
  case $CONFIG_FILES in
 
6044
  *\'*) eval set x "$CONFIG_FILES" ;;
 
6045
  *)   set x $CONFIG_FILES ;;
 
6046
  esac
 
6047
  shift
 
6048
  for mf
 
6049
  do
 
6050
    # Strip MF so we end up with the name of the file.
 
6051
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6052
    # Check whether this is an Automake generated Makefile or not.
 
6053
    # We used to match only the files named `Makefile.in', but
 
6054
    # some people rename them; so instead we look at the file content.
 
6055
    # Grep'ing the first line is not enough: some people post-process
 
6056
    # each Makefile.in and add a new line on top of each file to say so.
 
6057
    # Grep'ing the whole file is not good either: AIX grep has a line
 
6058
    # limit of 2048, but all sed's we know have understand at least 4000.
 
6059
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
6060
      dirpart=`$as_dirname -- "$mf" ||
6212
6061
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6213
6062
         X"$mf" : 'X\(//\)[^/]' \| \
6214
6063
         X"$mf" : 'X\(//\)$' \| \
6215
6064
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6216
 
echo X"$mf" |
 
6065
$as_echo X"$mf" |
6217
6066
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6218
6067
            s//\1/
6219
6068
            q
6231
6080
            q
6232
6081
          }
6233
6082
          s/.*/./; q'`
6234
 
  else
6235
 
    continue
6236
 
  fi
6237
 
  # Extract the definition of DEPDIR, am__include, and am__quote
6238
 
  # from the Makefile without running `make'.
6239
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6240
 
  test -z "$DEPDIR" && continue
6241
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6242
 
  test -z "am__include" && continue
6243
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6244
 
  # When using ansi2knr, U may be empty or an underscore; expand it
6245
 
  U=`sed -n 's/^U = //p' < "$mf"`
6246
 
  # Find all dependency output files, they are included files with
6247
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6248
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
6249
 
  # expansion.
6250
 
  for file in `sed -n "
6251
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6252
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6253
 
    # Make sure the directory exists.
6254
 
    test -f "$dirpart/$file" && continue
6255
 
    fdir=`$as_dirname -- "$file" ||
 
6083
    else
 
6084
      continue
 
6085
    fi
 
6086
    # Extract the definition of DEPDIR, am__include, and am__quote
 
6087
    # from the Makefile without running `make'.
 
6088
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6089
    test -z "$DEPDIR" && continue
 
6090
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6091
    test -z "am__include" && continue
 
6092
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6093
    # When using ansi2knr, U may be empty or an underscore; expand it
 
6094
    U=`sed -n 's/^U = //p' < "$mf"`
 
6095
    # Find all dependency output files, they are included files with
 
6096
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6097
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
6098
    # expansion.
 
6099
    for file in `sed -n "
 
6100
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6101
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6102
      # Make sure the directory exists.
 
6103
      test -f "$dirpart/$file" && continue
 
6104
      fdir=`$as_dirname -- "$file" ||
6256
6105
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6257
6106
         X"$file" : 'X\(//\)[^/]' \| \
6258
6107
         X"$file" : 'X\(//\)$' \| \
6259
6108
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6260
 
echo X"$file" |
6261
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6262
 
            s//\1/
6263
 
            q
6264
 
          }
6265
 
          /^X\(\/\/\)[^/].*/{
6266
 
            s//\1/
6267
 
            q
6268
 
          }
6269
 
          /^X\(\/\/\)$/{
6270
 
            s//\1/
6271
 
            q
6272
 
          }
6273
 
          /^X\(\/\).*/{
6274
 
            s//\1/
6275
 
            q
6276
 
          }
6277
 
          s/.*/./; q'`
6278
 
    { as_dir=$dirpart/$fdir
6279
 
  case $as_dir in #(
6280
 
  -*) as_dir=./$as_dir;;
6281
 
  esac
6282
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6283
 
    as_dirs=
6284
 
    while :; do
6285
 
      case $as_dir in #(
6286
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6287
 
      *) as_qdir=$as_dir;;
6288
 
      esac
6289
 
      as_dirs="'$as_qdir' $as_dirs"
6290
 
      as_dir=`$as_dirname -- "$as_dir" ||
6291
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6292
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6293
 
         X"$as_dir" : 'X\(//\)$' \| \
6294
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6295
 
echo X"$as_dir" |
6296
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6297
 
            s//\1/
6298
 
            q
6299
 
          }
6300
 
          /^X\(\/\/\)[^/].*/{
6301
 
            s//\1/
6302
 
            q
6303
 
          }
6304
 
          /^X\(\/\/\)$/{
6305
 
            s//\1/
6306
 
            q
6307
 
          }
6308
 
          /^X\(\/\).*/{
6309
 
            s//\1/
6310
 
            q
6311
 
          }
6312
 
          s/.*/./; q'`
6313
 
      test -d "$as_dir" && break
 
6109
$as_echo X"$file" |
 
6110
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6111
            s//\1/
 
6112
            q
 
6113
          }
 
6114
          /^X\(\/\/\)[^/].*/{
 
6115
            s//\1/
 
6116
            q
 
6117
          }
 
6118
          /^X\(\/\/\)$/{
 
6119
            s//\1/
 
6120
            q
 
6121
          }
 
6122
          /^X\(\/\).*/{
 
6123
            s//\1/
 
6124
            q
 
6125
          }
 
6126
          s/.*/./; q'`
 
6127
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
6128
      # echo "creating $dirpart/$file"
 
6129
      echo '# dummy' > "$dirpart/$file"
6314
6130
    done
6315
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6316
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6317
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6318
 
   { (exit 1); exit 1; }; }; }
6319
 
    # echo "creating $dirpart/$file"
6320
 
    echo '# dummy' > "$dirpart/$file"
6321
6131
  done
6322
 
done
 
6132
}
6323
6133
 ;;
6324
6134
 
6325
6135
  esac
6326
6136
done # for ac_tag
6327
6137
 
6328
6138
 
6329
 
{ (exit 0); exit 0; }
 
6139
as_fn_exit 0
6330
6140
_ACEOF
6331
 
chmod +x $CONFIG_STATUS
6332
6141
ac_clean_files=$ac_clean_files_save
6333
6142
 
 
6143
test $ac_write_fail = 0 ||
 
6144
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
6145
 
6334
6146
 
6335
6147
# configure is writing to config.log, and then calls config.status.
6336
6148
# config.status does its own redirection, appending to config.log.
6350
6162
  exec 5>>config.log
6351
6163
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6352
6164
  # would make configure fail if this is the last instruction.
6353
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6165
  $ac_cs_success || as_fn_exit $?
 
6166
fi
 
6167
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
6168
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6169
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6354
6170
fi
6355
6171