~ubuntu-branches/ubuntu/natty/luatex/natty

« back to all changes in this revision

Viewing changes to source/libs/zziplib/autom4te.cache/output.1

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2010-12-13 23:22:59 UTC
  • mfrom: (0.2.1) (1.5.4) (4.3.12 experimental)
  • Revision ID: package-import@ubuntu.com-20101213232259-nqq2mq5z5x6qldw3
Tags: 0.65.0-1
* new upstream release
* ship two source packages as they are distributed by upstream, only
  renamed to match source package requirements. Fix debian/rules
  to install the manual pdf from the right place

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.65 for zziplib for TeX Live 0.13.58.
4
 
@%:@
5
 
@%:@ Report bugs to <tex-k@tug.org>.
6
 
@%:@ 
7
 
@%:@ 
8
 
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
@%:@ Inc.
11
 
@%:@ 
12
 
@%:@ 
13
 
@%:@ This configure script is free software; the Free Software Foundation
14
 
@%:@ gives unlimited permission to copy, distribute and modify it.
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in @%:@(
30
 
  *posix*) :
31
 
    set -o posix ;; @%:@(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in @%:@(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
case $0 in @%:@((
95
 
  *[\\/]* ) as_myself=$0 ;;
96
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
 
for as_dir in $PATH
98
 
do
99
 
  IFS=$as_save_IFS
100
 
  test -z "$as_dir" && as_dir=.
101
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102
 
  done
103
 
IFS=$as_save_IFS
104
 
 
105
 
     ;;
106
 
esac
107
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
 
# in which case we are not to be found in the path.
109
 
if test "x$as_myself" = x; then
110
 
  as_myself=$0
111
 
fi
112
 
if test ! -f "$as_myself"; then
113
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
 
  exit 1
115
 
fi
116
 
 
117
 
# Unset variables that we do not need and which cause bugs (e.g. in
118
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119
 
# suppresses any "Segmentation fault" message there.  '((' could
120
 
# trigger a bug in pdksh 5.2.14.
121
 
for as_var in BASH_ENV ENV MAIL MAILPATH
122
 
do eval test x\${$as_var+set} = xset \
123
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
 
done
125
 
PS1='$ '
126
 
PS2='> '
127
 
PS4='+ '
128
 
 
129
 
# NLS nuisances.
130
 
LC_ALL=C
131
 
export LC_ALL
132
 
LANGUAGE=C
133
 
export LANGUAGE
134
 
 
135
 
# CDPATH.
136
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
 
 
138
 
if test "x$CONFIG_SHELL" = x; then
139
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
 
  emulate sh
141
 
  NULLCMD=:
142
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
 
  # is contrary to our usage.  Disable this feature.
144
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
 
  setopt NO_GLOB_SUBST
146
 
else
147
 
  case \`(set -o) 2>/dev/null\` in @%:@(
148
 
  *posix*) :
149
 
    set -o posix ;; @%:@(
150
 
  *) :
151
 
     ;;
152
 
esac
153
 
fi
154
 
"
155
 
  as_required="as_fn_return () { (exit \$1); }
156
 
as_fn_success () { as_fn_return 0; }
157
 
as_fn_failure () { as_fn_return 1; }
158
 
as_fn_ret_success () { return 0; }
159
 
as_fn_ret_failure () { return 1; }
160
 
 
161
 
exitcode=0
162
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
 
  
168
 
else
169
 
  exitcode=1; echo positional parameters were not saved.
170
 
fi
171
 
test x\$exitcode = x0 || exit 1"
172
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
177
 
  if (eval "$as_required") 2>/dev/null; then :
178
 
  as_have_required=yes
179
 
else
180
 
  as_have_required=no
181
 
fi
182
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
 
  
184
 
else
185
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
 
as_found=false
187
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
 
do
189
 
  IFS=$as_save_IFS
190
 
  test -z "$as_dir" && as_dir=.
191
 
  as_found=:
192
 
  case $as_dir in @%:@(
193
 
         /*)
194
 
           for as_base in sh bash ksh sh5; do
195
 
             # Try only shells that exist, to save several forks.
196
 
             as_shell=$as_dir/$as_base
197
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  CONFIG_SHELL=$as_shell as_have_required=yes
200
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
 
  break 2
202
 
fi
203
 
fi
204
 
           done;;
205
 
       esac
206
 
  as_found=false
207
 
done
208
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
 
  CONFIG_SHELL=$SHELL as_have_required=yes
211
 
fi; }
212
 
IFS=$as_save_IFS
213
 
 
214
 
 
215
 
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        BASH_ENV=/dev/null
220
 
        ENV=/dev/null
221
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
 
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
 
fi
225
 
 
226
 
    if test x$as_have_required = xno; then :
227
 
  $as_echo "$0: This script requires a shell more modern than all"
228
 
  $as_echo "$0: the shells that I found on your system."
229
 
  if test x${ZSH_VERSION+set} = xset ; then
230
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
 
  else
233
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
234
 
$0: about your system, including any error possibly output
235
 
$0: before this message. Then install a modern shell, or
236
 
$0: manually run the script under such a shell if you do
237
 
$0: have one."
238
 
  fi
239
 
  exit 1
240
 
fi
241
 
fi
242
 
fi
243
 
SHELL=${CONFIG_SHELL-/bin/sh}
244
 
export SHELL
245
 
# Unset more variables known to interfere with behavior of common tools.
246
 
CLICOLOR_FORCE= GREP_OPTIONS=
247
 
unset CLICOLOR_FORCE GREP_OPTIONS
248
 
 
249
 
## --------------------- ##
250
 
## M4sh Shell Functions. ##
251
 
## --------------------- ##
252
 
@%:@ as_fn_unset VAR
253
 
@%:@ ---------------
254
 
@%:@ Portably unset VAR.
255
 
as_fn_unset ()
256
 
{
257
 
  { eval $1=; unset $1;}
258
 
}
259
 
as_unset=as_fn_unset
260
 
 
261
 
@%:@ as_fn_set_status STATUS
262
 
@%:@ -----------------------
263
 
@%:@ Set @S|@? to STATUS, without forking.
264
 
as_fn_set_status ()
265
 
{
266
 
  return $1
267
 
} @%:@ as_fn_set_status
268
 
 
269
 
@%:@ as_fn_exit STATUS
270
 
@%:@ -----------------
271
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272
 
as_fn_exit ()
273
 
{
274
 
  set +e
275
 
  as_fn_set_status $1
276
 
  exit $1
277
 
} @%:@ as_fn_exit
278
 
 
279
 
@%:@ as_fn_mkdir_p
280
 
@%:@ -------------
281
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
282
 
as_fn_mkdir_p ()
283
 
{
284
 
 
285
 
  case $as_dir in #(
286
 
  -*) as_dir=./$as_dir;;
287
 
  esac
288
 
  test -d "$as_dir" || eval $as_mkdir_p || {
289
 
    as_dirs=
290
 
    while :; do
291
 
      case $as_dir in #(
292
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
 
      *) as_qdir=$as_dir;;
294
 
      esac
295
 
      as_dirs="'$as_qdir' $as_dirs"
296
 
      as_dir=`$as_dirname -- "$as_dir" ||
297
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
299
 
         X"$as_dir" : 'X\(//\)$' \| \
300
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
 
$as_echo X"$as_dir" |
302
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303
 
            s//\1/
304
 
            q
305
 
          }
306
 
          /^X\(\/\/\)[^/].*/{
307
 
            s//\1/
308
 
            q
309
 
          }
310
 
          /^X\(\/\/\)$/{
311
 
            s//\1/
312
 
            q
313
 
          }
314
 
          /^X\(\/\).*/{
315
 
            s//\1/
316
 
            q
317
 
          }
318
 
          s/.*/./; q'`
319
 
      test -d "$as_dir" && break
320
 
    done
321
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
322
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
 
 
324
 
 
325
 
} @%:@ as_fn_mkdir_p
326
 
@%:@ as_fn_append VAR VALUE
327
 
@%:@ ----------------------
328
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
329
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
330
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
331
 
@%:@ implementations.
332
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
 
  eval 'as_fn_append ()
334
 
  {
335
 
    eval $1+=\$2
336
 
  }'
337
 
else
338
 
  as_fn_append ()
339
 
  {
340
 
    eval $1=\$$1\$2
341
 
  }
342
 
fi # as_fn_append
343
 
 
344
 
@%:@ as_fn_arith ARG...
345
 
@%:@ ------------------
346
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
347
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
348
 
@%:@ must be portable across @S|@(()) and expr.
349
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350
 
  eval 'as_fn_arith ()
351
 
  {
352
 
    as_val=$(( $* ))
353
 
  }'
354
 
else
355
 
  as_fn_arith ()
356
 
  {
357
 
    as_val=`expr "$@" || test $? -eq 1`
358
 
  }
359
 
fi # as_fn_arith
360
 
 
361
 
 
362
 
@%:@ as_fn_error ERROR [LINENO LOG_FD]
363
 
@%:@ ---------------------------------
364
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
 
@%:@ script with status @S|@?, using 1 if that was 0.
367
 
as_fn_error ()
368
 
{
369
 
  as_status=$?; test $as_status -eq 0 && as_status=1
370
 
  if test "$3"; then
371
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373
 
  fi
374
 
  $as_echo "$as_me: error: $1" >&2
375
 
  as_fn_exit $as_status
376
 
} @%:@ as_fn_error
377
 
 
378
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
 
  as_expr=expr
381
 
else
382
 
  as_expr=false
383
 
fi
384
 
 
385
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
 
  as_basename=basename
387
 
else
388
 
  as_basename=false
389
 
fi
390
 
 
391
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
 
  as_dirname=dirname
393
 
else
394
 
  as_dirname=false
395
 
fi
396
 
 
397
 
as_me=`$as_basename -- "$0" ||
398
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
 
         X"$0" : 'X\(//\)$' \| \
400
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
 
$as_echo X/"$0" |
402
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
403
 
            s//\1/
404
 
            q
405
 
          }
406
 
          /^X\/\(\/\/\)$/{
407
 
            s//\1/
408
 
            q
409
 
          }
410
 
          /^X\/\(\/\).*/{
411
 
            s//\1/
412
 
            q
413
 
          }
414
 
          s/.*/./; q'`
415
 
 
416
 
# Avoid depending upon Character Ranges.
417
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
 
as_cr_digits='0123456789'
421
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
 
 
423
 
 
424
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429
 
  sed -n '
430
 
    p
431
 
    /[$]LINENO/=
432
 
  ' <$as_myself |
433
 
    sed '
434
 
      s/[$]LINENO.*/&-/
435
 
      t lineno
436
 
      b
437
 
      :lineno
438
 
      N
439
 
      :loop
440
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
 
      t loop
442
 
      s/-\n.*//
443
 
    ' >$as_me.lineno &&
444
 
  chmod +x "$as_me.lineno" ||
445
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
 
 
447
 
  # Don't try to exec as it changes $[0], causing all sort of problems
448
 
  # (the dirname of $[0] is not the place where we might find the
449
 
  # original and so on.  Autoconf is especially sensitive to this).
450
 
  . "./$as_me.lineno"
451
 
  # Exit status is that of the last command.
452
 
  exit
453
 
}
454
 
 
455
 
ECHO_C= ECHO_N= ECHO_T=
456
 
case `echo -n x` in @%:@(((((
457
 
-n*)
458
 
  case `echo 'xy\c'` in
459
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460
 
  xy)  ECHO_C='\c';;
461
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462
 
       ECHO_T=' ';;
463
 
  esac;;
464
 
*)
465
 
  ECHO_N='-n';;
466
 
esac
467
 
 
468
 
rm -f conf$$ conf$$.exe conf$$.file
469
 
if test -d conf$$.dir; then
470
 
  rm -f conf$$.dir/conf$$.file
471
 
else
472
 
  rm -f conf$$.dir
473
 
  mkdir conf$$.dir 2>/dev/null
474
 
fi
475
 
if (echo >conf$$.file) 2>/dev/null; then
476
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
477
 
    as_ln_s='ln -s'
478
 
    # ... but there are two gotchas:
479
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
 
    # In both cases, we have to default to `cp -p'.
482
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
 
      as_ln_s='cp -p'
484
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
485
 
    as_ln_s=ln
486
 
  else
487
 
    as_ln_s='cp -p'
488
 
  fi
489
 
else
490
 
  as_ln_s='cp -p'
491
 
fi
492
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
 
rmdir conf$$.dir 2>/dev/null
494
 
 
495
 
if mkdir -p . 2>/dev/null; then
496
 
  as_mkdir_p='mkdir -p "$as_dir"'
497
 
else
498
 
  test -d ./-p && rmdir ./-p
499
 
  as_mkdir_p=false
500
 
fi
501
 
 
502
 
if test -x / >/dev/null 2>&1; then
503
 
  as_test_x='test -x'
504
 
else
505
 
  if ls -dL / >/dev/null 2>&1; then
506
 
    as_ls_L_option=L
507
 
  else
508
 
    as_ls_L_option=
509
 
  fi
510
 
  as_test_x='
511
 
    eval sh -c '\''
512
 
      if test -d "$1"; then
513
 
        test -d "$1/.";
514
 
      else
515
 
        case $1 in @%:@(
516
 
        -*)set "./$1";;
517
 
        esac;
518
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
519
 
        ???[sx]*):;;*)false;;esac;fi
520
 
    '\'' sh
521
 
  '
522
 
fi
523
 
as_executable_p=$as_test_x
524
 
 
525
 
# Sed expression to map a string onto a valid CPP name.
526
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
# Sed expression to map a string onto a valid variable name.
529
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
 
 
531
 
 
532
 
test -n "$DJDIR" || exec 7<&0 </dev/null
533
 
exec 6>&1
534
 
 
535
 
# Name of the host.
536
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537
 
# so uname gets run too.
538
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
 
 
540
 
#
541
 
# Initializations.
542
 
#
543
 
ac_default_prefix=/usr/local
544
 
ac_clean_files=
545
 
ac_config_libobj_dir=.
546
 
LIB@&t@OBJS=
547
 
cross_compiling=no
548
 
subdirs=
549
 
MFLAGS=
550
 
MAKEFLAGS=
551
 
 
552
 
# Identity of this package.
553
 
PACKAGE_NAME='zziplib for TeX Live'
554
 
PACKAGE_TARNAME='zziplib-for-tex-live'
555
 
PACKAGE_VERSION='0.13.58'
556
 
PACKAGE_STRING='zziplib for TeX Live 0.13.58'
557
 
PACKAGE_BUGREPORT='tex-k@tug.org'
558
 
PACKAGE_URL=''
559
 
 
560
 
ac_unique_file="zziplib-0.13.58/zziplib.spec"
561
 
# Factoring default headers for most tests.
562
 
ac_includes_default="\
563
 
#include <stdio.h>
564
 
#ifdef HAVE_SYS_TYPES_H
565
 
# include <sys/types.h>
566
 
#endif
567
 
#ifdef HAVE_SYS_STAT_H
568
 
# include <sys/stat.h>
569
 
#endif
570
 
#ifdef STDC_HEADERS
571
 
# include <stdlib.h>
572
 
# include <stddef.h>
573
 
#else
574
 
# ifdef HAVE_STDLIB_H
575
 
#  include <stdlib.h>
576
 
# endif
577
 
#endif
578
 
#ifdef HAVE_STRING_H
579
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580
 
#  include <memory.h>
581
 
# endif
582
 
# include <string.h>
583
 
#endif
584
 
#ifdef HAVE_STRINGS_H
585
 
# include <strings.h>
586
 
#endif
587
 
#ifdef HAVE_INTTYPES_H
588
 
# include <inttypes.h>
589
 
#endif
590
 
#ifdef HAVE_STDINT_H
591
 
# include <stdint.h>
592
 
#endif
593
 
#ifdef HAVE_UNISTD_H
594
 
# include <unistd.h>
595
 
#endif"
596
 
 
597
 
ac_subst_vars='am__EXEEXT_FALSE
598
 
am__EXEEXT_TRUE
599
 
LTLIBOBJS
600
 
LIB@&t@OBJS
601
 
ZZIPLIB_TREE
602
 
build_FALSE
603
 
build_TRUE
604
 
ZLIB_RULE
605
 
ZLIB_DEPEND
606
 
ZLIB_LIBS
607
 
ZLIB_INCLUDES
608
 
ZZIPLIB_DEFINES
609
 
EGREP
610
 
GREP
611
 
CPP
612
 
WARNING_CFLAGS
613
 
LN_S
614
 
RANLIB
615
 
am__fastdepCC_FALSE
616
 
am__fastdepCC_TRUE
617
 
CCDEPMODE
618
 
AMDEPBACKSLASH
619
 
AMDEP_FALSE
620
 
AMDEP_TRUE
621
 
am__quote
622
 
am__include
623
 
DEPDIR
624
 
OBJEXT
625
 
EXEEXT
626
 
ac_ct_CC
627
 
CPPFLAGS
628
 
LDFLAGS
629
 
CFLAGS
630
 
CC
631
 
host_os
632
 
host_vendor
633
 
host_cpu
634
 
host
635
 
build_os
636
 
build_vendor
637
 
build_cpu
638
 
build
639
 
MAINT
640
 
MAINTAINER_MODE_FALSE
641
 
MAINTAINER_MODE_TRUE
642
 
am__untar
643
 
am__tar
644
 
AMTAR
645
 
am__leading_dot
646
 
SET_MAKE
647
 
AWK
648
 
mkdir_p
649
 
MKDIR_P
650
 
INSTALL_STRIP_PROGRAM
651
 
STRIP
652
 
install_sh
653
 
MAKEINFO
654
 
AUTOHEADER
655
 
AUTOMAKE
656
 
AUTOCONF
657
 
ACLOCAL
658
 
VERSION
659
 
PACKAGE
660
 
CYGPATH_W
661
 
am__isrc
662
 
INSTALL_DATA
663
 
INSTALL_SCRIPT
664
 
INSTALL_PROGRAM
665
 
target_alias
666
 
host_alias
667
 
build_alias
668
 
LIBS
669
 
ECHO_T
670
 
ECHO_N
671
 
ECHO_C
672
 
DEFS
673
 
mandir
674
 
localedir
675
 
libdir
676
 
psdir
677
 
pdfdir
678
 
dvidir
679
 
htmldir
680
 
infodir
681
 
docdir
682
 
oldincludedir
683
 
includedir
684
 
localstatedir
685
 
sharedstatedir
686
 
sysconfdir
687
 
datadir
688
 
datarootdir
689
 
libexecdir
690
 
sbindir
691
 
bindir
692
 
program_transform_name
693
 
prefix
694
 
exec_prefix
695
 
PACKAGE_URL
696
 
PACKAGE_BUGREPORT
697
 
PACKAGE_STRING
698
 
PACKAGE_VERSION
699
 
PACKAGE_TARNAME
700
 
PACKAGE_NAME
701
 
PATH_SEPARATOR
702
 
SHELL'
703
 
ac_subst_files=''
704
 
ac_user_opts='
705
 
enable_option_checking
706
 
enable_maintainer_mode
707
 
enable_dependency_tracking
708
 
enable_compiler_warnings
709
 
with_system_zlib
710
 
with_zlib_includes
711
 
with_zlib_libdir
712
 
'
713
 
      ac_precious_vars='build_alias
714
 
host_alias
715
 
target_alias
716
 
CC
717
 
CFLAGS
718
 
LDFLAGS
719
 
LIBS
720
 
CPPFLAGS
721
 
CPP'
722
 
 
723
 
 
724
 
# Initialize some variables set by options.
725
 
ac_init_help=
726
 
ac_init_version=false
727
 
ac_unrecognized_opts=
728
 
ac_unrecognized_sep=
729
 
# The variables have the same names as the options, with
730
 
# dashes changed to underlines.
731
 
cache_file=/dev/null
732
 
exec_prefix=NONE
733
 
no_create=
734
 
no_recursion=
735
 
prefix=NONE
736
 
program_prefix=NONE
737
 
program_suffix=NONE
738
 
program_transform_name=s,x,x,
739
 
silent=
740
 
site=
741
 
srcdir=
742
 
verbose=
743
 
x_includes=NONE
744
 
x_libraries=NONE
745
 
 
746
 
# Installation directory options.
747
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
748
 
# and all the variables that are supposed to be based on exec_prefix
749
 
# by default will actually change.
750
 
# Use braces instead of parens because sh, perl, etc. also accept them.
751
 
# (The list follows the same order as the GNU Coding Standards.)
752
 
bindir='${exec_prefix}/bin'
753
 
sbindir='${exec_prefix}/sbin'
754
 
libexecdir='${exec_prefix}/libexec'
755
 
datarootdir='${prefix}/share'
756
 
datadir='${datarootdir}'
757
 
sysconfdir='${prefix}/etc'
758
 
sharedstatedir='${prefix}/com'
759
 
localstatedir='${prefix}/var'
760
 
includedir='${prefix}/include'
761
 
oldincludedir='/usr/include'
762
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
763
 
infodir='${datarootdir}/info'
764
 
htmldir='${docdir}'
765
 
dvidir='${docdir}'
766
 
pdfdir='${docdir}'
767
 
psdir='${docdir}'
768
 
libdir='${exec_prefix}/lib'
769
 
localedir='${datarootdir}/locale'
770
 
mandir='${datarootdir}/man'
771
 
 
772
 
ac_prev=
773
 
ac_dashdash=
774
 
for ac_option
775
 
do
776
 
  # If the previous option needs an argument, assign it.
777
 
  if test -n "$ac_prev"; then
778
 
    eval $ac_prev=\$ac_option
779
 
    ac_prev=
780
 
    continue
781
 
  fi
782
 
 
783
 
  case $ac_option in
784
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
785
 
  *)    ac_optarg=yes ;;
786
 
  esac
787
 
 
788
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
789
 
 
790
 
  case $ac_dashdash$ac_option in
791
 
  --)
792
 
    ac_dashdash=yes ;;
793
 
 
794
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
795
 
    ac_prev=bindir ;;
796
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
797
 
    bindir=$ac_optarg ;;
798
 
 
799
 
  -build | --build | --buil | --bui | --bu)
800
 
    ac_prev=build_alias ;;
801
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
802
 
    build_alias=$ac_optarg ;;
803
 
 
804
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
805
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806
 
    ac_prev=cache_file ;;
807
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809
 
    cache_file=$ac_optarg ;;
810
 
 
811
 
  --config-cache | -C)
812
 
    cache_file=config.cache ;;
813
 
 
814
 
  -datadir | --datadir | --datadi | --datad)
815
 
    ac_prev=datadir ;;
816
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
817
 
    datadir=$ac_optarg ;;
818
 
 
819
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820
 
  | --dataroo | --dataro | --datar)
821
 
    ac_prev=datarootdir ;;
822
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824
 
    datarootdir=$ac_optarg ;;
825
 
 
826
 
  -disable-* | --disable-*)
827
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828
 
    # Reject names that are not valid shell variable names.
829
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830
 
      as_fn_error "invalid feature name: $ac_useropt"
831
 
    ac_useropt_orig=$ac_useropt
832
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833
 
    case $ac_user_opts in
834
 
      *"
835
 
"enable_$ac_useropt"
836
 
"*) ;;
837
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
838
 
         ac_unrecognized_sep=', ';;
839
 
    esac
840
 
    eval enable_$ac_useropt=no ;;
841
 
 
842
 
  -docdir | --docdir | --docdi | --doc | --do)
843
 
    ac_prev=docdir ;;
844
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
845
 
    docdir=$ac_optarg ;;
846
 
 
847
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848
 
    ac_prev=dvidir ;;
849
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
850
 
    dvidir=$ac_optarg ;;
851
 
 
852
 
  -enable-* | --enable-*)
853
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854
 
    # Reject names that are not valid shell variable names.
855
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856
 
      as_fn_error "invalid feature name: $ac_useropt"
857
 
    ac_useropt_orig=$ac_useropt
858
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859
 
    case $ac_user_opts in
860
 
      *"
861
 
"enable_$ac_useropt"
862
 
"*) ;;
863
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
864
 
         ac_unrecognized_sep=', ';;
865
 
    esac
866
 
    eval enable_$ac_useropt=\$ac_optarg ;;
867
 
 
868
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870
 
  | --exec | --exe | --ex)
871
 
    ac_prev=exec_prefix ;;
872
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874
 
  | --exec=* | --exe=* | --ex=*)
875
 
    exec_prefix=$ac_optarg ;;
876
 
 
877
 
  -gas | --gas | --ga | --g)
878
 
    # Obsolete; use --with-gas.
879
 
    with_gas=yes ;;
880
 
 
881
 
  -help | --help | --hel | --he | -h)
882
 
    ac_init_help=long ;;
883
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
884
 
    ac_init_help=recursive ;;
885
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
886
 
    ac_init_help=short ;;
887
 
 
888
 
  -host | --host | --hos | --ho)
889
 
    ac_prev=host_alias ;;
890
 
  -host=* | --host=* | --hos=* | --ho=*)
891
 
    host_alias=$ac_optarg ;;
892
 
 
893
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894
 
    ac_prev=htmldir ;;
895
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896
 
  | --ht=*)
897
 
    htmldir=$ac_optarg ;;
898
 
 
899
 
  -includedir | --includedir | --includedi | --included | --include \
900
 
  | --includ | --inclu | --incl | --inc)
901
 
    ac_prev=includedir ;;
902
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
904
 
    includedir=$ac_optarg ;;
905
 
 
906
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
907
 
    ac_prev=infodir ;;
908
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909
 
    infodir=$ac_optarg ;;
910
 
 
911
 
  -libdir | --libdir | --libdi | --libd)
912
 
    ac_prev=libdir ;;
913
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
914
 
    libdir=$ac_optarg ;;
915
 
 
916
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917
 
  | --libexe | --libex | --libe)
918
 
    ac_prev=libexecdir ;;
919
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920
 
  | --libexe=* | --libex=* | --libe=*)
921
 
    libexecdir=$ac_optarg ;;
922
 
 
923
 
  -localedir | --localedir | --localedi | --localed | --locale)
924
 
    ac_prev=localedir ;;
925
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926
 
    localedir=$ac_optarg ;;
927
 
 
928
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
929
 
  | --localstate | --localstat | --localsta | --localst | --locals)
930
 
    ac_prev=localstatedir ;;
931
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933
 
    localstatedir=$ac_optarg ;;
934
 
 
935
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936
 
    ac_prev=mandir ;;
937
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938
 
    mandir=$ac_optarg ;;
939
 
 
940
 
  -nfp | --nfp | --nf)
941
 
    # Obsolete; use --without-fp.
942
 
    with_fp=no ;;
943
 
 
944
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945
 
  | --no-cr | --no-c | -n)
946
 
    no_create=yes ;;
947
 
 
948
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
949
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
950
 
    no_recursion=yes ;;
951
 
 
952
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954
 
  | --oldin | --oldi | --old | --ol | --o)
955
 
    ac_prev=oldincludedir ;;
956
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959
 
    oldincludedir=$ac_optarg ;;
960
 
 
961
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962
 
    ac_prev=prefix ;;
963
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
964
 
    prefix=$ac_optarg ;;
965
 
 
966
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
967
 
  | --program-pre | --program-pr | --program-p)
968
 
    ac_prev=program_prefix ;;
969
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
970
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971
 
    program_prefix=$ac_optarg ;;
972
 
 
973
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
974
 
  | --program-suf | --program-su | --program-s)
975
 
    ac_prev=program_suffix ;;
976
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
977
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978
 
    program_suffix=$ac_optarg ;;
979
 
 
980
 
  -program-transform-name | --program-transform-name \
981
 
  | --program-transform-nam | --program-transform-na \
982
 
  | --program-transform-n | --program-transform- \
983
 
  | --program-transform | --program-transfor \
984
 
  | --program-transfo | --program-transf \
985
 
  | --program-trans | --program-tran \
