~ubuntu-branches/ubuntu/trusty/sysprof/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2008-01-25 19:29:19 UTC
  • mfrom: (3.1.11 hardy)
  • Revision ID: james.westby@ubuntu.com-20080125192919-2w4u1xmz6x0jnwd0
Tags: 1.0.9-2
* Link statically with libbfd (thanks Michel Dänzer), closes: #439272.
* Better help message when module is not found (thanks Daniel Hahler),
  closes: #462321.

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.59 for sysprof 1.0.7.
 
3
# Generated by GNU Autoconf 2.61 for sysprof 1.0.9.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
551
 
 
552
exec 7<&0 </dev/null 6>&1
243
553
 
244
554
# Name of the host.
245
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
556
# so uname gets run too.
247
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
558
 
249
 
exec 6>&1
250
 
 
251
559
#
252
560
# Initializations.
253
561
#
254
562
ac_default_prefix=/usr/local
 
563
ac_clean_files=
255
564
ac_config_libobj_dir=.
 
565
LIBOBJS=
256
566
cross_compiling=no
257
567
subdirs=
258
568
MFLAGS=
259
569
MAKEFLAGS=
260
570
SHELL=${CONFIG_SHELL-/bin/sh}
261
571
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
 
 
267
572
# Identity of this package.
268
573
PACKAGE_NAME='sysprof'
269
574
PACKAGE_TARNAME='sysprof'
270
 
PACKAGE_VERSION='1.0.7'
271
 
PACKAGE_STRING='sysprof 1.0.7'
 
575
PACKAGE_VERSION='1.0.9'
 
576
PACKAGE_STRING='sysprof 1.0.9'
272
577
PACKAGE_BUGREPORT=''
273
578
 
274
579
ac_unique_file="sysprof.glade"
275
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG DEP_CFLAGS DEP_LIBS MODULE_SUBDIR LIBOBJS LTLIBOBJS'
 
580
ac_subst_vars='SHELL
 
581
PATH_SEPARATOR
 
582
PACKAGE_NAME
 
583
PACKAGE_TARNAME
 
584
PACKAGE_VERSION
 
585
PACKAGE_STRING
 
586
PACKAGE_BUGREPORT
 
587
exec_prefix
 
588
prefix
 
589
program_transform_name
 
590
bindir
 
591
sbindir
 
592
libexecdir
 
593
datarootdir
 
594
datadir
 
595
sysconfdir
 
596
sharedstatedir
 
597
localstatedir
 
598
includedir
 
599
oldincludedir
 
600
docdir
 
601
infodir
 
602
htmldir
 
603
dvidir
 
604
pdfdir
 
605
psdir
 
606
libdir
 
607
localedir
 
608
mandir
 
609
DEFS
 
610
ECHO_C
 
611
ECHO_N
 
612
ECHO_T
 
613
LIBS
 
614
build_alias
 
615
host_alias
 
616
target_alias
 
617
INSTALL_PROGRAM
 
618
INSTALL_SCRIPT
 
619
INSTALL_DATA
 
620
CYGPATH_W
 
621
PACKAGE
 
622
VERSION
 
623
ACLOCAL
 
624
AUTOCONF
 
625
AUTOMAKE
 
626
AUTOHEADER
 
627
MAKEINFO
 
628
AMTAR
 
629
install_sh
 
630
STRIP
 
631
INSTALL_STRIP_PROGRAM
 
632
AWK
 
633
SET_MAKE
 
634
am__leading_dot
 
635
CC
 
636
CFLAGS
 
637
LDFLAGS
 
638
CPPFLAGS
 
639
ac_ct_CC
 
640
EXEEXT
 
641
OBJEXT
 
642
DEPDIR
 
643
am__include
 
644
am__quote
 
645
AMDEP_TRUE
 
646
AMDEP_FALSE
 
647
AMDEPBACKSLASH
 
648
CCDEPMODE
 
649
am__fastdepCC_TRUE
 
650
am__fastdepCC_FALSE
 
651
PKG_CONFIG
 
652
DEP_CFLAGS
 
653
DEP_LIBS
 
654
MODULE_SUBDIR
 
655
LIBOBJS
 
656
LTLIBOBJS'
276
657
ac_subst_files=''
 
658
      ac_precious_vars='build_alias
 
659
host_alias
 
660
target_alias
 
661
CC
 
662
CFLAGS
 
663
LDFLAGS
 
664
LIBS
 
665
CPPFLAGS
 
666
PKG_CONFIG
 
667
DEP_CFLAGS
 
668
DEP_LIBS'
 
669
 
277
670
 
278
671
# Initialize some variables set by options.
279
672
ac_init_help=
300
693
# and all the variables that are supposed to be based on exec_prefix
301
694
# by default will actually change.
302
695
# Use braces instead of parens because sh, perl, etc. also accept them.
 
696
# (The list follows the same order as the GNU Coding Standards.)
303
697
bindir='${exec_prefix}/bin'
304
698
sbindir='${exec_prefix}/sbin'
305
699
libexecdir='${exec_prefix}/libexec'
306
 
datadir='${prefix}/share'
 
700
datarootdir='${prefix}/share'
 
701
datadir='${datarootdir}'
307
702
sysconfdir='${prefix}/etc'
308
703
sharedstatedir='${prefix}/com'
309
704
localstatedir='${prefix}/var'
310
 
libdir='${exec_prefix}/lib'
311
705
includedir='${prefix}/include'
312
706
oldincludedir='/usr/include'
313
 
infodir='${prefix}/info'
314
 
mandir='${prefix}/man'
 
707
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
708
infodir='${datarootdir}/info'
 
709
htmldir='${docdir}'
 
710
dvidir='${docdir}'
 
711
pdfdir='${docdir}'
 
712
psdir='${docdir}'
 
713
libdir='${exec_prefix}/lib'
 
714
localedir='${datarootdir}/locale'
 
715
mandir='${datarootdir}/man'
315
716
 
316
717
ac_prev=
 
718
ac_dashdash=
317
719
for ac_option
318
720
do
319
721
  # If the previous option needs an argument, assign it.
320
722
  if test -n "$ac_prev"; then
321
 
    eval "$ac_prev=\$ac_option"
 
723
    eval $ac_prev=\$ac_option
322
724
    ac_prev=
323
725
    continue
324
726
  fi
325
727
 
326
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
728
  case $ac_option in
 
729
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
730
  *)    ac_optarg=yes ;;
 
731
  esac
327
732
 
328
733
  # Accept the important Cygnus configure options, so we can diagnose typos.
329
734
 
330
 
  case $ac_option in
 
735
  case $ac_dashdash$ac_option in
 
736
  --)
 
737
    ac_dashdash=yes ;;
331
738
 
332
739
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333
740
    ac_prev=bindir ;;
349
756
  --config-cache | -C)
350
757
    cache_file=config.cache ;;
351
758
 
352
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
759
  -datadir | --datadir | --datadi | --datad)
353
760
    ac_prev=datadir ;;
354
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355
 
  | --da=*)
 
761
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
356
762
    datadir=$ac_optarg ;;
357
763
 
 
764
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
765
  | --dataroo | --dataro | --datar)
 
766
    ac_prev=datarootdir ;;
 
767
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
768
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
769
    datarootdir=$ac_optarg ;;
 
770
 
358
771
  -disable-* | --disable-*)
359
772
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360
773
    # Reject names that are not valid shell variable names.
361
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
774
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
362
775
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363
776
   { (exit 1); exit 1; }; }
364
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365
 
    eval "enable_$ac_feature=no" ;;
 
777
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
778
    eval enable_$ac_feature=no ;;
 
779
 
 
780
  -docdir | --docdir | --docdi | --doc | --do)
 
781
    ac_prev=docdir ;;
 
782
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
783
    docdir=$ac_optarg ;;
 
784
 
 
785
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
786
    ac_prev=dvidir ;;
 
787
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
788
    dvidir=$ac_optarg ;;
366
789
 
367
790
  -enable-* | --enable-*)
368
791
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369
792
    # Reject names that are not valid shell variable names.
370
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
793
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
371
794
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372
795
   { (exit 1); exit 1; }; }
373
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374
 
    case $ac_option in
375
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376
 
      *) ac_optarg=yes ;;
377
 
    esac
378
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
796
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
797
    eval enable_$ac_feature=\$ac_optarg ;;
379
798
 
380
799
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381
800
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
402
821
  -host=* | --host=* | --hos=* | --ho=*)
403
822
    host_alias=$ac_optarg ;;
404
823
 
 
824
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
825
    ac_prev=htmldir ;;
 
826
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
827
  | --ht=*)
 
828
    htmldir=$ac_optarg ;;
 
829
 
405
830
  -includedir | --includedir | --includedi | --included | --include \
406
831
  | --includ | --inclu | --incl | --inc)
407
832
    ac_prev=includedir ;;
426
851
  | --libexe=* | --libex=* | --libe=*)
427
852
    libexecdir=$ac_optarg ;;
428
853
 
 
854
  -localedir | --localedir | --localedi | --localed | --locale)
 
855
    ac_prev=localedir ;;
 
856
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
857
    localedir=$ac_optarg ;;
 
858
 
429
859
  -localstatedir | --localstatedir | --localstatedi | --localstated \
430
 
  | --localstate | --localstat | --localsta | --localst \
431
 
  | --locals | --local | --loca | --loc | --lo)
 
860
  | --localstate | --localstat | --localsta | --localst | --locals)
432
861
    ac_prev=localstatedir ;;
433
862
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
863
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
436
864
    localstatedir=$ac_optarg ;;
437
865
 
438
866
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
497
925
  | --progr-tra=* | --program-tr=* | --program-t=*)
498
926
    program_transform_name=$ac_optarg ;;
499
927
 
 
928
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
929
    ac_prev=pdfdir ;;
 
930
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
931
    pdfdir=$ac_optarg ;;
 
932
 
 
933
  -psdir | --psdir | --psdi | --psd | --ps)
 
934
    ac_prev=psdir ;;
 
935
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
936
    psdir=$ac_optarg ;;
 
937
 
500
938
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
939
  | -silent | --silent | --silen | --sile | --sil)
502
940
    silent=yes ;;
549
987
  -with-* | --with-*)
550
988
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551
989
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
990
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
991
      { echo "$as_me: error: invalid package name: $ac_package" >&2
554
992
   { (exit 1); exit 1; }; }
555
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
556
 
    case $ac_option in
557
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558
 
      *) ac_optarg=yes ;;
559
 
    esac
560
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
993
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
994
    eval with_$ac_package=\$ac_optarg ;;
561
995
 
562
996
  -without-* | --without-*)
563
997
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564
998
    # Reject names that are not valid shell variable names.
565
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
999
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
566
1000
      { echo "$as_me: error: invalid package name: $ac_package" >&2
567
1001
   { (exit 1); exit 1; }; }
568
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
569
 
    eval "with_$ac_package=no" ;;
 
1002
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1003
    eval with_$ac_package=no ;;
570
1004
 
571
1005
  --x)
572
1006
    # Obsolete; use --with-x.
597
1031
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598
1032
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599
1033
   { (exit 1); exit 1; }; }
600
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601
 
    eval "$ac_envvar='$ac_optarg'"
 
1034
    eval $ac_envvar=\$ac_optarg
602
1035
    export $ac_envvar ;;
603
1036
 
604
1037
  *)
618
1051
   { (exit 1); exit 1; }; }
619
1052
fi
620
1053
 
621
 
# Be sure to have absolute paths.
622
 
for ac_var in exec_prefix prefix
623
 
do
624
 
  eval ac_val=$`echo $ac_var`
625
 
  case $ac_val in
626
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628
 
   { (exit 1); exit 1; }; };;
629
 
  esac
630
 
done
631
 
 
632
 
# Be sure to have absolute paths.
633
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634
 
              localstatedir libdir includedir oldincludedir infodir mandir
635
 
do
636
 
  eval ac_val=$`echo $ac_var`
637
 
  case $ac_val in
638
 
    [\\/$]* | ?:[\\/]* ) ;;
639
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640
 
   { (exit 1); exit 1; }; };;
641
 
  esac
 
1054
# Be sure to have absolute directory names.
 
1055
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1056
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1057
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1058
                libdir localedir mandir
 
1059
do
 
1060
  eval ac_val=\$$ac_var
 
1061
  case $ac_val in
 
1062
    [\\/$]* | ?:[\\/]* )  continue;;
 
1063
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1064
  esac
 
1065
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1066
   { (exit 1); exit 1; }; }
642
1067
done
643
1068
 
644
1069
# There might be people who depend on the old broken behavior: `$host'
665
1090
test "$silent" = yes && exec 6>/dev/null
666
1091
 
667
1092
 
 
1093
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1094
ac_ls_di=`ls -di .` &&
 
1095
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1096
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1097
   { (exit 1); exit 1; }; }
 
1098
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1099
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1100
   { (exit 1); exit 1; }; }
 
1101
 
 
1102
 
668
1103
# Find the source files, if location was not specified.
669
1104
if test -z "$srcdir"; then
670
1105
  ac_srcdir_defaulted=yes
671
 
  # Try the directory containing this script, then its parent.
672
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1106
  # Try the directory containing this script, then the parent directory.
 
1107
  ac_confdir=`$as_dirname -- "$0" ||
673
1108
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
1109
         X"$0" : 'X\(//\)[^/]' \| \
675
1110
         X"$0" : 'X\(//\)$' \| \
676
 
         X"$0" : 'X\(/\)' \| \
677
 
         .     : '\(.\)' 2>/dev/null ||
 
1111
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
678
1112
echo X"$0" |
679
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
 
          /^X\(\/\/\)$/{ s//\1/; q; }
682
 
          /^X\(\/\).*/{ s//\1/; q; }
683
 
          s/.*/./; q'`
 
1113
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1114
            s//\1/
 
1115
            q
 
1116
          }
 
1117
          /^X\(\/\/\)[^/].*/{
 
1118
            s//\1/
 
1119
            q
 
1120
          }
 
1121
          /^X\(\/\/\)$/{
 
1122
            s//\1/
 
1123
            q
 
1124
          }
 
1125
          /^X\(\/\).*/{
 
1126
            s//\1/
 
1127
            q
 
1128
          }
 
1129
          s/.*/./; q'`
684
1130
  srcdir=$ac_confdir
685
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1131
  if test ! -r "$srcdir/$ac_unique_file"; then
686
1132
    srcdir=..
687
1133
  fi
688
1134
else
689
1135
  ac_srcdir_defaulted=no
690
1136
fi
691
 
if test ! -r $srcdir/$ac_unique_file; then
692
 
  if test "$ac_srcdir_defaulted" = yes; then
693
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
 
   { (exit 1); exit 1; }; }
695
 
  else
696
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
 
   { (exit 1); exit 1; }; }
698
 
  fi
699
 
fi
700
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
 
   { (exit 1); exit 1; }; }
703
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
 
ac_env_build_alias_set=${build_alias+set}
705
 
ac_env_build_alias_value=$build_alias
706
 
ac_cv_env_build_alias_set=${build_alias+set}
707
 
ac_cv_env_build_alias_value=$build_alias
708
 
ac_env_host_alias_set=${host_alias+set}
709
 
ac_env_host_alias_value=$host_alias
710
 
ac_cv_env_host_alias_set=${host_alias+set}
711
 
ac_cv_env_host_alias_value=$host_alias
712
 
ac_env_target_alias_set=${target_alias+set}
713
 
ac_env_target_alias_value=$target_alias
714
 
ac_cv_env_target_alias_set=${target_alias+set}
715
 
ac_cv_env_target_alias_value=$target_alias
716
 
ac_env_CC_set=${CC+set}
717
 
ac_env_CC_value=$CC
718
 
ac_cv_env_CC_set=${CC+set}
719
 
ac_cv_env_CC_value=$CC
720
 
ac_env_CFLAGS_set=${CFLAGS+set}
721
 
ac_env_CFLAGS_value=$CFLAGS
722
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
723
 
ac_cv_env_CFLAGS_value=$CFLAGS
724
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
725
 
ac_env_LDFLAGS_value=$LDFLAGS
726
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
728
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729
 
ac_env_CPPFLAGS_value=$CPPFLAGS
730
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
733
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
734
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
735
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
736
 
ac_env_DEP_CFLAGS_set=${DEP_CFLAGS+set}
737
 
ac_env_DEP_CFLAGS_value=$DEP_CFLAGS
738
 
ac_cv_env_DEP_CFLAGS_set=${DEP_CFLAGS+set}
739
 
ac_cv_env_DEP_CFLAGS_value=$DEP_CFLAGS
740
 
ac_env_DEP_LIBS_set=${DEP_LIBS+set}
741
 
ac_env_DEP_LIBS_value=$DEP_LIBS
742
 
ac_cv_env_DEP_LIBS_set=${DEP_LIBS+set}
743
 
ac_cv_env_DEP_LIBS_value=$DEP_LIBS
 
1137
if test ! -r "$srcdir/$ac_unique_file"; then
 
1138
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1139
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1140
   { (exit 1); exit 1; }; }
 
1141
fi
 
1142
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1143
ac_abs_confdir=`(
 
1144
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1145
   { (exit 1); exit 1; }; }
 
1146
        pwd)`
 
1147
# When building in place, set srcdir=.
 
1148
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1149
  srcdir=.
 
1150
fi
 
1151
# Remove unnecessary trailing slashes from srcdir.
 
1152
# Double slashes in file names in object file debugging info
 
1153
# mess up M-x gdb in Emacs.
 
1154
case $srcdir in
 
1155
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1156
esac
 
1157
for ac_var in $ac_precious_vars; do
 
1158
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1159
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1160
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1161
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1162
done
744
1163
 
745
1164
#
746
1165
# Report the --help message.
749
1168
  # Omit some internal or obsolete options to make the list less imposing.
750
1169
  # This message is too long to be a string in the A/UX 3.1 sh.
751
1170
  cat <<_ACEOF
752
 
