~ubuntu-branches/debian/sid/x11-apps/sid

« back to all changes in this revision

Viewing changes to xcursorgen/configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-09 18:15:58 UTC
  • mfrom: (9.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110209181558-4wta1q27k11xrtae
Tags: 7.6+4
* debian/rules::get-tarballs: pass "--destdir ." to uscan
* xbiff 1.0.3.
* Remove Brice Goglin and David Nusinow from Uploaders.  Thanks for your
  work!
* Drop Pre-Depends on x11-common.
* Bump Standards-Version to 3.9.1.
* Upload to unstable.

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.63 for xcursorgen 1.0.3.
 
3
# Generated by GNU Autoconf 2.68 for xcursorgen 1.0.4.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1"
 
178
  if (eval "$as_required") 2>/dev/null; then :
177
179
  as_have_required=yes
178
180
else
179
181
  as_have_required=no
180
182
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
189
do
245
190
  IFS=$as_save_IFS
246
191
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
192
  as_found=:
 
193
  case $as_dir in #(
248
194
         /*)
249
195
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
251
205
           done;;
252
206
       esac
 
207
  as_found=false
253
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
254
213
IFS=$as_save_IFS
255
214
 
256
215
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$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
 
  # Pre-4.2 versions of Zsh do 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
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
 
221
        BASH_ENV=/dev/null
 
222
        ENV=/dev/null
 
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
232
fi
 
233
 
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
 
243
$0: about your system, including any error possibly output
 
244
$0: before this message. Then install a modern shell, or
 
245
$0: manually run the script under such a shell if you do
 
246
$0: have one."
 
247
  fi
 
248
  exit 1
 
249
fi
 
250
fi
 
251
fi
 
252
SHELL=${CONFIG_SHELL-/bin/sh}
 
253
export SHELL
 
254
# Unset more variables known to interfere with behavior of common tools.
 
255
CLICOLOR_FORCE= GREP_OPTIONS=
 
256
unset CLICOLOR_FORCE GREP_OPTIONS
 
257
 
 
258
## --------------------- ##
 
259
## M4sh Shell Functions. ##
 
260
## --------------------- ##
 
261
# as_fn_unset VAR
 
262
# ---------------
 
263
# Portably unset VAR.
 
264
as_fn_unset ()
 
265
{
 
266
  { eval $1=; unset $1;}
 
267
}
 
268
as_unset=as_fn_unset
 
269
 
 
270
# as_fn_set_status STATUS
 
271
# -----------------------
 
272
# Set $? to STATUS, without forking.
 
273
as_fn_set_status ()
 
274
{
 
275
  return $1
 
276
} # as_fn_set_status
 
277
 
 
278
# as_fn_exit STATUS
 
279
# -----------------
 
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
281
as_fn_exit ()
 
282
{
 
283
  set +e
 
284
  as_fn_set_status $1
 
285
  exit $1
 
286
} # as_fn_exit
 
287
 
 
288
# as_fn_mkdir_p
 
289
# -------------
 
290
# Create "$as_dir" as a directory, including parents if necessary.
 
291
as_fn_mkdir_p ()
 
292
{
 
293
 
 
294
  case $as_dir in #(
 
295
  -*) as_dir=./$as_dir;;
 
296
  esac
 
297
  test -d "$as_dir" || eval $as_mkdir_p || {
 
298
    as_dirs=
 
299
    while :; do
 
300
      case $as_dir in #(
 
301
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
302
      *) as_qdir=$as_dir;;
 
303
      esac
 
304
      as_dirs="'$as_qdir' $as_dirs"
 
305
      as_dir=`$as_dirname -- "$as_dir" ||
 
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
307
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
308
         X"$as_dir" : 'X\(//\)$' \| \
 
309
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
310
$as_echo X"$as_dir" |
 
311
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\/\)[^/].*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\).*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          s/.*/./; q'`
 
328
      test -d "$as_dir" && break
 
329
    done
 
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
332
 
 
333
 
 
334
} # as_fn_mkdir_p
 
335
# as_fn_append VAR VALUE
 
336
# ----------------------
 
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
338
# advantage of any shell optimizations that allow amortized linear growth over
 
339
# repeated appends, instead of the typical quadratic growth present in naive
 
340
# implementations.
 
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
342
  eval 'as_fn_append ()
 
343
  {
 
344
    eval $1+=\$2
 
345
  }'
 
346
else
 
347
  as_fn_append ()
 
348
  {
 
349
    eval $1=\$$1\$2
 
350
  }
 
351
fi # as_fn_append
 
352
 
 
353
# as_fn_arith ARG...
 
354
# ------------------
 
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
357
# must be portable across $(()) and expr.
 
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
359
  eval 'as_fn_arith ()
 
360
  {
 
361
    as_val=$(( $* ))
 
362
  }'
 
363
else
 
364
  as_fn_arith ()
 
365
  {
 
366
    as_val=`expr "$@" || test $? -eq 1`
 
367
  }
 
368
fi # as_fn_arith
 
369
 
 
370
 
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
 
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
375
# script with STATUS, using 1 if that was 0.
 
376
as_fn_error ()
 
377
{
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
382
  fi
 
383
  $as_echo "$as_me: error: $2" >&2
 
384
  as_fn_exit $as_status
 
385
} # as_fn_error
 
386
 
 
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
388
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
389
  as_expr=expr
 
390
else
 
391
  as_expr=false
 
392
fi
 
393
 
 
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
395
  as_basename=basename
 
396
else
 
397
  as_basename=false
 
398
fi
 
399
 
 
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
401
  as_dirname=dirname
 
402
else
 
403
  as_dirname=false
 
404
fi
 
405
 
 
406
as_me=`$as_basename -- "$0" ||
 
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
408
         X"$0" : 'X\(//\)$' \| \
 
409
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
410
$as_echo X/"$0" |
 
411
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          /^X\/\(\/\/\)$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\).*/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          s/.*/./; q'`
 
424
 
 
425
# Avoid depending upon Character Ranges.
 
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
429
as_cr_digits='0123456789'
 
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
431
 
 
432
 
 
433
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
434
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
435
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
436
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
437
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
438
  sed -n '
461
439
    p
462
440
    /[$]LINENO/=
473
451
      s/-\n.*//
474
452
    ' >$as_me.lineno &&
475
453
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
454
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
455
 
479
456
  # Don't try to exec as it changes $[0], causing all sort of problems
480
457
  # (the dirname of $[0] is not the place where we might find the
484
461
  exit
485
462
}
486
463
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
464
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
465
case `echo -n x` in #(((((
496
466
-n*)
497
 
  case `echo 'x\c'` in
 
467
  case `echo 'xy\c'` in
498
468
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
469
  xy)  ECHO_C='\c';;
 
470
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
471
       ECHO_T=' ';;
500
472
  esac;;
501
473
*)
502
474
  ECHO_N='-n';;
503
475
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
476
 
511
477
rm -f conf$$ conf$$.exe conf$$.file
512
478
if test -d conf$$.dir; then
536
502
rmdir conf$$.dir 2>/dev/null
537
503
 
538
504
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
505
  as_mkdir_p='mkdir -p "$as_dir"'
540
506
else
541
507
  test -d ./-p && rmdir ./-p
542
508
  as_mkdir_p=false
555
521
      if test -d "$1"; then
556
522
        test -d "$1/.";
557
523
      else
558
 
        case $1 in
 
524
        case $1 in #(
559
525
        -*)set "./$1";;
560
526
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
527
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
528
        ???[sx]*):;;*)false;;esac;fi
563
529
    '\'' sh
564
530
  '
572
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
539
 
574
540
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
541
test -n "$DJDIR" || exec 7<&0 </dev/null
 
542
exec 6>&1
577
543
 
578
544
# Name of the host.
579
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
545
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580
546
# so uname gets run too.
581
547
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
548
 
591
557
subdirs=
592
558
MFLAGS=
593
559
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
560
 
596
561
# Identity of this package.
597
562
PACKAGE_NAME='xcursorgen'
598
563
PACKAGE_TARNAME='xcursorgen'
599
 
PACKAGE_VERSION='1.0.3'
600
 
PACKAGE_STRING='xcursorgen 1.0.3'
 
564
PACKAGE_VERSION='1.0.4'
 
565
PACKAGE_STRING='xcursorgen 1.0.4'
601
566
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
567
PACKAGE_URL=''
602
568
 
603
569
# Factoring default headers for most tests.
604
570
ac_includes_default="\
642
608
LIBOBJS
643
609
XCURSORGEN_LIBS
644
610
XCURSORGEN_CFLAGS
645
 
PKG_CONFIG
 
611
AM_BACKSLASH
 
612
AM_DEFAULT_VERBOSITY
 
613
MAN_SUBSTS
 
614
XORG_MAN_PAGE
646
615
ADMIN_MAN_DIR
647
616
DRIVER_MAN_DIR
648
617
MISC_MAN_DIR
655
624
FILE_MAN_SUFFIX
656
625
LIB_MAN_SUFFIX
657
626
APP_MAN_SUFFIX
 
627
SED
658
628
host_os
659
629
host_vendor
660
630
host_cpu
663
633
build_vendor
664
634
build_cpu
665
635
build
666
 
distcleancheck_listfiles
 
636
INSTALL_CMD
 
637
PKG_CONFIG
667
638
CHANGELOG_CMD
668
 
AM_BACKSLASH
669
 
AM_DEFAULT_VERBOSITY
670
639
CWARNFLAGS
671
640
EGREP
672
641
GREP
743
712
program_transform_name
744
713
prefix
745
714
exec_prefix
 
715
PACKAGE_URL
746
716
PACKAGE_BUGREPORT
747
717
PACKAGE_STRING
748
718
PACKAGE_VERSION
755
725
enable_option_checking
756
726
enable_maintainer_mode
757
727
enable_dependency_tracking
 
728
enable_strict_compilation
758
729
enable_silent_rules
759
 
enable_strict_compilation
760
 
with_release_version
761
730
'
762
731
      ac_precious_vars='build_alias
763
732
host_alias
833
802
  fi
834
803
 
835
804
  case $ac_option in
836
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837
 
  *)    ac_optarg=yes ;;
 
805
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
806
  *=)   ac_optarg= ;;
 
807
  *)    ac_optarg=yes ;;
838
808
  esac
839
809
 
840
810
  # Accept the important Cygnus configure options, so we can diagnose typos.
879
849
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880
850
    # Reject names that are not valid shell variable names.
881
851
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
883
 
   { (exit 1); exit 1; }; }
 
852
      as_fn_error $? "invalid feature name: $ac_useropt"
884
853
    ac_useropt_orig=$ac_useropt
885
854
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886
855
    case $ac_user_opts in
906
875
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907
876
    # Reject names that are not valid shell variable names.
908
877
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
910
 
   { (exit 1); exit 1; }; }
 
878
      as_fn_error $? "invalid feature name: $ac_useropt"
911
879
    ac_useropt_orig=$ac_useropt
912
880
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913
881
    case $ac_user_opts in
1111
1079
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112
1080
    # Reject names that are not valid shell variable names.
1113
1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1115
 
   { (exit 1); exit 1; }; }
 
1082
      as_fn_error $? "invalid package name: $ac_useropt"
1116
1083
    ac_useropt_orig=$ac_useropt
1117
1084
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118
1085
    case $ac_user_opts in
1128
1095
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129
1096
    # Reject names that are not valid shell variable names.
1130
1097
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1132
 
   { (exit 1); exit 1; }; }
 
1098
      as_fn_error $? "invalid package name: $ac_useropt"
1133
1099
    ac_useropt_orig=$ac_useropt
1134
1100
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135
1101
    case $ac_user_opts in
1159
1125
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160
1126
    x_libraries=$ac_optarg ;;
1161
1127
 
1162
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1163
 
Try \`$0 --help' for more information." >&2
1164
 
   { (exit 1); exit 1; }; }
 
1128
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1129
Try \`$0 --help' for more information"
1165
1130
    ;;
1166
1131
 
1167
1132
  *=*)
1168
1133
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1169
1134
    # Reject names that are not valid shell variable names.
1170
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1171
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1172
 
   { (exit 1); exit 1; }; }
 
1135
    case $ac_envvar in #(
 
1136
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1137
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1138
    esac
1173
1139
    eval $ac_envvar=\$ac_optarg
1174
1140
    export $ac_envvar ;;
1175
1141
 
1178
1144
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179
1145
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180
1146
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1147
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1182
1148
    ;;
1183
1149
 
1184
1150
  esac
1186
1152
 
1187
1153
if test -n "$ac_prev"; then
1188
1154
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1190
 
   { (exit 1); exit 1; }; }
 
1155
  as_fn_error $? "missing argument to $ac_option"
1191
1156
fi
1192
1157
 
1193
1158
if test -n "$ac_unrecognized_opts"; then
1194
1159
  case $enable_option_checking in
1195
1160
    no) ;;
1196
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1197
 
   { (exit 1); exit 1; }; } ;;
 
1161
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198
1162
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199
1163
  esac
1200
1164
fi
1217
1181
    [\\/$]* | ?:[\\/]* )  continue;;
1218
1182
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219
1183
  esac
1220
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1221
 
   { (exit 1); exit 1; }; }
 
1184
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1222
1185
done
1223
1186
 
1224
1187
# There might be people who depend on the old broken behavior: `$host'
1232
1195
if test "x$host_alias" != x; then
1233
1196
  if test "x$build_alias" = x; then
1234
1197
    cross_compiling=maybe
1235
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1236
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1198
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1199
    If a cross compiler is detected then cross compile mode will be used" >&2
1237
1200
  elif test "x$build_alias" != "x$host_alias"; then
1238
1201
    cross_compiling=yes
1239
1202
  fi
1248
1211
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249
1212
ac_ls_di=`ls -di .` &&
1250
1213
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1252
 
   { (exit 1); exit 1; }; }
 
1214
  as_fn_error $? "working directory cannot be determined"
1253
1215
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1255
 
   { (exit 1); exit 1; }; }
 
1216
  as_fn_error $? "pwd does not report name of working directory"
1256
1217
 
1257
1218
 
1258
1219
# Find the source files, if location was not specified.
1291
1252
fi
1292
1253
if test ! -r "$srcdir/$ac_unique_file"; then
1293
1254
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1295
 
   { (exit 1); exit 1; }; }
 
1255
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1296
1256
fi
1297
1257
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298
1258
ac_abs_confdir=`(
1299
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1300
 
   { (exit 1); exit 1; }; }
 
1259
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1301
1260
        pwd)`
1302
1261
# When building in place, set srcdir=.
1303
1262
if test "$ac_abs_confdir" = "$ac_pwd"; then
1323
1282
  # Omit some internal or obsolete options to make the list less imposing.
1324
1283
  # This message is too long to be a string in the A/UX 3.1 sh.
1325
1284
  cat <<_ACEOF
1326
 
\`configure' configures xcursorgen 1.0.3 to adapt to many kinds of systems.
 
1285
\`configure' configures xcursorgen 1.0.4 to adapt to many kinds of systems.
1327
1286
 
1328
1287
Usage: $0 [OPTION]... [VAR=VALUE]...
1329
1288
 
1337
1296
      --help=short        display options specific to this package
1338
1297
      --help=recursive    display the short help of all the included packages
1339
1298
  -V, --version           display version information and exit
1340
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1299
  -q, --quiet, --silent   do not print \`checking ...' messages
1341
1300
      --cache-file=FILE   cache test results in FILE [disabled]
1342
1301
  -C, --config-cache      alias for \`--cache-file=config.cache'
1343
1302
  -n, --no-create         do not create output files
1393
1352
 
1394
1353
if test -n "$ac_init_help"; then
1395
1354
  case $ac_init_help in
1396
 
     short | recursive ) echo "Configuration of xcursorgen 1.0.3:";;
 
1355
     short | recursive ) echo "Configuration of xcursorgen 1.0.4:";;
1397
1356
   esac
1398
1357
  cat <<\_ACEOF
1399
1358
 
1405
1364
                          (and sometimes confusing) to the casual installer
1406
1365
  --disable-dependency-tracking  speeds up one-time build
1407
1366
  --enable-dependency-tracking   do not reject slow dependency extractors
1408
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1409
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1410
1367
  --enable-strict-compilation
1411
1368
                          Enable all warnings from compiler and make them
1412
1369
                          errors (default: disabled)
1413
 
 
1414
 
Optional Packages:
1415
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1416
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1417
 
  --with-release-version=STRING
1418
 
                          Use release version string in package name
 
1370
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1371
  --disable-silent-rules         verbose build output (undo: `make V=0')
1419
1372
 
1420
1373
Some influential environment variables:
1421
1374
  CC          C compiler command
1423
1376
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1424
1377
              nonstandard directory <lib dir>
1425
1378
  LIBS        libraries to pass to the linker, e.g. -l<library>
1426
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1379
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427
1380
              you have headers in a nonstandard directory <include dir>
1428
1381
  CPP         C preprocessor
1429
1382
  PKG_CONFIG  path to pkg-config utility
1498
1451
test -n "$ac_init_help" && exit $ac_status
1499
1452
if $ac_init_version; then
1500
1453
  cat <<\_ACEOF
1501
 
xcursorgen configure 1.0.3
1502
 
generated by GNU Autoconf 2.63
 
1454
xcursorgen configure 1.0.4
 
1455
generated by GNU Autoconf 2.68
1503
1456
 
1504
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1505
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1457
Copyright (C) 2010 Free Software Foundation, Inc.
1506
1458
This configure script is free software; the Free Software Foundation
1507
1459
gives unlimited permission to copy, distribute and modify it.
1508
1460
_ACEOF
1509
1461
  exit
1510
1462
fi
 
1463
 
 
1464
## ------------------------ ##
 
1465
## Autoconf initialization. ##
 
1466
## ------------------------ ##
 
1467
 
 
1468
# ac_fn_c_try_compile LINENO
 
1469
# --------------------------
 
1470
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1471
ac_fn_c_try_compile ()
 
1472
{
 
1473
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1474
  rm -f conftest.$ac_objext
 
1475
  if { { ac_try="$ac_compile"
 
1476
case "(($ac_try" in
 
1477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1478
  *) ac_try_echo=$ac_try;;
 
1479
esac
 
1480
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1481
$as_echo "$ac_try_echo"; } >&5
 
1482
  (eval "$ac_compile") 2>conftest.err
 
1483
  ac_status=$?
 
1484
  if test -s conftest.err; then
 
1485
    grep -v '^ *+' conftest.err >conftest.er1
 
1486
    cat conftest.er1 >&5
 
1487
    mv -f conftest.er1 conftest.err
 
1488
  fi
 
1489
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1490
  test $ac_status = 0; } && {
 
1491
         test -z "$ac_c_werror_flag" ||
 
1492
         test ! -s conftest.err
 
1493
       } && test -s conftest.$ac_objext; then :
 
1494
  ac_retval=0
 
1495
else
 
1496
  $as_echo "$as_me: failed program was:" >&5
 
1497
sed 's/^/| /' conftest.$ac_ext >&5
 
1498
 
 
1499
        ac_retval=1
 
1500
fi
 
1501
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1502
  as_fn_set_status $ac_retval
 
1503
 
 
1504
} # ac_fn_c_try_compile
 
1505
 
 
1506
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1507
# ---------------------------------------------
 
1508
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1509
# accordingly.
 
1510
ac_fn_c_check_decl ()
 
1511
{
 
1512
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1513
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1514
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1515
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1516
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1517
if eval \${$3+:} false; then :
 
1518
  $as_echo_n "(cached) " >&6
 
1519
else
 
1520
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1521
/* end confdefs.h.  */
 
1522
$4
 
1523
int
 
1524
main ()
 
1525
{
 
1526
#ifndef $as_decl_name
 
1527
#ifdef __cplusplus
 
1528
  (void) $as_decl_use;
 
1529
#else
 
1530
  (void) $as_decl_name;
 
1531
#endif
 
1532
#endif
 
1533
 
 
1534
  ;
 
1535
  return 0;
 
1536
}
 
1537
_ACEOF
 
1538
if ac_fn_c_try_compile "$LINENO"; then :
 
1539
  eval "$3=yes"
 
1540
else
 
1541
  eval "$3=no"
 
1542
fi
 
1543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1544
fi
 
1545
eval ac_res=\$$3
 
1546
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1547
$as_echo "$ac_res" >&6; }
 
1548
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1549
 
 
1550
} # ac_fn_c_check_decl
 
1551
 
 
1552
# ac_fn_c_try_cpp LINENO
 
1553
# ----------------------
 
1554
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1555
ac_fn_c_try_cpp ()
 
1556
{
 
1557
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1558
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1559
case "(($ac_try" in
 
1560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1561
  *) ac_try_echo=$ac_try;;
 
1562
esac
 
1563
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1564
$as_echo "$ac_try_echo"; } >&5
 
1565
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1566
  ac_status=$?
 
1567
  if test -s conftest.err; then
 
1568
    grep -v '^ *+' conftest.err >conftest.er1
 
1569
    cat conftest.er1 >&5
 
1570
    mv -f conftest.er1 conftest.err
 
1571
  fi
 
1572
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1573
  test $ac_status = 0; } > conftest.i && {
 
1574
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1575
         test ! -s conftest.err
 
1576
       }; then :
 
1577
  ac_retval=0
 
1578
else
 
1579
  $as_echo "$as_me: failed program was:" >&5
 
1580
sed 's/^/| /' conftest.$ac_ext >&5
 
1581
 
 
1582
    ac_retval=1
 
1583
fi
 
1584
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1585
  as_fn_set_status $ac_retval
 
1586
 
 
1587
} # ac_fn_c_try_cpp
 
1588
 
 
1589
# ac_fn_c_try_run LINENO
 
1590
# ----------------------
 
1591
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1592
# that executables *can* be run.
 
1593
ac_fn_c_try_run ()
 
1594
{
 
1595
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1596
  if { { ac_try="$ac_link"
 
1597
case "(($ac_try" in
 
1598
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1599
  *) ac_try_echo=$ac_try;;
 
1600
esac
 
1601
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1602
$as_echo "$ac_try_echo"; } >&5
 
1603
  (eval "$ac_link") 2>&5
 
1604
  ac_status=$?
 
1605
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1606
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1607
  { { case "(($ac_try" in
 
1608
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1609
  *) ac_try_echo=$ac_try;;
 
1610
esac
 
1611
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1612
$as_echo "$ac_try_echo"; } >&5
 
1613
  (eval "$ac_try") 2>&5
 
1614
  ac_status=$?
 
1615
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1616
  test $ac_status = 0; }; }; then :
 
1617
  ac_retval=0
 
1618
else
 
1619
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1620
       $as_echo "$as_me: failed program was:" >&5
 
1621
sed 's/^/| /' conftest.$ac_ext >&5
 
1622
 
 
1623
       ac_retval=$ac_status
 
1624
fi
 
1625
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1626
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1627
  as_fn_set_status $ac_retval
 
1628
 
 
1629
} # ac_fn_c_try_run
 
1630
 
 
1631
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1632
# -------------------------------------------------------
 