986
 
  | --progr-tra | --program-tr | --program-t)
987
 
    ac_prev=program_transform_name ;;
988
 
  -program-transform-name=* | --program-transform-name=* \
989
 
  | --program-transform-nam=* | --program-transform-na=* \
990
 
  | --program-transform-n=* | --program-transform-=* \
991
 
  | --program-transform=* | --program-transfor=* \
992
 
  | --program-transfo=* | --program-transf=* \
993
 
  | --program-trans=* | --program-tran=* \
994
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
995
 
    program_transform_name=$ac_optarg ;;
996
 
 
997
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998
 
    ac_prev=pdfdir ;;
999
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000
 
    pdfdir=$ac_optarg ;;
1001
 
 
1002
 
  -psdir | --psdir | --psdi | --psd | --ps)
1003
 
    ac_prev=psdir ;;
1004
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1005
 
    psdir=$ac_optarg ;;
1006
 
 
1007
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008
 
  | -silent | --silent | --silen | --sile | --sil)
1009
 
    silent=yes ;;
1010
 
 
1011
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012
 
    ac_prev=sbindir ;;
1013
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014
 
  | --sbi=* | --sb=*)
1015
 
    sbindir=$ac_optarg ;;
1016
 
 
1017
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019
 
  | --sharedst | --shareds | --shared | --share | --shar \
1020
 
  | --sha | --sh)
1021
 
    ac_prev=sharedstatedir ;;
1022
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025
 
  | --sha=* | --sh=*)
1026
 
    sharedstatedir=$ac_optarg ;;
1027
 
 
1028
 
  -site | --site | --sit)
1029
 
    ac_prev=site ;;
1030
 
  -site=* | --site=* | --sit=*)
1031
 
    site=$ac_optarg ;;
1032
 
 
1033
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034
 
    ac_prev=srcdir ;;
1035
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036
 
    srcdir=$ac_optarg ;;
1037
 
 
1038
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1040
 
    ac_prev=sysconfdir ;;
1041
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043
 
    sysconfdir=$ac_optarg ;;
1044
 
 
1045
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1046
 
    ac_prev=target_alias ;;
1047
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048
 
    target_alias=$ac_optarg ;;
1049
 
 
1050
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1051
 
    verbose=yes ;;
1052
 
 
1053
 
  -version | --version | --versio | --versi | --vers | -V)
1054
 
    ac_init_version=: ;;
1055
 
 
1056
 
  -with-* | --with-*)
1057
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058
 
    # Reject names that are not valid shell variable names.
1059
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060
 
      as_fn_error "invalid package name: $ac_useropt"
1061
 
    ac_useropt_orig=$ac_useropt
1062
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063
 
    case $ac_user_opts in
1064
 
      *"
1065
 
"with_$ac_useropt"
1066
 
"*) ;;
1067
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1068
 
         ac_unrecognized_sep=', ';;
1069
 
    esac
1070
 
    eval with_$ac_useropt=\$ac_optarg ;;
1071
 
 
1072
 
  -without-* | --without-*)
1073
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074
 
    # Reject names that are not valid shell variable names.
1075
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076
 
      as_fn_error "invalid package name: $ac_useropt"
1077
 
    ac_useropt_orig=$ac_useropt
1078
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079
 
    case $ac_user_opts in
1080
 
      *"
1081
 
"with_$ac_useropt"
1082
 
"*) ;;
1083
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084
 
         ac_unrecognized_sep=', ';;
1085
 
    esac
1086
 
    eval with_$ac_useropt=no ;;
1087
 
 
1088
 
  --x)
1089
 
    # Obsolete; use --with-x.
1090
 
    with_x=yes ;;
1091
 
 
1092
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093
 
  | --x-incl | --x-inc | --x-in | --x-i)
1094
 
    ac_prev=x_includes ;;
1095
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097
 
    x_includes=$ac_optarg ;;
1098
 
 
1099
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101
 
    ac_prev=x_libraries ;;
1102
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104
 
    x_libraries=$ac_optarg ;;
1105
 
 
1106
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1107
 
Try \`$0 --help' for more information."
1108
 
    ;;
1109
 
 
1110
 
  *=*)
1111
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112
 
    # Reject names that are not valid shell variable names.
1113
 
    case $ac_envvar in #(
1114
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1115
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1116
 
    esac
1117
 
    eval $ac_envvar=\$ac_optarg
1118
 
    export $ac_envvar ;;
1119
 
 
1120
 
  *)
1121
 
    # FIXME: should be removed in autoconf 3.0.
1122
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1126
 
    ;;
1127
 
 
1128
 
  esac
1129
 
done
1130
 
 
1131
 
if test -n "$ac_prev"; then
1132
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133
 
  as_fn_error "missing argument to $ac_option"
1134
 
fi
1135
 
 
1136
 
if test -n "$ac_unrecognized_opts"; then
1137
 
  case $enable_option_checking in
1138
 
    no) ;;
1139
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1140
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1141
 
  esac
1142
 
fi
1143
 
 
1144
 
# Check all directory arguments for consistency.
1145
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1146
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1147
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1148
 
                libdir localedir mandir
1149
 
do
1150
 
  eval ac_val=\$$ac_var
1151
 
  # Remove trailing slashes.
1152
 
  case $ac_val in
1153
 
    */ )
1154
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155
 
      eval $ac_var=\$ac_val;;
1156
 
  esac
1157
 
  # Be sure to have absolute directory names.
1158
 
  case $ac_val in
1159
 
    [\\/$]* | ?:[\\/]* )  continue;;
1160
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1161
 
  esac
1162
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1163
 
done
1164
 
 
1165
 
# There might be people who depend on the old broken behavior: `$host'
1166
 
# used to hold the argument of --host etc.
1167
 
# FIXME: To remove some day.
1168
 
build=$build_alias
1169
 
host=$host_alias
1170
 
target=$target_alias
1171
 
 
1172
 
# FIXME: To remove some day.
1173
 
if test "x$host_alias" != x; then
1174
 
  if test "x$build_alias" = x; then
1175
 
    cross_compiling=maybe
1176
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1177
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1178
 
  elif test "x$build_alias" != "x$host_alias"; then
1179
 
    cross_compiling=yes
1180
 
  fi
1181
 
fi
1182
 
 
1183
 
ac_tool_prefix=
1184
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1185
 
 
1186
 
test "$silent" = yes && exec 6>/dev/null
1187
 
 
1188
 
 
1189
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1190
 
ac_ls_di=`ls -di .` &&
1191
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1192
 
  as_fn_error "working directory cannot be determined"
1193
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1194
 
  as_fn_error "pwd does not report name of working directory"
1195
 
 
1196
 
 
1197
 
# Find the source files, if location was not specified.
1198
 
if test -z "$srcdir"; then
1199
 
  ac_srcdir_defaulted=yes
1200
 
  # Try the directory containing this script, then the parent directory.
1201
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1202
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1203
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1204
 
         X"$as_myself" : 'X\(//\)$' \| \
1205
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1206
 
$as_echo X"$as_myself" |
1207
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1208
 
            s//\1/
1209
 
            q
1210
 
          }
1211
 
          /^X\(\/\/\)[^/].*/{
1212
 
            s//\1/
1213
 
            q
1214
 
          }
1215
 
          /^X\(\/\/\)$/{
1216
 
            s//\1/
1217
 
            q
1218
 
          }
1219
 
          /^X\(\/\).*/{
1220
 
            s//\1/
1221
 
            q
1222
 
          }
1223
 
          s/.*/./; q'`
1224
 
  srcdir=$ac_confdir
1225
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1226
 
    srcdir=..
1227
 
  fi
1228
 
else
1229
 
  ac_srcdir_defaulted=no
1230
 
fi
1231
 
if test ! -r "$srcdir/$ac_unique_file"; then
1232
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1233
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1234
 
fi
1235
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1236
 
ac_abs_confdir=`(
1237
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1238
 
        pwd)`
1239
 
# When building in place, set srcdir=.
1240
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1241
 
  srcdir=.
1242
 
fi
1243
 
# Remove unnecessary trailing slashes from srcdir.
1244
 
# Double slashes in file names in object file debugging info
1245
 
# mess up M-x gdb in Emacs.
1246
 
case $srcdir in
1247
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1248
 
esac
1249
 
for ac_var in $ac_precious_vars; do
1250
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1251
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1252
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1253
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1254
 
done
1255
 
 
1256
 
#
1257
 
# Report the --help message.
1258
 
#
1259
 
if test "$ac_init_help" = "long"; then
1260
 
  # Omit some internal or obsolete options to make the list less imposing.
1261
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1262
 
  cat <<_ACEOF
1263
 
\`configure' configures zziplib for TeX Live 0.13.58 to adapt to many kinds of systems.
1264
 
 
1265
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1266
 
 
1267
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1268
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1269
 
 
1270
 
Defaults for the options are specified in brackets.
1271
 
 
1272
 
Configuration:
1273
 
  -h, --help              display this help and exit
1274
 
      --help=short        display options specific to this package
1275
 
      --help=recursive    display the short help of all the included packages
1276
 
  -V, --version           display version information and exit
1277
 
  -q, --quiet, --silent   do not print \`checking...' messages
1278
 
      --cache-file=FILE   cache test results in FILE [disabled]
1279
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1280
 
  -n, --no-create         do not create output files
1281
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1282
 
 
1283
 
Installation directories:
1284
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1285
 
                          @<:@@S|@ac_default_prefix@:>@
1286
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1287
 
                          @<:@PREFIX@:>@
1288
 
 
1289
 
By default, \`make install' will install all the files in
1290
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1291
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1292
 
for instance \`--prefix=\$HOME'.
1293
 
 
1294
 
For better control, use the options below.
1295
 
 
1296
 
Fine tuning of the installation directories:
1297
 
  --bindir=DIR            user executables [EPREFIX/bin]
1298
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1299
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1300
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1301
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1302
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1303
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1304
 
  --includedir=DIR        C header files [PREFIX/include]
1305
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1306
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1307
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1308
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1309
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1310
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1311
 
  --docdir=DIR            documentation root
1312
 
                          @<:@DATAROOTDIR/doc/zziplib-for-tex-live@:>@
1313
 
  --htmldir=DIR           html documentation [DOCDIR]
1314
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1315
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1316
 
  --psdir=DIR             ps documentation [DOCDIR]
1317
 
_ACEOF
1318
 
 
1319
 
  cat <<\_ACEOF
1320
 
 
1321
 
Program names:
1322
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1323
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1324
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1325
 
 
1326
 
System types:
1327
 
  --build=BUILD     configure for building on BUILD [guessed]
1328
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1329
 
_ACEOF
1330
 
fi
1331
 
 
1332
 
if test -n "$ac_init_help"; then
1333
 
  case $ac_init_help in
1334
 
     short | recursive ) echo "Configuration of zziplib for TeX Live 0.13.58:";;
1335
 
   esac
1336
 
  cat <<\_ACEOF
1337
 
 
1338
 
Optional Features:
1339
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1340
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1341
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1342
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1343
 
                          (and sometimes confusing) to the casual installer
1344
 
  --disable-dependency-tracking  speeds up one-time build
1345
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1346
 
  --enable-compiler-warnings=@<:@no|min|yes|max|all@:>@ 
1347
 
                          Turn on compiler warnings @<:@default: yes if
1348
 
                          maintainer-mode, min otherwise@:>@
1349
 
 
1350
 
Optional Packages:
1351
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1352
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1353
 
  --with-system-zlib      use installed zlib headers and library
1354
 
  --with-zlib-includes=DIR 
1355
 
                          zlib headers installed in DIR
1356
 
  --with-zlib-libdir=DIR  zlib library installed in DIR
1357
 
 
1358
 
Some influential environment variables:
1359
 
  CC          C compiler command
1360
 
  CFLAGS      C compiler flags
1361
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1362
 
              nonstandard directory <lib dir>
1363
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1364
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1365
 
              you have headers in a nonstandard directory <include dir>
1366
 
  CPP         C preprocessor
1367
 
 
1368
 
Use these variables to override the choices made by `configure' or to help
1369
 
it to find libraries and programs with nonstandard names/locations.
1370
 
 
1371
 
Report bugs to <tex-k@tug.org>.
1372
 
_ACEOF
1373
 
ac_status=$?
1374
 
fi
1375
 
 
1376
 
if test "$ac_init_help" = "recursive"; then
1377
 
  # If there are subdirs, report their specific --help.
1378
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1379
 
    test -d "$ac_dir" ||
1380
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1381
 
      continue
1382
 
    ac_builddir=.
1383
 
 
1384
 
case "$ac_dir" in
1385
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386
 
*)
1387
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1388
 
  # A ".." for each directory in $ac_dir_suffix.
1389
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1390
 
  case $ac_top_builddir_sub in
1391
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393
 
  esac ;;
1394
 
esac
1395
 
ac_abs_top_builddir=$ac_pwd
1396
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397
 
# for backward compatibility:
1398
 
ac_top_builddir=$ac_top_build_prefix
1399
 
 
1400
 
case $srcdir in
1401
 
  .)  # We are building in place.
1402
 
    ac_srcdir=.
1403
 
    ac_top_srcdir=$ac_top_builddir_sub
1404
 
    ac_abs_top_srcdir=$ac_pwd ;;
1405
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1406
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1407
 
    ac_top_srcdir=$srcdir
1408
 
    ac_abs_top_srcdir=$srcdir ;;
1409
 
  *) # Relative name.
1410
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1412
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1413
 
esac
1414
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1415
 
 
1416
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1417
 
    # Check for guested configure.
1418
 
    if test -f "$ac_srcdir/configure.gnu"; then
1419
 
      echo &&
1420
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1421
 
    elif test -f "$ac_srcdir/configure"; then
1422
 
      echo &&
1423
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1424
 
    else
1425
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1426
 
    fi || ac_status=$?
1427
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1428
 
  done
1429
 
fi
1430
 
 
1431
 
test -n "$ac_init_help" && exit $ac_status
1432
 
if $ac_init_version; then
1433
 
  cat <<\_ACEOF
1434
 
zziplib for TeX Live configure 0.13.58
1435
 
generated by GNU Autoconf 2.65
1436
 
 
1437
 
Copyright (C) 2009 Free Software Foundation, Inc.
1438
 
This configure script is free software; the Free Software Foundation
1439
 
gives unlimited permission to copy, distribute and modify it.
1440
 
_ACEOF
1441
 
  exit
1442
 
fi
1443
 
 
1444
 
## ------------------------ ##
1445
 
## Autoconf initialization. ##
1446
 
## ------------------------ ##
1447
 
 
1448
 
@%:@ ac_fn_c_try_compile LINENO
1449
 
@%:@ --------------------------
1450
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1451
 
ac_fn_c_try_compile ()
1452
 
{
1453
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454
 
  rm -f conftest.$ac_objext
1455
 
  if { { ac_try="$ac_compile"
1456
 
case "(($ac_try" in
1457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1458
 
  *) ac_try_echo=$ac_try;;
1459
 
esac
1460
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461
 
$as_echo "$ac_try_echo"; } >&5
1462
 
  (eval "$ac_compile") 2>conftest.err
1463
 
  ac_status=$?
1464
 
  if test -s conftest.err; then
1465
 
    grep -v '^ *+' conftest.err >conftest.er1
1466
 
    cat conftest.er1 >&5
1467
 
    mv -f conftest.er1 conftest.err
1468
 
  fi
1469
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470
 
  test $ac_status = 0; } && {
1471
 
         test -z "$ac_c_werror_flag" ||
1472
 
         test ! -s conftest.err
1473
 
       } && test -s conftest.$ac_objext; then :
1474
 
  ac_retval=0
1475
 
else
1476
 
  $as_echo "$as_me: failed program was:" >&5
1477
 
sed 's/^/| /' conftest.$ac_ext >&5
1478
 
 
1479
 
        ac_retval=1
1480
 
fi
1481
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1482
 
  as_fn_set_status $ac_retval
1483
 
 
1484
 
} @%:@ ac_fn_c_try_compile
1485
 
 
1486
 
@%:@ ac_fn_c_try_cpp LINENO
1487
 
@%:@ ----------------------
1488
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1489
 
ac_fn_c_try_cpp ()
1490
 
{
1491
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1493
 
case "(($ac_try" in
1494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495
 
  *) ac_try_echo=$ac_try;;
1496
 
esac
1497
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498
 
$as_echo "$ac_try_echo"; } >&5
1499
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1500
 
  ac_status=$?
1501
 
  if test -s conftest.err; then
1502
 
    grep -v '^ *+' conftest.err >conftest.er1
1503
 
    cat conftest.er1 >&5
1504
 
    mv -f conftest.er1 conftest.err
1505
 
  fi
1506
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507
 
  test $ac_status = 0; } >/dev/null && {
1508
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1509
 
         test ! -s conftest.err
1510
 
       }; then :
1511
 
  ac_retval=0
1512
 
else
1513
 
  $as_echo "$as_me: failed program was:" >&5
1514
 
sed 's/^/| /' conftest.$ac_ext >&5
1515
 
 
1516
 
    ac_retval=1
1517
 
fi
1518
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1519
 
  as_fn_set_status $ac_retval
1520
 
 
1521
 
} @%:@ ac_fn_c_try_cpp
1522
 
 
1523
 
@%:@ ac_fn_c_try_run LINENO
1524
 
@%:@ ----------------------
1525
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1526
 
@%:@ that executables *can* be run.
1527
 
ac_fn_c_try_run ()
1528
 
{
1529
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530
 
  if { { ac_try="$ac_link"
1531
 
case "(($ac_try" in
1532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533
 
  *) ac_try_echo=$ac_try;;
1534
 
esac
1535
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536
 
$as_echo "$ac_try_echo"; } >&5
1537
 
  (eval "$ac_link") 2>&5
1538
 
  ac_status=$?
1539
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1541
 
  { { case "(($ac_try" in
1542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543
 
  *) ac_try_echo=$ac_try;;
1544
 
esac
1545
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546
 
$as_echo "$ac_try_echo"; } >&5
1547
 
  (eval "$ac_try") 2>&5
1548
 
  ac_status=$?
1549
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
 
  test $ac_status = 0; }; }; then :
1551
 
  ac_retval=0
1552
 
else
1553
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1554
 
       $as_echo "$as_me: failed program was:" >&5
1555
 
sed 's/^/| /' conftest.$ac_ext >&5
1556
 
 
1557
 
       ac_retval=$ac_status
1558
 
fi
1559
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561
 
  as_fn_set_status $ac_retval
1562
 
 
1563
 
} @%:@ ac_fn_c_try_run
1564
 
 
1565
 
@%:@ ac_fn_c_try_link LINENO
1566
 
@%:@ -----------------------
1567
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1568
 
ac_fn_c_try_link ()
1569
 
{
1570
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1572
 
  if { { ac_try="$ac_link"
1573
 
case "(($ac_try" in
1574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575
 
  *) ac_try_echo=$ac_try;;
1576
 
esac
1577
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578
 
$as_echo "$ac_try_echo"; } >&5
1579
 
  (eval "$ac_link") 2>conftest.err
1580
 
  ac_status=$?
1581
 
  if test -s conftest.err; then
1582
 
    grep -v '^ *+' conftest.err >conftest.er1
1583
 
    cat conftest.er1 >&5
1584
 
    mv -f conftest.er1 conftest.err
1585
 
  fi
1586
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587
 
  test $ac_status = 0; } && {
1588
 
         test -z "$ac_c_werror_flag" ||
1589
 
         test ! -s conftest.err
1590
 
       } && test -s conftest$ac_exeext && {
1591
 
         test "$cross_compiling" = yes ||
1592
 
         $as_test_x conftest$ac_exeext
1593
 
       }; then :
1594
 
  ac_retval=0
1595
 
else
1596
 
  $as_echo "$as_me: failed program was:" >&5
1597
 
sed 's/^/| /' conftest.$ac_ext >&5
1598
 
 
1599
 
        ac_retval=1
1600
 
fi
1601
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1602
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1603
 
  # interfere with the next link command; also delete a directory that is
1604
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1605
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607
 
  as_fn_set_status $ac_retval
1608
 
 
1609
 
} @%:@ ac_fn_c_try_link
1610
 
 
1611
 
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1612
 
@%:@ -------------------------------------------------------
1613
 
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1614
 
@%:@ the include files in INCLUDES and setting the cache variable VAR
1615
 
@%:@ accordingly.
1616
 
ac_fn_c_check_header_mongrel ()
1617
 
{
1618
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1620
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621
 
$as_echo_n "checking for $2... " >&6; }
1622
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623
 
  $as_echo_n "(cached) " >&6
1624
 
fi
1625
 
eval ac_res=\$$3
1626
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627
 
$as_echo "$ac_res" >&6; }
1628
 
else
1629
 
  # Is the header compilable?
1630
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1631
 
$as_echo_n "checking $2 usability... " >&6; }
1632
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633
 
/* end confdefs.h.  */
1634
 
$4
1635
 
@%:@include <$2>
1636
 
_ACEOF
1637
 
if ac_fn_c_try_compile "$LINENO"; then :
1638
 
  ac_header_compiler=yes
1639
 
else
1640
 
  ac_header_compiler=no
1641
 
fi
1642
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1644
 
$as_echo "$ac_header_compiler" >&6; }
1645
 
 
1646
 
# Is the header present?
1647
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1648
 
$as_echo_n "checking $2 presence... " >&6; }
1649
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650
 
/* end confdefs.h.  */
1651
 
@%:@include <$2>
1652
 
_ACEOF
1653
 
if ac_fn_c_try_cpp "$LINENO"; then :
1654
 
  ac_header_preproc=yes
1655
 
else
1656
 
  ac_header_preproc=no
1657
 
fi
1658
 
rm -f conftest.err conftest.$ac_ext
1659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1660
 
$as_echo "$ac_header_preproc" >&6; }
1661
 
 
1662
 
# So?  What about this header?
1663
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1664
 
  yes:no: )
1665
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1666
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1667
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669
 
    ;;
1670
 
  no:yes:* )
1671
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1672
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1673
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1674
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1675
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1676
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1677
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1678
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1679
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1681
 
( cat <<\_ASBOX
1682
 
## ---------------------------- ##
1683
 
## Report this to tex-k@tug.org ##
1684
 
## ---------------------------- ##
1685
 
_ASBOX
1686
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1687
 
    ;;
1688
 
esac
1689
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690
 
$as_echo_n "checking for $2... " >&6; }
1691
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1692
 
  $as_echo_n "(cached) " >&6
1693
 
else
1694
 
  eval "$3=\$ac_header_compiler"
1695
 
fi
1696
 
eval ac_res=\$$3
1697
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698
 
$as_echo "$ac_res" >&6; }
1699
 
fi
1700
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701
 
 
1702
 
} @%:@ ac_fn_c_check_header_mongrel
1703
 
 
1704
 
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705
 
@%:@ -------------------------------------------------------
1706
 
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1707
 
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1708
 
ac_fn_c_check_header_compile ()
1709
 
{
1710
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712
 
$as_echo_n "checking for $2... " >&6; }
1713
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1714
 
  $as_echo_n "(cached) " >&6
1715
 
else
1716
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717
 
/* end confdefs.h.  */
1718
 
$4
1719
 
@%:@include <$2>
1720
 
_ACEOF
1721
 
if ac_fn_c_try_compile "$LINENO"; then :
1722
 
  eval "$3=yes"
1723
 
else
1724
 
  eval "$3=no"
1725
 
fi
1726
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1727
 
fi
1728
 
eval ac_res=\$$3
1729
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730
 
$as_echo "$ac_res" >&6; }
1731
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732
 
 
1733
 
} @%:@ ac_fn_c_check_header_compile
1734
 
 
1735
 
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1736
 
@%:@ -------------------------------------------
1737
 
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1738
 
@%:@ variable VAR accordingly.
1739
 
ac_fn_c_check_type ()
1740
 
{
1741
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743
 
$as_echo_n "checking for $2... " >&6; }
1744
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745
 
  $as_echo_n "(cached) " >&6
1746
 
else
1747
 
  eval "$3=no"
1748
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749
 
/* end confdefs.h.  */
1750
 
$4
1751
 
int
1752
 
main ()
1753
 
{
1754
 
if (sizeof ($2))
1755
 
         return 0;
1756
 
  ;
1757
 
  return 0;
1758
 
}
1759
 
_ACEOF
1760
 
if ac_fn_c_try_compile "$LINENO"; then :
1761
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762
 
/* end confdefs.h.  */
1763
 
$4
1764
 
int
1765
 
main ()
1766
 
{
1767
 
if (sizeof (($2)))
1768
 
            return 0;
1769
 
  ;
1770
 
  return 0;
1771
 
}
1772
 
_ACEOF
1773
 
if ac_fn_c_try_compile "$LINENO"; then :
1774
 
  
1775
 
else
1776
 
  eval "$3=yes"
1777
 
fi
1778
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779
 
fi
1780
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781
 
fi
1782
 
eval ac_res=\$$3
1783
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784
 
$as_echo "$ac_res" >&6; }
1785
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786
 
 
1787
 
} @%:@ ac_fn_c_check_type
1788
 
 
1789
 
@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1790
 
@%:@ --------------------------------------------
1791
 
@%:@ Tries to find the compile-time value of EXPR in a program that includes
1792
 
@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1793
 
@%:@ computed
1794
 
ac_fn_c_compute_int ()
1795
 