\`configure' configures sysprof 1.0.7 to adapt to many kinds of systems.
 
1171
\`configure' configures sysprof 1.0.9 to adapt to many kinds of systems.
753
1172
 
754
1173
Usage: $0 [OPTION]... [VAR=VALUE]...
755
1174
 
769
1188
  -n, --no-create         do not create output files
770
1189
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
771
1190
 
772
 
_ACEOF
773
 
 
774
 
  cat <<_ACEOF
775
1191
Installation directories:
776
1192
  --prefix=PREFIX         install architecture-independent files in PREFIX
777
1193
                          [$ac_default_prefix]
789
1205
  --bindir=DIR           user executables [EPREFIX/bin]
790
1206
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
791
1207
  --libexecdir=DIR       program executables [EPREFIX/libexec]
792
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
793
1208
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
794
1209
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
795
1210
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
796
1211
  --libdir=DIR           object code libraries [EPREFIX/lib]
797
1212
  --includedir=DIR       C header files [PREFIX/include]
798
1213
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
799
 
  --infodir=DIR          info documentation [PREFIX/info]
800
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1214
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1215
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1216
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1217
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1218
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1219
  --docdir=DIR           documentation root [DATAROOTDIR/doc/sysprof]
 
1220
  --htmldir=DIR          html documentation [DOCDIR]
 
1221
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1222
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1223
  --psdir=DIR            ps documentation [DOCDIR]
801
1224
_ACEOF
802
1225
 
803
1226
  cat <<\_ACEOF
811
1234
 
812
1235
if test -n "$ac_init_help"; then
813
1236
  case $ac_init_help in
814
 
     short | recursive ) echo "Configuration of sysprof 1.0.7:";;
 
1237
     short | recursive ) echo "Configuration of sysprof 1.0.9:";;
815
1238
   esac
816
1239
  cat <<\_ACEOF
817
1240
 
832
1255
  CFLAGS      C compiler flags
833
1256
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
834
1257
              nonstandard directory <lib dir>
835
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
836
 
              headers in a nonstandard directory <include dir>
 
1258
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1259
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1260
              you have headers in a nonstandard directory <include dir>
837
1261
  PKG_CONFIG  path to pkg-config utility
838
1262
  DEP_CFLAGS  C compiler flags for DEP, overriding pkg-config
839
1263
  DEP_LIBS    linker flags for DEP, overriding pkg-config
842
1266
it to find libraries and programs with nonstandard names/locations.
843
1267
 
844
1268
_ACEOF
 
1269
ac_status=$?
845
1270
fi
846
1271
 
847
1272
if test "$ac_init_help" = "recursive"; then
848
1273
  # If there are subdirs, report their specific --help.
849
 
  ac_popdir=`pwd`
850
1274
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
851
 
    test -d $ac_dir || continue
 
1275
    test -d "$ac_dir" || continue
852
1276
    ac_builddir=.
853
1277
 
854
 
if test "$ac_dir" != .; then
 
1278
case "$ac_dir" in
 
1279
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1280
*)
855
1281
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
856
 
  # A "../" for each directory in $ac_dir_suffix.
857
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
858
 
else
859
 
  ac_dir_suffix= ac_top_builddir=
860
 
fi
 
1282
  # A ".." for each directory in $ac_dir_suffix.
 
1283
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1284
  case $ac_top_builddir_sub in
 
1285
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1286
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1287
  esac ;;
 
1288
esac
 
1289
ac_abs_top_builddir=$ac_pwd
 
1290
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1291
# for backward compatibility:
 
1292
ac_top_builddir=$ac_top_build_prefix
861
1293
 
862
1294
case $srcdir in
863
 
  .)  # No --srcdir option.  We are building in place.
 
1295
  .)  # We are building in place.
864
1296
    ac_srcdir=.
865
 
    if test -z "$ac_top_builddir"; then
866
 
       ac_top_srcdir=.
867
 
    else
868
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
869
 
    fi ;;
870
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1297
    ac_top_srcdir=$ac_top_builddir_sub
 
1298
    ac_abs_top_srcdir=$ac_pwd ;;
 
1299
  [\\/]* | ?:[\\/]* )  # Absolute name.
871
1300
    ac_srcdir=$srcdir$ac_dir_suffix;
872
 
    ac_top_srcdir=$srcdir ;;
873
 
  *) # Relative path.
874
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
875
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
876
 
esac
877
 
 
878
 
# Do not use `cd foo && pwd` to compute absolute paths, because
879
 
# the directories may not exist.
880
 
case `pwd` in
881
 
.) ac_abs_builddir="$ac_dir";;
882
 
*)
883
 
  case "$ac_dir" in
884
 
  .) ac_abs_builddir=`pwd`;;
885
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
886
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
887
 
  esac;;
888
 
esac
889
 
case $ac_abs_builddir in
890
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
891
 
*)
892
 
  case ${ac_top_builddir}. in
893
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
894
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
895
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
896
 
  esac;;
897
 
esac
898
 
case $ac_abs_builddir in
899
 
.) ac_abs_srcdir=$ac_srcdir;;
900
 
*)
901
 
  case $ac_srcdir in
902
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
903
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
904
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
905
 
  esac;;
906
 
esac
907
 
case $ac_abs_builddir in
908
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
909
 
*)
910
 
  case $ac_top_srcdir in
911
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
912
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
913
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
914
 
  esac;;
915
 
esac
916
 
 
917
 
    cd $ac_dir
918
 
    # Check for guested configure; otherwise get Cygnus style configure.
919
 
    if test -f $ac_srcdir/configure.gnu; then
920
 
      echo
921
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
922
 
    elif test -f $ac_srcdir/configure; then
923
 
      echo
924
 
      $SHELL $ac_srcdir/configure  --help=recursive
925
 
    elif test -f $ac_srcdir/configure.ac ||
926
 
           test -f $ac_srcdir/configure.in; then
927
 
      echo
928
 
      $ac_configure --help
 
1301
    ac_top_srcdir=$srcdir
 
1302
    ac_abs_top_srcdir=$srcdir ;;
 
1303
  *) # Relative name.
 
1304
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1305
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1306
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1307
esac
 
1308
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1309
 
 
1310
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1311
    # Check for guested configure.
 
1312
    if test -f "$ac_srcdir/configure.gnu"; then
 
1313
      echo &&
 
1314
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1315
    elif test -f "$ac_srcdir/configure"; then
 
1316
      echo &&
 
1317
      $SHELL "$ac_srcdir/configure" --help=recursive
929
1318
    else
930
1319
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
931
 
    fi
932
 
    cd $ac_popdir
 
1320
    fi || ac_status=$?
 
1321
    cd "$ac_pwd" || { ac_status=$?; break; }
933
1322
  done
934
1323
fi
935
1324
 
936
 
test -n "$ac_init_help" && exit 0
 
1325
test -n "$ac_init_help" && exit $ac_status
937
1326
if $ac_init_version; then
938
1327
  cat <<\_ACEOF
939
 
sysprof configure 1.0.7
940
 
generated by GNU Autoconf 2.59
 
1328
sysprof configure 1.0.9
 
1329
generated by GNU Autoconf 2.61
941
1330
 
942
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1331
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1332
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
943
1333
This configure script is free software; the Free Software Foundation
944
1334
gives unlimited permission to copy, distribute and modify it.
945
1335
_ACEOF
946
 
  exit 0
 
1336
  exit
947
1337
fi
948
 
exec 5>config.log
949
 
cat >&5 <<_ACEOF
 
1338
cat >config.log <<_ACEOF
950
1339
This file contains any messages produced by compilers while
951
1340
running configure, to aid debugging if configure makes a mistake.
952
1341
 
953
 
It was created by sysprof $as_me 1.0.7, which was
954
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1342
It was created by sysprof $as_me 1.0.9, which was
 
1343
generated by GNU Autoconf 2.61.  Invocation command line was
955
1344
 
956
1345
  $ $0 $@
957
1346
 
958
1347
_ACEOF
 
1348
exec 5>>config.log
959
1349
{
960
1350
cat <<_ASUNAME
961
1351
## --------- ##
974
1364
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
975
1365
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
976
1366
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
977
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1367
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
978
1368
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
979
1369
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
980
1370
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
988
1378
  test -z "$as_dir" && as_dir=.
989
1379
  echo "PATH: $as_dir"
990
1380
done
 
1381
IFS=$as_save_IFS
991
1382
 
992
1383
} >&5
993
1384
 
1009
1400
ac_configure_args=
1010
1401
ac_configure_args0=
1011
1402
ac_configure_args1=
1012
 
ac_sep=
1013
1403
ac_must_keep_next=false
1014
1404
for ac_pass in 1 2
1015
1405
do
1020
1410
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021
1411
    | -silent | --silent | --silen | --sile | --sil)
1022
1412
      continue ;;
1023
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1413
    *\'*)
1024
1414
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1025
1415
    esac
1026
1416
    case $ac_pass in
1042
1432
          -* ) ac_must_keep_next=true ;;
1043
1433
        esac
1044
1434
      fi
1045
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046
 
      # Get rid of the leading space.
1047
 
      ac_sep=" "
 
1435
      ac_configure_args="$ac_configure_args '$ac_arg'"
1048
1436
      ;;
1049
1437
    esac
1050
1438
  done
1055
1443
# When interrupted or exit'd, cleanup temporary files, and complete
1056
1444
# config.log.  We remove comments because anyway the quotes in there
1057
1445
# would cause problems or look ugly.
1058
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1059
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1446
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1447
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1060
1448
trap 'exit_status=$?
1061
1449
  # Save into config.log some information that might help in debugging.
1062
1450
  {
1069
1457
_ASBOX
1070
1458
    echo
1071
1459
    # The following way of writing the cache mishandles newlines in values,
1072
 
{
 
1460
(
 
1461
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1462
    eval ac_val=\$$ac_var
 
1463
    case $ac_val in #(
 
1464
    *${as_nl}*)
 
1465
      case $ac_var in #(
 
1466
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1467
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1468
      esac
 
1469
      case $ac_var in #(
 
1470
      _ | IFS | as_nl) ;; #(
 
1471
      *) $as_unset $ac_var ;;
 
1472
      esac ;;
 
1473
    esac
 
1474
  done
1073
1475
  (set) 2>&1 |
1074
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075
 
    *ac_space=\ *)
 
1476
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1477
    *${as_nl}ac_space=\ *)
1076
1478
      sed -n \
1077
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1078
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1079
 
      ;;
 
1479
        "s/'\''/'\''\\\\'\'''\''/g;
 
1480
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1481
      ;; #(
1080
1482
    *)
1081
 
      sed -n \
1082
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1483
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1083
1484
      ;;
1084
 
    esac;
1085
 
}
 
1485
    esac |
 
1486
    sort
 
1487
)
1086
1488
    echo
1087
1489
 
1088
1490
    cat <<\_ASBOX
1093
1495
    echo
1094
1496
    for ac_var in $ac_subst_vars
1095
1497
    do
1096
 
      eval ac_val=$`echo $ac_var`
1097
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1498
      eval ac_val=\$$ac_var
 
1499
      case $ac_val in
 
1500
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1501
      esac
 
1502
      echo "$ac_var='\''$ac_val'\''"
1098
1503
    done | sort
1099
1504
    echo
1100
1505
 
1101
1506
    if test -n "$ac_subst_files"; then
1102
1507
      cat <<\_ASBOX
1103
 
## ------------- ##
1104
 
## Output files. ##
1105
 
## ------------- ##
 
1508
## ------------------- ##
 
1509
## File substitutions. ##
 
1510
## ------------------- ##
1106
1511
_ASBOX
1107
1512
      echo
1108
1513
      for ac_var in $ac_subst_files
1109
1514
      do
1110
 
        eval ac_val=$`echo $ac_var`
1111
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1515
        eval ac_val=\$$ac_var
 
1516
        case $ac_val in
 
1517
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1518
        esac
 
1519
        echo "$ac_var='\''$ac_val'\''"
1112
1520
      done | sort
1113
1521
      echo
1114
1522
    fi
1120
1528
## ----------- ##
1121
1529
_ASBOX
1122
1530
      echo
1123
 
      sed "/^$/d" confdefs.h | sort
 
1531
      cat confdefs.h
1124
1532
      echo
1125
1533
    fi
1126
1534
    test "$ac_signal" != 0 &&
1127
1535
      echo "$as_me: caught signal $ac_signal"
1128
1536
    echo "$as_me: exit $exit_status"
1129
1537
  } >&5
1130
 
  rm -f core *.core &&
1131
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1538
  rm -f core *.core core.conftest.* &&
 
1539
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1132
1540
    exit $exit_status
1133
 
     ' 0
 
1541
' 0
1134
1542
for ac_signal in 1 2 13 15; do
1135
1543
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1136
1544
done
1137
1545
ac_signal=0
1138
1546
 
1139
1547
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1140
 
rm -rf conftest* confdefs.h
1141
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142
 
echo >confdefs.h
 
1548
rm -f -r conftest* confdefs.h
1143
1549
 
1144
1550
# Predefined preprocessor variables.
1145
1551
 
1170
1576
 
1171
1577
# Let the site file select an alternate cache file if it wants to.
1172
1578
# Prefer explicitly selected file to automatically selected ones.
1173
 
if test -z "$CONFIG_SITE"; then
1174
 
  if test "x$prefix" != xNONE; then
1175
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1176
 
  else
1177
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178
 
  fi
 
1579
if test -n "$CONFIG_SITE"; then
 
1580
  set x "$CONFIG_SITE"
 
1581
elif test "x$prefix" != xNONE; then
 
1582
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1583
else
 
1584
  set x "$ac_default_prefix/share/config.site" \
 
1585
        "$ac_default_prefix/etc/config.site"
1179
1586
fi
1180
 
for ac_site_file in $CONFIG_SITE; do
 
1587
shift
 
1588
for ac_site_file
 
1589
do
1181
1590
  if test -r "$ac_site_file"; then
1182
1591
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1183
1592
echo "$as_me: loading site script $ac_site_file" >&6;}
1193
1602
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1194
1603
echo "$as_me: loading cache $cache_file" >&6;}
1195
1604
    case $cache_file in
1196
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1197
 
      *)                      . ./$cache_file;;
 
1605
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1606
      *)                      . "./$cache_file";;
1198
1607
    esac
1199
1608
  fi
1200
1609
else
1206
1615
# Check that the precious variables saved in the cache have kept the same
1207
1616
# value.
1208
1617
ac_cache_corrupted=false
1209
 
for ac_var in `(set) 2>&1 |
1210
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1618
for ac_var in $ac_precious_vars; do
1211
1619
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1212
1620
  eval ac_new_set=\$ac_env_${ac_var}_set
1213
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1214
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1621
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1622
  eval ac_new_val=\$ac_env_${ac_var}_value
1215
1623
  case $ac_old_set,$ac_new_set in
1216
1624
    set,)
1217
1625
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1236
1644
  # Pass precious variables to config.status.
1237
1645
  if test "$ac_new_set" = set; then
1238
1646
    case $ac_new_val in
1239
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1647
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1241
1648
    *) ac_arg=$ac_var=$ac_new_val ;;
1242
1649
    esac
1243
1650
    case " $ac_configure_args " in
1254
1661
   { (exit 1); exit 1; }; }
1255
1662
fi
1256
1663
 
 
1664
 
 
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
 
1675
 
 
1676
 
 
1677
 
 
1678
 
 
1679
 
 
1680
 
 
1681
 
 
1682
 
 
1683
 
 
1684
 
 
1685
 
 
1686
 
 
1687
 
1257
1688
ac_ext=c
1258
1689
ac_cpp='$CPP $CPPFLAGS'
1259
1690
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1263
1694
 
1264
1695
 
1265
1696
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
 
1275
 
 
1276
 
 
1277
 
 
1278
 
 
1279
 
 
1280
 
 
1281
 
 
1282
 
 
1283
 
 
1284
 
 
1285
 
 
1286
 
 
1287
 
 
1288
 
 
1289
 
 
1290
 
 
1291
1697
am__api_version="1.7"
1292
1698
ac_aux_dir=
1293
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1294
 
  if test -f $ac_dir/install-sh; then
 
1699
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1700
  if test -f "$ac_dir/install-sh"; then
1295
1701
    ac_aux_dir=$ac_dir
1296
1702
    ac_install_sh="$ac_aux_dir/install-sh -c"
1297
1703
    break
1298
 
  elif test -f $ac_dir/install.sh; then
 
1704
  elif test -f "$ac_dir/install.sh"; then
1299
1705
    ac_aux_dir=$ac_dir
1300
1706
    ac_install_sh="$ac_aux_dir/install.sh -c"
1301
1707
    break
1302
 
  elif test -f $ac_dir/shtool; then
 
1708
  elif test -f "$ac_dir/shtool"; then
1303
1709
    ac_aux_dir=$ac_dir
1304
1710
    ac_install_sh="$ac_aux_dir/shtool install -c"
1305
1711
    break
1306
1712
  fi
1307
1713
done
1308
1714
if test -z "$ac_aux_dir"; then
1309
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1310
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1715
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1716
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1311
1717
   { (exit 1); exit 1; }; }
1312
1718
fi
1313
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1314
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1315
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1719
 
 
1720
# These three variables are undocumented and unsupported,
 
1721
# and are intended to be withdrawn in a future Autoconf release.
 
1722
# They can cause serious problems if a builder's source tree is in a directory
 
1723
# whose full name contains unusual characters.
 
1724
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1725
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1726
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1727
 
1316
1728
 
1317
1729
# Find a good install program.  We prefer a C program (faster),
1318
1730
# so one script is as good as another.  But avoid the broken or
1327
1739
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1328
1740
# OS/2's system install, which has a completely different semantic
1329
1741
# ./install, which can be erroneously created by make from ./install.sh.
1330
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1331
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1742
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1743
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1332
1744
if test -z "$INSTALL"; then
1333
1745
if test "${ac_cv_path_install+set}" = set; then
1334
1746
  echo $ECHO_N "(cached) $ECHO_C" >&6
1350
1762
    # by default.
1351
1763
    for ac_prog in ginstall scoinst install; do
1352
1764
      for ac_exec_ext in '' $ac_executable_extensions; do
1353
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1765
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1354
1766
          if test $ac_prog = install &&
1355
1767
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1356
1768
            # AIX install.  It has an incompatible calling convention.
1369
1781
    ;;
1370
1782
esac
1371
1783
done
 
1784
IFS=$as_save_IFS
1372
1785
 
1373
1786
 
1374
1787
fi
1375
1788
  if test "${ac_cv_path_install+set}" = set; then
1376
1789
    INSTALL=$ac_cv_path_install
1377
1790
  else
1378
 
    # As a last resort, use the slow shell script.  We don't cache a
1379
 
    # path for INSTALL within a source directory, because that will
 
1791
    # As a last resort, use the slow shell script.  Don't cache a
 
1792
    # value for INSTALL within a source directory, because that will
1380
1793
    # break other packages using the cache if that directory is
1381
 
    # removed, or if the path is relative.
 
1794
    # removed, or if the value is a relative name.
1382
1795
    INSTALL=$ac_install_sh
1383
1796
  fi
1384
1797
fi
1385
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1386
 
echo "${ECHO_T}$INSTALL" >&6
 
1798
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1799
echo "${ECHO_T}$INSTALL" >&6; }
1387
1800
 
1388
1801
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1389
1802
# It thinks the first close brace ends the variable substitution.
1393
1806
 
1394
1807
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1395
1808
 
1396
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1397
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1809
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1810
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1398
1811
# Just in case
1399
1812
sleep 1
1400
1813
echo timestamp > conftest.file
1436
1849
Check your system clock" >&2;}
1437
1850
   { (exit 1); exit 1; }; }
1438
1851
fi
1439
 
echo "$as_me:$LINENO: result: yes" >&5
1440
 
echo "${ECHO_T}yes" >&6
 
1852
{ echo "$as_me:$LINENO: result: yes" >&5
 
1853
echo "${ECHO_T}yes" >&6; }
1441
1854
test "$program_prefix" != NONE &&
1442
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1855
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1443
1856
# Use a double $ so make ignores it.
1444
1857
test "$program_suffix" != NONE &&
1445
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1858
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1446
1859
# Double any \ or $.  echo might interpret backslashes.
1447
1860
# By default was `s,x,x', remove it if useless.
1448
1861
cat <<\_ACEOF >conftest.sed
1449
1862
s/[\\$]/&&/g;s/;s,x,x,$//
1450
1863
_ACEOF
1451
1864
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1452
 
rm conftest.sed
 
1865
rm -f conftest.sed
1453
1866
 
1454
1867
 
1455
1868
# expand $ac_aux_dir to an absolute path
1469
1882
do
1470
1883
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1471
1884
set dummy $ac_prog; ac_word=$2
1472
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1473
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1885
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1886
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1474
1887
if test "${ac_cv_prog_AWK+set}" = set; then
1475
1888
  echo $ECHO_N "(cached) $ECHO_C" >&6
1476
1889
else
1483
1896
  IFS=$as_save_IFS
1484
1897
  test -z "$as_dir" && as_dir=.
1485
1898
  for ac_exec_ext in '' $ac_executable_extensions; do
1486
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1487
1900
    ac_cv_prog_AWK="$ac_prog"
1488
1901
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489
1902
    break 2
1490
1903
  fi
1491
1904
done
1492
1905
done
 
1906
IFS=$as_save_IFS
1493
1907
 
1494
1908
fi
1495
1909
fi
1496
1910
AWK=$ac_cv_prog_AWK
1497
1911
if test -n "$AWK"; then
1498
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1499
 
echo "${ECHO_T}$AWK" >&6
 
1912
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
1913
echo "${ECHO_T}$AWK" >&6; }
1500
1914
else
1501
 
  echo "$as_me:$LINENO: result: no" >&5
1502
 
echo "${ECHO_T}no" >&6
 
1915
  { echo "$as_me:$LINENO: result: no" >&5
 
1916
echo "${ECHO_T}no" >&6; }
1503
1917
fi
1504
1918
 
 
1919
 
1505
1920
  test -n "$AWK" && break
1506
1921
done
1507
1922
 
1508
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1509
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1510
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1511
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1923
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1924
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1925
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1926
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1512
1927
  echo $ECHO_N "(cached) $ECHO_C" >&6
1513
1928
else
1514
1929
  cat >conftest.make <<\_ACEOF
 
1930
SHELL = /bin/sh
1515
1931
all:
1516
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1932
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1517
1933
_ACEOF
1518
1934
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1519
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1520
 
if test -n "$ac_maketemp"; then
1521
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1522
 
else
1523
 
  eval ac_cv_prog_make_${ac_make}_set=no
1524
 
fi
 
1935
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1936
  *@@@%%%=?*=@@@%%%*)
 
1937
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1938
  *)
 
1939
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1940
esac
1525
1941
rm -f conftest.make
1526
1942
fi
1527
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1528
 
  echo "$as_me:$LINENO: result: yes" >&5
1529
 
echo "${ECHO_T}yes" >&6
 
1943
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1944
  { echo "$as_me:$LINENO: result: yes" >&5
 
1945
echo "${ECHO_T}yes" >&6; }
1530
1946
  SET_MAKE=
1531
1947
else
1532
 
  echo "$as_me:$LINENO: result: no" >&5
1533
 
echo "${ECHO_T}no" >&6
 
1948
  { echo "$as_me:$LINENO: result: no" >&5
 
1949
echo "${ECHO_T}no" >&6; }
1534
1950
  SET_MAKE="MAKE=${MAKE-make}"
1535
1951
fi
1536
1952
 
1563
1979
 
1564
1980
# Define the identity of the package.
1565
1981
 PACKAGE='sysprof'
1566
 
 VERSION='1.0.7'
 
1982
 VERSION='1.0.9'
1567
1983
 
1568
1984
 
1569
1985
# Some tools Automake needs.
1595
2011
  if test -n "$ac_tool_prefix"; then
1596
2012
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1597
2013
set dummy ${ac_tool_prefix}strip; ac_word=$2
1598
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1599
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2014
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2015
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1600
2016
if test "${ac_cv_prog_STRIP+set}" = set; then
1601
2017
  echo $ECHO_N "(cached) $ECHO_C" >&6
1602
2018
else
1609
2025
  IFS=$as_save_IFS
1610
2026
  test -z "$as_dir" && as_dir=.
1611
2027
  for ac_exec_ext in '' $ac_executable_extensions; do
1612
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2028
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1613
2029
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1614
2030
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615
2031
    break 2
1616
2032
  fi
1617
2033
done
1618
2034
done
 
2035
IFS=$as_save_IFS
1619
2036
 
1620
2037
fi
1621
2038
fi
1622
2039
STRIP=$ac_cv_prog_STRIP
1623
2040
if test -n "$STRIP"; then
1624
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1625
 
echo "${ECHO_T}$STRIP" >&6
 
2041
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2042
echo "${ECHO_T}$STRIP" >&6; }
1626
2043
else
1627
 
  echo "$as_me:$LINENO: result: no" >&5
1628
 
echo "${ECHO_T}no" >&6
 
2044
  { echo "$as_me:$LINENO: result: no" >&5
 
2045
echo "${ECHO_T}no" >&6; }
1629
2046
fi
 
2047
 
1630
2048
 
1631
2049
fi
1632
2050
if test -z "$ac_cv_prog_STRIP"; then
1633
2051
  ac_ct_STRIP=$STRIP
1634
2052
  # Extract the first word of "strip", so it can be a program name with args.
1635
2053
set dummy strip; ac_word=$2
1636
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1637
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1638
2056
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1639
2057
  echo $ECHO_N "(cached) $ECHO_C" >&6
1640
2058
else
1647
2065
  IFS=$as_save_IFS
1648
2066
  test -z "$as_dir" && as_dir=.
1649
2067
  for ac_exec_ext in '' $ac_executable_extensions; do
1650
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1651
2069
    ac_cv_prog_ac_ct_STRIP="strip"
1652
2070
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653
2071
    break 2
1654
2072
  fi
1655
2073
done
1656
2074
done
 
2075
IFS=$as_save_IFS
1657
2076
 
1658
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1659
2077
fi
1660
2078
fi
1661
2079
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1662
2080
if test -n "$ac_ct_STRIP"; then
1663
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1664
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2081
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2082
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1665
2083
else
1666
 
  echo "$as_me:$LINENO: result: no" >&5
1667
 
echo "${ECHO_T}no" >&6
 
2084
  { echo "$as_me:$LINENO: result: no" >&5
 
2085
echo "${ECHO_T}no" >&6; }
1668
2086
fi
1669
2087
 
1670
 
  STRIP=$ac_ct_STRIP
 
2088
  if test "x$ac_ct_STRIP" = x; then
 
2089
    STRIP=":"
 
2090
  else
 
2091
    case $cross_compiling:$ac_tool_warned in
 
2092
yes:)
 
2093
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2094
whose name does not start with the host triplet.  If you think this
 
2095
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2096
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2097
whose name does not start with the host triplet.  If you think this
 
2098
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2099
ac_tool_warned=yes ;;
 
2100
esac
 
2101
    STRIP=$ac_ct_STRIP
 
2102
  fi
1671
2103
else
1672
2104
  STRIP="$ac_cv_prog_STRIP"
1673
2105
fi
1681
2113
 
1682
2114
 
