Subversion Repositories DIN Is Noise

Rev

Rev 2230 | Rev 2272 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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