1633
# Tests whether HEADER exists and can be compiled using the include files in
 
1634
# INCLUDES, setting the cache variable VAR accordingly.
 
1635
ac_fn_c_check_header_compile ()
 
1636
{
 
1637
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1638
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1639
$as_echo_n "checking for $2... " >&6; }
 
1640
if eval \${$3+:} false; then :
 
1641
  $as_echo_n "(cached) " >&6
 
1642
else
 
1643
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1644
/* end confdefs.h.  */
 
1645
$4
 
1646
#include <$2>
 
1647
_ACEOF
 
1648
if ac_fn_c_try_compile "$LINENO"; then :
 
1649
  eval "$3=yes"
 
1650
else
 
1651
  eval "$3=no"
 
1652
fi
 
1653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1654
fi
 
1655
eval ac_res=\$$3
 
1656
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1657
$as_echo "$ac_res" >&6; }
 
1658
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1659
 
 
1660
} # ac_fn_c_check_header_compile
1511
1661
cat >config.log <<_ACEOF
1512
1662
This file contains any messages produced by compilers while
1513
1663
running configure, to aid debugging if configure makes a mistake.
1514
1664
 
1515
 
It was created by xcursorgen $as_me 1.0.3, which was
1516
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1665
It was created by xcursorgen $as_me 1.0.4, which was
 
1666
generated by GNU Autoconf 2.68.  Invocation command line was
1517
1667
 
1518
1668
  $ $0 $@
1519
1669
 
1549
1699
do
1550
1700
  IFS=$as_save_IFS
1551
1701
  test -z "$as_dir" && as_dir=.
1552
 
  $as_echo "PATH: $as_dir"
1553
 
done
 
1702
    $as_echo "PATH: $as_dir"
 
1703
  done
1554
1704
IFS=$as_save_IFS
1555
1705
 
1556
1706
} >&5
1587
1737
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1588
1738
    esac
1589
1739
    case $ac_pass in
1590
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1740
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1591
1741
    2)
1592
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1742
      as_fn_append ac_configure_args1 " '$ac_arg'"
1593
1743
      if test $ac_must_keep_next = true; then
1594
1744
        ac_must_keep_next=false # Got value, back to normal.
1595
1745
      else
1605
1755
          -* ) ac_must_keep_next=true ;;
1606
1756
        esac
1607
1757
      fi
1608
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1758
      as_fn_append ac_configure_args " '$ac_arg'"
1609
1759
      ;;
1610
1760
    esac
1611
1761
  done
1612
1762
done
1613
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1614
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1763
{ ac_configure_args0=; unset ac_configure_args0;}
 
1764
{ ac_configure_args1=; unset ac_configure_args1;}
1615
1765
 
1616
1766
# When interrupted or exit'd, cleanup temporary files, and complete
1617
1767
# config.log.  We remove comments because anyway the quotes in there
1623
1773
  {
1624
1774
    echo
1625
1775
 
1626
 
    cat <<\_ASBOX
1627
 
## ---------------- ##
 
1776
    $as_echo "## ---------------- ##
1628
1777
## Cache variables. ##
1629
 
## ---------------- ##
1630
 
_ASBOX
 
1778
## ---------------- ##"
1631
1779
    echo
1632
1780
    # The following way of writing the cache mishandles newlines in values,
1633
1781
(
1636
1784
    case $ac_val in #(
1637
1785
    *${as_nl}*)
1638
1786
      case $ac_var in #(
1639
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1787
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1640
1788
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1641
1789
      esac
1642
1790
      case $ac_var in #(
1643
1791
      _ | IFS | as_nl) ;; #(
1644
1792
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1645
 
      *) $as_unset $ac_var ;;
 
1793
      *) { eval $ac_var=; unset $ac_var;} ;;
1646
1794
      esac ;;
1647
1795
    esac
1648
1796
  done
1661
1809
)
1662
1810
    echo
1663
1811
 
1664
 
    cat <<\_ASBOX
1665
 
## ----------------- ##
 
1812
    $as_echo "## ----------------- ##
1666
1813
## Output variables. ##
1667
 
## ----------------- ##
1668
 
_ASBOX
 
1814
## ----------------- ##"
1669
1815
    echo
1670
1816
    for ac_var in $ac_subst_vars
1671
1817
    do
1678
1824
    echo
1679
1825
 
1680
1826
    if test -n "$ac_subst_files"; then
1681
 
      cat <<\_ASBOX
1682
 
## ------------------- ##
 
1827
      $as_echo "## ------------------- ##
1683
1828
## File substitutions. ##
1684
 
## ------------------- ##
1685
 
_ASBOX
 
1829
## ------------------- ##"
1686
1830
      echo
1687
1831
      for ac_var in $ac_subst_files
1688
1832
      do
1696
1840
    fi
1697
1841
 
1698
1842
    if test -s confdefs.h; then
1699
 
      cat <<\_ASBOX
1700
 
## ----------- ##
 
1843
      $as_echo "## ----------- ##
1701
1844
## confdefs.h. ##
1702
 
## ----------- ##
1703
 
_ASBOX
 
1845
## ----------- ##"
1704
1846
      echo
1705
1847
      cat confdefs.h
1706
1848
      echo
1714
1856
    exit $exit_status
1715
1857
' 0
1716
1858
for ac_signal in 1 2 13 15; do
1717
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1859
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1718
1860
done
1719
1861
ac_signal=0
1720
1862
 
1721
1863
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1722
1864
rm -f -r conftest* confdefs.h
1723
1865
 
 
1866
$as_echo "/* confdefs.h */" > confdefs.h
 
1867
 
1724
1868
# Predefined preprocessor variables.
1725
1869
 
1726
1870
cat >>confdefs.h <<_ACEOF
1727
1871
#define PACKAGE_NAME "$PACKAGE_NAME"
1728
1872
_ACEOF
1729
1873
 
1730
 
 
1731
1874
cat >>confdefs.h <<_ACEOF
1732
1875
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733
1876
_ACEOF
1734
1877
 
1735
 
 
1736
1878
cat >>confdefs.h <<_ACEOF
1737
1879
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1738
1880
_ACEOF
1739
1881
 
1740
 
 
1741
1882
cat >>confdefs.h <<_ACEOF
1742
1883
#define PACKAGE_STRING "$PACKAGE_STRING"
1743
1884
_ACEOF
1744
1885
 
1745
 
 
1746
1886
cat >>confdefs.h <<_ACEOF
1747
1887
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748
1888
_ACEOF
1749
1889
 
 
1890
cat >>confdefs.h <<_ACEOF
 
1891
#define PACKAGE_URL "$PACKAGE_URL"
 
1892
_ACEOF
 
1893
 
1750
1894
 
1751
1895
# Let the site file select an alternate cache file if it wants to.
1752
1896
# Prefer an explicitly selected file to automatically selected ones.
1753
1897
ac_site_file1=NONE
1754
1898
ac_site_file2=NONE
1755
1899
if test -n "$CONFIG_SITE"; then
1756
 
  ac_site_file1=$CONFIG_SITE
 
1900
  # We do not want a PATH search for config.site.
 
1901
  case $CONFIG_SITE in #((
 
1902
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1903
    */*) ac_site_file1=$CONFIG_SITE;;
 
1904
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1905
  esac
1757
1906
elif test "x$prefix" != xNONE; then
1758
1907
  ac_site_file1=$prefix/share/config.site
1759
1908
  ac_site_file2=$prefix/etc/config.site
1764
1913
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1765
1914
do
1766
1915
  test "x$ac_site_file" = xNONE && continue
1767
 
  if test -r "$ac_site_file"; then
1768
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1916
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1917
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1769
1918
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1770
1919
    sed 's/^/| /' "$ac_site_file" >&5
1771
 
    . "$ac_site_file"
 
1920
    . "$ac_site_file" \
 
1921
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1922
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1923
as_fn_error $? "failed to load site script $ac_site_file
 
1924
See \`config.log' for more details" "$LINENO" 5; }
1772
1925
  fi
1773
1926
done
1774
1927
 
1775
1928
if test -r "$cache_file"; then
1776
 
  # Some versions of bash will fail to source /dev/null (special
1777
 
  # files actually), so we avoid doing that.
1778
 
  if test -f "$cache_file"; then
1779
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1929
  # Some versions of bash will fail to source /dev/null (special files
 
1930
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1931
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1932
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1780
1933
$as_echo "$as_me: loading cache $cache_file" >&6;}
1781
1934
    case $cache_file in
1782
1935
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1784
1937
    esac
1785
1938
  fi
1786
1939
else
1787
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1940
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1788
1941
$as_echo "$as_me: creating cache $cache_file" >&6;}
1789
1942
  >$cache_file
1790
1943
fi
1799
1952
  eval ac_new_val=\$ac_env_${ac_var}_value
1800
1953
  case $ac_old_set,$ac_new_set in
1801
1954
    set,)
1802
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1955
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1803
1956
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1804
1957
      ac_cache_corrupted=: ;;
1805
1958
    ,set)
1806
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1959
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1807
1960
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1808
1961
      ac_cache_corrupted=: ;;
1809
1962
    ,);;
1813
1966
        ac_old_val_w=`echo x $ac_old_val`
1814
1967
        ac_new_val_w=`echo x $ac_new_val`
1815
1968
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1816
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1969
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1817
1970
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1818
1971
          ac_cache_corrupted=:
1819
1972
        else
1820
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1973
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1821
1974
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1822
1975
          eval $ac_var=\$ac_old_val
1823
1976
        fi
1824
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1977
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1825
1978
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1826
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1979
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1827
1980
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1828
1981
      fi;;
1829
1982
  esac
1835
1988
    esac
1836
1989
    case " $ac_configure_args " in
1837
1990
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1838
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1991
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1839
1992
    esac
1840
1993
  fi
1841
1994
done
1842
1995
if $ac_cache_corrupted; then
1843
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1996
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1844
1997
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1845
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1998
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1846
1999
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1847
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1848
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1849
 
   { (exit 1); exit 1; }; }
 
2000
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1850
2001
fi
1851
 
 
1852
 
 
1853
 
 
1854
 
 
1855
 
 
1856
 
 
1857
 
 
1858
 
 
1859
 
 
1860
 
 
1861
 
 
1862
 
 
1863
 
 
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
 
2002
## -------------------- ##
 
2003
## Main body of script. ##
 
2004
## -------------------- ##
1875
2005
 
1876
2006
ac_ext=c
1877
2007
ac_cpp='$CPP $CPPFLAGS'
1899
2029
  fi
1900
2030
done
1901
2031
if test -z "$ac_aux_dir"; then
1902
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1903
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1904
 
   { (exit 1); exit 1; }; }
 
2032
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1905
2033
fi
1906
2034
 
1907
2035
# These three variables are undocumented and unsupported,
1927
2055
# OS/2's system install, which has a completely different semantic
1928
2056
# ./install, which can be erroneously created by make from ./install.sh.
1929
2057
# Reject install programs that cannot install multiple files.
1930
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1931
2059
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1932
2060
if test -z "$INSTALL"; then
1933
 
if test "${ac_cv_path_install+set}" = set; then
 
2061
if ${ac_cv_path_install+:} false; then :
1934
2062
  $as_echo_n "(cached) " >&6
1935
2063
else
1936
2064
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938
2066
do
1939
2067
  IFS=$as_save_IFS
1940
2068
  test -z "$as_dir" && as_dir=.
1941
 
  # Account for people who put trailing slashes in PATH elements.
1942
 
case $as_dir/ in
1943
 
  ./ | .// | /cC/* | \
 
2069
    # Account for people who put trailing slashes in PATH elements.
 
2070
case $as_dir/ in #((
 
2071
  ./ | .// | /[cC]/* | \
1944
2072
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1945
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2073
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1946
2074
  /usr/ucb/* ) ;;
1947
2075
  *)
1948
2076
    # OSF1 and SCO ODT 3.0 have their own names for install.
1979
2107
    ;;
1980
2108
esac
1981
2109
 
1982
 
done
 
2110
  done
1983
2111
IFS=$as_save_IFS
1984
2112
 
1985
2113
rm -rf conftest.one conftest.two conftest.dir
1995
2123
    INSTALL=$ac_install_sh
1996
2124
  fi
1997
2125
fi
1998
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1999
2127
$as_echo "$INSTALL" >&6; }
2000
2128
 
2001
2129
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2006
2134
 
2007
2135
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2008
2136
 
2009
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2010
2138
$as_echo_n "checking whether build environment is sane... " >&6; }
2011
2139
# Just in case
2012
2140
sleep 1
2017
2145
'
2018
2146
case `pwd` in
2019
2147
  *[\\\"\#\$\&\'\`$am_lf]*)
2020
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2021
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2022
 
   { (exit 1); exit 1; }; };;
 
2148
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2023
2149
esac
2024
2150
case $srcdir in
2025
2151
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2026
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2027
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2028
 
   { (exit 1); exit 1; }; };;
 
2152
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2029
2153
esac
2030
2154
 
2031
2155
# Do `set' in a subshell so we don't clobber the current shell's
2047
2171
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2048
2172
      # broken ls alias from the environment.  This has actually
2049
2173
      # happened.  Such a system could not be considered "sane".
2050
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2051
 
alias in your environment" >&5
2052
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2053
 
alias in your environment" >&2;}
2054
 
   { (exit 1); exit 1; }; }
 
2174
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2175
alias in your environment" "$LINENO" 5
2055
2176
   fi
2056
2177
 
2057
2178
   test "$2" = conftest.file
2060
2181
   # Ok.
2061
2182
   :
2062
2183
else
2063
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2064
 
Check your system clock" >&5
2065
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2066
 
Check your system clock" >&2;}
2067
 
   { (exit 1); exit 1; }; }
 
2184
   as_fn_error $? "newly created file is older than distributed files!
 
2185
Check your system clock" "$LINENO" 5
2068
2186
fi
2069
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2070
2188
$as_echo "yes" >&6; }
2071
2189
test "$program_prefix" != NONE &&
2072
2190
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2094
2212
  am_missing_run="$MISSING --run "
2095
2213
else
2096
2214
  am_missing_run=
2097
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2215
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2098
2216
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2099
2217
fi
2100
2218
 
2115
2233
  if test -n "$ac_tool_prefix"; then
2116
2234
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2117
2235
set dummy ${ac_tool_prefix}strip; ac_word=$2
2118
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2119
2237
$as_echo_n "checking for $ac_word... " >&6; }
2120
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2238
if ${ac_cv_prog_STRIP+:} false; then :
2121
2239
  $as_echo_n "(cached) " >&6
2122
2240
else
2123
2241
  if test -n "$STRIP"; then
2128
2246
do
2129
2247
  IFS=$as_save_IFS
2130
2248
  test -z "$as_dir" && as_dir=.
2131
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2249
    for ac_exec_ext in '' $ac_executable_extensions; do
2132
2250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133
2251
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2134
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135
2253
    break 2
2136
2254
  fi
2137
2255
done
2138
 
done
 
2256
  done
2139
2257
IFS=$as_save_IFS
2140
2258
 
2141
2259
fi
2142
2260
fi
2143
2261
STRIP=$ac_cv_prog_STRIP
2144
2262
if test -n "$STRIP"; then
2145
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2146
2264
$as_echo "$STRIP" >&6; }
2147
2265
else
2148
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2149
2267
$as_echo "no" >&6; }
2150
2268
fi
2151
2269
 
2155
2273
  ac_ct_STRIP=$STRIP
2156
2274
  # Extract the first word of "strip", so it can be a program name with args.
2157
2275
set dummy strip; ac_word=$2
2158
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2159
2277
$as_echo_n "checking for $ac_word... " >&6; }
2160
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2278
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2161
2279
  $as_echo_n "(cached) " >&6
2162
2280
else
2163
2281
  if test -n "$ac_ct_STRIP"; then
2168
2286
do
2169
2287
  IFS=$as_save_IFS
2170
2288
  test -z "$as_dir" && as_dir=.
2171
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2289
    for ac_exec_ext in '' $ac_executable_extensions; do
2172
2290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173
2291
    ac_cv_prog_ac_ct_STRIP="strip"
2174
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2292
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2175
2293
    break 2
2176
2294
  fi
2177
2295
done
2178
 
done
 
2296
  done
2179
2297
IFS=$as_save_IFS
2180
2298
 
2181
2299
fi
2182
2300
fi
2183
2301
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2184
2302
if test -n "$ac_ct_STRIP"; then
2185
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2186
2304
$as_echo "$ac_ct_STRIP" >&6; }
2187
2305
else
2188
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2189
2307
$as_echo "no" >&6; }
2190
2308
fi
2191
2309
 
2194
2312
  else
2195
2313
    case $cross_compiling:$ac_tool_warned in
2196
2314
yes:)
2197
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2198
2316
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2199
2317
ac_tool_warned=yes ;;
2200
2318
esac
2207
2325
fi
2208
2326
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2209
2327
 
2210
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2211
2329
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2212
2330
if test -z "$MKDIR_P"; then
2213
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2331
  if ${ac_cv_path_mkdir+:} false; then :
2214
2332
  $as_echo_n "(cached) " >&6
2215
2333
else
2216
2334
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218
2336
do
2219
2337
  IFS=$as_save_IFS
2220
2338
  test -z "$as_dir" && as_dir=.
2221
 
  for ac_prog in mkdir gmkdir; do
 
2339
    for ac_prog in mkdir gmkdir; do
2222
2340
         for ac_exec_ext in '' $ac_executable_extensions; do
2223
2341
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2224
2342
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2230
2348
           esac
2231
2349
         done
2232
2350
       done
2233
 
done
 
2351
  done
2234
2352
IFS=$as_save_IFS
2235
2353
 
2236
2354
fi
2237
2355
 
 
2356
  test -d ./--version && rmdir ./--version
2238
2357
  if test "${ac_cv_path_mkdir+set}" = set; then
2239
2358
    MKDIR_P="$ac_cv_path_mkdir -p"
2240
2359
  else
2242
2361
    # value for MKDIR_P within a source directory, because that will
2243
2362
    # break other packages using the cache if that directory is
2244
2363
    # removed, or if the value is a relative name.
2245
 
    test -d ./--version && rmdir ./--version
2246
2364
    MKDIR_P="$ac_install_sh -d"
2247
2365
  fi
2248
2366
fi
2249
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2250
2368
$as_echo "$MKDIR_P" >&6; }
2251
2369
 
2252
2370
mkdir_p="$MKDIR_P"
2259
2377
do
2260
2378
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2261
2379
set dummy $ac_prog; ac_word=$2
2262
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263
2381
$as_echo_n "checking for $ac_word... " >&6; }
2264
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2382
if ${ac_cv_prog_AWK+:} false; then :
2265
2383
  $as_echo_n "(cached) " >&6
2266
2384
else
2267
2385
  if test -n "$AWK"; then
2272
2390
do
2273
2391
  IFS=$as_save_IFS
2274
2392
  test -z "$as_dir" && as_dir=.
2275
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2393
    for ac_exec_ext in '' $ac_executable_extensions; do
2276
2394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277
2395
    ac_cv_prog_AWK="$ac_prog"
2278
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279
2397
    break 2
2280
2398
  fi
2281
2399
done
2282
 
done
 
2400
  done
2283
2401
IFS=$as_save_IFS
2284
2402
 
2285
2403
fi
2286
2404
fi
2287
2405
AWK=$ac_cv_prog_AWK
2288
2406
if test -n "$AWK"; then
2289
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2290
2408
$as_echo "$AWK" >&6; }
2291
2409
else
2292
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293
2411
$as_echo "no" >&6; }
2294
2412
fi
2295
2413
 
2297
2415
  test -n "$AWK" && break
2298
2416
done
2299
2417
 
2300
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2301
2419
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2302
2420
set x ${MAKE-make}
2303
2421
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2304
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2422
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2305
2423
  $as_echo_n "(cached) " >&6
2306
2424
else
2307
2425
  cat >conftest.make <<\_ACEOF
2309
2427
all:
2310
2428
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2311
2429
_ACEOF
2312
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2430
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2313
2431
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2314
2432
  *@@@%%%=?*=@@@%%%*)
2315
2433
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2319
2437
rm -f conftest.make
2320
2438
fi
2321
2439
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2322
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2323
2441
$as_echo "yes" >&6; }
2324
2442
  SET_MAKE=
2325
2443
else
2326
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327
2445
$as_echo "no" >&6; }
2328
2446
  SET_MAKE="MAKE=${MAKE-make}"
2329
2447
fi
2343
2461
  am__isrc=' -I$(srcdir)'
2344
2462
  # test to see if srcdir already configured
2345
2463
  if test -f $srcdir/config.status; then
2346
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2347
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2348
 
   { (exit 1); exit 1; }; }
 
2464
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2349
2465
  fi
2350
2466
fi
2351
2467
 
2361
2477
 
2362
2478
# Define the identity of the package.
2363
2479
 PACKAGE='xcursorgen'
2364
 
 VERSION='1.0.3'
 
2480
 VERSION='1.0.4'
2365
2481
 
2366
2482
 
2367
2483
cat >>confdefs.h <<_ACEOF
2402
2518
 
2403
2519
 
2404
2520
 
2405
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2406
2522
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2407
2523
    # Check whether --enable-maintainer-mode was given.
2408
 
if test "${enable_maintainer_mode+set}" = set; then
 
2524
if test "${enable_maintainer_mode+set}" = set; then :
2409
2525
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2410
2526
else
2411
2527
  USE_MAINTAINER_MODE=no
2412
2528
fi
2413
2529
 
2414
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2415
2531
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2416
2532
   if test $USE_MAINTAINER_MODE = yes; then
2417
2533
  MAINTAINER_MODE_TRUE=
2425
2541
 
2426
2542
 
2427
2543
 
2428
 
# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
 
2544
# Require xorg-macros 1.8 or later: XORG_MANPAGE_SECTIONS
2429
2545
 
2430
2546
 
2431
2547
 
2441
2557
ac_config_headers="$ac_config_headers config.h"
2442
2558
 
2443
2559
 
 
2560
DEPDIR="${am__leading_dot}deps"
 
2561
 
 
2562
ac_config_commands="$ac_config_commands depfiles"
 
2563
 
 
2564
 
 
2565
am_make=${MAKE-make}
 
2566
cat > confinc << 'END'
 
2567
am__doit:
 
2568
        @echo this is the am__doit target
 
2569
.PHONY: am__doit
 
2570
END
 
2571
# If we don't find an include directive, just comment out the code.
 
2572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2573
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2574
am__include="#"
 
2575
am__quote=
 
2576
_am_result=none
 
2577
# First try GNU make style include.
 
2578
echo "include confinc" > confmf
 
2579
# Ignore all kinds of additional output from `make'.
 
2580
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2581
*the\ am__doit\ target*)
 
2582
  am__include=include
 
2583
  am__quote=
 
2584
  _am_result=GNU
 
2585
  ;;
 
2586
esac
 
2587
# Now try BSD make style include.
 
2588
if test "$am__include" = "#"; then
 
2589
   echo '.include "confinc"' > confmf
 
2590
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2591
   *the\ am__doit\ target*)
 
2592
     am__include=.include
 
2593
     am__quote="\""
 
2594
     _am_result=BSD
 
2595
     ;;
 
2596
   esac
 
2597
fi
 
2598
 
 
2599
 
 
2600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2601
$as_echo "$_am_result" >&6; }
 
2602
rm -f confinc confmf
 
2603
 
 
2604
# Check whether --enable-dependency-tracking was given.
 
2605
if test "${enable_dependency_tracking+set}" = set; then :
 
2606
  enableval=$enable_dependency_tracking;
 
2607
fi
 
2608
 
 
2609
if test "x$enable_dependency_tracking" != xno; then
 
2610
  am_depcomp="$ac_aux_dir/depcomp"
 
2611
  AMDEPBACKSLASH='\'
 
2612
fi
 
2613
 if test "x$enable_dependency_tracking" != xno; then
 
2614
  AMDEP_TRUE=
 
2615
  AMDEP_FALSE='#'
 
2616
else
 
2617
  AMDEP_TRUE='#'
 
2618
  AMDEP_FALSE=
 
2619
fi
 
2620
 
 
2621
 
2444
2622
ac_ext=c
2445
2623
ac_cpp='$CPP $CPPFLAGS'
2446
2624
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449
2627
if test -n "$ac_tool_prefix"; then
2450
2628
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2451
2629
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2452
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453
2631
$as_echo_n "checking for $ac_word... " >&6; }
2454
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2632
if ${ac_cv_prog_CC+:} false; then :
2455
2633
  $as_echo_n "(cached) " >&6
2456
2634
else
2457
2635
  if test -n "$CC"; then
2462
2640
do
2463
2641
  IFS=$as_save_IFS
2464
2642
  test -z "$as_dir" && as_dir=.
2465
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2643
    for ac_exec_ext in '' $ac_executable_extensions; do
2466
2644
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467
2645
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2468
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2646
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2469
2647
    break 2
2470
2648
  fi
2471
2649
done
2472
 
done
 
2650
  done
2473
2651
IFS=$as_save_IFS
2474
2652
 
2475
2653
fi
2476
2654
fi
2477
2655
CC=$ac_cv_prog_CC
2478
2656
if test -n "$CC"; then
2479
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2480
2658
$as_echo "$CC" >&6; }
2481
2659
else
2482
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2660
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483
2661
$as_echo "no" >&6; }
2484
2662
fi
2485
2663
 
2489
2667
  ac_ct_CC=$CC
2490
2668
  # Extract the first word of "gcc", so it can be a program name with args.
2491
2669
set dummy gcc; ac_word=$2
2492
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2493
2671
$as_echo_n "checking for $ac_word... " >&6; }
2494
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2672
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2495
2673
  $as_echo_n "(cached) " >&6
2496
2674
else
2497
2675
  if test -n "$ac_ct_CC"; then
2502
2680
do
2503
2681
  IFS=$as_save_IFS
2504
2682
  test -z "$as_dir" && as_dir=.
2505
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2683
    for ac_exec_ext in '' $ac_executable_extensions; do
2506
2684
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507
2685
    ac_cv_prog_ac_ct_CC="gcc"
2508
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2686
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509
2687
    break 2
2510
2688
  fi
2511
2689
done
2512
 
done
 
2690
  done
2513
2691
IFS=$as_save_IFS
2514
2692
 
2515
2693
fi
2516
2694
fi
2517
2695
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2518
2696
if test -n "$ac_ct_CC"; then
2519
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2520
2698
$as_echo "$ac_ct_CC" >&6; }
2521
2699
else
2522
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2700
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2523
2701
$as_echo "no" >&6; }
2524
2702
fi
2525
2703
 
2528
2706
  else
2529
2707
    case $cross_compiling:$ac_tool_warned in
2530
2708
yes:)
2531
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2532
2710
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2533
2711
ac_tool_warned=yes ;;
2534
2712
esac
2542
2720
          if test -n "$ac_tool_prefix"; then
2543
2721
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2544
2722
set dummy ${ac_tool_prefix}cc; ac_word=$2
2545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546
2724
$as_echo_n "checking for $ac_word... " >&6; }
2547
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2725
if ${ac_cv_prog_CC+:} false; then :
2548
2726
  $as_echo_n "(cached) " >&6
2549
2727
else
2550
2728
  if test -n "$CC"; then
2555
2733
do
2556
2734
  IFS=$as_save_IFS
2557
2735
  test -z "$as_dir" && as_dir=.
2558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2736
    for ac_exec_ext in '' $ac_executable_extensions; do
2559
2737
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560
2738
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2561
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2739
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562
2740
    break 2
2563
2741
  fi
2564
2742
done
2565
 
done
 
2743
  done
2566
2744
IFS=$as_save_IFS
2567
2745
 
2568
2746
fi
2569
2747
fi
2570
2748
CC=$ac_cv_prog_CC
2571
2749
if test -n "$CC"; then
2572
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2750
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2573
2751
$as_echo "$CC" >&6; }
2574
2752
else
2575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576
2754
$as_echo "no" >&6; }
2577
2755
fi
2578
2756
 
2582
2760
if test -z "$CC"; then
2583
2761
  # Extract the first word of "cc", so it can be a program name with args.
2584
2762
set dummy cc; ac_word=$2
2585
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586
2764
$as_echo_n "checking for $ac_word... " >&6; }
2587
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2765
if ${ac_cv_prog_CC+:} false; then :
2588
2766
  $as_echo_n "(cached) " >&6
2589
2767
else
2590
2768
  if test -n "$CC"; then
2596
2774
do
2597
2775
  IFS=$as_save_IFS
2598
2776
  test -z "$as_dir" && as_dir=.
2599
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2777
    for ac_exec_ext in '' $ac_executable_extensions; do
2600
2778
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601
2779
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2602
2780
       ac_prog_rejected=yes
2603
2781
       continue
2604
2782
     fi
2605
2783
    ac_cv_prog_CC="cc"
2606
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2784
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607
2785
    break 2
2608
2786
  fi
2609
2787
done
2610
 
done
 
2788
  done
2611
2789
IFS=$as_save_IFS
2612
2790
 
2613
2791
if test $ac_prog_rejected = yes; then
2626
2804
fi
2627
2805
CC=$ac_cv_prog_CC
2628
2806
if test -n "$CC"; then
2629
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2630
2808
$as_echo "$CC" >&6; }
2631
2809
else
2632
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633
2811
$as_echo "no" >&6; }
2634
2812
fi
2635
2813
 
2641
2819
  do
2642
2820
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2643
2821
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2644
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645
2823
$as_echo_n "checking for $ac_word... " >&6; }
2646
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2824
if ${ac_cv_prog_CC+:} false; then :
2647
2825
  $as_echo_n "(cached) " >&6
2648
2826
else
2649
2827
  if test -n "$CC"; then
2654
2832
do
2655
2833
  IFS=$as_save_IFS
2656
2834
  test -z "$as_dir" && as_dir=.
2657
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2835
    for ac_exec_ext in '' $ac_executable_extensions; do
2658
2836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659
2837
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2660
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2838
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661
2839
    break 2
2662
2840
  fi
2663
2841
done
2664
 
done
 
2842
  done
2665
2843
IFS=$as_save_IFS
2666
2844
 
2667
2845
fi
2668
2846
fi
2669
2847
CC=$ac_cv_prog_CC
2670
2848
if test -n "$CC"; then
2671
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2672
2850
$as_echo "$CC" >&6; }
2673
2851
else
2674
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675
2853
$as_echo "no" >&6; }
2676
2854
fi
2677
2855
 
2685
2863
do
2686
2864
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2687
2865
set dummy $ac_prog; ac_word=$2
2688
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689
2867
$as_echo_n "checking for $ac_word... " >&6; }
2690
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2868
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2691
2869
  $as_echo_n "(cached) " >&6
2692
2870
else
2693
2871
  if test -n "$ac_ct_CC"; then
2698
2876
do
2699
2877
  IFS=$as_save_IFS
2700
2878
  test -z "$as_dir" && as_dir=.
2701
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2879
    for ac_exec_ext in '' $ac_executable_extensions; do
2702
2880
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703
2881
    ac_cv_prog_ac_ct_CC="$ac_prog"
2704
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2882
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705
2883
    break 2
2706
2884
  fi
2707
2885
done
2708
 
done
 
2886
  done
2709
2887
IFS=$as_save_IFS
2710
2888
 
2711
2889
fi
2712
2890
fi
2713
2891
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2714
2892
if test -n "$ac_ct_CC"; then
2715
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2893
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2716
2894
$as_echo "$ac_ct_CC" >&6; }
2717
2895
else
2718
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719
2897
$as_echo "no" >&6; }
2720
2898
fi
2721
2899
 
2728
2906
  else
2729
2907
    case $cross_compiling:$ac_tool_warned in
2730
2908
yes:)
2731
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2732
2910
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2733
2911
ac_tool_warned=yes ;;
2734
2912
esac
2739
2917
fi
2740
2918
 
2741
2919
 
2742
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2920
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743
2921
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2745
 
See \`config.log' for more details." >&5
2746
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2747
 
See \`config.log' for more details." >&2;}
2748
 
   { (exit 1); exit 1; }; }; }
 
2922
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2923
See \`config.log' for more details" "$LINENO" 5; }
2749
2924
 
2750
2925
# Provide some information about the compiler.
2751
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2926
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2752
2927
set X $ac_compile
2753
2928
ac_compiler=$2
2754
 
{ (ac_try="$ac_compiler --version >&5"
2755
 
case "(($ac_try" in
2756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757
 
  *) ac_try_echo=$ac_try;;
2758
 
esac
2759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2760
 
$as_echo "$ac_try_echo") >&5
2761
 
  (eval "$ac_compiler --version >&5") 2>&5
2762
 
  ac_status=$?
2763
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
 
  (exit $ac_status); }
2765
 
{ (ac_try="$ac_compiler -v >&5"
2766
 
case "(($ac_try" in
2767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768
 
  *) ac_try_echo=$ac_try;;
2769
 
esac
2770
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2771
 
$as_echo "$ac_try_echo") >&5
2772
 
  (eval "$ac_compiler -v >&5") 2>&5
2773
 
  ac_status=$?
2774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
 
  (exit $ac_status); }
2776
 
{ (ac_try="$ac_compiler -V >&5"
2777
 
case "(($ac_try" in
2778
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779
 
  *) ac_try_echo=$ac_try;;
2780
 
esac
2781
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2782
 
$as_echo "$ac_try_echo") >&5
2783
 
  (eval "$ac_compiler -V >&5") 2>&5
2784
 
  ac_status=$?
2785
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786
 
  (exit $ac_status); }
 
2929
for ac_option in --version -v -V -qversion; do
 
2930
  { { ac_try="$ac_compiler $ac_option >&5"
 
2931
case "(($ac_try" in
 
2932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2933
  *) ac_try_echo=$ac_try;;
 
2934
esac
 
2935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2936
$as_echo "$ac_try_echo"; } >&5
 
2937
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2938
  ac_status=$?
 
2939
  if test -s conftest.err; then
 
2940
    sed '10a\
 
2941
... rest of stderr output deleted ...
 
2942
         10q' conftest.err >conftest.er1
 
2943
    cat conftest.er1 >&5
 
2944
  fi
 
2945
  rm -f conftest.er1 conftest.err
 
2946
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2947
  test $ac_status = 0; }
 
2948
done
2787
2949
 
2788
 
cat >conftest.$ac_ext <<_ACEOF
2789
 
/* confdefs.h.  */
2790
 