1683
2115
 
1684
 
          ac_config_headers="$ac_config_headers config.h"
 
2116
ac_config_headers="$ac_config_headers config.h"
1685
2117
 
1686
2118
 
1687
2119
ac_ext=c
1692
2124
if test -n "$ac_tool_prefix"; then
1693
2125
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1694
2126
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1695
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1696
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2127
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2128
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1697
2129
if test "${ac_cv_prog_CC+set}" = set; then
1698
2130
  echo $ECHO_N "(cached) $ECHO_C" >&6
1699
2131
else
1706
2138
  IFS=$as_save_IFS
1707
2139
  test -z "$as_dir" && as_dir=.
1708
2140
  for ac_exec_ext in '' $ac_executable_extensions; do
1709
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2141
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1710
2142
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1711
2143
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1712
2144
    break 2
1713
2145
  fi
1714
2146
done
1715
2147
done
 
2148
IFS=$as_save_IFS
1716
2149
 
1717
2150
fi
1718
2151
fi
1719
2152
CC=$ac_cv_prog_CC
1720
2153
if test -n "$CC"; then
1721
 
  echo "$as_me:$LINENO: result: $CC" >&5
1722
 
echo "${ECHO_T}$CC" >&6
 
2154
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2155
echo "${ECHO_T}$CC" >&6; }
1723
2156
else
1724
 
  echo "$as_me:$LINENO: result: no" >&5
1725
 
echo "${ECHO_T}no" >&6
 
2157
  { echo "$as_me:$LINENO: result: no" >&5
 
2158
echo "${ECHO_T}no" >&6; }
1726
2159
fi
 
2160
 
1727
2161
 
1728
2162
fi
1729
2163
if test -z "$ac_cv_prog_CC"; then
1730
2164
  ac_ct_CC=$CC
1731
2165
  # Extract the first word of "gcc", so it can be a program name with args.
1732
2166
set dummy gcc; ac_word=$2
1733
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1734
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2167
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2168
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1735
2169
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1736
2170
  echo $ECHO_N "(cached) $ECHO_C" >&6
1737
2171
else
1744
2178
  IFS=$as_save_IFS
1745
2179
  test -z "$as_dir" && as_dir=.
1746
2180
  for ac_exec_ext in '' $ac_executable_extensions; do
1747
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2181
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1748
2182
    ac_cv_prog_ac_ct_CC="gcc"
1749
2183
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750
2184
    break 2
1751
2185
  fi
1752
2186
done
1753
2187
done
 
2188
IFS=$as_save_IFS
1754
2189
 
1755
2190
fi
1756
2191
fi
1757
2192
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1758
2193
if test -n "$ac_ct_CC"; then
1759
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1760
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2194
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2195
echo "${ECHO_T}$ac_ct_CC" >&6; }
1761
2196
else
1762
 
  echo "$as_me:$LINENO: result: no" >&5
1763
 
echo "${ECHO_T}no" >&6
 
2197
  { echo "$as_me:$LINENO: result: no" >&5
 
2198
echo "${ECHO_T}no" >&6; }
1764
2199
fi
1765
2200
 
1766
 
  CC=$ac_ct_CC
 
2201
  if test "x$ac_ct_CC" = x; then
 
2202
    CC=""
 
2203
  else
 
2204
    case $cross_compiling:$ac_tool_warned in
 
2205
yes:)
 
2206
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2207
whose name does not start with the host triplet.  If you think this
 
2208
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2209
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2210
whose name does not start with the host triplet.  If you think this
 
2211
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2212
ac_tool_warned=yes ;;
 
2213
esac
 
2214
    CC=$ac_ct_CC
 
2215
  fi
1767
2216
else
1768
2217
  CC="$ac_cv_prog_CC"
1769
2218
fi
1770
2219
 
1771
2220
if test -z "$CC"; then
1772
 
  if test -n "$ac_tool_prefix"; then
1773
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2221
          if test -n "$ac_tool_prefix"; then
 
2222
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1774
2223
set dummy ${ac_tool_prefix}cc; ac_word=$2
1775
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1776
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2224
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2225
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1777
2226
if test "${ac_cv_prog_CC+set}" = set; then
1778
2227
  echo $ECHO_N "(cached) $ECHO_C" >&6
1779
2228
else
1786
2235
  IFS=$as_save_IFS
1787
2236
  test -z "$as_dir" && as_dir=.
1788
2237
  for ac_exec_ext in '' $ac_executable_extensions; do
1789
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1790
2239
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1791
2240
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792
2241
    break 2
1793
2242
  fi
1794
2243
done
1795
2244
done
 
2245
IFS=$as_save_IFS
1796
2246
 
1797
2247
fi
1798
2248
fi
1799
2249
CC=$ac_cv_prog_CC
1800
2250
if test -n "$CC"; then
1801
 
  echo "$as_me:$LINENO: result: $CC" >&5
1802
 
echo "${ECHO_T}$CC" >&6
1803
 
else
1804
 
  echo "$as_me:$LINENO: result: no" >&5
1805
 
echo "${ECHO_T}no" >&6
1806
 
fi
1807
 
 
1808
 
fi
1809
 
if test -z "$ac_cv_prog_CC"; then
1810
 
  ac_ct_CC=$CC
1811
 
  # Extract the first word of "cc", so it can be a program name with args.
1812
 
set dummy cc; ac_word=$2
1813
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1814
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1817
 
else
1818
 
  if test -n "$ac_ct_CC"; then
1819
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1820
 
else
1821
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822
 
for as_dir in $PATH
1823
 
do
1824
 
  IFS=$as_save_IFS
1825
 
  test -z "$as_dir" && as_dir=.
1826
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1827
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828
 
    ac_cv_prog_ac_ct_CC="cc"
1829
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830
 
    break 2
 
2251
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2252
echo "${ECHO_T}$CC" >&6; }
 
2253
else
 
2254
  { echo "$as_me:$LINENO: result: no" >&5
 
2255
echo "${ECHO_T}no" >&6; }
 
2256
fi
 
2257
 
 
2258
 
1831
2259
  fi
1832
 
done
1833
 
done
1834
 
 
1835
 
fi
1836
 
fi
1837
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1838
 
if test -n "$ac_ct_CC"; then
1839
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1840
 
echo "${ECHO_T}$ac_ct_CC" >&6
1841
 
else
1842
 
  echo "$as_me:$LINENO: result: no" >&5
1843
 
echo "${ECHO_T}no" >&6
1844
 
fi
1845
 
 
1846
 
  CC=$ac_ct_CC
1847
 
else
1848
 
  CC="$ac_cv_prog_CC"
1849
 
fi
1850
 
 
1851
2260
fi
1852
2261
if test -z "$CC"; then
1853
2262
  # Extract the first word of "cc", so it can be a program name with args.
1854
2263
set dummy cc; ac_word=$2
1855
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1856
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2264
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2265
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1857
2266
if test "${ac_cv_prog_CC+set}" = set; then
1858
2267
  echo $ECHO_N "(cached) $ECHO_C" >&6
1859
2268
else
1867
2276
  IFS=$as_save_IFS
1868
2277
  test -z "$as_dir" && as_dir=.
1869
2278
  for ac_exec_ext in '' $ac_executable_extensions; do
1870
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2279
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1871
2280
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1872
2281
       ac_prog_rejected=yes
1873
2282
       continue
1878
2287
  fi
1879
2288
done
1880
2289
done
 
2290
IFS=$as_save_IFS
1881
2291
 
1882
2292
if test $ac_prog_rejected = yes; then
1883
2293
  # We found a bogon in the path, so make sure we never use it.
1895
2305
fi
1896
2306
CC=$ac_cv_prog_CC
1897
2307
if test -n "$CC"; then
1898
 
  echo "$as_me:$LINENO: result: $CC" >&5
1899
 
echo "${ECHO_T}$CC" >&6
 
2308
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2309
echo "${ECHO_T}$CC" >&6; }
1900
2310
else
1901
 
  echo "$as_me:$LINENO: result: no" >&5
1902
 
echo "${ECHO_T}no" >&6
 
2311
  { echo "$as_me:$LINENO: result: no" >&5
 
2312
echo "${ECHO_T}no" >&6; }
1903
2313
fi
 
2314
 
1904
2315
 
1905
2316
fi
1906
2317
if test -z "$CC"; then
1907
2318
  if test -n "$ac_tool_prefix"; then
1908
 
  for ac_prog in cl
 
2319
  for ac_prog in cl.exe
1909
2320
  do
1910
2321
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1911
2322
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1912
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1913
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2323
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2324
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1914
2325
if test "${ac_cv_prog_CC+set}" = set; then
1915
2326
  echo $ECHO_N "(cached) $ECHO_C" >&6
1916
2327
else
1923
2334
  IFS=$as_save_IFS
1924
2335
  test -z "$as_dir" && as_dir=.
1925
2336
  for ac_exec_ext in '' $ac_executable_extensions; do
1926
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1927
2338
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1928
2339
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929
2340
    break 2
1930
2341
  fi
1931
2342
done
1932
2343
done
 
2344
IFS=$as_save_IFS
1933
2345
 
1934
2346
fi
1935
2347
fi
1936
2348
CC=$ac_cv_prog_CC
1937
2349
if test -n "$CC"; then
1938
 
  echo "$as_me:$LINENO: result: $CC" >&5
1939
 
echo "${ECHO_T}$CC" >&6
 
2350
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2351
echo "${ECHO_T}$CC" >&6; }
1940
2352
else
1941
 
  echo "$as_me:$LINENO: result: no" >&5
1942
 
echo "${ECHO_T}no" >&6
 
2353
  { echo "$as_me:$LINENO: result: no" >&5
 
2354
echo "${ECHO_T}no" >&6; }
1943
2355
fi
1944
2356
 
 
2357
 
1945
2358
    test -n "$CC" && break
1946
2359
  done
1947
2360
fi
1948
2361
if test -z "$CC"; then
1949
2362
  ac_ct_CC=$CC
1950
 
  for ac_prog in cl
 
2363
  for ac_prog in cl.exe
1951
2364
do
1952
2365
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1953
2366
set dummy $ac_prog; ac_word=$2
1954
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1955
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2367
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2368
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1956
2369
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1957
2370
  echo $ECHO_N "(cached) $ECHO_C" >&6
1958
2371
else
1965
2378
  IFS=$as_save_IFS
1966
2379
  test -z "$as_dir" && as_dir=.
1967
2380
  for ac_exec_ext in '' $ac_executable_extensions; do
1968
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1969
2382
    ac_cv_prog_ac_ct_CC="$ac_prog"
1970
2383
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971
2384
    break 2
1972
2385
  fi
1973
2386
done
1974
2387
done
 
2388
IFS=$as_save_IFS
1975
2389
 
1976
2390
fi
1977
2391
fi
1978
2392
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1979
2393
if test -n "$ac_ct_CC"; then
1980
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1981
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2394
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2395
echo "${ECHO_T}$ac_ct_CC" >&6; }
1982
2396
else
1983
 
  echo "$as_me:$LINENO: result: no" >&5
1984
 
echo "${ECHO_T}no" >&6
 
2397
  { echo "$as_me:$LINENO: result: no" >&5
 
2398
echo "${ECHO_T}no" >&6; }
1985
2399
fi
1986
2400
 
 
2401
 
1987
2402
  test -n "$ac_ct_CC" && break
1988
2403
done
1989
2404
 
1990
 
  CC=$ac_ct_CC
 
2405
  if test "x$ac_ct_CC" = x; then
 
2406
    CC=""
 
2407
  else
 
2408
    case $cross_compiling:$ac_tool_warned in
 
2409
yes:)
 
2410
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2411
whose name does not start with the host triplet.  If you think this
 
2412
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2413
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2414
whose name does not start with the host triplet.  If you think this
 
2415
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2416
ac_tool_warned=yes ;;
 
2417
esac
 
2418
    CC=$ac_ct_CC
 
2419
  fi
1991
2420
fi
1992
2421
 
1993
2422
fi
2000
2429
   { (exit 1); exit 1; }; }
2001
2430
 
2002
2431
# Provide some information about the compiler.
2003
 
echo "$as_me:$LINENO:" \
2004
 
     "checking for C compiler version" >&5
 
2432
echo "$as_me:$LINENO: checking for C compiler version" >&5
2005
2433
ac_compiler=`set X $ac_compile; echo $2`
2006
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2007
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2008
 
  ac_status=$?
2009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010
 
  (exit $ac_status); }
2011
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2012
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2013
 
  ac_status=$?
2014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015
 
  (exit $ac_status); }
2016
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2017
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2434
{ (ac_try="$ac_compiler --version >&5"
 
2435
case "(($ac_try" in
 
2436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2437
  *) ac_try_echo=$ac_try;;
 
2438
esac
 
2439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2440
  (eval "$ac_compiler --version >&5") 2>&5
 
2441
  ac_status=$?
 
2442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2443
  (exit $ac_status); }
 
2444
{ (ac_try="$ac_compiler -v >&5"
 
2445
case "(($ac_try" in
 
2446
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2447
  *) ac_try_echo=$ac_try;;
 
2448
esac
 
2449
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2450
  (eval "$ac_compiler -v >&5") 2>&5
 
2451
  ac_status=$?
 
2452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2453
  (exit $ac_status); }
 
2454
{ (ac_try="$ac_compiler -V >&5"
 
2455
case "(($ac_try" in
 
2456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2457
  *) ac_try_echo=$ac_try;;
 
2458
esac
 
2459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2460
  (eval "$ac_compiler -V >&5") 2>&5
2018
2461
  ac_status=$?
2019
2462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020
2463
  (exit $ac_status); }
2039
2482
# Try to create an executable without -o first, disregard a.out.
2040
2483
# It will help us diagnose broken compilers, and finding out an intuition
2041
2484
# of exeext.
2042
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2043
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2485
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2486
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2044
2487
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2045
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2046
 
  (eval $ac_link_default) 2>&5
 
2488
#
 
2489
# List of possible output files, starting from the most likely.
 
2490
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2491
# only as a last resort.  b.out is created by i960 compilers.
 
2492
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2493
#
 
2494
# The IRIX 6 linker writes into existing files which may not be
 
2495
# executable, retaining their permissions.  Remove them first so a
 
2496
# subsequent execution test works.
 
2497
ac_rmfiles=
 
2498
for ac_file in $ac_files
 
2499
do
 
2500
  case $ac_file in
 
2501
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2502
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2503
  esac
 
2504
done
 
2505
rm -f $ac_rmfiles
 
2506
 
 
2507
if { (ac_try="$ac_link_default"
 
2508
case "(($ac_try" in
 
2509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2510
  *) ac_try_echo=$ac_try;;
 
2511
esac
 
2512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2513
  (eval "$ac_link_default") 2>&5
2047
2514
  ac_status=$?
2048
2515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049
2516
  (exit $ac_status); }; then
2050
 
  # Find the output, starting from the most likely.  This scheme is
2051
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2052
 
# resort.
2053
 
 
2054
 
# Be careful to initialize this variable, since it used to be cached.
2055
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2056
 
ac_cv_exeext=
2057
 
# b.out is created by i960 compilers.
2058
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2517
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2518
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2519
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2520
# so that the user can short-circuit this test for compilers unknown to
 
2521
# Autoconf.
 
2522
for ac_file in $ac_files ''
2059
2523
do
2060
2524
  test -f "$ac_file" || continue
2061
2525
  case $ac_file in
2062
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2063
 
        ;;
2064
 
    conftest.$ac_ext )
2065
 
        # This is the source file.
 
2526
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2066
2527
        ;;
2067
2528
    [ab].out )
2068
2529
        # We found the default executable, but exeext='' is most
2069
2530
        # certainly right.
2070
2531
        break;;
2071
2532
    *.* )
2072
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2073
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2074
 
        # but it would be cool to find out if it's true.  Does anybody
2075
 
        # maintain Libtool? --akim.
2076
 
        export ac_cv_exeext
 
2533
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2534
        then :; else
 
2535
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2536
        fi
 
2537
        # We set ac_cv_exeext here because the later test for it is not
 
2538
        # safe: cross compilers may not add the suffix if given an `-o'
 
2539
        # argument, so we may need to know it at that point already.
 
2540
        # Even if this section looks crufty: it has the advantage of
 
2541
        # actually working.
2077
2542
        break;;
2078
2543
    * )
2079
2544
        break;;
2080
2545
  esac
2081
2546
done
 
2547
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2548
 
2082
2549
else
 
2550
  ac_file=''
 
2551
fi
 
2552
 
 
2553
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2554
echo "${ECHO_T}$ac_file" >&6; }
 
2555
if test -z "$ac_file"; then
2083
2556
  echo "$as_me: failed program was:" >&5
2084
2557
sed 's/^/| /' conftest.$ac_ext >&5
2085
2558
 
2091
2564
fi
2092
2565
 
2093
2566
ac_exeext=$ac_cv_exeext
2094
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2095
 
echo "${ECHO_T}$ac_file" >&6
2096
2567
 
2097
 
# Check the compiler produces executables we can run.  If not, either
 
2568
# Check that the compiler produces executables we can run.  If not, either
2098
2569
# the compiler is broken, or we cross compile.
2099
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2100
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2570
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2571
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2101
2572
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2102
2573
# If not cross compiling, check that we can run a simple program.
2103
2574
if test "$cross_compiling" != yes; then
2104
2575
  if { ac_try='./$ac_file'
2105
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2106
 
  (eval $ac_try) 2>&5
 
2576
  { (case "(($ac_try" in
 
2577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2578
  *) ac_try_echo=$ac_try;;
 
2579
esac
 
2580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2581
  (eval "$ac_try") 2>&5
2107
2582
  ac_status=$?
2108
2583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109
2584
  (exit $ac_status); }; }; then
2122
2597
    fi
2123
2598
  fi
2124
2599
fi
2125
 
echo "$as_me:$LINENO: result: yes" >&5
2126
 
echo "${ECHO_T}yes" >&6
 
2600
{ echo "$as_me:$LINENO: result: yes" >&5
 
2601
echo "${ECHO_T}yes" >&6; }
2127
2602
 
2128
2603
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2129
2604
ac_clean_files=$ac_clean_files_save
2130
 
# Check the compiler produces executables we can run.  If not, either
 
2605
# Check that the compiler produces executables we can run.  If not, either
2131
2606
# the compiler is broken, or we cross compile.
2132
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2133
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2134
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2135
 
echo "${ECHO_T}$cross_compiling" >&6
 
2607
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2608
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2609
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2610
echo "${ECHO_T}$cross_compiling" >&6; }
2136
2611
 
2137
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2138
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2139
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2140
 
  (eval $ac_link) 2>&5
 
2612
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2613
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2614
if { (ac_try="$ac_link"
 
2615
case "(($ac_try" in
 
2616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2617
  *) ac_try_echo=$ac_try;;
 
2618
esac
 
2619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2620
  (eval "$ac_link") 2>&5
2141
2621
  ac_status=$?
2142
2622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143
2623
  (exit $ac_status); }; then
2148
2628
for ac_file in conftest.exe conftest conftest.*; do
2149
2629
  test -f "$ac_file" || continue
2150
2630
  case $ac_file in
2151
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2631
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2152
2632
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2153
 
          export ac_cv_exeext
2154
2633
          break;;
2155
2634
    * ) break;;
2156
2635
  esac
2164
2643
fi
2165
2644
 
2166
2645
rm -f conftest$ac_cv_exeext
2167
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2168
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2646
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2647
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2169
2648
 
2170
2649
rm -f conftest.$ac_ext
2171
2650
EXEEXT=$ac_cv_exeext
2172
2651
ac_exeext=$EXEEXT
2173
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2174
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2652
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2653
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2175
2654
if test "${ac_cv_objext+set}" = set; then
2176
2655
  echo $ECHO_N "(cached) $ECHO_C" >&6
2177
2656
else
2191
2670
}
2192
2671
_ACEOF
2193
2672
rm -f conftest.o conftest.obj
2194
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195
 
  (eval $ac_compile) 2>&5
 
2673
if { (ac_try="$ac_compile"
 
2674
case "(($ac_try" in
 
2675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2676
  *) ac_try_echo=$ac_try;;
 
2677
esac
 
2678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2679
  (eval "$ac_compile") 2>&5
2196
2680
  ac_status=$?
2197
2681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198
2682
  (exit $ac_status); }; then
2199
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2683
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2684
  test -f "$ac_file" || continue;
2200
2685
  case $ac_file in
2201
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2686
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2202
2687
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2203
2688
       break;;
2204
2689
  esac
2216
2701
 
2217
2702
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2218
2703
fi
2219
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2220
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2704
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2705
echo "${ECHO_T}$ac_cv_objext" >&6; }
2221
2706
OBJEXT=$ac_cv_objext
2222
2707
ac_objext=$OBJEXT
2223
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2224
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2708
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2709
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2225
2710
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2226
2711
  echo $ECHO_N "(cached) $ECHO_C" >&6
2227
2712
else
2244
2729
}
2245
2730
_ACEOF
2246
2731
rm -f conftest.$ac_objext
2247
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2248
 
  (eval $ac_compile) 2>conftest.er1
 
2732
if { (ac_try="$ac_compile"
 
2733
case "(($ac_try" in
 
2734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2735
  *) ac_try_echo=$ac_try;;
 
2736
esac
 
2737
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2738
  (eval "$ac_compile") 2>conftest.er1
2249
2739
  ac_status=$?
2250
2740
  grep -v '^ *+' conftest.er1 >conftest.err
2251
2741
  rm -f conftest.er1
2252
2742
  cat conftest.err >&5
2253
2743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254
 
  (exit $ac_status); } &&
2255
 
         { ac_try='test -z "$ac_c_werror_flag"
2256
 
                         || test ! -s conftest.err'
2257
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258
 
  (eval $ac_try) 2>&5
2259
 
  ac_status=$?
2260
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261
 
  (exit $ac_status); }; } &&
2262
 
         { ac_try='test -s conftest.$ac_objext'
2263
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264
 
  (eval $ac_try) 2>&5
2265
 
  ac_status=$?
2266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267
 
  (exit $ac_status); }; }; then
 
2744
  (exit $ac_status); } && {
 
2745
         test -z "$ac_c_werror_flag" ||
 
2746
         test ! -s conftest.err
 
2747
       } && test -s conftest.$ac_objext; then
2268
2748
  ac_compiler_gnu=yes
2269
2749
else
2270
2750
  echo "$as_me: failed program was:" >&5
2271
2751
sed 's/^/| /' conftest.$ac_ext >&5
2272
2752
 
2273
 
ac_compiler_gnu=no
 
2753
        ac_compiler_gnu=no