{
1796
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797
 
  if test "$cross_compiling" = yes; then
1798
 
    # Depending upon the size, compute the lo and hi bounds.
1799
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800
 
/* end confdefs.h.  */
1801
 
$4
1802
 
int
1803
 
main ()
1804
 
{
1805
 
static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1806
 
test_array @<:@0@:>@ = 0
1807
 
 
1808
 
  ;
1809
 
  return 0;
1810
 
}
1811
 
_ACEOF
1812
 
if ac_fn_c_try_compile "$LINENO"; then :
1813
 
  ac_lo=0 ac_mid=0
1814
 
  while :; do
1815
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816
 
/* end confdefs.h.  */
1817
 
$4
1818
 
int
1819
 
main ()
1820
 
{
1821
 
static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1822
 
test_array @<:@0@:>@ = 0
1823
 
 
1824
 
  ;
1825
 
  return 0;
1826
 
}
1827
 
_ACEOF
1828
 
if ac_fn_c_try_compile "$LINENO"; then :
1829
 
  ac_hi=$ac_mid; break
1830
 
else
1831
 
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1832
 
                        if test $ac_lo -le $ac_mid; then
1833
 
                          ac_lo= ac_hi=
1834
 
                          break
1835
 
                        fi
1836
 
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1837
 
fi
1838
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1839
 
  done
1840
 
else
1841
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842
 
/* end confdefs.h.  */
1843
 
$4
1844
 
int
1845
 
main ()
1846
 
{
1847
 
static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1848
 
test_array @<:@0@:>@ = 0
1849
 
 
1850
 
  ;
1851
 
  return 0;
1852
 
}
1853
 
_ACEOF
1854
 
if ac_fn_c_try_compile "$LINENO"; then :
1855
 
  ac_hi=-1 ac_mid=-1
1856
 
  while :; do
1857
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858
 
/* end confdefs.h.  */
1859
 
$4
1860
 
int
1861
 
main ()
1862
 
{
1863
 
static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1864
 
test_array @<:@0@:>@ = 0
1865
 
 
1866
 
  ;
1867
 
  return 0;
1868
 
}
1869
 
_ACEOF
1870
 
if ac_fn_c_try_compile "$LINENO"; then :
1871
 
  ac_lo=$ac_mid; break
1872
 
else
1873
 
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1874
 
                        if test $ac_mid -le $ac_hi; then
1875
 
                          ac_lo= ac_hi=
1876
 
                          break
1877
 
                        fi
1878
 
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1879
 
fi
1880
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881
 
  done
1882
 
else
1883
 
  ac_lo= ac_hi=
1884
 
fi
1885
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886
 
fi
1887
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888
 
# Binary search between lo and hi bounds.
1889
 
while test "x$ac_lo" != "x$ac_hi"; do
1890
 
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1891
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892
 
/* end confdefs.h.  */
1893
 
$4
1894
 
int
1895
 
main ()
1896
 
{
1897
 
static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1898
 
test_array @<:@0@:>@ = 0
1899
 
 
1900
 
  ;
1901
 
  return 0;
1902
 
}
1903
 
_ACEOF
1904
 
if ac_fn_c_try_compile "$LINENO"; then :
1905
 
  ac_hi=$ac_mid
1906
 
else
1907
 
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1908
 
fi
1909
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910
 
done
1911
 
case $ac_lo in @%:@((
1912
 
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1913
 
'') ac_retval=1 ;;
1914
 
esac
1915
 
  else
1916
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917
 
/* end confdefs.h.  */
1918
 
$4
1919
 
static long int longval () { return $2; }
1920
 
static unsigned long int ulongval () { return $2; }
1921
 
@%:@include <stdio.h>
1922
 
@%:@include <stdlib.h>
1923
 
int
1924
 
main ()
1925
 
{
1926
 
 
1927
 
  FILE *f = fopen ("conftest.val", "w");
1928
 
  if (! f)
1929
 
    return 1;
1930
 
  if (($2) < 0)
1931
 
    {
1932
 
      long int i = longval ();
1933
 
      if (i != ($2))
1934
 
        return 1;
1935
 
      fprintf (f, "%ld", i);
1936
 
    }
1937
 
  else
1938
 
    {
1939
 
      unsigned long int i = ulongval ();
1940
 
      if (i != ($2))
1941
 
        return 1;
1942
 
      fprintf (f, "%lu", i);
1943
 
    }
1944
 
  /* Do not output a trailing newline, as this causes \r\n confusion
1945
 
     on some platforms.  */
1946
 
  return ferror (f) || fclose (f) != 0;
1947
 
 
1948
 
  ;
1949
 
  return 0;
1950
 
}
1951
 
_ACEOF
1952
 
if ac_fn_c_try_run "$LINENO"; then :
1953
 
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1954
 
else
1955
 
  ac_retval=1
1956
 
fi
1957
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1958
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
1959
 
rm -f conftest.val
1960
 
 
1961
 
  fi
1962
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963
 
  as_fn_set_status $ac_retval
1964
 
 
1965
 
} @%:@ ac_fn_c_compute_int
1966
 
 
1967
 
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1968
 
@%:@ ----------------------------------
1969
 
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1970
 
ac_fn_c_check_func ()
1971
 
{
1972
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974
 
$as_echo_n "checking for $2... " >&6; }
1975
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1976
 
  $as_echo_n "(cached) " >&6
1977
 
else
1978
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979
 
/* end confdefs.h.  */
1980
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1981
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1982
 
#define $2 innocuous_$2
1983
 
 
1984
 
/* System header to define __stub macros and hopefully few prototypes,
1985
 
    which can conflict with char $2 (); below.
1986
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1987
 
    <limits.h> exists even on freestanding compilers.  */
1988
 
 
1989
 
#ifdef __STDC__
1990
 
# include <limits.h>
1991
 
#else
1992
 
# include <assert.h>
1993
 
#endif
1994
 
 
1995
 
#undef $2
1996
 
 
1997
 
/* Override any GCC internal prototype to avoid an error.
1998
 
   Use char because int might match the return type of a GCC
1999
 
   builtin and then its argument prototype would still apply.  */
2000
 
#ifdef __cplusplus
2001
 
extern "C"
2002
 
#endif
2003
 
char $2 ();
2004
 
/* The GNU C library defines this for functions which it implements
2005
 
    to always fail with ENOSYS.  Some functions are actually named
2006
 
    something starting with __ and the normal name is an alias.  */
2007
 
#if defined __stub_$2 || defined __stub___$2
2008
 
choke me
2009
 
#endif
2010
 
 
2011
 
int
2012
 
main ()
2013
 
{
2014
 
return $2 ();
2015
 
  ;
2016
 
  return 0;
2017
 
}
2018
 
_ACEOF
2019
 
if ac_fn_c_try_link "$LINENO"; then :
2020
 
  eval "$3=yes"
2021
 
else
2022
 
  eval "$3=no"
2023
 
fi
2024
 
rm -f core conftest.err conftest.$ac_objext \
2025
 
    conftest$ac_exeext conftest.$ac_ext
2026
 
fi
2027
 
eval ac_res=\$$3
2028
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029
 
$as_echo "$ac_res" >&6; }
2030
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2031
 
 
2032
 
} @%:@ ac_fn_c_check_func
2033
 
cat >config.log <<_ACEOF
2034
 
This file contains any messages produced by compilers while
2035
 
running configure, to aid debugging if configure makes a mistake.
2036
 
 
2037
 
It was created by zziplib for TeX Live $as_me 0.13.58, which was
2038
 
generated by GNU Autoconf 2.65.  Invocation command line was
2039
 
 
2040
 
  $ $0 $@
2041
 
 
2042
 
_ACEOF
2043
 
exec 5>>config.log
2044
 
{
2045
 
cat <<_ASUNAME
2046
 
## --------- ##
2047
 
## Platform. ##
2048
 
## --------- ##
2049
 
 
2050
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2051
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2052
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2053
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2054
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2055
 
 
2056
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2057
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2058
 
 
2059
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2060
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2061
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2062
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2063
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2064
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2065
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2066
 
 
2067
 
_ASUNAME
2068
 
 
2069
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070
 
for as_dir in $PATH
2071
 
do
2072
 
  IFS=$as_save_IFS
2073
 
  test -z "$as_dir" && as_dir=.
2074
 
    $as_echo "PATH: $as_dir"
2075
 
  done
2076
 
IFS=$as_save_IFS
2077
 
 
2078
 
} >&5
2079
 
 
2080
 
cat >&5 <<_ACEOF
2081
 
 
2082
 
 
2083
 
## ----------- ##
2084
 
## Core tests. ##
2085
 
## ----------- ##
2086
 
 
2087
 
_ACEOF
2088
 
 
2089
 
 
2090
 
# Keep a trace of the command line.
2091
 
# Strip out --no-create and --no-recursion so they do not pile up.
2092
 
# Strip out --silent because we don't want to record it for future runs.
2093
 
# Also quote any args containing shell meta-characters.
2094
 
# Make two passes to allow for proper duplicate-argument suppression.
2095
 
ac_configure_args=
2096
 
ac_configure_args0=
2097
 
ac_configure_args1=
2098
 
ac_must_keep_next=false
2099
 
for ac_pass in 1 2
2100
 
do
2101
 
  for ac_arg
2102
 
  do
2103
 
    case $ac_arg in
2104
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2105
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2106
 
    | -silent | --silent | --silen | --sile | --sil)
2107
 
      continue ;;
2108
 
    *\'*)
2109
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2110
 
    esac
2111
 
    case $ac_pass in
2112
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2113
 
    2)
2114
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2115
 
      if test $ac_must_keep_next = true; then
2116
 
        ac_must_keep_next=false # Got value, back to normal.
2117
 
      else
2118
 
        case $ac_arg in
2119
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2120
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2121
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2122
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2123
 
            case "$ac_configure_args0 " in
2124
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125
 
            esac
2126
 
            ;;
2127
 
          -* ) ac_must_keep_next=true ;;
2128
 
        esac
2129
 
      fi
2130
 
      as_fn_append ac_configure_args " '$ac_arg'"
2131
 
      ;;
2132
 
    esac
2133
 
  done
2134
 
done
2135
 
{ ac_configure_args0=; unset ac_configure_args0;}
2136
 
{ ac_configure_args1=; unset ac_configure_args1;}
2137
 
 
2138
 
# When interrupted or exit'd, cleanup temporary files, and complete
2139
 
# config.log.  We remove comments because anyway the quotes in there
2140
 
# would cause problems or look ugly.
2141
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2142
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2143
 
trap 'exit_status=$?
2144
 
  # Save into config.log some information that might help in debugging.
2145
 
  {
2146
 
    echo
2147
 
 
2148
 
    cat <<\_ASBOX
2149
 
## ---------------- ##
2150
 
## Cache variables. ##
2151
 
## ---------------- ##
2152
 
_ASBOX
2153
 
    echo
2154
 
    # The following way of writing the cache mishandles newlines in values,
2155
 
(
2156
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2157
 
    eval ac_val=\$$ac_var
2158
 
    case $ac_val in #(
2159
 
    *${as_nl}*)
2160
 
      case $ac_var in #(
2161
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2162
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2163
 
      esac
2164
 
      case $ac_var in #(
2165
 
      _ | IFS | as_nl) ;; #(
2166
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2167
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2168
 
      esac ;;
2169
 
    esac
2170
 
  done
2171
 
  (set) 2>&1 |
2172
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2173
 
    *${as_nl}ac_space=\ *)
2174
 
      sed -n \
2175
 
        "s/'\''/'\''\\\\'\'''\''/g;
2176
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2177
 
      ;; #(
2178
 
    *)
2179
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2180
 
      ;;
2181
 
    esac |
2182
 
    sort
2183
 
)
2184
 
    echo
2185
 
 
2186
 
    cat <<\_ASBOX
2187
 
## ----------------- ##
2188
 
## Output variables. ##
2189
 
## ----------------- ##
2190
 
_ASBOX
2191
 
    echo
2192
 
    for ac_var in $ac_subst_vars
2193
 
    do
2194
 
      eval ac_val=\$$ac_var
2195
 
      case $ac_val in
2196
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197
 
      esac
2198
 
      $as_echo "$ac_var='\''$ac_val'\''"
2199
 
    done | sort
2200
 
    echo
2201
 
 
2202
 
    if test -n "$ac_subst_files"; then
2203
 
      cat <<\_ASBOX
2204
 
## ------------------- ##
2205
 
## File substitutions. ##
2206
 
## ------------------- ##
2207
 
_ASBOX
2208
 
      echo
2209
 
      for ac_var in $ac_subst_files
2210
 
      do
2211
 
        eval ac_val=\$$ac_var
2212
 
        case $ac_val in
2213
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2214
 
        esac
2215
 
        $as_echo "$ac_var='\''$ac_val'\''"
2216
 
      done | sort
2217
 
      echo
2218
 
    fi
2219
 
 
2220
 
    if test -s confdefs.h; then
2221
 
      cat <<\_ASBOX
2222
 
## ----------- ##
2223
 
## confdefs.h. ##
2224
 
## ----------- ##
2225
 
_ASBOX
2226
 
      echo
2227
 
      cat confdefs.h
2228
 
      echo
2229
 
    fi
2230
 
    test "$ac_signal" != 0 &&
2231
 
      $as_echo "$as_me: caught signal $ac_signal"
2232
 
    $as_echo "$as_me: exit $exit_status"
2233
 
  } >&5
2234
 
  rm -f core *.core core.conftest.* &&
2235
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2236
 
    exit $exit_status
2237
 
' 0
2238
 
for ac_signal in 1 2 13 15; do
2239
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2240
 
done
2241
 
ac_signal=0
2242
 
 
2243
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2244
 
rm -f -r conftest* confdefs.h
2245
 
 
2246
 
$as_echo "/* confdefs.h */" > confdefs.h
2247
 
 
2248
 
# Predefined preprocessor variables.
2249
 
 
2250
 
cat >>confdefs.h <<_ACEOF
2251
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2252
 
_ACEOF
2253
 
 
2254
 
cat >>confdefs.h <<_ACEOF
2255
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2256
 
_ACEOF
2257
 
 
2258
 
cat >>confdefs.h <<_ACEOF
2259
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2260
 
_ACEOF
2261
 
 
2262
 
cat >>confdefs.h <<_ACEOF
2263
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2264
 
_ACEOF
2265
 
 
2266
 
cat >>confdefs.h <<_ACEOF
2267
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2268
 
_ACEOF
2269
 
 
2270
 
cat >>confdefs.h <<_ACEOF
2271
 
@%:@define PACKAGE_URL "$PACKAGE_URL"
2272
 
_ACEOF
2273
 
 
2274
 
 
2275
 
# Let the site file select an alternate cache file if it wants to.
2276
 
# Prefer an explicitly selected file to automatically selected ones.
2277
 
ac_site_file1=NONE
2278
 
ac_site_file2=NONE
2279
 
if test -n "$CONFIG_SITE"; then
2280
 
  ac_site_file1=$CONFIG_SITE
2281
 
elif test "x$prefix" != xNONE; then
2282
 
  ac_site_file1=$prefix/share/config.site
2283
 
  ac_site_file2=$prefix/etc/config.site
2284
 
else
2285
 
  ac_site_file1=$ac_default_prefix/share/config.site
2286
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2287
 
fi
2288
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2289
 
do
2290
 
  test "x$ac_site_file" = xNONE && continue
2291
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2292
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2293
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2294
 
    sed 's/^/| /' "$ac_site_file" >&5
2295
 
    . "$ac_site_file"
2296
 
  fi
2297
 
done
2298
 
 
2299
 
if test -r "$cache_file"; then
2300
 
  # Some versions of bash will fail to source /dev/null (special files
2301
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2302
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2303
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2304
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2305
 
    case $cache_file in
2306
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2307
 
      *)                      . "./$cache_file";;
2308
 
    esac
2309
 
  fi
2310
 
else
2311
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2312
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2313
 
  >$cache_file
2314
 
fi
2315
 
 
2316
 
# Check that the precious variables saved in the cache have kept the same
2317
 
# value.
2318
 
ac_cache_corrupted=false
2319
 
for ac_var in $ac_precious_vars; do
2320
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2321
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2322
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2323
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2324
 
  case $ac_old_set,$ac_new_set in
2325
 
    set,)
2326
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2327
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328
 
      ac_cache_corrupted=: ;;
2329
 
    ,set)
2330
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2331
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2332
 
      ac_cache_corrupted=: ;;
2333
 
    ,);;
2334
 
    *)
2335
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2336
 
        # differences in whitespace do not lead to failure.
2337
 
        ac_old_val_w=`echo x $ac_old_val`
2338
 
        ac_new_val_w=`echo x $ac_new_val`
2339
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2340
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2341
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2342
 
          ac_cache_corrupted=:
2343
 
        else
2344
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2345
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2346
 
          eval $ac_var=\$ac_old_val
2347
 
        fi
2348
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2349
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2350
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2351
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2352
 
      fi;;
2353
 
  esac
2354
 
  # Pass precious variables to config.status.
2355
 
  if test "$ac_new_set" = set; then
2356
 
    case $ac_new_val in
2357
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2358
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2359
 
    esac
2360
 
    case " $ac_configure_args " in
2361
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2362
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2363
 
    esac
2364
 
  fi
2365
 
done
2366
 
if $ac_cache_corrupted; then
2367
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2370
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2371
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2372
 
fi
2373
 
## -------------------- ##
2374
 
## Main body of script. ##
2375
 
## -------------------- ##
2376
 
 
2377
 
ac_ext=c
2378
 
ac_cpp='$CPP $CPPFLAGS'
2379
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2382
 
 
2383
 
 
2384
 
 
2385
 
 
2386
 
ac_aux_dir=
2387
 
for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2388
 
  for ac_t in install-sh install.sh shtool; do
2389
 
    if test -f "$ac_dir/$ac_t"; then
2390
 
      ac_aux_dir=$ac_dir
2391
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2392
 
      break 2
2393
 
    fi
2394
 
  done
2395
 
done
2396
 
if test -z "$ac_aux_dir"; then
2397
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2398
 
fi
2399
 
 
2400
 
# These three variables are undocumented and unsupported,
2401
 
# and are intended to be withdrawn in a future Autoconf release.
2402
 
# They can cause serious problems if a builder's source tree is in a directory
2403
 
# whose full name contains unusual characters.
2404
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2405
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2406
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2407
 
 
2408
 
 
2409
 
 
2410
 
 
2411
 
am__api_version='1.11'
2412
 
 
2413
 
# Find a good install program.  We prefer a C program (faster),
2414
 
# so one script is as good as another.  But avoid the broken or
2415
 
# incompatible versions:
2416
 
# SysV /etc/install, /usr/sbin/install
2417
 
# SunOS /usr/etc/install
2418
 
# IRIX /sbin/install
2419
 
# AIX /bin/install
2420
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2421
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424
 
# OS/2's system install, which has a completely different semantic
2425
 
# ./install, which can be erroneously created by make from ./install.sh.
2426
 
# Reject install programs that cannot install multiple files.
2427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2428
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2429
 
if test -z "$INSTALL"; then
2430
 
if test "${ac_cv_path_install+set}" = set; then :
2431
 
  $as_echo_n "(cached) " >&6
2432
 
else
2433
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434
 
for as_dir in $PATH
2435
 
do
2436
 
  IFS=$as_save_IFS
2437
 
  test -z "$as_dir" && as_dir=.
2438
 
    # Account for people who put trailing slashes in PATH elements.
2439
 