_ACEOF
2791
 
cat confdefs.h >>conftest.$ac_ext
2792
 
cat >>conftest.$ac_ext <<_ACEOF
 
2950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793
2951
/* end confdefs.h.  */
2794
2952
 
2795
2953
int
2805
2963
# Try to create an executable without -o first, disregard a.out.
2806
2964
# It will help us diagnose broken compilers, and finding out an intuition
2807
2965
# of exeext.
2808
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2809
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2967
$as_echo_n "checking whether the C compiler works... " >&6; }
2810
2968
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2811
2969
 
2812
2970
# The possible output files:
2822
2980
done
2823
2981
rm -f $ac_rmfiles
2824
2982
 
2825
 
if { (ac_try="$ac_link_default"
 
2983
if { { ac_try="$ac_link_default"
2826
2984
case "(($ac_try" in
2827
2985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828
2986
  *) ac_try_echo=$ac_try;;
2829
2987
esac
2830
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2831
 
$as_echo "$ac_try_echo") >&5
 
2988
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2989
$as_echo "$ac_try_echo"; } >&5
2832
2990
  (eval "$ac_link_default") 2>&5
2833
2991
  ac_status=$?
2834
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835
 
  (exit $ac_status); }; then
 
2992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2993
  test $ac_status = 0; }; then :
2836
2994
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2837
2995
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2838
2996
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2849
3007
        # certainly right.
2850
3008
        break;;
2851
3009
    *.* )
2852
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3010
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2853
3011
        then :; else
2854
3012
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2855
3013
        fi
2868
3026
else
2869
3027
  ac_file=''
2870
3028
fi
 
3029
if test -z "$ac_file"; then :
 
3030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3031
$as_echo "no" >&6; }
 
3032
$as_echo "$as_me: failed program was:" >&5
 
3033
sed 's/^/| /' conftest.$ac_ext >&5
2871
3034
 
2872
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3035
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3036
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3037
as_fn_error 77 "C compiler cannot create executables
 
3038
See \`config.log' for more details" "$LINENO" 5; }
 
3039
else
 
3040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3041
$as_echo "yes" >&6; }
 
3042
fi
 
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3044
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2873
3046
$as_echo "$ac_file" >&6; }
2874
 
if test -z "$ac_file"; then
2875
 
  $as_echo "$as_me: failed program was:" >&5
2876
 
sed 's/^/| /' conftest.$ac_ext >&5
2877
 
 
2878
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2879
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2880
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2881
 
See \`config.log' for more details." >&5
2882
 
$as_echo "$as_me: error: C compiler cannot create executables
2883
 
See \`config.log' for more details." >&2;}
2884
 
   { (exit 77); exit 77; }; }; }
2885
 
fi
2886
 
 
2887
3047
ac_exeext=$ac_cv_exeext
2888
3048
 
2889
 
# Check that the compiler produces executables we can run.  If not, either
2890
 
# the compiler is broken, or we cross compile.
2891
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2892
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2893
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2894
 
# If not cross compiling, check that we can run a simple program.
2895
 
if test "$cross_compiling" != yes; then
2896
 
  if { ac_try='./$ac_file'
2897
 
  { (case "(($ac_try" in
2898
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899
 
  *) ac_try_echo=$ac_try;;
2900
 
esac
2901
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2902
 
$as_echo "$ac_try_echo") >&5
2903
 
  (eval "$ac_try") 2>&5
2904
 
  ac_status=$?
2905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
 
  (exit $ac_status); }; }; then
2907
 
    cross_compiling=no
2908
 
  else
2909
 
    if test "$cross_compiling" = maybe; then
2910
 
        cross_compiling=yes
2911
 
    else
2912
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2913
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2914
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2915
 
If you meant to cross compile, use \`--host'.
2916
 
See \`config.log' for more details." >&5
2917
 
$as_echo "$as_me: error: cannot run C compiled programs.
2918
 
If you meant to cross compile, use \`--host'.
2919
 
See \`config.log' for more details." >&2;}
2920
 
   { (exit 1); exit 1; }; }; }
2921
 
    fi
2922
 
  fi
2923
 
fi
2924
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2925
 
$as_echo "yes" >&6; }
2926
 
 
2927
3049
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2928
3050
ac_clean_files=$ac_clean_files_save
2929
 
# Check that the compiler produces executables we can run.  If not, either
2930
 
# the compiler is broken, or we cross compile.
2931
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2932
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2933
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2934
 
$as_echo "$cross_compiling" >&6; }
2935
 
 
2936
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2937
3052
$as_echo_n "checking for suffix of executables... " >&6; }
2938
 
if { (ac_try="$ac_link"
 
3053
if { { ac_try="$ac_link"
2939
3054
case "(($ac_try" in
2940
3055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941
3056
  *) ac_try_echo=$ac_try;;
2942
3057
esac
2943
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2944
 
$as_echo "$ac_try_echo") >&5
 
3058
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3059
$as_echo "$ac_try_echo"; } >&5
2945
3060
  (eval "$ac_link") 2>&5
2946
3061
  ac_status=$?
2947
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
 
  (exit $ac_status); }; then
 
3062
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3063
  test $ac_status = 0; }; then :
2949
3064
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2950
3065
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2951
3066
# work properly (i.e., refer to `conftest.exe'), while it won't with
2960
3075
  esac
2961
3076
done
2962
3077
else
2963
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3078
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2964
3079
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2965
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2966
 