2274
2754
fi
2275
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2755
 
 
2756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276
2757
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2277
2758
 
2278
2759
fi
2279
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2280
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2760
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2761
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2281
2762
GCC=`test $ac_compiler_gnu = yes && echo yes`
2282
2763
ac_test_CFLAGS=${CFLAGS+set}
2283
2764
ac_save_CFLAGS=$CFLAGS
2284
 
CFLAGS="-g"
2285
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2286
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2765
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2766
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2287
2767
if test "${ac_cv_prog_cc_g+set}" = set; then
2288
2768
  echo $ECHO_N "(cached) $ECHO_C" >&6
2289
2769
else
2290
 
  cat >conftest.$ac_ext <<_ACEOF
2291
 
/* confdefs.h.  */
2292
 
_ACEOF
2293
 
cat confdefs.h >>conftest.$ac_ext
2294
 
cat >>conftest.$ac_ext <<_ACEOF
2295
 
/* end confdefs.h.  */
2296
 
 
2297
 
int
2298
 
main ()
2299
 
{
2300
 
 
2301
 
  ;
2302
 
  return 0;
2303
 
}
2304
 
_ACEOF
2305
 
rm -f conftest.$ac_objext
2306
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2307
 
  (eval $ac_compile) 2>conftest.er1
2308
 
  ac_status=$?
2309
 
  grep -v '^ *+' conftest.er1 >conftest.err
2310
 
  rm -f conftest.er1
2311
 
  cat conftest.err >&5
2312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313
 
  (exit $ac_status); } &&
2314
 
         { ac_try='test -z "$ac_c_werror_flag"
2315
 
                         || test ! -s conftest.err'
2316
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317
 
  (eval $ac_try) 2>&5
2318
 
  ac_status=$?
2319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320
 
  (exit $ac_status); }; } &&
2321
 
         { ac_try='test -s conftest.$ac_objext'
2322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323
 
  (eval $ac_try) 2>&5
2324
 
  ac_status=$?
2325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326
 
  (exit $ac_status); }; }; then
2327
 
  ac_cv_prog_cc_g=yes
2328
 
else
2329
 
  echo "$as_me: failed program was:" >&5
2330
 
sed 's/^/| /' conftest.$ac_ext >&5
2331
 
 
2332
 
ac_cv_prog_cc_g=no
2333
 
fi
2334
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2335
 
fi
2336
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2337
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2770
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2771
   ac_c_werror_flag=yes
 
2772
   ac_cv_prog_cc_g=no
 
2773
   CFLAGS="-g"
 
2774
   cat >conftest.$ac_ext <<_ACEOF
 
2775
/* confdefs.h.  */
 
2776
_ACEOF
 
2777
cat confdefs.h >>conftest.$ac_ext
 
2778
cat >>conftest.$ac_ext <<_ACEOF
 
2779
/* end confdefs.h.  */
 
2780
 
 
2781
int
 
2782
main ()
 
2783
{
 
2784
 
 
2785
  ;
 
2786
  return 0;
 
2787
}
 
2788
_ACEOF
 
2789
rm -f conftest.$ac_objext
 
2790
if { (ac_try="$ac_compile"
 
2791
case "(($ac_try" in
 
2792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2793
  *) ac_try_echo=$ac_try;;
 
2794
esac
 
2795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2796
  (eval "$ac_compile") 2>conftest.er1
 
2797
  ac_status=$?
 
2798
  grep -v '^ *+' conftest.er1 >conftest.err
 
2799
  rm -f conftest.er1
 
2800
  cat conftest.err >&5
 
2801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2802
  (exit $ac_status); } && {
 
2803
         test -z "$ac_c_werror_flag" ||
 
2804
         test ! -s conftest.err
 
2805
       } && test -s conftest.$ac_objext; then
 
2806
  ac_cv_prog_cc_g=yes
 
2807
else
 
2808
  echo "$as_me: failed program was:" >&5
 
2809
sed 's/^/| /' conftest.$ac_ext >&5
 
2810
 
 
2811
        CFLAGS=""
 
2812
      cat >conftest.$ac_ext <<_ACEOF
 
2813
/* confdefs.h.  */
 
2814
_ACEOF
 
2815
cat confdefs.h >>conftest.$ac_ext
 
2816
cat >>conftest.$ac_ext <<_ACEOF
 
2817
/* end confdefs.h.  */
 
2818
 
 
2819
int
 
2820
main ()
 
2821
{
 
2822
 
 
2823
  ;
 
2824
  return 0;
 
2825
}
 
2826
_ACEOF
 
2827
rm -f conftest.$ac_objext
 
2828
if { (ac_try="$ac_compile"
 
2829
case "(($ac_try" in
 
2830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2831
  *) ac_try_echo=$ac_try;;
 
2832
esac
 
2833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2834
  (eval "$ac_compile") 2>conftest.er1
 
2835
  ac_status=$?
 
2836
  grep -v '^ *+' conftest.er1 >conftest.err
 
2837
  rm -f conftest.er1
 
2838
  cat conftest.err >&5
 
2839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2840
  (exit $ac_status); } && {
 
2841
         test -z "$ac_c_werror_flag" ||
 
2842
         test ! -s conftest.err
 
2843
       } && test -s conftest.$ac_objext; then
 
2844
  :
 
2845
else
 
2846
  echo "$as_me: failed program was:" >&5
 
2847
sed 's/^/| /' conftest.$ac_ext >&5
 
2848
 
 
2849
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2850
         CFLAGS="-g"
 
2851
         cat >conftest.$ac_ext <<_ACEOF
 
2852
/* confdefs.h.  */
 
2853
_ACEOF
 
2854
cat confdefs.h >>conftest.$ac_ext
 
2855
cat >>conftest.$ac_ext <<_ACEOF
 
2856
/* end confdefs.h.  */
 
2857
 
 
2858
int
 
2859
main ()
 
2860
{
 
2861
 
 
2862
  ;
 
2863
  return 0;
 
2864
}
 
2865
_ACEOF
 
2866
rm -f conftest.$ac_objext
 
2867
if { (ac_try="$ac_compile"
 
2868
case "(($ac_try" in
 
2869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2870
  *) ac_try_echo=$ac_try;;
 
2871
esac
 
2872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2873
  (eval "$ac_compile") 2>conftest.er1
 
2874
  ac_status=$?
 
2875
  grep -v '^ *+' conftest.er1 >conftest.err
 
2876
  rm -f conftest.er1
 
2877
  cat conftest.err >&5
 
2878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2879
  (exit $ac_status); } && {
 
2880
         test -z "$ac_c_werror_flag" ||
 
2881
         test ! -s conftest.err
 
2882
       } && test -s conftest.$ac_objext; then
 
2883
  ac_cv_prog_cc_g=yes
 
2884
else
 
2885
  echo "$as_me: failed program was:" >&5
 
2886
sed 's/^/| /' conftest.$ac_ext >&5
 
2887
 
 
2888
 
 
2889
fi
 
2890
 
 
2891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2892
fi
 
2893
 
 
2894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2895
fi
 
2896
 
 
2897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2898
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2899
fi
 
2900
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2901
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2338
2902
if test "$ac_test_CFLAGS" = set; then
2339
2903
  CFLAGS=$ac_save_CFLAGS
2340
2904
elif test $ac_cv_prog_cc_g = yes; then
2350
2914
    CFLAGS=
2351
2915
  fi
2352
2916
fi
2353
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2354
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2355
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2917
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2918
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2919
if test "${ac_cv_prog_cc_c89+set}" = set; then
2356
2920
  echo $ECHO_N "(cached) $ECHO_C" >&6
2357
2921
else
2358
 
  ac_cv_prog_cc_stdc=no
 
2922
  ac_cv_prog_cc_c89=no
2359
2923
ac_save_CC=$CC
2360
2924
cat >conftest.$ac_ext <<_ACEOF
2361
2925
/* confdefs.h.  */
2389
2953
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2390
2954
   function prototypes and stuff, but not '\xHH' hex character constants.
2391
2955
   These don't provoke an error unfortunately, instead are silently treated
2392
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
2956
   as 'x'.  The following induces an error, until -std is added to get
2393
2957
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2394
2958
   array size at least.  It's necessary to write '\x00'==0 to get something
2395
 
   that's true only with -std1.  */
 
2959
   that's true only with -std.  */
2396
2960
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2397
2961
 
 
2962
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
2963
   inside strings and character constants.  */
 
2964
#define FOO(x) 'x'
 
2965
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
2966
 
2398
2967
int test (int i, double x);
2399
2968
struct s1 {int (*f) (int a);};
2400
2969
struct s2 {int (*f) (double a);};
2409
2978
  return 0;
2410
2979
}
2411
2980
_ACEOF
2412
 
# Don't try gcc -ansi; that turns off useful extensions and
2413
 
# breaks some systems' header files.
2414
 
# AIX                   -qlanglvl=ansi
2415
 
# Ultrix and OSF/1      -std1
2416
 
# HP-UX 10.20 and later -Ae
2417
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2418
 
# SVR4                  -Xc -D__EXTENSIONS__
2419
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2981
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
2982
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2420
2983
do
2421
2984
  CC="$ac_save_CC $ac_arg"
2422
2985
  rm -f conftest.$ac_objext
2423
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2424
 
  (eval $ac_compile) 2>conftest.er1
 
2986
if { (ac_try="$ac_compile"
 
2987
case "(($ac_try" in
 
2988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2989
  *) ac_try_echo=$ac_try;;
 
2990
esac
 
2991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2992
  (eval "$ac_compile") 2>conftest.er1
2425
2993
  ac_status=$?
2426
2994
  grep -v '^ *+' conftest.er1 >conftest.err
2427
2995
  rm -f conftest.er1
2428
2996
  cat conftest.err >&5
2429
2997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430
 
  (exit $ac_status); } &&
2431
 
         { ac_try='test -z "$ac_c_werror_flag"
2432
 
                         || test ! -s conftest.err'
2433
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434
 
  (eval $ac_try) 2>&5
2435
 
  ac_status=$?
2436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437
 
  (exit $ac_status); }; } &&
2438
 
         { ac_try='test -s conftest.$ac_objext'
2439
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440
 
  (eval $ac_try) 2>&5
2441
 
  ac_status=$?
2442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443
 
  (exit $ac_status); }; }; then
2444
 
  ac_cv_prog_cc_stdc=$ac_arg
2445
 
break
 
2998
  (exit $ac_status); } && {
 
2999
         test -z "$ac_c_werror_flag" ||
 
3000
         test ! -s conftest.err
 
3001
       } && test -s conftest.$ac_objext; then
 
3002
  ac_cv_prog_cc_c89=$ac_arg
2446
3003
else
2447
3004
  echo "$as_me: failed program was:" >&5
2448
3005
sed 's/^/| /' conftest.$ac_ext >&5
2449
3006
 
 
3007
 
2450
3008
fi
2451
 
rm -f conftest.err conftest.$ac_objext
 
3009
 
 
3010
rm -f core conftest.err conftest.$ac_objext
 
3011
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2452
3012
done
2453
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3013
rm -f conftest.$ac_ext
2454
3014
CC=$ac_save_CC
2455
3015
 
2456
3016
fi
2457
 
 
2458
 
case "x$ac_cv_prog_cc_stdc" in
2459
 
  x|xno)
2460
 
    echo "$as_me:$LINENO: result: none needed" >&5
2461
 
echo "${ECHO_T}none needed" >&6 ;;
 
3017
# AC_CACHE_VAL
 
3018
case "x$ac_cv_prog_cc_c89" in
 
3019
  x)
 
3020
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3021
echo "${ECHO_T}none needed" >&6; } ;;
 
3022
  xno)
 
3023
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3024
echo "${ECHO_T}unsupported" >&6; } ;;
2462
3025
  *)
2463
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2464
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2465
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3026
    CC="$CC $ac_cv_prog_cc_c89"
 
3027
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3028
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2466
3029
esac
2467
3030
 
2468
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2469
 
# in C++ we need to declare it.  In case someone uses the same compiler
2470
 
# for both compiling C and C++ we need to have the C++ compiler decide
2471
 
# the declaration of exit, since it's the most demanding environment.
2472
 
cat >conftest.$ac_ext <<_ACEOF
2473
 
#ifndef __cplusplus
2474
 
  choke me
2475
 
#endif
2476
 
_ACEOF
2477
 
rm -f conftest.$ac_objext
2478
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2479
 
  (eval $ac_compile) 2>conftest.er1
2480
 
  ac_status=$?
2481
 
  grep -v '^ *+' conftest.er1 >conftest.err
2482
 
  rm -f conftest.er1
2483
 
  cat conftest.err >&5
2484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485
 
  (exit $ac_status); } &&
2486
 
         { ac_try='test -z "$ac_c_werror_flag"
2487
 
                         || test ! -s conftest.err'
2488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489
 
  (eval $ac_try) 2>&5
2490
 
  ac_status=$?
2491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492
 
  (exit $ac_status); }; } &&
2493
 
         { ac_try='test -s conftest.$ac_objext'
2494
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495
 
  (eval $ac_try) 2>&5
2496
 
  ac_status=$?
2497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498
 
  (exit $ac_status); }; }; then
2499
 
  for ac_declaration in \
2500
 
   '' \
2501
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2502
 
   'extern "C" void std::exit (int); using std::exit;' \
2503
 
   'extern "C" void exit (int) throw ();' \
2504
 
   'extern "C" void exit (int);' \
2505
 
   'void exit (int);'
2506
 
do
2507
 
  cat >conftest.$ac_ext <<_ACEOF
2508
 
/* confdefs.h.  */
2509
 
_ACEOF
2510
 
cat confdefs.h >>conftest.$ac_ext
2511
 
cat >>conftest.$ac_ext <<_ACEOF
2512
 
/* end confdefs.h.  */
2513
 
$ac_declaration
2514
 
#include <stdlib.h>
2515
 
int
2516
 
main ()
2517
 
{
2518
 
exit (42);
2519
 
  ;
2520
 
  return 0;
2521
 
}
2522
 
_ACEOF
2523
 
rm -f conftest.$ac_objext
2524
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2525
 
  (eval $ac_compile) 2>conftest.er1
2526
 
  ac_status=$?
2527
 
  grep -v '^ *+' conftest.er1 >conftest.err
2528
 
  rm -f conftest.er1
2529
 
  cat conftest.err >&5
2530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531
 
  (exit $ac_status); } &&
2532
 
         { ac_try='test -z "$ac_c_werror_flag"
2533
 
                         || test ! -s conftest.err'
2534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535
 
  (eval $ac_try) 2>&5
2536
 
  ac_status=$?
2537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538
 
  (exit $ac_status); }; } &&
2539
 
         { ac_try='test -s conftest.$ac_objext'
2540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541
 
  (eval $ac_try) 2>&5
2542
 
  ac_status=$?
2543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544
 
  (exit $ac_status); }; }; then
2545
 
  :
2546
 
else
2547
 
  echo "$as_me: failed program was:" >&5
2548
 
sed 's/^/| /' conftest.$ac_ext >&5
2549
 
 
2550
 
continue
2551
 
fi
2552
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2553
 
  cat >conftest.$ac_ext <<_ACEOF
2554
 
/* confdefs.h.  */
2555
 
_ACEOF
2556
 
cat confdefs.h >>conftest.$ac_ext
2557
 
cat >>conftest.$ac_ext <<_ACEOF
2558
 
/* end confdefs.h.  */
2559
 
$ac_declaration
2560
 
int
2561
 
main ()
2562
 
{
2563
 
exit (42);
2564
 
  ;
2565
 
  return 0;
2566
 
}
2567
 
_ACEOF
2568
 
rm -f conftest.$ac_objext
2569
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2570
 
  (eval $ac_compile) 2>conftest.er1
2571
 
  ac_status=$?
2572
 
  grep -v '^ *+' conftest.er1 >conftest.err
2573
 
  rm -f conftest.er1
2574
 
  cat conftest.err >&5
2575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
 
  (exit $ac_status); } &&
2577
 
         { ac_try='test -z "$ac_c_werror_flag"
2578
 
                         || test ! -s conftest.err'
2579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580
 
  (eval $ac_try) 2>&5
2581
 
  ac_status=$?
2582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
 
  (exit $ac_status); }; } &&
2584
 
         { ac_try='test -s conftest.$ac_objext'
2585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586
 
  (eval $ac_try) 2>&5
2587
 
  ac_status=$?
2588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
 
  (exit $ac_status); }; }; then
2590
 
  break
2591
 
else
2592
 
  echo "$as_me: failed program was:" >&5
2593
 
sed 's/^/| /' conftest.$ac_ext >&5
2594
 
 
2595
 
fi
2596
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2597
 
done
2598
 
rm -f conftest*
2599
 
if test -n "$ac_declaration"; then
2600
 
  echo '#ifdef __cplusplus' >>confdefs.h
2601
 
  echo $ac_declaration      >>confdefs.h
2602
 
  echo '#endif'             >>confdefs.h
2603
 
fi
2604
 
 
2605
 
else
2606
 
  echo "$as_me: failed program was:" >&5
2607
 
sed 's/^/| /' conftest.$ac_ext >&5
2608
 
 
2609
 
fi
2610
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3031
 
2611
3032
ac_ext=c
2612
3033
ac_cpp='$CPP $CPPFLAGS'
2613
3034
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615
3036
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2616
3037
DEPDIR="${am__leading_dot}deps"
2617
3038
 
2618
 
          ac_config_commands="$ac_config_commands depfiles"
 
3039
ac_config_commands="$ac_config_commands depfiles"
2619
3040
 
2620
3041
 
2621
3042
am_make=${MAKE-make}
2625
3046
.PHONY: am__doit
2626
3047
END
2627
3048
# If we don't find an include directive, just comment out the code.
2628
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2629
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3049
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3050
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2630
3051
am__include="#"
2631
3052
am__quote=
2632
3053
_am_result=none
2653
3074
fi
2654
3075
 
2655
3076
 
2656
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2657
 
echo "${ECHO_T}$_am_result" >&6
 
3077
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3078
echo "${ECHO_T}$_am_result" >&6; }
2658
3079
rm -f confinc confmf
2659
3080
 
2660
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3081
# Check whether --enable-dependency-tracking was given.
2661
3082
if test "${enable_dependency_tracking+set}" = set; then
2662
 
  enableval="$enable_dependency_tracking"
 
3083
  enableval=$enable_dependency_tracking;
 
3084
fi
2663
3085
 
2664
 
fi;
2665
3086
if test "x$enable_dependency_tracking" != xno; then
2666
3087
  am_depcomp="$ac_aux_dir/depcomp"
2667
3088
  AMDEPBACKSLASH='\'
2681
3102
 
2682
3103
depcc="$CC"   am_compiler_list=
2683
3104
 
2684
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2685
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3105
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3106
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2686
3107
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2687
3108
  echo $ECHO_N "(cached) $ECHO_C" >&6
2688
3109
else
2764
3185
fi
2765
3186
 
2766
3187
fi
2767
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2768
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3188
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3189
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2769
3190
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2770
3191
 
2771
3192
 
2794
3215
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2795
3216
# OS/2's system install, which has a completely different semantic
2796
3217
# ./install, which can be erroneously created by make from ./install.sh.
2797
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2798
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
3218
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3219
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2799
3220
if test -z "$INSTALL"; then
2800
3221
if test "${ac_cv_path_install+set}" = set; then
2801
3222
  echo $ECHO_N "(cached) $ECHO_C" >&6
2817
3238
    # by default.
2818
3239
    for ac_prog in ginstall scoinst install; do
2819
3240
      for ac_exec_ext in '' $ac_executable_extensions; do
2820
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
3241
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2821
3242
          if test $ac_prog = install &&
2822
3243
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2823
3244
            # AIX install.  It has an incompatible calling convention.
2836
3257
    ;;
2837
3258
esac
2838
3259
done
 
3260
IFS=$as_save_IFS
2839
3261
 
2840
3262
 
2841
3263
fi
2842
3264
  if test "${ac_cv_path_install+set}" = set; then
2843
3265
    INSTALL=$ac_cv_path_install
2844
3266
  else
2845
 
    # As a last resort, use the slow shell script.  We don't cache a
2846
 
    # path for INSTALL within a source directory, because that will
 
3267
    # As a last resort, use the slow shell script.  Don't cache a
 
3268
    # value for INSTALL within a source directory, because that will
2847
3269
    # break other packages using the cache if that directory is
2848
 
    # removed, or if the path is relative.
 
3270
    # removed, or if the value is a relative name.
2849
3271
    INSTALL=$ac_install_sh
2850
3272
  fi
2851
3273
fi
2852
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
2853
 
echo "${ECHO_T}$INSTALL" >&6
 
3274
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3275
echo "${ECHO_T}$INSTALL" >&6; }
2854
3276
 
2855
3277
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2856
3278
# It thinks the first close brace ends the variable substitution.
2876
3298
 
2877
3299
 
2878
3300
 
2879
 
# Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
 
3301
# Check whether --with-separate-debug-dir was given.
2880
3302
if test "${with_separate_debug_dir+set}" = set; then
2881
 
  withval="$with_separate_debug_dir"
2882
 
  debugdir="${withval}"
2883
 
fi;
 
3303
  withval=$with_separate_debug_dir; debugdir="${withval}"
 
3304
fi
 
3305
 
2884
3306
 
2885
3307
 
2886
3308
  test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2894
3316
 
2895
3317
 
2896
3318
 
2897
 
# Check whether --enable-kernel-module or --disable-kernel-module was given.
 
3319
# Check whether --enable-kernel-module was given.
2898
3320
if test "${enable_kernel_module+set}" = set; then
2899
 
  enableval="$enable_kernel_module"
 
3321
  enableval=$enable_kernel_module;
 
3322
fi
2900
3323
 
2901
 
fi;
2902
3324
 
2903
3325
kernel_module="yes"
2904
3326
if test "x$enableval" = "xno"; then
2940
3362
        if test -n "$ac_tool_prefix"; then
2941
3363
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2942
3364
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2943
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2944
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3365
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3366
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2945
3367
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2946
3368
  echo $ECHO_N "(cached) $ECHO_C" >&6
2947
3369
else
2956
3378
  IFS=$as_save_IFS
2957
3379
  test -z "$as_dir" && as_dir=.
2958
3380
  for ac_exec_ext in '' $ac_executable_extensions; do
2959
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960
3382
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2961
3383
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2962
3384
    break 2
2963
3385
  fi
2964
3386
done
2965
3387
done
 
3388
IFS=$as_save_IFS
2966
3389
 
2967
3390
  ;;