case $as_dir/ in @%:@((
2440
 
  ./ | .// | /[cC]/* | \
2441
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2442
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2443
 
  /usr/ucb/* ) ;;
2444
 
  *)
2445
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2446
 
    # Don't use installbsd from OSF since it installs stuff as root
2447
 
    # by default.
2448
 
    for ac_prog in ginstall scoinst install; do
2449
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2450
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2451
 
          if test $ac_prog = install &&
2452
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2453
 
            # AIX install.  It has an incompatible calling convention.
2454
 
            :
2455
 
          elif test $ac_prog = install &&
2456
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2457
 
            # program-specific install script used by HP pwplus--don't use.
2458
 
            :
2459
 
          else
2460
 
            rm -rf conftest.one conftest.two conftest.dir
2461
 
            echo one > conftest.one
2462
 
            echo two > conftest.two
2463
 
            mkdir conftest.dir
2464
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2465
 
              test -s conftest.one && test -s conftest.two &&
2466
 
              test -s conftest.dir/conftest.one &&
2467
 
              test -s conftest.dir/conftest.two
2468
 
            then
2469
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2470
 
              break 3
2471
 
            fi
2472
 
          fi
2473
 
        fi
2474
 
      done
2475
 
    done
2476
 
    ;;
2477
 
esac
2478
 
 
2479
 
  done
2480
 
IFS=$as_save_IFS
2481
 
 
2482
 
rm -rf conftest.one conftest.two conftest.dir
2483
 
 
2484
 
fi
2485
 
  if test "${ac_cv_path_install+set}" = set; then
2486
 
    INSTALL=$ac_cv_path_install
2487
 
  else
2488
 
    # As a last resort, use the slow shell script.  Don't cache a
2489
 
    # value for INSTALL within a source directory, because that will
2490
 
    # break other packages using the cache if that directory is
2491
 
    # removed, or if the value is a relative name.
2492
 
    INSTALL=$ac_install_sh
2493
 
  fi
2494
 
fi
2495
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2496
 
$as_echo "$INSTALL" >&6; }
2497
 
 
2498
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499
 
# It thinks the first close brace ends the variable substitution.
2500
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2501
 
 
2502
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2503
 
 
2504
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2505
 
 
2506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2507
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2508
 
# Just in case
2509
 
sleep 1
2510
 
echo timestamp > conftest.file
2511
 
# Reject unsafe characters in $srcdir or the absolute working directory
2512
 
# name.  Accept space and tab only in the latter.
2513
 
am_lf='
2514
 
'
2515
 
case `pwd` in
2516
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2517
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2518
 
esac
2519
 
case $srcdir in
2520
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2521
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2522
 
esac
2523
 
 
2524
 
# Do `set' in a subshell so we don't clobber the current shell's
2525
 
# arguments.  Must try -L first in case configure is actually a
2526
 
# symlink; some systems play weird games with the mod time of symlinks
2527
 
# (eg FreeBSD returns the mod time of the symlink's containing
2528
 
# directory).
2529
 
if (
2530
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2531
 
   if test "$*" = "X"; then
2532
 
      # -L didn't work.
2533
 
      set X `ls -t "$srcdir/configure" conftest.file`
2534
 
   fi
2535
 
   rm -f conftest.file
2536
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2537
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2538
 
 
2539
 
      # If neither matched, then we have a broken ls.  This can happen
2540
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2541
 
      # broken ls alias from the environment.  This has actually
2542
 
      # happened.  Such a system could not be considered "sane".
2543
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2544
 
alias in your environment" "$LINENO" 5
2545
 
   fi
2546
 
 
2547
 
   test "$2" = conftest.file
2548
 
   )
2549
 
then
2550
 
   # Ok.
2551
 
   :
2552
 
else
2553
 
   as_fn_error "newly created file is older than distributed files!
2554
 
Check your system clock" "$LINENO" 5
2555
 
fi
2556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557
 
$as_echo "yes" >&6; }
2558
 
test "$program_prefix" != NONE &&
2559
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2560
 
# Use a double $ so make ignores it.
2561
 
test "$program_suffix" != NONE &&
2562
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2563
 
# Double any \ or $.
2564
 
# By default was `s,x,x', remove it if useless.
2565
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2566
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2567
 
 
2568
 
# expand $ac_aux_dir to an absolute path
2569
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2570
 
 
2571
 
if test x"${MISSING+set}" != xset; then
2572
 
  case $am_aux_dir in
2573
 
  *\ * | *\     *)
2574
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2575
 
  *)
2576
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2577
 
  esac
2578
 
fi
2579
 
# Use eval to expand $SHELL
2580
 
if eval "$MISSING --run true"; then
2581
 
  am_missing_run="$MISSING --run "
2582
 
else
2583
 
  am_missing_run=
2584
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2585
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2586
 
fi
2587
 
 
2588
 
if test x"${install_sh}" != xset; then
2589
 
  case $am_aux_dir in
2590
 
  *\ * | *\     *)
2591
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2592
 
  *)
2593
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2594
 
  esac
2595
 
fi
2596
 
 
2597
 
# Installed binaries are usually stripped using `strip' when the user
2598
 
# run `make install-strip'.  However `strip' might not be the right
2599
 
# tool to use in cross-compilation environments, therefore Automake
2600
 
# will honor the `STRIP' environment variable to overrule this program.
2601
 
if test "$cross_compiling" != no; then
2602
 
  if test -n "$ac_tool_prefix"; then
2603
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2604
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2605
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
 
$as_echo_n "checking for $ac_word... " >&6; }
2607
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2608
 
  $as_echo_n "(cached) " >&6
2609
 
else
2610
 
  if test -n "$STRIP"; then
2611
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2612
 
else
2613
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614
 
for as_dir in $PATH
2615
 
do
2616
 
  IFS=$as_save_IFS
2617
 
  test -z "$as_dir" && as_dir=.
2618
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2619
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2621
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622
 
    break 2
2623
 
  fi
2624
 
done
2625
 
  done
2626
 
IFS=$as_save_IFS
2627
 
 
2628
 
fi
2629
 
fi
2630
 
STRIP=$ac_cv_prog_STRIP
2631
 
if test -n "$STRIP"; then
2632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2633
 
$as_echo "$STRIP" >&6; }
2634
 
else
2635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
 
$as_echo "no" >&6; }
2637
 
fi
2638
 
 
2639
 
 
2640
 
fi
2641
 
if test -z "$ac_cv_prog_STRIP"; then
2642
 
  ac_ct_STRIP=$STRIP
2643
 
  # Extract the first word of "strip", so it can be a program name with args.
2644
 
set dummy strip; ac_word=$2
2645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646
 
$as_echo_n "checking for $ac_word... " >&6; }
2647
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2648
 
  $as_echo_n "(cached) " >&6
2649
 
else
2650
 
  if test -n "$ac_ct_STRIP"; then
2651
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2652
 
else
2653
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654
 
for as_dir in $PATH
2655
 
do
2656
 
  IFS=$as_save_IFS
2657
 
  test -z "$as_dir" && as_dir=.
2658
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2659
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660
 
    ac_cv_prog_ac_ct_STRIP="strip"
2661
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662
 
    break 2
2663
 
  fi
2664
 
done
2665
 
  done
2666
 
IFS=$as_save_IFS
2667
 
 
2668
 
fi
2669
 
fi
2670
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2671
 
if test -n "$ac_ct_STRIP"; then
2672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2673
 
$as_echo "$ac_ct_STRIP" >&6; }
2674
 
else
2675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676
 
$as_echo "no" >&6; }
2677
 
fi
2678
 
 
2679
 
  if test "x$ac_ct_STRIP" = x; then
2680
 
    STRIP=":"
2681
 
  else
2682
 
    case $cross_compiling:$ac_tool_warned in
2683
 
yes:)
2684
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2685
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686
 
ac_tool_warned=yes ;;
2687
 
esac
2688
 
    STRIP=$ac_ct_STRIP
2689
 
  fi
2690
 
else
2691
 
  STRIP="$ac_cv_prog_STRIP"
2692
 
fi
2693
 
 
2694
 
fi
2695
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2696
 
 
2697
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2698
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2699
 
if test -z "$MKDIR_P"; then
2700
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2701
 
  $as_echo_n "(cached) " >&6
2702
 
else
2703
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2705
 
do
2706
 
  IFS=$as_save_IFS
2707
 
  test -z "$as_dir" && as_dir=.
2708
 
    for ac_prog in mkdir gmkdir; do
2709
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2710
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2711
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2712
 
             'mkdir (GNU coreutils) '* | \
2713
 
             'mkdir (coreutils) '* | \
2714
 
             'mkdir (fileutils) '4.1*)
2715
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2716
 
               break 3;;
2717
 
           esac
2718
 
         done
2719
 
       done
2720
 
  done
2721
 
IFS=$as_save_IFS
2722
 
 
2723
 
fi
2724
 
 
2725
 
  test -d ./--version && rmdir ./--version
2726
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2727
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2728
 
  else
2729
 
    # As a last resort, use the slow shell script.  Don't cache a
2730
 
    # value for MKDIR_P within a source directory, because that will
2731
 
    # break other packages using the cache if that directory is
2732
 
    # removed, or if the value is a relative name.
2733
 
    MKDIR_P="$ac_install_sh -d"
2734
 
  fi
2735
 
fi
2736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2737
 
$as_echo "$MKDIR_P" >&6; }
2738
 
 
2739
 
mkdir_p="$MKDIR_P"
2740
 
case $mkdir_p in
2741
 
  [\\/$]* | ?:[\\/]*) ;;
2742
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2743
 
esac
2744
 
 
2745
 
for ac_prog in gawk mawk nawk awk
2746
 
do
2747
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2748
 
set dummy $ac_prog; ac_word=$2
2749
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750
 
$as_echo_n "checking for $ac_word... " >&6; }
2751
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2752
 
  $as_echo_n "(cached) " >&6
2753
 
else
2754
 
  if test -n "$AWK"; then
2755
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2756
 
else
2757
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758
 
for as_dir in $PATH
2759
 
do
2760
 
  IFS=$as_save_IFS
2761
 
  test -z "$as_dir" && as_dir=.
2762
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2763
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764
 
    ac_cv_prog_AWK="$ac_prog"
2765
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766
 
    break 2
2767
 
  fi
2768
 
done
2769
 
  done
2770
 
IFS=$as_save_IFS
2771
 
 
2772
 
fi
2773
 
fi
2774
 
AWK=$ac_cv_prog_AWK
2775
 
if test -n "$AWK"; then
2776
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2777
 
$as_echo "$AWK" >&6; }
2778
 
else
2779
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780
 
$as_echo "no" >&6; }
2781
 
fi
2782
 
 
2783
 
 
2784
 
  test -n "$AWK" && break
2785
 
done
2786
 
 
2787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2788
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2789
 
set x ${MAKE-make}
2790
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2791
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2792
 
  $as_echo_n "(cached) " >&6
2793
 
else
2794
 
  cat >conftest.make <<\_ACEOF
2795
 
SHELL = /bin/sh
2796
 
all:
2797
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2798
 
_ACEOF
2799
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2800
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2801
 
  *@@@%%%=?*=@@@%%%*)
2802
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2803
 
  *)
2804
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2805
 
esac
2806
 
rm -f conftest.make
2807
 
fi
2808
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2809
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2810
 
$as_echo "yes" >&6; }
2811
 
  SET_MAKE=
2812
 
else
2813
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814
 
$as_echo "no" >&6; }
2815
 
  SET_MAKE="MAKE=${MAKE-make}"
2816
 
fi
2817
 
 
2818
 
rm -rf .tst 2>/dev/null
2819
 
mkdir .tst 2>/dev/null
2820
 
if test -d .tst; then
2821
 
  am__leading_dot=.
2822
 
else
2823
 
  am__leading_dot=_
2824
 
fi
2825
 
rmdir .tst 2>/dev/null
2826
 
 
2827
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2828
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2829
 
  # is not polluted with repeated "-I."
2830
 
  am__isrc=' -I$(srcdir)'
2831
 
  # test to see if srcdir already configured
2832
 
  if test -f $srcdir/config.status; then
2833
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2834
 
  fi
2835
 
fi
2836
 
 
2837
 
# test whether we have cygpath
2838
 
if test -z "$CYGPATH_W"; then
2839
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2840
 
    CYGPATH_W='cygpath -w'
2841
 
  else
2842
 
    CYGPATH_W=echo
2843
 
  fi
2844
 
fi
2845
 
 
2846
 
 
2847
 
# Define the identity of the package.
2848
 
 PACKAGE='zziplib-for-tex-live'
2849
 
 VERSION='0.13.58'
2850
 
 
2851
 
 
2852
 
cat >>confdefs.h <<_ACEOF
2853
 
@%:@define PACKAGE "$PACKAGE"
2854
 
_ACEOF
2855
 
 
2856
 
 
2857
 
cat >>confdefs.h <<_ACEOF
2858
 
@%:@define VERSION "$VERSION"
2859
 
_ACEOF
2860
 
 
2861
 
# Some tools Automake needs.
2862
 
 
2863
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2864
 
 
2865
 
 
2866
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2867
 
 
2868
 
 
2869
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2870
 
 
2871
 
 
2872
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2873
 
 
2874
 
 
2875
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2876
 
 
2877
 
# We need awk for the "check" target.  The system "awk" is bad on
2878
 
# some platforms.
2879
 
# Always define AMTAR for backward compatibility.
2880
 
 
2881
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2882
 
 
2883
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2884
 
 
2885
 
 
2886
 
 
2887
 
 
2888
 
 
2889
 
 
2890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2891
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2892
 
    @%:@ Check whether --enable-maintainer-mode was given.
2893
 
if test "${enable_maintainer_mode+set}" = set; then :
2894
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2895
 
else
2896
 
  USE_MAINTAINER_MODE=no
2897
 
fi
2898
 
 
2899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2900
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2901
 
   if test $USE_MAINTAINER_MODE = yes; then
2902
 
  MAINTAINER_MODE_TRUE=
2903
 
  MAINTAINER_MODE_FALSE='#'
2904
 
else
2905
 
  MAINTAINER_MODE_TRUE='#'
2906
 
  MAINTAINER_MODE_FALSE=
2907
 
fi
2908
 
 
2909
 
  MAINT=$MAINTAINER_MODE_TRUE
2910
 
  
2911
 
 
2912
 
 
2913
 
# Make sure we can run config.sub.
2914
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2915
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2916
 
 
2917
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2918
 
$as_echo_n "checking build system type... " >&6; }
2919
 
if test "${ac_cv_build+set}" = set; then :
2920
 
  $as_echo_n "(cached) " >&6
2921
 
else
2922
 
  ac_build_alias=$build_alias
2923
 
test "x$ac_build_alias" = x &&
2924
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2925
 
test "x$ac_build_alias" = x &&
2926
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2927
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2928
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2929
 
 
2930
 
fi
2931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2932
 
$as_echo "$ac_cv_build" >&6; }
2933
 
case $ac_cv_build in
2934
 
*-*-*) ;;
2935
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2936
 
esac
2937
 
build=$ac_cv_build
2938
 
ac_save_IFS=$IFS; IFS='-'
2939
 
set x $ac_cv_build
2940
 
shift
2941
 
build_cpu=$1
2942
 
build_vendor=$2
2943
 
shift; shift
2944
 
# Remember, the first character of IFS is used to create $*,
2945
 
# except with old shells:
2946
 
build_os=$*
2947
 
IFS=$ac_save_IFS
2948
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2949
 
 
2950
 
 
2951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2952
 
$as_echo_n "checking host system type... " >&6; }
2953
 
if test "${ac_cv_host+set}" = set; then :
2954
 
  $as_echo_n "(cached) " >&6
2955
 
else
2956
 
  if test "x$host_alias" = x; then
2957
 
  ac_cv_host=$ac_cv_build
2958
 
else
2959
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2960
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2961
 
fi
2962
 
 
2963
 
fi
2964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2965
 
$as_echo "$ac_cv_host" >&6; }
2966
 
case $ac_cv_host in
2967
 
*-*-*) ;;
2968
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2969
 
esac
2970
 
host=$ac_cv_host
2971
 
ac_save_IFS=$IFS; IFS='-'
2972
 
set x $ac_cv_host
2973
 
shift
2974
 
host_cpu=$1
2975
 
host_vendor=$2
2976
 
shift; shift
2977
 
# Remember, the first character of IFS is used to create $*,
2978
 
# except with old shells:
2979
 
host_os=$*
2980
 
IFS=$ac_save_IFS
2981
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2982
 
 
2983
 
 
2984
 
 
2985
 
# Checks for programs.
2986
 
ac_ext=c
2987
 
ac_cpp='$CPP $CPPFLAGS'
2988
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2991
 
if test -n "$ac_tool_prefix"; then
2992
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2993
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2994
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995
 
$as_echo_n "checking for $ac_word... " >&6; }
2996
 
if test "${ac_cv_prog_CC+set}" = set; then :
2997
 
  $as_echo_n "(cached) " >&6
2998
 
else
2999
 
  if test -n "$CC"; then
3000
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3001
 
else
3002
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003
 
for as_dir in $PATH
3004
 
do
3005
 
  IFS=$as_save_IFS
3006
 
  test -z "$as_dir" && as_dir=.
3007
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3008
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3010
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011
 
    break 2
3012
 
  fi
3013
 
done
3014
 
  done
3015
 
IFS=$as_save_IFS
3016
 
 
3017
 
fi
3018
 
fi
3019
 
CC=$ac_cv_prog_CC
3020
 
if test -n "$CC"; then
3021
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022
 
$as_echo "$CC" >&6; }
3023
 
else
3024
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025
 
$as_echo "no" >&6; }
3026
 
fi
3027
 
 
3028
 
 
3029
 
fi
3030
 
if test -z "$ac_cv_prog_CC"; then
3031
 
  ac_ct_CC=$CC
3032
 
  # Extract the first word of "gcc", so it can be a program name with args.
3033
 
set dummy gcc; ac_word=$2
3034
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035
 
$as_echo_n "checking for $ac_word... " >&6; }
3036
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3037
 
  $as_echo_n "(cached) " >&6
3038
 
else
3039
 
  if test -n "$ac_ct_CC"; then
3040
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3041
 
else
3042
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043
 
for as_dir in $PATH
3044
 
do
3045
 
  IFS=$as_save_IFS
3046
 
  test -z "$as_dir" && as_dir=.
3047
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3048
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049
 
    ac_cv_prog_ac_ct_CC="gcc"
3050
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051
 
    break 2
3052
 
  fi
3053
 
done
3054
 
  done
3055
 
IFS=$as_save_IFS
3056
 
 
3057
 
fi
3058
 
fi
3059
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3060
 
if test -n "$ac_ct_CC"; then
3061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3062
 
$as_echo "$ac_ct_CC" >&6; }
3063
 
else
3064
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065
 
$as_echo "no" >&6; }
3066
 
fi
3067
 
 
3068
 
  if test "x$ac_ct_CC" = x; then
3069
 
    CC=""
3070
 
  else
3071
 
    case $cross_compiling:$ac_tool_warned in
3072
 
yes:)
3073
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3074
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3075
 
ac_tool_warned=yes ;;
3076
 
esac
3077
 
    CC=$ac_ct_CC
3078
 
  fi
3079
 
else
3080
 
  CC="$ac_cv_prog_CC"
3081
 
fi
3082
 
 
3083
 
if test -z "$CC"; then
3084
 
          if test -n "$ac_tool_prefix"; then
3085
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3086
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3087
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088
 
$as_echo_n "checking for $ac_word... " >&6; }
3089
 
if test "${ac_cv_prog_CC+set}" = set; then :
3090
 
  $as_echo_n "(cached) " >&6
3091
 
else
3092
 
  if test -n "$CC"; then
3093
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3094
 
else
3095
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096
 
for as_dir in $PATH
3097
 
do
3098
 
  IFS=$as_save_IFS
3099
 
  test -z "$as_dir" && as_dir=.
3100
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3101
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3103
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104
 
    break 2
3105
 
  fi
3106
 
done
3107
 
  done
3108
 
IFS=$as_save_IFS
3109
 
 
3110
 
fi
3111
 
fi
3112
 
CC=$ac_cv_prog_CC
3113
 
if test -n "$CC"; then
3114
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115
 
$as_echo "$CC" >&6; }
3116
 
else
3117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118
 
$as_echo "no" >&6; }
3119
 
fi
3120
 
 
3121
 
 
3122
 
  fi
3123
 
fi
3124
 
if test -z "$CC"; then
3125
 
  # Extract the first word of "cc", so it can be a program name with args.
3126
 
set dummy cc; ac_word=$2
3127
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128
 
$as_echo_n "checking for $ac_word... " >&6; }
3129
 
if test "${ac_cv_prog_CC+set}" = set; then :
3130
 
  $as_echo_n "(cached) " >&6
3131
 
else
3132
 
  if test -n "$CC"; then
3133
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3134
 
else
3135
 
  ac_prog_rejected=no
3136
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137
 
for as_dir in $PATH
3138
 
do
3139
 
  IFS=$as_save_IFS
3140
 
  test -z "$as_dir" && as_dir=.
3141
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3142
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3144
 
       ac_prog_rejected=yes
3145
 
       continue
3146
 
     fi
3147
 
    ac_cv_prog_CC="cc"
3148
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149
 
    break 2
3150
 
  fi
3151
 
done
3152
 
  done
3153
 
IFS=$as_save_IFS
3154
 
 
3155
 
if test $ac_prog_rejected = yes; then
3156
 
  # We found a bogon in the path, so make sure we never use it.
3157
 
  set dummy $ac_cv_prog_CC
3158
 
  shift
3159
 
  if test $@%:@ != 0; then
3160
 
    # We chose a different compiler from the bogus one.
3161
 
    # However, it has the same basename, so the bogon will be chosen
3162
 
    # first if we set CC to just the basename; use the full file name.
3163
 
    shift
3164
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3165
 
  fi
3166
 
fi
3167
 
fi
3168
 
fi
3169
 
CC=$ac_cv_prog_CC
3170
 
if test -n "$CC"; then
3171
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172
 
$as_echo "$CC" >&6; }
3173
 
else
3174
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175
 
$as_echo "no" >&6; }
3176
 
fi
3177
 
 
3178
 
 
3179
 
fi
3180
 
if test -z "$CC"; then
3181
 
  if test -n "$ac_tool_prefix"; then
3182
 
  for ac_prog in cl.exe
3183
 
  do
3184
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3185
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3186
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187
 
$as_echo_n "checking for $ac_word... " >&6; }
3188
 
if test "${ac_cv_prog_CC+set}" = set; then :
3189
 
  $as_echo_n "(cached) " >&6
3190
 
else
3191
 
  if test -n "$CC"; then
3192
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3193
 
else
3194
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195
 
for as_dir in $PATH
3196
 
do
3197
 
  IFS=$as_save_IFS
3198
 
  test -z "$as_dir" && as_dir=.
3199
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3200
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3202
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203
 
    break 2
3204
 
  fi
3205
 
done
3206
 
  done
3207
 
IFS=$as_save_IFS
3208
 
 
3209
 
fi
3210
 
fi
3211
 
CC=$ac_cv_prog_CC
3212
 
if test -n "$CC"; then
3213
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214
 
$as_echo "$CC" >&6; }
3215
 
else
3216
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217
 
$as_echo "no" >&6; }
3218
 
fi
3219
 
 
3220
 
 
3221
 
    test -n "$CC" && break
3222
 
  done
3223
 
fi
3224
 
if test -z "$CC"; then
3225
 
  ac_ct_CC=$CC
3226
 
  for ac_prog in cl.exe
3227
 
do
3228
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3229
 
set dummy $ac_prog; ac_word=$2
3230
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231
 
$as_echo_n "checking for $ac_word... " >&6; }
3232
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3233
 
  $as_echo_n "(cached) " >&6
3234
 
else
3235
 
  if test -n "$ac_ct_CC"; then
3236
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3237
 
else
3238
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239
 
for as_dir in $PATH
3240
 
do
3241
 
  IFS=$as_save_IFS
3242
 
  test -z "$as_dir" && as_dir=.
3243
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3244
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3246
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247
 
    break 2
3248
 
  fi
3249
 
done
3250
 
  done
3251
 
IFS=$as_save_IFS
3252
 
 
3253
 
fi
3254
 
fi
3255
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3256
 
if test -n "$ac_ct_CC"; then
3257
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3258
 
$as_echo "$ac_ct_CC" >&6; }
3259
 
else
3260
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261
 
$as_echo "no" >&6; }
3262
 
fi
3263
 
 
3264
 
 
3265
 
  test -n "$ac_ct_CC" && break
3266
 
done
3267
 
 
3268
 
  if test "x$ac_ct_CC" = x; then
3269
 
    CC=""
3270
 
  else
3271
 
    case $cross_compiling:$ac_tool_warned in
3272
 
yes:)
3273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275
 
ac_tool_warned=yes ;;
3276
 
esac
3277
 
    CC=$ac_ct_CC
3278
 
  fi
3279
 
fi
3280
 
 
3281
 
fi
3282
 
 
3283
 
 
3284
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286
 
as_fn_error "no acceptable C compiler found in \$PATH
3287
 
See \`config.log' for more details." "$LINENO" 5; }
3288
 
 
3289
 
# Provide some information about the compiler.
3290
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3291
 
set X $ac_compile
3292
 
ac_compiler=$2
3293
 
for ac_option in --version -v -V -qversion; do
3294
 
  { { ac_try="$ac_compiler $ac_option >&5"
3295
 
case "(($ac_try" in
3296
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297
 
  *) ac_try_echo=$ac_try;;
3298
 
esac
3299
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300
 
$as_echo "$ac_try_echo"; } >&5
3301
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3302
 
  ac_status=$?
3303
 
  if test -s conftest.err; then
3304
 
    sed '10a\
3305
 
... rest of stderr output deleted ...
3306
 
         10q' conftest.err >conftest.er1
3307
 
    cat conftest.er1 >&5
3308
 
  fi
3309
 
  rm -f conftest.er1 conftest.err
3310
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311
 
  test $ac_status = 0; }
3312
 
done
3313
 
 
3314
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315
 
/* end confdefs.h.  */
3316
 
 
3317
 
int
3318
 
main ()
3319
 
{
3320
 
 
3321
 
  ;
3322
 
  return 0;
3323
 
}
3324
 
_ACEOF
3325
 
ac_clean_files_save=$ac_clean_files
3326
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3327
 
# Try to create an executable without -o first, disregard a.out.
3328
 
# It will help us diagnose broken compilers, and finding out an intuition
3329
 
# of exeext.
3330
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3331
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3332
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3333
 
 
3334
 
# The possible output files:
3335
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3336
 
 
3337
 
ac_rmfiles=
3338
 
for ac_file in $ac_files
3339
 
do
3340
 
  case $ac_file in
3341
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3342
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3343
 
  esac
3344
 
done
3345
 
rm -f $ac_rmfiles
3346
 
 
3347
 
if { { ac_try="$ac_link_default"
3348
 
case "(($ac_try" in
3349
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350
 
  *) ac_try_echo=$ac_try;;
3351
 
esac
3352
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353
 
$as_echo "$ac_try_echo"; } >&5
3354
 
  (eval "$ac_link_default") 2>&5
3355
 
  ac_status=$?
3356
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357
 
  test $ac_status = 0; }; then :
3358
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3359
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3360
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3361
 
# so that the user can short-circuit this test for compilers unknown to
3362
 
# Autoconf.
3363
 
for ac_file in $ac_files ''
3364
 
do
3365
 
  test -f "$ac_file" || continue
3366
 
  case $ac_file in
3367
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3368
 
        ;;
3369
 
    [ab].out )
3370
 
        # We found the default executable, but exeext='' is most
3371
 
        # certainly right.
3372
 
        break;;
3373
 
    *.* )
3374
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3375
 
        then :; else
3376
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377
 
        fi
3378
 
        # We set ac_cv_exeext here because the later test for it is not
3379
 
        # safe: cross compilers may not add the suffix if given an `-o'
3380
 
        # argument, so we may need to know it at that point already.
3381
 
        # Even if this section looks crufty: it has the advantage of
3382
 
        # actually working.
3383
 
        break;;
3384
 
    * )
3385
 
        break;;
3386
 
  esac
3387
 
done
3388
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3389
 
 
3390
 
else
3391
 
  ac_file=''
3392
 
fi
3393
 
if test -z "$ac_file"; then :
3394
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395
 
$as_echo "no" >&6; }
3396
 
$as_echo "$as_me: failed program was:" >&5
3397
 
sed 's/^/| /' conftest.$ac_ext >&5
3398
 
 
3399
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401
 
{ as_fn_set_status 77
3402
 
as_fn_error "C compiler cannot create executables
3403
 
See \`config.log' for more details." "$LINENO" 5; }; }
3404
 
else
3405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3406
 
$as_echo "yes" >&6; }
3407
 
fi
3408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3409
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3410
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3411
 
$as_echo "$ac_file" >&6; }
3412
 
ac_exeext=$ac_cv_exeext
3413
 
 
3414
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3415
 
ac_clean_files=$ac_clean_files_save
3416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3417
 
$as_echo_n "checking for suffix of executables... " >&6; }
3418
 
if { { ac_try="$ac_link"
3419
 
case "(($ac_try" in
3420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421
 
  *) ac_try_echo=$ac_try;;
3422
 
esac
3423
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424
 
$as_echo "$ac_try_echo"; } >&5
3425
 
  (eval "$ac_link") 2>&5
3426
 
  ac_status=$?
3427
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428
 
  test $ac_status = 0; }; then :
3429
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3430
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3431
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3432
 
# `rm'.
3433
 
for ac_file in conftest.exe conftest conftest.*; do
3434
 
  test -f "$ac_file" || continue
3435
 
  case $ac_file in
3436
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3437
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438
 
          break;;
3439
 
    * ) break;;
3440
 
  esac
3441
 
done
3442
 
else
3443
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3446
 
See \`config.log' for more details." "$LINENO" 5; }
3447
 
fi
3448
 
rm -f conftest conftest$ac_cv_exeext
3449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3450
 
$as_echo "$ac_cv_exeext" >&6; }
3451
 
 
3452
 
rm -f conftest.$ac_ext
3453
 
EXEEXT=$ac_cv_exeext
3454
 
ac_exeext=$EXEEXT
3455
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456
 
/* end confdefs.h.  */
3457
 
@%:@include <stdio.h>
3458
 
int
3459
 
main ()
3460
 
{
3461
 
FILE *f = fopen ("conftest.out", "w");
3462
 
 return ferror (f) || fclose (f) != 0;
3463
 
 
3464
 
  ;
3465
 
  return 0;
3466
 
}
3467
 
_ACEOF
3468
 
ac_clean_files="$ac_clean_files conftest.out"
3469
 
# Check that the compiler produces executables we can run.  If not, either
3470
 
# the compiler is broken, or we cross compile.
3471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3472
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3473
 
if test "$cross_compiling" != yes; then
3474
 
  { { ac_try="$ac_link"
3475
 
case "(($ac_try" in
3476
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
 
  *) ac_try_echo=$ac_try;;
3478
 
esac
3479
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480
 
$as_echo "$ac_try_echo"; } >&5
3481
 
  (eval "$ac_link") 2>&5
3482
 
  ac_status=$?
3483
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484
 
  test $ac_status = 0; }
3485
 
  if { ac_try='./conftest$ac_cv_exeext'
3486
 
  { { case "(($ac_try" in
3487
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
 
  *) ac_try_echo=$ac_try;;
3489
 
esac
3490
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491
 
$as_echo "$ac_try_echo"; } >&5
3492
 
  (eval "$ac_try") 2>&5
3493
 
  ac_status=$?
3494
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495
 
  test $ac_status = 0; }; }; then
3496
 
    cross_compiling=no
3497
 
  else
3498
 
    if test "$cross_compiling" = maybe; then
3499
 
        cross_compiling=yes
3500
 
    else
3501
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503
 
as_fn_error "cannot run C compiled programs.
3504
 
If you meant to cross compile, use \`--host'.
3505
 
See \`config.log' for more details." "$LINENO" 5; }
3506
 
    fi
3507
 
  fi
3508
 
fi
3509
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3510
 
$as_echo "$cross_compiling" >&6; }
3511
 
 
3512
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3513
 
ac_clean_files=$ac_clean_files_save
3514
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3515
 
$as_echo_n "checking for suffix of object files... " >&6; }
3516
 
if test "${ac_cv_objext+set}" = set; then :
3517
 
  $as_echo_n "(cached) " >&6
3518
 
else
3519
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
 
/* end confdefs.h.  */
3521
 
 
3522
 
int
3523
 
main ()
3524
 
{
3525
 
 
3526
 
  ;
3527
 
  return 0;
3528
 
}
3529
 
_ACEOF
3530
 
rm -f conftest.o conftest.obj
3531
 
if { { ac_try="$ac_compile"
3532
 
case "(($ac_try" in
3533
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534
 
  *) ac_try_echo=$ac_try;;
3535
 
esac
3536
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537
 
$as_echo "$ac_try_echo"; } >&5
3538
 
  (eval "$ac_compile") 2>&5
3539
 
  ac_status=$?
3540
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541
 
  test $ac_status = 0; }; then :
3542
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3543
 
  test -f "$ac_file" || continue;
3544
 
  case $ac_file in
3545
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3546
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3547
 
       break;;
3548
 
  esac
3549
 
done
3550
 
else
3551
 
  $as_echo "$as_me: failed program was:" >&5
3552
 
sed 's/^/| /' conftest.$ac_ext >&5
3553
 
 
3554
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556
 
as_fn_error "cannot compute suffix of object files: cannot compile
3557
 
See \`config.log' for more details." "$LINENO" 5; }
3558
 
fi
3559
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3560
 
fi
3561
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3562
 
$as_echo "$ac_cv_objext" >&6; }
3563
 
OBJEXT=$ac_cv_objext
3564
 
ac_objext=$OBJEXT
3565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3566
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3567
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3568
 
  $as_echo_n "(cached) " >&6
3569
 
else
3570
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571
 
/* end confdefs.h.  */
3572
 
 
3573
 
int
3574
 
main ()
3575
 
{
3576
 
#ifndef __GNUC__
3577
 
       choke me
3578
 
#endif
3579
 
 
3580
 
  ;
3581
 
  return 0;
3582
 
}
3583
 
_ACEOF
3584
 
if ac_fn_c_try_compile "$LINENO"; then :
3585
 
  ac_compiler_gnu=yes
3586
 
else
3587
 
  ac_compiler_gnu=no
3588
 
fi
3589
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3591
 
 
3592
 
fi
3593
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3594
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3595
 
if test $ac_compiler_gnu = yes; then
3596
 
  GCC=yes
3597
 
else
3598
 
  GCC=
3599
 
fi
3600
 
ac_test_CFLAGS=${CFLAGS+set}
3601
 
ac_save_CFLAGS=$CFLAGS
3602
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3603
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3604
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3605
 
  $as_echo_n "(cached) " >&6
3606
 
else
3607
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3608
 
   ac_c_werror_flag=yes
3609
 
   ac_cv_prog_cc_g=no
3610
 
   CFLAGS="-g"
3611
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612
 
/* end confdefs.h.  */
3613
 
 
3614
 
int
3615
 
main ()
3616
 
{
3617
 
 
3618
 
  ;
3619
 
  return 0;
3620
 
}
3621
 
_ACEOF
3622
 
if ac_fn_c_try_compile "$LINENO"; then :
3623
 
  ac_cv_prog_cc_g=yes
3624
 
else
3625
 
  CFLAGS=""
3626
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627
 
/* end confdefs.h.  */
3628
 
 
3629
 
int
3630
 
main ()
3631
 
{
3632
 
 
3633
 
  ;
3634
 
  return 0;
3635
 
}
3636
 
_ACEOF
3637
 
if ac_fn_c_try_compile "$LINENO"; then :
3638
 
  
3639
 
else
3640
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3641
 
         CFLAGS="-g"
3642
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643
 
/* end confdefs.h.  */
3644
 
 
3645
 
int
3646
 
main ()
3647
 
{
3648
 
 
3649
 
  ;
3650
 
  return 0;
3651
 
}
3652
 
_ACEOF
3653
 
if ac_fn_c_try_compile "$LINENO"; then :
3654
 
  ac_cv_prog_cc_g=yes
3655
 
fi
3656
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657
 
fi
3658
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659
 
fi
3660
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3662
 
fi
3663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3664
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3665
 
if test "$ac_test_CFLAGS" = set; then
3666
 
  CFLAGS=$ac_save_CFLAGS
3667
 
elif test $ac_cv_prog_cc_g = yes; then
3668
 
  if test "$GCC" = yes; then
3669
 
    CFLAGS="-g -O2"
3670
 
  else
3671
 
    CFLAGS="-g"
3672
 
  fi
3673
 
else
3674
 
  if test "$GCC" = yes; then
3675
 
    CFLAGS="-O2"
3676
 
  else
3677
 
    CFLAGS=
3678
 
  fi
3679
 
fi
3680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3681
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3682
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3683
 
  $as_echo_n "(cached) " >&6
3684
 
else
3685
 
  ac_cv_prog_cc_c89=no
3686
 
ac_save_CC=$CC
3687
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688
 
/* end confdefs.h.  */
3689
 
#include <stdarg.h>
3690
 
#include <stdio.h>
3691
 
#include <sys/types.h>
3692
 
#include <sys/stat.h>
3693
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3694
 
struct buf { int x; };
3695
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3696
 
static char *e (p, i)
3697
 
     char **p;
3698
 
     int i;
3699
 
{
3700
 
  return p[i];
3701
 
}
3702
 
static char *f (char * (*g) (char **, int), char **p, ...)
3703
 
{
3704
 
  char *s;
3705
 
  va_list v;
3706
 
  va_start (v,p);
3707
 
  s = g (p, va_arg (v,int));
3708
 
  va_end (v);
3709
 
  return s;
3710
 
}
3711
 
 
3712
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3713
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3714
 
   These don't provoke an error unfortunately, instead are silently treated
3715
 
   as 'x'.  The following induces an error, until -std is added to get
3716
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3717
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3718
 
   that's true only with -std.  */
3719
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3720
 
 
3721
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3722
 
   inside strings and character constants.  */
3723
 
#define FOO(x) 'x'
3724
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3725
 
 
3726
 
int test (int i, double x);
3727
 
struct s1 {int (*f) (int a);};
3728
 
struct s2 {int (*f) (double a);};
3729
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3730
 
int argc;
3731
 
char **argv;
3732
 
int
3733
 
main ()
3734
 
{
3735
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3736
 
  ;
3737
 
  return 0;
3738
 
}
3739
 
_ACEOF
3740
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3741
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3742
 
do
3743
 
  CC="$ac_save_CC $ac_arg"
3744
 
  if ac_fn_c_try_compile "$LINENO"; then :
3745
 
  ac_cv_prog_cc_c89=$ac_arg
3746
 
fi
3747
 
rm -f core conftest.err conftest.$ac_objext
3748
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3749
 
done
3750
 
rm -f conftest.$ac_ext
3751
 
CC=$ac_save_CC
3752
 
 
3753
 
fi
3754
 
# AC_CACHE_VAL
3755
 
case "x$ac_cv_prog_cc_c89" in
3756
 
  x)
3757
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3758
 
$as_echo "none needed" >&6; } ;;
3759
 
  xno)
3760
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3761
 
$as_echo "unsupported" >&6; } ;;
3762
 
  *)
3763
 
    CC="$CC $ac_cv_prog_cc_c89"
3764
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3765
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3766
 
esac
3767
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3768
 
  
3769
 
fi
3770
 
 
3771
 
ac_ext=c
3772
 
ac_cpp='$CPP $CPPFLAGS'
3773
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776
 
DEPDIR="${am__leading_dot}deps"
3777
 
 
3778
 
ac_config_commands="$ac_config_commands depfiles"
3779
 
 
3780
 
 
3781
 
am_make=${MAKE-make}
3782
 
cat > confinc << 'END'
3783
 
am__doit:
3784
 
        @echo this is the am__doit target
3785
 
.PHONY: am__doit
3786
 
END
3787
 
# If we don't find an include directive, just comment out the code.
3788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3789
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3790
 
am__include="#"
3791
 
am__quote=
3792
 
_am_result=none
3793
 
# First try GNU make style include.
3794
 
echo "include confinc" > confmf
3795
 
# Ignore all kinds of additional output from `make'.
3796
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3797
 