See \`config.log' for more details." >&5
2967
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2968
 
See \`config.log' for more details." >&2;}
2969
 
   { (exit 1); exit 1; }; }; }
 
3080
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3081
See \`config.log' for more details" "$LINENO" 5; }
2970
3082
fi
2971
 
 
2972
 
rm -f conftest$ac_cv_exeext
2973
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3083
rm -f conftest conftest$ac_cv_exeext
 
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2974
3085
$as_echo "$ac_cv_exeext" >&6; }
2975
3086
 
2976
3087
rm -f conftest.$ac_ext
2977
3088
EXEEXT=$ac_cv_exeext
2978
3089
ac_exeext=$EXEEXT
2979
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3090
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3091
/* end confdefs.h.  */
 
3092
#include <stdio.h>
 
3093
int
 
3094
main ()
 
3095
{
 
3096
FILE *f = fopen ("conftest.out", "w");
 
3097
 return ferror (f) || fclose (f) != 0;
 
3098
 
 
3099
  ;
 
3100
  return 0;
 
3101
}
 
3102
_ACEOF
 
3103
ac_clean_files="$ac_clean_files conftest.out"
 
3104
# Check that the compiler produces executables we can run.  If not, either
 
3105
# the compiler is broken, or we cross compile.
 
3106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3107
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3108
if test "$cross_compiling" != yes; then
 
3109
  { { ac_try="$ac_link"
 
3110
case "(($ac_try" in
 
3111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3112
  *) ac_try_echo=$ac_try;;
 
3113
esac
 
3114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3115
$as_echo "$ac_try_echo"; } >&5
 
3116
  (eval "$ac_link") 2>&5
 
3117
  ac_status=$?
 
3118
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3119
  test $ac_status = 0; }
 
3120
  if { ac_try='./conftest$ac_cv_exeext'
 
3121
  { { case "(($ac_try" in
 
3122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3123
  *) ac_try_echo=$ac_try;;
 
3124
esac
 
3125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3126
$as_echo "$ac_try_echo"; } >&5
 
3127
  (eval "$ac_try") 2>&5
 
3128
  ac_status=$?
 
3129
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3130
  test $ac_status = 0; }; }; then
 
3131
    cross_compiling=no
 
3132
  else
 
3133
    if test "$cross_compiling" = maybe; then
 
3134
        cross_compiling=yes
 
3135
    else
 
3136
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3137
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3138
as_fn_error $? "cannot run C compiled programs.
 
3139
If you meant to cross compile, use \`--host'.
 
3140
See \`config.log' for more details" "$LINENO" 5; }
 
3141
    fi
 
3142
  fi
 
3143
fi
 
3144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3145
$as_echo "$cross_compiling" >&6; }
 
3146
 
 
3147
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3148
ac_clean_files=$ac_clean_files_save
 
3149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2980
3150
$as_echo_n "checking for suffix of object files... " >&6; }
2981
 
if test "${ac_cv_objext+set}" = set; then
 
3151
if ${ac_cv_objext+:} false; then :
2982
3152
  $as_echo_n "(cached) " >&6
2983
3153
else
2984
 
  cat >conftest.$ac_ext <<_ACEOF
2985
 
/* confdefs.h.  */
2986
 
_ACEOF
2987
 
cat confdefs.h >>conftest.$ac_ext
2988
 
cat >>conftest.$ac_ext <<_ACEOF
 
3154
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2989
3155
/* end confdefs.h.  */
2990
3156
 
2991
3157
int
2997
3163
}
2998
3164
_ACEOF
2999
3165
rm -f conftest.o conftest.obj
3000
 
if { (ac_try="$ac_compile"
 
3166
if { { ac_try="$ac_compile"
3001
3167
case "(($ac_try" in
3002
3168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003
3169
  *) ac_try_echo=$ac_try;;
3004
3170
esac
3005
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3006
 
$as_echo "$ac_try_echo") >&5
 
3171
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3172
$as_echo "$ac_try_echo"; } >&5
3007
3173
  (eval "$ac_compile") 2>&5
3008
3174
  ac_status=$?
3009
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
 
  (exit $ac_status); }; then
 
3175
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3176
  test $ac_status = 0; }; then :
3011
3177
  for ac_file in conftest.o conftest.obj conftest.*; do
3012
3178
  test -f "$ac_file" || continue;
3013
3179
  case $ac_file in
3020
3186
  $as_echo "$as_me: failed program was:" >&5
3021
3187
sed 's/^/| /' conftest.$ac_ext >&5
3022
3188
 
3023
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3189
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024
3190
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3026
 
See \`config.log' for more details." >&5
3027
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3028
 
See \`config.log' for more details." >&2;}
3029
 
   { (exit 1); exit 1; }; }; }
 
3191
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3192
See \`config.log' for more details" "$LINENO" 5; }
3030
3193
fi
3031
 
 
3032
3194
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3033
3195
fi
3034
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3035
3197
$as_echo "$ac_cv_objext" >&6; }
3036
3198
OBJEXT=$ac_cv_objext
3037
3199
ac_objext=$OBJEXT
3038
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3039
3201
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3040
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3202
if ${ac_cv_c_compiler_gnu+:} false; then :
3041
3203
  $as_echo_n "(cached) " >&6
3042
3204
else
3043
 
  cat >conftest.$ac_ext <<_ACEOF
3044
 
/* confdefs.h.  */
3045
 
_ACEOF
3046
 
cat confdefs.h >>conftest.$ac_ext
3047
 
cat >>conftest.$ac_ext <<_ACEOF
 
3205
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048
3206
/* end confdefs.h.  */
3049
3207
 
3050
3208
int
3058
3216
  return 0;
3059
3217
}
3060
3218
_ACEOF
3061
 
rm -f conftest.$ac_objext
3062
 
if { (ac_try="$ac_compile"
3063
 
case "(($ac_try" in
3064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065
 
  *) ac_try_echo=$ac_try;;
3066
 
esac
3067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3068
 
$as_echo "$ac_try_echo") >&5
3069
 
  (eval "$ac_compile") 2>conftest.er1
3070
 
  ac_status=$?
3071
 
  grep -v '^ *+' conftest.er1 >conftest.err
3072
 
  rm -f conftest.er1
3073
 
  cat conftest.err >&5
3074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075
 
  (exit $ac_status); } && {
3076
 
         test -z "$ac_c_werror_flag" ||
3077
 
         test ! -s conftest.err
3078
 
       } && test -s conftest.$ac_objext; then
 
3219
if ac_fn_c_try_compile "$LINENO"; then :
3079
3220
  ac_compiler_gnu=yes
3080
3221
else
3081
 
  $as_echo "$as_me: failed program was:" >&5
3082
 
sed 's/^/| /' conftest.$ac_ext >&5
3083
 
 
3084
 
        ac_compiler_gnu=no
 
3222
  ac_compiler_gnu=no
3085
3223
fi
3086
 
 
3087
3224
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088
3225
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3089
3226
 
3090
3227
fi
3091
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3092
3229
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3093
3230
if test $ac_compiler_gnu = yes; then
3094
3231
  GCC=yes
3097
3234
fi
3098
3235
ac_test_CFLAGS=${CFLAGS+set}
3099
3236
ac_save_CFLAGS=$CFLAGS
3100
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3101
3238
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3102
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3239
if ${ac_cv_prog_cc_g+:} false; then :
3103
3240
  $as_echo_n "(cached) " >&6
3104
3241
else
3105
3242
  ac_save_c_werror_flag=$ac_c_werror_flag
3106
3243
   ac_c_werror_flag=yes
3107
3244
   ac_cv_prog_cc_g=no
3108
3245
   CFLAGS="-g"
3109
 
   cat >conftest.$ac_ext <<_ACEOF
3110
 
/* confdefs.h.  */
3111
 
_ACEOF
3112
 
cat confdefs.h >>conftest.$ac_ext
3113
 
cat >>conftest.$ac_ext <<_ACEOF
 
3246
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114
3247
/* end confdefs.h.  */
3115
3248
 
3116
3249
int
3121
3254
  return 0;
3122
3255
}
3123
3256
_ACEOF
3124
 
rm -f conftest.$ac_objext
3125
 
if { (ac_try="$ac_compile"
3126
 
case "(($ac_try" in
3127
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128
 
  *) ac_try_echo=$ac_try;;
3129
 
esac
3130
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3131
 
$as_echo "$ac_try_echo") >&5
3132
 
  (eval "$ac_compile") 2>conftest.er1
3133
 
  ac_status=$?
3134
 
  grep -v '^ *+' conftest.er1 >conftest.err
3135
 
  rm -f conftest.er1
3136
 
  cat conftest.err >&5
3137
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138
 
  (exit $ac_status); } && {
3139
 
         test -z "$ac_c_werror_flag" ||
3140
 
         test ! -s conftest.err
3141
 
       } && test -s conftest.$ac_objext; then
 
3257
if ac_fn_c_try_compile "$LINENO"; then :
3142
3258
  ac_cv_prog_cc_g=yes
3143
3259
else
3144
 
  $as_echo "$as_me: failed program was:" >&5
3145
 
sed 's/^/| /' conftest.$ac_ext >&5
3146
 
 
3147
 
        CFLAGS=""
3148
 
      cat >conftest.$ac_ext <<_ACEOF
3149
 
/* confdefs.h.  */
3150
 
_ACEOF
3151
 
cat confdefs.h >>conftest.$ac_ext
3152
 
cat >>conftest.$ac_ext <<_ACEOF
 
3260
  CFLAGS=""
 
3261
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153
3262
/* end confdefs.h.  */
3154
3263
 
3155
3264
int
3160
3269
  return 0;
3161
3270
}
3162
3271
_ACEOF
3163
 
rm -f conftest.$ac_objext
3164
 
if { (ac_try="$ac_compile"
3165
 
case "(($ac_try" in
3166
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167
 
  *) ac_try_echo=$ac_try;;
3168
 
esac
3169
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170
 
$as_echo "$ac_try_echo") >&5
3171
 
  (eval "$ac_compile") 2>conftest.er1
3172
 
  ac_status=$?
3173
 
  grep -v '^ *+' conftest.er1 >conftest.err
3174
 
  rm -f conftest.er1
3175
 
  cat conftest.err >&5
3176
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
 
  (exit $ac_status); } && {
3178
 
         test -z "$ac_c_werror_flag" ||
3179
 
         test ! -s conftest.err
3180
 
       } && test -s conftest.$ac_objext; then
3181
 
  :
 
3272
if ac_fn_c_try_compile "$LINENO"; then :
 
3273
 
3182
3274
else
3183
 
  $as_echo "$as_me: failed program was:" >&5
3184
 
sed 's/^/| /' conftest.$ac_ext >&5
3185
 
 
3186
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3275
  ac_c_werror_flag=$ac_save_c_werror_flag
3187
3276
         CFLAGS="-g"
3188
 
         cat >conftest.$ac_ext <<_ACEOF
3189
 
/* confdefs.h.  */
3190
 
_ACEOF
3191
 
cat confdefs.h >>conftest.$ac_ext
3192
 
cat >>conftest.$ac_ext <<_ACEOF
 
3277
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193
3278
/* end confdefs.h.  */
3194
3279
 
3195
3280
int
3200
3285
  return 0;
3201
3286
}
3202
3287
_ACEOF
3203
 
rm -f conftest.$ac_objext
3204
 
if { (ac_try="$ac_compile"
3205
 
case "(($ac_try" in
3206
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207
 
  *) ac_try_echo=$ac_try;;
3208
 
esac
3209
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3210
 
$as_echo "$ac_try_echo") >&5
3211
 
  (eval "$ac_compile") 2>conftest.er1
3212
 
  ac_status=$?
3213
 
  grep -v '^ *+' conftest.er1 >conftest.err
3214
 
  rm -f conftest.er1
3215
 
  cat conftest.err >&5
3216
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217
 
  (exit $ac_status); } && {
3218
 
         test -z "$ac_c_werror_flag" ||
3219
 
         test ! -s conftest.err
3220
 
       } && test -s conftest.$ac_objext; then
 
3288
if ac_fn_c_try_compile "$LINENO"; then :
3221
3289
  ac_cv_prog_cc_g=yes
3222
 
else
3223
 
  $as_echo "$as_me: failed program was:" >&5
3224
 
sed 's/^/| /' conftest.$ac_ext >&5
3225
 
 
3226
 
 
3227
 
fi
3228
 
 
3229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230
 
fi
3231
 
 
3232
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233
 
fi
3234
 
 
 
3290
fi
 
3291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3292
fi
 
3293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3294
fi
3235
3295
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236
3296
   ac_c_werror_flag=$ac_save_c_werror_flag
3237
3297
fi
3238
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3239
3299
$as_echo "$ac_cv_prog_cc_g" >&6; }
3240
3300
if test "$ac_test_CFLAGS" = set; then
3241
3301
  CFLAGS=$ac_save_CFLAGS
3252
3312
    CFLAGS=
3253
3313
  fi
3254
3314
fi
3255
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3256
3316
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3257
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3317
if ${ac_cv_prog_cc_c89+:} false; then :
3258
3318
  $as_echo_n "(cached) " >&6
3259
3319
else
3260
3320
  ac_cv_prog_cc_c89=no
3261
3321
ac_save_CC=$CC
3262
 
cat >conftest.$ac_ext <<_ACEOF
3263
 
/* confdefs.h.  */
3264
 
_ACEOF
3265
 
cat confdefs.h >>conftest.$ac_ext
3266
 
cat >>conftest.$ac_ext <<_ACEOF
 
3322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267
3323
/* end confdefs.h.  */
3268
3324
#include <stdarg.h>
3269
3325
#include <stdio.h>
3320
3376
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321
3377
do
3322
3378
  CC="$ac_save_CC $ac_arg"
3323
 
  rm -f conftest.$ac_objext
3324
 
if { (ac_try="$ac_compile"
3325
 
case "(($ac_try" in
3326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327
 
  *) ac_try_echo=$ac_try;;
3328
 
esac
3329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3330
 
$as_echo "$ac_try_echo") >&5
3331
 
  (eval "$ac_compile") 2>conftest.er1
3332
 
  ac_status=$?
3333
 
  grep -v '^ *+' conftest.er1 >conftest.err
3334
 
  rm -f conftest.er1
3335
 
  cat conftest.err >&5
3336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337
 
  (exit $ac_status); } && {
3338
 
         test -z "$ac_c_werror_flag" ||
3339
 
         test ! -s conftest.err
3340
 
       } && test -s conftest.$ac_objext; then
 
3379
  if ac_fn_c_try_compile "$LINENO"; then :
3341
3380
  ac_cv_prog_cc_c89=$ac_arg
3342
 
else
3343
 
  $as_echo "$as_me: failed program was:" >&5
3344
 
sed 's/^/| /' conftest.$ac_ext >&5
3345
 
 
3346
 
 
3347
3381
fi
3348
 
 
3349
3382
rm -f core conftest.err conftest.$ac_objext
3350
3383
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3351
3384
done
3356
3389
# AC_CACHE_VAL
3357
3390
case "x$ac_cv_prog_cc_c89" in
3358
3391
  x)
3359
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3392
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3360
3393
$as_echo "none needed" >&6; } ;;
3361
3394
  xno)
3362
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3395
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3363
3396
$as_echo "unsupported" >&6; } ;;
3364
3397
  *)
3365
3398
    CC="$CC $ac_cv_prog_cc_c89"
3366
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3399
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3367
3400
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3368
3401
esac
 
3402
if test "x$ac_cv_prog_cc_c89" != xno; then :
3369
3403
 
 
3404
fi
3370
3405
 
3371
3406
ac_ext=c
3372
3407
ac_cpp='$CPP $CPPFLAGS'
3373
3408
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374
3409
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375
3410
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376
 
DEPDIR="${am__leading_dot}deps"
3377
 
 
3378
 
ac_config_commands="$ac_config_commands depfiles"
3379
 
 
3380
 
 
3381
 
am_make=${MAKE-make}
3382
 
cat > confinc << 'END'
3383
 
am__doit:
3384
 
        @echo this is the am__doit target
3385
 
.PHONY: am__doit
3386
 
END
3387
 
# If we don't find an include directive, just comment out the code.
3388
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3389
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3390
 
am__include="#"
3391
 
am__quote=
3392
 
_am_result=none
3393
 
# First try GNU make style include.
3394
 
echo "include confinc" > confmf
3395
 
# Ignore all kinds of additional output from `make'.
3396
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3397
 
*the\ am__doit\ target*)
3398
 
  am__include=include
3399
 
  am__quote=
3400
 
  _am_result=GNU
3401
 
  ;;
3402
 
esac
3403
 
# Now try BSD make style include.
3404
 
if test "$am__include" = "#"; then
3405
 
   echo '.include "confinc"' > confmf
3406
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3407
 
   *the\ am__doit\ target*)
3408
 
     am__include=.include
3409
 
     am__quote="\""
3410
 
     _am_result=BSD
3411
 
     ;;
3412
 
   esac
3413
 
fi
3414
 
 
3415
 
 
3416
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3417
 
$as_echo "$_am_result" >&6; }
3418
 
rm -f confinc confmf
3419
 
 
3420
 
# Check whether --enable-dependency-tracking was given.
3421
 
if test "${enable_dependency_tracking+set}" = set; then
3422
 
  enableval=$enable_dependency_tracking;
3423
 
fi
3424
 
 
3425
 
if test "x$enable_dependency_tracking" != xno; then
3426
 
  am_depcomp="$ac_aux_dir/depcomp"
3427
 
  AMDEPBACKSLASH='\'
3428
 
fi
3429
 
 if test "x$enable_dependency_tracking" != xno; then
3430
 
  AMDEP_TRUE=
3431
 
  AMDEP_FALSE='#'
3432
 
else
3433
 
  AMDEP_TRUE='#'
3434
 
  AMDEP_FALSE=
3435
 
fi
3436
 
 
3437
 
 
3438
3411
 
3439
3412
depcc="$CC"   am_compiler_list=
3440
3413
 
3441
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3442
3415
$as_echo_n "checking dependency style of $depcc... " >&6; }
3443
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3416
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3444
3417
  $as_echo_n "(cached) " >&6
3445
3418
else
3446
3419
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3548
3521
fi
3549
3522
 
3550
3523
fi
3551
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3552
3525
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3553
3526
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3554
3527
 
3563
3536
fi
3564
3537
 
3565
3538
 
3566
 
# Find a good install program.  We prefer a C program (faster),
3567
 
# so one script is as good as another.  But avoid the broken or
3568
 
# incompatible versions:
3569
 
# SysV /etc/install, /usr/sbin/install
3570
 
# SunOS /usr/etc/install
3571
 
# IRIX /sbin/install
3572
 
# AIX /bin/install
3573
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3574
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3575
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3576
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3577
 
# OS/2's system install, which has a completely different semantic
3578
 
# ./install, which can be erroneously created by make from ./install.sh.
3579
 
# Reject install programs that cannot install multiple files.
3580
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3581
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3582
 
if test -z "$INSTALL"; then
3583
 
if test "${ac_cv_path_install+set}" = set; then
3584
 
  $as_echo_n "(cached) " >&6
3585
 
else
3586
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587
 
for as_dir in $PATH
3588
 
do
3589
 
  IFS=$as_save_IFS
3590
 
  test -z "$as_dir" && as_dir=.
3591
 
  # Account for people who put trailing slashes in PATH elements.
3592
 
case $as_dir/ in
3593
 
  ./ | .// | /cC/* | \
3594
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3595
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3596
 
  /usr/ucb/* ) ;;
3597
 
  *)
3598
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3599
 
    # Don't use installbsd from OSF since it installs stuff as root
3600
 
    # by default.
3601
 
    for ac_prog in ginstall scoinst install; do
3602
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3603
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3604
 
          if test $ac_prog = install &&
3605
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3606
 
            # AIX install.  It has an incompatible calling convention.
3607
 
            :
3608
 
          elif test $ac_prog = install &&
3609
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3610
 
            # program-specific install script used by HP pwplus--don't use.
3611
 
            :
3612
 
          else
3613
 
            rm -rf conftest.one conftest.two conftest.dir
3614
 
            echo one > conftest.one
3615
 
            echo two > conftest.two
3616
 
            mkdir conftest.dir
3617
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3618
 
              test -s conftest.one && test -s conftest.two &&
3619
 
              test -s conftest.dir/conftest.one &&
3620
 
              test -s conftest.dir/conftest.two
3621
 
            then
3622
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3623
 
              break 3
3624
 
            fi
3625
 
          fi
3626
 
        fi
3627
 
      done
3628
 
    done
3629
 
    ;;
3630
 
esac
3631
 
 
3632
 
done
3633
 
IFS=$as_save_IFS
3634
 
 
3635
 
rm -rf conftest.one conftest.two conftest.dir
3636
 
 
3637
 
fi
3638
 
  if test "${ac_cv_path_install+set}" = set; then
3639
 
    INSTALL=$ac_cv_path_install
3640
 
  else
3641
 
    # As a last resort, use the slow shell script.  Don't cache a
3642
 
    # value for INSTALL within a source directory, because that will
3643
 
    # break other packages using the cache if that directory is
3644
 
    # removed, or if the value is a relative name.
3645
 
    INSTALL=$ac_install_sh
3646
 
  fi
3647
 
fi
3648
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3649
 
$as_echo "$INSTALL" >&6; }
3650
 
 
3651
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3652
 
# It thinks the first close brace ends the variable substitution.
3653
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3654
 
 
3655
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3656
 
 
3657
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3658
 
 
3659
 
 
3660
 
 
3661
 
ac_ext=c
3662
 
ac_cpp='$CPP $CPPFLAGS'
3663
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3667
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3668
 
# On Suns, sometimes $CPP names a directory.
3669
 
if test -n "$CPP" && test -d "$CPP"; then
3670
 
  CPP=
3671
 
fi
3672
 
if test -z "$CPP"; then
3673
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3674
 
  $as_echo_n "(cached) " >&6
3675
 
else
3676
 
      # Double quotes because CPP needs to be expanded
3677
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3678
 
    do
3679
 
      ac_preproc_ok=false
3680
 
for ac_c_preproc_warn_flag in '' yes
3681
 
do
3682
 
  # Use a header file that comes with gcc, so configuring glibc
3683
 
  # with a fresh cross-compiler works.
3684
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3685
 
  # <limits.h> exists even on freestanding compilers.
3686
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3687
 
  # not just through cpp. "Syntax error" is here to catch this case.
3688
 
  cat >conftest.$ac_ext <<_ACEOF
3689
 
/* confdefs.h.  */
3690
 
_ACEOF
3691
 
cat confdefs.h >>conftest.$ac_ext
3692
 
cat >>conftest.$ac_ext <<_ACEOF
3693
 
/* end confdefs.h.  */
3694
 
#ifdef __STDC__
3695
 
# include <limits.h>
3696
 
#else
3697
 
# include <assert.h>
3698
 
#endif
3699
 
                     Syntax error
3700
 
_ACEOF
3701
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3702
 
case "(($ac_try" in
3703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704
 
  *) ac_try_echo=$ac_try;;
3705
 
esac
3706
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3707
 
$as_echo "$ac_try_echo") >&5
3708
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3709
 
  ac_status=$?
3710
 
  grep -v '^ *+' conftest.er1 >conftest.err
3711
 
  rm -f conftest.er1
3712
 
  cat conftest.err >&5
3713
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714
 
  (exit $ac_status); } >/dev/null && {
3715
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3716
 
         test ! -s conftest.err
3717
 
       }; then
3718
 
  :
3719
 
else
3720
 
  $as_echo "$as_me: failed program was:" >&5
3721
 
sed 's/^/| /' conftest.$ac_ext >&5
3722
 
 
3723
 
  # Broken: fails on valid input.
3724
 
continue
3725
 
fi
3726
 
 
3727
 
rm -f conftest.err conftest.$ac_ext
3728
 
 
3729
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3730
 
  # can be detected and how.
3731
 
  cat >conftest.$ac_ext <<_ACEOF
3732
 
/* confdefs.h.  */
3733
 
_ACEOF
3734
 
cat confdefs.h >>conftest.$ac_ext
3735
 
cat >>conftest.$ac_ext <<_ACEOF
3736
 
/* end confdefs.h.  */
3737
 
#include <ac_nonexistent.h>
3738
 
_ACEOF
3739
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3740
 
case "(($ac_try" in
3741
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742
 
  *) ac_try_echo=$ac_try;;
3743
 
esac
3744
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3745
 
$as_echo "$ac_try_echo") >&5
3746
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3747
 
  ac_status=$?
3748
 
  grep -v '^ *+' conftest.er1 >conftest.err
3749
 
  rm -f conftest.er1
3750
 
  cat conftest.err >&5
3751
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752
 
  (exit $ac_status); } >/dev/null && {
3753
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3754
 
         test ! -s conftest.err
3755
 
       }; then
3756
 
  # Broken: success on invalid input.
3757
 
continue
3758
 
else
3759
 
  $as_echo "$as_me: failed program was:" >&5
3760
 
sed 's/^/| /' conftest.$ac_ext >&5
3761
 
 
3762
 
  # Passes both tests.
3763
 
ac_preproc_ok=:
3764
 
break
3765
 
fi
3766
 
 
3767
 
rm -f conftest.err conftest.$ac_ext
3768
 
 
3769
 
done
3770
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3771
 
rm -f conftest.err conftest.$ac_ext
3772
 
if $ac_preproc_ok; then
3773
 
  break
3774
 
fi
3775
 
 
3776
 
    done
3777
 
    ac_cv_prog_CPP=$CPP
3778
 
 
3779
 
fi
3780
 
  CPP=$ac_cv_prog_CPP
3781
 
else
3782
 
  ac_cv_prog_CPP=$CPP
3783
 
fi
3784
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3785
 
$as_echo "$CPP" >&6; }
3786
 
ac_preproc_ok=false
3787
 
for ac_c_preproc_warn_flag in '' yes
3788
 
do
3789
 
  # Use a header file that comes with gcc, so configuring glibc
3790
 
  # with a fresh cross-compiler works.
3791
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792
 
  # <limits.h> exists even on freestanding compilers.
3793
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3794
 
  # not just through cpp. "Syntax error" is here to catch this case.
3795
 
  cat >conftest.$ac_ext <<_ACEOF
3796
 
/* confdefs.h.  */
3797
 
_ACEOF
3798
 
cat confdefs.h >>conftest.$ac_ext
3799
 
cat >>conftest.$ac_ext <<_ACEOF
3800
 
/* end confdefs.h.  */
3801
 
#ifdef __STDC__
3802
 
# include <limits.h>
3803
 
#else
3804
 
# include <assert.h>
3805
 
#endif
3806
 
                     Syntax error
3807
 
_ACEOF
3808
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3809
 
case "(($ac_try" in
3810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811
 
  *) ac_try_echo=$ac_try;;
3812
 
esac
3813
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3814
 
$as_echo "$ac_try_echo") >&5
3815
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3816
 
  ac_status=$?
3817
 
  grep -v '^ *+' conftest.er1 >conftest.err
3818
 
  rm -f conftest.er1
3819
 
  cat conftest.err >&5
3820
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821
 
  (exit $ac_status); } >/dev/null && {
3822
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3823
 
         test ! -s conftest.err
3824
 
       }; then
3825
 
  :
3826
 
else
3827
 
  $as_echo "$as_me: failed program was:" >&5
3828
 
sed 's/^/| /' conftest.$ac_ext >&5
3829
 
 
3830
 
  # Broken: fails on valid input.
3831
 
continue
3832
 
fi
3833
 
 
3834
 
rm -f conftest.err conftest.$ac_ext
3835
 
 
3836
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3837
 
  # can be detected and how.
3838
 
  cat >conftest.$ac_ext <<_ACEOF
3839
 
/* confdefs.h.  */
3840
 
_ACEOF
3841
 
cat confdefs.h >>conftest.$ac_ext
3842
 
cat >>conftest.$ac_ext <<_ACEOF
3843
 
/* end confdefs.h.  */
3844
 
#include <ac_nonexistent.h>
3845
 
_ACEOF
3846
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3847
 
case "(($ac_try" in
3848
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849
 
  *) ac_try_echo=$ac_try;;
3850
 
esac
3851
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3852
 
$as_echo "$ac_try_echo") >&5
3853
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3854
 
  ac_status=$?
3855
 
  grep -v '^ *+' conftest.er1 >conftest.err
3856
 
  rm -f conftest.er1
3857
 
  cat conftest.err >&5
3858
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859
 
  (exit $ac_status); } >/dev/null && {
3860
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3861
 
         test ! -s conftest.err
3862
 
       }; then
3863
 
  # Broken: success on invalid input.
3864
 
continue
3865
 
else
3866
 
  $as_echo "$as_me: failed program was:" >&5
3867
 
sed 's/^/| /' conftest.$ac_ext >&5
3868
 
 
3869
 
  # Passes both tests.
3870
 
ac_preproc_ok=:
3871
 
break
3872
 
fi
3873
 
 
3874
 
rm -f conftest.err conftest.$ac_ext
3875
 
 
3876
 
done
3877
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3878
 
rm -f conftest.err conftest.$ac_ext
3879
 
if $ac_preproc_ok; then
3880
 
  :