2968
3391
esac
2969
3392
fi
2970
3393
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2971
 
 
2972
3394
if test -n "$PKG_CONFIG"; then
2973
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2974
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
3395
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
3396
echo "${ECHO_T}$PKG_CONFIG" >&6; }
2975
3397
else
2976
 
  echo "$as_me:$LINENO: result: no" >&5
2977
 
echo "${ECHO_T}no" >&6
 
3398
  { echo "$as_me:$LINENO: result: no" >&5
 
3399
echo "${ECHO_T}no" >&6; }
2978
3400
fi
 
3401
 
2979
3402
 
2980
3403
fi
2981
3404
if test -z "$ac_cv_path_PKG_CONFIG"; then
2982
3405
  ac_pt_PKG_CONFIG=$PKG_CONFIG
2983
3406
  # Extract the first word of "pkg-config", so it can be a program name with args.
2984
3407
set dummy pkg-config; ac_word=$2
2985
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2986
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3408
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3409
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2987
3410
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2988
3411
  echo $ECHO_N "(cached) $ECHO_C" >&6
2989
3412
else
2998
3421
  IFS=$as_save_IFS
2999
3422
  test -z "$as_dir" && as_dir=.
3000
3423
  for ac_exec_ext in '' $ac_executable_extensions; do
3001
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3424
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002
3425
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3003
3426
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3004
3427
    break 2
3005
3428
  fi
3006
3429
done
3007
3430
done
 
3431
IFS=$as_save_IFS
3008
3432
 
3009
3433
  ;;
3010
3434
esac
3011
3435
fi
3012
3436
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3013
 
 
3014
3437
if test -n "$ac_pt_PKG_CONFIG"; then
3015
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3016
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
3438
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
3439
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3017
3440
else
3018
 
  echo "$as_me:$LINENO: result: no" >&5
3019
 
echo "${ECHO_T}no" >&6
 
3441
  { echo "$as_me:$LINENO: result: no" >&5
 
3442
echo "${ECHO_T}no" >&6; }
3020
3443
fi
3021
3444
 
3022
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
3445
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
3446
    PKG_CONFIG=""
 
3447
  else
 
3448
    case $cross_compiling:$ac_tool_warned in
 
3449
yes:)
 
3450
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3451
whose name does not start with the host triplet.  If you think this
 
3452
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3453
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3454
whose name does not start with the host triplet.  If you think this
 
3455
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3456
ac_tool_warned=yes ;;
 
3457
esac
 
3458
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
3459
  fi
3023
3460
else
3024
3461
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3025
3462
fi
3027
3464
fi
3028
3465
if test -n "$PKG_CONFIG"; then
3029
3466
        _pkg_min_version=0.9.0
3030
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3031
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
3467
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
3468
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3032
3469
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3033
 
                echo "$as_me:$LINENO: result: yes" >&5
3034
 
echo "${ECHO_T}yes" >&6
 
3470
                { echo "$as_me:$LINENO: result: yes" >&5
 
3471
echo "${ECHO_T}yes" >&6; }
3035
3472
        else
3036
 
                echo "$as_me:$LINENO: result: no" >&5
3037
 
echo "${ECHO_T}no" >&6
 
3473
                { echo "$as_me:$LINENO: result: no" >&5
 
3474
echo "${ECHO_T}no" >&6; }
3038
3475
                PKG_CONFIG=""
3039
3476
        fi
3040
3477
 
3041
3478
fi
3042
3479
 
3043
3480
pkg_failed=no
3044
 
echo "$as_me:$LINENO: checking for DEP" >&5
3045
 
echo $ECHO_N "checking for DEP... $ECHO_C" >&6
 
3481
{ echo "$as_me:$LINENO: checking for DEP" >&5
 
3482
echo $ECHO_N "checking for DEP... $ECHO_C" >&6; }
3046
3483
 
3047
3484
if test -n "$PKG_CONFIG"; then
3048
3485
    if test -n "$DEP_CFLAGS"; then
3098
3535
        # Put the nasty error message in config.log where it belongs
3099
3536
        echo "$DEP_PKG_ERRORS" >&5
3100
3537
 
3101
 
        echo "$as_me:$LINENO: result: no" >&5
3102
 
echo "${ECHO_T}no" >&6
 
3538
        { echo "$as_me:$LINENO: result: no" >&5
 
3539
echo "${ECHO_T}no" >&6; }
3103
3540
                { { echo "$as_me:$LINENO: error: sysprof dependencies not satisfied" >&5
3104
3541
echo "$as_me: error: sysprof dependencies not satisfied" >&2;}
3105
3542
   { (exit 1); exit 1; }; }
3110
3547
else
3111
3548
        DEP_CFLAGS=$pkg_cv_DEP_CFLAGS
3112
3549
        DEP_LIBS=$pkg_cv_DEP_LIBS
3113
 
        echo "$as_me:$LINENO: result: yes" >&5
3114
 
echo "${ECHO_T}yes" >&6
 
3550
        { echo "$as_me:$LINENO: result: yes" >&5
 
3551
echo "${ECHO_T}yes" >&6; }
3115
3552
        :
3116
3553
fi
3117
3554
 
3118
3555
# libiberty and libbfd
3119
3556
 
3120
 
echo "$as_me:$LINENO: checking for cplus_demangle in -liberty" >&5
3121
 
echo $ECHO_N "checking for cplus_demangle in -liberty... $ECHO_C" >&6
 
3557
{ echo "$as_me:$LINENO: checking for cplus_demangle in -liberty" >&5
 
3558
echo $ECHO_N "checking for cplus_demangle in -liberty... $ECHO_C" >&6; }
3122
3559
if test "${ac_cv_lib_iberty_cplus_demangle+set}" = set; then
3123
3560
  echo $ECHO_N "(cached) $ECHO_C" >&6
3124
3561
else
3131
3568
cat >>conftest.$ac_ext <<_ACEOF
3132
3569
/* end confdefs.h.  */
3133
3570
 
3134
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3571
/* Override any GCC internal prototype to avoid an error.
 
3572
   Use char because int might match the return type of a GCC
 
3573
   builtin and then its argument prototype would still apply.  */
3135
3574
#ifdef __cplusplus
3136
3575
extern "C"
3137
3576
#endif
3138
 
/* We use char because int might match the return type of a gcc2
3139
 
   builtin and then its argument prototype would still apply.  */
3140
3577
char cplus_demangle ();
3141
3578
int
3142
3579
main ()
3143
3580
{
3144
 
cplus_demangle ();
 
3581
return cplus_demangle ();
3145
3582
  ;
3146
3583
  return 0;
3147
3584
}
3148
3585
_ACEOF
3149
3586
rm -f conftest.$ac_objext conftest$ac_exeext
3150
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3151
 
  (eval $ac_link) 2>conftest.er1
 
3587
if { (ac_try="$ac_link"
 
3588
case "(($ac_try" in
 
3589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3590
  *) ac_try_echo=$ac_try;;
 
3591
esac
 
3592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3593
  (eval "$ac_link") 2>conftest.er1
3152
3594
  ac_status=$?
3153
3595
  grep -v '^ *+' conftest.er1 >conftest.err
3154
3596
  rm -f conftest.er1
3155
3597
  cat conftest.err >&5
3156
3598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
 
  (exit $ac_status); } &&
3158
 
         { ac_try='test -z "$ac_c_werror_flag"
3159
 
                         || test ! -s conftest.err'
3160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161
 
  (eval $ac_try) 2>&5
3162
 
  ac_status=$?
3163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164
 
  (exit $ac_status); }; } &&
3165
 
         { ac_try='test -s conftest$ac_exeext'
3166
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167
 
  (eval $ac_try) 2>&5
3168
 
  ac_status=$?
3169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170
 
  (exit $ac_status); }; }; then
 
3599
  (exit $ac_status); } && {
 
3600
         test -z "$ac_c_werror_flag" ||
 
3601
         test ! -s conftest.err
 
3602
       } && test -s conftest$ac_exeext &&
 
3603
       $as_test_x conftest$ac_exeext; then
3171
3604
  ac_cv_lib_iberty_cplus_demangle=yes
3172
3605
else
3173
3606
  echo "$as_me: failed program was:" >&5
3174
3607
sed 's/^/| /' conftest.$ac_ext >&5
3175
3608
 
3176
 
ac_cv_lib_iberty_cplus_demangle=no
 
3609
        ac_cv_lib_iberty_cplus_demangle=no
3177
3610
fi
3178
 
rm -f conftest.err conftest.$ac_objext \
 
3611
 
 
3612
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3179
3613
      conftest$ac_exeext conftest.$ac_ext
3180
3614
LIBS=$ac_check_lib_save_LIBS
3181
3615
fi
3182
 
echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_cplus_demangle" >&5
3183
 
echo "${ECHO_T}$ac_cv_lib_iberty_cplus_demangle" >&6
 
3616
{ echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_cplus_demangle" >&5
 
3617
echo "${ECHO_T}$ac_cv_lib_iberty_cplus_demangle" >&6; }
3184
3618
if test $ac_cv_lib_iberty_cplus_demangle = yes; then
3185
3619
  :
3186
3620
else
3187
3621
 
3188
 
echo "$as_me:$LINENO: checking for cplus_demangle_opname in -liberty" >&5
3189
 
echo $ECHO_N "checking for cplus_demangle_opname in -liberty... $ECHO_C" >&6
 
3622
{ echo "$as_me:$LINENO: checking for cplus_demangle_opname in -liberty" >&5
 
3623
echo $ECHO_N "checking for cplus_demangle_opname in -liberty... $ECHO_C" >&6; }
3190
3624
if test "${ac_cv_lib_iberty_cplus_demangle_opname+set}" = set; then
3191
3625
  echo $ECHO_N "(cached) $ECHO_C" >&6
3192
3626
else
3200
3634
cat >>conftest.$ac_ext <<_ACEOF
3201
3635
/* end confdefs.h.  */
3202
3636
 
3203
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3637
/* Override any GCC internal prototype to avoid an error.
 
3638
   Use char because int might match the return type of a GCC
 
3639
   builtin and then its argument prototype would still apply.  */
3204
3640
#ifdef __cplusplus
3205
3641
extern "C"
3206
3642
#endif
3207
 
/* We use char because int might match the return type of a gcc2
3208
 
   builtin and then its argument prototype would still apply.  */
3209
3643
char cplus_demangle_opname ();
3210
3644
int
3211
3645
main ()
3212
3646
{
3213
 
cplus_demangle_opname ();
 
3647
return cplus_demangle_opname ();
3214
3648
  ;
3215
3649
  return 0;
3216
3650
}
3217
3651
_ACEOF
3218
3652
rm -f conftest.$ac_objext conftest$ac_exeext
3219
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3220
 
  (eval $ac_link) 2>conftest.er1
 
3653
if { (ac_try="$ac_link"
 
3654
case "(($ac_try" in
 
3655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3656
  *) ac_try_echo=$ac_try;;
 
3657
esac
 
3658
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3659
  (eval "$ac_link") 2>conftest.er1
3221
3660
  ac_status=$?
3222
3661
  grep -v '^ *+' conftest.er1 >conftest.err
3223
3662
  rm -f conftest.er1
3224
3663
  cat conftest.err >&5
3225
3664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226
 
  (exit $ac_status); } &&
3227
 
         { ac_try='test -z "$ac_c_werror_flag"
3228
 
                         || test ! -s conftest.err'
3229
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230
 
  (eval $ac_try) 2>&5
3231
 
  ac_status=$?
3232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233
 
  (exit $ac_status); }; } &&
3234
 
         { ac_try='test -s conftest$ac_exeext'
3235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236
 
  (eval $ac_try) 2>&5
3237
 
  ac_status=$?
3238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239
 
  (exit $ac_status); }; }; then
 
3665
  (exit $ac_status); } && {
 
3666
         test -z "$ac_c_werror_flag" ||
 
3667
         test ! -s conftest.err
 
3668
       } && test -s conftest$ac_exeext &&
 
3669
       $as_test_x conftest$ac_exeext; then
3240
3670
  ac_cv_lib_iberty_cplus_demangle_opname=yes
3241
3671
else
3242
3672
  echo "$as_me: failed program was:" >&5
3243
3673
sed 's/^/| /' conftest.$ac_ext >&5
3244
3674
 
3245
 
ac_cv_lib_iberty_cplus_demangle_opname=no
 
3675
        ac_cv_lib_iberty_cplus_demangle_opname=no
3246
3676
fi
3247
 
rm -f conftest.err conftest.$ac_objext \
 
3677
 
 
3678
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3248
3679
      conftest$ac_exeext conftest.$ac_ext
3249
3680
LIBS=$ac_check_lib_save_LIBS
3250
3681
fi
3251
 
echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_cplus_demangle_opname" >&5
3252
 
echo "${ECHO_T}$ac_cv_lib_iberty_cplus_demangle_opname" >&6
 
3682
{ echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_cplus_demangle_opname" >&5
 
3683
echo "${ECHO_T}$ac_cv_lib_iberty_cplus_demangle_opname" >&6; }
3253
3684
if test $ac_cv_lib_iberty_cplus_demangle_opname = yes; then
3254
3685
  cat >>confdefs.h <<_ACEOF
3255
3686
#define HAVE_LIBIBERTY 1
3266
3697
fi
3267
3698
 
3268
3699
 
3269
 
echo "$as_me:$LINENO: checking for bfd_get_error in -lbfd" >&5
3270
 
echo $ECHO_N "checking for bfd_get_error in -lbfd... $ECHO_C" >&6
 
3700
{ echo "$as_me:$LINENO: checking for bfd_get_error in -lbfd" >&5
 
3701
echo $ECHO_N "checking for bfd_get_error in -lbfd... $ECHO_C" >&6; }
3271
3702
if test "${ac_cv_lib_bfd_bfd_get_error+set}" = set; then
3272
3703
  echo $ECHO_N "(cached) $ECHO_C" >&6
3273
3704
else
3280
3711
cat >>conftest.$ac_ext <<_ACEOF
3281
3712
/* end confdefs.h.  */
3282
3713
 
3283
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3714
/* Override any GCC internal prototype to avoid an error.
 
3715
   Use char because int might match the return type of a GCC
 
3716
   builtin and then its argument prototype would still apply.  */
3284
3717
#ifdef __cplusplus
3285
3718
extern "C"
3286
3719
#endif
3287
 
/* We use char because int might match the return type of a gcc2
3288
 
   builtin and then its argument prototype would still apply.  */
3289
3720
char bfd_get_error ();
3290
3721
int
3291
3722
main ()
3292
3723
{
3293
 
bfd_get_error ();
 
3724
return bfd_get_error ();
3294
3725
  ;
3295
3726
  return 0;
3296
3727
}
3297
3728
_ACEOF
3298
3729
rm -f conftest.$ac_objext conftest$ac_exeext
3299
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3300
 
  (eval $ac_link) 2>conftest.er1
 
3730
if { (ac_try="$ac_link"
 
3731
case "(($ac_try" in
 
3732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3733
  *) ac_try_echo=$ac_try;;
 
3734
esac
 
3735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3736
  (eval "$ac_link") 2>conftest.er1
3301
3737
  ac_status=$?
3302
3738
  grep -v '^ *+' conftest.er1 >conftest.err
3303
3739
  rm -f conftest.er1
3304
3740
  cat conftest.err >&5
3305
3741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306
 
  (exit $ac_status); } &&
3307
 
         { ac_try='test -z "$ac_c_werror_flag"
3308
 
                         || test ! -s conftest.err'
3309
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310
 
  (eval $ac_try) 2>&5
3311
 
  ac_status=$?
3312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313
 
  (exit $ac_status); }; } &&
3314
 
         { ac_try='test -s conftest$ac_exeext'
3315
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3316
 
  (eval $ac_try) 2>&5
3317
 
  ac_status=$?
3318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319
 
  (exit $ac_status); }; }; then
 
3742
  (exit $ac_status); } && {
 
3743
         test -z "$ac_c_werror_flag" ||
 
3744
         test ! -s conftest.err
 
3745
       } && test -s conftest$ac_exeext &&
 
3746
       $as_test_x conftest$ac_exeext; then
3320
3747
  ac_cv_lib_bfd_bfd_get_error=yes
3321
3748
else
3322
3749
  echo "$as_me: failed program was:" >&5
3323
3750
sed 's/^/| /' conftest.$ac_ext >&5
3324
3751
 
3325
 
ac_cv_lib_bfd_bfd_get_error=no
 
3752
        ac_cv_lib_bfd_bfd_get_error=no
3326
3753
fi
3327
 
rm -f conftest.err conftest.$ac_objext \
 
3754
 
 
3755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3328
3756
      conftest$ac_exeext conftest.$ac_ext
3329
3757
LIBS=$ac_check_lib_save_LIBS
3330
3758
fi
3331
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_get_error" >&5
3332
 
echo "${ECHO_T}$ac_cv_lib_bfd_bfd_get_error" >&6
 
3759
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_get_error" >&5
 
3760
echo "${ECHO_T}$ac_cv_lib_bfd_bfd_get_error" >&6; }
3333
3761
if test $ac_cv_lib_bfd_bfd_get_error = yes; then
3334
3762
  DEP_LIBS="$DEP_LIBS -lbfd -liberty"
3335
3763
else
3345
3773
 
3346
3774
 
3347
3775
 
3348
 
          ac_config_files="$ac_config_files Makefile"
 
3776
ac_config_files="$ac_config_files Makefile"
3349
3777
 
3350
3778
 
3351
3779
cat >confcache <<\_ACEOF
3366
3794
 
3367
3795
# The following way of writing the cache mishandles newlines in values,
3368
3796
# but we know of no workaround that is simple, portable, and efficient.
3369
 
# So, don't put newlines in cache variables' values.
 
3797
# So, we kill variables containing newlines.
3370
3798
# Ultrix sh set writes to stderr and can't be redirected directly,
3371
3799
# and sets the high bit in the cache file unless we assign to the vars.
3372
 
{
 
3800
(
 
3801
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
3802
    eval ac_val=\$$ac_var
 
3803
    case $ac_val in #(
 
3804
    *${as_nl}*)
 
3805
      case $ac_var in #(
 
3806
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
3807
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
3808
      esac
 
3809
      case $ac_var in #(
 
3810
      _ | IFS | as_nl) ;; #(
 
3811
      *) $as_unset $ac_var ;;
 
3812
      esac ;;
 
3813
    esac
 
3814
  done
 
3815
 
3373
3816
  (set) 2>&1 |
3374
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3375
 
    *ac_space=\ *)
 
3817
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
3818
    *${as_nl}ac_space=\ *)
3376
3819
      # `set' does not quote correctly, so add quotes (double-quote
3377
3820
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3378
3821
      sed -n \
3379
3822
        "s/'/'\\\\''/g;
3380
3823
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3381
 
      ;;
 
3824
      ;; #(
3382
3825
    *)
3383
3826
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3384
 
      sed -n \
3385
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3827
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3386
3828
      ;;
3387
 
    esac;
3388
 
} |
 
3829
    esac |
 
3830
    sort
 
3831
) |
3389
3832
  sed '
 
3833
     /^ac_cv_env_/b end
3390
3834
     t clear
3391
 
     : clear
 
3835
     :clear
3392
3836
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3393
3837
     t end
3394
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3395
 
     : end' >>confcache
3396
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3397
 
  if test -w $cache_file; then
3398
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
3838
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3839
     :end' >>confcache
 
3840
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
3841
  if test -w "$cache_file"; then
 
3842
    test "x$cache_file" != "x/dev/null" &&
 
3843
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
3844
echo "$as_me: updating cache $cache_file" >&6;}
3399
3845
    cat confcache >$cache_file
3400
3846
  else
3401
 
    echo "not updating unwritable cache $cache_file"
 
3847
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
3848
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3402
3849
  fi
3403
3850
fi
3404
3851
rm -f confcache
3407
3854
# Let make expand exec_prefix.
3408
3855
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3409
3856
 
3410
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3411
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3412
 
# trailing colons and then remove the whole line if VPATH becomes empty
3413
 
# (actually we leave an empty line to preserve line numbers).
3414
 
if test "x$srcdir" = x.; then
3415
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3416
 
s/:*\$(srcdir):*/:/;
3417
 
s/:*\${srcdir}:*/:/;
3418
 
s/:*@srcdir@:*/:/;
3419
 
s/^\([^=]*=[     ]*\):*/\1/;
3420
 
s/:*$//;
3421
 
s/^[^=]*=[       ]*$//;
3422
 
}'
3423
 
fi
3424
 
 
3425
3857
DEFS=-DHAVE_CONFIG_H
3426
3858
 
3427
3859
ac_libobjs=
3428
3860
ac_ltlibobjs=
3429
3861
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3430
3862
  # 1. Remove the extension, and $U if already installed.