*the\ am__doit\ target*)
3798
 
  am__include=include
3799
 
  am__quote=
3800
 
  _am_result=GNU
3801
 
  ;;
3802
 
esac
3803
 
# Now try BSD make style include.
3804
 
if test "$am__include" = "#"; then
3805
 
   echo '.include "confinc"' > confmf
3806
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3807
 
   *the\ am__doit\ target*)
3808
 
     am__include=.include
3809
 
     am__quote="\""
3810
 
     _am_result=BSD
3811
 
     ;;
3812
 
   esac
3813
 
fi
3814
 
 
3815
 
 
3816
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3817
 
$as_echo "$_am_result" >&6; }
3818
 
rm -f confinc confmf
3819
 
 
3820
 
@%:@ Check whether --enable-dependency-tracking was given.
3821
 
if test "${enable_dependency_tracking+set}" = set; then :
3822
 
  enableval=$enable_dependency_tracking; 
3823
 
fi
3824
 
 
3825
 
if test "x$enable_dependency_tracking" != xno; then
3826
 
  am_depcomp="$ac_aux_dir/depcomp"
3827
 
  AMDEPBACKSLASH='\'
3828
 
fi
3829
 
 if test "x$enable_dependency_tracking" != xno; then
3830
 
  AMDEP_TRUE=
3831
 
  AMDEP_FALSE='#'
3832
 
else
3833
 
  AMDEP_TRUE='#'
3834
 
  AMDEP_FALSE=
3835
 
fi
3836
 
 
3837
 
 
3838
 
 
3839
 
depcc="$CC"   am_compiler_list=
3840
 
 
3841
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3842
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3843
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3844
 
  $as_echo_n "(cached) " >&6
3845
 
else
3846
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3847
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3848
 
  # making bogus files that we don't know about and never remove.  For
3849
 
  # instance it was reported that on HP-UX the gcc test will end up
3850
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3851
 
  # in D'.
3852
 
  mkdir conftest.dir
3853
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3854
 
  # using a relative directory.
3855
 
  cp "$am_depcomp" conftest.dir
3856
 
  cd conftest.dir
3857
 
  # We will build objects and dependencies in a subdirectory because
3858
 
  # it helps to detect inapplicable dependency modes.  For instance
3859
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3860
 
  # side effect of compilation, but ICC will put the dependencies in
3861
 
  # the current directory while Tru64 will put them in the object
3862
 
  # directory.
3863
 
  mkdir sub
3864
 
 
3865
 
  am_cv_CC_dependencies_compiler_type=none
3866
 
  if test "$am_compiler_list" = ""; then
3867
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3868
 
  fi
3869
 
  am__universal=false
3870
 
  case " $depcc " in #(
3871
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3872
 
     esac
3873
 
 
3874
 
  for depmode in $am_compiler_list; do
3875
 
    # Setup a source with many dependencies, because some compilers
3876
 
    # like to wrap large dependency lists on column 80 (with \), and
3877
 
    # we should not choose a depcomp mode which is confused by this.
3878
 
    #
3879
 
    # We need to recreate these files for each test, as the compiler may
3880
 
    # overwrite some of them when testing with obscure command lines.
3881
 
    # This happens at least with the AIX C compiler.
3882
 
    : > sub/conftest.c
3883
 
    for i in 1 2 3 4 5 6; do
3884
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3885
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3886
 
      # Solaris 8's {/usr,}/bin/sh.
3887
 
      touch sub/conftst$i.h
3888
 
    done
3889
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3890
 
 
3891
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3892
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3893
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3894
 
    # versions had trouble with output in subdirs
3895
 
    am__obj=sub/conftest.${OBJEXT-o}
3896
 
    am__minus_obj="-o $am__obj"
3897
 
    case $depmode in
3898
 
    gcc)
3899
 
      # This depmode causes a compiler race in universal mode.
3900
 
      test "$am__universal" = false || continue
3901
 
      ;;
3902
 
    nosideeffect)
3903
 
      # after this tag, mechanisms are not by side-effect, so they'll
3904
 
      # only be used when explicitly requested
3905
 
      if test "x$enable_dependency_tracking" = xyes; then
3906
 
        continue
3907
 
      else
3908
 
        break
3909
 
      fi
3910
 
      ;;
3911
 
    msvisualcpp | msvcmsys)
3912
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3913
 
      # not run yet.  These depmodes are late enough in the game, and
3914
 
      # so weak that their functioning should not be impacted.
3915
 
      am__obj=conftest.${OBJEXT-o}
3916
 
      am__minus_obj=
3917
 
      ;;
3918
 
    none) break ;;
3919
 
    esac
3920
 
    if depmode=$depmode \
3921
 
       source=sub/conftest.c object=$am__obj \
3922
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3923
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3924
 
         >/dev/null 2>conftest.err &&
3925
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3926
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3927
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3928
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3929
 
      # icc doesn't choke on unknown options, it will just issue warnings
3930
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3931
 
      # that says an option was ignored or not supported.
3932
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3933
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3934
 
      # The diagnosis changed in icc 8.0:
3935
 
      #   icc: Command line remark: option '-MP' not supported
3936
 
      if (grep 'ignoring option' conftest.err ||
3937
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3938
 
        am_cv_CC_dependencies_compiler_type=$depmode
3939
 
        break
3940
 
      fi
3941
 
    fi
3942
 
  done
3943
 
 
3944
 
  cd ..
3945
 
  rm -rf conftest.dir
3946
 
else
3947
 
  am_cv_CC_dependencies_compiler_type=none
3948
 
fi
3949
 
 
3950
 
fi
3951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3952
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3953
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3954
 
 
3955
 
 if 
3956
 
  test "x$enable_dependency_tracking" != xno \
3957
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3958
 
  am__fastdepCC_TRUE=
3959
 
  am__fastdepCC_FALSE='#'
3960
 
else
3961
 
  am__fastdepCC_TRUE='#'
3962
 
  am__fastdepCC_FALSE=
3963
 
fi
3964
 
 
3965
 
 
3966
 
if test -n "$ac_tool_prefix"; then
3967
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3968
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3969
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970
 
$as_echo_n "checking for $ac_word... " >&6; }
3971
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
3972
 
  $as_echo_n "(cached) " >&6
3973
 
else
3974
 
  if test -n "$RANLIB"; then
3975
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3976
 
else
3977
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978
 
for as_dir in $PATH
3979
 
do
3980
 
  IFS=$as_save_IFS
3981
 
  test -z "$as_dir" && as_dir=.
3982
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3983
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3984
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3985
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986
 
    break 2
3987
 
  fi
3988
 
done
3989
 
  done
3990
 
IFS=$as_save_IFS
3991
 
 
3992
 
fi
3993
 
fi
3994
 
RANLIB=$ac_cv_prog_RANLIB
3995
 
if test -n "$RANLIB"; then
3996
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3997
 
$as_echo "$RANLIB" >&6; }
3998
 
else
3999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000
 
$as_echo "no" >&6; }
4001
 
fi
4002
 
 
4003
 
 
4004
 
fi
4005
 
if test -z "$ac_cv_prog_RANLIB"; then
4006
 
  ac_ct_RANLIB=$RANLIB
4007
 
  # Extract the first word of "ranlib", so it can be a program name with args.
4008
 
set dummy ranlib; ac_word=$2
4009
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010
 
$as_echo_n "checking for $ac_word... " >&6; }
4011
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4012
 
  $as_echo_n "(cached) " >&6
4013
 
else
4014
 
  if test -n "$ac_ct_RANLIB"; then
4015
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4016
 
else
4017
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018
 
for as_dir in $PATH
4019
 
do
4020
 
  IFS=$as_save_IFS
4021
 
  test -z "$as_dir" && as_dir=.
4022
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4023
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4025
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026
 
    break 2
4027
 
  fi
4028
 
done
4029
 
  done
4030
 
IFS=$as_save_IFS
4031
 
 
4032
 
fi
4033
 
fi
4034
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4035
 
if test -n "$ac_ct_RANLIB"; then
4036
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4037
 
$as_echo "$ac_ct_RANLIB" >&6; }
4038
 
else
4039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040
 
$as_echo "no" >&6; }
4041
 
fi
4042
 
 
4043
 
  if test "x$ac_ct_RANLIB" = x; then
4044
 
    RANLIB=":"
4045
 
  else
4046
 
    case $cross_compiling:$ac_tool_warned in
4047
 
yes:)
4048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4049
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4050
 
ac_tool_warned=yes ;;
4051
 
esac
4052
 
    RANLIB=$ac_ct_RANLIB
4053
 
  fi
4054
 
else
4055
 
  RANLIB="$ac_cv_prog_RANLIB"
4056
 
fi
4057
 
 
4058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4059
 
$as_echo_n "checking whether ln -s works... " >&6; }
4060
 
LN_S=$as_ln_s
4061
 
if test "$LN_S" = "ln -s"; then
4062
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4063
 
$as_echo "yes" >&6; }
4064
 
else
4065
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4066
 
$as_echo "no, using $LN_S" >&6; }
4067
 
fi
4068
 
 
4069
 
 
4070
 
@%:@ Check whether --enable-compiler-warnings was given.
4071
 
if test "${enable_compiler_warnings+set}" = set; then :
4072
 
  enableval=$enable_compiler_warnings; 
4073
 
fi
4074
 
case $enable_compiler_warnings in @%:@(
4075
 
  no | min | yes | max | all) :
4076
 
     ;; @%:@(
4077
 
  *) :
4078
 
    if test "x$enable_maintainer_mode" = xyes; then :
4079
 
  enable_compiler_warnings=yes
4080
 
else
4081
 
  enable_compiler_warnings=min
4082
 
fi ;;
4083
 
esac
4084
 
 
4085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4086
 
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4087
 
if test "${kpse_cv_warning_cflags+set}" = set; then :
4088
 
  $as_echo_n "(cached) " >&6
4089
 
else
4090
 
  if test "x$enable_compiler_warnings" = xno; then
4091
 
  kpse_cv_warning_cflags=
4092
 
elif test "x$GCC" = xyes; then
4093
 
  kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4094
 
case `$CC -dumpversion` in @%:@(
4095
 
  3.4.* | 4.*) :
4096
 
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; @%:@(
4097
 
  *) :
4098
 
     ;;
4099
 
esac
4100
 
case `$CC -dumpversion` in @%:@(
4101
 
  3.@<:@234@:>@.* | 4.*) :
4102
 
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; @%:@(
4103
 
  *) :
4104
 
     ;;
4105
 
esac
4106
 
if test "x$enable_compiler_warnings" != xmin; then
4107
 
  kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4108
 
  kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4109
 
  if test "x$enable_compiler_warnings" != xyes; then
4110
 
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4111
 
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4112
 
    case `$CC -dumpversion` in @%:@(
4113
 
  3.4.* | 4.*) :
4114
 
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; @%:@(
4115
 
  *) :
4116
 
     ;;
4117
 
esac
4118
 
    if test "x$enable_compiler_warnings" != xmax; then
4119
 
      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4120
 
    fi
4121
 
  fi
4122
 
fi
4123
 
else
4124
 
  kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4125
 
fi
4126
 
fi
4127
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4128
 
$as_echo "$kpse_cv_warning_cflags" >&6; }
4129
 
WARNING_CFLAGS=$kpse_cv_warning_cflags
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
# Checks for header files.
4138
 
 
4139
 
ac_ext=c
4140
 
ac_cpp='$CPP $CPPFLAGS'
4141
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4144
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4145
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4146
 
# On Suns, sometimes $CPP names a directory.
4147
 
if test -n "$CPP" && test -d "$CPP"; then
4148
 
  CPP=
4149
 
fi
4150
 
if test -z "$CPP"; then
4151
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
4152
 
  $as_echo_n "(cached) " >&6
4153
 
else
4154
 
      # Double quotes because CPP needs to be expanded
4155
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4156
 
    do
4157
 
      ac_preproc_ok=false
4158
 
for ac_c_preproc_warn_flag in '' yes
4159
 
do
4160
 
  # Use a header file that comes with gcc, so configuring glibc
4161
 
  # with a fresh cross-compiler works.
4162
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4163
 
  # <limits.h> exists even on freestanding compilers.
4164
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4165
 
  # not just through cpp. "Syntax error" is here to catch this case.
4166
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167
 
/* end confdefs.h.  */
4168
 
@%:@ifdef __STDC__
4169
 
@%:@ include <limits.h>
4170
 
@%:@else
4171
 
@%:@ include <assert.h>
4172
 
@%:@endif
4173
 
                     Syntax error
4174
 
_ACEOF
4175
 
if ac_fn_c_try_cpp "$LINENO"; then :
4176
 
  
4177
 
else
4178
 
  # Broken: fails on valid input.
4179
 
continue
4180
 
fi
4181
 
rm -f conftest.err conftest.$ac_ext
4182
 
 
4183
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4184
 
  # can be detected and how.
4185
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186
 
/* end confdefs.h.  */
4187
 
@%:@include <ac_nonexistent.h>
4188
 
_ACEOF
4189
 
if ac_fn_c_try_cpp "$LINENO"; then :
4190
 
  # Broken: success on invalid input.
4191
 
continue
4192
 
else
4193
 
  # Passes both tests.
4194
 
ac_preproc_ok=:
4195
 
break
4196
 
fi
4197
 
rm -f conftest.err conftest.$ac_ext
4198
 
 
4199
 
done
4200
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4201
 
rm -f conftest.err conftest.$ac_ext
4202
 
if $ac_preproc_ok; then :
4203
 
  break
4204
 
fi
4205
 
 
4206
 
    done
4207
 
    ac_cv_prog_CPP=$CPP
4208
 
  
4209
 
fi
4210
 
  CPP=$ac_cv_prog_CPP
4211
 
else
4212
 
  ac_cv_prog_CPP=$CPP
4213
 
fi
4214
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4215
 
$as_echo "$CPP" >&6; }
4216
 
ac_preproc_ok=false
4217
 
for ac_c_preproc_warn_flag in '' yes
4218
 
do
4219
 
  # Use a header file that comes with gcc, so configuring glibc
4220
 
  # with a fresh cross-compiler works.
4221
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4222
 
  # <limits.h> exists even on freestanding compilers.
4223
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4224
 
  # not just through cpp. "Syntax error" is here to catch this case.
4225
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226
 
/* end confdefs.h.  */
4227
 
@%:@ifdef __STDC__
4228
 
@%:@ include <limits.h>
4229
 
@%:@else
4230
 
@%:@ include <assert.h>
4231
 
@%:@endif
4232
 
                     Syntax error
4233
 
_ACEOF
4234
 
if ac_fn_c_try_cpp "$LINENO"; then :
4235
 
  
4236
 
else
4237
 
  # Broken: fails on valid input.
4238
 
continue
4239
 
fi
4240
 
rm -f conftest.err conftest.$ac_ext
4241
 
 
4242
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4243
 
  # can be detected and how.
4244
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245
 
/* end confdefs.h.  */
4246
 
@%:@include <ac_nonexistent.h>
4247
 
_ACEOF
4248
 
if ac_fn_c_try_cpp "$LINENO"; then :
4249
 
  # Broken: success on invalid input.
4250
 
continue
4251
 
else
4252
 
  # Passes both tests.
4253
 
ac_preproc_ok=:
4254
 
break
4255
 
fi
4256
 
rm -f conftest.err conftest.$ac_ext
4257
 
 
4258
 
done
4259
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4260
 
rm -f conftest.err conftest.$ac_ext
4261
 
if $ac_preproc_ok; then :
4262
 
  
4263
 
else
4264
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4267
 