3881
 
else
3882
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3883
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3885
 
See \`config.log' for more details." >&5
3886
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3887
 
See \`config.log' for more details." >&2;}
3888
 
   { (exit 1); exit 1; }; }; }
3889
 
fi
3890
 
 
3891
 
ac_ext=c
3892
 
ac_cpp='$CPP $CPPFLAGS'
3893
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896
 
 
3897
 
 
3898
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3899
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3900
 
if test "${ac_cv_path_GREP+set}" = set; then
3901
 
  $as_echo_n "(cached) " >&6
3902
 
else
3903
 
  if test -z "$GREP"; then
3904
 
  ac_path_GREP_found=false
3905
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3906
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3908
 
do
3909
 
  IFS=$as_save_IFS
3910
 
  test -z "$as_dir" && as_dir=.
3911
 
  for ac_prog in grep ggrep; do
3912
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3913
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3914
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3915
 
# Check for GNU ac_path_GREP and select it if it is found.
3916
 
  # Check for GNU $ac_path_GREP
3917
 
case `"$ac_path_GREP" --version 2>&1` in
3918
 
*GNU*)
3919
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3920
 
*)
3921
 
  ac_count=0
3922
 
  $as_echo_n 0123456789 >"conftest.in"
3923
 
  while :
3924
 
  do
3925
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3926
 
    mv "conftest.tmp" "conftest.in"
3927
 
    cp "conftest.in" "conftest.nl"
3928
 
    $as_echo 'GREP' >> "conftest.nl"
3929
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3930
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3931
 
    ac_count=`expr $ac_count + 1`
3932
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3933
 
      # Best one so far, save it but keep looking for a better one
3934
 
      ac_cv_path_GREP="$ac_path_GREP"
3935
 
      ac_path_GREP_max=$ac_count
3936
 
    fi
3937
 
    # 10*(2^10) chars as input seems more than enough
3938
 
    test $ac_count -gt 10 && break
3939
 
  done
3940
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3941
 
esac
3942
 
 
3943
 
      $ac_path_GREP_found && break 3
3944
 
    done
3945
 
  done
3946
 
done
3947
 
IFS=$as_save_IFS
3948
 
  if test -z "$ac_cv_path_GREP"; then
3949
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3950
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3951
 
   { (exit 1); exit 1; }; }
3952
 
  fi
3953
 
else
3954
 
  ac_cv_path_GREP=$GREP
3955
 
fi
3956
 
 
3957
 
fi
3958
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3959
 
$as_echo "$ac_cv_path_GREP" >&6; }
3960
 
 GREP="$ac_cv_path_GREP"
3961
 
 
3962
 
 
3963
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3964
 
$as_echo_n "checking for egrep... " >&6; }
3965
 
if test "${ac_cv_path_EGREP+set}" = set; then
3966
 
  $as_echo_n "(cached) " >&6
3967
 
else
3968
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3969
 
   then ac_cv_path_EGREP="$GREP -E"
3970
 
   else
3971
 
     if test -z "$EGREP"; then
3972
 
  ac_path_EGREP_found=false
3973
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3974
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3976
 
do
3977
 
  IFS=$as_save_IFS
3978
 
  test -z "$as_dir" && as_dir=.
3979
 
  for ac_prog in egrep; do
3980
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3981
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3982
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3983
 
# Check for GNU ac_path_EGREP and select it if it is found.
3984
 
  # Check for GNU $ac_path_EGREP
3985
 
case `"$ac_path_EGREP" --version 2>&1` in
3986
 
*GNU*)
3987
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3988
 
*)
3989
 
  ac_count=0
3990
 
  $as_echo_n 0123456789 >"conftest.in"
3991
 
  while :
3992
 
  do
3993
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3994
 
    mv "conftest.tmp" "conftest.in"
3995
 
    cp "conftest.in" "conftest.nl"
3996
 
    $as_echo 'EGREP' >> "conftest.nl"
3997
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3998
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3999
 
    ac_count=`expr $ac_count + 1`
4000
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4001
 
      # Best one so far, save it but keep looking for a better one
4002
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4003
 
      ac_path_EGREP_max=$ac_count
4004
 
    fi
4005
 
    # 10*(2^10) chars as input seems more than enough
4006
 
    test $ac_count -gt 10 && break
4007
 
  done
4008
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4009
 
esac
4010
 
 
4011
 
      $ac_path_EGREP_found && break 3
4012
 
    done
4013
 
  done
4014
 
done
4015
 
IFS=$as_save_IFS
4016
 
  if test -z "$ac_cv_path_EGREP"; then
4017
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4018
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4019
 
   { (exit 1); exit 1; }; }
4020
 
  fi
4021
 
else
4022
 
  ac_cv_path_EGREP=$EGREP
4023
 
fi
4024
 
 
4025
 
   fi
4026
 
fi
4027
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4028
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4029
 
 EGREP="$ac_cv_path_EGREP"
4030
 
 
4031
 
 
4032
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4033
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4034
 
if test "${ac_cv_header_stdc+set}" = set; then
4035
 
  $as_echo_n "(cached) " >&6
4036
 
else
4037
 
  cat >conftest.$ac_ext <<_ACEOF
4038
 
/* confdefs.h.  */
4039
 
_ACEOF
4040
 
cat confdefs.h >>conftest.$ac_ext
4041
 
cat >>conftest.$ac_ext <<_ACEOF
4042
 
/* end confdefs.h.  */
4043
 
#include <stdlib.h>
4044
 
#include <stdarg.h>
4045
 
#include <string.h>
4046
 
#include <float.h>
4047
 
 
4048
 
int
4049
 
main ()
4050
 
{
4051
 
 
4052
 
  ;
4053
 
  return 0;
4054
 
}
4055
 
_ACEOF
4056
 
rm -f conftest.$ac_objext
4057
 
if { (ac_try="$ac_compile"
4058
 
case "(($ac_try" in
4059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060
 
  *) ac_try_echo=$ac_try;;
4061
 
esac
4062
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4063
 
$as_echo "$ac_try_echo") >&5
4064
 
  (eval "$ac_compile") 2>conftest.er1
4065
 
  ac_status=$?
4066
 
  grep -v '^ *+' conftest.er1 >conftest.err
4067
 
  rm -f conftest.er1
4068
 
  cat conftest.err >&5
4069
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070
 
  (exit $ac_status); } && {
4071
 
         test -z "$ac_c_werror_flag" ||
4072
 
         test ! -s conftest.err
4073
 
       } && test -s conftest.$ac_objext; then
4074
 
  ac_cv_header_stdc=yes
4075
 
else
4076
 
  $as_echo "$as_me: failed program was:" >&5
4077
 
sed 's/^/| /' conftest.$ac_ext >&5
4078
 
 
4079
 
        ac_cv_header_stdc=no
4080
 
fi
4081
 
 
4082
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4083
 
 
4084
 
if test $ac_cv_header_stdc = yes; then
4085
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4086
 
  cat >conftest.$ac_ext <<_ACEOF
4087
 
/* confdefs.h.  */
4088
 
_ACEOF
4089
 
cat confdefs.h >>conftest.$ac_ext
4090
 
cat >>conftest.$ac_ext <<_ACEOF
4091
 
/* end confdefs.h.  */
4092
 
#include <string.h>
4093
 
 
4094
 
_ACEOF
4095
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4096
 
  $EGREP "memchr" >/dev/null 2>&1; then
4097
 
  :
4098
 
else
4099
 
  ac_cv_header_stdc=no
4100
 
fi
4101
 
rm -f conftest*
4102
 
 
4103
 
fi
4104
 
 
4105
 
if test $ac_cv_header_stdc = yes; then
4106
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4107
 
  cat >conftest.$ac_ext <<_ACEOF
4108
 
/* confdefs.h.  */
4109
 
_ACEOF
4110
 
cat confdefs.h >>conftest.$ac_ext
4111
 
cat >>conftest.$ac_ext <<_ACEOF
4112
 
/* end confdefs.h.  */
4113
 
#include <stdlib.h>
4114
 
 
4115
 
_ACEOF
4116
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4117
 
  $EGREP "free" >/dev/null 2>&1; then
4118
 
  :
4119
 
else
4120
 
  ac_cv_header_stdc=no
4121
 
fi
4122
 
rm -f conftest*
4123
 
 
4124
 
fi
4125
 
 
4126
 
if test $ac_cv_header_stdc = yes; then
4127
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4128
 
  if test "$cross_compiling" = yes; then
4129
 
  :
4130
 
else
4131
 
  cat >conftest.$ac_ext <<_ACEOF
4132
 
/* confdefs.h.  */
4133
 
_ACEOF
4134
 
cat confdefs.h >>conftest.$ac_ext
4135
 
cat >>conftest.$ac_ext <<_ACEOF
4136
 
/* end confdefs.h.  */
4137
 
#include <ctype.h>
4138
 
#include <stdlib.h>
4139
 
#if ((' ' & 0x0FF) == 0x020)
4140
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4141
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4142
 
#else
4143
 
# define ISLOWER(c) \
4144
 
                   (('a' <= (c) && (c) <= 'i') \
4145
 
                     || ('j' <= (c) && (c) <= 'r') \
4146
 
                     || ('s' <= (c) && (c) <= 'z'))
4147
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4148
 
#endif
4149
 
 
4150
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4151
 
int
4152
 
main ()
4153
 
{
4154
 
  int i;
4155
 
  for (i = 0; i < 256; i++)
4156
 
    if (XOR (islower (i), ISLOWER (i))
4157
 
        || toupper (i) != TOUPPER (i))
4158
 
      return 2;
4159
 
  return 0;
4160
 
}
4161
 
_ACEOF
4162
 
rm -f conftest$ac_exeext
4163
 
if { (ac_try="$ac_link"
4164
 
case "(($ac_try" in
4165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166
 
  *) ac_try_echo=$ac_try;;
4167
 
esac
4168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4169
 
$as_echo "$ac_try_echo") >&5
4170
 
  (eval "$ac_link") 2>&5
4171
 
  ac_status=$?
4172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4174
 
  { (case "(($ac_try" in
4175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176
 
  *) ac_try_echo=$ac_try;;
4177
 
esac
4178
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4179
 
$as_echo "$ac_try_echo") >&5
4180
 
  (eval "$ac_try") 2>&5
4181
 
  ac_status=$?
4182
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183
 
  (exit $ac_status); }; }; then
4184
 
  :
4185
 
else
4186
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4187
 
$as_echo "$as_me: failed program was:" >&5
4188
 
sed 's/^/| /' conftest.$ac_ext >&5
4189
 
 
4190
 
( exit $ac_status )
4191
 
ac_cv_header_stdc=no
4192
 
fi
4193
 
rm -rf conftest.dSYM
4194
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4195
 
fi
4196
 
 
4197
 
 
4198
 
fi
4199
 
fi
4200
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4201
 
$as_echo "$ac_cv_header_stdc" >&6; }
4202
 
if test $ac_cv_header_stdc = yes; then
4203
 
 
4204
 
cat >>confdefs.h <<\_ACEOF
4205
 
#define STDC_HEADERS 1
4206
 
_ACEOF
4207
 
 
4208
 
fi
4209
 
 
4210
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4211
 
 
4212
 
 
4213
 
 
4214
 
 
4215
 
 
4216
 
 
4217
 
 
4218
 
 
4219
 
 
4220
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4221
 
                  inttypes.h stdint.h unistd.h
4222
 
do
4223
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4224
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4225
 
$as_echo_n "checking for $ac_header... " >&6; }
4226
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4227
 
  $as_echo_n "(cached) " >&6
4228
 
else
4229
 
  cat >conftest.$ac_ext <<_ACEOF
4230
 
/* confdefs.h.  */
4231
 
_ACEOF
4232
 
cat confdefs.h >>conftest.$ac_ext
4233
 
cat >>conftest.$ac_ext <<_ACEOF
4234
 
/* end confdefs.h.  */
4235
 
$ac_includes_default
4236
 
 
4237
 
#include <$ac_header>
4238
 
_ACEOF
4239
 
rm -f conftest.$ac_objext
4240
 
if { (ac_try="$ac_compile"
4241
 
case "(($ac_try" in
4242
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243
 
  *) ac_try_echo=$ac_try;;
4244
 
esac
4245
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4246
 
$as_echo "$ac_try_echo") >&5
4247
 
  (eval "$ac_compile") 2>conftest.er1
4248
 
  ac_status=$?
4249
 
  grep -v '^ *+' conftest.er1 >conftest.err
4250
 
  rm -f conftest.er1
4251
 
  cat conftest.err >&5
4252
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253
 
  (exit $ac_status); } && {
4254
 
         test -z "$ac_c_werror_flag" ||
4255
 
         test ! -s conftest.err
4256
 
       } && test -s conftest.$ac_objext; then
4257
 
  eval "$as_ac_Header=yes"
4258
 
else
4259
 
  $as_echo "$as_me: failed program was:" >&5
4260
 
sed 's/^/| /' conftest.$ac_ext >&5
4261
 
 
4262
 
        eval "$as_ac_Header=no"
4263
 
fi
4264
 
 
4265
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266
 
fi
4267
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4268
 
                 $as_echo "$as_val"'`
4269
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4270
 
$as_echo "$ac_res" >&6; }
4271
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4272
 
                 $as_echo "$as_val"'`
4273
 
   if test "x$as_val" = x""yes; then
4274
 
  cat >>confdefs.h <<_ACEOF
4275
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4276
 
_ACEOF
4277
 
 
4278
 
fi
4279
 
 
4280
 
done
4281
 
 
4282
 
 
4283
 
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
3539
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4284
3540
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4285
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
3541
if ${ac_cv_prog_cc_c99+:} false; then :
4286
3542
  $as_echo_n "(cached) " >&6
4287
3543
else
4288
3544
  ac_cv_prog_cc_c99=no
4289
3545
ac_save_CC=$CC
4290
 
cat >conftest.$ac_ext <<_ACEOF
4291
 
/* confdefs.h.  */
4292
 
_ACEOF
4293
 
cat confdefs.h >>conftest.$ac_ext
4294
 
cat >>conftest.$ac_ext <<_ACEOF
 
3546
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295
3547
/* end confdefs.h.  */
4296
3548
#include <stdarg.h>
4297
3549
#include <stdbool.h>
4433
3685
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4434
3686
do
4435
3687
  CC="$ac_save_CC $ac_arg"
4436
 
  rm -f conftest.$ac_objext
4437
 
if { (ac_try="$ac_compile"
4438
 
case "(($ac_try" in
4439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440
 
  *) ac_try_echo=$ac_try;;
4441
 
esac
4442
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4443
 
$as_echo "$ac_try_echo") >&5
4444
 
  (eval "$ac_compile") 2>conftest.er1
4445
 
  ac_status=$?
4446
 
  grep -v '^ *+' conftest.er1 >conftest.err
4447
 
  rm -f conftest.er1
4448
 
  cat conftest.err >&5
4449
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450
 
  (exit $ac_status); } && {
4451
 
         test -z "$ac_c_werror_flag" ||
4452
 
         test ! -s conftest.err
4453
 
       } && test -s conftest.$ac_objext; then
 
3688
  if ac_fn_c_try_compile "$LINENO"; then :
4454
3689
  ac_cv_prog_cc_c99=$ac_arg
4455
 
else
4456
 
  $as_echo "$as_me: failed program was:" >&5
4457
 
sed 's/^/| /' conftest.$ac_ext >&5
4458
 
 
4459
 
 
4460
3690
fi
4461
 
 
4462
3691
rm -f core conftest.err conftest.$ac_objext
4463
3692
  test "x$ac_cv_prog_cc_c99" != "xno" && break
4464
3693
done
4469
3698
# AC_CACHE_VAL
4470
3699
case "x$ac_cv_prog_cc_c99" in
4471
3700
  x)
4472
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3701
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4473
3702
$as_echo "none needed" >&6; } ;;
4474
3703
  xno)
4475
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3704
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4476
3705
$as_echo "unsupported" >&6; } ;;
4477
3706
  *)
4478
3707
    CC="$CC $ac_cv_prog_cc_c99"
4479
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
3708
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4480
3709
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4481
3710
esac
4482
 
 
4483
 
 
4484
 
 
 
3711
if test "x$ac_cv_prog_cc_c99" != xno; then :
 
3712
 
 
3713
fi
 
3714
 
 
3715
 
 
3716
 
 
3717
ac_ext=c
 
3718
ac_cpp='$CPP $CPPFLAGS'
 
3719
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3720
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3721
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3723
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3724
# On Suns, sometimes $CPP names a directory.
 
3725
if test -n "$CPP" && test -d "$CPP"; then
 
3726
  CPP=
 
3727
fi
 
3728
if test -z "$CPP"; then
 
3729
  if ${ac_cv_prog_CPP+:} false; then :
 
3730
  $as_echo_n "(cached) " >&6
 
3731
else
 
3732
      # Double quotes because CPP needs to be expanded
 
3733
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3734
    do
 
3735
      ac_preproc_ok=false
 
3736
for ac_c_preproc_warn_flag in '' yes
 
3737
do
 
3738
  # Use a header file that comes with gcc, so configuring glibc
 
3739
  # with a fresh cross-compiler works.
 
3740
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3741
  # <limits.h> exists even on freestanding compilers.
 
3742
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3743
  # not just through cpp. "Syntax error" is here to catch this case.
 
3744
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3745
/* end confdefs.h.  */
 
3746
#ifdef __STDC__
 
3747
# include <limits.h>
 
3748
#else
 
3749
# include <assert.h>
 
3750
#endif
 
3751
                     Syntax error
 
3752
_ACEOF
 
3753
if ac_fn_c_try_cpp "$LINENO"; then :
 
3754
 
 
3755
else
 
3756
  # Broken: fails on valid input.
 
3757
continue
 
3758
fi
 
3759
rm -f conftest.err conftest.i conftest.$ac_ext
 
3760
 
 
3761
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3762
  # can be detected and how.
 
3763
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3764
/* end confdefs.h.  */
 
3765
#include <ac_nonexistent.h>
 
3766
_ACEOF
 
3767
if ac_fn_c_try_cpp "$LINENO"; then :
 
3768
  # Broken: success on invalid input.
 
3769
continue
 
3770
else
 
3771
  # Passes both tests.
 
3772
ac_preproc_ok=:
 
3773
break
 
3774
fi
 
3775
rm -f conftest.err conftest.i conftest.$ac_ext
 
3776
 
 
3777
done
 
3778
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3779
rm -f conftest.i conftest.err conftest.$ac_ext
 
3780
if $ac_preproc_ok; then :
 
3781
  break
 
3782
fi
 
3783
 
 
3784
    done
 
3785
    ac_cv_prog_CPP=$CPP
 
3786
 
 
3787
fi
 
3788
  CPP=$ac_cv_prog_CPP
 
3789
else
 
3790
  ac_cv_prog_CPP=$CPP
 
3791
fi
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
3793
$as_echo "$CPP" >&6; }
 
3794
ac_preproc_ok=false
 
3795
for ac_c_preproc_warn_flag in '' yes
 
3796
do
 
3797
  # Use a header file that comes with gcc, so configuring glibc
 
3798
  # with a fresh cross-compiler works.
 
3799
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3800
  # <limits.h> exists even on freestanding compilers.
 
3801
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3802
  # not just through cpp. "Syntax error" is here to catch this case.
 
3803
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3804
/* end confdefs.h.  */
 
3805
#ifdef __STDC__
 
3806
# include <limits.h>
 
3807
#else
 
3808
# include <assert.h>
 
3809
#endif
 
3810
                     Syntax error
 
3811
_ACEOF
 
3812
if ac_fn_c_try_cpp "$LINENO"; then :
 
3813
 
 
3814
else
 
3815
  # Broken: fails on valid input.
 
3816
continue
 
3817
fi
 
3818
rm -f conftest.err conftest.i conftest.$ac_ext
 
3819
 
 
3820
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3821
  # can be detected and how.
 
3822
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3823
/* end confdefs.h.  */
 
3824
#include <ac_nonexistent.h>
 
3825
_ACEOF
 
3826
if ac_fn_c_try_cpp "$LINENO"; then :
 
3827
  # Broken: success on invalid input.
 
3828
continue
 
3829
else
 
3830
  # Passes both tests.
 
3831
ac_preproc_ok=:
 
3832
break
 
3833
fi
 
3834
rm -f conftest.err conftest.i conftest.$ac_ext
 
3835
 
 
3836
done
 
3837
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3838
rm -f conftest.i conftest.err conftest.$ac_ext
 
3839
if $ac_preproc_ok; then :
 
3840
 
 
3841
else
 