3431
 
  ac_i=`echo "$ac_i" |
3432
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3433
 
  # 2. Add them.
3434
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3435
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3863
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
3864
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
3865
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
3866
  #    will be set to the directory where LIBOBJS objects are built.
 
3867
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
3868
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3436
3869
done
3437
3870
LIBOBJS=$ac_libobjs
3438
3871
 
3477
3910
## M4sh Initialization.  ##
3478
3911
## --------------------- ##
3479
3912
 
3480
 
# Be Bourne compatible
 
3913
# Be more Bourne compatible
 
3914
DUALCASE=1; export DUALCASE # for MKS sh
3481
3915
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3482
3916
  emulate sh
3483
3917
  NULLCMD=:
3484
3918
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3485
3919
  # is contrary to our usage.  Disable this feature.
3486
3920
  alias -g '${1+"$@"}'='"$@"'
3487
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3488
 
  set -o posix
3489
 
fi
3490
 
DUALCASE=1; export DUALCASE # for MKS sh
 
3921
  setopt NO_GLOB_SUBST
 
3922
else
 
3923
  case `(set -o) 2>/dev/null` in
 
3924
  *posix*) set -o posix ;;
 
3925
esac
 
3926
 
 
3927
fi
 
3928
 
 
3929
 
 
3930
 
 
3931
 
 
3932
# PATH needs CR
 
3933
# Avoid depending upon Character Ranges.
 
3934
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3935
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3936
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3937
as_cr_digits='0123456789'
 
3938
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
3939
 
 
3940
# The user is always right.
 
3941
if test "${PATH_SEPARATOR+set}" != set; then
 
3942
  echo "#! /bin/sh" >conf$$.sh
 
3943
  echo  "exit 0"   >>conf$$.sh
 
3944
  chmod +x conf$$.sh
 
3945
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
3946
    PATH_SEPARATOR=';'
 
3947
  else
 
3948
    PATH_SEPARATOR=:
 
3949
  fi
 
3950
  rm -f conf$$.sh
 
3951
fi
3491
3952
 
3492
3953
# Support unset when possible.
3493
3954
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3497
3958
fi
3498
3959
 
3499
3960
 
 
3961
# IFS
 
3962
# We need space, tab and new line, in precisely that order.  Quoting is
 
3963
# there to prevent editors from complaining about space-tab.
 
3964
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
3965
# splitting by setting IFS to empty value.)
 
3966
as_nl='
 
3967
'
 
3968
IFS=" ""        $as_nl"
 
3969
 
 
3970
# Find who we are.  Look in the path if we contain no directory separator.
 
3971
case $0 in
 
3972
  *[\\/]* ) as_myself=$0 ;;
 
3973
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3974
for as_dir in $PATH
 
3975
do
 
3976
  IFS=$as_save_IFS
 
3977
  test -z "$as_dir" && as_dir=.
 
3978
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3979
done
 
3980
IFS=$as_save_IFS
 
3981
 
 
3982
     ;;
 
3983
esac
 
3984
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
3985
# in which case we are not to be found in the path.
 
3986
if test "x$as_myself" = x; then
 
3987
  as_myself=$0
 
3988
fi
 
3989
if test ! -f "$as_myself"; then
 
3990
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
3991
  { (exit 1); exit 1; }
 
3992
fi
 
3993
 
3500
3994
# Work around bugs in pre-3.0 UWIN ksh.
3501
 
$as_unset ENV MAIL MAILPATH
 
3995
for as_var in ENV MAIL MAILPATH
 
3996
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
3997
done
3502
3998
PS1='$ '
3503
3999
PS2='> '
3504
4000
PS4='+ '
3512
4008
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3513
4009
    eval $as_var=C; export $as_var
3514
4010
  else
3515
 
    $as_unset $as_var
 
4011
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3516
4012
  fi
3517
4013
done
3518
4014
 
3519
4015
# Required to use basename.
3520
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4016
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4017
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3521
4018
  as_expr=expr
3522
4019
else
3523
4020
  as_expr=false
3524
4021
fi
3525
4022
 
3526
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
4023
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3527
4024
  as_basename=basename
3528
4025
else
3529
4026
  as_basename=false
3531
4028
 
3532
4029
 
3533
4030
# Name of the executable.
3534
 
as_me=`$as_basename "$0" ||
 
4031
as_me=`$as_basename -- "$0" ||
3535
4032
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3536
4033
         X"$0" : 'X\(//\)$' \| \
3537
 
         X"$0" : 'X\(/\)$' \| \
3538
 
         .     : '\(.\)' 2>/dev/null ||
 
4034
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3539
4035
echo X/"$0" |
3540
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3541
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
3542
 
          /^X\/\(\/\).*/{ s//\1/; q; }
3543
 
          s/.*/./; q'`
3544
 
 
3545
 
 
3546
 
# PATH needs CR, and LINENO needs CR and PATH.
3547
 
# Avoid depending upon Character Ranges.
3548
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3549
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3550
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3551
 
as_cr_digits='0123456789'
3552
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
3553
 
 
3554
 
# The user is always right.
3555
 
if test "${PATH_SEPARATOR+set}" != set; then
3556
 
  echo "#! /bin/sh" >conf$$.sh
3557
 
  echo  "exit 0"   >>conf$$.sh
3558
 
  chmod +x conf$$.sh
3559
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3560
 
    PATH_SEPARATOR=';'
3561
 
  else
3562
 
    PATH_SEPARATOR=:
3563
 
  fi
3564
 
  rm -f conf$$.sh
3565
 
fi
3566
 
 
3567
 
 
3568
 
  as_lineno_1=$LINENO
3569
 
  as_lineno_2=$LINENO
3570
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3571
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3572
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3573
 
  # Find who we are.  Look in the path if we contain no path at all
3574
 
  # relative or not.
3575
 
  case $0 in
3576
 
    *[\\/]* ) as_myself=$0 ;;
3577
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578
 
for as_dir in $PATH
3579
 
do
3580
 
  IFS=$as_save_IFS
3581
 
  test -z "$as_dir" && as_dir=.
3582
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3583
 
done
3584
 
 
3585
 
       ;;
3586
 
  esac
3587
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
3588
 
  # in which case we are not to be found in the path.
3589
 
  if test "x$as_myself" = x; then
3590
 
    as_myself=$0
3591
 
  fi
3592
 
  if test ! -f "$as_myself"; then
3593
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3594
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3595
 
   { (exit 1); exit 1; }; }
3596
 
  fi
3597
 
  case $CONFIG_SHELL in
3598
 
  '')
3599
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3601
 
do
3602
 
  IFS=$as_save_IFS
3603
 
  test -z "$as_dir" && as_dir=.
3604
 
  for as_base in sh bash ksh sh5; do
3605
 
         case $as_dir in
3606
 
         /*)
3607
 
           if ("$as_dir/$as_base" -c '
3608
 
  as_lineno_1=$LINENO
3609
 
  as_lineno_2=$LINENO
3610
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3611
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3612
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3613
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3614
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3615
 
             CONFIG_SHELL=$as_dir/$as_base
3616
 
             export CONFIG_SHELL
3617
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3618
 
           fi;;
3619
 
         esac
3620
 
       done
3621
 
done
3622
 
;;
3623
 
  esac
 
4036
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
4037
            s//\1/
 
4038
            q
 
4039
          }
 
4040
          /^X\/\(\/\/\)$/{
 
4041
            s//\1/
 
4042
            q
 
4043
          }
 
4044
          /^X\/\(\/\).*/{
 
4045
            s//\1/
 
4046
            q
 
4047
          }
 
4048
          s/.*/./; q'`
 
4049
 
 
4050
# CDPATH.
 
4051
$as_unset CDPATH
 
4052
 
 
4053
 
 
4054
 
 
4055
  as_lineno_1=$LINENO
 
4056
  as_lineno_2=$LINENO
 
4057
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4058
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3624
4059
 
3625
4060
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3626
4061
  # uniformly replaced by the line number.  The first 'sed' inserts a
3627
 
  # line-number line before each line; the second 'sed' does the real
3628
 
  # work.  The second script uses 'N' to pair each line-number line
3629
 
  # with the numbered line, and appends trailing '-' during
3630
 
  # substitution so that $LINENO is not a special case at line end.
 
4062
  # line-number line after each line using $LINENO; the second 'sed'
 
4063
  # does the real work.  The second script uses 'N' to pair each
 
4064
  # line-number line with the line containing $LINENO, and appends
 
4065
  # trailing '-' during substitution so that $LINENO is not a special
 
4066
  # case at line end.
3631
4067
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3632
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3633
 
  sed '=' <$as_myself |
 
4068
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
4069
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
4070
  sed -n '
 
4071
    p
 
4072
    /[$]LINENO/=
 
4073
  ' <$as_myself |
3634
4074
    sed '
 
4075
      s/[$]LINENO.*/&-/
 
4076
      t lineno
 
4077
      b
 
4078
      :lineno
3635
4079
      N
3636
 
      s,$,-,
3637
 
      : loop
3638
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
4080
      :loop
 
4081
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3639
4082
      t loop
3640
 
      s,-$,,
3641
 
      s,^['$as_cr_digits']*\n,,
 
4083
      s/-\n.*//
3642
4084
    ' >$as_me.lineno &&
3643
 
  chmod +x $as_me.lineno ||
3644
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3645
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
4085
  chmod +x "$as_me.lineno" ||
 
4086
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3646
4087
   { (exit 1); exit 1; }; }
3647
4088
 
3648
4089
  # Don't try to exec as it changes $[0], causing all sort of problems
3649
4090
  # (the dirname of $[0] is not the place where we might find the
3650
 
  # original and so on.  Autoconf is especially sensible to this).
3651
 
  . ./$as_me.lineno
 
4091
  # original and so on.  Autoconf is especially sensitive to this).
 
4092
  . "./$as_me.lineno"
3652
4093
  # Exit status is that of the last command.
3653
4094
  exit
3654
4095
}
3655
4096
 
3656
4097
 
3657
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3658
 
  *c*,-n*) ECHO_N= ECHO_C='
3659
 
' ECHO_T='      ' ;;
3660
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3661
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
4098
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
4099
  as_dirname=dirname
 
4100
else
 
4101
  as_dirname=false
 
4102
fi
 
4103
 
 
4104
ECHO_C= ECHO_N= ECHO_T=
 
4105
case `echo -n x` in
 
4106
-n*)
 
4107
  case `echo 'x\c'` in
 
4108
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
4109
  *)   ECHO_C='\c';;
 
4110
  esac;;
 
4111
*)
 
4112
  ECHO_N='-n';;
3662
4113
esac
3663
4114
 
3664
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4115
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4116
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3665
4117
  as_expr=expr
3666
4118
else
3667
4119
  as_expr=false
3668
4120
fi
3669
4121
 
3670
4122
rm -f conf$$ conf$$.exe conf$$.file
 
4123
if test -d conf$$.dir; then
 
4124
  rm -f conf$$.dir/conf$$.file
 
4125
else
 
4126
  rm -f conf$$.dir
 
4127
  mkdir conf$$.dir
 
4128
fi
3671
4129
echo >conf$$.file
3672
4130
if ln -s conf$$.file conf$$ 2>/dev/null; then
3673
 
  # We could just check for DJGPP; but this test a) works b) is more generic
3674
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3675
 
  if test -f conf$$.exe; then
3676
 
    # Don't use ln at all; we don't have any links
 
4131
  as_ln_s='ln -s'
 
4132
  # ... but there are two gotchas:
 
4133
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
4134
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
4135
  # In both cases, we have to default to `cp -p'.
 
4136
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3677
4137
    as_ln_s='cp -p'
3678
 
  else
3679
 
    as_ln_s='ln -s'
3680
 
  fi
3681
4138
elif ln conf$$.file conf$$ 2>/dev/null; then
3682
4139
  as_ln_s=ln
3683
4140
else
3684
4141
  as_ln_s='cp -p'
3685
4142
fi
3686
 
rm -f conf$$ conf$$.exe conf$$.file
 
4143
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
4144
rmdir conf$$.dir 2>/dev/null
3687
4145
 
3688
4146
if mkdir -p . 2>/dev/null; then
3689
4147
  as_mkdir_p=:
3692
4150
  as_mkdir_p=false
3693
4151
fi
3694
4152
 
3695
 
as_executable_p="test -f"
 
4153
if test -x / >/dev/null 2>&1; then
 
4154
  as_test_x='test -x'
 
4155
else
 
4156
  if ls -dL / >/dev/null 2>&1; then
 
4157
    as_ls_L_option=L
 
4158
  else
 
4159
    as_ls_L_option=
 
4160
  fi
 
4161
  as_test_x='
 
4162
    eval sh -c '\''
 
4163
      if test -d "$1"; then
 
4164
        test -d "$1/.";
 
4165
      else
 
4166
        case $1 in
 
4167
        -*)set "./$1";;
 
4168
        esac;
 
4169
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
4170
        ???[sx]*):;;*)false;;esac;fi
 
4171
    '\'' sh
 
4172
  '
 
4173
fi
 
4174
as_executable_p=$as_test_x
3696
4175
 
3697
4176
# Sed expression to map a string onto a valid CPP name.
3698
4177
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3701
4180
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3702
4181
 
3703
4182
 
3704
 
# IFS
3705
 
# We need space, tab and new line, in precisely that order.
3706
 
as_nl='
3707
 
'
3708
 
IFS="   $as_nl"
3709
 
 
3710
 
# CDPATH.
3711
 
$as_unset CDPATH
3712
 
 
3713
4183
exec 6>&1
3714
4184
 
3715
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
4185
# Save the log message, to keep $[0] and so on meaningful, and to
3716
4186
# report actual input values of CONFIG_FILES etc. instead of their
3717
 
# values after options handling.  Logging --version etc. is OK.
3718
 
exec 5>>config.log
3719
 
{
3720
 
  echo
3721
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3722
 
## Running $as_me. ##
3723
 
_ASBOX
3724
 
} >&5
3725
 
cat >&5 <<_CSEOF
3726
 
 
3727
 
This file was extended by sysprof $as_me 1.0.7, which was
3728
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
4187
# values after options handling.
 
4188
ac_log="
 
4189
This file was extended by sysprof $as_me 1.0.9, which was
 
4190
generated by GNU Autoconf 2.61.  Invocation command line was
3729
4191
 
3730
4192
  CONFIG_FILES    = $CONFIG_FILES
3731
4193
  CONFIG_HEADERS  = $CONFIG_HEADERS
3733
4195
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3734
4196
  $ $0 $@
3735
4197
 
3736
 
_CSEOF
3737
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3738
 
echo >&5
 
4198
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
4199
"
 
4200
 
3739
4201
_ACEOF
3740
4202
 
 
4203
cat >>$CONFIG_STATUS <<_ACEOF
3741
4204
# Files that config.status was made for.
3742
 
if test -n "$ac_config_files"; then
3743
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3744
 
fi
3745
 
 
3746
 
if test -n "$ac_config_headers"; then
3747
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3748
 
fi
3749
 
 
3750
 
if test -n "$ac_config_links"; then
3751
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3752
 
fi
3753
 
 
3754
 
if test -n "$ac_config_commands"; then
3755
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3756
 
fi
 
4205
config_files="$ac_config_files"
 
4206
config_headers="$ac_config_headers"
 
4207
config_commands="$ac_config_commands"
 
4208
 
 
4209
_ACEOF
3757
4210
 
3758
4211
cat >>$CONFIG_STATUS <<\_ACEOF
3759
 
 
3760
4212
ac_cs_usage="\
3761
4213
\`$as_me' instantiates files from templates according to the
3762
4214
current configuration.
3764
4216
Usage: $0 [OPTIONS] [FILE]...
3765
4217
 
3766
4218
  -h, --help       print this help, then exit
3767
 
  -V, --version    print version number, then exit
 
4219
  -V, --version    print version number and configuration settings, then exit
3768
4220
  -q, --quiet      do not print progress messages
3769
4221
  -d, --debug      don't remove temporary files
3770
4222
      --recheck    update $as_me by reconfiguring in the same conditions
3783
4235
$config_commands
3784
4236
 
3785
4237
Report bugs to <bug-autoconf@gnu.org>."
 
4238
 
3786
4239
_ACEOF
3787
 
 
3788
4240
cat >>$CONFIG_STATUS <<_ACEOF
3789
4241
ac_cs_version="\\
3790
 
sysprof config.status 1.0.7
3791
 
configured by $0, generated by GNU Autoconf 2.59,
3792
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
4242
sysprof config.status 1.0.9
 
4243
configured by $0, generated by GNU Autoconf 2.61,
 
4244
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3793
4245
 
3794
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
4246
Copyright (C) 2006 Free Software Foundation, Inc.
3795
4247
This config.status script is free software; the Free Software Foundation
3796
4248
gives unlimited permission to copy, distribute and modify it."
3797
 
srcdir=$srcdir
3798
 
INSTALL="$INSTALL"
 
4249
 
 
4250
ac_pwd='$ac_pwd'
 
4251
srcdir='$srcdir'
 
4252
INSTALL='$INSTALL'
3799
4253
_ACEOF
3800
4254
 
3801
4255
cat >>$CONFIG_STATUS <<\_ACEOF
3806
4260
do
3807
4261
  case $1 in
3808
4262
  --*=*)
3809
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3810
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
4263
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
4264
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3811
4265
    ac_shift=:
3812
4266
    ;;
3813
 
  -*)
 
4267
  *)
3814
4268
    ac_option=$1
3815
4269
    ac_optarg=$2
3816
4270
    ac_shift=shift
3817
4271
    ;;
3818
 
  *) # This is not an option, so the user has probably given explicit
3819
 
     # arguments.
3820
 
     ac_option=$1
3821
 
     ac_need_defaults=false;;
3822
4272
  esac
3823
4273
 
3824
4274
  case $ac_option in
3825
4275
  # Handling of the options.
3826
 
_ACEOF
3827
 
cat >>$CONFIG_STATUS <<\_ACEOF
3828
4276
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3829
4277
    ac_cs_recheck=: ;;
3830
 
  --version | --vers* | -V )
3831
 
    echo "$ac_cs_version"; exit 0 ;;
3832
 
  --he | --h)
3833
 
    # Conflict between --help and --header
3834
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3835
 
Try \`$0 --help' for more information." >&5
3836
 
echo "$as_me: error: ambiguous option: $1
3837
 
Try \`$0 --help' for more information." >&2;}
3838
 
   { (exit 1); exit 1; }; };;
3839
 
  --help | --hel | -h )
3840
 
    echo "$ac_cs_usage"; exit 0 ;;
3841
 
  --debug | --d* | -d )
 
4278
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
4279
    echo "$ac_cs_version"; exit ;;
 
4280
  --debug | --debu | --deb | --de | --d | -d )
3842
4281
    debug=: ;;
3843
4282
  --file | --fil | --fi | --f )
3844
4283
    $ac_shift
3848
4287
    $ac_shift
3849
4288
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3850
4289
    ac_need_defaults=false;;
 
4290
  --he | --h)
 
4291
    # Conflict between --help and --header
 
4292
    { echo "$as_me: error: ambiguous option: $1
 
4293
Try \`$0 --help' for more information." >&2
 
4294
   { (exit 1); exit 1; }; };;
 
4295
  --help | --hel | -h )
 
4296
    echo "$ac_cs_usage"; exit ;;
3851
4297
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3852
4298
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3853
4299
    ac_cs_silent=: ;;
3854
4300
 
3855
4301
  # This is an error.
3856
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3857
 
Try \`$0 --help' for more information." >&5
3858
 
echo "$as_me: error: unrecognized option: $1
3859
 
Try \`$0 --help' for more information." >&2;}
 
4302
  -*) { echo "$as_me: error: unrecognized option: $1
 
4303
Try \`$0 --help' for more information." >&2
3860
4304
   { (exit 1); exit 1; }; } ;;
3861
4305
 
3862
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
4306
  *) ac_config_targets="$ac_config_targets $1"
 
4307
     ac_need_defaults=false ;;
3863
4308
 
3864
4309
  esac
3865
4310
  shift
3875
4320
_ACEOF
3876
4321
cat >>$CONFIG_STATUS <<_ACEOF
3877
4322
if \$ac_cs_recheck; then
3878
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3879
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4323
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
4324
  CONFIG_SHELL=$SHELL
 
4325
  export CONFIG_SHELL
 
4326
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3880
4327
fi
3881
4328
 
3882
4329
_ACEOF
 
4330
cat >>$CONFIG_STATUS <<\_ACEOF
 
4331
exec 5>>config.log
 
4332
{
 
4333
  echo
 
4334
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4335
## Running $as_me. ##
 
4336
_ASBOX
 
4337
  echo "$ac_log"
 
4338
} >&5
3883
4339
 
 
4340
_ACEOF
3884
4341
cat >>$CONFIG_STATUS <<_ACEOF
3885
4342
#
3886
 
# INIT-COMMANDS section.
 
4343
# INIT-COMMANDS
3887
4344
#
3888
 
 
3889
4345
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3890
4346
 
3891
4347
_ACEOF
3892
4348
 
3893
 
 
3894
 
 
3895
4349
cat >>$CONFIG_STATUS <<\_ACEOF
 
4350
 
 
4351
# Handling of arguments.
3896
4352
for ac_config_target in $ac_config_targets
3897
4353
do
3898
 
  case "$ac_config_target" in
3899
 
  # Handling of arguments.
3900
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3901
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3902
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
4354
  case $ac_config_target in
 
4355
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
4356
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
4357
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4358
 
3903
4359
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3904
4360
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3905
4361
   { (exit 1); exit 1; }; };;
3906
4362
  esac
3907
4363
done
3908
4364
 
 
4365
 
3909
4366
# If the user did not use the arguments to specify the items to instantiate,
3910
4367
# then the envvar interface is used.  Set only those that are not.
3911
4368
# We use the long form for the default assignment because of an extremely
3917
4374
fi
3918
4375
 
3919
4376
# Have a temporary directory for convenience.  Make it in the build tree
3920
 
# simply because there is no reason to put it here, and in addition,
 
4377
# simply because there is no reason against having it here, and in addition,
3921
4378
# creating and moving files from /tmp can sometimes cause problems.
3922
 
# Create a temporary directory, and hook for its removal unless debugging.
 
4379
# Hook for its removal unless debugging.
 
4380
# Note that there is a small window in which the directory will not be cleaned:
 
4381
# after its creation but before its name has been assigned to `$tmp'.
3923
4382
$debug ||
3924
4383
{
3925
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
4384
  tmp=
 
4385
  trap 'exit_status=$?
 
4386
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4387
' 0
3926
4388
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3927
4389
}
3928
 
 
3929
4390
# Create a (secure) tmp directory for tmp files.
3930
4391
 
3931
4392
{
3932
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
4393
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3933
4394
  test -n "$tmp" && test -d "$tmp"
3934
4395
}  ||
3935
4396
{
3936
 
  tmp=./confstat$$-$RANDOM
3937
 
  (umask 077 && mkdir $tmp)
 
4397
  tmp=./conf$$-$RANDOM
 
4398
  (umask 077 && mkdir "$tmp")
3938
4399
} ||
3939
4400
{
3940
4401
   echo "$me: cannot create a temporary directory in ." >&2
3941
4402
   { (exit 1); exit 1; }
3942
4403
}
3943
4404
 
3944
 
_ACEOF
3945
 
 
3946
 
cat >>$CONFIG_STATUS <<_ACEOF
3947
 
 
3948
4405
#
3949
 
# CONFIG_FILES section.
 
4406
# Set up the sed scripts for CONFIG_FILES section.
3950
4407
#
3951
4408
 
3952
4409
# No need to generate the scripts if there are no CONFIG_FILES.
3953
4410
# This happens for instance when ./config.status config.h
3954
 
if test -n "\$CONFIG_FILES"; then
3955
 
  # Protect against being on the right side of a sed subst in config.status.
3956
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3957
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3958
 
s,@SHELL@,$SHELL,;t t
3959
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3960
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3961
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3962
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3963
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3964
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3965
 
s,@exec_prefix@,$exec_prefix,;t t
3966
 
s,@prefix@,$prefix,;t t
3967
 
s,@program_transform_name@,$program_transform_name,;t t
3968
 
s,@bindir@,$bindir,;t t
3969
 
s,@sbindir@,$sbindir,;t t
3970
 
s,@libexecdir@,$libexecdir,;t t
3971
 
s,@datadir@,$datadir,;t t
3972
 