See \`config.log' for more details." "$LINENO" 5; }
4268
 
fi
4269
 
 
4270
 
ac_ext=c
4271
 
ac_cpp='$CPP $CPPFLAGS'
4272
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4273
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4274
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4275
 
 
4276
 
 
4277
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4278
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4279
 
if test "${ac_cv_path_GREP+set}" = set; then :
4280
 
  $as_echo_n "(cached) " >&6
4281
 
else
4282
 
  if test -z "$GREP"; then
4283
 
  ac_path_GREP_found=false
4284
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4285
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4287
 
do
4288
 
  IFS=$as_save_IFS
4289
 
  test -z "$as_dir" && as_dir=.
4290
 
    for ac_prog in grep ggrep; do
4291
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4292
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4293
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4294
 
# Check for GNU ac_path_GREP and select it if it is found.
4295
 
  # Check for GNU $ac_path_GREP
4296
 
case `"$ac_path_GREP" --version 2>&1` in
4297
 
*GNU*)
4298
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4299
 
*)
4300
 
  ac_count=0
4301
 
  $as_echo_n 0123456789 >"conftest.in"
4302
 
  while :
4303
 
  do
4304
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4305
 
    mv "conftest.tmp" "conftest.in"
4306
 
    cp "conftest.in" "conftest.nl"
4307
 
    $as_echo 'GREP' >> "conftest.nl"
4308
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4309
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4310
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4311
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4312
 
      # Best one so far, save it but keep looking for a better one
4313
 
      ac_cv_path_GREP="$ac_path_GREP"
4314
 
      ac_path_GREP_max=$ac_count
4315
 
    fi
4316
 
    # 10*(2^10) chars as input seems more than enough
4317
 
    test $ac_count -gt 10 && break
4318
 
  done
4319
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4320
 
esac
4321
 
 
4322
 
      $ac_path_GREP_found && break 3
4323
 
    done
4324
 
  done
4325
 
  done
4326
 
IFS=$as_save_IFS
4327
 
  if test -z "$ac_cv_path_GREP"; then
4328
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4329
 
  fi
4330
 
else
4331
 
  ac_cv_path_GREP=$GREP
4332
 
fi
4333
 
 
4334
 
fi
4335
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4336
 
$as_echo "$ac_cv_path_GREP" >&6; }
4337
 
 GREP="$ac_cv_path_GREP"
4338
 
 
4339
 
 
4340
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4341
 
$as_echo_n "checking for egrep... " >&6; }
4342
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4343
 
  $as_echo_n "(cached) " >&6
4344
 
else
4345
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4346
 
   then ac_cv_path_EGREP="$GREP -E"
4347
 
   else
4348
 
     if test -z "$EGREP"; then
4349
 
  ac_path_EGREP_found=false
4350
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4351
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4353
 
do
4354
 
  IFS=$as_save_IFS
4355
 
  test -z "$as_dir" && as_dir=.
4356
 
    for ac_prog in egrep; do
4357
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4358
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4359
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4360
 
# Check for GNU ac_path_EGREP and select it if it is found.
4361
 
  # Check for GNU $ac_path_EGREP
4362
 
case `"$ac_path_EGREP" --version 2>&1` in
4363
 
*GNU*)
4364
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4365
 
*)
4366
 
  ac_count=0
4367
 
  $as_echo_n 0123456789 >"conftest.in"
4368
 
  while :
4369
 
  do
4370
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4371
 
    mv "conftest.tmp" "conftest.in"
4372
 
    cp "conftest.in" "conftest.nl"
4373
 
    $as_echo 'EGREP' >> "conftest.nl"
4374
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4375
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4376
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4377
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4378
 
      # Best one so far, save it but keep looking for a better one
4379
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4380
 
      ac_path_EGREP_max=$ac_count
4381
 
    fi
4382
 
    # 10*(2^10) chars as input seems more than enough
4383
 
    test $ac_count -gt 10 && break
4384
 
  done
4385
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4386
 
esac
4387
 
 
4388
 
      $ac_path_EGREP_found && break 3
4389
 
    done
4390
 
  done
4391
 
  done
4392
 
IFS=$as_save_IFS
4393
 
  if test -z "$ac_cv_path_EGREP"; then
4394
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4395
 
  fi
4396
 
else
4397
 
  ac_cv_path_EGREP=$EGREP
4398
 
fi
4399
 
 
4400
 
   fi
4401
 
fi
4402
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4403
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4404
 
 EGREP="$ac_cv_path_EGREP"
4405
 
 
4406
 
 
4407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4408
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4409
 
if test "${ac_cv_header_stdc+set}" = set; then :
4410
 
  $as_echo_n "(cached) " >&6
4411
 
else
4412
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413
 
/* end confdefs.h.  */
4414
 
#include <stdlib.h>
4415
 
#include <stdarg.h>
4416
 
#include <string.h>
4417
 
#include <float.h>
4418
 
 
4419
 
int
4420
 
main ()
4421
 
{
4422
 
 
4423
 
  ;
4424
 
  return 0;
4425
 
}
4426
 
_ACEOF
4427
 
if ac_fn_c_try_compile "$LINENO"; then :
4428
 
  ac_cv_header_stdc=yes
4429
 
else
4430
 
  ac_cv_header_stdc=no
4431
 
fi
4432
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433
 
 
4434
 
if test $ac_cv_header_stdc = yes; then
4435
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4436
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437
 
/* end confdefs.h.  */
4438
 
#include <string.h>
4439
 
 
4440
 
_ACEOF
4441
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4442
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4443
 
  
4444
 
else
4445
 
  ac_cv_header_stdc=no
4446
 
fi
4447
 
rm -f conftest*
4448
 
 
4449
 
fi
4450
 
 
4451
 
if test $ac_cv_header_stdc = yes; then
4452
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4453
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454
 
/* end confdefs.h.  */
4455
 
#include <stdlib.h>
4456
 
 
4457
 
_ACEOF
4458
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4459
 
  $EGREP "free" >/dev/null 2>&1; then :
4460
 
  
4461
 
else
4462
 
  ac_cv_header_stdc=no
4463
 
fi
4464
 
rm -f conftest*
4465
 
 
4466
 
fi
4467
 
 
4468
 
if test $ac_cv_header_stdc = yes; then
4469
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4470
 
  if test "$cross_compiling" = yes; then :
4471
 
  :
4472
 
else
4473
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474
 
/* end confdefs.h.  */
4475
 
#include <ctype.h>
4476
 
#include <stdlib.h>
4477
 
#if ((' ' & 0x0FF) == 0x020)
4478
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4479
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4480
 
#else
4481
 
# define ISLOWER(c) \
4482
 
                   (('a' <= (c) && (c) <= 'i') \
4483
 
                     || ('j' <= (c) && (c) <= 'r') \
4484
 
                     || ('s' <= (c) && (c) <= 'z'))
4485
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4486
 
#endif
4487
 
 
4488
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4489
 
int
4490
 
main ()
4491
 
{
4492
 
  int i;
4493
 
  for (i = 0; i < 256; i++)
4494
 
    if (XOR (islower (i), ISLOWER (i))
4495
 
        || toupper (i) != TOUPPER (i))
4496
 
      return 2;
4497
 
  return 0;
4498
 
}
4499
 
_ACEOF
4500
 
if ac_fn_c_try_run "$LINENO"; then :
4501
 
  
4502
 
else
4503
 
  ac_cv_header_stdc=no
4504
 
fi
4505
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4506
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4507
 
fi
4508
 
 
4509
 
fi
4510
 
fi
4511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4512
 
$as_echo "$ac_cv_header_stdc" >&6; }
4513
 
if test $ac_cv_header_stdc = yes; then
4514
 
  
4515
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4516
 
 
4517
 
fi
4518
 
 
4519
 
ac_header_dirent=no
4520
 
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4521
 
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4523
 
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4524
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
4525
 
  $as_echo_n "(cached) " >&6
4526
 
else
4527
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528
 
/* end confdefs.h.  */
4529
 
#include <sys/types.h>
4530
 
#include <$ac_hdr>
4531
 
 
4532
 
int
4533
 
main ()
4534
 
{
4535
 
if ((DIR *) 0)
4536
 
return 0;
4537
 
  ;
4538
 
  return 0;
4539
 
}
4540
 
_ACEOF
4541
 
if ac_fn_c_try_compile "$LINENO"; then :
4542
 
  eval "$as_ac_Header=yes"
4543
 
else
4544
 
  eval "$as_ac_Header=no"
4545
 
fi
4546
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547
 
fi
4548
 
eval ac_res=\$$as_ac_Header
4549
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4550
 
$as_echo "$ac_res" >&6; }
4551
 
eval as_val=\$$as_ac_Header
4552
 
   if test "x$as_val" = x""yes; then :
4553
 
  cat >>confdefs.h <<_ACEOF
4554
 
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4555
 
_ACEOF
4556
 
 
4557
 
ac_header_dirent=$ac_hdr; break
4558
 
fi
4559
 
 
4560
 
done
4561
 
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4562
 
if test $ac_header_dirent = dirent.h; then
4563
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4564
 
$as_echo_n "checking for library containing opendir... " >&6; }
4565
 
if test "${ac_cv_search_opendir+set}" = set; then :
4566
 
  $as_echo_n "(cached) " >&6
4567
 
else
4568
 
  ac_func_search_save_LIBS=$LIBS
4569
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570
 
/* end confdefs.h.  */
4571
 
 
4572
 
/* Override any GCC internal prototype to avoid an error.
4573
 
   Use char because int might match the return type of a GCC
4574
 
   builtin and then its argument prototype would still apply.  */
4575
 
#ifdef __cplusplus
4576
 
extern "C"
4577
 
#endif
4578
 
char opendir ();
4579
 
int
4580
 
main ()
4581
 
{
4582
 
return opendir ();
4583
 
  ;
4584
 
  return 0;
4585
 
}
4586
 
_ACEOF
4587
 
for ac_lib in '' dir; do
4588
 
  if test -z "$ac_lib"; then
4589
 
    ac_res="none required"
4590
 
  else
4591
 
    ac_res=-l$ac_lib
4592
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4593
 
  fi
4594
 
  if ac_fn_c_try_link "$LINENO"; then :
4595
 
  ac_cv_search_opendir=$ac_res
4596
 
fi
4597
 
rm -f core conftest.err conftest.$ac_objext \
4598
 
    conftest$ac_exeext
4599
 
  if test "${ac_cv_search_opendir+set}" = set; then :
4600
 
  break
4601
 
fi
4602
 
done
4603
 
if test "${ac_cv_search_opendir+set}" = set; then :
4604
 
  
4605
 
else
4606
 
  ac_cv_search_opendir=no
4607
 
fi
4608
 
rm conftest.$ac_ext
4609
 
LIBS=$ac_func_search_save_LIBS
4610
 
fi
4611
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4612
 
$as_echo "$ac_cv_search_opendir" >&6; }
4613
 
ac_res=$ac_cv_search_opendir
4614
 
if test "$ac_res" != no; then :
4615
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4616
 
  
4617
 
fi
4618
 
 
4619
 
else
4620
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4621
 
$as_echo_n "checking for library containing opendir... " >&6; }
4622
 
if test "${ac_cv_search_opendir+set}" = set; then :
4623
 
  $as_echo_n "(cached) " >&6
4624
 
else
4625
 
  ac_func_search_save_LIBS=$LIBS
4626
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627
 
/* end confdefs.h.  */
4628
 
 
4629
 
/* Override any GCC internal prototype to avoid an error.
4630
 
   Use char because int might match the return type of a GCC
4631
 
   builtin and then its argument prototype would still apply.  */
4632
 
#ifdef __cplusplus
4633
 
extern "C"
4634
 
#endif
4635
 
char opendir ();
4636
 
int
4637
 
main ()
4638
 
{
4639
 
return opendir ();
4640
 
  ;
4641
 
  return 0;
4642
 
}
4643
 
_ACEOF
4644
 
for ac_lib in '' x; do
4645
 
  if test -z "$ac_lib"; then
4646
 
    ac_res="none required"
4647
 
  else
4648
 
    ac_res=-l$ac_lib
4649
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4650
 
  fi
4651
 
  if ac_fn_c_try_link "$LINENO"; then :
4652
 
  ac_cv_search_opendir=$ac_res
4653
 
fi
4654
 
rm -f core conftest.err conftest.$ac_objext \
4655
 
    conftest$ac_exeext
4656
 
  if test "${ac_cv_search_opendir+set}" = set; then :
4657
 
  break
4658
 
fi
4659
 
done
4660
 
if test "${ac_cv_search_opendir+set}" = set; then :
4661
 
  
4662
 
else
4663
 
  ac_cv_search_opendir=no
4664
 
fi
4665
 
rm conftest.$ac_ext
4666
 
LIBS=$ac_func_search_save_LIBS
4667
 
fi
4668
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4669
 
$as_echo "$ac_cv_search_opendir" >&6; }
4670
 
ac_res=$ac_cv_search_opendir
4671
 
if test "$ac_res" != no; then :
4672
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4673
 
  
4674
 
fi
4675
 
 
4676
 
fi
4677
 
 
4678
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4679
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4680
 
                  inttypes.h stdint.h unistd.h
4681
 
do :
4682
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4683
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4684
 
"
4685
 
eval as_val=\$$as_ac_Header
4686
 
   if test "x$as_val" = x""yes; then :
4687
 
  cat >>confdefs.h <<_ACEOF
4688
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4689
 
_ACEOF
4690
 
 
4691
 
fi
4692
 
 
4693
 
done
4694
 
 
4695
 
 
4696
 
for ac_header in stdint.h unistd.h windows.h sys/int_types.h
4697
 
do :
4698
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4699
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4700
 
eval as_val=\$$as_ac_Header
4701
 
   if test "x$as_val" = x""yes; then :
4702
 
  cat >>confdefs.h <<_ACEOF
4703
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4704
 
_ACEOF
4705
 
 
4706
 
fi
4707
 
 
4708
 
done
4709
 
 
4710
 
for ac_header in winnt.h winbase.h
4711
 
do :
4712
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4713
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <windows.h>
4714
 
"
4715
 
eval as_val=\$$as_ac_Header
4716
 
   if test "x$as_val" = x""yes; then :
4717
 
  cat >>confdefs.h <<_ACEOF
4718
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4719
 
_ACEOF
4720
 
 
4721
 
fi
4722
 
 
4723
 
done
4724
 
 
4725
 
for ac_header in sys/types.h sys/mman.h sys/stat.h sys/param.h
4726
 
do :
4727
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4728
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4729
 
eval as_val=\$$as_ac_Header
4730
 
   if test "x$as_val" = x""yes; then :
4731
 
  cat >>confdefs.h <<_ACEOF
4732
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4733
 
_ACEOF
4734
 
 
4735
 
fi
4736
 
 
4737
 
done
4738
 
 for ac_header in io.h direct.h byteswap.h
4739
 
do :
4740
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4741
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4742
 
eval as_val=\$$as_ac_Header
4743
 
   if test "x$as_val" = x""yes; then :
4744
 
  cat >>confdefs.h <<_ACEOF
4745
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4746
 
_ACEOF
4747
 
 
4748
 
fi
4749
 
 
4750
 
done
4751
 
 
4752
 
for ac_header in fnmatch.h
4753
 
do :
4754
 
  ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
4755
 
if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
4756
 
  cat >>confdefs.h <<_ACEOF
4757
 
@%:@define HAVE_FNMATCH_H 1
4758
 
_ACEOF
4759
 
 
4760
 
fi
4761
 
 
4762
 
done
4763
 
 
4764
 
 
4765
 
# ---------------------------------------------------------------
4766
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether can use mmap for file scanning" >&5
4767
 
$as_echo_n "checking whether can use mmap for file scanning... " >&6; }
4768
 
enable_mmap='no (just a bit slower)'
4769
 
test "x$ac_cv_header_winbase_h" = xyes && enable_mmap="yes, winbase.h"
4770
 
test "x$ac_cv_header_sys_mman_h" = xyes && enable_mmap="yes, sys/mman.h"
4771
 
case "$enable_mmap" in
4772
 
   yes*) ZZIPLIB_DEFINES='-D_USE_MMAP';;
4773
 
esac
4774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mmap" >&5
4775
 
$as_echo "$enable_mmap" >&6; }
4776
 
 
4777
 
 
4778
 
# Checks for typedefs, structures, and compiler characteristics.
4779
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4780
 
$as_echo_n "checking for inline... " >&6; }
4781
 
if test "${ac_cv_c_inline+set}" = set; then :
4782
 
  $as_echo_n "(cached) " >&6
4783
 
else
4784
 
  ac_cv_c_inline=no
4785
 
for ac_kw in inline __inline__ __inline; do
4786
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787
 
/* end confdefs.h.  */
4788
 
#ifndef __cplusplus
4789
 
typedef int foo_t;
4790
 
static $ac_kw foo_t static_foo () {return 0; }
4791
 
$ac_kw foo_t foo () {return 0; }
4792
 
#endif
4793
 
 
4794
 
_ACEOF
4795
 
if ac_fn_c_try_compile "$LINENO"; then :
4796
 
  ac_cv_c_inline=$ac_kw
4797
 
fi
4798
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799
 
  test "$ac_cv_c_inline" != no && break
4800
 
done
4801
 
 
4802
 
fi
4803
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4804
 
$as_echo "$ac_cv_c_inline" >&6; }
4805
 
 
4806
 
case $ac_cv_c_inline in
4807
 
  inline | yes) ;;
4808
 
  *)
4809
 
    case $ac_cv_c_inline in
4810
 
      no) ac_val=;;
4811
 
      *) ac_val=$ac_cv_c_inline;;
4812
 
    esac
4813
 
    cat >>confdefs.h <<_ACEOF
4814
 
#ifndef __cplusplus
4815
 
#define inline $ac_val
4816
 
#endif
4817
 
_ACEOF
4818
 
    ;;
4819
 
esac
4820
 
 
4821
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4822
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4823
 
if test "${ac_cv_c_const+set}" = set; then :
4824
 
  $as_echo_n "(cached) " >&6
4825
 
else
4826
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827
 
/* end confdefs.h.  */
4828
 
 
4829
 
int
4830
 
main ()
4831
 
{
4832
 
/* FIXME: Include the comments suggested by Paul. */
4833
 
#ifndef __cplusplus
4834
 
  /* Ultrix mips cc rejects this.  */
4835
 
  typedef int charset[2];
4836
 
  const charset cs;
4837
 
  /* SunOS 4.1.1 cc rejects this.  */
4838
 
  char const *const *pcpcc;
4839
 
  char **ppc;
4840
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
4841
 
  struct point {int x, y;};
4842
 
  static struct point const zero = {0,0};
4843
 
  /* AIX XL C 1.02.0.0 rejects this.
4844
 
     It does not let you subtract one const X* pointer from another in
4845
 
     an arm of an if-expression whose if-part is not a constant
4846
 
     expression */
4847
 
  const char *g = "string";
4848
 
  pcpcc = &g + (g ? g-g : 0);
4849
 
  /* HPUX 7.0 cc rejects these. */
4850
 
  ++pcpcc;
4851
 
  ppc = (char**) pcpcc;
4852
 
  pcpcc = (char const *const *) ppc;
4853
 
  { /* SCO 3.2v4 cc rejects this.  */
4854
 
    char *t;
4855
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
4856
 
 
4857
 
    *t++ = 0;
4858
 
    if (s) return 0;
4859
 
  }
4860
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4861
 
    int x[] = {25, 17};
4862
 
    const int *foo = &x[0];
4863
 
    ++foo;
4864
 
  }
4865
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4866
 
    typedef const int *iptr;
4867
 
    iptr p = 0;
4868
 
    ++p;
4869
 
  }
4870
 
  { /* AIX XL C 1.02.0.0 rejects this saying
4871
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4872
 
    struct s { int j; const int *ap[3]; };
4873
 
    struct s *b; b->j = 5;
4874
 
  }
4875
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4876
 
    const int foo = 10;
4877
 
    if (!foo) return 0;
4878
 
  }
4879
 
  return !cs[0] && !zero.x;
4880
 
#endif
4881
 
 
4882
 
  ;
4883
 
  return 0;
4884
 
}
4885
 
_ACEOF
4886
 
if ac_fn_c_try_compile "$LINENO"; then :
4887
 
  ac_cv_c_const=yes
4888
 
else
4889
 
  ac_cv_c_const=no
4890
 
fi
4891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892
 
fi
4893
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4894
 
$as_echo "$ac_cv_c_const" >&6; }
4895
 
if test $ac_cv_c_const = no; then
4896
 
  
4897
 
$as_echo "@%:@define const /**/" >>confdefs.h
4898
 
 
4899
 
fi
4900
 
 
4901
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
4902
 
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
4903
 
if test "${ac_cv_c_restrict+set}" = set; then :
4904
 
  $as_echo_n "(cached) " >&6
4905
 
else
4906
 
  ac_cv_c_restrict=no
4907
 
   # The order here caters to the fact that C++ does not require restrict.
4908
 
   for ac_kw in __restrict __restrict__ _Restrict restrict; do
4909
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910
 
/* end confdefs.h.  */
4911
 
typedef int * int_ptr;
4912
 
        int foo (int_ptr $ac_kw ip) {
4913
 
        return ip[0];
4914
 
       }
4915
 
int
4916
 
main ()
4917
 
{
4918
 
int s[1];
4919
 
        int * $ac_kw t = s;
4920
 
        t[0] = 0;
4921
 
        return foo(t)
4922
 
  ;
4923
 
  return 0;
4924
 
}
4925
 
_ACEOF
4926
 
if ac_fn_c_try_compile "$LINENO"; then :
4927
 
  ac_cv_c_restrict=$ac_kw
4928
 
fi
4929
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930
 
     test "$ac_cv_c_restrict" != no && break
4931
 
   done
4932
 
  
4933
 
fi
4934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
4935
 
$as_echo "$ac_cv_c_restrict" >&6; }
4936
 
 
4937
 
 case $ac_cv_c_restrict in
4938
 
   restrict) ;;
4939
 
   no) $as_echo "@%:@define restrict /**/" >>confdefs.h
4940
 
 ;;
4941
 
   *)  cat >>confdefs.h <<_ACEOF
4942
 
@%:@define restrict $ac_cv_c_restrict
4943
 
_ACEOF
4944
 
 ;;
4945
 
 esac
4946
 
 
4947
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4948
 
if test "x$ac_cv_type_size_t" = x""yes; then :
4949
 
  
4950
 
else
4951
 
  
4952
 
cat >>confdefs.h <<_ACEOF
4953
 
@%:@define size_t unsigned int
4954
 
_ACEOF
4955
 
 
4956
 
fi
4957
 
 
4958
 
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4959
 
if test "x$ac_cv_type_ssize_t" = x""yes; then :
4960
 
  
4961
 
else
4962
 
  
4963
 
cat >>confdefs.h <<_ACEOF
4964
 
@%:@define ssize_t int
4965
 
_ACEOF
4966
 
 
4967
 
fi
4968
 
 
4969
 
ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
4970
 
if test "x$ac_cv_type_off64_t" = x""yes; then :
4971
 
  
4972
 
else
4973
 
  
4974
 
cat >>confdefs.h <<_ACEOF
4975
 
@%:@define off64_t _zzip_off_t
4976
 
_ACEOF
4977
 
 
4978
 
fi
4979
 
 
4980
 
ac_fn_c_check_type "$LINENO" "__int64" "ac_cv_type___int64" "$ac_includes_default"
4981
 
if test "x$ac_cv_type___int64" = x""yes; then :
4982
 
  
4983
 
else
4984
 
  
4985
 
cat >>confdefs.h <<_ACEOF
4986
 
@%:@define __int64 long long
4987
 
_ACEOF
4988
 
 
4989
 
fi
4990
 
 
4991
 
# The cast to long int works around a bug in the HP C Compiler
4992
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4993
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4994
 
# This bug is HP SR number 8606223364.
4995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4996
 
$as_echo_n "checking size of short... " >&6; }
4997
 
if test "${ac_cv_sizeof_short+set}" = set; then :
4998
 
  $as_echo_n "(cached) " >&6
4999
 
else
5000
 
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
5001
 
  
5002
 
else
5003
 
  if test "$ac_cv_type_short" = yes; then
5004
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5005
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5006
 
{ as_fn_set_status 77
5007
 
as_fn_error "cannot compute sizeof (short)
5008
 
See \`config.log' for more details." "$LINENO" 5; }; }
5009
 
   else
5010
 
     ac_cv_sizeof_short=0
5011
 
   fi
5012
 
fi
5013
 
 
5014
 
fi
5015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
5016
 
$as_echo "$ac_cv_sizeof_short" >&6; }
5017
 
 
5018
 
 
5019
 
 
5020
 
cat >>confdefs.h <<_ACEOF
5021
 
@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
5022
 
_ACEOF
5023
 
 
5024
 
 
5025
 
# The cast to long int works around a bug in the HP C Compiler
5026
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5027
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5028
 
# This bug is HP SR number 8606223364.
5029
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5030
 
$as_echo_n "checking size of int... " >&6; }
5031
 
if test "${ac_cv_sizeof_int+set}" = set; then :
5032
 
  $as_echo_n "(cached) " >&6
5033
 
else
5034
 
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
5035
 
  
5036
 
else
5037
 
  if test "$ac_cv_type_int" = yes; then
5038
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5039
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5040
 
{ as_fn_set_status 77
5041
 
as_fn_error "cannot compute sizeof (int)
5042
 
See \`config.log' for more details." "$LINENO" 5; }; }
5043
 
   else
5044
 
     ac_cv_sizeof_int=0
5045
 
   fi
5046
 
fi
5047
 
 
5048
 
fi
5049
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5050
 
$as_echo "$ac_cv_sizeof_int" >&6; }
5051
 
 
5052
 
 
5053
 
 
5054
 
cat >>confdefs.h <<_ACEOF
5055
 
@%:@define SIZEOF_INT $ac_cv_sizeof_int
5056
 
_ACEOF
5057
 
 
5058
 
 
5059
 
# The cast to long int works around a bug in the HP C Compiler
5060
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5061
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5062
 
# This bug is HP SR number 8606223364.
5063
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5064
 
$as_echo_n "checking size of long... " >&6; }
5065
 
if test "${ac_cv_sizeof_long+set}" = set; then :
5066
 
  $as_echo_n "(cached) " >&6
5067
 
else
5068
 
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
5069
 
  
5070
 
else
5071
 
  if test "$ac_cv_type_long" = yes; then
5072
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5073
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5074
 
{ as_fn_set_status 77
5075
 
as_fn_error "cannot compute sizeof (long)
5076
 
See \`config.log' for more details." "$LINENO" 5; }; }
5077
 
   else
5078
 
     ac_cv_sizeof_long=0
5079
 
   fi
5080
 
fi
5081
 
 
5082
 
fi
5083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5084
 
$as_echo "$ac_cv_sizeof_long" >&6; }
5085
 
 
5086
 
 
5087
 
 
5088
 
cat >>confdefs.h <<_ACEOF
5089
 
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
5090
 
_ACEOF
5091
 
 
5092
 
 
5093
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5094
 
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5095
 
if test "${ac_cv_c_bigendian+set}" = set; then :
5096
 
  $as_echo_n "(cached) " >&6
5097
 
else
5098
 
  ac_cv_c_bigendian=unknown
5099
 
    # See if we're dealing with a universal compiler.
5100
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101
 
/* end confdefs.h.  */
5102
 
#ifndef __APPLE_CC__
5103
 
               not a universal capable compiler
5104
 
             #endif
5105
 
             typedef int dummy;
5106
 
            
5107
 
_ACEOF
5108
 
if ac_fn_c_try_compile "$LINENO"; then :
5109
 
  
5110
 
        # Check for potential -arch flags.  It is not universal unless
5111
 
        # there are at least two -arch flags with different values.
5112
 
        ac_arch=
5113
 
        ac_prev=
5114
 
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5115
 
         if test -n "$ac_prev"; then
5116
 
           case $ac_word in
5117
 
             i?86 | x86_64 | ppc | ppc64)
5118
 
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5119
 
                 ac_arch=$ac_word
5120
 
               else
5121
 
                 ac_cv_c_bigendian=universal
5122
 
                 break
5123
 
               fi
5124
 
               ;;
5125
 
           esac
5126
 
           ac_prev=
5127
 
         elif test "x$ac_word" = "x-arch"; then
5128
 
           ac_prev=arch
5129
 
         fi
5130
 
       done
5131
 
fi
5132
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5133
 
    if test $ac_cv_c_bigendian = unknown; then
5134
 
      # See if sys/param.h defines the BYTE_ORDER macro.
5135
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136
 
/* end confdefs.h.  */
5137
 
#include <sys/types.h>
5138
 
             #include <sys/param.h>
5139
 
           
5140
 
int
5141
 
main ()
5142
 
{
5143
 
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5144
 
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5145
 
                     && LITTLE_ENDIAN)
5146
 
              bogus endian macros
5147
 
             #endif
5148
 
           
5149
 
  ;
5150
 
  return 0;
5151
 
}
5152
 
_ACEOF
5153
 
if ac_fn_c_try_compile "$LINENO"; then :
5154
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
5155
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156
 
/* end confdefs.h.  */
5157
 
#include <sys/types.h>
5158
 
                #include <sys/param.h>
5159
 
              
5160
 
int
5161
 
main ()
5162
 
{
5163
 
#if BYTE_ORDER != BIG_ENDIAN
5164
 
                 not big endian
5165
 
                #endif
5166
 
              
5167
 
  ;
5168
 
  return 0;
5169
 
}
5170
 
_ACEOF
5171
 
if ac_fn_c_try_compile "$LINENO"; then :
5172
 
  ac_cv_c_bigendian=yes
5173
 
else
5174
 
  ac_cv_c_bigendian=no
5175
 
fi
5176
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5177
 
fi
5178
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5179
 
    fi
5180
 
    if test $ac_cv_c_bigendian = unknown; then
5181
 
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5182
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183
 
/* end confdefs.h.  */
5184
 
#include <limits.h>
5185
 
           
5186
 
int
5187
 
main ()
5188
 
{
5189
 
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5190
 
              bogus endian macros
5191
 
             #endif
5192
 
           
5193
 
  ;
5194
 
  return 0;
5195
 
}
5196
 
_ACEOF
5197
 
if ac_fn_c_try_compile "$LINENO"; then :
5198
 
  # It does; now see whether it defined to _BIG_ENDIAN or not.
5199
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200
 
/* end confdefs.h.  */
5201
 
#include <limits.h>
5202
 
              
5203
 
int
5204
 
main ()
5205
 
{
5206
 
#ifndef _BIG_ENDIAN
5207
 
                 not big endian
5208
 
                #endif
5209
 
              
5210
 
  ;
5211
 
  return 0;
5212
 
}
5213
 
_ACEOF
5214
 
if ac_fn_c_try_compile "$LINENO"; then :
5215
 
  ac_cv_c_bigendian=yes
5216
 
else
5217
 
  ac_cv_c_bigendian=no
5218
 
fi
5219
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5220
 
fi
5221
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5222
 
    fi
5223
 
    if test $ac_cv_c_bigendian = unknown; then
5224
 
      # Compile a test program.
5225
 
      if test "$cross_compiling" = yes; then :
5226
 
  # Try to guess by grepping values from an object file.
5227
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228
 
/* end confdefs.h.  */
5229
 
short int ascii_mm[] =
5230
 
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5231
 
                short int ascii_ii[] =
5232
 
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5233
 
                int use_ascii (int i) {
5234
 
                  return ascii_mm[i] + ascii_ii[i];
5235
 
                }
5236
 
                short int ebcdic_ii[] =
5237
 
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5238
 
                short int ebcdic_mm[] =
5239
 
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5240
 
                int use_ebcdic (int i) {
5241
 
                  return ebcdic_mm[i] + ebcdic_ii[i];
5242
 
                }
5243
 
                extern int foo;
5244
 
              
5245
 
int
5246
 
main ()
5247
 
{
5248
 
return use_ascii (foo) == use_ebcdic (foo);
5249
 
  ;
5250
 
  return 0;
5251
 
}
5252
 
_ACEOF
5253
 
if ac_fn_c_try_compile "$LINENO"; then :
5254
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5255
 
              ac_cv_c_bigendian=yes
5256
 
            fi
5257
 
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5258
 
              if test "$ac_cv_c_bigendian" = unknown; then
5259
 
                ac_cv_c_bigendian=no
5260
 
              else
5261
 
                # finding both strings is unlikely to happen, but who knows?
5262
 
                ac_cv_c_bigendian=unknown
5263
 
              fi
5264
 
            fi
5265
 
fi
5266
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5267
 
else
5268
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269
 
/* end confdefs.h.  */
5270
 
$ac_includes_default
5271
 
int
5272
 
main ()
5273
 
{
5274
 
 
5275
 
             /* Are we little or big endian?  From Harbison&Steele.  */
5276
 
             union
5277
 
             {
5278
 
               long int l;
5279
 
               char c[sizeof (long int)];
5280
 
             } u;
5281
 
             u.l = 1;
5282
 
             return u.c[sizeof (long int) - 1] == 1;
5283
 
           
5284
 
  ;
5285
 
  return 0;
5286
 
}
5287
 
_ACEOF
5288
 
if ac_fn_c_try_run "$LINENO"; then :
5289
 
  ac_cv_c_bigendian=no
5290
 
else
5291
 
  ac_cv_c_bigendian=yes
5292
 
fi
5293
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5294
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5295
 
fi
5296
 
 
5297
 
    fi
5298
 
fi
5299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5300
 
$as_echo "$ac_cv_c_bigendian" >&6; }
5301
 
 case $ac_cv_c_bigendian in #(
5302
 
   yes)
5303
 
     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
5304
 
;; #(
5305
 
   no)
5306
 
      ;; #(
5307
 
   universal)
5308
 
        
5309
 
$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5310
 
 
5311
 
     ;; #(
5312
 
   *)
5313
 
     as_fn_error "unknown endianness
5314
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5315
 
 esac
5316
 
 
5317
 
 
5318
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pointers to integers require aligned access" >&5
5319
 
$as_echo_n "checking if pointers to integers require aligned access... " >&6; }
5320
 
if test "${zziplib_cv_aligned_access+set}" = set; then :
5321
 
  $as_echo_n "(cached) " >&6
5322
 
else
5323
 
  if test "$cross_compiling" = yes; then :
5324
 
  case $host_cpu in @%:@(
5325
 
  alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1) :
5326
 
    zziplib_cv_aligned_access=yes ;; @%:@(
5327
 
  *) :
5328
 
    zziplib_cv_aligned_access=no ;;
5329
 
esac
5330
 
else
5331
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332
 
/* end confdefs.h.  */
5333
 
 
5334
 
#include <stdio.h>
5335
 
#include <stdlib.h>
5336
 
int
5337
 
main ()
5338
 
{
5339
 
 
5340
 
char* string = malloc(40);
5341
 
int i;
5342
 
for (i=0; i < 40; i++) string[i] = i;
5343
 
{
5344
 
   void* s = string;
5345
 
   int* p = s+1;
5346
 
   int* q = s+2;
5347
 
   if (*p == *q) { return 1; }
5348
 
}
5349
 
  ;
5350
 
  return 0;
5351
 
}
5352
 
_ACEOF
5353
 
if ac_fn_c_try_run "$LINENO"; then :
5354
 
  zziplib_cv_aligned_access=no
5355
 
else
5356
 
  zziplib_cv_aligned_access=yes
5357
 
fi
5358
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5359
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5360
 
fi
5361
 
 
5362
 
fi
5363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $zziplib_cv_aligned_access" >&5
5364
 
$as_echo "$zziplib_cv_aligned_access" >&6; }
5365
 
if test "x$zziplib_cv_aligned_access" = xyes ; then
5366
 
  
5367
 
$as_echo "@%:@define HAVE_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
5368
 
 
5369
 
fi
5370
 
 
5371
 
 
5372
 
# Checks for library functions.
5373
 
for ac_func in strcasecmp strndup
5374
 
do :
5375
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5376
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5377
 
eval as_val=\$$as_ac_var
5378
 
   if test "x$as_val" = x""yes; then :
5379
 
  cat >>confdefs.h <<_ACEOF
5380
 
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5381
 
_ACEOF
5382
 
 
5383
 
fi
5384
 
done
5385
 
 
5386
 
 
5387
 
## _KPSE_INIT: Initialize TL infrastructure
5388
 
kpse_BLD=`(cd "./../../." && pwd)`
5389
 
kpse_SRC=`(cd "$srcdir/../../." && pwd)`
5390
 
 
5391
 
## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
5392
 
 
5393
 
@%:@ Check whether --with-system-zlib was given.
5394
 
if test "${with_system_zlib+set}" = set; then :
5395
 
  withval=$with_system_zlib; 
5396
 
fi
5397
 
 
5398
 
@%:@ Check whether --with-zlib-includes was given.
5399
 
if test "${with_zlib_includes+set}" = set; then :
5400
 
  withval=$with_zlib_includes; 
5401
 
fi
5402
 
 
5403
 
@%:@ Check whether --with-zlib-libdir was given.
5404
 
if test "${with_zlib_libdir+set}" = set; then :
5405
 
  withval=$with_zlib_libdir; 
5406
 
fi
5407
 
if test "x$with_system_zlib" = xyes; then
5408
 
  if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
5409
 
  ZLIB_INCLUDES="-I$with_zlib_includes"
5410
 
fi
5411
 
ZLIB_LIBS="-lz"
5412
 
if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then
5413
 
  ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS"
5414
 
fi
5415
 
else
5416
 
  ZLIB_INCLUDES=`echo '-IBLD/libs/zlib/include' | sed \
5417
 
    -e "s,SRC/,$kpse_SRC/,g" \
5418
 
    -e "s,BLD/,$kpse_BLD/,g"`
5419
 
  ZLIB_LIBS=`echo 'BLD/libs/zlib/libz.a' | sed \
5420
 
    -e "s,BLD/,$kpse_BLD/,g"`
5421
 
  
5422
 
  ZLIB_DEPEND=`echo 'BLD/libs/zlib/libz.a' | sed \