3842
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3843
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3844
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
3845
See \`config.log' for more details" "$LINENO" 5; }
 
3846
fi
 
3847
 
 
3848
ac_ext=c
 
3849
ac_cpp='$CPP $CPPFLAGS'
 
3850
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3851
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3852
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3853
 
 
3854
 
 
3855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
3856
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3857
if ${ac_cv_path_GREP+:} false; then :
 
3858
  $as_echo_n "(cached) " >&6
 
3859
else
 
3860
  if test -z "$GREP"; then
 
3861
  ac_path_GREP_found=false
 
3862
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3863
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3864
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3865
do
 
3866
  IFS=$as_save_IFS
 
3867
  test -z "$as_dir" && as_dir=.
 
3868
    for ac_prog in grep ggrep; do
 
3869
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3870
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3871
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3872
# Check for GNU ac_path_GREP and select it if it is found.
 
3873
  # Check for GNU $ac_path_GREP
 
3874
case `"$ac_path_GREP" --version 2>&1` in
 
3875
*GNU*)
 
3876
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3877
*)
 
3878
  ac_count=0
 
3879
  $as_echo_n 0123456789 >"conftest.in"
 
3880
  while :
 
3881
  do
 
3882
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3883
    mv "conftest.tmp" "conftest.in"
 
3884
    cp "conftest.in" "conftest.nl"
 
3885
    $as_echo 'GREP' >> "conftest.nl"
 
3886
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3887
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3888
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3889
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3890
      # Best one so far, save it but keep looking for a better one
 
3891
      ac_cv_path_GREP="$ac_path_GREP"
 
3892
      ac_path_GREP_max=$ac_count
 
3893
    fi
 
3894
    # 10*(2^10) chars as input seems more than enough
 
3895
    test $ac_count -gt 10 && break
 
3896
  done
 
3897
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3898
esac
 
3899
 
 
3900
      $ac_path_GREP_found && break 3
 
3901
    done
 
3902
  done
 
3903
  done
 
3904
IFS=$as_save_IFS
 
3905
  if test -z "$ac_cv_path_GREP"; then
 
3906
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3907
  fi
 
3908
else
 
3909
  ac_cv_path_GREP=$GREP
 
3910
fi
 
3911
 
 
3912
fi
 
3913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
3914
$as_echo "$ac_cv_path_GREP" >&6; }
 
3915
 GREP="$ac_cv_path_GREP"
 
3916
 
 
3917
 
 
3918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
3919
$as_echo_n "checking for egrep... " >&6; }
 
3920
if ${ac_cv_path_EGREP+:} false; then :
 
3921
  $as_echo_n "(cached) " >&6
 
3922
else
 
3923
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3924
   then ac_cv_path_EGREP="$GREP -E"
 
3925
   else
 
3926
     if test -z "$EGREP"; then
 
3927
  ac_path_EGREP_found=false
 
3928
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3929
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3930
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3931
do
 
3932
  IFS=$as_save_IFS
 
3933
  test -z "$as_dir" && as_dir=.
 
3934
    for ac_prog in egrep; do
 
3935
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3936
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3937
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3938
# Check for GNU ac_path_EGREP and select it if it is found.
 
3939
  # Check for GNU $ac_path_EGREP
 
3940
case `"$ac_path_EGREP" --version 2>&1` in
 
3941
*GNU*)
 
3942
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3943
*)
 
3944
  ac_count=0
 
3945
  $as_echo_n 0123456789 >"conftest.in"
 
3946
  while :
 
3947
  do
 
3948
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3949
    mv "conftest.tmp" "conftest.in"
 
3950
    cp "conftest.in" "conftest.nl"
 
3951
    $as_echo 'EGREP' >> "conftest.nl"
 
3952
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3953
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3954
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3955
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3956
      # Best one so far, save it but keep looking for a better one
 
3957
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3958
      ac_path_EGREP_max=$ac_count
 
3959
    fi
 
3960
    # 10*(2^10) chars as input seems more than enough
 
3961
    test $ac_count -gt 10 && break
 
3962
  done
 
3963
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3964
esac
 
3965
 
 
3966
      $ac_path_EGREP_found && break 3
 
3967
    done
 
3968
  done
 
3969
  done
 
3970
IFS=$as_save_IFS
 
3971
  if test -z "$ac_cv_path_EGREP"; then
 
3972
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3973
  fi
 
3974
else
 
3975
  ac_cv_path_EGREP=$EGREP
 
3976
fi
 
3977
 
 
3978
   fi
 
3979
fi
 
3980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
3981
$as_echo "$ac_cv_path_EGREP" >&6; }
 
3982
 EGREP="$ac_cv_path_EGREP"
 
3983
 
 
3984
 
 
3985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
3986
$as_echo_n "checking for ANSI C header files... " >&6; }
 
3987
if ${ac_cv_header_stdc+:} false; then :
 
3988
  $as_echo_n "(cached) " >&6
 
3989
else
 
3990
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3991
/* end confdefs.h.  */
 
3992
#include <stdlib.h>
 
3993
#include <stdarg.h>
 
3994
#include <string.h>
 
3995
#include <float.h>
 
3996
 
 
3997
int
 
3998
main ()
 
3999
{
 
4000
 
 
4001
  ;
 
4002
  return 0;
 
4003
}
 
4004
_ACEOF
 
4005
if ac_fn_c_try_compile "$LINENO"; then :
 
4006
  ac_cv_header_stdc=yes
 
4007
else
 
4008
  ac_cv_header_stdc=no
 
4009
fi
 
4010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4011
 
 
4012
if test $ac_cv_header_stdc = yes; then
 
4013
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4014
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4015
/* end confdefs.h.  */
 
4016
#include <string.h>
 
4017
 
 
4018
_ACEOF
 
4019
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4020
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4021
 
 
4022
else
 
4023
  ac_cv_header_stdc=no
 
4024
fi
 
4025
rm -f conftest*
 
4026
 
 
4027
fi
 
4028
 
 
4029
if test $ac_cv_header_stdc = yes; then
 
4030
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4031
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4032
/* end confdefs.h.  */
 
4033
#include <stdlib.h>
 
4034
 
 
4035
_ACEOF
 
4036
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4037
  $EGREP "free" >/dev/null 2>&1; then :
 
4038
 
 
4039
else
 
4040
  ac_cv_header_stdc=no
 
4041
fi
 
4042
rm -f conftest*
 
4043
 
 
4044
fi
 
4045
 
 
4046
if test $ac_cv_header_stdc = yes; then
 
4047
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4048
  if test "$cross_compiling" = yes; then :
 
4049
  :
 
4050
else
 
4051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4052
/* end confdefs.h.  */
 
4053
#include <ctype.h>
 
4054
#include <stdlib.h>
 
4055
#if ((' ' & 0x0FF) == 0x020)
 
4056
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4057
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4058
#else
 
4059
# define ISLOWER(c) \
 
4060
                   (('a' <= (c) && (c) <= 'i') \
 
4061
                     || ('j' <= (c) && (c) <= 'r') \
 
4062
                     || ('s' <= (c) && (c) <= 'z'))
 
4063
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4064
#endif
 
4065
 
 
4066
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4067
int
 
4068
main ()
 
4069
{
 
4070
  int i;
 
4071
  for (i = 0; i < 256; i++)
 
4072
    if (XOR (islower (i), ISLOWER (i))
 
4073
        || toupper (i) != TOUPPER (i))
 
4074
      return 2;
 
4075
  return 0;
 
4076
}
 
4077
_ACEOF
 
4078
if ac_fn_c_try_run "$LINENO"; then :
 
4079
 
 
4080
else
 
4081
  ac_cv_header_stdc=no
 
4082
fi
 
4083
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4084
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4085
fi
 
4086
 
 
4087
fi
 
4088
fi
 
4089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4090
$as_echo "$ac_cv_header_stdc" >&6; }
 
4091
if test $ac_cv_header_stdc = yes; then
 
4092
 
 
4093
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4094
 
 
4095
fi
 
4096
 
 
4097
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4098
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4099
                  inttypes.h stdint.h unistd.h
 
4100
do :
 
4101
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4102
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4103
"
 
4104
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4105
  cat >>confdefs.h <<_ACEOF
 
4106
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4107
_ACEOF
 
4108
 
 
4109
fi
 
4110
 
 
4111
done
 
4112
 
 
4113
 
 
4114
 
 
4115
 
 
4116
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
4117
        if test -n "$ac_tool_prefix"; then
 
4118
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
4119
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
4120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4121
$as_echo_n "checking for $ac_word... " >&6; }
 
4122
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
4123
  $as_echo_n "(cached) " >&6
 
4124
else
 
4125
  case $PKG_CONFIG in
 
4126
  [\\/]* | ?:[\\/]*)
 
4127
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
4128
  ;;
 
4129
  *)
 
4130
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4131
for as_dir in $PATH
 
4132
do
 
4133
  IFS=$as_save_IFS
 
4134
  test -z "$as_dir" && as_dir=.
 
4135
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4136
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4137
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4138
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4139
    break 2
 
4140
  fi
 
4141
done
 
4142
  done
 
4143
IFS=$as_save_IFS
 
4144
 
 
4145
  ;;
 
4146
esac
 
4147
fi
 
4148
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
4149
if test -n "$PKG_CONFIG"; then
 
4150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
4151
$as_echo "$PKG_CONFIG" >&6; }
 
4152
else
 
4153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4154
$as_echo "no" >&6; }
 
4155
fi
 
4156
 
 
4157
 
 
4158
fi
 
4159
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
4160
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
4161
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
4162
set dummy pkg-config; ac_word=$2
 
4163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4164
$as_echo_n "checking for $ac_word... " >&6; }
 
4165
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
4166
  $as_echo_n "(cached) " >&6
 
4167
else
 
4168
  case $ac_pt_PKG_CONFIG in
 
4169
  [\\/]* | ?:[\\/]*)
 
4170
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
4171
  ;;
 
4172
  *)
 
4173
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4174
for as_dir in $PATH
 
4175
do
 
4176
  IFS=$as_save_IFS
 
4177
  test -z "$as_dir" && as_dir=.
 
4178
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4179
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4180
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4181
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4182
    break 2
 
4183
  fi
 
4184
done
 
4185
  done
 
4186
IFS=$as_save_IFS
 
4187
 
 
4188
  ;;
 
4189
esac
 
4190
fi
 
4191
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
4192
if test -n "$ac_pt_PKG_CONFIG"; then
 
4193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
4194
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
4195
else
 
4196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4197
$as_echo "no" >&6; }
 
4198
fi
 
4199
 
 
4200
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
4201
    PKG_CONFIG=""
 
4202
  else
 
4203
    case $cross_compiling:$ac_tool_warned in
 
4204
yes:)
 
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4206
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4207
ac_tool_warned=yes ;;
 
4208
esac
 
4209
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
4210
  fi
 
4211
else
 
4212
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
4213
fi
 
4214
 
 
4215
fi
 
4216
if test -n "$PKG_CONFIG"; then
 
4217
        _pkg_min_version=0.9.0
 
4218
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
4219
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
4220
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
4221
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4222
$as_echo "yes" >&6; }
 
4223
        else
 
4224
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4225
$as_echo "no" >&6; }
 
4226
                PKG_CONFIG=""
 
4227
        fi
 
4228
 
 
4229
fi
4485
4230
# Make sure we can run config.sub.
4486
4231
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4487
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4488
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4489
 
   { (exit 1); exit 1; }; }
 
4232
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4490
4233
 
4491
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4492
4235
$as_echo_n "checking build system type... " >&6; }
4493
 
if test "${ac_cv_build+set}" = set; then
 
4236
if ${ac_cv_build+:} false; then :
4494
4237
  $as_echo_n "(cached) " >&6
4495
4238
else
4496
4239
  ac_build_alias=$build_alias
4497
4240
test "x$ac_build_alias" = x &&
4498
4241
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4499
4242
test "x$ac_build_alias" = x &&
4500
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4501
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4502
 
   { (exit 1); exit 1; }; }
 
4243
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4503
4244
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4504
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4505
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4506
 
   { (exit 1); exit 1; }; }
 
4245
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4507
4246
 
4508
4247
fi
4509
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4510
4249
$as_echo "$ac_cv_build" >&6; }
4511
4250
case $ac_cv_build in
4512
4251
*-*-*) ;;
4513
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4514
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4515
 
   { (exit 1); exit 1; }; };;
 
4252
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4516
4253
esac
4517
4254
build=$ac_cv_build
4518
4255
ac_save_IFS=$IFS; IFS='-'
4528
4265
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4529
4266
 
4530
4267
 
4531
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4532
4269
$as_echo_n "checking host system type... " >&6; }
4533
 
if test "${ac_cv_host+set}" = set; then
 
4270
if ${ac_cv_host+:} false; then :
4534
4271
  $as_echo_n "(cached) " >&6
4535
4272
else
4536
4273
  if test "x$host_alias" = x; then
4537
4274
  ac_cv_host=$ac_cv_build
4538
4275
else
4539
4276
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4540
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4541
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4542
 
   { (exit 1); exit 1; }; }
 
4277
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4543
4278
fi
4544
4279
 
4545
4280
fi
4546
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4547
4282
$as_echo "$ac_cv_host" >&6; }
4548
4283
case $ac_cv_host in
4549
4284
*-*-*) ;;
4550
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4551
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4552
 
   { (exit 1); exit 1; }; };;
 
4285
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4553
4286
esac
4554
4287
host=$ac_cv_host
4555
4288
ac_save_IFS=$IFS; IFS='-'
4565
4298
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4566
4299
 
4567
4300
 
 
4301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4302
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4303
if ${ac_cv_path_SED+:} false; then :
 
4304
  $as_echo_n "(cached) " >&6
 
4305
else
 
4306
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4307
     for ac_i in 1 2 3 4 5 6 7; do
 
4308
       ac_script="$ac_script$as_nl$ac_script"
 
4309
     done
 
4310
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4311
     { ac_script=; unset ac_script;}
 
4312
     if test -z "$SED"; then
 
4313
  ac_path_SED_found=false
 
4314
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4315
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4316
for as_dir in $PATH
 
4317
do
 
4318
  IFS=$as_save_IFS
 
4319
  test -z "$as_dir" && as_dir=.
 
4320
    for ac_prog in sed gsed; do
 
4321
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4322
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4323
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4324
# Check for GNU ac_path_SED and select it if it is found.
 
4325
  # Check for GNU $ac_path_SED
 
4326
case `"$ac_path_SED" --version 2>&1` in
 
4327
*GNU*)
 
4328
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4329
*)
 
4330
  ac_count=0
 
4331
  $as_echo_n 0123456789 >"conftest.in"
 
4332
  while :
 
4333
  do
 
4334
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4335
    mv "conftest.tmp" "conftest.in"
 
4336
    cp "conftest.in" "conftest.nl"
 
4337
    $as_echo '' >> "conftest.nl"
 
4338
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4339
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4340
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4341
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4342
      # Best one so far, save it but keep looking for a better one
 
4343
      ac_cv_path_SED="$ac_path_SED"
 
4344
      ac_path_SED_max=$ac_count
 
4345
    fi
 
4346
    # 10*(2^10) chars as input seems more than enough
 
4347
    test $ac_count -gt 10 && break
 
4348
  done
 
4349
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4350
esac
 
4351
 
 
4352
      $ac_path_SED_found && break 3
 
4353
    done
 
4354
  done
 
4355
  done
 
4356
IFS=$as_save_IFS
 
4357
  if test -z "$ac_cv_path_SED"; then
 
4358
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4359
  fi
 
4360
else
 
4361
  ac_cv_path_SED=$SED
 
4362
fi
 
4363
 
 
4364
fi
 
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4366
$as_echo "$ac_cv_path_SED" >&6; }
 
4367
 SED="$ac_cv_path_SED"
 
4368
  rm -f conftest.sed
 
4369
 
 
4370
 
4568
4371
 
4569
4372
 
4570
4373
 
4571
4374
if  test "x$GCC" = xyes ; then
4572
4375
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4573
4376
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4574
 
-Wbad-function-cast"
 
4377
-Wbad-function-cast -Wformat=2"
4575
4378
    case `$CC -dumpversion` in
4576
4379
    3.4.* | 4.*)
4577
4380
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4578
4381
        ;;
4579
4382
    esac
4580
4383
else
4581
 
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4582
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4583
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4584
 
  $as_echo_n "(cached) " >&6
4585
 
else
4586
 
  cat >conftest.$ac_ext <<_ACEOF
4587
 
/* confdefs.h.  */
4588
 
_ACEOF
4589
 
cat confdefs.h >>conftest.$ac_ext
4590
 
cat >>conftest.$ac_ext <<_ACEOF
4591
 
/* end confdefs.h.  */
4592
 
$ac_includes_default
4593
 
int
4594
 
main ()
4595
 
{
4596
 
#ifndef __SUNPRO_C
4597
 
  (void) __SUNPRO_C;
4598
 
#endif
4599
 
 
4600
 
  ;
4601
 
  return 0;
4602
 
}
4603
 
_ACEOF
4604
 
rm -f conftest.$ac_objext
4605
 
if { (ac_try="$ac_compile"
4606
 
case "(($ac_try" in
4607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608
 
  *) ac_try_echo=$ac_try;;
4609
 
esac
4610
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4611
 
$as_echo "$ac_try_echo") >&5
4612
 
  (eval "$ac_compile") 2>conftest.er1
4613
 
  ac_status=$?
4614
 
  grep -v '^ *+' conftest.er1 >conftest.err
4615
 
  rm -f conftest.er1
4616
 
  cat conftest.err >&5
4617
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618
 
  (exit $ac_status); } && {
4619
 
         test -z "$ac_c_werror_flag" ||
4620
 
         test ! -s conftest.err
4621
 
       } && test -s conftest.$ac_objext; then
4622
 
  ac_cv_have_decl___SUNPRO_C=yes
4623
 
else
4624
 
  $as_echo "$as_me: failed program was:" >&5
4625
 
sed 's/^/| /' conftest.$ac_ext >&5
4626
 
 
4627
 
        ac_cv_have_decl___SUNPRO_C=no
4628
 
fi
4629
 
 
4630
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631
 
fi
4632
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4633
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4634
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4384
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4385
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4635
4386
  SUNCC="yes"
4636
4387
else
4637
4388
  SUNCC="no"
4642
4393
    fi
4643
4394
fi
4644
4395
 
4645
 
# Check whether --enable-silent-rules was given.
4646
 
if test "${enable_silent_rules+set}" = set; then
4647
 
  enableval=$enable_silent_rules;
4648
 
fi
4649
 
 
4650
 
case $enable_silent_rules in
4651
 
yes) AM_DEFAULT_VERBOSITY=0;;
4652
 
no)  AM_DEFAULT_VERBOSITY=1;;
4653
 
*)   AM_DEFAULT_VERBOSITY=0;;
4654
 
esac
4655
 
AM_BACKSLASH='\'
4656
 
 
4657
 
 
4658
 
 
4659
 
 
 
4396
 
 
4397
 
 
4398
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4660
4399
 
4661
4400
 
4662
4401
 
4663
4402
# Check whether --enable-strict-compilation was given.
4664
 
if test "${enable_strict_compilation+set}" = set; then
 
4403
if test "${enable_strict_compilation+set}" = set; then :
4665
4404
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4666
4405
else
4667
4406
  STRICT_COMPILE=no
4668
4407
fi
4669
4408
 
4670
4409
if test "x$STRICT_COMPILE" = "xyes"; then
4671
 
        { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4672
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4673
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4674
 
  $as_echo_n "(cached) " >&6
4675
 
else
4676
 
  cat >conftest.$ac_ext <<_ACEOF
4677
 
/* confdefs.h.  */
4678
 
_ACEOF
4679
 
cat confdefs.h >>conftest.$ac_ext
4680
 
cat >>conftest.$ac_ext <<_ACEOF
4681
 
/* end confdefs.h.  */
4682
 
$ac_includes_default
4683
 
int
4684
 
main ()
4685
 
{
4686
 
#ifndef __SUNPRO_C
4687
 
  (void) __SUNPRO_C;
4688
 
#endif
4689
 
 
4690
 
  ;
4691
 
  return 0;
4692
 
}
4693
 
_ACEOF
4694
 
rm -f conftest.$ac_objext
4695
 
if { (ac_try="$ac_compile"
4696
 
case "(($ac_try" in
4697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698
 
  *) ac_try_echo=$ac_try;;
4699
 
esac
4700
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4701
 
$as_echo "$ac_try_echo") >&5
4702
 
  (eval "$ac_compile") 2>conftest.er1
4703
 
  ac_status=$?
4704
 
  grep -v '^ *+' conftest.er1 >conftest.err
4705
 
  rm -f conftest.er1
4706
 
  cat conftest.err >&5
4707
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708
 
  (exit $ac_status); } && {
4709
 
         test -z "$ac_c_werror_flag" ||
4710
 
         test ! -s conftest.err
4711
 
       } && test -s conftest.$ac_objext; then
4712
 
  ac_cv_have_decl___SUNPRO_C=yes
4713
 
else
4714
 
  $as_echo "$as_me: failed program was:" >&5
4715
 
sed 's/^/| /' conftest.$ac_ext >&5
4716
 
 
4717
 
        ac_cv_have_decl___SUNPRO_C=no
4718
 
fi
4719
 
 
4720
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721
 
fi
4722
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4723
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4724
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4410
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4411
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4725
4412
  SUNCC="yes"
4726
4413
else
4727
4414
  SUNCC="no"
4728
4415
fi
4729
4416
 
4730
 
        { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4731
 
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4732
 
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4733
 
  $as_echo_n "(cached) " >&6
4734
 
else
4735
 
  cat >conftest.$ac_ext <<_ACEOF
4736
 
/* confdefs.h.  */
4737
 
_ACEOF
4738
 
cat confdefs.h >>conftest.$ac_ext
4739
 
cat >>conftest.$ac_ext <<_ACEOF
4740
 
/* end confdefs.h.  */
4741
 
$ac_includes_default
4742
 
int
4743
 
main ()
4744
 
{
4745
 
#ifndef __INTEL_COMPILER
4746
 
  (void) __INTEL_COMPILER;
4747
 
#endif
4748
 
 
4749
 
  ;
4750
 
  return 0;
4751
 
}
4752
 
_ACEOF
4753
 
rm -f conftest.$ac_objext
4754
 
if { (ac_try="$ac_compile"
4755
 
case "(($ac_try" in
4756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757
 
  *) ac_try_echo=$ac_try;;
4758
 
esac
4759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4760
 
$as_echo "$ac_try_echo") >&5
4761
 
  (eval "$ac_compile") 2>conftest.er1
4762
 
  ac_status=$?
4763
 
  grep -v '^ *+' conftest.er1 >conftest.err
4764
 
  rm -f conftest.er1
4765
 
  cat conftest.err >&5
4766
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767
 
  (exit $ac_status); } && {
4768
 
         test -z "$ac_c_werror_flag" ||
4769
 
         test ! -s conftest.err
4770
 
       } && test -s conftest.$ac_objext; then
4771
 
  ac_cv_have_decl___INTEL_COMPILER=yes
4772
 
else
4773
 
  $as_echo "$as_me: failed program was:" >&5
4774
 
sed 's/^/| /' conftest.$ac_ext >&5
4775
 
 
4776
 
        ac_cv_have_decl___INTEL_COMPILER=no
4777
 
fi
4778
 
 
4779
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780
 
fi
4781
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4782
 
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4783
 
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
 
4417
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
 
4418
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4784
4419
  INTELCC="yes"
4785
4420
else
4786
4421
  INTELCC="no"
4799
4434
 
4800
4435
 
4801
4436
 
4802
 
# Check whether --with-release-version was given.
4803
 
if test "${with_release_version+set}" = set; then
4804
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
4805
 
else
4806
 
  RELEASE_VERSION=""
4807
 
fi
4808
 
 
4809
 
        if test "x$RELEASE_VERSION" != "x"; then
4810
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
4811
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4812
 
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4813
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4814
 
        fi
4815
 
 
4816
4437
cat >>confdefs.h <<_ACEOF
4817
4438
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4818
4439
_ACEOF
4837
4458
 
4838
4459
 
4839
4460
 
4840
 
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4841
 
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
 
4461
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
 
4462
mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
 
4463
|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4842
4464
echo 'git directory not found: installing possibly empty changelog.' >&2)"
4843
4465
 
4844
 
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
 
4466
 
 
4467
 
 
4468
 
 
4469
macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
 
4470
INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
 
4471
mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
 
4472
|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
 
4473
echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
 
4474
 
4845
4475
 
4846
4476
 
4847
4477
 
4915
4545
 
4916
4546
 
4917
4547
 
 
4548
XORG_MAN_PAGE="X Version 11"
 
4549
 
 
4550
MAN_SUBSTS="\
 
4551
        -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4552
        -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4553
        -e 's|__xservername__|Xorg|g' \
 
4554
        -e 's|__xconfigfile__|xorg.conf|g' \
 
4555
        -e 's|__projectroot__|\$(prefix)|g' \
 
4556
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
 
4557
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
 
4558
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
 
4559
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
 
4560
        -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
 
4561
        -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
 
4562
        -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
 
4563
 
 
4564
 
 
4565
 
 
4566
# Check whether --enable-silent-rules was given.
 
4567
if test "${enable_silent_rules+set}" = set; then :
 
4568
  enableval=$enable_silent_rules;
 
4569
fi
 
4570
 
 
4571
case $enable_silent_rules in
 
4572
yes) AM_DEFAULT_VERBOSITY=0;;
 
4573
no)  AM_DEFAULT_VERBOSITY=1;;
 
4574
*)   AM_DEFAULT_VERBOSITY=0;;
 
4575
esac
 
4576
AM_BACKSLASH='\'
 
4577
 
4918
4578
 
4919
4579
 
4920
4580
# Checks for pkg-config packages
4921
4581
 
4922
 
 
4923
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4924
 
        if test -n "$ac_tool_prefix"; then
4925
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4926
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4927
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4928
 
$as_echo_n "checking for $ac_word... " >&6; }
4929
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4930
 
  $as_echo_n "(cached) " >&6
4931
 
else
4932
 
  case $PKG_CONFIG in
4933
 
  [\\/]* | ?:[\\/]*)
4934
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4935
 
  ;;
4936
 
  *)
4937
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938
 
for as_dir in $PATH
4939
 
do
4940
 
  IFS=$as_save_IFS
4941
 
  test -z "$as_dir" && as_dir=.
4942
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4943
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4945
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4946
 
    break 2
4947
 
  fi
4948
 
done
4949
 
done
4950
 
IFS=$as_save_IFS
4951
 
 
4952
 
  ;;
4953
 
esac
4954
 
fi
4955
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4956
 
if test -n "$PKG_CONFIG"; then
4957
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4958
 
$as_echo "$PKG_CONFIG" >&6; }
4959
 
else
4960
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
4961
 
$as_echo "no" >&6; }
4962
 
fi
4963
 
 
4964
 
 
4965
 
fi
4966
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
4967
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4968
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
4969
 
set dummy pkg-config; ac_word=$2
4970
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4971
 
$as_echo_n "checking for $ac_word... " >&6; }
4972
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4973
 
  $as_echo_n "(cached) " >&6
4974
 
else
4975
 
  case $ac_pt_PKG_CONFIG in
4976
 
  [\\/]* | ?:[\\/]*)
4977
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4978
 
  ;;
4979
 
  *)
4980
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981
 
for as_dir in $PATH
4982
 
do
4983
 
  IFS=$as_save_IFS
4984
 
  test -z "$as_dir" && as_dir=.
4985
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4987
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4988
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4989
 
    break 2
4990
 
  fi
4991
 
done
4992
 
done
4993
 
IFS=$as_save_IFS
4994
 
 
4995
 
  ;;
4996
 
esac
4997
 
fi
4998
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4999
 
if test -n "$ac_pt_PKG_CONFIG"; then
5000
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5001
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5002
 
else
5003
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5004
 
$as_echo "no" >&6; }
5005
 
fi
5006
 
 
5007
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
5008
 
    PKG_CONFIG=""
5009
 
  else
5010
 
    case $cross_compiling:$ac_tool_warned in
5011
 
yes:)
5012
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5013
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014
 
ac_tool_warned=yes ;;
5015
 
esac
5016
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
5017
 
  fi
5018
 
else
5019
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5020
 
fi
5021
 
 
5022
 
fi
5023
 
if test -n "$PKG_CONFIG"; then
5024
 
        _pkg_min_version=0.9.0
5025
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5026
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5027
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5028
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
5029
 
$as_echo "yes" >&6; }
5030
 
        else
5031
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
5032
 
$as_echo "no" >&6; }
5033
 
                PKG_CONFIG=""
5034
 
        fi
5035
 
 
5036
 
fi
5037
 
 
5038
4582
pkg_failed=no
5039
 
{ $as_echo "$as_me:$LINENO: checking for XCURSORGEN" >&5
 
4583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCURSORGEN" >&5
5040
4584
$as_echo_n "checking for XCURSORGEN... " >&6; }
5041
4585
 
5042
4586
if test -n "$XCURSORGEN_CFLAGS"; then
5043
4587
    pkg_cv_XCURSORGEN_CFLAGS="$XCURSORGEN_CFLAGS"
5044
4588
 elif test -n "$PKG_CONFIG"; then
5045
4589
    if test -n "$PKG_CONFIG" && \
5046
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng12\"") >&5
5047
 
  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng12") 2>&5
 
4590
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng >= 1.2.0\""; } >&5
 
4591
  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng >= 1.2.0") 2>&5
5048
4592
  ac_status=$?
5049
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050
 
  (exit $ac_status); }; then
5051
 
  pkg_cv_XCURSORGEN_CFLAGS=`$PKG_CONFIG --cflags "x11 xcursor libpng12" 2>/dev/null`
 
4593
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4594
  test $ac_status = 0; }; then
 
4595
  pkg_cv_XCURSORGEN_CFLAGS=`$PKG_CONFIG --cflags "x11 xcursor libpng >= 1.2.0" 2>/dev/null`
5052
4596
else
5053
4597
  pkg_failed=yes
5054
4598
fi
5059
4603
    pkg_cv_XCURSORGEN_LIBS="$XCURSORGEN_LIBS"
5060
4604
 elif test -n "$PKG_CONFIG"; then
5061
4605
    if test -n "$PKG_CONFIG" && \
5062
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng12\"") >&5
5063
 
  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng12") 2>&5
 
4606
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng >= 1.2.0\""; } >&5
 
4607
  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng >= 1.2.0") 2>&5
5064
4608
  ac_status=$?
5065
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066
 
  (exit $ac_status); }; then
5067
 
  pkg_cv_XCURSORGEN_LIBS=`$PKG_CONFIG --libs "x11 xcursor libpng12" 2>/dev/null`
 
4609
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4610
  test $ac_status = 0; }; then
 
4611
  pkg_cv_XCURSORGEN_LIBS=`$PKG_CONFIG --libs "x11 xcursor libpng >= 1.2.0" 2>/dev/null`
5068
4612
else
5069
4613
  pkg_failed=yes
5070
4614
fi
5082
4626
        _pkg_short_errors_supported=no
5083
4627
fi
5084
4628
        if test $_pkg_short_errors_supported = yes; then
5085
 
                XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xcursor libpng12" 2>&1`
 