s,@sysconfdir@,$sysconfdir,;t t
3973
 
s,@sharedstatedir@,$sharedstatedir,;t t
3974
 
s,@localstatedir@,$localstatedir,;t t
3975
 
s,@libdir@,$libdir,;t t
3976
 
s,@includedir@,$includedir,;t t
3977
 
s,@oldincludedir@,$oldincludedir,;t t
3978
 
s,@infodir@,$infodir,;t t
3979
 
s,@mandir@,$mandir,;t t
3980
 
s,@build_alias@,$build_alias,;t t
3981
 
s,@host_alias@,$host_alias,;t t
3982
 
s,@target_alias@,$target_alias,;t t
3983
 
s,@DEFS@,$DEFS,;t t
3984
 
s,@ECHO_C@,$ECHO_C,;t t
3985
 
s,@ECHO_N@,$ECHO_N,;t t
3986
 
s,@ECHO_T@,$ECHO_T,;t t
3987
 
s,@LIBS@,$LIBS,;t t
3988
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3989
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3990
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3991
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
3992
 
s,@PACKAGE@,$PACKAGE,;t t
3993
 
s,@VERSION@,$VERSION,;t t
3994
 
s,@ACLOCAL@,$ACLOCAL,;t t
3995
 
s,@AUTOCONF@,$AUTOCONF,;t t
3996
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
3997
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
3998
 
s,@MAKEINFO@,$MAKEINFO,;t t
3999
 
s,@AMTAR@,$AMTAR,;t t
4000
 
s,@install_sh@,$install_sh,;t t
4001
 
s,@STRIP@,$STRIP,;t t
4002
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4003
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4004
 
s,@AWK@,$AWK,;t t
4005
 
s,@SET_MAKE@,$SET_MAKE,;t t
4006
 
s,@am__leading_dot@,$am__leading_dot,;t t
4007
 
s,@CC@,$CC,;t t
4008
 
s,@CFLAGS@,$CFLAGS,;t t
4009
 
s,@LDFLAGS@,$LDFLAGS,;t t
4010
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
4011
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
4012
 
s,@EXEEXT@,$EXEEXT,;t t
4013
 
s,@OBJEXT@,$OBJEXT,;t t
4014
 
s,@DEPDIR@,$DEPDIR,;t t
4015
 
s,@am__include@,$am__include,;t t
4016
 
s,@am__quote@,$am__quote,;t t
4017
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4018
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4019
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4020
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
4021
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4022
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4023
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4024
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
4025
 
s,@DEP_CFLAGS@,$DEP_CFLAGS,;t t
4026
 
s,@DEP_LIBS@,$DEP_LIBS,;t t
4027
 
s,@MODULE_SUBDIR@,$MODULE_SUBDIR,;t t
4028
 
s,@LIBOBJS@,$LIBOBJS,;t t
4029
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4030
 
CEOF
4031
 
 
4032
 
_ACEOF
4033
 
 
4034
 
  cat >>$CONFIG_STATUS <<\_ACEOF
4035
 
  # Split the substitutions into bite-sized pieces for seds with
4036
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
4037
 
  ac_max_sed_lines=48
4038
 
  ac_sed_frag=1 # Number of current file.
4039
 
  ac_beg=1 # First line for current file.
4040
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
4041
 
  ac_more_lines=:
4042
 
  ac_sed_cmds=
4043
 
  while $ac_more_lines; do
4044
 
    if test $ac_beg -gt 1; then
4045
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4046
 
    else
4047
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4048
 
    fi
4049
 
    if test ! -s $tmp/subs.frag; then
4050
 
      ac_more_lines=false
4051
 
    else
4052
 
      # The purpose of the label and of the branching condition is to
4053
 
      # speed up the sed processing (if there are no `@' at all, there
4054
 
      # is no need to browse any of the substitutions).
4055
 
      # These are the two extra sed commands mentioned above.
4056
 
      (echo ':t
4057
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4058
 
      if test -z "$ac_sed_cmds"; then
4059
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4060
 
      else
4061
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4062
 
      fi
4063
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
4064
 
      ac_beg=$ac_end
4065
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
4066
 
    fi
4067
 
  done
4068
 
  if test -z "$ac_sed_cmds"; then
4069
 
    ac_sed_cmds=cat
 
4411
if test -n "$CONFIG_FILES"; then
 
4412
 
 
4413
_ACEOF
 
4414
 
 
4415
 
 
4416
 
 
4417
ac_delim='%!_!# '
 
4418
for ac_last_try in false false false false false :; do
 
4419
  cat >conf$$subs.sed <<_ACEOF
 
4420
SHELL!$SHELL$ac_delim
 
4421
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
4422
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
4423
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
4424
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
4425
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
4426
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
4427
exec_prefix!$exec_prefix$ac_delim
 
4428
prefix!$prefix$ac_delim
 
4429
program_transform_name!$program_transform_name$ac_delim
 
4430
bindir!$bindir$ac_delim
 
4431
sbindir!$sbindir$ac_delim
 
4432
libexecdir!$libexecdir$ac_delim
 
4433
datarootdir!$datarootdir$ac_delim
 
4434
datadir!$datadir$ac_delim
 
4435
sysconfdir!$sysconfdir$ac_delim
 
4436
sharedstatedir!$sharedstatedir$ac_delim
 
4437
localstatedir!$localstatedir$ac_delim
 
4438
includedir!$includedir$ac_delim
 
4439
oldincludedir!$oldincludedir$ac_delim
 
4440
docdir!$docdir$ac_delim
 
4441
infodir!$infodir$ac_delim
 
4442
htmldir!$htmldir$ac_delim
 
4443
dvidir!$dvidir$ac_delim
 
4444
pdfdir!$pdfdir$ac_delim
 
4445
psdir!$psdir$ac_delim
 
4446
libdir!$libdir$ac_delim
 
4447
localedir!$localedir$ac_delim
 
4448
mandir!$mandir$ac_delim
 
4449
DEFS!$DEFS$ac_delim
 
4450
ECHO_C!$ECHO_C$ac_delim
 
4451
ECHO_N!$ECHO_N$ac_delim
 
4452
ECHO_T!$ECHO_T$ac_delim
 
4453
LIBS!$LIBS$ac_delim
 
4454
build_alias!$build_alias$ac_delim
 
4455
host_alias!$host_alias$ac_delim
 
4456
target_alias!$target_alias$ac_delim
 
4457
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
4458
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
4459
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
4460
CYGPATH_W!$CYGPATH_W$ac_delim
 
4461
PACKAGE!$PACKAGE$ac_delim
 
4462
VERSION!$VERSION$ac_delim
 
4463
ACLOCAL!$ACLOCAL$ac_delim
 
4464
AUTOCONF!$AUTOCONF$ac_delim
 
4465
AUTOMAKE!$AUTOMAKE$ac_delim
 
4466
AUTOHEADER!$AUTOHEADER$ac_delim
 
4467
MAKEINFO!$MAKEINFO$ac_delim
 
4468
AMTAR!$AMTAR$ac_delim
 
4469
install_sh!$install_sh$ac_delim
 
4470
STRIP!$STRIP$ac_delim
 
4471
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
4472
AWK!$AWK$ac_delim
 
4473
SET_MAKE!$SET_MAKE$ac_delim
 
4474
am__leading_dot!$am__leading_dot$ac_delim
 
4475
CC!$CC$ac_delim
 
4476
CFLAGS!$CFLAGS$ac_delim
 
4477
LDFLAGS!$LDFLAGS$ac_delim
 
4478
CPPFLAGS!$CPPFLAGS$ac_delim
 
4479
ac_ct_CC!$ac_ct_CC$ac_delim
 
4480
EXEEXT!$EXEEXT$ac_delim
 
4481
OBJEXT!$OBJEXT$ac_delim
 
4482
DEPDIR!$DEPDIR$ac_delim
 
4483
am__include!$am__include$ac_delim
 
4484
am__quote!$am__quote$ac_delim
 
4485
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
4486
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
4487
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
4488
CCDEPMODE!$CCDEPMODE$ac_delim
 
4489
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
4490
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
4491
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
4492
DEP_CFLAGS!$DEP_CFLAGS$ac_delim
 
4493
DEP_LIBS!$DEP_LIBS$ac_delim
 
4494
MODULE_SUBDIR!$MODULE_SUBDIR$ac_delim
 
4495
LIBOBJS!$LIBOBJS$ac_delim
 
4496
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
4497
_ACEOF
 
4498
 
 
4499
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
 
4500
    break
 
4501
  elif $ac_last_try; then
 
4502
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
4503
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
4504
   { (exit 1); exit 1; }; }
 
4505
  else
 
4506
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4070
4507
  fi
 
4508
done
 
4509
 
 
4510
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
4511
if test -n "$ac_eof"; then
 
4512
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
4513
  ac_eof=`expr $ac_eof + 1`
 
4514
fi
 
4515
 
 
4516
cat >>$CONFIG_STATUS <<_ACEOF
 
4517
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
4518
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
4519
_ACEOF
 
4520
sed '
 
4521
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
4522
s/^/s,@/; s/!/@,|#_!!_#|/
 
4523
:n
 
4524
t n
 
4525
s/'"$ac_delim"'$/,g/; t
 
4526
s/$/\\/; p
 
4527
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
4528
' >>$CONFIG_STATUS <conf$$subs.sed
 
4529
rm -f conf$$subs.sed
 
4530
cat >>$CONFIG_STATUS <<_ACEOF
 
4531
:end
 
4532
s/|#_!!_#|//g
 
4533
CEOF$ac_eof
 
4534
_ACEOF
 
4535
 
 
4536
 
 
4537
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
4538
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
4539
# trailing colons and then remove the whole line if VPATH becomes empty
 
4540
# (actually we leave an empty line to preserve line numbers).
 
4541
if test "x$srcdir" = x.; then
 
4542
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
4543
s/:*\$(srcdir):*/:/
 
4544
s/:*\${srcdir}:*/:/
 
4545
s/:*@srcdir@:*/:/
 
4546
s/^\([^=]*=[     ]*\):*/\1/
 
4547
s/:*$//
 
4548
s/^[^=]*=[       ]*$//
 
4549
}'
 
4550
fi
 
4551
 
 
4552
cat >>$CONFIG_STATUS <<\_ACEOF
4071
4553
fi # test -n "$CONFIG_FILES"
4072
4554
 
4073
 
_ACEOF
4074
 
cat >>$CONFIG_STATUS <<\_ACEOF
4075
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4076
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4077
 
  case $ac_file in
4078
 
  - | *:- | *:-:* ) # input from stdin
4079
 
        cat >$tmp/stdin
4080
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4081
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4082
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4083
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4084
 
  * )   ac_file_in=$ac_file.in ;;
4085
 
  esac
4086
 
 
4087
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4088
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
4555
 
 
4556
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
4557
do
 
4558
  case $ac_tag in
 
4559
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
4560
  esac
 
4561
  case $ac_mode$ac_tag in
 
4562
  :[FHL]*:*);;
 
4563
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
4564
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
4565
   { (exit 1); exit 1; }; };;
 
4566
  :[FH]-) ac_tag=-:-;;
 
4567
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
4568
  esac
 
4569
  ac_save_IFS=$IFS
 
4570
  IFS=:
 
4571
  set x $ac_tag
 
4572
  IFS=$ac_save_IFS
 
4573
  shift
 
4574
  ac_file=$1
 
4575
  shift
 
4576
 
 
4577
  case $ac_mode in
 
4578
  :L) ac_source=$1;;
 
4579
  :[FH])
 
4580
    ac_file_inputs=
 
4581
    for ac_f
 
4582
    do
 
4583
      case $ac_f in
 
4584
      -) ac_f="$tmp/stdin";;
 
4585
      *) # Look for the file first in the build tree, then in the source tree
 
4586
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
4587
         # because $ac_f cannot contain `:'.
 
4588
         test -f "$ac_f" ||
 
4589
           case $ac_f in
 
4590
           [\\/$]*) false;;
 
4591
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
4592
           esac ||
 
4593
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
4594
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
4595
   { (exit 1); exit 1; }; };;
 
4596
      esac
 
4597
      ac_file_inputs="$ac_file_inputs $ac_f"
 
4598
    done
 
4599
 
 
4600
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4601
    # use $as_me), people would be surprised to read:
 
4602
    #    /* config.h.  Generated by config.status.  */
 
4603
    configure_input="Generated from "`IFS=:
 
4604
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4605
    if test x"$ac_file" != x-; then
 
4606
      configure_input="$ac_file.  $configure_input"
 
4607
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4608
echo "$as_me: creating $ac_file" >&6;}
 
4609
    fi
 
4610
 
 
4611
    case $ac_tag in
 
4612
    *:-:* | *:-) cat >"$tmp/stdin";;
 
4613
    esac
 
4614
    ;;
 
4615
  esac
 
4616
 
 
4617
  ac_dir=`$as_dirname -- "$ac_file" ||
4089
4618
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4090
4619
         X"$ac_file" : 'X\(//\)[^/]' \| \
4091
4620
         X"$ac_file" : 'X\(//\)$' \| \
4092
 
         X"$ac_file" : 'X\(/\)' \| \
4093
 
         .     : '\(.\)' 2>/dev/null ||
 
4621
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4094
4622
echo X"$ac_file" |
4095
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4096
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4097
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4098
 
          /^X\(\/\).*/{ s//\1/; q; }
4099
 
          s/.*/./; q'`
4100
 
  { if $as_mkdir_p; then
4101
 
    mkdir -p "$ac_dir"
4102
 
  else
4103
 
    as_dir="$ac_dir"
 
4623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4624
            s//\1/
 
4625
            q
 
4626
          }
 
4627
          /^X\(\/\/\)[^/].*/{
 
4628
            s//\1/
 
4629
            q
 
4630
          }
 
4631
          /^X\(\/\/\)$/{
 
4632
            s//\1/
 
4633
            q
 
4634
          }
 
4635
          /^X\(\/\).*/{
 
4636
            s//\1/
 
4637
            q
 
4638
          }
 
4639
          s/.*/./; q'`
 
4640
  { as_dir="$ac_dir"
 
4641
  case $as_dir in #(
 
4642
  -*) as_dir=./$as_dir;;
 
4643
  esac
 
4644
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4104
4645
    as_dirs=
4105
 
    while test ! -d "$as_dir"; do
4106
 
      as_dirs="$as_dir $as_dirs"
4107
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4646
    while :; do
 
4647
      case $as_dir in #(
 
4648
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
4649
      *) as_qdir=$as_dir;;
 
4650
      esac
 
4651
      as_dirs="'$as_qdir' $as_dirs"
 
4652
      as_dir=`$as_dirname -- "$as_dir" ||
4108
4653
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4109
4654
         X"$as_dir" : 'X\(//\)[^/]' \| \
4110
4655
         X"$as_dir" : 'X\(//\)$' \| \
4111
 
         X"$as_dir" : 'X\(/\)' \| \
4112
 
         .     : '\(.\)' 2>/dev/null ||
 
4656
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4113
4657
echo X"$as_dir" |
4114
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4115
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4116
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4117
 
          /^X\(\/\).*/{ s//\1/; q; }
4118
 
          s/.*/./; q'`
 
4658
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4659
            s//\1/
 
4660
            q
 
4661
          }
 
4662
          /^X\(\/\/\)[^/].*/{
 
4663
            s//\1/
 
4664
            q
 
4665
          }
 
4666
          /^X\(\/\/\)$/{
 
4667
            s//\1/
 
4668
            q
 
4669
          }
 
4670
          /^X\(\/\).*/{
 
4671
            s//\1/
 
4672
            q
 
4673
          }
 
4674
          s/.*/./; q'`
 
4675
      test -d "$as_dir" && break
4119
4676
    done
4120
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4121
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4122
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4677
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
4678
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
4679
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4123
4680
   { (exit 1); exit 1; }; }; }
4124
 
 
4125
4681
  ac_builddir=.
4126
4682
 
4127
 
if test "$ac_dir" != .; then
 
4683
case "$ac_dir" in
 
4684
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4685
*)
4128
4686
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4129
 
  # A "../" for each directory in $ac_dir_suffix.
4130
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4131
 
else
4132
 
  ac_dir_suffix= ac_top_builddir=
4133
 
fi
 
4687
  # A ".." for each directory in $ac_dir_suffix.
 
4688
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
4689
  case $ac_top_builddir_sub in
 
4690
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4691
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
4692
  esac ;;
 
4693
esac
 
4694
ac_abs_top_builddir=$ac_pwd
 
4695
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
4696
# for backward compatibility:
 
4697
ac_top_builddir=$ac_top_build_prefix
4134
4698
 
4135
4699
case $srcdir in
4136
 
  .)  # No --srcdir option.  We are building in place.
 
4700
  .)  # We are building in place.
4137
4701
    ac_srcdir=.
4138
 
    if test -z "$ac_top_builddir"; then
4139
 
       ac_top_srcdir=.
4140
 
    else
4141
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4142
 
    fi ;;
4143
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4702
    ac_top_srcdir=$ac_top_builddir_sub
 
4703
    ac_abs_top_srcdir=$ac_pwd ;;
 
4704
  [\\/]* | ?:[\\/]* )  # Absolute name.
4144
4705
    ac_srcdir=$srcdir$ac_dir_suffix;
4145
 
    ac_top_srcdir=$srcdir ;;
4146
 
  *) # Relative path.
4147
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4148
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4149
 
esac
4150
 
 
4151
 
# Do not use `cd foo && pwd` to compute absolute paths, because
4152
 
# the directories may not exist.
4153
 
case `pwd` in
4154
 
.) ac_abs_builddir="$ac_dir";;
4155
 
*)
4156
 
  case "$ac_dir" in
4157
 
  .) ac_abs_builddir=`pwd`;;
4158
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4159
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4160
 
  esac;;
4161
 
esac
4162
 
case $ac_abs_builddir in
4163
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4164
 
*)
4165
 
  case ${ac_top_builddir}. in
4166
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
4167
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4168
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4169
 
  esac;;
4170
 
esac
4171
 
case $ac_abs_builddir in
4172
 
.) ac_abs_srcdir=$ac_srcdir;;
4173
 
*)
4174
 
  case $ac_srcdir in
4175
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
4176
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4177
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4178
 
  esac;;
4179
 
esac
4180
 
case $ac_abs_builddir in
4181
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4182
 
*)
4183
 
  case $ac_top_srcdir in
4184
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4185
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4186
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4187
 
  esac;;
4188
 
esac
4189
 
 
 
4706
    ac_top_srcdir=$srcdir
 
4707
    ac_abs_top_srcdir=$srcdir ;;
 
4708
  *) # Relative name.
 
4709
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
4710
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
4711
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
4712
esac
 
4713
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
4714
 
 
4715
 
 
4716
  case $ac_mode in
 
4717
  :F)
 
4718
  #
 
4719
  # CONFIG_FILE
 
4720
  #
4190
4721
 
4191
4722
  case $INSTALL in
4192
4723
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4193
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
4724
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4194
4725
  esac
4195
 
 
4196
 
  if test x"$ac_file" != x-; then
4197
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
4198
 
echo "$as_me: creating $ac_file" >&6;}
4199
 
    rm -f "$ac_file"
4200
 
  fi
4201
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4202
 
  # use $as_me), people would be surprised to read:
4203
 
  #    /* config.h.  Generated by config.status.  */
4204
 
  if test x"$ac_file" = x-; then
4205
 
    configure_input=
4206
 
  else
4207
 
    configure_input="$ac_file.  "
4208
 
  fi
4209
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4210
 
                                     sed 's,.*/,,'` by configure."
4211
 
 
4212
 
  # First look for the input files in the build tree, otherwise in the
4213
 
  # src tree.
4214
 
  ac_file_inputs=`IFS=:
4215
 
    for f in $ac_file_in; do
4216
 
      case $f in
4217
 
      -) echo $tmp/stdin ;;
4218
 
      [\\/$]*)
4219
 
         # Absolute (can't be DOS-style, as IFS=:)
4220
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4221
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4222
 
   { (exit 1); exit 1; }; }
4223
 
         echo "$f";;
4224
 
      *) # Relative
4225
 
         if test -f "$f"; then
4226
 
           # Build tree
4227
 
           echo "$f"
4228
 
         elif test -f "$srcdir/$f"; then
4229
 
           # Source tree
4230
 
           echo "$srcdir/$f"
4231
 
         else
4232
 
           # /dev/null tree
4233
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4234
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4235
 
   { (exit 1); exit 1; }; }
4236
 
         fi;;
4237
 
      esac
4238
 
    done` || { (exit 1); exit 1; }
4239
 
_ACEOF
 
4726
_ACEOF
 
4727
 
 
4728
cat >>$CONFIG_STATUS <<\_ACEOF
 
4729
# If the template does not know about datarootdir, expand it.
 
4730
# FIXME: This hack should be removed a few years after 2.60.
 
4731
ac_datarootdir_hack=; ac_datarootdir_seen=
 
4732
 
 
4733
case `sed -n '/datarootdir/ {
 
4734
  p
 
4735
  q
 
4736
}
 
4737
/@datadir@/p
 
4738
/@docdir@/p
 
4739
/@infodir@/p
 
4740
/@localedir@/p
 
4741
/@mandir@/p
 
4742
' $ac_file_inputs` in
 
4743
*datarootdir*) ac_datarootdir_seen=yes;;
 
4744
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
4745
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
4746
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
4747
_ACEOF
 
4748
cat >>$CONFIG_STATUS <<_ACEOF
 
4749
  ac_datarootdir_hack='
 
4750
  s&@datadir@&$datadir&g
 
4751
  s&@docdir@&$docdir&g
 
4752
  s&@infodir@&$infodir&g
 
4753
  s&@localedir@&$localedir&g
 
4754
  s&@mandir@&$mandir&g
 
4755
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
4756
esac
 
4757
_ACEOF
 
4758
 
 
4759
# Neutralize VPATH when `$srcdir' = `.'.
 
4760
# Shell code in configure.ac might set extrasub.
 
4761
# FIXME: do we really want to maintain this feature?
4240
4762
cat >>$CONFIG_STATUS <<_ACEOF
4241
4763
  sed "$ac_vpsub
4242
4764
$extrasub
4244
4766
cat >>$CONFIG_STATUS <<\_ACEOF
4245
4767
:t
4246
4768
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4247
 
s,@configure_input@,$configure_input,;t t
4248
 
s,@srcdir@,$ac_srcdir,;t t
4249
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4250
 
s,@top_srcdir@,$ac_top_srcdir,;t t
4251
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4252
 
s,@builddir@,$ac_builddir,;t t
4253
 