5423
 
    -e 's,BLD/,${top_builddir}/../../,g'`
5424
 
   ZLIB_RULE='# Rebuild libz
5425
 
$(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
5426
 
        cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
5427
 
${top_builddir}/../../libs/zlib/include/zconf.h:
5428
 
        cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
5429
 
fi
5430
 
 
5431
 
 
5432
 
 if test "x$enable_build" != xno; then
5433
 
  build_TRUE=
5434
 
  build_FALSE='#'
5435
 
else
5436
 
  build_TRUE='#'
5437
 
  build_FALSE=
5438
 
fi
5439
 
 
5440
 
 
5441
 
if test "x$enable_build" != xno || test -f config.force; then
5442
 
 
5443
 
kpse_save_CPPFLAGS=$CPPFLAGS
5444
 
kpse_save_LIBS=$LIBS
5445
 
 
5446
 
eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
5447
 
eval LIBS=\"$ZLIB_LIBS \$LIBS\"
5448
 
 
5449
 
for ac_header in zlib.h
5450
 
do :
5451
 
  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
5452
 
if test "x$ac_cv_header_zlib_h" = x""yes; then :
5453
 
  cat >>confdefs.h <<_ACEOF
5454
 
@%:@define HAVE_ZLIB_H 1
5455
 
_ACEOF
5456
 
 
5457
 
fi
5458
 
 
5459
 
done
5460
 
 
5461
 
ac_fn_c_check_func "$LINENO" "zlibVersion" "ac_cv_func_zlibVersion"
5462
 
if test "x$ac_cv_func_zlibVersion" = x""yes; then :
5463
 
  
5464
 
else
5465
 
  as_fn_error "zlib not found" "$LINENO" 5
5466
 
fi
5467
 
 
5468
 
CPPFLAGS=$kpse_save_CPPFLAGS
5469
 
LIBS=$kpse_save_LIBS
5470
 
 
5471
 
 
5472
 
echo timestamp >config.force
5473
 
fi
5474
 
 
5475
 
ZZIPLIB_TREE=zziplib-0.13.58
5476
 
 
5477
 
 
5478
 
# -----------------------------------------------------------------------
5479
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
5480
 
$as_echo "creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
5481
 
test -d include || mkdir include
5482
 
sed -f $srcdir/$ZZIPLIB_TREE/zzip/_msvc.sed $srcdir/config.h.in >include/_msvc.in
5483
 
ac_config_headers="$ac_config_headers config.h"
5484
 
 
5485
 
ac_config_commands="$ac_config_commands include/zzip/_config.h"
5486
 
 
5487
 
ac_config_commands="$ac_config_commands include/zzip/_msvc.h"
5488
 
 
5489
 
 
5490
 
ac_config_files="$ac_config_files Makefile include/zzip/Makefile"
5491
 
 
5492
 
 
5493
 
cat >confcache <<\_ACEOF
5494
 
# This file is a shell script that caches the results of configure
5495
 
# tests run on this system so they can be shared between configure
5496
 
# scripts and configure runs, see configure's option --config-cache.
5497
 
# It is not useful on other systems.  If it contains results you don't
5498
 
# want to keep, you may remove or edit it.
5499
 
#
5500
 
# config.status only pays attention to the cache file if you give it
5501
 
# the --recheck option to rerun configure.
5502
 
#
5503
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5504
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5505
 
# following values.
5506
 
 
5507
 
_ACEOF
5508
 
 
5509
 
# The following way of writing the cache mishandles newlines in values,
5510
 
# but we know of no workaround that is simple, portable, and efficient.
5511
 
# So, we kill variables containing newlines.
5512
 
# Ultrix sh set writes to stderr and can't be redirected directly,
5513
 
# and sets the high bit in the cache file unless we assign to the vars.
5514
 
(
5515
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5516
 
    eval ac_val=\$$ac_var
5517
 
    case $ac_val in #(
5518
 
    *${as_nl}*)
5519
 
      case $ac_var in #(
5520
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5521
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5522
 
      esac
5523
 
      case $ac_var in #(
5524
 
      _ | IFS | as_nl) ;; #(
5525
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5526
 
      *) { eval $ac_var=; unset $ac_var;} ;;
5527
 
      esac ;;
5528
 
    esac
5529
 
  done
5530
 
 
5531
 
  (set) 2>&1 |
5532
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5533
 
    *${as_nl}ac_space=\ *)
5534
 
      # `set' does not quote correctly, so add quotes: double-quote
5535
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5536
 
      sed -n \
5537
 
        "s/'/'\\\\''/g;
5538
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5539
 
      ;; #(
5540
 
    *)
5541
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
5542
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5543
 
      ;;
5544
 
    esac |
5545
 
    sort
5546
 
) |
5547
 
  sed '
5548
 
     /^ac_cv_env_/b end
5549
 
     t clear
5550
 
     :clear
5551
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5552
 
     t end
5553
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5554
 
     :end' >>confcache
5555
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5556
 
  if test -w "$cache_file"; then
5557
 
    test "x$cache_file" != "x/dev/null" &&
5558
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5559
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
5560
 
    cat confcache >$cache_file
5561
 
  else
5562
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5563
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5564
 
  fi
5565
 
fi
5566
 
rm -f confcache
5567
 
 
5568
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5569
 
# Let make expand exec_prefix.
5570
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5571
 
 
5572
 
DEFS=-DHAVE_CONFIG_H
5573
 
 
5574
 
ac_libobjs=
5575
 
ac_ltlibobjs=
5576
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5577
 
  # 1. Remove the extension, and $U if already installed.
5578
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5579
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5580
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5581
 
  #    will be set to the directory where LIBOBJS objects are built.
5582
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5583
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5584
 
done
5585
 
LIB@&t@OBJS=$ac_libobjs
5586
 
 
5587
 
LTLIBOBJS=$ac_ltlibobjs
5588
 
 
5589
 
 
5590
 
 if test -n "$EXEEXT"; then
5591
 
  am__EXEEXT_TRUE=
5592
 
  am__EXEEXT_FALSE='#'
5593
 
else
5594
 
  am__EXEEXT_TRUE='#'
5595
 
  am__EXEEXT_FALSE=
5596
 
fi
5597
 
 
5598
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5599
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5600
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5601
 
fi
5602
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5603
 
  as_fn_error "conditional \"AMDEP\" was never defined.
5604
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5605
 
fi
5606
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5607
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
5608
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5609
 
fi
5610
 
 
5611
 
if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
5612
 
  as_fn_error "conditional \"build\" was never defined.
5613
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5614
 
fi
5615
 
 
5616
 
: ${CONFIG_STATUS=./config.status}
5617
 
ac_write_fail=0
5618
 
ac_clean_files_save=$ac_clean_files
5619
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5620
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5621
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5622
 
as_write_fail=0
5623
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5624
 
#! $SHELL
5625
 
# Generated by $as_me.
5626
 
# Run this file to recreate the current configuration.
5627
 
# Compiler output produced by configure, useful for debugging
5628
 
# configure, is in config.log if it exists.
5629
 
 
5630
 
debug=false
5631
 
ac_cs_recheck=false
5632
 
ac_cs_silent=false
5633
 
 
5634
 
SHELL=\${CONFIG_SHELL-$SHELL}
5635
 
export SHELL
5636
 
_ASEOF
5637
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5638
 
## -------------------- ##
5639
 
## M4sh Initialization. ##
5640
 
## -------------------- ##
5641
 
 
5642
 
# Be more Bourne compatible
5643
 
DUALCASE=1; export DUALCASE # for MKS sh
5644
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5645
 
  emulate sh
5646
 
  NULLCMD=:
5647
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5648
 
  # is contrary to our usage.  Disable this feature.
5649
 
  alias -g '${1+"$@"}'='"$@"'
5650
 
  setopt NO_GLOB_SUBST
5651
 
else
5652
 
  case `(set -o) 2>/dev/null` in @%:@(
5653
 
  *posix*) :
5654
 
    set -o posix ;; @%:@(
5655
 
  *) :
5656
 
     ;;
5657
 
esac
5658
 
fi
5659
 
 
5660
 
 
5661
 
as_nl='
5662
 
'
5663
 
export as_nl
5664
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5665
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5666
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5667
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5668
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
5669
 
# but without wasting forks for bash or zsh.
5670
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
5671
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5672
 
  as_echo='print -r --'
5673
 
  as_echo_n='print -rn --'
5674
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5675
 
  as_echo='printf %s\n'
5676
 
  as_echo_n='printf %s'
5677
 
else
5678
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5679
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5680
 
    as_echo_n='/usr/ucb/echo -n'
5681
 
  else
5682
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5683
 
    as_echo_n_body='eval
5684
 
      arg=$1;
5685
 
      case $arg in @%:@(
5686
 
      *"$as_nl"*)
5687
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
5688
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5689
 
      esac;
5690
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5691
 
    '
5692
 
    export as_echo_n_body
5693
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
5694
 
  fi
5695
 
  export as_echo_body
5696
 
  as_echo='sh -c $as_echo_body as_echo'
5697
 
fi
5698
 
 
5699
 
# The user is always right.
5700
 
if test "${PATH_SEPARATOR+set}" != set; then
5701
 
  PATH_SEPARATOR=:
5702
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5703
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5704
 
      PATH_SEPARATOR=';'
5705
 
  }
5706
 
fi
5707
 
 
5708
 
 
5709
 
# IFS
5710
 
# We need space, tab and new line, in precisely that order.  Quoting is
5711
 
# there to prevent editors from complaining about space-tab.
5712
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5713
 
# splitting by setting IFS to empty value.)
5714
 
IFS=" ""        $as_nl"
5715
 
 
5716
 
# Find who we are.  Look in the path if we contain no directory separator.
5717
 
case $0 in @%:@((
5718
 
  *[\\/]* ) as_myself=$0 ;;
5719
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720
 
for as_dir in $PATH
5721
 
do
5722
 
  IFS=$as_save_IFS
5723
 
  test -z "$as_dir" && as_dir=.
5724
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5725
 
  done
5726
 
IFS=$as_save_IFS
5727
 
 
5728
 
     ;;
5729
 
esac
5730
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
5731
 
# in which case we are not to be found in the path.
5732
 
if test "x$as_myself" = x; then
5733
 
  as_myself=$0
5734
 
fi
5735
 
if test ! -f "$as_myself"; then
5736
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5737
 
  exit 1
5738
 
fi
5739
 
 
5740
 
# Unset variables that we do not need and which cause bugs (e.g. in
5741
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5742
 
# suppresses any "Segmentation fault" message there.  '((' could
5743
 
# trigger a bug in pdksh 5.2.14.
5744
 
for as_var in BASH_ENV ENV MAIL MAILPATH
5745
 
do eval test x\${$as_var+set} = xset \
5746
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5747
 
done
5748
 
PS1='$ '
5749
 
PS2='> '
5750
 
PS4='+ '
5751
 
 
5752
 
# NLS nuisances.
5753
 
LC_ALL=C
5754
 
export LC_ALL
5755
 
LANGUAGE=C
5756
 
export LANGUAGE
5757
 
 
5758
 
# CDPATH.
5759
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5760
 
 
5761
 
 
5762
 
@%:@ as_fn_error ERROR [LINENO LOG_FD]
5763
 
@%:@ ---------------------------------
5764
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5765
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5766
 
@%:@ script with status @S|@?, using 1 if that was 0.
5767
 
as_fn_error ()
5768
 
{
5769
 
  as_status=$?; test $as_status -eq 0 && as_status=1
5770
 
  if test "$3"; then
5771
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5772
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5773
 
  fi
5774
 
  $as_echo "$as_me: error: $1" >&2
5775
 
  as_fn_exit $as_status
5776
 
} @%:@ as_fn_error
5777
 
 
5778
 
 
5779
 
@%:@ as_fn_set_status STATUS
5780
 
@%:@ -----------------------
5781
 
@%:@ Set @S|@? to STATUS, without forking.
5782
 
as_fn_set_status ()
5783
 
{
5784
 
  return $1
5785
 
} @%:@ as_fn_set_status
5786
 
 
5787
 
@%:@ as_fn_exit STATUS
5788
 
@%:@ -----------------
5789
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5790
 
as_fn_exit ()
5791
 
{
5792
 
  set +e
5793
 
  as_fn_set_status $1
5794
 
  exit $1
5795
 
} @%:@ as_fn_exit
5796
 
 
5797
 
@%:@ as_fn_unset VAR
5798
 
@%:@ ---------------
5799
 
@%:@ Portably unset VAR.
5800
 
as_fn_unset ()
5801
 
{
5802
 
  { eval $1=; unset $1;}
5803
 
}
5804
 
as_unset=as_fn_unset
5805
 
@%:@ as_fn_append VAR VALUE
5806
 
@%:@ ----------------------
5807
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
5808
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
5809
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
5810
 
@%:@ implementations.
5811
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5812
 
  eval 'as_fn_append ()
5813
 
  {
5814
 
    eval $1+=\$2
5815
 
  }'
5816
 
else
5817
 
  as_fn_append ()
5818
 
  {
5819
 
    eval $1=\$$1\$2
5820
 
  }
5821
 
fi # as_fn_append
5822
 
 
5823
 
@%:@ as_fn_arith ARG...
5824
 
@%:@ ------------------
5825
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
5826
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
5827
 
@%:@ must be portable across @S|@(()) and expr.
5828
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5829
 
  eval 'as_fn_arith ()
5830
 
  {
5831
 
    as_val=$(( $* ))
5832
 
  }'
5833
 
else
5834
 
  as_fn_arith ()
5835
 
  {
5836
 
    as_val=`expr "$@" || test $? -eq 1`
5837
 
  }
5838
 
fi # as_fn_arith
5839
 
 
5840
 
 
5841
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5842
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5843
 
  as_expr=expr
5844
 
else
5845
 
  as_expr=false
5846
 
fi
5847
 
 
5848
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5849
 
  as_basename=basename
5850
 
else
5851
 
  as_basename=false
5852
 
fi
5853
 
 
5854
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5855
 
  as_dirname=dirname
5856
 
else
5857
 
  as_dirname=false
5858
 
fi
5859
 
 
5860
 
as_me=`$as_basename -- "$0" ||
5861
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5862
 
         X"$0" : 'X\(//\)$' \| \
5863
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5864
 
$as_echo X/"$0" |
5865
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5866
 
            s//\1/
5867
 
            q
5868
 
          }
5869
 
          /^X\/\(\/\/\)$/{
5870
 
            s//\1/
5871
 
            q
5872
 
          }
5873
 
          /^X\/\(\/\).*/{
5874
 
            s//\1/
5875
 
            q
5876
 
          }
5877
 
          s/.*/./; q'`
5878
 
 
5879
 
# Avoid depending upon Character Ranges.
5880
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5881
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5882
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5883
 
as_cr_digits='0123456789'
5884
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5885
 
 
5886
 
ECHO_C= ECHO_N= ECHO_T=
5887
 
case `echo -n x` in @%:@(((((
5888
 
-n*)
5889
 
  case `echo 'xy\c'` in
5890
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5891
 
  xy)  ECHO_C='\c';;
5892
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5893
 
       ECHO_T=' ';;
5894
 
  esac;;
5895
 
*)
5896
 
  ECHO_N='-n';;
5897
 
esac
5898
 
 
5899
 
rm -f conf$$ conf$$.exe conf$$.file
5900
 
if test -d conf$$.dir; then
5901
 
  rm -f conf$$.dir/conf$$.file
5902
 
else
5903
 
  rm -f conf$$.dir
5904
 
  mkdir conf$$.dir 2>/dev/null
5905
 
fi
5906
 
if (echo >conf$$.file) 2>/dev/null; then
5907
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
5908
 
    as_ln_s='ln -s'
5909
 
    # ... but there are two gotchas:
5910
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5911
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5912
 
    # In both cases, we have to default to `cp -p'.
5913
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5914
 
      as_ln_s='cp -p'
5915
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
5916
 
    as_ln_s=ln
5917
 
  else
5918
 
    as_ln_s='cp -p'
5919
 
  fi
5920
 
else
5921
 
  as_ln_s='cp -p'
5922
 
fi
5923
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5924
 
rmdir conf$$.dir 2>/dev/null
5925
 
 
5926
 
 
5927
 
@%:@ as_fn_mkdir_p
5928
 
@%:@ -------------
5929
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
5930
 
as_fn_mkdir_p ()
5931
 
{
5932
 
 
5933
 
  case $as_dir in #(
5934
 
  -*) as_dir=./$as_dir;;
5935
 
  esac
5936
 
  test -d "$as_dir" || eval $as_mkdir_p || {
5937
 
    as_dirs=
5938
 
    while :; do
5939
 
      case $as_dir in #(
5940
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5941
 
      *) as_qdir=$as_dir;;
5942
 
      esac
5943
 
      as_dirs="'$as_qdir' $as_dirs"
5944
 
      as_dir=`$as_dirname -- "$as_dir" ||
5945
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5946
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5947
 
         X"$as_dir" : 'X\(//\)$' \| \
5948
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5949
 
$as_echo X"$as_dir" |
5950
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5951
 
            s//\1/
5952
 
            q
5953
 
          }
5954
 
          /^X\(\/\/\)[^/].*/{
5955
 
            s//\1/
5956
 
            q
5957
 
          }
5958
 
          /^X\(\/\/\)$/{
5959
 
            s//\1/
5960
 
            q
5961
 
          }
5962
 
          /^X\(\/\).*/{
5963
 
            s//\1/
5964
 
            q
5965
 
          }
5966
 
          s/.*/./; q'`
5967
 
      test -d "$as_dir" && break
5968
 
    done
5969
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5970
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5971
 
 
5972
 
 
5973
 
} @%:@ as_fn_mkdir_p
5974
 
if mkdir -p . 2>/dev/null; then
5975
 
  as_mkdir_p='mkdir -p "$as_dir"'
5976
 
else
5977
 
  test -d ./-p && rmdir ./-p
5978
 
  as_mkdir_p=false
5979
 
fi
5980
 
 
5981
 
if test -x / >/dev/null 2>&1; then
5982
 
  as_test_x='test -x'
5983
 
else
5984
 
  if ls -dL / >/dev/null 2>&1; then
5985
 
    as_ls_L_option=L
5986
 
  else
5987
 
    as_ls_L_option=
5988
 
  fi
5989
 
  as_test_x='
5990
 
    eval sh -c '\''
5991
 
      if test -d "$1"; then
5992
 
        test -d "$1/.";
5993
 
      else
5994
 
        case $1 in @%:@(
5995
 
        -*)set "./$1";;
5996
 
        esac;
5997
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
5998
 
        ???[sx]*):;;*)false;;esac;fi
5999
 
    '\'' sh
6000
 
  '
6001
 
fi
6002
 
as_executable_p=$as_test_x
6003
 
 
6004
 
# Sed expression to map a string onto a valid CPP name.
6005
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6006
 
 
6007
 
# Sed expression to map a string onto a valid variable name.
6008
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6009
 
 
6010
 
 
6011
 
exec 6>&1
6012
 
## ----------------------------------- ##
6013
 
## Main body of $CONFIG_STATUS script. ##
6014
 
## ----------------------------------- ##
6015
 
_ASEOF
6016
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6017
 
 
6018
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6019
 
# Save the log message, to keep $0 and so on meaningful, and to
6020
 
# report actual input values of CONFIG_FILES etc. instead of their
6021
 
# values after options handling.
6022
 
ac_log="
6023
 
This file was extended by zziplib for TeX Live $as_me 0.13.58, which was
6024
 
generated by GNU Autoconf 2.65.  Invocation command line was
6025
 
 
6026
 
  CONFIG_FILES    = $CONFIG_FILES
6027
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
6028
 
  CONFIG_LINKS    = $CONFIG_LINKS
6029
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
6030
 
  $ $0 $@
6031
 
 
6032
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6033
 
"
6034
 
 
6035
 
_ACEOF
6036
 
 
6037
 
case $ac_config_files in *"
6038
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
6039
 
esac
6040
 
 
6041
 
case $ac_config_headers in *"
6042
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6043
 
esac
6044
 
 
6045
 
 
6046
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6047
 
# Files that config.status was made for.
6048
 
config_files="`echo $ac_config_files`"
6049
 
config_headers="`echo $ac_config_headers`"
6050
 
config_commands="`echo $ac_config_commands`"
6051
 
 
6052
 
_ACEOF
6053
 
 
6054
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6055
 
ac_cs_usage="\
6056
 
\`$as_me' instantiates files and other configuration actions
6057
 
from templates according to the current configuration.  Unless the files
6058
 
and actions are specified as TAGs, all are instantiated by default.
6059
 
 
6060
 
Usage: $0 [OPTION]... [TAG]...
6061
 
 
6062
 
  -h, --help       print this help, then exit
6063
 
  -V, --version    print version number and configuration settings, then exit
6064
 
      --config     print configuration, then exit
6065
 
  -q, --quiet, --silent
6066
 
                   do not print progress messages
6067
 
  -d, --debug      don't remove temporary files
6068
 
      --recheck    update $as_me by reconfiguring in the same conditions
6069
 
      --file=FILE[:TEMPLATE] 
6070
 
                   instantiate the configuration file FILE
6071
 
      --header=FILE[:TEMPLATE] 
6072
 
                   instantiate the configuration header FILE
6073
 
 
6074
 
Configuration files:
6075
 
$config_files
6076
 
 
6077
 
Configuration headers:
6078
 
$config_headers
6079
 
 
6080
 
Configuration commands:
6081
 
$config_commands
6082
 
 
6083
 
Report bugs to <tex-k@tug.org>."
6084
 
 
6085
 
_ACEOF
6086
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6087
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6088
 
ac_cs_version="\\
6089
 
zziplib for TeX Live config.status 0.13.58
6090
 
configured by $0, generated by GNU Autoconf 2.65,
6091
 
  with options \\"\$ac_cs_config\\"
6092
 
 
6093
 
Copyright (C) 2009 Free Software Foundation, Inc.
6094
 
This config.status script is free software; the Free Software Foundation
6095
 
gives unlimited permission to copy, distribute and modify it."
6096
 
 
6097
 
ac_pwd='$ac_pwd'
6098
 
srcdir='$srcdir'
6099
 
INSTALL='$INSTALL'
6100
 
MKDIR_P='$MKDIR_P'
6101
 
AWK='$AWK'
6102
 
test -n "\$AWK" || AWK=awk
6103
 
_ACEOF
6104
 
 
6105
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6106
 
# The default lists apply if the user does not specify any file.
6107
 
ac_need_defaults=:
6108
 
while test $# != 0
6109
 
do
6110
 
  case $1 in
6111
 
  --*=*)
6112
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6113
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6114
 
    ac_shift=:
6115
 
    ;;
6116
 
  *)
6117
 
    ac_option=$1
6118
 
    ac_optarg=$2
6119
 
    ac_shift=shift
6120
 
    ;;
6121
 
  esac
6122
 
 
6123
 
  case $ac_option in
6124
 
  # Handling of the options.
6125
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6126
 
    ac_cs_recheck=: ;;
6127
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6128
 
    $as_echo "$ac_cs_version"; exit ;;
6129
 
  --config | --confi | --conf | --con | --co | --c )
6130
 
    $as_echo "$ac_cs_config"; exit ;;
6131
 
  --debug | --debu | --deb | --de | --d | -d )
6132
 
    debug=: ;;
6133
 
  --file | --fil | --fi | --f )
6134
 
    $ac_shift
6135
 
    case $ac_optarg in
6136
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6137
 
    esac
6138
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
6139
 
    ac_need_defaults=false;;
6140
 
  --header | --heade | --head | --hea )
6141
 
    $ac_shift
6142
 
    case $ac_optarg in
6143
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6144
 
    esac
6145
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6146
 
    ac_need_defaults=false;;
6147
 
  --he | --h)
6148
 
    # Conflict between --help and --header
6149
 
    as_fn_error "ambiguous option: \`$1'
6150
 
Try \`$0 --help' for more information.";;
6151
 
  --help | --hel | -h )
6152
 
    $as_echo "$ac_cs_usage"; exit ;;
6153
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6154
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6155
 
    ac_cs_silent=: ;;
6156
 
 
6157
 
  # This is an error.
6158
 
  -*) as_fn_error "unrecognized option: \`$1'
6159
 
Try \`$0 --help' for more information." ;;
6160
 
 
6161
 
  *) as_fn_append ac_config_targets " $1"
6162
 
     ac_need_defaults=false ;;
6163
 
 
6164
 
  esac
6165
 
  shift
6166
 
done
6167
 
 
6168
 
ac_configure_extra_args=
6169
 
 
6170
 
if $ac_cs_silent; then
6171
 
  exec 6>/dev/null
6172
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
6173
 
fi
6174
 
 
6175
 
_ACEOF
6176
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6177
 
if \$ac_cs_recheck; then
6178
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6179
 
  shift
6180
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6181
 
  CONFIG_SHELL='$SHELL'
6182
 
  export CONFIG_SHELL
6183
 
  exec "\$@"
6184
 
fi
6185
 
 
6186
 
_ACEOF
6187
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6188
 
exec 5>>config.log
6189
 
{
6190
 
  echo
6191
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
6192
 
@%:@@%:@ Running $as_me. @%:@@%:@
6193
 
_ASBOX
6194
 
  $as_echo "$ac_log"
6195
 
} >&5
6196
 
 
6197
 
_ACEOF
6198
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6199
 
#
6200
 
# INIT-COMMANDS
6201
 
#
6202
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6203
 
PACKAGE="$PACKAGE"
6204
 
PACKAGE="$PACKAGE"
6205
 
 
6206
 
_ACEOF
6207
 
 
6208
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6209
 
 
6210
 
# Handling of arguments.
6211
 
for ac_config_target in $ac_config_targets
6212
 
do
6213
 
  case $ac_config_target in
6214
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6215
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6216
 
    "include/zzip/_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/zzip/_config.h" ;;
6217
 
    "include/zzip/_msvc.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/zzip/_msvc.h" ;;
6218
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6219
 
    "include/zzip/Makefile") CONFIG_FILES="$CONFIG_FILES include/zzip/Makefile" ;;
6220
 
 
6221
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6222
 
  esac
6223
 
done
6224
 
 
6225
 
 
6226
 
# If the user did not use the arguments to specify the items to instantiate,
6227
 
# then the envvar interface is used.  Set only those that are not.
6228
 
# We use the long form for the default assignment because of an extremely
6229
 
# bizarre bug on SunOS 4.1.3.
6230
 
if $ac_need_defaults; then
6231
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6232
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6233
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6234
 
fi
6235
 
 
6236
 
# Have a temporary directory for convenience.  Make it in the build tree
6237
 
# simply because there is no reason against having it here, and in addition,
6238
 
# creating and moving files from /tmp can sometimes cause problems.
6239
 
# Hook for its removal unless debugging.
6240
 
# Note that there is a small window in which the directory will not be cleaned:
6241
 
# after its creation but before its name has been assigned to `$tmp'.
6242
 
$debug ||
6243
 
{
6244
 
  tmp=
6245
 
  trap 'exit_status=$?
6246
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6247
 
' 0
6248
 
  trap 'as_fn_exit 1' 1 2 13 15
6249
 
}
6250
 
# Create a (secure) tmp directory for tmp files.
6251
 
 
6252
 
{
6253
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6254
 
  test -n "$tmp" && test -d "$tmp"
6255
 
}  ||
6256
 