4629
                XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xcursor libpng >= 1.2.0" 2>&1`
5086
4630
        else
5087
 
                XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xcursor libpng12" 2>&1`
 
4631
                XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xcursor libpng >= 1.2.0" 2>&1`
5088
4632
        fi
5089
4633
        # Put the nasty error message in config.log where it belongs
5090
4634
        echo "$XCURSORGEN_PKG_ERRORS" >&5
5091
4635
 
5092
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xcursor libpng12) were not met:
5093
 
 
5094
 
$XCURSORGEN_PKG_ERRORS
5095
 
 
5096
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5097
 
installed software in a non-standard prefix.
5098
 
 
5099
 
Alternatively, you may set the environment variables XCURSORGEN_CFLAGS
5100
 
and XCURSORGEN_LIBS to avoid the need to call pkg-config.
5101
 
See the pkg-config man page for more details.
5102
 
" >&5
5103
 
$as_echo "$as_me: error: Package requirements (x11 xcursor libpng12) were not met:
5104
 
 
5105
 
$XCURSORGEN_PKG_ERRORS
5106
 
 
5107
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5108
 
installed software in a non-standard prefix.
5109
 
 
5110
 
Alternatively, you may set the environment variables XCURSORGEN_CFLAGS
5111
 
and XCURSORGEN_LIBS to avoid the need to call pkg-config.
5112
 
See the pkg-config man page for more details.
5113
 
" >&2;}
5114
 
   { (exit 1); exit 1; }; }
 
4636
        as_fn_error $? "Package requirements (x11 xcursor libpng >= 1.2.0) were not met:
 
4637
 
 
4638
$XCURSORGEN_PKG_ERRORS
 
4639
 
 
4640
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4641
installed software in a non-standard prefix.
 
4642
 
 
4643
Alternatively, you may set the environment variables XCURSORGEN_CFLAGS
 
4644
and XCURSORGEN_LIBS to avoid the need to call pkg-config.
 
4645
See the pkg-config man page for more details.
 
4646
" "$LINENO" 5
5115
4647
elif test $pkg_failed = untried; then
5116
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4648
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5117
4649
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5118
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5119
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5120
 
path to pkg-config.
5121
 
 
5122
 
Alternatively, you may set the environment variables XCURSORGEN_CFLAGS
5123
 
and XCURSORGEN_LIBS to avoid the need to call pkg-config.
5124
 
See the pkg-config man page for more details.
5125
 
 
5126
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5127
 
See \`config.log' for more details." >&5
5128
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5129
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5130
 
path to pkg-config.
5131
 
 
5132
 
Alternatively, you may set the environment variables XCURSORGEN_CFLAGS
5133
 
and XCURSORGEN_LIBS to avoid the need to call pkg-config.
5134
 
See the pkg-config man page for more details.
5135
 
 
5136
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5137
 
See \`config.log' for more details." >&2;}
5138
 
   { (exit 1); exit 1; }; }; }
 
4650
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
4651
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4652
path to pkg-config.
 
4653
 
 
4654
Alternatively, you may set the environment variables XCURSORGEN_CFLAGS
 
4655
and XCURSORGEN_LIBS to avoid the need to call pkg-config.
 
4656
See the pkg-config man page for more details.
 
4657
 
 
4658
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4659
See \`config.log' for more details" "$LINENO" 5; }
5139
4660
else
5140
4661
        XCURSORGEN_CFLAGS=$pkg_cv_XCURSORGEN_CFLAGS
5141
4662
        XCURSORGEN_LIBS=$pkg_cv_XCURSORGEN_LIBS
5142
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4663
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5143
4664
$as_echo "yes" >&6; }
5144
4665
        :
5145
4666
fi
5146
4667
 
5147
 
 
5148
 
 
5149
4668
ac_config_files="$ac_config_files Makefile"
5150
4669
 
5151
4670
cat >confcache <<\_ACEOF
5175
4694
    case $ac_val in #(
5176
4695
    *${as_nl}*)
5177
4696
      case $ac_var in #(
5178
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
4697
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5179
4698
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5180
4699
      esac
5181
4700
      case $ac_var in #(
5182
4701
      _ | IFS | as_nl) ;; #(
5183
4702
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5184
 
      *) $as_unset $ac_var ;;
 
4703
      *) { eval $ac_var=; unset $ac_var;} ;;
5185
4704
      esac ;;
5186
4705
    esac
5187
4706
  done
5189
4708
  (set) 2>&1 |
5190
4709
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5191
4710
    *${as_nl}ac_space=\ *)
5192
 
      # `set' does not quote correctly, so add quotes (double-quote
5193
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4711
      # `set' does not quote correctly, so add quotes: double-quote
 
4712
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5194
4713
      sed -n \
5195
4714
        "s/'/'\\\\''/g;
5196
4715
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5212
4731
     :end' >>confcache
5213
4732
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5214
4733
  if test -w "$cache_file"; then
5215
 
    test "x$cache_file" != "x/dev/null" &&
5216
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4734
    if test "x$cache_file" != "x/dev/null"; then
 
4735
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5217
4736
$as_echo "$as_me: updating cache $cache_file" >&6;}
5218
 
    cat confcache >$cache_file
 
4737
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
4738
        cat confcache >"$cache_file"
 
4739
      else
 
4740
        case $cache_file in #(
 
4741
        */* | ?:*)
 
4742
          mv -f confcache "$cache_file"$$ &&
 
4743
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
4744
        *)
 
4745
          mv -f confcache "$cache_file" ;;
 
4746
        esac
 
4747
      fi
 
4748
    fi
5219
4749
  else
5220
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4750
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5221
4751
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5222
4752
  fi
5223
4753
fi
5231
4761
 
5232
4762
ac_libobjs=
5233
4763
ac_ltlibobjs=
 
4764
U=
5234
4765
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5235
4766
  # 1. Remove the extension, and $U if already installed.
5236
4767
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5237
4768
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5238
4769
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5239
4770
  #    will be set to the directory where LIBOBJS objects are built.
5240
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5241
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4771
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4772
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5242
4773
done
5243
4774
LIBOBJS=$ac_libobjs
5244
4775
 
5254
4785
fi
5255
4786
 
5256
4787
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5257
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5258
 
Usually this means the macro was only invoked conditionally." >&5
5259
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5260
 
Usually this means the macro was only invoked conditionally." >&2;}
5261
 
   { (exit 1); exit 1; }; }
 
4788
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
4789
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5262
4790
fi
5263
4791
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5264
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5265
 
Usually this means the macro was only invoked conditionally." >&5
5266
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5267
 
Usually this means the macro was only invoked conditionally." >&2;}
5268
 
   { (exit 1); exit 1; }; }
 
4792
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
4793
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5269
4794
fi
5270
4795
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5271
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5272
 
Usually this means the macro was only invoked conditionally." >&5
5273
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5274
 
Usually this means the macro was only invoked conditionally." >&2;}
5275
 
   { (exit 1); exit 1; }; }
 
4796
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
4797
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5276
4798
fi
5277
4799
 
5278
 
: ${CONFIG_STATUS=./config.status}
 
4800
: "${CONFIG_STATUS=./config.status}"
5279
4801
ac_write_fail=0
5280
4802
ac_clean_files_save=$ac_clean_files
5281
4803
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5282
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5283
4805
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5284
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4806
as_write_fail=0
 
4807
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5285
4808
#! $SHELL
5286
4809
# Generated by $as_me.
5287
4810
# Run this file to recreate the current configuration.
5291
4814
debug=false
5292
4815
ac_cs_recheck=false
5293
4816
ac_cs_silent=false
 
4817
 
5294
4818
SHELL=\${CONFIG_SHELL-$SHELL}
5295
 
_ACEOF
5296
 
 
5297
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5298
 
## --------------------- ##
5299
 
## M4sh Initialization.  ##
5300
 
## --------------------- ##
 
4819
export SHELL
 
4820
_ASEOF
 
4821
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
4822
## -------------------- ##
 
4823
## M4sh Initialization. ##
 
4824
## -------------------- ##
5301
4825
 
5302
4826
# Be more Bourne compatible
5303
4827
DUALCASE=1; export DUALCASE # for MKS sh
5304
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4828
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5305
4829
  emulate sh
5306
4830
  NULLCMD=:
5307
4831
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5309
4833
  alias -g '${1+"$@"}'='"$@"'
5310
4834
  setopt NO_GLOB_SUBST
5311
4835
else
5312
 
  case `(set -o) 2>/dev/null` in
5313
 
  *posix*) set -o posix ;;
 
4836
  case `(set -o) 2>/dev/null` in #(
 
4837
  *posix*) :
 
4838
    set -o posix ;; #(
 
4839
  *) :
 
4840
     ;;
5314
4841
esac
5315
 
 
5316
4842
fi
5317
4843
 
5318
4844
 
5319
 
 
5320
 
 
5321
 
# PATH needs CR
5322
 
# Avoid depending upon Character Ranges.
5323
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5324
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5325
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5326
 
as_cr_digits='0123456789'
5327
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5328
 
 
5329
4845
as_nl='
5330
4846
'
5331
4847
export as_nl
5333
4849
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5334
4850
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5335
4851
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5336
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4852
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
4853
# but without wasting forks for bash or zsh.
 
4854
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
4855
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4856
  as_echo='print -r --'
 
4857
  as_echo_n='print -rn --'
 
4858
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5337
4859
  as_echo='printf %s\n'
5338
4860
  as_echo_n='printf %s'
5339
4861
else
5344
4866
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5345
4867
    as_echo_n_body='eval
5346
4868
      arg=$1;
5347
 
      case $arg in
 
4869
      case $arg in #(
5348
4870
      *"$as_nl"*)
5349
4871
        expr "X$arg" : "X\\(.*\\)$as_nl";
5350
4872
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5367
4889
  }
5368
4890
fi
5369
4891
 
5370
 
# Support unset when possible.
5371
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5372
 
  as_unset=unset
5373
 
else
5374
 
  as_unset=false
5375
 
fi
5376
 
 
5377
4892
 
5378
4893
# IFS
5379
4894
# We need space, tab and new line, in precisely that order.  Quoting is
5383
4898
IFS=" ""        $as_nl"
5384
4899
 
5385
4900
# Find who we are.  Look in the path if we contain no directory separator.
5386
 
case $0 in
 
4901
as_myself=
 
4902
case $0 in #((
5387
4903
  *[\\/]* ) as_myself=$0 ;;
5388
4904
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389
4905
for as_dir in $PATH
5390
4906
do
5391
4907
  IFS=$as_save_IFS
5392
4908
  test -z "$as_dir" && as_dir=.
5393
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5394
 
done
 
4909
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4910
  done
5395
4911
IFS=$as_save_IFS
5396
4912
 
5397
4913
     ;;
5403
4919
fi
5404
4920
if test ! -f "$as_myself"; then
5405
4921
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5406
 
  { (exit 1); exit 1; }
 
4922
  exit 1
5407
4923
fi
5408
4924
 
5409
 
# Work around bugs in pre-3.0 UWIN ksh.
5410
 
for as_var in ENV MAIL MAILPATH
5411
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4925
# Unset variables that we do not need and which cause bugs (e.g. in
 
4926
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
4927
# suppresses any "Segmentation fault" message there.  '((' could
 
4928
# trigger a bug in pdksh 5.2.14.
 
4929
for as_var in BASH_ENV ENV MAIL MAILPATH
 
4930
do eval test x\${$as_var+set} = xset \
 
4931
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5412
4932
done
5413
4933
PS1='$ '
5414
4934
PS2='> '
5420
4940
LANGUAGE=C
5421
4941
export LANGUAGE
5422
4942
 
5423
 
# Required to use basename.
 
4943
# CDPATH.
 
4944
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
4945
 
 
4946
 
 
4947
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
4948
# ----------------------------------------
 
4949
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
4950
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
4951
# script with STATUS, using 1 if that was 0.
 
4952
as_fn_error ()
 
4953
{
 
4954
  as_status=$1; test $as_status -eq 0 && as_status=1
 
4955
  if test "$4"; then
 
4956
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
4957
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
4958
  fi
 
4959
  $as_echo "$as_me: error: $2" >&2
 
4960
  as_fn_exit $as_status
 
4961
} # as_fn_error
 
4962
 
 
4963
 
 
4964
# as_fn_set_status STATUS
 
4965
# -----------------------
 
4966
# Set $? to STATUS, without forking.
 
4967
as_fn_set_status ()
 
4968
{
 
4969
  return $1
 
4970
} # as_fn_set_status
 
4971
 
 
4972
# as_fn_exit STATUS
 
4973
# -----------------
 
4974
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
4975
as_fn_exit ()
 
4976
{
 
4977
  set +e
 
4978
  as_fn_set_status $1
 
4979
  exit $1
 
4980
} # as_fn_exit
 
4981
 
 
4982
# as_fn_unset VAR
 
4983
# ---------------
 
4984
# Portably unset VAR.
 
4985
as_fn_unset ()
 
4986
{
 
4987
  { eval $1=; unset $1;}
 
4988
}
 
4989
as_unset=as_fn_unset
 
4990
# as_fn_append VAR VALUE
 
4991
# ----------------------
 
4992
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
4993
# advantage of any shell optimizations that allow amortized linear growth over
 
4994
# repeated appends, instead of the typical quadratic growth present in naive
 
4995
# implementations.
 
4996
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
4997
  eval 'as_fn_append ()
 
4998
  {
 
4999
    eval $1+=\$2
 
5000
  }'
 
5001
else
 
5002
  as_fn_append ()
 
5003
  {
 
5004
    eval $1=\$$1\$2
 
5005
  }
 
5006
fi # as_fn_append
 
5007
 
 
5008
# as_fn_arith ARG...
 
5009
# ------------------
 
5010
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5011
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5012
# must be portable across $(()) and expr.
 
5013
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5014
  eval 'as_fn_arith ()
 
5015
  {
 
5016
    as_val=$(( $* ))
 
5017
  }'
 
5018
else
 
5019
  as_fn_arith ()
 
5020
  {
 
5021
    as_val=`expr "$@" || test $? -eq 1`
 
5022
  }
 
5023
fi # as_fn_arith
 
5024
 
 
5025
 
5424
5026
if expr a : '\(a\)' >/dev/null 2>&1 &&
5425
5027
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5426
5028
  as_expr=expr
5434
5036
  as_basename=false
5435
5037
fi
5436
5038
 
 
5039
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5040
  as_dirname=dirname
 
5041
else
 
5042
  as_dirname=false
 
5043
fi
5437
5044
 
5438
 
# Name of the executable.
5439
5045
as_me=`$as_basename -- "$0" ||
5440
5046
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5441
5047
         X"$0" : 'X\(//\)$' \| \
5455
5061
          }
5456
5062
          s/.*/./; q'`
5457
5063
 
5458
 
# CDPATH.
5459
 
$as_unset CDPATH
5460
 
 
5461
 
 
5462
 
 
5463
 
  as_lineno_1=$LINENO
5464
 
  as_lineno_2=$LINENO
5465
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5466
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5467
 
 
5468
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5469
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
5470
 
  # line-number line after each line using $LINENO; the second 'sed'
5471
 
  # does the real work.  The second script uses 'N' to pair each
5472
 
  # line-number line with the line containing $LINENO, and appends
5473
 
  # trailing '-' during substitution so that $LINENO is not a special
5474
 
  # case at line end.
5475
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5476
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5477
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5478
 
  sed -n '
5479
 
    p
5480
 
    /[$]LINENO/=
5481
 
  ' <$as_myself |
5482
 
    sed '
5483
 
      s/[$]LINENO.*/&-/
5484
 
      t lineno
5485
 
      b
5486
 
      :lineno
5487
 
      N
5488
 
      :loop
5489
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5490
 
      t loop
5491
 
      s/-\n.*//
5492
 
    ' >$as_me.lineno &&
5493
 
  chmod +x "$as_me.lineno" ||
5494
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5495
 
   { (exit 1); exit 1; }; }
5496
 
 
5497
 
  # Don't try to exec as it changes $[0], causing all sort of problems
5498
 
  # (the dirname of $[0] is not the place where we might find the
5499
 
  # original and so on.  Autoconf is especially sensitive to this).
5500
 
  . "./$as_me.lineno"
5501
 
  # Exit status is that of the last command.
5502
 
  exit
5503
 
}
5504
 
 
5505
 
 
5506
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5507
 
  as_dirname=dirname
5508
 
else
5509
 
  as_dirname=false
5510
 
fi
 
5064
# Avoid depending upon Character Ranges.
 
5065
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5066
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5067
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5068
as_cr_digits='0123456789'
 
5069
as_cr_alnum=$as_cr_Letters$as_cr_digits
5511
5070
 
5512
5071
ECHO_C= ECHO_N= ECHO_T=
5513
 
case `echo -n x` in
 
5072
case `echo -n x` in #(((((
5514
5073
-n*)
5515
 
  case `echo 'x\c'` in
 
5074
  case `echo 'xy\c'` in
5516
5075
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5517
 
  *)   ECHO_C='\c';;
 
5076
  xy)  ECHO_C='\c';;
 
5077
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5078
       ECHO_T=' ';;