s,@abs_builddir@,$ac_abs_builddir,;t t
4254
 
s,@top_builddir@,$ac_top_builddir,;t t
4255
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4256
 
s,@INSTALL@,$ac_INSTALL,;t t
4257
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4258
 
  rm -f $tmp/stdin
4259
 
  if test x"$ac_file" != x-; then
4260
 
    mv $tmp/out $ac_file
4261
 
  else
4262
 
    cat $tmp/out
4263
 
    rm -f $tmp/out
4264
 
  fi
4265
 
 
4266
 
done
 
4769
s&@configure_input@&$configure_input&;t t
 
4770
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
4771
s&@srcdir@&$ac_srcdir&;t t
 
4772
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
4773
s&@top_srcdir@&$ac_top_srcdir&;t t
 
4774
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
4775
s&@builddir@&$ac_builddir&;t t
 
4776
s&@abs_builddir@&$ac_abs_builddir&;t t
 
4777
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
4778
s&@INSTALL@&$ac_INSTALL&;t t
 
4779
$ac_datarootdir_hack
 
4780
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
4781
 
 
4782
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
4783
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
4784
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
4785
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4786
which seems to be undefined.  Please make sure it is defined." >&5
 
4787
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4788
which seems to be undefined.  Please make sure it is defined." >&2;}
 
4789
 
 
4790
  rm -f "$tmp/stdin"
 
4791
  case $ac_file in
 
4792
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
4793
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
4794
  esac
 
4795
 ;;
 
4796
  :H)
 
4797
  #
 
4798
  # CONFIG_HEADER
 
4799
  #
4267
4800
_ACEOF
4268
 
cat >>$CONFIG_STATUS <<\_ACEOF
4269
 
 
4270
 
#
4271
 
# CONFIG_HEADER section.
4272
 
#
4273
 
 
4274
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4275
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4276
 
#
4277
 
# ac_d sets the value in "#define NAME VALUE" lines.
4278
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
4279
 
ac_dB='[         ].*$,\1#\2'
 
4801
 
 
4802
# Transform confdefs.h into a sed script `conftest.defines', that
 
4803
# substitutes the proper values into config.h.in to produce config.h.
 
4804
rm -f conftest.defines conftest.tail
 
4805
# First, append a space to every undef/define line, to ease matching.
 
4806
echo 's/$/ /' >conftest.defines
 
4807
# Then, protect against being on the right side of a sed subst, or in
 
4808
# an unquoted here document, in config.status.  If some macros were
 
4809
# called several times there might be several #defines for the same
 
4810
# symbol, which is useless.  But do not sort them, since the last
 
4811
# AC_DEFINE must be honored.
 
4812
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
4813
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
4814
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
4815
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
4816
# just an empty string.
 
4817
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
4818
ac_dB='\\)[      (].*,\\1define\\2'
4280
4819
ac_dC=' '
4281
 
ac_dD=',;t'
4282
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4283
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4284
 
ac_uB='$,\1#\2define\3'
4285
 
ac_uC=' '
4286
 
ac_uD=',;t'
4287
 
 
4288
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4289
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4290
 
  case $ac_file in
4291
 
  - | *:- | *:-:* ) # input from stdin
4292
 
        cat >$tmp/stdin
4293
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4294
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4295
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4296
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4297
 
  * )   ac_file_in=$ac_file.in ;;
4298
 
  esac
4299
 
 
4300
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4301
 
echo "$as_me: creating $ac_file" >&6;}
4302
 
 
4303
 
  # First look for the input files in the build tree, otherwise in the
4304
 
  # src tree.
4305
 
  ac_file_inputs=`IFS=:
4306
 
    for f in $ac_file_in; do
4307
 
      case $f in
4308
 
      -) echo $tmp/stdin ;;
4309
 
      [\\/$]*)
4310
 
         # Absolute (can't be DOS-style, as IFS=:)
4311
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4312
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4313
 
   { (exit 1); exit 1; }; }
4314
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
4315
 
         echo "$f";;
4316
 
      *) # Relative
4317
 
         if test -f "$f"; then
4318
 
           # Build tree
4319
 
           echo "$f"
4320
 
         elif test -f "$srcdir/$f"; then
4321
 
           # Source tree
4322
 
           echo "$srcdir/$f"
4323
 
         else
4324
 
           # /dev/null tree
4325
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4326
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4327
 
   { (exit 1); exit 1; }; }
4328
 
         fi;;
4329
 
      esac
4330
 
    done` || { (exit 1); exit 1; }
4331
 
  # Remove the trailing spaces.
4332
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4333
 
 
4334
 
_ACEOF
4335
 
 
4336
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
4337
 
# `conftest.undefs', that substitutes the proper values into
4338
 
# config.h.in to produce config.h.  The first handles `#define'
4339
 
# templates, and the second `#undef' templates.
4340
 
# And first: Protect against being on the right side of a sed subst in
4341
 
# config.status.  Protect against being in an unquoted here document
4342
 
# in config.status.
4343
 
rm -f conftest.defines conftest.undefs
4344
 
# Using a here document instead of a string reduces the quoting nightmare.
4345
 
# Putting comments in sed scripts is not portable.
4346
 
#
4347
 
# `end' is used to avoid that the second main sed command (meant for
4348
 
# 0-ary CPP macros) applies to n-ary macro definitions.
4349
 
# See the Autoconf documentation for `clear'.
4350
 
cat >confdef2sed.sed <<\_ACEOF
4351
 
s/[\\&,]/\\&/g
4352
 
s,[\\$`],\\&,g
4353
 
t clear
4354
 
: clear
4355
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4356
 
t end
4357
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4358
 
: end
4359
 
_ACEOF
4360
 
# If some macros were called several times there might be several times
4361
 
# the same #defines, which is useless.  Nevertheless, we may not want to
4362
 
# sort them, since we want the *last* AC-DEFINE to be honored.
4363
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4364
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4365
 
rm -f confdef2sed.sed
4366
 
 
4367
 
# This sed command replaces #undef with comments.  This is necessary, for
 
4820
ac_dD=' ,'
 
4821
 
 
4822
uniq confdefs.h |
 
4823
  sed -n '
 
4824
        t rset
 
4825
        :rset
 
4826
        s/^[     ]*#[    ]*define[       ][      ]*//
 
4827
        t ok
 
4828
        d
 
4829
        :ok
 
4830
        s/[\\&,]/\\&/g
 
4831
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
4832
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
4833
  ' >>conftest.defines
 
4834
 
 
4835
# Remove the space that was appended to ease matching.
 
4836
# Then replace #undef with comments.  This is necessary, for
4368
4837
# example, in the case of _POSIX_SOURCE, which is predefined and required
4369
4838
# on some systems where configure will not decide to define it.
4370
 
cat >>conftest.undefs <<\_ACEOF
4371
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4839
# (The regexp can be short, since the line contains either #define or #undef.)
 
4840
echo 's/ $//
 
4841
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
4842
 
 
4843
# Break up conftest.defines:
 
4844
ac_max_sed_lines=50
 
4845
 
 
4846
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
4847
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
4848
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
4849
# et cetera.
 
4850
ac_in='$ac_file_inputs'
 
4851
ac_out='"$tmp/out1"'
 
4852
ac_nxt='"$tmp/out2"'
 
4853
 
 
4854
while :
 
4855
do
 
4856
  # Write a here document:
 
4857
    cat >>$CONFIG_STATUS <<_ACEOF
 
4858
    # First, check the format of the line:
 
4859
    cat >"\$tmp/defines.sed" <<\\CEOF
 
4860
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
4861
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
4862
b
 
4863
:def
4372
4864
_ACEOF
4373
 
 
4374
 
# Break up conftest.defines because some shells have a limit on the size
4375
 
# of here documents, and old seds have small limits too (100 cmds).
4376
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4377
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4378
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4379
 
echo '  :' >>$CONFIG_STATUS
4380
 
rm -f conftest.tail
4381
 
while grep . conftest.defines >/dev/null
4382
 
do
4383
 
  # Write a limited-size here document to $tmp/defines.sed.
4384
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4385
 
  # Speed up: don't consider the non `#define' lines.
4386
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
4387
 
  # Work around the forget-to-reset-the-flag bug.
4388
 
  echo 't clr' >>$CONFIG_STATUS
4389
 
  echo ': clr' >>$CONFIG_STATUS
4390
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
4865
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4391
4866
  echo 'CEOF
4392
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4393
 
  rm -f $tmp/in
4394
 
  mv $tmp/out $tmp/in
4395
 
' >>$CONFIG_STATUS
4396
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
4867
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
4868
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
4869
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
4870
  grep . conftest.tail >/dev/null || break
4397
4871
  rm -f conftest.defines
4398
4872
  mv conftest.tail conftest.defines
4399
4873
done
4400
 
rm -f conftest.defines
4401
 
echo '  fi # grep' >>$CONFIG_STATUS
4402
 
echo >>$CONFIG_STATUS
4403
 
 
4404
 
# Break up conftest.undefs because some shells have a limit on the size
4405
 
# of here documents, and old seds have small limits too (100 cmds).
4406
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4407
 
rm -f conftest.tail
4408
 
while grep . conftest.undefs >/dev/null
4409
 
do
4410
 
  # Write a limited-size here document to $tmp/undefs.sed.
4411
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4412
 
  # Speed up: don't consider the non `#undef'
4413
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4414
 
  # Work around the forget-to-reset-the-flag bug.
4415
 
  echo 't clr' >>$CONFIG_STATUS
4416
 
  echo ': clr' >>$CONFIG_STATUS
4417
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4418
 
  echo 'CEOF
4419
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4420
 
  rm -f $tmp/in
4421
 
  mv $tmp/out $tmp/in
4422
 
' >>$CONFIG_STATUS
4423
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4424
 
  rm -f conftest.undefs
4425
 
  mv conftest.tail conftest.undefs
4426
 
done
4427
 
rm -f conftest.undefs
4428
 
 
 
4874
rm -f conftest.defines conftest.tail
 
4875
 
 
4876
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4429
4877
cat >>$CONFIG_STATUS <<\_ACEOF
4430
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4431
 
  # use $as_me), people would be surprised to read:
4432
 
  #    /* config.h.  Generated by config.status.  */
4433
 
  if test x"$ac_file" = x-; then
4434
 
    echo "/* Generated by configure.  */" >$tmp/config.h
4435
 
  else
4436
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4437
 
  fi
4438
 
  cat $tmp/in >>$tmp/config.h
4439
 
  rm -f $tmp/in
4440
4878
  if test x"$ac_file" != x-; then
4441
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
4879
    echo "/* $configure_input  */" >"$tmp/config.h"
 
4880
    cat "$ac_result" >>"$tmp/config.h"
 
4881
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4442
4882
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4443
4883
echo "$as_me: $ac_file is unchanged" >&6;}
4444
4884
    else
4445
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4446
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4447
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4448
 
         X"$ac_file" : 'X\(//\)$' \| \
4449
 
         X"$ac_file" : 'X\(/\)' \| \
4450
 
         .     : '\(.\)' 2>/dev/null ||
4451
 
echo X"$ac_file" |
4452
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4453
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4454
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4455
 
          /^X\(\/\).*/{ s//\1/; q; }
4456
 
          s/.*/./; q'`
4457
 
      { if $as_mkdir_p; then
4458
 
    mkdir -p "$ac_dir"
4459
 
  else
4460
 
    as_dir="$ac_dir"
4461
 
    as_dirs=
4462
 
    while test ! -d "$as_dir"; do
4463
 
      as_dirs="$as_dir $as_dirs"
4464
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4465
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4466
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4467
 
         X"$as_dir" : 'X\(//\)$' \| \
4468
 
         X"$as_dir" : 'X\(/\)' \| \
4469
 
         .     : '\(.\)' 2>/dev/null ||
4470
 
echo X"$as_dir" |
4471
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4472
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4473
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4474
 
          /^X\(\/\).*/{ s//\1/; q; }
4475
 
          s/.*/./; q'`
4476
 
    done
4477
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4478
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4479
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4480
 
   { (exit 1); exit 1; }; }; }
4481
 
 
4482
4885
      rm -f $ac_file
4483
 
      mv $tmp/config.h $ac_file
 
4886
      mv "$tmp/config.h" $ac_file
4484
4887
    fi
4485
4888
  else
4486
 
    cat $tmp/config.h
4487
 
    rm -f $tmp/config.h
 
4889
    echo "/* $configure_input  */"
 
4890
    cat "$ac_result"
4488
4891
  fi
 
4892
  rm -f "$tmp/out12"
4489
4893
# Compute $ac_file's index in $config_headers.
4490
4894
_am_stamp_count=1
4491
4895
for _am_header in $config_headers :; do
4496
4900
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4497
4901
  esac
4498
4902
done
4499
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
4903
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
4500
4904
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4501
4905
         X$ac_file : 'X\(//\)[^/]' \| \
4502
4906
         X$ac_file : 'X\(//\)$' \| \
4503
 
         X$ac_file : 'X\(/\)' \| \
4504
 
         .     : '\(.\)' 2>/dev/null ||
 
4907
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
4505
4908
echo X$ac_file |
4506
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4507
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4508
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4509
 
          /^X\(\/\).*/{ s//\1/; q; }
4510
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
4511
 
done
4512
 
_ACEOF
4513
 
cat >>$CONFIG_STATUS <<\_ACEOF
4514
 
 
4515
 
#
4516
 
# CONFIG_COMMANDS section.
4517
 
#
4518
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4519
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4520
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4521
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4522
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4523
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4524
 
         X"$ac_dest" : 'X\(//\)$' \| \
4525
 
         X"$ac_dest" : 'X\(/\)' \| \
4526
 
         .     : '\(.\)' 2>/dev/null ||
4527
 
echo X"$ac_dest" |
4528
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4529
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4530
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4531
 
          /^X\(\/\).*/{ s//\1/; q; }
4532
 
          s/.*/./; q'`
4533
 
  { if $as_mkdir_p; then
4534
 
    mkdir -p "$ac_dir"
4535
 
  else
4536
 
    as_dir="$ac_dir"
4537
 
    as_dirs=
4538
 
    while test ! -d "$as_dir"; do
4539
 
      as_dirs="$as_dir $as_dirs"
4540
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4541
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4542
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4543
 
         X"$as_dir" : 'X\(//\)$' \| \
4544
 
         X"$as_dir" : 'X\(/\)' \| \
4545
 
         .     : '\(.\)' 2>/dev/null ||
4546
 
echo X"$as_dir" |
4547
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4548
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4549
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4550
 
          /^X\(\/\).*/{ s//\1/; q; }
4551
 
          s/.*/./; q'`
4552
 
    done
4553
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4554
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4555
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4556
 
   { (exit 1); exit 1; }; }; }
4557
 
 
4558
 
  ac_builddir=.
4559
 
 
4560
 
if test "$ac_dir" != .; then
4561
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4562
 
  # A "../" for each directory in $ac_dir_suffix.
4563
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4564
 
else
4565
 
  ac_dir_suffix= ac_top_builddir=
4566
 
fi
4567
 
 
4568
 
case $srcdir in
4569
 
  .)  # No --srcdir option.  We are building in place.
4570
 
    ac_srcdir=.
4571
 
    if test -z "$ac_top_builddir"; then
4572
 
       ac_top_srcdir=.
4573
 
    else
4574
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4575
 
    fi ;;
4576
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
4577
 
    ac_srcdir=$srcdir$ac_dir_suffix;
4578
 
    ac_top_srcdir=$srcdir ;;
4579
 
  *) # Relative path.
4580
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4581
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4582
 
esac
4583
 
 
4584
 
# Do not use `cd foo && pwd` to compute absolute paths, because
4585
 
# the directories may not exist.
4586
 
case `pwd` in
4587
 
.) ac_abs_builddir="$ac_dir";;
4588
 
*)
4589
 
  case "$ac_dir" in
4590
 
  .) ac_abs_builddir=`pwd`;;
4591
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4592
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4593
 
  esac;;
4594
 
esac
4595
 
case $ac_abs_builddir in
4596
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4597
 
*)
4598
 
  case ${ac_top_builddir}. in
4599
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
4600
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4601
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4602
 
  esac;;
4603
 
esac
4604
 
case $ac_abs_builddir in
4605
 
.) ac_abs_srcdir=$ac_srcdir;;
4606
 
*)
4607
 
  case $ac_srcdir in
4608
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
4609
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4610
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4611
 
  esac;;
4612
 
esac
4613
 
case $ac_abs_builddir in
4614
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4615
 
*)
4616
 
  case $ac_top_srcdir in
4617
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4618
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4619
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4620
 
  esac;;
4621
 
esac
4622
 
 
4623
 
 
4624
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4625
 
echo "$as_me: executing $ac_dest commands" >&6;}
4626
 
  case $ac_dest in
4627
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
4909
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4910
            s//\1/
 
4911
            q
 
4912
          }
 
4913
          /^X\(\/\/\)[^/].*/{
 
4914
            s//\1/
 
4915
            q
 
4916
          }
 
4917
          /^X\(\/\/\)$/{
 
4918
            s//\1/
 
4919
            q
 
4920
          }
 
4921
          /^X\(\/\).*/{
 
4922
            s//\1/
 
4923
            q
 
4924
          }
 
4925
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
4926
 ;;
 
4927
 
 
4928
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
4929
echo "$as_me: executing $ac_file commands" >&6;}
 
4930
 ;;
 
4931
  esac
 
4932
 
 
4933
 
 
4934
  case $ac_file$ac_mode in
 
4935
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4628
4936
  # Strip MF so we end up with the name of the file.
4629
4937
  mf=`echo "$mf" | sed -e 's/:.*$//'`
4630
4938
  # Check whether this is an Automake generated Makefile or not.
4634
4942
  # each Makefile.in and add a new line on top of each file to say so.
4635
4943
  # So let's grep whole file.
4636
4944
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4637
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
4945
    dirpart=`$as_dirname -- "$mf" ||
4638
4946
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4639
4947
         X"$mf" : 'X\(//\)[^/]' \| \
4640
4948
         X"$mf" : 'X\(//\)$' \| \
4641
 
         X"$mf" : 'X\(/\)' \| \
4642
 
         .     : '\(.\)' 2>/dev/null ||
 
4949
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4643
4950
echo X"$mf" |
4644
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4645
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4646
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4647
 
          /^X\(\/\).*/{ s//\1/; q; }
4648
 
          s/.*/./; q'`
 
4951
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4952
            s//\1/
 
4953
            q
 
4954
          }
 
4955
          /^X\(\/\/\)[^/].*/{
 
4956
            s//\1/
 
4957
            q
 
4958
          }
 
4959
          /^X\(\/\/\)$/{
 
4960
            s//\1/
 
4961
            q
 
4962
          }
 
4963
          /^X\(\/\).*/{
 
4964
            s//\1/
 
4965
            q
 
4966
          }
 
4967
          s/.*/./; q'`
4649
4968
  else
4650
4969
    continue
4651
4970
  fi
4673
4992
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4674
4993
    # Make sure the directory exists.
4675
4994
    test -f "$dirpart/$file" && continue
4676
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
4995
    fdir=`$as_dirname -- "$file" ||
4677
4996
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4678
4997
         X"$file" : 'X\(//\)[^/]' \| \
4679
4998
         X"$file" : 'X\(//\)$' \| \
4680
 
         X"$file" : 'X\(/\)' \| \
4681
 
         .     : '\(.\)' 2>/dev/null ||
 
4999
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4682
5000
echo X"$file" |
4683
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4684
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4685
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4686
 
          /^X\(\/\).*/{ s//\1/; q; }
4687
 
          s/.*/./; q'`
4688
 
    { if $as_mkdir_p; then
4689
 
    mkdir -p $dirpart/$fdir
4690
 
  else
4691
 
    as_dir=$dirpart/$fdir
 
5001
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5002
            s//\1/
 
5003
            q
 
5004
          }
 
5005
          /^X\(\/\/\)[^/].*/{
 
5006
            s//\1/
 
5007
            q
 
5008
          }
 
5009
          /^X\(\/\/\)$/{
 
5010
            s//\1/
 
5011
            q
 
5012
          }
 
5013
          /^X\(\/\).*/{
 
5014
            s//\1/
 
5015
            q
 
5016
          }
 
5017
          s/.*/./; q'`
 
5018
    { as_dir=$dirpart/$fdir
 
5019
  case $as_dir in #(
 
5020
  -*) as_dir=./$as_dir;;
 
5021
  esac
 
5022
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4692
5023
    as_dirs=
4693
 
    while test ! -d "$as_dir"; do
4694
 
      as_dirs="$as_dir $as_dirs"
4695
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5024
    while :; do
 
5025
      case $as_dir in #(
 
5026
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
5027
      *) as_qdir=$as_dir;;
 
5028
      esac
 
5029
      as_dirs="'$as_qdir' $as_dirs"
 
5030
      as_dir=`$as_dirname -- "$as_dir" ||
4696
5031
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4697
5032
         X"$as_dir" : 'X\(//\)[^/]' \| \
4698
5033
         X"$as_dir" : 'X\(//\)$' \| \
4699
 
         X"$as_dir" : 'X\(/\)' \| \
4700
 
         .     : '\(.\)' 2>/dev/null ||
 
5034
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4701
5035
echo X"$as_dir" |
4702
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4703
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4704
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4705
 
          /^X\(\/\).*/{ s//\1/; q; }
4706
 
          s/.*/./; q'`
 
5036
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5037
            s//\1/
 
5038
            q
 
5039
          }
 
5040
          /^X\(\/\/\)[^/].*/{
 
5041
            s//\1/
 
5042
            q
 
5043
          }
 
5044
          /^X\(\/\/\)$/{
 
5045
            s//\1/
 
5046
            q
 
5047
          }
 
5048
          /^X\(\/\).*/{
 
5049
            s//\1/
 
5050
            q
 
5051
          }
 
5052
          s/.*/./; q'`
 
5053
      test -d "$as_dir" && break
4707
5054
    done
4708
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4709
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4710
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
5055
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5056
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5057
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4711
5058
   { (exit 1); exit 1; }; }; }
4712
 
 
4713
5059
    # echo "creating $dirpart/$file"
4714
5060
    echo '# dummy' > "$dirpart/$file"
4715
5061
  done
4716
5062
done
4717
5063
 ;;
 
5064
 
4718
5065
  esac
4719
 
done
4720
 
_ACEOF
 
5066
done # for ac_tag
4721
5067
 
4722
 
cat >>$CONFIG_STATUS <<\_ACEOF
4723
5068
 
4724
5069
{ (exit 0); exit 0; }
4725
5070
_ACEOF