{
6257
 
  tmp=./conf$$-$RANDOM
6258
 
  (umask 077 && mkdir "$tmp")
6259
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6260
 
 
6261
 
# Set up the scripts for CONFIG_FILES section.
6262
 
# No need to generate them if there are no CONFIG_FILES.
6263
 
# This happens for instance with `./config.status config.h'.
6264
 
if test -n "$CONFIG_FILES"; then
6265
 
 
6266
 
 
6267
 
ac_cr=`echo X | tr X '\015'`
6268
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6269
 
# But we know of no other shell where ac_cr would be empty at this
6270
 
# point, so we can use a bashism as a fallback.
6271
 
if test "x$ac_cr" = x; then
6272
 
  eval ac_cr=\$\'\\r\'
6273
 
fi
6274
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6275
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6276
 
  ac_cs_awk_cr='\r'
6277
 
else
6278
 
  ac_cs_awk_cr=$ac_cr
6279
 
fi
6280
 
 
6281
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
6282
 
_ACEOF
6283
 
 
6284
 
 
6285
 
{
6286
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
6287
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6288
 
  echo "_ACEOF"
6289
 
} >conf$$subs.sh ||
6290
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6291
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6292
 
ac_delim='%!_!# '
6293
 
for ac_last_try in false false false false false :; do
6294
 
  . ./conf$$subs.sh ||
6295
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6296
 
 
6297
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6298
 
  if test $ac_delim_n = $ac_delim_num; then
6299
 
    break
6300
 
  elif $ac_last_try; then
6301
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6302
 
  else
6303
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6304
 
  fi
6305
 
done
6306
 
rm -f conf$$subs.sh
6307
 
 
6308
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6309
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6310
 
_ACEOF
6311
 
sed -n '
6312
 
h
6313
 
s/^/S["/; s/!.*/"]=/
6314
 
p
6315
 
g
6316
 
s/^[^!]*!//
6317
 
:repl
6318
 
t repl
6319
 
s/'"$ac_delim"'$//
6320
 
t delim
6321
 
:nl
6322
 
h
6323
 
s/\(.\{148\}\)..*/\1/
6324
 
t more1
6325
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6326
 
p
6327
 
n
6328
 
b repl
6329
 
:more1
6330
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6331
 
p
6332
 
g
6333
 
s/.\{148\}//
6334
 
t nl
6335
 
:delim
6336
 
h
6337
 
s/\(.\{148\}\)..*/\1/
6338
 
t more2
6339
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
6340
 
p
6341
 
b
6342
 
:more2
6343
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6344
 
p
6345
 
g
6346
 
s/.\{148\}//
6347
 
t delim
6348
 
' <conf$$subs.awk | sed '
6349
 
/^[^""]/{
6350
 
  N
6351
 
  s/\n//
6352
 
}
6353
 
' >>$CONFIG_STATUS || ac_write_fail=1
6354
 
rm -f conf$$subs.awk
6355
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6356
 
_ACAWK
6357
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6358
 
  for (key in S) S_is_set[key] = 1
6359
 
  FS = ""
6360
 
 
6361
 
}
6362
 
{
6363
 
  line = $ 0
6364
 
  nfields = split(line, field, "@")
6365
 
  substed = 0
6366
 
  len = length(field[1])
6367
 
  for (i = 2; i < nfields; i++) {
6368
 
    key = field[i]
6369
 
    keylen = length(key)
6370
 
    if (S_is_set[key]) {
6371
 
      value = S[key]
6372
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6373
 
      len += length(value) + length(field[++i])
6374
 
      substed = 1
6375
 
    } else
6376
 
      len += 1 + keylen
6377
 
  }
6378
 
 
6379
 
  print line
6380
 
}
6381
 
 
6382
 
_ACAWK
6383
 
_ACEOF
6384
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6385
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6386
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6387
 
else
6388
 
  cat
6389
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6390
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
6391
 
_ACEOF
6392
 
 
6393
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6394
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6395
 
# trailing colons and then remove the whole line if VPATH becomes empty
6396
 
# (actually we leave an empty line to preserve line numbers).
6397
 
if test "x$srcdir" = x.; then
6398
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
6399
 
s/:*\$(srcdir):*/:/
6400
 
s/:*\${srcdir}:*/:/
6401
 
s/:*@srcdir@:*/:/
6402
 
s/^\([^=]*=[     ]*\):*/\1/
6403
 
s/:*$//
6404
 
s/^[^=]*=[       ]*$//
6405
 
}'
6406
 
fi
6407
 
 
6408
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6409
 
fi # test -n "$CONFIG_FILES"
6410
 
 
6411
 
# Set up the scripts for CONFIG_HEADERS section.
6412
 
# No need to generate them if there are no CONFIG_HEADERS.
6413
 
# This happens for instance with `./config.status Makefile'.
6414
 
if test -n "$CONFIG_HEADERS"; then
6415
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
6416
 
BEGIN {
6417
 
_ACEOF
6418
 
 
6419
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
6420
 
# here-document in config.status, that substitutes the proper values into
6421
 
# config.h.in to produce config.h.
6422
 
 
6423
 
# Create a delimiter string that does not exist in confdefs.h, to ease
6424
 
# handling of long lines.
6425
 
ac_delim='%!_!# '
6426
 
for ac_last_try in false false :; do
6427
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6428
 
  if test -z "$ac_t"; then
6429
 
    break
6430
 
  elif $ac_last_try; then
6431
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6432
 
  else
6433
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6434
 
  fi
6435
 
done
6436
 
 
6437
 
# For the awk script, D is an array of macro values keyed by name,
6438
 
# likewise P contains macro parameters if any.  Preserve backslash
6439
 
# newline sequences.
6440
 
 
6441
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6442
 
sed -n '
6443
 
s/.\{148\}/&'"$ac_delim"'/g
6444
 
t rset
6445
 
:rset
6446
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
6447
 
t def
6448
 
d
6449
 
:def
6450
 
s/\\$//
6451
 
t bsnl
6452
 
s/["\\]/\\&/g
6453
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6454
 
D["\1"]=" \3"/p
6455
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6456
 
d
6457
 
:bsnl
6458
 
s/["\\]/\\&/g
6459
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6460
 
D["\1"]=" \3\\\\\\n"\\/p
6461
 
t cont
6462
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6463
 
t cont
6464
 
d
6465
 
:cont
6466
 
n
6467
 
s/.\{148\}/&'"$ac_delim"'/g
6468
 
t clear
6469
 
:clear
6470
 
s/\\$//
6471
 
t bsnlc
6472
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6473
 
d
6474
 
:bsnlc
6475
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6476
 
b cont
6477
 
' <confdefs.h | sed '
6478
 
s/'"$ac_delim"'/"\\\
6479
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6480
 
 
6481
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6482
 
  for (key in D) D_is_set[key] = 1
6483
 
  FS = ""
6484
 
}
6485
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6486
 
  line = \$ 0
6487
 
  split(line, arg, " ")
6488
 
  if (arg[1] == "#") {
6489
 
    defundef = arg[2]
6490
 
    mac1 = arg[3]
6491
 
  } else {
6492
 
    defundef = substr(arg[1], 2)
6493
 
    mac1 = arg[2]
6494
 
  }
6495
 
  split(mac1, mac2, "(") #)
6496
 
  macro = mac2[1]
6497
 
  prefix = substr(line, 1, index(line, defundef) - 1)
6498
 
  if (D_is_set[macro]) {
6499
 
    # Preserve the white space surrounding the "#".
6500
 
    print prefix "define", macro P[macro] D[macro]
6501
 
    next
6502
 
  } else {
6503
 
    # Replace #undef with comments.  This is necessary, for example,
6504
 
    # in the case of _POSIX_SOURCE, which is predefined and required
6505
 
    # on some systems where configure will not decide to define it.
6506
 
    if (defundef == "undef") {
6507
 
      print "/*", prefix defundef, macro, "*/"
6508
 
      next
6509
 
    }
6510
 
  }
6511
 
}
6512
 
{ print }
6513
 
_ACAWK
6514
 
_ACEOF
6515
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6516
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
6517
 
fi # test -n "$CONFIG_HEADERS"
6518
 
 
6519
 
 
6520
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6521
 
shift
6522
 
for ac_tag
6523
 
do
6524
 
  case $ac_tag in
6525
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
6526
 
  esac
6527
 
  case $ac_mode$ac_tag in
6528
 
  :[FHL]*:*);;
6529
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6530
 
  :[FH]-) ac_tag=-:-;;
6531
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6532
 
  esac
6533
 
  ac_save_IFS=$IFS
6534
 
  IFS=:
6535
 
  set x $ac_tag
6536
 
  IFS=$ac_save_IFS
6537
 
  shift
6538
 
  ac_file=$1
6539
 
  shift
6540
 
 
6541
 
  case $ac_mode in
6542
 
  :L) ac_source=$1;;
6543
 
  :[FH])
6544
 
    ac_file_inputs=
6545
 
    for ac_f
6546
 
    do
6547
 
      case $ac_f in
6548
 
      -) ac_f="$tmp/stdin";;
6549
 
      *) # Look for the file first in the build tree, then in the source tree
6550
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6551
 
         # because $ac_f cannot contain `:'.
6552
 
         test -f "$ac_f" ||
6553
 
           case $ac_f in
6554
 
           [\\/$]*) false;;
6555
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6556
 
           esac ||
6557
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6558
 
      esac
6559
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6560
 
      as_fn_append ac_file_inputs " '$ac_f'"
6561
 
    done
6562
 
 
6563
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6564
 
    # use $as_me), people would be surprised to read:
6565
 
    #    /* config.h.  Generated by config.status.  */
6566
 
    configure_input='Generated from '`
6567
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6568
 
        `' by configure.'
6569
 
    if test x"$ac_file" != x-; then
6570
 
      configure_input="$ac_file.  $configure_input"
6571
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6572
 
$as_echo "$as_me: creating $ac_file" >&6;}
6573
 
    fi
6574
 
    # Neutralize special characters interpreted by sed in replacement strings.
6575
 
    case $configure_input in #(
6576
 
    *\&* | *\|* | *\\* )
6577
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
6578
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6579
 
    *) ac_sed_conf_input=$configure_input;;
6580
 
    esac
6581
 
 
6582
 
    case $ac_tag in
6583
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6584
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6585
 
    esac
6586
 
    ;;
6587
 
  esac
6588
 
 
6589
 
  ac_dir=`$as_dirname -- "$ac_file" ||
6590
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6591
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
6592
 
         X"$ac_file" : 'X\(//\)$' \| \
6593
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6594
 
$as_echo X"$ac_file" |
6595
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6596
 
            s//\1/
6597
 
            q
6598
 
          }
6599
 
          /^X\(\/\/\)[^/].*/{
6600
 
            s//\1/
6601
 
            q
6602
 
          }
6603
 
          /^X\(\/\/\)$/{
6604
 
            s//\1/
6605
 
            q
6606
 
          }
6607
 
          /^X\(\/\).*/{
6608
 
            s//\1/
6609
 
            q
6610
 
          }
6611
 
          s/.*/./; q'`
6612
 
  as_dir="$ac_dir"; as_fn_mkdir_p
6613
 
  ac_builddir=.
6614
 
 
6615
 
case "$ac_dir" in
6616
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6617
 
*)
6618
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6619
 
  # A ".." for each directory in $ac_dir_suffix.
6620
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6621
 
  case $ac_top_builddir_sub in
6622
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6623
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6624
 
  esac ;;
6625
 
esac
6626
 
ac_abs_top_builddir=$ac_pwd
6627
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6628
 
# for backward compatibility:
6629
 
ac_top_builddir=$ac_top_build_prefix
6630
 
 
6631
 
case $srcdir in
6632
 
  .)  # We are building in place.
6633
 
    ac_srcdir=.
6634
 
    ac_top_srcdir=$ac_top_builddir_sub
6635
 
    ac_abs_top_srcdir=$ac_pwd ;;
6636
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
6637
 
    ac_srcdir=$srcdir$ac_dir_suffix;
6638
 
    ac_top_srcdir=$srcdir
6639
 
    ac_abs_top_srcdir=$srcdir ;;
6640
 
  *) # Relative name.
6641
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6642
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
6643
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6644
 
esac
6645
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6646
 
 
6647
 
 
6648
 
  case $ac_mode in
6649
 
  :F)
6650
 
  #
6651
 
  # CONFIG_FILE
6652
 
  #
6653
 
 
6654
 
  case $INSTALL in
6655
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6656
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6657
 
  esac
6658
 
  ac_MKDIR_P=$MKDIR_P
6659
 
  case $MKDIR_P in
6660
 
  [\\/$]* | ?:[\\/]* ) ;;
6661
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6662
 
  esac
6663
 
_ACEOF
6664
 
 
6665
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6666
 
# If the template does not know about datarootdir, expand it.
6667
 
# FIXME: This hack should be removed a few years after 2.60.
6668
 
ac_datarootdir_hack=; ac_datarootdir_seen=
6669
 
ac_sed_dataroot='
6670
 
/datarootdir/ {
6671
 
  p
6672
 
  q
6673
 
}
6674
 
/@datadir@/p
6675
 
/@docdir@/p
6676
 
/@infodir@/p
6677
 
/@localedir@/p
6678
 
/@mandir@/p'
6679
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6680
 
*datarootdir*) ac_datarootdir_seen=yes;;
6681
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6683
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6684
 
_ACEOF
6685
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6686
 
  ac_datarootdir_hack='
6687
 
  s&@datadir@&$datadir&g
6688
 
  s&@docdir@&$docdir&g
6689
 
  s&@infodir@&$infodir&g
6690
 
  s&@localedir@&$localedir&g
6691
 
  s&@mandir@&$mandir&g
6692
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
6693
 
esac
6694
 
_ACEOF
6695
 
 
6696
 
# Neutralize VPATH when `$srcdir' = `.'.
6697
 
# Shell code in configure.ac might set extrasub.
6698
 
# FIXME: do we really want to maintain this feature?
6699
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6700
 
ac_sed_extra="$ac_vpsub
6701
 
$extrasub
6702
 
_ACEOF
6703
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6704
 
:t
6705
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6706
 
s|@configure_input@|$ac_sed_conf_input|;t t
6707
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
6708
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6709
 
s&@srcdir@&$ac_srcdir&;t t
6710
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6711
 
s&@top_srcdir@&$ac_top_srcdir&;t t
6712
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6713
 
s&@builddir@&$ac_builddir&;t t
6714
 
s&@abs_builddir@&$ac_abs_builddir&;t t
6715
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6716
 
s&@INSTALL@&$ac_INSTALL&;t t
6717
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6718
 
$ac_datarootdir_hack
6719
 
"
6720
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6721
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6722
 
 
6723
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6724
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6725
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6726
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6727
 
which seems to be undefined.  Please make sure it is defined." >&5
6728
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6729
 
which seems to be undefined.  Please make sure it is defined." >&2;}
6730
 
 
6731
 
  rm -f "$tmp/stdin"
6732
 
  case $ac_file in
6733
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6734
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6735
 
  esac \
6736
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6737
 
 ;;
6738
 
  :H)
6739
 
  #
6740
 
  # CONFIG_HEADER
6741
 
  #
6742
 
  if test x"$ac_file" != x-; then
6743
 
    {
6744
 
      $as_echo "/* $configure_input  */" \
6745
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6746
 
    } >"$tmp/config.h" \
6747
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
6748
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6749
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6750
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6751
 
    else
6752
 
      rm -f "$ac_file"
6753
 
      mv "$tmp/config.h" "$ac_file" \
6754
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
6755
 
    fi
6756
 
  else
6757
 
    $as_echo "/* $configure_input  */" \
6758
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6759
 
      || as_fn_error "could not create -" "$LINENO" 5
6760
 
  fi
6761
 
# Compute "$ac_file"'s index in $config_headers.
6762
 
_am_arg="$ac_file"
6763
 
_am_stamp_count=1
6764
 
for _am_header in $config_headers :; do
6765
 
  case $_am_header in
6766
 
    $_am_arg | $_am_arg:* )
6767
 
      break ;;
6768
 
    * )
6769
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6770
 
  esac
6771
 
done
6772
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6773
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6774
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
6775
 
         X"$_am_arg" : 'X\(//\)$' \| \
6776
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6777
 
$as_echo X"$_am_arg" |
6778
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6779
 
            s//\1/
6780
 
            q
6781
 
          }
6782
 
          /^X\(\/\/\)[^/].*/{
6783
 
            s//\1/
6784
 
            q
6785
 
          }
6786
 
          /^X\(\/\/\)$/{
6787
 
            s//\1/
6788
 
            q
6789
 
          }
6790
 
          /^X\(\/\).*/{
6791
 
            s//\1/
6792
 
            q
6793
 
          }
6794
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
6795
 
 ;;
6796
 
  
6797
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6798
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
6799
 
 ;;
6800
 
  esac
6801
 
 
6802
 
 
6803
 
  case $ac_file$ac_mode in
6804
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6805
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6806
 
  # are listed without --file.  Let's play safe and only enable the eval
6807
 
  # if we detect the quoting.
6808
 
  case $CONFIG_FILES in
6809
 
  *\'*) eval set x "$CONFIG_FILES" ;;
6810
 
  *)   set x $CONFIG_FILES ;;
6811
 
  esac
6812
 
  shift
6813
 
  for mf
6814
 
  do
6815
 
    # Strip MF so we end up with the name of the file.
6816
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
6817
 
    # Check whether this is an Automake generated Makefile or not.
6818
 
    # We used to match only the files named `Makefile.in', but
6819
 
    # some people rename them; so instead we look at the file content.
6820
 
    # Grep'ing the first line is not enough: some people post-process
6821
 
    # each Makefile.in and add a new line on top of each file to say so.
6822
 
    # Grep'ing the whole file is not good either: AIX grep has a line
6823
 
    # limit of 2048, but all sed's we know have understand at least 4000.
6824
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6825
 
      dirpart=`$as_dirname -- "$mf" ||
6826
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6827
 
         X"$mf" : 'X\(//\)[^/]' \| \
6828
 
         X"$mf" : 'X\(//\)$' \| \
6829
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6830
 
$as_echo X"$mf" |
6831
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6832
 
            s//\1/
6833
 
            q
6834
 
          }
6835
 
          /^X\(\/\/\)[^/].*/{
6836
 
            s//\1/
6837
 
            q
6838
 
          }
6839
 
          /^X\(\/\/\)$/{
6840
 
            s//\1/
6841
 
            q
6842
 
          }
6843
 
          /^X\(\/\).*/{
6844
 
            s//\1/
6845
 
            q
6846
 
          }
6847
 
          s/.*/./; q'`
6848
 
    else
6849
 
      continue
6850
 
    fi
6851
 
    # Extract the definition of DEPDIR, am__include, and am__quote
6852
 
    # from the Makefile without running `make'.
6853
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6854
 
    test -z "$DEPDIR" && continue
6855
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6856
 
    test -z "am__include" && continue
6857
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6858
 
    # When using ansi2knr, U may be empty or an underscore; expand it
6859
 
    U=`sed -n 's/^U = //p' < "$mf"`
6860
 
    # Find all dependency output files, they are included files with
6861
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6862
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
6863
 
    # expansion.
6864
 
    for file in `sed -n "
6865
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6866
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6867
 
      # Make sure the directory exists.
6868
 
      test -f "$dirpart/$file" && continue
6869
 
      fdir=`$as_dirname -- "$file" ||
6870
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6871
 
         X"$file" : 'X\(//\)[^/]' \| \
6872
 
         X"$file" : 'X\(//\)$' \| \
6873
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6874
 
$as_echo X"$file" |
6875
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6876
 
            s//\1/
6877
 
            q
6878
 
          }
6879
 
          /^X\(\/\/\)[^/].*/{
6880
 
            s//\1/
6881
 
            q
6882
 
          }
6883
 
          /^X\(\/\/\)$/{
6884
 
            s//\1/
6885
 
            q
6886
 
          }
6887
 
          /^X\(\/\).*/{
6888
 
            s//\1/
6889
 
            q
6890
 
          }
6891
 
          s/.*/./; q'`
6892
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6893
 
      # echo "creating $dirpart/$file"
6894
 
      echo '# dummy' > "$dirpart/$file"
6895
 
    done
6896
 
  done
6897
 
}
6898
 
 ;;
6899
 
    "include/zzip/_config.h":C) ac_prefix_conf_OUT=`echo include/zzip/_config.h`
6900
 
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/@<:@^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@:>@/_/g"`
6901
 
ac_prefix_conf_PKG=`echo zzip`
6902
 
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
6903
 
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:"  -e "/^@<:@0123456789@:>@/s/^/_/"`
6904
 
ac_prefix_conf_INP=`echo "config.h" | sed -e 's/ *//'`
6905
 
if test ".$ac_prefix_conf_INP" = "."; then
6906
 
   for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
6907
 
     case "$ac_file" in
6908
 
        *.h) ac_prefix_conf_INP=$ac_file ;;
6909
 
        *)
6910
 
     esac
6911
 
     test ".$ac_prefix_conf_INP" != "." && break
6912
 
   done
6913
 
fi
6914
 
if test ".$ac_prefix_conf_INP" = "."; then
6915
 
   case "$ac_prefix_conf_OUT" in
6916
 
      */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
6917
 
      ;;
6918
 
      *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*-//"`
6919
 
      ;;
6920
 
      *) ac_prefix_conf_INP=config.h
6921
 
      ;;
6922
 
   esac
6923
 
fi
6924
 
if test -z "$ac_prefix_conf_PKG" ; then
6925
 
   as_fn_error "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
6926
 
else
6927
 
  if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
6928
 
     ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
6929
 
  fi fi
6930
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
6931
 
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
6932
 
  if test -f $ac_prefix_conf_INP ; then
6933
 
    echo "s/^@%:@undef  *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@\\)/@%:@undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
6934
 
    echo "s/^@%:@undef  *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@\\)/@%:@undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
6935
 
    echo "s/^@%:@define  *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
6936
 
    echo "@%:@define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
6937
 
    echo "@%:@endif/" >>conftest.prefix
6938
 
    echo "s/^@%:@define  *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
6939
 
    echo "@%:@define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
6940
 
    echo "@%:@endif/" >> conftest.prefix
6941
 
    # now executing _script on _DEF input to create _OUT output file
6942
 
    echo "@%:@ifndef $ac_prefix_conf_DEF"      >$tmp/pconfig.h
6943
 
    echo "@%:@define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
6944
 
    echo ' ' >>$tmp/pconfig.h
6945
 
    echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
6946
 
 
6947
 
    sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
6948
 
    echo ' ' >>$tmp/pconfig.h
6949
 
    echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
6950
 
    echo "@%:@endif" >>$tmp/pconfig.h
6951
 
    if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
6952
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
6953
 
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
6954
 
    else
6955
 
      ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
6956
 
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6957
 
         X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
6958
 
         X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
6959
 
         X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
6960
 
$as_echo X"$ac_prefix_conf_OUT" |
6961
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6962
 
            s//\1/
6963
 
            q
6964
 
          }
6965
 
          /^X\(\/\/\)[^/].*/{
6966
 
            s//\1/
6967
 
            q
6968
 
          }
6969
 
          /^X\(\/\/\)$/{
6970
 
            s//\1/
6971
 
            q
6972
 
          }
6973
 
          /^X\(\/\).*/{
6974
 
            s//\1/
6975
 
            q
6976
 
          }
6977
 
          s/.*/./; q'`
6978
 
      as_dir="$ac_dir"; as_fn_mkdir_p
6979
 
      rm -f "$ac_prefix_conf_OUT"
6980
 
      mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
6981
 
    fi
6982
 
    cp conftest.prefix _configs.sed
6983
 
  else
6984
 
    as_fn_error "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
6985
 
  fi
6986
 
  rm -f conftest.*
6987
 
fi
6988
 
 ;;
6989
 
    "include/zzip/_msvc.h":C) ac_prefix_conf_OUT=`echo include/zzip/_msvc.h`
6990
 
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/@<:@^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@:>@/_/g"`
6991
 
ac_prefix_conf_PKG=`echo zzip`
6992
 
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
6993
 
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:"  -e "/^@<:@0123456789@:>@/s/^/_/"`
6994
 
ac_prefix_conf_INP=`echo "include/_msvc.in" | sed -e 's/ *//'`
6995
 
if test ".$ac_prefix_conf_INP" = "."; then
6996
 
   for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
6997
 
     case "$ac_file" in
6998
 
        *.h) ac_prefix_conf_INP=$ac_file ;;
6999
 
        *)
7000
 
     esac
7001
 
     test ".$ac_prefix_conf_INP" != "." && break
7002
 
   done
7003
 
fi
7004
 
if test ".$ac_prefix_conf_INP" = "."; then
7005
 
   case "$ac_prefix_conf_OUT" in
7006
 
      */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
7007
 
      ;;
7008
 
      *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*-//"`
7009
 
      ;;
7010
 
      *) ac_prefix_conf_INP=config.h
7011
 
      ;;
7012
 
   esac
7013
 
fi
7014
 
if test -z "$ac_prefix_conf_PKG" ; then
7015
 
   as_fn_error "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
7016
 
else
7017
 
  if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
7018
 
     ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
7019
 
  fi fi
7020
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
7021
 
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
7022
 
  if test -f $ac_prefix_conf_INP ; then
7023
 
    echo "s/^@%:@undef  *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@\\)/@%:@undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
7024
 
    echo "s/^@%:@undef  *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@\\)/@%:@undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
7025
 
    echo "s/^@%:@define  *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
7026
 
    echo "@%:@define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
7027
 
    echo "@%:@endif/" >>conftest.prefix
7028
 
    echo "s/^@%:@define  *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
7029
 
    echo "@%:@define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
7030
 
    echo "@%:@endif/" >> conftest.prefix
7031
 
    # now executing _script on _DEF input to create _OUT output file
7032
 
    echo "@%:@ifndef $ac_prefix_conf_DEF"      >$tmp/pconfig.h
7033
 
    echo "@%:@define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
7034
 
    echo ' ' >>$tmp/pconfig.h
7035
 
    echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
7036
 
 
7037
 
    sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
7038
 
    echo ' ' >>$tmp/pconfig.h
7039
 
    echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
7040
 
    echo "@%:@endif" >>$tmp/pconfig.h
7041
 
    if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
7042
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
7043
 
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
7044
 
    else
7045
 
      ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
7046
 
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7047
 
         X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
7048
 
         X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
7049
 
         X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
7050
 
$as_echo X"$ac_prefix_conf_OUT" |
7051
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7052
 
            s//\1/
7053
 
            q
7054
 
          }
7055
 
          /^X\(\/\/\)[^/].*/{
7056
 
            s//\1/
7057
 
            q
7058
 
          }
7059
 
          /^X\(\/\/\)$/{
7060
 
            s//\1/
7061
 
            q
7062
 
          }
7063
 
          /^X\(\/\).*/{
7064
 
            s//\1/
7065
 
            q
7066
 
          }
7067
 
          s/.*/./; q'`
7068
 
      as_dir="$ac_dir"; as_fn_mkdir_p
7069
 
      rm -f "$ac_prefix_conf_OUT"
7070
 
      mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
7071
 
    fi
7072
 
    cp conftest.prefix _configs.sed
7073
 
  else
7074
 
    as_fn_error "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
7075
 
  fi
7076
 
  rm -f conftest.*
7077
 
fi
7078
 
 ;;
7079
 
 
7080
 
  esac
7081
 
done # for ac_tag
7082
 
 
7083
 
 
7084
 
as_fn_exit 0
7085
 
_ACEOF
7086
 
ac_clean_files=$ac_clean_files_save
7087
 
 
7088
 
test $ac_write_fail = 0 ||
7089
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
7090
 
 
7091
 
 
7092
 
# configure is writing to config.log, and then calls config.status.
7093
 
# config.status does its own redirection, appending to config.log.
7094
 
# Unfortunately, on DOS this fails, as config.log is still kept open
7095
 
# by configure, so config.status won't be able to write to it; its
7096
 
# output is simply discarded.  So we exec the FD to /dev/null,
7097
 
# effectively closing config.log, so it can be properly (re)opened and
7098
 
# appended to by config.status.  When coming back to configure, we
7099
 
# need to make the FD available again.
7100
 
if test "$no_create" != yes; then
7101
 
  ac_cs_success=:
7102
 
  ac_config_status_args=
7103
 
  test "$silent" = yes &&
7104
 
    ac_config_status_args="$ac_config_status_args --quiet"
7105
 
  exec 5>/dev/null
7106
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7107
 
  exec 5>>config.log
7108
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7109
 
  # would make configure fail if this is the last instruction.
7110
 
  $ac_cs_success || as_fn_exit $?
7111
 
fi
7112
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7114
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7115
 
fi
7116