5518
5079
  esac;;
5519
5080
*)
5520
5081
  ECHO_N='-n';;
5521
5082
esac
5522
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5523
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5524
 
  as_expr=expr
5525
 
else
5526
 
  as_expr=false
5527
 
fi
5528
5083
 
5529
5084
rm -f conf$$ conf$$.exe conf$$.file
5530
5085
if test -d conf$$.dir; then
5553
5108
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5554
5109
rmdir conf$$.dir 2>/dev/null
5555
5110
 
 
5111
 
 
5112
# as_fn_mkdir_p
 
5113
# -------------
 
5114
# Create "$as_dir" as a directory, including parents if necessary.
 
5115
as_fn_mkdir_p ()
 
5116
{
 
5117
 
 
5118
  case $as_dir in #(
 
5119
  -*) as_dir=./$as_dir;;
 
5120
  esac
 
5121
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5122
    as_dirs=
 
5123
    while :; do
 
5124
      case $as_dir in #(
 
5125
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5126
      *) as_qdir=$as_dir;;
 
5127
      esac
 
5128
      as_dirs="'$as_qdir' $as_dirs"
 
5129
      as_dir=`$as_dirname -- "$as_dir" ||
 
5130
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5131
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5132
         X"$as_dir" : 'X\(//\)$' \| \
 
5133
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5134
$as_echo X"$as_dir" |
 
5135
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5136
            s//\1/
 
5137
            q
 
5138
          }
 
5139
          /^X\(\/\/\)[^/].*/{
 
5140
            s//\1/
 
5141
            q
 
5142
          }
 
5143
          /^X\(\/\/\)$/{
 
5144
            s//\1/
 
5145
            q
 
5146
          }
 
5147
          /^X\(\/\).*/{
 
5148
            s//\1/
 
5149
            q
 
5150
          }
 
5151
          s/.*/./; q'`
 
5152
      test -d "$as_dir" && break
 
5153
    done
 
5154
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5155
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
5156
 
 
5157
 
 
5158
} # as_fn_mkdir_p
5556
5159
if mkdir -p . 2>/dev/null; then
5557
 
  as_mkdir_p=:
 
5160
  as_mkdir_p='mkdir -p "$as_dir"'
5558
5161
else
5559
5162
  test -d ./-p && rmdir ./-p
5560
5163
  as_mkdir_p=false
5573
5176
      if test -d "$1"; then
5574
5177
        test -d "$1/.";
5575
5178
      else
5576
 
        case $1 in
 
5179
        case $1 in #(
5577
5180
        -*)set "./$1";;
5578
5181
        esac;
5579
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5182
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5580
5183
        ???[sx]*):;;*)false;;esac;fi
5581
5184
    '\'' sh
5582
5185
  '
5591
5194
 
5592
5195
 
5593
5196
exec 6>&1
 
5197
## ----------------------------------- ##
 
5198
## Main body of $CONFIG_STATUS script. ##
 
5199
## ----------------------------------- ##
 
5200
_ASEOF
 
5201
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5594
5202
 
5595
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5203
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5204
# Save the log message, to keep $0 and so on meaningful, and to
5596
5205
# report actual input values of CONFIG_FILES etc. instead of their
5597
5206
# values after options handling.
5598
5207
ac_log="
5599
 
This file was extended by xcursorgen $as_me 1.0.3, which was
5600
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
5208
This file was extended by xcursorgen $as_me 1.0.4, which was
 
5209
generated by GNU Autoconf 2.68.  Invocation command line was
5601
5210
 
5602
5211
  CONFIG_FILES    = $CONFIG_FILES
5603
5212
  CONFIG_HEADERS  = $CONFIG_HEADERS
5629
5238
 
5630
5239
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5631
5240
ac_cs_usage="\
5632
 
\`$as_me' instantiates files from templates according to the
5633
 
current configuration.
 
5241
\`$as_me' instantiates files and other configuration actions
 
5242
from templates according to the current configuration.  Unless the files
 
5243
and actions are specified as TAGs, all are instantiated by default.
5634
5244
 
5635
 
Usage: $0 [OPTION]... [FILE]...
 
5245
Usage: $0 [OPTION]... [TAG]...
5636
5246
 
5637
5247
  -h, --help       print this help, then exit
5638
5248
  -V, --version    print version number and configuration settings, then exit
 
5249
      --config     print configuration, then exit
5639
5250
  -q, --quiet, --silent
5640
5251
                   do not print progress messages
5641
5252
  -d, --debug      don't remove temporary files
5654
5265
Configuration commands:
5655
5266
$config_commands
5656
5267
 
5657
 
Report bugs to <bug-autoconf@gnu.org>."
 
5268
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5658
5269
 
5659
5270
_ACEOF
5660
5271
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5272
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5661
5273
ac_cs_version="\\
5662
 
xcursorgen config.status 1.0.3
5663
 
configured by $0, generated by GNU Autoconf 2.63,
5664
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5274
xcursorgen config.status 1.0.4
 
5275
configured by $0, generated by GNU Autoconf 2.68,
 
5276
  with options \\"\$ac_cs_config\\"
5665
5277
 
5666
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
5278
Copyright (C) 2010 Free Software Foundation, Inc.
5667
5279
This config.status script is free software; the Free Software Foundation
5668
5280
gives unlimited permission to copy, distribute and modify it."
5669
5281
 
5681
5293
while test $# != 0
5682
5294
do
5683
5295
  case $1 in
5684
 
  --*=*)
 
5296
  --*=?*)
5685
5297
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5686
5298
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5687
5299
    ac_shift=:
5688
5300
    ;;
 
5301
  --*=)
 
5302
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5303
    ac_optarg=
 
5304
    ac_shift=:
 
5305
    ;;
5689
5306
  *)
5690
5307
    ac_option=$1
5691
5308
    ac_optarg=$2
5699
5316
    ac_cs_recheck=: ;;
5700
5317
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5701
5318
    $as_echo "$ac_cs_version"; exit ;;
 
5319
  --config | --confi | --conf | --con | --co | --c )
 
5320
    $as_echo "$ac_cs_config"; exit ;;
5702
5321
  --debug | --debu | --deb | --de | --d | -d )
5703
5322
    debug=: ;;
5704
5323
  --file | --fil | --fi | --f )
5705
5324
    $ac_shift
5706
5325
    case $ac_optarg in
5707
5326
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5327
    '') as_fn_error $? "missing file argument" ;;
5708
5328
    esac
5709
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
5329
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5710
5330
    ac_need_defaults=false;;
5711
5331
  --header | --heade | --head | --hea )
5712
5332
    $ac_shift
5713
5333
    case $ac_optarg in
5714
5334
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5715
5335
    esac
5716
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
5336
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5717
5337
    ac_need_defaults=false;;
5718
5338
  --he | --h)
5719
5339
    # Conflict between --help and --header
5720
 
    { $as_echo "$as_me: error: ambiguous option: $1
5721
 
Try \`$0 --help' for more information." >&2
5722
 
   { (exit 1); exit 1; }; };;
 
5340
    as_fn_error $? "ambiguous option: \`$1'
 
5341
Try \`$0 --help' for more information.";;
5723
5342
  --help | --hel | -h )
5724
5343
    $as_echo "$ac_cs_usage"; exit ;;
5725
5344
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5727
5346
    ac_cs_silent=: ;;
5728
5347
 
5729
5348
  # This is an error.
5730
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
5731
 
Try \`$0 --help' for more information." >&2
5732
 
   { (exit 1); exit 1; }; } ;;
 
5349
  -*) as_fn_error $? "unrecognized option: \`$1'
 
5350
Try \`$0 --help' for more information." ;;
5733
5351
 
5734
 
  *) ac_config_targets="$ac_config_targets $1"
 
5352
  *) as_fn_append ac_config_targets " $1"
5735
5353
     ac_need_defaults=false ;;
5736
5354
 
5737
5355
  esac
5786
5404
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5787
5405
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5788
5406
 
5789
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5790
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5791
 
   { (exit 1); exit 1; }; };;
 
5407
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5792
5408
  esac
5793
5409
done
5794
5410
 
5811
5427
# after its creation but before its name has been assigned to `$tmp'.
5812
5428
$debug ||
5813
5429
{
5814
 
  tmp=
 
5430
  tmp= ac_tmp=
5815
5431
  trap 'exit_status=$?
5816
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5432
  : "${ac_tmp:=$tmp}"
 
5433
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5817
5434
' 0
5818
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5435
  trap 'as_fn_exit 1' 1 2 13 15
5819
5436
}
5820
5437
# Create a (secure) tmp directory for tmp files.
5821
5438
 
5822
5439
{
5823
5440
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5824
 
  test -n "$tmp" && test -d "$tmp"
 
5441
  test -d "$tmp"
5825
5442
}  ||
5826
5443
{
5827
5444
  tmp=./conf$$-$RANDOM
5828
5445
  (umask 077 && mkdir "$tmp")
5829
 
} ||
5830
 
{
5831
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5832
 
   { (exit 1); exit 1; }
5833
 
}
 
5446
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5447
ac_tmp=$tmp
5834
5448
 
5835
5449
# Set up the scripts for CONFIG_FILES section.
5836
5450
# No need to generate them if there are no CONFIG_FILES.
5838
5452
if test -n "$CONFIG_FILES"; then
5839
5453
 
5840
5454
 
5841
 
ac_cr='
 
 
b"'"
 
5455
ac_cr=`echo X | tr X '\015'`
 
5456
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5457
# But we know of no other shell where ac_cr would be empty at this
 
5458
# point, so we can use a bashism as a fallback.
 
5459
if test "x$ac_cr" = x; then
 
5460
  eval ac_cr=\$\'\\r\'
 
5461
fi
5842
5462
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5843
5463
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5844
5464
  ac_cs_awk_cr='\\r'
5846
5466
  ac_cs_awk_cr=$ac_cr
5847
5467
fi
5848
5468
 
5849
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5469
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5850
5470
_ACEOF
5851
5471
 
5852
5472
 
5855
5475
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5856
5476
  echo "_ACEOF"
5857
5477
} >conf$$subs.sh ||
5858
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5859
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5860
 
   { (exit 1); exit 1; }; }
5861
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5478
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5479
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5862
5480
ac_delim='%!_!# '
5863
5481
for ac_last_try in false false false false false :; do
5864
5482
  . ./conf$$subs.sh ||
5865
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5866
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5867
 
   { (exit 1); exit 1; }; }
 
5483
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5868
5484
 
5869
5485
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5870
5486
  if test $ac_delim_n = $ac_delim_num; then
5871
5487
    break
5872
5488
  elif $ac_last_try; then
5873
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5874
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5875
 
   { (exit 1); exit 1; }; }
 
5489
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5876
5490
  else
5877
5491
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5878
5492
  fi
5880
5494
rm -f conf$$subs.sh
5881
5495
 
5882
5496
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5883
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5497
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5884
5498
_ACEOF
5885
5499
sed -n '
5886
5500
h
5894
5508
t delim
5895
5509
:nl
5896
5510
h
5897
 
s/\(.\{148\}\).*/\1/
 
5511
s/\(.\{148\}\)..*/\1/
5898
5512
t more1
5899
5513
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5900
5514
p
5908
5522
t nl
5909
5523
:delim
5910
5524
h
5911
 
s/\(.\{148\}\).*/\1/
 
5525
s/\(.\{148\}\)..*/\1/
5912
5526
t more2
5913
5527
s/["\\]/\\&/g; s/^/"/; s/$/"/
5914
5528
p
5928
5542
rm -f conf$$subs.awk
5929
5543
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5930
5544
_ACAWK
5931
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5545
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5932
5546
  for (key in S) S_is_set[key] = 1
5933
5547
  FS = ""
5934
5548
 
5960
5574
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5961
5575
else
5962
5576
  cat
5963
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5964
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5965
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5966
 
   { (exit 1); exit 1; }; }
 
5577
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
5578
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5967
5579
_ACEOF
5968
5580
 
5969
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5970
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5581
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
5582
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5971
5583
# trailing colons and then remove the whole line if VPATH becomes empty
5972
5584
# (actually we leave an empty line to preserve line numbers).
5973
5585
if test "x$srcdir" = x.; then
5974
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5975
 
s/:*\$(srcdir):*/:/
5976
 
s/:*\${srcdir}:*/:/
5977
 
s/:*@srcdir@:*/:/
5978
 
s/^\([^=]*=[     ]*\):*/\1/
 
5586
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
5587
h
 
5588
s///
 
5589
s/^/:/
 
5590
s/[      ]*$/:/
 
5591
s/:\$(srcdir):/:/g
 
5592
s/:\${srcdir}:/:/g
 
5593
s/:@srcdir@:/:/g
 
5594
s/^:*//
5979
5595
s/:*$//
 
5596
x
 
5597
s/\(=[   ]*\).*/\1/
 
5598
G
 
5599
s/\n//
5980
5600
s/^[^=]*=[       ]*$//
5981
5601
}'
5982
5602
fi
5988
5608
# No need to generate them if there are no CONFIG_HEADERS.
5989
5609
# This happens for instance with `./config.status Makefile'.
5990
5610
if test -n "$CONFIG_HEADERS"; then
5991
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5611
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5992
5612
BEGIN {
5993
5613
_ACEOF
5994
5614
 
6000
5620
# handling of long lines.
6001
5621
ac_delim='%!_!# '
6002
5622
for ac_last_try in false false :; do
6003
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6004
 
  if test -z "$ac_t"; then
 
5623
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
5624
  if test -z "$ac_tt"; then
6005
5625
    break
6006
5626
  elif $ac_last_try; then
6007
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6008
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6009
 
   { (exit 1); exit 1; }; }
 
5627
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6010
5628
  else
6011
5629
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6012
5630
  fi
6091
5709
_ACAWK
6092
5710
_ACEOF
6093
5711
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6094
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6095
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6096
 
   { (exit 1); exit 1; }; }
 
5712
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6097
5713
fi # test -n "$CONFIG_HEADERS"
6098
5714
 
6099
5715
 
6106
5722
  esac
6107
5723
  case $ac_mode$ac_tag in
6108
5724
  :[FHL]*:*);;
6109
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6110
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6111
 
   { (exit 1); exit 1; }; };;
 
5725
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6112
5726
  :[FH]-) ac_tag=-:-;;
6113
5727
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6114
5728
  esac
6127
5741
    for ac_f
6128
5742
    do
6129
5743
      case $ac_f in
6130
 
      -) ac_f="$tmp/stdin";;
 
5744
      -) ac_f="$ac_tmp/stdin";;
6131
5745
      *) # Look for the file first in the build tree, then in the source tree
6132
5746
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6133
5747
         # because $ac_f cannot contain `:'.
6136
5750
           [\\/$]*) false;;
6137
5751
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6138
5752
           esac ||
6139
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6140
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6141
 
   { (exit 1); exit 1; }; };;
 
5753
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6142
5754
      esac
6143
5755
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6144
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
5756
      as_fn_append ac_file_inputs " '$ac_f'"
6145
5757
    done
6146
5758
 
6147
5759
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6152
5764
        `' by configure.'
6153
5765
    if test x"$ac_file" != x-; then
6154
5766
      configure_input="$ac_file.  $configure_input"
6155
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
5767
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6156
5768
$as_echo "$as_me: creating $ac_file" >&6;}
6157
5769
    fi
6158
5770
    # Neutralize special characters interpreted by sed in replacement strings.
6164
5776
    esac
6165
5777
 
6166
5778
    case $ac_tag in
6167
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6168
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6169
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6170
 
   { (exit 1); exit 1; }; } ;;
 
5779
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
5780
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6171
5781
    esac
6172
5782
    ;;
6173
5783
  esac
6195
5805
            q
6196
5806
          }
6197
5807
          s/.*/./; q'`
6198
 
  { as_dir="$ac_dir"
6199
 
  case $as_dir in #(
6200
 
  -*) as_dir=./$as_dir;;
6201
 
  esac
6202
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6203
 
    as_dirs=
6204
 
    while :; do
6205
 
      case $as_dir in #(
6206
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6207
 
      *) as_qdir=$as_dir;;
6208
 
      esac
6209
 
      as_dirs="'$as_qdir' $as_dirs"
6210
 
      as_dir=`$as_dirname -- "$as_dir" ||
6211
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6212
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6213
 
         X"$as_dir" : 'X\(//\)$' \| \
6214
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6215
 
$as_echo X"$as_dir" |
6216
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6217
 
            s//\1/
6218
 
            q
6219
 
          }
6220
 
          /^X\(\/\/\)[^/].*/{
6221
 
            s//\1/
6222
 
            q
6223
 
          }
6224
 
          /^X\(\/\/\)$/{
6225
 
            s//\1/
6226
 
            q
6227
 
          }
6228
 
          /^X\(\/\).*/{
6229
 
            s//\1/
6230
 
            q
6231
 
          }
6232
 
          s/.*/./; q'`
6233
 
      test -d "$as_dir" && break
6234
 
    done
6235
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6236
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6237
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6238
 
   { (exit 1); exit 1; }; }; }
 
5808
  as_dir="$ac_dir"; as_fn_mkdir_p
6239
5809
  ac_builddir=.
6240
5810
 
6241
5811
case "$ac_dir" in
6292
5862
# If the template does not know about datarootdir, expand it.
6293
5863
# FIXME: This hack should be removed a few years after 2.60.
6294
5864
ac_datarootdir_hack=; ac_datarootdir_seen=
6295
 
 
6296
5865
ac_sed_dataroot='
6297
5866
/datarootdir/ {
6298
5867
  p
6302
5871
/@docdir@/p
6303
5872
/@infodir@/p
6304
5873
/@localedir@/p
6305
 
/@mandir@/p
6306
 
'
 
5874
/@mandir@/p'
6307
5875
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6308
5876
*datarootdir*) ac_datarootdir_seen=yes;;
6309
5877
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6310
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5878
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6311
5879
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6312
5880
_ACEOF
6313
5881
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6317
5885
  s&@infodir@&$infodir&g
6318
5886
  s&@localedir@&$localedir&g
6319
5887
  s&@mandir@&$mandir&g
6320
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5888
  s&\\\${datarootdir}&$datarootdir&g' ;;
6321
5889
esac
6322
5890
_ACEOF
6323
5891
 
6345
5913
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6346
5914
$ac_datarootdir_hack
6347
5915
"
6348
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6349
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6350
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6351
 
   { (exit 1); exit 1; }; }
 
5916
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
5917
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6352
5918
 
6353
5919
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6354
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6355
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6356
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6357
 
which seems to be undefined.  Please make sure it is defined." >&5
 
5920
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
5921
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
5922
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
5923
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5924
which seems to be undefined.  Please make sure it is defined" >&5
6358
5925
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6359
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5926
which seems to be undefined.  Please make sure it is defined" >&2;}
6360
5927
 
6361
 
  rm -f "$tmp/stdin"
 
5928
  rm -f "$ac_tmp/stdin"
6362
5929
  case $ac_file in
6363
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6364
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
5930
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
5931
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6365
5932
  esac \
6366
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6367
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6368
 
   { (exit 1); exit 1; }; }
 
5933
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6369
5934
 ;;
6370
5935
  :H)
6371
5936
  #
6374
5939
  if test x"$ac_file" != x-; then
6375
5940
    {
6376
5941
      $as_echo "/* $configure_input  */" \
6377
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6378
 
    } >"$tmp/config.h" \
6379
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6380
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6381
 
   { (exit 1); exit 1; }; }
6382
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6383
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
5942
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
5943
    } >"$ac_tmp/config.h" \
 
5944
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
5945
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
5946
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6384
5947
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6385
5948
    else
6386
5949
      rm -f "$ac_file"
6387
 
      mv "$tmp/config.h" "$ac_file" \
6388
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6389
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6390
 
   { (exit 1); exit 1; }; }
 
5950
      mv "$ac_tmp/config.h" "$ac_file" \
 
5951
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6391
5952
    fi
6392
5953
  else
6393
5954
    $as_echo "/* $configure_input  */" \
6394
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6395
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6396
 
$as_echo "$as_me: error: could not create -" >&2;}
6397
 
   { (exit 1); exit 1; }; }
 
5955
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
5956
      || as_fn_error $? "could not create -" "$LINENO" 5
6398
5957
  fi
6399
5958
# Compute "$ac_file"'s index in $config_headers.
6400
5959
_am_arg="$ac_file"
6432
5991
          s/.*/./; q'`/stamp-h$_am_stamp_count
6433
5992
 ;;
6434
5993
 
6435
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
5994
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6436
5995
$as_echo "$as_me: executing $ac_file commands" >&6;}
6437
5996
 ;;
6438
5997
  esac
6527
6086
            q
6528
6087
          }
6529
6088
          s/.*/./; q'`
6530
 
      { as_dir=$dirpart/$fdir
6531
 
  case $as_dir in #(
6532
 
  -*) as_dir=./$as_dir;;
6533
 
  esac
6534
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6535
 
    as_dirs=
6536
 
    while :; do
6537
 
      case $as_dir in #(
6538
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6539
 
      *) as_qdir=$as_dir;;
6540
 
      esac
6541
 
      as_dirs="'$as_qdir' $as_dirs"
6542
 
      as_dir=`$as_dirname -- "$as_dir" ||
6543
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6544
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6545
 
         X"$as_dir" : 'X\(//\)$' \| \
6546
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6547
 
$as_echo X"$as_dir" |
6548
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6549
 
            s//\1/
6550
 
            q
6551
 
          }
6552
 
          /^X\(\/\/\)[^/].*/{
6553
 
            s//\1/
6554
 
            q
6555
 
          }
6556
 
          /^X\(\/\/\)$/{
6557
 
            s//\1/
6558
 
            q
6559
 
          }
6560
 
          /^X\(\/\).*/{
6561
 
            s//\1/
6562
 
            q
6563
 
          }
6564
 
          s/.*/./; q'`
6565
 
      test -d "$as_dir" && break
6566
 
    done
6567
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6568
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6569
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6570
 
   { (exit 1); exit 1; }; }; }
 
6089
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6571
6090
      # echo "creating $dirpart/$file"
6572
6091
      echo '# dummy' > "$dirpart/$file"
6573
6092
    done
6579
6098
done # for ac_tag
6580
6099
 
6581
6100
 
6582
 
{ (exit 0); exit 0; }
 
6101
as_fn_exit 0
6583
6102
_ACEOF
6584
 
chmod +x $CONFIG_STATUS
6585
6103
ac_clean_files=$ac_clean_files_save
6586
6104
 
6587
6105
test $ac_write_fail = 0 ||
6588
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6589
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6590
 
   { (exit 1); exit 1; }; }
 
6106
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6591
6107
 
6592
6108
 
6593
6109
# configure is writing to config.log, and then calls config.status.
6608
6124
  exec 5>>config.log
6609
6125
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6610
6126
  # would make configure fail if this is the last instruction.
6611
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6127
  $ac_cs_success || as_fn_exit 1
6612
6128
fi
6613
6129
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6614
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6130
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6615
6131
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6616
6132
fi
6617
6133